/* ============================================================
   TES Edu — Design System (Pixel-perfect 1:1 Reference Match)
   Navy #0D1B3D · Blue #132B5C · Gold #D4AF37 · Cream #F5F2EB
   Headings: Playfair Display · Body: Montserrat
   ============================================================ */
:root {
  --navy:    #0D1B3D;
  --navy-900:#081124;
  --blue:    #132B5C;
  --gold:    #D4AF37;
  --gold-600:#c59b27;
  --gold-200:#eadfb4;
  --cream:   #F5F2EB;
  --slate:   #6B7280;
  --ink:     #1e2433;
  --line:    #e2e8f0;
  --font-head:"Playfair Display",Georgia,serif;
  --font-body:"Montserrat",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  --radius:  16px;
  --shadow:  0 18px 40px rgba(10,20,45,.10);
}
*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased }
img  { max-width: 100%; display: block }
a    { color: inherit; text-decoration: none }
h1,h2,h3,h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.12; margin: 0; font-weight: 700 }
p    { margin: 0 0 1rem }

/* ---------- Container ---------- */
.container { width: 100%; max-width: 100%; margin: 0 auto; padding: 0 5% }

/* ---------- Sections ---------- */
.section        { padding: 88px 0 }
.section--tight { padding: 64px 0 }
.section--cream { background: var(--cream) }
.section--navy  { background: var(--navy); color: #fff }
.section--navy h1,.section--navy h2,.section--navy h3,.section--navy h4 { color: #fff }

/* ---------- Type helpers ---------- */
.center  { text-align: center }
.narrow  { max-width: 780px; margin-left: auto; margin-right: auto }
.eyebrow {
  display: inline-block; font-family: var(--font-body); font-weight: 700;
  font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px
}
.section-title { font-size: 2.3rem; margin-bottom: 14px; line-height: 1.15 }
.section-lead  { color: var(--slate); font-size: 1.06rem }
.accent        { color: var(--gold); font-style: italic }
.link-gold     { color: var(--gold-600); font-weight: 600; display: inline-flex; align-items: center; gap: 7px; font-size: .9rem }
.link-gold svg { width: 16px; height: 16px; flex: none }
.link-gold:hover { gap: 11px }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: 13px 24px; border-radius: 8px; border: 1.5px solid transparent;
  cursor: pointer; transition: .2s; white-space: nowrap; line-height: 1.3;
}
.btn svg          { width: 18px; height: 18px; flex: none }
.btn--gold        { background: var(--gold); color: var(--navy) }
.btn--gold:hover  { background: var(--gold-600) }
.btn--navy        { background: var(--navy); color: #fff; border-color: var(--navy) }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45) }
.btn--outline-light:hover { border-color: var(--gold); color: var(--gold) }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line) }
.btn--lg    { padding: 14px 26px }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.07) }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px }
.brand { display: flex; align-items: center; gap: 12px }
.brand__crest { width: 40px; height: auto; flex: none }
.brand__word b { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: #fff; letter-spacing: .01em }
.brand__word b i { color: var(--gold); font-style: italic; font-weight: 700 }
.nav__links { display: flex; align-items: center; gap: 28px }
.navlink { font-size: .9rem; font-weight: 500; color: #dfe4ee; transition: .2s; position: relative; padding: 6px 0 }
.navlink:hover { color: #fff }
.navlink.active,
.navlink[aria-current="page"] { color: var(--gold) }
.navlink.active::after,
.navlink[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); border-radius: 2px }
.nav__toggle { display: none; background: none; border: 0; color: #fff; width: 40px; height: 40px; cursor: pointer }
.nav__toggle svg { width: 26px; height: 26px }

/* ============================================================
   HERO — using 16:9 full background image (hero-bg.png)
   ============================================================ */
.hero {
  position: relative;
  background: var(--navy) url('../img/hero-bg.png') right top / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero__grid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 540px;
  padding: 70px 0;
}
.hero--compact .hero__grid {
  min-height: 520px;
  padding: 60px 0;
}
.hero__content {
  max-width: 620px;
  position: relative;
  z-index: 2;
}
.hero__eyebrow { display: inline-block; color: var(--gold); font-weight: 700; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px }

/* Home hero h1: very large, white, 3-line structure */
.hero h1 {
  color: #fff;
  font-size: 3.4rem;
  line-height: 1.08;
  margin-bottom: 0;
  font-weight: 700;
}
.hero--compact h1 { font-size: 2.8rem }
.hero h1 .accent { color: var(--gold); font-style: italic; display: block }

/* Gold rule under h1 (home page) */
.hero__rule { width: 56px; height: 3px; background: var(--gold); border-radius: 2px; margin: 22px 0 22px }

.hero__gold-sub {
  color: var(--gold);
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.5rem;
  margin-bottom: 6px;
  line-height: 1.3;
}
.hero__sub {
  color: #c7d0e2;
  font-size: .98rem;
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.65;
}
.hero__cta {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 14px;
}
.hero__cta .btn { white-space: nowrap }
.hero__media { display: none }

/* ============================================================
   SECTION: Pourquoi TES Edu? (index.html)
   Left: prose text. Right: 4 plain icon columns (no card border)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 0.68fr 2.32fr;
  gap: 40px;
  align-items: start;
}
.prose .section-title { margin-bottom: 16px }
.prose__rule { width: 48px; height: 3px; background: var(--gold); border-radius: 2px; margin: 0 0 20px }
.prose p { color: #44506a; font-size: .96rem; line-height: 1.65 }
.motto-lines { color: var(--gold-600); font-weight: 600; margin-top: 16px; line-height: 1.7; font-size: .95rem }

/* 4 why-cards: rounded rectangle cards with prominent border & shadow matching reference */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}
.why-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 18px;
  min-height: 380px;
  box-shadow: 0 8px 24px rgba(10, 20, 45, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(10, 20, 45, 0.14);
}
.icon-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  border: 2.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  flex-shrink: 0;
}
.icon-circle svg { width: 34px; height: 34px }
.why-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 12px; line-height: 1.3; color: var(--navy) }
.why-card p  { color: var(--slate); font-size: .86rem; margin: 0; line-height: 1.55 }

/* ============================================================
   SECTION: Mission / Philosophie navy band
   ============================================================ */
.mp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start }
.mp-col  { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start }
.mp-col__icon { width: 64px; height: 64px; flex: none; color: var(--gold) }
.mp-col__icon svg { width: 64px; height: 64px }
.mp-col .eyebrow { margin-bottom: 12px }
.mp-col p       { color: #c7d0e2; margin: 0; font-size: .96rem; line-height: 1.65 }
.mp-col p.lead  { color: #eef1f7; font-size: 1.02rem }
.mp-divider     { border-left: 1px solid rgba(255,255,255,.14) }

/* ============================================================
   SECTION: Parcours 3-card row (home page)
   ============================================================ */
.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px }
.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 30px 26px;
  box-shadow: 0 4px 18px rgba(10,20,45,.05);
  transition: .2s; display: flex; flex-direction: column; gap: 14px;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow) }
.pcard__head { display: flex; align-items: center; gap: 16px }
.pcard h3    { font-size: 1.15rem; line-height: 1.25 }
.pcard p     { color: var(--slate); font-size: .9rem; margin: 0; flex: 1; line-height: 1.6 }

/* ============================================================
   SECTION: Learn columns (cream bg - bottom of home page)
   ============================================================ */
.learn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px }
.learn-col  { text-align: center; display: flex; flex-direction: column; align-items: center }
.icon-ring {
  width: 72px; height: 72px; border-radius: 50%;
  border: 2px solid var(--gold); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.icon-ring svg { width: 30px; height: 30px }
.learn-col h3 { font-size: 1.0rem; margin-bottom: 10px; line-height: 1.3 }
.learn-col p  { color: var(--slate); font-size: .87rem; margin: 0; line-height: 1.5 }

/* ============================================================
   SECTION: Parcours detail rows (parcours.html)
   3-column: intro | skills 2-col | dark-navy apply button
   ============================================================ */
.parcours-list { display: flex; flex-direction: column; gap: 28px }
.parcours-row {
  display: grid;
  grid-template-columns: 1.15fr 1.7fr 0.4fr;
  gap: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(10,20,45,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.parcours-row:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(10,20,45,.10) }

.parcours-row__intro { padding: 36px 32px }
.parcours-row__intro .icon-circle {
  margin: 0 0 20px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  border: 2.5px solid var(--gold);
}
.parcours-row__intro .icon-circle svg { width: 36px; height: 36px }
.parcours-row__intro h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: 14px; color: var(--navy); line-height: 1.2 }
.parcours-row__intro .goldline {
  color: var(--gold-600); font-style: italic; font-weight: 600;
  margin-bottom: 16px; font-size: 1.0rem; line-height: 1.5;
}
.parcours-row__intro p { color: var(--slate); font-size: .95rem; line-height: 1.6; margin: 0 }

.parcours-row__skills {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; padding: 36px 32px;
  border-left: 1px solid #edf2f7;
}
.skillcol h4 {
  font-size: .88rem; letter-spacing: .04em;
  color: var(--navy); font-family: var(--font-body); font-weight: 700;
  margin-bottom: 16px; line-height: 1.3;
}
.ticklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px }
.ticklist li { position: relative; padding-left: 26px; color: #2d3748; font-size: .92rem; line-height: 1.45 }
.ticklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--gold-600); font-weight: 700; font-size: .95rem;
}

.parcours-row__apply {
  background: var(--navy);
  display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
  padding: 36px 18px;
  border-radius: 0 16px 16px 0;
  min-width: 130px;
}
.apply-arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 56px;
  margin: auto 0;
}
.apply-arrow svg { width: 24px; height: 24px }
.parcours-row__apply .btn--gold {
  width: 100%; max-width: 100%; text-align: center;
  justify-content: center; padding: 12px 14px; font-size: .92rem;
  border-radius: 8px; font-weight: 700;
}

/* ============================================================
   SECTION: CTA crest band (parcours.html bottom) — full width band
   ============================================================ */
.section--cta-crest {
  background: var(--navy);
  color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.cta-crest__flex {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}
.cta-crest__logo {
  flex: 0 0 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.cta-crest__logo::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.25);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-crest__logo::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.15);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-crest__body {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-crest__body h2 {
  color: #fff;
  font-size: 2.1rem;
  max-width: 760px;
  margin: 0 auto 24px;
  line-height: 1.25;
}
.cta-crest__body h2 .accent { color: var(--gold); font-style: italic }
.cta-crest__body p {
  color: #c7d0e2;
  max-width: 520px;
  margin: 16px auto 0;
  font-size: .92rem;
}

/* ============================================================
   SECTION: About — Notre Philosophie + 3 Approach cards
   ============================================================ */
.approach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px }

.approach-card {
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(10,20,45,.14);
  display: flex; flex-direction: column;
}

/* Photo top half — taller */
.approach-card__media {
  position: relative;
  height: 260px;
  background: linear-gradient(135deg, #173163 0%, var(--navy) 100%);
  overflow: hidden;
  flex-shrink: 0;
}
.approach-card__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
  display: block;
}

/* Large circular icon floating between photo and body */
.approach-card__icon {
  position: absolute; left: 50%; bottom: -34px;
  transform: translateX(-50%);
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--gold);
  z-index: 4;
}
.approach-card__icon svg { width: 28px; height: 28px }

/* Dark navy body */
.approach-card__body {
  padding: 54px 26px 28px;
  text-align: center;
  display: flex; flex-direction: column; flex: 1;
}
.approach-card__body h3 { font-size: 1.75rem; color: #fff; margin-bottom: 16px; font-weight: 700 }
.approach-card__body > p {
  font-size: .9rem; color: #c7d0e2;
  line-height: 1.6; margin-bottom: 28px; flex: 1;
}

/* 4 sub-icons at bottom with gold top border */
.approach-subicons {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  border-top: 1px solid rgba(212,175,55,.25);
  padding-top: 18px; margin-top: auto;
}
.subicon-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: .62rem; font-weight: 700; color: var(--gold);
  letter-spacing: .04em; text-align: center; line-height: 1.2;
}
.subicon-item svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0 }

/* ============================================================
   SECTION: CTA photo band (À propos bottom)
   ============================================================ */
/* ============================================================
   SECTION: CTA photo band (À propos bottom) — full width section
   ============================================================ */
.section--cta-banner {
  background: linear-gradient(to right, #0D1B3D 0%, #0D1B3D 30%, rgba(13,27,61,0.7) 48%, rgba(13,27,61,0) 65%), url('../img/cta-couple.png') right 20% / contain no-repeat, #0D1B3D;
  color: #fff;
  padding: 60px 0;
  min-height: 380px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-banner__content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}
.cta-banner__content h2 { color: #fff; font-size: 2.3rem; margin-bottom: 18px; line-height: 1.2 }
.cta-banner__content h2 .accent { color: var(--gold); font-style: italic }
.cta-banner__content p  { color: #c7d0e2; font-size: 1.02rem; margin-bottom: 32px; max-width: 540px }
.cta-banner__buttons { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 14px }
.cta-banner__buttons .btn { white-space: nowrap }

/* ============================================================
   SECTION: Values band (navy, 5 columns)
   ============================================================ */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px }
.value-col { text-align: center; padding: 0 8px }
.value-col + .value-col { border-left: 1px solid rgba(255,255,255,.12) }
.value-col .icon-ring { width: 60px; height: 60px; margin-bottom: 14px }
.value-col h3 { font-size: 1.0rem; color: #fff; margin-bottom: 6px }
.value-col p  { color: #c7d0e2; font-size: .83rem; margin: 0 }

/* ============================================================
   SECTION: Admissions checklist
   ============================================================ */
.check-card { max-width: 900px; margin: 0 auto }
.check-card > h2 { font-size: 1.7rem; margin-bottom: 28px }
.check-list { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column }
.check-list li {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  color: #3a445c; font-size: .95rem; line-height: 1.5;
}
.check-box {
  width: 22px; height: 22px; border: 2px solid var(--gold); border-radius: 4px;
  flex: none; margin-top: 2px; background: #fff;
}

/* ============================================================
   SECTION: Admissions 8-step flow
   ============================================================ */
.flow { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; align-items: start }
.flow-step { position: relative; text-align: center; padding: 0 2px }
.flow-step__num {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--gold); color: var(--gold);
  font-size: .78rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px; background: #fff;
}
.flow-step__num.is-on { background: var(--navy); color: #fff; border-color: var(--navy) }
.flow-step__icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px; position: relative;
}
.flow-step__icon svg { width: 22px; height: 22px }
.flow-step__icon::after {
  content: ""; position: absolute; right: -58%; top: 50%;
  width: 58%; height: 2px; background: var(--gold-200);
}
.flow-step:last-child .flow-step__icon::after { display: none }
.flow-step h4 { font-size: .78rem; color: var(--navy); margin-bottom: 4px; font-family: var(--font-body); font-weight: 700; line-height: 1.3 }
.flow-step p  { font-size: .68rem; color: var(--slate); margin: 0; line-height: 1.35 }

/* ============================================================
   SECTION: Benefits bar (admissions navy band)
   ============================================================ */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px }
.benefit  { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start }
.benefit .b-icon { width: 44px; height: 44px; color: var(--gold); flex: none }
.benefit .b-icon svg { width: 44px; height: 44px }
.benefit h3 { color: #fff; font-size: 1.0rem; margin-bottom: 5px }
.benefit p  { color: #c7d0e2; font-size: .84rem; margin: 0 }

/* ============================================================
   SECTION: FAQ accordion
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: 14px; max-width: 920px; margin: 0 auto }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 4px 14px rgba(10,20,45,.04) }
.faq-item > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 22px; padding: 22px 28px }
.faq-item > summary::-webkit-details-marker { display: none }
.faq-num { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--gold); min-width: 34px }
.faq-q   { flex: 1; font-family: var(--font-head); font-size: 1.1rem; color: var(--navy); font-weight: 600 }
.faq-sign { width: 28px; height: 28px; position: relative; flex: none }
.faq-sign::before,.faq-sign::after { content: ""; position: absolute; background: var(--gold); border-radius: 2px; left: 50%; top: 50%; transform: translate(-50%,-50%) }
.faq-sign::before { width: 16px; height: 2.4px }
.faq-sign::after  { width: 2.4px; height: 16px; transition: .2s }
.faq-item[open] .faq-sign::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0 }
.faq-item > div { padding: 0 28px 24px 84px }
.faq-item > div p { color: var(--slate); margin: 0; font-size: .95rem }

/* ---------- Contact ---------- */
.coord-list { display: flex; flex-direction: column; gap: 14px }
.coord-card { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; box-shadow: 0 4px 14px rgba(10,20,45,.04) }
.coord-card .icon-circle { margin: 0; width: 52px; height: 52px; flex: none }
.coord-card h3 { font-size: 1.1rem; margin-bottom: 2px }
.coord-card p, .coord-card a { color: var(--slate); font-size: .9rem; margin: 0 }
.coord-card a:hover { color: var(--gold-600) }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px; box-shadow: var(--shadow) }
.form-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 18px }
.field      { display: flex; flex-direction: column; gap: 7px }
.field--full { grid-column: 1 / -1 }
.field label { font-size: .85rem; font-weight: 600; color: var(--navy) }
.field input,.field select,.field textarea { font-family: var(--font-body); font-size: .95rem; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fdfcf9; color: var(--ink); transition: .2s }
.field input:focus,.field select:focus,.field textarea:focus { outline: none; border-color: var(--gold); background: #fff }
.field textarea { min-height: 120px; resize: vertical }
.req { color: var(--gold-600) }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--slate) }
.form-consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--gold) }
.form-status { font-size: .9rem; margin-top: 8px }
.form-status.ok  { color: #1a7f4b }
.form-status.err { color: #b3341f }
.hint { font-size: .85rem; color: var(--slate) }

/* ---------- Legal prose ---------- */
.legal { max-width: 820px; margin: 0 auto }
.legal h2 { font-size: 1.35rem; margin: 30px 0 12px }
.legal p  { color: #44506a }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: #c2cbdc; padding: 64px 0 30px }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 48px }
.footer-about .brand { margin-bottom: 14px }
.footer-about p { font-size: .9rem; color: #9fabc4; max-width: 320px; margin-bottom: 0 }
.social { display: flex; gap: 10px; margin-top: 18px }
.social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center;
  color: #c2cbdc; transition: .2s;
}
.social a:hover { border-color: var(--gold); color: var(--gold) }
.social svg { width: 17px; height: 17px }
.footer-col h4 { color: var(--gold); font-family: var(--font-body); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px }
.footer-links a { font-size: .9rem; color: #c2cbdc }
.footer-links a:hover { color: var(--gold) }
.footer-contact { font-size: .9rem; color: #9fabc4; margin-bottom: 18px !important }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px;
  padding-top: 22px; font-size: .83rem; color: #8493ac;
}
.footer-bottom a { color: #8493ac }
.footer-bottom a:hover { color: var(--gold) }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease }
.reveal.is-visible { opacity: 1; transform: none }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .nav__links {
    position: fixed; inset: 76px 0 auto 0; background: var(--navy);
    flex-direction: column; gap: 6px; padding: 18px 24px 26px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    transform: translateY(-140%); transition: transform .3s; align-items: stretch;
  }
  .nav__links.is-open { transform: none }
  .nav__toggle { display: inline-flex }
  .nav__links .btn { margin-top: 8px; justify-content: center }
  .hero__grid { grid-template-columns: 1fr; min-height: auto }
  .hero__media { min-height: 280px; order: -1 }
  .hero__photo { -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent) }
  .hero__cta { flex-direction: column; align-items: flex-start }
  .split, .mp-grid, .cta-photo { grid-template-columns: 1fr; gap: 34px }
  .mp-divider { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding-top: 30px }
  .why-grid  { grid-template-columns: 1fr 1fr }
  .pcards    { grid-template-columns: 1fr }
  .learn-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px }
  .parcours-row { grid-template-columns: 1fr }
  .parcours-row__skills { border-left: 0; padding: 22px 0; border-top: 1px solid var(--line) }
  .parcours-row__apply { border-radius: 0 0 16px 16px }
  .approach { grid-template-columns: 1fr }
  .values   { grid-template-columns: 1fr 1fr; gap: 30px }
  .value-col + .value-col { border-left: 0 }
  .flow     { grid-template-columns: 1fr 1fr; gap: 26px 10px }
  .flow-step__icon::after { display: none }
  .benefits { grid-template-columns: 1fr 1fr; gap: 26px }
  .footer-grid { grid-template-columns: 1fr; gap: 36px }
  .form-grid { grid-template-columns: 1fr }
  .cta-photo__media { min-height: 240px }
  .cta-crest { padding: 48px 40px }
  .cta-crest .crest-bg { display: none }
}
@media (max-width: 560px) {
  .section { padding: 60px 0 }
  .hero h1 { font-size: 2.4rem }
  .hero--compact h1 { font-size: 2.0rem }
  .section-title { font-size: 1.8rem }
  .why-grid, .learn-grid, .values, .benefits, .flow { grid-template-columns: 1fr }
  .faq-item > div { padding-left: 28px }
}
