/* ==========================================================================
   CEGEP STE FOI — Charte graphique & design system
   Identité originale, conçue pour ce projet (aucun élément visuel repris
   du thème d'origine). Palette institutionnelle, typographie geometric,
   composants sobres et responsive.
   ========================================================================== */

/* ------------------------------------------------------------------ Tokens */
:root {
  /* Couleurs de marque */
  --c-navy-900: #071e33;
  --c-navy-800: #0a2c48;
  --c-navy-700: #0e3f66;
  --c-blue-600: #1464a0;
  --c-blue-500: #1d7ac2;
  --c-blue-100: #e3f0fa;

  --c-amber-600: #d9822b;
  --c-amber-500: #f0a03e;
  --c-amber-300: #f8ce9a;
  --c-amber-100: #fdf1e0;

  --c-teal-600: #0d8d86;
  --c-teal-500: #14ada4;
  --c-teal-100: #e0f5f3;

  /* Neutres */
  --c-ink-900: #0d1b2a;
  --c-ink-700: #26374a;
  --c-ink-500: #56687c;
  --c-ink-300: #8d9cae;
  --c-line: #e4eaf1;
  --c-bg: #f6f8fb;
  --c-surface: #ffffff;
  --c-surface-alt: #eef3f8;

  /* Rôles */
  --color-brand: var(--c-navy-800);
  --color-brand-strong: var(--c-navy-900);
  --color-accent: var(--c-amber-500);
  --color-accent-strong: var(--c-amber-600);
  --color-secondary: var(--c-teal-500);
  --color-text: var(--c-ink-900);
  --color-muted: var(--c-ink-500);
  --color-line: var(--c-line);
  --color-bg: var(--c-bg);
  --color-surface: var(--c-surface);

  /* Typographie */
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-md: clamp(1.05rem, 0.4vw + 0.95rem, 1.15rem);
  --fs-lg: clamp(1.15rem, 0.5vw + 1.05rem, 1.35rem);
  --fs-xl: clamp(1.4rem, 1.1vw + 1.15rem, 1.9rem);
  --fs-2xl: clamp(1.75rem, 1.8vw + 1.35rem, 2.6rem);
  --fs-3xl: clamp(2.15rem, 3vw + 1.4rem, 3.6rem);
  --fs-4xl: clamp(2.5rem, 4.4vw + 1.4rem, 4.5rem);

  --lh-tight: 1.12;
  --lh-snug: 1.3;
  --lh-normal: 1.65;

  /* Espacements */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  --section-y: clamp(3.5rem, 7vw, 6.5rem);

  /* Formes */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  --container: 1200px;
  --container-narrow: 820px;
  --gutter: clamp(1.15rem, 4vw, 2.75rem);

  /* Ombres */
  --shadow-xs: 0 1px 2px rgba(13, 27, 42, 0.06);
  --shadow-sm: 0 2px 8px rgba(13, 27, 42, 0.07);
  --shadow-md: 0 10px 28px -10px rgba(13, 27, 42, 0.18);
  --shadow-lg: 0 24px 56px -22px rgba(7, 30, 51, 0.34);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.28s;
}

/* ------------------------------------------------------------------ Reset */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-blue-600); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--c-navy-700); }
ul, ol { padding-left: 1.15rem; }
button { font: inherit; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--c-navy-900);
  line-height: var(--lh-tight);
  margin: 0 0 var(--sp-4);
  font-weight: 700;
  letter-spacing: -0.015em;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }
hr { border: 0; border-top: 1px solid var(--color-line); margin: var(--sp-6) 0; }
::selection { background: var(--c-amber-300); color: var(--c-navy-900); }

/* ------------------------------------------------------------------ Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: 1360px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--alt { background: var(--c-surface-alt); }
.section--brand { background: var(--c-navy-800); color: #dbe6f0; }
.section--brand h2, .section--brand h3 { color: #fff; }

.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack { display: flex; flex-direction: column; gap: var(--sp-4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.text-center { text-align: center; }
.muted { color: var(--color-muted); }
.lead { font-size: var(--fs-md); color: var(--color-muted); }
.hide-sm { display: initial; }

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .hide-sm { display: none; }
}

/* ------------------------------------------------------------------ Header */
.topbar {
  background: var(--c-navy-900);
  color: #b9cadb;
  font-size: var(--fs-xs);
  padding-block: 0.55rem;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
}
.topbar__list { display: flex; flex-wrap: wrap; gap: var(--sp-5); margin: 0; padding: 0; list-style: none; }
.topbar__list li { display: flex; align-items: center; gap: 0.4rem; }
.topbar a { color: #dbe6f0; }
.topbar a:hover { color: var(--c-amber-300); }
.topbar__social { display: flex; gap: 0.6rem; }
.topbar__social a { display: grid; place-items: center; width: 26px; height: 26px; border-radius: var(--r-pill); background: rgba(255,255,255,0.09); }
.topbar__social a:hover { background: var(--c-amber-500); color: var(--c-navy-900); }

.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-line);
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5);
  min-height: 78px;
}
.header__brand { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.header__brand img { max-height: 52px; width: auto; }
.header__brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.header__brand-text strong {
  font-family: var(--font-display); font-size: 1.02rem; color: var(--c-navy-800); letter-spacing: -0.01em;
}
.header__brand-text span { font-size: 0.72rem; color: var(--c-ink-500); text-transform: uppercase; letter-spacing: 0.08em; }

/* Navigation */
.nav { display: flex; align-items: center; gap: var(--sp-2); }
.nav__list { display: flex; align-items: center; gap: 0.15rem; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.55rem 0.7rem; border-radius: var(--r-md);
  font-size: var(--fs-sm); font-weight: 500; color: var(--c-ink-700);
  white-space: nowrap;
}
.nav__link:hover, .nav__item.is-open > .nav__link { background: var(--c-blue-100); color: var(--c-navy-800); }
.nav__link.is-active { color: var(--c-blue-600); font-weight: 600; }
.nav__caret { width: 10px; height: 10px; transition: transform var(--dur) var(--ease); opacity: 0.6; }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

.nav__dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 40;
  min-width: 268px; padding: 0.55rem;
  background: var(--c-surface); border: 1px solid var(--color-line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.nav__item:hover > .nav__dropdown,
.nav__item.is-open > .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown a {
  display: block; padding: 0.55rem 0.7rem; border-radius: var(--r-md);
  font-size: var(--fs-sm); color: var(--c-ink-700);
}
.nav__dropdown a:hover { background: var(--c-surface-alt); color: var(--c-navy-800); }
.nav__dropdown .nav__dropdown { top: -8px; left: calc(100% + 4px); }
.nav__subitem { position: relative; }
.nav__subitem > .nav__link::after {
  content: ""; position: absolute; right: 0.7rem; top: 50%; width: 6px; height: 6px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg); opacity: 0.5;
}

/* Bouton burger / tiroir mobile */
.burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--color-line);
  background: var(--c-surface); border-radius: var(--r-md); cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--c-navy-800); border-radius: 2px; position: relative; transition: var(--dur) var(--ease); }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--c-navy-800); border-radius: 2px; transition: var(--dur) var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger.is-active span { background: transparent; }
.burger.is-active span::before { top: 0; transform: rotate(45deg); }
.burger.is-active span::after { top: 0; transform: rotate(-45deg); }

.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(7, 30, 51, 0.5);
  opacity: 0; visibility: hidden; transition: var(--dur) var(--ease); z-index: 70;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; right: 0; z-index: 80;
  width: min(380px, 88vw); height: 100%;
  background: var(--c-surface); box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform var(--dur) var(--ease);
  display: flex; flex-direction: column;
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--color-line); }
.drawer__close { border: 0; background: transparent; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--c-ink-700); }
.drawer__body { flex: 1; overflow-y: auto; padding: var(--sp-4) var(--sp-5) var(--sp-8); }
.drawer__nav { list-style: none; margin: 0; padding: 0; }
.drawer__nav > li { border-bottom: 1px solid var(--color-line); }
.drawer__link {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding: 0.85rem 0; font-weight: 600; color: var(--c-navy-800);
}
.drawer__toggle {
  border: 0; background: var(--c-surface-alt); color: var(--c-ink-700);
  width: 30px; height: 30px; border-radius: var(--r-sm); cursor: pointer;
  display: grid; place-items: center; flex-shrink: 0;
}
.drawer__toggle svg { transition: transform var(--dur) var(--ease); }
.drawer__sub { display: none; list-style: none; margin: 0; padding: 0 0 var(--sp-3) 0.9rem; }
.drawer__sub.is-open { display: block; }
.drawer__sub a { display: block; padding: 0.5rem 0; color: var(--c-ink-500); font-size: var(--fs-sm); }
.drawer__sub a:hover { color: var(--c-navy-800); }
.drawer__foot { padding: var(--sp-4) var(--sp-5); border-top: 1px solid var(--color-line); }

@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
}
@media (min-width: 1101px) {
  .drawer, .drawer-backdrop { display: none; }
}

/* ------------------------------------------------------------------ Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.78rem 1.5rem;
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 600;
  cursor: pointer; text-align: center;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; }

.btn--primary { background: var(--c-amber-500); color: var(--c-navy-900); box-shadow: 0 8px 20px -10px rgba(240, 160, 62, 0.9); }
.btn--primary:hover { background: var(--c-amber-600); color: #fff; }
.btn--brand { background: var(--c-navy-800); color: #fff; }
.btn--brand:hover { background: var(--c-navy-900); color: #fff; }
.btn--ghost { background: transparent; color: var(--c-navy-800); border-color: var(--c-line); }
.btn--ghost:hover { border-color: var(--c-navy-800); background: var(--c-surface); }
.btn--light { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.28); backdrop-filter: blur(6px); }
.btn--light:hover { background: rgba(255,255,255,0.2); color: #fff; }
.btn--block { width: 100%; }
.btn--sm { padding: 0.55rem 1.1rem; font-size: var(--fs-xs); }

/* Lien fléché */
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); color: var(--c-blue-600);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------------ Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--c-navy-900), var(--c-navy-700));
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(7, 30, 51, 0.94) 8%, rgba(10, 44, 72, 0.82) 46%, rgba(14, 63, 102, 0.42) 100%);
}
.hero__inner {
  display: grid; gap: var(--sp-6);
  padding-block: clamp(3.5rem, 8vw, 7rem);
  min-height: clamp(420px, 58vh, 620px);
  align-content: center;
}
.hero__content { max-width: 700px; }
.hero--center .hero__inner { justify-items: center; text-align: center; }
.hero--center .hero__content { max-width: 820px; }
.hero h1 { color: #fff; margin-bottom: var(--sp-4); text-wrap: balance; }
.hero__lead { font-size: var(--fs-md); color: #d5e3ef; max-width: 58ch; }
.hero--center .hero__lead { margin-inline: auto; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }
.hero--center .hero__actions { justify-content: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-amber-300); margin-bottom: var(--sp-4);
}
.hero__eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--c-amber-500); border-radius: 2px; }
.hero__scroll {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.4); border-radius: var(--r-pill);
}
.hero__scroll::after {
  content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: var(--c-amber-500); border-radius: 2px; animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(14px); opacity: 0.35; } }

/* Fil d'Ariane */
.breadcrumb { font-size: var(--fs-xs); color: #b9cadb; margin-bottom: var(--sp-4); }
.breadcrumb a { color: #dbe6f0; }
.breadcrumb a:hover { color: var(--c-amber-300); }
.breadcrumb span { margin-inline: 0.5rem; opacity: 0.5; }

/* En-tête de page intérieure */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--c-navy-900), var(--c-navy-700));
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
}
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,160,62,0.22), transparent 68%);
}
.page-hero h1 { color: #fff; margin-bottom: 0; text-wrap: balance; }
.page-hero__lead { color: #d5e3ef; margin-top: var(--sp-3); max-width: 62ch; }
.page-hero .breadcrumb { color: #b9cadb; }

/* ------------------------------------------------------------------ En-têtes de section */
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__eyebrow {
  display: inline-block; font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-teal-600);
  margin-bottom: var(--sp-3);
}
.section-head h2 { margin-bottom: var(--sp-3); text-wrap: balance; }
.section-head p { color: var(--color-muted); font-size: var(--fs-md); margin: 0; }
.section--brand .section-head__eyebrow { color: var(--c-amber-300); }
.section--brand .section-head p { color: #b9cadb; }

/* ------------------------------------------------------------------ Cartes */
.card {
  display: flex; flex-direction: column;
  background: var(--c-surface); border: 1px solid var(--color-line);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-surface-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.card__title { font-size: var(--fs-lg); margin: 0; }
.card__title a { color: inherit; }
.card__title a:hover { color: var(--c-blue-600); }
.card__text { color: var(--color-muted); font-size: var(--fs-sm); margin: 0; flex: 1; }
.card__footer { margin-top: auto; }
.card__icon {
  width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--c-blue-100); color: var(--c-blue-600); margin-bottom: var(--sp-2);
}
.card__icon svg { width: 24px; height: 24px; }
.card--flat { border: 0; box-shadow: var(--shadow-sm); }
.card--feature { border-color: var(--c-blue-500); box-shadow: var(--shadow-md); }

/* Bloc texte + image */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media img { border-radius: var(--r-xl); box-shadow: var(--shadow-md); width: 100%; }
.split__body h2 { text-wrap: balance; }
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__media { order: 0; }
}

/* Liste à puces stylée */
.checklist { list-style: none; padding: 0; margin: 0 0 var(--sp-5); display: grid; gap: var(--sp-3); }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: var(--fs-sm); }
.checklist li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px;
  border-radius: 50%; background: var(--c-teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d8d86' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checklist--light li::before { background-color: rgba(255,255,255,0.14); }

/* Chiffres clés */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--color-line); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--c-surface); padding: var(--sp-6) var(--sp-5); text-align: center; }
.stat__value { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 800; color: var(--c-navy-800); line-height: 1.1; }
.stat__value sup { font-size: 0.5em; color: var(--c-amber-500); }
.stat__label { font-size: var(--fs-sm); color: var(--color-muted); margin-top: var(--sp-2); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Bandeau chiffres sur fond brand */
.stats--brand { background: rgba(255,255,255,0.12); }
.stats--brand .stat { background: transparent; }
.stats--brand .stat__value { color: #fff; }
.stats--brand .stat__label { color: #b9cadb; }

/* ------------------------------------------------------------------ Accordéon */
.accordion { display: grid; gap: var(--sp-3); }
.accordion__item { background: var(--c-surface); border: 1px solid var(--color-line); border-radius: var(--r-md); overflow: hidden; }
.accordion__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5); background: transparent; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-base); color: var(--c-navy-800);
}
.accordion__trigger:hover { background: var(--c-surface-alt); }
.accordion__icon { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--c-blue-100); color: var(--c-blue-600); display: grid; place-items: center; transition: transform var(--dur) var(--ease); }
.accordion__item.is-open .accordion__icon { transform: rotate(45deg); background: var(--c-amber-500); color: var(--c-navy-900); }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.accordion__item.is-open .accordion__panel { max-height: 1200px; }
.accordion__content { padding: 0 var(--sp-5) var(--sp-5); color: var(--c-ink-700); font-size: var(--fs-sm); }

/* ------------------------------------------------------------------ Galerie */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-3); }
.gallery__item {
  position: relative; display: block; overflow: hidden; border-radius: var(--r-md);
  background: var(--c-surface-alt); aspect-ratio: 1 / 1; cursor: zoom-in;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease), filter var(--dur) var(--ease); }
.gallery__item:hover img { transform: scale(1.07); filter: brightness(0.85); }
.gallery__item figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 1.6rem 0.9rem 0.75rem;
  background: linear-gradient(to top, rgba(7,30,51,0.9), transparent);
  color: #fff; font-size: var(--fs-xs); opacity: 0; transition: opacity var(--dur) var(--ease);
}
.gallery__item:hover figcaption { opacity: 1; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 90; display: none;
  background: rgba(5, 17, 28, 0.94); padding: clamp(1rem, 4vw, 3rem);
  align-items: center; justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: 100%; max-height: 84vh; border-radius: var(--r-md); object-fit: contain; }
.lightbox__caption { color: #cfe0ee; text-align: center; margin-top: var(--sp-3); font-size: var(--fs-sm); }
.lightbox__close, .lightbox__nav {
  position: absolute; border: 0; background: rgba(255,255,255,0.12); color: #fff;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  transition: background var(--dur) var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--c-amber-500); color: var(--c-navy-900); }
.lightbox__close { top: 1.2rem; right: 1.2rem; font-size: 1.5rem; }
.lightbox__nav--prev { left: 1.2rem; }
.lightbox__nav--next { right: 1.2rem; }

/* ------------------------------------------------------------------ Actualités */
.post-card { display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--color-line); border-radius: var(--r-lg); overflow: hidden; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-surface-alt); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-xs); color: var(--c-ink-300); }
.post-card__title { font-size: var(--fs-lg); margin: 0; }
.post-card__title a { color: inherit; }
.post-card__title a:hover { color: var(--c-blue-600); }
.post-card__excerpt { color: var(--color-muted); font-size: var(--fs-sm); margin: 0; flex: 1; }

.tag {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.25rem 0.7rem; border-radius: var(--r-pill);
  background: var(--c-teal-100); color: var(--c-teal-600);
  font-size: var(--fs-xs); font-weight: 600;
}
.tag--amber { background: var(--c-amber-100); color: var(--c-amber-600); }

/* ------------------------------------------------------------------ Bandeau CTA */
.cta {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: linear-gradient(120deg, var(--c-navy-900), var(--c-navy-700) 55%, var(--c-teal-600));
  color: #fff; padding: clamp(2.25rem, 5vw, 3.75rem);
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--sp-6); align-items: center;
}
.cta::after {
  content: ""; position: absolute; right: -60px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,160,62,0.28), transparent 70%);
}
.cta h2 { color: #fff; margin-bottom: var(--sp-3); }
.cta p { color: #cddbe8; margin: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: flex-end; position: relative; z-index: 1; }
@media (max-width: 860px) {
  .cta { grid-template-columns: minmax(0, 1fr); }
  .cta__actions { justify-content: flex-start; }
}

/* ------------------------------------------------------------------ Formulaire */
.form { display: grid; gap: var(--sp-4); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
@media (max-width: 620px) { .form__row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--c-ink-700); }
.field label .req { color: var(--c-amber-600); }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.75rem 1rem;
  border: 1px solid var(--c-line); border-radius: var(--r-md);
  font-family: var(--font-body); font-size: var(--fs-sm); color: var(--c-ink-900);
  background: var(--c-surface); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--c-blue-500); box-shadow: 0 0 0 3px rgba(29, 122, 194, 0.14);
}
.field textarea { min-height: 150px; resize: vertical; }
.field__hint { font-size: var(--fs-xs); color: var(--c-ink-300); }
.field__error { font-size: var(--fs-xs); color: #c0392b; }
.form__alert { padding: var(--sp-4); border-radius: var(--r-md); font-size: var(--fs-sm); }
.form__alert--success { background: var(--c-teal-100); color: var(--c-teal-600); }
.form__alert--error { background: #fdecea; color: #c0392b; }

/* ------------------------------------------------------------------ Tableaux */
.table-wrap { overflow-x: auto; border: 1px solid var(--color-line); border-radius: var(--r-lg); background: var(--c-surface); }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.table th, .table td { padding: 0.85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--color-line); }
.table th { background: var(--c-surface-alt); font-family: var(--font-display); color: var(--c-navy-800); font-weight: 600; white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: rgba(29, 122, 194, 0.04); }

/* ------------------------------------------------------------------ Contenu riche */
.rich { color: var(--c-ink-700); }
.rich h2 { margin-top: var(--sp-7); font-size: var(--fs-xl); }
.rich h3 { margin-top: var(--sp-6); font-size: var(--fs-lg); }
.rich ul, .rich ol { margin-bottom: var(--sp-4); }
.rich li { margin-bottom: 0.4rem; }
.rich img { border-radius: var(--r-md); margin-block: var(--sp-4); }
.rich a { text-decoration: underline; text-underline-offset: 3px; }
.rich blockquote {
  margin: var(--sp-5) 0; padding: var(--sp-4) var(--sp-5);
  border-left: 4px solid var(--c-amber-500); background: var(--c-surface);
  border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--c-ink-700);
}
.rich blockquote p:last-child { margin-bottom: 0; }
.rich iframe { width: 100%; border: 0; border-radius: var(--r-lg); min-height: 420px; }

/* ------------------------------------------------------------------ Pied de page */
.footer { background: var(--c-navy-900); color: #a9bdcf; padding-top: var(--sp-8); }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--sp-6);
  padding-bottom: var(--sp-7);
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }
.footer h4 {
  color: #fff; font-size: var(--fs-base); margin-bottom: var(--sp-4);
  font-family: var(--font-display);
}
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; font-size: var(--fs-sm); }
.footer__list a { color: #a9bdcf; }
.footer__list a:hover { color: var(--c-amber-300); }
.footer__brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: var(--sp-4); }
.footer__brand img { max-height: 46px; }
.footer__brand strong { color: #fff; font-family: var(--font-display); font-size: 1.05rem; display: block; }
.footer__text { font-size: var(--fs-sm); line-height: var(--lh-normal); }
.footer__contact { display: grid; gap: 0.7rem; font-size: var(--fs-sm); }
.footer__contact li { display: flex; gap: 0.6rem; align-items: flex-start; list-style: none; }
.footer__contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: var(--c-amber-500); }
.footer__social { display: flex; gap: 0.5rem; margin-top: var(--sp-4); }
.footer__social a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-md);
  background: rgba(255,255,255,0.08); color: #cddbe8; transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.footer__social a:hover { background: var(--c-amber-500); color: var(--c-navy-900); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-block: var(--sp-5);
  display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; justify-content: space-between;
  font-size: var(--fs-xs);
}
.footer__bottom a { color: #a9bdcf; }

/* ------------------------------------------------------------------ WhatsApp */
.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 55;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 26px -8px rgba(37, 211, 102, 0.75);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25d366; animation: waPulse 2.4s var(--ease) infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.5); opacity: 0; } }

/* ------------------------------------------------------------------ Divers */
.pill-nav { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.pill-nav a {
  padding: 0.45rem 1rem; border-radius: var(--r-pill); border: 1px solid var(--color-line);
  font-size: var(--fs-sm); color: var(--c-ink-700); background: var(--c-surface);
}
.pill-nav a:hover, .pill-nav a.is-active { background: var(--c-navy-800); border-color: var(--c-navy-800); color: #fff; }

.empty-state {
  text-align: center; padding: clamp(3rem, 8vw, 5.5rem) var(--gutter);
  background: var(--c-surface); border: 1px dashed var(--c-line); border-radius: var(--r-xl);
}
.empty-state h2 { margin-bottom: var(--sp-3); }
.empty-state p { color: var(--color-muted); max-width: 56ch; margin-inline: auto; }

.badge-notice {
  display: flex; gap: var(--sp-3); padding: var(--sp-4) var(--sp-5);
  background: var(--c-amber-100); border-left: 4px solid var(--c-amber-500);
  border-radius: 0 var(--r-md) var(--r-md) 0; font-size: var(--fs-sm); color: var(--c-ink-700);
}
.badge-notice svg { width: 20px; height: 20px; color: var(--c-amber-600); flex-shrink: 0; margin-top: 2px; }

/* Révélation au défilement : le contenu reste visible si JavaScript est
   indisponible (la classe « js » n'est ajoutée que par app.js). */
.reveal { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js .reveal { opacity: 0; transform: translateY(22px); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html.js .reveal, html.js .reveal.is-visible { opacity: 1; transform: none; }
}

/* ==========================================================================
   ACCUEIL — composition sur mesure
   ========================================================================== */

/* --- Hero pleine page --------------------------------------------------- */
.hero--home {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(560px, 82vh, 780px);
  display: flex; align-items: stretch;
  color: #fff;
}
.hero--home__bg { position: absolute; inset: 0; z-index: -3; }
.hero--home__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero--home::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(100deg, rgba(5, 20, 34, 0.96) 0%, rgba(7, 30, 51, 0.88) 38%, rgba(10, 44, 72, 0.55) 72%, rgba(20, 122, 194, 0.3) 100%),
    radial-gradient(circle at 82% 18%, rgba(240, 160, 62, 0.3), transparent 55%);
}
.hero--home__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  width: 100%; max-width: var(--container); margin-inline: auto;
  padding: clamp(3.5rem, 9vw, 7rem) var(--gutter) clamp(6rem, 11vw, 9rem);
}
.hero--home__content { max-width: 660px; }
.hero--home h1 {
  color: #fff; margin-bottom: var(--sp-5);
  font-size: clamp(2.4rem, 5.4vw, 4.3rem); line-height: 1.04; letter-spacing: -0.03em;
}
.hero--home h1 em { font-style: normal; color: var(--c-amber-500); }
.hero--home__lead { font-size: var(--fs-md); color: #cfdeeb; max-width: 56ch; }
.hero--home__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }

.hero--home__badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.4rem 0.95rem; margin-bottom: var(--sp-5);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-amber-300);
}
.hero--home__badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--c-amber-500);
  box-shadow: 0 0 0 4px rgba(240, 160, 62, 0.25);
}

/* Carte flottante « résultats » */
.hero--home__card {
  justify-self: end; align-self: end;
  width: min(330px, 100%);
  padding: var(--sp-5);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.6);
}
.hero--home__card-label {
  font-size: var(--fs-xs); letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--c-amber-300); font-weight: 700; margin-bottom: var(--sp-3);
}
.hero--home__card-value {
  font-family: var(--font-display); font-size: clamp(2.6rem, 4vw, 3.4rem);
  font-weight: 800; line-height: 1; color: #fff;
}
.hero--home__card-value span { font-size: 0.55em; color: var(--c-amber-500); }
.hero--home__card-text { color: #c3d3e1; font-size: var(--fs-sm); margin: var(--sp-3) 0 0; }
.hero--home__card-list { list-style: none; margin: var(--sp-4) 0 0; padding: 0; display: grid; gap: 0.5rem; }
.hero--home__card-list li { display: flex; gap: 0.55rem; align-items: center; font-size: var(--fs-xs); color: #dbe6f0; }
.hero--home__card-list li::before {
  content: ""; width: 16px; height: 16px; flex-shrink: 0; border-radius: 50%;
  background: rgba(20, 173, 164, 0.22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2340d6c9' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 9px no-repeat;
}

@media (max-width: 940px) {
  .hero--home__grid { grid-template-columns: minmax(0, 1fr); padding-bottom: clamp(4.5rem, 12vw, 7rem); }
  .hero--home__card { justify-self: start; }
}

/* --- Bandeau de réassurance (chevauchant le hero) ----------------------- */
.trust-strip {
  position: relative; z-index: 3;
  margin-top: -3.25rem;
  padding-inline: var(--gutter);
}
.trust-strip__inner {
  max-width: var(--container); margin-inline: auto;
  background: var(--c-surface); border: 1px solid var(--color-line);
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  padding: var(--sp-5) var(--sp-6);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4);
}
.trust-strip__item { display: flex; align-items: center; gap: 0.8rem; }
.trust-strip__icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--r-md);
  display: grid; place-items: center; background: var(--c-blue-100); color: var(--c-blue-600);
}
.trust-strip__icon svg { width: 21px; height: 21px; }
.trust-strip__item strong { display: block; font-family: var(--font-display); font-size: var(--fs-sm); color: var(--c-navy-800); }
.trust-strip__item span { font-size: var(--fs-xs); color: var(--color-muted); }
@media (max-width: 940px) { .trust-strip__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .trust-strip__inner { grid-template-columns: minmax(0, 1fr); } }

/* --- Chiffres clés sur fond marine ------------------------------------- */
.band-navy {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--c-navy-900), var(--c-navy-700));
  color: #dbe6f0;
}
.band-navy::before {
  content: ""; position: absolute; right: -140px; top: -160px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 160, 62, 0.2), transparent 68%);
}
.band-navy::after {
  content: ""; position: absolute; left: -120px; bottom: -180px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 173, 164, 0.2), transparent 68%);
}
.band-navy .container { position: relative; z-index: 1; }
.band-navy .section-head { max-width: 640px; }
.band-navy .section-head h2 { color: #fff; }
.band-navy .section-head p { color: #b9cadb; }
.band-navy .section-head__eyebrow { color: var(--c-amber-300); }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-5); }
.kpi {
  position: relative; padding: var(--sp-5) var(--sp-4);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  text-align: center;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.kpi:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.1); }
.kpi__value {
  font-family: var(--font-display); font-weight: 800; line-height: 1;
  font-size: clamp(2.1rem, 3.4vw, 3rem); color: #fff;
}
.kpi__value sup { font-size: 0.48em; color: var(--c-amber-500); top: -0.6em; }
.kpi__label { margin-top: var(--sp-3); font-size: var(--fs-sm); color: #b9cadb; }
@media (max-width: 860px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --- Trois engagements (grandes cartes numérotées) ---------------------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); }
.pillar {
  position: relative; overflow: hidden;
  background: var(--c-surface); border: 1px solid var(--color-line);
  border-radius: var(--r-xl); padding: var(--sp-6) var(--sp-5) var(--sp-5);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.pillar::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: linear-gradient(90deg, var(--c-amber-500), var(--c-teal-500));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.pillar:hover::before { transform: scaleX(1); }
.pillar__num {
  position: absolute; top: var(--sp-4); right: var(--sp-5);
  font-family: var(--font-display); font-size: 3.2rem; font-weight: 800;
  color: var(--c-surface-alt); line-height: 1;
}
.pillar__icon {
  width: 56px; height: 56px; border-radius: var(--r-lg); display: grid; place-items: center;
  background: linear-gradient(135deg, var(--c-navy-800), var(--c-blue-600));
  color: #fff; margin-bottom: var(--sp-4);
  box-shadow: 0 12px 26px -14px rgba(10, 44, 72, 0.9);
}
.pillar__icon svg { width: 26px; height: 26px; }
.pillar h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.pillar p { color: var(--color-muted); font-size: var(--fs-sm); margin: 0; }
.pillar .link-arrow { margin-top: var(--sp-4); color: var(--c-blue-600); }
@media (max-width: 940px) { .pillars { grid-template-columns: minmax(0, 1fr); } }

/* --- « L'établissement » : split + identité ---------------------------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__media { position: relative; }
.about__media img {
  width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3; object-fit: cover;
}
.about__media::before {
  content: ""; position: absolute; left: -18px; top: -18px; width: 120px; height: 120px;
  border: 3px solid var(--c-amber-500); border-radius: var(--r-lg); z-index: -1;
}
.about__badge {
  position: absolute; right: -12px; bottom: -22px;
  background: var(--c-navy-800); color: #fff;
  border-radius: var(--r-lg); padding: var(--sp-4) var(--sp-5);
  box-shadow: var(--shadow-lg); max-width: 240px;
}
.about__badge strong { display: block; font-family: var(--font-display); font-size: 2.1rem; line-height: 1; color: var(--c-amber-500); }
.about__badge span { font-size: var(--fs-xs); color: #b9cadb; }
.about__lead { font-size: var(--fs-md); color: var(--c-ink-700); }
.pillars-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-3); margin: var(--sp-6) 0; }
.pillars-list div {
  background: var(--c-surface); border: 1px solid var(--color-line); border-radius: var(--r-md);
  padding: var(--sp-4);
}
.pillars-list strong { display: block; font-family: var(--font-display); font-size: var(--fs-sm); color: var(--c-navy-800); margin-bottom: 0.2rem; }
.pillars-list span { font-size: var(--fs-xs); color: var(--color-muted); }
@media (max-width: 940px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .about__badge { position: static; margin-top: var(--sp-4); max-width: none; }
  .pillars-list { grid-template-columns: minmax(0, 1fr); }
}

/* --- Rubriques / filières : cartes photo surimprimées ------------------- */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); }
.path {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 380px; border-radius: var(--r-xl);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--sp-6);
  color: #fff; background: var(--c-navy-800);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.path:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.path__img { position: absolute; inset: 0; z-index: -2; }
.path__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.path:hover .path__img img { transform: scale(1.07); }
.path::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(5, 20, 34, 0.96) 6%, rgba(7, 30, 51, 0.72) 44%, rgba(7, 30, 51, 0.18) 100%);
}
.path__tag {
  align-self: flex-start; margin-bottom: var(--sp-4);
  padding: 0.28rem 0.8rem; border-radius: var(--r-pill);
  background: rgba(240, 160, 62, 0.92); color: var(--c-navy-900);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.path h3 { color: #fff; font-size: var(--fs-xl); margin-bottom: var(--sp-2); }
.path p { color: #cfdeeb; font-size: var(--fs-sm); margin: 0 0 var(--sp-4); }
.path .link-arrow { color: var(--c-amber-300); }
@media (max-width: 940px) { .paths { grid-template-columns: minmax(0, 1fr); } .path { min-height: 300px; } }

/* --- Galerie mosaïque --------------------------------------------------- */
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--sp-3); }
.mosaic__item { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--c-surface-alt); }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), filter var(--dur) var(--ease); }
.mosaic__item:hover img { transform: scale(1.06); filter: brightness(0.85); }
.mosaic__item figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 2rem 0.9rem 0.75rem;
  background: linear-gradient(to top, rgba(5, 20, 34, 0.92), transparent);
  color: #fff; font-size: var(--fs-xs);
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.mosaic__item:hover figcaption { opacity: 1; transform: none; }
.mosaic__item--tall { grid-row: span 2; aspect-ratio: 3 / 4; }
.mosaic__item--wide { grid-column: span 4; aspect-ratio: 4 / 3; }
.mosaic__item--square { grid-column: span 4; aspect-ratio: 1 / 1; }
@media (max-width: 900px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic__item--tall, .mosaic__item--wide, .mosaic__item--square { grid-column: span 1; grid-row: auto; aspect-ratio: 1 / 1; }
}

/* --- Actualités : une vedette + deux cartes ---------------------------- */
.news-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--sp-5); align-items: start; }
.news-feature {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: var(--c-navy-800); color: #fff; display: block;
  box-shadow: var(--shadow-md);
}
.news-feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.7s var(--ease); }
.news-feature:hover img { transform: scale(1.05); }
.news-feature__body { padding: var(--sp-6); }
.news-feature h3 { color: #fff; font-size: var(--fs-xl); margin-bottom: var(--sp-3); }
.news-feature p { color: #c3d3e1; font-size: var(--fs-sm); margin-bottom: var(--sp-4); }
.news-list { display: grid; gap: var(--sp-4); }
.news-item {
  display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: var(--sp-4);
  background: var(--c-surface); border: 1px solid var(--color-line); border-radius: var(--r-lg);
  padding: var(--sp-4); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.news-item:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.news-item img { width: 108px; height: 84px; object-fit: cover; border-radius: var(--r-sm); }
.news-item h4 { font-size: var(--fs-base); margin: 0 0 0.35rem; line-height: 1.35; }
.news-item h4 a { color: var(--c-navy-800); }
.news-item h4 a:hover { color: var(--c-blue-600); }
.news-item time { font-size: var(--fs-xs); color: var(--c-ink-300); }
@media (max-width: 940px) { .news-grid { grid-template-columns: minmax(0, 1fr); } }

/* --- Bandeau final : contact / WhatsApp -------------------------------- */
.final-cta {
  position: relative; overflow: hidden;
  background: linear-gradient(125deg, var(--c-navy-900) 12%, var(--c-navy-700) 58%, var(--c-teal-600) 100%);
  color: #fff;
}
.final-cta::after {
  content: ""; position: absolute; right: -90px; top: -90px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 160, 62, 0.28), transparent 68%);
}
.final-cta__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--sp-6); align-items: center;
}
.final-cta h2 { color: #fff; font-size: var(--fs-2xl); margin-bottom: var(--sp-3); }
.final-cta p { color: #cfdeeb; margin: 0; }
.final-cta__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.final-cta__contact { display: grid; gap: 0.7rem; }
.final-cta__contact a {
  display: flex; align-items: center; gap: 0.7rem; color: #e6eef6; font-size: var(--fs-sm);
}
.final-cta__contact a:hover { color: var(--c-amber-300); }
.final-cta__contact svg { width: 18px; height: 18px; color: var(--c-amber-500); flex-shrink: 0; }
@media (max-width: 860px) { .final-cta__grid { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   BIBLIOTHÈQUE DE COMPOSANTS — pages intérieures
   ========================================================================== */

/* --- En-tête de page enrichi ------------------------------------------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(circle at 88% 12%, rgba(240, 160, 62, 0.28), transparent 46%),
    radial-gradient(circle at 8% 96%, rgba(20, 173, 164, 0.26), transparent 52%),
    linear-gradient(135deg, var(--c-navy-900) 0%, var(--c-navy-800) 48%, var(--c-navy-700) 100%);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 90% 80% at 70% 20%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 70% 20%, #000 30%, transparent 78%);
}
.page-hero h1 {
  color: #fff; margin-bottom: 0; text-wrap: balance;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -0.025em;
}
.page-hero__lead { color: #d5e3ef; margin-top: var(--sp-4); max-width: 64ch; font-size: var(--fs-md); }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.9rem; margin-bottom: var(--sp-4);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--c-amber-300);
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 0.11em; text-transform: uppercase;
}
.page-hero__eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-amber-500);
  box-shadow: 0 0 0 4px rgba(240, 160, 62, 0.22);
}
.page-hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.page-hero__facts {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px;
  list-style: none; padding: 0; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-lg); overflow: hidden;
}
.page-hero__facts li {
  background: rgba(7, 30, 51, 0.42); backdrop-filter: blur(6px);
  padding: var(--sp-5);
}
.page-hero__facts strong {
  display: block; font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: #fff; line-height: 1.15;
}
.page-hero__facts span { display: block; font-size: var(--fs-xs); color: #b9cadb; margin-top: 0.35rem; }
.page-hero .breadcrumb { color: #b9cadb; margin-bottom: var(--sp-5); }

/* --- En-tête de section à deux colonnes --------------------------------- */
.section-head--split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-5) var(--sp-7); align-items: end; max-width: none;
}
.section-head--split > div:first-child { max-width: 22ch; }
.section-head--split .section-head__eyebrow { margin-bottom: var(--sp-3); }
.section-head--split p { margin: 0; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: minmax(0, 1fr); } }

/* --- Filet décoratif sous le titre de section -------------------------- */
.section-head__rule {
  width: 62px; height: 4px; border-radius: 4px; margin-top: var(--sp-4);
  background: linear-gradient(90deg, var(--c-amber-500), var(--c-teal-500));
}
.section-head--center .section-head__rule { margin-inline: auto; }

/* --- Étapes numérotées --------------------------------------------------- */
.steps { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); position: relative; }
.steps--numbered { counter-reset: step; }
.step {
  position: relative; background: var(--c-surface);
  border: 1px solid var(--color-line); border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.step__num {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: var(--sp-4);
  border-radius: 14px; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  color: var(--c-navy-900);
  background: linear-gradient(135deg, var(--c-amber-500), var(--c-amber-300));
  box-shadow: 0 8px 18px -10px rgba(240, 160, 62, 0.9);
}
.step h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.step p { color: var(--color-muted); font-size: var(--fs-sm); margin: 0; }
.step__icon {
  width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: var(--sp-4);
  border-radius: 14px; background: var(--c-blue-100); color: var(--c-blue-600);
}
.step__icon svg { width: 22px; height: 22px; }

/* --- Cartes à valeur (icône + texte) ------------------------------------ */
.value-card {
  position: relative; overflow: hidden;
  background: var(--c-surface); border: 1px solid var(--color-line); border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-5);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.value-card::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--c-blue-500), var(--c-teal-500));
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-card:hover::before { transform: scaleX(1); }
.value-card__icon {
  width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: var(--sp-4);
  border-radius: var(--r-md); background: linear-gradient(135deg, var(--c-blue-100), var(--c-teal-100));
  color: var(--c-navy-700);
}
.value-card__icon svg { width: 26px; height: 26px; }
.value-card h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.value-card p { color: var(--color-muted); font-size: var(--fs-sm); margin: 0; }

/* --- Documents téléchargeables ------------------------------------------ */
.doc-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.doc-card {
  position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr);
  gap: var(--sp-4); align-items: start;
  background: var(--c-surface); border: 1px solid var(--color-line); border-radius: var(--r-lg);
  padding: var(--sp-5);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.doc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.doc-card__icon {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--r-md);
  background: var(--c-amber-100); color: var(--c-amber-600);
}
.doc-card__icon svg { width: 24px; height: 24px; }
.doc-card h3 { font-size: var(--fs-base); margin-bottom: 0.35rem; line-height: 1.35; }
.doc-card p { color: var(--color-muted); font-size: var(--fs-sm); margin: 0 0 var(--sp-3); }
.doc-card__meta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: var(--fs-xs); font-weight: 700; color: var(--c-blue-600);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.doc-card__meta svg { width: 15px; height: 15px; }
.doc-card:hover .doc-card__meta svg { transform: translateX(3px); }

/* --- Encadré citation ---------------------------------------------------- */
.quote-panel {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--c-navy-900), var(--c-navy-700));
  color: #fff; border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 3.25rem);
}
.quote-panel::before {
  content: "\201C"; position: absolute; top: -0.35em; right: 0.16em;
  font-family: var(--font-display); font-size: 11rem; line-height: 1;
  color: rgba(255, 255, 255, 0.07);
}
.quote-panel__text {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-size: var(--fs-lg); line-height: 1.5;
  color: #fff; margin: 0;
}
.quote-panel__author { position: relative; z-index: 1; margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--c-amber-300); font-weight: 600; }

/* --- Encadré mise en avant (fond doux) ----------------------------------- */
.panel {
  background: var(--c-surface); border-radius: var(--r-xl);
  border: 1px solid var(--color-line);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.panel--amber { background: linear-gradient(140deg, var(--c-amber-100), #fff); border-color: transparent; }
.panel--teal { background: linear-gradient(140deg, var(--c-teal-100), #fff); border-color: transparent; }
.panel--navy { background: linear-gradient(140deg, var(--c-navy-900), var(--c-navy-700)); color: #dbe6f0; }
.panel--navy h2, .panel--navy h3 { color: #fff; }

/* --- Bloc image + texte enrichi ----------------------------------------- */
.showcase { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.showcase--reverse .showcase__media { order: -1; }
.showcase__media { position: relative; }
.showcase__media img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.showcase__badge {
  position: absolute; right: -12px; bottom: -18px;
  background: var(--c-navy-800); color: #fff;
  border-radius: var(--r-lg); padding: var(--sp-4) var(--sp-5);
  box-shadow: var(--shadow-lg); text-align: center;
}
.showcase__badge strong { display: block; font-family: var(--font-display); font-size: var(--fs-xl); color: #fff; line-height: 1; }
.showcase__badge span { font-size: var(--fs-xs); color: var(--c-amber-300); }
@media (max-width: 860px) {
  .showcase { grid-template-columns: minmax(0, 1fr); }
  .showcase--reverse .showcase__media { order: 0; }
  .showcase__badge { right: auto; left: var(--sp-4); bottom: -14px; }
}

/* --- Grille d'informations (contact, horaires, практи) ------------------ */
.info-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.info-card {
  display: grid; gap: var(--sp-3); padding: var(--sp-5);
  background: var(--c-surface); border: 1px solid var(--color-line); border-radius: var(--r-lg);
  border-top: 3px solid var(--c-blue-500);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-card__icon {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px;
  background: var(--c-blue-100); color: var(--c-blue-600);
}
.info-card__icon svg { width: 21px; height: 21px; }
.info-card h3 { font-size: var(--fs-base); margin: 0; }
.info-card p { color: var(--color-muted); font-size: var(--fs-sm); margin: 0; }
.info-card a { font-weight: 600; }

/* --- Liste de liens repayment (documents, liens utiles) ----------------- */
.link-list { display: grid; gap: var(--sp-3); }
.link-list a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  background: var(--c-surface); border: 1px solid var(--color-line);
  border-radius: var(--r-md); padding: var(--sp-4) var(--sp-5);
  color: var(--c-navy-800); font-weight: 600; font-size: var(--fs-sm);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.link-list a:hover { border-color: var(--c-amber-500); transform: translateX(4px); box-shadow: var(--shadow-sm); color: var(--c-navy-800); }
.link-list a svg { width: 18px; height: 18px; color: var(--c-amber-600); flex-shrink: 0; }

/* --- Bandeau de repères (bandeau coloré) -------------------------------- */
.fact-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px;
  background: var(--color-line); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--color-line);
}
.fact-strip__item { background: var(--c-surface); padding: var(--sp-5); }
.fact-strip__value {
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-xl);
  color: var(--c-navy-800); line-height: 1.1; display: block;
}
.fact-strip__label { font-size: var(--fs-xs); color: var(--color-muted); display: block; margin-top: 0.3rem; }

/* --- Étiquettes de navigation interne ------------------------------------ */
.chip-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.42rem 0.95rem; border-radius: var(--r-pill);
  background: var(--c-surface); border: 1px solid var(--color-line);
  font-size: var(--fs-sm); font-weight: 600; color: var(--c-ink-700);
}
.chip--amber { background: var(--c-amber-100); border-color: transparent; color: var(--c-amber-600); }
.chip--teal { background: var(--c-teal-100); border-color: transparent; color: var(--c-teal-600); }
.chip--navy { background: var(--c-navy-800); border-color: transparent; color: #fff; }

/* --- Pied de page : appel à l'action ------------------------------------ */
.footer { position: relative; }
.footer::before {
  content: ""; display: block; height: 4px;
  background: linear-gradient(90deg, var(--c-amber-500), var(--c-teal-500), var(--c-blue-500));
}
.footer__callout {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: var(--sp-6); align-items: center;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: var(--sp-8);
  border-radius: var(--r-xl);
  background: linear-gradient(130deg, rgba(240, 160, 62, 0.14), rgba(20, 173, 164, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__callout h2 { color: #fff; font-size: var(--fs-xl); margin-bottom: var(--sp-2); }
.footer__callout p { color: #b9cadb; margin: 0; font-size: var(--fs-sm); }
.footer__callout-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
@media (max-width: 860px) { .footer__callout { grid-template-columns: minmax(0, 1fr); } }

/* --- Accueil : accroche du héros ----------------------------------------- */
.hero--home__eyebrow {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--c-amber-300); margin-bottom: var(--sp-4);
}
.hero--home__eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--c-amber-500); }
.hero--home__tagline {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--fs-lg); color: var(--c-amber-300); margin: var(--sp-4) 0 0;
}
.hero--home__lead { margin-top: var(--sp-4); }

/* --- Accueil : grilles Engleagements / Raisons ---------------------------- */
.pillars--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .pillars--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 940px) { .pillars--4 { grid-template-columns: minmax(0, 1fr); } }

.mini-stats { display: flex; flex-wrap: wrap; gap: var(--sp-6); margin-top: var(--sp-6); }
.mini-stats__item { display: flex; align-items: baseline; gap: 0.5rem; }
.mini-stats__value {
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-2xl);
  line-height: 1; color: var(--c-navy-800);
}
.mini-stats__label { font-size: var(--fs-sm); color: var(--color-muted); }

/* --- Accueil : témoignages des parents ------------------------------------ */
.testimonials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); }
@media (max-width: 1080px) { .testimonials { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .testimonials { grid-template-columns: minmax(0, 1fr); } }
.testimonial {
  position: relative; display: flex; flex-direction: column; gap: var(--sp-4);
  background: var(--c-surface); border: 1px solid var(--color-line); border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.testimonial:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.testimonial__subject {
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--c-teal-600);
}
.testimonial__text {
  font-size: var(--fs-sm); color: var(--c-ink-700); margin: 0; flex: 1;
  font-style: italic;
}
.testimonial__author { display: flex; align-items: center; gap: var(--sp-3); padding-top: var(--sp-4); border-top: 1px solid var(--color-line); }
.testimonial__avatar {
  width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: 50%; font-family: var(--font-display); font-weight: 800; font-size: var(--fs-sm);
  color: #fff; background: linear-gradient(140deg, var(--c-navy-700), var(--c-teal-600));
}
.testimonial__name { font-weight: 700; font-size: var(--fs-sm); color: var(--c-navy-800); line-height: 1.25; }
.testimonial__role { font-size: var(--fs-xs); color: var(--color-muted); }

/* --- Accueil : citations sur l'excellence --------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); }
@media (max-width: 1080px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .quotes { grid-template-columns: minmax(0, 1fr); } }
.quote-card {
  position: relative; overflow: hidden;
  background: var(--c-surface); border: 1px solid var(--color-line);
  border-left: 3px solid var(--c-amber-500); border-radius: var(--r-md);
  padding: var(--sp-5);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.quote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote-card__mark {
  position: absolute; top: 0.5rem; right: 1rem;
  font-family: var(--font-display); font-size: 3.2rem; line-height: 1;
  color: var(--c-amber-100);
}
.quote-card__text { position: relative; font-family: var(--font-display); font-size: var(--fs-base); line-height: 1.55; color: var(--c-navy-800); margin: 0; }

/* --- Fond teinté de section ------------------------------------------------ */
.section--tint { background: linear-gradient(180deg, var(--c-surface-alt), var(--color-bg)); }

/* ==========================================================================
   ACCUEIL — animations & finitions
   ========================================================================== */

/* --- Images de marque ----------------------------------------------------- */
.filiere-list { display: grid; gap: var(--sp-3); margin: var(--sp-5) 0; }
.filiere {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem var(--sp-4); align-items: center;
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-surface); border: 1px solid var(--color-line);
  border-left: 3px solid var(--c-teal-500); border-radius: var(--r-md);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.filiere:hover { transform: translateX(5px); box-shadow: var(--shadow-sm); border-left-color: var(--c-amber-500); }
.filiere__title { font-family: var(--font-display); font-weight: 700; color: var(--c-navy-800); font-size: var(--fs-sm); }
.filiere__text { grid-column: 1; color: var(--color-muted); font-size: var(--fs-xs); line-height: 1.5; }
.filiere svg { grid-row: 1 / span 2; width: 20px; height: 20px; color: var(--c-amber-600); }

/* --- Tracé du filet de section ------------------------------------------- */
.section-head__rule { animation: csf-rule 0.9s 0.15s var(--ease) both; }
@keyframes csf-rule {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* --- Animations du héros -------------------------------------------------- */
@keyframes csf-rise {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
@keyframes csf-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes csf-zoom {
  from { transform: scale(1.09); }
  to   { transform: scale(1); }
}
@keyframes csf-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes csf-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 160, 62, 0.5); }
  70%      { box-shadow: 0 0 0 14px rgba(240, 160, 62, 0); }
}
@keyframes csf-shine {
  from { transform: translateX(-120%); }
  to   { transform: translateX(220%); }
}

.hero--home__bg img { animation: csf-zoom 24s var(--ease) both; }
.hero--home__content > * { animation: csf-rise 0.95s var(--ease) both; }
.hero--home__content > *:nth-child(1) { animation-delay: 0.05s; }
.hero--home__content > *:nth-child(2) { animation-delay: 0.14s; }
.hero--home__content > *:nth-child(3) { animation-delay: 0.23s; }
.hero--home__content > *:nth-child(4) { animation-delay: 0.32s; }
.hero--home__content > *:nth-child(5) { animation-delay: 0.41s; }
.hero--home__card { animation: csf-rise 1s 0.5s var(--ease) both, csf-float 7s 1.6s ease-in-out infinite; }
.hero--home__eyebrow::before { animation: csf-pulse 2.6s ease-out infinite; }
.hero--home__actions .btn { transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease); }
.hero--home__actions .btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.hero--home__actions .btn--primary { position: relative; overflow: hidden; }
.hero--home__actions .btn--primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: csf-shine 4.5s 1.8s ease-in-out infinite;
}

/* --- Bandeau défilant (valeurs) ------------------------------------------ */
.marquee {
  position: relative; overflow: hidden;
  background: var(--c-navy-900);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--sp-4) 0;
}
.marquee::before,
.marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--c-navy-900), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--c-navy-900), transparent); }
.marquee__track {
  display: flex; align-items: center; gap: var(--sp-7);
  width: max-content; animation: csf-marquee 42s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes csf-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee__item {
  display: inline-flex; align-items: center; gap: 0.7rem;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap;
}
.marquee__item svg { width: 16px; height: 16px; color: var(--c-amber-500); flex-shrink: 0; }
.marquee__item--accent { color: var(--c-amber-300); }

/* --- Décalage d'apparition des grilles ------------------------------------ */
.pillars > .reveal:nth-child(2), .testimonials > .reveal:nth-child(2),
.quotes > .reveal:nth-child(2), .kpis > .reveal:nth-child(2) { transition-delay: 0.07s; }
.pillars > .reveal:nth-child(3), .testimonials > .reveal:nth-child(3),
.quotes > .reveal:nth-child(3), .kpis > .reveal:nth-child(3) { transition-delay: 0.14s; }
.pillars > .reveal:nth-child(4), .testimonials > .reveal:nth-child(4),
.quotes > .reveal:nth-child(4), .kpis > .reveal:nth-child(4) { transition-delay: 0.21s; }
.pillars > .reveal:nth-child(5), .testimonials > .reveal:nth-child(5),
.quotes > .reveal:nth-child(5), .kpis > .reveal:nth-child(5) { transition-delay: 0.28s; }

/* --- Finitions des cartes -------------------------------------------------- */
.pillar__icon, .value-card__icon, .step__icon, .info-card__icon {
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.pillar:hover .pillar__icon, .value-card:hover .value-card__icon,
.step:hover .step__icon, .info-card:hover .info-card__icon {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 18px 34px -18px rgba(10, 44, 72, 0.85);
}
.testimonial__avatar { transition: transform 0.45s var(--ease); }
.testimonial:hover .testimonial__avatar { transform: scale(1.08); }
.quote-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(240, 160, 62, 0.09) 50%, transparent 60%);
  transform: translateX(-120%); transition: transform 0.9s var(--ease);
}
.quote-card:hover::after { transform: translateX(120%); }
.showcase__media img { transition: transform 1s var(--ease), box-shadow 1s var(--ease); }
.showcase__media:hover img { transform: scale(1.03); }
.mini-stats__value { transition: color var(--dur) var(--ease); }
.mini-stats__item:hover .mini-stats__value { color: var(--c-amber-600); }

/* --- Respect des préférences de mouvement --------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero--home__bg img, .hero--home__content > *, .hero--home__card,
  .section-head__rule, .marquee__track, .hero--home__eyebrow::before,
  .hero--home__actions .btn--primary::after { animation: none !important; }
  .marquee__track { transform: none; }
}

/* Accessibilité */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--c-navy-900); color: #fff; padding: 0.75rem 1.25rem; border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus { left: 0; color: #fff; }
:focus-visible { outline: 3px solid var(--c-amber-500); outline-offset: 2px; border-radius: 4px; }
