/* ===== tokens (núcleo) ===== */

/* =============================================================================
 * tokens.css — NÚCLEO ESTRUTURAL do design system WMD (entregáveis-documento)
 *
 * Este :root é ESTÁTICO e idêntico pra todo cliente. Define o esqueleto visual:
 * tipografia, escala de espaçamento, raio, glass, elevação, easing e semânticas.
 *
 * O QUE NÃO ESTÁ AQUI: a COR do cliente. Essa entra pelo "conta-gotas" — um
 * segundo :root injetado por nucleo.py (build_css_root) com as 10 cores de marca
 * do design-guide do cliente, concatenado DEPOIS deste arquivo. Os dois :root não
 * se sobrepõem (este = estrutura; conta-gotas = cor) — cliente sempre vence.
 *
 * TIPOGRAFIA (Decisão 1, fonte única — 2026-06-10): os --font-* abaixo são
 * FALLBACK ESTÁTICO fail-safe. O valor VIVO deriva do design-guide DA WMD
 * (marca/design-guide.md, blocos tipografia.*.stack) via nucleo.py
 * build_css_marca_wmd, injetado DEPOIS deste arquivo (cascade: derivado vence).
 * Mesmo padrão do DEFAULT_TOKENS: fallback ≠ fonte. Mudança de fonte da marca
 * acontece no design-guide, NUNCA editando os valores daqui. A escala --fs-*
 * (tipos de texto) também entra pelo bloco derivado — aditiva, consumida pelos
 * componentes novos; os px hardcoded dos components migram só na 0.4.
 *
 * As SEMÂNTICAS (sucesso/atenção/erro/info) moram AQUI de propósito, em tons
 * sóbrios, pra harmonizar com qualquer paleta de cliente e manter os 3
 * entregáveis (relatório/planejamento/ATA) consistentes. Não são tingidas por
 * cliente — decisão de Fase 0 (brandbook-id-visual).
 * ============================================================================= */

:root {
  /* ---- Tipografia ---- */
  --font-headline: 'Plus Jakarta Sans', 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* ---- Escala de espaçamento ---- */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 20px; --s-6: 28px; --s-7: 40px; --s-8: 56px;

  /* ---- Raio ---- */
  --r-pill: 999px;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 18px;
  --r-xl: 22px;

  /* ---- Glass surfaces ---- */
  --glass: rgba(255, 255, 255, 0.66);
  --glass-strong: rgba(255, 255, 255, 0.80);
  --glass-light: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.60);
  --glass-blur: blur(22px) saturate(220%);
  --glass-blur-strong: blur(28px) saturate(240%);

  /* ---- Elevação 4-tier (inset highlight + drop shadow) ---- */
  --elev-1:
    inset 0 1px 0 rgba(255,255,255,0.55),
    0 1px 2px rgba(15,23,42,0.04);
  --elev-2:
    inset 0 1px 0 rgba(255,255,255,0.65),
    0 1px 2px rgba(15,23,42,0.04),
    0 6px 18px rgba(15,23,42,0.05);
  --elev-3:
    inset 0 1px 0 rgba(255,255,255,0.70),
    0 2px 4px rgba(15,23,42,0.05),
    0 12px 32px rgba(15,23,42,0.07),
    0 24px 56px rgba(15,23,42,0.05);
  --elev-4:
    inset 0 1px 0 rgba(255,255,255,0.75),
    0 3px 6px rgba(15,23,42,0.06),
    0 18px 48px rgba(15,23,42,0.09),
    0 36px 72px rgba(15,23,42,0.07);

  /* ---- Easing ---- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --tr: 200ms cubic-bezier(0.4, 0, 0.2, 1);   /* alias de compat (planejamento legado) */

  /* ---- Aberração cromática sutil — depth em números grandes (KPIs) ---- */
  --ca-shadow:
    -0.4px 0 0 color-mix(in srgb, var(--erro) 12%, transparent),
    0.4px 0 0 color-mix(in srgb, var(--info) 12%, transparent);

  /* ---- Semânticas SÓBRIAS (núcleo-owned, não tingidas por cliente) ---- */
  --sucesso: #5E9B6E;   /* verde oliva sóbrio */
  --atencao: #C68F3F;   /* mostarda terra */
  --erro:    #C25450;   /* terracota */
  --info:    #5B7FA6;   /* azul acinzentado */
  /* Derivados pra badges/blocos de fundo claro */
  --sucesso-bg:     color-mix(in srgb, var(--sucesso) 14%, white);
  --sucesso-border: color-mix(in srgb, var(--sucesso) 32%, white);
  --sucesso-text:   color-mix(in srgb, var(--sucesso) 72%, black);
  --info-bg:        color-mix(in srgb, var(--info) 10%, white);
  --info-border:    color-mix(in srgb, var(--info) 26%, white);
  --info-text:      color-mix(in srgb, var(--info) 70%, black);
}


/* ===== wmd-root (cor+marca) ===== */

/* =============================================================================
 * wmd-root.css — :root de COR + MARCA da WMD (camada web candidata)
 *
 * ⚠️ ARTEFATO DERIVADO POR MÁQUINA — não editar à mão.
 * Gerado em 2026-06-12 rodando o PRÓPRIO núcleo sobre marca/design-guide.md:
 *   build_css_root(resolve_tokens(load_design_guide(root,'marca/design-guide.md')))  → bloco de COR
 *   build_css_marca_wmd()                                                            → bloco de MARCA (fontes + --fs-*)
 * (nucleo.py:149 e :218). Zero valor digitado à mão — cada número rastreia ao
 * design-guide via a derivação do núcleo.
 *
 * POR QUE ESTE ARQUIVO EXISTE: o demo do candidato é HTML estático, sem o passo
 * Python que injeta cor (conta-gotas) e marca (build_css_marca_wmd) em runtime.
 * Na F4 (build real da LP), estes dois :root voltam a ser EMITIDOS pelo núcleo —
 * este arquivo é o stand-in estático da camada, não a fonte. Regerar, nunca editar.
 *
 * Cascata (igual à de assemble_css, nucleo.py:262):
 *   tokens.css (estrutura) → [marca WMD] → [cor WMD] → web.css → secoes
 * ============================================================================= */

/* ---- COR da WMD (build_css_root — conta-gotas da própria WMD) ---- */
/* ← design-guide.md:9-18 (cores.*) via nucleo.py:149 build_css_root */
:root {
  --primaria: #6B21E8;        /* ← design-guide.md:9  cores.primaria */
  --secundaria: #F97316;      /* ← design-guide.md:10 cores.secundaria */
  --acento: #0D0B1A;          /* ← design-guide.md:11 cores.acento */
  --texto: #111827;           /* ← design-guide.md:12 cores.texto */
  --texto-muted: #6B7280;     /* ← design-guide.md:13 cores.texto_muted */
  --texto-dim: #9aa1aa;       /* ← nucleo.py:163 (constante do conta-gotas) */
  --fundo: #F1F2F6;           /* ← design-guide.md:14 cores.fundo */
  --fundo-card: #FFFFFF;      /* ← design-guide.md:15 cores.fundo_card */
  --fundo-destaque: #F3EEFE;  /* ← design-guide.md:16 cores.fundo_destaque */
  --fundo-inverso: #0D0B1A;   /* ← design-guide.md:17 cores.fundo_inverso */
  --borda: #E5E7EB;           /* ← design-guide.md:18 cores.borda */
  --borda-strong: #c8ccd1;    /* ← nucleo.py:169 (constante do conta-gotas) */
}

/* ---- MARCA da WMD: tipografia derivada do design-guide WMD (fonte única) ---- */
/* ← design-guide.md:43-76 (tipografia.*) via nucleo.py:218 build_css_marca_wmd */
:root {
  --font-headline: 'Plus Jakarta Sans', 'DM Sans', system-ui, -apple-system, sans-serif;  /* ← design-guide.md:52 */
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;  /* ← design-guide.md:56 */
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;  /* ← design-guide.md:60 */
  --fs-display: clamp(1.6rem, 3.5vw, 2.2rem);  /* ← design-guide.md:68 escala_fs.display */
  --fs-titulo: 1.1rem;                          /* ← design-guide.md:69 escala_fs.titulo */
  --fs-corpo: 0.92rem;                          /* ← design-guide.md:70 escala_fs.corpo */
  --fs-tabela: 0.85rem;                         /* ← design-guide.md:71 escala_fs.tabela */
  --fs-meta: 0.78rem;                           /* ← design-guide.md:72 escala_fs.meta */
  --fs-micro: 0.66rem;                          /* ← design-guide.md:73 escala_fs.micro */
}


/* ===== web (núcleo web, @imports removidos) ===== */

/* =============================================================================
 * web.css — CAMADA WEB do design system WMD (candidato — galho web do brandbook)
 *
 * ⚠️ CANDIDATO no lab. Lar de produção (pós-Gate): marca/nucleo-web/web.css.
 * Origem: E4.2 do fase-b-plano.md:77 (componentes web base).
 *
 * REGRA DE OURO (← nucleo-entregaveis/README.md:58): NÃO COPIAR — REFERENCIAR.
 * glass, elevação, easing) e o :root da WMD (cor + fonte + --fs-*). Só ADICIONA
 * o que o chassi de DOCUMENTO (components.css) não tem: nav, botões, formulário,
 * seções de página, footer-web. NÃO redefine nenhum token.
 *
 * Cascata de import (paths relativos a esta folha):
 *   tokens.css  → estrutura núcleo-owned (espaçamento/raio/glass/elevação/easing/semânticas)
 *   wmd-root.css → cor + marca da WMD (derivado por máquina do design-guide)
 * ============================================================================= */


/* =============================================================================
 * Reset mínimo da camada web (o base.css do núcleo é de documento; não o usamos)
 * ============================================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);              /* ← wmd-root.css / design-guide.md:56 */
  color: var(--texto);
  background: var(--fundo);
  line-height: 1.6;
  font-size: var(--fs-corpo);                 /* ← --fs-* derivado, design-guide.md:70 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern', 'liga', 'calt';
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* =============================================================================
 * Container e grid (web-only — specs-web.md §3; não toca o .container do núcleo)
 * ============================================================================= */
.lp-container {
  width: 100%;
  max-width: 1120px;                          /* ← specs-web.md §3 --lp-container */
  margin-inline: auto;
  padding-inline: var(--s-4);                 /* ← núcleo --s-4=16px, tokens.css:34 */
}
.lp-container--narrow { max-width: 720px; }   /* ← specs-web.md §3 (medida de linha legível) */

@media (min-width: 768px) {
  .lp-container { padding-inline: var(--s-6); }  /* ← gutter ≥md, specs-web.md §3 */
}

.lp-grid {
  display: grid;
  gap: var(--s-4);                            /* ← núcleo --s-* */
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));  /* ← specs-web.md §3 (colapsa sem media query) */
}
@media (min-width: 768px) { .lp-grid { gap: var(--s-5); } }

/* =============================================================================
 * Seção (ritmo vertical + variações de fundo full-bleed — specs-web.md §3)
 * ============================================================================= */
.lp-section { padding-block: var(--s-8); }    /* ← núcleo --s-8=56px, tokens.css:35 */
@media (max-width: 599px) { .lp-section { padding-block: var(--s-7); } }  /* ← --s-7=40px */
.lp-section--alt { background: var(--fundo-destaque); }   /* ← cor WMD (roxo soft) design-guide.md:16 */
.lp-section--inverse {
  background: var(--fundo-inverso);           /* ← design-guide.md:17 (#0D0B1A) */
  color: var(--fundo-card);
}
.lp-section--inverse .lp-lead { color: color-mix(in srgb, var(--fundo-card) 80%, transparent); }

/* =============================================================================
 * Tipografia de página (consome --fs-* e --font-* — não redefine escala)
 * ============================================================================= */
.lp-eyebrow {
  display: inline-block;
  font-family: var(--font-headline);
  font-size: var(--fs-micro);                 /* ← design-guide.md:73 (0.66rem) */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;                     /* ← padrão eyebrow do núcleo, components.css:80 */
  color: var(--primaria);
  margin-bottom: var(--s-3);
}
.lp-h1 {
  font-family: var(--font-headline);
  font-size: var(--fs-display);               /* ← design-guide.md:68 (clamp display) */
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;                   /* ← hero-title do núcleo, components.css:98 */
  color: var(--texto);
  text-wrap: balance;                         /* ← impeccable F4: linhas de heading equilibradas */
  margin-bottom: var(--s-3);                  /* ← round 4 (B): ritmo vertical título→lead (fonte única do respiro fica nos headings; .lp-lead não ganha margin pra não dobrar) */
}
.lp-section--inverse .lp-h1, .lp-section--inverse .lp-h2 { color: var(--fundo-card); }
.lp-h2 {
  font-family: var(--font-headline);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);    /* ← web-only: nível entre --fs-titulo e --fs-display (specs-web.md §3); LP precisa de H2 maior que documento */
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--texto);
  text-wrap: balance;                         /* ← impeccable F4 */
  margin-bottom: var(--s-3);                  /* ← round 4 (B): mesmo ritmo título→lead em toda seção (fonte única) */
}
.lp-lead {
  font-size: clamp(1rem, 1.4vw, 1.12rem);     /* ← web-only: lead acima do --fs-corpo de documento (LP hero pede subtítulo maior) */
  /* impeccable F4: muted puro (#6B7280=4.32 sobre fundo cinza/tinta) fica sob AA pra texto normal a 16px.
     Escurece em direção ao ink (derivado de tokens, não muda design-guide) → passa AA. */
  color: color-mix(in srgb, var(--texto-muted) 62%, var(--texto));
  line-height: 1.6;
  max-width: 640px;
  text-wrap: pretty;                          /* ← impeccable F4: menos órfãs */
}
.lp-prose { font-size: var(--fs-corpo); line-height: 1.7; color: var(--texto); text-wrap: pretty; }
.lp-prose p + p { margin-top: var(--s-3); }

/* =============================================================================
 * Header / Nav (web-only — o núcleo não tem navegação)
 * ============================================================================= */
.lp-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--glass-strong);            /* ← núcleo glass, tokens.css:46 */
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);         /* ← tokens.css:49 */
  border-bottom: 1px solid var(--glass-border);
}
.lp-nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4);
  min-height: 64px;
}
.lp-nav__brand {
  font-family: var(--font-headline);
  font-weight: 800; font-size: 1.05rem;
  letter-spacing: -0.01em; color: var(--texto);
  display: inline-flex; align-items: center; gap: var(--s-2);
}
.lp-nav__brand strong { color: var(--primaria); }   /* ← marca WMD, footer-mark do núcleo components.css:496 */
.lp-nav__links { display: none; gap: var(--s-5); align-items: center; }
.lp-nav__links a {
  font-size: var(--fs-meta); font-weight: 600; color: var(--texto-muted);
  transition: color var(--tr);                /* ← núcleo --tr, tokens.css:74 */
}
.lp-nav__links a:hover { color: var(--primaria); }
/* FIX contraste (round 2): o seletor acima (classe+tipo) vencia .btn--primary (classe) por
   especificidade → texto cinza sobre roxo (~2:1, reprova AA). Estes restauram o branco do botão. */
.lp-nav__links a.btn--primary { color: var(--fundo-card); }
.lp-nav__links a.btn--primary:hover { color: var(--fundo-card); }
.lp-nav__links a.btn--ghost { color: var(--primaria); }
.lp-nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;                  /* ← a11y.md: alvo de toque mínimo 44px */
  background: none; border: none; cursor: pointer; color: var(--texto);
}
@media (min-width: 768px) {
  .lp-nav__links { display: flex; }           /* ← specs-web.md §2 breakpoint md */
  .lp-nav__toggle { display: none; }
}
/* menu mobile aberto (JS alterna .is-open) */
.lp-nav__links.is-open {
  display: flex; position: absolute; left: 0; right: 0; top: 100%;
  flex-direction: column; gap: var(--s-2);
  padding: var(--s-4);
  background: var(--fundo-card);
  border-bottom: 1px solid var(--borda);
  box-shadow: var(--elev-2);                  /* ← núcleo elevação, tokens.css:57 */
}

/* =============================================================================
 * Botões (estados via convenção color-mix do design-guide — não inventa tints)
 * ← design-guide.md:37-41 estados_interacao
 * ============================================================================= */
.btn {
  --btn-cor: var(--primaria);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 44px;                           /* ← a11y.md: alvo de toque */
  padding: 0 var(--s-5);
  font-family: var(--font-headline);
  font-size: var(--fs-corpo); font-weight: 700;
  border-radius: var(--r-pill);               /* ← núcleo raio, tokens.css:38 */
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--tr), box-shadow var(--tr), transform var(--tr);
}
.btn--lg { min-height: 52px; padding: 0 var(--s-6); font-size: 1.02rem; }
.btn--primary {
  background: var(--btn-cor);
  color: var(--fundo-card);
}
.btn--primary:hover { background: color-mix(in srgb, var(--btn-cor) 86%, black); }   /* ← design-guide.md:38 hover */
.btn--primary:active { background: color-mix(in srgb, var(--btn-cor) 76%, black); transform: translateY(1px); }  /* ← :39 active */
.btn--primary[disabled], .btn--primary:disabled {
  background: color-mix(in srgb, var(--btn-cor) 38%, white);   /* ← :40 disabled */
  cursor: not-allowed;
}
.btn--ghost {
  background: transparent;
  color: var(--primaria);
  border-color: color-mix(in srgb, var(--primaria) 32%, transparent);
}
.btn--ghost:hover { background: color-mix(in srgb, var(--primaria) 8%, transparent); }
.lp-section--inverse .btn--ghost { color: var(--fundo-card); border-color: color-mix(in srgb, var(--fundo-card) 40%, transparent); }
/* foco visível — convenção focus_ring do design-guide */
.btn:focus-visible, .lp-input:focus-visible, .lp-textarea:focus-visible, .lp-nav__links a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primaria) 28%, transparent);  /* ← design-guide.md:41 focus_ring */
}

/* =============================================================================
 * Card (composição usada por serviços/prova social — usa glass+elevação núcleo)
 * ============================================================================= */
.lp-card {
  background: var(--fundo-card);
  border: 1px solid var(--borda);
  border-radius: var(--r-lg);                 /* ← tokens.css:41 */
  padding: var(--s-5);
  box-shadow: var(--elev-1);                  /* ← tokens.css:53 */
  transition: box-shadow 0.3s var(--ease-soft), transform 0.3s var(--ease-soft);
}
.lp-card:hover { box-shadow: var(--elev-2); transform: translateY(-2px); }
.lp-card__title { font-family: var(--font-headline); font-weight: 700; font-size: 1.05rem; color: var(--texto); margin-bottom: var(--s-2); }
.lp-card__text { font-size: var(--fs-corpo); color: var(--texto-muted); line-height: 1.6; }

/* =============================================================================
 * Formulário (web-only — o núcleo não tem inputs)
 * ============================================================================= */
.lp-form { display: flex; flex-direction: column; gap: var(--s-4); max-width: 480px; }
.lp-field { display: flex; flex-direction: column; gap: var(--s-2); }
.lp-label {
  font-family: var(--font-headline);
  font-size: var(--fs-meta); font-weight: 600; color: var(--texto);
}
.lp-input, .lp-textarea {
  width: 100%;
  min-height: 44px;                           /* ← a11y.md: alvo de toque */
  padding: var(--s-3) var(--s-4);
  font-family: var(--font-body); font-size: var(--fs-corpo);
  color: var(--texto);
  background: var(--fundo-card);
  border: 1px solid var(--borda);
  border-radius: var(--r-sm);                 /* ← tokens.css:40 */
  transition: border-color var(--tr), box-shadow var(--tr);
}
.lp-textarea { min-height: 120px; resize: vertical; padding-top: var(--s-3); }
.lp-input:focus-visible, .lp-textarea:focus-visible { border-color: var(--primaria); }
.lp-input::placeholder, .lp-textarea::placeholder { color: var(--texto-dim); }

/* =============================================================================
 * Footer web (distinto do .footer de documento do núcleo)
 * ============================================================================= */
.lp-footer {
  background: var(--fundo-inverso);           /* ← design-guide.md:17 */
  color: color-mix(in srgb, var(--fundo-card) 70%, transparent);
  padding-block: var(--s-7);
  font-size: var(--fs-meta);
}
.lp-footer__grid { display: flex; flex-wrap: wrap; gap: var(--s-5); justify-content: space-between; align-items: center; }
.lp-footer__brand { font-family: var(--font-headline); font-weight: 800; color: var(--fundo-card); font-size: 1rem; }
.lp-footer__brand strong { color: var(--primaria); }
.lp-footer a:hover { color: var(--fundo-card); }

/* =============================================================================
 * Scroll-reveal (JS adiciona .is-visible) — respeita prefers-reduced-motion
 * ============================================================================= */
.lp-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.lp-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .lp-reveal { opacity: 1; transform: none; }   /* ← a11y.md: conteúdo nunca fica preso invisível */
}

/* ===== secoes-lp (url() -> assets/) ===== */

/* =============================================================================
 * secoes.css — layout específico das seções de LP (CANDIDATO)
 * Estilos que só fazem sentido dentro de um bloco de seção (faixa de selos,
 * acordeão FAQ). Consome tokens do núcleo via web.css (carregado antes). Não
 * redefine token. ← E4.3 do fase-b-plano.md:78
 * ============================================================================= */

/* ---- Faixa de selos de plataforma (prova-social) ---- */
.lp-logos {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--s-6);                            /* ← núcleo --s-6 */
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--borda);
  opacity: 0.85;
}
.lp-logos img { height: 28px; width: auto; filter: grayscale(1); transition: filter var(--tr); }
.lp-logos img:hover { filter: none; }

/* ============================================================================
 * round 17 → round 20 F4: HIGHLIGHT (marca-texto, port 21dev sem HeroHighlight).
 * Round 20: em vez do bloco pálido atrás do texto inteiro, um TRAÇO de caneta
 * marca-texto que cobre só a METADE DE BAIXO da palavra (background-size 100% 50%
 * ancorado embaixo), roxo mais forte (color-mix --primaria 40%→22%). Varre de
 * width 0→100% quando a frase entra na viewport (reusa o .is-visible do IO). Uma
 * vez, ~0.7s. reduced-motion / sem-JS → cheio instantâneo. box-decoration-break:
 * clone pra quebrar entre linhas. Aplicado em 6 frases (ver index.html).
 * Variante .lp-mark--forte (Mecanismo "Ele é a agência."): tese da página, marca-
 * texto + cor --primaria no próprio texto.
 * ============================================================================ */
.lp-mark {
  --mark-h: 50%;                                  /* corpo: traço meia-altura (já está bom) */
  background-image: linear-gradient(120deg,
    color-mix(in srgb, var(--primaria) 40%, transparent),
    color-mix(in srgb, var(--primaria) 22%, transparent));
  background-repeat: no-repeat;
  background-position: left bottom;              /* ancora embaixo */
  background-size: 100% var(--mark-h);           /* default cheio (sem-JS / reduced-motion) */
  border-radius: 2px;
  padding: 0 0.06em;
  margin-right: -0.16em;                          /* cola a pontuação seguinte (vírgula do Preço) */
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  color: var(--texto);
}
/* round 21 #7: em TÍTULO grande o traço meia-altura fica pesado/amador → vira traço FINO
   na base (sublinha as palavras, ~7px), mantendo roxo e a varredura no reveal. */
.lp-h2 .lp-mark, .lp-punch .lp-mark { --mark-h: 7px; padding: 0 0.04em; border-radius: 1px; }
.lp-mark--forte { color: var(--primaria); font-weight: 700; }   /* tese: texto roxo + traço na base (destaque mais forte) */
.lp-section--inverse .lp-mark { color: var(--fundo-card); }     /* Escassez (fundo escuro): texto claro sobre o traço roxo */
@media (prefers-reduced-motion: no-preference) {
  html.js .lp-mark { background-size: 0% var(--mark-h); transition: background-size 0.7s var(--ease); }  /* fechado, varre no reveal */
  html.js .lp-reveal.is-visible .lp-mark { background-size: 100% var(--mark-h); }
  /* Hero lead não está num .lp-reveal (entra pelo lpFadeUp): mantém o traço cheio (sem sweep de IO) */
  html.js .lp-hero-in .lp-mark { background-size: 100% var(--mark-h); }
}

/* ============================================================================
 * round 16 F7: botões premium no hover: leve elevação + sombra roxa difusa +
 * sheen (faixa branca diagonal que varre). White via color-mix do --fundo-card
 * (zero valor cru). Mantém o :active (desce 1px). reduced-motion → sem sheen.
 * ============================================================================ */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--primaria) 35%, transparent);
}
.btn--primary:active { transform: translateY(1px); }   /* re-declara depois do hover pra vencer no clique */
@media (prefers-reduced-motion: no-preference) {
  .btn--primary::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(105deg, transparent 30%,
      color-mix(in srgb, var(--fundo-card) 38%, transparent) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.6s var(--ease);
  }
  .btn--primary:hover::after { transform: translateX(120%); }
}

/* ============================================================================
 * round 16 F5: TUBELIGHT NAVBAR (port 21dev) — indicador "lâmpada" desliza entre
 * itens do menu (spring), com barra de luz no topo + glow embaixo, na --primaria.
 * Ativado por scroll-spy e clique (lp.js). Desktop (>=768); mobile mantém o menu.
 * ============================================================================ */
@media (min-width: 768px) {
  .lp-nav__links { position: relative; }
  .lp-nav__links a:not(.btn) { position: relative; z-index: 1; padding: 7px 12px; border-radius: var(--r-pill); }
  .lp-nav__links a.is-active { color: var(--primaria); }
  .lp-nav__lamp {
    position: absolute; top: 0; left: 0; height: 100%; width: 0;
    border-radius: var(--r-pill);
    background: color-mix(in srgb, var(--primaria) 10%, transparent);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);  /* spring */
    pointer-events: none; z-index: 0;
  }
  .lp-nav__lamp-bar {                            /* barra de luz no topo */
    position: absolute; top: -2px; left: 50%; transform: translateX(-50%);
    width: 60%; max-width: 36px; height: 4px;
    background: var(--primaria);
    border-radius: 0 0 4px 4px;
  }
  .lp-nav__lamp-bar::before {                    /* glow "lâmpada" descendo no item */
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 210%; height: 20px; border-radius: 50%;
    background: color-mix(in srgb, var(--primaria) 35%, transparent);
    filter: blur(11px); pointer-events: none;
  }
}

/* ---- Acordeão FAQ (round 16 F3: re-skin estilo Accordion 21dev — linha + divisória
   + chevron, sem caixa-card). details/summary nativo, acessível por teclado. ---- */
.lp-faq { display: flex; flex-direction: column; }
.lp-faq__item { border-bottom: 1px solid var(--borda); }
.lp-faq__item:first-child { border-top: 1px solid var(--borda); }
.lp-faq__q {
  cursor: pointer;
  list-style: none;                           /* esconde o triângulo nativo */
  padding: var(--s-4) 0;
  font-family: var(--font-headline);
  font-weight: 600; font-size: var(--fs-corpo);  /* semibold */
  color: var(--texto);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  min-height: 44px;                           /* ← a11y.md: alvo de toque */
}
.lp-faq__q::-webkit-details-marker { display: none; }
/* H3 dentro do summary (hierarquia SEO) herda o estilo da pergunta */
.lp-faq__q h3 { font: inherit; margin: 0; color: inherit; transition: color var(--tr); }
.lp-faq__q:hover h3 { text-decoration: underline; text-underline-offset: 3px; }   /* hover sublinha a pergunta */
.lp-faq__q::after {                           /* CHEVRON (não +/×): rotaciona 180° no [open] */
  content: ''; flex: 0 0 auto;
  width: 9px; height: 9px; margin-right: 3px;
  border-right: 2px solid var(--primaria);
  border-bottom: 2px solid var(--primaria);
  transform: rotate(45deg);                   /* aponta pra baixo */
  transition: transform var(--tr);
}
.lp-faq__item[open] .lp-faq__q::after { transform: rotate(-135deg); }   /* aponta pra cima */
.lp-faq__q:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primaria) 28%, transparent);  /* ← design-guide.md:41 focus_ring */
}
.lp-faq__a {
  padding: 0 0 var(--s-4);
  font-size: var(--fs-corpo); line-height: 1.7; color: var(--texto-muted);
}

/* round 13 E: animação de altura na abertura/fechamento (grid-template-rows 0fr→1fr).
   Gateado por html.js + no-preference → sem JS e em reduced-motion usa o <details>
   nativo (display instantâneo). O JS leve (lp.js) segura o [open] durante o fechamento. */
@media (prefers-reduced-motion: no-preference) {
  html.js .lp-faq__a {
    padding: 0;
    display: grid; grid-template-rows: 0fr;
    transition: grid-template-rows 0.32s var(--ease);
  }
  html.js .lp-faq__item.is-open .lp-faq__a { grid-template-rows: 1fr; }
  html.js .lp-faq__a > * {
    overflow: hidden; min-height: 0;
    margin: 0; padding: 0 0 var(--s-4);            /* padding migra pro filho pra colapsar junto (sem caixa = sem lateral) */
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-faq__item[open] .lp-faq__q::after { transition: none; }
}

/* ============================================================================
 * Blocos NOVOS da F4 (ESPELHO, MECANISMO punch, PREÇO, ESCASSEZ)
 * Consomem token do núcleo via web.css. Nenhum token redefinido.
 * ============================================================================ */

/* ---- ESPELHO (round 20 F1): vira CONVERSA. Dor = balão à esquerda (apagado, a
   "mensagem do cliente"); resposta = balão à direita (destacado, "a resposta da WMD"),
   com etiqueta e realce roxo. Bolhas alternadas, cantos de chat, respiro entre pares.
   Mobile empilha natural mantendo o alinhamento esquerda/direita. Reveal em stagger
   (lp.css PADRÃO 6 A: dor entra da esquerda, resposta da direita). ---- */
/* round 21: grade 2×2 (4 pares, 2 por coluna) no desktop; 1 coluna no mobile */
.lp-mirror { display: grid; grid-template-columns: 1fr; gap: var(--s-5); max-width: 940px; margin-inline: auto; }
@media (min-width: 768px) { .lp-mirror { grid-template-columns: 1fr 1fr; column-gap: var(--s-6); row-gap: var(--s-6); } }
.lp-mirror__row { display: flex; flex-direction: column; gap: var(--s-3); }

/* balão da DOR: esquerda, cinza-claro, fala "do cliente" (mantém as aspas do texto) */
.lp-mirror__pain {
  align-self: flex-start; max-width: 88%; margin: 0;
  padding: var(--s-3) var(--s-4);
  font-family: var(--font-body); font-size: var(--fs-corpo);
  font-style: italic; color: var(--texto-muted); line-height: 1.5;
  background: color-mix(in srgb, var(--texto) 6%, var(--fundo));
  border: 1px solid var(--borda);
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) var(--r-sm);   /* rabicho no canto inferior-esquerdo */
}
/* balão da RESPOSTA: direita, branco/card, realce roxo WMD + etiqueta */
.lp-mirror__answer {
  align-self: flex-end; max-width: 90%; margin: 0;
  padding: var(--s-4) var(--s-5);
  font-family: var(--font-body); font-size: var(--fs-corpo);
  color: var(--texto); line-height: 1.6; font-weight: 500;
  background: var(--fundo-card);
  border: 1px solid color-mix(in srgb, var(--primaria) 28%, var(--borda));
  border-radius: var(--r-lg) var(--r-lg) var(--r-sm) var(--r-lg);   /* rabicho no canto inferior-direito */
  box-shadow: var(--elev-1), 0 6px 22px color-mix(in srgb, var(--primaria) 8%, transparent);
}
.lp-mirror__answer::before {                    /* etiqueta de remetente (bolinha roxa + nome) */
  content: 'WMD Mídias';
  display: flex; align-items: center; gap: var(--s-2);
  margin-bottom: var(--s-2);
  font-family: var(--font-headline); font-size: var(--fs-micro); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--primaria);
}
@media (max-width: 520px) {
  .lp-mirror__pain, .lp-mirror__answer { max-width: 96%; }
}

/* round 2 (D): menos órfãs nos blocos de prosa */
.lp-card__text, .lp-mirror__answer, .lp-mirror__pain, .lp-founder__role { text-wrap: pretty; }

/* ============================================================================
 * round 12 B: ícone (linha, lucide-like) no topo dos cards do Arsenal (#servicos).
 * Cabeçalho discreto: chip com leve gradiente/glass roxo (--primaria). Traço fino.
 * Acende junto do glow card no hover (.lp-spot). Sem pulse/bounce; reduced-motion
 * safe (web.css zera transition). Tudo re-tokenizado pelo núcleo.
 * ============================================================================ */
.lp-card__icon {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  margin-bottom: var(--s-3);
  border-radius: var(--r);                       /* ← núcleo */
  color: var(--primaria);
  background: linear-gradient(140deg,
    color-mix(in srgb, var(--primaria) 13%, var(--fundo-card)),
    color-mix(in srgb, var(--primaria) 4%, var(--fundo-card)));
  border: 1px solid color-mix(in srgb, var(--primaria) 16%, var(--borda));
  transition: background var(--tr), border-color var(--tr);
}
.lp-card__icon svg { width: 30px; height: 30px; display: block; }
.lp-spot:hover .lp-card__icon {                  /* acende junto com o glow card */
  background: linear-gradient(140deg,
    color-mix(in srgb, var(--primaria) 22%, var(--fundo-card)),
    color-mix(in srgb, var(--primaria) 8%, var(--fundo-card)));
  border-color: color-mix(in srgb, var(--primaria) 32%, var(--borda));
}

/* round 23 #1: 6 cards do Arsenal viram cards Brandlegal: ilustração full-bleed no topo
   (~200px, cover; o fundo roxo já vem na imagem) + título preto forte (Jakarta 800) + a
   voz atual embaixo. O frame (branco, raio, hover eleva+sombra+borda roxa) é o mesmo do
   .lp-card/.lp-spot — os 3 cards do Mecanismo seguem o MESMO frame, só com ícone SVG. */
.lp-card--brand { padding: 0; }
.lp-card__illu {
  display: block; width: 100%; height: 200px;
  object-fit: cover; object-position: center top;
  background: color-mix(in srgb, var(--primaria) 72%, black);   /* fallback enquanto a ilustração carrega */
}
.lp-card--brand .lp-card__title {
  margin: var(--s-4) var(--s-5) 0;
  font-weight: 800; color: var(--texto);                        /* preto forte */
}
.lp-card--brand .lp-card__text { margin: var(--s-2) var(--s-5) var(--s-5); }

/* (Relatório-demo de frame/scroll removido no round 22 — substituído pelo carrossel
   glass diagonal, PADRÃO 8 em lp.css.) */

/* ---- HISTÓRIA (round 8): seção editorial (prosa de leitura) + tira de autoridade (formação) ---- */
/* round 20 F9: avatar redondo pequeno ao lado do eyebrow/título (tom íntimo). Mobile: acima, centrado. */
.lp-historia-head { display: flex; align-items: center; gap: var(--s-4); }
.lp-historia-head > div { margin-bottom: 0; }
.lp-historia-avatar {
  width: 72px; height: 72px; flex: 0 0 auto;
  border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 3px var(--fundo-destaque), var(--elev-1);
}
@media (max-width: 599px) {
  .lp-historia-head { flex-direction: column; text-align: center; gap: var(--s-3); }
}
.lp-historia { margin-top: var(--s-5); }
.lp-historia p {
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  line-height: 1.78;
  color: var(--texto);
  max-width: 62ch;
  text-wrap: pretty;
}
.lp-historia p + p { margin-top: var(--s-4); }

.lp-creds {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid color-mix(in srgb, var(--primaria) 22%, var(--borda));
}
.lp-creds__label {
  display: inline-block;
  font-family: var(--font-headline);
  font-size: var(--fs-micro); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.13em;
  color: var(--primaria); margin-bottom: var(--s-4);
}
.lp-creds__list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
@media (min-width: 640px) { .lp-creds__list { grid-template-columns: 1fr 1fr; } }
.lp-creds__item {
  display: flex; align-items: center; gap: var(--s-3);
  font-family: var(--font-headline); font-weight: 600;
  font-size: var(--fs-meta); color: var(--texto); line-height: 1.3;
}
.lp-creds__item svg { width: 26px; height: 26px; flex: 0 0 auto; color: var(--primaria); }
.lp-creds__item em { display: block; font-style: normal; font-weight: 500; font-size: 0.82em; color: var(--texto-muted); margin-top: 2px; }

/* ---- MECANISMO: punch-tese vira FAIXA full-bleed cinematográfica (round 23 #4) ----
   Fundo escuro com a imagem (silhueta à esquerda, vazio preto à direita); o texto entra
   no vazio escuro, branco, com "Ele é a agência." em destaque. PLACEHOLDER de imagem. */
.lp-punchband {
  position: relative; margin-top: var(--s-8);
  background-color: #040202;
  background-image: url('assets/mecanismo-william-v5.webp');
  background-size: auto 100%; background-position: 20% center; background-repeat: no-repeat;
  overflow: hidden;
}
.lp-punchband__inner { position: relative; z-index: 1; display: flex; justify-content: flex-end; align-items: center; min-height: 320px; }
.lp-punchband__text {
  width: min(540px, 56%);
  font-family: var(--font-headline); font-weight: 800;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem); line-height: 1.28; letter-spacing: -0.02em;
  color: var(--fundo-card);
  padding-block: var(--s-7);
}
.lp-punchband__hi {
  position: relative; color: color-mix(in srgb, var(--primaria) 42%, white);   /* lavanda brilhante: pop no escuro */
  white-space: nowrap;   /* "Ele é a agência." nunca quebra no meio */
}
.lp-punchband__hi::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 6px;
  background: var(--primaria); border-radius: 2px;
}
@media (max-width: 700px) {
  .lp-punchband { background-size: auto 100%; background-position: center; }
  .lp-punchband::before {
    content: ''; position: absolute; inset: 0;
    background: color-mix(in srgb, var(--fundo-inverso) 66%, transparent);
  }
  .lp-punchband__inner { justify-content: center; min-height: 240px; }
  .lp-punchband__text { width: 100%; text-align: center; }
}

/* ---- CARTEIRA: par invertido da .lp-punchband — TEXTO À ESQUERDA, FOTO À DIREITA ---- */
.lp-cartband {
  position: relative;
  background-color: var(--fundo-inverso);
  background-image: url('assets/carteira-william-v3.webp');
  background-size: cover; background-position: right 30%; background-repeat: no-repeat;
  overflow: hidden;
}
.lp-cartband__inner { position: relative; z-index: 1; display: flex; justify-content: flex-start; align-items: center; min-height: 340px; }
.lp-cartband__text { width: min(560px, 58%); padding-block: var(--s-7); }
.lp-cartband__text .lp-eyebrow { color: color-mix(in srgb, var(--primaria) 50%, white); }
.lp-cartband__text .lp-h2 { color: var(--fundo-card); }
.lp-cartband__text .lp-lead { color: color-mix(in srgb, var(--fundo-card) 86%, transparent); }
.lp-cartband__text .lp-mark { color: color-mix(in srgb, var(--primaria) 55%, white); background: none; }
@media (max-width: 760px) {
  .lp-cartband { background-position: center; }
  .lp-cartband::before { content: ''; position: absolute; inset: 0; background: color-mix(in srgb, var(--fundo-inverso) 72%, transparent); }
  .lp-cartband__inner { justify-content: center; min-height: 300px; }
  .lp-cartband__text { width: 100%; text-align: center; }
}

/* ============================================================================
 * HERO 2 colunas + slot de foto real (round 2). Foto do William entra à direita.
 * ============================================================================ */
.lp-hero-grid { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .lp-hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: var(--s-7); } }
.lp-hero-media { display: none; }              /* foto do hero só no desktop (estrutura aprovada); avatar do fundador leva o rosto ao mobile */
@media (min-width: 900px) { .lp-hero-media { display: block; } }

/* round 11 B: H1 do hero mais protagonista no desktop (escala web-only, NÃO toca --fs-display do design-guide; outras seções seguem o token). */
@media (min-width: 900px) {
  #topo .lp-h1 { font-size: clamp(2.4rem, 4.8vw, 3.6rem); line-height: 1.03; }
}

/* round 7 C: lead do hero responsivo + hero compacto no mobile (CTA "Falar com quem opera" na 1ª dobra). Não toca desktop. */
.lp-lead--mob { display: none; }
@media (max-width: 600px) {
  .lp-lead--desk { display: none; }
  .lp-lead--mob { display: block; }
  #topo { padding-top: var(--s-4); padding-bottom: var(--s-6); }   /* hero sobe: menos respiro no topo só no mobile */
  #topo .lp-h1 { font-size: clamp(1.85rem, 8.5vw, 2.3rem); }       /* H1 um pouco menor pra caber acima da dobra */
}

/* ============================================================================
 * round 11 A+C: hero figure: recorte do William "emergindo" + selo glass.
 * Sem moldura: o PNG é transparente (fundo removido), mask-image desvanece a
 * base no fundo claro, glow radial roxo (--primaria) atrás. Selo glass CLARO
 * flutua sobre a foto com credenciais REAIS. Só desktop (.lp-hero-media oculto
 * < 900px). Tudo re-tokenizado pelo núcleo.
 * ============================================================================ */
.lp-hero-figure {
  position: relative; display: block;
  max-height: 560px;                             /* round 20 F8: contém a figura na coluna do hero (não vaza) */
  text-align: center;
}
.lp-hero-figure__glow {                          /* glow roxo difuso atrás do recorte */
  position: absolute; z-index: 0;
  inset: 12% 6% 6% 6%;
  border-radius: 50%;
  background: radial-gradient(closest-side,
    color-mix(in srgb, var(--primaria) 35%, transparent), transparent 72%);  /* ← round 12 C: glow mais presente (26→35%) */
  filter: blur(36px);
  pointer-events: none;
}
.lp-hero-figure__img {
  position: relative; z-index: 1;
  display: block;
  width: auto; max-width: 100%;                  /* round 20 F8: não estoura a largura da coluna */
  max-height: 560px;                             /* casa com a figura: contém a altura */
  height: auto; margin-inline: auto;
  object-fit: contain; object-position: bottom;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);  /* base desvanece longo no fundo claro (round 13 A) */
          mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}
.lp-glass-badge {                                /* glassmorphism CLARO, credenciais reais */
  position: absolute; z-index: 2;
  left: -6%; bottom: 7%;
  display: grid; gap: var(--s-2);
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--fundo-card) 70%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.35);
          backdrop-filter: blur(14px) saturate(1.35);
  border: 1px solid color-mix(in srgb, var(--fundo-card) 55%, var(--borda));
  box-shadow: var(--elev-2), 0 10px 34px color-mix(in srgb, var(--primaria) 15%, transparent);
}
.lp-glass-badge__row {
  font-size: var(--fs-meta); color: var(--texto-muted); line-height: 1.3;
  white-space: nowrap;
}
.lp-glass-badge__row strong { color: var(--texto); font-weight: 700; }

/* Slot de foto: placeholder NEUTRO (cinza do design-guide) até a foto real chegar. PROIBIDO IA de pessoa. */
.lp-photo-slot {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);                  /* ← núcleo */
  background:
    repeating-linear-gradient(135deg,
      color-mix(in srgb, var(--texto) 4%, var(--fundo-destaque)) 0 14px,
      var(--fundo-destaque) 14px 28px);
  border: 1px dashed color-mix(in srgb, var(--texto) 20%, transparent);
  display: grid; place-items: center; text-align: center;
  color: var(--texto-dim); font-size: var(--fs-meta); line-height: 1.4;
  overflow: hidden;
}
.lp-photo-slot img { width: 100%; height: 100%; object-fit: cover; }

/* ---- MECANISMO: card do fundador (rosto + nome + 2 linhas) ---- */
.lp-founder__head { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-3); }
.lp-photo-slot--avatar {
  aspect-ratio: 1 / 1;
  width: 72px; height: 72px; flex: 0 0 auto;
  border-radius: 50%;
  font-size: 0.66rem;
}
.lp-founder__photo {                            /* foto real do fundador, quando chegar */
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
  box-shadow: 0 0 0 3px var(--fundo-card), var(--elev-1);
}
.lp-founder__role { font-size: var(--fs-meta); color: var(--texto-muted); font-weight: 600; margin-top: 2px; }

/* ---- PROVA: stat, rostos "quem confia", depoimento ---- */
.lp-stat-num {
  font-family: var(--font-headline);
  font-weight: 800;
  color: var(--texto);
  line-height: 1;
  position: relative; display: inline-block;
}
.lp-stat-num::after {
  content: ''; position: absolute; left: 12%; right: 12%; bottom: -8px;
  height: 4px; border-radius: 2px; background: var(--primaria);
}
.lp-stats {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start;
  max-width: 1080px; margin: var(--s-7) auto var(--s-6);
}
.lp-stats__item { flex: 1 1 0; min-width: 180px; text-align: center; padding: var(--s-3) var(--s-5); }
.lp-stats__item + .lp-stats__item { border-left: 1px solid var(--borda); }
.lp-stats__ico { display: block; color: var(--primaria); opacity: .9; margin-bottom: var(--s-2); }
.lp-stats__ico svg { width: 26px; height: 26px; }
.lp-stats .lp-stat-num { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.lp-stats__item .lp-stat-num--txt { font-size: clamp(1.25rem, 2.4vw, 1.85rem); white-space: nowrap; }
.lp-stats__label { font-size: var(--fs-meta); color: var(--texto-muted); margin-top: var(--s-4); line-height: 1.4; }
@media (min-width: 561px) and (max-width: 900px) {
  .lp-stats__item { flex: 1 1 calc(50% - 1px); min-width: 0; }
  .lp-stats__item:nth-child(odd) { border-left: none; }                 /* itens que iniciam linha (1,3) */
  .lp-stats__item:nth-child(n+3) { border-top: 1px solid var(--borda); } /* divisória entre as 2 linhas */
}
@media (max-width: 560px) {
  .lp-stats { flex-direction: column; }
  .lp-stats__item { padding: var(--s-4) 0; width: 100%; }
  .lp-stats__item + .lp-stats__item { border-left: none; border-top: 1px solid var(--borda); }
}
/* ---- UNIQUE TESTIMONIAL (round 16 F1): frase grande que troca + avatares que expandem o nome ---- */
.lp-testi { max-width: 760px; margin: var(--s-8) auto 0; text-align: center; }
.lp-testi__role {
  font-family: var(--font-headline); font-size: var(--fs-micro); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.13em; color: var(--primaria);
  margin-bottom: var(--s-4);
}
.lp-testi__quote { margin: 0; position: relative; padding: 0 var(--s-4); }
.lp-testi__quote::before {                       /* aspa decorativa */
  content: '\201C'; position: absolute; top: -0.35em; left: -0.1em;
  font-family: var(--font-headline); font-size: 3.2rem; line-height: 1;
  color: color-mix(in srgb, var(--primaria) 22%, transparent); pointer-events: none;
}
.lp-testi__text {
  display: block;
  font-family: var(--font-headline);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 300; line-height: 1.42; color: var(--texto);
  font-style: italic;
  text-wrap: balance;
}
/* transição da troca: some com blur+scale, troca o texto, volta */
.lp-testi__text, .lp-testi__role {
  transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1),
              filter 0.4s cubic-bezier(0.4,0,0.2,1),
              transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.lp-testi.is-animating .lp-testi__text,
.lp-testi.is-animating .lp-testi__role { opacity: 0; filter: blur(8px); transform: scale(0.98); }

.lp-testi__avatars { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); margin-top: var(--s-6); }
.lp-testi__av {
  display: flex; align-items: center;
  padding: 3px; cursor: pointer;
  border: 1px solid var(--borda);                /* round 20 F7: contorno discreto pra ler como botão */
  background: var(--fundo-card);
  box-shadow: var(--elev-1);
  border-radius: var(--r-pill); color: var(--texto);
  transition: background 0.5s cubic-bezier(0.4,0,0.2,1), padding 0.5s cubic-bezier(0.4,0,0.2,1),
              border-color var(--tr), box-shadow var(--tr);
}
.lp-testi__av:hover { border-color: color-mix(in srgb, var(--primaria) 40%, var(--borda)); box-shadow: var(--elev-2); }
.lp-testi__av img, .lp-testi__mono {
  width: 32px; height: 32px; border-radius: 50%; flex: 0 0 auto;
  object-fit: cover; transition: box-shadow var(--tr);
}
.lp-testi__mono {                                /* monograma (sem foto real ainda; NUNCA IA de pessoa) */
  display: grid; place-items: center;
  background: var(--primaria); color: var(--fundo-card);
  font-family: var(--font-headline); font-weight: 700; font-size: 0.72rem;
}
.lp-testi__name {                                /* expande de 0fr→1fr revelando o nome */
  display: grid; grid-template-columns: 0fr;
  transition: grid-template-columns 0.5s cubic-bezier(0.4,0,0.2,1);
}
.lp-testi__name > span {
  overflow: hidden; min-width: 0; white-space: nowrap;
  font-size: var(--fs-meta); font-weight: 600;
}
.lp-testi__av.is-active { background: var(--fundo-destaque); padding-right: var(--s-3); }
.lp-testi__av.is-active img, .lp-testi__av.is-active .lp-testi__mono { box-shadow: 0 0 0 2px var(--primaria); }
.lp-testi__av.is-active .lp-testi__name, .lp-testi__av:hover .lp-testi__name { grid-template-columns: 1fr; }
.lp-testi__av.is-active .lp-testi__name > span, .lp-testi__av:hover .lp-testi__name > span { padding: 0 var(--s-2) 0 var(--s-2); }
.lp-testi__av:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--primaria) 28%, transparent); }

/* ============================================================================
 * PREÇO — comparação ESCONDE × PUBLICA (round 23 #3, preview _preco-comparacao).
 * Duas colunas: esquerda = a maioria das agências (preços falsos borrados + cadeado
 * "Preço só na reunião"), direita = WMD com os 4 preços reais na cara. Círculo "VS"
 * no meio. Re-tokenizado (cor/raio/sombra/espaço via var() do núcleo). Mobile: 1 coluna.
 * ============================================================================ */
.lp-cmp {
  position: relative; display: grid; grid-template-columns: 1fr 1.12fr;
  gap: var(--s-6); margin: var(--s-7) auto 0; max-width: 920px; text-align: left; align-items: stretch;
}
.lp-cmp__vs {
  position: absolute; left: 47%; top: 50%; transform: translate(-50%, -50%); z-index: 5;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--fundo-card); border: 1px solid var(--borda);
  display: grid; place-items: center;
  font-family: var(--font-headline); font-weight: 800; font-size: var(--fs-meta); color: var(--texto-muted);
  box-shadow: var(--elev-1);
}
.lp-cmp__col { border-radius: var(--r-lg); padding: var(--s-6) var(--s-5); }
.lp-cmp__lbl {
  font-family: var(--font-headline); font-weight: 700; font-size: var(--fs-corpo);
  display: flex; align-items: center; gap: var(--s-2); margin-bottom: var(--s-5);
}
.lp-cmp__ico { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 22px; }
/* ESQUERDA — esconde */
.lp-cmp__col--hide {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, var(--texto) 6%, var(--fundo)), color-mix(in srgb, var(--texto) 9%, var(--fundo)));
  border: 1px dashed var(--borda-strong);
}
.lp-cmp__col--hide .lp-cmp__lbl { color: var(--texto-muted); }
.lp-cmp__col--hide .lp-cmp__ico { background: var(--borda-strong); color: var(--fundo-card); }
.lp-cmp__fake { filter: blur(6px); user-select: none; opacity: 0.75; }
.lp-cmp__fakerow {
  display: flex; justify-content: space-between; padding: var(--s-3) 0;
  border-bottom: 1px solid var(--borda-strong);
  font-family: var(--font-headline); font-weight: 800; font-size: var(--fs-corpo); color: var(--texto-dim);
}
.lp-cmp__lock {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: var(--s-3); text-align: center; padding: var(--s-5);
}
.lp-cmp__lockcirc {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--fundo-card); border: 1px solid var(--borda-strong); color: var(--texto-muted);
  display: grid; place-items: center; box-shadow: var(--elev-1);
}
.lp-cmp__lockbig { font-family: var(--font-headline); font-weight: 800; font-size: 1.3rem; color: color-mix(in srgb, var(--texto) 70%, var(--fundo)); }
.lp-cmp__locksm { font-size: var(--fs-meta); color: var(--texto-muted); max-width: 240px; line-height: 1.5; }
/* hover do quadro BLOQUEADO: encolhe levemente, cofre gira, blur reforça */
.lp-cmp__col--hide { transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s; cursor: not-allowed; }
.lp-cmp__col--hide .lp-cmp__lockcirc { transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.lp-cmp__col--hide .lp-cmp__fake { transition: filter .35s; }
.lp-cmp__col--hide:hover { transform: scale(.985); }
.lp-cmp__col--hide:hover .lp-cmp__lockcirc { transform: scale(1.14) rotate(-6deg); }
.lp-cmp__col--hide:hover .lp-cmp__fake { filter: blur(10px); }
/* DIREITA — publica */
.lp-cmp__col--show {
  background: var(--fundo-card);
  border: 1.5px solid color-mix(in srgb, var(--primaria) 36%, var(--borda));
  box-shadow: var(--elev-2), 0 18px 50px color-mix(in srgb, var(--primaria) 14%, transparent);
}
.lp-cmp__col--show .lp-cmp__lbl { color: var(--primaria); }
.lp-cmp__col--show .lp-cmp__ico { background: var(--primaria); color: var(--fundo-card); }
/* hover do quadro WMD revelado: glow roxo + sobe levemente */
.lp-cmp__col--show { transition: box-shadow .35s, transform .35s; }
.lp-cmp__col--show:hover { box-shadow: 0 24px 60px -28px color-mix(in srgb, var(--primaria) 45%, transparent); transform: translateY(-3px); }
.lp-cmp__prow {
  display: grid; grid-template-columns: 128px 1fr; gap: var(--s-4); align-items: center;
  padding: var(--s-4) 0; border-bottom: 1px solid var(--borda); transition: transform var(--tr);
}
.lp-cmp__prow:last-child { border-bottom: none; }
.lp-cmp__prow:hover { transform: translateX(var(--s-2)); }
.lp-cmp__prow--hi {
  background: linear-gradient(90deg, color-mix(in srgb, var(--primaria) 6%, transparent), transparent);
  border-radius: var(--r-sm); margin: 0 calc(var(--s-3) * -1); padding-left: var(--s-3); padding-right: var(--s-3);
}
.lp-cmp__pp { font-family: var(--font-headline); font-weight: 800; font-size: 1.15rem; color: var(--primaria); line-height: 1; display: block; }
.lp-cmp__pn { font-family: var(--font-headline); font-weight: 700; font-size: var(--fs-meta); color: var(--texto); margin-top: 3px; display: flex; align-items: center; gap: var(--s-1); }
.lp-cmp__pop { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: 0.05em; color: var(--fundo-card); background: var(--primaria); padding: 2px 6px; border-radius: var(--r-pill); }
.lp-cmp__pi { font-size: var(--fs-meta); color: var(--texto-muted); line-height: 1.45; }
@media (max-width: 760px) {
  .lp-cmp { grid-template-columns: 1fr; }
  .lp-cmp__vs { display: none; }
}

/* ============================================================================
 * PREÇO MINIMAL (design aprovado — porta de _preview-preco-minimal.html)
 * Substitui visualmente o grupo .lp-cmp* acima (que fica órfão até a limpeza).
 * ============================================================================ */
.pm-head{max-width:680px;margin:0 auto var(--s-7);text-align:center;}
.pm-eyebrow{font-family:var(--font-mono);font-size:var(--fs-micro);letter-spacing:.14em;text-transform:uppercase;color:var(--primaria);font-weight:700;}
.pm-h2{font-family:var(--font-headline);font-weight:800;font-size:clamp(1.6rem,3.4vw,2.3rem);letter-spacing:-0.02em;margin:var(--s-2) 0 var(--s-3);text-wrap:balance;max-width:18ch;margin-inline:auto;}
.pm-sub{color:var(--texto-muted);font-size:1.02rem;line-height:1.5;}

/* CARD ÚNICO minimal (estilo 21st.dev): split esquerda(bloqueado)/direita(revelado) */
.pm-card{max-width:900px;margin:0 auto;display:grid;grid-template-columns:37% 63%;
  border:1px solid var(--borda);border-radius:22px;overflow:hidden;background:var(--fundo-card);
  box-shadow:0 30px 70px -40px color-mix(in srgb,var(--texto) 40%,transparent);}
.pm-lbl{display:flex;align-items:center;gap:var(--s-2);font-family:var(--font-headline);font-weight:700;font-size:var(--fs-meta);margin-bottom:var(--s-5);}
.pm-lbl__ico{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;flex:0 0 22px;}

/* ESQUERDA — bloqueado/blur/cadeado */
.pm-hide{position:relative;overflow:hidden;padding:var(--s-6) var(--s-5);background:color-mix(in srgb,var(--texto) 4%,var(--fundo-card));}
.pm-hide .pm-lbl{color:var(--texto-muted);}
.pm-hide .pm-lbl__ico{background:var(--borda-strong);color:var(--fundo-card);}
.pm-fake{filter:blur(7px);opacity:.7;user-select:none;}
.pm-fakerow{display:flex;justify-content:space-between;padding:var(--s-3) 0;font-weight:700;color:var(--texto-muted);border-bottom:1px solid var(--borda);}
.pm-lock{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--s-3);text-align:center;padding:var(--s-5);background:color-mix(in srgb,var(--fundo-card) 30%,transparent);}
.pm-lockcirc{width:54px;height:54px;border-radius:50%;background:var(--fundo-card);display:grid;place-items:center;box-shadow:var(--elev-1);color:var(--texto-muted);}
.pm-lockbig{font-family:var(--font-headline);font-weight:800;font-size:1.25rem;color:color-mix(in srgb,var(--texto) 72%,var(--fundo));}
.pm-locksm{font-size:var(--fs-meta);color:var(--texto-muted);max-width:230px;line-height:1.5;}

/* DIREITA — revelado, fundo levemente destacado */
.pm-show{padding:var(--s-6) var(--s-5);background:color-mix(in srgb,var(--primaria) 3%,var(--fundo-card));}
.pm-show .pm-lbl{color:var(--primaria);}
.pm-show .pm-lbl__ico{background:var(--primaria);color:var(--fundo-card);}
.pm-plan{display:grid;grid-template-columns:auto 1fr;gap:var(--s-3);align-items:center;padding:var(--s-3) var(--s-3);border-radius:14px;}
.pm-plan + .pm-plan{margin-top:2px;}
.pm-check{width:20px;height:20px;border-radius:50%;background:color-mix(in srgb,var(--primaria) 14%,transparent);color:var(--primaria);display:grid;place-items:center;flex:0 0 20px;}
.pm-plan__price{font-family:var(--font-headline);font-weight:800;font-size:1.15rem;color:var(--primaria);line-height:1;}
.pm-plan__name{font-family:var(--font-headline);font-weight:700;font-size:var(--fs-meta);color:var(--texto);margin-top:2px;}
.pm-plan__desc{font-size:var(--fs-meta);color:var(--texto-muted);line-height:1.4;}
/* Lite+ destacado — proporção maior (o "adaptar proporções") */
.pm-plan--hi{background:color-mix(in srgb,var(--primaria) 9%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--primaria) 30%,transparent);padding:var(--s-4) var(--s-3);}
.pm-plan--hi .pm-plan__price{font-size:1.55rem;}
.pm-pop{font-size:var(--fs-micro);text-transform:uppercase;letter-spacing:.05em;color:var(--fundo-card);background:var(--primaria);padding:2px 7px;border-radius:var(--r-pill);margin-left:var(--s-2);}

.pm-foot{max-width:640px;margin:var(--s-6) auto 0;text-align:center;color:var(--texto-muted);font-size:var(--fs-meta);line-height:1.5;}

/* item 4 — hover "negado" no quadro bloqueado: cadeado treme + blur intensifica */
.pm-hide{cursor:not-allowed;}
.pm-hide .pm-lockcirc{transition:transform .4s cubic-bezier(.36,.07,.19,.97);}
.pm-hide .pm-fake{transition:filter .4s;}
.pm-hide:hover .pm-fake, .pm-hide.is-hover .pm-fake{filter:blur(11px);}
.pm-hide:hover .pm-lockcirc, .pm-hide.is-hover .pm-lockcirc{animation:pmDeny .5s;}
@keyframes pmDeny{0%,100%{transform:translateX(0) rotate(0)}20%{transform:translateX(-5px) rotate(-8deg)}40%{transform:translateX(5px) rotate(8deg)}60%{transform:translateX(-4px) rotate(-5deg)}80%{transform:translateX(3px) rotate(3deg)}}

/* item 5b — hover positivo nos planos: linha desliza + check preenche */
.pm-plan{transition:transform .28s cubic-bezier(.34,1.56,.64,1), background .28s;}
.pm-plan:hover, .pm-plan.is-hover{transform:translateX(4px);background:color-mix(in srgb,var(--primaria) 6%,transparent);}
.pm-plan .pm-check{transition:transform .28s, background .28s, color .28s;}
.pm-plan:hover .pm-check, .pm-plan.is-hover .pm-check{background:var(--primaria);color:var(--fundo-card);transform:scale(1.14);}

/* entrada: reveal por opacidade + stagger leve. Transition estendida pra NÃO matar o hover (item 5b) — ver nota do handoff */
.pm-card.lp-reveal .pm-plan{opacity:0;transition:opacity .5s ease, transform .28s cubic-bezier(.34,1.56,.64,1), background .28s;}
.pm-card.lp-reveal.is-visible .pm-plan{opacity:1;}
.pm-show .pm-plan:nth-child(2){transition-delay:.06s}
.pm-show .pm-plan:nth-child(3){transition-delay:.12s}
.pm-show .pm-plan:nth-child(4){transition-delay:.18s}
.pm-show .pm-plan:nth-child(5){transition-delay:.24s}

@media(max-width:760px){ .pm-card{grid-template-columns:1fr;} .pm-hide{border-bottom:1px solid var(--borda);} }

/* ============================================================================
 * Botão WhatsApp flutuante (CTA repetido — decisão 3, WhatsApp único)
 * ============================================================================ */
/* Round 2: ícone-só em repouso (não cobre o conteúdo do Espelho no desktop);
   o label expande no hover com ponteiro fino. Mobile/touch fica ícone. Um só CTA flutuante. */
.lp-wa-float {
  position: fixed;
  right: var(--s-4); bottom: var(--s-4);
  z-index: 90;
  display: inline-flex; align-items: center;
  height: 52px; padding: 0 14px;
  background: var(--primaria);
  color: var(--fundo-card);
  font-family: var(--font-headline);
  font-weight: 700; font-size: var(--fs-corpo);
  border-radius: var(--r-pill);
  box-shadow: var(--elev-3);
  transition: background var(--tr), transform var(--tr);
  white-space: nowrap;
}
.lp-wa-float:hover { background: color-mix(in srgb, var(--primaria) 86%, black); transform: translateY(-2px); }
.lp-wa-float:focus-visible { outline: none; box-shadow: var(--elev-3), 0 0 0 3px color-mix(in srgb, var(--primaria) 28%, transparent); }
.lp-wa-float svg { width: 22px; height: 22px; flex: 0 0 auto; }
.lp-wa-float span {
  max-width: 0; overflow: hidden; opacity: 0;
  transition: max-width var(--tr), opacity var(--tr), margin-left var(--tr);
}
/* só com ponteiro fino (desktop): label aparece no hover/focus */
@media (hover: hover) and (pointer: fine) {
  .lp-wa-float:hover span, .lp-wa-float:focus-visible span { max-width: 220px; opacity: 1; margin-left: var(--s-2); }
}
@media (prefers-reduced-motion: reduce) { .lp-wa-float span { transition: none; } }


/* ===== lp (página) ===== */

/* =============================================================================
 * lp.css — camada de ANIMAÇÃO/micro-interação da LP WMD (build F4)
 *
 * 3 padrões adotados do 21st.dev, RE-TOKENIZADOS pro design-guide (cor/fonte/
 * radius/easing via var() do núcleo; zero valor cru). Origens no README do build.
 * JS que acompanha: lp.js (≤ budget specs-web.md). prefers-reduced-motion zera tudo.
 *
 * Ordem de carga no index.html:
 *   web.css (@import tokens+wmd-root) → secoes.css → lp.css
 * ============================================================================= */

/* ============================================================================
 * PADRÃO 1 — Entrada escalonada do hero (21st.dev "Heroes": staggered fade-up)
 * Reimplementado em CSS puro (animation + delay), SEM JS, pra não atrasar o LCP.
 * ============================================================================ */
.lp-hero-in > * { opacity: 0; animation: lpFadeUp 0.7s var(--ease) forwards; }  /* ← --ease do núcleo (tokens.css:72) */
.lp-hero-in > *:nth-child(1) { animation-delay: 0.05s; }
.lp-hero-in > *:nth-child(2) { animation-delay: 0.15s; }
.lp-hero-in > *:nth-child(3) { animation-delay: 0.25s; }
.lp-hero-in > *:nth-child(4) { animation-delay: 0.35s; }
@keyframes lpFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ============================================================================
 * PADRÃO 2 — Glow Card (21st.dev "Cards": card-spotlight, EVOLUÍDO no round 9 B)
 * Dois brilhos em ROXO WMD FIXO (hue travado na --primaria, NÃO arco-íris por
 * posição): (a) ::before = preenchimento radial suave que segue o cursor;
 * (b) ::after = anel de borda que acende no cursor (assinatura "glow card").
 * Posição via --mx/--my (lp.js, com throttle em rAF). Sem ponteiro fino / touch /
 * reduced-motion: vira só realce de borda + sombra estáticos. Tudo re-tokenizado.
 * ============================================================================ */
.lp-spot { position: relative; isolation: isolate; overflow: hidden; transition: box-shadow var(--tr), border-color var(--tr), transform var(--tr); }
.lp-spot::before {
  content: '';
  position: absolute; inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--tr);              /* ← --tr do núcleo */
  background: radial-gradient(
    240px circle at var(--mx, 50%) var(--my, 0%),
    color-mix(in srgb, var(--primaria) 17%, transparent),  /* ← cor de marca WMD (hue travado) */
    transparent 72%);
}
/* anel de borda que acende no ponto do cursor (mask = só a moldura de 1px) */
.lp-spot::after {
  content: '';
  position: absolute; inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  opacity: 0;
  transition: opacity var(--tr);
  background: radial-gradient(
    200px circle at var(--mx, 50%) var(--my, 0%),
    color-mix(in srgb, var(--primaria) 60%, transparent),  /* ← mesmo roxo WMD, mais saturado na borda */
    transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.lp-spot:hover::before, .lp-spot:hover::after { opacity: 1; }
.lp-spot:hover {
  border-color: color-mix(in srgb, var(--primaria) 34%, var(--borda));
  box-shadow: var(--elev-2), 0 16px 44px color-mix(in srgb, var(--primaria) 20%, transparent);  /* round 16 F4: glow roxo + sombra maior */
}
/* round 16 F4 (a): hover ergue + leve scale (além do glow que segue o cursor). reduced-motion off. */
@media (prefers-reduced-motion: no-preference) {
  .lp-spot:hover { transform: translateY(-4px) scale(1.02); }
}

/* ============================================================================
 * PADRÃO 3 — Scroll-reveal escalonado (21st.dev "Scroll Areas": staggered reveal)
 * Base .lp-reveal vem do web.css (opacity/translate → .is-visible). Aqui só o
 * STAGGER: o lp.js seta --rd (reveal-delay) por índice dentro do grupo.
 * ============================================================================ */
.lp-reveal { transition-delay: var(--rd, 0ms); }
/* impeccable F4: o reveal só ESCONDE quando o JS confirmou (.js no <html>). Sem JS, JS com erro,
   aba oculta ou headless sem IO → conteúdo visível por padrão (web.css esconde, isto reverte). */
html:not(.js) .lp-reveal { opacity: 1 !important; transform: none !important; }

/* ============================================================================
 * PADRÃO 4 · Marquee de marcas (21st.dev "Marquee", steer prova social)
 * round 14: TODAS as marcas viram AVATAR circular uniforme (a maioria já é foto
 * de perfil do Instagram, e abraçamos isso). O track repete o conjunto 4x; cada
 * item carrega seu próprio espaçamento via margin-right (não flex-gap), pra o
 * translateX(-50%) cair EXATO na emenda (loop perfeito, sem salto). Cada metade
 * (2 conjuntos) transborda o viewport em qualquer largura → sem buraco, nem no
 * hover desacelerado. Re-tokenizado: raio/borda/espaço/easing via var() do núcleo.
 * ============================================================================ */
.lp-marquee-wrap { padding-block: var(--s-6); background: var(--fundo); overflow: hidden; }
.lp-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);  /* round 15: fade ~3x mais largo (Logo Cloud 3) */
          mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}
.lp-marquee__track { display: flex; align-items: center; width: max-content; animation: lpMarquee 48s linear infinite; }
/* desaceleração no hover é feita via WAAPI no lp.js (playbackRate) — mudar animation-duration no CSS
   causa salto (reposiciona pelo tempo decorrido, não pelo progresso). A animação CSS acima fica como
   fallback no-JS / reduced-motion. */
.lp-brand {                                   /* avatar circular uniforme */
  flex: 0 0 auto;
  display: block;
  width: 64px; height: 64px;
  margin-right: var(--s-7);                   /* espaçamento NO item (translateX -50% cai na emenda) */
  border-radius: 50%;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--texto) 8%, transparent), var(--elev-1);  /* ring sutil + acabamento */
}
.lp-brand img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(1); opacity: 0.72;
  transition: filter var(--tr), opacity var(--tr);
}
.lp-brand:hover img { filter: none; opacity: 1; }   /* cor sutil no hover */
@media (max-width: 599px) {
  .lp-brand { width: 52px; height: 52px; margin-right: var(--s-6); }   /* menor no mobile */
}
@keyframes lpMarquee { to { transform: translateX(-50%); } }

/* ============================================================================
 * PADRÃO 5 — Glowy Waves no hero (21st.dev, EFEITO de fundo, round 9 A)
 * <canvas> decorativo ATRÁS do conteúdo do hero (texto à esquerda + foto à
 * direita seguem por cima, intactos). lp.js desenha as ondas lendo a cor da
 * marca via var() (--primaria), com guardas de performance (pausa fora da
 * viewport, estático em reduced-motion, estático sem mouse no touch).
 * ============================================================================ */
#topo { position: relative; overflow: hidden; }
#topo > .lp-container { position: relative; z-index: 1; }   /* conteúdo do hero acima do canvas */
.lp-hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;                                 /* atrás do conteúdo, sobre o fundo da seção */
  pointer-events: none;                       /* nunca rouba clique/scroll do conteúdo */
  display: block;
}

/* ============================================================================
 * PADRÃO 6 — Entradas de seção (round 10): direcional (Espelho), text-reveal
 * (punch), stagger (tira de autoridade). TUDO via o `.is-visible` que o IO do
 * lp.js já liga — zero JS novo. Os estados "escondidos" ficam atrás de
 * `html.js` (sem JS → visível) E de `prefers-reduced-motion: no-preference`
 * (reduced-motion → visível direto, sem animar). Easing = --ease do núcleo.
 * ============================================================================ */

/* (A) ESPELHO: dor desliza da esquerda, resposta desliza da direita. O row fica
   sempre visível; quem entra são as duas colunas. Stagger por par via --rd (lp.js). */
.lp-mirror__row.lp-reveal { opacity: 1; transform: none; }   /* a entrada é dos filhos, não do row */

@media (prefers-reduced-motion: no-preference) {
  html.js .lp-mirror__pain,
  html.js .lp-mirror__answer {
    opacity: 0;
    transition: opacity 0.6s var(--ease) var(--rd, 0ms), transform 0.6s var(--ease) var(--rd, 0ms);
  }
  html.js .lp-mirror__pain   { transform: translateX(-26px); }
  html.js .lp-mirror__answer { transform: translateX(26px); }
  .lp-mirror__row.is-visible .lp-mirror__pain,
  .lp-mirror__row.is-visible .lp-mirror__answer { opacity: 1; transform: none; }

  /* (B) MECANISMO punch: text-reveal — fade + leve blur ao entrar. */
  html.js .lp-punch {
    filter: blur(9px);
    transition: opacity 0.8s var(--ease) var(--rd, 0ms),
                transform 0.8s var(--ease) var(--rd, 0ms),
                filter 0.8s var(--ease) var(--rd, 0ms);
  }
  html.js .lp-punch.is-visible { filter: blur(0); }   /* round 12 A: espec. ≥ a do blur (html.js) + vem depois → o blur zera de fato */

  /* (C) HISTÓRIA tira de autoridade: 4 selos em stagger fade-up. */
  .lp-creds.lp-reveal { transform: none; }                 /* container só faz fade; o movimento é dos selos */
  html.js .lp-creds__item {
    opacity: 0; transform: translateY(12px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  }
  .lp-creds.is-visible .lp-creds__item { opacity: 1; transform: none; }
  .lp-creds.is-visible .lp-creds__item:nth-child(1) { transition-delay: 0.04s; }
  .lp-creds.is-visible .lp-creds__item:nth-child(2) { transition-delay: 0.14s; }
  .lp-creds.is-visible .lp-creds__item:nth-child(3) { transition-delay: 0.24s; }
  .lp-creds.is-visible .lp-creds__item:nth-child(4) { transition-delay: 0.34s; }
}

/* ============================================================================
 * PADRÃO 7 · MOTION FOOTER (round 20 F2). Footer cinematográfico VANILLA (sem
 * GSAP/lib): (a) grid de linhas, (b) aurora roxa respirando, (c) "WMD" gigante ao
 * fundo, botão MAGNÉTICO (lp.js seta o transform inline), marquee fino de valores
 * e voltar-ao-topo. Tudo re-tokenizado (cor/raio/espaço/easing via var() do núcleo).
 * Fundo escuro = --fundo-inverso (.lp-section--inverse herda cor de texto clara).
 * ============================================================================ */
.lp-mfooter { position: relative; overflow: hidden; padding-block: var(--s-8); text-align: center; }
/* (a) grid de linhas sutil, esmaecido nas bordas */
.lp-mfooter__grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(color-mix(in srgb, var(--fundo-card) 6%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--fundo-card) 6%, transparent) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(circle at 50% 38%, #000, transparent 78%);
          mask-image: radial-gradient(circle at 50% 38%, #000, transparent 78%);
}
/* (b) aurora roxa difusa respirando */
.lp-mfooter__aurora {
  position: absolute; left: 50%; top: 34%; z-index: 0; pointer-events: none;
  width: 80vw; max-width: 880px; aspect-ratio: 1 / 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--primaria) 52%, transparent), transparent 70%);
  filter: blur(64px); opacity: 0.42;
}
@media (prefers-reduced-motion: no-preference) {
  .lp-mfooter__aurora { animation: lpAurora 9s ease-in-out infinite alternate; }
}
@keyframes lpAurora {
  from { opacity: 0.30; transform: translate(-50%, -50%) scale(0.9); }
  to   { opacity: 0.58; transform: translate(-50%, -50%) scale(1.12); }
}
/* (c) "WMD" gigante ao fundo (contorno roxo sutil, atrás do conteúdo) */
.lp-mfooter__giant {
  position: absolute; left: 50%; top: 40%; z-index: 0; pointer-events: none;
  transform: translate(-50%, -50%);
  font-family: var(--font-headline); font-weight: 800;
  font-size: 22vw; line-height: 1; letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--primaria) 28%, transparent);
  white-space: nowrap; user-select: none;
}
.lp-mfooter__inner { position: relative; z-index: 1; }
.lp-mfooter__cta { margin-top: var(--s-5); display: flex; justify-content: center; }
/* botão MAGNÉTICO: o lp.js seta o transform inline; sem JS / reduced-motion fica parado */
.lp-magnetic { will-change: transform; transition: transform 0.25s var(--ease); }
.lp-magnetic__in { display: inline-block; transition: transform 0.25s var(--ease); }
/* marquee fino de valores WMD */
.lp-mfooter__marquee {
  position: relative; z-index: 1; margin-top: var(--s-8); overflow: hidden;
  border-top: 1px solid color-mix(in srgb, var(--fundo-card) 12%, transparent);
  padding-top: var(--s-5);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.lp-mfooter__mqtrack { display: flex; align-items: center; width: max-content; animation: lpMarquee 36s linear infinite; }
.lp-mfooter__val {
  font-family: var(--font-headline); font-weight: 600;
  font-size: var(--fs-meta); letter-spacing: 0.04em; white-space: nowrap;
  color: color-mix(in srgb, var(--fundo-card) 60%, transparent);
}
.lp-mfooter__sep { margin: 0 var(--s-5); color: var(--primaria); font-size: var(--fs-meta); }
/* voltar ao topo */
.lp-mfooter__top {
  position: relative; z-index: 1;
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; margin-top: var(--s-6);
  border-radius: var(--r-pill); color: var(--fundo-card);
  border: 1px solid color-mix(in srgb, var(--fundo-card) 24%, transparent);
  background: color-mix(in srgb, var(--fundo-card) 5%, transparent);
  transition: transform var(--tr), background var(--tr), border-color var(--tr);
}
.lp-mfooter__top:hover { background: color-mix(in srgb, var(--primaria) 26%, transparent); border-color: var(--primaria); }
.lp-mfooter__top svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: no-preference) { .lp-mfooter__top:hover { transform: translateY(-3px); } }

/* ============================================================================
 * PADRÃO 8 · CARROSSEL GLASS DIAGONAL do relatório (round 22 → 23 CLARO). Pilha de
 * 5 cards de vidro frosted (branco translúcido + backdrop-blur) tombados -9°,
 * escalonados na diagonal down-right, SEM painel escuro (fica no fundo claro da
 * Prova). Cada card = uma seção REAL do relatório (Studio Aurora), preenchendo
 * o card uniforme ancorada no topo (object-fit: cover). A profundidade vem de um overlay branco
 * (.lp-gcard__frost) que cresce com a distância (p0=0 … p4=.75). Auto-avança 2.6s
 * (lp.js §10), hover pausa, clique adianta. reduced-motion/touch → estático na
 * frente. Re-tokenizado (cor/raio/easing via var() do núcleo).
 * ============================================================================ */
.lp-relglass { margin-inline: auto; max-width: 760px; }
.lp-relglass__stage { position: relative; width: min(560px, 88vw); height: 660px; margin: 0 auto; }
.lp-gcard {
  position: absolute; top: 30px; left: 30px;
  width: 340px; height: 484px;
  border-radius: var(--r-lg); overflow: hidden; cursor: pointer;
  background: color-mix(in srgb, var(--fundo-card) 62%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid color-mix(in srgb, var(--fundo-card) 80%, transparent);
  box-shadow: 0 30px 60px -22px color-mix(in srgb, var(--texto) 38%, transparent),
              inset 0 1px 1px color-mix(in srgb, var(--fundo-card) 70%, transparent);
  transition: transform 0.9s var(--ease);
}
.lp-gcard img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center; padding: 0; display: block;
}
.lp-gcard__frost {                               /* overlay branco que cresce com a profundidade */
  position: absolute; inset: 0; pointer-events: none;
  background: color-mix(in srgb, var(--fundo) 0%, transparent);
  transition: background 0.9s var(--ease);
}
/* posições da pilha (diagonal down-right, todas tombadas -9°); profundidade pelo frost */
.lp-gcard.is-p0 { transform: rotate(-9deg) translate(0, 0)         scale(1);   z-index: 50; }
.lp-gcard.is-p1 { transform: rotate(-9deg) translate(46px, 34px)   scale(.95); z-index: 40; }
.lp-gcard.is-p2 { transform: rotate(-9deg) translate(92px, 66px)   scale(.90); z-index: 30; }
.lp-gcard.is-p3 { transform: rotate(-9deg) translate(138px, 98px)  scale(.85); z-index: 20; }
.lp-gcard.is-p4 { transform: rotate(-9deg) translate(184px, 130px) scale(.80); z-index: 10; }
.lp-gcard.is-p1 .lp-gcard__frost { background: color-mix(in srgb, var(--fundo) 40%, transparent); }
.lp-gcard.is-p2 .lp-gcard__frost { background: color-mix(in srgb, var(--fundo) 56%, transparent); }
.lp-gcard.is-p3 .lp-gcard__frost { background: color-mix(in srgb, var(--fundo) 67%, transparent); }
.lp-gcard.is-p4 .lp-gcard__frost { background: color-mix(in srgb, var(--fundo) 75%, transparent); }
.lp-relglass__badge {
  position: absolute; top: 22px; left: 26px; z-index: 60;
  transform: rotate(-9deg); transform-origin: left top; pointer-events: none;
  font-family: var(--font-headline); font-weight: 700;
  font-size: var(--fs-micro); letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--fundo-card);
  background: color-mix(in srgb, var(--primaria) 92%, transparent);
  padding: 5px 11px; border-radius: var(--r-pill);
  box-shadow: var(--elev-1);
}
.lp-relglass__note { margin-top: var(--s-6); text-align: center; font-style: italic; font-size: var(--fs-meta); color: var(--texto-muted); }
.lp-relglass__hint { margin-top: var(--s-2); text-align: center; font-size: var(--fs-micro); color: var(--texto-dim); }
@media (max-width: 600px) {
  .lp-relglass__stage { transform: scale(0.62); transform-origin: top center; height: 440px; }
  .lp-relglass__badge { top: 20px; left: 22px; }
}

/* ============================================================================
 * Reduced-motion: mata as animações (web.css já cobre .lp-reveal; aqui hero +
 * glow card + marquee). O canvas vira quadro estático pelo próprio lp.js.
 * ============================================================================ */
@media (prefers-reduced-motion: reduce) {
  .lp-hero-in > * { opacity: 1; animation: none; }
  .lp-spot::before, .lp-spot::after { display: none; }   /* glow card off (fica só borda/sombra no hover, sem brilho que segue) */
  .lp-reveal { transition-delay: 0ms; }
  .lp-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; gap: var(--s-5) 0; }  /* vira grade estática */
  .lp-marquee__track .lp-brand[aria-hidden="true"] { display: none; }  /* round 14: só os 11 reais (esconde as 3 cópias do loop) */
  .lp-marquee { -webkit-mask-image: none; mask-image: none; }
  .lp-mfooter__mqtrack { animation: none; }              /* round 20 F2: marquee parado */
  .lp-mfooter__marquee { -webkit-mask-image: none; mask-image: none; }
  .lp-gcard { transition: none; }                        /* round 22: carrossel glass estático (lp.js não auto-avança) */
}

/* =============================================================================
 * Banner de consentimento LGPD — injetado por lp.js SÓ quando GTM_ID está preenchido.
 * Faixa discreta no rodapé (não parede). Tokens da marca; fallback nos incertos.
 * ============================================================================= */
.lp-consent {
  position: fixed;
  left: var(--s-4); right: var(--s-4); bottom: var(--s-4);
  z-index: 120;
  max-width: 720px; margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: var(--s-3) var(--s-5);
  padding: var(--s-4) var(--s-5);
  background: var(--fundo-card);
  border: 1px solid color-mix(in srgb, var(--primaria) 45%, var(--borda));
  border-radius: var(--r-lg, 14px);
  box-shadow: var(--elev-2, 0 12px 40px rgba(0, 0, 0, .18));
  transform: translateY(140%); opacity: 0;
  transition: transform .4s var(--ease, cubic-bezier(.22, 1, .36, 1)), opacity .4s;
}
.lp-consent.is-in { transform: translateY(0); opacity: 1; }
.lp-consent__txt {
  margin: 0; flex: 1 1 280px;
  font-size: var(--fs-meta, .8rem); line-height: 1.5; color: var(--texto);
}
.lp-consent__link { color: var(--primaria); text-decoration: underline; }
.lp-consent__acts { display: flex; gap: var(--s-2); flex-shrink: 0; }
/* Aceitar e Recusar com o MESMO tamanho/peso (exigência ANPD, sem dark pattern):
   mesma caixa, mesma fonte, mesmo contorno. Nenhum dos dois é visualmente privilegiado. */
.lp-consent__btn {
  font: inherit; font-weight: 600; font-size: var(--fs-meta, .8rem);
  min-width: 108px; padding: var(--s-2) var(--s-4);
  border-radius: var(--r-pill, 999px);
  border: 1px solid var(--primaria); background: transparent; color: var(--primaria);
  cursor: pointer; transition: background .2s, color .2s;
}
.lp-consent__btn:hover { background: color-mix(in srgb, var(--primaria) 12%, transparent); }
.lp-consent__btn:focus-visible { outline: 2px solid var(--primaria); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .lp-consent { transition: none; } }
@media (max-width: 560px) {
  .lp-consent { left: var(--s-3); right: var(--s-3); bottom: var(--s-3); padding: var(--s-3) var(--s-4); }
  .lp-consent__acts { width: 100%; }
  .lp-consent__btn { flex: 1; }
}

/* =============================================================================
 * Páginas legais (privacidade.html / termos.html) — documento leve na cascata da LP.
 * ============================================================================= */
.lp-legal-head { border-bottom: 1px solid var(--borda); padding-block: var(--s-4); }
.lp-legal-brand { font-size: 1.1rem; font-weight: 700; color: var(--texto); text-decoration: none; }
.lp-legal-brand strong { color: var(--primaria); }
.lp-legal { padding-block: var(--s-8) var(--s-7); }
.lp-legal h1 { font-size: var(--fs-display); margin-bottom: var(--s-2); }
.lp-legal__meta { font-size: var(--fs-meta); color: var(--texto-muted); margin-bottom: var(--s-6); }
.lp-legal h2 { font-size: clamp(1.1rem, 2vw, 1.35rem); margin-top: var(--s-6); margin-bottom: var(--s-3); }
.lp-legal p, .lp-legal li { font-size: var(--fs-corpo); line-height: 1.7; color: var(--texto); }
.lp-legal p { margin-bottom: var(--s-3); }
.lp-legal ul { padding-left: var(--s-5); display: grid; gap: var(--s-2); margin-block: var(--s-3); }
.lp-legal a { color: var(--primaria); text-decoration: underline; }
.lp-legal strong { color: var(--texto); }

/* Linha discreta de links legais no rodapé (index + páginas legais). */
.lp-footer__legal { font-size: var(--fs-meta); }
.lp-footer__legal a { color: var(--texto-muted); text-decoration: none; }
.lp-footer__legal a:hover { color: var(--primaria); text-decoration: underline; }
.lp-footer__legal a[aria-current="page"] { color: var(--texto); font-weight: 600; }
.lp-footer__legal span { margin: 0 var(--s-2); color: var(--texto-muted); }
