:root {
  --bg: #0b0b0d;
  --bg-soft: #141418;
  --surface: #ffffff;
  --surface-soft: #f6f6f8;
  --text: #16161a;
  --text-soft: #65656f;
  --text-on-dark: #ffffff;
  --accent: #7c3aed;
  --accent-2: #a855f7;
  --line: #e7e7eb;
  --success: #138a52;
  --danger: #c63f3f;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(0,0,0,.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(980px, calc(100% - 40px)); }

.topbar {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(11,11,13,.82);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; letter-spacing: .06em; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg,var(--accent),var(--accent-2)); }
.brand-text { font-size: 14px; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 14px; padding: 15px 22px;
  background: linear-gradient(135deg,var(--accent),var(--accent-2));
  color: #fff; font-weight: 700; cursor: pointer;
  box-shadow: 0 12px 30px rgba(124,58,237,.25);
  transition: transform .18s ease, opacity .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: .65; cursor: wait; transform: none; }
.button-small { padding: 10px 15px; font-size: 14px; }
.button-full { width: 100%; }
.button-secondary { background: #17171c; box-shadow: none; }

.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 20% 10%, #21113a 0, transparent 32%), var(--bg);
  color: var(--text-on-dark);
  min-height: 720px;
  display: flex; align-items: center;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size: 42px 42px; pointer-events: none;
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(6px); opacity: .35; }
.hero-orb-1 { width: 420px; height: 420px; background: #6d28d9; right: -120px; top: 60px; }
.hero-orb-2 { width: 280px; height: 280px; background: #c026d3; left: 35%; bottom: -160px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: center; padding: 90px 0; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .15em; color: #d8b4fe; margin-bottom: 16px; }
.eyebrow.dark { color: var(--accent); }
.hero h1 { margin: 0; font-size: clamp(58px, 9vw, 112px); line-height: .88; letter-spacing: -.06em; max-width: 760px; }
.hero h1 span { color: #c084fc; }
.hero-lead { max-width: 650px; color: #c9c9d2; font-size: clamp(18px,2vw,23px); margin: 28px 0; }
.hero-actions { display: flex; gap: 20px; align-items: center; }
.text-link { color: #ddd6fe; font-weight: 600; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 52px; max-width: 660px; }
.hero-proof div { border-top: 1px solid rgba(255,255,255,.14); padding-top: 16px; }
.hero-proof strong, .hero-proof span { display: block; }
.hero-proof strong { font-size: 18px; }
.hero-proof span { color: #9f9faa; font-size: 13px; margin-top: 3px; }

.hero-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 30px; padding: 10px; backdrop-filter: blur(18px); box-shadow: var(--shadow); transform: rotate(1.5deg); }
.hero-card-badge { padding: 10px 14px; font-size: 11px; letter-spacing: .14em; font-weight: 800; color: #e9d5ff; }
.hero-card-inner { background: #fff; color: #111; padding: 42px 34px; border-radius: 22px; }
.hero-card-inner p { margin: 0 0 5px; color: #777; }
.hero-card-inner h2 { font-size: 44px; line-height: 1; margin: 0 0 14px; letter-spacing: -.045em; }
.hero-card-inner span { color: #666; display: block; margin-bottom: 26px; }

.section { padding: 100px 0; }
.section-title { font-size: clamp(38px,5vw,62px); line-height: 1; letter-spacing: -.05em; margin: 0 0 24px; }
.section-copy { color: var(--text-soft); max-width: 760px; font-size: 19px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 48px; }
.feature-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.feature-card > span { color: var(--accent); font-weight: 800; font-size: 13px; }
.feature-card h3 { margin: 18px 0 8px; font-size: 23px; }
.feature-card p { color: var(--text-soft); margin: 0; }

.registration-section { background: #f2f2f5; }
.registration-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: start; }
.registration-copy { position: sticky; top: 110px; }
.registration-copy h2 { font-size: clamp(42px,5vw,68px); line-height: .95; margin: 0 0 22px; letter-spacing: -.05em; }
.registration-copy > p { color: var(--text-soft); font-size: 18px; }
.privacy-note { margin-top: 32px; padding: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.privacy-note strong, .privacy-note span { display: block; }
.privacy-note span { color: var(--text-soft); font-size: 14px; margin-top: 5px; }

.form-card { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,.04); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
input, select {
  width: 100%; height: 54px; border: 1px solid #d9d9df; border-radius: 13px;
  padding: 0 14px; background: #fff; color: var(--text); outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(124,58,237,.10); }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.error { display: block; min-height: 17px; font-size: 12px; color: var(--danger); margin-top: 5px; }
.conditional[hidden] { display: none !important; }
.consents { border-top: 1px solid var(--line); margin: 5px 0 22px; padding-top: 20px; }
.check-row { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin: 12px 0; color: #3f3f46; font-size: 14px; }
.check-row input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); }
.consent-help { color: var(--text-soft); font-size: 12px; margin: 10px 0 0; }
.form-message { margin-top: 14px; min-height: 20px; font-size: 14px; }
.form-message.error-message { color: var(--danger); }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.success-state { text-align: center; padding: 34px 8px; }
.success-icon { width: 66px; height: 66px; border-radius: 50%; background: #e8f7ef; color: var(--success); display: grid; place-items: center; font-size: 34px; font-weight: 800; margin: 0 auto 18px; }
.success-state h3 { font-size: 30px; margin: 0 0 8px; }
.success-state p { color: var(--text-soft); margin: 0 0 22px; }

footer { background: var(--bg); color: #aaaab3; padding: 28px 0; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-grid, .registration-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-grid { padding: 72px 0; }
  .hero-card { max-width: 520px; transform: none; }
  .registration-copy { position: static; }
  .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container, .narrow { width: min(100% - 28px, 1160px); }
  .topbar-inner { height: 64px; }
  .brand-text { display: none; }
  .hero h1 { font-size: 62px; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .text-link { text-align: center; }
  .section { padding: 72px 0; }
  .form-card { padding: 22px; border-radius: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { flex-direction: column; }
}

/* Segurança: o atributo HTML hidden sempre deve ocultar o elemento. */
[hidden] { display: none !important; }
