/* =========================================================
   COLÉGIO G10 - Design System
   Tipografia: Bricolage Grotesque (display) + Plus Jakarta Sans (corpo)
   Paleta: Azul-marinho institucional + Verde-limão de assinatura
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* --- Brand color tokens --- */
  --navy-950: #050f22;
  --navy-900: #071c3d;
  --navy-800: #0b2a52;
  --navy-700: #103d6e;
  --navy-600: #17518e;
  --blue-500: #1e6bb8;
  --blue-400: #3d8ad4;
  --sky-200: #cfe4f7;
  --sky-100: #eaf3fc;

  --lime-600: #6ea82b;
  --lime-500: #8dc63f;
  --lime-400: #a6d95c;
  --lime-300: #c4e86b;
  --lime-glow: #b6ff3c;

  --ink: #0b1526;
  --slate: #4a5872;
  --slate-soft: #6c7891;
  --paper: #f7faff;
  --paper-dim: #eef3fb;
  --white: #ffffff;

  /* --- Semantic tokens --- */
  --bg-dark: var(--navy-900);
  --bg-light: var(--paper);
  --accent: var(--lime-500);
  --accent-strong: var(--lime-glow);
  --brand: var(--blue-500);

  --font-display: 'Bricolage Grotesque', 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-soft: 0 20px 60px -20px rgba(5, 15, 34, 0.35);
  --shadow-lift: 0 30px 80px -24px rgba(5, 15, 34, 0.55);

  --container: 1180px;
  --container-lg: 1360px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-light);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  margin: 0 0 0.4em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--slate); }

.container {
  width: 100%;
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}
@media (max-width: 640px) { .container { padding: 0 22px; } }

section { position: relative; }

/* ---------- Utility type scale ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime-500);
}
.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime-500);
  box-shadow: 0 0 0 4px rgba(141, 198, 63, 0.25);
}
section.on-dark .eyebrow { color: var(--lime-glow); }

.section-head {
  max-width: 100%;
  margin-bottom: 48px;
}
.section-head.has-director {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}
.section-head h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  color: var(--navy-900);
}
section.on-dark .section-head h2 { color: var(--white); }
.section-head p { font-size: 1.08rem; }

.section-head-copy {
  max-width: 840px;
}

.director-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
@media (max-width: 980px) {
  .section-head.has-director {
    grid-template-columns: 1fr;
  }
  .director-block {
    flex-direction: row;
    align-items: center;
  }
}
@media (max-width: 760px) {
  .director-block {
    flex-direction: column;
    align-items: flex-start;
  }
}
.director-photo {
  width: min(320px, 100%);
  min-width: 180px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
}
.director-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.director-copy h3 {
  margin: 6px 0 0;
  font-size: 1.15rem;
  color: var(--navy-900);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.98rem;
  font-family: var(--font-body);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease, background 0.3s ease, border-color .3s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(120deg, var(--lime-400), var(--lime-500) 60%, var(--lime-600));
  color: var(--navy-950);
  box-shadow: 0 14px 34px -10px rgba(141, 198, 63, 0.55);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -12px rgba(141, 198, 63, 0.65); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover { border-color: var(--lime-glow); color: var(--lime-glow); transform: translateY(-3px); }

.btn-dark {
  background: var(--navy-900);
  color: var(--white);
}
.btn-dark:hover { background: var(--navy-800); transform: translateY(-3px); }

.btn-outline-dark {
  background: transparent;
  border-color: rgba(11, 21, 38, 0.2);
  color: var(--navy-900);
}
.btn-outline-dark:hover { border-color: var(--navy-900); transform: translateY(-3px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow .4s ease;
}
.site-header.is-scrolled {
  background: rgba(7, 28, 61, 0.86);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 12px 30px -18px rgba(0,0,0,0.5);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
}
.brand-mark {
  width: 58px; height: 58px;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
  transition: color .3s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--lime-glow); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--lime-glow);
  transition: width .3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: var(--white);
  align-items: center; justify-content: center;
  cursor: pointer;
}

@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-ghost { display: none; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--navy-950);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  font-weight: 700;
}
.mobile-menu a:hover { color: var(--lime-glow); }
.mobile-close {
  position: absolute;
  top: 24px; right: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ---------- Hero (dark, atmospheric) ---------- */
.hero {
  position: relative;
  padding: 130px 0 90px;
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(30, 107, 184, 0.55), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 10%, rgba(141, 198, 63, 0.28), transparent 55%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black, transparent 75%);
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  animation: drift 16s ease-in-out infinite alternate;
}
.hero-blob.b1 { width: 420px; height: 420px; top: -120px; right: 8%; background: radial-gradient(circle, var(--lime-500), transparent 70%); }
.hero-blob.b2 { width: 340px; height: 340px; bottom: -100px; left: 4%; background: radial-gradient(circle, var(--blue-400), transparent 70%); animation-delay: -6s; }
@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to { transform: translate(30px,-24px) scale(1.08); }
}

.hero-video {
  min-height: 640px;
  display: flex;
  align-items: center;
}
.hero-video::before { display: none; }
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(30,107,184,0.55), rgba(11,42,82,0.72) 55%, rgba(4,12,28,0.82)),
    linear-gradient(0deg, rgba(4,12,28,0.55), transparent 40%);
  z-index: 1;
}
.hero-video .container { position: relative; z-index: 2; }
@media (max-width: 760px) {
  .hero-video { min-height: 520px; }
}

.hero-content { position: relative; z-index: 2; max-width: 920px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sky-200);
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--lime-500);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-950);
  font-size: 0.7rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  font-weight: 700;
  color: var(--white);
}
.hero h1 .accent {
  background: linear-gradient(100deg, var(--lime-300), var(--lime-glow) 50%, var(--lime-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede {
  font-size: 1.18rem;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 22px; }

/* Sub-page hero (shorter) */
.hero.hero-sub { padding: 160px 0 100px; }
.hero.hero-sub .hero-lede { max-width: 640px; }
.hero.hero-sub .hero-content {
  text-align: center;
  margin: 0 auto;
}
.hero.hero-sub .hero-badge,
.hero.hero-sub .hero-lede {
  margin-left: auto;
  margin-right: auto;
}
.hero-sub-photo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  z-index: 0;
}
.hero-sub-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(30,107,184,0.55), rgba(11,42,82,0.75) 55%, rgba(4,12,28,0.85));
  z-index: 1;
}
.hero-sub-photo .hero-content { position: relative; z-index: 2; }

/* ---------- Legal content ---------- */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content .updated-at {
  display: inline-block;
  font-size: 0.86rem;
  color: var(--blue-500);
  background: var(--paper-dim);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 40px;
}
.legal-content h2 {
  color: var(--navy-900);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  margin: 48px 0 14px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 {
  color: var(--navy-900);
  font-size: 1.05rem;
  margin: 24px 0 10px;
}
.legal-content p, .legal-content li { color: var(--navy-700); font-size: 1rem; line-height: 1.7; }
.legal-content p { margin: 0 0 16px; }
.legal-content ul { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 8px; }
.legal-content strong { color: var(--navy-900); }
.legal-content a { color: var(--blue-500); text-decoration: underline; }
.legal-content .legal-highlight {
  background: var(--paper-dim);
  border-left: 3px solid var(--lime-glow);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 0 0 16px;
}
.legal-content .legal-highlight p:last-child { margin-bottom: 0; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section.tight { padding: 90px 0; }
.section.on-dark {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: var(--white);
}
.section.on-dark p { color: rgba(255,255,255,0.72); }
.section.sky { background: linear-gradient(180deg, var(--sky-100), var(--paper)); }

/* ---------- Pillars ---------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 860px) { .pillars-grid { grid-template-columns: 1fr; } }

.pillar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11,42,82,0.06);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease;
}
.pillar-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.pillar-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--lime-600);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  display: block;
}
.pillar-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  display: flex; align-items: center; justify-content: center;
  color: var(--lime-glow);
  margin-bottom: 22px;
}
.pillar-card h3 { font-size: 1.4rem; color: var(--navy-900); }

/* ---------- Feature / program cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 980px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards-grid { grid-template-columns: 1fr; } }

.cards-grid.centered-last {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.cards-grid.centered-last > .feature-card {
  flex: 0 1 calc((100% - 52px) / 3);
  min-width: 280px;
}
@media (max-width: 980px) {
  .cards-grid.centered-last > .feature-card { flex-basis: calc((100% - 26px) / 2); }
}
@media (max-width: 640px) {
  .cards-grid.centered-last > .feature-card { flex-basis: 100%; }
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid rgba(11,42,82,0.08);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-soft);
}
.partner-logo {
  display: block;
  max-height: 42px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-bottom: 16px;
}
.feature-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-500);
  background: rgba(30,107,184,0.1);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.2rem; color: var(--navy-900); margin-bottom: 10px; }
.feature-card p { font-size: 0.96rem; margin-bottom: 0; }
.feature-card.has-media { padding: 0; overflow: hidden; }
.feature-media { aspect-ratio: 1 / 1; overflow: hidden; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; }
.feature-card.has-media .feature-body { padding: 24px 28px 32px; }

/* ---------- Numbered program rows (Diferenciais) ---------- */
.program-row {
  display: grid;
  grid-template-columns: 90px 1fr 380px;
  gap: 36px;
  padding: 42px 0;
  border-bottom: 1px solid rgba(11,42,82,0.08);
  align-items: center;
}
.program-row:first-of-type { padding-top: 0; }
.program-num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--sky-200);
  line-height: 1;
}
.program-body h3 { font-size: 1.5rem; color: var(--navy-900); margin-bottom: 10px; }
.program-body p { font-size: 1.02rem; max-width: 700px; }
.program-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.chip {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--paper-dim);
  color: var(--navy-700);
}
.program-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-soft);
}
.program-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.program-photo.photo-roll { position: relative; }
.photo-roll-track {
  display: flex;
  width: 400%;
  height: 100%;
  animation: photo-roll-scroll 16s infinite;
}
.photo-roll-track img { width: 25%; flex: 0 0 25%; height: 100%; object-fit: cover; object-position: center; display: block; }
@keyframes photo-roll-scroll {
  0%, 20% { transform: translateX(0); }
  25%, 45% { transform: translateX(-25%); }
  50%, 70% { transform: translateX(-50%); }
  75%, 95% { transform: translateX(-75%); }
  100% { transform: translateX(0); }
}
.highlight-banner {
  background: linear-gradient(135deg, var(--navy-800), var(--blue-500));
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  margin: 56px 0;
  color: var(--white);
}
.highlight-banner h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.highlight-banner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 720px;
  margin: 0;
}
@media (max-width: 900px) {
  .program-row { grid-template-columns: 80px 1fr; }
  .program-photo { grid-column: 1 / -1; aspect-ratio: 16 / 9; order: 3; }
}
@media (max-width: 640px) {
  .program-row { grid-template-columns: 1fr; gap: 16px; }
  .program-num { font-size: 2rem; }
}

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: 44px 20px;
  color: var(--white);
  text-align: center;
}
@media (max-width: 760px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }
.stat-strip .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--lime-glow);
}
.stat-strip .lbl { font-size: 0.85rem; color: rgba(255,255,255,0.68); }
.stat-strip.stat-strip-light {
  background: linear-gradient(180deg, var(--blue-500), var(--blue-400));
  border: 1px solid rgba(255,255,255,0.15);
}
.stat-strip.stat-strip-light .num { color: var(--white); }
.stat-strip.stat-strip-light .num span { color: var(--lime-500); }
.stat-strip.stat-strip-light .lbl { color: rgba(255,255,255,0.85); }

/* ---------- Quote / trust block ---------- */
.quote-block {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.quote-block .mark { font-family: var(--font-display); font-size: 3.6rem; color: var(--lime-500); line-height: 0.5; }
.quote-block blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--white);
  margin: 20px 0 26px;
  line-height: 1.3;
}
.quote-block cite { font-style: normal; color: var(--lime-glow); font-weight: 700; font-size: 0.95rem; }

/* ---------- Partner strip ---------- */
.partners-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.partner-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid rgba(11,42,82,0.1);
  font-weight: 700;
  color: var(--navy-800);
  font-size: 0.95rem;
}
.partner-pill img {
  display: block;
  max-height: 34px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.partner-pill:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ---------- Timeline (future roadmap) ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--lime-500), rgba(141,198,63,0.15));
}
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--lime-500);
  box-shadow: 0 0 0 5px rgba(141,198,63,0.18);
}
.timeline-item h4 { font-size: 1.15rem; color: var(--navy-900); margin-bottom: 6px; }
section.on-dark .timeline-item h4 { color: var(--white); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800) 60%, var(--navy-700));
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  right: -80px; top: -100px;
  background: radial-gradient(circle, rgba(141,198,63,0.35), transparent 70%);
  border-radius: 50%;
}
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 480px; position: relative; z-index: 1; }
.cta-band .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Contact / footer ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}
.info-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(11,42,82,0.08); }
.info-row:last-child { border-bottom: none; }
.info-row .ic {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: var(--paper-dim); color: var(--navy-700);
  display: flex; align-items: center; justify-content: center;
}
.info-row h4 { margin: 0 0 4px; font-size: 0.95rem; color: var(--navy-900); font-family: var(--font-body); font-weight: 700; }
.info-row p { margin: 0; font-size: 0.94rem; }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 340px;
}
.map-embed iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* Form */
.g10-form { display: grid; gap: 16px; }
.g10-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .g10-form .row2 { grid-template-columns: 1fr; } }
.g10-form label { font-size: 0.82rem; font-weight: 700; color: var(--navy-800); margin-bottom: 6px; display: block; }
.g10-form input, .g10-form select, .g10-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(11,42,82,0.14);
  font-family: var(--font-body);
  font-size: 0.96rem;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .3s ease, background .3s ease;
}
.g10-form input:focus, .g10-form select:focus, .g10-form textarea:focus {
  outline: none;
  border-color: var(--lime-500);
  background: var(--white);
}
.g10-form textarea { resize: vertical; min-height: 110px; }

/* ---------- Steps (Matrícula) ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 860px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card {
  padding: 34px 28px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid rgba(11,42,82,0.08);
  position: relative;
}
.step-index {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--lime-500);
  margin-bottom: 14px;
  display: block;
}
.step-card h3 { font-size: 1.15rem; color: var(--navy-900); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--white); font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-body); font-weight: 700; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { font-size: 0.94rem; transition: color .3s ease; }
.footer-grid a:hover { color: var(--lime-glow); }
.footer-brand p { max-width: 300px; font-size: 0.94rem; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 26px; font-size: 0.84rem; flex-wrap: wrap; gap: 12px;
}
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { border-color: var(--lime-glow); }

/* ---------- WhatsApp float button ---------- */
.whatsapp-float {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 90;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38d76a, #1fa855);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: 0 16px 34px -10px rgba(31, 168, 85, 0.6);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 16px 34px -10px rgba(31, 168, 85, 0.6); }
  50% { box-shadow: 0 16px 34px -6px rgba(31, 168, 85, 0.9); }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(.2,.8,.2,1), transform 0.7s cubic-bezier(.2,.8,.2,1);
}
.reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.55s; }

/* ---------- Grid split section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.visual-panel {
  border-radius: var(--radius-lg);
  min-height: 420px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-600) 60%, var(--blue-500));
  display: flex;
  align-items: flex-end;
  padding: 32px;
  box-shadow: var(--shadow-lift);
}
.visual-panel .vp-tag {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}
.visual-panel::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 10%, rgba(141,198,63,0.4), transparent 55%);
}
.visual-panel.has-photo::before {
  content: none;
}

/* Auto-scrolling photo gallery used on Vida Escolar */
.auto-gallery {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
}
.auto-gallery-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: auto-gallery-scroll 46s linear infinite;
}
.auto-gallery:hover .auto-gallery-track { animation-play-state: paused; }
.auto-gallery-item {
  flex: 0 0 auto;
  width: 440px;
  height: 440px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.auto-gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
@keyframes auto-gallery-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 900px) {
  .auto-gallery-item { width: 320px; height: 320px; }
}
@media (max-width: 640px) {
  .auto-gallery-item { width: 260px; height: 260px; }
}

/* Divider wave */
.wave-divider { display: block; width: 100%; height: 70px; margin-bottom: -1px; }

/* =========================================================
   Layout-density additions: side rails, ghost numerals,
   photo placeholders, sticky in-page nav, wide pull-quotes
   ========================================================= */

/* Fixed vertical rail labels - fill the dead margins on wide viewports */
.side-rail {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(11, 42, 82, 0.32);
  z-index: 5;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.side-rail::before, .side-rail::after {
  content: '';
  width: 1px;
  height: 46px;
  background: rgba(11, 42, 82, 0.22);
}
.side-rail.rail-left { left: 22px; }
.side-rail.rail-right { right: 22px; transform: translateY(-50%) rotate(180deg); color: rgba(141,198,63,0.55); }
.side-rail.rail-right::before, .side-rail.rail-right::after { background: rgba(141,198,63,0.4); }
@media (max-width: 1480px) { .side-rail { display: none; } }

/* Ghost / watermark numerals - decorative weight for otherwise empty corners */
.ghost-num {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  color: rgba(11, 42, 82, 0.05);
  z-index: 0;
  pointer-events: none;
  user-select: none;
  font-size: clamp(8rem, 16vw, 16rem);
}
section.on-dark .ghost-num { color: rgba(255,255,255,0.045); }
.ghost-num.gn-right { right: -2%; }
.ghost-num.gn-left { left: -2%; }

/* Photo placeholder badge - tells the client exactly which file to drop in */
.photo-tag {
  position: absolute;
  left: 18px; top: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(5, 15, 34, 0.72);
  backdrop-filter: blur(6px);
  border: 1px dashed rgba(255,255,255,0.5);
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.72rem;
  color: var(--lime-glow);
  white-space: nowrap;
}

/* Pull-quote - full-bleed statement with an oversized quote mark in the margin */
.pull-quote-wide {
  position: relative;
  max-width: 920px;
  padding: 0 0 0 56px;
}
.pull-quote-wide .qmark {
  position: absolute;
  left: -18px; top: -46px;
  font-family: var(--font-display);
  font-size: 7rem;
  color: var(--lime-500);
  opacity: 0.5;
  line-height: 1;
}
.pull-quote-wide p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.35;
}
section.on-dark .pull-quote-wide p { color: var(--white); }
.pull-quote-wide cite { font-style: normal; font-size: 0.85rem; font-weight: 700; color: var(--blue-500); }
section.on-dark .pull-quote-wide cite { color: var(--lime-glow); }

/* Methodology deep-dive layout: sticky index rail + content column */
.method-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 980px) { .method-layout { grid-template-columns: 1fr; } }

.kicker-nav {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 2px solid rgba(11,42,82,0.1);
  padding-left: 20px;
}
@media (max-width: 980px) {
  .kicker-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    border-left: none;
    padding-left: 0;
    gap: 10px;
    margin-bottom: 12px;
  }
}
.kicker-nav a {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--slate-soft);
  padding: 8px 0;
  transition: color .3s ease, padding-left .3s ease;
}
@media (max-width: 980px) {
  .kicker-nav a {
    padding: 7px 14px;
    background: var(--paper-dim);
    border-radius: var(--radius-pill);
  }
}
.kicker-nav a:hover, .kicker-nav a.active { color: var(--navy-900); padding-left: 6px; }
.kicker-nav a.active { color: var(--lime-600); }

.method-section {
  padding-bottom: 64px;
  margin-bottom: 64px;
  border-bottom: 1px solid rgba(11,42,82,0.08);
  scroll-margin-top: 110px;
}
.method-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.method-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 14px;
}
.method-section h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--navy-900); }
.method-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 24px; }
@media (max-width: 760px) { .method-grid-2 { grid-template-columns: 1fr; gap: 20px; } }
.method-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.method-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.98rem;
  color: var(--slate);
}
.method-list li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime-500);
}
.method-note {
  margin-top: 22px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: var(--paper-dim);
  border-left: 3px solid var(--lime-500);
  font-size: 0.94rem;
  color: var(--navy-800);
  font-weight: 600;
}

@media (min-width: 1480px) {
  .container { padding: 0 56px; }
}
