/* ============================================================
   DBA en Intelligence Artificielle
   ÉSTIAM Campus Casablanca × Paris Education
   ────────────────────────────────────────────────
   Direction : tech-noir, IA, futurisme, accent safran marocain
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wdth,wght@12..96,75..100,200..800&family=Manrope:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  /* ─── BACKGROUNDS (4 niveaux dark) ─── */
  --bg-void: #030210;
  --bg-deepest: #050314;
  --bg: #0B0716;
  --bg-card: #14101F;
  --bg-elevated: #1A1428;
  --bg-elevated-2: #221A33;
  --bg-elevated-3: #2B2240;

  /* ─── ESTIAM PURPLE ─── */
  --purple-50: #F5F3FF;
  --purple-100: #EDE9FE;
  --purple-300: #C4B5FD;
  --purple-400: #A78BFA;
  --purple-500: #8B5CF6;
  --purple-600: #7C3AED;
  --purple-700: #6D28D9;
  --purple-glow: rgba(139, 92, 246, 0.35);
  --purple-glow-strong: rgba(139, 92, 246, 0.6);
  --purple-soft: rgba(139, 92, 246, 0.08);

  /* ─── SAFRON (3 nuances - gradient enrichi) ─── */
  --saffron: #F4B454;
  --saffron-bright: #FFC976;
  --saffron-deep: #D89535;
  --saffron-burnt: #B57A20;
  --saffron-gold: #E8C547;
  --saffron-glow: rgba(244, 180, 84, 0.3);
  --saffron-soft: rgba(244, 180, 84, 0.1);

  /* ─── ACCENT CYAN (touches IA ponctuelles) ─── */
  --cyan: #5EEAD4;
  --cyan-glow: rgba(94, 234, 212, 0.4);
  --cyan-soft: rgba(94, 234, 212, 0.08);

  /* ─── NEUTRES ─── */
  --text: #F5F1E8;
  --text-strong: #FFFFFF;
  --text-soft: #B8B0C7;
  --text-muted: #7A7290;
  --text-faint: #4A4360;

  /* ─── LIGNES ─── */
  --border: rgba(167, 139, 250, 0.12);
  --border-strong: rgba(167, 139, 250, 0.25);
  --border-saffron: rgba(244, 180, 84, 0.25);
  --border-cyan: rgba(94, 234, 212, 0.25);

  /* ─── OMBRES COLORÉES ─── */
  --shadow-purple: 0 20px 50px -20px rgba(139, 92, 246, 0.3);
  --shadow-saffron: 0 20px 50px -20px rgba(244, 180, 84, 0.25);
  --shadow-card: 0 24px 48px -16px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.04);

  /* ─── TYPOGRAPHIE ─── */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* ─── SPACING ─── */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 9vw, 8rem);
  --container-max: 1320px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
}

/* Texture grain globale + grille de fond */
body::before {
  content: ""; position: fixed; inset: 0;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(139, 92, 246, 0.08) 0%, transparent 35%),
    radial-gradient(circle at 85% 85%, rgba(244, 180, 84, 0.04) 0%, transparent 40%),
    linear-gradient(rgba(167, 139, 250, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 60px 60px, 60px 60px;
  pointer-events: none;
  z-index: 0;
}

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

/* ============================================================
   COMPOSITION GLOBALE
   ============================================================ */
section { padding: var(--section-y) var(--gutter); position: relative; z-index: 1; }
.container { max-width: var(--container-max); margin: 0 auto; width: 100%; position: relative; }

/* Préfixe "/" ÉSTIAM signature */
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--purple-400);
  margin-bottom: 28px;
  text-transform: lowercase;
}
.tag::before {
  content: "/"; color: var(--saffron); font-weight: 700;
  font-size: 14px;
}

/* Titres section */
.title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  margin-bottom: 24px;
  font-variation-settings: "wdth" 100, "opsz" 96;
}
.title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--purple-400) 0%, var(--saffron) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.lede {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 680px;
  font-weight: 400;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  background: rgba(11, 7, 22, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(11, 7, 22, 0.92);
  padding-top: 10px; padding-bottom: 10px;
  border-bottom-color: var(--border-strong);
}

.nav-logos { display: flex; align-items: center; gap: 18px; }
.nav-logos img { height: 30px; width: auto; }
.nav-logos img.paris-logo { filter: brightness(0) invert(1) brightness(0.95); }
.nav-logos .sep { width: 1px; height: 22px; background: var(--border-strong); }

.nav-links { display: flex; gap: 32px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; }
.nav-links a {
  color: var(--text-soft);
  transition: color 0.2s;
  position: relative;
  text-transform: lowercase;
  letter-spacing: 0.03em;
}
.nav-links a::before { content: "/ "; color: var(--text-faint); transition: color 0.25s; }
.nav-links a:hover { color: var(--text-strong); }
.nav-links a:hover::before { color: var(--saffron); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--purple-600);
  color: var(--text-strong);
  padding: 11px 22px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--purple-500);
  border-radius: 4px;
  transition: all 0.25s ease;
  box-shadow: 0 0 0 0 var(--purple-glow);
}
.nav-cta:hover {
  background: var(--purple-700);
  box-shadow: 0 0 24px var(--purple-glow-strong);
  transform: translateY(-1px);
}
.nav-cta svg { transition: transform 0.25s; }
.nav-cta:hover svg { transform: translateX(3px); }

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

@media (max-width: 1000px) {
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .nav-cta span { display: none; }
  .nav-cta { padding: 10px; }
  .nav-logos img { height: 24px; }
  .nav-logos .sep { display: none; }
  .nav-burger { display: block; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: auto;
  display: flex; align-items: center;
  padding: 130px var(--gutter) 70px;
  position: relative;
  overflow: hidden;
  background: var(--bg-deepest);
}

/* Mesh gradient animé */
.hero::before {
  content: ""; position: absolute; inset: -10%;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(139, 92, 246, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(244, 180, 84, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 50% 100%, rgba(124, 58, 237, 0.25) 0%, transparent 60%);
  filter: blur(40px);
  animation: meshShift 18s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes meshShift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-4%, 3%) scale(1.08); }
  100% { transform: translate(3%, -2%) scale(0.96); }
}

/* Grille SVG sur le hero */
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(167, 139, 250, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  z-index: 0;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-main { max-width: 760px; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 14px 6px 12px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--purple-300);
  margin-bottom: 32px;
  text-transform: uppercase;
}
.hero-tag .dot {
  width: 6px; height: 6px;
  background: var(--saffron);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--saffron);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--text-strong);
  margin-bottom: 28px;
  font-variation-settings: "wdth" 95, "opsz" 96;
}
.hero-title strong {
  display: block;
  font-weight: 500;
  background: linear-gradient(110deg, var(--purple-400) 0%, var(--purple-500) 30%, var(--saffron) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
  font-variation-settings: "wdth" 100, "opsz" 144;
}

.hero-sub {
  font-size: clamp(0.98rem, 1.15vw, 1.1rem);
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 540px;
  font-weight: 400;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.btn-primary {
  background: var(--purple-600);
  color: var(--text-strong);
  border-color: var(--purple-500);
  box-shadow: 0 0 0 0 var(--purple-glow);
}
.btn-primary:hover {
  background: var(--purple-700);
  box-shadow: 0 0 32px var(--purple-glow-strong), 0 8px 24px rgba(124, 58, 237, 0.4);
  transform: translateY(-2px);
}
.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: var(--purple-soft);
  border-color: var(--purple-500);
  color: var(--text-strong);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
.hero-meta-item {
  padding: 24px 0 0;
  border-right: 1px solid var(--border);
  padding-right: 24px;
}
.hero-meta-item:nth-child(even) { padding-left: 24px; border-right: none; }
.hero-meta-item .meta-prefix {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--saffron);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: block;
}
.hero-meta-item .meta-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  color: var(--text-strong);
  line-height: 1.1;
  margin-bottom: 4px;
  font-variation-settings: "wdth" 100;
}
.hero-meta-item .meta-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Visuel hero à droite */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 480px;
  justify-self: center;
  align-self: center;
}

/* ============================================================
   HERO EDITORIAL — Composition typographique éditoriale
   ============================================================ */
.hero-editorial {
  position: relative;
  width: 100%;
  padding: 32px;
  background:
    linear-gradient(155deg, rgba(20, 16, 31, 0.85) 0%, rgba(11, 7, 22, 0.6) 100%);
  border: 1px solid var(--border-strong);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 60px -16px rgba(0, 0, 0, 0.5),
    0 0 80px -20px rgba(139, 92, 246, 0.4);
}
/* Lueur diagonale en arrière-plan */
.hero-editorial::before {
  content: "";
  position: absolute;
  top: -20%; right: -20%;
  width: 80%; height: 80%;
  background: radial-gradient(circle, rgba(244, 180, 84, 0.18) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.hero-editorial::after {
  content: "";
  position: absolute;
  bottom: -10%; left: -10%;
  width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.hero-editorial > * { position: relative; z-index: 1; }

/* Header label */
.he-label {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 36px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--saffron);
  text-transform: uppercase;
  font-weight: 600;
}
.he-label-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 10px var(--saffron-glow);
  animation: syncPulse 2.5s ease-in-out infinite;
}

/* Rotator de mots */
.he-rotator {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4em;
  margin-bottom: 28px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-soft);
  font-variation-settings: "wdth" 95, "opsz" 96;
}
.he-rotator-static { color: var(--text-soft); }
.he-rotator-words {
  list-style: none;
  position: relative;
  height: 1.2em;
  min-width: 200px;
  overflow: hidden;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
}
.he-rotator-words li {
  position: absolute;
  top: 0; left: 0;
  white-space: nowrap;
  font-weight: 500;
  font-style: italic;
  font-family: 'Georgia', serif;
  color: var(--saffron);
  opacity: 0;
  transform: translateY(100%);
  animation: rotateWord 15s infinite;
}
.he-rotator-words li:nth-child(1) { animation-delay: 0s; }
.he-rotator-words li:nth-child(2) { animation-delay: 3s; }
.he-rotator-words li:nth-child(3) { animation-delay: 6s; color: var(--purple-400); }
.he-rotator-words li:nth-child(4) { animation-delay: 9s; color: var(--cyan); }
.he-rotator-words li:nth-child(5) { animation-delay: 12s; color: var(--saffron-bright); }
@keyframes rotateWord {
  0%, 100% { opacity: 0; transform: translateY(100%); }
  3%       { opacity: 1; transform: translateY(0); }
  17%      { opacity: 1; transform: translateY(0); }
  20%      { opacity: 0; transform: translateY(-100%); }
}

/* DBA monogramme central */
.he-monogram {
  margin: 8px 0 32px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  text-align: center;
}
.he-monogram::before {
  content: "[01]";
  position: absolute;
  top: 24px; right: 0;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}
.he-mono-letters {
  display: block;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(4.5rem, 10vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: var(--text-strong);
  text-shadow:
    0 0 30px rgba(255, 255, 255, 0.4),
    0 0 60px rgba(244, 180, 84, 0.2);
  font-variation-settings: "wdth" 100, "opsz" 144;
}
.he-mono-letters i {
  font-style: italic;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 400;
  background: linear-gradient(135deg, var(--saffron-bright) 0%, var(--saffron-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  transform: translateY(2px);
}
.he-mono-sub {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
  text-align: center;
}

/* Coordonnées techniques */
.he-coords {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.he-coord-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(167, 139, 250, 0.1);
}
.he-coord-row:last-child { border-bottom: none; padding-bottom: 0; }
.he-coord-key {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 10px;
}
.he-coord-key::before { content: "/ "; color: var(--saffron); opacity: 0.7; }
.he-coord-val {
  color: var(--text);
  font-weight: 500;
}

/* Marquee défilant */
.he-marquee {
  margin: 0 -32px -32px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
  background: rgba(20, 16, 31, 0.6);
  position: relative;
}
.he-marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(270deg, rgba(20, 16, 31, 0.95) 0%, transparent 100%);
}
.he-marquee-track {
  display: flex;
  gap: 24px;
  padding-left: 32px;
  animation: marqueeScroll 30s linear infinite;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
}
.he-marquee-track span:nth-child(odd) { color: var(--text); }
.he-marquee-track span:nth-child(even) { color: var(--saffron); }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1000px) {
  .hero-editorial { padding: 28px; }
  .he-marquee { margin: 0 -28px -28px; }
}
.hero-visual::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
  filter: blur(30px);
}
.hero-orb {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(244, 180, 84, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(124, 58, 237, 0.6) 0%, transparent 60%),
    linear-gradient(135deg, var(--purple-700) 0%, var(--bg-elevated-2) 100%);
  border: 1px solid var(--border-strong);
  box-shadow:
    inset 0 0 80px rgba(167, 139, 250, 0.3),
    0 0 60px var(--purple-glow);
  animation: orbRotate 25s linear infinite;
}
@keyframes orbRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.hero-orb-content {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  animation: orbRotate 25s linear infinite reverse;
}
.hero-orb-ring {
  position: absolute;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  pointer-events: none;
}
.hero-orb-ring.r1 { inset: -8%; border-color: rgba(167, 139, 250, 0.2); }
.hero-orb-ring.r2 { inset: -16%; border-color: rgba(167, 139, 250, 0.12); }
.hero-orb-ring.r3 { inset: -24%; border-color: rgba(244, 180, 84, 0.1); border-style: dashed; }

.hero-dba-monogram {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(5rem, 12vw, 9rem);
  color: var(--text-strong);
  letter-spacing: -0.05em;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
  font-variation-settings: "wdth" 100, "opsz" 144;
  z-index: 2;
}
.hero-dba-label {
  position: absolute; bottom: 18%; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text-soft);
  text-transform: uppercase;
  z-index: 2;
  white-space: nowrap;
}

@media (max-width: 1000px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { max-width: 320px; justify-self: center; margin: 0 auto; }
}
@media (max-width: 600px) {
  .hero { padding: 100px 20px 56px; min-height: auto; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .hero-meta-item:nth-child(even) { padding-left: 0; }
  .hero-meta-item { border-right: none; padding-right: 0; padding-top: 20px; }
  .hero-meta { gap: 16px; }
}

/* ============================================================
   TRUST BAR (logos accréditations - marché marocain)
   ============================================================ */
.trust-bar {
  padding: 32px var(--gutter);
  background: var(--bg-deepest);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-bar-inner {
  max-width: var(--container-max); margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.4;
}
.trust-label::before { content: "/ "; color: var(--saffron); }
.trust-logos {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(24px, 4vw, 56px);
}
.trust-logos img {
  height: 32px; width: auto;
  filter: brightness(0) invert(1) brightness(0.85);
  opacity: 0.6;
  transition: all 0.3s;
}
.trust-logos img:hover {
  filter: brightness(0) invert(1) brightness(1);
  opacity: 1;
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .trust-bar-inner { grid-template-columns: 1fr; gap: 20px; }
  .trust-logos { gap: 24px; }
  .trust-logos img { height: 24px; }
}

/* ============================================================
   MANIFESTE
   ============================================================ */
.manifeste {
  background: var(--bg);
  position: relative;
}
.manifeste .container {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.manifeste-left { position: sticky; top: 100px; }
.manifeste-left h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-strong);
  font-variation-settings: "wdth" 90, "opsz" 96;
}
.manifeste-left h2 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--purple-400) 0%, var(--saffron) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.manifeste-paragraphs { display: flex; flex-direction: column; gap: 32px; }
.manifeste-p {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-soft);
  padding-left: 32px;
  position: relative;
}
.manifeste-p::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 16px; height: 1px;
  background: var(--saffron);
}
.manifeste-p strong {
  color: var(--text-strong);
  font-weight: 600;
}
.manifeste-p em {
  font-style: normal;
  color: var(--purple-400);
  font-weight: 500;
}

@media (max-width: 900px) {
  .manifeste .container { grid-template-columns: 1fr; }
  .manifeste-left { position: static; }
}

/* ============================================================
   DOYENNE
   ============================================================ */
.doyenne {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.doyenne::before {
  content: ""; position: absolute; left: -20%; top: 20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(244, 180, 84, 0.12) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.doyenne .container {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.doyenne-portrait-wrap {
  position: relative;
  padding: 32px;
}
.doyenne-portrait-wrap::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 80px; height: 80px;
  border-top: 1px solid var(--saffron);
  border-left: 1px solid var(--saffron);
}
.doyenne-portrait-wrap::after {
  content: ""; position: absolute; bottom: 0; right: 0;
  width: 80px; height: 80px;
  border-bottom: 1px solid var(--purple-400);
  border-right: 1px solid var(--purple-400);
}
.doyenne-portrait {
  aspect-ratio: 4/5;
  background-color: var(--bg-card);
  background-image:
    linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(244, 180, 84, 0.1) 100%),
    radial-gradient(circle at 30% 30%, rgba(244, 180, 84, 0.2) 0%, transparent 60%);
  background-size: cover; background-position: center top;
  filter: grayscale(15%) contrast(1.05);
  position: relative;
}
.doyenne-portrait::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11, 7, 22, 0.7) 100%);
}

.doyenne-quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.4;
  color: var(--text-strong);
  margin: 32px 0;
  letter-spacing: -0.01em;
  font-variation-settings: "wdth" 95, "opsz" 96;
}
.doyenne-quote::before {
  content: "« "; color: var(--saffron); font-style: italic;
}
.doyenne-quote::after {
  content: " »"; color: var(--saffron); font-style: italic;
}

.doyenne-sign {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.doyenne-sign-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--text-strong);
  letter-spacing: -0.01em;
}
.doyenne-sign-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--saffron);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

/* ============================================================
   PROGRAMME — code-block inspired
   ============================================================ */
.programme {
  background: var(--bg-deepest);
  position: relative;
}
.programme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.module {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.module::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0%, var(--purple-soft) 100%);
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.module:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -16px rgba(139, 92, 246, 0.25);
}
.module:hover::before { opacity: 1; }

/* Header style "fenêtre IDE" */
.module-header {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 20px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.module-dots { display: flex; gap: 5px; }
.module-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.2);
}
.module-dots span:first-child { background: rgba(244, 180, 84, 0.6); }
.module-dots span:nth-child(2) { background: rgba(167, 139, 250, 0.4); }
.module-header-path { margin-left: 8px; }
.module-cert {
  margin-left: auto;
  padding: 3px 10px;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  color: var(--purple-300);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.module-body { padding: 32px; }
.module-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--saffron);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.module-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  line-height: 1.2;
  color: var(--text-strong);
  margin-bottom: 24px;
  letter-spacing: -0.015em;
  font-variation-settings: "wdth" 95, "opsz" 96;
}
.module-list { list-style: none; }
.module-list li {
  padding: 10px 0 10px 24px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.5;
  position: relative;
  border-bottom: 1px dashed rgba(167, 139, 250, 0.08);
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
}
.module-list li:last-child { border-bottom: none; }
.module-list li::before {
  content: "▸"; position: absolute; left: 0; top: 10px;
  color: var(--saffron);
  font-size: 12px;
}

.programme-callout {
  margin-top: 40px;
  padding: 28px 36px;
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.06) 0%, rgba(244, 180, 84, 0.04) 100%),
    var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--saffron);
  border-radius: 4px;
  display: flex; align-items: flex-start; gap: 20px;
}
.programme-callout-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--saffron-soft);
  border: 1px solid var(--border-saffron);
  border-radius: 8px;
}
.programme-callout-icon svg { stroke: var(--saffron); }
.programme-callout-text {
  font-size: 14px; line-height: 1.6; color: var(--text-soft);
}
.programme-callout-text strong { color: var(--saffron); font-weight: 600; }

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

/* ============================================================
   STATS — Présence mondiale (terminal style)
   ============================================================ */
.presence {
  background: var(--bg);
  position: relative;
}
.presence-quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.3;
  color: var(--text);
  max-width: 900px;
  margin: 0 0 64px;
  letter-spacing: -0.015em;
  font-variation-settings: "wdth" 95, "opsz" 144;
}
.presence-quote::before {
  content: "/* "; font-family: var(--font-mono);
  color: var(--saffron); font-size: 60%;
}
.presence-quote::after {
  content: " */"; font-family: var(--font-mono);
  color: var(--saffron); font-size: 60%;
}

.presence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.stat {
  background: var(--bg-card);
  padding: 36px 28px;
  position: relative;
  transition: background 0.3s;
}
.stat:hover { background: var(--bg-elevated); }
.stat-pre {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.stat-pre::before { content: "> "; color: var(--saffron); }
.stat-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 1;
  color: var(--text-strong);
  margin-bottom: 10px;
  letter-spacing: -0.04em;
  font-variation-settings: "wdth" 100, "opsz" 144;
  background: linear-gradient(180deg, var(--text-strong) 0%, var(--purple-300) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--saffron);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.stat-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   STUDY TOUR
   ============================================================ */
.studytour {
  background: var(--bg-deepest);
  position: relative;
  overflow: hidden;
}
.studytour::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23A78BFA' stroke-opacity='0.08'%3E%3Cpath d='M0 30h60M30 0v60'/%3E%3Ccircle cx='30' cy='30' r='1.5' fill='%23F4B454' fill-opacity='0.3' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}
.studytour .container { position: relative; z-index: 1; }

.cities {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin: 48px 0 64px;
}
.city {
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.3s;
  position: relative;
}
.city::before {
  content: ""; position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 8px var(--saffron);
}
.city { padding-left: 32px; }
.city:hover {
  background: var(--purple-soft);
  border-color: var(--purple-500);
  color: var(--text-strong);
  transform: translateY(-2px);
}

.studytour-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.feat {
  padding-top: 28px;
  border-top: 1px solid var(--border-strong);
  position: relative;
}
.feat::before {
  content: ""; position: absolute; top: -1px; left: 0;
  width: 32px; height: 2px;
  background: var(--saffron);
}
.feat-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--saffron);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.feat h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--text-strong);
  margin-bottom: 10px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.feat p { font-size: 14px; line-height: 1.55; color: var(--text-soft); }

/* ============================================================
   ADMISSION INFO + PRICING
   ============================================================ */
.admission {
  background: var(--bg);
  position: relative;
}
.admission .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }

.admission-rows { display: flex; flex-direction: column; }
.admission-row {
  display: grid; grid-template-columns: 160px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.admission-row:first-child { border-top: 1px solid var(--border); }
.admission-row-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--saffron);
  text-transform: uppercase;
  padding-top: 6px;
}
.admission-row-label::before { content: "/"; opacity: 0.5; margin-right: 4px; }
.admission-row-value {
  color: var(--text-soft); font-size: 15px; line-height: 1.6;
}
.admission-row-value strong {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-strong);
  display: block;
  font-size: 1.4rem;
  line-height: 1.15;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}
.admission-row-value em {
  font-style: normal; color: var(--purple-300); font-weight: 600;
}

/* Carte tarif */
.pricing-card {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 36px;
  position: sticky; top: 100px;
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: ""; position: absolute; top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(244, 180, 84, 0.12) 0%, transparent 70%);
  filter: blur(40px);
}
.pricing-card-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--saffron);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 4px 10px;
  background: var(--saffron-soft);
  border: 1px solid var(--border-saffron);
  border-radius: 100px;
  position: relative; z-index: 1;
}
.pricing-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--text-strong);
  margin-bottom: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  position: relative; z-index: 1;
}
.pricing-main {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 6px;
  position: relative; z-index: 1;
}
.pricing-amount {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1;
  color: var(--text-strong);
  letter-spacing: -0.04em;
  font-variation-settings: "wdth" 100, "opsz" 144;
}
.pricing-currency {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--saffron);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.pricing-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  position: relative; z-index: 1;
}
.pricing-divider {
  height: 1px; background: var(--border); margin: 24px 0;
  position: relative; z-index: 1;
}
.pricing-secondary {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 8px;
  position: relative; z-index: 1;
}
.pricing-secondary strong { color: var(--text); font-weight: 600; }

.pricing-perks { margin-top: 24px; position: relative; z-index: 1; }
.pricing-perk {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.4;
  margin-bottom: 12px;
}
.pricing-perk svg { flex-shrink: 0; margin-top: 2px; stroke: var(--saffron); }

.pricing-cta {
  margin-top: 24px;
  display: flex; gap: 12px;
  position: relative; z-index: 1;
}
.pricing-cta a {
  flex: 1;
  text-align: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .admission .container { grid-template-columns: 1fr; }
  .admission-row { grid-template-columns: 1fr; gap: 6px; }
  .pricing-card { position: static; }
}

/* ============================================================
   DIPLÔME RBC
   ============================================================ */
.diploma {
  background: var(--bg-deepest);
  position: relative;
}
.diploma-card {
  margin-top: 56px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.diploma-card::before {
  content: ""; position: absolute; top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(244, 180, 84, 0.08) 0%, transparent 70%);
  filter: blur(40px);
}
.diploma-logo {
  text-align: center;
  padding: 24px;
  background: var(--bg-elevated);
  border-radius: 4px;
  border: 1px solid var(--border);
  position: relative; z-index: 1;
}
.diploma-logo img {
  max-width: 100%; height: auto;
  filter: brightness(0) invert(1);
}
.diploma-text { position: relative; z-index: 1; }
.diploma-text h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  color: var(--text-strong);
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.diploma-text p {
  font-size: 15px; line-height: 1.65;
  color: var(--text-soft);
}
.diploma-text p strong { color: var(--text); font-weight: 600; }
.diploma-badges {
  display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap;
}
.diploma-badge {
  padding: 8px 16px;
  background: var(--purple-soft);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--purple-300);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
}

.accreditations {
  margin-top: 80px;
  text-align: center;
}
.accreditations-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 40px;
  display: inline-block;
}
.accreditations-title::before { content: "/ "; color: var(--saffron); }
.accreditations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.acc-cell {
  display: flex; align-items: center; justify-content: center;
  min-height: 80px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all 0.3s;
}
.acc-cell:hover {
  background: var(--bg-elevated);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.acc-cell img {
  max-height: 56px; max-width: 100%;
  width: auto;
  filter: brightness(0) invert(1) brightness(0.9);
  opacity: 0.75;
  transition: all 0.3s;
}
.acc-cell:hover img { opacity: 1; filter: brightness(0) invert(1); }

@media (max-width: 700px) {
  .diploma-card { grid-template-columns: 1fr; text-align: center; }
}

/* ============================================================
   PROCESSUS - terminal-style
   ============================================================ */
.process {
  background: var(--bg);
  position: relative;
}
.process-stack {
  margin-top: 56px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.process-step {
  display: grid;
  grid-template-columns: 80px 220px 1fr;
  gap: 32px;
  padding: 32px 36px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
  position: relative;
}
.process-step:last-child { border-bottom: none; }
.process-step:hover { background: var(--bg-elevated); }
.process-num {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 3rem;
  line-height: 1;
  color: var(--purple-400);
  letter-spacing: -0.04em;
  opacity: 0.6;
  font-variation-settings: "wdth" 100, "opsz" 144;
}
.process-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--text-strong);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.process-title-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--saffron);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.process-desc {
  font-size: 14px; line-height: 1.6; color: var(--text-soft);
  font-family: var(--font-body);
}

@media (max-width: 900px) {
  .process-step { grid-template-columns: 1fr; gap: 12px; padding: 28px; }
  .process-num { font-size: 2.4rem; }
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  background: var(--bg-deepest);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-final::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(139, 92, 246, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 80%, rgba(244, 180, 84, 0.1) 0%, transparent 50%);
  filter: blur(20px);
}
.cta-final .container { position: relative; z-index: 1; max-width: 880px; }
.cta-final .tag { justify-content: center; }
.cta-final .title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  color: var(--text-strong);
  margin-bottom: 24px;
}
.cta-final p {
  font-size: 1.1rem;
  color: var(--text-soft);
  line-height: 1.65;
  max-width: 620px;
  margin: 0 auto 40px;
}
.cta-final .btn-primary {
  padding: 20px 40px;
  font-size: 14px;
}
.cta-final-deadline {
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
.cta-final-deadline strong { color: var(--saffron); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg-deepest);
  border-top: 1px solid var(--border);
  padding: 80px var(--gutter) 32px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  max-width: var(--container-max); margin: 0 auto;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-logos {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px; flex-wrap: nowrap;
}
.footer-logos img { height: 24px; width: auto; opacity: 0.95; max-width: 130px; object-fit: contain; }
.footer-logos img.paris-logo { filter: brightness(0) invert(1) brightness(0.95); }
.footer-logos .sep { width: 1px; height: 18px; background: var(--border-strong); flex-shrink: 0; }
.footer-tagline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 320px;
  letter-spacing: -0.01em;
}
.footer-tagline em {
  font-style: normal;
  color: var(--saffron);
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col h4::before { content: "/ "; color: var(--saffron); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; font-size: 14px; }
.footer-col a { color: var(--text-soft); transition: color 0.2s; }
.footer-col a:hover { color: var(--purple-400); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 14px;
  font-size: 14px; color: var(--text-soft); line-height: 1.55;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 3px; opacity: 0.5; stroke: var(--purple-400); }
.footer-contact-item a:hover { color: var(--text-strong); }

.footer-bottom {
  max-width: var(--container-max); margin: 32px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  flex-wrap: wrap; gap: 16px;
}
.footer-made-in {
  display: flex; align-items: center; gap: 8px;
}
.footer-made-in .ma-flag {
  width: 14px; height: 10px;
  background: linear-gradient(0deg, #C1272D 0%, #C1272D 100%);
  border-radius: 2px;
  position: relative;
}
.footer-made-in .ma-flag::after {
  content: "★"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #006233; font-size: 8px;
}

@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; gap: 10px; }
}

/* ============================================================
   WHATSAPP FLOATING
   ============================================================ */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  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) rotate(-8deg);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}
.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 16px rgba(37, 211, 102, 0); }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ============================================================
   FORMULAIRE
   ============================================================ */
.form-page {
  background: var(--bg);
  min-height: 100vh;
  padding-top: 90px;
}
.form-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 56px var(--gutter);
}
.form-header { text-align: center; margin-bottom: 56px; }
.form-header .tag { justify-content: center; }
.form-header .title { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.form-header p { color: var(--text-soft); font-size: 1.05rem; max-width: 600px; margin: 16px auto 0; line-height: 1.65; }

.candidature-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}
.candidature-form::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple-500) 0%, var(--saffron) 100%);
}
.candidature-form { counter-reset: formsec; }

.form-section {
  margin-bottom: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}
.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.35rem;
  color: var(--text-strong);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
  display: flex; align-items: center; gap: 16px;
}
.form-section h3::before {
  counter-increment: formsec;
  content: counter(formsec, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--saffron);
  letter-spacing: 0.1em;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--saffron-soft);
  border: 1px solid var(--border-saffron);
  border-radius: 100px;
}
.form-section .section-desc {
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 28px; font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

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

.field {
  display: flex; flex-direction: column; gap: 8px;
}
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-soft);
  text-transform: uppercase;
  font-weight: 500;
}
.field label .req { color: var(--saffron); }

.field input,
.field select,
.field textarea {
  padding: 14px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  transition: all 0.25s;
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--purple-500);
  background: var(--bg-elevated-2);
  box-shadow: 0 0 0 3px var(--purple-soft);
}
.field select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23A78BFA' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.field-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; font-family: var(--font-mono); }

.field-radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.field-radio {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  transition: all 0.25s;
}
.field-radio input { accent-color: var(--purple-500); cursor: pointer; }
.field-radio:hover { background: var(--bg-elevated-2); border-color: var(--purple-500); color: var(--text); }
.field-radio:has(input:checked) { background: var(--purple-soft); border-color: var(--purple-500); color: var(--text-strong); }

.field-checkbox {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; line-height: 1.55; color: var(--text-soft);
  margin-top: 12px;
}
.field-checkbox input { accent-color: var(--purple-500); margin-top: 3px; flex-shrink: 0; cursor: pointer; }
.field-checkbox a { color: var(--purple-400); text-decoration: underline; }
.field-checkbox a:hover { color: var(--saffron); }

input[type="file"] {
  font-family: var(--font-mono); font-size: 13px;
}
input[type="file"]::-webkit-file-upload-button {
  background: var(--purple-soft);
  color: var(--purple-300);
  border: 1px solid var(--border-strong);
  padding: 8px 16px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
  margin-right: 12px;
}

.form-submit {
  background: var(--purple-600);
  color: var(--text-strong);
  border: 1px solid var(--purple-500);
  padding: 18px 42px;
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 28px;
}
.form-submit:hover {
  background: var(--purple-700);
  box-shadow: 0 0 24px var(--purple-glow-strong);
  transform: translateY(-2px);
}

@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(--bg-deepest);
  text-align: center;
  padding: var(--gutter);
  position: relative;
  overflow: hidden;
}
.thanks::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(139, 92, 246, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(244, 180, 84, 0.12) 0%, transparent 50%);
  filter: blur(40px);
}
.thanks-content { max-width: 640px; position: relative; z-index: 1; }
.thanks-icon {
  width: 80px; height: 80px;
  background: var(--purple-soft);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 32px;
  position: relative;
}
.thanks-icon::before {
  content: ""; position: absolute; inset: -8px;
  border: 1px dashed var(--border-saffron);
  border-radius: 50%;
  animation: rotate-slow 20s linear infinite;
}
@keyframes rotate-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.thanks-icon svg { stroke: var(--saffron); }
.thanks h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.025em;
  color: var(--text-strong);
  font-variation-settings: "wdth" 95, "opsz" 144;
}
.thanks h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--purple-400) 0%, var(--saffron) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.thanks p { font-size: 1.05rem; color: var(--text-soft); line-height: 1.65; margin-bottom: 32px; }
.thanks-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* ============================================================
   NOUVEAUX COMPOSANTS — v3 (crédibilité + conversion + Maroc)
   ============================================================ */

/* ============================================================
   GRAPHE NEURONAL HERO (remplace l'orbe)
   ============================================================ */
.neural-graph {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 480px;
}
.neural-graph svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.35));
}
.neural-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  width: 220px;
}
.neural-center .label-mono {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--saffron);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.neural-center .label-big {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(3rem, 7vw, 4.5rem);
  color: var(--text-strong);
  letter-spacing: -0.05em;
  line-height: 1;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
  font-variation-settings: "wdth" 100, "opsz" 144;
}
.neural-center .label-tagline {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--text-soft);
  text-transform: uppercase;
  margin-top: 8px;
  display: block;
  white-space: nowrap;
}

/* ============================================================
   PERSONAS — Pour qui ce DBA
   ============================================================ */
.personas {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.personas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.persona {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.persona:hover {
  border-color: var(--purple-500);
  transform: translateY(-4px);
  background: var(--bg-elevated);
}
.persona-icon-wrap {
  width: 48px; height: 48px;
  background: var(--purple-soft);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.persona-icon-wrap svg { stroke: var(--purple-400); }
.persona h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--text-strong);
  margin-bottom: 14px;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.persona p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
  flex-grow: 1;
}
.persona-meta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.persona-meta-row {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.persona-meta-row strong {
  color: var(--saffron);
  font-weight: 600;
}

/* ============================================================
   TIMELINE PARCOURS
   ============================================================ */
.timeline {
  background: var(--bg-deepest);
  position: relative;
}
.timeline-track {
  margin-top: 64px;
  position: relative;
  padding: 32px 0;
}
.timeline-track::before {
  content: ""; position: absolute;
  top: 50%; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-500) 0%, var(--saffron) 100%);
  opacity: 0.6;
}
.timeline-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}
.timeline-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  position: relative;
  transition: all 0.3s ease;
}
.timeline-item:nth-child(odd) { margin-top: -40px; }
.timeline-item:nth-child(even) { margin-top: 40px; }
.timeline-item::before {
  content: ""; position: absolute;
  width: 12px; height: 12px;
  background: var(--saffron);
  border: 3px solid var(--bg-deepest);
  border-radius: 50%;
  left: 50%; transform: translateX(-50%);
  box-shadow: 0 0 12px var(--saffron-glow);
}
.timeline-item:nth-child(odd)::before { bottom: -47px; }
.timeline-item:nth-child(even)::before { top: -47px; }
.timeline-item:hover {
  border-color: var(--purple-500);
  background: var(--bg-elevated);
}
.timeline-period {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--saffron);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.timeline-period::before { content: "/ "; opacity: 0.6; }
.timeline-item h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text-strong);
  margin-bottom: 10px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.timeline-item p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-soft);
}
@media (max-width: 900px) {
  .timeline-items { grid-template-columns: 1fr; gap: 12px; }
  .timeline-item:nth-child(odd), .timeline-item:nth-child(even) { margin-top: 0; }
  .timeline-item::before { display: none; }
  .timeline-track::before { left: 20px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--purple-500) 0%, var(--saffron) 100%); }
  .timeline-item { margin-left: 36px; }
  .timeline-item::after {
    content: ""; position: absolute;
    width: 12px; height: 12px;
    background: var(--saffron);
    border: 3px solid var(--bg-deepest);
    border-radius: 50%;
    left: -42px; top: 28px;
  }
}

/* ============================================================
   OUTCOME — Soutenance & Carrière (section claire)
   ============================================================ */
.outcome {
  background: #FAF8F3;
  color: #14101F;
  position: relative;
  overflow: hidden;
}
.outcome::before {
  content: ""; position: absolute; top: -30%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  filter: blur(60px);
}
.outcome .tag { color: var(--purple-600); }
.outcome .tag::before { color: var(--saffron-deep); }
.outcome .title { color: #14101F; }
.outcome .title em {
  background: linear-gradient(120deg, var(--purple-600) 0%, var(--saffron-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.outcome .lede { color: #4A4360; }

.outcome-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}

.thesis-panel {
  background: white;
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 12px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(139, 92, 246, 0.15);
}
.thesis-panel::before {
  content: ""; position: absolute;
  top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--purple-600) 0%, var(--saffron-deep) 100%);
}
.thesis-panel h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  color: #14101F;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.thesis-panel .sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--saffron-deep);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 600;
}
.thesis-panel > p {
  font-size: 14px;
  color: #4A4360;
  line-height: 1.65;
}
.thesis-features {
  list-style: none;
  margin-top: 24px;
}
.thesis-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(139, 92, 246, 0.12);
  font-size: 14px;
  color: #4A4360;
  line-height: 1.55;
}
.thesis-features li:last-child { border-bottom: none; }
.thesis-features svg { flex-shrink: 0; stroke: var(--purple-600); margin-top: 2px; }
.thesis-features strong { color: #14101F; font-weight: 600; }

.outcome-careers h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  color: #14101F;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.outcome-careers > p.intro {
  font-size: 14px;
  color: #4A4360;
  margin-bottom: 28px;
  line-height: 1.6;
}
.careers-list { display: flex; flex-direction: column; gap: 12px; }
.career-item {
  background: white;
  border: 1px solid rgba(139, 92, 246, 0.12);
  border-radius: 8px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.25s ease;
  position: relative;
  z-index: 1;
}
.career-item:hover {
  border-color: var(--purple-500);
  transform: translateX(4px);
  box-shadow: 0 8px 20px -8px rgba(139, 92, 246, 0.2);
}
.career-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--saffron-deep);
  letter-spacing: 0.1em;
  flex-shrink: 0;
}
.career-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: #14101F;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.career-arrow {
  margin-left: auto;
  color: var(--purple-500);
  opacity: 0.4;
  transition: all 0.25s ease;
}
.career-item:hover .career-arrow { opacity: 1; transform: translateX(4px); }

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

/* ============================================================
   TÉMOIGNAGES / PROFILS
   ============================================================ */
.testimonials {
  background: var(--bg);
  position: relative;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}
.testi-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-elevated);
}
.testi-card::before {
  content: "\201C";
  font-family: Georgia, serif;
  position: absolute;
  top: 20px; right: 28px;
  font-size: 4rem;
  color: var(--purple-400);
  opacity: 0.2;
  line-height: 1;
}
.testi-quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.005em;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-600) 0%, var(--saffron-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: white;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.testi-meta-info {
  display: flex; flex-direction: column; gap: 2px;
}
.testi-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-strong);
  letter-spacing: -0.005em;
}
.testi-role {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--saffron);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================================
   FAQ — Accordéon
   ============================================================ */
.faq {
  background: var(--bg-deepest);
  position: relative;
}
.faq-list {
  margin-top: 56px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text-strong);
  text-align: left;
  cursor: pointer;
  transition: color 0.25s;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.faq-question:hover { color: var(--purple-400); }
.faq-question .faq-icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: var(--purple-soft);
}
.faq-question .faq-icon svg {
  stroke: var(--purple-400);
  transition: transform 0.3s ease;
}
.faq-item.open .faq-question .faq-icon {
  background: var(--purple-500);
  border-color: var(--purple-500);
}
.faq-item.open .faq-question .faq-icon svg {
  stroke: white;
  transform: rotate(45deg);
}
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-answer {
  max-height: 800px;
}
.faq-answer-inner {
  padding: 0 0 32px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
  max-width: 760px;
}
.faq-answer-inner strong { color: var(--text); }
.faq-answer-inner a { color: var(--purple-400); text-decoration: underline; }

/* ============================================================
   CAMPUS CASABLANCA
   ============================================================ */
.campus {
  background: var(--bg);
  position: relative;
}
.campus-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.campus-image {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background-color: var(--bg-card);
  background-image:
    linear-gradient(135deg, rgba(11, 7, 22, 0.6) 0%, rgba(11, 7, 22, 0.2) 100%),
    url('https://www.collegedeparis-maroc.com/wp-content/uploads/2024/01/002-ban-cdp-m-2.webp?w=1200&auto=format&fit=crop&q=85'),
    radial-gradient(circle at 30% 70%, rgba(244, 180, 84, 0.2) 0%, transparent 60%),
    linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(244, 180, 84, 0.1) 100%);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  position: relative;
}
.campus-image::after {
  content: "Casablanca · 8 Route d'Azemmour";
  position: absolute;
  bottom: 16px; left: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: white;
  background: rgba(11, 7, 22, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.campus-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  display: flex;
  flex-direction: column;
}
.campus-info h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--text-strong);
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}
.campus-info p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 24px;
}
.campus-info-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.campus-info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.campus-info-row svg {
  flex-shrink: 0;
  stroke: var(--saffron);
  margin-top: 2px;
}
.campus-info-row-content { flex-grow: 1; }
.campus-info-row-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.campus-info-row-value {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
.campus-info-row-value a { color: var(--text); transition: color 0.2s; }
.campus-info-row-value a:hover { color: var(--purple-400); }

.campus-map {
  margin-top: 48px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  filter: invert(0.92) hue-rotate(180deg) saturate(0.6);
}
.campus-map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: none;
}

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

/* ============================================================
   PAYMENT STRIP (Maroc)
   ============================================================ */
.payment-strip {
  background: linear-gradient(135deg, rgba(244, 180, 84, 0.12) 0%, rgba(139, 92, 246, 0.08) 100%);
  border: 1px solid var(--border-saffron);
  border-radius: 12px;
  padding: 28px 36px;
  margin-top: 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}
.payment-strip-icon {
  width: 52px; height: 52px;
  background: var(--bg-card);
  border: 1px solid var(--border-saffron);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.payment-strip-icon svg { stroke: var(--saffron); }
.payment-strip-text h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text-strong);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.payment-strip-text p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.55;
}
.payment-strip-text p strong { color: var(--saffron); font-weight: 600; }
.payment-strip a {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--saffron);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 20px;
  border: 1px solid var(--border-saffron);
  border-radius: 100px;
  transition: all 0.25s;
  white-space: nowrap;
  font-weight: 600;
}
.payment-strip a:hover {
  background: var(--saffron);
  color: var(--bg-deepest);
}
@media (max-width: 700px) {
  .payment-strip { grid-template-columns: 1fr; gap: 16px; text-align: center; padding: 24px; }
  .payment-strip-icon { margin: 0 auto; }
}

/* Subtiliser le module IDE (moins gimmick) */
.module-header { padding: 12px 20px; font-size: 10.5px; }
.module-dots span { width: 7px; height: 7px; opacity: 0.65; }

/* Bio doyenne */
.doyenne-bio {
  margin-top: 28px;
  padding: 22px 24px;
  background: var(--bg-card);
  border-left: 2px solid var(--saffron);
  border-radius: 0 8px 8px 0;
}
.doyenne-bio-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--saffron);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.doyenne-bio-text {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-soft);
}
.doyenne-bio-text strong { color: var(--text); font-weight: 600; }

/* ============================================================
   ╔════════════════════════════════════════════════════════╗
   ║  v4 — 40 AMÉLIORATIONS DESIGN UI                       ║
   ╚════════════════════════════════════════════════════════╝
   ============================================================ */

/* ============================================================
   GLOBAL — Body texture (grain noise + grid) — #8
   ============================================================ */
body::after {
  content: ""; position: fixed; inset: 0;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.03 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

/* ============================================================
   SCROLL PROGRESS INDICATOR — #33
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; right: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--purple-500), var(--saffron), var(--cyan));
  z-index: 999;
  transition: height 0.05s ease-out;
  box-shadow: -2px 0 12px var(--purple-glow);
}

/* ============================================================
   MINI BOUSSOLE / SECTION INDICATOR — #34
   ============================================================ */
.section-indicator {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 14px;
  pointer-events: auto;
}
.section-indicator-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.25);
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.section-indicator-dot::before {
  content: attr(data-label);
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.section-indicator-dot:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(-4px);
}
.section-indicator-dot:hover {
  background: var(--purple-400);
  transform: scale(1.4);
}
.section-indicator-dot.active {
  background: var(--saffron);
  box-shadow: 0 0 12px var(--saffron-glow);
}
@media (max-width: 900px) { .section-indicator { display: none; } }

/* ============================================================
   CURSOR CUSTOM — DÉSACTIVÉ (problèmes d'accessibilité)
   ============================================================ */
.cursor-custom, .cursor-custom-dot { display: none !important; }

/* ============================================================
   HERO — PARTICULES, CONSTELLATIONS, VIGNETTE — #1, #2, #4
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
}
/* Particules flottantes */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.particle {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--purple-400);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 6px var(--purple-glow);
  animation: floatParticle 25s linear infinite;
}
.particle.saffron { background: var(--saffron); box-shadow: 0 0 6px var(--saffron-glow); }
.particle.cyan { background: var(--cyan); box-shadow: 0 0 6px var(--cyan-glow); }
.particle.tiny { width: 1.5px; height: 1.5px; }
@keyframes floatParticle {
  0%   { transform: translate(0, 100vh); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.6; }
  100% { transform: translate(40px, -10vh); opacity: 0; }
}

/* Constellation SVG */
.hero-constellation {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

/* Vignette aux bords */
.hero::before {
  content: ""; position: absolute; inset: -10%;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(139, 92, 246, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(244, 180, 84, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 50% 100%, rgba(124, 58, 237, 0.25) 0%, transparent 60%);
  filter: blur(40px);
  animation: meshShift 18s ease-in-out infinite alternate;
  z-index: 0;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    radial-gradient(ellipse at center, transparent 40%, var(--bg-void) 100%);
  opacity: 0.85;
}

/* ============================================================
   HUB DBA — GLOW PLUS PRONONCÉ — #3
   ============================================================ */
.neural-graph svg {
  filter: drop-shadow(0 0 60px rgba(139, 92, 246, 0.5)) drop-shadow(0 0 120px rgba(244, 180, 84, 0.15));
}
.neural-center .label-big {
  text-shadow:
    0 0 30px rgba(255, 255, 255, 0.6),
    0 0 60px rgba(244, 180, 84, 0.4),
    0 0 100px rgba(139, 92, 246, 0.3);
}

/* ============================================================
   PATTERN CIRCUITS PCB — #5
   ============================================================ */
.pcb-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23A78BFA' stroke-width='0.5' opacity='0.15'%3E%3Cpath d='M20 20h60v20l20 20h80'/%3E%3Cpath d='M20 80h40v40h120v-30'/%3E%3Cpath d='M180 100l-20 20v40h-100'/%3E%3Ccircle cx='20' cy='20' r='2'/%3E%3Ccircle cx='80' cy='20' r='2'/%3E%3Ccircle cx='100' cy='40' r='2'/%3E%3Ccircle cx='180' cy='40' r='2'/%3E%3Ccircle cx='20' cy='80' r='2'/%3E%3Ccircle cx='60' cy='80' r='2'/%3E%3Ccircle cx='60' cy='120' r='2'/%3E%3Ccircle cx='180' cy='120' r='2'/%3E%3Ccircle cx='180' cy='90' r='2' fill='%23F4B454' opacity='0.6'/%3E%3Ccircle cx='160' cy='160' r='2' fill='%235EEAD4' opacity='0.5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 280px 280px;
  opacity: 0.5;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* ============================================================
   NUMÉROS DE SECTION GÉANTS WATERMARK — #6
   ============================================================ */
.section-num {
  position: absolute;
  top: 20px;
  right: clamp(20px, 4vw, 60px);
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(8rem, 18vw, 16rem);
  line-height: 0.85;
  color: var(--text-strong);
  opacity: 0.025;
  letter-spacing: -0.08em;
  pointer-events: none;
  z-index: 0;
  font-variation-settings: "wdth" 100, "opsz" 144;
  user-select: none;
}
section.light .section-num { color: #14101F; opacity: 0.04; }
section.outcome .section-num { color: #14101F; opacity: 0.05; right: auto; left: clamp(20px, 4vw, 60px); }

/* ============================================================
   LIGNES DIAGONALES ANIMÉES TRANSITIONS — #7
   ============================================================ */
.section-divider {
  position: relative;
  height: 1px;
  background: var(--border);
  overflow: hidden;
}
.section-divider::after {
  content: "";
  position: absolute;
  top: 0; left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--saffron), transparent);
  animation: scanLine 8s ease-in-out infinite;
}
@keyframes scanLine {
  0%, 100% { left: -30%; }
  50% { left: 100%; }
}

/* ============================================================
   TYPOGRAPHIE — Underline ondulé saffran — #9
   ============================================================ */
.wavy {
  position: relative;
  display: inline;
  text-decoration: none;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='6' viewBox='0 0 60 6'%3E%3Cpath d='M0 3 Q15 0 30 3 T60 3' fill='none' stroke='%23F4B454' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: 60px 6px;
  padding-bottom: 8px;
}

/* ============================================================
   TYPOGRAPHIE — Variable font hover animation — #12
   ============================================================ */
.title, .module-title, .timeline-item h4 {
  transition: font-variation-settings 0.5s ease;
}

/* ============================================================
   CARDS À COINS COUPÉS + HOVER ACCESSIBLE — #13, #14
   ============================================================ */
.module {
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0;
  overflow: hidden;
  transition: background 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}
/* Halo subtil aux coins coupés (purement décoratif, ne couvre PAS le contenu) */
.module::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, var(--purple-soft) 0%, transparent 30%),
    radial-gradient(circle at bottom left, var(--saffron-soft) 0%, transparent 30%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}
.module:hover::before { opacity: 1; }
.module:hover {
  transform: translateY(-6px);
  background: var(--bg-elevated);
  border-color: var(--purple-500);
  box-shadow: var(--shadow-purple);
}
.module > * { position: relative; z-index: 1; }

/* Persona — coins coupés + hover sobre */
.persona {
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.persona::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, var(--saffron-soft) 0%, transparent 35%),
    radial-gradient(circle at bottom right, var(--purple-soft) 0%, transparent 35%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}
.persona:hover::before { opacity: 1; }
.persona:hover {
  background: var(--bg-elevated);
  border-color: var(--saffron);
  transform: translateY(-4px);
  box-shadow: var(--shadow-saffron);
}
.persona > * { position: relative; z-index: 1; }

/* Testimonials avec coin coupé (pas de hover envahissant) */
.testi-card {
  clip-path: polygon(0 12px, 12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

/* ============================================================
   OMBRES COLORÉES + INNER SHADOW — #16, #17
   ============================================================ */
.module:hover { box-shadow: var(--shadow-purple), inset 0 1px 0 rgba(167, 139, 250, 0.1); }
.testi-card { box-shadow: inset 0 1px 0 rgba(167, 139, 250, 0.05); }
.testi-card:hover { box-shadow: var(--shadow-purple), inset 0 1px 0 rgba(167, 139, 250, 0.15); }
.persona:hover { box-shadow: var(--shadow-saffron); }
.pricing-card { box-shadow: var(--shadow-purple), inset 0 1px 0 rgba(244, 180, 84, 0.1); }
.timeline-item:hover { box-shadow: 0 12px 32px -12px rgba(139, 92, 246, 0.35); }
.career-item { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5); }

/* ============================================================
   TIMELINE — COURBE EN S + NŒUDS SÉQUENTIELS + GRADIENT ANIMÉ — #18, #19, #20
   ============================================================ */
.timeline-track {
  position: relative;
}
.timeline-track::before { display: none; }
.timeline-curve {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
.timeline-curve path {
  fill: none;
  stroke: url(#timeline-grad);
  stroke-width: 2;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawCurve 3s ease-out forwards 0.5s;
}
@keyframes drawCurve {
  to { stroke-dashoffset: 0; }
}
.timeline-curve circle.flow-dot {
  fill: var(--saffron);
  filter: drop-shadow(0 0 6px var(--saffron-glow));
}
.timeline-item::before {
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateX(-50%) scale(0);
}
.timeline-item.lit::before {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
.timeline-item .timeline-num {
  position: absolute;
  top: -18px;
  right: 16px;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--purple-400);
  opacity: 0.3;
  letter-spacing: -0.04em;
  font-variation-settings: "wdth" 100, "opsz" 144;
  z-index: 1;
}

/* ============================================================
   STATS — COMPTEUR ANIMÉ + SPARKLINES + GIGANTISME — #21, #22, #23
   ============================================================ */
.stat-num {
  display: inline-block;
}
.stat-num[data-target] {
  position: relative;
}
.stat-sparkline {
  margin-top: 14px;
  height: 24px;
  width: 80%;
  opacity: 0.4;
}
.stat-sparkline path {
  fill: none;
  stroke: var(--saffron);
  stroke-width: 1.5;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 1.5s ease-out;
}
.stat.visible .stat-sparkline path {
  stroke-dashoffset: 0;
}

/* ============================================================
   SECTION CLAIRE — BORDURES ASYMÉTRIQUES + ÉCHOS + MARGES NOTES — #24, #25, #26
   ============================================================ */
.outcome {
  clip-path: polygon(0 0, calc(100% - 60px) 0, 100% 60px, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
  position: relative;
}
.outcome::after {
  content: "";
  position: absolute;
  top: 30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background:
    radial-gradient(circle, rgba(244, 180, 84, 0.06) 0%, transparent 70%),
    radial-gradient(circle at 40% 60%, rgba(139, 92, 246, 0.05) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.margin-note {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  opacity: 0.5;
  pointer-events: none;
  line-height: 1.5;
  z-index: 0;
}
.margin-note.left { left: 20px; }
.margin-note.right { right: 20px; text-align: right; }
.margin-note::before { content: "/* "; opacity: 0.6; }
.margin-note::after { content: " */"; opacity: 0.6; }
section.outcome .margin-note { color: #14101F; opacity: 0.35; }
@media (max-width: 1200px) { .margin-note { display: none; } }

/* ============================================================
   COORDONNÉES DE SECTION + LÉGENDES ASCII — #31, #32
   ============================================================ */
.section-coord {
  position: absolute;
  top: 28px;
  left: var(--gutter);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  opacity: 0.5;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 1;
}
.section-coord::before {
  content: "[ ";
  color: var(--saffron);
  opacity: 0.7;
}
.section-coord::after {
  content: " ]";
  color: var(--saffron);
  opacity: 0.7;
}
section.outcome .section-coord { color: #14101F; opacity: 0.4; }

.fig-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  opacity: 0.45;
  text-transform: uppercase;
  pointer-events: none;
}
.fig-label::before {
  content: "// ";
  color: var(--saffron);
  opacity: 0.7;
}

/* ============================================================
   BOUTONS MAGNETIC + HOVER GLOW — #15
   ============================================================ */
.btn, .nav-cta {
  transition: transform 0.15s ease-out, box-shadow 0.3s ease, background 0.3s ease;
}

/* ============================================================
   ANIMATION TYPEWRITER HERO — #38
   ============================================================ */
.typewriter {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--saffron);
  vertical-align: bottom;
  animation: typeBlink 0.8s steps(1) infinite;
  max-width: 100%;
}
@keyframes typeBlink {
  50% { border-right-color: transparent; }
}

/* ============================================================
   LOGO GLITCH RGB SPLIT — #39
   ============================================================ */
.glitch-on {
  animation: glitchRGB 0.3s linear;
}
@keyframes glitchRGB {
  0%, 100% {
    text-shadow: none;
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 0);
    filter: drop-shadow(2px 0 0 #FF0080) drop-shadow(-2px 0 0 #00E5FF);
  }
  40% {
    transform: translate(2px, 0);
    filter: drop-shadow(-2px 0 0 #FF0080) drop-shadow(2px 0 0 #00E5FF);
  }
  60% {
    transform: translate(0, -1px);
    filter: drop-shadow(0 -2px 0 #FF0080) drop-shadow(0 2px 0 #00E5FF);
  }
  80% {
    transform: translate(-1px, 1px);
    filter: drop-shadow(1px 0 0 #FF0080) drop-shadow(-1px 0 0 #00E5FF);
  }
}

/* ============================================================
   PULSATION SYNCHRONISÉE DES DOTS — #40
   ============================================================ */
.dot, .module-dots span, .timeline-item::before, .city::before {
  animation-name: syncPulse;
  animation-duration: 2.5s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
@keyframes syncPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

/* ============================================================
   STAGGER REVEAL DES LISTES — #28
   ============================================================ */
.module-list li,
.thesis-features li,
.pricing-perk,
.persona-meta-row {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.visible .module-list li,
.visible .thesis-features li,
.visible .pricing-perk,
.visible .persona-meta-row,
.module.visible .module-list li,
.thesis-panel.visible .thesis-features li {
  opacity: 1;
  transform: translateY(0);
}
.visible .module-list li:nth-child(1) { transition-delay: 0.08s; }
.visible .module-list li:nth-child(2) { transition-delay: 0.14s; }
.visible .module-list li:nth-child(3) { transition-delay: 0.20s; }
.visible .module-list li:nth-child(4) { transition-delay: 0.26s; }
.visible .module-list li:nth-child(5) { transition-delay: 0.32s; }
.visible .module-list li:nth-child(6) { transition-delay: 0.38s; }
.visible .module-list li:nth-child(7) { transition-delay: 0.44s; }

/* ============================================================
   HOVER RÉVÈLE INFO — Module outcome (badge en bas, pas overlay) — #30
   ============================================================ */
.module .module-reveal {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.module:hover .module-reveal { opacity: 1; }
.module-reveal-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--saffron);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.module-reveal-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-soft);
  font-style: italic;
}

/* ============================================================
   ITALIC ALTERNATIF DANS LES TITRES — #10
   ============================================================ */
.title i, .hero-title i {
  font-style: italic;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--saffron);
}

/* ============================================================
   PARALLAX VISUAL HERO — #29
   ============================================================ */
.hero-visual {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* ============================================================
   STATS GIGANTISME (alternative) — #23
   ============================================================ */
.stat-num {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

/* ============================================================
   ACCENT CYAN PONCTUEL (touches IA spécifiques) — #35
   ============================================================ */
.cyan-accent { color: var(--cyan); }
.dot-cyan {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan-glow);
  vertical-align: middle;
  margin-right: 6px;
}
/* Une mention "live IA" cyan dans le hero */
.hero-tag .live-tag {
  color: var(--cyan);
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-right: 4px;
}

/* ============================================================
   MIX DE TAILLES DANS UN MÊME TITRE — #11
   ============================================================ */
.title-mix .small {
  font-size: 0.55em;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: block;
  color: var(--text-muted);
  font-weight: 500;
  font-family: var(--font-mono);
  margin-bottom: 16px;
}

/* ============================================================
   STATS — COMPOSANTS DÉTAILS
   ============================================================ */
.stat {
  position: relative;
}
.stat-num.counting::after {
  content: "_";
  color: var(--saffron);
  animation: blink 0.6s infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}
