/* Recado do Papai Noel — funil "Livro dos Bonzinhos".
   Molde da Signature (uma pergunta por tela, "Passo X de N", Voltar/Continuar fixos embaixo,
   recompensa a cada passo) vestido de livro de histórias do Polo Norte. */
@font-face { font-family: 'Fraunces'; src: url(/_shared/font/fraunces.woff2) format('woff2'); font-weight: 500 900; font-display: swap; }
@font-face { font-family: 'Pinyon Script'; src: url(/_shared/font/pinyon-script.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Nunito Sans'; src: url(/_shared/font/nunito-sans.woff2) format('woff2'); font-weight: 200 1000; font-display: swap; }

:root {
  --noite: #07170F;
  --pinho: #0C2619;
  --pinho-2: #143726;
  --ouro: #E8BA5E;
  --ouro-claro: #F7E1A6;
  --ouro-escuro: #A97A2A;
  --verde-sel: #1D7A45;
  --carmim: #B4232C;
  --carmim-escuro: #7A1018;
  --papel: #F8EDD5;
  --papel-2: #EBD7AE;
  --sepia: #3B2414;
  --sepia-2: #7A5A3C;
  --neve: #FFFCF4;
  --neve-2: rgba(255, 252, 244, .72);
  --titulo: 'Fraunces', Georgia, serif;
  --mao: 'Pinyon Script', 'Snell Roundhand', cursive;
  --corpo: 'Nunito Sans', system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
/* Fundo escuro também no html: sem ele, o puxão do fim da página e o teclado fechando mostravam faixa branca no celular. */
html { -webkit-text-size-adjust: 100%; background: var(--noite); overscroll-behavior-y: none; }
body {
  margin: 0; min-height: 100dvh; color: var(--neve); font-family: var(--corpo); line-height: 1.5;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(232, 186, 94, .22), transparent 60%),
    radial-gradient(90% 50% at 100% 100%, rgba(180, 35, 44, .18), transparent 60%),
    linear-gradient(180deg, var(--pinho) 0%, var(--noite) 100%);
  background-attachment: fixed;
}
/* grão de papel antigo por cima de tudo */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
p, h1, h2, figure, ul { margin: 0; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }

/* ---------- neve ---------- */
.neve { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.neve::before, .neve::after {
  content: ''; position: absolute; inset: -100% 0 0 0;
  background-image:
    radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(1.5px 1.5px at 90px 120px, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(2.5px 2.5px at 160px 60px, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(1.5px 1.5px at 230px 170px, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(2px 2px at 300px 90px, rgba(255,255,255,.85), transparent 60%);
  background-size: 340px 220px;
  animation: cair 22s linear infinite;
}
.neve::after { background-size: 260px 180px; opacity: .55; animation-duration: 34s; filter: blur(.6px); }
@keyframes cair { to { transform: translateY(50%); } }

/* ---------- topo ---------- */
.faixa {
  position: relative; z-index: 2; text-align: center; font-size: 10.5px; font-weight: 800; letter-spacing: .18em;
  padding: 7px 12px; color: #3A2508;
  background: linear-gradient(90deg, #C9973F, var(--ouro-claro) 50%, #C9973F);
}
.marca { position: relative; z-index: 2; text-align: center; padding: 14px 16px 6px; }
.marca b { display: block; font-family: var(--titulo); font-style: italic; font-weight: 600; font-size: 19px; letter-spacing: .01em; color: var(--ouro-claro); }
.marca i { display: block; width: 120px; height: 1px; margin: 8px auto 0; background: linear-gradient(90deg, transparent, var(--ouro), transparent); position: relative; }
.marca i::after { content: '✦'; position: absolute; left: 50%; top: -8px; transform: translateX(-50%); font-size: 11px; color: var(--ouro); font-style: normal; }

.passo-topo { position: relative; z-index: 2; max-width: 520px; margin: 4px auto 0; padding: 0 20px; text-align: center; }
.passo-topo small { font-size: 12px; color: var(--neve-2); letter-spacing: .04em; }
.passo-barra { height: 3px; margin: 8px auto 0; max-width: 200px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; }
.passo-barra span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ouro-escuro), var(--ouro-claro)); border-radius: 99px; transition: width .5s cubic-bezier(.2,.8,.2,1); }

main { position: relative; z-index: 2; max-width: 520px; margin: 0 auto; padding: 18px 20px 140px; }
.tela { display: grid; gap: 20px; animation: entra .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes entra { from { opacity: 0; transform: translateY(14px); } }

h1 { font-family: var(--titulo); font-weight: 700; font-size: 29px; line-height: 1.12; letter-spacing: -.01em; color: var(--neve); }
h1 em { font-family: var(--mao); font-style: normal; font-weight: 400; font-size: 1.32em; color: var(--ouro); line-height: .9; }
.sub { margin-top: 8px; font-size: 15px; color: var(--neve-2); }
.centro { text-align: center; }

/* ---------- capa ---------- */
.capa-fundo { display: none; position: absolute; top: 0; left: 0; right: 0; height: 74vh; max-height: 760px; z-index: 1; overflow: hidden; }
body.na-capa .capa-fundo { display: block; }
.capa-fundo video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.capa-fundo { -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 98%); mask-image: linear-gradient(180deg, #000 50%, transparent 98%); }
.capa-fundo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,23,15,.55) 0%, rgba(7,23,15,.1) 22%, rgba(12,38,25,.4) 52%, rgba(12,38,25,.85) 80%); }
@media (min-width: 700px) {
  /* no computador o vídeo (vertical, pequeno) não estica: fica numa coluna no meio, com as bordas sumindo */
  .capa-fundo { left: 50%; right: auto; width: 600px; transform: translateX(-50%); height: 86vh;
    -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 98%), linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, #000 50%, transparent 98%), linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); mask-composite: intersect; }
  .tela[data-tela="0"] { padding-top: 42vh; }
}
.tela[data-tela="0"] { padding-top: 30vh; gap: 26px; }
.capa-titulo h1 { font-size: 31px; text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.capa-titulo .sub { color: var(--neve); font-size: 17.5px; line-height: 1.45; margin-top: 12px; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.capa-form { display: grid; gap: 14px; }
.capa-form label .entrada { margin-top: 0; }
.capa-video { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid rgba(232,186,94,.55); box-shadow: 0 0 0 5px rgba(232,186,94,.08), 0 24px 50px rgba(0,0,0,.45); background: #000; }
.capa-video video { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 22%; }
.capa-video .play img { object-position: 50% 22%; }
.capa-video video[controls] { aspect-ratio: 9 / 16; max-height: 70vh; }
.capa-video .play { position: absolute; inset: 0; border: 0; padding: 0; background: none; cursor: pointer; }
.capa-video .play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.capa-video .play::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,23,15,.85)); }
.play-bola { position: absolute; z-index: 1; left: 50%; top: 46%; transform: translate(-50%, -50%); width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,252,244,.95); color: var(--carmim); font-size: 26px; padding-left: 5px; box-shadow: 0 0 0 10px rgba(255,252,244,.18); animation: pulsa 2.2s ease-in-out infinite; }
@keyframes pulsa { 50% { box-shadow: 0 0 0 18px rgba(255,252,244,.06); } }
.play-legenda { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; font-size: 12px; color: var(--neve-2); text-align: left; }
.play-legenda b { color: var(--ouro-claro); font-weight: 700; }

.campo-rotulo { font-weight: 700; font-size: 15px; color: var(--neve); margin-bottom: 8px; }
.campo-rotulo .req { color: var(--ouro); }
.entrada {
  display: block; width: 100%; border-radius: 12px; padding: 15px 16px; font-size: 17px; outline: none;
  background: var(--neve); color: var(--sepia); border: 2px solid transparent; text-align: center; font-weight: 600;
}
.entrada::placeholder { color: #A8977F; font-weight: 400; }
.entrada:focus { border-color: var(--ouro); box-shadow: 0 0 0 4px rgba(232,186,94,.25); }
.idades { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.idade { height: 44px; border-radius: 10px; font-weight: 800; font-size: 15px; cursor: pointer; background: rgba(255,252,244,.06); border: 1.5px solid rgba(255,252,244,.22); color: var(--neve); }
.idade[aria-pressed="true"] { background: var(--ouro); color: #2E1D06; border-color: var(--ouro); transform: scale(1.04); }

.btn-ouro {
  display: flex; width: 100%; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none;
  padding: 17px 18px; border-radius: 12px; font-weight: 900; font-size: 15.5px; letter-spacing: .08em; text-transform: uppercase;
  color: #2B1B05; background: linear-gradient(180deg, var(--ouro-claro), var(--ouro) 55%, #C99540);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 10px 24px rgba(232,186,94,.25);
  transition: transform .15s, opacity .2s, filter .2s;
}
.btn-ouro:active { transform: translateY(1px) scale(.99); }
.btn-ouro.parado { opacity: .45; filter: grayscale(.4); cursor: default; }
.prova-capa { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; color: var(--neve-2); }
.prova-capa b { color: var(--neve); font-size: 16px; }
.rostos { display: flex; }
.rostos i { width: 28px; height: 28px; margin-left: -8px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 15px; background: var(--papel); border: 2px solid var(--pinho); }
.rostos i:first-child { margin-left: 0; }
.selos { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--neve-2); }
.selos span::before { content: '✦ '; color: var(--ouro); }

/* ---------- o livro ---------- */
.livro {
  position: relative; color: var(--sepia); border-radius: 6px 14px 14px 6px; padding: 26px 22px 24px 30px;
  background:
    radial-gradient(120% 90% at 30% 20%, var(--papel), var(--papel-2));
  box-shadow: inset 10px 0 18px -10px rgba(59,36,20,.45), 0 0 0 1px rgba(169,122,42,.5), 0 0 0 6px rgba(232,186,94,.12), 0 28px 60px rgba(0,0,0,.5);
  transform-origin: left center; animation: abre .9s cubic-bezier(.2,.8,.2,1) both;
}
.livro::before { content: ''; position: absolute; inset: 9px 9px 9px 16px; border: 1px solid rgba(169,122,42,.55); border-radius: 4px 10px 10px 4px; pointer-events: none; }
.livro::after { content: ''; position: absolute; top: -6px; right: 34px; width: 16px; height: 64px; background: linear-gradient(180deg, var(--carmim), var(--carmim-escuro)); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); box-shadow: 0 2px 4px rgba(0,0,0,.3); }
@keyframes abre { from { opacity: 0; transform: perspective(900px) rotateY(-70deg); } }
.livro-cabeca { text-align: center; padding: 0 30px; font-family: var(--titulo); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sepia-2); }
.livro-cabeca::after { content: '❦'; display: block; font-size: 14px; letter-spacing: 0; margin-top: 2px; color: var(--ouro-escuro); }
.livro-nome { margin: 6px 0 2px; text-align: center; font-family: var(--mao); font-size: 58px; line-height: 1.1; color: #2A190C; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.livro-nome.escreve { animation: escreve 1.6s .5s steps(28) both; }
@keyframes escreve { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.livro-linha { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; border-bottom: 1px dashed rgba(122,90,60,.35); font-size: 14.5px; }
.livro-linha:last-child { border-bottom: 0; }
.livro-linha .ic { width: 20px; text-align: center; flex-shrink: 0; }
.livro-linha .rot { color: var(--sepia-2); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; flex-shrink: 0; }
.livro-linha .val { line-height: 1.3; font-family: var(--titulo); font-weight: 600; font-style: italic; color: #2A190C; margin-left: auto; text-align: right; }
.livro-linha.vazia .val { color: rgba(122,90,60,.5); font-style: normal; font-family: var(--corpo); font-weight: 400; letter-spacing: .3em; }
.livro-linha.nova .val { animation: tinta .7s ease both; }
@keyframes tinta { from { opacity: 0; filter: blur(3px); transform: translateX(6px); } }
.carimbo {
  position: absolute; right: 18px; bottom: 16px; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  font-size: 9.5px; font-weight: 900; letter-spacing: .08em; line-height: 1.15; color: var(--carmim); border: 2.5px solid var(--carmim);
  transform: rotate(-14deg); opacity: .88; background: rgba(180,35,44,.06);
}
.carimbo.bate { animation: bate .5s 2.1s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes bate { from { opacity: 0; transform: rotate(-14deg) scale(2.4); } }

.livro-mini { padding: 14px 16px 12px 22px; border-radius: 4px 12px 12px 4px; animation: none; }
.livro-mini .livro-nome { font-size: 34px; margin: 0 0 4px; text-align: left; }
.livro-mini .livro-cabeca { text-align: left; padding: 0 30px 0 0; }
#livro-grande, .livro-completo { padding-bottom: 96px; }
.livro-completo .carimbo, #livro-grande .carimbo { right: 50%; margin-right: -37px; bottom: 14px; }
.livro-mini::after { height: 44px; right: 22px; }

.brilhos { position: relative; height: 0; }
.brilhos i { position: absolute; left: 50%; top: -40px; width: 8px; height: 8px; color: var(--ouro); font-style: normal; font-size: 14px; opacity: 0; animation: estoura 1.4s 2.2s ease-out both; }
.brilhos i::before { content: '✦'; }
@keyframes estoura { 0% { opacity: 0; transform: translate(0,0) scale(.4); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(1.1) rotate(90deg); } }

/* ---------- opções ---------- */
.opcoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opcao {
  position: relative; display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer; padding: 14px 12px; border-radius: 14px;
  background: rgba(255,252,244,.05); border: 1.5px solid rgba(255,252,244,.18); font-weight: 700; font-size: 14.5px; line-height: 1.25;
  transition: transform .15s, background .2s, border-color .2s;
}
.opcao .em { font-size: 22px; flex-shrink: 0; }
.opcao[aria-pressed="true"] { background: rgba(232,186,94,.16); border-color: var(--ouro); transform: scale(1.02); }
.opcao[aria-pressed="true"]::after { content: '✓'; position: absolute; top: -8px; right: -6px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 900; color: #2B1B05; background: var(--ouro); }
.opcoes.grandes .opcao { flex-direction: column; justify-content: center; text-align: center; padding: 16px 12px; font-size: 16px; }
.opcoes.grandes .em { font-size: 40px; }
.outro { margin-top: 2px; scroll-margin-bottom: 120px; }
.dica { font-size: 12.5px; color: var(--neve-2); }

/* ---------- escrevendo ---------- */
.pena { font-size: 54px; text-align: center; animation: pena 1.1s ease-in-out infinite alternate; }
@keyframes pena { to { transform: translate(14px, -4px) rotate(-12deg); } }
.carrega { height: 8px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.carrega span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ouro-escuro), var(--ouro-claro)); }
.carrega-num { text-align: center; font-family: var(--titulo); font-size: 30px; font-weight: 700; color: var(--ouro-claro); }
.checklist { list-style: none; padding: 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; flex-wrap: nowrap; align-items: center; padding: 11px 14px; border-radius: 12px; background: rgba(255,252,244,.05); border: 1px solid rgba(255,252,244,.12); opacity: .35; transition: opacity .3s, border-color .3s; font-size: 14.5px; }
.checklist li::before { content: ''; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(255,252,244,.4); flex-shrink: 0; }
.checklist li.ok { opacity: 1; border-color: rgba(232,186,94,.45); }
.checklist li.ok::before { content: '✓'; display: grid; place-items: center; font-size: 12px; font-weight: 900; color: #2B1B05; background: var(--ouro); border-color: var(--ouro); }
.pronto { text-align: center; font-weight: 800; color: var(--ouro-claro); animation: entra .4s both; }

/* ---------- onde assistir ---------- */
.telas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.telinha { padding: 16px 14px; border-radius: 14px; background: rgba(255,252,244,.05); border: 1px solid rgba(255,252,244,.14); }
.telinha svg { width: 34px; height: 34px; color: var(--ouro); }
.telinha b { display: block; margin-top: 8px; font-size: 14.5px; }
.telinha small { display: block; font-size: 12.5px; color: var(--neve-2); line-height: 1.35; margin-top: 2px; }

/* ---------- dica da reação ---------- */
.dica-hero { display: grid; gap: 6px; padding-top: 6vh; }
.dica-icone { font-size: 64px; line-height: 1; margin-bottom: 8px; filter: drop-shadow(0 8px 20px rgba(232,186,94,.35)); animation: pena 1.6s ease-in-out infinite alternate; }
.dica-hero h1 { font-size: 32px; }
.dica-hero .sub { font-size: 18px; color: var(--neve); }
.reacao { justify-self: center; width: min(78%, 340px); margin: 4px auto 0; padding: 10px 10px 0; border-radius: 6px; transform: rotate(-2deg);
  background: linear-gradient(145deg, var(--ouro-claro), var(--ouro) 45%, #B9873A); box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset, 0 26px 50px rgba(0,0,0,.55); position: relative; }
.reacao::before, .reacao::after { content: '✦'; position: absolute; top: -12px; font-size: 20px; color: var(--ouro-claro); text-shadow: 0 0 12px rgba(232,186,94,.8); }
.reacao::before { left: -10px; } .reacao::after { right: -10px; }
.reacao-moldura { border-radius: 3px; overflow: hidden; background: #000; box-shadow: 0 0 0 3px rgba(59,36,20,.55); }
.reacao video { display: block; width: 100%; aspect-ratio: 9 / 13; object-fit: cover; }
.reacao figcaption { padding: 9px 0 10px; text-align: center; font-family: var(--titulo); font-weight: 700; font-size: 14px; letter-spacing: .04em; color: #3A2508; }
.tela[data-tela="6"]:has(.reacao:not([hidden])) .dica-icone { display: none; }
.tela[data-tela="6"]:has(.reacao:not([hidden])) .dica-hero { padding-top: 2vh; }
.reacao { margin-top: 10px !important; }

/* ---------- prévia ---------- */
.amostra { position: relative; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid rgba(232,186,94,.4); }
.amostra video { display: block; width: 100%; aspect-ratio: 9 / 12; object-fit: cover; }
.amostra .play { position: absolute; inset: 0; border: 0; padding: 0; background: none; cursor: pointer; }
.amostra .play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.amostra-nome { position: absolute; z-index: 2; top: 12px; left: 12px; right: 12px; pointer-events: none; text-align: center; padding: 8px 10px; border-radius: 12px; background: rgba(7,23,15,.72); font-family: var(--titulo); font-weight: 700; font-size: 17px; color: var(--ouro-claro); }
.amostra figcaption { padding: 8px 12px; font-size: 11.5px; color: var(--neve-2); background: rgba(7,23,15,.9); }
.lista-ouro { list-style: none; padding: 16px; display: grid; gap: 8px; border-radius: 14px; background: rgba(232,186,94,.08); border: 1px solid rgba(232,186,94,.3); font-size: 14.5px; }
.lista-ouro .t { font-weight: 800; color: var(--ouro-claro); }

/* ---------- planos ---------- */
.planos { display: grid; gap: 14px; }
.plano {
  position: relative; width: 100%; text-align: left; cursor: pointer; padding: 18px 16px 16px; border-radius: 16px; color: var(--sepia);
  background: var(--papel); border: 2px solid transparent; box-shadow: 0 10px 28px rgba(0,0,0,.35); transition: transform .15s, border-color .2s;
}
.plano[aria-checked="true"] { border-color: var(--ouro); box-shadow: 0 0 0 4px rgba(232,186,94,.25), 0 16px 36px rgba(0,0,0,.45); transform: scale(1.01); }
.plano-tarja { position: absolute; top: -11px; left: 16px; padding: 3px 10px; border-radius: 99px; font-size: 10.5px; font-weight: 900; letter-spacing: .1em; color: var(--neve); background: linear-gradient(180deg, var(--carmim), var(--carmim-escuro)); }
.plano-topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.plano-nome b { display: block; font-family: var(--titulo); font-size: 21px; font-weight: 700; color: #2A190C; }
.plano-nome small { font-size: 12.5px; color: var(--sepia-2); }
.plano-preco { text-align: right; white-space: nowrap; }
.plano-preco s { display: block; font-size: 12px; color: var(--sepia-2); }
.plano-preco strong { font-family: var(--titulo); font-size: 24px; font-weight: 800; color: #2A190C; }
.plano-radio { position: absolute; right: 16px; bottom: 16px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #C9B48D; }
.plano[aria-checked="true"] .plano-radio { border-color: var(--ouro-escuro); background: radial-gradient(circle, var(--ouro-escuro) 45%, transparent 50%); }
.plano ul { list-style: none; padding: 0; margin-top: 10px; display: grid; gap: 5px; padding-right: 30px; }
.plano li { display: flex; gap: 8px; font-size: 14px; line-height: 1.35; }
.plano li::before { content: '✦'; color: var(--ouro-escuro); flex-shrink: 0; }
.expressa { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; border: 1px dashed rgba(232,186,94,.55); background: rgba(232,186,94,.06); font-size: 14px; }
.expressa .em { font-size: 26px; }
.garantia { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: rgba(255,252,244,.06); border: 1px solid rgba(255,252,244,.14); font-size: 13.5px; color: var(--neve-2); }
.garantia b { color: var(--neve); display: block; font-size: 14.5px; }
.rodape { font-size: 11.5px; text-align: center; color: rgba(255,252,244,.5); }
.alerta { padding: 12px 14px; border-radius: 12px; font-size: 14px; background: rgba(180,35,44,.18); border: 1px solid rgba(180,35,44,.6); color: #FFE3E3; }

/* ---------- planos v2 (molde Signature) ---------- */
.garantia-faixa { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 18px 16px; border-radius: 14px; color: #2B1B05;
  background: linear-gradient(180deg, var(--ouro-claro), var(--ouro) 60%, #C99540); box-shadow: 0 12px 30px rgba(232,186,94,.2); }
.garantia-selo { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; border: 2px solid rgba(43,27,5,.35); }
.garantia-faixa b { font-family: var(--titulo); font-size: 21px; }
.garantia-faixa span:last-child { font-size: 15px; line-height: 1.35; max-width: 300px; }
.planos-titulo { font-size: 17px; margin: 6px 0 0; }
.colunas { display: grid; grid-template-columns: 1fr 1.08fr 1fr; align-items: end; margin-top: 30px; }
.coluna { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; cursor: pointer; padding: 16px 6px 18px;
  background: rgba(255,252,244,.04); border: 1px solid rgba(232,186,94,.25); border-bottom: 3px solid rgba(232,186,94,.55); color: var(--neve); min-height: 236px; }
.coluna:first-child { border-radius: 14px 0 0 0; border-right: 0; }
.coluna:last-child { border-radius: 0 14px 0 0; border-left: 0; }
.coluna[data-plano="magico"] { min-height: 268px; background: rgba(232,186,94,.1); border: 2px solid var(--ouro); border-bottom-width: 3px; border-radius: 0; z-index: 1; }
/* Selecionado: verde chapado, e a lista de baixo no mesmo verde (parece uma peça só) */
.coluna[aria-checked="true"] { background: var(--verde-sel); border-color: var(--ouro); box-shadow: 0 0 0 2px var(--ouro) inset; }
.coluna[data-plano="magico"][aria-checked="true"] { box-shadow: 0 14px 34px rgba(29,122,69,.45); }
.coluna[aria-checked="true"] .coluna-extra, .coluna[aria-checked="true"] .coluna-de { color: rgba(255,252,244,.9); }
.coluna-tarja { position: absolute; left: -2px; right: -2px; bottom: 100%; padding: 7px 4px; border-radius: 10px 10px 0 0; font-size: 11px; font-weight: 900; letter-spacing: .1em; color: #2B1B05;
  background: linear-gradient(180deg, var(--ouro-claro), var(--ouro)); }
.coluna-check { width: 22px; height: 22px; border-radius: 5px; border: 2px solid rgba(255,252,244,.5); display: grid; place-items: center; }
.coluna[aria-checked="true"] .coluna-check { background: var(--ouro); border-color: var(--ouro); }
.coluna[aria-checked="true"] .coluna-check::after { content: '✓'; color: #2B1B05; font-weight: 900; font-size: 14px; }
.coluna-icone { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; background: var(--papel); box-shadow: 0 0 0 2px var(--ouro); margin-top: 4px; }
.coluna-nome { font-size: 16px; font-weight: 800; line-height: 1.15; }
.coluna-extra { font-size: 12.5px; color: var(--neve-2); line-height: 1.3; }
.coluna-de { margin-top: auto; font-size: 13px; color: var(--neve-2); line-height: 1.2; }
.coluna-de s { color: var(--neve); font-weight: 800; text-decoration-thickness: 2px; }
.coluna-preco { font-size: 22px; font-weight: 900; color: var(--ouro); white-space: nowrap; line-height: 1; }
.coluna-preco sup { font-size: .55em; }
.coluna[data-plano="magico"] .coluna-preco { font-size: 25px; }
.vantagens { list-style: none; padding: 4px 16px; margin-top: -20px; display: grid; background: var(--verde-sel); border-radius: 0 0 14px 14px; box-shadow: 0 0 0 2px var(--ouro) inset; }
.vantagens li { display: flex; gap: 12px; padding: 13px 2px; border-bottom: 1px solid rgba(255,252,244,.16); font-size: 15.5px; line-height: 1.35; }
.vantagens li:last-child { border-bottom: 0; }
.vantagens li::before { content: '✓'; color: var(--ouro); font-weight: 900; flex-shrink: 0; }
.bonus { display: grid; gap: 10px; }
.bonus-card { overflow: hidden; border-radius: 14px; color: var(--sepia); background: radial-gradient(120% 90% at 30% 20%, var(--papel), var(--papel-2)); }
.bonus-corpo { display: flex; gap: 14px; align-items: center; padding: 16px; transition: opacity .3s, filter .3s; }
.bonus-card.travado .bonus-corpo { opacity: .45; filter: grayscale(.7); }
.bonus-trava { margin: 0; padding: 8px 14px; font-size: 13px; font-weight: 900; letter-spacing: .02em; color: var(--neve); background: linear-gradient(180deg, var(--carmim), var(--carmim-escuro)); }
.bonus-icone { font-size: 34px; flex-shrink: 0; }
.bonus-card small { display: block; font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--sepia-2); }
.bonus-card b { display: block; font-family: var(--titulo); font-size: 18px; color: #2A190C; line-height: 1.2; }
.bonus-card span { display: block; font-size: 13.5px; color: var(--sepia-2); }
.bonus-card em { display: block; margin-top: 4px; font-size: 13px; font-weight: 800; color: var(--carmim); font-style: italic; }
.dica-grande { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 16px; background: rgba(232,186,94,.12); border: 1.5px solid var(--ouro); }
.dica-grande > span { font-size: 34px; }
.dica-grande p { font-size: 17px; line-height: 1.4; color: var(--neve); }
.dica-grande b { color: var(--ouro-claro); }

/* ---------- barra de baixo ---------- */
.barra { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; padding: 14px 20px max(16px, env(safe-area-inset-bottom, 0px)); background: linear-gradient(180deg, rgba(7,23,15,0), rgba(7,23,15,.92) 30%); }
.barra-miolo { max-width: 520px; margin: 0 auto; display: flex; gap: 10px; }
.btn-voltar { flex: 0 0 34%; border-radius: 12px; padding: 16px 0; font-weight: 800; font-size: 15px; cursor: pointer; background: var(--neve); color: var(--sepia); border: 0; }
.barra .btn-ouro { flex: 1; }
#buy { text-transform: none; letter-spacing: .01em; font-size: 15.5px; line-height: 1.2; text-align: center; padding: 14px 12px; }
#buy ~ .btn-voltar, .barra-miolo:has(#buy:not([hidden])) .btn-voltar { flex-basis: 26%; }

/* ---------- cupom do aviso de saída ---------- */
.faixa-cupom { max-width: 520px; margin: 0 auto 10px; padding: 10px 12px; border-radius: 12px; text-align: center; font-size: 13px; line-height: 1.4; color: var(--neve);
  background: linear-gradient(90deg, rgba(232,186,94,.12), rgba(232,186,94,.26), rgba(232,186,94,.12)); border: 1px solid rgba(232,186,94,.55); animation: tinta .4s ease both; }
.faixa-cupom b { color: var(--ouro-claro); letter-spacing: .03em; }
.faixa-cupom .tick { color: #8FD19E; font-weight: 900; margin-right: 4px; }
body.tem-cupom main { padding-bottom: 190px; }

/* aviso de saída: a mesma página de papel do livro */
.saida { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-start; justify-content: center; padding: 18px; overflow-y: auto; overscroll-behavior: contain; background: rgba(4,12,8,.8); backdrop-filter: blur(3px); }
.saida-card { margin: auto; width: 100%; max-width: 440px; padding: 40px 26px 22px 32px; text-align: center; }
.saida-x { position: absolute; top: 6px; left: 12px; z-index: 2; background: none; border: 0; cursor: pointer; font-size: 28px; line-height: 1; padding: 6px; color: var(--sepia-2); }
.saida-olho { display: inline-block; margin-bottom: 14px; padding: 7px 14px; border-radius: 99px; font-size: 11px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; color: var(--neve); background: var(--carmim); animation: pulsa 1.8s ease-out infinite; }
@keyframes pulsa { 0% { box-shadow: 0 0 0 0 rgba(180,35,44,.5); } 70% { box-shadow: 0 0 0 12px rgba(180,35,44,0); } 100% { box-shadow: 0 0 0 0 rgba(180,35,44,0); } }
.saida h3 { margin: 0 0 12px; font-family: var(--titulo); font-weight: 700; font-size: 28px; line-height: 1.15; color: #2A190C; text-wrap: balance; }
.saida h3 em { color: var(--carmim); }
.saida h3 span { font-family: var(--titulo); font-style: italic; font-weight: 600; font-size: .8em; color: var(--sepia); }
.saida-txt { max-width: 330px; margin: 0 auto 18px; font-size: 14.5px; line-height: 1.5; color: var(--sepia-2); }
.saida-cupom { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 10px 16px; border: 1.5px dashed var(--ouro-escuro); border-radius: 8px; background: rgba(255,252,244,.6); }
.saida-cupom .lbl { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; color: var(--sepia-2); }
.saida-cupom .code { font-size: 18px; font-weight: 900; letter-spacing: .12em; color: #2A190C; }
.saida-cupom .off { font-size: 11px; font-weight: 900; letter-spacing: .06em; color: var(--neve); background: var(--carmim); padding: 4px 8px; border-radius: 4px; }
.saida-nao { display: block; width: 100%; margin-top: 12px; padding: 6px; background: none; border: 0; cursor: pointer; font-size: 12.5px; text-decoration: underline; color: var(--sepia-2); }
@media (max-width: 400px) { .saida-card { padding: 36px 16px 18px 24px; } .saida h3 { font-size: 24px; } }

/* ---------- textos legais (mesma folha) ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: 24px 20px 40px; display: grid; gap: 14px; position: relative; z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .neve { display: none; }
}
