body {
  min-height: 100vh;
  background:
    radial-gradient(700px 500px at 15% 10%, rgba(124, 108, 255, .22), transparent 65%),
    radial-gradient(600px 400px at 90% 90%, rgba(34, 211, 238, .14), transparent 60%),
    var(--bg);
}
.pagina { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 26px; padding: 32px 16px; }
.assinatura {
  width: min(480px, calc(100vw - 32px)); padding: 32px 28px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 30px 80px rgba(124, 108, 255, .22);
}
.selo-plano {
  display: inline-block; padding: 5px 14px; border-radius: 999px; background: var(--gradient);
  color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .02em;
}
.assinatura h1 { margin: 14px 0 4px; font-size: 1.9rem; letter-spacing: -0.02em; }
.descricao { margin: 0 0 20px; color: var(--muted); }
.recursos { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.recursos li { position: relative; padding-left: 28px; }
.recursos li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 800; }

.aviso-troca {
  margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; font-size: .9rem; line-height: 1.5;
  background: rgba(124, 108, 255, .10); border: 1px solid rgba(124, 108, 255, .35); color: #d4d8ff;
}
.aviso-troca strong { display: block; color: var(--text); margin-bottom: 2px; }
.aviso-troca b { color: var(--text); }
.calculo {padding: 18px; margin-bottom: 20px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.calculo-linha, .calculo-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.calculo-linha { padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--muted); }
.calculo-linha strong { color: var(--text); }
.calculo-total span { font-weight: 600; }
.calculo-total strong { font-size: 1.8rem; letter-spacing: -0.02em; }
.periodo-assinar { margin: 0 auto 16px; }
.calculo s { margin-right: 6px; color: var(--muted); font-size: .6em; font-weight: 500; }
.calculo-linha small { color: var(--muted); font-weight: 500; }
.nota { margin: 10px 0 0; color: var(--accent-2); font-size: .85rem; }

.quantidade { display: flex; align-items: center; gap: 6px; }
.quantidade button {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2);
  color: var(--text); font-size: 1.2rem; cursor: pointer;
}
.quantidade button:hover { border-color: var(--accent); }
.quantidade input {
  width: 64px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); text-align: center; font-size: 1.05rem; font-weight: 700;
}
.largo { width: 100%; padding: 15px; font-size: 1.05rem; }
.msg { min-height: 1.2em; margin: 12px 0 0; color: #f87171; font-size: .9rem; text-align: center; } /* nesta página só mostra erros */
.voltar { display: block; margin-top: 16px; text-align: center; color: var(--muted); font-size: .9rem; }

/* Pagamento */
.cobranca h2 { margin: 6px 0 12px; font-size: 1.15rem; }
.formas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.forma { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; }
.forma:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.forma input { margin-top: 3px; accent-color: var(--accent); }
.forma span { display: grid; gap: 2px; }
.forma small { color: var(--muted); font-size: .78rem; line-height: 1.3; }
.campo select {
  padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font-size: .95rem;
}
.resumo-pagamento { margin: 4px 0 16px; padding: 14px; border-radius: 12px; background: var(--bg); border: 1px dashed var(--line); line-height: 1.5; }
.resumo-pagamento small { color: var(--muted); }
.resumo-pagamento.erro { color: #f87171; border-color: rgba(239, 68, 68, .5); }
.resumo-pagamento .teste { color: #fbbf24; }
.valor-agora { font-size: 1.3rem; }
.nota.seguro { color: var(--muted); text-align: center; font-size: .78rem; }
.pagar-texto { margin: 0 0 14px; color: var(--muted); }
.pix-qr { display: block; width: min(260px, 100%); margin: 0 auto 14px; border-radius: 12px; background: #fff; padding: 10px; }
.copia { display: flex; gap: 8px; margin-bottom: 16px; }
.copia input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--muted); font-size: .8rem; }
.aguardando { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--accent-2); font-size: .9rem; text-align: center; }
.girando { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid rgba(34, 211, 238, .3); border-top-color: var(--accent-2); animation: girar 1s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }
/* Descer de plano: o que ele perde */
.descer-titulo { margin: 4px 0 8px; font-size: 1.3rem; }
.descer-texto { margin: 0 0 12px; color: var(--muted); line-height: 1.5; }
.descer-texto b { color: var(--text); }
.perdas { list-style: none; margin: 0 0 14px; padding: 12px 14px; display: grid; gap: 8px; border-radius: 12px; background: rgba(239, 68, 68, .08); border: 1px solid rgba(239, 68, 68, .35); }
.perdas li { position: relative; padding-left: 26px; color: #fecaca; }
.perdas li::before { content: '✕'; position: absolute; left: 2px; color: #f87171; font-weight: 800; }
.descer-tvs { display: grid; gap: 6px; max-height: 260px; overflow-y: auto; margin: 0 0 14px; padding: 10px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.marcar-tv { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; cursor: pointer; }
.marcar-tv:hover { background: var(--surface-2); }
.marcar-tv input { width: 18px; height: 18px; accent-color: var(--accent); }
.descer-nota { margin: 0 0 16px; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.btn-perigo-claro { margin-bottom: 10px; background: transparent; border-color: rgba(239, 68, 68, .6); color: #fca5a5; }
#btn-manter { display: flex; }
.btn-teste { margin-top: 14px; border-style: dashed; border-color: #fbbf24; color: #fbbf24; }
.link-voltar { display: block; margin: 14px auto 0; border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .85rem; }
.ok { text-align: center; }
.ok-icone { width: 64px; height: 64px; margin: 10px auto 12px; display: grid; place-items: center; border-radius: 50%; background: var(--ok); color: #fff; font-size: 2rem; font-weight: 800; }
.ok h2 { margin: 0 0 8px; }
.ok p { color: var(--muted); margin: 0 0 20px; }
@media (max-width: 420px) { .formas { grid-template-columns: 1fr; } }
