/* ============================================================
   Resolutiva — landing (visual alinhado ao ResolutivaPages)
   Arquivo: css/rv.css
   ============================================================ */

:root {
  --ink: #0a0d1a;
  --ink-soft: #55596b;
  --paper: #f4f5fa;
  --paper-2: #ffffff;
  --dark: #060812;
  --dark-2: #0b1022;
  --blue: #2b43d9;
  --blue-2: #4054d6;
  --blue-deep: #13256c;
  --periwinkle: #8495ff;
  --green: #3bdf4d;
  --line: rgba(10, 13, 26, 0.12);
  --line-light: rgba(255, 255, 255, 0.12);
  --radius: 26px;
  --shadow: 0 30px 80px rgba(19, 37, 108, 0.12);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3, h4, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }

/* ---------- camadas globais ---------- */
.noise-layer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.page-progress {
  position: fixed;
  left: 0; right: 0; top: 0;
  height: 3px;
  z-index: 120;
}
.page-progress span {
  display: block;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--periwinkle));
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- header flutuante ---------- */
.site-header {
  position: fixed;
  top: 14px;
  left: 2.2vw;
  right: 2.2vw;
  z-index: 90;
  height: 68px;
  padding: 0 15px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(10, 13, 26, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 40px rgba(19, 37, 108, 0.1);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: background 0.35s, border-color 0.35s, color 0.35s, transform 0.45s var(--ease);
}
.site-header.header-dark {
  background: rgba(6, 8, 18, 0.62);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.site-header.header-hidden { transform: translateY(-130%); }

.brand {
  position: relative;
  display: flex;
  align-items: center;
  width: 150px;
  height: 40px;
}
.brand img.brand-word {
  display: block;
  width: 150px;
  height: auto;
  transition: filter 0.3s;
  animation: rvWordIn 1.7s cubic-bezier(0.6, 0.05, 0.15, 1) both;
}
.site-header:not(.header-dark) .brand-word { filter: brightness(0); }
.brand .brand-mark {
  position: absolute;
  top: 50%; left: 50%;
  width: 31px; height: 34px;
  background: url(../img/logo/rv-mark.png) center / contain no-repeat;
  animation: rvMarkOut 1.7s cubic-bezier(0.6, 0.05, 0.15, 1) both;
}
.site-header:not(.header-dark) .brand-mark { filter: brightness(0); }

@keyframes rvMarkOut {
  0%, 40% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  62%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.3) translateX(-8%); }
}
@keyframes rvWordIn {
  0%, 42% { opacity: 0; clip-path: inset(0 100% 0 0); }
  48% { opacity: 1; }
  100% { opacity: 1; clip-path: inset(0 0 0 0); }
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.site-header nav a {
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  opacity: 0.78;
  transition: opacity 0.2s, color 0.2s;
}
.site-header nav a:hover { opacity: 1; }
.site-header nav a.active { opacity: 1; color: var(--blue); }
.site-header.header-dark nav a.active { color: var(--periwinkle); }

.site-header nav a.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 15px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  opacity: 1;
}
.header-dark nav a.nav-cta {
  background: rgba(43, 67, 217, 0.18);
  border: 1px solid #4054d6;
  color: #fff;
  padding: 11px 14px;
}
.nav-cta span { transition: transform 0.3s; }
.nav-cta:hover span { transform: translate(3px, -3px); }

/* ---------- botões / tipografia utilitária ---------- */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 16px 20px;
  border-radius: 13px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid transparent;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s;
}
.button span { transition: transform 0.3s; }
.button:hover { transform: translateY(-3px); }
.button:hover span { transform: translate(3px, -3px); }

.button-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 44px rgba(43, 67, 217, 0.4);
}
.button-primary:hover { box-shadow: 0 18px 54px rgba(43, 67, 217, 0.55); background: #3550f0; }
.button-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.button-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.button-dark { background: var(--ink); color: #fff; }
.button-light { background: #fff; color: var(--ink); }

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--periwinkle); }

/* reveal on scroll (só ativa se o JS rodou) */
html.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
html.js .reveal.in { opacity: 1; transform: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 150px max(5vw, 24px) 0;
  background: linear-gradient(160deg, #03040a 0%, var(--dark) 50%, #0a1030 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(132, 149, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 149, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 65%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 65%, #000 10%, transparent 75%);
}

/* luz original do hero: gradiente radial animado (SVG) */
.custom-hero-bg {
  position: absolute;
  z-index: -2;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: heroBgIn 0.3s 0.1s forwards;
}
.custom-hero-bg svg { width: 100%; height: 100%; display: block; }
.custom-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.8;
  background-color: var(--dark);
}
.custom-stop-color-1 { stop-color: #2563eb; }
@keyframes heroBgIn { to { opacity: 1; } }

.hero-copy { position: relative; z-index: 4; max-width: 1180px; }
.hero-copy .eyebrow { margin-bottom: 26px; }

.hero-title {
  font-size: clamp(34px, 4.6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 800;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .line > span {
  display: block;
  transform: translateY(110%);
  animation: lineIn 1s var(--ease) forwards;
}
.hero-title .line:nth-child(2) > span { animation-delay: 0.14s; }
.hero-title .accent { color: var(--periwinkle); font-weight: 500; }
.hero-title .line.accent { padding-top: 0.4em; margin-top: -0.4em; }
.hero-title .brand-word { color: #fff; font-weight: 800; }
.hero-title .v-check {
  position: relative;
  display: inline-block;
}
.hero-title .v-check svg {
  position: absolute;
  left: -0.02em;
  width: calc(100% + 0.14em);
  top: 24%;
  bottom: 2%;
  overflow: visible;
  pointer-events: none;
  fill: none;
  stroke: #22c55e;
  stroke-opacity: 0.88;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.hero-title .v-check path { stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
.hero-title .v-check .vs1 { stroke-width: 0.2em; animation: vDraw 0.35s cubic-bezier(.3,.1,.3,1) 1.2s forwards; }
.hero-title .v-check .vs2 { stroke-width: 0.18em; animation: vDraw 0.45s cubic-bezier(.3,.1,.3,1) 1.5s forwards; }
@keyframes vDraw { to { stroke-dashoffset: 0; } }
@keyframes lineIn { to { transform: none; } }

.hero-sub {
  max-width: 560px;
  margin: 30px 0 36px;
  font-size: 16px;
  line-height: 1.75;
  color: #a9b0d0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* nome em foco, com a luz por trás */
.hero-word {
  position: relative;
  z-index: -3; /* abaixo da luz + camada escura, como no original */
  margin-top: auto;
  padding-top: 40px;
  text-align: center;
  user-select: none;
  pointer-events: none;
}
/* marca d'água original: preenchimento translúcido, contorno e brilho azul, fade linear */
.hero-word strong {
  position: relative;
  display: block;
  font-family: "Poppins", "Manrope", Arial, sans-serif;
  font-size: clamp(44px, 13vw, 250px);
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.95);
  text-shadow:
    0 0 20px rgba(37, 99, 235, 1),
    0 0 60px rgba(37, 99, 235, 0.75),
    0 0 120px rgba(37, 99, 235, 0.45);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0) 100%);
}
html.js .hero-word strong {
  opacity: 0;
  filter: blur(18px);
  animation: wordIn 1.5s 0.5s var(--ease) forwards;
}
@keyframes wordIn { to { opacity: 1; filter: blur(0); } }

.scroll-hint {
  position: absolute;
  z-index: 4;
  right: max(5vw, 24px);
  top: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  writing-mode: vertical-rl;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #8a91b8;
}
.scroll-hint::after {
  content: "";
  width: 1px; height: 54px;
  background: linear-gradient(to bottom, var(--periwinkle), transparent);
  animation: hint 2.4s ease-in-out infinite;
}
@keyframes hint {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- faixa em movimento ---------- */
.marquee {
  overflow: hidden;
  padding: 21px 0;
  background: linear-gradient(90deg, #1f33b8 0%, var(--blue) 48%, #3a52ef 100%);
  color: #fff;
  box-shadow: 0 14px 36px rgba(43, 67, 217, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee span {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee i { font-style: normal; font-size: 14px; color: rgba(255, 255, 255, 0.6); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SEÇÕES CLARAS
   ============================================================ */
.section { position: relative; padding: 150px 5vw; }
.section-inner { width: min(100%, 1320px); margin: 0 auto; }

/* statement */
.statement { background: #fff; padding: 150px 5vw 160px; }
.statement .eyebrow { display: block; margin-bottom: 36px; }
.statement-text {
  font-size: clamp(34px, 5.6vw, 82px);
  line-height: 1.06;
  letter-spacing: -0.055em;
  font-weight: 600;
}
.statement-text .word {
  display: inline-block;
  opacity: 0.16;
  transform: translateY(14px);
  transition: opacity 0.6s, transform 0.6s;
}
.statement-text .word.is-visible { opacity: 1; transform: none; }
.statement-text em { font-style: normal; color: var(--blue); }

.statement-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin-top: 70px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.statement-foot div { flex: 1 1 220px; }
.statement-foot b { display: block; font-size: 15px; margin-bottom: 6px; letter-spacing: -0.02em; }
.statement-foot p { font-size: 13.5px; line-height: 1.7; color: var(--ink-soft); }

/* intro padrão de seção */
.section-intro {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 90px;
  align-items: end;
  margin-bottom: 70px;
}
.section-intro h2 {
  margin-top: 18px;
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.058em;
  font-weight: 800;
}
.section-intro p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.8; }
.section-dark .section-intro p { color: #a1a8c8; }

/* spotlight dos cards */
.spot { position: relative; overflow: hidden; }
.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(43, 67, 217, 0.13), transparent 60%);
}
.spot:hover::before { opacity: 1; }

/* serviços */
.services { background: var(--paper); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card {
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: 32px 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.5s var(--ease), box-shadow 0.5s, border-color 0.3s;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(43, 67, 217, 0.45);
  box-shadow: var(--shadow);
}
.service-card > * { position: relative; }
.service-card .num { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; color: var(--blue); }
.service-card .ico {
  width: 54px; height: 54px;
  margin: 34px 0 auto;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  font-size: 21px;
  color: var(--blue);
  background: rgba(43, 67, 217, 0.09);
  transition: background 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.service-card:hover .ico { background: var(--blue); color: #fff; transform: rotate(-6deg) scale(1.06); }
.service-card h3 {
  margin: 44px 0 10px;
  font-size: 27px;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.service-card p { font-size: 14px; line-height: 1.7; color: var(--ink-soft); }

/* ============================================================
   SEÇÕES ESCURAS (produtos)
   ============================================================ */
.section-dark {
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.section-dark::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 60vw; height: 60vw;
  max-width: 800px; max-height: 800px;
  right: -15%; top: -20%;
  background: radial-gradient(circle, rgba(43, 67, 217, 0.4), transparent 65%);
  filter: blur(40px);
}
.section-dark .eyebrow { color: var(--periwinkle); }

.product-list { display: grid; gap: 22px; }
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 56px;
  border: 1px solid var(--line-light);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: border-color 0.35s, transform 0.5s var(--ease);
}
.product:hover { border-color: rgba(132, 149, 255, 0.45); }
.product.spot::before {
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(132, 149, 255, 0.14), transparent 60%);
}
.product > * { position: relative; }
.product.flip .product-copy { order: 2; }

.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c3caf0;
}
.product-tag i { font-style: normal; color: var(--green); font-size: 9px; }
.product h3 {
  margin: 22px 0 16px;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1;
  letter-spacing: -0.058em;
  font-weight: 800;
}
.product h3 b { color: var(--periwinkle); font-weight: 500; }
.product-copy > p { max-width: 480px; font-size: 15px; line-height: 1.8; color: #a9b0d0; }
.product-copy > p strong { color: #fff; }
.product-points { margin: 26px 0 34px; display: grid; gap: 12px; }
.product-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.55;
  color: #dfe3f8;
}
.product-points li i {
  flex: 0 0 22px;
  width: 22px; height: 22px;
  margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 9px;
  color: var(--periwinkle);
  background: rgba(132, 149, 255, 0.14);
}

/* mockups em CSS */
.mock { position: relative; min-height: 380px; display: flex; align-items: center; justify-content: center; }
.mock::before {
  content: "";
  position: absolute;
  width: 78%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 67, 217, 0.55), transparent 68%);
  filter: blur(30px);
}

.phone {
  position: relative;
  width: 270px;
  padding: 12px;
  border-radius: 38px;
  background: #11162b;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: rotate(-3deg);
}
.phone-screen { border-radius: 28px; overflow: hidden; background: #0b1022; }
.phone-top {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12px; font-weight: 800;
}
.phone-top .av {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue); font-size: 13px;
}
.phone-top small { display: block; font-size: 9.5px; font-weight: 600; color: var(--green); }
.chat { display: grid; gap: 9px; padding: 16px 14px 20px; min-height: 270px; align-content: start; }
.bubble {
  max-width: 82%;
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 11.5px;
  line-height: 1.45;
  font-weight: 500;
}
.bubble.in { background: rgba(255, 255, 255, 0.09); border-bottom-left-radius: 4px; color: #e5e8fb; }
.bubble.out { justify-self: end; background: var(--blue); border-bottom-right-radius: 4px; color: #fff; }
.bubble.ok {
  background: rgba(59, 223, 77, 0.14);
  border: 1px solid rgba(59, 223, 77, 0.35);
  color: #b9f5c0;
}
.typing { display: flex; gap: 4px; padding: 11px 13px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8a91b8; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.2s; }
.typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }

.browser {
  position: relative;
  width: min(100%, 470px);
  border-radius: 18px;
  background: #11162b;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transform: rotate(2deg);
}
.browser-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.browser-bar span {
  flex: 1; margin-left: 10px;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 10.5px; color: #aab1d6;
}
.browser-bar span b { color: var(--periwinkle); font-weight: 700; }
.browser-body { padding: 22px; display: grid; gap: 14px; }
.sk { border-radius: 8px; background: rgba(255, 255, 255, 0.09); }
.sk-hero {
  padding: 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
}
.sk-hero .sk { height: 11px; margin-bottom: 9px; background: rgba(255, 255, 255, 0.7); }
.sk-hero .sk.s { width: 55%; background: rgba(255, 255, 255, 0.32); }
.sk-hero .sk.t { width: 82%; height: 18px; }
.sk-btn { width: 84px; height: 24px; margin-top: 14px; border-radius: 8px; background: #fff; }
.sk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sk-row .sk { height: 62px; border-radius: 12px; }
.sk-tpl { display: flex; gap: 8px; flex-wrap: wrap; }
.sk-tpl span {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px; font-weight: 700;
  color: #c3caf0;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.float-chip {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(11, 16, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 11.5px; font-weight: 800;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  animation: floaty 6s ease-in-out infinite;
}
.float-chip i { color: var(--green); }
.chip-a { top: 12%; left: 4%; }
.chip-b { bottom: 12%; right: 2%; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ============================================================
   PORTFÓLIO (claro)
   ============================================================ */
.portfolio { background: #fff; }
.portfolio-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  padding: 60px;
  border-radius: 34px;
  color: #fff;
  background: linear-gradient(135deg, var(--dark) 0%, var(--blue-deep) 62%, var(--blue) 140%);
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(19, 37, 108, 0.3);
}
.portfolio-card::after {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  right: -140px; bottom: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(132, 149, 255, 0.5), transparent 65%);
  filter: blur(20px);
}
.portfolio-card > * { position: relative; z-index: 1; }
.portfolio-card h2 {
  margin: 18px 0 18px;
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1;
  letter-spacing: -0.058em;
  font-weight: 800;
}
.portfolio-card p { max-width: 480px; margin-bottom: 32px; font-size: 15px; line-height: 1.8; color: #b4bbdd; }
.portfolio-card .eyebrow { color: var(--periwinkle); }

.ramo-list { display: flex; flex-wrap: wrap; gap: 10px; }
.ramo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s;
}
.ramo i { font-size: 13px; color: var(--periwinkle); }
.ramo:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.35); }

/* ============================================================
   DIFERENCIAIS
   ============================================================ */
.perks { background: var(--paper); }
.perk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.perk {
  padding: 40px 30px 20px 0;
  border-right: 1px solid var(--line);
  padding-left: 30px;
}
.perk:first-child { padding-left: 0; }
.perk:last-child { border-right: 0; }
.perk .big {
  display: block;
  font-size: clamp(54px, 6vw, 90px);
  line-height: 1;
  letter-spacing: -0.07em;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--blue);
  transition: color 0.4s;
}
.perk:hover .big { color: var(--blue); }
.perk h3 { margin: 26px 0 10px; font-size: 22px; letter-spacing: -0.04em; font-weight: 800; }
.perk p { font-size: 14px; line-height: 1.7; color: var(--ink-soft); }

/* ============================================================
   AVALIAÇÕES (Google)
   ============================================================ */
.reviews { background: #fff; }
.reviews[hidden] { display: none; }
.reviews-head {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}
.reviews-head h2 {
  margin-top: 18px;
  font-size: clamp(36px, 4.8vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.058em;
  font-weight: 800;
}
.reviews-head h2 .accent { color: var(--blue); font-weight: 500; }
.reviews-score { display: grid; justify-items: start; gap: 6px; }
.reviews-num { font-size: clamp(64px, 8vw, 110px); line-height: 0.9; letter-spacing: -0.07em; font-weight: 800; color: var(--ink); }
.reviews-stars, .review-stars { display: inline-flex; gap: 2px; font-size: 20px; line-height: 1; }
.reviews-stars .on, .review-stars .on { color: #f5b301; }
.reviews-stars .off, .review-stars .off { color: #d4d7e3; }
.reviews-count { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-soft); }
.reviews-count i { color: var(--blue); }
.reviews-count b { color: var(--ink); }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 0.5s var(--ease), box-shadow 0.5s, border-color 0.3s;
}
.review-card:hover { transform: translateY(-6px); border-color: rgba(43, 67, 217, 0.4); box-shadow: var(--shadow); }
.review-text {
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.75;
  color: #2c3042;
}
.review-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-avatar {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: rgba(43, 67, 217, 0.12);
  color: var(--blue);
  font-weight: 800;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review-author b { display: block; font-size: 14px; letter-spacing: -0.02em; }
.review-author small { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-soft); }
.reviews-foot { margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.reviews-foot [hidden] { display: none; }

.reviews + .newsletter { background: var(--paper); padding-top: 100px; }

/* ============================================================
   INSTAGRAM (últimas postagens, antes do rodapé) — fundo escuro, mesmo visual da newsletter
   ============================================================ */
.instagram { background: var(--dark-2); color: #fff; }
.instagram[hidden] { display: none; }
.instagram-head { text-align: center; margin-bottom: 44px; }
.instagram-head h2 {
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 800;
  color: #fff;
}
.instagram-head h2 .accent { color: var(--periwinkle); font-weight: 500; }

.instagram-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.instagram-grid[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
.instagram-grid[data-count="4"], .instagram-grid[data-count="8"] { grid-template-columns: repeat(4, 1fr); }
@media (min-width: 901px) { .ig-item.ig-extra { display: none; } }
.ig-item {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.ig-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s var(--ease); }
.ig-item:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.ig-item:hover img { transform: scale(1.05); }
.ig-play {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 13, 26, 0.72);
  color: #fff;
  font-size: 12px;
  padding-left: 2px;
}

.instagram-foot { margin-top: 44px; display: flex; justify-content: center; }
.instagram-foot [hidden] { display: none; }
.instagram-foot .button { white-space: nowrap; }
.instagram-foot .button i { margin-right: 8px; }
.instagram-foot .button-dark { border: 1px solid rgba(255, 255, 255, 0.28); }
.instagram-foot .button-dark:hover { border-color: rgba(255, 255, 255, 0.6); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter { background: #fff; padding-top: 40px; }
.newsletter-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 64px;
  border-radius: 34px;
  color: #fff;
  background: linear-gradient(150deg, #03040a 0%, var(--dark-2) 55%, #0d1745 100%);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 40px 90px rgba(6, 8, 18, 0.35);
}
.newsletter-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px; height: 520px;
  left: -160px; top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 67, 217, 0.65), transparent 66%);
  filter: blur(30px);
}
.newsletter-card h2 {
  margin: 18px 0 18px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.058em;
  font-weight: 800;
}
.newsletter-card h2 .accent { color: var(--periwinkle); font-weight: 500; white-space: nowrap; }
.newsletter-card .eyebrow { color: var(--periwinkle); }
.newsletter-copy > p { max-width: 460px; font-size: 15px; line-height: 1.8; color: #a9b0d0; }

.nl-form {
  padding: 28px;
  border: 1px solid var(--line-light);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.nl-row { display: flex; gap: 8px; }
.nl-input {
  flex: 1;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  font-size: 15px;
  transition: border-color 0.25s, background 0.25s;
}
.nl-input::placeholder { color: #8189b0; }
.nl-input:focus { outline: none; border-color: var(--periwinkle); background: rgba(255, 255, 255, 0.1); }
.nl-btn { cursor: pointer; font-family: inherit; white-space: nowrap; }
.nl-btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.nl-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #a1a8c8;
  cursor: pointer;
}
.nl-consent input { flex: 0 0 auto; margin-top: 2px; accent-color: var(--blue); }
.nl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nl-feedback { margin-top: 14px; font-size: 14px; font-weight: 700; color: #b9f5c0; }
.nl-feedback.is-error { color: #ff9b9b; }
.nl-feedback[hidden], .nl-form [hidden] { display: none !important; }
.nl-done { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 700; line-height: 1.5; }
.nl-done i {
  flex: 0 0 44px; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(59, 223, 77, 0.16);
  color: var(--green);
}

/* ============================================================
   CONTATO
   ============================================================ */
.contact { text-align: center; padding-bottom: 130px; }
.contact::before { left: 50%; right: auto; top: auto; bottom: -40%; margin-left: -30vw; }
.contact h2 {
  margin: 22px auto 20px;
  max-width: 1000px;
  font-size: clamp(44px, 7.4vw, 118px);
  line-height: 0.94;
  letter-spacing: -0.07em;
  font-weight: 800;
}
.contact h2 .accent { color: var(--periwinkle); font-weight: 500; }
.contact-lead { max-width: 520px; margin: 0 auto 54px; font-size: 16px; line-height: 1.75; color: #a9b0d0; }

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  gap: 16px;
  justify-content: center;
  margin-bottom: 52px;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line-light);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  text-align: left;
  text-decoration: none;
  transition: transform 0.35s var(--ease), border-color 0.3s, background 0.3s;
}
.contact-method:hover { transform: translateY(-5px); border-color: rgba(132, 149, 255, 0.5); background: rgba(255, 255, 255, 0.09); }
.contact-method.primary { background: var(--blue); border-color: #4a5eea; box-shadow: 0 20px 50px rgba(43, 67, 217, 0.45); }
.contact-method.primary:hover { background: #3550f0; }
.contact-method .ci {
  flex: 0 0 50px;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 15px;
  font-size: 21px;
  background: rgba(255, 255, 255, 0.1);
}
.contact-method b { display: block; font-size: 15px; letter-spacing: -0.02em; }
.contact-method small { display: block; margin-top: 3px; font-size: 13px; color: #c3caf0; word-break: break-word; }

.socials { display: flex; justify-content: center; gap: 10px; }
.socials a {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-light);
  border-radius: 14px;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s var(--ease), border-color 0.3s;
}
.socials a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-4px); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 36px 5vw;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  justify-content: space-between;
  align-items: center;
  background: #000;
  color: #8f96b8;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
}
.site-footer img { width: 135px; height: auto; display: block; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.site-footer a { text-decoration: none; font-weight: 700; color: #cfd4f0; transition: color 0.2s; }
.site-footer a:hover { color: var(--periwinkle); }

/* ============================================================
   flutuantes
   ============================================================ */
.whatsapp-float {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 95;
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  background: #25d366;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.whatsapp-float i { color: #fff; font-size: 28px; }

#cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 99999;
  max-width: 640px;
  margin: 0 auto;
  display: none;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 8, 18, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
#cookie-banner .cookie-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 12.5px; line-height: 1.55; }
#cookie-banner .cookie-inner > div:first-child { flex: 1 1 260px; opacity: 0.92; }
#cookie-banner a { color: var(--periwinkle); font-weight: 700; }
#cookie-banner button {
  border: 0; cursor: pointer;
  padding: 10px 20px;
  border-radius: 999px;
  font: inherit; font-weight: 800;
  background: var(--blue); color: #fff;
}
#cookie-banner button:hover { filter: brightness(1.12); }

/* ============================================================
   PÁGINAS LEGAIS (termos / privacidade)
   ============================================================ */
.legal-hero {
  position: relative;
  padding: 170px max(5vw, 24px) 90px;
  background: linear-gradient(160deg, #03040a 0%, var(--dark) 50%, #0a1030 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.legal-hero .eyebrow { margin-bottom: 22px; color: var(--periwinkle); }
.legal-hero h1 {
  font-size: clamp(38px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 800;
}
.legal-hero p { margin-top: 24px; font-size: 14px; color: #a1a8c8; }
.legal-body { background: #fff; padding: 90px 5vw 130px; }
.legal-body .section-inner { max-width: 820px; }
.legal-body p, .legal-body li { font-size: 16px; line-height: 1.8; color: #2c3042; }
.legal-body p { margin-bottom: 18px; }
.legal-body h2 {
  margin: 56px 0 16px;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--ink);
}
.legal-body ul { margin: 0 0 20px; padding-left: 0; display: grid; gap: 8px; }
.legal-body li { position: relative; padding-left: 26px; }
.legal-body li::before {
  content: "";
  position: absolute;
  left: 4px; top: 0.7em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.legal-body a { color: var(--blue); font-weight: 700; text-underline-offset: 3px; }
.legal-body strong { color: var(--ink); }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .perk-grid { grid-template-columns: repeat(2, 1fr); }
  .perk:nth-child(2) { border-right: 0; }
  .perk:nth-child(3) { padding-left: 0; }
  .perk:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 20px; }
}

@media (max-width: 900px) {
  .section { padding: 100px 22px; }
  .statement { padding: 100px 22px; }
  .section-intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 44px; }
  .reviews-head { grid-template-columns: 1fr; gap: 28px; margin-bottom: 40px; }
  .review-grid { grid-template-columns: 1fr; }
  .instagram-head { margin-bottom: 32px; }
  .instagram-grid, .instagram-grid[data-count] { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  /* Celular: 3, 6, 9 ou 12 posts fecham linhas certas em 3 colunas (como na newsletter). */
  .instagram-grid[data-total="3"], .instagram-grid[data-total="6"], .instagram-grid[data-total="9"], .instagram-grid[data-total="12"] { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .instagram-grid[data-total] .ig-item { border-radius: 14px; }
  .instagram-grid[data-total] .ig-play { top: 8px; right: 8px; width: 26px; height: 26px; font-size: 10px; }
  .instagram-foot { margin-top: 32px; }
  .product, .portfolio-card, .newsletter-card { grid-template-columns: 1fr; padding: 34px 24px; gap: 30px; }
  .product.flip .product-copy { order: 0; }
  .mock { min-height: 340px; }
  .scroll-hint { display: none; }
  .contact-methods { grid-template-columns: 1fr; }
  .newsletter-card { padding: 34px 22px; }
  .nl-form { padding: 20px; }
}
@media (max-width: 560px) { .nl-row { flex-direction: column; } .nl-btn { justify-content: center; } }

@media (max-width: 760px) {
  .site-header { top: 8px; left: 10px; right: 10px; height: 62px; padding-left: 16px; }
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { padding-top: 120px; }
  .hero-sub { font-size: 15px; }
  .hero-actions .button { flex: 1 1 100%; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-card h3 { margin-top: 30px; }
  .perk-grid { grid-template-columns: 1fr; }
  .perk, .perk:nth-child(3) { padding: 30px 0 14px; border-right: 0; }
  .perk:nth-child(n+2) { border-top: 1px solid var(--line); margin-top: 16px; }
  .float-chip { display: none; }
  .site-footer { flex-direction: column; text-align: center; }
  .site-footer nav { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .marquee-track { animation: none; }
  html.js .reveal { opacity: 1; transform: none; }
}

/* posição dos chips no mockup do Pages (evita cobrir a barra de endereço) */
.product.flip .chip-a { left: auto; right: 4%; top: 8%; }
.product.flip .chip-b { right: auto; left: 2%; bottom: 10%; }

/* ============================================================
   atalhos das plataformas (dock): lateral no desktop, barra no celular
   ============================================================ */
.platform-dock {
  position: fixed; z-index: 96; left: 18px; top: 50%;
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 10px; border-radius: 20px;
  background: rgba(0, 0, 0, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  transform: translate(-140%, -50%); opacity: 0; pointer-events: none;
  transition: transform 0.5s var(--ease), opacity 0.4s;
}
.platform-dock.is-visible { transform: translate(0, -50%); opacity: 1; pointer-events: auto; }
.platform-dock .dock-label {
  padding: 2px 10px 8px; font-size: 9px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45);
}
.platform-dock a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px;
  color: rgba(255, 255, 255, 0.72); text-decoration: none;
  font-size: 12px; font-weight: 700; white-space: nowrap;
  transition: background 0.25s, color 0.25s;
}
.platform-dock a i {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.platform-dock a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.platform-dock a i { background: var(--green); border-color: var(--green); box-shadow: 0 0 8px var(--green); }
.platform-dock a em { font-style: normal; opacity: 0.55; margin-left: auto; padding-left: 6px; }
.platform-dock a:hover { background: var(--blue); color: #fff; }
.platform-dock a:hover em { opacity: 1; }

@media (max-width: 1599px) {
  .platform-dock a { gap: 0; }
  .platform-dock a em { display: none; }
  .platform-dock a span { max-width: 0; overflow: hidden; opacity: 0; transition: max-width 0.3s, opacity 0.2s; }
  .platform-dock:hover a span, .platform-dock:focus-within a span { max-width: 160px; opacity: 1; }
  .platform-dock:hover a, .platform-dock:focus-within a { gap: 10px; }
  .platform-dock .dock-label { display: none; }
}

@media (max-width: 720px) {
  .platform-dock {
    left: 50%; right: auto; top: auto; bottom: max(10px, env(safe-area-inset-bottom));
    width: max-content; max-width: calc(100% - 20px);
    flex-direction: row; align-items: stretch; justify-content: center; gap: 4px;
    padding: 3px 3px 3px 6px; gap: 3px; border-radius: 13px; transform: translate(-50%, 160%);
    background: rgba(8, 11, 24, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  }
  .platform-dock.is-visible { transform: translate(-50%, 0); }
  /* "Acessar" na lateral, lido de baixo para cima */
  .platform-dock .dock-label {
    display: block; flex: none; align-self: center; padding: 0;
    writing-mode: vertical-rl; transform: rotate(180deg);
    font-size: 7.5px; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.55);
  }
  .platform-dock a {
    flex: none; justify-content: center; padding: 7px 9px; gap: 0 !important;
    font-size: 11px; text-align: center; white-space: nowrap; line-height: 1.15;
    background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px;
  }
  .platform-dock a:hover, .platform-dock a:active { background: rgba(43, 67, 217, 0.65); color: #fff; }
  .platform-dock a i, .platform-dock a em { display: none; }
  .platform-dock a span, .platform-dock:hover a span { max-width: none; opacity: 1; }
  /* sobe o WhatsApp para não ficar atrás da barra */
  body.dock-on .whatsapp-float { bottom: 84px; }
  body.dock-on #cookie-banner { bottom: 84px; }
  .site-footer { padding-bottom: 90px; }
}

/* ============================================================
   colagem do portfólio (capas reais do ResolutivaPages, via API)
   ============================================================ */
.portfolio-copy .ramo-list { margin: 0 0 30px; }
@media (min-width: 901px) { .portfolio-card.has-collage { grid-template-columns: 0.95fr 1.05fr; } }
.rv-collage { position: relative; min-height: 460px; }
.rv-collage[hidden] { display: none; }
.rv-shot {
  position: absolute; margin: 0; display: block; width: 47%; height: 200px;
  overflow: hidden; border-radius: 18px; text-decoration: none; color: #fff;
  background: linear-gradient(145deg, #0d1b55, #07133f);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
  transition: transform 0.5s var(--ease);
}
.rv-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.rv-shot figcaption, .rv-shot > span {
  position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em;
}
.rv-shot-1 { left: 0; top: 0; transform: rotate(-4deg); }
.rv-shot-2 { right: 0; top: 22px; transform: rotate(3deg); }
.rv-shot-3 { left: 3%; bottom: 14px; transform: rotate(3deg); }
.rv-shot-4 { right: 2%; bottom: 40px; transform: rotate(-3deg); }
.rv-collage:hover .rv-shot { transform: rotate(0); }
.rv-phone {
  position: absolute; z-index: 4; left: 50%; top: 50%; width: 150px; aspect-ratio: 9 / 19;
  padding: 6px; border-radius: 28px;
  background: linear-gradient(145deg, #2a2f45, #05060d);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.6), 0 0 0 5px rgba(43, 67, 217, 0.18);
  transform: translate(-50%, -50%) rotate(-3deg);
  animation: rvPhoneFloat 6s ease-in-out infinite;
}
.rv-phone::before {
  content: ""; position: absolute; z-index: 2; left: 50%; top: 11px; width: 46px; height: 12px;
  border-radius: 999px; background: #05060d; transform: translateX(-50%);
}
.rv-phone > div { width: 100%; height: 100%; overflow: hidden; border-radius: 23px; background: #fff; }
.rv-phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
@keyframes rvPhoneFloat {
  0%, 100% { transform: translate(-50%, -50%) rotate(-3deg); }
  50% { transform: translate(-50%, calc(-50% - 12px)) rotate(-1deg); }
}
@media (prefers-reduced-motion: reduce) { .rv-phone { animation: none; } }
@media (max-width: 720px) {
  .rv-collage { min-height: 400px; }
  .rv-shot { height: 150px; border-radius: 14px; }
  .rv-shot-2 { top: 14px; }
  .rv-shot-4 { bottom: 26px; }
  .rv-phone { width: 118px; border-radius: 22px; }
  .rv-phone > div { border-radius: 17px; }
}
