/* Fontes hospedadas no próprio site (sem requisição ao Google). Licença SIL OFL — veja fonts/. */
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/atkinson-hyperlegible-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/atkinson-hyperlegible-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Literata'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/literata-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Literata'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/literata-latin-600-normal.woff2') format('woff2'); }

:root {
  --navy: #0B1120;
  --navy-2: #18213A;
  --gold: #C9A96E;
  --gold-text: #8A6A2E; /* dourado com contraste para texto em fundo claro */
  --paper: #F4F6F9;
  --white: #FFFFFF;
  --ink: #0B1120;
  --muted: #4A5368;
  --line: #D6DCE6;
  --ok: #2B6A4C;
  --warn: #8A4F0E;
  --sel: #EAF0FA;
  --r: 12px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}
h1, h2, h3 { font-family: 'Literata', Georgia, serif; font-weight: 600; line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 6vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 4.5vw, 1.75rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: inherit; }

.col { max-width: 640px; margin: 0 auto; padding: 28px 20px 64px; }

/* ---------- Entrada ---------- */
.hero { background: var(--navy); color: var(--white); }
.hero .col { padding-top: 40px; padding-bottom: 48px; }
.marca { display: flex; align-items: center; gap: 10px; color: var(--gold); font-weight: 700; margin-bottom: 36px; }
.marca::before { content: ''; width: 28px; height: 2px; background: var(--gold); }
.hero h1 { color: var(--white); margin-bottom: .5em; }
.hero .sub { color: #C8D0E0; font-size: 1.1rem; max-width: 34ch; }
.hero .preco { color: #C8D0E0; margin-top: 14px; }
.hero .btn { background: var(--gold); color: var(--navy); }
.hero .btn:hover { background: #D6B984; }

.confianca { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 8px; color: var(--muted); font-size: 1rem; }
.confianca strong { color: var(--ink); }

/* ---------- Botões ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; text-align: center;
  width: 100%; min-height: 58px; padding: 14px 20px;
  border: 0; border-radius: var(--r);
  background: var(--navy); color: var(--white);
  font: inherit; font-weight: 700; font-size: 1.05rem;
  cursor: pointer; text-decoration: none;
}
.btn:hover { background: var(--navy-2); }
.btn:disabled { background: #A9B1C1; cursor: not-allowed; }
.btn.sec { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.sec:hover { background: var(--sel); }
.btn.link { background: none; color: var(--muted); min-height: 48px; text-decoration: underline; font-weight: 400; }
.acoes { display: grid; gap: 12px; margin-top: 28px; }
.acoes.lado { grid-template-columns: auto 1fr; }
.acoes.lado .btn.sec { width: auto; padding-inline: 22px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Progresso ---------- */
.etapas { display: flex; gap: 6px; margin: 4px 0 28px; list-style: none; padding: 0; }
.etapas li { flex: 1; font-size: .9rem; color: var(--muted); }
.etapas li::before { content: ''; display: block; height: 5px; border-radius: 3px; background: var(--line); margin-bottom: 6px; }
.etapas li.feita::before { background: var(--navy); }
.etapas li.atual { color: var(--ink); font-weight: 700; }
.etapas li.atual::before { background: var(--gold); }

/* ---------- Perguntas ---------- */
.ajuda { color: var(--muted); }
.multi { color: var(--gold-text); font-weight: 700; font-size: 1rem; }
.opcoes { display: grid; gap: 10px; margin-top: 16px; }
.opcao {
  display: flex; align-items: center; gap: 14px;
  min-height: 60px; padding: 14px 16px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r);
  cursor: pointer;
}
.opcao input { position: absolute; opacity: 0; pointer-events: none; }
.opcao .marca-op { flex: none; width: 24px; height: 24px; border: 2px solid var(--muted); background: var(--white); }
.opcao.radio .marca-op { border-radius: 50%; }
.opcao.check .marca-op { border-radius: 6px; }
.opcao.on { border-color: var(--navy); background: var(--sel); }
.opcao.on .marca-op { border-color: var(--navy); background: var(--navy); box-shadow: inset 0 0 0 4px var(--white); }
.opcao.check.on .marca-op { box-shadow: none; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.opcao:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }

.campo { display: block; margin-top: 22px; }
.campo span { display: block; margin-bottom: 6px; color: var(--muted); }
.campo input {
  width: 100%; min-height: 56px; padding: 12px 14px;
  font: inherit; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--r); background: var(--white);
}
.campo input:focus { border-color: var(--navy); outline: none; }

/* ---------- Avisos e caixas ---------- */
.caixa { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin: 20px 0; }
.caixa.alerta { border-left: 5px solid var(--warn); }
.caixa.limite { background: transparent; border-style: dashed; color: var(--muted); font-size: 1rem; }
.erro { color: #A3261B; font-weight: 700; }
.consent { display: flex; gap: 14px; align-items: flex-start; margin-top: 20px; cursor: pointer; }
.consent input { width: 26px; height: 26px; margin-top: 3px; flex: none; accent-color: var(--navy); }

/* ---------- Chapa do Raio-X (panorama) ---------- */
.chapa {
  background: var(--navy); color: var(--white);
  border-radius: 16px; padding: 22px 20px; margin: 24px 0;
  background-image: radial-gradient(120% 80% at 50% 0%, #1B2848 0%, var(--navy) 70%);
}
.chapa h3 { color: var(--gold); font-family: 'Atkinson Hyperlegible', sans-serif; font-size: 1rem; margin-bottom: 14px; }
.linha { display: grid; grid-template-columns: 22px 1fr; gap: 4px 12px; padding: 14px 0; border-top: 1px solid rgba(201, 169, 110, .25); }
.linha:first-of-type { border-top: 0; }
.linha .ic { grid-row: span 2; width: 18px; height: 18px; margin-top: 5px; border-radius: 50%; border: 2px solid var(--gold); }
.linha.ident .ic { background: var(--gold); }
.linha.nao .ic { background: linear-gradient(90deg, var(--gold) 50%, transparent 50%); }
.linha.conf .ic, .linha.nunca .ic { border-style: dashed; }
.linha .nome { font-weight: 700; }
.linha .est { color: #C8D0E0; font-size: 1rem; }
.linha .frase { grid-column: 2; color: #DDE3EE; font-size: 1rem; margin-top: 4px; }

/* ---------- Resultado ---------- */
.destaque { font-family: 'Literata', Georgia, serif; font-size: 1.3rem; line-height: 1.45; }
.curiosidade { font-weight: 700; font-size: 1.15rem; }
.entrega { padding-left: 1.2em; }
.entrega li { margin-bottom: 6px; }
.preco-final { font-size: 1.15rem; font-weight: 700; margin: 24px 0 4px; }

.bloco { margin-top: 40px; }
.parte { margin-bottom: 18px; }
.parte h3 { margin-bottom: 4px; }
details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin-bottom: 18px; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 0; }
.perguntas { list-style: none; padding: 0; counter-reset: p; }
.perguntas li { counter-increment: p; position: relative; padding: 14px 0 14px 44px; border-top: 1px solid var(--line); font-family: 'Literata', Georgia, serif; font-size: 1.1rem; }
.perguntas li::before { content: counter(p); position: absolute; left: 0; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--gold); font: 700 .95rem 'Atkinson Hyperlegible', sans-serif; display: grid; place-items: center; }
.proximo { border-top: 3px solid var(--gold); padding-top: 28px; margin-top: 48px; }
.rodape { color: var(--muted); font-size: .95rem; margin-top: 32px; }

/* ---------- Pix ---------- */
.qr { display: block; width: 220px; height: 220px; margin: 16px auto; image-rendering: pixelated; }
.codigo { word-break: break-all; font-size: .85rem; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 10px; max-height: 92px; overflow: auto; }
.passos { padding-left: 1.3em; }
.passos li { margin-bottom: 6px; }
.status { display: flex; align-items: center; gap: 10px; font-weight: 700; margin: 16px 0; }
.status::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); animation: pulso 1.6s ease-in-out infinite; }
.status.ok::before { background: var(--ok); animation: none; }
@keyframes pulso { 50% { opacity: .3; } }

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

@media print {
  body { background: white; font-size: 12pt; }
  .noprint, .acoes { display: none !important; }
  .chapa { background: white !important; color: black; border: 1px solid #999; }
  .chapa h3, .linha .est, .linha .frase { color: black; }
  .col { padding: 0; }
}

/* Opções como botões (versão HTML puro) */
button.opcao { width: 100%; text-align: left; font: inherit; color: var(--ink); }
[tabindex="-1"]:focus { outline: none; }
a.btn { color: var(--white); }

/* ---------- Entrada: aceite curto ---------- */
.hero .aceite { color: #C8D0E0; font-size: 16px; margin-top: 10px; }
.hero .aceite a { color: #C8D0E0; }

.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; cursor: pointer; }


/* ---------- Pagamento ---------- */
.pg { padding-top: 20px; font-size: 16px; line-height: 1.45; }
.pg-kicker { color: var(--gold-text); font-weight: 700; margin-bottom: 4px; font-size: 15px; }
.pg h2 { font-size: 22px; margin-bottom: 14px; }
.travado { list-style: none; padding: 0; margin: 0 0 16px; }
.travado li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-top: 1px solid var(--line); font-size: 15px; }
.travado li:first-child { border-top: 0; }
.cad { flex: none; width: 14px; height: 12px; margin-top: 6px; border-radius: 3px; background: var(--navy); position: relative; }
.cad::before { content: ''; position: absolute; left: 3px; top: -6px; width: 6px; height: 7px; border: 2px solid var(--navy); border-bottom: 0; border-radius: 5px 5px 0 0; }
.pix-box { background: var(--white); border: 1.5px solid var(--navy); border-radius: 14px; padding: 14px; }
.pix-topo { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; gap: 8px; flex-wrap: wrap; }
.pix-valor { font-family: 'Literata', Georgia, serif; font-size: 26px; font-weight: 600; }
.relogio { font-size: 16px; color: var(--muted); }
.relogio strong { color: var(--ink); font-variant-numeric: tabular-nums; font-size: 16px; }
.pix-como { font-size: 16px; color: var(--muted); margin: 10px 0 4px; }
.mini-status { font-size: 16px; margin: 6px 0 0; }
.aviso-pg { font-size: 16px; margin: 12px 0 0; }
.pg details { margin-top: 14px; }
.garantia { font-size: 15px; color: var(--muted); text-align: center; margin-top: 12px; }

/* ---------- Progresso das perguntas ---------- */
.prog { margin: 0 0 18px; }
.prog-barra { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.prog-barra span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--navy), var(--gold)); transition: width .45s ease; }
.prog-info { display: flex; justify-content: space-between; font-size: 15px; color: var(--muted); margin-top: 6px; }
.prog-info span:last-child { color: var(--gold-text); font-weight: 700; }
.conquista {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  background: #EAF4EE; color: var(--ok); font-weight: 700; font-size: 15px;
  padding: 6px 12px; border-radius: 99px; animation: surge .5s ease both;
}
.conquista span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 12px; }
@keyframes surge { from { opacity: 0; transform: translateY(-6px) scale(.96); } to { opacity: 1; transform: none; } }

/* =====================================================================
   MOVIMENTO — uma linguagem só para o produto inteiro
   Mola (toques e seleção) e suave (entradas). Só transform e opacity.
   ===================================================================== */
:root { --mola: cubic-bezier(.34, 1.56, .64, 1); --suave: cubic-bezier(.2, .7, .2, 1); --alerta: #B4651A; }

.btn, .opcao, .linkbtn, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.btn { position: relative; overflow: hidden; transition: transform .22s var(--mola), background-color .18s, box-shadow .2s; }
.btn:active:not(:disabled) { transform: scale(.96); transition-duration: .07s; }
.opcao { transition: transform .22s var(--mola), background-color .15s, border-color .15s, box-shadow .2s; }
.opcao:active { transform: scale(.98); transition-duration: .07s; }
.opcao.on { box-shadow: 0 0 0 3px rgba(201, 169, 110, .35); }
.opcao .marca-op { transition: background-color .18s, border-color .18s, box-shadow .18s; }
.btn.copiado { background: var(--ok); }
.btn.ocupado .rot::before, .spin {
  content: ''; display: inline-block; width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px;
  border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: gira .8s linear infinite;
}
.carregando { display: flex; align-items: center; font-weight: 700; margin-top: 18px; }
@keyframes gira { to { transform: rotate(360deg); } }

/* Aviso flutuante */
.toast {
  position: fixed; left: 50%; top: calc(12px + env(safe-area-inset-top, 0px)); z-index: 50;
  display: flex; gap: 10px; align-items: center; width: min(92vw, 460px);
  background: var(--navy); color: #fff; border-radius: 14px; padding: 12px 16px; font-size: 15px; line-height: 1.35;
  box-shadow: 0 10px 30px rgba(11, 17, 32, .35); opacity: 0; transform: translate(-50%, -20px); pointer-events: none;
  transition: opacity .25s ease, transform .3s var(--mola);
}
.toast.mostra { opacity: 1; transform: translate(-50%, 0); }
.toast-ic { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 700; font-size: 13px; }
.toast.ok .toast-ic { background: #6FCF97; }

/* Pagamento: complementos */
.recebedor { font-size: 16px; margin: -2px 0 10px; }
.volte { font-size: 16px; margin: 4px 0 0; }
.suporte { font-size: 15px; color: var(--muted); text-align: center; margin-top: 14px; }
.ok-topo { color: var(--ok); font-weight: 700; display: flex; gap: 8px; align-items: center; }
.ok-topo span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 12px; }

/* ---------- Processamento (dirigido pelo trabalho real) ---------- */
.proc {
  min-height: 100vh; min-height: 100dvh; display: grid; place-items: center;
  background: var(--navy); color: var(--white); padding: 24px 20px;
  background-image: radial-gradient(90% 60% at 50% 20%, #1B2848 0%, var(--navy) 70%);
}
.proc-in { width: 100%; max-width: 420px; }
.proc h2 { color: var(--white); font-size: 24px; text-align: center; margin: 14px 0 16px; }
.orbita { position: relative; width: 150px; height: 150px; margin: 0 auto; display: grid; place-items: center; }
.anel { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(201, 169, 110, .14); border-top-color: var(--gold); border-right-color: rgba(201, 169, 110, .5); }
.filme { position: relative; width: 84px; height: 104px; border: 2px solid rgba(201, 169, 110, .55); border-radius: 10px; overflow: hidden; background: linear-gradient(180deg, #121B30, #0B1120); }
.filme-linhas { position: absolute; inset: 14px 12px; display: grid; gap: 9px; align-content: start; }
.filme-linhas i { display: block; height: 6px; border-radius: 4px; background: rgba(200, 208, 224, .18); }
.filme-linhas i:nth-child(2) { width: 70%; } .filme-linhas i:nth-child(4) { width: 85%; }
.scan { position: absolute; left: 0; right: 0; height: 30px; top: -30px; background: linear-gradient(180deg, transparent, rgba(201, 169, 110, .45) 70%, var(--gold)); }
.proc-passos { list-style: none; padding: 0; margin: 0; }
.proc-passos li { display: grid; grid-template-columns: 24px 1fr; gap: 0 12px; padding: 8px 0; opacity: .32; transition: opacity .5s ease; }
.proc-passos li.ativo { opacity: 1; }
.proc-passos .chk { grid-row: span 2; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; border: 2px solid rgba(201, 169, 110, .6); position: relative; transition: background-color .25s, border-color .25s; }
.proc-passos .chk::after { content: ''; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid var(--navy); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(.4); opacity: 0; transition: opacity .2s, transform .25s var(--mola); }
.proc-passos li.feito .chk { background: var(--gold); border-color: var(--gold); }
.proc-passos li.feito .chk::after { opacity: 1; transform: rotate(45deg) scale(1); }
.proc-passos li.girando .chk { border-color: rgba(201, 169, 110, .22); border-top-color: var(--gold); animation: gira .8s linear infinite; }
.proc-passos .pt { font-weight: 700; font-size: 16px; }
.proc-passos .pd { color: #A9B8D2; font-size: 15px; }
.proc-fim { text-align: center; color: var(--gold); font-weight: 700; font-size: 17px; margin-top: 14px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--mola); }
.proc-fim.ativo { opacity: 1; transform: none; }

/* ---------- Pagamento confirmado ---------- */
.confirma { min-height: 100vh; min-height: 100dvh; display: grid; place-content: center; justify-items: center; text-align: center; background: var(--navy); color: #fff; padding: 24px; }
.confirma h2 { color: #fff; font-size: 26px; margin: 18px 0 6px; }
.confirma p { color: #C8D0E0; }
.confirma .btn.link { color: #C8D0E0; }
.selo-ok { position: relative; width: 110px; height: 110px; }
.selo-ok svg { width: 100%; height: 100%; }
.selo-ok .c { fill: none; stroke: var(--gold); stroke-width: 4; stroke-dasharray: 214; stroke-dashoffset: 0; }
.selo-ok .v { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 0; }
.selo-ok i { position: absolute; left: 50%; top: 50%; width: 4px; height: 12px; margin: -6px 0 0 -2px; border-radius: 2px; background: var(--gold); opacity: 0; transform: rotate(var(--r)) translateY(-62px); }

/* ---------- Cadeia da descoberta (resultado) ---------- */
.cadeia { margin-top: 36px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 16px 4px; }
.cadeia h2 { font-size: 20px; margin-bottom: 16px; }
.elos { list-style: none; padding: 0; margin: 0; }
.elo { position: relative; display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; padding: 0 0 24px; }
.elo .no { grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1; font-weight: 700; font-size: 14px; }
.elo.ident .no { background: var(--gold); color: var(--navy); }
.elo.ident .no::after { content: '✓'; }
.elo.nao .no { background: #fff; border: 3px solid var(--alerta); color: var(--alerta); }
.elo.nao .no::after { content: '!'; }
.elo.conf .no { background: #fff; border: 3px dashed var(--muted); color: var(--muted); }
.elo.conf .no::after { content: '?'; }
.elo .et { font-size: 15px; color: var(--muted); font-weight: 700; line-height: 1.3; }
.elo .ex { font-family: 'Literata', Georgia, serif; font-size: 17px; line-height: 1.35; }
.elo.nao .ex { color: var(--alerta); font-weight: 600; }
.elo:not(:last-child)::after { content: ''; position: absolute; left: 12.5px; top: 30px; bottom: 2px; width: 3px; border-radius: 2px; background: var(--gold); transform-origin: top; }
.elo.liga-nao::after { background: repeating-linear-gradient(180deg, var(--alerta) 0 5px, transparent 5px 10px); }
.elo.liga-conf::after { background: repeating-linear-gradient(180deg, var(--muted) 0 4px, transparent 4px 9px); }

/* =====================================================================
   Só com movimento permitido no aparelho
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .entra { animation: entraDir .38s var(--suave) both; }
  .entra-volta { animation: entraEsq .38s var(--suave) both; }
  @keyframes entraDir { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
  @keyframes entraEsq { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
  @keyframes sobe { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

  .entra .opcao:not(.sem-entrada), .entra-volta .opcao:not(.sem-entrada) { animation: sobe .45s var(--suave) both; animation-delay: calc(var(--i) * 60ms + 100ms); }
  .opcao.pulo { animation: pulo .28s var(--mola); }
  .opcao.pulo .marca-op { animation: marcaPulo .3s var(--mola); }
  @keyframes pulo { 40% { transform: scale(1.03); } }
  @keyframes marcaPulo { from { transform: scale(.55); } }

  .btn.cta.brilho::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%);
    transform: translateX(-100%); animation: brilho 1.4s ease .7s 2;
  }
  .hero .btn.cta.brilho::after { background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); }
  @keyframes brilho { to { transform: translateX(100%); } }

  .travado li:not(.sem-entrada) { animation: sobe .55s var(--suave) both; animation-delay: calc(var(--i) * 130ms + 150ms); }

  .revela { opacity: 0; transform: translateY(16px); transition: opacity .65s var(--suave) var(--d, 0ms), transform .65s var(--suave) var(--d, 0ms); }
  .revela.visivel { opacity: 1; transform: none; }
  details[open] > .det-corpo { animation: abre .3s var(--suave); }
  @keyframes abre { from { opacity: 0; transform: translateY(-6px); } }

  .cadeia .elo { opacity: 0; }
  .cadeia.visivel .elo { animation: sobe .6s var(--suave) forwards; animation-delay: calc(var(--i) * 550ms + 250ms); }
  .cadeia.visivel .elo:not(:last-child)::after { animation: liga .45s ease both; animation-delay: calc(var(--i) * 550ms + 700ms); }
  .cadeia.visivel .elo.nao .no { animation: alerta .9s ease 2; animation-delay: calc(var(--i) * 550ms + 1000ms); }
  @keyframes liga { from { transform: scaleY(0); } }
  @keyframes alerta { 50% { box-shadow: 0 0 0 8px rgba(180, 101, 26, .18); } }

  .anel { animation: gira 1.2s linear infinite; }
  .scan { animation: varrer 1.6s ease-in-out infinite; }
  @keyframes varrer { to { top: 104px; } }

  .selo-ok .c { animation: traco .9s ease both; }
  .selo-ok .v { animation: traco2 .5s ease .8s both; }
  .selo-ok i { animation: raio .7s ease .9s both; }
  .confirma h2, .confirma p { animation: sobe .55s var(--suave) .8s both; }
  @keyframes traco { from { stroke-dashoffset: 214; } }
  @keyframes traco2 { from { stroke-dashoffset: 60; } }
  @keyframes raio { 0% { opacity: 0; transform: rotate(var(--r)) translateY(-44px) scaleY(.4); } 40% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--r)) translateY(-70px) scaleY(1); } }

  .conquista { animation: surge .6s var(--mola) .2s both; }
}

/* ---------- Consentimento de anúncios (só aparece se a Meta estiver habilitada) ---------- */
.consent-ads {
  position: fixed; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 40;
  width: min(94vw, 520px); background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px;
  box-shadow: 0 12px 34px rgba(11, 17, 32, .2); font-size: 15px; line-height: 1.4;
}
.consent-ads p { margin: 0 0 10px; }
.ca-bt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ca-bt .btn { min-height: 48px; }

/* =====================================================================
   Componentes da versão de validação
   ===================================================================== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.links-rodape { font-size: 16px; line-height: 2; }
.links-rodape .linkbtn { font-size: 16px; }

/* Tela de desbloqueio */
.pronto h2 { font-size: clamp(1.6rem, 6vw, 2rem); margin-top: 6px; }
.pronto .lead { font-size: 19px; }
.pronto h3 { margin-top: 22px; }
.entrega-lista { padding-left: 1.2em; margin: 0 0 14px; }
.entrega-lista li { margin-bottom: 8px; }
.forte { font-weight: 700; font-size: 19px; }
.amostra { margin: 22px 0; padding: 14px 16px; border: 2px dashed var(--line); border-radius: 14px; background: #FBFCFE; }
.amostra figcaption { font-size: 15px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.amostra p { margin: 6px 0; font-size: 16px; color: var(--muted); }
.amostra em { color: var(--muted); font-style: normal; background: #EEF1F6; padding: 0 4px; border-radius: 4px; }
.fecho-pg { margin: 22px 0 8px; padding: 18px 16px; border: 1.5px solid var(--navy); border-radius: 16px; background: #fff; text-align: center; }
.preco-grande { font-family: 'Literata', Georgia, serif; font-size: 34px; font-weight: 600; margin: 0 0 10px; }
.fecho-pg .mini { font-size: 16px; color: var(--muted); margin: 10px 0 0; }
.ok-caixa { border-left: 5px solid var(--ok); }

/* Resultado */
.res h1 { font-size: clamp(1.8rem, 7vw, 2.2rem); }
.codigo-acesso { margin: 14px 0 6px; padding: 16px; border-radius: 14px; background: var(--navy); color: #fff; }
.codigo-acesso p { margin: 0 0 6px; }
.codigo-acesso .cod { font: 700 22px/1.3 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; letter-spacing: 1px; color: var(--gold); word-break: break-all; margin: 6px 0 12px; }
.codigo-acesso .btn.sec { color: #fff; border-color: #fff; }
.codigo-acesso .mini { font-size: 15px; color: #C8D0E0; margin-top: 10px; }
.situacao { margin: 0; display: grid; gap: 4px 0; }
.situacao dt { font-weight: 700; font-size: 16px; color: var(--muted); margin-top: 8px; }
.situacao dd { margin: 0; }
.positivos, .desconhecido { padding-left: 0; list-style: none; margin: 0; }
.positivos li, .desconhecido li { position: relative; padding: 8px 0 8px 34px; border-top: 1px solid var(--line); }
.positivos li::before { content: '✓'; position: absolute; left: 0; top: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 14px; }
.desconhecido li::before { content: '?'; position: absolute; left: 0; top: 8px; width: 24px; height: 24px; border-radius: 50%; border: 2px dashed var(--muted); color: var(--muted); display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.destaque-bloco h3 { margin-top: 18px; }
.origem { list-style: none; padding: 0; margin: 0; }
.origem li { display: grid; gap: 2px; padding: 10px 12px; margin-bottom: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.origem .op { color: var(--muted); font-size: 16px; }
.cadeia .nota { color: var(--muted); font-size: 16px; margin-top: -8px; }
.precos { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 12px 0; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.precos span:nth-child(even) { text-align: right; white-space: nowrap; }
.pendente { color: #A3261B; }
.doc h2 { margin-top: 28px; }
/* Animações de entrada não podem criar rolagem lateral nem por um instante */
body, #app { overflow-x: hidden; overflow-x: clip; }

/* Comunicação simplificada: entrada direta e leitura confortável. */
.apresentacao-autor { display:flex; align-items:center; gap:14px; margin:0 0 24px; }
.apresentacao-autor p { margin:0; font-size:17px; line-height:1.4; }
.apresentacao-autor .apresentacao-registro { font-size:14px; color:#C8D0E0; }
.apresentacao-foto { position:relative; flex:none; display:grid; place-items:center; width:64px; height:64px; border-radius:16px; overflow:hidden; background:var(--navy-2); color:var(--gold); }
.apresentacao-foto img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 25%; }
.hero .apresentacao-texto { font-size:18px; line-height:1.45; color:#DDE3EE; }
.hero .apresentacao-texto strong { color:white; }
.hero:has(.apresentacao-autor) .marca { margin-bottom:20px; font-size:15px; }
.hero:has(.apresentacao-autor) h1 { font-size:clamp(26px,6.5vw,36px); }
.descoberta-tela { display:flex; flex-direction:column; justify-content:center; min-height:100vh; min-height:100svh; max-width:600px; padding:24px 20px; background:var(--navy); color:white; }
body:has(.descoberta-tela) { background:var(--navy); }
.descoberta-tela h2 { font-size:clamp(24px,6vw,30px); line-height:1.25; margin-bottom:18px; }
.descoberta-tela p { font-size:18px; line-height:1.45; margin:0 0 14px; color:#DDE3EE; }
.descoberta-tela strong { color:white; }
.descoberta-tela .descoberta-progresso { color:var(--gold); font-size:15px; font-weight:700; margin-bottom:18px; }
.descoberta-tela .descoberta-reacao { font-size:16px; line-height:1.35; color:var(--gold); margin-bottom:14px; }
.descoberta-tela .acoes { margin-top:8px; gap:10px; }
.descoberta-tela .btn { background:var(--gold); color:var(--navy); min-height:54px; font-size:18px; }
.descoberta-tela .btn.sec { background:transparent; color:white; border-color:#C8D0E0; }
.descoberta-tela .btn:hover { background:#D6B984; }
.descoberta-tela .btn.sec:hover { background:var(--navy-2); }
.descoberta-voltar { align-self:center; color:#C8D0E0; font-size:16px; min-height:44px; margin-top:8px; }
.descoberta-tela .descoberta-nota { font-size:16px; line-height:1.35; margin:12px 0 0; }
@media (max-height:650px) and (max-width:600px) {
  .descoberta-tela { padding:14px 16px; }
  .descoberta-tela h2 { font-size:22px; line-height:1.22; margin-bottom:12px; }
  .descoberta-tela p { font-size:17px; line-height:1.35; margin-bottom:12px; }
  .descoberta-tela .descoberta-progresso, .descoberta-tela .descoberta-reacao { font-size:15px; margin-bottom:12px; }
  .descoberta-tela .btn { min-height:50px; padding:10px 16px; }
}
.hero .entrega-curta { color: #DDE3EE; font-size: 18px; line-height: 1.5; }
.hero .sem-envio { color: #DDE3EE; font-size: 16px; margin-bottom: 16px; }
.hero .autorizacao-inicio { color: #C8D0E0; font-size: 16px; line-height: 1.45; padding-top: 14px; border-top: 1px solid #4A5368; }
.hero .autorizacao-inicio strong { font-weight: 400; }
.hero .autorizacao-inicio a { text-decoration: underline; }
.entrada-rodape { padding-top: 16px; }
.entrada-rodape .confianca { border-top: 0; padding-top: 0; }
.escopo-curto { color: var(--muted); font-size: 16px; line-height: 1.5; }
.pronto .entrega-lista { font-size: 18px; line-height: 1.5; }
.pronto .forte { font-size: 18px; }

/* Oferta: benefícios da descoberta, em vez de uma lista de arquivos. */
.ponte-oferta {
  min-height:100svh; display:flex; flex-direction:column; justify-content:center;
  padding:clamp(16px,3svh,28px) 20px; max-width:600px;
}
.ponte-oferta h2 { font-size:clamp(22px,5.8vw,28px); line-height:1.25; margin:0 0 16px; }
.ponte-oferta p { font-size:18px; line-height:1.4; margin:0 0 12px; }
.ponte-oferta .ponte-etapa { font-size:15px; font-weight:700; color:var(--gold-text); margin-bottom:16px; }
.ponte-acoes { margin-top:12px; }
.ponte-acoes .btn { font-size:18px; min-height:56px; }
.ponte-voltar { display:block; margin:8px auto 0; min-height:44px; }
.oferta-kicker { color:var(--gold-text); font-weight:700; margin-bottom:12px; }
.oferta h2 { font-size:clamp(1.65rem,6vw,2.05rem); line-height:1.25; }
.oferta-entrega { list-style:none; padding:0; }
.oferta-entrega li { padding:16px 0; border-top:1px solid var(--line); line-height:1.5; }
.oferta-entrega strong { display:inline; color:var(--ink); }
.oferta-preco-label { margin-bottom:4px; font-size:18px; }
.pg h2 { font-size:clamp(1.4rem,5vw,1.75rem); line-height:1.3; }
.pg .pix-promessa { font-size:18px; line-height:1.5; }
.pg .travado li { font-size:17px; line-height:1.5; padding:12px 0; }

/* Orientação prática entregue no resultado pago e incluída no resumo impresso. */
.plano-pratico { background:#fff; border:1px solid var(--line); border-radius:16px; padding:20px; }
.plano-pratico h3 { margin-top:22px; font-size:19px; }
.plano-pratico blockquote { margin:12px 0; padding:14px 16px; border-left:4px solid var(--navy); background:#F2F5FA; font-size:18px; line-height:1.55; overflow-wrap:anywhere; }
.plano-admin { border-bottom:1px solid var(--line); padding-bottom:12px; }
@media print { .plano-pratico { border-radius:0; padding:12px; } .plano-pratico h3 { break-after:avoid; } .plano-pratico blockquote { break-inside:avoid; } }

.leve-conversa { margin:16px 0; padding:14px; background:#F7F8FB; border-radius:10px; }
.leve-conversa h3 { margin-top:0; }

/* Guardar e pedir ajuda são ações da entrega, acessíveis a todos os perfis. */
.ferramentas-resultado .acoes { display:grid; grid-template-columns:1fr; gap:10px; }
.ferramentas-resultado .btn { width:100%; text-align:center; }
.duvidas-caso .det-corpo p { font-size:17px; line-height:1.55; }
.so-impressao { display:none; }
@media print {
  .revela, .cadeia .elo, .entra { opacity:1 !important; transform:none !important; animation:none !important; transition:none !important; }
  .proximo, .toast, .consent-ads { display:none !important; }
  .so-impressao { display:block; margin-top:24px; }
  .res details:not(.noprint) > .det-corpo { display:block !important; }
  .res details { background:white; border:1px solid #bbb; margin:12px 0; }
  .res summary { break-after:avoid; }
  .res h2, .res h3 { break-after:avoid; }
  .res a { color:black; }
}
.aviso-consent { font-size: 15px; color: var(--muted); margin: 14px 0 0; line-height: 1.45; }
