:root {
  --brand-1: #FFFFFF;
  --brand-2: #191919;
  --surface-ink: #090F21;
  --surface-navy: #0A1D3C;
  --surface-deep: #020B1A;
  --surface-footer: #111430;
  --surface-white: #FFFFFF;
  --surface-overlay: rgba(29, 43, 65, 0.75);
  --surface-scrim: rgba(0, 0, 0, 0.60);
  --hero-gradient: linear-gradient(#132227 83%, #1F2324 100%);
  --accent-green: #0BC770;
  --accent-green-glow: #00FF89;
  --accent-green-grad: linear-gradient(#0BC770 89%, #000000 100%);
  --accent-gold: #F3DF75;
  --accent-gold-pale: #FFF8C0;
  --accent-lime: #F8FF88;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: rgba(255, 255, 255, 0.79);
  --text-on-dark-soft: rgba(255, 255, 255, 0.73);
  --text-on-dark-faint: rgba(255, 255, 255, 0.45);
  --text-on-light: #2F2F2F;
  --text-on-light-strong: #000000;
  --border-card: 1px solid rgba(233, 239, 250, 0.30);
  --divider: 1px solid rgba(255, 255, 255, 0.37);
  --divider-dashed: 1px dashed rgba(255, 255, 255, 0.11);
  --accent-red: #FF0000;
  --font-primary: "Google Sans", sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  --fs-h1: clamp(28px, 4.2vw, 45px);
  --fs-h2: clamp(24px, 3.4vw, 40.8px);
  --fs-h3: clamp(22px, 3vw, 36px);
  --fs-h4: 21.28px;
  --fs-body-lg: 20px;
  --fs-body: 17.92px;
  --fs-caption: 14px;
  --lh-headline: 1.1;
  --lh-base: 1.4;
  --lh-relaxed: 1.45;
  --space-5: 26px;
  --space-7: 35px;
  --section-pt: 100px;
  --section-pb: 24px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-circle: 50%;
  --shadow-glow: 0 0 22px 0 var(--accent-green-glow);
  --container: 1170px;
}

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

html { scroll-behavior: smooth; }
html, body { margin: 0; }

body {
  background: var(--surface-ink);
  color: var(--text-on-dark);
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

button, input { font-family: inherit; }

.wrap {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  line-height: 20px;
  letter-spacing: 0;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn-primary {
  background: var(--accent-green);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 10px 40px;
}

.btn-lg { padding: 15px 40px; }

.form-card .btn {
  width: 100%;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn-glow {
  width: 100%;
  background-image: var(--accent-green-grad);
  color: #fff;
  border-radius: 73px;
  padding: 15px 40px;
  box-shadow: var(--shadow-glow);
  font-weight: var(--fw-extrabold);
}

.btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 3px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-gradient);
  min-height: 656px;
  padding: 64px 0 72px;
  box-sizing: border-box;
  text-align: center;
}

.hero__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__copy {
  max-width: min(680px, 100%);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: var(--fs-h1);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.8px;
  line-height: var(--lh-headline);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-gold-pale);
}

.hero__lead {
  margin: 0 auto 32px;
  max-width: 42ch;
  color: var(--text-on-dark-muted);
  font-size: var(--fs-body-lg);
}

.form-card {
  width: min(440px, 100%);
  scroll-margin-top: 24px;
  background: var(--surface-white);
  color: var(--text-on-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.hero__meta {
  margin: 22px 0 0;
  max-width: 36ch;
  color: var(--text-on-dark-muted);
  font-size: var(--fs-caption);
  line-height: 1.5;
}

.form-card__lead {
  margin: 0 0 18px;
  color: var(--text-on-light-strong);
  font-size: 18px;
  font-weight: var(--fw-bold);
  text-align: center;
  line-height: 1.35;
}

/* Separador de seção */
.notch {
  position: relative;
  height: 70px;
  background: var(--surface-ink);
  border-bottom: var(--divider-dashed);
}

.notch::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%);
  width: 90px;
  height: 60px;
  background: var(--surface-ink);
  border-radius: var(--radius-circle);
}

.notch::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: var(--radius-circle);
  background: var(--text-on-dark);
  z-index: 2;
}

/* Lessons */
.lessons {
  padding: var(--section-pt) 0 var(--section-pb);
}

.lessons h2,
.about h2 {
  margin: 0 0 36px;
  font-size: var(--fs-h1);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-headline);
}

.lessons h2 { text-align: center; }

.lessons__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card-module {
  background: var(--surface-deep);
  border: var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-5);
}

.card-module img {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
}

.card-module h3 {
  margin: 0 0 12px;
  color: var(--accent-gold);
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-headline);
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.card-module p {
  margin: 0;
  color: var(--text-on-dark-muted);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
}

/* About */
.about {
  padding: var(--section-pt) 0 80px;
}

.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.about__photo {
  width: min(420px, 100%);
  margin: 0 auto;
}

.about h2 { margin-bottom: 18px; }

.about p {
  margin: 0 0 16px;
  color: var(--text-on-dark-muted);
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
}

.about .btn { margin-top: 12px; }

/* Footer */
.footer {
  background: var(--surface-footer);
  padding: 40px 0;
  text-align: center;
}

.footer img {
  width: 140px;
  margin: 0 auto 12px;
}

.footer p {
  margin: 0;
  color: var(--text-on-dark-faint);
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
}

.field { margin-bottom: 14px; }

.field input {
  width: 100%;
  border: 1px solid #d7dbe3;
  border-radius: var(--radius-md);
  padding: 14px 14px;
  font-size: 16px;
  color: var(--text-on-light-strong);
  background: #fff;
}

.field input:focus {
  outline: 2px solid var(--accent-green);
  border-color: var(--accent-green);
}

.field-error {
  display: none;
  margin: 6px 0 0;
  color: #c1121f;
  font-size: 13px;
}

.field.is-invalid .field-error { display: block; }
.field.is-invalid input { border-color: #c1121f; }

.form-status {
  display: none;
  margin: 0 0 12px;
  color: #c1121f;
  font-size: 14px;
}

.form-status.is-visible { display: block; }

.iti { width: 100%; }
.iti__country { color: #000; }
.iti__selected-flag { background: transparent; }
.iti--container { z-index: 30; }

/* Thank you */
.thanks {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background: var(--hero-gradient);
  text-align: center;
}

.thanks img { width: 180px; margin: 0 auto 28px; }

.thanks h1 {
  margin: 0 0 12px;
  font-size: var(--fs-h2);
}

.thanks p {
  margin: 0;
  color: var(--text-on-dark-muted);
  max-width: 36ch;
}

@media (max-width: 770px) {
  html { font-size: 17px; }

  .hero {
    min-height: 0;
    padding: 36px 0 40px;
  }

  .about__grid,
  .lessons__grid {
    grid-template-columns: 1fr;
  }

  .hero h1 { font-size: 28px; }
  .about .btn { width: 100%; }
  .lessons { padding-top: 64px; }
  .about { padding: 64px 0; }
}
