/* =====================================================
   Former PMM — styles.css
   Source unique de vérité pour l'ensemble du projet.
   Remplace shared.css + services.css + tous les <style> inline.

   TABLE DES MATIÈRES
   ──────────────────
    1.  Variables & tokens
    2.  Reset & base
    3.  Utilitaires typographiques
    4.  Boutons
    5.  Chips & tags
    6.  Navigation
    7.  Viewport block
    8.  Hero — accueil.html
    9.  Page header — pages internes
   10.  Page header backgrounds (par body class)
   11.  Stats bar
   12.  Grille services — accueil.html
   13.  Section about — accueil.html
   14.  Section frame — pages services
   15.  Service cards
   16.  Étapes & processus
   17.  Cards audience
   18.  Split layout
   19.  Themes split
   20.  Processus conférence / formation
   21.  Moodle / e-learning spécifiques
   22.  Timeline — qui-suis-je.html
   23.  Aventurier & Cerveau — qui-suis-je.html
   24.  Contact & formulaires
   25.  CTA section
   26.  Footer
   27.  Animations & interactions
   28.  Responsive mobile ≤ 768px
===================================================== */


/* ══════════════════════════════════════════════════
   1. VARIABLES & TOKENS
   Palette centrale du site. Modifier une valeur ici la
   répercute partout. NB : ces variables sont aussi
   réécrites à chaud par le panneau Tweaks (accueil.html)
   via JS — d'où les --sand-* dérivées en rgba().
══════════════════════════════════════════════════ */
:root {
  --dark:        #181a23;   /* fond principal (nav, sections sombres) */
  --dark-2:      #14151d;   /* fond légèrement plus sombre (cartes, alternance) */
  --dark-3:      #101118;   /* fond le plus sombre (body, footer) */
  --accent:      #ff9f00;   /* orange de marque — CTA, accents, liens */
  --accent-deep: #c87830;   /* orange foncé (hover bouton primaire) */
  --sand:        #f0e4c4;   /* texte clair principal (sur fond sombre) */
  --sand-dim:    #f0e4c4;   /* ⚠ identique à --sand en statique : le « dim » n'agit
                              qu'au runtime via le panneau Tweaks (rgba 0.52).
                              Pour un texte réellement atténué hors Tweaks,
                              passer p.ex. à rgba(240,228,196,0.52). */
  --sand-muted:  rgba(240,228,196,0.28);  /* texte très atténué (breadcrumb, placeholder) */
  --sand-border: rgba(240,228,196,0.14);  /* bordures fines sur fond sombre */
}


/* ══════════════════════════════════════════════════
   2. RESET & BASE
══════════════════════════════════════════════════ */
/* Reset universel : supprime marges/paddings par défaut et
   fixe box-sizing pour que width inclue padding + bordure. */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
ul  { list-style: none; }   /* listes sans puces (nav, footer, chips) */
img { display: block; }     /* supprime l'espace fantôme sous les images inline */
p + p { margin-top: 1.2em; }/* espace entre paragraphes consécutifs */

body {
  font-family: 'DM Sans', system-ui, sans-serif;  /* police de corps */
  max-width: 1920px;            /* garde-fou ultra-large — cohérence au-delà de 1920px */
  margin-inline: auto;          /* centrage sur les écrans > 1920px */
  background: var(--dark-3);
}


/* ══════════════════════════════════════════════════
   3. UTILITAIRES TYPOGRAPHIQUES
   Classes de texte réutilisées partout : accent color,
   familles de titres, eyebrows (sur-titres), corps de texte.
══════════════════════════════════════════════════ */

/* Accent coloré inline */
.acc { color: var(--accent); }

/* Grands titres — Barlow Condensed 900 */
.ph-title,
.section-title,
.section-h2,
.about-left h2,
.cta-wrap h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--sand);
  letter-spacing: -0.01em;
}

/* Eyebrow — étiquette de section */
.eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow--lg    { font-size: 18px; }
.eyebrow--aside { font-size: 15px; opacity: 0.5; letter-spacing: 0.22em; }

/* Tailles de titres de pages */
.ph-title   { font-size: clamp(52px, 5vw, 72px);  line-height: 0.92; margin-bottom: 24px; }
.section-h2 { font-size: clamp(40px, 4vw, 56px);  line-height: 0.93; margin-bottom: 20px; }

/* Corps de section */
.section-body         { font-size: 18px; line-height: 1.5; color: var(--sand); }
.section-body strong  { color: var(--sand); font-weight: 600; }
.section-body p + p   { margin-top: 1.2em; }

/* Colonne de contenu contrainte (hero / sections texte).
   935px = largeur de lecture confortable, partagée avec .ph-kpis. */
.ph-content { width: 935px; }


/* ══════════════════════════════════════════════════
   4. BOUTONS
   .btn-p = primaire (plein orange) ; .btn-g = ghost (contour).
   Les états hover/active sont en section 27 (anim conditionnelle).
══════════════════════════════════════════════════ */
.btn-p,
.btn-g {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 13px 28px;
  border-radius: 2px;
  display: inline-block;
  cursor: pointer;
  white-space: nowrap;
}
.btn-p { color: var(--dark); background: var(--accent); border: none; }
.btn-g { color: var(--accent); border: 1.5px solid var(--accent); background: none; }


/* ══════════════════════════════════════════════════
   5. CHIPS & TAGS
   Petites étiquettes : .chip (contour clair sur sombre),
   .tdah-chip (sombre sur fond orange), variantes de rangées.
══════════════════════════════════════════════════ */
.chip {
  font-size: 11px;
  font-weight: 500;
  color: var(--sand);
  border: 1px solid var(--sand-border);
  padding: 5px 12px;
  border-radius: 1px;
  letter-spacing: 0.04em;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 680px;
}
/* Variante chips sombres (cerveau-wrap) */
.tdah-chip {
  font-size: 11px;
  font-weight: 600;
  color: var(--dark);
  background: rgba(24,26,35,0.12);
  padding: 4px 10px;
  border-radius: 100px;
}
.chips      { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.tdah-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }


/* ══════════════════════════════════════════════════
   6. NAVIGATION
   Barre du haut (hauteur fixe 62px) + bouton hamburger
   (caché desktop, affiché ≤768px). Menu plein écran en mobile.
══════════════════════════════════════════════════ */
.nav {
  background: var(--dark);
  height: 62px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--sand-border);
  position: relative;
  z-index: 10;
}
.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sand);
  text-decoration: none;
  white-space: nowrap;
}
.nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--sand);
  text-decoration: none;
  transition: color 0.15s;
}
.nav a:hover           { color: var(--accent); }
.nav a[aria-current]   { color: var(--accent); }
.nav-cta {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dark) !important;
  background: var(--accent);
  padding: 9px 20px;
  border-radius: 2px;
  white-space: nowrap;
}
.nav-cta:hover { background: #d06030; color: var(--dark) !important; }

/* Bouton hamburger — caché desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  position: relative;
  z-index: 202;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--sand);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease, background 0.15s;
}
.nav.open .nav-hamburger span:nth-child(1) { transform: translateY(7px)  rotate(45deg); }
.nav.open .nav-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav.open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ══════════════════════════════════════════════════
   7. VIEWPORT BLOCK (nav + header + stats = 100dvh)
   Conteneur flex vertical qui occupe toute la hauteur
   de l'écran : la nav et la barre de stats prennent leur
   hauteur naturelle, le .page-header occupe le reste.
══════════════════════════════════════════════════ */
.vh-block {
  height: 100vh;
  height: 100dvh;               /* dvh = hauteur viewport dynamique (mobile : barres d'URL) */
  min-height: 885px;           /* garde-fou hauteur — nav + hero + bandeaux ≤ 1280px */
  max-height: 1280px;           /* garde-fou hauteur — nav + hero + bandeaux ≤ 1280px */
  display: flex;
  flex-direction: column;
}
/* Le header absorbe l'espace restant ; align-items:start est
   hérité de la règle .page-header (section 9) — pas redéclaré ici. */
.vh-block .page-header { flex: 1; min-height: 0; }


/* ══════════════════════════════════════════════════
   8. HERO ACCUEIL — surcharges plein-écran
      .page-header est commun à toutes les pages.
      Ces règles adaptent la mise en page de l'accueil :
      flex full-bleed, gradient horizontal, avatar centré flottant.
══════════════════════════════════════════════════ */

/* Groupe d'eyebrows — accueil uniquement */
.ph-eyebrow-group {
  margin: 0 0 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ph-eyebrow-group .eyebrow { margin-bottom: 22px; }

/* Accueil : layout plein-écran */
body.page-accueil .page-header {
  padding: 0 48px;
  display: flex;
  align-items: flex-start;
  background:
    linear-gradient(90deg,
      rgba(24,26,35,0.97)  0%,
      rgba(24,26,35,0.90) 22%,
      rgba(24,26,35,0.40) 42%,
      rgba(24,26,35,0.10) 60%,
      rgba(24,26,35,0.40) 80%,
      rgba(24,26,35,0.80) 100%
    ),
    var(--ph-bg-img) center / cover no-repeat;
}
body.page-accueil .ph-content {
  padding: 80px 20px 72px;
  position: relative;
  z-index: 3;
}
body.page-accueil .ph-title {
  font-size: clamp(62px, 5.6vw, 84px);
  line-height: 0.91;
  text-shadow: 0 2px 20px rgba(0,0,0,0.45);
}
body.page-accueil .ph-sub {
  margin-top: 26px;
  margin-bottom: 34px;
  max-width: 640px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}
body.page-accueil .ph-actions {
  flex-wrap: nowrap;
}


/* ══════════════════════════════════════════════════
   9. PAGE HEADER — structure commune à toutes les pages
   Le hero de chaque page. display:grid 1 colonne + min-height.
   Le fond (gradient + image) est piloté par --ph-bg-img
   défini par la classe body de chaque page (section 10).
══════════════════════════════════════════════════ */
.page-header {
  padding: 72px 48px 0;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 440px;
  align-items: start;
  overflow: visible;

  /* Fond : gradient + image définie via --ph-bg-img */
  background:
    linear-gradient(90deg,
      rgba(16,17,24,0.97)  0%,
      rgba(16,17,24,0.90) 30%,
      rgba(16,17,24,0.55) 58%,
      rgba(16,17,24,0.20) 100%
    ),
    var(--ph-bg-img, url('../images/hero-office.jpg')) center 40% / cover no-repeat;
}

/* Contenu textuel — la largeur est fixée par .ph-content (section 3).
   (Pas de surcharge ici : bloc conservé comme point d'ancrage si besoin.) */

/* Breadcrumb (fil d'Ariane) — pages internes uniquement */
.ph-breadcrumb {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand-muted);
  margin-bottom: 24px;
}
.ph-breadcrumb a    { color: var(--accent); text-decoration: none; }
.ph-breadcrumb span { margin: 0 8px; }

/* Sous-titre */
.ph-sub {
  font-size: 18px;
  line-height: 1.5;
  color: var(--sand);
  max-width: 480px;
  padding-bottom: 0;
  margin-bottom: 28px;
}

/* Actions */
.ph-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* KPIs */
.ph-kpis {
  display: flex;
  gap: 36px;
  width: 935px; max-width: 100%;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,159,0,0.28);
}
.ph-kpis > div {
  border-left: 3px solid rgba(255,159,0,0.65);
  padding-left: 16px;
}
.ph-kpi-v {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 30px;
  text-transform: uppercase;
  color: var(--sand);
  line-height: 1;
  margin-bottom: 5px;
}
.ph-kpi-l {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand-dim);
}

/* Avatar — centré horizontalement, ancré en bas de chaque hero.
   Règle UNIQUE appliquée à toutes les pages (height + bottom identiques).
   left:0/right:0 + margin auto = centrage SANS transform, pour ne pas
   entrer en conflit avec l'animation d'entrée pmm-rise (translateY).
   width:auto garantit la préservation des proportions (jamais de width fixe). */
.ph-avatar {
  position: absolute;
  bottom: -15px;
  left: 0;
  right: 0;
  margin: 0 auto;               /* centrage sans transform — évite tout conflit avec pmm-rise */
  height: 550px;
  width: auto;                  /* proportion préservée — jamais width+height fixes */
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
  pointer-events: none;
  z-index: 5;
}




/* ══════════════════════════════════════════════════
   10. PAGE HEADER BACKGROUNDS — par body class
       Chaque page définit --ph-bg-img sur <body>.
       Les images de fond sont celles livrées dans /uploads/.
══════════════════════════════════════════════════ */
body.page-accueil {
  --ph-bg-img: url('../images/hero-office.jpg');
}
body.page-conferences {
  --ph-bg-img: url('../images/hero-office.jpg');
}
body.page-formations {
  --ph-bg-img: url('../images/hero-office.jpg');
}
body.page-elearning {
  --ph-bg-img: url('../images/hero-office.jpg');
}
body.page-qui-suis-je {
  --ph-bg-img: url('../images/hero-liege.png');
}
body.page-contact {
  --ph-bg-img: url('../images/hero-openspace.png');
}

/* NB : la mise en avant z-index de .stats sous le hero est déjà
   assurée par la règle de base .stats (section 11, position:relative;
   z-index:1) — pas de surcharge accueil/contact nécessaire. */


/* ══════════════════════════════════════════════════
   11. STATS BAR
══════════════════════════════════════════════════ */
.stats {
  background: var(--accent);
  padding: 15px 48px;
  display: flex;
  position: relative;
  z-index: 1;
}
.stat {
  flex: 1;
  border-right: 1px solid rgba(24,34,58,0.2);
  padding-right: 24px;
  margin-right: 24px;
}
.stat:last-child { border: none; padding: 0; margin: 0; }
.stat-v {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 40px;
  text-transform: uppercase;
  color: var(--dark);
  line-height: 1;
}
.stat-l {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(24,34,58,0.55);
  margin-top: 3px;
}
/* Accueil : labels plus foncés (meilleur contraste sur l'orange) */
body.page-accueil .stat-l { color: rgba(3,7,9,0.9); }

/* Pastille animée (point « disponible ») — voir aussi .avail-dot-pulse
   en section 24. Conservée ici car réutilisable hors page contact. */
.pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(255,159,0,0.18);
  animation: pulse-anim 2s ease-in-out infinite;
}
@keyframes pulse-anim {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255,159,0,0.18); }
  50%       { box-shadow: 0 0 0 5px rgba(255,159,0,0.05); }
}


/* ══════════════════════════════════════════════════
   12. GRILLE SERVICES — accueil.html
   Grille 4 colonnes de cartes services (.svc) avec image,
   titre, tags et lien. Hover = léger soulèvement (section 27).
══════════════════════════════════════════════════ */
.services-wrap {
  background: var(--dark-2);
  padding: 64px 48px;
}
.services-wrap .eyebrow { margin-bottom: 14px; }

.section-title {
  font-size: 52px;
  line-height: 0.93;
  margin-bottom: 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  background: var(--dark-3);
}

/* Carte service accueil */
.svc {
  background: var(--dark);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.svc-img            { height: 192px; overflow: hidden; }
.svc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.4s ease;
}
.svc:hover .svc-img img { transform: scale(1.04); }
.svc-body {
  padding: 22px 20px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.svc-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 40px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--sand);
}
.svc-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}
.svc-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(200,120,48,0.1);
  border: 1px solid rgba(200,120,48,0.22);
  padding: 3px 8px;
  border-radius: 1px;
}
.svc-desc {
  font-size: 18px;
  line-height: 1.5;
  color: var(--sand);
  flex: 1;
}
.svc-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-top: 6px;
  display: inline-block;
  text-decoration: none;
}


/* ══════════════════════════════════════════════════
   13. SECTION ABOUT — accueil.html
   Bloc « à propos » : texte à gauche, avatar aligné en bas à droite.
══════════════════════════════════════════════════ */
.about-wrap {
  background: var(--dark);
  padding: 64px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  overflow: hidden;
}
.about-left            { min-width: 0; }
.about-left h2         { font-size: 52px; line-height: 0.93; margin-bottom: 24px; }
.about-body {
  font-size: 18px;
  line-height: 1.5;
  color: var(--sand);
  margin-bottom: 32px;
  max-width: 54ch;
}
.about-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 54ch;
}
.about-avatar {
  height: min(540px, 17vh);
  width: auto;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.4));
  display: block;
  align-self: end;
  margin-bottom: -20px;
  position: absolute;
  left: 85vw;
}


/* ══════════════════════════════════════════════════
   14. SECTION FRAME — pages services
   Cadre générique des sections internes : padding + fonds
   alternés (.dark / .darker) + en-tête de section (.sec-head).
══════════════════════════════════════════════════ */
.section          { padding: 88px 48px; }
.section.dark     { background: var(--dark); }
.section.darker   { background: var(--dark-2); }

.sec-head         { max-width: 680px; margin-bottom: 56px; }
.sec-head p {
  font-size: 18px;
  line-height: 1.5;
  color: var(--sand);
  margin-top: 14px;
  max-width: 52ch;
}


/* ══════════════════════════════════════════════════
   15. SERVICE CARDS — pages services
   Cartes « format » des pages services. Les blocs #formats et
   #accompagnement ont une variante 3 colonnes avec gros numéro
   en filigrane (::before lisant l'attribut data-num).
══════════════════════════════════════════════════ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  border: 1px solid var(--sand-border);
  background: var(--sand-border);
}
.svc-card {
  background: var(--dark-3);
  padding: 36px 28px 32px;
}
.section.dark   .svc-card { background: var(--dark); }
.section.darker .svc-card { background: var(--dark-2); }

.svc-ic {
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}
.svc-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sand);
  margin-bottom: 12px;
}
.svc-card .svc-desc { font-size: 18px; line-height: 1.5; color: var(--sand); margin-bottom: 18px; }
.svc-card .svc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-card .svc-tags span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255,159,0,0.07);
  border: 1px solid rgba(255,159,0,0.28);
  padding: 4px 10px;
}

/* Grand numéro en tête de carte */
.svc-card-num {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 44px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

/* Formations : 4 cartes → grille 2×2 (plus spacieuse, symétrique) */
body.page-formations #formats .svc-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* ── Formats numérotés : #formats (conférences) et #accompagnement (elearning) ── */
#formats .svc-grid,
#accompagnement .svc-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,159,0,0.15);
  border: none;
}
#formats .svc-card,
#accompagnement .svc-card {
  background: var(--dark-2);
  border: none;
  padding: 48px 36px 44px;
  position: relative;
  overflow: hidden;
}
#formats .svc-card h3,
#accompagnement .svc-card h3 { font-size: 24px; margin-bottom: 14px; }

/* Watermark numéro en fond de carte */
#formats .svc-card::before,
#accompagnement .svc-card::before {
  content: attr(data-num);
  position: absolute;
  bottom: -22px; right: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 128px;
  color: rgba(255,159,0,0.065);
  line-height: 1; pointer-events: none; user-select: none;
}

/* Icône avec cadre (formats numérotés) */
#formats .svc-ic,
#accompagnement .svc-ic {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,159,0,0.22);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; background: rgba(255,159,0,0.06);
}


/* ══════════════════════════════════════════════════
   16. ÉTAPES & PROCESSUS
   Liste d'étapes numérotées (.step) + variante grille 2×2
   (.steps-grid) avec numéro en filigrane via ::after data-num.
══════════════════════════════════════════════════ */
.steps { display: flex; flex-direction: column; }

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 26px 0;
  border-bottom: 1px solid var(--sand-border);
}
.step:last-child { border-bottom: none; }

.step-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 40px;
  color: var(--accent); opacity: 0.28;
  line-height: 1; padding-top: 2px;
}
.step-marker {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
}
.step-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 17px;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--sand); margin-bottom: 6px;
}
.step-body { font-size: 18px; line-height: 1.5; color: var(--sand); }

/* Grille 2×2 de steps */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  background: rgba(255,159,0,0.13);
  align-self: stretch;
}
.steps-grid .step {
  display: flex; flex-direction: column;
  padding: 36px 32px 32px;
  background: var(--dark-2);
  border-bottom: none;
  position: relative; overflow: hidden;
}
.steps-grid .step::after {
  content: attr(data-num);
  position: absolute; bottom: -18px; right: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 96px;
  color: rgba(255,159,0,0.065);
  line-height: 1; pointer-events: none; user-select: none;
}
.steps-grid .step .step-num { display: none; }
.steps-grid .step-title { font-size: 22px; margin-bottom: 8px; }


/* ══════════════════════════════════════════════════
   17. CARDS AUDIENCE
   Bloc « pour qui » : grille 3 cartes (.aud-grid) ou liste
   verticale numérotée (.aud-grid-numbered).
══════════════════════════════════════════════════ */
.aud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.aud-card {
  border: 1px solid var(--sand-border);
  padding: 28px 22px;
  background: rgba(240,228,196,0.018);
}
.aud-ic          { color: var(--accent); margin-bottom: 16px; display: block; }
.aud-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 17px;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--sand); margin-bottom: 10px;
}
.aud-card p { font-size: 18px; line-height: 1.5; color: var(--sand); }

/* Variante numérotée (liste verticale) */
.aud-grid-numbered {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(255,159,0,0.12);
}
.aud-grid-numbered .aud-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  border: none; padding: 0; gap: 0;
  background: var(--dark-3);
  align-items: stretch;
}
.aud-num-col {
  display: flex; align-items: center;
  background: rgba(255,159,0,0.05);
  border-right: 1px solid rgba(255,159,0,0.14);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 48px;
  color: var(--accent); line-height: 1;
  padding-left: 35px;
}
.aud-content { padding: 28px 36px; }
.aud-grid-numbered .aud-card h3 { font-size: 22px; margin-bottom: 8px; }
.aud-grid-numbered .aud-card p  { font-size: 18px; line-height: 1.5; color: var(--sand); }


/* ══════════════════════════════════════════════════
   18. SPLIT LAYOUT
   Section 2 colonnes (texte + visuel). .reverse inverse l'ordre
   via direction:rtl (puis ltr sur les enfants pour le texte).
══════════════════════════════════════════════════ */
.split {
  padding: 72px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.dark   { background: var(--dark); }
.split.darker { background: var(--dark-2); }
.split.reverse         { direction: rtl; }
.split.reverse > *     { direction: ltr; }
.split-visual { display: flex; justify-content: center; align-items: center; }
.split-avatar { height: 420px; width: auto; filter: drop-shadow(0 16px 36px rgba(0,0,0,0.4)); }

/* Surcharge padding + alignement sur les pages services */
body.page-conferences .split,
body.page-formations .split,
body.page-elearning .split {
  padding-top: 88px;
  padding-bottom: 88px;
  align-items: start;
}

/* Liste de credentials */
.credential-list { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.cred {
  font-size: 13px; font-weight: 500;
  color: var(--sand);
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.5;
}
.cred::before { content: '→'; color: var(--accent); flex-shrink: 0; font-weight: 700; }


/* ══════════════════════════════════════════════════
   19. THEMES SPLIT — conférences & formations
   Bloc « thèmes » : avatar à gauche (aligné bas) + chips à droite.
══════════════════════════════════════════════════ */
.themes-split {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
  align-items: end;
}
.themes-avatar {
  height: 400px; width: auto;
  filter: drop-shadow(0 16px 36px rgba(0,0,0,0.42));
  display: block;
}


/* ══════════════════════════════════════════════════
   20. PROCESSUS CONFÉRENCE / FORMATION (conf-process)
   Déroulé en étapes : texte+avatar à droite (order:2),
   grille 2×2 d'étapes à gauche (order:1) via flexbox reorder.
══════════════════════════════════════════════════ */
.conf-process                   { align-items: stretch; }
.conf-process .process-left     { display: flex; flex-direction: column; order: 2; }
.conf-process .steps-grid       { order: 1; }
.conf-process-lead {
  font-size: 18px; line-height: 1.5;
  color: var(--sand); margin-top: 16px; max-width: 38ch;
}
/* Avatar ancré en bas du flex column — plus d'absolute positioning */
.conf-process-avatar {
  width: auto; height: 425px;
  align-self: flex-start;   /* empêche l'étirement flex — proportions préservées */
  margin-top: auto;
  filter: drop-shadow(0 16px 36px rgba(0,0,0,0.42));
  display: block;
}
.svc-process-avatar {
  height: 300px; width: auto;
  margin-top: 32px; display: block;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.38));
}


/* ══════════════════════════════════════════════════
   21. MOODLE / E-LEARNING — spécifiques
   Variante du déroulé (grille 2×2) + section prestations
   (chips + avatar) propres à la page e-learning.
══════════════════════════════════════════════════ */
.moodle-process                 { align-items: stretch; }
.moodle-process .steps          { order: 1; }
.moodle-process .process-left   { order: 2; display: flex; flex-direction: column; }
.process-lead {
  font-size: 18px; line-height: 1.5;
  color: var(--sand); margin-top: 16px; max-width: 38ch;
}
.process-avatar {
  width: 160px; height: auto;
  margin-top: 36px; display: block;
  filter: drop-shadow(0 16px 36px rgba(0,0,0,0.42));
}

/* Grille 2×2 pour le déroulé Moodle */
.moodle-process .steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  background: rgba(255,159,0,0.13);
  align-self: stretch;
}
.moodle-process .step {
  display: flex; flex-direction: column;
  padding: 44px 36px 40px;
  background: var(--dark-2);
  border-bottom: none;
  position: relative; overflow: hidden;
}
.moodle-process .step::after {
  content: attr(data-num);
  position: absolute; bottom: -18px; right: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 96px;
  color: rgba(255,159,0,0.065);
  line-height: 1; pointer-events: none; user-select: none;
}
.moodle-process .step .step-num  { display: none; }
.moodle-process .step-title      { font-size: 24px; margin-bottom: 10px; }

/* Section prestations */
.prestations-split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: end;
}
.prestations-right {
  display: flex;
  align-items: flex-end;
  align-self: stretch;
}
/* Avatar ancré en bas — plus d'absolute positioning */
.prestations-avatar {
  height: 420px; width: auto;
  filter: drop-shadow(0 16px 36px rgba(0,0,0,0.42));
  display: block;
  margin-top: auto;
}


/* ══════════════════════════════════════════════════
   22. TIMELINE — qui-suis-je.html
   Frise chronologique verticale : ligne centrale dégradée,
   cartes alternées gauche/droite, connecteurs horizontaux (::before/::after).
══════════════════════════════════════════════════ */
.timeline-wrap {
  background: rgb(20,21,29);
  padding: 100px 48px;
  position: relative;
  overflow: hidden;
}
/* Ligne pointillée en fond */
.timeline-wrap::before {
  content: '';
  position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(
    to bottom,
    var(--sand-border) 0px,
    var(--sand-border) 7px,
    transparent 7px,
    transparent 15px
  );
  z-index: 0;
}
.timeline-avatar {
  position: absolute; top: 0; right: 0; height: 26%; width: auto;
  pointer-events: none;
  filter: drop-shadow(-8px 12px 28px rgba(0,0,0,0.45));
  z-index: 0;
}
.timeline-head,
.timeline         { position: relative; z-index: 1; }
.timeline-head    { margin-bottom: 64px; }
.timeline-intro   { font-size: 18px; line-height: 1.5; color: var(--sand); margin-top: 18px; max-width: 560px; }

.timeline {
  position: relative;
  max-width: 960px; margin: 0 auto;
}
/* Ligne centrale dorée */
.timeline::before {
  content: '';
  position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, rgba(255,159,0,0.7) 0%, rgba(255,159,0,0.35) 60%, rgba(255,159,0,0.08) 100%);
  transform: translateX(-50%);
}
.tl-item {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  margin-bottom: 28px;
  align-items: start;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-node   { display: flex; justify-content: center; padding-top: 14px; position: relative; z-index: 1; }
.tl-dot {
  width: 16px; height: 16px;
  border-radius: 50%; background: var(--accent); flex-shrink: 0;
  box-shadow: 0 0 0 5px rgba(255,159,0,0.15);
}
.tl-dot.big {
  width: 22px; height: 22px;
  box-shadow: 0 0 0 6px rgba(255,159,0,0.22), 0 0 0 12px rgba(255,159,0,0.07);
}
.tl-slot-left  { padding-right: 28px; }
.tl-slot-right { padding-left: 28px; }
.tl-card {
  border: 1px solid rgba(255,159,0,0.18);
  padding: 24px 28px 26px;
  background: rgba(255,159,0,0.04);
  position: relative;
}
/* Connecteurs horizontaux */
.tl-slot-right .tl-card::before {
  content: ''; position: absolute; left: -28px; top: 18px;
  width: 28px; height: 1px; background: rgba(255,159,0,0.22);
}
.tl-slot-left .tl-card::after {
  content: ''; position: absolute; right: -28px; top: 18px;
  width: 28px; height: 1px; background: rgba(255,159,0,0.22);
}
.tl-slot-left .tl-card { text-align: right; }
.tl-card-year  { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 46px; color: var(--accent); line-height: 1; margin-bottom: 6px; }
.tl-card-title { font-size: 22px; font-weight: 700; color: var(--sand); margin-bottom: 10px; }
.tl-card-text  { font-size: 18px; line-height: 1.5; color: var(--sand); }


/* ══════════════════════════════════════════════════
   23. AVENTURIER & CERVEAU — qui-suis-je.html
   Deux blocs narratifs : « hors les murs » (montagne) et
   « haut potentiel » (TDAH), avec carte accent orange.
══════════════════════════════════════════════════ */
.split-scene           { width: 100%; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; }
.split-scene img       { width: 100%; height: 100%; object-fit: cover; }

.aventurier-wrap {
  position: relative; overflow: hidden;
  padding: 80px 48px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.aventurier-bg      { position: absolute; inset: 0; background-color: var(--dark); }
.aventurier-content { position: relative; z-index: 1; }
.aventurier-img     { position: relative; z-index: 1; border-radius: 4px; overflow: hidden; }
.aventurier-img img { width: 100%; height: 340px; object-fit: cover; object-position: center 20%; }

.cerveau-wrap {
  background: var(--dark-2);
  padding: 80px 48px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.accent-card        { background: var(--accent); padding: 36px; border-radius: 2px; }
.accent-card-title  {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 22px;
  text-transform: uppercase; color: var(--dark);
  letter-spacing: -0.01em; margin-bottom: 12px;
}
.accent-card-text   { font-size: 18px; line-height: 1.5; font-weight: 600; color: rgb(24,26,35); }


/* ══════════════════════════════════════════════════
   24. CONTACT & FORMULAIRES — contact.html
   Champs de formulaire, radios stylisés en pills, section
   « réserver » (3 étapes + formulaire) et coordonnées directes.
══════════════════════════════════════════════════ */
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sand-dim);
}
.form-input,
.form-textarea,
.form-select {
  background: rgba(240,228,196,0.04);
  border: 1px solid var(--sand-border);
  border-radius: 2px;
  padding: 12px 16px;
  color: var(--sand);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus       { border-color: var(--accent); }
.form-input::placeholder,
.form-textarea::placeholder { color: var(--sand-muted); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid { display: flex; flex-direction: column; gap: 18px; }
.form-submit { margin-top: 6px; }

/* Radio stylisés en pills */
.intent-group  { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.intent-label  { position: relative; cursor: pointer; }
.intent-label input { position: absolute; opacity: 0; width: 0; height: 0; }
.intent-pill {
  display: block; padding: 8px 16px;
  border: 1px solid var(--sand-border);
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--sand-dim);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  user-select: none;
}
.intent-label input:checked + .intent-pill { border-color: var(--accent); color: var(--dark); background: var(--accent); }
.intent-label:hover .intent-pill           { border-color: rgba(255,159,0,0.5); color: var(--sand); }

/* Section réserver */
.booking-section    { background: var(--dark-2); padding: 88px 48px; }
.booking-hero       { display: flex; align-items: flex-end; gap: 48px; margin-bottom: 56px; }
.booking-intro      { max-width: 560px; }
.booking-intro-text { font-size: 18px; line-height: 1.5; color: var(--sand); margin-top: 16px; }
.booking-avatar     { height: 300px; width: auto; flex-shrink: 0; filter: drop-shadow(0 12px 28px rgba(0,0,0,0.38)); }

.booking-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,159,0,0.15);
  border: none; margin-bottom: 56px;
}
.booking-step {
  background: var(--dark-2);
  padding: 44px 36px 40px;
  position: relative; overflow: hidden;
}
.booking-step::before {
  content: attr(data-num);
  position: absolute; bottom: -22px; right: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 128px;
  color: rgba(255,159,0,0.065);
  line-height: 1; pointer-events: none; user-select: none;
}
.booking-step-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 24px;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent); margin-bottom: 10px;
}
.booking-step-text { font-size: 18px; line-height: 1.5; color: var(--sand); }
.booking-form {
  border: 1px solid rgba(255,159,0,0.25);
  padding: 48px 44px;
  background: var(--dark-2);
}
.booking-form-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--accent); margin-bottom: 28px;
}
.booking-form-wrap  { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: end; }
.booking-form-avatar { height: 420px; width: auto; filter: drop-shadow(0 16px 36px rgba(0,0,0,0.42)); align-self: flex-end; }

/* Contact direct */
.contact-section            { padding: 88px 48px; }
.contact-section .section-body { margin-bottom: 32px; }
.contact-grid   { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-info   { display: flex; flex-direction: column; gap: 0; }
.contact-item   { display: flex; align-items: flex-start; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--sand-border); }
.contact-item:first-child { padding-top: 0; }
.contact-item:last-child  { border-bottom: none; }
.contact-item-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--sand-border);
  color: var(--accent); flex-shrink: 0;
}
.contact-item-label { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sand-dim); margin-bottom: 4px; }
.contact-item-value { font-size: 18px; color: var(--sand); line-height: 1.5; }
.contact-item-value a { color: var(--accent); text-decoration: none; font-weight: 500; }
.contact-item-value a:hover { text-decoration: underline; }
.contact-reply { margin-top: 32px; padding: 20px 24px; border-left: 2px solid var(--accent); background: rgba(255,159,0,0.04); }
.contact-reply-text { font-size: 18px; line-height: 1.5; color: var(--sand); font-style: italic; }
.avail-dot { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-top: 20px; }
.avail-dot-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,159,0,0.18);
  animation: avail-pulse 2s ease-in-out infinite;
}
@keyframes avail-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255,159,0,0.18); }
  50%       { box-shadow: 0 0 0 5px rgba(255,159,0,0.04); }
}

/* Disponibilité sur pages services */
.availability {
  margin-top: 24px; display: flex; align-items: center; gap: 9px;
  font-size: 10px; font-weight: 700; color: var(--accent);
  letter-spacing: 0.1em; text-transform: uppercase;
}


/* ══════════════════════════════════════════════════
   25. CTA SECTION
   Bloc d'appel à l'action en bas de page : image de fond
   montagne + overlay sombre + titre/sous-titre/boutons centrés.
══════════════════════════════════════════════════ */
.cta-wrap {
  position: relative;
  padding: 100px 48px;
  text-align: center;
  overflow: hidden;
}
.cta-bg-wrap    { position: absolute; inset: 0; z-index: 0; }
.cta-bg-img {
  position: absolute; inset: 0;
  background: url('../images/cta-mountain.png') center 30% / cover no-repeat;
}
.cta-bg-overlay { position: absolute; inset: 0; background: rgba(18,20,28,0.72); }
.cta-wrap h2,
.cta-wrap .cta-sub,
.cta-wrap .cta-btns { position: relative; z-index: 1; }
.cta-wrap h2  { font-size: 60px; line-height: 0.92; margin-bottom: 16px; }
.cta-sub {
  font-size: 18px; color: var(--sand);
  margin: 0 auto 36px; line-height: 1.5; max-width: 520px;
}
.cta-sub--xl  { font-size: 24px; line-height: 1.25; }
.cta-btns     { display: flex; gap: 12px; justify-content: center; }


/* ══════════════════════════════════════════════════
   26. FOOTER
   Pied de page : grille 4 colonnes (marque + 3 colonnes de
   liens) + barre légale. ⚠ Certains liens sont encore en href="#".
══════════════════════════════════════════════════ */
.footer {
  background: var(--dark-3);
  padding: 64px 48px 0;
  border-top: 1px solid var(--sand-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--sand-border);
}
.footer-brand-logo { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 22px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sand); margin-bottom: 14px; }
.footer-brand-tag  { font-size: 15px; line-height: 1.7; color: var(--sand); max-width: 240px; margin-bottom: 24px; }
.footer-contact-line { font-size: 14px; color: var(--sand); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.footer-contact-line a { color: var(--accent); text-decoration: none; font-weight: 500; }
.footer-col-title  { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--accent); margin-bottom: 18px; }
.footer-col ul     { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a   { font-size: 15px; color: var(--sand); text-decoration: none; transition: color 0.15s; }
.footer-col li a:hover { color: var(--accent); }
.footer-bar  { padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-copy { font-size: 13px; color: var(--sand-dim); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: var(--sand-dim); text-decoration: none; transition: color 0.15s; }
.footer-legal a:hover { color: var(--sand-dim); }


/* ══════════════════════════════════════════════════
   27. ANIMATIONS & INTERACTIONS
   Conditionnées par prefers-reduced-motion pour
   l'accessibilité et l'impression / PDF.
══════════════════════════════════════════════════ */
@keyframes pmm-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {

  /* ── Entrée page-header (toutes les pages) ── */
  .page-header .ph-eyebrow-group { animation: pmm-rise 0.6s  cubic-bezier(0.25,1,0.5,1) both 0.06s; }
  .page-header .ph-breadcrumb    { animation: pmm-rise 0.5s  cubic-bezier(0.25,1,0.5,1) both 0.04s; }
  .page-header .ph-title      { animation: pmm-rise 0.65s cubic-bezier(0.25,1,0.5,1) both 0.16s; }
  .page-header .ph-sub        { animation: pmm-rise 0.6s  cubic-bezier(0.25,1,0.5,1) both 0.30s; }
  .page-header .ph-actions    { animation: pmm-rise 0.55s cubic-bezier(0.25,1,0.5,1) both 0.42s; }
  .page-header .ph-kpis       { animation: pmm-rise 0.55s cubic-bezier(0.25,1,0.5,1) both 0.52s; }
  .page-header .ph-avatar     { animation: pmm-rise 0.9s  cubic-bezier(0.25,1,0.5,1) both 0.10s; }

  /* ── Scroll reveal — classe ajoutée par animations.js ── */
  .pmm-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition:
      opacity   0.65s cubic-bezier(0.25,1,0.5,1),
      transform 0.65s cubic-bezier(0.25,1,0.5,1);
  }
  .pmm-reveal.is-visible { opacity: 1; transform: none; }

  /* ── Boutons ── */
  .btn-p { transition: background 0.2s, transform 0.18s, box-shadow 0.2s; }
  .btn-p:hover  { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(255,159,0,0.24); }
  .btn-p:active { transform: none; box-shadow: none; }
  .btn-g { transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.18s; }
  .btn-g:hover  { transform: translateY(-2px); background: rgba(255,159,0,0.09); }
  .btn-g:active { transform: none; }

  /* ── Cards services (accueil) ── */
  .svc { transition: transform 0.3s cubic-bezier(0.25,1,0.5,1), box-shadow 0.3s ease; }
  .svc:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
    position: relative; z-index: 2;
  }
  .svc-link { transition: letter-spacing 0.28s ease, color 0.2s; }
  .svc:hover .svc-link { letter-spacing: 0.14em; }

  /* ── Cards service (pages services) ── */
  .svc-card { transition: transform 0.3s cubic-bezier(0.25,1,0.5,1), box-shadow 0.3s ease, border-color 0.2s; }
  .svc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.28);
    border-color: rgba(240,228,196,0.18);
  }

  /* ── Nav : soulignement glissant ── */
  .nav ul a:not(.nav-cta) { position: relative; }
  .nav ul a:not(.nav-cta)::after {
    content: '';
    position: absolute; left: 0; bottom: -2px;
    width: 0; height: 1px; background: var(--accent);
    transition: width 0.22s ease;
  }
  .nav ul a:not(.nav-cta):hover::after { width: 100%; }

  /* ── Chips hover ── */
  .chip { transition: border-color 0.2s, color 0.2s; cursor: default; }
  .chip:hover { border-color: var(--accent) !important; color: var(--sand) !important; }
}


/* ══════════════════════════════════════════════════
   28. RESPONSIVE / MOBILE (≤ 768px)
   Toutes les surcharges mobiles regroupées ici (mobile-last).
   NB : la demande actuelle ignore le responsive — ce bloc reste
   fonctionnel mais n'est pas la priorité de revue.
══════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Viewport block ── */
  .vh-block { height: auto; }

  /* ── Navigation ── */
  .nav {
    padding: 0 20px;
    position: sticky; top: 0; z-index: 201;
  }
  .nav ul {
    position: fixed; inset: 0; z-index: 200;
    background: var(--dark);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 4px; opacity: 0; pointer-events: none;
    transition: opacity 0.22s ease;
  }
  .nav.open ul { opacity: 1; pointer-events: auto; }
  .nav.open ul li { width: 100%; text-align: center; }
  .nav.open ul li a {
    font-family: 'Barlow Condensed', sans-serif !important;
    font-weight: 700 !important; font-size: 42px !important;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--sand-dim) !important;
    padding: 12px 24px; display: block; transition: color 0.15s;
  }
  .nav.open ul li a:hover { color: var(--sand) !important; }
  .nav.open ul li .nav-cta {
    font-size: 22px !important; color: var(--dark) !important;
    background: var(--accent) !important;
    padding: 14px 40px !important; margin-top: 20px;
    border-radius: 2px; display: inline-block;
  }
  .nav-hamburger { display: flex; }

  /* ── Stats ── */
  .stats { flex-direction: column; padding: 0; }
  .stat  { border-right: none; border-bottom: 1px solid rgba(24,34,58,0.2); padding: 16px 24px; margin: 0; }
  .stat:last-child { border-bottom: none; padding: 16px 24px; }

  /* ── Boutons ── */
  .cta-btns { flex-direction: column; align-items: stretch; }
  .cta-btns .btn-p, .cta-btns .btn-g { display: block; text-align: center; }

  /* ── Page header ── */
  .page-header { grid-template-columns: 1fr; padding: 48px 20px 0; }
  .ph-title    { font-size: 40px; line-height: 0.94; }
  .ph-avatar   { display: none; }
  .ph-sub      { padding-bottom: 40px; max-width: 100%; }

  /* Backgrounds mobiles spécifiques */
  body.page-qui-suis-je .page-header {
    background:
      linear-gradient(180deg,
        rgba(16,17,24,0.40)  0%,
        rgba(16,17,24,0.90) 55%,
        rgba(16,17,24,1.00) 100%
      ),
      url('../images/hero-liege.png') center 40% / cover no-repeat;
  }
  body.page-contact .page-header {
    background:
      linear-gradient(180deg,
        rgba(16,17,24,0.40)  0%,
        rgba(16,17,24,0.92) 52%,
        rgba(16,17,24,1.00) 100%
      ),
      url('../images/hero-office.jpg') center 40% / cover no-repeat;
  }

  /* ── Split ── */
  .split  { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px; }
  .split.reverse { direction: ltr; }
  .split-visual  { order: -1; }
  .split-avatar  { height: 200px; }
  .section-h2    { font-size: 34px; }

  /* ── CTA ── */
  .cta-wrap    { padding: 64px 24px; }
  .cta-wrap h2 { font-size: 44px; }

  /* ── Footer ── */
  .footer      { padding: 48px 20px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bar  { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* ── Section frame services ── */
  .section   { padding: 56px 20px; }
  .sec-head  { margin-bottom: 36px; }
  .svc-grid  { grid-template-columns: 1fr; }

  /* ── Steps grid ── */
  .steps-grid { grid-template-columns: 1fr; }
  .step       { grid-template-columns: 44px 1fr; }

  /* ── Audience ── */
  .aud-grid   { grid-template-columns: 1fr; gap: 10px; }
  .aud-grid-numbered .aud-card { grid-template-columns: 60px 1fr; }
  .aud-num-col { font-size: 32px; }
  .aud-content { padding: 20px; }

  /* ── Themes split ── */
  .themes-split   { grid-template-columns: 1fr; gap: 32px; }
  .themes-avatar  { height: 160px; }

  /* ── Conférence / formation process ── */
  .conf-process .process-left { order: 0; }
  .conf-process .steps-grid   { order: 0; }
  .conf-process-avatar        { display: none; }

  /* ── Moodle ── */
  #accompagnement .svc-grid   { grid-template-columns: 1fr; }
  .moodle-process .steps      { grid-template-columns: 1fr; }
  .prestations-split          { grid-template-columns: 1fr; }
  .prestations-avatar         { display: none; }

  /* ── Hero accueil (mobile) ── */
  body.page-accueil .page-header {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    min-height: 440px;
    padding: 0;
    background:
      linear-gradient(180deg,
        rgba(24,26,35,0.18)  0%,
        rgba(24,26,35,0.05) 35%,
        rgba(24,26,35,0.90) 68%,
        rgba(24,26,35,1.00) 100%
      ),
      var(--ph-bg-img) center / cover no-repeat;
  }
  body.page-accueil .ph-avatar  { display: none; }
  body.page-accueil .ph-content { padding: 28px 24px 48px; max-width: 100%; }
  body.page-accueil .ph-title   { font-size: 52px; }
  body.page-accueil .ph-sub     { font-size: 16px !important; max-width: 100%; }
  body.page-accueil .ph-actions { flex-wrap: wrap; }

  /* ── Services accueil ── */
  .services-wrap  { padding: 48px 20px; }
  .services-grid  { grid-template-columns: 1fr; }
  .section-title  { margin-bottom: 32px; font-size: 38px; }

  /* ── About accueil ── */
  .about-wrap    { grid-template-columns: 1fr; padding: 48px 20px; gap: 0; }
  .about-left h2 { font-size: 38px; }
  .about-avatar  { width: 140px; height: auto; align-self: center; margin: 16px auto 0; }

  /* ── Timeline (qui-suis-je) ── */
  .timeline-wrap   { padding: 56px 20px; }
  .timeline-wrap::before { left: 30px; transform: none; }
  .timeline-avatar { display: none; }
  .timeline        { max-width: 100%; margin: 0; }
  .timeline::before { left: 10px; transform: none; }
  .tl-item   { grid-template-columns: 24px 1fr; margin-bottom: 24px; }
  .tl-slot-left, .tl-slot-right { display: contents; }
  .tl-node   { grid-column: 1; grid-row: 1; }
  .tl-card   { grid-column: 2; grid-row: 1; padding-left: 12px; text-align: left !important; }
  .tl-slot-right .tl-card::before { left: -14px; width: 14px; }
  .tl-slot-left  .tl-card::after  { right: auto; left: -14px; width: 14px; }
  .timeline-intro { max-width: 100%; }

  /* ── Aventurier / Cerveau (qui-suis-je) ── */
  .aventurier-wrap { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px; }
  .aventurier-img img { height: 200px; }
  .cerveau-wrap    { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px; }

  /* ── Contact ── */
  .booking-section    { padding: 56px 20px; }
  .booking-hero       { flex-direction: column; gap: 24px; align-items: flex-start; }
  .booking-avatar     { height: 200px; }
  .booking-steps      { grid-template-columns: 1fr; }
  .booking-form       { padding: 28px 20px; }
  .booking-form-wrap  { grid-template-columns: 1fr; }
  .booking-form-avatar { display: none; }
  .form-row           { grid-template-columns: 1fr; }
  .contact-section    { padding: 56px 20px; }
  .contact-grid       { grid-template-columns: 1fr; gap: 48px; }

}

/* ── Responsive ── */

  .ph-content {
    max-width: 100vw;
    padding-right: 25px;
    padding-left: 20px;
  }

  body.page-accueil .ph-sub {
    max-width: 490px;
  }

  .ph-avatar {
    left: 800px;
    display: none;
    height: 270px;
  }

  .timeline-avatar {
    height: 10%;
  }

  .booking-form-avatar {
    display: none;
  }

  .ph-kpis {
    padding-bottom: 25px;
  }

  .ph-kpis > div {
    width: 100%;
  }

  .moodle-process .process-left,
  .conf-process .process-left {
    order: 1;
  }

  .moodle-process .steps,
  .conf-process .steps {
    order: 2;
    grid-template-columns: 1fr;
  }
  .conf-process-avatar {
    transform: rotateY(180deg);
  }

  #formats .svc-grid, #accompagnement .svc-grid {
    grid-template-columns: repeat(1, 1fr);
  }


@media (min-width: 768px) {

  .ph-kpis {
    padding-bottom: 0;
  }
  #formats .svc-grid, #accompagnement .svc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 790px) {

  .ph-avatar {
    display: block;
    left: 400px;
  }

  .timeline-avatar {
    height: 18%;
  }
}

@media (min-width: 920px) {

  body.page-accueil .ph-sub {
    max-width: 640px;
  }

  .ph-avatar {
    left: 650px;
    height: 550px;
  }

  .ph-kpis > div {
    width: auto;
  }
}
@media (min-width: 1000px) {
  .moodle-process .process-left,
  .conf-process .process-left {
    order: 2;
  }
  .moodle-process .steps,
  .conf-process .steps {
    order: 1;
    grid-template-columns: 1fr 1fr;
  }

  .conf-process-avatar {
    transform: rotateY(0deg);
  }

  .about-avatar {
    height: min(540px, 50vh);
    left: 70vw;
  }
}
@media (min-width: 1280px) {

  .timeline-avatar {
    height: 26%;
  }

  .booking-form-avatar {
    display: block;
  }
}
@media (min-width: 1450px) {

  .ph-avatar {
    left: 450px;
  }

  .about-avatar {
    left: 50vw;
  }

}
@media (min-width: 1700px) {

  .ph-avatar {
    left: 240px;
  }

}

/* ══════════════════════════════════════════════════
   29. INTÉGRATION WORDPRESS (block theme)
   Ajouts propres au portage WP. Le site statique
   enfermait nav + hero + stats dans .vh-block (100dvh).
   En WP, la nav devient un template part global placé
   au-dessus du contenu : on ne peut plus envelopper les
   trois dans un même conteneur plein écran sans casser
   les frontières de contenu Gutenberg. On relâche donc
   le « fit » exact en min-height responsive sur le hero,
   ce qui conserve la sensation de première vue haute.
══════════════════════════════════════════════════ */

/* Le thème injecte les classes body.page-* (voir functions.php),
   donc tout le CSS historique (§8, §10…) reste valable tel quel. */

/* Hero : hauteur de première vue, sans le wrapper .vh-block. */
.page-header {
  min-height: 630px;
  height: calc(100vh - 191px);
}

/* Gutenberg enveloppe le contenu de page dans .wp-block-post-content :
   on neutralise ses contraintes de largeur pour laisser les
   sections full-bleed (stats, CTA, splits) s'étendre comme en statique. */
.site-main,
.wp-block-post-content,
.entry-content {
  max-width: none;
  width: 100%;
}

/* ── Neutralisation du blockGap WordPress ───────────────────────
   WordPress émet, en style inline « global-styles » (non éditable
   depuis le thème, et NON supprimé par spacing.blockGap:false à cause
   d'appearanceTools / du cache theme.json), cette règle :
       :root :where(.is-layout-flow) > * { margin-block-start: 24px; }
   Elle ajoute 24px en haut de CHAQUE enfant de groupe → décalages
   verticaux (ex. items .stat dans le bandeau orange) et espaces
   parasites entre sections. Spécificité = 0,1,0 (le :root) : elle bat
   le reset universel `*{margin:0}`.
   On l'annule ici avec la MÊME spécificité ; comme styles.css charge
   après le style inline WP, on gagne par ordre de cascade. */
:root :where(.is-layout-flow) > *,
:root :where(.is-layout-constrained) > * {
  margin-block-start: 0;
}

/* On RESTAURE la respiration entre paragraphes consécutifs (prose des
   sections : .section-body, .about-body…). Spécificité 0,1,2 > 0,1,0. */
:root :where(.is-layout-flow) > p + p,
:root :where(.is-layout-constrained) > p + p {
  margin-block-start: 1.2em;
}

/* …et le rythme vertical du contenu d'ARTICLE (blog), tous blocs
   confondus (titres, listes, citations…). Spécificité 0,2,0 > 0,1,0. */
.single-wrap .wp-block-post-content > * { margin-block-start: 1.4em; }
.single-wrap .wp-block-post-content > :first-child { margin-block-start: 0; }

/* Barre de stats / sections : neutralise le centrage de contenu WP
   pour les groupes full-bleed portant nos classes maison. */
.stats, .cta-wrap, .services-wrap, .about-wrap,
.section, .split, .booking-section, .contact-section,
.timeline-wrap, .aventurier-wrap, .cerveau-wrap {
  max-width: none;
}

/* Avatars (hero & sections) : le markup est ramené à un <img class="…">
   brut par le filtre render_block « former_pmm_unwrap_avatar_image »
   (voir functions.php). Tout le positionnement responsive d'origine
   (.ph-avatar §8/§9 + breakpoints §28) s'applique donc tel quel —
   aucune surcharge CSS n'est nécessaire ici. */


/* ══════════════════════════════════════════════════
   30. BLOG (natif WordPress) — cohérence avec le vitrine
   Listing, cartes d'articles, article seul. Réutilise les
   tokens existants (--dark, --accent, --sand…).
══════════════════════════════════════════════════ */

/* En-tête de section blog / archive — variante légère du hero. */
.blog-head {
  padding: 80px 48px 40px;
  max-width: none;
}
.blog-head .eyebrow { margin-bottom: 16px; }
.blog-head h1,
.blog-head h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--sand);
  font-size: clamp(40px, 4vw, 56px);
  line-height: 0.95;
}
.blog-head p { color: var(--sand); font-size: 18px; margin-top: 12px; max-width: 720px; }

/* Grille de cartes d'articles. */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 48px 80px;
  max-width: none;
}
.post-card {
  background: var(--dark-2);
  border: 1px solid var(--sand-border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.post-card img { width: 100%; height: 200px; object-fit: cover; }
.post-card .post-card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.post-card .post-card-date { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.post-card h3, .post-card .wp-block-post-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; text-transform: uppercase; font-size: 24px; line-height: 1; color: var(--sand); }
.post-card h3 a, .post-card .wp-block-post-title a { color: var(--sand); text-decoration: none; }
.post-card h3 a:hover, .post-card .wp-block-post-title a:hover { color: var(--accent); }
.post-card .wp-block-post-excerpt { color: var(--sand); font-size: 15px; line-height: 1.5; opacity: 0.82; }

/* Pagination. */
.blog-pagination { padding: 0 48px 80px; max-width: none; }
.blog-pagination a, .blog-pagination .current { color: var(--sand); margin-right: 14px; text-decoration: none; }
.blog-pagination a:hover { color: var(--accent); }

/* Article seul — colonne de lecture confortable. */
.single-wrap { max-width: 760px; margin-inline: auto; padding: 80px 24px 96px; }
.single-wrap .wp-block-post-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; text-transform: uppercase; color: var(--sand); font-size: clamp(40px, 5vw, 64px); line-height: 0.95; margin-bottom: 16px; }
.single-meta { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 28px; }
.single-wrap .wp-block-post-featured-image img { width: 100%; border-radius: 6px; margin-bottom: 32px; }
.single-wrap .wp-block-post-content { color: var(--sand); font-size: 18px; line-height: 1.7; }
.single-wrap .wp-block-post-content h2,
.single-wrap .wp-block-post-content h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; text-transform: uppercase; color: var(--sand); margin: 1.6em 0 0.5em; }
.single-wrap .wp-block-post-content a { color: var(--accent); }

@media (max-width: 900px) {
  .post-grid { grid-template-columns: 1fr; padding: 0 24px 64px; }
  .blog-head { padding: 56px 24px 28px; }
}
