/* =====================================================================
   LP · /lps · "Páginas que o algoritmo e os agentes entendem"
   ---------------------------------------------------------------------
   Folha ENXUTA e auto-contida (não carrega o styles.css de 55KB da home).
   Consome tokens.css (../tokens.css) como fonte da identidade de marca.
   Meta: Lighthouse 100 em Performance/A11y/SEO/Best Practices.
   Regra do ouro: ouro só em prova/resultado/CTA, nunca como fundo.
   ===================================================================== */

/* ---------- Fonts (mesmo subset self-hosted do site) ---------- */
@font-face {
  font-family: "Sora"; font-style: normal; font-weight: 600;
  font-display: swap; src: url("../assets/fonts/sora-600.woff2") format("woff2");
}
@font-face {
  font-family: "Sora"; font-style: normal; font-weight: 700;
  font-display: swap; src: url("../assets/fonts/sora-700.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("../assets/fonts/plusjakartasans-400.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500;
  font-display: swap; src: url("../assets/fonts/plusjakartasans-500.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600;
  font-display: swap; src: url("../assets/fonts/plusjakartasans-600.woff2") format("woff2");
}
@font-face {
  font-family: "Caveat"; font-style: normal; font-weight: 600;
  font-display: swap; src: url("../assets/fonts/caveat-600.woff2") format("woff2");
}

/* ---------- Reset enxuto ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-soft); text-underline-offset: 3px; }
a:hover { color: var(--gold); }

/* Foco visível e consistente (acessibilidade) */
:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Pular para o conteúdo (teclado / leitores de tela) */
.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--gold); color: #0B0E14; font-weight: 600;
  padding: .65rem 1rem; border-radius: 8px; z-index: 100;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1100px; margin-inline: auto; padding-inline: 1.5rem; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2rem, 5vw, 3rem); }

/* Glow ambiente clipado (sem overflow) */
.glow-layer { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.ambient-glow {
  position: absolute; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  border-radius: 50%; filter: blur(90px); opacity: .14;
}
.glow-a { top: -12vw; right: -8vw; background: radial-gradient(circle, var(--purple), transparent 70%); }
.glow-b { bottom: -16vw; left: -10vw; background: radial-gradient(circle, var(--gold), transparent 70%); opacity: .08; }

/* ---------- Tipografia ---------- */
.eyebrow {
  font-family: var(--font-hand); font-weight: 600;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: var(--gold-soft); letter-spacing: .01em;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); font-weight: 600; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--ink); max-width: 60ch; }
.muted { color: var(--text-secondary); }
.gold { color: var(--gold-soft); }
code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: .9em; background: var(--bg-elevated-2); padding: .1em .4em;
  border-radius: 5px; color: var(--gold-soft);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg-base) 82%, transparent);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-weight: 700; color: var(--text-primary); text-decoration: none; }
.brand:hover { color: var(--text-primary); }
.brand svg { width: 26px; height: 26px; }
.header-cta { font-size: .92rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: 12px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--gold); color: #0B0E14;
  box-shadow: 0 6px 24px -8px var(--gold-dim);
}
.btn-primary:hover { background: var(--gold-soft); color: #0B0E14; box-shadow: 0 10px 32px -8px var(--gold-dim); }
.btn-ghost { background: var(--bg-elevated); color: var(--text-primary); border-color: var(--border); }
.btn-ghost:hover { color: var(--text-primary); border-color: var(--border-strong); }
.btn-lg { font-size: 1.08rem; padding: 1rem 2rem; }

/* ---------- Hero (duas colunas: copy + arte animada) ---------- */
.hero {
  padding-block: clamp(3rem, 9vw, 6rem) clamp(2.5rem, 6vw, 4rem);
  display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  grid-template-columns: 1.05fr .95fr;
}
.hero-copy { text-align: left; }
.hero h1 { margin: .6rem 0 1.1rem; max-width: 14ch; }
.hero .lead { margin: 0 0 2rem; text-align: left; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: flex-start; }
.hero-trust { margin-top: 1.6rem; font-size: .9rem; color: var(--text-tertiary); }

/* Arte some de "linha" e centraliza no mobile */
.hero-art { display: grid; place-items: center; }
.signal-loop { width: 100%; max-width: 360px; height: auto; overflow: visible; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { text-align: center; }
  .hero h1 { margin-inline: auto; }
  .hero .lead { margin-inline: auto; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-art { order: -1; }            /* arte em cima no mobile */
  .signal-loop { max-width: 260px; }
}

/* ---------- Barra de prova (esta página é a amostra) ---------- */
.proofbar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
}
.proofbar-cap { text-align: center; margin-bottom: 1.25rem; }
.proof-cell { background: var(--bg-elevated); padding: 1.4rem 1rem; text-align: center; }
.proof-num { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; color: var(--gold-soft); line-height: 1; }
.proof-label { display: block; margin-top: .45rem; font-size: .82rem; color: var(--text-secondary); }

/* ---------- Ferramenta de comparação PageSpeed (ao vivo) ---------- */
.ps-tool { max-width: 760px; margin: 1.5rem auto 0; }
.ps-tool-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.ps-tool-form input {
  flex: 1; min-width: 200px;
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 12px;
  padding: .8rem 1rem; color: var(--text-primary); font-family: var(--font-body); font-size: 1rem;
}
.ps-tool-form input:focus { outline: none; border-color: var(--border-strong); }
.ps-tool-form .btn-primary { white-space: nowrap; }
.ps-tool-form .btn-primary[disabled] { opacity: .65; cursor: progress; }
.ps-tool-hint { text-align: center; font-size: .8rem; margin-top: .6rem; }
.ps-error { text-align: center; color: var(--danger-soft); font-size: .88rem; margin-top: .6rem; }

.ps-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.4rem; }
@media (max-width: 620px) { .ps-compare { grid-template-columns: 1fr; } }
.ps-col {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: 16px; padding: 1.3rem;
}
.ps-col--ours { border-color: var(--border-strong); }
.ps-col-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--text-primary); }
.ps-col-url { font-size: .8rem; color: var(--text-secondary); word-break: break-all; margin-top: .15rem; margin-bottom: 1rem; }
.ps-col-note { font-size: .78rem; margin-top: .8rem; }

.ps-rings { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.ps-ring { display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center; }
.ps-ring-circle {
  --ring: var(--text-tertiary); --pct: 0;
  position: relative; width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  color: var(--text-primary); font-variant-numeric: tabular-nums;
}
.ps-ring-circle::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(var(--ring) calc(var(--pct) * 1%), rgba(244,241,232,.12) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent 70%, #000 71%);
          mask: radial-gradient(farthest-side, transparent 70%, #000 71%);
}
.ps-ring-label { font-size: .74rem; color: var(--text-secondary); line-height: 1.25; }
.ps-ring--good .ps-ring-circle { --ring: var(--success-soft); }
.ps-ring--avg .ps-ring-circle { --ring: var(--warning-soft); }
.ps-ring--poor .ps-ring-circle { --ring: var(--danger-soft); }
.ps-ring--na .ps-ring-circle { --ring: var(--border); color: var(--text-tertiary); }

.ps-cwv { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.ps-metric {
  flex: 1; min-width: 92px; display: flex; flex-direction: column; gap: .15rem;
  padding: .55rem .7rem; background: var(--bg-elevated-2); border-left: 3px solid var(--border);
  border-radius: 8px;
}
.ps-metric--good { border-left-color: var(--success-soft); }
.ps-metric--needs-improvement { border-left-color: var(--warning-soft); }
.ps-metric--poor { border-left-color: var(--danger-soft); }
.ps-metric-label { font-size: .68rem; letter-spacing: .04em; color: var(--text-tertiary); }
.ps-metric-value { font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--text-primary); font-variant-numeric: tabular-nums; }

.ps-loading { display: flex; align-items: center; justify-content: center; gap: .6rem; font-size: .85rem; color: var(--text-secondary); padding: 1rem 0; }
.ps-spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--border-strong); border-top-color: var(--gold-soft);
  animation: ps-spin .7s linear infinite;
}
@keyframes ps-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ps-spinner { animation: none; } }

.ps-verdict {
  max-width: 760px; margin: 1.2rem auto 0; text-align: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: var(--text-primary); line-height: 1.4;
}
.ps-verdict .gold { color: var(--gold-soft); }

/* ---------- Grid de pilares / entregas ---------- */
.grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: 16px; padding: 1.6rem;
  transition: transform .18s var(--ease), border-color .18s var(--ease);
}
.card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.card-icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1rem;
  border-radius: 12px; background: var(--bg-elevated-2); border: 1px solid var(--border);
  color: var(--purple); transition: color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.card-icon svg { width: 22px; height: 22px; }
.card:hover .card-icon { color: var(--gold-soft); border-color: var(--border-strong); transform: scale(1.06); }
.card h3 { margin-bottom: .5rem; }
.card-tag {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--purple);
  border: 1px solid var(--border); border-radius: 999px; padding: .2rem .6rem; margin-bottom: .9rem;
}
.card p { color: var(--text-secondary); font-size: .96rem; }

/* ---------- Passos ---------- */
.steps { counter-reset: step; position: relative; display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
/* Linha que liga os passos (some no mobile empilhado). Desenha-se ao entrar na tela. */
.steps-line {
  position: absolute; top: 2.6rem; left: 12%; right: 12%; height: 2px; z-index: 0;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 8px, transparent 8px 16px);
  transform: scaleX(1); transform-origin: left center;
}
.steps > .step { position: relative; z-index: 1; }
@media (max-width: 760px) { .steps-line { display: none; } }
.step { position: relative; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 16px; padding: 1.6rem; }
.step-num {
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  color: #0B0E14; background: var(--gold); width: 2rem; height: 2rem;
  border-radius: 50%; display: grid; place-items: center; margin-bottom: .9rem;
}
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--text-secondary); font-size: .95rem; }

/* ---------- FAQ (details/summary, sem JS, acessível) ---------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--bg-elevated); margin-bottom: .8rem; overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 1.3rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
/* "+" que gira 45° virando "×" ao abrir (rotação pura = animável) */
.faq summary::after { content: "+"; color: var(--gold-soft); font-size: 1.4rem; line-height: 1; flex: none; transition: transform .25s var(--ease), color .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover::after { color: var(--gold); }
.faq details > p { padding: 0 1.3rem 1.2rem; color: var(--text-secondary); }
/* Abre/fecha com altura animada onde houver suporte; senão, nativo instantâneo */
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) {
    :root { interpolate-size: allow-keywords; }
    .faq details::details-content {
      height: 0; overflow: clip;
      transition: height .3s var(--ease), content-visibility .3s allow-discrete;
    }
    .faq details[open]::details-content { height: auto; }
  }
}

/* ---------- Formulário / CTA final ---------- */
.cta-wrap {
  background: var(--bg-elevated); border: 1px solid var(--border-strong);
  border-radius: 24px; padding: clamp(1.6rem, 4vw, 2.6rem);
  max-width: 720px; margin-inline: auto;
}
.cta-wrap h2 { text-align: center; }
.cta-wrap > .lead { margin: .8rem auto 1.8rem; text-align: center; }
.form-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 500; color: var(--text-secondary); }
.field label .req { color: var(--gold-soft); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--text-primary);
  background: var(--bg-elevated-2); border: 1px solid var(--border);
  border-radius: 10px; padding: .8rem .9rem; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--border-strong);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.field textarea { resize: vertical; min-height: 92px; }
.form-submit { grid-column: 1 / -1; }
.form-submit .btn { width: 100%; }
.form-note { grid-column: 1 / -1; text-align: center; font-size: .82rem; color: var(--text-tertiary); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-block: 2.5rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.footer-inner p { color: var(--text-tertiary); font-size: .9rem; }
.footer-motto { font-family: var(--font-hand); font-size: 1.15rem; color: var(--gold-soft); }

/* ---------- .reveal: marcador neutro ----------
   Conteúdo é sempre visível por padrão, nada do que importa depende de JS
   ou animação pra aparecer (acessibilidade + robustez). A classe fica só
   como gancho semântico, sem esconder nada. */

/* ---------- Navegação do header ---------- */
.header-nav { display: flex; gap: 1.4rem; margin-left: auto; margin-right: 1.5rem; }
.header-nav a {
  color: var(--text-secondary); text-decoration: none; font-size: .95rem; font-weight: 500;
  padding: .2rem 0; border-bottom: 1px solid transparent; transition: color .15s var(--ease), border-color .15s var(--ease);
}
.header-nav a:hover { color: var(--text-primary); border-color: var(--border-strong); }

/* ---------- Vitrine / Trabalhos ---------- */
.lp-filter { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.6rem 0 2rem; }
.chip {
  font-family: var(--font-body); font-size: .9rem; font-weight: 500; cursor: pointer;
  color: var(--text-secondary); background: var(--bg-elevated); border: 1px solid var(--border);
  padding: .5rem 1rem; border-radius: 999px; transition: color .15s var(--ease), border-color .15s var(--ease), background .15s var(--ease);
}
.chip:hover { color: var(--text-primary); border-color: var(--border-strong); }
.chip.is-active { color: #0B0E14; background: var(--gold); border-color: var(--gold); }

.lp-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 1.4rem; grid-template-columns: repeat(2, 1fr); /* no máximo 2 por linha */
}
.lp-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 16px;
  transition: transform .18s var(--ease), border-color .18s var(--ease);
}
.lp-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.lp-card[hidden] { display: none; }

.lp-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-elevated-2); position: relative; cursor: pointer; }
.lp-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.lp-card:hover .lp-thumb img { transform: scale(1.04); }
/* Pílula "Ver por dentro" que aparece no hover/focus */
.lp-thumb-hint {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.92);
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .9rem; font-weight: 600; color: #0B0E14; background: var(--gold);
  padding: .55rem 1.1rem; border-radius: 999px; box-shadow: 0 8px 24px -8px rgba(0,0,0,.6);
  opacity: 0; transition: opacity .2s var(--ease), transform .2s var(--ease); pointer-events: none;
}
.lp-thumb-hint::before { content: "▶"; font-size: .7em; }
.lp-card:hover .lp-thumb-hint,
.lp-thumb:focus-visible .lp-thumb-hint { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* Placeholder de prévia (mini janela de navegador) */
.lp-thumb--ph {
  display: grid; place-items: center;
  background:
    radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--purple) 32%, transparent), transparent 55%),
    radial-gradient(120% 120% at 100% 100%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 55%),
    var(--bg-elevated-2);
}
.lp-thumb--ph::before {
  content: attr(data-label);
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  color: var(--text-primary); text-align: center; padding: 0 1rem; opacity: .85;
}
.lp-thumb--ph .lp-dots { position: absolute; top: .7rem; left: .8rem; display: flex; gap: .35rem; }
.lp-thumb--ph .lp-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }

.lp-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; position: relative; }
.lp-badge {
  position: absolute; top: -.85rem; right: 1.1rem;
  font-size: .68rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: var(--warning-soft); background: var(--bg-elevated-2); border: 1px solid var(--border);
  padding: .2rem .55rem; border-radius: 999px;
}
.lp-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag { font-size: .72rem; font-weight: 600; color: var(--purple); border: 1px solid var(--border); border-radius: 999px; padding: .15rem .55rem; }
.lp-body h3 { font-size: 1.15rem; }
.lp-body > p { color: var(--text-secondary); font-size: .93rem; margin: 0; }
.lp-meta { margin-top: auto; padding-top: .6rem; display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.lp-result { font-size: .8rem; font-weight: 600; color: var(--gold-soft); }
.lp-live { font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap; }

/* Faixa de notas (Lighthouse + navegação agêntica) */
.lp-scores { list-style: none; display: flex; flex-wrap: wrap; gap: .65rem; padding: .2rem 0 0; margin: .1rem 0 0; }
.score { display: flex; flex-direction: column; align-items: center; gap: .25rem; }
/* --p é registrado (@property no fim do arquivo) p/ poder animar dentro do gradiente */
.score-ring {
  --v: 100; --c: var(--success-soft); --p: var(--v);
  position: relative; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--bg-elevated-2) 0);
}
.score-ring::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--bg-elevated); }
.score-ring span { position: relative; font-size: .72rem; font-weight: 700; color: var(--c); }
.score-pill {
  height: 38px; box-sizing: border-box; display: inline-flex; align-items: center; gap: .3rem;
  padding: 0 .6rem; border-radius: 999px; font-size: .74rem; font-weight: 700;
  color: var(--success-soft); background: color-mix(in srgb, var(--success-soft) 15%, transparent);
}
.score-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--success-soft); }
.score-cap { font-size: .6rem; color: var(--text-tertiary); text-align: center; line-height: 1.1; max-width: 6ch; }

/* Card "próximo case" */
.lp-card--cta { background: transparent; border-style: dashed; }
.lp-card--cta a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
  text-align: center; height: 100%; min-height: 220px; padding: 1.5rem; text-decoration: none; color: var(--text-primary);
}
.lp-card--cta strong { font-family: var(--font-display); font-size: 1.05rem; }
.lp-cta-plus { font-size: 1.8rem; color: var(--gold-soft); line-height: 1; }
.lp-card--cta:hover { border-color: var(--gold); transform: translateY(-3px); }

/* ---------- Comparativo ---------- */
.vs-table { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; max-width: 880px; margin-inline: auto; }
.vs-row { display: grid; grid-template-columns: 1.1fr 1.3fr 1.4fr; }
.vs-row > span { padding: .95rem 1.1rem; border-bottom: 1px solid var(--border); font-size: .94rem; }
.vs-row:last-child > span { border-bottom: none; }
.vs-head > span { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--text-secondary); background: var(--bg-elevated-2); }
.vs-head .vs-ours { color: var(--gold-soft); }
.vs-row > span:first-child { font-weight: 600; color: var(--text-primary); background: var(--bg-elevated); }
.vs-bad { color: var(--text-tertiary); }
.vs-good { color: var(--text-primary); }
.vs-good::before { content: "✓ "; color: var(--success-soft); font-weight: 700; }

/* ---------- Modal de pré-visualização (iframe) ---------- */
.lp-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: clamp(.5rem, 3vw, 2rem); }
.lp-modal[hidden] { display: none; }
.lp-modal__backdrop { position: absolute; inset: 0; background: rgba(5, 7, 11, .72); backdrop-filter: blur(6px); }
.lp-modal__panel {
  position: relative; width: min(1100px, 100%); height: min(86vh, 900px);
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--bg-elevated); border: 1px solid var(--border-strong); border-radius: 16px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.7);
}
.lp-modal__bar {
  display: flex; align-items: center; gap: .9rem; flex: none;
  padding: .7rem 1rem; background: var(--bg-elevated-2); border-bottom: 1px solid var(--border);
}
.lp-modal__dots { display: flex; gap: .4rem; }
.lp-modal__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.lp-modal__name { font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--text-primary); }
.lp-modal__actions { margin-left: auto; display: flex; align-items: center; gap: .9rem; }
.lp-modal__ext { font-size: .88rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.lp-modal__close {
  display: grid; place-items: center; width: 2rem; height: 2rem; flex: none;
  background: var(--bg-elevated); color: var(--text-secondary); border: 1px solid var(--border);
  border-radius: 8px; cursor: pointer; font-size: 1rem; line-height: 1;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.lp-modal__close:hover { color: var(--text-primary); border-color: var(--border-strong); }
.lp-modal__frame { flex: 1; min-height: 0; background: #fff; position: relative; overflow: hidden; }
.lp-modal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
body.lp-modal-open { overflow: hidden; }

/* Skeleton/loader do modal (mata o flash branco) */
.lp-modal__loader {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .9rem;
  background: var(--bg-elevated); color: var(--text-secondary); font-size: .9rem;
}
.lp-modal__loader[hidden] { display: none; }
.lp-modal__spinner {
  width: 40px; height: 40px; border-radius: 50%;
  border: 3px solid var(--bg-elevated-2); border-top-color: var(--gold);
  animation: lp-spin .7s linear infinite;
}
@keyframes lp-spin { to { transform: rotate(360deg); } }

/* ---------- Responsivo ---------- */
@media (max-width: 760px) {
  .lp-grid { grid-template-columns: 1fr; }
  .header-nav { display: none; }
  /* Comparativo vira cartões empilhados */
  .vs-table { border: none; max-width: 480px; }
  .vs-head { display: none; }
  .vs-row { grid-template-columns: 1fr; border: 1px solid var(--border); border-radius: 12px; margin-bottom: .8rem; overflow: hidden; }
  .vs-row > span { border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; gap: 1rem; }
  .vs-row > span:not(:first-child)::before { content: attr(data-th); color: var(--text-tertiary); font-weight: 600; font-size: .8rem; }
  .vs-row > span:first-child { justify-content: flex-start; font-family: var(--font-display); }
  .vs-good::before { content: "✓ "; }
}
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   MICROINTERAÇÕES · tudo gated em .js-motion (o JS só liga se o usuário
   NÃO pediu menos movimento). Sem JS ou com reduce-motion: estático/visível.
   ===================================================================== */

/* --p registrado p/ animar o preenchimento do conic-gradient dos anéis */
@property --p { syntax: "<number>"; inherits: false; initial-value: 0; }

/* 1) Anéis de nota: preenchem de 0 → valor ao entrar na tela */
.js-motion .lp-card .score-ring { --p: 0; transition: --p 1.1s var(--ease); }
.js-motion .lp-card.in .score-ring { --p: var(--v); }
.js-motion .lp-card .score:nth-child(2) .score-ring { transition-delay: .07s; }
.js-motion .lp-card .score:nth-child(3) .score-ring { transition-delay: .14s; }
.js-motion .lp-card .score:nth-child(4) .score-ring { transition-delay: .21s; }
.js-motion .lp-card .score:nth-child(5) .score-ring { transition-delay: .28s; }

/* 5a) Hero: entrada em stagger na CARGA, via animação CSS (NÃO gated por JS).
   O herói está sempre acima da dobra, então anima on-load, o LCP (o headline)
   pinta cedo e ESTÁVEL em vez de esperar o IntersectionObserver rodar (que no
   mobile estrangulado empurrava o LCP p/ 3-6s). Visual idêntico ao anterior.
   Sob prefers-reduced-motion o guard global (topo) zera a duração → aparece na hora. */
@keyframes lp-hero-copy-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes lp-hero-art-in  { from { opacity: 0; transform: scale(.92); }       to { opacity: 1; transform: none; } }
.js-motion .hero-copy > * { animation: lp-hero-copy-in .6s var(--ease) both; }
.js-motion .hero-copy > *:nth-child(2) { animation-delay: .08s; }
.js-motion .hero-copy > *:nth-child(3) { animation-delay: .16s; }
.js-motion .hero-copy > *:nth-child(4) { animation-delay: .24s; }
.js-motion .hero-copy > *:nth-child(5) { animation-delay: .32s; }
.js-motion .hero-art { animation: lp-hero-art-in .8s var(--ease) .15s both; }

/* Cards da vitrine: fade-up ao entrar */
.js-motion .lp-grid .lp-card { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js-motion .lp-grid .lp-card.in { opacity: 1; transform: none; }

/* 3) Filtro suave, definido DEPOIS do .in p/ vencer no cascade */
.lp-card.is-hiding { opacity: 0; transform: scale(.96); pointer-events: none; }
.js-motion .lp-grid .lp-card.is-hiding { opacity: 0; transform: scale(.96); }

/* 5b) Scrollspy: link da seção atual */
.header-nav a.active { color: var(--text-primary); border-color: var(--border-strong); }

/* 4) Modal: entrada suave do painel */
.js-motion .lp-modal__panel { animation: lp-modal-in .26s var(--ease); }
.js-motion .lp-modal__backdrop { animation: lp-fade-in .26s var(--ease); }
@keyframes lp-modal-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes lp-fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .lp-modal__spinner { animation: none; }
}

/* 6) "Como funciona": a linha se desenha ao entrar */
.js-motion .steps-line { transform: scaleX(0); transition: transform .8s var(--ease); }
.js-motion .steps.in .steps-line { transform: scaleX(1); }

/* 6.5) Coagulação (unifica com a home): desfoque -> nítido, só desktop:
   transição de filter é cara em GPU de celular. As redeclarações de
   transition repetem as originais + filter (shorthand não é aditivo);
   os delays dos nth-child seguem vencendo por especificidade. */
@media (min-width: 900px) {
  /* Herói: coagulação (blur 6px->0) junto da entrada on-load, só troca o
     animation-name (duração/delay/fill vêm da regra base acima). */
  @keyframes lp-hero-copy-in-blur { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
  @keyframes lp-hero-art-in-blur  { from { opacity: 0; transform: scale(.92); filter: blur(6px); }       to { opacity: 1; transform: none; filter: blur(0); } }
  .js-motion .hero-copy > * { animation-name: lp-hero-copy-in-blur; }
  .js-motion .hero-art { animation-name: lp-hero-art-in-blur; }
  /* Abaixo da dobra segue gated por JS (.in), correto: entra ao rolar. */
  .js-motion .grid .card { filter: blur(6px); transition: opacity .5s var(--ease), transform .5s var(--ease), filter .5s var(--ease); }
  .js-motion .lp-grid .lp-card { filter: blur(6px); transition: opacity .5s var(--ease), transform .5s var(--ease), filter .5s var(--ease); }
  .js-motion .ai-answer { filter: blur(6px); transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s var(--ease); }
  .js-motion .grid.in .card,
  .js-motion .lp-grid .lp-card.in,
  .js-motion .ai-answer.in { filter: blur(0); }
}

/* 6.6) Hover-lift do card da vitrine sob js-motion: o `.in { transform:none }`
   vencia o `:hover` no cascade e matava o lift, devolve o lift no estado .in.
   (Com ponteiro fino o tilt 3D via JS assume por inline style.) */
.js-motion .lp-grid .lp-card.in:hover { transform: translateY(-3px); }

/* 7) Comparativo: os ✓ "pipocam" em sequência ao entrar */
.js-motion .vs-good::before { display: inline-block; transform: scale(0); transition: transform .3s var(--ease); }
.js-motion .vs-table.in .vs-good::before { transform: scale(1); }
.js-motion .vs-table.in .vs-row:nth-child(2) .vs-good::before { transition-delay: .05s; }
.js-motion .vs-table.in .vs-row:nth-child(3) .vs-good::before { transition-delay: .11s; }
.js-motion .vs-table.in .vs-row:nth-child(4) .vs-good::before { transition-delay: .17s; }
.js-motion .vs-table.in .vs-row:nth-child(5) .vs-good::before { transition-delay: .23s; }
.js-motion .vs-table.in .vs-row:nth-child(6) .vs-good::before { transition-delay: .29s; }
.js-motion .vs-table.in .vs-row:nth-child(7) .vs-good::before { transition-delay: .35s; }

/* 8) Formulário: check verde no campo válido + botão "Enviando…" */
.field { position: relative; }
.field.is-valid::after {
  content: "✓"; position: absolute; right: .85rem; bottom: .78rem;
  color: var(--success-soft); font-weight: 700; font-size: .95rem; pointer-events: none;
}
.field.is-valid input { padding-right: 2.2rem; }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 20px; height: 20px;
  border-radius: 50%; border: 2px solid rgba(11,14,20,.35); border-top-color: #0B0E14;
  animation: lp-spin .7s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .btn.is-loading::after { animation: none; } }

/* =====================================================================
   VILÃO · cards de "vazamento": acento de alerta no ícone e na tag.
   ===================================================================== */
.card--leak .card-icon { color: var(--warning-soft); border-color: color-mix(in srgb, var(--warning-soft) 28%, var(--border)); }
.card--leak:hover .card-icon { color: var(--warning-soft); transform: scale(1.06); }
.leak-tag { color: var(--warning-soft); border-color: color-mix(in srgb, var(--warning-soft) 40%, var(--border)); }

/* Métrica de resultado de negócio na vitrine (números reais entram via PLACEHOLDER) */
.lp-metric { display: flex; align-items: baseline; gap: .45rem; font-size: .88rem; color: var(--text-secondary); margin: 0; }
.lp-metric strong { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--gold-soft); line-height: 1; }

/* =====================================================================
   HERO ART · diagrama "o sinal que volta" (SVG animado, leve, vetorial)
   Ouro = fonte/CTA/conversão que retorna · Roxo = clique que entra.
   ===================================================================== */
.signal-loop * { transform-box: fill-box; }

/* Trilhos-guia e fluxo */
.signal-loop .rail {
  stroke: color-mix(in srgb, var(--text-primary) 12%, transparent);
  stroke-width: 1.5; fill: none;
}
.signal-loop .flow { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 5 13; }
.signal-loop .flow-in  { stroke: var(--purple);    animation: sl-dash 1.1s linear infinite; }
.signal-loop .flow-out { stroke: var(--gold-soft); animation: sl-dash 1.1s linear infinite; }
@keyframes sl-dash { to { stroke-dashoffset: -18; } }

/* Fonte / algoritmo (topo) */
.signal-loop .src-halo { animation: sl-breathe 3.2s ease-in-out infinite; }
.signal-loop .src-ring {
  fill: none; stroke: var(--gold-soft); stroke-width: 1.5;
  transform-origin: center; opacity: 0;
  animation: sl-ping 3s var(--ease) infinite;
}
.signal-loop .src-ring-2 { animation-delay: 1.5s; }
.signal-loop .src-core {
  fill: var(--gold); transform-origin: center;
  animation: sl-corebeat 3.2s ease-in-out infinite;
}
@keyframes sl-ping { 0% { transform: scale(.55); opacity: .85; } 100% { transform: scale(2); opacity: 0; } }
@keyframes sl-corebeat { 0%,100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@keyframes sl-breathe { 0%,100% { opacity: .55; } 50% { opacity: 1; } }

/* Página / caixa-preta (base) */
.signal-loop .page-box { fill: var(--bg-elevated); stroke: var(--border-strong); stroke-width: 1.5; }
.signal-loop .page-bar { stroke: var(--border); stroke-width: 1.5; }
.signal-loop .page-dot { fill: var(--text-tertiary); }
.signal-loop .page-line { fill: color-mix(in srgb, var(--text-primary) 16%, transparent); }
.signal-loop .page-line-2 { fill: color-mix(in srgb, var(--text-primary) 10%, transparent); }
.signal-loop .page-cta { fill: var(--gold); animation: sl-corebeat 2.6s ease-in-out infinite; }
.signal-loop .page-pulse {
  fill: none; stroke: var(--gold-soft); stroke-width: 2;
  transform-origin: center; opacity: 0;
  animation: sl-convert 3.6s var(--ease) infinite;   /* mesmo ciclo da circulação */
}
/* dispara o pulso ~50% do ciclo = quando o roxo toca a página e o dourado parte */
@keyframes sl-convert {
  0%, 44% { transform: scale(.2); opacity: 0; }
  53% { opacity: .9; }
  62%, 100% { transform: scale(2.6); opacity: 0; }
}

/* Viajantes nos trilhos: movimento via SMIL <animateMotion> (cross-browser).
   Base opacity:0 p/ não "estacionar" no canto antes do SMIL começar (t-out tem begin). */
.signal-loop .traveler { filter: drop-shadow(0 0 5px currentColor); opacity: 0; }
.signal-loop .t-in  { fill: var(--purple);    color: var(--purple); }
.signal-loop .t-out { fill: var(--gold-soft); color: var(--gold-soft); }

/* Estado estático e limpo p/ quem pediu menos movimento */
@media (prefers-reduced-motion: reduce) {
  .signal-loop .flow,
  .signal-loop .traveler,
  .signal-loop .page-pulse,
  .signal-loop .src-ring { display: none; }
}

/* =====================================================================
   SHIMMER · varredura de luz na palavra de destaque
   ===================================================================== */
.shimmer {
  background: linear-gradient(100deg, var(--gold) 32%, #FFF3D6 50%, var(--gold) 68%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: sl-shimmer 5s linear infinite;
}
@keyframes sl-shimmer { to { background-position: -220% 0; } }
@media (prefers-reduced-motion: reduce) { .shimmer { animation: none; } }

/* =====================================================================
   BOTÕES · varredura de brilho no hover + glow pulsante no CTA primário
   ===================================================================== */
.btn-shine { position: relative; overflow: hidden; isolation: isolate; }
.btn-shine::after {
  content: ""; position: absolute; inset: 0 auto 0 -130%; width: 55%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-18deg); pointer-events: none;
  transition: left .6s var(--ease);
}
.btn-shine:hover::after { left: 150%; }
.btn-primary.btn-shine { animation: sl-cta-glow 2.8s ease-in-out infinite; }
@keyframes sl-cta-glow {
  0%,100% { box-shadow: 0 6px 24px -8px var(--gold-dim); }
  50%     { box-shadow: 0 8px 34px -6px var(--gold-dim), 0 0 0 1px var(--border-strong); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-shine::after { display: none; }
  .btn-primary.btn-shine { animation: none; }
}

/* =====================================================================
   BARRA DE PROGRESSO DE LEITURA (topo)
   ===================================================================== */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60;
  pointer-events: none; background: transparent;
}
.scroll-progress > span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  box-shadow: 0 0 12px var(--gold-dim);
}
@media (prefers-reduced-motion: reduce) { .scroll-progress { display: none; } }

/* =====================================================================
   SPOTLIGHT · glow dourado que segue o cursor nos cards (--mx/--my via JS)
   ===================================================================== */
.card, .lp-card { position: relative; }
.card::before, .lp-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  opacity: 0; transition: opacity .3s var(--ease); pointer-events: none; z-index: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%),
    color-mix(in srgb, var(--gold) 13%, transparent), transparent 62%);
}
.card:hover::before, .lp-card:hover::before { opacity: 1; }
.card > *, .lp-card > * { position: relative; z-index: 1; }

/* =====================================================================
   PROOFBAR · varredura contínua sutil (chama o olho p/ "esta é a prova")
   ===================================================================== */
.proofbar { position: relative; }
.proofbar::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(105deg, transparent 40%,
    color-mix(in srgb, var(--gold-soft) 14%, transparent) 50%, transparent 60%);
  background-size: 250% 100%; background-position: 150% 0;
  animation: sl-sweep 5.5s linear infinite;
}
@keyframes sl-sweep { to { background-position: -150% 0; } }
@media (prefers-reduced-motion: reduce) { .proofbar::after { display: none; } }

/* =====================================================================
   POLISH v2 · stagger nos grids, pop dos ícones, coluna vencedora,
   botão flutuante de WhatsApp e título do hero mais firme.
   ===================================================================== */

/* (1) Cards de vilão/entregas entram com fade-up em sequência ao rolar */
.js-motion .grid .card { opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js-motion .grid.in .card { opacity: 1; transform: none; }
.js-motion .grid.in .card:nth-child(2) { transition-delay: .08s; }
.js-motion .grid.in .card:nth-child(3) { transition-delay: .16s; }
.js-motion .grid.in .card:nth-child(4) { transition-delay: .24s; }
.js-motion .grid.in .card:nth-child(5) { transition-delay: .32s; }
.js-motion .grid.in .card:nth-child(6) { transition-delay: .40s; }

/* (2) Ícone "pipoca" quando o card entra (one-shot, sem matar o hover scale) */
.js-motion .grid.in .card-icon { animation: card-icon-pop .55s var(--ease); }
@keyframes card-icon-pop { from { transform: scale(.4); } to { transform: scale(1); } }

/* (3) Comparativo: a coluna "LP Alquimia" fica permanentemente destacada */
.vs-row > span:nth-child(3) { background: color-mix(in srgb, var(--gold) 6%, var(--bg-elevated)); }
.vs-head .vs-ours { background: color-mix(in srgb, var(--gold) 12%, var(--bg-elevated-2)); }
@media (max-width: 760px) {
  /* no empilhado, realça só a célula da Alquimia (a 3ª de cada cartão) */
  .vs-row > span:nth-child(3) { background: color-mix(in srgb, var(--gold) 8%, var(--bg-elevated)); }
}

/* (4) Botão flutuante de WhatsApp */
.wa-fab {
  position: fixed; right: clamp(1rem, 3vw, 1.6rem); bottom: clamp(1rem, 3vw, 1.6rem);
  z-index: 70; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #fff;
  box-shadow: 0 10px 28px -8px rgba(37, 211, 102, .6);
  transition: box-shadow .2s var(--ease), filter .2s var(--ease);
}
.wa-fab svg { width: 28px; height: 28px; fill: currentColor; }
.wa-fab:hover { color: #fff; filter: brightness(1.08); box-shadow: 0 16px 38px -8px rgba(37, 211, 102, .75); }
/* anel pulsante */
.wa-fab::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; pointer-events: none;
  animation: wa-ripple 2.4s var(--ease) infinite;
}
@keyframes wa-ripple { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
/* micro-bounce ocioso (só com movimento liberado) */
.js-motion .wa-fab { animation: wa-bounce 3.6s ease-in-out infinite; }
@keyframes wa-bounce { 0%, 86%, 100% { transform: translateY(0); } 91% { transform: translateY(-7px); } 95% { transform: translateY(-2px); } }
/* rótulo que aparece no hover/foco */
.wa-fab__label {
  position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%) translateX(8px); white-space: nowrap;
  background: var(--bg-elevated); color: var(--text-primary);
  border: 1px solid var(--border-strong); padding: .5rem .85rem; border-radius: 10px;
  font-size: .85rem; font-weight: 600; opacity: 0; pointer-events: none;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .55);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.wa-fab:hover .wa-fab__label, .wa-fab:focus-visible .wa-fab__label { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (prefers-reduced-motion: reduce) {
  .wa-fab::after { display: none; }
  .js-motion .wa-fab { animation: none; }
}

/* (5) Título do hero: tamanho domado na coluna + palavra de destaque inteira */
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); max-width: 16ch; }
.hero h1 .shimmer { white-space: nowrap; }

/* =====================================================================
   ENTREGAS em BENTO · quebra os "6 blocos iguais": destaque grande do
   diferencial (CAPI) + 4 camadas compactas 2×2 + base larga (infra).
   ===================================================================== */
.bento {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

/* Card destaque: ocupa a coluna da esquerda em 2 linhas */
.card--feature {
  grid-row: span 2; display: flex; flex-direction: column;
  border-color: var(--border-strong);
  background:
    linear-gradient(158deg, color-mix(in srgb, var(--gold) 8%, var(--bg-elevated)), var(--bg-elevated) 58%);
}
.card--feature .card-icon { color: var(--gold-soft); border-color: var(--border-strong); }
.card--feature .card-tag { color: var(--gold-soft); border-color: var(--border-strong); }
.card--feature h3 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
.card--feature p { font-size: 1rem; color: var(--ink); }

/* Mini-fluxo vertical "Clique ↓ Venda ↓ Algoritmo" no rodapé do card destaque */
.capi-flow {
  margin-top: auto; padding-top: 1.4rem;
  display: flex; flex-direction: column; align-items: flex-start; gap: .35rem;
}
.capi-chip {
  font-size: .82rem; font-weight: 600; padding: .42rem .8rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-elevated-2); color: var(--text-secondary);
}
.capi-chip--gold { color: #0B0E14; background: var(--gold); border-color: var(--gold); }
.capi-arrow { color: var(--gold-soft); font-weight: 700; font-size: 1rem; line-height: 1; margin-left: 1.1rem; transform: rotate(90deg); }
.js-motion .capi-arrow { animation: capi-pulse 1.7s var(--ease) infinite; }
.js-motion .capi-arrow:last-of-type { animation-delay: .25s; }
@keyframes capi-pulse { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

/* Card base: largo, horizontal (ícone à esquerda, texto à direita) */
.card--wide {
  grid-column: 1 / -1;
  display: flex; align-items: flex-start; gap: 1.2rem; flex-wrap: wrap;
}
.card--wide .card-icon { margin-bottom: 0; flex: none; }
.card--wide-body { display: flex; flex-direction: column; gap: .35rem; flex: 1; min-width: 220px; }
.card--wide-body .card-tag { margin-bottom: .2rem; }
.card--wide-body p { color: var(--text-secondary); font-size: .96rem; }

/* Empilha no mobile (sem spans), volta a ser lista curta */
@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr; }
  .card--feature { grid-row: auto; }
  .card--wide { grid-column: auto; }
}

/* =====================================================================
   POR QUE AGÊNTICA · copy + MOCK de resposta de IA citando a marca.
   Em vez de dizer "você é citável", mostra um agente citando a Alquimia.
   ===================================================================== */
.agentic-split {
  display: grid; gap: clamp(1.6rem, 4vw, 3rem); align-items: center;
  grid-template-columns: 1fr 1fr;
}
.agentic-copy h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: .4rem 0 1rem; }
.engine-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.4rem 0 0; }
.engine-chips li {
  font-size: .8rem; font-weight: 600; color: var(--text-secondary);
  border: 1px solid var(--border); border-radius: 999px; padding: .35rem .85rem;
  background: var(--bg-elevated);
}

.ai-answer {
  margin: 0; background: var(--bg-elevated); border: 1px solid var(--border-strong);
  border-radius: 18px; padding: 1.3rem 1.4rem; position: relative; overflow: hidden;
  box-shadow: 0 26px 64px -34px rgba(0, 0, 0, .8);
}
.ai-answer__bar {
  display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem;
  font-size: .82rem; font-weight: 600; color: var(--text-secondary);
}
.ai-spark { color: var(--gold-soft); }
.ai-live { width: 7px; height: 7px; border-radius: 50%; background: var(--success-soft); margin-left: auto; }
.js-motion .ai-live { animation: ai-blink 1.6s ease-in-out infinite; }
@keyframes ai-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.ai-q {
  font-size: .95rem; color: var(--text-secondary); font-style: italic;
  background: var(--bg-elevated-2); border: 1px solid var(--border);
  border-radius: 12px 12px 12px 4px; padding: .7rem .9rem; margin: 0 0 1.1rem;
}
.ai-a p { font-size: 1.02rem; line-height: 1.55; color: var(--ink); margin: 0; }
.ai-mark {
  color: var(--gold-soft); font-weight: 600; border-radius: 3px; padding: 0 .12em;
  background: linear-gradient(var(--gold-dim), var(--gold-dim)) no-repeat;
  background-size: 0% 100%;
}
.js-motion .ai-answer.in .ai-mark { animation: ai-highlight .7s var(--ease) .55s both; }
@keyframes ai-highlight { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
.ai-cite { color: var(--gold-soft); font-size: .68em; font-weight: 700; vertical-align: super; }
.ai-caret {
  display: inline-block; width: 2px; height: 1.05em; margin-left: 3px;
  vertical-align: text-bottom; background: var(--gold-soft);
}
.js-motion .ai-caret { animation: ai-caret-blink 1s steps(1) infinite; }
@keyframes ai-caret-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.ai-source {
  display: inline-block; margin-top: 1rem; font-size: .76rem; color: var(--text-tertiary);
  border: 1px solid var(--border); border-radius: 8px; padding: .28rem .6rem;
}

/* entrada do card */
.js-motion .ai-answer { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js-motion .ai-answer.in { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .agentic-split { grid-template-columns: 1fr; text-align: center; }
  .engine-chips { justify-content: center; }
  .ai-answer { text-align: left; }
}

/* ============================================================
   SEÇÃO #painel · o diferencial (mock do admin + demonstração)
   ============================================================ */
.admin-hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.4rem;
  align-items: center; margin-top: 2.2rem;
}
.admin-hero-copy h3 {
  font-family: var(--font-display); font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  color: var(--text-primary); margin-bottom: 1rem;
}
.admin-points { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .8rem; }
.admin-points li {
  position: relative; padding-left: 1.5rem; color: var(--text-secondary); font-size: .95rem;
}
.admin-points li::before {
  content: "✦"; position: absolute; left: 0; top: .05rem; color: var(--gold); font-size: .85rem;
}
.admin-points strong { color: var(--text-primary); }

/* Mock do painel: janela com sidebar + gráfico. Puramente ilustrativo. */
.admin-mock {
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0,0,0,.65);
}
.am-bar {
  display: flex; align-items: center; gap: .38rem; padding: .55rem .8rem;
  background: var(--bg-elevated-2); border-bottom: 1px solid var(--border);
}
.am-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.am-bar span { margin-left: .5rem; font-size: .7rem; color: var(--text-tertiary); }
.am-body { display: grid; grid-template-columns: 140px 1fr; min-height: 300px; }
.am-side {
  border-right: 1px solid var(--border); padding: .7rem .55rem;
  display: flex; flex-direction: column; gap: .22rem; background: rgba(0,0,0,.14);
}
.am-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: .34rem .55rem; border-radius: 7px; font-size: .72rem; color: var(--text-secondary);
}
.am-item b {
  background: var(--purple); color: #fff; font-size: .58rem; font-weight: 700;
  padding: .03rem .34rem; border-radius: 999px;
}
.am-item--on { background: rgba(224,168,46,.13); color: var(--gold-soft); font-weight: 600; }
.am-main { padding: .9rem; display: flex; flex-direction: column; gap: .7rem; }
.am-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; }
.am-stat {
  background: var(--bg-elevated-2); border: 1px solid var(--border); border-radius: 10px;
  padding: .5rem .6rem; display: flex; flex-direction: column; gap: .1rem;
}
.am-stat small { font-size: .6rem; color: var(--text-tertiary); }
.am-stat strong { font-size: .92rem; color: var(--text-primary); }
.am-chart {
  flex: 1; min-height: 84px; display: flex; align-items: flex-end; gap: 7%;
  padding: .4rem .5rem; background: var(--bg-elevated-2); border: 1px solid var(--border);
  border-radius: 10px;
}
.am-chart i {
  flex: 1; height: var(--h, 40%); border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, rgba(110,90,174,.95), rgba(110,90,174,.25));
}
.am-chart i.am-hot { background: linear-gradient(180deg, var(--gold), rgba(224,168,46,.25)); }
.am-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: .42rem .6rem; background: var(--bg-elevated-2); border: 1px solid var(--border);
  border-radius: 9px; font-size: .72rem; color: var(--text-secondary);
}
.am-pill { font-style: normal; font-size: .62rem; font-weight: 700; padding: .08rem .5rem; border-radius: 999px; }
.am-warn { background: rgba(232,178,78,.15); color: var(--warning-soft); }
.am-ok { background: rgba(61,214,140,.15); color: var(--success-soft); }

@media (max-width: 880px) {
  .admin-hero { grid-template-columns: 1fr; gap: 1.8rem; }
  .am-body { grid-template-columns: 116px 1fr; min-height: 0; }
}

/* Botão "Ver painel admin" no modal (mesmo tom do link externo, mas botão) */
.lp-modal__admin {
  font: inherit; font-size: .82rem; font-weight: 700; white-space: nowrap;
  color: var(--gold-soft); background: rgba(224,168,46,.12);
  border: 1px solid var(--border-strong); border-radius: 999px;
  padding: .32rem .8rem; cursor: pointer;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.lp-modal__admin:hover { background: rgba(224,168,46,.22); color: var(--text-primary); }
@media (max-width: 560px) {
  .lp-modal__ext { display: none; } /* em tela mínima, prioriza o toggle do painel */
}
@media (max-width: 560px) {
  .lp-modal__name { font-size: .78rem; }
  .lp-modal__bar { gap: .55rem; }
  .lp-modal__admin { font-size: .74rem; padding: .28rem .6rem; }
}

/* ============================================================
   SEÇÃO #arsenal · bancada de elementos (features em produção)
   ============================================================ */
.lab-legend {
  list-style: none; display: flex; flex-wrap: wrap; gap: .55rem 1.4rem;
  padding: 0; margin: 1.6rem 0 0; font-size: .8rem; color: var(--text-secondary);
}
.lab-legend li { display: flex; align-items: center; gap: .45rem; }
.lab-legend i {
  width: 10px; height: 10px; border-radius: 3px; background: var(--elc);
  box-shadow: 0 0 10px color-mix(in srgb, var(--elc) 55%, transparent);
}

.lab { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.6rem; margin-top: 1.4rem; align-items: start; }

/* A bancada: tiles estilo tabela periódica */
.lab-board {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: .55rem;
}
.el {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  gap: .1rem; aspect-ratio: 1 / .92; padding: .5rem .55rem;
  font: inherit; text-align: left; cursor: pointer;
  background: var(--bg-elevated); color: var(--text-secondary);
  border: 1px solid var(--border); border-radius: 12px;
  transition: transform .18s var(--ease), border-color .18s var(--ease),
              box-shadow .18s var(--ease), background .18s var(--ease);
}
.el i { font-style: normal; font-size: .58rem; color: var(--text-tertiary); letter-spacing: .06em; }
.el b {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.1; color: var(--text-primary);
}
.el span { margin-top: auto; font-size: .62rem; line-height: 1.25; }
.el::after {  /* brilho da categoria no canto */
  content: ""; position: absolute; top: .5rem; right: .55rem;
  width: 7px; height: 7px; border-radius: 50%; background: var(--elc);
  box-shadow: 0 0 8px color-mix(in srgb, var(--elc) 60%, transparent);
}
.el:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--elc) 45%, var(--border)); }
.el.is-active {
  background: color-mix(in srgb, var(--elc) 10%, var(--bg-elevated));
  border-color: color-mix(in srgb, var(--elc) 60%, transparent);
  box-shadow: 0 6px 24px -10px color-mix(in srgb, var(--elc) 45%, transparent);
  color: var(--text-primary);
}
.el:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* O frasco de detalhe */
.lab-detail { position: sticky; top: 84px; }
.lab-card {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-left: 3px solid var(--elc); border-radius: 14px;
  padding: 1.3rem 1.4rem; margin-bottom: 1rem;
}
.lab-card .lab-cat {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--elc); margin-bottom: .45rem;
}
.lab-card h3 { font-family: var(--font-display); font-size: 1.18rem; color: var(--text-primary); margin-bottom: .55rem; }
.lab-card p { color: var(--text-secondary); font-size: .93rem; }
.lab-card .lab-where {
  margin-top: .9rem; padding-top: .8rem; border-top: 1px dashed var(--border);
  font-size: .82rem; color: var(--text-tertiary);
}
.lab-card .lab-where a { color: var(--gold-soft); }
.lab-link {
  font: inherit; font-size: inherit; color: var(--gold-soft); background: none; border: none;
  padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px;
}

/* Com JS ativo (html.js-lab), só o card ativo aparece, e ele "materializa" */
html.js-lab .lab-card { display: none; }
html.js-lab .lab-card.is-active { display: block; animation: lab-pour .34s var(--ease); margin-bottom: 0; }
@keyframes lab-pour {
  from { opacity: 0; transform: translateY(10px) scale(.985); filter: saturate(.4); }
  to   { opacity: 1; transform: none; filter: none; }
}

@media (max-width: 880px) {
  .lab { grid-template-columns: 1fr; }
  .lab-board { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); }
  .lab-detail { position: static; }
}

/* ============================================================
   ARSENAL v2 · mini-cenas SVG + popup do elemento
   ============================================================ */
/* A cena visual no topo de cada card */
.lab-viz {
  height: 132px; margin-bottom: 1rem; color: var(--elc);
  display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--elc) 9%, transparent), transparent 70%),
    var(--bg-elevated-2);
  border: 1px solid var(--border); border-radius: 12px;
}
.lab-viz svg { width: min(100%, 300px); height: 100%; }
.lab-viz text { font-family: var(--font-body); }

/* Animações das cenas (decorativas) */
.vz-pulse { animation: vz-pulse 1.8s ease-in-out infinite; }
@keyframes vz-pulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.vz-dot { animation: vz-dots 1.4s ease-in-out infinite; }
@keyframes vz-dots { 0%, 100% { opacity: .2; } 30% { opacity: 1; } }
.vz-bar { transform-box: fill-box; transform-origin: bottom; animation: vz-grow 1.5s var(--ease) infinite alternate; }
@keyframes vz-grow { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
.vz-hop { animation: vz-hop 3.4s var(--ease) infinite; }
@keyframes vz-hop {
  0%, 16% { transform: translateX(0); opacity: 1; }
  34%, 56% { transform: translateX(68px); }
  74%, 92% { transform: translateX(136px); opacity: 1; }
  100% { transform: translateX(136px); opacity: 0; }
}
.vz-gauge { stroke-dasharray: 239; animation: vz-gauge 2.6s var(--ease) infinite alternate; }
@keyframes vz-gauge { from { stroke-dashoffset: 239; } to { stroke-dashoffset: 26; } }
.vz-race-slow, .vz-race-fast { transform-box: fill-box; transform-origin: left; }
.vz-race-slow { animation: vz-race-slow 3.2s var(--ease) infinite; }
@keyframes vz-race-slow { 0% { transform: scaleX(0); } 85%, 100% { transform: scaleX(.42); } }
.vz-race-fast { animation: vz-race-fast 3.2s var(--ease) infinite; }
@keyframes vz-race-fast { 0% { transform: scaleX(0); } 28%, 100% { transform: scaleX(1); } }
.vz-knob { animation: vz-knob 2.4s var(--ease) infinite alternate; }
@keyframes vz-knob { 0%, 35% { transform: translateX(0); opacity: .45; } 65%, 100% { transform: translateX(21px); opacity: 1; } }
.vz-draw { stroke-dashoffset: var(--vzdash, 300); animation: vz-draw 2.6s var(--ease) infinite alternate; }
@keyframes vz-draw { to { stroke-dashoffset: 0; } }
.vz-spin { transform-box: fill-box; transform-origin: center; animation: vz-spin 3.2s linear infinite; }
@keyframes vz-spin { to { transform: rotate(360deg); } }
.vz-burn { transform-box: fill-box; transform-origin: left; animation: vz-burn 4.5s linear infinite; }
@keyframes vz-burn { from { transform: scaleX(1); } to { transform: scaleX(.05); } }
.vz-scan { animation: vz-scan 2.2s var(--ease) infinite alternate; }
@keyframes vz-scan { from { transform: translateY(0); } to { transform: translateY(58px); } }

@media (prefers-reduced-motion: reduce) {
  .lab-viz * { animation: none !important; }
}

/* Com JS, os cards saem do fluxo (moram no popup) */
html.js-lab .lab-detail { display: none; }

/* ---------- Popup do elemento ---------- */
.lab-pop { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 1rem; }
.lab-pop__backdrop {
  position: absolute; inset: 0; background: rgba(5, 7, 12, .72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.lab-pop__panel {
  position: relative; width: min(560px, 100%); max-height: min(86vh, 720px);
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--bg-elevated); border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--elc, var(--gold)) 45%, var(--border));
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, .8),
    0 0 60px -20px color-mix(in srgb, var(--elc, var(--gold)) 35%, transparent);
  animation: lab-pop-in .3s var(--ease);
}
@keyframes lab-pop-in { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.lab-pop__head {
  display: flex; align-items: center; gap: .9rem;
  padding: .9rem 1rem .9rem 1.1rem; border-bottom: 1px solid var(--border);
}
.lab-pop__tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 13px; flex: none;
  background: color-mix(in srgb, var(--elc, var(--gold)) 12%, var(--bg-elevated-2));
  border: 1px solid color-mix(in srgb, var(--elc, var(--gold)) 55%, transparent);
  box-shadow: 0 0 18px -6px color-mix(in srgb, var(--elc, var(--gold)) 55%, transparent);
}
.lab-pop__tile i { font-style: normal; font-size: .56rem; color: var(--text-tertiary); letter-spacing: .08em; }
.lab-pop__tile b { font-family: var(--font-display); font-size: 1.35rem; color: var(--text-primary); line-height: 1.05; }
.lab-pop__count { margin-left: auto; font-size: .74rem; color: var(--text-tertiary); letter-spacing: .08em; }
.lab-pop__close {
  display: grid; place-items: center; width: 2.1rem; height: 2.1rem; flex: none;
  background: var(--bg-elevated-2); color: var(--text-secondary);
  border: 1px solid var(--border); border-radius: 9px; cursor: pointer; font-size: 1rem;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.lab-pop__close:hover { color: var(--text-primary); border-color: var(--border-strong); }
.lab-pop__slot { overflow-y: auto; padding: 1.1rem 1.2rem; }
.lab-pop__slot .lab-card { border: none; border-left: none; background: none; padding: 0; margin: 0; display: block !important; }
.lab-pop__nav {
  display: flex; justify-content: space-between; gap: .8rem;
  padding: .75rem 1.1rem; border-top: 1px solid var(--border);
}
.lab-pop__step {
  font: inherit; font-size: .82rem; font-weight: 600; color: var(--text-secondary);
  background: none; border: 1px solid var(--border); border-radius: 999px;
  padding: .38rem .95rem; cursor: pointer;
  transition: color .15s var(--ease), border-color .15s var(--ease), background .15s var(--ease);
}
.lab-pop__step:hover {
  color: var(--text-primary);
  border-color: color-mix(in srgb, var(--elc, var(--gold)) 55%, var(--border));
  background: color-mix(in srgb, var(--elc, var(--gold)) 8%, transparent);
}
body.lab-pop-open { overflow: hidden; }
/* Com popup ativo, a bancada ocupa a largura toda (a coluna de detalhe some) */
html.js-lab .lab { grid-template-columns: 1fr; }
html.js-lab .lab-board { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.lab-pop[hidden] { display: none; }
