/* ===================== FONTES =====================
 * DM Sans (textos) e Manrope (títulos), servidas pelo próprio site.
 * Licença SIL OFL 1.1 em assets/fonts/.
 * ================================================== */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('assets/fonts/manrope-latin-wght.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('assets/fonts/dm-sans-latin-wght.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===================== CORES E MEDIDAS =====================
 * Para trocar uma cor da página inteira, mude aqui.
 * Preto profundo + carvão, verde da marca como luz controlada.
 * =========================================================== */
:root {
  color-scheme: dark;
  accent-color: #55ef91;

  /* Superfícies */
  --bg-deep: #040506;     /* palco do topo e do fechamento (mesmo preto do vídeo do Vin) */
  --bg: #0a0b0d;          /* fundo da página */
  --surface: #121417;     /* caixas e cartões */
  --surface-2: #191c20;   /* caixas em destaque */
  --line: #23262a;        /* linhas e bordas */
  --line-strong: #33373c;

  /* Texto */
  --ink: #f3f5f4;         /* principal */
  --ink-2: #c9cdd1;       /* secundário */
  --muted: #a3a8ae;       /* apoio */
  --faint: #8d9298;       /* letras miúdas */

  /* Verde da marca */
  --accent: #55ef91;
  --accent-hover: #7af5aa;
  --accent-deep: #1f9a56; /* verde escuro: linhas sobre fundo claro, lados das peças 3D */
  --accent-ink: #062314;  /* texto sobre o verde */
  --green: var(--accent); /* nome antigo, mantido para compatibilidade */

  /* Folha clara ("Como funciona") */
  --paper: #f3f5f4;
  --paper-ink: #0f1113;
  --paper-ink-2: #3c4247;
  --paper-muted: #5c636a;
  --paper-line: #d8dcdf;

  --radius: 16px;
  --radius-lg: 24px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.45, 0, .25, 1);
  --shadow-lift: 0 30px 60px -28px rgba(0, 0, 0, .85);
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: Manrope, 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Ícones desenhados em SVG, todos com o mesmo traço */
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 9.5 17 19 7.5'/%3E%3C/svg%3E");
  --i-arrow-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --i-arrow-left: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E");
  --i-arrow-up-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E");
  --i-arrow-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E");
  --i-arrow-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E");
  --i-menu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h10'/%3E%3C/svg%3E");
  --i-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
  --i-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
  --i-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.6'/%3E%3Cpath d='M5 20c.9-3.7 3.6-5.6 7-5.6s6.1 1.9 7 5.6'/%3E%3C/svg%3E");
  --i-scale: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v16M8 20h8M5 7h14M5 7l-2.6 6.2a2.8 2.8 0 0 0 5.2 0zM19 7l-2.6 6.2a2.8 2.8 0 0 0 5.2 0z'/%3E%3C/svg%3E");
  --i-x-circle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='m9.2 9.2 5.6 5.6M14.8 9.2l-5.6 5.6'/%3E%3C/svg%3E");
  --i-tag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E");
  --i-chevron-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

/* ===================== BASE ===================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; scrollbar-color: var(--line-strong) var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.08; margin: 0 0 18px; }
h3 { letter-spacing: -0.02em; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font: inherit; cursor: pointer; }
figure { margin: 0; }
::selection { background: rgba(85, 239, 145, .3); color: var(--ink); }
.muted { color: var(--muted); }
.container { width: min(1160px, calc(100% - 44px)); margin-inline: auto; }
.nowrap { white-space: nowrap; }

/* Ícones */
.ico {
  display: inline-block; flex: none; width: 1.15em; height: 1.15em;
  background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat;
          mask: var(--ico) center / contain no-repeat;
}
.ico-check { --ico: var(--i-check); }
.ico-arrow-right { --ico: var(--i-arrow-right); }
.ico-arrow-left { --ico: var(--i-arrow-left); }
.ico-arrow-up-right { --ico: var(--i-arrow-up-right); }
.ico-arrow-down { --ico: var(--i-arrow-down); }
.ico-arrow-up { --ico: var(--i-arrow-up); }
.ico-menu { --ico: var(--i-menu); }
.ico-lock { --ico: var(--i-lock); }
.ico-user { --ico: var(--i-user); }
.ico-scale { --ico: var(--i-scale); }
.ico-x-circle { --ico: var(--i-x-circle); }
.ico-tag { --ico: var(--i-tag); }

/* Acessibilidade */
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px;
  border-radius: 10px; font-weight: 700; transition: top .2s;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ===================== TOPO ===================== */
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(4, 5, 6, .8);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.top.scrolled { background: rgba(10, 11, 13, .9); border-bottom-color: var(--line); box-shadow: 0 14px 30px -22px rgba(0, 0, 0, .9); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; flex: none; margin-left: -4px; border-radius: 10px; }
.brand img { display: block; width: 132px; height: auto; }
.links { display: flex; align-items: center; gap: 30px; color: var(--ink-2); font-size: 14.5px; font-weight: 500; }
.links a:not(.btn) { position: relative; padding: 6px 0; transition: color .2s; }
.links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.links a:not(.btn):hover, .links a[aria-current] { color: var(--ink); }
.links a:not(.btn):hover::after, .links a[aria-current]::after { transform: scaleX(1); }
.menu-toggle {
  display: none; place-items: center; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 12px; color: var(--ink);
  transition: background-color .2s, border-color .2s;
}
.menu-toggle:hover { background: var(--surface); }
.menu-toggle .ico { width: 22px; height: 22px; }
.menu-toggle[aria-expanded="true"] .ico { --ico: var(--i-close); }

/* ===================== BOTÕES ===================== */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 22px; border: 1px solid transparent; border-radius: 12px;
  background: var(--accent); color: var(--accent-ink);
  font: 700 15px/1.25 var(--font-body); letter-spacing: .01em; text-align: center; text-wrap: balance;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .3s var(--ease-out), transform .3s var(--ease-out);
}
.btn .ico { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn:hover .ico-arrow-up-right { transform: translate(2px, -2px); }
.btn:hover .ico-arrow-down { transform: translateY(2px); }
.btn:hover .ico-arrow-right { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline-offset: 4px; }
/* Luz verde que cai sob o botão principal (sombra com deslocamento, não halo) */
.btn-glow { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 16px 34px -14px rgba(85, 239, 145, .55); }
.btn-glow:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 20px 40px -14px rgba(85, 239, 145, .7); }
.btn.outline { background: transparent; border-color: var(--line-strong); color: var(--ink); box-shadow: none; }
.btn.outline:hover { background: var(--surface); border-color: #4a4f55; }
.btn.small { padding: 10px 16px; font-size: 14px; }
.btn.small .ico { width: 16px; height: 16px; }
.btn[disabled] { background: var(--surface-2); border-color: var(--line-strong); color: var(--muted); cursor: not-allowed; transform: none; box-shadow: none; }

/* ===================== HERO =====================
 * Desktop: texto à esquerda, quadro 16:9 do vídeo ancorado à direita (Vin sempre inteiro).
 * Celular: texto → palco do Vin (o mesmo quadro, centrado no Vin) → selos.
 * As peças 3D usam % do quadro do vídeo, então acompanham o Vin em qualquer tela.
 * ================================================ */
.hero {
  --copy-w: min(600px, calc(50vw - 40px));
  --shift: clamp(0px, calc((1200px - 100vw) * .4), 90px); /* empurra o Vin para a direita em telas médias */
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  min-height: clamp(600px, 50vw, 860px);
  padding: 64px 0 60px;
  background: var(--bg-deep);
}
.hero::after {
  content: ''; position: absolute; inset: auto 0 0; z-index: 1; height: 120px; pointer-events: none;
  background: linear-gradient(rgba(10, 11, 13, 0), var(--bg));
}
.hero-copy, .hero-foot { position: relative; z-index: 3; }
.hero-copy > *, .hero-foot > * { max-width: var(--copy-w); }
.hero h1 { font-size: clamp(40px, 4.3vw, 66px); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 24px; }
.h1-soft { font-weight: 300; letter-spacing: -0.03em; }
.hero h1 em, .final h2 em { font-style: normal; font-weight: 800; color: var(--accent); }
.mark { position: relative; display: inline-block; white-space: nowrap; }
.mark-line { position: absolute; left: -1%; bottom: -0.36em; width: 103%; height: auto; overflow: visible; pointer-events: none; }
.mark-line path {
  fill: none; stroke: var(--accent); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 1.1s var(--ease-out) .6s forwards;
}
.lead { margin: 0; font-size: 18.5px; line-height: 1.6; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-foot { margin-top: 30px; }
.sub { margin: 0 0 16px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.trust {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0; padding: 0; list-style: none;
  border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(13, 15, 17, .78);
}
.trust li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }
.trust li + li { border-left: 1px solid var(--line); }
.trust .ico { width: 18px; height: 18px; color: var(--accent); }

.hero-visual {
  position: absolute; z-index: 0; top: 0; right: calc(-1 * var(--shift)); height: 100%; width: auto;
  aspect-ratio: 16 / 9;
  animation: fade 1.4s ease both;
}
.hero-media { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-visual::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--bg-deep) 0%, rgba(4, 5, 6, .9) 14%, rgba(4, 5, 6, .5) 30%, rgba(4, 5, 6, 0) 46%);
}
/* Peças 3D: a posição vem de --x/--y (% do quadro); o JS só soma o parallax em transform */
.obj { position: absolute; z-index: 2; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: var(--w); translate: -50% -50%; }
.obj img { display: block; width: 100%; height: auto; animation: obj-in 1s var(--ease-out) var(--in) both, bob var(--t) var(--ease-in-out) var(--in) infinite; }
.obj-spark { --x: 58.5; --y: 11; --w: clamp(18px, 1.8%, 30px); --in: 1.2s; --t: 4s; }
.obj-spark img { animation: obj-in 1s var(--ease-out) 1.2s both, twinkle 3.8s var(--ease-in-out) 2.2s infinite; }

/* Entrada do topo: um único momento, em sequência curta */
.hero-copy > *, .hero-foot { animation: rise .9s var(--ease-out) both; }
.hero h1 { animation-delay: .05s; }
.hero .lead { animation-delay: .14s; }
.hero-actions { animation-delay: .22s; }
.hero-foot { animation-delay: .32s; }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes obj-in { from { opacity: 0; scale: .8; } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-9px) rotate(1.5deg); } }
@keyframes twinkle { 0%, 100% { opacity: 1; scale: 1; } 50% { opacity: .4; scale: .65; } }

@media (min-width: 1440px) {
  .hero { --copy-w: 640px; }
}

/* ===================== SEÇÕES ===================== */
section { padding: 112px 0; }
/* clip (e não hidden): corta sobras laterais das peças inclinadas sem quebrar o position: sticky */
main > section { overflow-x: clip; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .muted { margin: 0; max-width: 62ch; font-size: 17px; }
.section-head.center .muted { margin-inline: auto; }
.h-soft { font-weight: 500; color: var(--muted); }

/* Mascote Vin (recortes com fundo transparente) */
.vin img, .scope-vin, .offer-vin, .faq-vin, .final-vin, .lost-vin {
  height: auto; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .6));
}
.vin img, .offer-vin, .faq-vin, .final-vin { animation: bob 8s var(--ease-in-out) infinite; }

/* Dores: um relatório de apontamentos, com o Vin investigando pela borda */
.pains-sec { padding: 64px 0 88px; }
.pains-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; }
.pains-main { position: relative; z-index: 1; }
.pains-main .section-head { margin-bottom: 32px; }
.pains-main h2 { max-width: 15em; }
.pains {
  margin: 0; padding: 6px 0; list-style: none; max-width: 640px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.pain { display: flex; align-items: center; gap: 16px; padding: 18px 96px 18px 22px; }
.pain + .pain { border-top: 1px dashed var(--line-strong); }
.pain .ico { width: 22px; height: 22px; color: var(--muted); }
.pain p { margin: 0; font-size: 17px; font-weight: 500; line-height: 1.45; color: var(--ink); }
.vin-investigador { position: relative; z-index: 2; justify-self: start; width: min(380px, 100%); margin-left: -88px; }
.vin-investigador img { display: block; width: 100%; }

/* Serviço: título editorial em dois tons, texto deslocado, peças 3D */
.service-sec { padding: 96px 0 120px; }
.service-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-bottom: 64px; }
.service-head h2 { grid-column: 1 / span 9; font-size: clamp(32px, 4vw, 56px); line-height: 1.04; margin: 0 0 28px; }
.service-head .muted { grid-column: 6 / span 7; margin: 0; font-size: 17.5px; line-height: 1.65; }
.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 64px; align-items: center; }
.service-list { display: grid; }
.service-item {
  display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; align-items: start;
  padding: 26px 0; border-top: 1px solid var(--line);
}
.service-item:last-child { border-bottom: 1px solid var(--line); }
.service-item .piece { grid-row: span 2; width: 64px; height: auto; margin-top: -6px; transition: transform .5s var(--ease-out); }
.service-item:hover .piece { transform: translateY(-4px) rotate(-3deg); }
.service-item h3 { margin: 0 0 6px; font-size: 19px; line-height: 1.3; }
.service-item p { margin: 0; font-size: 15.5px; color: var(--muted); }
.service-item.is-lead { grid-template-columns: 76px 1fr; padding-top: 4px; border-top: 0; }
.service-item.is-lead .piece { width: 76px; }
.service-item.is-lead h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.18; letter-spacing: -0.025em; margin-bottom: 10px; }
.service-item.is-lead p { font-size: 16.5px; color: var(--ink-2); }

/* Imagens com cena completa (análise e painel) */
.shot img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
.shot-service { position: relative; }
.shot-service img { box-shadow: 0 0 0 1px var(--line), 0 40px 70px -40px rgba(0, 0, 0, .9); }


/* Como funciona: folha clara sobre o fundo escuro, com trilho de progresso */
.light {
  background: var(--paper); color: var(--paper-ink);
  margin-inline: 12px; border-radius: 32px;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, .06);
}
.light .muted { color: var(--paper-muted); }
.light :focus-visible { outline-color: var(--paper-ink); }
.how-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; align-items: start; }
.how-layout .section-head { margin-bottom: 40px; }
.steps { --p: 0; position: relative; display: grid; margin: 0; padding: 0; list-style: none; }
/* O trilho vai do centro do 1º nó ao centro do último (--rail-end é calculado no script.js) */
.steps::before, .steps::after {
  content: ''; position: absolute; left: 11px; top: 11px; bottom: var(--rail-end, 34px); width: 2px; border-radius: 2px;
}
.steps::before { background: var(--paper-line); }
.steps::after { background: linear-gradient(var(--accent-deep), #2fcf76); transform-origin: top; transform: scaleY(var(--p)); }
.step { position: relative; padding: 0 0 34px 52px; }
.step::before {
  content: ''; position: absolute; left: 4px; top: 3px; z-index: 1; width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); border: 2px solid #b9bfc4;
  transition: background-color .4s, border-color .4s, box-shadow .4s, scale .4s var(--ease-out);
}
.step.on::before { background: #2fcf76; border-color: var(--accent-deep); box-shadow: 0 0 0 6px rgba(47, 207, 118, .16); scale: 1.08; }
.step b { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: var(--paper-muted); transition: color .4s; }
.step.on b { color: #157a42; }
.step h3 { margin: 8px 0 6px; font-size: 20px; line-height: 1.3; }
.step p { margin: 0; max-width: 46ch; font-size: 15.5px; color: var(--paper-ink-2); }
.step:last-child { padding-bottom: 0; }
/* Etapa final: o nó vira um selo de conclusão com check */
.step.is-done::before { left: -2px; top: -3px; width: 28px; height: 28px; }
.step.is-done::after {
  content: ''; position: absolute; left: 4px; top: 3px; z-index: 2; width: 16px; height: 16px;
  background: #b9bfc4;
  -webkit-mask: var(--i-check) center / contain no-repeat;
          mask: var(--i-check) center / contain no-repeat;
  transition: background-color .4s;
}
.step.is-done.on::before { background: #2fcf76; border-color: var(--accent-deep); box-shadow: 0 0 0 7px rgba(47, 207, 118, .16), 0 10px 18px -6px rgba(31, 154, 86, .55); scale: 1; }
.step.is-done.on::after { background: #fff; }
.phones { position: sticky; top: 120px; display: grid; grid-template-columns: repeat(2, minmax(0, 230px)); gap: 18px; justify-content: center; align-items: start; padding-top: 24px; }
.phones img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 34px 50px -26px rgba(15, 17, 19, .55); }
.phones img:first-child { rotate: -3deg; }
.phones img + img { margin-top: 64px; rotate: 3deg; }

/* Alcance do serviço: caixas assimétricas */
.scope-sec { padding: 120px 0 72px; }
.scope { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: start; margin-top: 96px; }
.scope-box { position: relative; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.scope-box.next {
  margin-top: 56px; border-color: rgba(85, 239, 145, .22);
  background: linear-gradient(180deg, rgba(85, 239, 145, .07), rgba(85, 239, 145, 0) 60%), var(--bg);
}
.scope-box h3 { margin: 0 0 22px; font-size: 21px; }
.scope-box ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.scope-box li { display: flex; gap: 12px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.scope-box li::before, .offer-list li::before {
  content: ''; flex: none; width: 18px; height: 18px; margin-top: 3px;
  background: var(--accent);
  -webkit-mask: var(--i-check) center / contain no-repeat;
          mask: var(--i-check) center / contain no-repeat;
}
.scope-box.next li::before { -webkit-mask-image: var(--i-arrow-up-right); mask-image: var(--i-arrow-up-right); }
.scope-vin { position: absolute; top: -84px; right: 24px; width: 150px; pointer-events: none; }
.scope-box.yes h3 { padding-right: 140px; }
.scope-arrow { position: absolute; top: -64px; right: 22px; width: 96px; height: auto; pointer-events: none; animation: bob 7s var(--ease-in-out) infinite; }
.scope-box.next h3 { padding-right: 96px; }

/* Painel de acompanhamento: tela em perspectiva */
.panel-sec { padding: 72px 0 40px; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.split .muted { max-width: 54ch; }
.split h2 { max-width: 12em; }
.shot-panel { perspective: 1400px; }
.shot-panel img {
  transform: rotateY(-9deg) rotateX(3deg); transform-origin: left center;
  box-shadow: 0 0 0 1px var(--line), -30px 50px 80px -40px rgba(0, 0, 0, .95);
  transition: transform .9s var(--ease-out);
}
.shot-panel:hover img { transform: rotateY(-4deg) rotateX(1deg); }

/* Oferta: cartão de preço com cartão 3D atrás e luz na borda */
.offer-sec { padding: 112px 0; overflow-x: clip; }
.offer { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 72px; align-items: center; }
.offer-copy { display: flex; flex-direction: column; }
.offer-copy h2 { max-width: 13em; }
.offer-copy .muted { margin: 0 0 14px; max-width: 46ch; font-size: 17px; }
.offer-vin { width: 260px; margin-top: 28px; }
.offer-stack { position: relative; isolation: isolate; padding-top: 34px; }
.offer-cardart {
  position: absolute; z-index: -1; top: -30px; right: -46px; width: 66%; height: auto;
  rotate: 13deg; pointer-events: none;
  animation: bob 9s var(--ease-in-out) infinite;
}
.offer-card {
  position: relative; overflow: hidden; padding: 36px;
  background: linear-gradient(180deg, #17191d, #101215);
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .95);
  transition: border-color .3s;
}
.offer-card::before {
  content: ''; position: absolute; left: 28px; right: 28px; top: -1px; height: 1px;
  background: linear-gradient(90deg, rgba(85, 239, 145, 0), rgba(85, 239, 145, .8), rgba(85, 239, 145, 0));
}
.offer-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .07) 48%, transparent 60%);
  transform: translateX(-110%);
}
.offer-card.in::after { animation: sweep 1.8s var(--ease-out) .35s 1 both; }
.offer-card:hover, .offer-card:focus-within { border-color: #4a4f55; }
.offer-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--ink-2);
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 50px; margin-bottom: 20px;
}
.offer-badge .ico { width: 13px; height: 13px; }
/* Selo da promoção: o único selo verde cheio da página */
.offer-badge.is-promo { gap: 8px; padding: 8px 14px; font-size: 12px; letter-spacing: .08em; background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px -12px rgba(85, 239, 145, .6); }
.offer-badge.is-promo .ico { width: 14px; height: 14px; }
.price-label { font-size: 14px; color: var(--muted); }
/* "De R$ 97,00 por" riscado + selo do desconto, logo acima do preço */
.price-old { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 10px 0 0; font-size: 16px; line-height: 1.3; color: var(--muted); }
.price-old del { font-weight: 600; color: var(--ink-2); text-decoration-thickness: 2px; text-decoration-color: rgba(243, 245, 244, .75); }
.price-off {
  display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 50px;
  border: 1px solid rgba(85, 239, 145, .5); background: rgba(85, 239, 145, .1);
  font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--accent); white-space: nowrap;
}
.price {
  margin: 4px 0 0; font-family: var(--font-display); font-size: clamp(64px, 6.2vw, 84px); font-weight: 800; line-height: 1;
  letter-spacing: -0.045em; font-variant-numeric: tabular-nums; color: var(--accent);
}
.price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; row-gap: 6px; }
.price-num { white-space: nowrap; }
.price-sep { margin-right: -0.1em; }
.price small { font-family: var(--font-body); font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--muted); white-space: nowrap; }
.offer-list-title { margin: 24px 0 12px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 700; color: var(--ink); }
.offer-list { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
/* Último item da lista: o objetivo do serviço, em destaque verde e com seta de subida */
.offer-list .is-goal {
  margin-top: 4px; padding: 12px 14px; border: 1px solid rgba(85, 239, 145, .32); border-radius: 12px;
  background: rgba(85, 239, 145, .07); color: var(--ink);
}
.offer-list .is-goal::before { -webkit-mask-image: var(--i-arrow-up-right); mask-image: var(--i-arrow-up-right); }
.offer-list .is-goal strong { color: var(--accent); font-weight: 700; }
.offer-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 2px 0 0; font-size: 12.5px; color: var(--faint); }
.offer-secure .ico { width: 13px; height: 13px; }
.offer-list li { display: flex; gap: 10px; }
.offer-list li::before { margin-top: 1px; }
.offer-card .btn { width: 100%; }
.fine { font-size: 12.5px; line-height: 1.6; color: var(--faint); }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; font-size: 13px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.consent input { flex-shrink: 0; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.form-msg { min-height: 18px; margin: 12px 0 0; font-size: 12.5px; text-align: center; color: #f0c674; }
@keyframes sweep { to { transform: translateX(110%); } }

/* Dúvidas: abre com altura animada onde o navegador permite */
.faq-sec { padding: 72px 0 112px; }
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq-aside { position: sticky; top: 110px; }
.faq-aside .section-head { margin-bottom: 18px; }
.faq-vin { width: min(280px, 100%); }
.faq details { border-bottom: 1px solid var(--line); border-radius: 14px; transition: background-color .3s; }
.faq details:first-child { border-top: 1px solid var(--line); border-top-left-radius: 0; border-top-right-radius: 0; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 16px; cursor: pointer; list-style: none;
  font-size: 16.5px; font-weight: 600; line-height: 1.4; border-radius: 14px; transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--muted);
  background:
    linear-gradient(currentColor, currentColor) center / 11px 1.75px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.75px 11px no-repeat;
  transition: background-size .3s var(--ease-out), rotate .3s var(--ease-out), color .2s, border-color .2s;
}
.faq summary:hover::after { color: var(--ink); border-color: #4a4f55; }
.faq details[open] { background: var(--surface); border-bottom-color: transparent; }
.faq details[open] summary { color: var(--ink); }
.faq details[open] summary::after { rotate: 180deg; color: var(--accent); border-color: rgba(85, 239, 145, .4); background-size: 11px 1.75px, 1.75px 0; }
.faq details p { margin: 0; padding: 0 16px 22px; max-width: 64ch; font-size: 15.5px; color: var(--ink-2); }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .4s var(--ease-out), content-visibility .4s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

/* Fechamento: o mesmo título do topo, com luz vindo de baixo */
.final {
  position: relative; overflow: hidden; padding: 72px 0 128px; text-align: center;
  background: radial-gradient(58% 46% at 50% 100%, rgba(85, 239, 145, .13), rgba(85, 239, 145, 0) 72%), var(--bg);
}
.final-stage { position: relative; width: 240px; margin: 0 auto 26px; }
.final-vin { display: block; width: 100%; }
.final-spark { position: absolute; width: 26px; height: auto; pointer-events: none; animation: twinkle 3.6s var(--ease-in-out) infinite; }
.final-spark.s1 { top: 8%; left: -14%; }
.final-spark.s2 { top: 52%; right: -16%; width: 18px; animation-delay: 1.4s; }
.final h2 { max-width: 15em; margin: 0 auto 20px; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -0.035em; }
.final h2 .h1-soft { display: block; }
.final .muted { max-width: 54ch; margin: 0 auto; font-size: 17.5px; }
.final .btn { margin-top: 32px; }
/* Com JS, o traço do fechamento só é desenhado quando a seção aparece */
.js .final .mark-line path { animation: none; }
.js .final-stage.in ~ h2 .mark-line path { animation: draw 1.1s var(--ease-out) .35s forwards; }

/* Página 404 */
.lost { min-height: calc(100vh - 73px); display: grid; place-items: center; padding: 40px 0 72px; text-align: center; }
.lost-vin { width: 230px; margin: 0 auto 6px; }
.lost h1 { margin: 12px 0 6px; font-size: clamp(32px, 4vw, 46px); }
.lost .btn { margin-top: 18px; }

/* Rodapé */
.foot { padding: 56px 0 110px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot p { line-height: 1.65; }
.foot-flex { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px 64px; align-items: start; }
.foot-logo { width: 168px; height: auto; margin-left: -6px; }
.foot-flex > div:first-child p:first-of-type { margin: 14px 0 6px; font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.foot-legal { max-width: 650px; justify-self: end; padding-top: 6px; }
.foot-legal p { margin-top: 0; }
.foot a.foot-contact { color: var(--ink-2); }
.foot a.foot-contact:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; }
.foot-links a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); transition: color .2s, text-decoration-color .2s; }
.foot-links a:hover { color: var(--ink); text-decoration-color: var(--accent); }

/* WhatsApp flutuante */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 30;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
  transition: transform .2s;
}
.wa[hidden] { display: none; }
.wa:hover { transform: scale(1.07); }
.wa svg { width: 28px; height: 28px; fill: #fff; }
.wa::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 #25d36699; animation: wa-pulse 2.4s infinite;
}
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 #25d36666; } 70% { box-shadow: 0 0 0 16px #25d36600; } 100% { box-shadow: 0 0 0 0 #25d36600; } }

/* Barra CTA fixa no celular */
.sticky-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  padding: 12px 17px calc(12px + env(safe-area-inset-bottom));
  background: rgba(10, 11, 13, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .4s var(--ease-out);
}
.sticky-cta.show { transform: none; }
.sticky-cta .btn { width: 100%; display: block; text-align: center; text-wrap: balance; }

/* Voltar ao topo */
.to-top {
  position: fixed; left: 20px; bottom: 20px; z-index: 30;
  width: 46px; height: 46px; padding: 0; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s, transform .25s, visibility .25s, background-color .2s;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .7);
}
.to-top .ico { width: 20px; height: 20px; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
/* No celular, o botão some enquanto o cartão de preço está na tela (para não cobrir aceite e pagamento) */
@media (max-width: 899px) { .to-top.show.on-offer { opacity: 0; visibility: hidden; transform: translateY(8px); } }
.to-top:hover { background: var(--surface-2); }

/* Luz que segue o mouse (efeito 12): o JS só escreve --x e --y; o brilho é este gradiente.
 * Fica atrás do texto (z-index -1 dentro de isolation) e só existe com mouse. */
[data-luz] { position: relative; isolation: isolate; }
.trust[data-luz]::before, .pains[data-luz]::before, .scope-box[data-luz]::before, .offer-card .luz {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .35s;
  background: radial-gradient(260px circle at var(--x, 50%) var(--y, 50%), rgba(150, 255, 190, .13), rgba(85, 239, 145, .045) 45%, transparent 70%);
}
@media (hover: hover) and (pointer: fine) {
  .trust[data-luz]:hover::before, .pains[data-luz]:hover::before, .scope-box[data-luz]:hover::before, .offer-card[data-luz]:hover .luz { opacity: 1; }
}

/* Entradas ao rolar: só existem com JS ativo (classe .js); sem JS tudo aparece normalmente */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out) var(--d, 0ms), transform 1s var(--ease-out) var(--d, 0ms); }
.js .pain[data-reveal] { transform: translateX(-14px); }
.js .shot-panel[data-reveal] img { transform: rotateY(-22deg) rotateX(6deg); }
.js .offer-card[data-reveal] { transform: translateY(28px) scale(.98); }
.js .final-stage[data-reveal] { transform: translateY(26px) scale(.92); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .shot-panel[data-reveal].in img { transform: rotateY(-9deg) rotateX(3deg); }
.js .shot-panel[data-reveal].in:hover img { transform: rotateY(-4deg) rotateX(1deg); }

/* ===================== RESPONSIVO ===================== */
@media (max-width: 1199px) {
  .pain { padding-right: 72px; }
  .vin-investigador { margin-left: -64px; }
  .service-head h2 { grid-column: 1 / span 11; }
  .service-head .muted { grid-column: 5 / span 8; }
}

/* Até 1023 px o topo fica empilhado: texto → palco do Vin → selos.
 * O palco é o mesmo quadro 16:9 do vídeo, mais largo que a tela e centrado no Vin. */
@media (max-width: 1023px) {
  .hero { --copy-w: 640px; min-height: 0; justify-content: flex-start; padding: 44px 0 32px; }
  .hero-copy { order: 1; }
  .hero-visual {
    --vbw: clamp(560px, 176vw, max(860px, 104vw));
    --focus: .70;  /* ponto do vídeo que fica no centro da tela (o Vin) */
    order: 2; position: relative; top: auto; right: auto; flex: none;
    width: var(--vbw); height: auto;
    margin: -24px 0 -8px max(calc(50% - var(--vbw) * var(--focus)), calc(100% - var(--vbw)));
  }
  .hero-visual::before {
    background: linear-gradient(180deg, var(--bg-deep) 0%, rgba(4, 5, 6, 0) 20%, rgba(4, 5, 6, 0) 80%, var(--bg-deep) 100%);
  }
  .hero-foot { order: 3; margin-top: 0; }
}

/* Tablet em pé e celular */
@media (max-width: 899px) {
  .menu-toggle { display: grid; }
  .links {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px 22px 22px; background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .8);
  }
  .links.open { display: flex; }
  .links a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .links a:not(.btn)::after { display: none; }
  .links .btn { margin-top: 16px; padding: 15px 18px; font-size: 15px; }
  .links.open > * { animation: rise .45s var(--ease-out) both; }
  .links.open > :nth-child(2) { animation-delay: .03s; }
  .links.open > :nth-child(3) { animation-delay: .06s; }
  .links.open > :nth-child(4) { animation-delay: .09s; }
  .links.open > :nth-child(5) { animation-delay: .12s; }

  section { padding: 80px 0; }
  .pains-sec { padding: 72px 0 64px; }
  .pains-layout { grid-template-columns: 1fr; }
  .vin-investigador { order: -1; justify-self: center; width: 200px; margin: 0 0 4px; }
  .pain { padding: 16px 18px; }
  .service-sec { padding: 72px 0 88px; }
  .service-head { display: block; margin-bottom: 40px; }
  .service-head h2 { margin-bottom: 18px; }
  .service-layout { grid-template-columns: 1fr; gap: 40px; }
  .light { margin-inline: 8px; border-radius: 26px; }
  .light .container { width: calc(100% - 48px); }
  .how-layout { grid-template-columns: 1fr; gap: 36px; }
  .phones { position: static; width: 100%; max-width: 500px; justify-self: center; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 0; }
  .phones img + img { margin-top: 40px; }
  .scope-sec { padding: 80px 0 56px; }
  .scope { grid-template-columns: 1fr; gap: 84px; margin-top: 88px; }
  .scope-box.next { margin-top: 0; }
  .panel-sec { padding: 56px 0 80px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .shot-panel img, .js .shot-panel[data-reveal].in img { transform: rotateY(-6deg) rotateX(2deg); }
  /* Celular: preço e botão primeiro; o Vin da oferta só aparece no computador */
  .offer-sec { padding: 64px 0 72px; }
  .offer { grid-template-columns: 1fr; gap: 6px; }
  .offer-copy h2 { margin-bottom: 12px; }
  .offer-copy .muted { margin-bottom: 0; }
  .offer-vin { display: none; }
  .offer-stack { padding-top: 26px; }
  .offer-cardart { width: 46%; right: 8px; top: 0; }
  .faq-sec { padding: 56px 0 88px; }
  /* Em uma coluna o Vin da lâmpada só empurrava as perguntas para baixo: some aqui (sem ocupar espaço) */
  .faq-layout { grid-template-columns: 1fr; gap: 0; }
  .faq-aside { position: static; }
  .faq-aside .section-head { margin-bottom: 24px; }
  .faq-vin { display: none; }
  .final { padding: 56px 0 104px; }
  .foot-flex { grid-template-columns: 1fr; }
  .foot-legal { justify-self: start; }
  .sticky-cta { display: block; }
  /* Espaço final maior: os links do rodapé sobem acima do "voltar ao topo" e da barra fixa */
  .foot { padding-bottom: 180px; }
  .wa, .to-top { bottom: calc(112px + env(safe-area-inset-bottom)); }
  /* No celular o texto é alinhado à esquerda: o "voltar ao topo" fica à direita para não cobrir leitura */
  .to-top { left: auto; right: 16px; width: 44px; height: 44px; }
  body:has(.wa:not([hidden])) .to-top { bottom: calc(180px + env(safe-area-inset-bottom)); }
}

/* Celular */
@media (max-width: 540px) {
  .container { width: calc(100% - 34px); }
  .nav { min-height: 64px; }
  .brand img { width: 108px; }
  .hero { padding: 28px 0 24px; }
  .hero h1 { font-size: clamp(31px, 9.3vw, 40px); line-height: 1.04; margin-bottom: 16px; }
  .mark-line path { stroke-width: 4; }
  .lead { font-size: 16px; line-height: 1.55; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 4px; margin-top: 24px; }
  .hero-actions .btn { width: 100%; }
  /* Botões principais no celular: texto um pouco mais compacto para caber em uma linha sempre que possível */
  .hero-actions .btn-glow, .final .btn, .offer-card .btn { padding-inline: 16px; font-size: 14px; letter-spacing: 0; }
  .hero-actions .btn.outline { border-color: transparent; padding: 13px 16px; color: var(--ink-2); }
  .hero-actions .btn.outline:hover { background: transparent; color: var(--ink); }
  .sub { font-size: 13px; margin-bottom: 14px; }
  .trust { grid-template-columns: 1fr; }
  .trust li { padding: 12px 14px; }
  .trust li + li { border-left: 0; border-top: 1px solid var(--line); }
  section { padding: 72px 0; }
  .section-head { margin-bottom: 32px; }
  .pain p { font-size: 16px; }
  .service-item, .service-item.is-lead { grid-template-columns: 52px 1fr; column-gap: 16px; }
  .service-item .piece, .service-item.is-lead .piece { width: 52px; }
  .step { padding-left: 46px; }
  .scope-box { padding: 26px 22px; }
  .scope-vin { width: 108px; top: -62px; right: 12px; }
  .scope-box.yes h3 { padding-right: 96px; }
  .scope-arrow { width: 76px; top: -50px; right: 14px; }
  .scope-box.next h3 { padding-right: 76px; }
  /* Celular: preço → aceite → botão ficam juntos; o que o pagamento inclui vem logo abaixo.
     Só a ordem visual muda (aceite continua antes do botão para quem navega pelo teclado). */
  .offer-sec { padding-top: 40px; }
  .offer-copy .muted { font-size: 16px; }
  .offer-stack { padding-top: 22px; }
  .offer-card { display: flex; flex-direction: column; padding: 22px 18px 20px; }
  .offer-badge.is-promo { align-self: flex-start; margin-bottom: 12px; }
  .offer-card .price-label { order: 2; }
  .offer-card .price-old { order: 3; margin-top: 8px; font-size: 15px; }
  .offer-card .price { order: 3; }
  .offer-card .consent { order: 5; margin-top: 20px; }
  .offer-card #checkout { order: 6; }
  .offer-card .form-msg { order: 7; min-height: 0; margin-top: 8px; }
  .offer-card .form-msg:empty { margin-top: 0; }
  .offer-card .offer-secure { order: 8; margin-top: 10px; }
  .offer-card .offer-list-title { order: 9; }
  .offer-card .offer-list { order: 10; margin-bottom: 0; }
  .price { font-size: clamp(56px, 17vw, 66px); }
  .price small { font-size: 15px; }
  .offer-list-title { margin-top: 18px; padding-top: 16px; }
  .offer-list { gap: 8px; font-size: 15px; margin-bottom: 14px; }
  .offer-list .is-goal { padding: 11px 12px; }
  .consent { margin-bottom: 14px; }
  .final-stage { width: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    animation-delay: 0s !important; transition-duration: .01ms !important;
  }
  .wa::after { animation: none; }
}
