/* ============================================================
   XpertPro — Landing page
   Palette douce, moderne et professionnelle
   ============================================================ */

:root {
  --navy: #16395e;
  --navy-700: #1b3b5f;
  --navy-900: #0f2742;
  --blue: #4099ff;
  --accent: #db7a3e;        /* orange doux pour les niveaux */
  --accent-soft: #fbeee2;
  --bg: #f5f7fb;
  --bg-soft: #eef2f9;
  --surface: #ffffff;
  --border: #e4e9f1;
  --border-strong: #d4dce8;
  --text: #1d2b3e;
  --text-muted: #66748a;
  --text-back: #000000;
  --text-light: #3f4042;
  --ring: rgba(22, 57, 94, 0.12);
  --shadow-sm: 0 1px 2px rgba(16, 39, 66, 0.05);
  --shadow-md: 0 8px 24px rgba(16, 39, 66, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 39, 66, 0.12);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 22px;
  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);   /* easeOutExpo doux */
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* -------- Reset --------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); letter-spacing: -0.02em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

/* -------- Buttons --------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }

.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-900); box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--bg-soft); }

.btn-soft { background: #fff; color: var(--navy); border-color: var(--border-strong); }
.btn-soft:hover { background: var(--bg-soft); }

.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--border-strong); }
.btn-outline:hover { background: var(--bg-soft); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 247, 251, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 88px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy);
}
.brand span { color: var(--accent); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  border-radius: 14px;
  overflow: hidden;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: 18px;
  margin-top: -5px;
  font-weight: 500;
  color: var(--text-muted);
}
.nav-links a { transition: color .2s; font-size: 14px;}
.nav-links a:hover { color: var(--navy); }
.nav-actions { display: flex; gap: 10px; margin-left: auto; }

.nav-toggle {
  display: none;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: .25s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  aspect-ratio: 1376 / 490;     /* ratio exact de l'image */
  max-height: 1000px;
  background:
    url('assets/fond/fond-3.png') center center / cover no-repeat,
    var(--bg);
}
.hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
  padding: 16px 24px 40px;
}
.hero-content {
  align-self: stretch;                       /* occupe toute la hauteur */
  display: flex;
  flex-direction: column;
  justify-content: space-between;            /* texte en haut, reste en bas */
  gap: 24px;
}
.formation-professionnelle {
  color: #fff;
  background: #043494;
  width: 227px;
  padding: 10px 15px;
  border-radius: 2px;
}


.hero-top h1 {
  color: #fff;
  font-size: clamp(1.8rem, 3.8vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.55);
}
.hero-top p {
  margin-top: 14px;
  width: fit-content;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(0.88rem, 1.0vw, 1.12rem);
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  background: #f30000;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 600;
}

.format-strong  {
  width: 200px;
}

.hero-time {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 7px 14px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  font-size: 11px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.hero-time svg { color: #f30000; flex-shrink: 0; }
.hero-visual { align-self: end; }           /* cartes en bas */
.pill, .badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.pill svg, .badge-pill svg { color: var(--accent); }

.hero-content h1 {
  font-size: clamp(30px, 35px, 40px);
  font-weight: 800;
  margin: 2px 0 20px;
}
.hero-content h1 span { color: var(--blue); }
.hero-content > p {
  font-size: 14px;
  color: var(--text-back);
  max-width: 540px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 36px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  list-style: none;
  padding: 0;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.6rem; color: #fff; font-weight: 800; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55); }
.hero-stats span { font-size: 0.85rem; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6); }

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 360px;
}
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px);
}
.card-main {
  position: relative;
  z-index: 2;
  margin: 104px auto 44px;
  max-width: 320px;
  padding: 26px;
}
.gc-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  margin-bottom: 16px;
}
.card-main h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card-main p { color: var(--text-muted); font-size: 0.95rem; }

.card-float {
  position: absolute;
  top: 0; left: 0;
  z-index: 3;
  padding: 16px 18px;
  width: 230px;
}
.mini-row { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; }
.progress {
  height: 7px;
  background: var(--bg-soft);
  border-radius: 999px;
  margin: 12px 0 8px;
  overflow: hidden;
}
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--navy)); border-radius: 999px; }
.card-float small { color: var(--text-light); font-size: 0.78rem; }

.card-badge {
  position: absolute;
  bottom: 8px; right: 0;
  z-index: 3;
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  font-weight: 600; font-size: 0.88rem;
}
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-blue { background: var(--blue); }
.dot-green { background: #29b274; }

/* ============================================================
   SECTION : FORMATIONS PAR DOMAINE
   ============================================================ */
.domains-section { padding: 10px 0 40px; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 15px; }
.section-head .badge-pill { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); font-weight: 800; letter-spacing: -0.015em; line-height: 1.18; }
.section-head p { color: #000; font-size: 0.92rem; margin-top: 10px; }

/* ---- Liste des domaines en accordéon (2 colonnes) ---- */
.domain-accordion {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  /* background: var(--bg-soft);s */
  background-color: #fefeff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
}
.dom-col { display: flex; flex-direction: column; }

.dom-item {
  border-bottom: 1px solid var(--border);
  transition: background .25s var(--ease), border-radius .25s var(--ease);
}
.dom-col .dom-item:last-child { border-bottom: none; }
.dom-item.open { background: var(--surface); border-radius: var(--radius-sm); border-bottom-color: transparent; margin-bottom: 15px;}

.dom-head {
  width: 100%;
  background: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 12px;
  text-align: left;
  font: inherit;
  border-radius: 10px;
  margin-bottom: 10px;
}
.dom-media {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--border);
}
.dom-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.dom-head:hover .dom-media img { transform: scale(1.08); }

.dom-title { flex: 1; font-weight: 600; font-size: 1rem; color: var(--navy); }
.dom-count {
  flex-shrink: 0;
  min-width: 22px; height: 22px;
  display: grid; place-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.dom-item.open .dom-count { background: var(--navy); color: #fff; }
.dom-chevron { flex-shrink: 0; color: var(--text-light); transition: transform .35s var(--ease-bounce), color .25s var(--ease); }
.dom-item.open .dom-chevron { transform: rotate(180deg); color: var(--navy); }

.dom-body { overflow: hidden; max-height: 0; transition: max-height .4s var(--ease); }
.dom-formations { list-style: none; margin: 0; padding: 2px 12px 16px; display: flex; flex-direction: column; gap: 6px; }

.dom-formation {
  padding: 5px 14px 5px;
  border-radius: var(--radius-sm);
  background: #f5f7fb;
  border: 1px solid var(--border);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.dom-formation:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.df-main { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.df-name { font-weight: 700; font-size: 0.94rem; color: var(--navy); }
.level { font-size: 0.72rem; font-weight: 700; color: var(--accent); letter-spacing: 0.01em; }
.df-desc { color: var(--text-muted); font-size: 0.85rem; margin: 6px 0 10px; line-height: 1.45; }
.df-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.df-duration { display: inline-flex; align-items: center; gap: 6px; color: var(--text-light); font-size: 0.82rem; }
.df-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 700; color: var(--blue);
  transition: gap .2s var(--ease), color .2s var(--ease);
}
.df-link:hover { gap: 10px; color: var(--navy); }

/* ============================================================
   FORMATIONS À VENIR
   ============================================================ */
.upcoming-section { padding: 20px 0 40px; }
.section-head-left { text-align: left; margin-left: 0; max-width: 720px; }

.up-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
/* Cartes supplémentaires masquées tant qu'on n'a pas cliqué « Voir plus » */
.up-grid .up-extra { display: none; }
.up-grid.is-expanded .up-extra { display: flex; }

.up-more { text-align: center; margin-top: 28px; }
.up-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
}
.up-more-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-2px); }
.up-more-btn svg { transition: transform .3s var(--ease); }
.up-more-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.up-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: flex;
  flex-direction: column;
}
.up-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }

.up-media {
  position: relative;
  aspect-ratio: 16 / 10;
  /* dégradé de secours visible tant que l'image n'est pas ajoutée */
  background: linear-gradient(135deg, var(--navy), var(--blue));
  overflow: hidden;
}
.up-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s var(--ease);
}
.up-card:hover .up-media img { transform: scale(1.06); }

.up-date {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(4px);
}
.up-date svg { color: var(--accent); }

.up-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.up-cat {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--blue);
}
.up-title { font-size: 1.02rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.up-desc { font-size: 0.85rem; color: var(--text-muted); }

/* ============================================================
   FORMATEURS (slider)
   ============================================================ */
.trainers-section { padding: 30px 0 80px; }

.team-lead {
  margin: 0 auto 36px;
  width: min(215px, 100%);
}

.trainers-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  margin-bottom: 32px;
}
.trainers-head-text { max-width: 760px; margin: 0 auto; }
.trainers-head-text .badge-pill { margin-bottom: 16px; }
.trainers-head-text h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); font-weight: 800; letter-spacing: -0.015em; line-height: 1.18; }
.trainers-head-text p { color: var(--text-muted); font-size: 0.92rem; margin-top: 10px; }

.slider-nav { display: flex; gap: 10px; flex-shrink: 0; }

.trainers-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.trainers-carousel:last-of-type { margin-bottom: 0; }
.trainers-carousel .trainers-slider {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.trainers-carousel .slider-btn {
  flex-shrink: 0;
  position: relative;
  z-index: 3;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: none;
  pointer-events: auto;
}
.trainers-carousel .slider-btn svg {
  width: 12px;
  height: 12px;
}
.trainers-carousel .slider-btn.is-hidden {
  visibility: hidden;
  pointer-events: none;
}
.trainers-carousel.carousel--centered .trainers-slider {
  justify-content: center;
}

.slider-btn {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--navy);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), opacity .2s var(--ease);
}
.slider-btn:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.slider-btn:disabled { opacity: .4; cursor: default; transform: none; background: var(--surface); color: var(--navy); }
.trainers-carousel .slider-btn:disabled {
  opacity: 1;
  cursor: pointer;
  pointer-events: auto;
}

.trainers-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 4 * 16px) / 5);   /* 5 photos visibles */
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-snap-stop: always;
  scroll-behavior: smooth;
  padding: 6px 2px 16px;
  scrollbar-width: none;            /* Firefox */
}
.trainers-slider::-webkit-scrollbar { display: none; }   /* WebKit */

/* Rangée direction : 3 cartes statiques, centrées */
.trainers-slider-haut {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 16px;
  overflow: visible;
  scroll-snap-type: none;
  margin-bottom: 28px;
  padding: 6px 2px 0;
}
.trainers-slider-haut .trainer-card,
.trainers-slider-haut .team-lead {
  flex: 0 1 215px;
  width: min(215px, 100%);
  max-width: calc((100% - 32px) / 3);
  margin: 0;
  scroll-snap-align: unset;
}

.trainer-card,
.team-lead.trainer-card {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.trainer-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.trainer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.trainer-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .5s var(--ease);
}
.trainer-card:hover .trainer-img { transform: scale(1.06); }
.trainer-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 39, 66, 0.55) 72%, rgba(15, 39, 66, 0.92));
}

/* Fonds colorés doux (visibles tant que la photo n'est pas ajoutée) */
.tone-1 { background: linear-gradient(150deg, #fbeee2, #f7dcc4); }
.tone-2 { background: linear-gradient(150deg, #e7eefb, #cfe0f6); }
.tone-3 { background: linear-gradient(150deg, #eaf3ee, #d6e9dd); }
.tone-4 { background: linear-gradient(150deg, #f3ecfb, #e2d4f5); }
.tone-5 { background: linear-gradient(150deg, #fdeef0, #f8d7dc); }

.trainer-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 14px;
  color: #fff;
}
.trainer-role {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  /* text-transform: uppercase; */
  color: orange;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.236);
  background-color: #000;
  padding: 0 10px;
}
.trainer-name { font-size: 0.98rem; font-weight: 800; margin-top: 2px; line-height: 1.2; color: #fff;}
.trainer-socials {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.trainer-card:hover .trainer-socials { opacity: 1; transform: translateY(0); }
.trainer-socials a {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.trainer-socials a:hover { background: #fff; color: var(--navy); }

/* ============================================================
   POURQUOI
   ============================================================ */
.why-section { padding: 30px 0 40px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Cartes de services avec image */
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
/* barre d'accent qui apparaît au survol */
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 3;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.service-card:hover::before { transform: scaleX(1); }

.service-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy), var(--blue));
}
.service-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s var(--ease);
}
.service-card:hover .service-media img { transform: scale(1.07); }
/* léger voile pour faire ressortir les badges */
.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 39, 66, 0.18) 0%, transparent 35%, transparent 60%, rgba(15, 39, 66, 0.32));
}

/* Badges sur l'image */
.sc-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 39, 66, 0.92);
  color: #fff;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(4px);
}
.sc-price { top: 12px; right: 12px; background: var(--navy-900); }
.sc-amount { top: 12px; left: 12px; background: var(--accent); color: #fff; }
.sc-cat   { bottom: 12px; left: 12px; }
.sc-cat svg { color: #fff; }

.service-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.service-body h3 { font-size: 1.24rem; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; line-height: 1.25; position: relative;}
.service-body p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 5px;}
.service-body-p {font-size: 13px; font-style: italic;}

/* Grille d'infos (durée / format / catégorie) */
.sc-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 2px;
}
.sc-meta > div {
  padding: 11px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  border-right: 1px solid var(--border);
}
.sc-meta > div:last-child { border-right: none; }
.sc-meta strong {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.sc-meta span { font-size: 0.7rem; color: var(--text-light); }
.service-link {
  margin-top: auto;
  padding-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--blue);
  transition: gap .2s var(--ease), color .2s var(--ease);
}
.service-link:hover { gap: 11px; color: var(--navy); }
.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 16px;
}
.why-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.why-card p { color: var(--text-muted); font-size: 0.92rem; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(47, 109, 176, 0.35), transparent 60%),
    var(--navy);
  color: #fff;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 72px 24px;
  flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-inner p { color: rgba(255,255,255,0.78); margin-top: 8px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.72);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.brand-light { color: #fff; }
.footer-brand p { margin-top: 14px; max-width: 280px; font-size: 0.92rem; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(255,255,255,0.68); font-size: 0.9rem; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: #fff; }

/* ============================================================
   PARTENAIRES (marquee auto sur plusieurs lignes)
   ============================================================ */
.partners-section { padding: 30px 0 80px; }

.partners-marquee {
  display: flex;
  flex-direction: column;
  gap: 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-row { overflow: hidden; }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: marquee var(--mq-duration, 40s) linear infinite;
  will-change: transform;
}

.btn-certifications {
  padding: 15px 35px;
  margin-top: 16px;
  border: none;
  font-size: 15px;
  background-color: #fff;
  color: #0b4498;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.btn-certifications:hover {
  background-color: #083880;
  color: #fff;
}
/* le deuxième ensemble (dupliqué) permet une boucle continue */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-row.reverse .marquee-track { animation-direction: reverse; }
.partners-marquee:hover .marquee-track { animation-play-state: paused; }

/* Vitesses par ligne (desktop) */
.marquee-row:nth-child(1) .marquee-track { --mq-duration: 42s; }
.marquee-row:nth-child(2) .marquee-track { --mq-duration: 52s; }
.marquee-row:nth-child(3) .marquee-track { --mq-duration: 36s; }

.partner-logo {
  flex: 0 0 auto;
  width: 240px;
  height: 120px;
  display: grid;
  place-items: center;
  padding: 0 30px;
}
.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform .3s var(--ease);
}
.partner-logo:hover img { transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
/* En responsive, la piste est plus courte : on ralentit le défilement */
@media (max-width: 1000px) {
  .marquee-row:nth-child(1) .marquee-track { --mq-duration: 70s; }
  .marquee-row:nth-child(2) .marquee-track { --mq-duration: 85s; }
  .marquee-row:nth-child(3) .marquee-track { --mq-duration: 62s; }
}
@media (max-width: 620px) {
  .partner-logo { width: 140px; height: 74px; padding: 0 18px; }
  .marquee-row:nth-child(1) .marquee-track { --mq-duration: 95s; }
  .marquee-row:nth-child(2) .marquee-track { --mq-duration: 110s; }
  .marquee-row:nth-child(3) .marquee-track { --mq-duration: 85s; }
}

/* ============================================================
   VIDÉO DE PRÉSENTATION
   ============================================================ */
.video-section { padding: 20px 0 80px; }

/* Disposition 2 colonnes : vidéo à gauche, texte + image à droite */
.video-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
}
.video-info h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.015em;
  line-height: 1.18;
}
.video-info { display: flex; flex-direction: column; }
.video-info .badge-pill { margin-top: 18px; align-self: flex-start; }
.video-info h2 { margin-top: 14px; }
.video-info p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  margin-top: 12px;
}
/* Image dans un panneau encadré (visible en entier) */
.video-coach {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 10px;
  display: grid;
  place-items: center;
}
.video-info-img {
  width: 100%;
  max-height: 170px;
  border-radius: calc(var(--radius) - 4px);
  object-fit: contain;
  object-position: center;
  display: block;
}
/* Liste d'arguments */
.video-features {
  list-style: none;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.video-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--navy);
}
.video-features svg {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
  color: var(--blue);
}

.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}
/* Façade cliquable (miniature) : charge l'iframe au clic */
.video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: var(--navy);
  cursor: pointer;
  overflow: hidden;
}
.video-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.video-facade:hover .video-thumb { transform: scale(1.04); }
.video-facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,39,66,0.15), rgba(15,39,66,0.45));
}
/* iframe injectée après clic */
.video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* Pastille de lecture (décorative, par-dessus la miniature) */
.video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 2;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  padding-left: 4px; /* recentre l'icône triangle */
  transition: transform .25s var(--ease-bounce), background .25s var(--ease), opacity .3s var(--ease);
}
.video-facade:hover .video-play { transform: scale(1.08); background: var(--navy); }
.video-play::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  animation: videoPulse 2.4s var(--ease) infinite;
}
@keyframes videoPulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .video-play::after { animation: none; }
}
@media (max-width: 860px) {
  .video-split { grid-template-columns: 1fr; gap: 28px; max-width: 640px; }
}
@media (max-width: 620px) {
  .video-play { width: 64px; height: 64px; }
}

/* ============================================================
   CADRES DE SECTIONS (fond léger, teinte différente par section)
   ============================================================ */
.upcoming-section,
.domains-section,
.why-section,
.trainers-section,
.video-section {
  padding: 0;
}
.upcoming-section > .container,
.domains-section > .container,
.why-section > .container,
.trainers-section > .container,
.video-section > .container {
  /* border-radius: var(--radius-lg); */
  /* border: 1px solid var(--border); */
  padding: 20px 38px;
  box-shadow: var(--shadow-sm);
}

/* Teintes douces par section */
.upcoming-section > .container { background: transparent; border-color: #f1e3d4; }   /* orange très clair */
.domains-section  > .container { background: #16395e; border-color: #dce6f5; }   /* bleu très clair */
.why-section      > .container { background: #eef6f1; border-color: #d8ebe0; }   /* vert très clair */
.trainers-section > .container { background: #f4f1fb; border-color: #e4dcf5; }   /* lavande très clair */
.video-section    > .container { background: #eef4f6; border-color: #d9e7ec; }   /* bleu-gris très clair */

/* Nos domaines : bande de fond pleine largeur (contenu centré inchangé) */
.domains-section {
  padding: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-900));
}
.domains-section > .container {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 52px 24px;
}

/* ============================================================
   ÉQUIPE (grille de cartes portrait avec survol)
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-sm);
  background: linear-gradient(150deg, #e7eefb, #cfe0f6);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.team-card:hover .team-img { transform: scale(1.06); }
.team-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(15, 39, 66, 0.55) 70%, rgba(15, 39, 66, 0.9));
  transition: background .35s var(--ease);
}
.team-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 20px;
  color: #fff;
}
.team-role {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
}
.team-name { font-size: 1.18rem; font-weight: 800; margin-top: 4px; }
/* Bio + réseaux révélés au survol */
.team-bio {
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease), opacity .35s var(--ease), margin-top .35s var(--ease);
}
.team-card:hover .team-bio { max-height: 120px; opacity: 1; margin-top: 10px; }
.team-socials {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.team-card:hover .team-socials { opacity: 1; transform: translateY(0); }
.team-socials a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.team-socials a:hover { background: #fff; color: var(--navy); }

/* Nos services : bande de fond pleine largeur (contenu centré inchangé) */
.why-section {
  padding: 0;
  background: #eef6f1;
}
.why-section > .container {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 25px 24px;
}

.certifications-section {
  background: #0b4498;
  color: #fff;
}

.certifications-inner {
  display: grid;
  grid-template-columns: 1.75fr auto 0.7fr;
  align-items: center;
  gap: clamp(20px, 4vw, 40px);
}
.certifications-text {
  min-width: 0;
  max-width: 640px;
  width: 100%;
}
.certifications-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.certifications-visual img {
  display: block;
  width: min(280px, 100%);
  max-height: 240px;
  height: auto;
  object-fit: contain;
}
.certifications-action {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
@media (max-width: 900px) {
  .certifications-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .certifications-action { justify-content: center; }
  .certifications-visual img { max-height: 200px; }
}

/* L'accordéon n'a plus besoin de son propre cadre (la section l'encadre déjà) */
.domains-section .domain-accordion {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.contenant-btn-devis {
  margin-top: 25px;
}

.btn-devis {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  background: #f80;
  padding: 14px 34px;
  color: #fff;
  border: none;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-devis:hover {
  background: #e66a00;
}

.text-devis {
  font-size: 15px;
  color: #fff;
  text-align: center;
  margin-top: 10px;
  font-weight: 600;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .up-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .trainers-slider { grid-auto-columns: calc((100% - 3 * 16px) / 4); }   /* 4 visibles */
}
@media (max-width: 760px) {
  .trainers-slider { grid-auto-columns: calc((100% - 2 * 16px) / 3); }   /* 3 visibles */
}
@media (max-width: 880px) {
  .hero {
    aspect-ratio: 1376 / 768;
    max-height: none;
    background:
      url('assets/fond/fond-3.png') center center / cover no-repeat,
      var(--bg);
  }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px; }
  .hero-visual { min-height: 300px; max-width: 420px; }
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .site-header.open .nav {
    height: auto;
    flex-wrap: wrap;
    padding-bottom: 16px;
  }
  .site-header.open .nav-links {
    display: flex;
    order: 3;
    width: 100%;
    flex-direction: column;
    margin: 0;
    padding-top: 12px;
    gap: 4px;
    border-top: 1px solid var(--border);
  }
  .site-header.open .nav-links a { padding: 8px 0; }
  .site-header.open .nav-actions {
    display: flex;
    order: 4;
    width: 100%;
    gap: 10px;
    padding-top: 10px;
  }
  .site-header.open .nav-actions .btn { flex: 1; }
}
@media (max-width: 760px) {
  .domain-accordion { grid-template-columns: 1fr; gap: 0; padding: 12px 16px; }
  .dom-col .dom-item:last-child { border-bottom: 1px solid var(--border); }
  .dom-col:last-child .dom-item:last-child { border-bottom: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .up-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .up-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .trainers-slider { grid-auto-columns: calc((100% - 16px) / 2); }   /* 2 visibles */
  .trainers-carousel { gap: 6px; }
  .trainers-carousel .slider-btn { width: 28px; height: 28px; }
  .trainers-head { flex-direction: column; align-items: center; }
  .hero-stats { gap: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .upcoming-section > .container,
  .domains-section > .container,
  .why-section > .container,
  .trainers-section > .container {
    padding: 28px 18px;
  }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   AMÉLIORATIONS FLUIDES & INTUITIVES
   Animations, micro-interactions, révélations au défilement
   ============================================================ */

/* ---- Barre de progression de lecture ---- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 100;
  background: linear-gradient(90deg, var(--accent), var(--blue), var(--navy));
  box-shadow: 0 0 10px rgba(47, 109, 176, 0.4);
  transition: width .1s linear;
}

/* ---- En-tête : ombre dynamique au défilement ---- */
.site-header { transition: box-shadow .3s var(--ease), background .3s var(--ease); }
.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(16, 39, 66, 0.07);
  background: rgba(245, 247, 251, 0.92);
}
.brand-mark { transition: transform .35s var(--ease-bounce); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.08); }
.nav-links a { position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  height: 2px; width: 0;
  background: var(--accent);
  border-radius: 2px;
  transition: width .3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--navy); }

/* ---- Boutons : élévation + effet de brillance ---- */
.btn { position: relative; overflow: hidden; will-change: transform; }
.btn-lg::before {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left .6s var(--ease);
}
.btn-lg:hover::before { left: 140%; }
.btn-primary:hover, .btn-soft:hover, .btn-outline:hover, .btn-light:hover { transform: translateY(-2px); }

/* ---- Hero : orbes animés en arrière-plan ---- */
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .5;
  z-index: 0;
  pointer-events: none;
}
.hero::before {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(47,109,176,0.25), transparent 70%);
  top: -120px; right: -60px;
  animation: floatOrb 14s ease-in-out infinite;
}
.hero::after {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(219,122,62,0.18), transparent 70%);
  bottom: -140px; left: -80px;
  animation: floatOrb 18s ease-in-out infinite reverse;
}
.hero-inner { position: relative; z-index: 1; }
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(30px, 40px) scale(1.08); }
}

/* ---- Hero : animation d'entrée au chargement ---- */
.hero-anim {
  opacity: 0;
  transform: translateY(24px);
  animation: heroIn .8s var(--ease) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Cartes flottantes du hero : léger flottement ---- */
.card-float { animation: bob 6s ease-in-out infinite; }
.card-badge { animation: bob 7s ease-in-out infinite .5s; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.card-main { transition: transform .4s var(--ease); }
.hero-visual:hover .card-main { transform: translateY(-4px) scale(1.01); }

/* ---- Révélations au défilement ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Liste des domaines : entrée douce du contenu déplié ---- */
.dom-formation {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.dom-item.open .dom-formation { opacity: 1; transform: none; }

/* ---- Liens footer : léger glissement ---- */
.footer-col a { transition: color .25s var(--ease), transform .25s var(--ease); }
.footer-col a:hover { transform: translateX(4px); }

/* ---- Accessibilité : respect des préférences de mouvement ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-anim, [data-reveal], .dom-formation { opacity: 1 !important; transform: none !important; }
}
