/* Recado do Noel: estilo do site (vendas, painel e página mágica). Celular primeiro. */
:root {
  --noite: #0b1a33; --noite2: #16305e; --vermelho: #c8102e; --vermelho2: #a30c24; --verde: #1b6b3a; --verde2: #124a28;
  --ouro: #f4b942; --creme: #fff8ef; --papel: #fff; --tinta: #1f2a3a; --cinza: #5d6b7c; --linha: #eadfce;
  --raio: 18px; --sombra: 0 10px 30px rgba(31, 42, 58, .10);
  --titulo: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--tinta); background: var(--creme);
  font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--vermelho2); }
h1, h2, h3 { font-family: var(--titulo); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
h2 { font-size: 1.75rem; font-weight: 800; color: var(--vermelho2); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }
.miolo { width: 100%; max-width: 560px; margin: 0 auto; padding: 0 20px; }
.centro { text-align: center; }
.escondido { display: none !important; }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- botões ---------- */
.botao { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 60px; padding: 14px 20px; border: 0;
  border-radius: 999px; background: linear-gradient(180deg, #e2203f, var(--vermelho2)); color: #fff; font-family: var(--titulo); font-size: 1.25rem;
  font-weight: 800; text-align: center; text-decoration: none; cursor: pointer; box-shadow: 0 8px 0 #7c0a1c, 0 16px 26px rgba(163, 12, 36, .35);
  transition: transform .08s, box-shadow .08s; -webkit-tap-highlight-color: transparent; line-height: 1.15; }
.botao:active { transform: translateY(5px); box-shadow: 0 3px 0 #7c0a1c, 0 8px 14px rgba(163, 12, 36, .3); }
.botao[disabled] { opacity: .6; cursor: default; }
.botao.verde { background: linear-gradient(180deg, #23874a, var(--verde2)); box-shadow: 0 8px 0 #0b3019, 0 16px 26px rgba(18, 74, 40, .3); }
.botao.verde:active { box-shadow: 0 3px 0 #0b3019, 0 8px 14px rgba(18, 74, 40, .3); }
.botao.claro { background: #fff; color: var(--vermelho2); border: 2px solid var(--vermelho2); box-shadow: none; min-height: 52px; font-size: 1.05rem; }
.botao.claro:active { transform: none; background: #fff1f1; }
.botao.pequeno { min-height: 46px; font-size: 1rem; padding: 10px 16px; box-shadow: none; }
.link-botao { background: none; border: 0; padding: 6px; color: var(--vermelho2); text-decoration: underline; font: inherit; cursor: pointer; }

/* ---------- topo ---------- */
.topo { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; max-width: 560px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--titulo); font-weight: 800; font-size: 1.12rem; color: #fff; text-decoration: none; white-space: nowrap; }
.logo img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ouro); }
.claro .logo { color: var(--vermelho2); }
.topo .dias { font-size: .76rem; font-weight: 700; color: var(--ouro); border: 1px solid rgba(244, 185, 66, .5); border-radius: 999px; padding: 3px 11px; white-space: nowrap; }

/* ---------- herói (noite no Polo Norte) ---------- */
.noite { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(120% 70% at 50% 0%, #24427e 0%, var(--noite2) 38%, var(--noite) 100%); }
.neve { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.neve i { position: absolute; top: -10px; border-radius: 50%; background: #fff; animation: cai linear infinite; }
@keyframes cai { to { transform: translate3d(18px, 110vh, 0); } }
.noite > .miolo, .noite > .topo { position: relative; z-index: 1; }
.heroi { padding: 6px 20px 44px; text-align: center; }
.retrato { position: relative; width: 168px; height: 168px; margin: 8px auto 18px; }
.retrato img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 5px solid var(--ouro); box-shadow: 0 0 0 6px rgba(244, 185, 66, .18), 0 18px 40px rgba(0, 0, 0, .45); }
.retrato::before, .retrato::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 3px solid var(--ouro); opacity: 0; }
.tocando .retrato::before { animation: onda 1.6s ease-out infinite; }
.tocando .retrato::after { animation: onda 1.6s ease-out .8s infinite; }
@keyframes onda { from { transform: scale(1); opacity: .8; } to { transform: scale(1.45); opacity: 0; } }
.heroi h1 { font-size: 2.15rem; font-weight: 800; }
.heroi h1 em { font-style: normal; color: var(--ouro); }
.heroi .sub { margin-top: 10px; font-size: 1.08rem; color: #dbe5f7; }
.entrada-nome { margin-top: 22px; }
.entrada-nome input { width: 100%; height: 62px; border: 3px solid transparent; border-radius: 999px; padding: 0 24px; font: inherit; font-size: 1.3rem; font-weight: 600;
  text-align: center; color: var(--tinta); background: #fff; outline: none; }
.entrada-nome input:focus { border-color: var(--ouro); }
.entrada-nome input::placeholder { color: #98a4b3; font-weight: 500; }
.entrada-nome .botao { margin-top: 14px; }
.erro-campo { min-height: 1.3em; margin-top: 8px; font-size: .95rem; font-weight: 600; color: #ffd0d0; }
.claro .erro-campo, .cartao .erro-campo { color: var(--vermelho2); }
.heroi .nota { margin-top: 12px; font-size: .92rem; color: #b9c8e3; }
.legenda { margin: 18px auto 0; min-height: 4.2em; font-family: var(--titulo); font-size: 1.3rem; font-weight: 700; line-height: 1.25; color: #fff; max-width: 420px; }
.legenda small { display: block; margin-top: 8px; font-family: system-ui, sans-serif; font-size: .9rem; font-weight: 500; color: #b9c8e3; }
.barra-som { display: flex; align-items: flex-end; justify-content: center; gap: 5px; height: 26px; margin-top: 12px; }
.barra-som i { width: 6px; border-radius: 3px; background: var(--ouro); height: 8px; }
.tocando .barra-som i { animation: som .9s ease-in-out infinite; }
.barra-som i:nth-child(2) { animation-delay: .15s; } .barra-som i:nth-child(3) { animation-delay: .3s; }
.barra-som i:nth-child(4) { animation-delay: .45s; } .barra-som i:nth-child(5) { animation-delay: .6s; }
@keyframes som { 0%, 100% { height: 7px; } 50% { height: 26px; } }

/* ---------- seções ---------- */
.secao { padding: 44px 0; }
.secao.branca { background: var(--papel); }
.secao.verde { background: linear-gradient(180deg, var(--verde), var(--verde2)); color: #fff; }
.secao.verde h2 { color: #fff; }
.secao h2 + p { margin-top: 10px; color: var(--cinza); }
.secao.verde h2 + p { color: #d8eedf; }
.cartao { background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); padding: 22px 20px; box-shadow: var(--sombra); }
.cartao + .cartao { margin-top: 16px; }
.selo { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--verde); background: #e4f3e9;
  border-radius: 999px; padding: 4px 12px; margin-bottom: 10px; }
.selo.ouro { color: #7a5200; background: #fdeec9; }

.lista-ok { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 11px; }
.lista-ok li { display: flex; gap: 11px; align-items: flex-start; font-size: 1.04rem; line-height: 1.35; }
.lista-ok li::before { content: "✓"; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--verde); color: #fff; font-weight: 800;
  font-size: .85rem; display: flex; align-items: center; justify-content: center; }
.lista-ok.cadeado li::before { content: "🔒"; background: #fdeec9; font-size: .75rem; }
.lista-ok b { font-weight: 700; }

/* a oferta que aparece depois da prévia */
.oferta { margin-top: -22px; position: relative; z-index: 2; }
.oferta .cartao { border: 2px solid var(--ouro); }
.oferta h2 { font-size: 1.55rem; }
.preco { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin: 18px 0 4px; font-family: var(--titulo); }
.preco b { font-size: 2.7rem; font-weight: 800; color: var(--verde2); line-height: 1; }
.preco span { font-size: 1rem; font-weight: 600; color: var(--cinza); }
.sob-botao { margin-top: 16px; font-size: .9rem; color: var(--cinza); text-align: center; }
.sob-botao b { color: var(--tinta); }

/* player do exemplo */
.player { display: flex; align-items: center; gap: 14px; margin-top: 18px; background: #fff; border: 1px solid var(--linha); border-radius: 999px; padding: 10px 18px 10px 10px; box-shadow: var(--sombra); }
.player button { flex: none; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--vermelho); color: #fff; font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.player .trilho { flex: 1; height: 8px; border-radius: 4px; background: #eadfce; overflow: hidden; }
.player .trilho i { display: block; height: 100%; width: 0; background: var(--vermelho); border-radius: 4px; }
.player .tempo { flex: none; font-size: .9rem; font-weight: 700; color: var(--cinza); font-variant-numeric: tabular-nums; }
.roteiro { margin-top: 14px; font-size: .98rem; color: var(--cinza); font-style: italic; }
.roteiro b { color: var(--vermelho2); font-style: normal; }

/* o que vem junto */
.entregas { display: grid; gap: 14px; margin-top: 20px; }
.entrega { display: flex; gap: 14px; align-items: flex-start; }
.entrega .icone { flex: none; width: 52px; height: 52px; border-radius: 16px; background: #fdeec9; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.entrega h3 { font-size: 1.12rem; color: var(--tinta); }
.entrega p { margin-top: 3px; font-size: .98rem; color: var(--cinza); line-height: 1.4; }
.galeria { display: flex; gap: 12px; overflow-x: auto; margin: 20px -20px 0; padding: 4px 20px 14px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.galeria img { flex: none; width: 46%; max-width: 220px; height: auto; border-radius: 10px; border: 1px solid var(--linha); box-shadow: var(--sombra); scroll-snap-align: start; background: #fff; }
.dica-rolar { font-size: .85rem; color: var(--cinza); text-align: center; }

.passos { counter-reset: passo; display: grid; gap: 16px; margin: 22px 0 0; padding: 0; list-style: none; }
.passos li { counter-increment: passo; display: flex; gap: 14px; align-items: flex-start; }
.passos li::before { content: counter(passo); flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--ouro); color: #4a3200; font-family: var(--titulo);
  font-weight: 800; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; }
.passos b { display: block; font-family: var(--titulo); font-size: 1.12rem; }
.passos span { font-size: .98rem; opacity: .92; }

.garantia { display: flex; gap: 14px; align-items: center; margin-top: 18px; padding: 16px; border-radius: 16px; background: #e4f3e9; }
.garantia .num { flex: none; width: 58px; height: 58px; border-radius: 50%; background: var(--verde); color: #fff; font-family: var(--titulo); font-weight: 800; font-size: 1.5rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: .9; }
.garantia .num small { font-size: .55rem; letter-spacing: .08em; }
.garantia p { font-size: .96rem; line-height: 1.35; }

.faq { margin-top: 18px; }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 30px 16px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; font-weight: 400; color: var(--vermelho2); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 16px; color: var(--cinza); font-size: .98rem; }

.rodape { padding: 30px 0 110px; font-size: .86rem; color: var(--cinza); text-align: center; }
.rodape a { color: var(--cinza); }
.rodape p + p { margin-top: 8px; }

.barra-fixa { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 248, 239, .96);
  border-top: 1px solid var(--linha); box-shadow: 0 -8px 24px rgba(31, 42, 58, .12); transform: translateY(110%); transition: transform .25s; }
.barra-fixa.visivel { transform: none; }
.barra-fixa .botao { max-width: 520px; margin: 0 auto; min-height: 54px; font-size: 1.1rem; box-shadow: 0 5px 0 #7c0a1c; }
.aviso { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #fdeec9; color: #5c3d00; font-size: .95rem; font-weight: 600; }
.aviso.erro { background: #fde1e1; color: #7c0a1c; }
.aviso.bom { background: #e4f3e9; color: var(--verde2); }

/* ---------- formulários (painel) ---------- */
.claro { background: var(--creme); }
.campo { margin-top: 16px; }
.campo label { display: block; font-weight: 700; margin-bottom: 6px; }
.campo label small { font-weight: 500; color: var(--cinza); }
.campo input, .campo select { width: 100%; height: 54px; border: 2px solid var(--linha); border-radius: 14px; padding: 0 14px; font: inherit; color: var(--tinta); background: #fff; outline: none; }
.campo select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%235d6b7c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 15px center; }
.campo input:focus, .campo select:focus { border-color: var(--verde); }
.campo.com-erro input, .campo.com-erro select { border-color: var(--vermelho); }
.campo .erro { display: block; margin-top: 5px; font-size: .9rem; font-weight: 600; color: var(--vermelho2); }
.dupla { display: grid; grid-template-columns: 1fr 108px; gap: 12px; }
.marcar { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: .95rem; line-height: 1.4; }
.marcar input { flex: none; width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--verde); }
.fala { margin-top: 14px; padding: 16px; border-radius: 16px; background: #fff8e6; border: 1px dashed var(--ouro); font-size: 1.02rem; line-height: 1.5; }
.fala b { color: var(--vermelho2); }
.gravando { text-align: center; padding: 10px 0; }
.gravando img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 5px solid var(--ouro); animation: pulsa 1.4s ease-in-out infinite; }
@keyframes pulsa { 50% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(244, 185, 66, .25); } }
.progresso { height: 10px; border-radius: 5px; background: var(--linha); overflow: hidden; margin-top: 16px; }
.progresso i { display: block; height: 100%; width: 4%; background: var(--verde); border-radius: 5px; transition: width .6s linear; }
.recado-item { display: grid; gap: 10px; }
.recado-item .titulo { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.recado-item audio { width: 100%; height: 44px; }
.acoes { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.acoes .botao { min-height: 48px; font-size: .95rem; padding: 8px 10px; box-shadow: none; }
.acoes .largo { grid-column: 1 / -1; }
.contador { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--verde2); background: #e4f3e9; border-radius: 999px; padding: 6px 14px; font-size: .95rem; }
.ideias { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: .98rem; }

/* ---------- página mágica ---------- */
.magia { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px 22px 90px; }
.magia .para { font-family: var(--titulo); font-size: 1.1rem; font-weight: 700; color: var(--ouro); letter-spacing: .12em; text-transform: uppercase; }
.magia h1 { font-size: 3rem; font-weight: 800; margin-top: 4px; line-height: 1; word-break: break-word; }
.magia .retrato { width: 210px; height: 210px; margin: 26px auto; }
.magia .tocar { width: 100%; max-width: 360px; min-height: 72px; font-size: 1.45rem; }
.magia .depois { margin-top: 18px; font-family: var(--titulo); font-size: 1.5rem; font-weight: 800; color: var(--ouro); min-height: 1.4em; }
.magia .feito { position: absolute; left: 0; right: 0; bottom: 18px; font-size: .82rem; color: #9db0d2; z-index: 1; }
.magia .feito a { color: #c9d6ee; }

@media (min-width: 700px) {
  .heroi h1 { font-size: 2.6rem; }
  .galeria img { width: 31%; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------- páginas de texto (privacidade, termos) ---------- */
.pagina-texto { padding: 6px 0 50px; }
.pagina-texto h1 { font-size: 2rem; font-weight: 800; color: var(--vermelho2); }
.pagina-texto h2 { font-size: 1.25rem; margin-top: 26px; color: var(--tinta); }
.pagina-texto p, .pagina-texto ul { margin-top: 10px; }
.pagina-texto ul { padding-left: 22px; display: grid; gap: 6px; }
.pagina-texto .data { color: var(--cinza); font-size: .92rem; }
