:root {
  --purple-950: #170047;
  --purple-900: #25006f;
  --purple-800: #2f008f;
  --purple-700: #3d00bf;
  --purple-600: #5300d7;
  --blue: #485ee3;
  --teal: #11e5b3;
  --teal-deep: #00c79c;
  --ink: #1a1a1a;
  --muted: #666476;
  --soft: #f6f5fb;
  --line: #e8e5f1;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(36, 0, 102, 0.14);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, a { font: inherit; }
button { border: 0; }

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

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

.section { padding: 104px 0; }

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  height: 76px;
  border-bottom: 1px solid rgba(47, 0, 143, 0.08);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand img {
  width: 165px;
  height: 40px;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 30px;
}

.desktop-nav a {
  color: #494653;
  font-size: 13px;
  font-weight: 700;
  transition: color 180ms ease;
}

.desktop-nav a:hover { color: var(--purple-700); }

.button {
  display: inline-flex;
  min-height: 48px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button span[aria-hidden="true"] {
  font-size: 19px;
  line-height: 0;
  transition: transform 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:hover span[aria-hidden="true"] { transform: translateX(3px); }

.button-primary {
  background: var(--purple-700);
  box-shadow: 0 10px 24px rgba(61, 0, 191, 0.2);
  color: white;
}

.button-primary:hover {
  background: var(--purple-800);
  box-shadow: 0 14px 30px rgba(61, 0, 191, 0.27);
}

.button-accent {
  background: var(--teal);
  box-shadow: 0 12px 28px rgba(17, 229, 179, 0.22);
  color: var(--purple-900);
}

.button-accent:hover {
  background: #2ef0c2;
  box-shadow: 0 16px 34px rgba(17, 229, 179, 0.3);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.button-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.button-large { min-height: 56px; padding: 15px 24px; font-size: 15px; }
.button-block { width: 100%; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 670px;
  background:
    radial-gradient(circle at 18% 0%, rgba(81, 70, 229, 0.55), transparent 34%),
    linear-gradient(116deg, var(--purple-950) 0%, var(--purple-800) 57%, #3e12bd 100%);
  color: white;
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 18px 18px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  opacity: 0.4;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 670px;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 38px;
}

.hero-copy { padding: 72px 0 78px; }

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--purple-700);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow { display: flex; align-items: center; color: white; }

.eyebrow span {
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(17, 229, 179, 0.14), 0 0 22px var(--teal);
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(45px, 5.1vw, 70px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

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

.hero-lead {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions { display: flex; margin-top: 34px; flex-wrap: wrap; gap: 12px; }

.hero-trust {
  display: flex;
  margin-top: 27px;
  flex-wrap: wrap;
  gap: 19px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 700;
}

.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }

.check-icon {
  display: inline-grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: rgba(17, 229, 179, 0.16);
  color: var(--teal);
  font-size: 12px;
}

.hero-visual { position: relative; align-self: stretch; min-height: 600px; }

.hero-photo {
  position: absolute;
  inset: 34px -95px 0 -10px;
  overflow: hidden;
  border-radius: 42px 0 0 0;
  background:
    linear-gradient(90deg, var(--purple-800) 0%, rgba(47, 0, 143, 0.28) 38%, rgba(47, 0, 143, 0.04) 76%),
    linear-gradient(180deg, transparent 62%, rgba(23, 0, 71, 0.76) 100%),
    url("cob-hero.png") center center / cover no-repeat;
  box-shadow: -28px 0 80px rgba(15, 0, 48, 0.24);
}

.phase-badge {
  position: absolute;
  z-index: 3;
  right: -8px;
  bottom: 68px;
  display: flex;
  min-width: 230px;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 19px;
  padding: 18px 20px;
  background: rgba(30, 0, 91, 0.78);
  box-shadow: 0 24px 60px rgba(15, 0, 49, 0.34);
  backdrop-filter: blur(16px);
}

.phase-badge-kicker {
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.phase-badge strong {
  margin: 5px 0 2px;
  color: var(--teal);
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.phase-badge small { color: white; font-size: 13px; font-weight: 600; }

.hero-stamp {
  position: absolute;
  z-index: 3;
  top: 72px;
  left: -8px;
  display: grid;
  width: 112px;
  height: 112px;
  place-content: center;
  transform: rotate(-7deg);
  border: 2px solid var(--teal);
  border-radius: 50%;
  background: rgba(23, 0, 71, 0.58);
  box-shadow: 0 0 0 9px rgba(17, 229, 179, 0.1);
  text-align: center;
}

.hero-stamp span { font-size: 9px; font-weight: 800; letter-spacing: 0.18em; }
.hero-stamp strong { color: var(--teal); font-size: 45px; font-weight: 900; line-height: 0.9; }

.hero-orb { position: absolute; z-index: 1; border-radius: 50%; filter: blur(1px); }

.hero-orb-one {
  top: -180px;
  right: 30%;
  width: 390px;
  height: 390px;
  border: 80px solid rgba(17, 229, 179, 0.05);
}

.hero-orb-two {
  bottom: -280px;
  left: -160px;
  width: 520px;
  height: 520px;
  border: 100px solid rgba(72, 94, 227, 0.1);
}

.countdown-strip { border-bottom: 1px solid #e2deef; background: white; }

.countdown-inner {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.countdown-message { display: flex; align-items: center; gap: 15px; }
.countdown-message > div { display: flex; flex-direction: column; gap: 4px; }
.countdown-message strong { color: var(--purple-800); font-size: 17px; }
.countdown-message span:not(.live-dot) { color: var(--muted); font-size: 12px; }

.live-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal-deep);
  box-shadow: 0 0 0 7px rgba(17, 229, 179, 0.12);
}

.countdown { display: flex; align-items: center; gap: 12px; }
.countdown div { display: flex; min-width: 61px; flex-direction: column; align-items: center; }

.countdown strong {
  color: var(--purple-800);
  font-size: 29px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.countdown span {
  margin-top: 5px;
  color: #85818f;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.countdown i {
  align-self: flex-start;
  color: #c2bdcc;
  font-size: 21px;
  font-style: normal;
  font-weight: 700;
}

.section-heading h2,
.cycle-copy h2,
.final-cta h2,
.faq-intro h2 {
  margin: 0;
  color: var(--purple-950);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.048em;
  line-height: 1.05;
}

.section-heading > p,
.split-heading > p { color: var(--muted); font-size: 15px; line-height: 1.7; }

.split-heading {
  display: grid;
  margin-bottom: 48px;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 90px;
}

.split-heading > p { margin: 0 0 2px; }

.centered-heading { max-width: 760px; margin: 0 auto 50px; text-align: center; }
.centered-heading > p:last-child { margin: 20px auto 0; }

.benefits-section { background: var(--soft); }

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

.benefit-card {
  position: relative;
  overflow: hidden;
  min-height: 285px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 31px;
  background: white;
  box-shadow: 0 16px 46px rgba(36, 0, 102, 0.06);
}

.benefit-card::after {
  position: absolute;
  right: -44px;
  bottom: -48px;
  width: 125px;
  height: 125px;
  border: 22px solid rgba(17, 229, 179, 0.09);
  border-radius: 50%;
  content: "";
}

.benefit-number {
  position: absolute;
  top: 22px;
  right: 25px;
  color: #eeecf4;
  font-size: 52px;
  font-weight: 900;
}

.benefit-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 16px;
  background: #eee9ff;
  color: var(--purple-700);
  font-size: 21px;
  font-weight: 900;
}

.benefit-card h3 {
  margin: 36px 0 10px;
  color: var(--purple-900);
  font-size: 20px;
  font-weight: 900;
}

.benefit-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.phases-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(72, 94, 227, 0.38), transparent 32%),
    linear-gradient(135deg, var(--purple-950), var(--purple-800));
  color: white;
}

.phases-section::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  content: "";
  opacity: 0.5;
}

.phases-section .container { position: relative; z-index: 1; }
.phases-section .section-heading h2 { color: white; }
.phases-section .section-heading > p:last-child { color: rgba(255, 255, 255, 0.7); }
.light-kicker { color: var(--teal); }

.phase-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.875fr 0.875fr;
  align-items: stretch;
  gap: 17px;
}

.phase-card {
  position: relative;
  display: flex;
  min-height: 455px;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 24px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.featured-phase {
  border: 1px solid rgba(17, 229, 179, 0.68);
  padding: 38px;
  background: linear-gradient(145deg, rgba(83, 0, 215, 0.82), rgba(32, 0, 97, 0.96));
  box-shadow: 0 25px 70px rgba(10, 0, 37, 0.38), inset 0 0 0 4px rgba(17, 229, 179, 0.06);
  transform: translateY(-10px);
}

.best-choice {
  position: absolute;
  top: -14px;
  left: 30px;
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--teal);
  color: var(--purple-900);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phase-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.phase-topline span {
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.phase-topline time { color: rgba(255, 255, 255, 0.7); font-size: 10px; font-weight: 700; }

.phase-card h3 {
  margin: 30px 0 24px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.featured-phase h3 { font-size: 29px; }

.phase-price {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 21px 0;
}

.phase-price small { color: rgba(255, 255, 255, 0.58); font-size: 10px; font-weight: 600; }

.phase-price strong {
  margin: 7px 0 4px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.featured-phase .phase-price strong { color: var(--teal); font-size: 38px; }
.phase-price span { color: rgba(255, 255, 255, 0.82); font-size: 12px; font-weight: 700; }

.phase-card ul {
  display: grid;
  margin: 22px 0 25px;
  padding: 0;
  gap: 13px;
  list-style: none;
}

.phase-card li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.79);
  font-size: 12px;
  line-height: 1.4;
}

.phase-card li span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 900;
}

.featured-phase li span { background: rgba(17, 229, 179, 0.18); color: var(--teal); }
.featured-phase .button { margin-top: auto; }

.phase-note {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  text-align: center;
}

.cycle-section { background: white; }

.cycle-card {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  border: 1px solid #ddd7ef;
  border-radius: var(--radius-lg);
  padding: 46px;
  background: linear-gradient(115deg, #f4f0ff 0%, #ffffff 55%, #eafff9 100%);
  box-shadow: var(--shadow);
}

.cycle-card::after {
  position: absolute;
  right: -105px;
  bottom: -105px;
  width: 240px;
  height: 240px;
  border: 44px solid rgba(17, 229, 179, 0.1);
  border-radius: 50%;
  content: "";
}

.cycle-mark {
  display: grid;
  width: 132px;
  height: 132px;
  place-items: center;
  transform: rotate(-5deg);
  border-radius: 28px;
  background: var(--purple-700);
  box-shadow: 0 20px 45px rgba(61, 0, 191, 0.22);
  color: var(--teal);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.cycle-copy { max-width: 630px; }
.cycle-copy h2 { font-size: 35px; }

.cycle-copy p:last-child {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.cycle-card .button { position: relative; z-index: 1; }
.prices-section { background: var(--soft); }

.price-table-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: 0 20px 60px rgba(36, 0, 102, 0.08);
}

.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 22px 25px; text-align: left; }
.price-table thead { background: var(--purple-800); color: white; }

.price-table thead th {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-table tbody tr + tr { border-top: 1px solid var(--line); }
.price-table tbody tr:hover { background: #fbfaff; }

.price-table tbody th {
  width: 46%;
  color: var(--purple-900);
  font-size: 13px;
  font-weight: 800;
}

.price-table tbody td { color: #34303d; font-size: 14px; font-weight: 700; }

.price-table .unavailable {
  color: #a39dab;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-footnotes {
  display: flex;
  margin-top: 20px;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.price-footnotes p { margin: 0; }
.steps-section { background: white; }

.step-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-grid::before {
  position: absolute;
  z-index: 0;
  top: 41px;
  right: 16%;
  left: 16%;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-700), var(--teal));
  content: "";
}

.step-grid article { position: relative; z-index: 1; padding: 0 20px; text-align: center; }

.step-grid article > span {
  display: grid;
  width: 82px;
  height: 82px;
  margin: 0 auto;
  place-items: center;
  border: 10px solid white;
  border-radius: 50%;
  background: var(--purple-700);
  box-shadow: 0 12px 30px rgba(61, 0, 191, 0.23);
  color: white;
  font-size: 18px;
  font-weight: 900;
}

.step-grid article:nth-child(3) > span { background: var(--teal); color: var(--purple-900); }

.step-grid h3 {
  margin: 21px 0 8px;
  color: var(--purple-900);
  font-size: 18px;
  font-weight: 900;
}

.step-grid p {
  max-width: 290px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.steps-action {
  display: flex;
  margin-top: 52px;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.steps-action > span { color: #898491; font-size: 10px; font-weight: 600; }
.faq-section { background: var(--soft); }

.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 85px; }
.faq-intro { align-self: start; }
.faq-intro h2 { font-size: 43px; }

.faq-intro > p:not(.section-kicker) {
  margin: 18px 0 27px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.faq-list { border-top: 1px solid #dcd8e8; }
.faq-list details { border-bottom: 1px solid #dcd8e8; padding: 0 3px; }

.faq-list summary {
  position: relative;
  padding: 24px 45px 24px 0;
  color: var(--purple-900);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 5px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 50%;
  background: white;
  color: var(--purple-700);
  content: "+";
  font-size: 20px;
}

.faq-list details[open] summary::after { content: "−"; }

.faq-list details p {
  margin: -5px 45px 23px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  background: linear-gradient(108deg, var(--purple-950), var(--purple-700) 68%, var(--blue));
  color: white;
}

.final-cta::after {
  position: absolute;
  right: -80px;
  bottom: -180px;
  width: 380px;
  height: 380px;
  border: 75px solid rgba(17, 229, 179, 0.12);
  border-radius: 50%;
  content: "";
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.final-cta h2 { color: white; font-size: 50px; }
.final-cta p:last-child { margin: 14px 0 0; color: rgba(255, 255, 255, 0.72); font-size: 14px; }

.site-footer { padding: 34px 0; background: #100030; color: rgba(255, 255, 255, 0.64); }
.footer-inner { display: flex; align-items: center; gap: 28px; }

.footer-inner img {
  width: 140px;
  height: 35px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

.footer-inner p { margin: 0; font-size: 11px; }
.footer-inner span { margin-left: auto; font-size: 10px; }
.mobile-enroll-button { display: none; }

.enrollment-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  overflow-y: auto;
  place-items: center;
  padding: 25px;
  background: rgba(13, 0, 39, 0.78);
  backdrop-filter: blur(12px);
  animation: overlay-in 180ms ease both;
}

/* Mantém o modal realmente fechado até o clique em "Fazer matrícula". */
.enrollment-overlay[hidden] {
  display: none;
}

.enrollment-dialog {
  width: min(650px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background: white;
  box-shadow: 0 35px 100px rgba(10, 0, 34, 0.42);
  animation: dialog-in 260ms ease both;
}

.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 29px 31px 21px;
}

.dialog-header > div { display: flex; flex-direction: column; gap: 6px; }

.dialog-kicker {
  color: var(--purple-700);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.dialog-header strong {
  color: var(--purple-950);
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.dialog-close {
  display: grid;
  width: 39px;
  height: 39px;
  cursor: pointer;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--purple-900);
  font-size: 26px;
  line-height: 1;
}

.dialog-progress {
  position: relative;
  display: flex;
  margin: 0 31px;
  justify-content: space-between;
}

.dialog-progress::before,
.dialog-progress i {
  position: absolute;
  z-index: 0;
  top: 15px;
  left: 0;
  height: 3px;
  content: "";
}

.dialog-progress::before { right: 0; background: #ece8f4; }

.dialog-progress i {
  background: linear-gradient(90deg, var(--purple-700), var(--teal));
  transition: width 250ms ease;
}

.dialog-progress span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 3px solid white;
  border-radius: 50%;
  background: #ece8f4;
  color: #948e9f;
  font-size: 10px;
  font-weight: 900;
}

.dialog-progress span.active {
  background: var(--purple-700);
  box-shadow: 0 5px 15px rgba(61, 0, 191, 0.2);
  color: white;
}

.dialog-body { padding: 26px 31px 32px; }
.choice-list { display: grid; gap: 11px; }

.choice-card {
  display: grid;
  width: 100%;
  cursor: pointer;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 17px;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 17px;
  background: white;
  color: var(--purple-900);
  text-align: left;
  transition: border 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.choice-card:hover {
  border-color: rgba(61, 0, 191, 0.42);
  box-shadow: 0 12px 34px rgba(36, 0, 102, 0.09);
  transform: translateY(-2px);
}

.choice-card > span:last-child { font-size: 21px; }

.choice-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: #eeeaff;
  color: var(--purple-700);
  font-size: 18px;
  font-weight: 900;
}

.course-mark { background: #e9fff9; color: #00a984; }
.year-choice-list {
  max-height: min(430px, 52vh);
  overflow-y: auto;
  padding: 2px 5px 2px 2px;
  scrollbar-color: rgba(61, 0, 191, 0.3) transparent;
  scrollbar-width: thin;
}

.year-choice-card { padding-block: 13px; }
.year-choice-card .choice-mark { font-size: 13px; }
.choice-copy { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.choice-copy strong { font-size: 14px; font-weight: 900; }

.choice-copy small {
  overflow: hidden;
  color: #797482;
  font-size: 10px;
  line-height: 1.45;
  text-overflow: ellipsis;
}

.choice-copy em {
  color: var(--purple-600);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dialog-back {
  margin: -4px 0 11px;
  padding: 0;
  background: transparent;
  color: var(--purple-700);
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.dialog-context { margin: 0 0 15px; color: var(--muted); font-size: 11px; }
.dialog-context strong { color: var(--purple-900); }

.student-data-form { display: grid; gap: 14px; }

.form-field {
  display: grid;
  gap: 7px;
}

.form-field > span {
  color: var(--purple-900);
  font-size: 10px;
  font-weight: 800;
}

.form-field input,
.form-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 0 14px;
  outline: none;
  background: #fbfaff;
  color: var(--purple-950);
  font: inherit;
  font-size: 12px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.form-field select {
  cursor: pointer;
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--purple-600);
  background: white;
  box-shadow: 0 0 0 4px rgba(61, 0, 191, 0.08);
}

.form-field input::placeholder { color: #aaa4b1; }

.form-help {
  margin: -2px 0 0;
  color: #8a8492;
  font-size: 9px;
  line-height: 1.55;
}

.enrollment-summary {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfaff;
}

.enrollment-summary > div {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
}

.enrollment-summary > div + div { border-top: 1px solid var(--line); }

.enrollment-summary span {
  color: #8a8492;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.enrollment-summary strong {
  color: var(--purple-900);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
}

.secure-note {
  display: flex;
  margin: 16px 0;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  padding: 13px 15px;
  background: #eafff9;
}

.secure-note > span {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--purple-900);
  font-size: 13px;
  font-weight: 900;
}

.secure-note p {
  display: flex;
  margin: 0;
  flex-direction: column;
  color: #5c706a;
  font-size: 9px;
  line-height: 1.5;
}

.secure-note strong { color: #174c40; font-size: 11px; }
.whatsapp-button { margin-top: 5px; }

.whatsapp-warning {
  margin: 13px 0 0;
  border: 1px solid #f0c6d1;
  border-radius: 12px;
  padding: 11px 13px;
  background: #fff5f7;
  color: #8f2741;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.dialog-legal { margin: 11px 0 0; color: #9a94a1; font-size: 8px; line-height: 1.5; text-align: center; }

@keyframes overlay-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }

@media (max-width: 1040px) {
  .desktop-nav { display: none; }
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; }
  .hero-photo { right: -45px; }
  .phase-grid { grid-template-columns: 1fr 1fr; }
  .featured-phase { grid-row: span 2; }
  .cycle-card { grid-template-columns: auto 1fr; }
  .cycle-card .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 820px) {
  .container { width: min(100% - 30px, 680px); }
  .section { padding: 78px 0; }
  .site-header { height: 68px; }
  .brand img { width: 145px; }
  .header-cta { display: none; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 64px 0 34px; }
  .hero h1 { max-width: 650px; font-size: clamp(42px, 10vw, 62px); }
  .hero-visual { min-height: 460px; }
  .hero-photo { inset: 0 -15px 0 12%; border-radius: 32px 0 0 0; }
  .phase-badge { right: 0; bottom: 30px; }
  .hero-stamp { top: 30px; left: 7%; }

  .countdown-inner {
    padding: 24px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .countdown { align-self: stretch; justify-content: space-between; }
  .split-heading { grid-template-columns: 1fr; gap: 18px; }
  .benefit-grid, .step-grid { grid-template-columns: 1fr; }
  .benefit-card { min-height: 240px; }
  .phase-grid { grid-template-columns: 1fr; }
  .featured-phase { grid-row: auto; transform: none; }
  .phase-card { min-height: auto; }
  .cycle-card { grid-template-columns: 1fr; padding: 35px; }
  .cycle-mark { width: 100px; height: 100px; font-size: 34px; }
  .cycle-card .button { grid-column: auto; }
  .price-table-wrap { overflow-x: auto; }
  .price-table { min-width: 690px; }
  .price-footnotes { flex-direction: column; gap: 8px; }
  .step-grid { gap: 34px; }

  .step-grid::before {
    top: 40px;
    bottom: 40px;
    left: 50%;
    width: 2px;
    height: auto;
    transform: translateX(-50%);
  }

  .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .final-cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner span { width: 100%; margin-left: 0; }

  .mobile-enroll-button {
    position: fixed;
    z-index: 50;
    right: 14px;
    bottom: 14px;
    left: 14px;
    display: flex;
    min-height: 54px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 14px;
    background: var(--teal);
    box-shadow: 0 15px 40px rgba(18, 0, 57, 0.3);
    color: var(--purple-900);
    font-size: 14px;
    font-weight: 900;
  }
}

@media (max-width: 520px) {
  .container { width: calc(100% - 26px); }
  .section { padding: 64px 0; }
  .hero-copy { padding-top: 48px; }
  .hero h1 { font-size: 43px; line-height: 1.01; }
  .hero-lead { font-size: 14px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
  .hero-visual { min-height: 390px; }
  .hero-photo { inset: 0 -13px 0 0; }
  .hero-stamp { width: 84px; height: 84px; }
  .hero-stamp strong { font-size: 35px; }
  .phase-badge { right: 2px; bottom: 20px; min-width: 202px; }
  .countdown-message strong { font-size: 14px; }
  .countdown div { min-width: 48px; }
  .countdown strong { font-size: 25px; }

  .section-heading h2,
  .faq-intro h2,
  .final-cta h2 { font-size: 35px; }

  .benefit-card,
  .phase-card,
  .featured-phase { padding: 27px; }

  .featured-phase .phase-price strong { font-size: 32px; }
  .cycle-card { padding: 28px; }
  .cycle-copy h2 { font-size: 30px; }
  .final-cta { padding: 64px 0 100px; }
  .enrollment-overlay { place-items: end center; padding: 0; }

  .enrollment-dialog {
    max-height: 94vh;
    overflow-y: auto;
    border-radius: 25px 25px 0 0;
  }

  .dialog-header { padding: 24px 20px 18px; }
  .dialog-progress { margin: 0 20px; }
  .dialog-body { padding: 23px 20px 29px; }
  .choice-card { gap: 12px; padding: 14px; }
  .year-choice-list { max-height: 48vh; }
  .choice-mark { width: 42px; height: 42px; }
  .choice-copy strong { font-size: 12px; }
  .enrollment-summary > div { grid-template-columns: 1fr; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Hero v2 — composição fotográfica em tela cheia */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 650px;
  overflow: hidden;
  background: #260071;
  color: #fff;
}

.hero::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.42;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.8) 75%, transparent 100%);
}

.hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(27, 0, 82, 0.98) 0%, rgba(47, 0, 143, 0.93) 36%, rgba(57, 5, 157, 0.7) 60%, rgba(20, 0, 65, 0.43) 100%),
    linear-gradient(180deg, rgba(25, 0, 76, 0.12) 0%, rgba(25, 0, 76, 0.48) 100%);
  pointer-events: none;
}

.hero .hero-photo {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: none;
  filter: saturate(0.9) contrast(1.03);
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: block;
  min-height: 650px;
}

.hero-copy {
  max-width: 730px;
  padding: 70px 0 55px;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(48px, 4.1vw, 64px);
  line-height: 0.98;
}

.hero-lead {
  max-width: 700px;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.65;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin-top: 28px;
}

.hero-fact {
  display: flex;
  min-height: 108px;
  flex-direction: column;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  background: rgba(40, 0, 118, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.hero-fact strong {
  font-size: 13px;
  font-weight: 900;
}

.hero-fact span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.hero-fact small {
  margin-top: auto;
  padding-top: 5px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  line-height: 1.35;
}

.hero-actions {
  margin-top: 26px;
}

.hero-fineprint {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  line-height: 1.5;
}

.hero-details {
  display: inline-block;
  margin-top: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.hero-details:hover {
  border-color: var(--teal);
  color: var(--teal);
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(27, 0, 82, 0.98) 0%, rgba(47, 0, 143, 0.9) 68%, rgba(20, 0, 65, 0.64) 100%),
      linear-gradient(180deg, rgba(25, 0, 76, 0.12) 0%, rgba(25, 0, 76, 0.55) 100%);
  }

  .hero .hero-photo {
    inset: 0;
    background-position: 68% center;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-copy {
    max-width: 100%;
    padding: 60px 0 58px;
  }

  .hero-facts {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .hero::after {
    background:
      linear-gradient(90deg, rgba(27, 0, 82, 0.99) 0%, rgba(47, 0, 143, 0.93) 74%, rgba(20, 0, 65, 0.72) 100%),
      linear-gradient(180deg, rgba(25, 0, 76, 0.1) 0%, rgba(25, 0, 76, 0.6) 100%);
  }

  .hero .hero-photo {
    background-position: 65% center;
  }

  .hero-copy {
    padding: 48px 0 50px;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1;
  }

  .hero h1 br {
    display: none;
  }

  .hero-lead {
    max-width: 94%;
    font-size: 14px;
  }

  .hero-facts {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero-fact {
    min-height: 100px;
    padding: 13px;
  }

  .hero-fact:last-child {
    grid-column: 1 / -1;
    min-height: 86px;
  }

  .hero-actions {
    margin-top: 22px;
  }
}
