:root {
  --bg: #f7f7f5;
  --bg-2: #ecedeb;
  --card: #ffffff;
  --line: #dfe1e4;
  --text: #1b2430;
  --muted: #5f6873;
  --accent: #1f3a5f;
  --accent-2: #162b47;
  --teal: #4a6c8c;
  --tint: #eef2f6;
  --ok: #2f6b4f;
  --warn: #8a5a1f;
  --erro: #a63a3a;
  --radius: 10px;
  --sombra: 0 1px 2px rgba(27,36,48,.05);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.55;
  min-height: 100vh;
  display: flex; flex-direction: column;
}
main { flex: 1; }
h1, h2, h3 { font-family: "Source Serif 4", Georgia, serif; font-weight: 600; letter-spacing: -0.01em; }
.marca { font-family: "Inter", sans-serif; letter-spacing: -0.01em; }
a { color: var(--accent); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.grad { color: var(--accent); }

/* Topo */
header.topo { background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
header.topo .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.marca { font-weight: 700; font-size: 23px; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.marca img { width: 38px; height: 38px; }
.marca b { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--text); }
.nav .btn { color: #fff; padding: 10px 18px; font-size: 15px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: 600 16px "Inter", sans-serif;
  background: var(--accent); color: #fff; padding: 15px 28px; border-radius: 8px; text-decoration: none; transition: transform .1s, background .2s, box-shadow .2s;
  box-shadow: none; }
.btn:hover { background: var(--accent-2); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.grande { width: 100%; padding: 18px; font-size: 17px; }
.btn.xl { padding: 18px 34px; font-size: 18px; }
.btn.sec { background: #fff; border: 1px solid var(--line); color: var(--text); box-shadow: none; }
.btn.sec:hover { border-color: var(--accent); color: var(--accent); }

/* Cartões genéricos */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--sombra); }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); }
.sub { color: var(--muted); margin: 0 0 24px; font-size: 17px; }

/* ---------- Página inicial ---------- */
.hero { padding: 64px 0 56px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.etiqueta { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--muted); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 0; border-radius: 0; margin-bottom: 20px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 62px); margin: 0 0 18px; line-height: 1.04; }
.hero p.lead { color: var(--muted); font-size: 19px; margin: 0 0 30px; max-width: 540px; }
.cta-linha { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.cta-nota { color: var(--muted); font-size: 14px; }
.garantias { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--muted); font-size: 15px; }
.garantias span::before { content: "— "; color: var(--line); }

.previa { position: relative; }
.previa .card { padding: 28px; }
.previa .rot { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.previa .qi { font: 700 76px/1 "Source Serif 4", Georgia, serif; margin: 6px 0 2px; }
.previa .mini-barra { margin: 10px 0; }
.previa .mini-barra div:first-child { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 5px; }
.flutua { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); box-shadow: var(--sombra); padding: 12px 16px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.flutua.a { top: -18px; right: -12px; }
.flutua.b { bottom: -20px; left: -18px; }
.flutua i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; }

.faixa { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faixa .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 26px 20px; text-align: center; }
.faixa strong { display: block; font: 700 28px "Source Serif 4", Georgia, serif; }
.faixa span { color: var(--muted); font-size: 14px; }

section.bloco { padding: 80px 0 0; }
.titulo-sec { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.titulo-sec h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 10px; line-height: 1.1; }
.titulo-sec p { color: var(--muted); font-size: 17px; margin: 0; }

.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.icone { width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; margin-bottom: 16px; background: var(--tint); color: var(--accent); }
.icone svg { width: 22px; height: 22px; }
.num { width: 36px; height: 36px; border-radius: 50%; background: transparent; border: 1.5px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-weight: 700; margin-bottom: 14px; }

.desafio { max-width: 720px; margin: 0 auto; }
.desafio .pergunta { font-size: 22px; }
.desafio .feedback { margin-top: 16px; font-weight: 600; min-height: 26px; }

.oferta { display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; padding: 0; }
.oferta > div { padding: 36px; }
.oferta .lado { background: var(--accent); color: #fff; }
.oferta .lado h3 { font-size: 26px; margin: 0 0 8px; }
.oferta .lado p { color: rgba(255,255,255,.85); }
.oferta .preco { font: 700 52px "Source Serif 4", Georgia, serif; margin: 18px 0 4px; }
.oferta .lado small { color: rgba(255,255,255,.8); }

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

.cta-final { margin: 80px 0 0; text-align: center; padding: 56px 24px; border-radius: var(--radius); background: var(--accent); color: #fff; }
.cta-final h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 10px; }
.cta-final p { color: rgba(255,255,255,.8); margin: 0 0 28px; font-size: 17px; }
.cta-final .btn { background: #fff; color: var(--accent); }

/* ---------- Teste ---------- */
.teste { max-width: 700px; margin: 40px auto; }
.teste .card { padding: 34px; }
.progresso { height: 8px; background: var(--bg-2); border-radius: 99px; overflow: hidden; margin-bottom: 10px; }
.progresso div { height: 100%; background: var(--accent); width: 0; transition: width .3s; }
.contador { color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; margin-bottom: 24px; }
.pergunta { font-size: 23px; font-weight: 600; margin: 0 0 24px; }
.opcoes { display: grid; gap: 12px; }
.opcao { text-align: left; background: #fff; border: 1.5px solid var(--line); color: var(--text); padding: 17px 20px; border-radius: 8px; font: 500 17px "Inter", sans-serif; cursor: pointer; transition: border-color .15s, background .15s; display: flex; gap: 14px; align-items: center; }
.opcao:hover { border-color: var(--accent); }
.opcao.sel { border-color: var(--accent); background: var(--tint); }
.opcao.certa { border-color: var(--ok); background: #eef5f1; }
.opcao.errada { border-color: var(--erro); background: #f8eeee; }
.opcao b { width: 30px; height: 30px; flex: none; border-radius: 8px; background: var(--bg-2); display: grid; place-items: center; font-size: 14px; color: var(--muted); }
.navteste { display: flex; justify-content: space-between; margin-top: 28px; }

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; margin: 40px auto 72px; align-items: start; }
.checkout h1 { font-size: clamp(28px, 4.5vw, 42px); margin: 0 0 10px; line-height: 1.1; }
.borrado { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; overflow: hidden; margin-bottom: 24px; box-shadow: var(--sombra); }
.borrado .qi { font: 600 88px "Source Serif 4", Georgia, serif; filter: blur(14px); user-select: none; color: var(--accent); }
.borrado .cad { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 600; }
.beneficios { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.beneficios li { display: flex; gap: 10px; align-items: flex-start; }
.beneficios li::before { content: "✓"; color: var(--ok); font-weight: 700; }
.resumo { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: sticky; top: 92px; box-shadow: var(--sombra); }
.resumo h2 { margin: 0 0 16px; font-size: 20px; }
.linha { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); color: var(--muted); font-size: 15px; }
.linha span:last-child { color: var(--ok); font-weight: 600; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 20px; font-weight: 700; font-size: 18px; }
.total strong { font-size: 28px; }
label { display: block; font-size: 14px; color: var(--muted); margin: 12px 0 6px; font-weight: 500; }
input { width: 100%; background: #fff; border: 1.5px solid var(--line); color: var(--text); padding: 14px; border-radius: 10px; font: 16px "Inter", sans-serif; }
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31,58,95,.12); }
.erro { color: var(--erro); font-size: 14px; min-height: 20px; margin: 10px 0; }
.seguro { color: var(--muted); font-size: 13px; text-align: center; margin-top: 12px; }

.pixbox { text-align: center; }
.pixbox img { width: 240px; height: 240px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; margin: 8px auto 14px; display: block; }
.copia { display: flex; gap: 8px; margin: 10px 0; }
.copia input { font-size: 13px; }
.aguardando { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--warn); margin: 14px 0 6px; font-weight: 600; }
.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: gira 1s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
.passos { text-align: left; color: var(--muted); font-size: 14px; padding-left: 18px; }
.aviso-mock { background: #f8f4ec; border: 1px solid #e3d5bb; color: var(--warn); border-radius: 10px; padding: 12px; font-size: 13px; margin-top: 12px; }

/* ---------- Resultado ---------- */
.res { max-width: 780px; margin: 40px auto 72px; }
.placar { text-align: center; padding: 40px 24px; }
.placar .qi { font: 600 120px/1 "Source Serif 4", Georgia, serif; color: var(--accent); }
.placar .classe { font-size: 22px; font-weight: 600; margin-top: 8px; }
.curva { margin: 24px 0 0; }
.area { margin: 14px 0; }
.area .topo-a { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 6px; }
.barra { height: 10px; background: var(--bg-2); border-radius: 99px; overflow: hidden; }
.barra div { height: 100%; background: var(--accent); }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.certificado { background: #fff; color: #1b2430; border-radius: 4px; padding: 48px 40px; text-align: center; border: 8px double #b9a57a; margin-top: 28px; }
.certificado img { width: 54px; height: 54px; }
.certificado h2 { font: 700 30px Georgia, serif; margin: 4px 0 6px; letter-spacing: .02em; }
.certificado .nome { font: italic 34px Georgia, serif; margin: 22px 0 8px; border-bottom: 1px solid #b9a57a; display: inline-block; padding: 0 24px 6px; }
.certificado .qi-c { font: 700 54px Georgia, serif; margin: 12px 0; }
.certificado small { color: #555; }
.finalizar { text-align: center; margin-top: 36px; }
.finalizar p { color: var(--muted); margin: 0 0 14px; }

/* Rodapé */
footer { background: #fff; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; padding: 28px 0 36px; margin-top: 80px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
footer a { color: var(--muted); margin-right: 16px; }
footer .marca { font-size: 17px; }
footer .marca img { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 56px; }
  .previa { max-width: 440px; margin: 0 auto; width: 100%; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: 1fr; }
  .faixa .wrap { grid-template-columns: repeat(2, 1fr); }
  .oferta { grid-template-columns: 1fr; }
  .checkout { grid-template-columns: 1fr; }
  .resumo { position: static; }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  .grid4 { grid-template-columns: 1fr; }
  .placar .qi { font-size: 92px; }
  .certificado { padding: 32px 18px; }
  .flutua.a { right: 0; } .flutua.b { left: 0; }
  .previa .card { padding-top: 46px; padding-bottom: 40px; }
  .oferta > div { padding: 26px; }
  .teste .card { padding: 22px; }
}
@media print {
  body { background: #fff; }
  body > *:not(main), .naoimprimir { display: none !important; }
  .certificado { margin: 0; }
}

/* ---------- Pacotes ---------- */
.pacotes { display: grid; gap: 10px; margin-bottom: 8px; }
.pacote { position: relative; display: block; border: 1.5px solid var(--line); border-radius: 8px; padding: 14px 16px 14px 46px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.pacote:hover { border-color: var(--teal); }
.pacote input { position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.pacote.sel { border-color: var(--accent); background: var(--tint); }
.pacote .topo-p { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pacote .nome-p { font-weight: 700; font-size: 16px; color: var(--text); }
.pacote .preco-p { font-weight: 700; font-size: 17px; color: var(--text); white-space: nowrap; }
.pacote .preco-p s { color: var(--muted); font-weight: 400; font-size: 13px; margin-right: 6px; }
.pacote ul { margin: 6px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13.5px; }
.pacote ul li::before { content: "· "; }
.selo-rec { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--accent); border-radius: 4px; padding: 2px 7px; margin-left: 8px; vertical-align: 2px; }

.planos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plano { display: flex; flex-direction: column; }
.plano.destaque { border: 2px solid var(--accent); }
.plano .preco { font: 600 40px "Source Serif 4", Georgia, serif; margin: 8px 0 2px; }
.plano small { color: var(--muted); }
.plano ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 8px; flex: 1; align-content: start; }
.plano ul li { display: flex; gap: 8px; }
.plano ul li::before { content: "✓"; color: var(--ok); font-weight: 700; }

.bloqueado { position: relative; overflow: hidden; }
.bloqueado .conteudo-falso { filter: blur(6px); opacity: .6; pointer-events: none; user-select: none; }
.bloqueado .sobre { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; background: rgba(255,255,255,.55); }
.bloqueado .sobre h3 { margin: 0 0 6px; }
.bloqueado .sobre p { color: var(--muted); margin: 0 0 16px; max-width: 420px; }
.relatorio h4 { margin: 18px 0 4px; font-size: 16px; }
.relatorio p { margin: 0; color: var(--muted); }
.relatorio .dica { margin-top: 6px; font-size: 14px; color: var(--text); }
@media (max-width: 900px) { .planos { grid-template-columns: 1fr; } }
@media print {
  .relatorio-print { break-before: page; }
}

/* ---------- Questões com imagens ---------- */
.figura { display: none; margin: 0 auto 22px; }
.figura svg { display: block; width: 100%; height: auto; }
.figura.matriz { display: block; max-width: 300px; }
.figura.faixa { display: block; max-width: 520px; }
.figura.modelo { display: block; max-width: 150px; }
.opcoes.visuais { grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opcoes.visuais .opcao { flex-direction: column; gap: 6px; padding: 10px; align-items: center; }
.opcoes.visuais .opcao svg { width: 100%; max-width: 92px; height: auto; display: block; }
.opcoes.visuais .opcao b { align-self: flex-start; width: 24px; height: 24px; font-size: 12px; }
@media (max-width: 560px) {
  .opcoes.visuais { grid-template-columns: repeat(3, 1fr); }
  .figura.matriz { max-width: 260px; }
}
.grid5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1000px) { .grid5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .grid5 { grid-template-columns: 1fr 1fr; } }

/* ---------- Fale conosco ---------- */
.fale-btn { position: fixed; right: 18px; bottom: 18px; z-index: 30; background: var(--accent); color: #fff; border: 0; border-radius: 99px; padding: 12px 18px; font: 600 15px "Inter", sans-serif; cursor: pointer; box-shadow: 0 4px 14px rgba(27,36,48,.18); }
.fale-btn:hover { background: var(--accent-2); }
.contato-fundo { position: fixed; inset: 0; z-index: 40; background: rgba(27,36,48,.45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.contato-fundo[hidden] { display: none; }
.contato-caixa { position: relative; background: #fff; border-radius: 12px; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 24px; }
.contato-caixa h2 { margin: 0 0 6px; font-size: 22px; }
.contato-fechar { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; }
.contato-caixa select, .contato-caixa textarea { width: 100%; background: #fff; border: 1.5px solid var(--line); color: var(--text); padding: 12px; border-radius: 10px; font: 16px "Inter", sans-serif; }
.contato-caixa textarea { resize: vertical; }
.contato-caixa select:focus, .contato-caixa textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31,58,95,.12); }
.ct-dica { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
@media print { .fale-btn, .contato-fundo { display: none !important; } }
@media (max-width: 560px) { .fale-btn { right: 10px; bottom: 10px; width: 46px; height: 46px; padding: 0; font-size: 0; border-radius: 50%; } .fale-btn::before { content: "?"; font-size: 22px; font-weight: 700; } body { padding-bottom: 56px; } }
.aceite { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin: 14px 0 4px; font-weight: 400; line-height: 1.45; cursor: pointer; }
.aceite input { width: 18px; height: 18px; flex: none; margin: 1px 0 0; accent-color: var(--accent); }
.cupom-aviso { background: #eef5f1; border: 1px solid #b9d6c6; color: #2f6b4f; border-radius: 8px; padding: 10px 12px; font-size: 14px; margin-bottom: 12px; }
.cupom-aviso.expirado { background: #f8f4ec; border-color: #e3d5bb; color: #8a5a1f; }

/* Aviso de quem recebe o Pix */
.recebedor{margin:14px auto 0;max-width:420px;padding:10px 14px;border:1px solid var(--line);border-radius:var(--radius);background:var(--tint);font-size:14px;line-height:1.45;color:var(--text)}

/* Identificação do vendedor (Decreto 7.962/2013) */
footer .rodape-id{flex-basis:100%;font-size:12px}
footer .rodape-id a{margin-right:0}
