/* ============================================================
   DBA en IA - Paris Education × ESTIAM Casablanca
   Charte : bordeaux profond, crème, violet ESTIAM
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }

:root {
  /* Charte ESTIAM & IA (Futuriste Light) */
  --burgundy: #6D28D9; /* ESTIAM Purple main */
  --burgundy-deep: #4C1D95; /* Deep Purple */
  --burgundy-light: #8B5CF6; /* Light Purple */
  --burgundy-glow: rgba(109, 40, 217, 0.4);

  /* Thème Clair / Verre dépoli */
  --cream: #FFFFFF;
  --cream-2: #F8FAFC;
  --cream-3: #F1F5F9;
  --cream-soft: #FFFFFF;

  /* Accents IA */
  --eiffel-red: #00E5FF; /* Cyan IA */
  --eiffel-red-dark: #00B8D4;
  --estiam-purple: #6D28D9;
  --estiam-purple-light: #8B5CF6;
  --estiam-purple-glow: rgba(109, 40, 217, 0.25);

  /* Neutres */
  --ink: #0F172A; /* Slate 900 */
  --ink-soft: #334155; /* Slate 700 */
  --ink-mute: #64748B; /* Slate 500 */
  --line: rgba(15, 23, 42, 0.08);
  --line-light: rgba(15, 23, 42, 0.04);
  --white: #FFFFFF;

  /* Typo (Outfit pour un côté plus tech/moderne) */
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing rythme */
  --gutter: clamp(1.5rem, 4vw, 3rem);
  --section-y: clamp(4rem, 8vw, 7.5rem);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream-soft);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px var(--gutter);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav.scrolled { 
  padding: 14px var(--gutter); 
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.08); 
  border-bottom: 1px solid transparent;
}

.nav-logos { display: flex; align-items: center; gap: 18px; }
.nav-logos img { height: 32px; width: auto; }
.nav-logos .sep { width: 1px; height: 24px; background: var(--line); }

.nav-links { display: flex; gap: 32px; font-size: 14px; font-weight: 500; }
.nav-links a {
  color: var(--ink-soft);
  transition: color 0.2s; position: relative;
}
.nav-links a:hover { color: var(--burgundy); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--burgundy);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--burgundy); color: var(--white);
  padding: 12px 24px; border-radius: 8px;
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  box-shadow: 0 4px 14px var(--burgundy-glow);
}
.nav-cta:hover { 
  background: var(--burgundy-deep); 
  transform: translateY(-2px); 
  box-shadow: 0 8px 24px var(--burgundy-glow), 0 0 0 2px var(--eiffel-red); 
}

.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.3s; }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav-logos img { height: 26px; }
  .nav-logos .sep { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px var(--gutter) 80px;
  background: var(--cream-soft);
  color: var(--ink);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse at top right, rgba(109, 40, 217, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(0, 229, 255, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at center, rgba(139, 92, 246, 0.05) 0%, transparent 100%);
  z-index: 0;
}
.hero-image {
  position: absolute; right: -50px; top: 50%; transform: translateY(-50%);
  width: 55%; max-width: 800px; height: 80%;
  background-size: cover; background-position: center;
  border-radius: 20px;
  opacity: 0.8;
  filter: contrast(1.05) saturate(1.2);
  mask-image: linear-gradient(to left, black 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, black 30%, transparent 100%);
  z-index: 1;
}

.hero-content { position: relative; z-index: 2; max-width: 1400px; margin: 0 auto; width: 100%; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--burgundy); font-weight: 600;
  margin-bottom: 32px;
}
.hero-eyebrow::before {
  content: ""; width: 32px; height: 1px; background: var(--burgundy);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  max-width: 900px;
}
.hero-title em {
  font-style: normal; font-weight: 600;
  background: linear-gradient(120deg, var(--burgundy) 0%, var(--eiffel-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 580px;
  margin-bottom: 48px;
  font-weight: 300;
}

.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 64px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 32px;
  font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
  font-family: var(--font-body);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-primary {
  background: var(--burgundy); color: var(--white);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 4px 14px var(--burgundy-glow);
}
.btn-primary:hover {
  background: var(--burgundy-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--burgundy-glow), 0 0 0 2px var(--eiffel-red);
}
.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.5); color: var(--ink);
  border-color: rgba(15, 23, 42, 0.1);
}
.btn-ghost:hover {
  background: var(--white);
  border-color: var(--eiffel-red);
  box-shadow: 0 4px 14px rgba(0, 229, 255, 0.15);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 36px;
  max-width: 700px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.hero-meta-item .num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 500;
  color: var(--burgundy);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-meta-item .label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--ink-mute);
  font-weight: 600;
}

@media (max-width: 768px) {
  .hero { min-height: auto; padding: 110px 24px 64px; }
  .hero-image { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
}

/* ============================================================
   SECTION GÉNÉRIQUE
   ============================================================ */
section { padding: var(--section-y) var(--gutter); position: relative; }
.container { max-width: 1280px; margin: 0 auto; width: 100%; }

.section-watermark {
  position: absolute; top: 40px; left: var(--gutter);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: 0.9;
  color: var(--cream-3);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 144;
}
.section-watermark.dark { color: rgba(245, 239, 227, 0.08); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--burgundy); font-weight: 500;
  margin-bottom: 24px;
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--burgundy);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
  font-variation-settings: "opsz" 120;
}
.section-title em {
  font-style: italic; font-weight: 400;
  color: var(--burgundy);
}

.lede {
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 680px;
  font-weight: 400;
}

/* ============================================================
   À PROPOS - PARIS EDUCATION
   ============================================================ */
.about {
  background: var(--cream-soft);
  position: relative;
}
.about .container {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 6vw, 6rem); align-items: center;
  position: relative; z-index: 1;
}
.about-image {
  position: relative;
  aspect-ratio: 4/5;
  background-size: cover; background-position: center;
  border-radius: 2px;
  box-shadow: 0 30px 60px -20px rgba(74, 17, 18, 0.35);
}
.about-image::after {
  content: ""; position: absolute; right: -24px; bottom: -24px;
  width: 60%; height: 50%;
  background: var(--burgundy);
  z-index: -1;
}

@media (max-width: 900px) {
  .about .container { grid-template-columns: 1fr; }
  .about-image { max-width: 500px; margin: 0 auto; }
}

/* ============================================================
   DOYEN
   ============================================================ */
.doyen {
  background: var(--white);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.doyen::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(0,229,255,0.05), transparent 60%);
}
.doyen .container {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(3rem, 6vw, 6rem); align-items: center;
  position: relative; z-index: 1;
}
.doyen-text .eyebrow { color: var(--burgundy); }
.doyen-text .eyebrow::before { background: var(--burgundy); }
.doyen-text .section-title { color: var(--ink); }
.doyen-text .section-title em { color: var(--eiffel-red); background: none; -webkit-text-fill-color: var(--eiffel-red); }
.doyen-text .lede { color: var(--ink-soft); }
.doyen-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.4;
  color: var(--ink);
  margin: 32px 0;
  padding-left: 24px;
  border-left: 3px solid var(--eiffel-red);
}
.doyen-sign {
  display: flex; align-items: center; gap: 16px; margin-top: 32px;
  padding-top: 24px; border-top: 1px solid rgba(245, 239, 227, 0.15);
}
.doyen-sign-name { font-weight: 600; color: var(--ink); }
.doyen-sign-role { font-size: 13px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.12em; }

.doyen-portrait {
  position: relative;
  aspect-ratio: 4/5;
  background-size: cover; background-position: center top;
  border-radius: 2px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}
.doyen-portrait::after {
  content: ""; position: absolute; left: -24px; top: -24px;
  width: 50%; height: 40%;
  border-top: 2px solid var(--eiffel-red);
  border-left: 2px solid var(--eiffel-red);
  z-index: -1;
}

@media (max-width: 900px) {
  .doyen .container { grid-template-columns: 1fr; }
  .doyen-portrait { max-width: 400px; margin: 0 auto; }
}

/* ============================================================
   VUE D'ENSEMBLE / OVERVIEW
   ============================================================ */
.overview .container {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: clamp(3rem, 6vw, 6rem);
  position: relative; z-index: 1;
}
.overview-image {
  aspect-ratio: 4/5;
  background-size: cover; background-position: center;
  border-radius: 2px;
  box-shadow: 0 30px 60px -20px rgba(74,17,18,0.25);
}

.overview-cards { display: grid; gap: 18px; }
.overview-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  padding: 28px 32px;
  border-left: 3px solid var(--eiffel-red);
  border-radius: 8px;
  border-top: 1px solid rgba(255,255,255,0.8);
  border-right: 1px solid rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.8);
  display: grid; grid-template-columns: 120px 1fr; gap: 24px;
  align-items: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.overview-card:hover { transform: translateX(4px); box-shadow: 0 12px 28px rgba(0,229,255,0.1); }
.overview-card .label {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--burgundy); font-weight: 600;
}
.overview-card .value {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem; line-height: 1.4;
  color: var(--ink);
}
.overview-card .value strong { font-weight: 600; }

@media (max-width: 900px) {
  .overview .container { grid-template-columns: 1fr; }
  .overview-image { max-width: 500px; margin: 0 auto; aspect-ratio: 16/10; }
  .overview-card { grid-template-columns: 1fr; gap: 8px; }
}

/* ============================================================
   PRÉSENCE MONDIALE
   ============================================================ */
.global {
  background: var(--burgundy-deep);
  color: var(--cream);
  padding: var(--section-y) var(--gutter);
  position: relative;
  overflow: hidden;
}
.global::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 30% 50%, rgba(109,40,217,0.12), transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(220,45,47,0.08), transparent 50%);
  z-index: 0;
}
.global .container { position: relative; z-index: 1; }
.global .eyebrow { color: var(--cream-3); }
.global .eyebrow::before { background: var(--cream-3); }
.global .section-title { color: var(--cream-soft); max-width: 800px; }
.global .section-title em { color: var(--eiffel-red); background: none; -webkit-text-fill-color: var(--eiffel-red); }

.global-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.35;
  color: var(--cream-soft);
  max-width: 880px;
  margin: 24px 0 64px;
}
.global-quote::before {
  content: "“"; display: block; font-size: 4rem; line-height: 0.3;
  color: var(--eiffel-red); margin-bottom: 16px;
}

.global-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: rgba(245, 239, 227, 0.1);
  border: 1px solid rgba(245, 239, 227, 0.1);
}
.global-stat {
  background: var(--burgundy-deep);
  padding: 40px 32px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background 0.3s;
}
.global-stat:hover { background: var(--burgundy); }
.global-stat .num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--eiffel-red);
  font-variation-settings: "opsz" 144;
}
.global-stat .stat-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--cream-3); font-weight: 600;
}
.global-stat .stat-desc {
  font-size: 14px; line-height: 1.5; color: var(--cream-2);
}

/* ============================================================
   PROGRAMME - 4 BLOCS
   ============================================================ */
.programme { background: var(--cream-soft); }
.programme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.block-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 12px;
  padding: 0;
  display: grid; grid-template-rows: 200px 1fr;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
  position: relative;
}
.block-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(109, 40, 217, 0.15);
}
.block-card-image {
  background-size: cover; background-position: center;
  position: relative;
  overflow: hidden;
}
.block-card-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(74,17,18,0) 0%, rgba(74,17,18,0.7) 100%);
}
.block-card-num {
  position: absolute; top: 20px; left: 24px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 4rem; line-height: 1;
  color: var(--cream-soft);
  opacity: 0.95;
  z-index: 1;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
  font-variation-settings: "opsz" 144;
}
.block-card-cert {
  position: absolute; bottom: 16px; right: 20px;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--ink);
  background: rgba(0, 229, 255, 0.9);
  backdrop-filter: blur(4px);
  padding: 6px 12px;
  border-radius: 4px;
  z-index: 1;
  font-weight: 700;
}
.block-card-content { padding: 32px; }
.block-card-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--burgundy); font-weight: 600;
  margin-bottom: 10px;
}
.block-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 20px;
}
.block-card-list { list-style: none; }
.block-card-list li {
  padding: 8px 0 8px 22px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  position: relative;
  border-bottom: 1px solid var(--line-light);
}
.block-card-list li:last-child { border-bottom: none; }
.block-card-list li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 8px; height: 1px;
  background: var(--eiffel-red);
}

.programme-note {
  margin-top: 36px;
  padding: 28px 36px;
  background: var(--cream-2);
  border-left: 3px solid var(--estiam-purple);
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.programme-note strong { color: var(--estiam-purple); font-weight: 700; }

@media (max-width: 900px) {
  .programme-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   STUDY TOUR
   ============================================================ */
.studytour {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.studytour-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.25;
  filter: contrast(1.1) saturate(0.7);
}
.studytour::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink) 30%, transparent 100%);
}
.studytour .container { position: relative; z-index: 2; }
.studytour .eyebrow { color: var(--eiffel-red); }
.studytour .eyebrow::before { background: var(--eiffel-red); }
.studytour .section-title { color: var(--cream-soft); max-width: 760px; }
.studytour .section-title em {
  color: var(--eiffel-red);
  background: linear-gradient(120deg, #FFB078 0%, var(--eiffel-red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.studytour .lede { color: var(--cream-2); margin-bottom: 48px; max-width: 720px; }

.cities {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px;
}
.city {
  padding: 10px 20px;
  border: 1px solid rgba(245,239,227,0.25);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-2);
  font-weight: 500;
  transition: all 0.3s;
}
.city:hover {
  background: var(--eiffel-red);
  border-color: var(--eiffel-red);
  color: var(--white);
  transform: translateY(-2px);
}

.studytour-features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  max-width: 1000px;
}
.feature {
  padding-top: 24px;
  border-top: 1px solid rgba(245,239,227,0.2);
}
.feature .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--eiffel-red);
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}
.feature h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--cream-soft);
  margin-bottom: 8px;
  line-height: 1.3;
}
.feature p { font-size: 14px; line-height: 1.5; color: var(--cream-2); }

/* ============================================================
   ADMISSION / VUE D'ENSEMBLE 2
   ============================================================ */
.admission-info {
  background: var(--cream-soft);
}
.admission-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
  margin-top: 56px;
}
.admission-rows { display: flex; flex-direction: column; }
.admission-row {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.admission-row:first-child { border-top: 1px solid var(--line); }
.admission-row-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--burgundy); font-weight: 600;
  padding-top: 4px;
}
.admission-row-value { color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
.admission-row-value strong {
  font-family: var(--font-display); font-weight: 500;
  color: var(--ink); display: block; font-size: 1.6rem;
  line-height: 1.15; margin-bottom: 6px;
}
.admission-row-value em {
  font-style: normal; color: var(--burgundy); font-weight: 600;
}
.admission-image {
  position: sticky; top: 100px;
  aspect-ratio: 3/4;
  background-size: cover; background-position: center;
  border-radius: 2px;
  box-shadow: 0 30px 60px -20px rgba(74,17,18,0.3);
}

@media (max-width: 900px) {
  .admission-grid { grid-template-columns: 1fr; }
  .admission-row { grid-template-columns: 1fr; gap: 8px; }
  .admission-image { position: static; max-width: 500px; margin: 0 auto; aspect-ratio: 4/3; }
}

/* ============================================================
   PROCESSUS ADMISSION
   ============================================================ */
.process { background: var(--cream-2); position: relative; }
.process-timeline {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 60px;
  position: relative;
}
.process-step {
  padding: 36px 28px 32px;
  background: var(--white);
  border-right: 1px solid var(--line-light);
  position: relative;
  transition: background 0.3s ease;
}
.process-step:last-child { border-right: none; }
.process-step:hover { background: var(--cream-soft); }
.process-step .step-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 4rem;
  line-height: 1;
  color: var(--burgundy);
  opacity: 0.18;
  margin-bottom: 24px;
  font-variation-settings: "opsz" 144;
}
.process-step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 14px;
  color: var(--ink);
}
.process-step p { font-size: 14px; line-height: 1.55; color: var(--ink-soft); }

@media (max-width: 900px) {
  .process-timeline { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--line-light); }
}

/* ============================================================
   DIPLÔME / ACCRÉDITATIONS
   ============================================================ */
.diploma { background: var(--cream-soft); }
.diploma-rbc {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 4rem);
  background: var(--white);
  border-left: 4px solid var(--burgundy);
  margin-top: 48px;
  box-shadow: 0 20px 50px -25px rgba(74,17,18,0.2);
}
.diploma-rbc-logo {
  text-align: center;
  padding: 24px;
}
.diploma-rbc-logo img { max-width: 100%; height: auto; }
.diploma-rbc-text h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 18px;
}
.diploma-rbc-text p {
  font-size: 15px; line-height: 1.65;
  color: var(--ink-soft);
}
.diploma-rbc-badges {
  display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap;
}
.diploma-badge {
  padding: 8px 16px;
  background: var(--cream-2);
  font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--burgundy);
  font-weight: 600;
  border-radius: 2px;
}

.accreditations {
  margin-top: 80px;
}
.accreditations-title {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--ink-mute); font-weight: 600;
  text-align: center; margin-bottom: 40px;
  position: relative;
}
.accreditations-title::before,
.accreditations-title::after {
  content: ""; position: absolute; top: 50%;
  width: 80px; height: 1px; background: var(--line);
}
.accreditations-title::before { left: calc(50% - 200px); }
.accreditations-title::after { right: calc(50% - 200px); }

.accreditations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.accreditations-grid img {
  max-height: 60px;
  width: auto;
  margin: 0 auto;
  filter: grayscale(50%);
  opacity: 0.75;
  transition: all 0.3s;
}
.accreditations-grid img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}
.accreditations-grid .acc-cell {
  display: flex; align-items: center; justify-content: center;
  min-height: 80px;
}

@media (max-width: 700px) {
  .diploma-rbc { grid-template-columns: 1fr; text-align: center; }
  .accreditations-title::before, .accreditations-title::after { display: none; }
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  background: var(--burgundy);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(220,45,47,0.15) 0%, transparent 60%);
}
.cta-final .container { position: relative; z-index: 1; max-width: 880px; }
.cta-final .eyebrow { color: var(--eiffel-red); justify-content: center; }
.cta-final .eyebrow::before { background: var(--eiffel-red); }
.cta-final .section-title {
  color: var(--cream-soft);
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 32px;
}
.cta-final .section-title em {
  color: var(--eiffel-red);
  background: linear-gradient(120deg, #FF8B8C 0%, var(--eiffel-red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-final p {
  color: var(--cream-2); font-size: 1.1rem; line-height: 1.6;
  max-width: 600px; margin: 0 auto 48px;
}
.cta-final .btn-primary {
  background: var(--eiffel-red); color: var(--white);
  border-color: var(--eiffel-red);
  padding: 20px 40px; font-size: 14px;
}
.cta-final .btn-primary:hover { background: var(--eiffel-red-dark); border-color: var(--eiffel-red-dark); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--ink);
  color: var(--cream-2);
  padding: 80px var(--gutter) 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  max-width: 1280px; margin: 0 auto;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(245,239,227,0.1);
}
.footer-logos { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.footer-logos img { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-logos .sep { width: 1px; height: 22px; background: rgba(245,239,227,0.2); }
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic; font-weight: 300;
  font-size: 1.05rem; line-height: 1.5;
  color: var(--cream-2);
  max-width: 320px;
}
.footer-col h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--cream-soft); font-weight: 600;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; font-size: 14px; }
.footer-col a { color: var(--cream-2); transition: color 0.2s; }
.footer-col a:hover { color: var(--eiffel-red); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px;
  font-size: 14px; color: var(--cream-2); line-height: 1.5;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; opacity: 0.6; }

.footer-bottom {
  max-width: 1280px; margin: 32px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--cream-3);
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom .legal-links { display: flex; gap: 24px; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   WHATSAPP FLOTTANT
   ============================================================ */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: all 0.3s;
  animation: pulse-wa 2.5s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}
.whatsapp-float svg { fill: white; }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.85s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   FORMULAIRE CANDIDATURE
   ============================================================ */
.form-page {
  background: var(--cream-soft);
  min-height: 100vh;
  padding-top: 100px;
}
.form-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 60px var(--gutter);
}
.form-header { text-align: center; margin-bottom: 56px; }
.form-header .eyebrow { justify-content: center; }
.form-header .eyebrow::before { display: none; }
.form-header .section-title { font-size: clamp(2rem, 4vw, 3rem); }
.form-header p { color: var(--ink-soft); font-size: 1.05rem; max-width: 600px; margin: 16px auto 0; line-height: 1.6; }

.candidature-form {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  padding: clamp(2rem, 4vw, 3rem);
  border-top: 4px solid var(--burgundy);
  border-radius: 12px;
  box-shadow: 0 30px 60px -20px rgba(109, 40, 217, 0.15);
}

.form-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-light);
}
.form-section:last-of-type { border-bottom: none; padding-bottom: 0; }
.form-section h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--burgundy);
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 14px;
}
.form-section h3::before {
  content: counter(formsec, decimal-leading-zero);
  counter-increment: formsec;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--eiffel-red);
  letter-spacing: 0.1em;
  font-weight: 600;
}
.form-section p.section-desc {
  font-size: 14px; color: var(--ink-mute); margin-bottom: 28px;
}
.candidature-form { counter-reset: formsec; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid-full { grid-column: 1 / -1; }

.field {
  display: flex; flex-direction: column; gap: 8px;
}
.field label {
  font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-soft); font-weight: 600;
}
.field label .req { color: var(--eiffel-red); }

.field input,
.field select,
.field textarea {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--cream-soft);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  transition: all 0.25s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--burgundy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.25);
}
.field textarea { resize: vertical; min-height: 120px; font-family: var(--font-body); }
.field-hint { font-size: 12px; color: var(--ink-mute); margin-top: 4px; }

.field-radio-group { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.field-radio {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 14px;
  transition: all 0.25s;
}
.field-radio input { accent-color: var(--burgundy); }
.field-radio:hover { background: var(--cream-2); border-color: var(--burgundy); }

.field-checkbox {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; line-height: 1.5; color: var(--ink-soft);
  margin-top: 8px;
}
.field-checkbox input { accent-color: var(--burgundy); margin-top: 3px; flex-shrink: 0; }
.field-checkbox a { color: var(--burgundy); text-decoration: underline; }

.form-submit {
  background: var(--burgundy);
  color: var(--cream-soft);
  border: none;
  padding: 18px 48px;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 2px;
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 24px;
}
.form-submit:hover {
  background: var(--eiffel-red);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(220,45,47,0.35);
}

@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
  .candidature-form { padding: 24px; }
}

/* ============================================================
   PAGE MERCI
   ============================================================ */
.thanks {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--burgundy);
  color: var(--cream-soft);
  text-align: center;
  padding: var(--gutter);
}
.thanks-content { max-width: 640px; }
.thanks-icon {
  width: 80px; height: 80px;
  border: 2px solid var(--eiffel-red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 32px;
}
.thanks-icon svg { stroke: var(--eiffel-red); }
.thanks h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 24px;
  font-variation-settings: "opsz" 120;
}
.thanks h1 em { font-style: italic; color: var(--eiffel-red); }
.thanks p { font-size: 1.1rem; color: var(--cream-2); line-height: 1.6; margin-bottom: 40px; }
.thanks .btn { background: var(--eiffel-red); color: var(--white); border-color: var(--eiffel-red); }
.thanks .btn:hover { background: var(--eiffel-red-dark); border-color: var(--eiffel-red-dark); }
