:root {
  --bg: #07080c;
  --card: #151518;
  --borda: #2a2a31;
  --text: #f5f6fa;
  --muted: #9aa0b2;
  --ambar: #5B8CFF;
  --laranja: #E5252A;
  --degrade: linear-gradient(135deg, #5B8CFF 0%, #1E4FD8 100%);
  --verde: #3ccf8e;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
body {
  min-height: 100vh; color: var(--text); font-family: "Inter", system-ui, sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased;
  background: radial-gradient(ellipse at 50% -20%, rgba(47, 107, 255, .16), transparent 60%), var(--bg);
}
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

.topo { display: flex; align-items: center; justify-content: space-between; max-width: 1100px; margin: 0 auto; padding: 18px 20px; }
.marca { display: inline-flex; align-items: center; gap: 8px; font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.35rem; letter-spacing: -.5px; }
.marca img { border-radius: 9px; }
.marca b { background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.topo__entrar { color: var(--muted); font-size: .9rem; }
.topo__entrar:hover { color: var(--text); }

.cadastro { max-width: 600px; margin: 0 auto; padding: 24px 20px 64px; }
.etiqueta { text-align: center; color: var(--ambar); font-size: .78rem; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 8px; }
.cadastro__titulo { font-family: "Sora", sans-serif; text-align: center; font-size: clamp(1.5rem, 4.5vw, 2rem); line-height: 1.2; letter-spacing: -.6px; margin-bottom: 30px; }

.progresso { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.progresso i { height: 5px; border-radius: 999px; background: var(--borda); transition: background .3s; }
.progresso i.feito { background: var(--degrade); }
.passo-info { font-size: .82rem; color: var(--muted); margin: 10px 0 26px; }
.link { background: none; border: 0; color: var(--ambar); font-weight: 600; cursor: pointer; }

.passo { display: flex; flex-direction: column; gap: 16px; animation: entrar .3s ease; }
@keyframes entrar { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.passo h2 { font-family: "Sora", sans-serif; font-size: clamp(1.6rem, 5vw, 2.1rem); line-height: 1.15; letter-spacing: -.8px; }
.passo__sub { color: var(--muted); margin-top: -6px; }
.centro { text-align: center; }

.opcoes { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.opcoes--grade { display: grid; grid-template-columns: 1fr 1fr; }
.opcao {
  text-align: left; background: var(--card); border: 1.5px solid var(--borda); border-radius: 16px; padding: 18px 20px;
  cursor: pointer; transition: border-color .2s, transform .15s, background .2s; display: flex; flex-direction: column; gap: 4px;
}
.opcao:hover { border-color: rgba(91, 140, 255, .6); transform: translateY(-1px); }
.opcao.escolhida { border-color: var(--ambar); background: rgba(91, 140, 255, .08); }
.opcao strong { font-weight: 600; font-size: 1.05rem; }
.opcao span { color: var(--muted); font-size: .86rem; }

label { display: flex; flex-direction: column; gap: 7px; font-size: .88rem; font-weight: 500; }
input {
  background: var(--card); border: 1.5px solid var(--borda); border-radius: 14px; padding: 15px 16px; font-size: 1rem; width: 100%; color: var(--text);
}
input::placeholder { color: #6b6b73; }
input:focus { outline: none; border-color: var(--ambar); }
.link-campo { display: flex; align-items: center; background: var(--card); border: 1.5px solid var(--borda); border-radius: 14px; overflow: hidden; }
.link-campo:focus-within { border-color: var(--ambar); }
.link-campo span { padding-left: 16px; color: var(--muted); white-space: nowrap; font-weight: 400; }
.link-campo input { border: 0; padding-left: 2px; background: transparent; }
.link-status { font-size: .8rem; color: var(--muted); font-weight: 400; }
.link-status--ok { color: var(--verde); }
.link-status--erro { color: #ff7b72; }
.erro { color: #ff7b72; font-size: .9rem; }
.termos { font-size: .78rem; color: var(--muted); text-align: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: 17px 22px; border-radius: 14px; border: 0;
  background: var(--degrade); color: #ffffff; font-weight: 700; font-size: 1.02rem; cursor: pointer; transition: transform .15s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(47, 107, 255, .25); }
.btn:disabled { opacity: .55; cursor: wait; transform: none; box-shadow: none; }
.btn--contorno { background: transparent; color: var(--text); border: 1.5px solid var(--borda); }

/* Preparando */
.preparando { display: flex; flex-direction: column; align-items: center; gap: 18px; animation: entrar .3s ease; }
.preparando .cadastro__titulo { margin-bottom: 0; }
.preparando .passo__sub { margin-top: -8px; }
.exemplo { width: 100%; background: var(--card); border: 1px solid var(--borda); border-radius: 20px; padding: 20px; }
.exemplo__topo { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--borda); font-size: .92rem; }
.exemplo__topo span { color: var(--muted); font-size: .82rem; }
.exemplo__linha { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--borda); font-size: .92rem; opacity: 0; animation: surgir .4s ease forwards; }
.exemplo__linha b { color: var(--ambar); font-family: ui-monospace, monospace; font-weight: 600; }
.exemplo__linha span:last-child { color: var(--muted); font-size: .85rem; }
@keyframes surgir { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.exemplo__nota { font-size: .76rem; color: var(--muted); margin-top: 14px; }
.checklist { list-style: none; width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.checklist li { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .95rem; }
.checklist li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--borda); flex-shrink: 0; display: grid; place-items: center; font-size: .75rem; font-weight: 800; transition: all .3s; }
.checklist li.fazendo { color: var(--text); font-weight: 600; }
.checklist li.fazendo::before { border-color: var(--ambar); border-top-color: transparent; animation: girar .8s linear infinite; }
.checklist li.feito { color: var(--text); }
.checklist li.feito::before { content: "✓"; background: var(--verde); border-color: var(--verde); color: #04140b; }
@keyframes girar { to { transform: rotate(360deg); } }
.preparando .btn { max-width: 380px; }
.icone-email { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; background: rgba(91, 140, 255, .14); color: var(--ambar); margin-top: 30px; }

@media (max-width: 560px) {
  .opcoes--grade { grid-template-columns: 1fr; }
  .cadastro { padding-top: 8px; }
}

/* Rebranding */
.etiqueta { color: #E5252A; }
.progresso i.feito { background: linear-gradient(90deg, #2F6BFF, #5B8CFF); }
.checklist li.fazendo::before { border-color: #5B8CFF; border-top-color: transparent; }

/* ===================== TEMA CLARO ===================== */
:root { --bg: #ffffff; --card: #ffffff; --borda: #e2e6ef; --text: #0b1020; --muted: #5a6478; --ambar: #2F6BFF; color-scheme: light; }
body { background: radial-gradient(ellipse at 50% -20%, rgba(47, 107, 255, .1), transparent 60%), #f6f8fc; }
.opcao { box-shadow: 0 4px 14px rgba(15, 23, 42, .05); }
.opcao:hover { border-color: rgba(47, 107, 255, .55); }
.opcao.escolhida { background: rgba(47, 107, 255, .07); border-color: #2F6BFF; }
input::placeholder { color: #9aa2b4; }
.link-campo, input { background: #ffffff; }
.exemplo { box-shadow: 0 10px 30px rgba(15, 23, 42, .07); }
.checklist li.feito::before { color: #fff; }
.btn--contorno { color: var(--text); }
.termos a { color: inherit; text-decoration: underline; }
