:root {
  --bg: #0E1116;
  --bg-2: #151A22;
  --surface: #1B212B;
  --line: #2A323F;
  --gold: #C9A24A;
  --gold-2: #E0B85C;
  --text: #F6F2EA;
  --muted: #B8B1A4;
  --error: #FF8A80;
  --radius: 14px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(ellipse 80% 50% at 85% 0%, rgba(201, 162, 74, .14), transparent 70%),
                    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
p { margin: 0; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 620px; }
.gold { color: var(--gold-2); }

:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--gold-2); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Topbar */
.topbar { padding: 18px 0; }
.topbar__inner { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.wordmark { font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; }
.wordmark--sm { font-size: 1.05rem; }
.topbar__by { color: var(--muted); font-size: .85rem; }

/* Hero */
.hero { padding: 8px 0 40px; }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 8px; align-items: center; }
.hero__copy { order: 2; }
.hero__art { order: 1; justify-self: center; }
.hero__art img { width: 150px; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .45)); }

.pill {
  display: inline-block; margin-bottom: 14px; padding: 5px 14px;
  border: 1.5px solid var(--gold); border-radius: 999px;
  color: var(--gold-2); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
h1 { font-size: clamp(1.75rem, 7.4vw, 3.1rem); font-weight: 700; letter-spacing: -.02em; }
.lead { margin-top: 14px; font-size: 1.05rem; color: var(--muted); max-width: 34em; }
.pj-note { margin-top: 10px; font-size: .85rem; color: var(--muted); }
.pj-note::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 8px 2px 0; border-radius: 50%; background: var(--gold); vertical-align: middle; }
.hero__cta { margin-top: 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 14px 28px; border: 0; border-radius: 12px;
  font: 600 1.05rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn--primary {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #17130A;
  box-shadow: 0 10px 28px rgba(201, 162, 74, .28);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(201, 162, 74, .36); }
.btn--primary:active { transform: translateY(0); }
.btn--primary:disabled { opacity: .7; cursor: progress; transform: none; }
.btn--block { width: 100%; }

/* Como funciona */
.how { padding: 32px 0 40px; }
.how h2 { font-size: 1.4rem; margin-bottom: 20px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(27, 33, 43, .72); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px;
}
.step__num {
  flex: 0 0 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(201, 162, 74, .14); color: var(--gold-2); font-weight: 700;
}
.step h3 { font-size: 1.05rem; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: .95rem; }
.extras { margin-top: 18px; color: var(--muted); font-size: .9rem; }

/* Cadastro */
.signup { padding: 16px 0 56px; scroll-margin-top: 12px; }
.signup:focus { outline: none; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 26px 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.card h2 { font-size: 1.4rem; }
.card__sub { margin-top: 6px; color: var(--muted); font-size: .9rem; }

form { margin-top: 22px; display: grid; gap: 18px; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
label, legend { font-weight: 500; font-size: .95rem; }
legend { padding: 0; margin-bottom: 8px; }
.legend__hint { display: block; color: var(--muted); font-weight: 400; font-size: .85rem; }

input[type="text"], input[type="tel"], input[type="email"], select {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: 400 16px/1.3 var(--font); color: var(--text);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none; appearance: none;
}
input::placeholder { color: #7D776C; }
select {
  padding-right: 42px; cursor: pointer;
  background-image: 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='%23E0B85C' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
select:invalid { color: #8E887C; }
select option { color: var(--text); background: var(--bg-2); }
input:focus, select:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(224, 184, 92, .3); }
[aria-invalid="true"] { border-color: var(--error) !important; }

.field__hint { color: var(--muted); font-size: .8rem; }
.field__error { color: var(--error); font-size: .85rem; min-height: 0; }
.field__error:empty { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 10px 16px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg);
  font-size: .95rem; transition: all .15s ease; user-select: none;
}
.chip input:checked + span { border-color: var(--gold-2); background: rgba(201, 162, 74, .16); color: var(--gold-2); }
.chip input:checked + span::before { content: "✓"; margin-right: 6px; font-weight: 700; }
.chip input:focus-visible + span { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.is-invalid .chip span { border-color: rgba(255, 138, 128, .6); }

.consent { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-weight: 400; font-size: .9rem; color: var(--muted); }
.consent input {
  flex: 0 0 24px; width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--gold);
  cursor: pointer;
}

.form-alert {
  margin-top: 16px; padding: 12px 14px; border-radius: 12px;
  background: rgba(255, 138, 128, .1); border: 1px solid rgba(255, 138, 128, .5); color: #FFD3CE; font-size: .92rem;
}

.success { text-align: center; padding: 18px 4px; }
.success:focus { outline: none; }
.success__icon {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(201, 162, 74, .16); color: var(--gold-2);
}
.success h2 { margin-bottom: 10px; }
.success p { color: var(--muted); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0 calc(32px + env(safe-area-inset-bottom)); }
.footer__inner { display: grid; gap: 10px; justify-items: center; text-align: center; }
.footer__legal { color: var(--muted); font-size: .85rem; }
.footer__seal { width: 260px; border-radius: 8px; margin-top: 6px; opacity: .92; }

/* Desktop */
@media (min-width: 760px) {
  .topbar { padding: 26px 0; }
  .hero { padding: 24px 0 56px; }
  .hero__grid { grid-template-columns: 1.25fr .75fr; gap: 32px; }
  .hero__copy { order: 1; }
  .hero__art { order: 2; }
  .hero__art img { width: 360px; }
  .lead { font-size: 1.15rem; }
  .how h2 { font-size: 1.6rem; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { flex-direction: column; padding: 22px; }
  .card { padding: 36px 36px; }
  .card h2 { font-size: 1.6rem; }
}

/* Nota abaixo dos botões (sem cartão / acesso pausado) */
.cta-note { margin-top: 10px; font-size: .85rem; color: var(--muted); }
.cta-note--form { margin-top: -8px; text-align: center; }

/* FAQ */
.faq { padding: 8px 0 48px; }
.faq h2 { font-size: 1.4rem; margin-bottom: 16px; }
.faq__list { margin: 0; display: grid; gap: 12px; }
.faq__item {
  background: rgba(27, 33, 43, .72); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px;
}
.faq__item dt { font-weight: 600; font-size: 1rem; }
.faq__item dd { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
