/* Página inicial. Mesma identidade do painel: tinta índigo, papel de bilhete amarelo, carimbo vermelho. */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1180px; width: 100%; margin: 0 auto; padding: 18px 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--font-display); font-stretch: 62%; font-weight: 800; font-size: 24px; }
.brand svg { width: 28px; height: 28px; color: var(--ticket); transform: rotate(-12deg); }

.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 36px 24px 64px; }
.hero h1 { margin: 0; font-family: var(--font-display); font-stretch: 62%; font-weight: 900; font-size: clamp(48px, 6.4vw, 92px); line-height: 0.9; letter-spacing: -0.005em; text-wrap: balance; }
.lead { margin: 24px 0 0; max-width: 54ch; font-size: 18px; line-height: 1.55; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.actions .btn { min-height: 52px; padding: 12px 24px; font-size: 16px; }
.btn-kick { background: var(--kick); border-color: var(--kick); color: #0b0e0f; font-weight: 800; }
.btn-kick:hover { background: #7dff4f; }
.btn-kick.disabled { opacity: 0.5; pointer-events: none; }
.fine { margin: 16px 0 0; max-width: 54ch; font-size: 13px; color: var(--faint); }
.notice { margin: 22px 0 0; padding: 12px 16px; border-radius: var(--r-md); max-width: 54ch; font-size: 15px; background: var(--ink-2); border: 1px solid var(--line-strong); }
.notice.is-error { border-color: rgba(232, 56, 79, 0.6); background: rgba(232, 56, 79, 0.1); color: #ffd3d9; }
.notice.is-ok { border-color: rgba(83, 252, 24, 0.45); background: rgba(83, 252, 24, 0.07); }

/* o celular com o sorteio de verdade rodando dentro */
.phone {
  justify-self: center; width: min(320px, 78vw); aspect-ratio: 9 / 18.5; padding: 10px; border-radius: 44px;
  background: #0b0a1f; box-shadow: 0 0 0 2px var(--ink-4), 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 120px rgba(255, 200, 61, 0.12);
  transform: rotate(2.5deg);
}
.phone iframe { width: 100%; height: 100%; border: 0; border-radius: 34px; background: var(--ink); display: block; }

.steps, .more { max-width: 1180px; margin: 0 auto; padding: 56px 24px; border-top: 2px dashed var(--line-strong); }
.steps h2, .more h2 { margin: 0 0 28px; font-family: var(--font-display); font-stretch: 62%; font-weight: 800; font-size: 40px; line-height: 1; }
.steps ol { margin: 0; padding: 0; list-style: none; counter-reset: passo; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps li { counter-increment: passo; display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: counter(passo); font-family: var(--font-display); font-stretch: 62%; font-weight: 900; font-size: 72px; line-height: 0.85; color: var(--ticket); }
.steps b { font-size: 19px; }
.steps span { color: var(--muted); max-width: 34ch; }
.more ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; max-width: 74ch; }
.more li { color: var(--muted); font-size: 16px; }
.more b { color: var(--text); }
.more code { font-size: 0.9em; background: var(--ink-3); padding: 1px 6px; border-radius: 4px; color: var(--paper); }

.foot { max-width: 1180px; width: 100%; margin: 0 auto; padding: 28px 24px 40px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot p { margin: 0; }
.foot a { color: var(--muted); }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 16px; }
  .phone { transform: none; }
  .steps ol { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 520px) {
  .bar { padding: 14px 16px; }
  .hero, .steps, .more { padding-left: 16px; padding-right: 16px; }
  .cta-small { display: none; }
  .actions .btn { width: 100%; }
}

/* páginas de texto (privacidade, 404) */
.doc { max-width: 760px; margin: 0 auto; padding: 24px 24px 64px; }
.doc h1 { margin: 0 0 18px; font-family: var(--font-display); font-stretch: 62%; font-weight: 900; font-size: clamp(44px, 7vw, 72px); line-height: 0.95; }
.doc h2 { margin: 34px 0 10px; font-family: var(--font-display); font-stretch: 62%; font-weight: 800; font-size: 28px; }
.doc p, .doc li { color: var(--muted); line-height: 1.6; max-width: 70ch; }
.doc b { color: var(--text); }
.doc ul { padding-left: 20px; }
.lost { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; }
