﻿/* ============================================================
   style.css · LP SCLA pt-BR
   base.css + tokens.css + overrides LP-específicos
   ============================================================ */

/* --- Reset & Box Model ------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: 'Raleway', sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.65;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }
table { border-collapse: collapse; width: 100%; }

/* --- CSE Core Tokens -------------------------------------- */
:root {
  /* Core palette */
  --navy:         #0A1E3F;
  --navy-950:     #061532;
  --navy-800:     #12315E;
  --navy-700:     #183D71;
  --navy-600:     #1E4A85;
  --navy-400:     #4C74B0;
  --navy-200:     #B8C9E2;
  --navy-100:     #E3EAF5;
  --yellow:       #F4C542;
  --yellow-200:   #FBEAB0;
  --yellow-100:   #FDF5D9;
  --cyan:         #4FC3E8;
  --cyan-700:     #1A8CAD;
  --cyan-100:     #E0F6FD;
  --paper:        #FAF6EA;
  --bg-soft:      #FAF8F5;
  --white:        #FFFFFF;

  /* Semantic */
  --success:  #2F9E6F;
  --warning:  #E8A84A;
  --danger:   #D45849;

  /* Spacing (8pt base) */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --s9: 96px;

  /* Border radius */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   18px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:    0 4px 12px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg:    0 10px 28px rgba(0,0,0,.12), 0 4px 10px rgba(0,0,0,.07);
  --shadow-brand: 0 4px 16px rgba(196,18,48,.40);

  /* Typography */
  --font: 'Raleway', sans-serif;

  /* SCLA Brand Tokens */
  --brand:        #C41230;
  --brand-hover:  #A90E28;
  --brand-active: #8F0C22;
  --brand-ring:   rgba(196,18,48,.18);
  --brand-subtle: rgba(196,18,48,.07);
  --brand-light:  #FCEAED;
  --brand-fg:     #FFFFFF;
  --color-border-tertiary: rgba(10,30,63,.14);
  --color-background-primary: #FFFFFF;
}

/* --- Typography Scale ------------------------------------- */
.text-display-xl {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.030em;
  line-height: 1.1;
}
.text-display-l {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.text-heading {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.text-subheading {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.010em;
  line-height: 1.35;
}
.text-body-l {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
}
.text-body {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
}
.text-caption {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.text-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--brand);
}

/* --- Layout / Grid ---------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}
@media (min-width: 1024px) {
  .container { padding-inline: 48px; }
}

.section {
  padding-block: var(--s8);
}
@media (min-width: 768px) {
  .section { padding-block: var(--s9); }
}

.section--bg-soft    { background: var(--bg-soft); }
.section--paper      { background: var(--paper); }
.section--brand-light { background: var(--brand-light); }
.section--navy       { background: var(--navy); color: var(--white); }
.section--navy-950   { background: var(--navy-950); color: var(--white); }

/* English section background treatment */
.section--english-bg {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section--english-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/images/sections/english-bg.jpg") center right / cover no-repeat;
  opacity: 0.19;
  z-index: 0;
}
.section--english-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(252, 234, 237, 0.97) 0%,
    rgba(252, 234, 237, 0.92) 36%,
    rgba(252, 234, 237, 0.78) 62%,
    rgba(252, 234, 237, 0.60) 100%
  );
  z-index: 1;
}
.section--english-bg > .container {
  position: relative;
  z-index: 2;
}
@media (max-width: 767px) {
  .section--english-bg::before {
    background-position: 68% center;
    opacity: 0.14;
  }
  .section--english-bg::after {
    background: linear-gradient(
      180deg,
      rgba(252, 234, 237, 0.96) 0%,
      rgba(252, 234, 237, 0.90) 44%,
      rgba(252, 234, 237, 0.78) 100%
    );
  }
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font);
  font-weight: 700;
  border-radius: 10px;
  transition: background 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 100ms ease;
  white-space: nowrap;
  max-width: 100%;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[disabled] { opacity: .45; cursor: not-allowed; pointer-events: none; }

.btn--sm { font-size: 12px; padding: 7px 12px; }
.btn--md { font-size: 14.5px; padding: 11px 20px; }
.btn--lg { font-size: 16px; padding: 14px 26px; }

.btn-primary {
  background: var(--brand);
  color: var(--brand-fg);
  border: none;
  border-radius: 10px;
  box-shadow: none;
  transition: background 200ms ease, box-shadow 200ms ease, transform 100ms ease;
}
.btn-primary:hover {
  background: var(--brand-hover);
  box-shadow: 0 4px 16px rgba(196,18,48,.40);
}
.btn-primary:active {
  background: var(--brand-active);
  transform: translateY(1px);
  box-shadow: none;
}
.btn-primary:focus-visible {
  outline: 2px solid var(--brand-ring);
  outline-offset: 2px;
  box-shadow: none;
}

.btn-secondary,
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(0,0,0,.15);
  border-radius: 10px;
  box-shadow: none;
  transition: background 200ms ease, border-color 200ms ease, transform 100ms ease;
}
.btn-secondary:hover,
.btn-outline:hover {
  background: var(--bg-soft);
  border-color: rgba(0,0,0,.25);
  box-shadow: none;
}
.btn-secondary:focus-visible,
.btn-outline:focus-visible {
  outline: 2px solid rgba(10,30,63,.25);
  outline-offset: 2px;
  box-shadow: none;
}
.btn-secondary:active,
.btn-outline:active {
  transform: translateY(1px);
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--navy-100); }

/* --- Forms ------------------------------------------------ */
.form-group { display: flex; flex-direction: column; gap: var(--s2); }

.form-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

.form-input,
.form-select {
  height: 44px;
  padding: 0 var(--s4);
  background: var(--bg-soft);
  border: 1px solid #C8C4BC;
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-size: 15px;
  color: var(--navy);
  transition: border-color 150ms ease, box-shadow 150ms ease;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}
.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10,30,63,.12);
}
.form-input.is-error,
.form-select.is-error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(212,88,73,.18);
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230A1E3F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-error {
  font-size: 13px;
  color: var(--danger);
  display: none;
}
.form-error.is-visible { display: block; }

.radio-group { display: flex; gap: var(--s4); flex-wrap: wrap; }
.radio-option { display: flex; align-items: center; gap: var(--s2); cursor: pointer; font-size: 15px; }
.radio-option input[type="radio"] { accent-color: var(--brand); width: 18px; height: 18px; cursor: pointer; }

.checkbox-label { display: flex; align-items: flex-start; gap: var(--s3); cursor: pointer; font-size: 14px; line-height: 1.5; color: var(--navy-800); }
.checkbox-label input[type="checkbox"] { accent-color: var(--brand); width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; cursor: pointer; }
.checkbox-label a { color: var(--cyan-700); text-decoration: underline; }

.phone-field { display: flex; gap: var(--s2); align-items: stretch; }
.phone-field .iti { width: 100%; }
.phone-number-input { width: 100%; }
.phone-field .iti__tel-input {
  height: 44px;
  background: var(--bg-soft);
  border: 1px solid #C8C4BC;
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  letter-spacing: 0.01em;
  color: var(--navy);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.phone-field .iti__tel-input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10,30,63,.12);
}
.phone-field .iti__selected-country {
  background: transparent;
  border-radius: var(--r-sm) 0 0 var(--r-sm);
}
.phone-field .iti__selected-country-primary {
  height: 44px;
  padding: 0 10px;
  display: flex;
  align-items: center;
}
.phone-field .iti__selected-dial-code {
  font-family: var(--font);
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  letter-spacing: 0.01em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  height: 100%;
  margin-top: 1px;
}
.phone-field .iti__country-list {
  font-family: var(--font);
  color: var(--navy);
  max-height: 280px;
  border: 1px solid #C8C4BC;
  box-shadow: var(--shadow-md);
  border-radius: var(--r-sm);
  margin-top: 6px;
  z-index: 120;
}
.phone-field .iti__search-input {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.3;
  min-height: 40px;
  padding: 10px 12px 10px 40px !important;
  background-position: 12px center !important;
  border-radius: 6px;
  box-sizing: border-box;
}
.phone-field .iti__country {
  padding-block: 10px;
}
.phone-field .iti__country-name,
.phone-field .iti__dial-code {
  font-size: 14px;
}
.phone-field .iti__country-name {
  color: var(--navy);
}
.phone-field .iti__dial-code {
  font-family: var(--font);
  color: var(--navy-600);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}
.phone-field .iti__country[data-country-code="us"] {
  border-bottom: 1px solid var(--navy-100);
  margin-bottom: 6px;
}

/* --- Stat Card -------------------------------------------- */
.stat-card { text-align: center; }
.stat-card__number {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--navy);
}
.stat-card__number-main {
  color: var(--navy);
  font-weight: 800;
}
.stat-card__number-suffix {
  color: var(--brand);
  font-weight: 800;
}
.stat-card__label {
  margin-top: var(--s2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-600);
  line-height: 1.4;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s6);
  margin-block: var(--s7);
}
@media (min-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .stats-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .stats-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* --- Image Placeholder ------------------------------------ */
.img-placeholder {
  background: var(--brand-subtle);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}
.img-placeholder__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--brand);
  opacity: .6;
  text-align: center;
  padding: var(--s4);
}

/* --- Section Header --------------------------------------- */
.section-header { margin-bottom: var(--s7); }
.section-header--center { text-align: center; }
.section-header .text-eyebrow { margin-bottom: var(--s3); display: block; }
.section-header h2 { color: var(--navy); }
.section-header .lead {
  margin-top: var(--s4);
  font-size: 17px;
  line-height: 1.7;
  color: var(--navy-800);
  max-width: 680px;
}
.section-header--center .lead { margin-inline: auto; }

/* --- Testimonial Quote Card ------------------------------- */
.quote-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: var(--s6);
  position: relative;
  overflow: hidden;
}
.quote-card__decoration {
  position: absolute;
  top: var(--s4);
  left: var(--s5);
  font-size: 68px;
  font-weight: 400;
  color: #C8BFA8;
  opacity: .95;
  line-height: 0.72;
  user-select: none;
  pointer-events: none;
  font-family: Georgia, "Times New Roman", serif;
}
.quote-card__text {
  position: relative;
  font-size: 16px;
  line-height: 1.65;
  color: var(--navy-800);
  margin-bottom: var(--s5);
}
.quote-card__text strong {
  display: block;
  font-size: 17px;
  color: var(--brand);
  margin-bottom: var(--s3);
}
.quote-card__author { display: flex; align-items: center; gap: var(--s4); }
.quote-card__avatar-frame {
  width: 48px;
  height: 48px;
  border-radius: var(--r-pill);
  overflow: hidden;
  border: 2px solid var(--brand-light);
  background: var(--brand-subtle);
  flex-shrink: 0;
}
.quote-card__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
  transform: scale(1.24);
  transform-origin: center;
  display: block;
}
.quote-card__avatar--maggie {
  object-position: center 16%;
  transform: scale(1.28);
}
.quote-card__avatar--guilherme {
  object-position: center 18%;
  transform: scale(1.3);
}
.quote-card__avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: var(--r-pill);
  background: var(--brand-subtle);
  flex-shrink: 0;
  border: 2px solid var(--brand-light);
}
.quote-card__meta .name { font-size: 13px; font-weight: 700; color: var(--navy); }
.quote-card__meta .role { font-size: 12px; color: var(--navy-600); letter-spacing: 0.04em; }

/* --- Depoimento Card -------------------------------------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--color-border-tertiary);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.testimonial-card__photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  background: var(--brand-subtle);
  margin-bottom: var(--s4);
}
.testimonial-card__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  object-fit: cover;
  display: block;
  margin-bottom: var(--s4);
  background: var(--brand-subtle);
}
.testimonial-card__photo--maggie { object-position: center 20%; }
.testimonial-card__photo--guilherme { object-position: center 24%; }
.testimonial-card__photo--andrea { object-position: center 22%; }
.testimonial-card__meta {
  margin-bottom: 12px;
}
.testimonial-card__name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
}
.testimonial-card__location {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-600);
}
.testimonial-card__text {
  font-size: 15px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.65;
  color: var(--navy-800);
  white-space: pre-line;
  position: relative;
  padding-left: 0;
  flex: 1;
}
.testimonial-card__text::before {
  content: "“";
  font-size: 52px;
  line-height: 0.72;
  display: block;
  margin-bottom: -2px;
  color: #C8BFA8;
  font-weight: 400;
  font-family: Georgia, "Times New Roman", serif;
  opacity: .95;
}

/* --- Support Card (Seção 5) ------------------------------- */
.support-card {
  background: var(--color-background-primary);
  border: 1px solid var(--color-border-tertiary);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}
.support-card__icon {
  font-size: 24px;
  color: var(--brand);
  margin-bottom: 12px;
  line-height: 1;
  display: inline-block;
}
.support-card__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: var(--s2);
}
.support-card__desc {
  font-size: 15px;
  color: var(--navy-800);
  line-height: 1.65;
}

/* --- University List -------------------------------------- */
.university-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s5);
  justify-items: center;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}
.university-logo-item {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.university-logo {
  width: auto;
  max-width: 100%;
  height: 36px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 200ms ease, opacity 200ms ease;
}
.result-university-list img[src*="harvard"]         { filter: grayscale(100%); opacity: 0.45; }
.result-university-list img[src*="mit"]             { filter: grayscale(100%); opacity: 0.40; }
.result-university-list img[src*="nyu"]             { filter: grayscale(100%); opacity: 0.40; }
.result-university-list img[src*="johns-hopkins"]   { filter: grayscale(100%); opacity: 0.75; }
.result-university-list img[src*="carnegie-mellon"] { filter: grayscale(100%); opacity: 0.40; }
.result-university-list img[src*="notre-dame"]      { filter: grayscale(100%); opacity: 0.70; }
.result-university-list img[src*="boston"]          { filter: grayscale(100%); opacity: 0.30; }
.result-university-list img[src*="penn-state"]      { filter: grayscale(100%); opacity: 0.30; }
.result-university-list img[src*="rutgers"]         { filter: grayscale(100%); opacity: 0.38; }

.result-university-list img[src*="harvard"]:hover,
.result-university-list img[src*="mit"]:hover,
.result-university-list img[src*="nyu"]:hover,
.result-university-list img[src*="johns-hopkins"]:hover,
.result-university-list img[src*="carnegie-mellon"]:hover,
.result-university-list img[src*="notre-dame"]:hover,
.result-university-list img[src*="boston"]:hover,
.result-university-list img[src*="penn-state"]:hover,
.result-university-list img[src*="rutgers"]:hover {
  filter: grayscale(0%);
  opacity: 1;
  transition: filter 200ms ease, opacity 200ms ease;
}
.university-logo-item:focus-within .university-logo {
  filter: grayscale(0%);
  opacity: 1;
}
@media (min-width: 768px) {
  .university-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .university-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* --- Qualification Checklist ------------------------------ */
.check-list { display: flex; flex-direction: column; gap: var(--s4); }
.check-item { display: flex; align-items: flex-start; gap: var(--s4); }
.check-item__icon {
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 20px;
  line-height: 1;
}
.check-item__text { font-size: 16px; color: var(--navy-800); line-height: 1.6; }

/* --- Equivalence Table ------------------------------------ */
.equiv-card {
  background: var(--brand-light);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: 28px 32px;
  margin: 32px 0;
}
.equiv-card__eyebrow {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand);
}
.equiv-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.equiv-card__intro {
  font-size: 14px;
  line-height: 1.55;
  color: var(--navy-600);
  margin-bottom: 20px;
}
.equiv-card .equiv-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0;
}
.equiv-card .equiv-table {
  width: 100%;
  min-width: 640px;
  background: transparent;
}
.equiv-card .equiv-table th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy-600);
  text-align: left;
  padding: 0 12px 8px 0;
  border-bottom: 1px solid rgba(196,18,48,.15);
}
.equiv-card .equiv-table td {
  font-size: 14px;
  line-height: 1.45;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid rgba(196,18,48,.08);
}
.equiv-card .equiv-table th:last-child,
.equiv-card .equiv-table td:last-child {
  padding-right: 0;
}
.equiv-card .equiv-table td:nth-child(1) {
  color: var(--brand);
  font-weight: 600;
}
.equiv-card .equiv-table td:nth-child(2) {
  color: var(--navy);
  font-weight: 500;
}
.equiv-card .equiv-table td:nth-child(3) { color: var(--navy-800); }
.equiv-card .equiv-table td:nth-child(4) { color: var(--navy-600); }
.equiv-card .equiv-table tr:last-child td { border-bottom: none; }

/* --- Offer Section ---------------------------------------- */
.offer-eyebrow {
  display: block;
  margin-bottom: var(--s4);
}
.offer-heading {
  color: var(--white);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: var(--s5);
}
.offer-summary { text-align: left; }
.offer-summary .includes-list {
  margin-top: 0;
}
.offer-price {
  font-size: clamp(44px, 7vw, 64px);
  font-weight: 800;
  letter-spacing: -0.030em;
  line-height: 1;
  color: var(--white);
}
.offer-price__period { font-size: 28px; font-weight: 700; opacity: .7; }
.offer-subtitle { font-size: 17px; color: rgba(255,255,255,.75); margin-top: var(--s2); }
.offer-original { font-size: 20px; font-weight: 700; color: rgba(255,255,255,.45); text-decoration: line-through; margin-top: var(--s3); }

.includes-list { display: flex; flex-direction: column; gap: var(--s4); margin-block: var(--s5); }
.includes-item { display: flex; align-items: flex-start; gap: var(--s3); }
.includes-item__icon { color: var(--brand); font-size: 20px; flex-shrink: 0; line-height: 1.4; }
.includes-item__text { font-size: 16px; color: var(--white); line-height: 1.55; }

.offer-notice {
  font-size: 13px;
  color: rgba(255,255,255,.50);
  text-align: center;
  line-height: 1.6;
  max-width: 600px;
  margin: 24px auto 0 auto;
}
.offer-cta {
  margin-top: 40px;
}

/* --- FAQ Accordion ---------------------------------------- */
.faq-list { border-top: 1px solid var(--navy-100); }
.faq-item { border-bottom: 1px solid var(--navy-100); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s4);
  padding: var(--s5) 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 150ms ease;
}
.faq-question:hover { color: var(--brand); }
.faq-question.is-open { color: var(--brand); }
.faq-icon {
  color: var(--brand);
  flex-shrink: 0;
  font-size: 20px;
  transition: transform 200ms ease;
}
.faq-question.is-open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 200ms ease;
}
.faq-answer__inner {
  padding-bottom: var(--s5);
  font-size: 16px;
  color: var(--navy-800);
  line-height: 1.65;
}

/* --- Form Step Progress ----------------------------------- */
.form-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s3);
  margin-bottom: 12px;
}
.form-progress__label { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy-600); }
.form-progress__dots { display: flex; gap: var(--s3); }
.form-progress__dot {
  width: 10px;
  height: 10px;
  border-radius: var(--r-pill);
  background: var(--navy-200);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 200ms ease;
}
.form-progress__dot.is-active { background: var(--brand); }
.form-progress__dot.is-done { background: var(--brand); opacity: .5; }
.form-progress__dot[disabled] { cursor: default; opacity: .45; }
.form-progress__dot:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(196,18,48,.20);
}

/* --- Form Nav Buttons ------------------------------------- */
.form-nav { display: flex; justify-content: space-between; align-items: center; margin-top: var(--s6); gap: var(--s4); }
.form-nav--single { justify-content: flex-end; }

.form-step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--s2);
  letter-spacing: -0.01em;
}

.form-context {
  font-size: 15px;
  line-height: 1.6;
  color: var(--navy-800);
  margin-bottom: var(--s2);
}

/* --- Topbar ----------------------------------------------- */
.topbar {
  background: var(--brand);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}
.topbar .container { padding-block: 8px; }
@media (max-width: 767px) {
  .topbar { font-size: 12px; }
  .topbar .container { padding-block: 7px; }
}

/* --- Navbar ----------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: box-shadow 200ms ease, border-color 200ms ease;
  height: auto;
  padding-block: 10px;
}
@media (min-width: 768px) { .navbar { padding-block: 14px; } }
.navbar.scrolled {
  box-shadow: none;
  border-color: transparent;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.navbar__logo { height: 60px; width: auto; object-fit: contain; }
@media (max-width: 767px) {
  .navbar .container { gap: var(--s3); }
  .navbar__logo { height: 52px; }
  .navbar .btn { font-size: 14px; padding: 10px 14px; }
  #navbar-cta { display: none; }
}
@media (max-width: 420px) {
  .navbar__logo { height: 44px; }
  .navbar .btn { font-size: 13px; padding: 9px 11px; }
}

/* --- Footer ----------------------------------------------- */
.footer {
  background: var(--navy-950);
  padding-block: var(--s6);
  min-height: 80px;
  display: flex;
  align-items: center;
}
.footer .container {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .footer .container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer__logo { height: 28px; width: auto; opacity: .5; }
.footer__meta { display: flex; flex-direction: column; gap: 4px; }
.footer__copy { font-size: 13px; color: rgba(255,255,255,.55); }
.footer__legal { font-size: 12px; color: rgba(255,255,255,.45); }
.footer__links { display: flex; gap: var(--s5); align-items: center; flex-wrap: wrap; justify-content: center; }
.footer__link {
  font-size: 13px;
  color: rgba(255,255,255,.40);
  transition: color 150ms ease;
}
.footer__link:hover { color: rgba(255,255,255,.70); }

/* --- Utilities -------------------------------------------- */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.text-brand { color: var(--brand); }
.text-navy  { color: var(--navy); }
.text-white { color: var(--white); }
.mt-s4 { margin-top: var(--s4); }
.mt-s5 { margin-top: var(--s5); }
.mt-s6 { margin-top: var(--s6); }
.mt-s7 { margin-top: var(--s7); }

/* -- LP-specific overrides --------------------------------- */

/* Hero */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.86);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 80vh;
  padding-top: 28px;
  padding-bottom: 40px;
  width: 100%;
}
@media (min-width: 768px) {
  .hero__content {
    padding-top: 40px;
    padding-bottom: 56px;
  }
}
.hero__text { max-width: 620px; }
.hero__eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--brand); margin-bottom: var(--s3); }
.hero__headline { display: block; font-size: clamp(30px, 8.4vw, 42px); font-weight: 800; letter-spacing: -.030em; line-height: 1.1; color: var(--navy); max-width: 600px;}
.hero__headline2 { display: block; font-size: 22px; font-weight: 500; letter-spacing: -.010em; line-height: 1.3; color: var(--navy-700); margin-top: var(--s4); max-width: 510px; }
.hero__sub { margin-top: var(--s5); font-size: 16px; line-height: 1.7; color: var(--navy-600); max-width: 510px; }
.hero__cta { margin-top: var(--s6); }
@media (min-width: 768px) {
  .hero__headline { font-size: 38px; }
}
@media (max-width: 767px) {
  .hero__headline2 { font-size: 20px; }
}

/* Qualification */
.qual-grid { max-width: 720px; margin: 0 auto; }
.qual-grid h2 { margin-bottom: var(--s6); }
@media (min-width: 768px) {
  .qual-grid .check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 16px;
    column-gap: 24px;
  }
}

/* Result */
.result-paragraphs { max-width: 700px; margin-inline: auto; text-align: center; }
.result-paragraphs p { font-size: 16px; line-height: 1.7; color: var(--navy-800); margin-bottom: var(--s4); }
.result-paragraphs { margin-bottom: var(--s8); }
.result-stats-panel {
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  padding-block: var(--s7);
  margin-bottom: var(--s7);
}
.result-stats-grid {
  margin-top: 0;
  margin-bottom: 0;
}
.result-stats-grid .stat-card__number {
  font-size: 44px;
  font-weight: 800;
  color: var(--brand);
}
.result-stats-grid .stat-card__number-main,
.result-stats-grid .stat-card__number-suffix {
  color: var(--brand);
  font-weight: 800;
}
.result-university-list { gap: var(--s5); }
.univ-caption {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--navy-600);
  text-align: center;
  margin-bottom: var(--s5);
}
.result-section .section-cta {
  margin-top: var(--s7);
  display: flex;
  justify-content: center;
}

/* School */
.school-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s5);
  align-items: stretch;
}
.school-content { order: 2; }
.school-media {
  order: 1;
  width: 100%;
  height: 260px;
  min-height: 260px;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.school-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-lg);
  display: block;
}
.school-header { margin-bottom: var(--s5); }
.school-header .text-eyebrow { color: var(--brand); }
.school-paragraphs p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--navy-800);
  margin-bottom: var(--s4);
}
.school-cta {
  margin-top: var(--s5);
}

@media (min-width: 768px) {
  .school-layout {
    grid-template-columns: 55% 45%;
    gap: var(--s6);
  }
  .school-content {
    order: 1;
  }
  .school-media {
    order: 2;
    min-height: 400px;
    height: 100%;
  }
}

.school-metrics {
  margin-top: var(--s7);
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  padding-block: 48px;
  padding-inline: var(--s5);
}
.school-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s6) var(--s5);
}
.school-metric-item {
  text-align: center;
}
.school-metrics .stat-card__number {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--brand);
}
.school-metrics .stat-card__label {
  margin-top: var(--s2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-600);
  line-height: 1.4;
}

@media (min-width: 1024px) {
  .school-metrics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--s5);
  }
  .school-metric-item {
    padding-inline: var(--s4);
  }
}

/* Support */
.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-block: var(--s6);
}
@media (min-width: 768px) { .support-grid { grid-template-columns: repeat(2, 1fr); } }
.support-intro p { font-size: 16px; line-height: 1.7; color: var(--navy-800); margin-bottom: var(--s4); }
.support__photo { margin-block: var(--s6); }
.support__photo .img-placeholder { aspect-ratio: 16/9; }
.parent-comm { font-size: 16px; color: var(--navy-800); font-weight: 500; margin-bottom: var(--s6); border-left: 3px solid var(--brand); padding-left: var(--s4); }

/* Location */
.location-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s6);
  align-items: start;
}
@media (min-width: 1024px) {
  .location-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: var(--s7);
  }
}
.location-content { min-width: 0; }
.location-media {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 1024px) {
  .location-media {
    position: sticky;
    top: 96px;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .location-media {
    position: static;
    top: auto;
  }
}
.location-media__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--navy-600);
  margin: 0;
}
.location-maps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .location-maps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.location-state-wrap {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
  background: var(--bg-soft);
  position: relative;
}
.location-state-svg {
  width: 100%;
  height: 100%;
  min-height: 220px;
  padding: 30px;
  box-sizing: border-box;
  display: block;
  margin-inline: auto;
  overflow: visible;
}
.location-state-pin-label {
  position: absolute;
  left: 55%;
  top: 64%;
  transform: translate(10px, -50%);
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--navy);
  white-space: nowrap;
  max-width: 42%;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
.location-state-svg__shape {
  fill: #E8EDF5;
  stroke: #B8C9E2;
  stroke-width: 1px;
}
.location-state-svg__abbr {
  font-family: var(--font);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.08em;
  fill: #8FA7C9;
  opacity: 0.16;
  pointer-events: none;
  user-select: none;
}
.location-state-svg__marker-dot {
  fill: #C41230;
}
.location-map-wrap {
  width: 100%;
  height: 220px;
  min-height: 220px;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(10,30,63,.10);
}
.location-map {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  height: 220px;
}

.location-map-marker {
  background: transparent;
  border: none;
}
.location-map-pin {
  position: relative;
  width: 10px;
  height: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.location-map-pin__dot {
  width: 10px;
  height: 10px;
  background: #C41230;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.location-map-popup .leaflet-popup-content-wrapper {
  border-radius: 8px;
  border: none;
  box-shadow: 0 8px 24px rgba(10,30,63,.18);
  animation: locationPopupIn 180ms ease-out;
}
.location-map-popup .leaflet-popup-content {
  margin: 10px 12px;
  font-family: var(--font);
}
.location-map-popup .leaflet-popup-tip-container {
  display: none;
}
.location-map-popup__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}
.location-map-popup__subtitle {
  font-size: 12px;
  font-weight: 400;
  color: var(--navy-600);
  line-height: 1.35;
  margin-top: 2px;
}
.location-map-popup__meta {
  font-size: 11px;
  font-weight: 400;
  color: var(--navy-400);
  line-height: 1.35;
  margin-top: 2px;
}

@keyframes locationPopupIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.location-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 0;
}
.location-photo-card__img,
.location-photo-card__placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  object-fit: cover;
  display: block;
}
.location-photo-card__placeholder {
  background: var(--brand-subtle);
  border: 1px solid rgba(10,30,63,.10);
}
.location-photo-card__caption {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--navy-600);
}
@media (max-width: 767px) {
  .location-maps-grid {
    grid-template-columns: 1fr;
  }
  .location-state-wrap,
  .location-state-svg {
    height: 220px;
  }
  .location-state-svg__abbr {
    font-size: 28px;
  }
  .location-photo-grid {
    grid-template-columns: 1fr;
  }
  .location-state-pin-label {
    left: 56%;
    max-width: 44%;
    letter-spacing: 0.12em;
  }
}
.location-paragraphs p { font-size: 16px; line-height: 1.7; color: var(--navy-800); margin-bottom: var(--s4); }
.location-sub-title { font-size: 20px; font-weight: 600; color: var(--navy); margin-block: var(--s6) var(--s4); }
.offcampus-intro { font-size: 16px; line-height: 1.7; color: var(--navy-800); margin-bottom: var(--s4); }
.offcampus-topics { display: flex; flex-direction: column; gap: var(--s4); margin-bottom: var(--s6); }
.offcampus-topics p { font-size: 15px; line-height: 1.65; color: var(--navy-800); }
.offcampus-topics p strong {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.offcampus-topics p strong i {
  font-size: 18px;
  color: var(--brand);
  margin-right: 8px;
  vertical-align: middle;
  line-height: 1;
}
.seasons-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: var(--s4); }
.seasons-intro { font-size: 16px; line-height: 1.7; color: var(--navy-800); margin-bottom: var(--s4); }
.seasons-topics { display: flex; flex-direction: column; gap: var(--s4); }
.seasons-topics p { font-size: 15px; line-height: 1.65; color: var(--navy-800); }
.seasons-topics p strong {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.seasons-topics p strong i {
  font-size: 18px;
  color: var(--brand);
  margin-right: 8px;
  vertical-align: middle;
  line-height: 1;
}

/* Programs */
.programs-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s6);
  align-items: start;
}
.programs-content { min-width: 0; }
.programs-media {
  min-width: 0;
}
.programs-photo {
  aspect-ratio: 3 / 4;
  min-height: 400px;
  background: var(--brand-subtle);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.programs-photo__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 46%;
}
.programs-paragraphs p { font-size: 16px; line-height: 1.7; color: var(--navy-800); margin-bottom: var(--s4); }
.programs-adaptation {
  margin-top: var(--s5);
}
.programs-adaptation__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.programs-adaptation__text {
  font-size: 13px;
  line-height: 1.65;
  color: var(--navy-800);
}
@media (min-width: 1024px) {
  .programs-layout {
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    gap: var(--s7);
  }
}

/* Campus Life (S7A) */
.campuslife-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s6);
  align-items: start;
}
.campuslife-paragraphs {
  min-width: 0;
}
.campuslife-paragraphs p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--navy-800);
  margin-bottom: var(--s4);
}
.campuslife-media {
  min-width: 0;
  order: -1;
}
.campuslife-photo {
  aspect-ratio: 4 / 3;
  background: var(--brand-subtle);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.campuslife-photo__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 42%;
}
.campuslife-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
  margin-top: var(--s6);
}
@media (min-width: 1024px) {
  .campuslife-layout {
    grid-template-columns: minmax(0, 58%) minmax(0, 42%);
    gap: var(--s7);
  }
  .campuslife-media {
    order: 0;
  }
}
@media (min-width: 768px) {
  .campuslife-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s5);
  }
}
@media (min-width: 1200px) {
  .campuslife-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.campuslife-card {
  background: var(--color-background-primary);
  border: 0.5px solid var(--color-border-tertiary);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.campuslife-card__icon {
  font-size: 28px;
  color: var(--brand);
  line-height: 1;
}
.campuslife-card__title {
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--navy);
  min-height: 52px;
}
.campuslife-card__text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--navy-800);
}

/* English (7B) */
.english-paragraphs p { font-size: 16px; line-height: 1.7; color: var(--navy-800); margin-bottom: var(--s4); }

/* Offer */
.offer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s7);
}
@media (min-width: 768px) { .offer-inner { grid-template-columns: 1fr 1fr; align-items: start; } }
.offer-text p { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.80); margin-bottom: var(--s4); }
.offer-price-block { text-align: center; }
@media (min-width: 768px) { .offer-price-block { text-align: left; } }
@media (min-width: 768px) {
  .section--opportunity {
    padding-top: 80px;
  }
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 1fr;
  gap: var(--s5);
  margin-top: var(--s7);
  align-items: stretch;
}
.testimonials-grid > .testimonial-card {
  height: 100%;
}
@media (min-width: 768px) and (max-width: 1099px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

/* CSE */
.cse-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s6);
  align-items: center;
}
.cse-content {
  min-width: 0;
}
.cse-paragraphs {
  max-width: 700px;
}
.cse-paragraphs p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--navy-800);
  margin-bottom: var(--s4);
}
.cse-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.cse-logo {
  width: clamp(56px, 8vw, 96px);
  height: auto;
  display: block;
}
@media (min-width: 1024px) {
  .cse-layout {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
    gap: var(--s7);
    align-items: stretch;
  }
}

/* Section rhythm (CSE / Form / FAQ) */
.section--cse {
  padding-bottom: var(--s8);
  border-bottom: 1px solid var(--color-border-tertiary);
}
.section--cse .stats-grid {
  margin-top: var(--s7);
  margin-bottom: var(--s7);
}
.section--form {
  padding-top: var(--s8);
  padding-bottom: var(--s8);
}
.section--faq {
  padding-top: var(--s8);
}
@media (min-width: 768px) {
  .section--cse {
    padding-bottom: var(--s9);
  }
  .section--form {
    padding-top: var(--s9);
    padding-bottom: var(--s9);
  }
  .section--faq {
    padding-top: var(--s9);
  }
}

/* Form */
.form-wrap {
  max-width: 760px;
  margin-inline: auto;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px 20px;
}
@media (min-width: 768px) {
  .form-wrap {
    padding: 40px 48px;
  }
}
.form-fields { display: flex; flex-direction: column; gap: var(--s5); }
@media (max-width: 420px) {
  .form-nav {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: var(--s3);
  }
  .form-nav--single {
    justify-content: stretch;
  }
  .form-nav .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile consistency & overflow guard */
@media (max-width: 767px) {
  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }
  .section-cta .btn,
  .hero__cta .btn,
  .offer-cta .btn {
    max-width: min(100%, 340px);
  }

  .result-paragraphs p,
  .school-paragraphs p,
  .support-intro p,
  .location-paragraphs p,
  .offcampus-intro,
  .seasons-intro,
  .programs-paragraphs p,
  .campuslife-paragraphs p,
  .english-paragraphs p,
  .offer-text p,
  .cse-paragraphs p {
    font-size: 15px;
    line-height: 1.65;
  }

  .offcampus-topics p,
  .seasons-topics p,
  .support-card__desc,
  .campuslife-card__text,
  .quote-card__text,
  .testimonial-card__text {
    font-size: 15px;
    line-height: 1.65;
  }

  .location-sub-title,
  .seasons-title {
    font-size: 18px;
  }
}

.form-step-info {
  background: var(--bg-soft);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--navy-600);
}

.equiv-card {
  max-width: 960px;
  margin: 32px auto;
}
.equiv-card .equiv-table-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.equiv-card .equiv-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}
.equiv-card .equiv-table th {
  padding: 0 8px 8px 0;
}
.equiv-card .equiv-table td {
  padding: 9px 8px 9px 0;
}
.equiv-card .equiv-table th:nth-child(1),
.equiv-card .equiv-table td:nth-child(1) {
  width: 17%;
}
.equiv-card .equiv-table th:nth-child(2),
.equiv-card .equiv-table td:nth-child(2) {
  width: 18%;
}
.equiv-card .equiv-table th:nth-child(3),
.equiv-card .equiv-table td:nth-child(3) {
  width: 39%;
}
.equiv-card .equiv-table th:nth-child(4),
.equiv-card .equiv-table td:nth-child(4) {
  width: 26%;
}
@media (max-width: 767px) {
  .equiv-card {
    padding: 24px 20px;
    max-width: 100%;
  }
  .equiv-card .equiv-table {
    min-width: 620px;
    table-layout: auto;
  }
}

/* FAQ */
.faq-cta { margin-top: var(--s6); text-align: center; }

/* Section CTA */
.section-cta { margin-top: var(--s6); }

/* ============================================================
   Responsividade e Ritmo Visual — Ajustes Finais
   ============================================================ */

/* Rhythm base: heading -> first content */
section[aria-labelledby="result-heading"] .section-header,
section[aria-labelledby="support-heading"] .section-header,
section[aria-labelledby="location-heading"] .section-header,
section[aria-labelledby="programs-heading"] .section-header,
section[aria-labelledby="campus-life-heading"] .section-header,
section[aria-labelledby="english-heading"] .section-header,
section[aria-labelledby="testimonials-heading"] .section-header,
section[aria-labelledby="cse-heading"] .section-header,
section#section-form .section-header,
section[aria-labelledby="faq-heading"] .section-header {
  margin-bottom: 24px;
}

/* S3 */
.result-paragraphs {
  margin-bottom: 24px;
}

/* S8 */
.offer-heading {
  margin-bottom: 24px;
}

/* S10 logo behavior */
.cse-logo-wrap--mobile {
  display: none;
}

/* S10 stats scale parity */
.section--cse .stat-card__number {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
}
.section--cse .stat-card__label {
  margin-top: var(--s2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* S9 quote style parity */
.testimonial-card__text::before {
  font-size: 64px;
  line-height: 0.72;
  margin-bottom: -10px;
  color: #C8BFA8;
  font-weight: 400;
}

/* Form rhythm */
.section--form .form-fields {
  gap: 20px;
}
.section--form .form-step-title {
  margin-bottom: 0;
}

/* Footer desktop */
@media (min-width: 768px) {
  .footer__logo {
    height: 55px;
    width: auto;
  }
  .footer .container {
    justify-content: flex-start;
    gap: var(--s5);
  }
  .footer__meta {
    margin-right: auto;
  }
  .footer__copy,
  .footer__legal {
    text-align: left;
  }
  .footer__links {
    margin-left: 0;
    justify-content: flex-start;
  }
}

/* Mobile & tablet tuning */
@media (max-width: 1023px) {
  /* S7 table */
  .equiv-card {
    margin: 24px auto;
    padding: 20px;
  }
  .equiv-card .equiv-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: #B8C2D3 #E7EDF6;
  }
  .equiv-card .equiv-table-wrap::-webkit-scrollbar {
    height: 8px;
  }
  .equiv-card .equiv-table-wrap::-webkit-scrollbar-track {
    background: #E7EDF6;
    border-radius: 999px;
  }
  .equiv-card .equiv-table-wrap::-webkit-scrollbar-thumb {
    background: #B8C2D3;
    border-radius: 999px;
  }
  .equiv-card .equiv-table {
    min-width: 560px;
    table-layout: auto;
  }
  .equiv-card .equiv-table th {
    font-size: 10px;
    letter-spacing: 0.12em;
    padding: 0 6px 8px 0;
  }
  .equiv-card .equiv-table td {
    font-size: 12px;
    padding: 8px 6px 8px 0;
    line-height: 1.45;
  }
}

@media (max-width: 767px) {
  .footer__logo {
    height: 55px;
    width: auto;
  }

  /* S2 */
  .qual-grid .check-item__text {
    font-size: 15px;
    line-height: 1.6;
  }

  /* CTA font sizing (sections requested) */
  section[aria-labelledby="result-heading"] .btn--lg,
  section[aria-labelledby="school-heading"] .btn--lg,
  section[aria-labelledby="programs-heading"] .btn--lg,
  section[aria-labelledby="english-heading"] .btn--lg,
  section[aria-labelledby="offer-heading"] .btn--lg,
  section[aria-labelledby="testimonials-heading"] .btn--lg,
  section[aria-labelledby="faq-heading"] .btn--lg,
  section#section-form .form-nav .btn-primary.btn--lg {
    font-size: 15px;
  }

  /* S4 */
  section[aria-labelledby="school-heading"] {
    padding-top: 48px;
    padding-bottom: 56px;
  }
  .school-cta {
    display: flex;
    justify-content: center;
  }
  .school-metrics {
    margin-top: 24px;
    padding-block: 32px;
  }
  .school-metrics-grid {
    grid-template-columns: 1fr;
    gap: var(--s5);
  }

  /* S5 */
  .support-card__title {
    font-size: 18px;
  }

  /* S5 */
  section[aria-labelledby="support-heading"] {
    padding-top: 48px;
  }

  /* S7 mobile flow */
  .programs-layout {
    gap: 24px;
    overflow-x: hidden;
  }
  .programs-layout .programs-content {
    order: 1;
  }
  .programs-layout .programs-media {
    order: 2;
    width: 100%;
    max-width: 100%;
  }
  .programs-photo {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }
  .programs-photo__img {
    width: 100%;
    max-width: 100%;
  }
  .programs-adaptation__title,
  .programs-adaptation__text {
    font-size: 15px;
    line-height: 1.65;
  }

  /* S7A */
  .campuslife-grid {
    margin-top: 24px;
    gap: 20px;
  }
  .campuslife-card {
    min-height: auto;
    gap: 0;
    padding: 24px;
  }
  .campuslife-card__icon {
    font-size: 24px;
    margin-bottom: 12px;
  }
  .campuslife-card__title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 8px;
    min-height: 0;
  }
  .campuslife-card__text {
    font-size: 15px;
    line-height: 1.65;
  }

  /* S8 */
  .offer-inner {
    gap: 24px;
  }
  .includes-list {
    margin-block: 24px;
    gap: 16px;
  }
  .includes-item__text {
    font-size: 15px;
    line-height: 1.6;
  }
  .offer-cta {
    margin-top: 24px;
  }

  /* S9 */
  section[aria-labelledby="testimonials-heading"] .testimonials-grid {
    margin-top: 0;
  }

  /* S10 */
  .cse-logo-wrap--mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
  }
  .cse-layout > .cse-logo-wrap:not(.cse-logo-wrap--mobile) {
    display: none;
  }
  .section--cse {
    padding-bottom: 48px;
  }
  .section--cse .stats-grid {
    margin-bottom: 24px;
  }

  /* S11 */
  section#section-form .section-header .lead {
    margin-top: 12px;
  }

  /* S12 */
  .section--faq {
    padding-top: 48px;
  }
  .section--faq .faq-question {
    font-size: 16px;
  }
  .section--faq .faq-answer__inner {
    font-size: 15px;
  }
}

