:root {
  --cream: #f8f2e7; --cream-2: #f0e6d6; --ink: #2a1d11; --ink-soft: #6e5c49;
  --forest: #33231a; --forest-deep: #201409; --gold: #eea033; --gold-soft: #f6b95c; --gold-deep: #8a5a10;
  --line: rgba(42, 29, 17, .14); --ok: #2f7a4a; --raio: 18px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--cream); color: var(--ink); line-height: 1.5; }
.container { max-width: 640px; margin: 0 auto; padding: 0 16px 48px; }
.topo { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: var(--forest-deep); color: var(--cream); }
.marca { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; line-height: 1; }
.marca img { width: 34px; height: auto; }
.marca b { display: block; font-family: Fraunces, Georgia, serif; font-weight: 400; font-size: 20px; letter-spacing: -.3px; }
.marca small { display: block; font-family: "Hanken Grotesk", system-ui, sans-serif; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-soft); margin-top: 4px; }
.selo { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-soft); border: 1px solid rgba(248, 242, 231, .18); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.hero { padding: 28px 0 8px; }
.sobrelinha { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; margin-bottom: 12px; }
.sobrelinha::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.hero h1 { font-family: Fraunces, Georgia, serif; font-weight: 400; font-size: 34px; line-height: 1.1; letter-spacing: -1px; margin: 0 0 10px; color: var(--ink); }
.hero h1 em { font-style: italic; color: var(--gold-deep); }
.hero p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--raio); padding: 22px 20px; margin: 16px 0; }
label { display: block; font-weight: 600; font-size: 14px; margin: 14px 0 0; }
label small { font-weight: 400; color: var(--ink-soft); }
input, select { width: 100%; margin-top: 6px; padding: 12px 14px; font-size: 16px; font-family: inherit; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); color: var(--ink); }
input:focus, select:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.linha { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .linha { grid-template-columns: 1fr; } }
.btn { display: block; width: 100%; padding: 15px 18px; margin-top: 18px; font-size: 17px; font-weight: 600; font-family: inherit; border-radius: 999px; border: 0; cursor: pointer; text-align: center; text-decoration: none; }
.btn-primario { background: var(--gold); color: var(--forest-deep); }
.btn-secundario { background: var(--forest); color: var(--cream); }
.btn-link { background: none; color: var(--ink-soft); font-weight: 500; text-decoration: underline; }
.btn-link-inline { background: none; border: 0; padding: 0; color: var(--ink-soft); text-decoration: underline; cursor: pointer; font: inherit; }
.mini { font-size: 13px; color: var(--ink-soft); margin: 8px 0 0; }
.centro { text-align: center; }
.erro { color: #a33a2a; font-size: 14px; margin: 12px 0 0; }
.dica { background: var(--cream-2); border: 1px solid rgba(138, 90, 16, .25); border-radius: 10px; padding: 10px 12px; font-size: 14px; margin: 10px 0 0; }
label em { font-style: normal; color: var(--gold-deep); }
.aviso-liberado { background: #e8f3ea; border: 1px solid #a9d3b3; color: #1f5a33; border-radius: 12px; padding: 12px 14px; font-size: 15px; margin-bottom: 6px; }
.rotulo { margin: 0; color: var(--ink-soft); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
.valor-destaque { font-family: Fraunces, Georgia, serif; font-weight: 400; font-size: 46px; letter-spacing: -1.5px; color: var(--ink); margin: 6px 0 0; line-height: 1.05; }
.sub-destaque { margin: 6px 0 18px; color: var(--gold-deep); font-weight: 600; }
.borrado-wrap { position: relative; }
.lista-verbas { list-style: none; margin: 0; padding: 0; }
.lista-verbas li { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); }
.borrado li span:last-child { filter: blur(6px); user-select: none; }
.cadeado { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 16px; background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.97) 28%); }
.cadeado > strong { background: rgba(255,255,255,.94); padding: 2px 8px; border-radius: 8px; }
.cadeado > strong { font-family: Fraunces, Georgia, serif; font-weight: 400; font-size: 20px; color: var(--ink); line-height: 1.2; }
.beneficios { padding-left: 20px; margin: 16px 0 0; font-size: 15px; } .beneficios li { margin: 4px 0; }
h2 { font-family: Fraunces, Georgia, serif; font-weight: 400; font-size: 26px; letter-spacing: -.5px; color: var(--ink); margin: 0 0 8px; }
h3 { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-deep); margin: 22px 0 8px; font-weight: 600; }
.tabela { width: 100%; border-collapse: collapse; font-size: 15px; }
.tabela td { padding: 9px 0; border-top: 1px solid var(--line); vertical-align: top; }
.tabela td:last-child { text-align: right; white-space: nowrap; font-weight: 600; padding-left: 12px; }
.tabela small { display: block; color: var(--ink-soft); font-weight: 400; font-size: 13px; }
.totais { margin-top: 16px; border-top: 2px solid var(--ink); padding-top: 8px; }
.totais div { display: flex; justify-content: space-between; padding: 6px 0; }
.totais .liquido { font-family: Fraunces, Georgia, serif; font-size: 22px; color: var(--gold-deep); }
.bloco { font-size: 15px; } .bloco p { margin: 6px 0; }
.checklist { padding-left: 20px; font-size: 15px; } .checklist li { margin: 6px 0; }
.avisos { list-style: none; padding: 0; margin: 16px 0 0; }
.avisos li { background: var(--cream-2); border: 1px solid rgba(138, 90, 16, .25); border-radius: 12px; padding: 10px 12px; font-size: 14px; margin: 6px 0; }
.acoes { margin-top: 8px; }
.faq h2 { margin-top: 24px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 8px 0; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { margin: 8px 0 0; color: var(--ink-soft); }
.rodape { max-width: 640px; margin: 0 auto; padding: 16px; font-size: 13px; color: var(--ink-soft); }
.rodape a { color: var(--ink-soft); }
/* Estados */
#previa, #resultado { display: none; }
body.estado-previa #previa { display: block; }
body.estado-completo #resultado { display: block; }
body.estado-previa #secao-form, body.estado-completo #secao-form, body.estado-completo .hero, body.estado-previa .hero { display: none; }
.print-cabecalho { display: none; }
.pdf-topo { margin: 8px 0 4px; } .pdf-topo .btn { margin-top: 8px; }
.tabela.dados td:last-child { font-weight: 500; white-space: normal; }
.nota-legal { font-size: 12px; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 10px; margin: 18px 0 0; }
/* Impressão (PDF de entrega) */
@media print {
  @page { size: A4; margin: 14mm 14mm 16mm; }
  .topo, .faq, .acoes, .hero, #secao-form, #previa, .rodape, .pdf-topo { display: none !important; }
  html, body { background: #fff !important; color: #2a1d11; }
  .container { max-width: none; padding: 0; }
  .card { border: 0; padding: 0; margin: 0; }
  .print-cabecalho { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 2px solid #eea033; }
  .print-cabecalho img { width: 34px; height: auto; }
  .print-cabecalho b { display: block; font-family: Fraunces, Georgia, serif; font-weight: 400; font-size: 17px; }
  .print-cabecalho small { display: block; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #8a5a10; }
  .print-cabecalho span { margin-left: auto; font-size: 11px; color: #6e5c49; }
  h2 { font-size: 22px; } h3 { margin-top: 14px; page-break-after: avoid; }
  .tabela, .totais, .bloco, .checklist, .avisos li, .fecho { page-break-inside: avoid; }
  .totais .liquido { color: #8a5a10; }
  .avisos li { background: #f8f2e7; border-color: #e0c98f; }
  .nota-legal { margin-top: 14px; }
}

/* ---- produtos novos (core.js) ---- */
.dupla { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.motivos { border: 1px solid var(--line); border-radius: var(--raio); padding: 12px 14px; margin: 0 0 14px; }
.motivos legend { font-weight: 600; padding: 0 4px; }
.motivos legend small { display: block; font-weight: 400; color: var(--ink-soft); }
.chk { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 8px 0; }
.chk input { width: auto; margin-top: 3px; }
h3.sub { margin: 18px 0 6px; font-size: 16px; }
[data-para][hidden] { display: none !important; }
.rolagem { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tabela.comparativo { min-width: 560px; }
.tabela.comparativo th { text-align: left; font-weight: 600; font-size: 13px; padding: 8px 8px; border-bottom: 2px solid var(--line); vertical-align: bottom; }
.tabela.comparativo td { padding: 8px; }
.tabela.comparativo td:first-child { width: 34%; }
.tabela.comparativo tr.forte td { font-weight: 600; background: rgba(0,0,0,.025); }
.tabela.comparativo tr.a_maior td:last-child { color: #a33; font-weight: 600; }
.tabela.comparativo tr.a_menor td:last-child { color: #8a6d00; }
.tabela.comparativo tr.ok td:last-child { color: #2f6b3a; }
.tabela.comparativo tfoot td { border: 0; color: var(--ink-soft); }
.bloco ul { padding-left: 18px; }
.bloco li { margin: 6px 0; }
@media print { .rolagem { overflow: visible; } .tabela.comparativo { min-width: 0; font-size: 11px; } }

/* ---- bloco de venda (Lead, História, Mecanismo, Produto, Oferta) ---- */
.vsl { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; font-size: 15.5px; line-height: 1.55; }
.vsl p { margin: 0 0 12px; }
.vsl-lead { font-family: Fraunces, Georgia, serif; font-size: 22px; line-height: 1.25; color: var(--ink); margin-bottom: 14px !important; }
.vsl h3 { margin: 18px 0 6px; font-size: 17px; }
.vsl .beneficios { margin-top: 6px; }
.oferta { margin-top: 16px; background: rgba(0,0,0,.03); border: 1px solid var(--line); border-radius: var(--raio); padding: 14px 16px 16px; }
.oferta ul { margin: 0 0 12px; padding-left: 20px; font-size: 14.5px; }
.oferta li { margin: 3px 0; }
.oferta .btn { width: 100%; }
@media print { .vsl { display: none !important; } }

/* ---- correções da validação de UI (07/09/2026) ---- */
.borrado-wrap { position: relative; display: grid; }
.borrado-wrap > * { grid-area: 1 / 1; }
.cadeado { position: static; inset: auto; min-height: 100%; padding: 20px 12px; background: linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,.86) 26%, rgba(255,255,255,.86) 74%, rgba(255,255,255,.4)); }
.cadeado .mini { background: rgba(255,255,255,.92); border-radius: 8px; padding: 4px 8px; }
.cadeado .mini strong { font: inherit; font-weight: 600; background: none; padding: 0; color: var(--ink); }
.borrado li span:first-child { color: var(--ink-soft); }
label small, .motivos legend small { display: block; font-size: 13px; line-height: 1.4; margin-top: 3px; font-weight: 400; color: var(--ink-soft); }
input::placeholder { color: #8a7b6a; opacity: 1; }
.valor-destaque { font-size: clamp(30px, 11vw, 46px); overflow-wrap: anywhere; }
.sub-destaque { font-weight: 500; font-size: 15px; }
.mini { font-size: 13.5px; }
.tabela td:last-child { white-space: normal; overflow-wrap: anywhere; max-width: 58%; }
.totais div { align-items: baseline; gap: 12px; }
.totais strong { flex-shrink: 0; text-align: right; }
.tabela.comparativo th, .tabela.comparativo td { white-space: normal; text-align: left; max-width: none; }
.tabela.comparativo td:not(:first-child), .tabela.comparativo th:not(:first-child) { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tabela.comparativo td:last-child { font-weight: inherit; padding-left: 8px; }
.tabela.comparativo tr.forte td { font-weight: 600; }
.tabela.comparativo tfoot td { white-space: normal; text-align: left; font-weight: 400; }
.tabela.comparativo td:first-child, .tabela.comparativo th:first-child { position: sticky; left: 0; background: #fff; z-index: 1; box-shadow: 4px 0 6px -4px rgba(42,29,17,.25); width: 34%; min-width: 120px; }
.tabela.comparativo tr.forte td:first-child { background: #f7f5f1; }
.rolagem::before { content: "Deslize para o lado para ver todas as colunas"; display: block; font-size: 12.5px; color: var(--ink-soft); margin-bottom: 4px; }
@media (min-width: 720px) { .rolagem::before { display: none; } }
.chk { align-items: center; min-height: 44px; margin: 0; padding: 2px 0; gap: 12px; cursor: pointer; }
.chk input { width: 22px; height: 22px; margin: 0; flex: 0 0 22px; accent-color: var(--gold-deep); }
.faq summary { padding: 10px 0; min-height: 44px; display: flex; align-items: center; }
.btn-link-inline { display: inline-block; padding: 10px 0; }
.rodape a { display: inline-block; padding: 6px 0; }
#erro { padding: 10px 12px; }
@media print {
  .rolagem::before { display: none; }
  .tabela.comparativo { min-width: 0; width: 100%; table-layout: fixed; font-size: 10px; }
  .tabela.comparativo th, .tabela.comparativo td { white-space: normal !important; word-break: break-word; padding: 4px 5px; position: static; box-shadow: none; }
  .tabela.comparativo td:first-child, .tabela.comparativo th:first-child { width: 22%; min-width: 0; }
  .avisos li { page-break-inside: avoid; }
}
.tabela.comparativo td:not(:first-child), .tabela.comparativo th:not(:first-child) { white-space: normal; min-width: 118px; }
.tabela.comparativo tfoot td, .tabela.comparativo tfoot td:not(:first-child) { white-space: normal !important; text-align: left; min-width: 0; font-weight: 400; }
