/*
Theme Name:  MDG Child
Description: Thème enfant Mali Digital Generation — Site institutionnel + Concert Digital
Author:      Mali Digital Generation
Author URI:  https://malidigggen.ml
Template:    astra
Version:     3.9.0
Text Domain: mdg-child
*/

/* =============================================================
   1. VARIABLES — DESIGN SYSTEM MDG v2.0
   ============================================================= */
:root {
  /* Fonds */
  --dark:         #090909;
  --dark-2:       #0D0D0D;
  --dark-3:       #131313;
  --dark-4:       #1A1A1A;
  --dark-5:       #222222;

  /* Palette MDG */
  --mdg-red:      #D4372A;
  --mdg-green:    #5D9E35;
  --mdg-yellow:   #C8951A;
  --mdg-blue:     #2D4C9C;
  --mdg-blue-dark:#1E3578;
  --mdg-blue-dim: rgba(45, 76, 156, 0.15);

  /* Textes */
  --white:        #FFFFFF;
  --text-1:       #F2F2F2;
  --text-2:       #9A9A9A;
  --text-3:       #555555;

  /* Typographie */
  --font-head:    'Poppins', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;

  /* Animations */
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:     cubic-bezier(0.0, 0.0, 0.2, 1.0);
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--dark);
  color: var(--text-1);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Astra overrides */
.ast-container { max-width: 100% !important; padding: 0 !important; }
.site-header { display: none !important; }
.site-footer { display: none !important; }
.ast-above-header-wrap { display: none !important; }
.ast-below-header-wrap { display: none !important; }
#content { padding: 0 !important; }
.ast-separate-container .ast-article-post { padding: 0; }
.entry-content { margin: 0 !important; padding: 0 !important; }
.single .entry-header { display: none; }

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

/* =============================================================
   3. NAVIGATION
   ============================================================= */
.mdg-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 80px;
  padding: 0 5vw;
  display: flex;
  flex-direction: row;
  align-items: center;          /* tout centré sur le même axe */
  justify-content: space-between;
  /* Cadre bleu dégradé flou, opacité réduite — visible dès le chargement */
  background: linear-gradient(to bottom, rgba(45,76,156,0.24) 0%, rgba(30,53,120,0.16) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  overflow: visible;            /* logo peut déborder vers le haut */
  transition: background 0.3s var(--ease), border-color 0.3s;
  box-sizing: border-box;
}
.mdg-nav.scrolled {
  background: linear-gradient(to bottom, rgba(45,76,156,0.5) 0%, rgba(30,53,120,0.4) 100%);
  border-bottom-color: rgba(255,255,255,0.16);
}

/* ── Logo — déborde au-dessus du cadre ──────── */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  transition: opacity 0.2s;
  flex-shrink: 0;
  position: relative;
}
.nav-logo:hover { opacity: 0.82; }
.nav-logo img {
  height: 120px;           /* grand logo, centre aligné avec les liens */
  width: auto;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}
.nav-logo-text { display: none !important; }

/* ── Liens nav créatifs ───────────────────── */
.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;          /* même axe que la nav */
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  position: relative;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.3s;
  display: flex;
  align-items: center;
  line-height: 1;
  padding-bottom: 0;
  position: relative;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.current-menu-item { color: var(--white); }

/* ── Bouton "Rejoindre" créatif ──────────── */
.nav-cta {
  font-family: var(--font-head) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--white) !important;
  background: transparent !important;
  border: 1.5px solid rgba(255,255,255,0.55) !important;
  padding: 10px 24px !important;
  border-radius: 100px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;  /* texte centré dans le bouton */
  align-self: center !important;   /* bouton centré dans la nav */
  gap: 8px !important;
  transition: background 0.28s, border-color 0.28s, color 0.28s !important;
  position: relative !important;
  overflow: hidden !important;
}
/* Remplissage blanc au hover */
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s cubic-bezier(0.77, 0, 0.18, 1);
  z-index: 0;
}
.nav-cta:hover::before { transform: scaleX(1); }
.nav-cta:hover {
  color: var(--mdg-blue) !important;
  border-color: var(--white) !important;
}
.nav-cta span, .nav-cta:not(.has-icon) { position: relative; z-index: 1; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: var(--ease) 0.3s;
}

/* Drawer mobile */
.nav-drawer {
  position: fixed;
  top: 0; right: -100%;
  width: 80vw;
  max-width: 320px;
  height: 100vh;
  background: var(--dark-3);
  z-index: 999;
  padding: 100px 40px 40px;
  transition: right 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.nav-drawer.open { right: 0; }
.nav-drawer-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: none;
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.25s;
}
.nav-drawer-close:hover { background: var(--mdg-blue); transform: rotate(90deg); }
.nav-drawer a {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-2);
  transition: color 0.25s;
}
.nav-drawer a:hover { color: var(--white); }
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.nav-overlay.open { opacity: 1; pointer-events: all; }

/* =============================================================
   4. HERO
   ============================================================= */
.mdg-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  padding: 0 5vw 9vh;
  overflow: hidden;
}
/* Espace supplémentaire en bas quand le bandeau partenaires défile,
   pour ne pas chevaucher les CTA */
.mdg-hero.has-marquee { padding-bottom: calc(9vh + 70px); }

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
/* Desktop : vidéo 16:9 centrée, couvre toute la hauteur */
.hero-video-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Couvre toujours le conteneur, quelle que soit l'orientation */
  width: max(177.78vh, 100%);
  height: max(100vh, 56.25vw);
  min-width: 100%;
  min-height: 100%;
  /* scale(1.18) déborde volontairement du cadre visible (masqué par
     overflow:hidden sur .hero-video-wrap) pour découper le titre, le logo
     "Regarder sur YouTube" et autres mentions que YouTube affiche toujours,
     même avec controls=0 / modestbranding=1. */
  transform: translate(-50%, -50%) scale(1.18);
}

/* Mobile : la formule de .hero-video-wrap iframe ci-dessus (max(177.78vh,100%)
   / max(100vh,56.25vw)) couvre déjà correctement le portrait sans déformer
   le ratio 16:9 — pas besoin de surcharge spécifique pour la vidéo elle-même.
   On ajuste seulement la hauteur du hero (barre d'adresse mobile). */
@media (max-width: 768px) {
  .mdg-hero {
    min-height: 100svh;   /* small viewport height = sans barre navigateur */
    height: 100svh;
  }
  /* Vidéo masquée sur mobile — trop lourde et peu lisible sur petit écran.
     Remplacée par un dégradé premium animé (mêmes couleurs MDG). */
  .hero-video-wrap { display: none; }
  .mdg-hero {
    background: linear-gradient(160deg, #0d1224 0%, #14213e 35%, #1a2a52 60%, #0d1224 100%);
    background-size: 180% 180%;
    animation: heroGradientShift 14s ease-in-out infinite;
  }
}
@keyframes heroGradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(9,9,9,0.97) 0%, rgba(9,9,9,0.55) 40%, rgba(9,9,9,0.2) 70%, rgba(9,9,9,0.45) 100%),
    linear-gradient(to right, rgba(9,9,9,0.75) 0%, transparent 60%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
/* ── HERO TITRE + MOT ANIMÉ — traitement premium ─────────── */
.hero-title {
  font-family: var(--font-head);
  /* Plafonné à 64px : pensé pour ~1440px. Au-delà, le palier
     "grand écran" ci-dessous reprend la main pour continuer
     à grossir proportionnellement (voir media min-width:1600px) */
  font-size: clamp(36px, 5.2vw, 64px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
}

/* Conteneur du mot animé — 1 ligne, overflow masqué */
.hero-word-wrap {
  display: block;
  overflow: hidden;
  height: 1.06em;
  position: relative;
}

/* Track : 8 mots (4 + 4 clones).
   Animation avec PAUSE de ~1s + défilement rapide 0.4s par mot.
   Durée par mot = 1.4s → 4 mots = 5.6s
   On scrolle de 0 → -50% (les 4 premiers mots sur les 8)
   ─────────────────────────────────────────────
   Keyframes (% du total 5.6s) :
   Mot 1  hold  0% → 17.86%   : Y(0)
   Mot 1→2 scroll 17.86%→25%  : Y(-12.5%)
   Mot 2  hold  25%→42.86%    : Y(-12.5%)
   Mot 2→3 scroll 42.86%→50%  : Y(-25%)
   Mot 3  hold  50%→67.86%    : Y(-25%)
   Mot 3→4 scroll 67.86%→75%  : Y(-37.5%)
   Mot 4  hold  75%→92.86%    : Y(-37.5%)
   Mot 4→1 scroll 92.86%→100% : Y(-50%)  → reset invisible
*/
.hero-word-track {
  display: flex;
  flex-direction: column;
  animation: wordLoop 5.6s ease-in-out infinite;
  will-change: transform;
}

/* Mot animé — traitement premium : Playfair Display italique
   (police d'accent officielle de la charte MDG) + soulignement coloré */
.hero-word {
  /* Hauteur fixe identique pour tous les mots — sans ça chaque mot
     (glyphes différents en Playfair italique) a une hauteur intrinsèque
     légèrement différente, ce qui laisse dépasser le mot suivant/précédent
     en haut ou en bas du cadre pendant le défilement. */
  display: flex;
  align-items: center;
  height: 1.06em;
  overflow: hidden;
  gap: 18px;
  line-height: 1.06;
  white-space: nowrap;
}
.hero-word-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.005em;
  /* Léger relief — pas de glow, juste une profondeur subtile */
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
/* Barre colorée qui accompagne le mot — signature MDG */
.hero-word-bar {
  display: inline-block;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  align-self: center;
  flex-shrink: 0;
  opacity: 0.9;
}

@keyframes wordLoop {
  /* Mot 1 — pause */
  0%      { transform: translateY(0); }
  17.86%  { transform: translateY(0); }
  /* Mot 1 → Mot 2 — défilement */
  25%     { transform: translateY(-12.5%); }
  /* Mot 2 — pause */
  42.86%  { transform: translateY(-12.5%); }
  /* Mot 2 → Mot 3 — défilement */
  50%     { transform: translateY(-25%); }
  /* Mot 3 — pause */
  67.86%  { transform: translateY(-25%); }
  /* Mot 3 → Mot 4 — défilement */
  75%     { transform: translateY(-37.5%); }
  /* Mot 4 — pause */
  92.86%  { transform: translateY(-37.5%); }
  /* Mot 4 → Mot 1 (clone) — retour invisible */
  100%    { transform: translateY(-50%); }
}

.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 300;
  color: var(--text-2);
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* Pill événement */
.countdown-event-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 16px 7px 12px;
  background: rgba(45, 76, 156, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-left: 3px solid var(--mdg-red);
}
.countdown-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mdg-red);
  flex-shrink: 0;
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(212,55,42,0.4); }
  50% { opacity: 0.7; transform: scale(0.8); box-shadow: 0 0 0 5px rgba(212,55,42,0); }
}
.countdown-event-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mdg-yellow);
  white-space: nowrap;
}
.hero-countdown-block {
  margin-bottom: 48px;
}
/* Unités du countdown */
.hero-countdown {
  display: flex;
  align-items: center;
  gap: 0;
}
.countdown-unit {
  text-align: center;
  position: relative;
}
.countdown-flip {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 12px 18px;
  min-width: 72px;
  position: relative;
  overflow: hidden;
}
/* Ligne de séparation centrale (effet flip) */
.countdown-flip::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: rgba(0,0,0,0.35);
  pointer-events: none;
}
.countdown-num {
  font-family: var(--font-mono);
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 500;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.02em;
  display: block;
}
.countdown-label {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 8px;
  display: block;
}
/* Séparateur deux-points animé */
.countdown-colon {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding: 0 10px;
  margin-bottom: 22px;
}
.countdown-colon::before,
.countdown-colon::after {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mdg-blue);
  animation: blink-dot 1s step-start infinite;
}
@keyframes blink-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.15; }
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* ── Bouton "Rejoindre" — animations shimmer + ring ─────── */
.btn-hero-join {
  padding: 18px 36px;
  font-size: 14px;
  border-radius: 6px;
  box-shadow: 0 0 0 0 rgba(45, 76, 156, 0.5);
  animation: joinPulse 3s ease-out infinite;
  position: relative;
  overflow: hidden;
}
.btn-hero-join:hover {
  animation: none;
  box-shadow: 0 8px 30px rgba(45, 76, 156, 0.55);
}
@keyframes joinPulse {
  0%   { box-shadow: 0 0 0 0   rgba(45,76,156,0.55); }
  50%  { box-shadow: 0 0 0 14px rgba(45,76,156,0); }
  100% { box-shadow: 0 0 0 0   rgba(45,76,156,0); }
}
.btn-join-shimmer {
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.18) 50%, transparent 80%);
  animation: joinShimmer 3s ease-in-out infinite;
  pointer-events: none;
}
.btn-join-ring {
  position: absolute;
  inset: 0;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.4);
  animation: joinRing 3s ease-out infinite;
  pointer-events: none;
}
@keyframes joinShimmer {
  0%   { left: -100%; opacity: 0; }
  20%  { opacity: 1; }
  60%  { left: 140%; opacity: 0; }
  100% { left: 140%; opacity: 0; }
}
@keyframes joinRing {
  0%   { inset: 0;     opacity: 0.7; }
  100% { inset: -12px; opacity: 0; border-radius: 14px; }
}

/* ── Bouton "Réserver ma place" — Concert Digital ───────── */
.btn-concert-inscription {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  padding: 10px 18px;
  text-decoration: none;
  color: var(--white);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
  backdrop-filter: blur(8px);
}
.btn-concert-inscription:hover {
  background: rgba(212,168,53,0.15);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-1px);
}
.concert-insc-icon {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1;
}
.concert-insc-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}
.concert-insc-text small {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2px;
}
.concert-insc-text strong {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
}

/* ── Bouton "Rapport" — épuré, sans cadre ───────────────── */
.btn-rapport-plain {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  padding: 0;
  text-decoration: none;
  color: var(--text-2);
  cursor: pointer;
  transition: color 0.25s;
}
.btn-rapport-plain:hover { color: var(--white); }
.rapport-icon {
  display: flex;
  align-items: center;
  color: var(--mdg-yellow);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.btn-rapport-plain:hover .rapport-icon { transform: translateY(3px); }
.rapport-icon svg { width: 18px; height: 18px; }
.rapport-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}
.rapport-text small {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mdg-yellow);
  margin-bottom: 2px;
}
.rapport-text strong {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
}

/* ── Fondu noir en bas du hero ───────────────────────────── */
.hero-bottom-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 260px;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.97) 0%, rgba(0,0,0,0.55) 50%, transparent 100%);
  pointer-events: none;
}

/* ── Bandeau partenaires défilant — marquee infini ───────── */
.hero-marquee {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 22px 0 24px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.hero-marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: heroMarquee 20s linear infinite;
}
.hero-marquee:hover .hero-marquee-track { animation-play-state: paused; }
/* Le bandeau est dupliqué deux fois dans le HTML (voir section-hero.php) et
   boucle sur EXACTEMENT -50% : contrairement à -33.333% (approximation de
   1/3, jamais exacte en décimal), 50% est une fraction exacte — aucun risque
   de micro-décalage visible ("saut") au point de rebouclage. */
@keyframes heroMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.hero-marquee-track img {
  height: 46px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  border-radius: 6px;
  /* Grayscale doux — fonctionne aussi bien pour des logos transparents
     que pour des captures d'écran/photos, sans les rendre illisibles */
  filter: grayscale(0.85);
  opacity: 0.55;
  flex-shrink: 0;
  transition: opacity 0.25s, filter 0.25s;
}
.hero-marquee-track img:hover { opacity: 1; filter: grayscale(0); }
/* Placeholders fictifs — texte stylé en attendant les vrais logos CPT */
.hero-marquee-track .hero-marquee-placeholder {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  flex-shrink: 0;
  white-space: nowrap;
  transition: color 0.25s;
}
.hero-marquee-track .hero-marquee-placeholder:hover { color: rgba(255,255,255,0.75); }

/* =============================================================
   5. BOUTONS
   ============================================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--mdg-blue);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.25s, transform 0.2s;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover { background: var(--mdg-blue-dark); color: var(--white); transform: translateY(-1px); }

/* ── BOUTON HERO "REJOINDRE" — Animations ──── */
.btn-hero-join {
  padding: 18px 36px;
  font-size: 14px;
  border-radius: 6px;
  /* Lueur bleue de fond */
  box-shadow: 0 0 0 0 rgba(45, 76, 156, 0.5);
  animation: joinPulse 3s ease-out infinite;
}
.btn-hero-join:hover {
  animation: none;
  box-shadow: 0 8px 30px rgba(45, 76, 156, 0.55);
}

/* Effet shimmer (reflet lumineux qui traverse) */
.btn-join-shimmer {
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255,255,255,0.18) 50%,
    transparent 80%
  );
  animation: joinShimmer 3s ease-in-out infinite;
  pointer-events: none;
  border-radius: inherit;
}

/* Anneau qui se dilate depuis le bouton */
.btn-join-ring {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  border: 2px solid rgba(45, 76, 156, 0.7);
  animation: joinRing 3s ease-out infinite;
  pointer-events: none;
}

@keyframes joinPulse {
  0%   { box-shadow: 0 0 0 0   rgba(45,76,156,0.55); }
  50%  { box-shadow: 0 0 0 14px rgba(45,76,156,0); }
  100% { box-shadow: 0 0 0 0   rgba(45,76,156,0); }
}
@keyframes joinShimmer {
  0%   { left: -100%; opacity: 0; }
  20%  { opacity: 1; }
  60%  { left: 140%; opacity: 0; }
  100% { left: 140%; opacity: 0; }
}
@keyframes joinRing {
  0%   { inset: 0;     opacity: 0.7; }
  100% { inset: -12px; opacity: 0; border-radius: 14px; }
}

/* ── BOUTON RAPPORT — Sans cadre, épuré ─────── */
.btn-rapport-plain {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  padding: 0;
  text-decoration: none;
  color: var(--text-2);
  cursor: pointer;
  transition: color 0.25s;
}
.btn-rapport-plain:hover { color: var(--white); }
.rapport-icon {
  display: flex;
  align-items: center;
  color: var(--mdg-yellow);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.btn-rapport-plain:hover .rapport-icon { transform: translateY(3px); }
.rapport-icon svg { width: 18px; height: 18px; }
.rapport-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}
.rapport-text small {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mdg-yellow);
  margin-bottom: 2px;
}
.rapport-text strong {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text-2);
  padding: 16px 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.25s;
  cursor: pointer;
}
.btn-ghost:hover { color: var(--white); }
.btn-ghost svg { transition: transform 0.25s; }
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-1);
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s;
  cursor: pointer;
  position: relative;
}
.btn-outline::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--text-3);
  transition: background 0.25s;
}
.btn-outline:hover { color: var(--white); }
.btn-outline:hover::after { background: var(--white); }

/* =============================================================
   6. SECTIONS — BASE
   ============================================================= */
.mdg-section { padding: 120px 5vw; }
.mdg-section-alt { background: var(--dark-2); }
.mdg-section-alt2 { background: var(--dark-3); }

.section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
}
.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--text-2);
}
.section-subtitle {
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 600px;
}

/* Reveals */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =============================================================
   7. MANIFESTE — Layout éditorial asymétrique
   ============================================================= */
.mdg-manifeste {
  padding: 160px 5vw;
  background: var(--mdg-blue);
  position: relative;
  overflow: hidden;
}
.mdg-manifeste::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(9,9,9,0.45) 0%, transparent 60%, rgba(9,9,9,0.3) 100%);
  pointer-events: none;
}
/* Chiffre géant décoratif — profondeur typographique, pas de glow.
   Respiration douce en opacité (la translation est gérée en JS — parallax scroll) */
.manifeste-bignum {
  position: absolute;
  top: -4%;
  right: 2vw;
  font-family: var(--font-head);
  font-size: clamp(180px, 28vw, 420px);
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,0.05);
  pointer-events: none;
  z-index: 0;
  user-select: none;
  will-change: transform;
  animation: bignumBreathe 7s ease-in-out infinite;
}
@keyframes bignumBreathe {
  0%, 100% { opacity: 0.05; }
  50%      { opacity: 0.085; }
}

/* Halo lumineux diagonal — passe une seule fois au premier scroll dans la section */
.manifeste-sheen {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255,255,255,0.08) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  opacity: 0;
}
.mdg-manifeste.in-view .manifeste-sheen {
  animation: manifesteSheen 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}
@keyframes manifesteSheen {
  0%   { transform: translateX(-120%); opacity: 1; }
  100% { transform: translateX(120%);  opacity: 0; }
}

/* Grid asymétrique : citation large à gauche, vision/mission à droite */
.manifeste-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1px 1fr;
  gap: 0 64px;
  align-items: start;
}
.manifeste-main { grid-column: 1; }

.manifeste-quote {
  font-family: var(--font-head);
  /* Réduit pour que chaque ligne tienne sur une seule ligne, même sur tablette */
  font-size: clamp(18px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 20px 0 32px;
  white-space: nowrap;
}
/* Mots accentués — soulignement façon "coup de surligneur" qui se dessine
   au scroll, avec un léger décalage entre chaque mot (--d custom property) */
.accent-word {
  position: relative;
  display: inline-block;
}
.accent-word::after {
  content: '';
  position: absolute;
  left: 0; bottom: 3px;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.55;
  transition: width 0.65s cubic-bezier(0.65, 0, 0.35, 1);
  transition-delay: var(--d, 0s);
}
.manifeste-quote.visible .accent-word::after { width: 100%; }
.accent-green { color: var(--mdg-green); }
.accent-yellow{ color: var(--mdg-yellow); }
.accent-red   { color: var(--mdg-red); }

.manifeste-text {
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  max-width: 540px;
}

/* Séparateur vertical fin — pas de border visible, juste une ligne de dégradé */
.manifeste-divider {
  grid-column: 2;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.18) 20%, rgba(255,255,255,0.18) 80%, transparent);
  align-self: stretch;
}

/* Colonne droite : Vision / Mission empilées avec numéros */
.manifeste-side {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.manifeste-side-item {
  position: relative;
  /* Plus de cadre/bordure — juste de l'espace et une pastille pleine */
  padding-left: 0;
  transition: transform 0.35s var(--ease-out);
}
.manifeste-side-item:hover { transform: translateX(6px); }

/* Pastille pleine numérotée — forme ronde colorée, sans bordure ni cadre */
.manifeste-side-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  transform: scale(0.6);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s;
}
.manifeste-side-item.visible .manifeste-side-badge { transform: scale(1); opacity: 1; }
.manifeste-side-item:hover .manifeste-side-badge { transform: scale(1.12); }
.manifeste-side-item h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 14px;
}
.manifeste-side-item p {
  font-size: 15px;
  color: rgba(255,255,255,0.68);
  line-height: 1.75;
}

/* Responsive */
@media (max-width: 900px) {
  .manifeste-inner {
    grid-template-columns: 1fr;
    gap: 48px 0;
  }
  .manifeste-divider { display: none; }
  .manifeste-main, .manifeste-side { grid-column: 1; }
  .manifeste-side { flex-direction: row; gap: 32px; flex-wrap: wrap; }
  .manifeste-side-item { flex: 1; min-width: 220px; }
  .manifeste-bignum { font-size: clamp(120px, 32vw, 220px); top: -2%; }
}
/* Sécurité supplémentaire sur très petits écrans — garantit 1 ligne par phrase */
@media (max-width: 420px) {
  .manifeste-quote { font-size: clamp(14px, 4.6vw, 18px); }

  /* Countdown hero — évite tout débordement horizontal sur petit mobile */
  .hero-countdown { gap: 0; }
  .countdown-flip { min-width: 42px; padding: 7px 6px; border-radius: 6px; }
  .countdown-num { font-size: clamp(22px, 7vw, 30px); }
  .countdown-label { font-size: 7px; }
  .countdown-colon { padding: 0 4px; margin-bottom: 16px; gap: 6px; }
  .countdown-colon::before, .countdown-colon::after { width: 3px; height: 3px; }
  /* Pill "Prochain Concert Digital" — reste sur une seule ligne, taille réduite */
  .countdown-event-pill { padding: 6px 12px 6px 10px; }
  .countdown-event-label { font-size: 8.5px; letter-spacing: 0.1em; }
}

/* =============================================================
   8. PILIERS
   ============================================================= */
.mdg-piliers {
  padding: 120px 5vw;
  background: linear-gradient(150deg, var(--dark-2) 0%, var(--dark-3) 55%, var(--dark-2) 100%);
  position: relative;
  overflow: hidden;
}
.mdg-piliers > *:not(.mdmdg-glow) { position: relative; z-index: 1; }

.piliers-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}
.piliers-header-right {
  font-size: 14px;
  color: var(--text-3);
  max-width: 300px;
  line-height: 1.7;
  flex-shrink: 0;
}
.piliers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.pilier-card {
  background: var(--dark-3);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.35s var(--ease), transform 0.4s var(--ease-out);
}
.pilier-card:hover { background: var(--dark-4); transform: translateY(-8px); }

/* Ligne d'accent — se dessine de gauche à droite au scroll, s'épaissit au survol */
.pilier-accent-line {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.65,0,0.35,1), height 0.25s;
}
.pilier-card.visible .pilier-accent-line { transform: scaleX(1); }
.pilier-card:hover .pilier-accent-line { height: 3px; }

/* Numéro — glisse et apparaît juste après la carte */
.pilier-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-3);
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s, transform 0.5s;
  transition-delay: 0.15s;
}
.pilier-card.visible .pilier-num { opacity: 1; transform: translateY(0); }

.pilier-icon {
  width: 40px; height: 40px;
  margin-bottom: 28px;
  opacity: 0.9;
  transition: transform 0.4s var(--ease-out);
}
.pilier-card:hover .pilier-icon { transform: scale(1.14) rotate(-4deg); }

.pilier-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  line-height: 1.2;
}
.pilier-text {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 32px;
}
.pilier-list li {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.6;
  padding: 5px 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  transition: color 0.25s, padding-left 0.25s;
}
.pilier-list li::before {
  content: '—';
  font-size: 10px;
  flex-shrink: 0;
  transition: color 0.25s;
}
.pilier-card:hover .pilier-list li { color: var(--text-2); padding-left: 3px; }

/* =============================================================
   9. CONCERT DIGITAL TEASER
   ============================================================= */
.mdg-concert { background: var(--dark); }
.concert-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}
.concert-visual {
  position: relative;
  overflow: hidden;
  background: var(--dark-3);
}
.concert-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: opacity 0.5s;
}
.concert-visual:hover img { opacity: 0.75; }
.concert-overlay-label {
  position: absolute;
  top: 40px; left: 40px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mdg-red);
  display: flex;
  align-items: center;
  gap: 10px;
}
.concert-overlay-label::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--mdg-red);
}
.concert-edition-badge {
  position: absolute;
  bottom: 40px; left: 40px;
  background: rgba(9,9,9,0.75);
  backdrop-filter: blur(8px);
  padding: 16px 24px;
}
.concert-edition-badge .year {
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 500;
  color: var(--white);
  line-height: 1;
  display: block;
}
.concert-edition-badge .ed {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-3);
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
}
.concert-content {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--dark-2);
}
.concert-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
}
.concert-desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 420px;
}
.concert-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.concert-stat-num {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 500;
  color: var(--white);
  line-height: 1;
  display: block;
}
.concert-stat-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 6px;
  display: block;
}
.concert-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* =============================================================
   10. CHIFFRES CLÉS — cards animées, premium
   ============================================================= */
.mdg-chiffres {
  padding: 120px 5vw;
  background: linear-gradient(150deg, var(--dark) 0%, var(--dark-2) 55%, var(--dark) 100%);
  position: relative;
  overflow: hidden;
}
.mdg-chiffres > *:not(.mdmdg-glow) { position: relative; z-index: 1; }
.chiffres-header { margin-bottom: 64px; }
.chiffres-header .section-title { margin-top: 12px; }

.chiffres-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.chiffre-item {
  --accent: var(--mdg-blue);
  padding: 44px 32px;
  position: relative;
  background: var(--dark-3);
  overflow: hidden;
  transition: background 0.35s var(--ease), transform 0.4s var(--ease-out);
}
.chiffre-item:hover { background: var(--dark-4); transform: translateY(-8px); }

/* Icône — apparaît avec un léger rebond, colorée selon l'accent du stat */
.chiffre-icon {
  display: inline-flex;
  width: 30px; height: 30px;
  margin-bottom: 22px;
  color: var(--accent);
  opacity: 0;
  transform: scale(0.6) rotate(-8deg);
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.45s;
}
.chiffre-item.visible .chiffre-icon { opacity: 0.95; transform: scale(1) rotate(0deg); }
.chiffre-item:hover .chiffre-icon { transform: scale(1.12) rotate(-4deg); }

.chiffre-num {
  font-family: var(--font-mono);
  font-size: clamp(44px, 4.6vw, 66px);
  font-weight: 500;
  line-height: 1;
  color: var(--white);
  display: block;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.chiffre-num .plus {
  font-size: 0.5em;
  vertical-align: super;
  color: var(--accent);
}

/* Trait d'accent — se dessine de gauche à droite une fois la carte visible */
.chiffre-line {
  display: block;
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  margin-bottom: 20px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s cubic-bezier(0.65,0,0.35,1);
  transition-delay: 0.1s;
}
.chiffre-item.visible .chiffre-line { transform: scaleX(1); }
.chiffre-item:hover .chiffre-line { width: 52px; }

.chiffre-label {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
  display: block;
  margin-bottom: 8px;
}
.chiffre-desc {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.6;
}

/* =============================================================
   10b. ÉQUIPE — Carrousel circulaire premium
   ============================================================= */
.mdg-equipe {
  padding: 120px 5vw;
  background: linear-gradient(150deg, var(--dark-2) 0%, var(--dark-3) 55%, var(--dark-2) 100%);
  position: relative;
  overflow: hidden;
}
.mdg-equipe > *:not(.mdmdg-glow) { position: relative; z-index: 1; }
.equipe-header { margin-bottom: 72px; }
.equipe-header .section-title { margin-top: 12px; }

.equipe-carousel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Pile de cartes — une photo en évidence devant, les 3 autres décalées
   derrière (haut-droite), chacune prenant son tour à l'avant en boucle.
   Structure à deux couches : le slot gère la position (bascule élastique),
   l'image à l'intérieur flotte en continu — les deux animations ne se
   gênent pas puisqu'elles portent sur des éléments différents. */
.equipe-images {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 380px;
  margin: 0 auto;
  /* Espace pour laisser respirer les cartes décalées sans les couper */
  padding: 26px 26px 0 0;
  perspective: 1000px;
}
.equipe-card-slot {
  position: absolute;
  inset: 26px 26px 0 0;
  width: calc(100% - 26px);
  height: calc(100% - 26px);
  /* Bascule "spring" — léger dépassement avant de se stabiliser */
  transition: transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s;
}
.equipe-carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  display: block;
  transition: transform 0.4s var(--ease-out);
}

/* Devant — pleine taille, nette, légère bascule 3D au survol */
.equipe-card-slot.pos-0 {
  z-index: 4;
  opacity: 1;
  transform: translate(0, 0) rotate(0deg) scale(1);
}
.equipe-card-slot.pos-0:hover .equipe-carousel-img {
  transform: scale(1.025) rotate(-0.6deg);
}

/* Derrière, décalées vers le haut-droite, rotation progressive,
   chacune flotte doucement à son propre rythme pour donner vie à la pile */
.equipe-card-slot.pos-1 {
  z-index: 3;
  opacity: 1;
  transform: translate(16px, -16px) rotate(4deg) scale(0.96);
}
.equipe-card-slot.pos-1 .equipe-carousel-img { animation: equipeFloatA 5s ease-in-out infinite; }

.equipe-card-slot.pos-2 {
  z-index: 2;
  opacity: 0.9;
  transform: translate(30px, -30px) rotate(8deg) scale(0.92);
}
.equipe-card-slot.pos-2 .equipe-carousel-img { animation: equipeFloatB 6s ease-in-out infinite 0.3s; }

.equipe-card-slot.pos-3 {
  z-index: 1;
  opacity: 0.75;
  transform: translate(44px, -44px) rotate(12deg) scale(0.88);
}
.equipe-card-slot.pos-3 .equipe-carousel-img { animation: equipeFloatC 7s ease-in-out infinite 0.6s; }

/* Flottements indépendants — amplitude et rythme différents par carte
   pour éviter tout effet synchronisé/mécanique */
@keyframes equipeFloatA {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-6px) rotate(-1.2deg); }
}
@keyframes equipeFloatB {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-9px) rotate(1.4deg); }
}
@keyframes equipeFloatC {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-5px) rotate(-1.6deg); }
}
@media (prefers-reduced-motion: reduce) {
  .equipe-card-slot .equipe-carousel-img { animation: none !important; }
}

/* Contenu texte */
.equipe-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.equipe-content-inner { min-height: 180px; }
.equipe-carousel-name {
  font-family: var(--font-head);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 8px;
}
.equipe-carousel-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mdg-blue);
  margin-bottom: 28px;
}
.equipe-carousel-quote {
  font-size: 17px;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-2);
  max-width: 460px;
}
.equipe-carousel-quote span { display: inline-block; }

@media (max-width: 900px) {
  .equipe-carousel-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .equipe-images { max-width: 300px; }
  .equipe-content { align-items: center; }
  .equipe-carousel-quote { margin: 0 auto; }
}

/* =============================================================
   11. REJOINDRE
   ============================================================= */
.mdg-rejoindre {
  padding: 120px 5vw;
  background: linear-gradient(150deg, var(--dark-2) 0%, var(--dark-3) 60%, var(--dark-2) 100%);
  position: relative;
}
.mdg-rejoindre::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--mdg-blue), transparent);
}
.rejoindre-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 100px;
  align-items: start;
}
.prix-block {
  display: inline-block;
  padding: 28px 40px;
  background: var(--mdg-blue);
  margin-top: 8px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.prix-block:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(45,76,156,0.4); }
.prix-block::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.15) 50%, transparent 80%);
  transition: left 0.7s;
}
.prix-block:hover::after { left: 140%; }
.prix-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
  display: block;
}
.prix-amount {
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 500;
  color: var(--white);
  line-height: 1;
  display: block;
}
.prix-period {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  display: block;
}
.profils-intro {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 40px;
}
.profils-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 80px;
}
/* Cartes profils — sans bordure haute colorée, traitement plus stylé :
   coins arrondis, ombre portée progressive, léger zoom au survol */
.profil-card {
  background: var(--dark-3);
  border-radius: 14px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  transition: background 0.3s, transform 0.4s var(--ease-out), opacity 0.5s, box-shadow 0.35s;
}
.profil-card.visible { transform: translateY(0) scale(1); opacity: 1; }
.profil-card:hover {
  background: var(--dark-4);
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 45px rgba(0,0,0,0.35);
}
.profil-card-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  transition: color 0.3s;
}
.profil-card:hover .profil-card-num { color: var(--text-2); }

/* Variante avec icône dédiée — sans bordure haute colorée */
.profil-card--icon::before { display: none; }
.profil-card-icon {
  width: 36px; height: 36px;
  margin-bottom: 18px;
  opacity: 0;
  transform: scale(0.6) rotate(-8deg);
  transition: opacity 0.45s, transform 0.55s cubic-bezier(0.34,1.56,0.64,1);
}
.profil-card--icon.visible .profil-card-icon { opacity: 1; transform: scale(1) rotate(0deg); }
.profil-card--icon:hover .profil-card-icon { transform: scale(1.15) rotate(6deg); }
.profil-card--icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(255,255,255,0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.profil-card--icon:hover::after { opacity: 1; }
.profil-card-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}
.profil-card-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
}
.avantages-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 36px;
}
.avantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.avantage-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.3s var(--ease-out);
}
.avantage-item:hover { transform: translateX(5px); }
.avantage-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  margin-top: 2px;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.avantage-item:hover .avantage-icon { transform: scale(1.15) rotate(-6deg); }
.avantage-item h4 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.3;
}
.avantage-item p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
}

/* =============================================================
   PAGE "NOS RENDEZ-VOUS"
   ============================================================= */
.rdv-block {
  padding: 100px 6vw;
  background: linear-gradient(150deg, var(--dark-2) 0%, var(--dark-3) 55%, var(--dark-2) 100%);
  position: relative;
  overflow: hidden;
}
.rdv-block:nth-of-type(even) {
  background: linear-gradient(150deg, var(--dark) 0%, var(--dark-2) 55%, var(--dark) 100%);
}
.rdv-block > *:not(.mdmdg-glow) { position: relative; z-index: 1; }
.rdv-block-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.rdv-block--reverse .rdv-block-inner { grid-template-columns: 1.2fr 1fr; }
.rdv-block--reverse .rdv-content { order: 1; }
.rdv-block--reverse .rdv-visual { order: 2; }

.rdv-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  transform: scale(0.94);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.16,1,0.3,1), opacity 0.6s;
}
.rdv-visual.visible { transform: scale(1); opacity: 1; }

/* Deux images empilées — la seconde apparaît au survol */
.rdv-visual-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.6s ease, transform 0.8s var(--ease-out);
}
.rdv-visual-img--default { opacity: 1; transform: scale(1); z-index: 2; }
.rdv-visual-img--hover   { opacity: 0; transform: scale(1.04); z-index: 1; }
.rdv-visual:hover .rdv-visual-img--default { opacity: 0; }
.rdv-visual:hover .rdv-visual-img--hover   { opacity: 1; transform: scale(1.08); }

.rdv-visual-badge {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 3;
  background: rgba(9,9,9,0.7);
  backdrop-filter: blur(6px);
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mdg-red);
  border-radius: 100px;
}

/* Numéro géant en fond — même esprit que le manifeste, profondeur typographique */
.rdv-num {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 4px;
}
.rdv-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 12px 0 20px;
  color: var(--white);
}
.rdv-content h2 em { font-style: italic; font-family: 'Playfair Display', serif; color: var(--text-2); }
.rdv-content p { color: var(--text-2); line-height: 1.8; margin-bottom: 16px; max-width: 520px; }

/* Liste "Objectifs stratégiques" — pas de cadre, juste typographie + espacement */
.rdv-objectifs { margin: 8px 0 20px; max-width: 520px; }
.rdv-objectifs-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mdg-red);
  margin-bottom: 12px;
}
.rdv-objectifs ul { display: flex; flex-direction: column; gap: 9px; }
.rdv-objectifs li {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
  transition: color 0.25s, padding-left 0.25s;
}
.rdv-objectifs li::before { content: '—'; position: absolute; left: 0; color: var(--text-3); }
.rdv-block:hover .rdv-objectifs li { color: var(--text-1); padding-left: 22px; }

@media (max-width: 900px) {
  .rdv-block-inner,
  .rdv-block--reverse .rdv-block-inner { grid-template-columns: 1fr; gap: 36px; }
  .rdv-block--reverse .rdv-content { order: 2; }
  .rdv-block--reverse .rdv-visual { order: 1; }
}

/* Formulaire */
.form-section {
  background: var(--dark-3);
  padding: 60px;
  max-width: 720px;
}
.form-title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.form-subtitle {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  position: relative;
}
.form-field label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  transition: color 0.25s;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--dark-5);
  border: none;
  border-bottom: 2px solid transparent;
  outline: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 14px 16px;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.25s, border-color 0.3s;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  background: rgba(255,255,255,0.05);
  border-bottom-color: var(--mdg-blue);
}
.form-field:has(input:focus) label,
.form-field:has(select:focus) label,
.form-field:has(textarea:focus) label { color: var(--mdg-blue); }
.form-field input::placeholder { color: var(--text-3); }
.form-field select { color: var(--text-2); cursor: pointer; }
.form-submit {
  margin-top: 8px;
  width: 100%;
  background: var(--mdg-blue);
  color: var(--white);
  border: none;
  padding: 18px 32px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.form-submit::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.18) 50%, transparent 80%);
  transition: left 0.6s;
}
.form-submit:hover { background: var(--mdg-blue-dark); transform: translateY(-2px); }
.form-submit:hover::before { left: 140%; }
.form-note {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 16px;
  text-align: center;
}

/* =============================================================
   PAGE "REJOINDRE" — demande d'adhésion premium
   ============================================================= */

/* ── Processus en 3 étapes ──────────────────── */
.apply-steps {
  padding: 90px 6vw;
  background: linear-gradient(150deg, var(--dark-2) 0%, var(--dark-3) 55%, var(--dark-2) 100%);
  position: relative;
  overflow: hidden;
}
.apply-steps > *:not(.mdmdg-glow) { position: relative; z-index: 1; }
.apply-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.apply-step {
  background: var(--dark-4);
  border-radius: 16px;
  padding: 36px 30px;
  transition: background 0.3s, transform 0.35s var(--ease-out);
}
.apply-step:hover { background: var(--dark-5); transform: translateY(-6px); }
.apply-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  transform: scale(0.6);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1), opacity 0.4s;
}
.apply-step.visible .apply-step-num { transform: scale(1); opacity: 1; }
.apply-step h3 { font-family: var(--font-head); font-size: 18px; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.apply-step p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ── Rappel des critères ────────────────────── */
.apply-criteria-reminder { padding: 90px 6vw; background: var(--dark); text-align: center; }
.apply-criteria-reminder .section-title { text-align: center; }
.apply-criteria-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
  margin: 48px auto 0;
  text-align: left;
}
.apply-criteria-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--text-1);
}
.apply-criteria-icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
}

/* ── Formulaire de demande ───────────────────── */
.mdg-apply {
  padding: 100px 6vw;
  background: linear-gradient(150deg, var(--dark-3) 0%, var(--dark-4) 55%, var(--dark-3) 100%);
  position: relative;
  overflow: hidden;
}
.mdg-apply > *:not(.mdmdg-glow) { position: relative; z-index: 1; }
.mdg-apply-inner { display: flex; justify-content: center; }
.mdg-apply-form-wrap {
  background: var(--dark-4);
  border-radius: 20px;
  padding: 56px;
  max-width: 720px;
  width: 100%;
}

/* Cases à cocher — critères d'adhésion */
.apply-checks {
  margin: 28px 0 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.apply-checks-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mdg-yellow);
  margin-bottom: 6px;
}
.apply-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.55;
}
.apply-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.apply-check-box {
  width: 20px; height: 20px;
  border-radius: 5px;
  background: var(--dark-5);
  border: 1px solid rgba(255,255,255,0.14);
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}
.apply-check-box::after {
  content: '';
  position: absolute;
  left: 6px; top: 2px;
  width: 5px; height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}
.apply-check input:checked + .apply-check-box {
  background: var(--mdg-green);
  border-color: var(--mdg-green);
}
.apply-check input:checked + .apply-check-box::after { transform: rotate(45deg) scale(1); }
.apply-check:hover .apply-check-box { border-color: var(--mdg-green); }
.apply-check input:focus-visible + .apply-check-box { outline: 2px solid var(--mdg-blue); outline-offset: 2px; }

@media (max-width: 900px) {
  .apply-steps-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .mdg-apply-form-wrap { padding: 32px 24px; }
}

/* =============================================================
   12. TÉMOIGNAGES — défilement horizontal infini
   ============================================================= */
.mdg-temoignages {
  padding: 120px 0;
  background: linear-gradient(150deg, var(--dark) 0%, var(--dark-2) 55%, var(--dark) 100%);
  position: relative;
  overflow: hidden;
}
.mdg-temoignages > *:not(.mdmdg-glow) { position: relative; z-index: 1; }
.temoignages-header { padding: 0 5vw; }

/* Bandeau défilant — masque les bords pour un fondu propre */
.temoignages-marquee {
  margin-top: 64px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}
.temoignages-track {
  display: flex;
  gap: 24px;
  width: max-content;
  /* Défile vers la gauche (le contenu se déplace de droite à gauche) */
  animation: temoignagesScroll 38s linear infinite;
}
.temoignages-marquee:hover .temoignages-track { animation-play-state: paused; }
@keyframes temoignagesScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.temoignage-card {
  flex: 0 0 auto;
  width: 380px;
  padding: 40px 36px;
  background: var(--dark-2);
  border-radius: 16px;
  transition: background 0.3s;
}
.temoignage-card:hover { background: var(--dark-3); }

.temoignage-quote-mark {
  font-family: var(--font-head);
  font-size: 64px;
  line-height: 0.7;
  color: var(--dark-4);
  margin-bottom: 18px;
  display: block;
  font-weight: 900;
}
.temoignage-text {
  font-size: 15px;
  font-style: italic;
  color: var(--text-1);
  line-height: 1.8;
  margin-bottom: 32px;
  /* Hauteur constante pour un alignement propre entre cartes */
  min-height: 105px;
}
.temoignage-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.temoignage-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--dark-4);
  overflow: hidden;
  flex-shrink: 0;
}
.temoignage-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.temoignage-name {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  display: block;
}
.temoignage-role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  display: block;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .temoignage-card { width: 300px; padding: 32px 26px; }
}

/* =============================================================
   13. PARTENAIRES
   ============================================================= */
.mdg-partenaires { padding: 100px 5vw; background: var(--dark-2); }
.partenaires-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 72px;
  flex-wrap: wrap;
}
.partenaires-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  margin-bottom: 60px;
}
.partenaire-item {
  padding: 40px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-3);
  transition: background 0.25s;
  min-height: 120px;
}
.partenaire-item:hover { background: var(--dark-4); }
.partenaire-logo {
  max-width: 100px;
  filter: grayscale(1) brightness(0.5);
  transition: filter 0.3s;
}
.partenaire-item:hover .partenaire-logo { filter: grayscale(0.3) brightness(0.8); }
.partenaire-placeholder {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  text-align: center;
  text-transform: uppercase;
  line-height: 1.6;
}

/* =============================================================
   14. FOOTER
   ============================================================= */
/* Fond gris foncé — identique aux cartes (--dark-3), plus premium qu'un noir plat */
.mdg-footer {
  background: var(--dark-3);
  padding: 88px 5vw 36px;
  position: relative;
}
/* Liseré tricolore en haut du footer — signature MDG discrète */
.mdg-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(
    to right,
    var(--mdg-red) 0%, var(--mdg-red) 25%,
    var(--mdg-green) 25%, var(--mdg-green) 50%,
    var(--mdg-yellow) 50%, var(--mdg-yellow) 75%,
    var(--mdg-blue) 75%, var(--mdg-blue) 100%
  );
  opacity: 0.7;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 56px;
  margin-bottom: 36px;
  position: relative;
}
.footer-top::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.07);
}
.footer-brand .logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.footer-brand .logo-wrap img {
  height: 40px;
  width: auto;
  object-fit: contain;
  /* Couleurs officielles du logo conservées — pas de filtre */
}
.footer-brand .logo-text {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--white);
}
.footer-brand .logo-text span {
  display: block;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--text-3);
  text-transform: none;
  margin-top: 3px;
}
.footer-brand > p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.8;
  max-width: 300px;
  margin-bottom: 26px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--dark-4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.25s;
}
.footer-social a:hover { background: var(--mdg-blue); transform: translateY(-3px); }
.footer-social svg { width: 16px; height: 16px; color: var(--text-2); transition: color 0.25s; }
.footer-social a:hover svg { color: var(--white); }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mdg-yellow);
  margin-bottom: 22px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  position: relative;
  font-size: 13.5px;
  color: var(--text-2);
  transition: color 0.25s, padding-left 0.25s;
  display: inline-block;
}
.footer-col ul li a:hover { color: var(--white); padding-left: 6px; }
.footer-col ul li a::before {
  content: '';
  position: absolute;
  left: -12px; top: 50%;
  width: 0; height: 1px;
  background: var(--mdg-blue);
  transition: width 0.25s, left 0.25s;
}
.footer-col ul li a:hover::before { width: 8px; left: -14px; }
.footer-col ul li span { font-size: 13.5px; color: var(--text-3); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 12px; color: var(--text-3); }
.footer-tricolor { display: flex; gap: 4px; }
.footer-tricolor span {
  width: 20px; height: 3px;
  border-radius: 2px;
}

/* =============================================================
   15. CHAT IA
   ============================================================= */
/* Chat IA widget */
.chat-widget {
  position: fixed;
  bottom: 96px; right: 32px;
  z-index: 899;
  width: 320px;
  background: var(--dark-3);
  display: none;
  flex-direction: column;
  max-height: 400px;
}
.chat-widget.open { display: flex; }
.chat-header {
  padding: 16px 20px;
  background: var(--mdg-blue);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-header span {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}
.chat-close {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-msg {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.5;
  max-width: 85%;
}
.chat-msg.bot { background: var(--dark-4); color: var(--text-1); align-self: flex-start; }
.chat-msg.user { background: var(--mdg-blue); color: var(--white); align-self: flex-end; }
.chat-input-row {
  display: flex;
  padding: 12px 16px;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.chat-input {
  flex: 1;
  background: var(--dark-5);
  border: none;
  outline: none;
  color: var(--white);
  font-size: 13px;
  padding: 10px 12px;
  font-family: var(--font-body);
}
.chat-send {
  background: var(--mdg-blue);
  border: none;
  color: var(--white);
  padding: 10px 14px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.25s;
}
.chat-send:hover { background: var(--mdg-blue-dark); }
.chat-toggle {
  position: fixed;
  bottom: 96px; right: 96px;
  z-index: 901;
  width: 48px; height: 48px;
  background: var(--dark-3);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.chat-toggle:hover { background: var(--dark-4); }
.chat-toggle svg { width: 20px; height: 20px; color: var(--white); }

/* =============================================================
   16. PAGES SECONDAIRES — HERO TYPO
   ============================================================= */
.page-hero {
  padding: 160px 5vw 100px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.05);
}
.page-hero-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.page-hero-label::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--mdg-blue);
}
.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--white);
  max-width: 800px;
}
.page-hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--text-2);
}
.page-hero-sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.75;
  margin-top: 24px;
  font-weight: 300;
}

/* =============================================================
   17. PAGE CONCERT DIGITAL
   ============================================================= */
.concert-concept {
  padding: 120px 5vw;
  background: var(--dark-2);
}
.concert-concept-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.editions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.edition-card {
  background: var(--dark-3);
  padding: 40px 32px;
  transition: background 0.3s;
}
.edition-card:hover { background: var(--dark-4); }
.edition-year {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 500;
  color: var(--white);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}
.edition-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  display: block;
  margin-bottom: 20px;
}
.edition-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

/* Galerie */
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.galerie-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--dark-3);
  position: relative;
}
.galerie-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), opacity 0.4s;
  opacity: 0.7;
}
.galerie-item:hover img { transform: scale(1.04); opacity: 0.9; }

/* Timeline À propos */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.06);
}
.timeline-item {
  position: relative;
  padding-bottom: 56px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -46px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--mdg-blue);
}
.timeline-year {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--mdg-blue);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.timeline-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}
.timeline-text {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 480px;
}

/* Équipe */
.equipe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.equipe-card {
  background: var(--dark-3);
  overflow: hidden;
  transition: background 0.3s;
}
.equipe-card:hover { background: var(--dark-4); }
.equipe-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--dark-4);
}
.equipe-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.equipe-card:hover .equipe-photo img { opacity: 0.95; }
.equipe-info {
  padding: 24px 24px 28px;
}
.equipe-name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.equipe-role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* =============================================================
   18. RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
  .piliers-grid { grid-template-columns: repeat(2, 1fr); }
  .chiffres-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .partenaires-grid { grid-template-columns: repeat(3, 1fr); }
  .equipe-grid { grid-template-columns: repeat(2, 1fr); }
  .concert-concept-inner { grid-template-columns: 1fr; }
  .editions-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Grands écrans (≥1600px) — le clamp() plafonne à 64px pour
   rester raisonnable sur ~1440px ; au-delà ça laisse un titre
   disproportionné dans tout l'espace vide. On reprend la main ici. ── */
@media (min-width: 1600px) {
  .hero-content { max-width: 960px; }
  .hero-title { font-size: clamp(64px, 4.4vw, 92px); }
  .hero-sub { font-size: clamp(17px, 1.3vw, 20px); max-width: 600px; }
  .countdown-flip { padding: 16px 22px; min-width: 84px; }
  .countdown-num { font-size: clamp(40px, 3.4vw, 56px); }
  .btn-hero-join, .btn-rapport-plain { font-size: 15px; }
}
/* ── Très grands écrans (≥2200px, moniteurs ultra-larges) ── */
@media (min-width: 2200px) {
  .hero-content { max-width: 1100px; }
  .hero-title { font-size: clamp(84px, 4vw, 108px); }
  .hero-sub { font-size: 22px; max-width: 660px; }
  .countdown-num { font-size: clamp(48px, 2.8vw, 64px); }
}

@media (max-width: 768px) {
  /* Hero responsive — texte redescendu nettement sous la nav,
     espacements condensés pour que tout (titre, sous-titre, countdown, CTA)
     reste visible dans la hauteur d'écran sans être coupé */
  .mdg-hero { padding: 175px 6vw 90px; }
  /* Réduit pour bien tenir sur petit écran — les lignes statiques restent lisibles */
  .hero-title { font-size: clamp(28px, 8vw, 40px); margin-bottom: 14px; }
  /* Le mot animé (Formation/Employabilité/Accompagnement...) est plus long que
     les lignes statiques : taille relative réduite pour ne jamais déborder
     horizontalement sur un écran de 320-375px */
  .hero-word-text { font-size: 0.8em; }
  .hero-sub { font-size: 13px; line-height: 1.6; margin-bottom: 24px; }
  .hero-countdown-block { margin-bottom: 28px; }
  .countdown-event-pill { margin-bottom: 10px; }
  .hero-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding-bottom: 32px;
  }
  .hero-bottom-right {
    align-items: flex-start;
    text-align: left;
    margin-left: 0;
    max-width: 100%;
  }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .btn-hero-join, .btn-hero-outline { justify-content: center; width: 100%; }
  .countdown-flip { min-width: 50px; padding: 8px 10px; }
  .hero-countdown--mini .countdown-num { font-size: 20px; }
  .hero-marquee-track { gap: 36px; animation-duration: 16s; }
  .hero-marquee-track img { height: 40px; }
  /* Fondu de bord plus discret sur mobile : avec moins de largeur disponible,
     un fondu trop large (6%/94%) coupait visiblement les logos en plein
     défilement et donnait l'impression d'un bug de boucle. */
  .hero-marquee {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
  }

  /* Logo nav réduit — 120px était pensé pour desktop, trop grand sur mobile */
  .nav-logo img { height: 64px; }

  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .mdg-section { padding: 80px 5vw; }
  .mdg-manifeste { padding: 100px 5vw; }
  .piliers-grid { grid-template-columns: 1fr; }
  .concert-inner { grid-template-columns: 1fr; }
  .concert-visual { height: 300px; }
  .concert-content { padding: 48px 28px; }
  .chiffres-inner { grid-template-columns: repeat(2, 1fr); }
  .rejoindre-top { grid-template-columns: 1fr; gap: 48px; }
  .profils-grid { grid-template-columns: 1fr 1fr; }
  .avantages-grid { grid-template-columns: 1fr; }
  .form-section { padding: 36px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .temoignages-grid { grid-template-columns: 1fr; }
  .partenaires-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .piliers-header { flex-direction: column; align-items: flex-start; }
  .partenaires-header { flex-direction: column; align-items: flex-start; }
  .galerie-grid { grid-template-columns: repeat(2, 1fr); }
  .equipe-grid { grid-template-columns: 1fr 1fr; }
  .chat-widget { right: 16px; width: calc(100vw - 32px); }
  .chat-toggle { right: 80px; }
}

/* =============================================================
   19. ADMIN METABOXES — CSS STUDIO VISUEL
   ============================================================= */
/* Le CSS du « studio visuel » des metabox admin (.mdg-metabox, etc.) a été
   déplacé vers css/admin.css — il ne doit jamais être chargé côté visiteur. */

/* =============================================================
   CSS PAGES SECONDAIRES
   ============================================================= */

/* ── PAGE HERO (commun) ─────────────────────── */
.page-hero {
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 6vw 80px;
  background: var(--dark-2);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45,76,156,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-inner { position: relative; max-width: 800px; }
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 16px 0 20px;
}
.page-hero h1 em { font-style: italic; font-family: 'Playfair Display', serif; color: var(--text-2); }
.page-hero p { font-size: 1.1rem; color: var(--text-2); max-width: 600px; }

/* ── NAV HIDDEN (scroll) ────────────────────── */
.mdg-nav.nav-hidden { transform: translateY(-100%); }

/* ── PARTENAIRES — TRACK DÉFILANT ──────────── */
.partenaires-track-wrapper {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  margin-top: 64px;
}
.partenaires-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: track-scroll 32s linear infinite;
}
@keyframes track-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.partenaire-logo { display: flex; align-items: center; flex-shrink: 0; }
.partenaire-logo img { height: 48px; width: auto; object-fit: contain; opacity: 0.65; filter: grayscale(1); transition: opacity 0.3s, filter 0.3s; }
.partenaire-logo:hover img { opacity: 1; filter: grayscale(0); }

/* ── PARTENAIRES PLACEHOLDER ────────────────── */
.partenaires-placeholder { text-align: center; padding: 64px 6vw; }
.partenaires-cats { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 32px; }
.partenaire-cat-pill {
  padding: 10px 20px;
  border: 1px solid;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  background: transparent;
}
.partenaires-cta-text { color: var(--text-2); max-width: 560px; margin: 0 auto 32px; }

/* ── CONCERT PAGE HERO ──────────────────────── */
.concert-page-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.concert-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}
.concert-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,9,9,0.95) 0%, rgba(9,9,9,0.55) 50%, rgba(9,9,9,0.2) 100%);
}
.concert-hero-inner {
  position: relative;
  padding: 80px 6vw;
  z-index: 1;
}
.concert-hero-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  margin: 16px 0 12px;
}
.concert-hero-title em { font-style: italic; font-family: 'Playfair Display', serif; color: var(--mdg-red); }
.concert-hero-meta { font-size: 1.05rem; color: var(--text-2); margin-bottom: 8px; }
.concert-hero-inner .btn-primary,
.concert-hero-inner .btn-outline { margin-right: 12px; }

/* ── CONCERT CONCEPT ────────────────────────── */
.concert-concept { padding: 96px 6vw; background: var(--dark-2); }
.concert-concept-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.concert-concept-body p { color: var(--text-2); line-height: 1.8; margin-bottom: 20px; }

/* ── CONCERT STATS SECTION ──────────────────── */
.concert-stats-section { padding: 80px 6vw; background: var(--dark); }
.concert-stats-section .chiffres-inner { max-width: 900px; grid-template-columns: repeat(3, 1fr); }

/* ── PAST EDITIONS ──────────────────────────── */
.concert-past-editions { padding: 80px 6vw; background: var(--dark-2); }
.past-editions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-top: 48px; }
.past-edition-card { background: var(--dark-4); border-radius: 16px; overflow: hidden; }
.past-edition-thumb { height: 200px; background-size: cover; background-position: center; }
.past-edition-body { padding: 24px; }
.past-edition-body h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.past-edition-meta { font-size: 12px; color: var(--mdg-red); margin-bottom: 12px; letter-spacing: 0.08em; }
.past-edition-body p { color: var(--text-2); font-size: 14px; }

/* ── CTA SECTION (commun) ───────────────────── */
.concert-cta-section,
.page-cta-section {
  padding: 96px 6vw;
  text-align: center;
  background: var(--dark);
}
.concert-cta-section h2,
.page-cta-section h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.concert-cta-section p,
.page-cta-section p { color: var(--text-2); margin-bottom: 36px; max-width: 540px; margin-left: auto; margin-right: auto; }
.concert-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── PROGRAMMES PAGE ────────────────────────── */
.programmes-detail { padding: 0 0 80px; background: var(--dark); }
.programmes-row {
  display: grid;
  grid-template-columns: 4px 1fr 1fr;
  gap: 0 60px;
  align-items: center;
  padding: 80px 6vw;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.programmes-row--reverse { direction: rtl; }
.programmes-row--reverse > * { direction: ltr; }
.programmes-row-accent { width: 4px; height: 120px; border-radius: 2px; align-self: center; }
.programmes-row-content h2 { font-family: var(--font-head); font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 800; margin: 8px 0 16px; }
.programmes-row-content p { color: var(--text-2); margin-bottom: 20px; }
.programmes-row-num {
  font-family: var(--font-head);
  font-size: clamp(6rem, 12vw, 10rem);
  font-weight: 900;
  opacity: 0.06;
  line-height: 1;
  user-select: none;
  text-align: center;
}

/* ── ABOUT PAGE ─────────────────────────────── */
.about-manifeste { padding: 96px 6vw; background: var(--mdg-blue); }
.about-manifeste-inner { max-width: 1100px; margin: 0 auto; }
.about-manifeste-quote blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 64px;
  color: #fff;
}
.about-vismis { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.about-vismis-col h3 { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; }
.about-vismis-col p { color: rgba(255,255,255,0.75); line-height: 1.8; }

/* ── TIMELINE ───────────────────────────────── */
.about-timeline { padding: 96px 6vw; background: var(--dark-2); }
.timeline-list { max-width: 760px; margin: 60px auto 0; display: flex; flex-direction: column; gap: 0; }
.timeline-item { display: grid; grid-template-columns: 20px 1fr; gap: 28px; padding-bottom: 48px; position: relative; }
.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 9px; top: 20px; bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.08);
}
.timeline-dot { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; }
.timeline-year { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; }
.timeline-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.timeline-body p { color: var(--text-2); font-size: 15px; }

/* ── EQUIPE GRID ────────────────────────────── */
.about-equipe { padding: 96px 6vw; background: var(--dark); }
.equipe-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-top: 56px; }
.equipe-card { background: var(--dark-4); border-radius: 16px; padding: 32px 24px; text-align: center; }
.equipe-photo { margin: 0 auto 20px; width: 100px; height: 100px; border-radius: 50%; overflow: hidden; }
.equipe-photo img { width: 100%; height: 100%; object-fit: cover; }
.equipe-photo-placeholder { width: 100%; height: 100%; background: var(--dark-5); border-radius: 50%; }
.equipe-name { font-weight: 700; font-size: 1rem; display: block; margin-bottom: 4px; }
.equipe-role { font-size: 12px; color: var(--mdg-blue); text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 12px; }
.equipe-bio { font-size: 13px; color: var(--text-2); line-height: 1.6; margin-bottom: 16px; }
.equipe-linkedin { color: var(--text-2); transition: color 0.2s; display: inline-flex; }
.equipe-linkedin:hover { color: #0077B5; }

/* =============================================================
   PAGE "QU'EST-CE QUE MDG ?"
   ============================================================= */

/* ── Hero + Création du concept — fusionnés, fond éclairci + halos ─── */
.mdmdg-merged { background: var(--dark-3); }
/* Halos colorés doux — apportent de la lumière et du mouvement,
   jamais vers le blanc, juste une respiration premium */
.mdmdg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  opacity: 0.16;
  animation: mdmdgGlowFloat 12s ease-in-out infinite;
}
.mdmdg-glow--1 { top: -10%; left: -5%; width: 420px; height: 420px; background: var(--mdg-blue); }
.mdmdg-glow--2 { bottom: -15%; right: -5%; width: 360px; height: 360px; background: var(--mdg-yellow); animation-delay: 2s; animation-duration: 14s; }
@keyframes mdmdgGlowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(30px, -20px) scale(1.08); }
}
/* Bloc "Création du concept" — suit directement le texte du hero fusionné */
.mdmdg-presentation-main {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mdmdg-presentation-main h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  margin: 14px 0 26px;
  color: var(--white);
}
.mdmdg-presentation-main p {
  color: var(--text-1);
  line-height: 1.9;
  margin-bottom: 20px;
  font-size: 17px;
}
.mdmdg-presentation-main strong { color: var(--white); font-weight: 700; }

/* ── Sections fondateurs — un bloc dédié par parcours ─────────── */
.fondateurs-intro {
  padding: 110px 6vw 90px;
  background: linear-gradient(160deg, var(--dark-3) 0%, var(--dark-4) 60%, var(--dark-3) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.fondateurs-intro-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.fondateurs-intro-text { color: var(--text-1); line-height: 1.8; font-size: 16px; margin-top: 18px; }
.fondateur-block { padding: 70px 6vw; background: var(--dark-4); }
.fondateur-block:nth-of-type(even) { background: var(--dark-3); }
.fondateur-block-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.fondateur-block--reverse .fondateur-block-inner { grid-template-columns: 1.15fr 0.85fr; }
.fondateur-block--reverse .fondateur-block-visual { order: 2; }
.fondateur-block--reverse .fondateur-block-content { order: 1; }

.fondateur-block-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 5/6;
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.16,1,0.3,1), opacity 0.6s;
}
.fondateur-block-visual.visible { transform: scale(1); opacity: 1; }
.fondateur-block-visual img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s var(--ease-out);
}
.fondateur-block-visual:hover img { transform: scale(1.06); }
.fondateur-block-placeholder { width: 100%; height: 100%; background: var(--dark-5); }
.fondateur-block-num {
  position: absolute;
  bottom: 18px; left: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--white);
  background: rgba(9,9,9,0.6);
  backdrop-filter: blur(6px);
  padding: 6px 14px;
  border-radius: 100px;
}

.fondateur-block-content h3 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin: 10px 0 6px;
}
.fondateur-block-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mdg-blue);
  margin-bottom: 22px;
}
.fondateur-block-text { color: var(--text-1); line-height: 1.9; font-size: 16px; max-width: 480px; }
.fondateur-block-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--text-2);
  font-size: 13px;
  transition: color 0.25s;
}
.fondateur-block-linkedin:hover { color: #0077B5; }

@media (max-width: 800px) {
  .fondateur-block-inner,
  .fondateur-block--reverse .fondateur-block-inner { grid-template-columns: 1fr; gap: 32px; }
  .fondateur-block--reverse .fondateur-block-visual,
  .fondateur-block--reverse .fondateur-block-content { order: initial; }
  .fondateur-block-visual { aspect-ratio: 4/3; }
}
/* =============================================================
   AXES PRIORITAIRES — page "Qu'est-ce que MDG ?"
   ============================================================= */
.axes-section {
  padding: 100px 6vw;
  background: linear-gradient(150deg, var(--dark-3) 0%, var(--dark-4) 50%, var(--dark-3) 100%);
  position: relative;
  overflow: hidden;
}
.axes-section > *:not(.mdmdg-glow) { position: relative; z-index: 1; }
.axes-intro { color: var(--text-2); max-width: 600px; margin: 16px 0 56px; line-height: 1.8; }

.axes-list { display: flex; flex-direction: column; gap: 28px; max-width: 1200px; margin: 0 auto; }
.axe-card {
  position: relative;
  background: var(--dark-4);
  border-radius: 16px;
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  overflow: hidden;
  transition: background 0.3s, transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.axe-card:hover { background: var(--dark-5); transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.35); }
/* Dégradé qui apparaît au survol — discret, jamais vers le blanc */
.axe-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(255,255,255,0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.axe-card:hover::after { opacity: 1; }
/* Icône géante en fond — profondeur, pas de glow */
.axe-icon {
  position: absolute;
  top: 28px; right: 32px;
  width: 60px; height: 60px;
  opacity: 0;
  transform: scale(0.7) rotate(-10deg);
  transition: opacity 0.6s, transform 0.7s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none;
}
.axe-card.visible .axe-icon { opacity: 0.16; transform: scale(1) rotate(0deg); }
.axe-card:hover .axe-icon { opacity: 0.3; transform: scale(1.12) rotate(5deg); }
.axe-num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s, transform 0.5s;
  transition-delay: 0.15s;
}
.axe-card.visible .axe-num { opacity: 0.85; transform: translateY(0); }
.axe-title { font-family: var(--font-head); font-size: 24px; font-weight: 800; margin-bottom: 14px; }
.axe-intro-text { color: var(--text-2); line-height: 1.8; margin-bottom: 20px; }

.axe-subgroups { display: flex; flex-direction: column; gap: 22px; margin-bottom: 24px; }
.axe-subgroup h4 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.axe-subgroup ul, .axe-points { display: flex; flex-direction: column; gap: 8px; }
.axe-subgroup li, .axe-points li {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
  transition: color 0.25s, padding-left 0.25s;
}
.axe-subgroup li::before, .axe-points li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-3);
}
.axe-card:hover .axe-subgroup li,
.axe-card:hover .axe-points li { color: var(--text-1); padding-left: 22px; }
.axe-points { margin-bottom: 24px; }

.axe-objectif {
  margin-top: 8px;
}
.axe-objectif-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.axe-objectif p { font-size: 14px; color: var(--text-2); line-height: 1.7; font-style: italic; }

@media (max-width: 700px) {
  .axe-card { grid-template-columns: 1fr; padding: 32px 24px 32px 32px; }
  .axe-num { display: none; }
}

/* =============================================================
   STRUCTURE DE GOUVERNANCE — page "Qu'est-ce que MDG ?"
   ============================================================= */
.gouvernance-section { padding: 100px 6vw; background: var(--dark-4); text-align: center; }
.gouvernance-section .section-title { text-align: center; }
.gouvernance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 980px;
  margin: 56px auto 0;
  text-align: left;
}
.gouvernance-card {
  background: var(--dark-5);
  border-radius: 16px;
  padding: 36px 30px;
  transition: background 0.3s, transform 0.35s var(--ease-out);
}
.gouvernance-card:hover { background: #2a2a2a; transform: translateY(-6px); }
.gouvernance-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  transform: scale(0.6);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1), opacity 0.4s;
}
.gouvernance-card.visible .gouvernance-badge { transform: scale(1); opacity: 1; }
.gouvernance-card h3 { font-family: var(--font-head); font-size: 18px; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.gouvernance-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

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

/* Variante du bloc "rejoindre" utilisée en page secondaire — fond légèrement différencié */
.mdg-rejoindre--profils {
  background: linear-gradient(150deg, var(--dark-3) 0%, var(--dark-4) 55%, var(--dark-3) 100%);
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.mdg-rejoindre--profils > *:not(.mdmdg-glow) { position: relative; z-index: 1; }
.mdg-rejoindre--profils .profil-card { background: var(--dark-4); }
.mdg-rejoindre--profils .profil-card:hover { background: var(--dark-5); }

/* Variante page "Pourquoi Nous Rejoindre" — même esprit dégradé + halos */
.mdg-rejoindre--page {
  background: linear-gradient(150deg, var(--dark-2) 0%, var(--dark-3) 55%, var(--dark-2) 100%);
  overflow: hidden;
}
.mdg-rejoindre--page > *:not(.mdmdg-glow) { position: relative; z-index: 1; }

/* =============================================================
   CRITÈRES D'INTÉGRATION ET AVANTAGES
   ============================================================= */
.criteres-section {
  padding: 100px 6vw;
  background: linear-gradient(150deg, var(--dark-3) 0%, var(--dark-4) 50%, var(--dark-3) 100%);
  position: relative;
  overflow: hidden;
}
.criteres-section > *:not(.mdmdg-glow) { position: relative; z-index: 1; }

.criteres-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: 1100px;
  margin: 56px auto 0;
}
.criteres-grid--single { grid-template-columns: 1fr; max-width: 720px; }
.criteres-grid--single .criteres-list { gap: 22px; }
.criteres-col h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 24px;
}
.criteres-list { display: flex; flex-direction: column; gap: 18px; }
.criteres-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: transform 0.3s var(--ease-out);
}
.criteres-list li:hover { transform: translateX(5px); }
.criteres-icon {
  width: 26px; height: 26px;
  flex-shrink: 0;
  margin-top: 1px;
  opacity: 0;
  transform: scale(0.6) rotate(-8deg);
  transition: opacity 0.45s, transform 0.55s cubic-bezier(0.34,1.56,0.64,1);
}
.criteres-col.visible .criteres-icon { opacity: 1; transform: scale(1) rotate(0deg); }
.criteres-list li div { font-size: 14.5px; color: var(--text-2); line-height: 1.65; }
.criteres-list li strong { color: var(--white); font-weight: 700; }

@media (max-width: 800px) {
  .criteres-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .mdmdg-presentation-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ── CONTACT PAGE ───────────────────────────── */
.contact-section { padding: 96px 6vw; background: var(--dark-2); }
.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.contact-infos h2 { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; margin-bottom: 40px; }
.contact-info-block { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.contact-info-icon { color: var(--mdg-red); margin-top: 2px; flex-shrink: 0; transition: transform 0.3s var(--ease-out); }
.contact-info-block:hover .contact-info-icon { transform: scale(1.15) rotate(-6deg); }
.contact-form-wrap { transition: transform 0.3s var(--ease-out), box-shadow 0.3s; }
.contact-form-wrap:hover { box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.contact-info-label { display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 4px; }
.contact-info-block a { color: var(--text-1); text-decoration: none; }
.contact-info-block a:hover { color: var(--mdg-red); }
.contact-social { display: flex; gap: 16px; margin-top: 40px; }
.contact-social a { color: var(--text-2); transition: color 0.2s; }
.contact-social a:hover { color: var(--white); }
.contact-form-wrap { background: var(--dark-4); border-radius: 20px; padding: 40px; }
.contact-form-wrap textarea { resize: vertical; min-height: 120px; }

/* ── RESPONSIVE PAGES SECONDAIRES ──────────── */
@media (max-width: 768px) {
  .concert-concept-inner,
  .about-vismis,
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .programmes-row { grid-template-columns: 4px 1fr; }
  .programmes-row-num { display: none; }
  .programmes-row--reverse { direction: ltr; }
  .about-equipe .equipe-grid { grid-template-columns: 1fr 1fr; }
  .contact-form-wrap { padding: 24px; }
}
