/* ═══════════════════════════════════════════════════════════════════
   Site vitrine Alya — refonte 2026-09
   Palette « vert profond + feu » (mêmes couleurs que les deux applications),
   Manrope en titres XXL serrés, boutons à remplissage balayé, cartes qui se
   remplissent au survol, apparition en cascade, arcs du logo en fond,
   ombres profondes, mode sombre.
   ═══════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/manrope-6.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/manrope-5.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --fond: #fbfcfa;
  --fond-2: #f3f7ef;
  --surface: #ffffff;
  --texte: #171f12;
  --texte-2: #4a5545;
  --texte-3: #6d7869;
  --ligne: #e1e8dc;

  --v50: #f5f9f2;
  --v100: #e8f1e1;
  --v200: #d3e3c8;
  --v300: #bcd4ac;
  --v400: #abc698;
  --v500: #8aa872;
  --v600: #5a7743;
  --v700: #486036;

  --profond: #2f3d27;
  --profond-2: #3a4c2e;
  --profond-3: #243020;
  --profond-texte: #e8f1e1;
  --profond-doux: #bcd4ac;

  --feu: #b9491a;
  --feu-fonce: #8f3510;
  --feu-clair: #ffb57a;
  --feu-fond: #fdeee3;
  --sur-feu: #ffffff;

  --ombre: 0 24px 48px -16px rgba(47, 61, 39, 0.28), 0 6px 14px -6px rgba(47, 61, 39, 0.12);
  --ombre-forte: 0 34px 64px -18px rgba(47, 61, 39, 0.42), 0 10px 22px -8px rgba(47, 61, 39, 0.18);
  --rayon: 22px;
  --rayon-sm: 14px;
  --entete: 72px;
  color-scheme: light;
}

html.sombre {
  color-scheme: dark;
  --fond: #10150e;
  --fond-2: #151c13;
  --surface: #1a2217;
  --texte: #eef3ea;
  --texte-2: #c3cdbd;
  --texte-3: #98a492;
  --ligne: #2b3726;
  --v50: #1a2217;
  --v100: #222d1e;
  --v200: #2e3c28;
  --v300: #435739;
  --v600: #8db572;
  --v700: #a9c496;
  --profond: #1c2718;
  --profond-2: #2a3a23;
  --profond-3: #151d12;
  --feu: #ff9a5c;
  --feu-fonce: #ffb584;
  --feu-fond: #2f1c10;
  --sur-feu: #1f1208;
  --ombre: 0 24px 48px -16px rgba(0, 0, 0, 0.6);
  --ombre-forte: 0 34px 64px -18px rgba(0, 0, 0, 0.75);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--entete) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
video {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.1;
}
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
em {
  font-style: normal;
  color: var(--v600);
}
strong {
  color: var(--texte);
}
:focus-visible {
  outline: 3px solid var(--feu);
  outline-offset: 3px;
  border-radius: 6px;
}
.lisible {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.evitement {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--feu);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 800;
}
.evitement:focus {
  top: 12px;
}

.ico {
  width: 22px;
  height: 22px;
  flex: none;
}
.ico-sm {
  width: 17px;
  height: 17px;
}
.ico-xs {
  width: 13px;
  height: 13px;
}

.conteneur {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.conteneur-etroit {
  width: min(860px, 100% - 40px);
}

/* ── Typographie ─────────────────────────────────────────────────── */
.surtitre {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--feu);
}
.surtitre-clair {
  color: var(--feu-clair);
}
.titre-xxl {
  font-size: clamp(2.5rem, 5.4vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin-top: 14px;
}
.titre-geant {
  font-size: clamp(2.8rem, 7.6vw, 6.4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.93;
  margin-top: 16px;
}
.titre-section {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-top: 12px;
}
.titre-sous-section {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 10px;
}
.titre-clair {
  color: #fff;
}
.titre-clair em,
.hero-b em,
.hero-programme em {
  color: var(--v400);
}
.chapeau {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--texte-2);
  margin-top: 22px;
  max-width: 640px;
}
.chapeau-clair {
  color: var(--profond-doux);
}
.chapeau-clair strong {
  color: #fff;
}
.intro {
  color: var(--texte-2);
  margin-top: 16px;
  font-size: 1.05rem;
}
.intro-claire {
  color: var(--profond-doux);
}
.sous-titre {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--v600);
  margin-top: 4px;
}

/* ── Boutons : remplissage balayé ───────────────────────────────── */
.btn {
  --b-fond: var(--profond);
  --b-fond-survol: var(--profond-3);
  --b-texte: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 14px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
  color: var(--b-texte);
  background: linear-gradient(90deg, var(--b-fond-survol) 50%, var(--b-fond) 50%) right / 201% 100%;
  transition: background-position 0.4s cubic-bezier(0.65, 0, 0.35, 1), transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--ombre);
  white-space: nowrap;
}
.btn:hover,
.btn:focus-visible {
  background-position: left;
}
.btn:active {
  transform: translateY(1px);
}
.btn .ico {
  width: 19px;
  height: 19px;
  transition: transform 0.3s;
}
.btn:hover .ico {
  transform: translateX(3px);
}
.btn-feu {
  --b-fond: var(--feu);
  --b-fond-survol: var(--feu-fonce);
  --b-texte: var(--sur-feu);
}
.btn-balaye {
  --b-fond: var(--v600);
  --b-fond-survol: var(--profond);
}
html.sombre .btn-balaye {
  --b-texte: #10150e;
  --b-fond-survol: var(--v700);
}
.btn-clair {
  --b-fond: #fff;
  --b-fond-survol: var(--v200);
  --b-texte: var(--profond);
}
.btn-contour,
.btn-contour-clair {
  --b-fond: transparent;
  box-shadow: inset 0 0 0 2px var(--v300);
  --b-texte: var(--texte);
  background: linear-gradient(90deg, var(--v100) 50%, transparent 50%) right / 201% 100%;
}
.btn-contour-clair {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
  --b-texte: #fff;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16) 50%, transparent 50%) right / 201% 100%;
}
.btn-sm {
  padding: 9px 15px;
  font-size: 0.88rem;
  border-radius: 12px;
}
.btn-lg {
  padding: 16px 26px;
  font-size: 1.04rem;
}
.groupe-boutons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  align-items: center;
}
.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: var(--v600);
  text-decoration: none;
}
.lien-fleche .ico {
  transition: transform 0.25s;
}
.lien-fleche:hover .ico {
  transform: translateX(4px);
}

/* Liens soulignés animés */
.lien-anime {
  position: relative;
  text-decoration: none;
}
.lien-anime::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s;
}
.lien-anime:hover::after,
.lien-anime:focus-visible::after,
.lien-anime[aria-current]::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ── Barre de lecture, en-tête ──────────────────────────────────── */
.lecture {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  pointer-events: none;
}
.lecture span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--v400), var(--feu-clair));
  transform-origin: left;
  transform: scaleX(0);
}
.entete {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--profond);
  color: #fff;
  transition: box-shadow 0.3s;
}
.entete.defile {
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.45);
}
.entete-in {
  width: min(1280px, 100% - 32px);
  margin-inline: auto;
  height: var(--entete);
  display: flex;
  align-items: center;
  gap: 24px;
}
.marque {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}
.marque img {
  width: 38px;
  height: 34px;
  object-fit: contain;
}
.marque span {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.marque b {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.marque small {
  margin-top: 3px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--profond-doux);
}
.nav {
  display: flex;
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 600;
}
.nav a {
  color: var(--profond-doux);
  transition: color 0.2s;
}
.nav a:hover,
.nav a[aria-current] {
  color: #fff;
}
.entete nav {
  margin-inline: auto;
}
.entete-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lien-elearning {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--v400);
}
.bouton-theme,
.bouton-menu {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.bouton-theme:hover,
.bouton-menu:hover {
  background: rgba(255, 255, 255, 0.12);
}
.bouton-theme .soleil,
html.sombre .bouton-theme .lune {
  display: none;
}
html.sombre .bouton-theme .soleil {
  display: block;
}
.bouton-menu {
  display: none;
}

/* Menu plein écran (téléphone) */
.menu-plein {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--profond);
  color: #fff;
  padding: 90px 28px 32px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.menu-plein[hidden] {
  display: none;
}
.menu-plein ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.menu-plein li {
  opacity: 0;
  transform: translateY(14px);
  animation: menu-entree 0.45s forwards;
}
.menu-plein li:nth-child(n) {
  animation-delay: calc(var(--i, 0) * 50ms);
}
@keyframes menu-entree {
  to {
    opacity: 1;
    transform: none;
  }
}
.menu-plein ul a {
  display: block;
  padding: 8px 0;
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.menu-plein ul a:hover {
  color: var(--feu-clair);
}
.menu-fermer {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.menu-plein-pied {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.menu-tel {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--v400);
}

@media (max-width: 1180px) {
  .entete nav,
  .lien-elearning {
    display: none;
  }
  .bouton-menu {
    display: grid;
  }
  .entete-actions {
    margin-left: auto;
  }
}
@media (max-width: 520px) {
  .entete-actions .btn-sm {
    display: none;
  }
}

/* ── Arcs du logo (fonds) ───────────────────────────────────────── */
.arcs {
  position: absolute;
  pointer-events: none;
  color: var(--v600);
  opacity: 0.14;
  z-index: 0;
}
.arcs-clairs {
  color: #fff;
  opacity: 0.08;
}
.arcs-droite {
  width: 560px;
  right: -200px;
  top: -140px;
}
.arcs-gauche {
  width: 520px;
  left: -230px;
  bottom: -180px;
}
.arcs-hero {
  width: 760px;
  right: -260px;
  top: -220px;
}
.arcs-hero-b {
  width: 900px;
  right: -280px;
  top: -260px;
  color: #fff;
  opacity: 0.12;
}
.arcs-hero-c {
  width: 1100px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.arcs-appel {
  width: 700px;
  left: -240px;
  top: -260px;
  color: #fff;
  opacity: 0.1;
}
.arcs-visuel {
  width: 620px;
  right: -180px;
  top: -140px;
  color: #fff;
  opacity: 0.16;
}

/* ── Sections ───────────────────────────────────────────────────── */
.section {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 128px) 0;
  background: var(--fond);
}
.section-creme {
  background: var(--fond-2);
}
.section-profonde {
  background: var(--profond);
  color: var(--profond-texte);
}
.tete-section {
  max-width: 780px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}
.tete-section .intro {
  margin-inline: auto;
}
.tete-gauche {
  text-align: left;
  margin-left: 0;
  margin-bottom: 32px;
}
.grille-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grille-alignee {
  align-items: stretch;
}
@media (max-width: 960px) {
  .grille-3 {
    grid-template-columns: 1fr;
  }
}

/* ── Cartes : ombres profondes + fond qui se remplit ───────────── */
.carte {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--ombre);
}
.carte-remplie {
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s, border-color 0.35s, transform 0.35s, box-shadow 0.35s;
  text-decoration: none;
}
.carte-remplie::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--profond);
  transform: translateY(101%);
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}
@media (hover: hover) {
  .carte-remplie:hover {
    color: #fff;
    border-color: var(--profond);
    box-shadow: var(--ombre-forte);
    transform: translateY(-4px);
  }
  .carte-remplie:hover::before {
    transform: none;
  }
  .carte-remplie:hover p,
  .carte-remplie:hover li,
  .carte-remplie:hover small,
  .carte-remplie:hover .sous-titre {
    color: var(--profond-doux);
  }
  .carte-remplie:hover strong,
  .carte-remplie:hover h3,
  .carte-remplie:hover b {
    color: #fff;
  }
  .carte-remplie:hover .icone-carree {
    background: var(--feu);
    color: var(--sur-feu);
  }
  .carte-remplie:hover .ico-coche {
    color: var(--feu-clair);
  }
  .carte-remplie:hover .lien-fleche {
    color: var(--feu-clair);
  }
  .carte-remplie:hover .numero {
    color: rgba(255, 255, 255, 0.18);
  }
}
.carte h3 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Icônes : carré arrondi */
.icone-carree {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--v600);
  color: #fff;
  flex: none;
  transition: background 0.3s, color 0.3s;
}
html.sombre .icone-carree {
  color: #10150e;
}
.icone-xl {
  width: 64px;
  height: 64px;
  border-radius: 18px;
}
.icone-xl .ico {
  width: 30px;
  height: 30px;
}
.icone-claire {
  background: rgba(255, 255, 255, 0.1);
  color: var(--v400);
}

.coches {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 20px;
}
.coches li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--texte-2);
  font-size: 0.95rem;
  line-height: 1.45;
}
.ico-coche {
  width: 18px;
  height: 18px;
  color: var(--v600);
  margin-top: 2px;
  transition: color 0.3s;
}
.coches-claires li {
  color: var(--profond-doux);
}
.coches-claires .ico-coche {
  color: var(--feu-clair);
}

/* ── Apparition en cascade ──────────────────────────────────────── */
.js .cascade > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--rang, 0) * 110ms);
}
.js .cascade.visible > * {
  opacity: 1;
  transform: none;
}

/* ═══ HERO ═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
}
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 44px;
  margin: 40px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--ligne);
}
.stats div {
  display: flex;
  flex-direction: column-reverse;
}
.stats dd {
  margin: 0;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--v600);
  font-variant-numeric: tabular-nums;
}
.stats dt {
  font-size: 0.82rem;
  color: var(--texte-3);
  margin-top: 6px;
  max-width: 150px;
}
.stats-claires {
  border-color: rgba(255, 255, 255, 0.14);
  margin: 0;
  padding: 0;
  border: 0;
}
.stats-claires dd {
  color: #fff;
  font-size: 2.1rem;
}
.stats-claires dt {
  color: var(--profond-doux);
}

/* A — texte + cartes */
.hero-a {
  padding: clamp(48px, 8vw, 100px) 0 clamp(64px, 9vw, 110px);
  background: var(--fond);
}
.hero-a-grille {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero-a-cartes {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-carte {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
}
.hero-carte b {
  display: block;
  font-size: 1.1rem;
}
.hero-carte small {
  color: var(--texte-3);
  font-weight: 600;
}
.encart-pointille {
  display: flex;
  gap: 12px;
  border: 1.5px dashed var(--v300);
  border-radius: var(--rayon);
  padding: 18px 20px;
  color: var(--texte-2);
  font-size: 0.92rem;
}
.encart-pointille .ico {
  color: var(--v600);
  margin-top: 3px;
}
@media (max-width: 960px) {
  .hero-a-grille {
    grid-template-columns: 1fr;
  }
}

/* B — plein écran, vidéo en fond */
.hero-b {
  min-height: calc(100svh - var(--entete));
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--profond);
  color: #fff;
  padding: 80px 0 0;
}
.hero-b-video {
  position: absolute;
  inset: -40px;
  width: calc(100% + 80px);
  height: calc(100% + 80px);
  object-fit: cover;
  /* La vidéo est typographique : floutée et assombrie, elle devient une
     matière en mouvement et ne concurrence pas le titre. */
  filter: blur(14px) brightness(0.55) saturate(1.2);
}
.hero-b-voile {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(23, 31, 18, 0.55) 0%, rgba(23, 31, 18, 0.35) 40%, rgba(23, 31, 18, 0.9) 100%),
    linear-gradient(90deg, rgba(23, 31, 18, 0.75), transparent 70%);
}
.hero-b-contenu {
  padding-bottom: 60px;
}
.hero-b-contenu .titre-geant {
  max-width: 13ch;
}
.hero-b-bas {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(23, 31, 18, 0.55);
  backdrop-filter: blur(10px);
  padding: 22px 0;
  margin-top: auto;
}
.hero-b-bas-in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.pastilles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pastilles-centre {
  justify-content: center;
  margin-top: 28px;
}
.pastille-domaine {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  transition: background 0.25s;
}
.pastille-domaine:hover {
  background: rgba(255, 255, 255, 0.2);
}
.hero-c .pastille-domaine {
  background: var(--surface);
  border-color: var(--ligne);
  color: var(--texte);
  box-shadow: var(--ombre);
}
.hero-c .pastille-domaine .ico {
  color: var(--v600);
}
.hero-c .pastille-domaine:hover {
  background: var(--profond);
  color: #fff;
}
.indice-defiler {
  position: absolute;
  left: 50%;
  bottom: 120px;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  transform: translateX(-50%);
  z-index: 1;
  display: none;
}
.indice-defiler span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: #fff;
  transform: translateX(-50%);
  animation: defiler 1.8s infinite;
}
@keyframes defiler {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 14px);
  }
}
@media (min-width: 1100px) and (min-height: 820px) {
  .indice-defiler {
    display: block;
    right: 40px;
    left: auto;
  }
}

/* Bouton vidéo */
.btn-video {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  color: var(--texte);
  padding: 6px;
  margin-top: 22px;
}
.btn-video small {
  font-weight: 600;
  color: var(--texte-3);
}
.btn-video-clair,
.btn-video-clair small {
  color: #fff;
  margin-top: 0;
}
.rond-lecture {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--feu);
  color: var(--sur-feu);
  box-shadow: var(--ombre);
  transition: transform 0.25s;
}
.rond-lecture .ico {
  width: 20px;
  height: 20px;
  margin-left: 3px;
}
.btn-video:hover .rond-lecture,
.vignette-video:hover .rond-lecture {
  transform: scale(1.08);
}

/* C — titre XXL centré */
.hero-c {
  padding: clamp(80px, 12vw, 150px) 0;
  text-align: center;
  background: var(--fond);
}
.hero-c-in .chapeau {
  margin-inline: auto;
}
.hero-c .groupe-boutons {
  justify-content: center;
}
.hero-c .stats {
  justify-content: center;
  max-width: 760px;
  margin-inline: auto;
}
.hero-c .stats div {
  align-items: center;
}

/* D — texte + visuel */
.hero-d-grille {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(92svh - var(--entete));
}
.hero-d-texte {
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 72px);
  align-self: center;
  max-width: 720px;
  margin-left: auto;
}
.hero-d-visuel {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, #4d6b3a, var(--profond) 55%, var(--profond-3));
  border-radius: 0 0 0 48px;
}
.hero-d-citation {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 30%;
  color: #fff;
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
.hero-d-citation em {
  color: var(--feu-clair);
}
.flottant {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  color: var(--texte);
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: var(--ombre-forte);
  animation: flotte 6s ease-in-out infinite;
}
.flottant b {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--feu);
}
.flottant > span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--texte-2);
  max-width: 130px;
  line-height: 1.25;
}
.flottant .ico {
  color: var(--v600);
}
.flottant-1 {
  left: 10%;
  bottom: 16%;
}
.flottant-2 {
  right: 8%;
  bottom: 30%;
  animation-delay: -2s;
}
.flottant-3 {
  left: 14%;
  top: 12%;
  animation-delay: -4s;
}
@keyframes flotte {
  50% {
    transform: translateY(-12px);
  }
}
@media (max-width: 960px) {
  .hero-d-grille {
    grid-template-columns: 1fr;
  }
  .hero-d-texte {
    margin: 0;
  }
  .hero-d-visuel {
    min-height: 420px;
    border-radius: 36px 36px 0 0;
  }
}

/* ═══ VIDÉO ══════════════════════════════════════════════════════ */
.section-video {
  padding: 0 0 clamp(60px, 8vw, 100px);
  background: var(--fond);
}
.hero-b ~ .section-video,
html[data-hero="B"] .section-video {
  padding-top: clamp(60px, 8vw, 100px);
}
.vignette-video {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  border: 0;
  padding: 0;
  cursor: pointer;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--ombre-forte);
  background: var(--profond);
}
.vignette-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}
.vignette-video:hover img {
  transform: scale(1.04);
}
.vignette-voile {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(23, 31, 18, 0.75), transparent 60%);
}
.rond-lecture-xl {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92px;
  height: 92px;
  transform: translate(-50%, -50%);
}
.vignette-video:hover .rond-lecture-xl {
  transform: translate(-50%, -50%) scale(1.08);
}
.rond-lecture-xl .ico {
  width: 34px;
  height: 34px;
}
.pulse {
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(185, 73, 26, 0.55);
  }
  100% {
    box-shadow: 0 0 0 26px rgba(185, 73, 26, 0);
  }
}
.vignette-legende {
  position: absolute;
  left: clamp(20px, 4vw, 40px);
  bottom: clamp(18px, 3.5vw, 34px);
  text-align: left;
  color: #fff;
}
.vignette-legende b {
  display: block;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.vignette-legende small {
  color: var(--profond-doux);
  font-weight: 600;
}
@media (max-width: 640px) {
  /* L'image garde son format 16/9 (texte de l'affiche entier), la légende passe dessous. */
  .vignette-video {
    aspect-ratio: auto;
  }
  .vignette-video img {
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .vignette-voile {
    display: none;
  }
  .rond-lecture-xl {
    top: calc((100vw - 32px) * 9 / 32);
    width: 64px;
    height: 64px;
  }
  .vignette-legende {
    position: static;
    display: block;
    padding: 16px 20px 20px;
  }
}
.modale-video {
  border: 0;
  padding: 0;
  background: #000;
  width: min(1100px, 94vw);
  border-radius: 20px;
  overflow: visible;
}
.modale-video::backdrop {
  background: rgba(10, 14, 9, 0.85);
  backdrop-filter: blur(4px);
}
.modale-video video {
  width: 100%;
  border-radius: 20px;
}
.modale-fermer {
  position: absolute;
  top: -54px;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

/* ═══ DOMAINES : cartes qui se retournent ════════════════════════ */
.retournable {
  perspective: 1400px;
  min-height: 470px;
}
.retournable-in {
  position: relative;
  height: 100%;
  min-height: inherit;
  transition: transform 0.75s cubic-bezier(0.4, 0.1, 0.2, 1);
  transform-style: preserve-3d;
}
.retournable.retourne .retournable-in {
  transform: rotateY(180deg);
}
@media (hover: hover) {
  .retournable:hover .retournable-in {
    transform: rotateY(180deg);
  }
}
.face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--rayon);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--ombre);
}
.face-avant {
  background: var(--surface);
  border: 1px solid var(--ligne);
}
.face-avant h3 {
  margin-top: 28px;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.face-resume {
  color: var(--texte-2);
  margin-top: 16px;
}
.face-arriere {
  background: var(--profond);
  color: #fff;
  transform: rotateY(180deg);
  overflow: auto;
}
.face-arriere h3 {
  font-size: 1.3rem;
  font-weight: 800;
}
.face-arriere > p {
  color: var(--profond-doux);
  margin-top: 12px;
  font-size: 0.94rem;
}
.retourner {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 0;
  background: none;
  font-weight: 800;
  color: var(--v600);
  cursor: pointer;
  padding: 16px 0 0;
}
.face-arriere .retourner {
  color: var(--feu-clair);
}
.indice-survol {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--texte-3);
}
@media (prefers-reduced-motion: reduce) {
  .retournable-in {
    transition: none;
  }
}

/* ═══ PRESTATIONS ════════════════════════════════════════════════ */
.carte-prestation {
  display: flex;
  flex-direction: column;
}
.carte-prestation-tete {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.numero {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.8;
  color: var(--v200);
  transition: color 0.35s;
}
.carte-prestation > p {
  color: var(--texte-2);
  margin-top: 12px;
}
.carte-prestation .lien-fleche {
  margin-top: auto;
  padding-top: 26px;
}
.carte-coeur {
  border: 2px solid var(--v600);
}
.etiquette-coeur {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--feu);
  color: var(--sur-feu);
  padding: 5px 10px;
  border-radius: 999px;
  z-index: 1;
}
.carte-coeur .numero {
  display: none;
}

/* Schéma relié */
.schema {
  margin-bottom: 48px;
}
.schema-noeuds {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}
.schema-noeud {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: clamp(120px, 18vw, 200px);
  aspect-ratio: 1;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--v300);
  background: var(--surface);
  box-shadow: var(--ombre);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s, background 0.3s, border-color 0.3s, color 0.3s;
}
.schema-noeud b {
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  font-weight: 800;
}
.schema-noeud:hover {
  transform: translateY(-4px);
}
.schema-noeud.actif {
  background: var(--profond);
  border-color: var(--profond);
  color: #fff;
  transform: scale(1.06);
}
.schema-noeud.actif .icone-carree {
  background: var(--feu);
}
.schema-lien {
  flex: 1;
  max-width: 120px;
  min-width: 24px;
  height: 4px;
  border-radius: 4px;
  background: var(--v200);
  position: relative;
  overflow: hidden;
}
.schema-lien span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--feu), transparent);
  animation: courant 2.4s linear infinite;
}
@keyframes courant {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}
.schema-legende {
  text-align: center;
  margin-top: 20px;
  color: var(--texte-3);
  font-size: 0.9rem;
}
.schema-detail {
  max-width: 820px;
  margin: 28px auto 0;
}
.schema-panneau {
  background: var(--surface);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--ombre);
  animation: panneau 0.4s ease-out;
}
.schema-panneau h3 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.schema-panneau > p {
  color: var(--texte-2);
  margin-top: 12px;
}
.schema-panneau .btn {
  margin-top: 26px;
}
@keyframes panneau {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}
.schema-compact .schema-noeud {
  width: clamp(100px, 13vw, 150px);
}
@media (max-width: 560px) {
  .schema-noeud .icone-xl {
    width: 44px;
    height: 44px;
  }
}

/* ═══ FORMATIONS ═════════════════════════════════════════════════ */
.bloc-modalites {
  margin-bottom: clamp(64px, 9vw, 110px);
}
.carte-modalite > p {
  color: var(--texte-2);
  margin-top: 12px;
}
.carte-modalite h3 {
  margin-top: 22px;
}
.carte-modalite .btn {
  margin-top: 24px;
}
.tableau-comparatif {
  margin-top: 32px;
  overflow-x: auto;
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  background: var(--surface);
  border: 1px solid var(--ligne);
}
.tableau-comparatif table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}
.tableau-comparatif th,
.tableau-comparatif td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--ligne);
  text-align: center;
  font-size: 0.95rem;
}
.tableau-comparatif tbody th {
  text-align: left;
  font-weight: 700;
  color: var(--texte-2);
}
.tableau-comparatif thead th {
  font-weight: 800;
  font-size: 1rem;
  background: var(--fond-2);
}
.tableau-comparatif thead th .ico {
  vertical-align: -3px;
  color: var(--v600);
}
.tableau-comparatif .col-mise-en-avant {
  background: var(--profond);
  color: #fff;
}
.tableau-comparatif .col-mise-en-avant .ico {
  color: var(--feu-clair);
}
.tableau-comparatif tr:last-child th,
.tableau-comparatif tr:last-child td {
  border-bottom: 0;
}
.tableau-comparatif .oui {
  color: var(--v600);
}
.tableau-comparatif .non {
  color: var(--texte-3);
}
.tableau-comparatif .partiel {
  color: var(--feu);
  font-weight: 700;
}
.tableau-comparatif td:nth-child(3) {
  background: color-mix(in srgb, var(--v100) 60%, transparent);
}

.encart-info {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  padding: 20px 24px;
  border-radius: var(--rayon);
  background: var(--surface);
  border: 1px solid var(--ligne);
  color: var(--texte-2);
  font-size: 0.95rem;
}
.encart-info .ico {
  color: var(--v600);
  margin-top: 2px;
}
.encart-important {
  background: var(--feu-fond);
  border-color: color-mix(in srgb, var(--feu) 25%, transparent);
}
.encart-important .ico {
  color: var(--feu);
}

/* Filtres des programmes */
.filtres {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.filtres-ligne {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.filtres-titre {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--texte-3);
  width: 76px;
}
.filtre {
  border: 1.5px solid var(--ligne);
  background: var(--surface);
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.filtre:hover {
  border-color: var(--v400);
}
.filtre.actif {
  background: var(--profond);
  border-color: var(--profond);
  color: #fff;
}
.filtres-resultat {
  color: var(--texte-3);
  font-size: 0.88rem;
  margin-bottom: 22px;
}
.grille-programmes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.carte-programme {
  display: flex;
  flex-direction: column;
  transition: opacity 0.3s, transform 0.3s;
}
.carte-programme.masque {
  display: none;
}
.carte-programme.apparait {
  animation: panneau 0.45s ease-out;
}
.etiquette-programme {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--v600);
}
.carte-phare {
  border: 2px solid var(--feu);
}
.carte-phare .etiquette-programme {
  color: var(--feu);
}
.carte-programme-tete {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 16px 0 16px;
}
.carte-programme > p {
  color: var(--texte-2);
  font-size: 0.95rem;
}
.faits {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--ligne);
}
.faits li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.9rem;
  color: var(--texte-2);
}
.faits .ico {
  color: var(--v600);
}
.carte-programme-actions {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ═══ BANNIÈRE E-LEARNING ════════════════════════════════════════ */
.grille-elearning {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 960px) {
  .grille-elearning {
    grid-template-columns: 1fr;
  }
}
.maquette-lms {
  background: #fbfcfa;
  border-radius: 24px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  color: #171f12;
  transform: rotate(1.5deg);
}
.maquette-lms-barre {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: #e8f1e1;
}
.maquette-lms-barre span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bcd4ac;
}
.maquette-lms-corps {
  padding: 18px;
}
.maquette-bandeau {
  background: #2f3d27;
  color: #fff;
  border-radius: 16px;
  padding: 16px 18px;
}
.maquette-bandeau small {
  color: #ffb57a;
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 0.62rem;
}
.maquette-bandeau b {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.maquette-chiffres {
  display: flex;
  gap: 24px;
  margin-top: 8px;
  font-size: 0.72rem;
  color: #bcd4ac;
}
.maquette-chiffres i {
  display: block;
  font-style: normal;
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffb57a;
}
.maquette-chiffres span:nth-child(2) i {
  color: #fff;
}
.maquette-chemin {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.maquette-chemin li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 12px;
}
.maquette-chemin li span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex: none;
}
.maquette-chemin em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 800;
}
.maquette-chemin .ok span {
  background: #2f855a;
}
.maquette-chemin .ok em {
  color: #2f855a;
}
.maquette-chemin .courant {
  background: #fdeee3;
  border: 1.5px solid #b9491a;
}
.maquette-chemin .courant span {
  background: #b9491a;
  color: #fff;
}
.bouton-maquette {
  background: #b9491a;
  color: #fff;
  padding: 5px 9px;
  border-radius: 8px;
}
.maquette-chemin .verrou {
  color: #98a492;
}
.maquette-chemin .verrou span {
  background: #eef1eb;
}
.maquette-chemin .verrou em {
  color: #98a492;
}
.maquette-chemin .medaille span {
  background: #f2c14e;
  border-radius: 8px;
}

/* ═══ MÉTHODE : frise ════════════════════════════════════════════ */
.frise {
  position: relative;
}
.frise-ligne {
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 22px;
  height: 4px;
  border-radius: 4px;
  background: var(--ligne);
  overflow: hidden;
}
.frise-ligne span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--v500), var(--feu));
  transform-origin: left;
  transform: scaleX(var(--avance, 0));
  transition: transform 0.15s linear;
}
.frise-etapes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.etape {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.etape-point {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  background: var(--surface);
  border: 3px solid var(--ligne);
  color: var(--texte-3);
  transition: background 0.4s, border-color 0.4s, color 0.4s, transform 0.4s;
  position: relative;
  z-index: 1;
}
.etape.atteinte .etape-point {
  background: var(--feu);
  border-color: var(--feu);
  color: var(--sur-feu);
  transform: scale(1.08);
}
.etape .icone-carree {
  margin-top: 22px;
}
.etape .surtitre {
  margin-top: 16px;
}
.etape h3 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 6px;
}
.etape p:not(.surtitre) {
  color: var(--texte-2);
  font-size: 0.94rem;
  margin-top: 8px;
}
@media (max-width: 860px) {
  .frise-ligne {
    left: 23px;
    right: auto;
    top: 24px;
    bottom: 24px;
    width: 4px;
    height: auto;
  }
  .frise-ligne span {
    width: 100%;
    height: 100%;
    transform-origin: top;
    transform: scaleY(var(--avance, 0));
  }
  .frise-etapes {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .etape {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 20px;
    text-align: left;
    align-items: start;
  }
  .etape > :not(.etape-point) {
    grid-column: 2;
  }
  .etape .etape-point {
    grid-row: 1 / span 5;
  }
  .etape .icone-carree {
    display: none;
  }
  .etape .surtitre {
    margin-top: 10px;
  }
}

/* ═══ POURQUOI NOUS ══════════════════════════════════════════════ */
.pourquoi-grille {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.mission {
  margin-top: 18px;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}
.mission + .btn {
  margin-top: 30px;
}
.mission em {
  color: var(--feu-clair);
}
.atouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.atout {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--rayon);
  padding: 24px;
  transition: background 0.3s, transform 0.3s;
}
.atout:hover {
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-4px);
}
.atout h3 {
  margin-top: 18px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}
.atout p {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--profond-doux);
}
.bande-chiffres {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: clamp(48px, 7vw, 80px);
  padding-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
html[data-pourquoi="B"] .bande-chiffres {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}
.chiffre b {
  display: block;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--feu-clair);
  font-variant-numeric: tabular-nums;
}
.chiffre > span {
  display: block;
  margin-top: 10px;
  color: var(--profond-doux);
  font-weight: 600;
  font-size: 0.92rem;
}
@media (max-width: 960px) {
  .pourquoi-grille {
    grid-template-columns: 1fr;
  }
  .bande-chiffres {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .atouts {
    grid-template-columns: 1fr;
  }
}

/* ═══ LABELS ═════════════════════════════════════════════════════ */
.section-labels {
  background: var(--fond);
  padding: 44px 0;
  border-bottom: 1px solid var(--ligne);
}
.labels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.labels li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--rayon-sm);
  border: 1.5px solid var(--v200);
  background: var(--surface);
}
.labels .ico {
  color: var(--v600);
  width: 26px;
  height: 26px;
}
.labels b {
  display: block;
  font-size: 0.95rem;
}
.labels small {
  display: block;
  color: var(--texte-3);
  font-size: 0.8rem;
  line-height: 1.35;
  margin-top: 2px;
}
@media (max-width: 960px) {
  .labels {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .labels {
    grid-template-columns: 1fr;
  }
}

/* ═══ FAQ ════════════════════════════════════════════════════════ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon-sm);
  box-shadow: 0 8px 20px -14px rgba(47, 61, 39, 0.3);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 800;
  font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-signe {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--v100);
  color: var(--v600);
  flex: none;
  transition: transform 0.3s, background 0.3s, color 0.3s;
}
.faq-item[open] .faq-signe {
  transform: rotate(45deg);
  background: var(--feu);
  color: var(--sur-feu);
}
.faq-reponse {
  padding: 0 24px 22px;
  color: var(--texte-2);
}

/* ═══ CONTACT ════════════════════════════════════════════════════ */
.contact-grille {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}
.coordonnees {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 32px 0 24px;
}
.coord-carte {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  color: var(--texte);
}
.coord-carte small {
  display: block;
  font-weight: 700;
  color: var(--texte-3);
  font-size: 0.8rem;
}
.coord-carte b {
  font-size: 1.05rem;
  word-break: break-word;
}
.coord-carte em {
  display: block;
  font-size: 0.82rem;
  color: var(--texte-3);
  margin-top: 2px;
}
.fleche-coord {
  margin-left: auto;
  color: var(--v600);
}
.formulaire,
.formulaire-merci {
  background: var(--surface);
  border: 1px solid var(--ligne);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--ombre-forte);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.champs-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 560px) {
  .champs-2 {
    grid-template-columns: 1fr;
  }
}
.champ {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.champ span {
  font-size: 0.86rem;
  font-weight: 800;
}
.champ i,
.mention i {
  font-style: normal;
  color: var(--feu);
}
.champ input,
.champ select,
.champ textarea {
  font: inherit;
  font-size: 1rem;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--ligne);
  background: var(--fond);
  color: var(--texte);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--v600);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--v600) 18%, transparent);
}
.mention {
  font-size: 0.82rem;
  color: var(--texte-3);
}
.formulaire .btn {
  align-self: flex-start;
}
.formulaire-merci {
  align-items: flex-start;
}
.formulaire-merci[hidden] {
  display: none;
}
.formulaire-merci h3 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
@media (max-width: 960px) {
  .contact-grille {
    grid-template-columns: 1fr;
  }
}

/* ═══ APPEL FINAL & PIEDS ════════════════════════════════════════ */
.appel-final {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--profond-2), var(--profond));
  color: #fff;
  padding: clamp(80px, 11vw, 140px) 0;
  text-align: center;
}
.appel-final h2 {
  font-size: clamp(2.6rem, 6.6vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.95;
  margin-top: 14px;
}
.appel-final p:not(.surtitre) {
  color: var(--profond-doux);
  max-width: 560px;
  margin: 20px auto 0;
  font-size: 1.1rem;
}
.appel-final .groupe-boutons {
  justify-content: center;
}
.pied {
  position: relative;
  overflow: hidden;
  color: #d8e2d1;
  padding: 72px 0 36px;
}
.pied-sombre {
  background: #171f12;
}
.pied-profond {
  background: var(--profond);
  padding-bottom: 150px;
}
html[data-pied="BD"] .pied-profond {
  background: var(--profond-3);
}
.alya-geant {
  position: absolute;
  left: 50%;
  bottom: -0.2em;
  transform: translateX(-50%);
  font-size: clamp(8rem, 26vw, 24rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  white-space: nowrap;
}
.pied-grille {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
}
.pied p {
  margin-top: 18px;
  font-size: 0.93rem;
  color: #aab7a3;
  max-width: 380px;
}
.pied h3 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.pied ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.93rem;
}
.pied a {
  text-decoration: none;
}
.coord li {
  display: flex;
  gap: 10px;
  align-items: center;
}
.coord .ico {
  width: 17px;
  height: 17px;
  color: var(--v400);
}
.marque-claire {
  color: #fff;
}
.reseaux {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.reseaux a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.25s, color 0.25s;
}
.reseaux a:hover {
  background: var(--feu);
  color: #fff;
}
.pied-bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #98a492;
}
.pied-bas span:last-child {
  display: flex;
  gap: 20px;
}
@media (max-width: 860px) {
  .pied-grille {
    grid-template-columns: 1fr;
  }
}

/* ═══ BOUTONS FLOTTANTS ══════════════════════════════════════════ */
.appel-flottant {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--feu);
  color: var(--sur-feu);
  box-shadow: var(--ombre-forte);
  animation: pulse 2.4s infinite;
}
.appel-flottant .ico {
  width: 26px;
  height: 26px;
}
.haut-de-page {
  position: fixed;
  right: 28px;
  bottom: 94px;
  z-index: 40;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--ligne);
  box-shadow: var(--ombre);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.haut-de-page.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* ═══ PAGES FORMATION ════════════════════════════════════════════ */
.hero-programme {
  position: relative;
  overflow: hidden;
  background: var(--profond);
  color: #fff;
  padding: clamp(56px, 8vw, 110px) 0;
}
.hero-programme .titre-geant {
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  max-width: 16ch;
}
.retour {
  display: inline-block;
  color: var(--profond-doux);
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 18px;
}
.retour:hover {
  color: #fff;
}
.programme-grille {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.liste-modules {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.liste-modules li {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 16px 20px;
  border-radius: var(--rayon-sm);
  background: var(--surface);
  border: 1px solid var(--ligne);
  font-weight: 700;
  box-shadow: 0 10px 24px -18px rgba(47, 61, 39, 0.4);
}
.module-num {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--v300);
  width: 34px;
  flex: none;
}
.fiche-programme {
  margin-bottom: 18px;
}
.fiche-programme .faits {
  border-top: 0;
  padding-top: 0;
}
.faits-grands li {
  font-size: 0.98rem;
}
.fiche-programme .btn {
  margin-top: 22px;
}
.fiche-programme p {
  color: var(--texte-2);
  margin-top: 12px;
}
.grille-autres {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
@media (max-width: 960px) {
  .programme-grille {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
