/* =========================================================
   AVANTTÁ | Landing Page
   Temas:
     data-theme="red"  → preto, vermelho e branco (padrão)
     data-theme="mono" → preto e branco (abre só por preto-e-branco.html)
   Todas as cores vêm das variáveis abaixo.
   Regra de performance: animações usam apenas transform e opacity.
   ========================================================= */

/* ---------- Fontes locais (woff2, subset latin, font-display: swap) ---------- */
@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bebas-neue-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
}
/* Fallbacks com métricas próximas para reduzir o "pulo" quando a fonte carrega */
@font-face {
  font-family: "Bebas Fallback";
  src: local("Arial Narrow"), local("ArialNarrow"), local("Liberation Sans Narrow"), local("Arial");
  size-adjust: 88%;
  ascent-override: 102%;
  descent-override: 34%;
}
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22%;
}

:root,
[data-theme="red"] {
  --bg: #0c0c0c;
  --bg-2: #111112;
  --surface: #161618;
  --surface-2: #1d1d20;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f5f5f5;
  --muted: #a8a8ad;

  --accent: #e10600;          /* vermelho Avanttá */
  --accent-2: #ff2a1f;
  --accent-deep: #6e0000;
  --accent-text: #ff3b33;     /* vermelho para texto em destaque (contraste AA) */
  --btn-a: #e10600;
  --btn-b: #b30400;
  --on-accent: #ffffff;
  --glow: rgba(225, 6, 0, 0.45);
  --glow-soft: rgba(225, 6, 0, 0.14);

  /* título em degradê (adaptado do cinza azulado da referência para a marca) */
  --grad: linear-gradient(180deg, #77777e 0%, #f5f5f6 100%);
  --grad-red: linear-gradient(180deg, #b80500 0%, #ff4a3f 100%);
  /* botão de contato (a referência usa roxo; aqui, o vermelho da marca) */
  --cbtn: linear-gradient(90deg, #ff3b2f 0%, #e10600 48%, #8f0400 100%);
  --cbtn-arrow: #b30400;

  /* seção clara (serviços) */
  --paper: #f3f2ef;
  --ink: #0c0c0c;
  --ink-muted: #4a4a50;
  --ink-red: #c40500;

  --logo-a: #7a0000;
  --logo-b: #ff1a1a;

  --wa: #25d366;
  --on-wa: #06301a;
}

[data-theme="mono"] {
  --bg: #0a0a0a;
  --bg-2: #0f0f0f;
  --surface: #151515;
  --surface-2: #1c1c1c;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.2);

  --text: #f7f7f7;
  --muted: #a3a3a3;

  --accent: #ffffff;
  --accent-2: #e6e6e6;
  --accent-deep: #3a3a3a;
  --accent-text: #ffffff;
  --btn-a: #ffffff;
  --btn-b: #dcdcdc;
  --on-accent: #050505;
  --glow: rgba(255, 255, 255, 0.28);
  --glow-soft: rgba(255, 255, 255, 0.07);

  --grad: linear-gradient(180deg, #6f6f6f 0%, #ffffff 100%);
  --grad-red: linear-gradient(180deg, #9a9a9a 0%, #ffffff 100%);
  --cbtn: linear-gradient(90deg, #ffffff 0%, #d9d9d9 100%);
  --cbtn-arrow: #0a0a0a;

  --ink-red: #0c0c0c;

  --logo-a: #6b6b6b;
  --logo-b: #ffffff;

  --wa: #ffffff;
  --on-wa: #050505;
}

:root {
  --font-display: "Bebas Neue", "Bebas Fallback", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 92px; /* altura da barra de pílulas (desktop) */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hero: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html, body { max-width: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
::selection { background: var(--accent); color: var(--on-accent); -webkit-text-fill-color: var(--on-accent); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--text); color: var(--bg); font-weight: 700; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ico { width: 1.15em; height: 1.15em; flex-shrink: 0; }

/* ---------- Tipografia ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.95;
}
.display--md { font-size: clamp(2.4rem, 5vw, 3.9rem); }
.hl { color: var(--accent-text); }
[data-theme="mono"] .display .hl { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 560px; margin-top: 20px; }

/* texto em degradê (título do hero, "Sobre", chamada final, marca no rodapé) */
.grad {
  background-image: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding-top: .16em; /* o degradê cobre os acentos (Ó, Ê, Á), que passam da altura da linha */
}
.grad--red { background-image: var(--grad-red); }
.about__title .grad, .final__title .grad { display: inline-block; margin-top: -.16em; }

/* selo com filete à esquerda (vermelho da marca) */
.badge {
  display: inline-flex; align-items: center; align-self: flex-start;
  border-left: 2px solid var(--accent); padding: 7px 12px; margin-bottom: 20px;
  background: rgba(255,255,255,.1);
  font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: #fff;
}
.badge--light { background: rgba(0,0,0,.06); color: var(--ink); border-left-color: var(--ink-red); }
.section-head .badge { margin-bottom: 16px; }

/* ---------- Botões ---------- */
/* Botão de contato: pílula em degradê vermelho com a seta num círculo branco */
.cbtn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 52px; padding: 6px 6px 6px 24px; border-radius: 999px;
  background: var(--cbtn); color: #fff; font-weight: 600; font-size: .95rem; line-height: 1.2;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 0 0 1px rgba(255,255,255,.1), 0 14px 38px -14px rgba(225,6,0,.75);
  transition: transform .3s var(--ease);
}
.cbtn__arrow {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: #fff; color: var(--cbtn-arrow); transition: transform .35s var(--ease);
}
.cbtn__arrow svg { width: 16px; height: 16px; }
.cbtn:hover { transform: translateY(-2px); }
.cbtn:hover .cbtn__arrow { transform: rotate(45deg); }
.cbtn--sm { min-height: 46px; padding-left: 20px; font-size: .88rem; }
.cbtn--sm .cbtn__arrow { width: 34px; height: 34px; }
[data-theme="mono"] .cbtn { color: #0a0a0a; box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 14px 38px -14px rgba(255,255,255,.3); }
[data-theme="mono"] .cbtn__arrow { background: #0a0a0a; color: #fff; }

/* Botão secundário (contorno) */
.lbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 22px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.04); color: #fff;
  font-weight: 600; font-size: .95rem; line-height: 1.2;
  transition: background-color .3s, border-color .3s;
}
.lbtn:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }
.cbtn:focus-visible, .lbtn:focus-visible, .svc-item__go:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Botões do formulário e dos painéis */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 0.95rem; cursor: pointer; text-align: center;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:focus-visible, .option input:focus-visible + span { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.btn--primary {
  background: linear-gradient(135deg, var(--btn-a), var(--btn-b));
  color: var(--on-accent);
  box-shadow: 0 10px 30px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); background: rgba(255,255,255,0.05); }
.btn--lg { padding: 16px 28px; font-size: 1rem; }

/* ---------- Navegação em pílulas ----------
   A barra é transparente e não recebe cliques; só as pílulas recebem.
   Celular: pílula "Menu" abre o painel. A partir de 1024px: links na pílula do meio. */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; pointer-events: none; }
/* depois do topo, uma faixa escura em degradê atrás das pílulas esconde o conteúdo que passa por baixo */
.header::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 120px; background: linear-gradient(180deg, rgba(12,12,12,.96) 45%, rgba(12,12,12,0)); opacity: 0; transition: opacity .35s ease; }
.header.is-scrolled::before { opacity: 1; }
.header.is-scrolled.on-light::before { opacity: 0; }
.header.on-light .brand__name { color: var(--ink); transition: color .3s; }
.scroll-progress { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); transform-origin: left center; transform: scaleX(0); }
.topbar {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px; animation: navIn .8s var(--ease-hero) both;
}
@keyframes navIn { from { opacity: 0; transform: translateY(-16px); } }
.topbar__left { display: flex; align-items: center; gap: 8px; }
.topbar a, .topbar button, .nav, .links-pill { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: 6px; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--bg); border: 2px solid var(--accent);
  box-shadow: 0 0 18px -2px var(--glow), inset 0 0 12px -4px var(--glow);
}
.brand__mark svg { width: 62%; height: 62%; }
.brand__name { display: none; font-family: var(--font-display); font-size: 1.7rem; letter-spacing: 0.04em; line-height: 1; padding-top: 3px; }

.menu-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 8px 8px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.14); cursor: pointer;
  background: rgba(22,22,24,.86); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: .72rem; font-weight: 600; letter-spacing: .02em;
}
.menu-pill__icon { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: #fff; color: #0c0c0c; transition: transform .35s var(--ease-hero); }
.menu-pill__icon svg { width: 12px; height: 12px; }
.menu-pill[aria-expanded="true"] .menu-pill__icon { transform: rotate(45deg); }
.menu-pill:focus-visible, .cta-pill:focus-visible, .links-pill a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.links-pill {
  display: none; align-items: center; gap: 2px; padding: 5px; border-radius: 999px;
  background: rgba(22,22,24,.86); border: 1px solid rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.links-pill a { padding: 9px 16px; border-radius: 999px; font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.78); transition: background-color .25s, color .25s; }
.links-pill a:hover { background: rgba(255,255,255,.08); color: #fff; }

.cta-pill {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px; border-radius: 999px;
  background: var(--cbtn); color: #fff; font-size: .82rem; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 10px 28px -12px rgba(225,6,0,.8);
}
.cta-pill__icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--cbtn-arrow); transition: transform .35s var(--ease-hero); }
.cta-pill__icon svg { width: 14px; height: 14px; }
.cta-pill:hover .cta-pill__icon { transform: rotate(45deg); }
.cta-pill__label { display: none; padding-left: 14px; }
[data-theme="mono"] .cta-pill { color: #0a0a0a; }
[data-theme="mono"] .cta-pill__icon { background: #0a0a0a; color: #fff; }

/* menu em painel (celular) */
.nav {
  position: fixed; top: 76px; left: 16px; width: min(360px, calc(100vw - 32px));
  display: flex; flex-direction: column; padding: 10px 22px 22px; border-radius: 22px;
  background: rgba(14,14,16,.97); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.9);
  transform: translateY(-8px) scale(.98); transform-origin: top left; opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav.is-open { opacity: 1; transform: none; visibility: visible; }
.nav a:not(.cbtn) { padding: 16px 0; font-size: 1.1rem; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--border); transition: color .2s; }
.nav a:not(.cbtn):hover { color: var(--accent-text); }
.nav__cta { margin-top: 18px; }

@media (min-width: 768px) {
  .topbar { padding: 24px 32px; }
  .brand__name { display: inline; }
  .cta-pill__label { display: inline; }
  .nav { top: 92px; left: 32px; }
}
@media (min-width: 1024px) {
  .menu-pill { display: none; }
  .links-pill { display: inline-flex; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
}

/* ---------- Hero ----------
   Título gigante em degradê no topo, a prévia do site num celular no centro
   (cortado pela base, como o retrato da referência) e, nos cantos de baixo,
   o texto e os botões. Entradas em CSS; o título só desliza, sem sumir (LCP). */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  background: var(--bg);
}
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 42% at 50% 100%, rgba(225,6,0,.34), transparent 72%),
    radial-gradient(35% 30% at 88% 8%, rgba(225,6,0,.1), transparent 70%);
}
[data-theme="mono"] .hero__glow { background: radial-gradient(55% 42% at 50% 100%, rgba(255,255,255,.12), transparent 72%); }
.hero__inner {
  position: relative; min-height: inherit; display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 18px) 16px 0;
}
.hero__eyebrow {
  display: flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 500; color: rgba(255,255,255,.72);
  animation: up16 .8s var(--ease-hero) .35s both;
}
.hero__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--glow); }
.hero__title {
  margin: 14px 0 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3.4rem, 18.4vw, 7rem); line-height: .86; letter-spacing: .005em;
}
.hero__row { display: block; will-change: transform; }
.hero__row .grad { display: inline-block; margin-top: -.12em; animation: slide24 1s var(--ease-hero) both; }
.hero__row--b .grad { display: block; animation-delay: .08s; }
.hero__row--b .grad--red { animation-delay: .16s; }
.hero__bottom { position: relative; z-index: 2; margin-top: 22px; }
.hero__ctas .lbtn { background: rgba(18,18,20,.9); }
.hero__desc { max-width: 30rem; font-size: 1rem; line-height: 1.6; color: rgba(255,255,255,.74); animation: slide24 .9s var(--ease-hero) .2s both; } /* só desliza: é o maior texto visível para o Lighthouse (LCP) */
.hero__ctas { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; animation: up16 .8s var(--ease-hero) .55s both; }
.hero__stage { position: relative; flex: 1 0 250px; margin-top: 34px; animation: stageIn 1.2s var(--ease-hero) .3s both; }
.hero__float { position: absolute; top: 0; left: 0; right: 0; margin: 0 auto; width: 230px; will-change: transform; }

/* celular com a prévia (decorativo, feito só com CSS) */
.magnet { will-change: transform; transition: transform .6s ease-in-out; }
.magnet.is-active { transition: transform .3s ease-out; }
.hphone {
  position: relative; width: 100%; aspect-ratio: 9 / 18.6; padding: 10px; border-radius: 40px;
  background: linear-gradient(160deg, #2a2a2e, #111113 55%); border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(0,0,0,.6), 0 30px 120px -40px rgba(225,6,0,.55);
}
.hphone__notch { position: absolute; z-index: 2; top: 18px; left: 50%; width: 76px; height: 20px; margin-left: -38px; border-radius: 12px; background: #050505; }
.hphone__screen {
  position: relative; height: 100%; overflow: hidden; border-radius: 31px; padding: 42px 12px 12px;
  background: #0e0e10; display: flex; flex-direction: column; gap: 10px;
}
.hp-url { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 6px 10px; border-radius: 999px; background: #1b1b1e; font-size: .62rem; color: rgba(255,255,255,.62); }
.hp-url svg { width: 9px; height: 9px; color: #3ddc84; }
.hp-nav { display: flex; align-items: center; justify-content: space-between; padding: 0 4px; }
.hp-logo { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.hp-logo span { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
.hp-burger { display: grid; gap: 4px; }
.hp-burger i { display: block; width: 16px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.7); }
.hp-hero {
  position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px 12px 14px; border-radius: 18px;
  background: radial-gradient(90% 80% at 100% 0%, rgba(255,59,47,.55), transparent 70%), linear-gradient(160deg, #2b0c0a, #140707);
  border: 1px solid rgba(255,80,70,.25);
}
.hp-tag { align-self: flex-start; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: .55rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.hp-h { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; line-height: .95; text-transform: uppercase; color: #fff; }
.hp-line { display: block; height: 6px; width: 92%; border-radius: 6px; background: rgba(255,255,255,.22); }
.hp-line--s { width: 64%; }
.hp-btn { margin-top: 4px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 10px; border-radius: 999px; background: #25d366; color: #06301a; font-size: .64rem; font-weight: 700; }
.hp-btn svg { width: 12px; height: 12px; }
.hp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hp-grid span { height: 58px; border-radius: 14px; background: #19191c; border: 1px solid rgba(255,255,255,.06); }
.hp-grid span:nth-child(2) { background: linear-gradient(160deg, #3a0f0c, #19191c); }

/* selos que flutuam em volta do celular */
.hchip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 9px 14px; border-radius: 999px; font-size: .72rem; font-weight: 600; color: #fff;
  background: rgba(24,24,27,.9); border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.9);
}
.hchip svg { width: 14px; height: 14px; color: var(--accent-text); }
@media (max-width: 767px) { .hchip { padding: 7px 11px; font-size: .66rem; gap: 6px; } .hchip svg { width: 12px; height: 12px; } }
.hchip--g { left: -44px; top: 22px; }
.hchip--sale { right: -40px; top: 78px; }
.hchip--wa { left: -44px; top: 134px; }
.hchip--lead { right: -40px; top: 190px; }
.hchip--wa svg, .hchip--sale svg { color: #25d366; }

@keyframes up16 { from { opacity: 0; transform: translateY(16px); } }
@keyframes slide24 { from { transform: translateY(24px); } }
@keyframes stageIn { from { opacity: 0; transform: translateY(60px); } }

@media (min-width: 768px) {
  .hero__inner { padding: calc(var(--header-h) + 22px) 32px 0; }
  .hero__title { font-size: min(14vw, 26vh, 15rem); }
  .hero__row--b .grad { display: inline-block; }
  .hero__float { width: 270px; }
  .hchip { font-size: .8rem; padding: 11px 16px; }
  .hchip--g { left: -150px; top: 80px; }
  .hchip--sale { right: -150px; top: 150px; }
  .hchip--wa { left: -120px; top: 260px; }
  .hchip--lead { right: -160px; top: 330px; }
}
/* computador: título em cima; texto, celular e botões lado a lado embaixo */
@media (min-width: 1024px) {
  .hero__inner {
    display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: auto auto minmax(0, 1fr);
    column-gap: 40px;
  }
  .hero__eyebrow, .hero__title { grid-column: 1 / -1; }
  .hero__bottom { display: contents; }
  .hero__desc { grid-column: 1; grid-row: 3; align-self: end; margin-bottom: 44px; max-width: 24rem; }
  .hero__ctas { grid-column: 3; grid-row: 3; align-self: end; justify-self: end; justify-content: flex-end; margin: 0 0 44px; }
  .hero__stage { grid-column: 2; grid-row: 3; width: 290px; margin-top: 18px; min-height: 280px; }
  .hero__float { width: 290px; }
  .hchip--g { left: -130px; top: 140px; }
  .hchip--sale { right: -130px; top: 50px; }
  .hchip--wa { left: -110px; top: 250px; }
  .hchip--lead { right: -150px; top: 150px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .hchip--g, .hchip--wa { display: none; }
}
@media (min-width: 1024px) and (max-width: 1439px) {
  .hchip--lead { display: none; }
}
@media (min-width: 1024px) and (max-width: 1439px) {
  .hero__desc { max-width: 20rem; }
}

/* ---------- Seções ---------- */
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.flow { position: relative; background: var(--bg); }

/* ---------- Faixa que corre com a rolagem ----------
   Duas fileiras em sentidos opostos. O JS só escreve translate3d. */
.mq { position: relative; padding: 36px 0 40px; overflow: hidden; }
.mq__label {
  display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 16px 28px; text-align: center;
  font-family: var(--font-body); font-size: .72rem; font-weight: 600; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.mq__label::before, .mq__label::after { content: ""; flex: 0 0 32px; height: 1px; background: rgba(255,255,255,.22); }
.mq__track + .mq__track { margin-top: 10px; }
.mq__row { display: flex; gap: 10px; width: max-content; padding: 0 16px; will-change: transform; }
.tile {
  flex: 0 0 auto; width: 178px; height: 136px; padding: 14px 16px; border-radius: 18px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(160deg, #1e1e21, #131315); border: 1px solid rgba(255,255,255,.08);
}
.tile__n { font-size: .72rem; font-weight: 600; letter-spacing: .14em; color: rgba(255,255,255,.55); }
.tile__t { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; line-height: .95; text-transform: uppercase; }
.tile__d { font-size: .74rem; line-height: 1.4; color: rgba(255,255,255,.78); }
.tile--red { background: linear-gradient(160deg, #e10600, #6e0000); border-color: transparent; }
.tile--red .tile__n { color: rgba(255,255,255,.78); }
.tile--red .tile__d { color: rgba(255,255,255,.9); }
.tile--dark { background: var(--bg); border-color: rgba(255,255,255,.16); }
[data-theme="mono"] .tile--red { background: linear-gradient(160deg, #3a3a3a, #161616); }
.ftile {
  flex: 0 0 auto; display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03);
}
.ftile svg { width: 18px; height: 18px; color: var(--accent-text); flex-shrink: 0; }
.ftile b { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; line-height: 1; padding-top: 3px; text-transform: uppercase; white-space: nowrap; }
/* sem animação (movimento reduzido ou JS fora): as fileiras rolam de lado */
html:not(.anim) .mq__track { overflow-x: auto; scrollbar-width: none; }
html:not(.anim) .mq__track::-webkit-scrollbar { display: none; }

@media (min-width: 768px) {
  .mq { padding: 48px 0 120px; }
  .mq__row { gap: 16px; }
  .tile { width: 320px; height: 210px; padding: 24px; border-radius: 24px; }
  .tile__t { font-size: 2.6rem; }
  .tile__d { font-size: .95rem; max-width: 18rem; }
  .ftile { height: 84px; padding: 0 30px; gap: 14px; }
  .ftile svg { width: 26px; height: 26px; }
  .ftile b { font-size: 2.2rem; }
}

/* ---------- Sobre ----------
   Parágrafo grande que acende letra por letra (JS: .ch com opacity).
   Os selos em volta são decorativos e andam em velocidades diferentes. */
.about { padding: 130px 0 140px; overflow: hidden; background: linear-gradient(180deg, var(--bg), var(--bg-2) 50%, var(--bg)); }
.about__inner { position: relative; z-index: 1; max-width: 1040px; display: flex; flex-direction: column; align-items: flex-start; }
.about__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(3rem, 10vw, 7.6rem); line-height: .9; margin-bottom: 36px; }
.about__text { font-size: clamp(1.4rem, 3.1vw, 2.55rem); line-height: 1.32; font-weight: 500; letter-spacing: -.012em; color: #f5f5f6; }
.about__text .w { white-space: nowrap; }
.about__text .ch { opacity: .16; }
.about__cta { margin-top: 44px; }
.about__deco { position: absolute; inset: 0; pointer-events: none; }
.dchip {
  position: absolute; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 11px 16px; border-radius: 999px; font-size: .8rem; font-weight: 500; color: rgba(255,255,255,.86);
  background: rgba(26,26,29,.9); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.9); will-change: transform;
}
.dchip svg { width: 16px; height: 16px; color: var(--accent-text); }
.dchip--3 svg { color: #25d366; }
.dchip--4 b { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1; padding-top: 2px; color: var(--accent-text); }
.dchip { display: none; }
@media (min-width: 1100px) {
  .about { padding: 170px 0 180px; }
  .dchip { font-size: .88rem; padding: 12px 18px; }
  .dchip { display: inline-flex; }
  .dchip--2 { top: 30%; right: 3%; }
  .dchip--3 { bottom: 26%; left: 2.5%; }
  .dchip--4 { bottom: 70px; right: 7%; }
}

/* ---------- Sua situação (sanfonado num painel de vidro) ---------- */
.situation-sec { background: linear-gradient(180deg, var(--bg), var(--bg-2) 45%, var(--bg)); }
.situation-sec .container { display: flex; flex-direction: column; gap: 40px; }
.stage__top { display: flex; flex-direction: column; gap: 24px; }
.stage__bottom { display: flex; flex-direction: column; gap: 32px; }
.stage__intro { max-width: 22rem; font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.6; color: #fff; }
.stage__title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(3.4rem, 9vw, 7.4rem); line-height: .92; color: #fff;
}
.stage__body { margin-top: 20px; max-width: 28rem; font-size: 1rem; line-height: 1.65; color: rgba(255,255,255,.82); }
.stage__ctas { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.stage__left { max-width: 36rem; }
.glass-panel { width: 100%; border-radius: 18px; border: 1px solid rgba(255,255,255,.16); background: rgba(22,22,24,.6); padding: 0 22px; }
.sit-panel { max-width: 30rem; }
.sit-row + .sit-row { border-top: 1px solid rgba(255,255,255,.15); }
.sit-row__h { margin: 0; font: inherit; }
.sit-row__btn {
  width: 100%; display: flex; align-items: flex-start; gap: 18px; padding: 20px 0; min-height: 56px;
  background: none; border: 0; color: #fff; text-align: left; cursor: pointer;
}
.sit-row__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 6px; }
.sit-row__n { font-size: .72rem; font-weight: 600; letter-spacing: .15em; color: rgba(255,255,255,.6); padding-top: 4px; }
.sit-row__t { flex: 1; font-size: 1.08rem; font-weight: 600; line-height: 1.35; }
.sit-row__chev { width: 18px; height: 18px; margin-top: 3px; color: rgba(255,255,255,.45); transition: transform .3s var(--ease), color .3s; }
.sit-row__btn:hover .sit-row__chev { transform: translateX(3px); color: #fff; }
.sit-row__btn[aria-expanded="true"] .sit-row__chev { transform: rotate(90deg); color: var(--accent-text); }
.sit-row__body { padding: 0 0 22px 38px; display: grid; gap: 12px; }
.sit-row__body[hidden] { display: none; }
.sit-row__body p { font-size: .93rem; line-height: 1.6; color: rgba(255,255,255,.78); }
.sit-row__body span { display: block; margin-bottom: 2px; font-size: .66rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.sit-row__ana { font-style: italic; color: #fff !important; }
.sit-row__fix { padding: 12px 14px; border-radius: 10px; background: rgba(225,6,0,.22); border-left: 2px solid var(--accent); color: #fff !important; font-weight: 500; }
.sit-row__fix span { color: #ffb3ae; }
@media (min-width: 640px) {
  .stage__top { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .stage__intro { text-align: right; }
}
@media (min-width: 961px) {
  .stage__bottom { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .stage__bottom--wide { gap: 64px; }
}

/* ---------- Comparação animada: dois celulares ---------- */
.race { overflow: hidden; padding-bottom: 150px; }
.race__switch { display: none; }
.race__stage { display: grid; grid-template-columns: minmax(0, 360px) auto minmax(0, 360px); justify-content: center; align-items: start; gap: 28px; }
.race__vs { align-self: center; font-family: var(--font-display); font-size: 2.6rem; color: var(--muted); }
.phone { margin: 0; }
.phone__label { text-align: center; font-family: var(--font-display); font-size: 1.7rem; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 14px; color: var(--muted); }
.phone--avantta .phone__label { color: var(--accent-text); }
.phone__frame {
  position: relative; padding: 34px 12px 14px; border-radius: 38px;
  background: #0a0a0b; border: 8px solid #222226;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.9);
}
.phone--avantta .phone__frame { border-color: #2a0b0a; box-shadow: 0 30px 80px -30px var(--glow); }
.phone__notch { position: absolute; top: 10px; left: 50%; width: 76px; height: 14px; margin-left: -38px; border-radius: 10px; background: #222226; }
.phone__steps { display: grid; gap: 8px; }
.pstep { display: grid; grid-template-columns: 34px 1fr 22px; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.pstep__ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); }
.pstep__ico svg { width: 18px; height: 18px; }
.pstep__txt b { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .02em; color: var(--muted); line-height: 1.3; }
.pstep__txt span { display: block; font-size: .92rem; font-weight: 600; line-height: 1.35; margin-top: 2px; }
.pstep__wait { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; }
.pstep__st svg { width: 20px; height: 20px; }
.phone--comum .pstep__txt span { color: #b9b9be; }
.phone--comum .pstep__st { color: #ff6b62; }
.phone--avantta .pstep { border-color: rgba(225,6,0,.35); }
.phone--avantta .pstep__ico { background: var(--glow-soft); color: var(--accent-text); }
.phone--avantta .pstep__st { color: #3ddc84; }
.pstep--wa { background: #0f2a1a !important; border-color: #1f7a45 !important; }
.pstep--wa .pstep__ico { background: #25d366 !important; color: #06301a !important; }
.pstep--wa .pstep__txt span { color: #eafff2; }
.phone__count { margin-top: 10px; padding: 14px 16px; border-radius: 14px; text-align: center; background: var(--surface-2); border: 1px dashed var(--border-strong); }
.phone__count span { display: block; font-size: .8rem; color: var(--muted); }
.phone__count strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 3.2rem; line-height: 1; color: var(--muted); }
.phone--avantta .phone__count strong { color: var(--accent-text); }
.phone__count small { display: inline-block; margin-top: 2px; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8e8e96; }
.race__note { margin-top: 22px; text-align: center; font-size: .85rem; color: #8e8e96; }
.race__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.race__sw {
  flex: 1; min-height: 48px; padding: 10px 14px; border-radius: 999px; border: 0; cursor: pointer;
  background: transparent; color: var(--muted); font-weight: 700; font-size: .95rem;
  transition: background-color .2s, color .2s;
}
.race__sw[aria-pressed="true"] { background: var(--btn-a); color: var(--on-accent); }
.race__sw[data-show="comum"][aria-pressed="true"] { background: #3a3a40; color: #fff; }
.race__sw:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }

/* ---------- Serviços: folha clara com cantos arredondados, 5 itens numerados ---------- */
.svc { background: var(--paper); color: var(--ink); border-radius: 40px 40px 0 0; padding: 120px 0 170px; }
.svc__head { max-width: 860px; margin-bottom: 56px; }
.svc__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.8rem, 7vw, 6rem); line-height: .92; letter-spacing: .005em; }
.svc__title .hl { color: var(--ink-red); }
.svc__lead { margin-top: 20px; max-width: 34rem; font-size: 1.08rem; color: var(--ink-muted); }
.svc__list { border-top: 1px solid rgba(0,0,0,.14); }
.svc-item {
  display: grid; grid-template-columns: 1fr; gap: 14px; padding: 30px 0;
  border-bottom: 1px solid rgba(0,0,0,.14);
}
.svc-item__n { font-size: .8rem; font-weight: 700; letter-spacing: .14em; color: rgba(0,0,0,.5); transition: color .3s; }
.svc-item__t { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: .92; transition: transform .45s var(--ease); }
.svc-item__flag { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 5px 10px; border-radius: 999px; background: var(--ink-red); color: #fff; font-family: var(--font-body); font-size: .68rem; font-weight: 700; letter-spacing: .08em; line-height: 1.2; }
.svc-item__d { margin-top: 12px; max-width: 36rem; font-size: 1rem; line-height: 1.6; color: var(--ink-muted); }
.svc-item__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.svc-item__tags li { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(0,0,0,.16); font-size: .8rem; font-weight: 500; color: #2c2c30; }
.svc-item__tags .is-bonus { background: var(--ink-red); border-color: var(--ink-red); color: #fff; }
.svc-item__go {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: .9rem; font-weight: 600; transition: background-color .3s;
}
.svc-item__go svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.svc-item__go:hover { background: var(--ink-red); }
.svc-item__go:hover svg { transform: rotate(45deg); }
.svc-item__go:focus-visible { outline-color: var(--ink); }
.svc-item:hover .svc-item__n { color: var(--ink-red); }
@media (hover: hover) { .svc-item:hover .svc-item__t { transform: translateX(10px); } }
@media (min-width: 900px) {
  .svc { border-radius: 56px 56px 0 0; padding: 150px 0 200px; }
  .svc-item { grid-template-columns: 90px 1fr auto; gap: 28px; align-items: start; padding: 40px 0; }
  .svc-item__n { padding-top: 14px; }
  .svc-item__go { align-self: center; }
}

/* ---------- Como funciona: cartões que empilham ----------
   Cada cartão gruda 28px abaixo do anterior. Os de baixo encolhem 3% a cada
   cartão que passa por cima e escurecem (camada com opacity, não filter). */
.process { margin-top: -48px; border-radius: 40px 40px 0 0; background: var(--bg); z-index: 1; }
.stack { display: grid; gap: 28px; max-width: 1100px; margin: 0 auto; }
.scard {
  --i: 0; --dim: 0;
  position: sticky; top: calc(var(--header-h) + 12px + var(--i) * 20px);
  display: grid; grid-template-columns: 1fr; gap: 22px; padding: 24px 20px; border-radius: 24px;
  background: linear-gradient(150deg, #1f1f23, #0f0f11 70%); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 -20px 50px rgba(0,0,0,.55); transform-origin: center top; will-change: transform;
}
.scard::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: #000; opacity: var(--dim); pointer-events: none; }
.scard:nth-child(2) { background: linear-gradient(150deg, #241a1b, #100c0c 70%); }
.scard:nth-child(3) { background: linear-gradient(150deg, #2b1616, #120a0a 70%); }
.scard:nth-child(4) { background: linear-gradient(150deg, #3a1210, #150707 70%); border-color: rgba(225,6,0,.45); }
.scard__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.scard__n { font-family: var(--font-display); font-size: 3.4rem; line-height: .85; color: var(--accent-text); }
.scard h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 4vw, 3.4rem); line-height: .95; }
.scard p { color: var(--muted); font-size: 1rem; max-width: 30rem; }
.scard .cbtn { margin-top: 8px; }
.scard__vis {
  position: relative; height: 200px; border-radius: 18px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(70% 80% at 70% 20%, rgba(225,6,0,.28), transparent 70%), #0b0b0c; border: 1px solid rgba(255,255,255,.06);
}
/* mini ilustrações dos passos (só CSS) */
.mock { position: relative; width: min(86%, 320px); padding: 16px; border-radius: 16px; background: #141416; border: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 8px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.mock i { display: block; }
.mock__label { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mock__bar { height: 5px; border-radius: 5px; background: #26262a; overflow: hidden; }
.mock__bar i { width: 25%; height: 100%; background: var(--accent); }
.mock__field { padding: 8px 10px; border-radius: 8px; background: #0c0c0c; border: 1px solid rgba(255,255,255,.12); font-size: .7rem; color: #8e8e96; }
.mock__btn { align-self: stretch; padding: 8px; border-radius: 999px; text-align: center; background: var(--cbtn); color: #fff; font-size: .7rem; font-weight: 700; }
.mock__dots { display: flex; gap: 5px; }
.mock__dots i { width: 7px; height: 7px; border-radius: 50%; background: #3a3a3f; }
.mock__hero { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 10px; background: linear-gradient(150deg, #4a0f0c, #170808); }
.mock__hero b { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; line-height: 1; text-transform: uppercase; color: #fff; }
.mock__hero i, .mock__result i { height: 5px; width: 90%; border-radius: 5px; background: rgba(255,255,255,.22); }
.mock__hero i.s, .mock__result i.s { width: 60%; }
.mock__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mock__cols i { height: 34px; border-radius: 8px; background: #1f1f23; }
.mock__chip { position: absolute; top: -12px; right: -10px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .66rem; font-weight: 700; box-shadow: 0 10px 24px -10px var(--glow); }
.mock__chip svg { width: 12px; height: 12px; }
.mock__chip--ok { top: auto; bottom: -12px; background: #25d366; color: #06301a; }
.mock__cursor { position: absolute; width: 22px; height: 22px; right: 26%; bottom: 22%; color: #fff; }
.mock--call { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mock__cam { aspect-ratio: 4 / 3; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(160deg, #26262b, #151517); }
.mock__cam i { width: 34px; height: 34px; border-radius: 50%; background: #3a3a40; }
.mock__cam--b { background: linear-gradient(160deg, #3a0f0c, #160808); }
.mock__cam--b i { background: rgba(255,90,80,.55); }
.mock__tools { grid-column: 1 / -1; display: flex; justify-content: center; gap: 8px; }
.mock__tools i { width: 22px; height: 22px; border-radius: 50%; background: #2a2a2f; }
.mock__tools i.r { background: var(--accent); }
.mock__url { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 999px; background: #0c0c0c; border: 1px solid rgba(255,255,255,.1); font-size: .7rem; color: rgba(255,255,255,.8); }
.mock__url svg { width: 10px; height: 10px; color: #3ddc84; }
.mock__url em { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-weight: 700; color: #3ddc84; }
.mock__url em::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 8px #3ddc84; }
.mock__result { display: flex; flex-direction: column; gap: 5px; padding: 10px; border-radius: 10px; background: #1a1a1d; border-left: 2px solid var(--accent); }
.mock__result b { font-size: .78rem; font-weight: 600; color: #9ec1ff; }
.mock__result--dim { opacity: .45; border-left-color: transparent; }
.mock__result--dim b { height: 8px; width: 55%; border-radius: 4px; background: rgba(158,193,255,.4); }
@media (min-width: 900px) {
  .scard { top: calc(var(--header-h) + 16px + var(--i) * 28px); grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; min-height: 420px; padding: 44px; border-radius: 30px; }
  .scard__n { font-size: 5rem; }
  .scard__vis { height: 330px; }
  .mock { padding: 20px; gap: 10px; }
}

/* O que você recebe */
.perks {
  margin-top: 56px; padding: 32px; border-radius: 20px;
  background: radial-gradient(ellipse at 100% 0%, var(--glow-soft), transparent 60%), var(--surface);
  border: 1px solid var(--border-strong);
  display: grid; gap: 20px;
}
.perks__title { font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--accent-text); }
.perks__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.perks__list li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .95rem; }
.perks__list b { color: var(--text); }
.perks__list .ico { color: var(--accent-text); margin-top: 3px; }
.perks__bonus b { color: var(--accent-text); }
.perks .cbtn { justify-self: start; }

/* luz que segue o mouse nos cartões (efeito 12) */
.luz { position: relative; isolation: isolate; }
.luz::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(260px circle at var(--x, 50%) var(--y, 50%), rgba(255,45,35,.16), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.luz:hover::before { opacity: 1; }

/* ---------- Formulário ---------- */
.contact__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.contact__copy { position: sticky; top: calc(var(--header-h) + 32px); }
.contact__list { display: grid; gap: 12px; margin-top: 28px; }
.contact__list li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.contact__list .ico { color: var(--accent-text); }

.funnel { position: relative; min-height: 460px; }
.form, .panel {
  position: relative; padding: 34px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--border-strong);
  box-shadow: 0 40px 100px -50px var(--glow);
}
.form[hidden], .panel[hidden] { display: none; }
.form, .panel { scroll-margin-top: calc(var(--header-h) + 16px); }
.form__top { margin-bottom: 26px; }
.form__step-label { margin-bottom: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.form__progress { height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.form__progress-bar { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--btn-a), var(--accent-2)); transform-origin: left center; transform: scaleX(.25); transition: transform .5s var(--ease); }
.form__step { display: none; }
.form__step.is-active { display: grid; gap: 18px; animation: stepIn .45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.form__q { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 2.4rem); line-height: 1.02; text-transform: uppercase; margin-bottom: 6px; padding: 0; }
.req { color: var(--accent-text); }
.form__q:focus { outline: none; }

.options { display: grid; gap: 10px; }
.options--5 { grid-template-columns: 1fr 1fr; }
.option { position: relative; cursor: pointer; }
.option--wide { grid-column: 1 / -1; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px;
  padding: 14px 18px; border-radius: 12px; border: 1px solid var(--border-strong);
  background: var(--bg); font-weight: 600; font-size: 1rem;
  transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.option span::after { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border-strong); flex-shrink: 0; transition: border-color .2s, background-color .2s; }
.options--5 .option span { min-height: 56px; }
.option:hover span { border-color: var(--muted); }
.option:active span { transform: scale(.98); }
.option input:checked + span { border-color: var(--accent); background: var(--glow-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.option input:checked + span::after { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px var(--bg); }

.field { display: grid; gap: 8px; }
.field label { font-size: .9rem; font-weight: 600; }
.opt { color: var(--muted); font-weight: 400; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"] {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--border-strong);
  font-size: 1rem; /* 16px evita zoom automático no iPhone */
  transition: border-color .2s;
  appearance: none; -webkit-appearance: none;
}
.field input::placeholder { color: #7d7d85; }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--glow-soft); }
.field__help { font-size: .82rem; color: var(--muted); }
.field__error { display: none; color: #ff7a7a; font-size: .85rem; font-weight: 500; }
[data-theme="mono"] .field__error { color: #fff; text-decoration: underline; }
.has-error > .field__error, .form__step.has-error > .field__error { display: block; }
.field.has-error input { border-color: #ff5c5c; }
.form__step.has-error .option span { border-color: #ff5c5c; }

.check { display: flex; align-items: flex-start; gap: 12px; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex-shrink: 0; }
.field--check.has-error .check { color: var(--text); }

.form__actions { display: flex; gap: 12px; margin-top: 6px; }
.form__actions .btn--primary { flex: 1; }

/* painéis: agradecimento, agenda e confirmação */
.panel { text-align: center; animation: stepIn .45s var(--ease); }
.panel:focus { outline: none; }
.panel__icon { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: var(--glow-soft); border: 1px solid var(--accent); color: var(--accent-text); }
.panel__icon .ico { width: 34px; height: 34px; }
.panel__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4vw, 2.6rem); text-transform: uppercase; line-height: 1; margin-bottom: 12px; }
.panel p { color: var(--muted); margin-bottom: 24px; }
.panel--cal { text-align: left; padding: 28px 20px 20px; }
.panel--cal .panel__title, .panel--cal .panel__sub { padding: 0 8px; }
.panel__sub { font-size: .95rem; }
.cal-embed { width: 100%; min-height: 560px; overflow: auto; border-radius: 14px; background: var(--bg); }
.cal-embed__loading { padding: 40px 20px; text-align: center; }
.panel__fallback { margin: 14px 8px 0 !important; font-size: .85rem; }
.panel__alt { margin: 16px 8px 0; }
.panel__fallback a { color: var(--accent-text); text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.faq__inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq__list { display: grid; gap: 12px; }
.faq__item { border-radius: 14px; background: var(--surface); border: 1px solid var(--border); transition: border-color .3s; }
.faq__item[open] { border-color: var(--accent); }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--accent-text); transition: transform .3s var(--ease); }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { padding: 0 22px 22px; color: var(--muted); }

/* ---------- Chamada final ---------- */
.final {
  position: relative; padding: 130px 0 140px; text-align: center;
  background: radial-gradient(60% 45% at 50% 62%, rgba(225,6,0,.24), transparent 72%), linear-gradient(180deg, var(--bg-2), var(--bg));
}
[data-theme="mono"] .final { background: radial-gradient(60% 45% at 50% 62%, rgba(255,255,255,.08), transparent 72%), linear-gradient(180deg, var(--bg-2), var(--bg)); }
.final__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(3rem, 10.5vw, 9rem); line-height: .9; }
.final__text { max-width: 34rem; margin: 26px auto 0; font-size: 1.05rem; color: rgba(255,255,255,.74); }
.final__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* ---------- Footer: marca gigante em degradê, cortada pela base ---------- */
.footer { position: relative; overflow: hidden; padding: 40px 0 0; background: var(--bg); }
.footer .brand__name { display: inline; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-start; justify-content: space-between; }
.footer__tag { margin-top: 12px; max-width: 20rem; font-size: .9rem; color: var(--muted); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .92rem; font-weight: 500; }
.footer__links a { padding: 8px 0; }
.footer__links a:hover { color: var(--accent-text); }
.footer__copy { flex-basis: 100%; color: #8e8e96; font-size: .82rem; padding-top: 20px; border-top: 1px solid var(--border); }
.footer__word {
  margin: 36px 0 -0.14em; text-align: center; white-space: nowrap; pointer-events: none;
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: 30vw; line-height: .9; letter-spacing: .01em;
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: var(--on-wa);
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.7);
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: waPing 2.8s var(--ease) infinite; }
@keyframes waPing { 0% { transform: scale(1); opacity: .45; } 70%, 100% { transform: scale(1.45); opacity: 0; } }
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float.is-hidden { opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; }
.wa-float.is-hidden::before { animation: none; }

/* ---------- Rolagem suave (Lenis) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 760px) {
  /* celular: um aparelho por vez, com botões para trocar */
  .race__switch { display: flex; gap: 4px; max-width: 360px; margin: 0 auto 20px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-strong); }
  .race__stage { grid-template-columns: minmax(0, 360px); }
  .race__vs { display: none; }
  .race__stage[data-active="comum"] .phone--avantta, .race__stage[data-active="avantta"] .phone--comum { display: none; }
  .race__actions { flex-direction: column-reverse; align-items: stretch; max-width: 360px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 960px) {
  :root { --header-h: 76px; }
  .contact__grid, .faq__inner { grid-template-columns: 1fr; gap: 44px; }
  .contact__copy { position: static; }
  .stage__bottom--wide { flex-direction: column; align-items: stretch; gap: 32px; }
  .sit-panel { max-width: none; }
  .perks__list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 36px; }
  .display { font-size: clamp(2.7rem, 12.5vw, 3.6rem); }
  .display--md { font-size: clamp(2.2rem, 10vw, 2.9rem); }
  .lead { font-size: 1.02rem; }
  .brand__name { font-size: 1.5rem; }
  .brand__mark { width: 36px; height: 36px; }

  .stage__top { gap: 22px; }
  .stage__ctas > * { flex: 1 1 100%; }
  .hero__ctas > * { flex: 1 1 100%; }
  .about { padding: 64px 0 96px; }
  .race { padding-bottom: 120px; }
  .svc { padding: 84px 0 130px; }
  .svc-item__go { align-self: stretch; justify-content: space-between; justify-self: stretch; }
  .perks { padding: 24px 18px; }
  .perks .cbtn { justify-self: stretch; }
  .final { padding: 100px 0 110px; }
  .final__ctas > * { flex: 1 1 100%; }

  .funnel { min-height: 0; }
  .form, .panel { padding: 24px 18px; border-radius: 18px; }
  .panel--cal { padding: 22px 8px 12px; }
  .options--5 { grid-template-columns: 1fr; }
  .form__actions { flex-direction: column-reverse; }
  .form__actions .btn { width: 100%; }

  .wa-float { width: 56px; height: 56px; right: 14px; bottom: 14px; }
  .wa-float svg { width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
