/* Precifica.ai — landing de pré-lançamento. Tokens do DESIGN_SYSTEM.md v1. */
@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("assets/fonts/sora-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --primary: #015cfc;
  --primary-hover: #123498;
  --primary-active: #0a0ba3;
  --tint: #dde3f5;
  --navy-950: #01072c;
  --navy-900: #071651;
  --navy-800: #092373;
  --bg: #ffffff;
  --surface-variant: #f5f7fd;
  --text: #01072c;
  --text-2: #4b5675;
  --border: #dde3f5;
  --error: #dc2626;
  --success: #16a34a;
  --warning-bg: #fff4d6;
  --warning-text: #7a4b00;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow: 0 12px 32px -12px rgba(1, 7, 44, 0.18), 0 2px 6px rgba(1, 7, 44, 0.06);
  --shadow-lg: 0 24px 48px -16px rgba(1, 7, 44, 0.32), 0 4px 12px rgba(1, 7, 44, 0.1);

  --font-text: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Sora", "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 104px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 var(--s2); letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.625rem, 3.4vw, 2.375rem); font-weight: 700; }
h3 { font-size: 1.1875rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0 0 var(--s2); }

.wrap { width: min(1160px, 100% - 2 * var(--s3)); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 2 * var(--s3)); }
.section { padding-block: var(--s6); }
@media (max-width: 720px) { .section { padding-block: var(--s5); } .wrap, .wrap--narrow { width: calc(100% - 2 * var(--s2)); } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--s2); top: -60px; background: var(--navy-950); color: #fff; padding: var(--s1) var(--s2); border-radius: var(--radius-md); z-index: 100; }
.skip-link:focus { top: var(--s2); color: #fff; }

.eyebrow {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--primary); margin-bottom: var(--s2);
}
.lead { font-size: 1.1875rem; color: var(--text-2); max-width: 60ch; }
.nota { color: var(--text-2); font-size: 0.9375rem; }

/* Pendências: visíveis de propósito — a página NÃO está pronta para publicar enquanto existirem. */
.pendente { background: var(--warning-bg); color: var(--warning-text); font-weight: 600; padding: 0 4px; border-radius: 4px; outline: 1px dashed #c98a00; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: inline-flex; }
.header-link { font-weight: 600; text-decoration: none; padding: 10px 4px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  min-height: 52px; padding: 0 var(--s3); border-radius: var(--radius-md); border: 2px solid transparent;
  font: 600 1.0625rem/1.2 var(--font-text); cursor: pointer; text-decoration: none;
  transition: background-color .15s ease, transform .15s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-primary:active { background: var(--primary-active); transform: translateY(1px); }
.btn-primary[disabled] { opacity: .6; cursor: progress; }
.btn-secondary { background: var(--tint); color: var(--navy-900); }
.btn-secondary:hover { background: #cdd6f1; color: var(--navy-900); }
.btn-block { width: 100%; }
.btn-link { background: none; border: 0; color: var(--text-2); font: 600 1rem var(--font-text); text-decoration: underline; cursor: pointer; padding: 12px 8px; min-height: 44px; }
.link-secondary { display: inline-block; margin-top: var(--s2); font-weight: 600; text-decoration: none; padding: 8px 0; }
.link-secondary:hover { text-decoration: underline; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--surface-variant) 0%, #fff 100%); padding-block: var(--s5) var(--s4); }
.hero + .problema { padding-top: var(--s5); }
/* Uma coluna só: texto, vídeo na largura do container e formulário centralizado logo abaixo */
.hero-inner { max-width: 1100px; }
.hero h1 { max-width: 24ch; }
.hero .lead { max-width: 720px; }
.hero-video { margin-top: var(--s3); }
.hero .form-slot { margin: var(--s4) auto 0; max-width: 560px; min-height: 300px; }
.hero .link-secondary { display: block; text-align: center; }
.vsl-frame { aspect-ratio: 1.7777777777777777; background: var(--tint); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
/* Estilo oficial do embed da Wistia: reserva o espaço e mostra a prévia até o player carregar */
wistia-player[media-id='fzgs31a45w']:not(:defined) {
  background: center / contain no-repeat url('https://fast.wistia.com/embed/medias/fzgs31a45w/swatch');
  display: block; filter: blur(5px); padding-top: 56.25%;
}
.vsl-noscript { font-size: 0.9375rem; color: var(--text-2); margin: var(--s1) 0 0; }
.vsl-transcricao { margin-top: var(--s2); font-size: 0.9375rem; color: var(--text-2); }
.vsl-transcricao summary { cursor: pointer; font-weight: 600; color: var(--primary); min-height: 44px; display: flex; align-items: center; }
.shot-frame { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
figcaption { font-size: 0.875rem; color: var(--text-2); margin-top: var(--s1); text-align: center; }
@media (max-width: 899px) {
  .hero-video { margin-top: var(--s1); }
  .hero .form-slot { margin-top: var(--s3); min-height: 0; }
}

/* Formulário */
.lead-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s3); box-shadow: var(--shadow); }
.field { margin-bottom: var(--s2); }
.field label, .step2 legend { display: block; font-weight: 600; margin-bottom: 6px; font-size: 1rem; }
.field input {
  width: 100%; min-height: 52px; padding: 0 14px; font: 400 1.0625rem var(--font-text); color: var(--text);
  border: 1.5px solid #b9c4ec; border-radius: var(--radius-md); background: #fff;
}
.field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(1, 92, 252, .2); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 0.9375rem; color: var(--text-2); }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--primary); }
.consent-link { font-size: 0.9375rem; margin: 6px 0 var(--s2) 34px; }
.microcopy { font-size: 0.875rem; color: var(--text-2); margin: 10px 0 0; }
.form-msg { font-size: 0.9375rem; font-weight: 600; color: var(--error); margin: 10px 0 0; }
.form-msg:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-success:focus { outline: none; }
.success-title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--success); margin-bottom: 4px; }
.step2 { margin-top: var(--s2); padding-top: var(--s2); border-top: 1px solid var(--border); }
.step2 fieldset { border: 0; padding: 0; margin: 0 0 var(--s2); }
.choices { display: flex; flex-wrap: wrap; gap: var(--s1); }
.choices label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1.5px solid #b9c4ec; border-radius: 999px; cursor: pointer; font-weight: 500; }
.choices label:has(input:checked) { border-color: var(--primary); background: #eef3ff; }
.choices input { accent-color: var(--primary); width: 18px; height: 18px; margin: 0; }
.opcional { font-weight: 400; color: var(--text-2); }
.hint { font-size: 0.875rem; color: var(--text-2); margin: 6px 0 0; }
.step2-actions { display: flex; align-items: center; gap: var(--s1); flex-wrap: wrap; }
.step2-done { font-weight: 600; margin: var(--s2) 0 0; }
.lead-closed { font-weight: 700; margin: 0; }

/* Problema */
.problema h2 { max-width: 22ch; }
.pain-list { list-style: none; counter-reset: dor; padding: 0; margin: var(--s4) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4) var(--s5); }
.pain-list li { counter-increment: dor; border-top: 2px solid var(--navy-950); padding-top: var(--s2); }
.pain-list li::before { content: "0" counter(dor); display: block; font: 700 0.875rem var(--font-display); color: var(--primary); margin-bottom: var(--s1); letter-spacing: .06em; }
.pain-list p { color: var(--text-2); margin: 0; }
@media (max-width: 720px) { .pain-list { grid-template-columns: 1fr; gap: var(--s4); } }

/* Exemplo (agitação) */
.exemplo { background: var(--navy-950); color: #fff; }
.exemplo-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s3) var(--s5); align-items: start; }
.exemplo-copy p { color: #c9d1ee; }
.exemplo h2 { color: #fff; }
.badge-ilustrativo { display: inline-block; background: #fff4d6; color: #5c3900; font-weight: 700; font-size: 0.875rem; padding: 6px 12px; border-radius: 999px; }
.exemplo .badge-ilustrativo { color: #5c3900; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll:focus-visible { outline-offset: 2px; }
.compare { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; background: var(--navy-900); border-radius: var(--radius-lg); overflow: hidden; min-width: 420px; }
.compare caption { text-align: left; font-size: 0.875rem; color: #c9d1ee; padding-bottom: var(--s1); }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid #1c2c6e; text-align: right; }
.compare th[scope="row"] { text-align: left; font-weight: 500; color: #dfe5fb; }
.compare thead th { font-size: 0.875rem; font-weight: 600; color: #c9d1ee; vertical-align: bottom; }
.compare td:last-child, .compare thead th:last-child { background: rgba(1, 92, 252, .14); }
.compare .row-diff td:last-child { color: #ffd27a; font-weight: 700; }
.compare tfoot th, .compare tfoot td { font-weight: 700; color: #fff; border-bottom: 0; }
.compare .row-margin td { font-family: var(--font-display); font-size: 1.5rem; }
.compare .row-margin td:last-child { color: #ffd27a; }
.nota-exemplo { grid-column: 1 / -1; font-size: 0.875rem; color: #aeb8de; margin: 0; }
@media (max-width: 900px) { .exemplo-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  /* a tabela inteira precisa caber: a coluna "com o programa" é a prova do bloco */
  .compare { min-width: 0; font-size: 0.9375rem; }
  .compare th, .compare td { padding: 10px 8px; }
  .compare th[scope="row"] { padding-left: 12px; }
  .compare td:last-child, .compare thead th:last-child { padding-right: 12px; }
  .compare thead th { font-size: 0.8125rem; }
  .compare .row-margin td { font-size: 1.25rem; }
}

/* Mecanismo */
.mecanismo { background: #fff; }
.mecanismo-head { max-width: 760px; }
.check-list { list-style: none; padding: 0; margin: var(--s3) 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
/* Prints do sistema com recortes ampliados ("pop-out").
   Cada recorte é uma ou mais fatias do mesmo arquivo do card; --cx/--cy/--cw/--ch são as coordenadas
   da fatia medidas no print original (todos com 2000 px de largura) e --tw é a largura total do recorte. */
.print-bloco { margin-top: var(--s5); }
.print-bloco > p { color: var(--text-2); max-width: 60ch; }
.popout { margin: var(--s4) 0 0; }
.popout-stage { position: relative; width: 60%; margin-inline: auto; }
.popout-crop {
  position: absolute; left: var(--left); top: var(--top); width: calc(var(--tw) / 2000 * 115%);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  overflow: hidden; transform: rotate(var(--rotate));
}
.popout-slices { display: grid; grid-template-columns: var(--cols, 1fr); }
.popout-slice { display: block; overflow: hidden; aspect-ratio: var(--cw) / var(--ch); }
.popout-slice img { width: calc(2000 / var(--cw) * 100%); max-width: none; margin-left: calc(var(--cx) / var(--cw) * -100%); margin-top: calc(var(--cy) / var(--cw) * -100%); }
.popout-legenda { display: none; }
.popout figcaption { margin-top: var(--s2); }

.popout-crop--regime { --tw: 944; --left: -8%; --top: 8.4%; --rotate: -1.5deg; }
.popout-crop--metas { --tw: 944; --left: 53.2%; --top: 9.4%; --rotate: 1.5deg; }
.popout-crop--faixas { --tw: 1580; --cols: 1fr 1fr; --left: -24%; --top: 46.7%; --rotate: 1deg; }
.popout-crop--loja { --tw: 1760; --cols: 1fr 1fr; --left: 24%; --top: 67.5%; --rotate: -1deg; }
.popout-crop--tiktok { --tw: 1832; --cols: 1196fr 636fr; --left: -27%; --top: 88.1%; --rotate: 1.5deg; }
.popout-slice--regime { --cx: 40; --cy: 312; --cw: 944; --ch: 468; }
.popout-slice--metas { --cx: 1016; --cy: 312; --cw: 944; --ch: 468; }
.popout-slice--faixas-esq { --cx: 162; --cy: 1494; --cw: 790; --ch: 226; }
.popout-slice--faixas-dir { --cx: 952; --cy: 1494; --cw: 790; --ch: 226; }
.popout-slice--loja-titulo { --cx: 120; --cy: 1988; --cw: 1760; --ch: 64; grid-column: 1 / -1; }
.popout-slice--ads-esq { --cx: 120; --cy: 2202; --cw: 880; --ch: 158; }
.popout-slice--ads-dir { --cx: 1000; --cy: 2202; --cw: 880; --ch: 158; }
.popout-slice--tiktok-esq { --cx: 84; --cy: 2832; --cw: 1196; --ch: 156; }
.popout-slice--tiktok-dir { --cx: 1280; --cy: 2832; --cw: 636; --ch: 156; }

/* Custos Fixos (print de 2000 x 1422 px); o card mostra a tela até o fim da tabela */
.popout--custos .popout-card { aspect-ratio: 2000 / 1290; }
.popout--custos figcaption { margin-top: var(--s4); }
.popout-crop--total { --tw: 944; --left: -8%; --top: 10.5%; --rotate: -1.5deg; }
.popout-crop--unidade { --tw: 944; --left: 53.2%; --top: 11.5%; --rotate: 1.5deg; }
.popout-crop--rateio { --tw: 738; --cols: 548fr 190fr; --left: -14%; --top: 47%; --rotate: 1deg; }
.popout-slice--total { --cx: 40; --cy: 164; --cw: 944; --ch: 382; }
.popout-slice--unidade { --cx: 1016; --cy: 164; --cw: 944; --ch: 382; }
.popout-slice--rateio-frase { --cx: 52; --cy: 606; --cw: 738; --ch: 112; grid-column: 1 / -1; }
.popout-slice--rateio-nomes { --cx: 52; --cy: 724; --cw: 548; --ch: 526; }
.popout-slice--rateio-chaves { --cx: 1530; --cy: 724; --cw: 190; --ch: 526; }

@media (max-width: 899px) {
  /* abaixo de 900px a tela inteira fica ilegível: some da vista (o alt continua para leitor de tela)
     e os recortes viram cards empilhados, com o miolo vazio de cada linha cortado para o texto caber */
  .popout-stage { width: 100%; display: grid; gap: var(--s2); }
  .popout-card { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
  .popout-crop { position: static; width: auto; transform: none; box-shadow: var(--shadow); }
  .popout--custos figcaption { margin-top: var(--s2); }
  .popout-legenda { display: block; padding: var(--s1) var(--s2); border-top: 1px solid var(--border); font-size: 0.875rem; font-weight: 600; color: var(--text-2); }
  .popout-crop--faixas { --cols: 420fr 320fr; }
  .popout-slice--faixas-esq { --cw: 420; }
  .popout-slice--faixas-dir { --cx: 1422; --cw: 320; }
  .popout-crop--loja { --cols: 620fr 430fr; }
  .popout-slice--loja-titulo { --cw: 1050; }
  .popout-slice--ads-esq { --cw: 620; }
  .popout-slice--ads-dir { --cx: 1450; --cw: 430; }
  .popout-crop--tiktok { --cols: 1fr; }
  .popout-slice--tiktok-esq { --cw: 1016; }
  .popout-slice--tiktok-dir { display: none; }
}

.regras { margin-top: var(--s5); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s3); background: var(--surface-variant); }
.regras-sub { color: var(--text-2); font-size: 0.9375rem; }
.rules { width: 100%; border-collapse: collapse; font-size: 0.9375rem; background: #fff; border-radius: var(--radius-md); overflow: hidden; min-width: 600px; font-variant-numeric: tabular-nums; }
.rules th, .rules td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.rules thead th { background: var(--tint); font-weight: 600; font-size: 0.875rem; }
.rules tbody th[scope="row"] { font-weight: 600; }
.rules-grupo th { background: var(--surface-variant); font: 700 1rem/1.3 var(--font-display); }
.rules td[data-label="Fonte"] { white-space: nowrap; }
.rules tbody:last-child tr:last-child > * { border-bottom: 0; }
.fontes-titulo { font: 600 0.9375rem/1.3 var(--font-text); margin: var(--s2) 0 var(--s1); }
.fontes { list-style: none; counter-reset: fonte; padding: 0; margin: 0 0 var(--s2); font-size: 0.875rem; color: var(--text-2); display: grid; gap: 4px; }
.fontes li { counter-increment: fonte; position: relative; padding-left: 2.25em; }
.fontes li::before { content: "[" counter(fonte) "]"; position: absolute; left: 0; font-weight: 600; color: var(--text); }
.regras-aviso { font-size: 0.875rem; color: var(--text-2); margin: 0; }
@media (max-width: 720px) {
  /* no celular, cada regra vira um cartão (sem rolagem lateral) */
  .regras { padding: var(--s2); }
  .rules { min-width: 0; background: transparent; }
  .rules thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rules, .rules tbody, .rules tr, .rules th, .rules td { display: block; width: 100%; }
  .rules tr { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 10px 14px; margin-bottom: var(--s1); }
  .rules tr.rules-grupo { background: none; border: 0; padding: var(--s1) 0 0; margin-bottom: 4px; }
  .rules tbody th { border: 0; padding: 0 0 4px; background: none; }
  .rules td { border: 0; padding: 4px 0; display: grid; grid-template-columns: 72px 1fr; gap: 8px; }
  .rules td::before { content: attr(data-label); font-weight: 600; color: var(--text-2); font-size: 0.8125rem; padding-top: 2px; }
}

/* Demonstração */
.demo { background: var(--surface-variant); }

/* Prints do simulador: aqui as caixas ficam em % do arquivo (x, y, largura, altura), num único bloco
   de configuração por imagem. Para trocar o webp por uma recaptura com o mesmo layout não é preciso
   mexer em mais nada; --iw/--ih são o width/height do <img>. */
@media (min-width: 900px) {
  .popout--pct .popout-stage { width: 68%; }
  .popout--pct .popout-crop { width: calc(var(--tw) * 1.15%); }
}
.popout--pct .popout-slice { aspect-ratio: calc(var(--w) * var(--iw)) / calc(var(--h) * var(--ih)); }
.popout--pct .popout-slice img { width: calc(100 / var(--w) * 100%); margin-left: calc(var(--x) / var(--w) * -100%); margin-top: calc(var(--y) * var(--ih) / (var(--w) * var(--iw)) * -100%); }

.popout--visao-geral {
  --iw: 1100; --ih: 845;
  --margem-x: 3.27; --margem-y: 35.8; --margem-w: 29.31; --margem-h: 5.99;
  --shopee-x: 37.02; --shopee-y: 16.73; --shopee-w: 27.97; --shopee-h: 5.5;
  --tiktok-x: 69.35; --tiktok-y: 16.73; --tiktok-w: 27.97; --tiktok-h: 5.5;
  --hist-cab-x: 37.52; --hist-cab-y: 53.57; --hist-cab-w: 59.3; --hist-cab-h: 7.14;
  --hist-esq-x: 37.52; --hist-esq-y: 60.71; --hist-esq-w: 29.65; --hist-esq-h: 16.84;
  --hist-dir-x: 67.17; --hist-dir-y: 60.71; --hist-dir-w: 29.65; --hist-dir-h: 16.84;
}
.popout--detalhe {
  --iw: 1100; --ih: 649;
  --tk-taxas-x: 69.93; --tk-taxas-y: 31.58; --tk-taxas-w: 26.8; --tk-taxas-h: 14.34;
  --sh-taxas-x: 37.6; --sh-taxas-y: 31.58; --sh-taxas-w: 26.8; --sh-taxas-h: 9.51;
  --tk-lucro-x: 69.93; --tk-lucro-y: 56.28; --tk-lucro-w: 26.8; --tk-lucro-h: 5.82;
  --tk-cobrir-x: 69.93; --tk-cobrir-y: 65.37; --tk-cobrir-w: 26.8; --tk-cobrir-h: 4.4;
  --sh-lucro-x: 37.6; --sh-lucro-y: 66.08; --sh-lucro-w: 26.8; --sh-lucro-h: 5.82;
  --sh-cobrir-x: 37.6; --sh-cobrir-y: 75.09; --sh-cobrir-w: 26.8; --sh-cobrir-h: 4.4;
}
@media (max-width: 899px) {
  /* no celular o histórico perde o miolo vazio entre o nome e o preço */
  .popout--visao-geral {
    --hist-cab-x: 37.52; --hist-cab-y: 53.57; --hist-cab-w: 38.99; --hist-cab-h: 7.14;
    --hist-esq-x: 37.52; --hist-esq-y: 60.71; --hist-esq-w: 17.13; --hist-esq-h: 16.84;
    --hist-dir-x: 74.96; --hist-dir-y: 60.71; --hist-dir-w: 21.86; --hist-dir-h: 16.84;
  }
}

.popout--visao-geral .popout-slice--vg-margem { --x: var(--margem-x); --y: var(--margem-y); --w: var(--margem-w); --h: var(--margem-h); }
.popout--visao-geral .popout-slice--vg-shopee { --x: var(--shopee-x); --y: var(--shopee-y); --w: var(--shopee-w); --h: var(--shopee-h); }
.popout--visao-geral .popout-slice--vg-tiktok { --x: var(--tiktok-x); --y: var(--tiktok-y); --w: var(--tiktok-w); --h: var(--tiktok-h); }
.popout--visao-geral .popout-slice--vg-hist-cab { --x: var(--hist-cab-x); --y: var(--hist-cab-y); --w: var(--hist-cab-w); --h: var(--hist-cab-h); }
.popout--visao-geral .popout-slice--vg-hist-esq { --x: var(--hist-esq-x); --y: var(--hist-esq-y); --w: var(--hist-esq-w); --h: var(--hist-esq-h); }
.popout--visao-geral .popout-slice--vg-hist-dir { --x: var(--hist-dir-x); --y: var(--hist-dir-y); --w: var(--hist-dir-w); --h: var(--hist-dir-h); }
.popout--detalhe .popout-slice--det-tk-taxas { --x: var(--tk-taxas-x); --y: var(--tk-taxas-y); --w: var(--tk-taxas-w); --h: var(--tk-taxas-h); }
.popout--detalhe .popout-slice--det-sh-taxas { --x: var(--sh-taxas-x); --y: var(--sh-taxas-y); --w: var(--sh-taxas-w); --h: var(--sh-taxas-h); }
.popout--detalhe .popout-slice--det-tk-lucro { --x: var(--tk-lucro-x); --y: var(--tk-lucro-y); --w: var(--tk-lucro-w); --h: var(--tk-lucro-h); }
.popout--detalhe .popout-slice--det-tk-cobrir { --x: var(--tk-cobrir-x); --y: var(--tk-cobrir-y); --w: var(--tk-cobrir-w); --h: var(--tk-cobrir-h); }
.popout--detalhe .popout-slice--det-sh-lucro { --x: var(--sh-lucro-x); --y: var(--sh-lucro-y); --w: var(--sh-lucro-w); --h: var(--sh-lucro-h); }
.popout--detalhe .popout-slice--det-sh-cobrir { --x: var(--sh-cobrir-x); --y: var(--sh-cobrir-y); --w: var(--sh-cobrir-w); --h: var(--sh-cobrir-h); }
.popout-slice--vg-hist-cab { grid-column: 1 / -1; }
.popout-crop--vg-margem { --tw: var(--margem-w); --left: -14%; --top: 35.3%; --rotate: -1.5deg; }
.popout-crop--vg-shopee { --tw: var(--shopee-w); --left: 35%; --top: 15.5%; --rotate: 1deg; }
.popout-crop--vg-tiktok { --tw: var(--tiktok-w); --left: 74%; --top: 16.5%; --rotate: -1deg; }
.popout-crop--vg-hist { --tw: var(--hist-cab-w); --cols: calc(var(--hist-esq-w) / var(--hist-cab-w) * 100%) 1fr; --left: 45%; --top: 52%; --rotate: -1deg; }
.popout-crop--det-tk-taxas { --tw: var(--tk-taxas-w); --left: 76%; --top: 30.5%; --rotate: 1.5deg; }
.popout-crop--det-sh-taxas { --tw: var(--sh-taxas-w); --left: 34%; --top: 30.5%; --rotate: -1deg; }
.popout-crop--det-tk-lucro { --tw: var(--tk-lucro-w); --left: 76%; --top: 57.2%; --rotate: -1deg; }
.popout-crop--det-sh-lucro { --tw: var(--sh-lucro-w); --left: 34%; --top: 67%; --rotate: 1deg; }

/* Como funciona + para quem */
.como-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: var(--s5); align-items: start; }
.steps { list-style: none; counter-reset: passo; padding: 0; margin: var(--s3) 0 var(--s2); display: grid; gap: var(--s3); }
.steps li { counter-increment: passo; position: relative; padding-left: 60px; min-height: 44px; }
.steps li::before {
  content: counter(passo); position: absolute; left: 0; top: -2px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--tint); color: var(--navy-900); font: 700 1.125rem var(--font-display);
}
.para-quem { background: var(--navy-950); color: #fff; border-radius: var(--radius-lg); padding: var(--s4) var(--s3); }
.para-quem h2 { color: #fff; font-size: 1.5rem; }
.para-quem .check-list li::before { background-color: var(--primary); }
@media (max-width: 900px) { .como-grid { grid-template-columns: 1fr; } }

/* Oferta */
.oferta { background: linear-gradient(180deg, #fff 0%, var(--surface-variant) 100%); border-top: 1px solid var(--border); }
.oferta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5); align-items: start; }
.timeline { list-style: none; padding: 0; margin: var(--s3) 0; position: relative; }
.timeline li { position: relative; padding: 0 0 var(--s3) 36px; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); }
.timeline li::after { content: ""; position: absolute; left: 12px; top: 26px; bottom: 0; width: 2px; background: var(--tint); }
.timeline li:last-child::after { display: none; }
.timeline li:first-child::before { background: var(--primary); }
.tl-when { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: .06em; }
.tl-price { display: block; font: 700 1.625rem/1.3 var(--font-display); font-variant-numeric: tabular-nums; margin: 2px 0 4px; }
.timeline p { color: var(--text-2); margin: 0; }
.sem-fidelidade { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--s2); }
.prazo { background: var(--navy-950); color: #fff; border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: var(--s2) var(--s3); }
.prazo p { margin: 0; }
.prazo-contagem { margin-top: 6px !important; font-weight: 700; color: #ffd27a; }
.oferta-form .lead-box { border-radius: 0 0 var(--radius-lg) var(--radius-lg); border-top: 0; }
@media (max-width: 900px) { .oferta-grid { grid-template-columns: 1fr; gap: var(--s4); } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; padding: var(--s3) 40px var(--s3) 0; position: relative;
  font: 600 1.125rem/1.4 var(--font-text); min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 1.75rem var(--font-text); color: var(--primary); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--text-2); padding-bottom: var(--s3); margin: 0; max-width: 65ch; }

/* CTA final */
.final { background: var(--navy-950); color: #fff; }
.final-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: var(--s5); align-items: center; }
.final h2 { color: #fff; }
.final p { color: #c9d1ee; }
.final .lead-box { color: var(--text); }
.final .lead-box p { color: var(--text-2); }
.final .lead-box .form-msg { color: var(--error); }
.final .lead-box .success-title { color: var(--success); }
@media (max-width: 900px) { .final-grid { grid-template-columns: 1fr; gap: var(--s3); } }

/* Rodapé */
.site-footer { background: #fff; border-top: 1px solid var(--border); padding-block: var(--s4) calc(var(--s4) + 72px); font-size: 0.875rem; color: var(--text-2); }
.disclaimer { max-width: 90ch; }
.legal { display: flex; gap: var(--s2); align-items: flex-start; margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--border); }
.legal p { margin: 0; line-height: 1.8; }
@media (min-width: 721px) { .site-footer { padding-bottom: var(--s4); } }

/* Política de privacidade */
.politica h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
.politica h2 { font-size: 1.375rem; margin-top: var(--s4); }
.politica ul { padding-left: 1.25rem; color: var(--text-2); }
.politica p { color: var(--text-2); }

/* Barra fixa (só celular) */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px var(--s2) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px -12px rgba(1, 7, 44, .25);
}
@media (min-width: 721px) { .sticky-cta { display: none !important; } }
