/* =========================================================================
   BDC Academy — site statique (vanilla). Refonte identité 2026.
   Luxe minimaliste : blanc éditorial, gris neutres, encre near-black.
   Display Aloevera (géométrique arrondi, police du logo) + corps Poppins.
   ========================================================================= */
@font-face { font-family: 'Aloevera Display'; src: url('../fonts/aloevera-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Aloevera Display'; src: url('../fonts/aloevera-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Aloevera Display'; src: url('../fonts/aloevera-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Aloevera Display'; src: url('../fonts/aloevera-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Aloevera Display'; src: url('../fonts/aloevera-italic-500.woff2') format('woff2'); font-weight: 400 550; font-style: italic; font-display: swap; }
@font-face { font-family: 'Aloevera Display'; src: url('../fonts/aloevera-italic-600.woff2') format('woff2'); font-weight: 551 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/poppins-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/poppins-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/poppins-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/poppins-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* --- Palette BDC Academy (charte graphiste) — blanc éditorial + gris neutres --- */
  --bg: #ffffff;        /* blanc — fond principal (inspiration cecebrows) */
  --bg-soft: #f2f2f2;   /* gris neutre très clair — respiration douce ponctuelle */
  --bg-2: #e0e0e0;      /* gris neutre — sections alternées (signature) */
  --panel: #efefef;     /* cartes / panneaux (gris doux sur blanc) */
  --panel-2: #ebebeb;   /* carte alt / hover (reste visible sur --bg-2) */
  --ink: #0a0b0c;       /* encre — texte principal */
  --ink-2: #3c3c3c;     /* texte secondaire (gris neutre) ~8:1 */
  --muted: #585858;     /* muted lisible (paragraphes) ~4.6:1 */
  --muted-2: #8c8c8c;   /* labels très discrets */
  /* Accents gris neutres (remplacent l'ancien "or"). --accent conservé comme nom
     pour compat : filets/détails décoratifs. --accent-2/-soft = gris lisible (texte). */
  --accent: #585858;      /* gris (text-safe) — nombres, prix, filets, icônes */
  --accent-2: #444444;    /* gris profond — hover/emphase */
  --accent-soft: #676767; /* gris — mots d'accent dans les titres */
  --accent-pale: #b3b3b3; /* gris pâle — fills décoratifs uniquement (pas de texte) */
  --line: rgba(10, 11, 12, 0.16);
  --line-2: rgba(10, 11, 12, 0.09);

  --serif: 'Aloevera Display', 'Poppins', 'Montserrat', system-ui, sans-serif;
  --sans: 'Poppins', 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1320px;
  --pad: clamp(1.15rem, 0.6rem + 2.4vw, 3.2rem);

  --e: cubic-bezier(0.16, 1, 0.3, 1);
  --e2: cubic-bezier(0.25, 1, 0.5, 1);

  --h-bar: 42px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.18vw, 1.075rem);
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; padding: 0; }
input, textarea, select { font: inherit; }
::selection { background: var(--accent); color: #000000; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---- Type helpers ---- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -0.01em; }
.serif { font-family: var(--serif); }
.italic { font-style: italic; }
.eyebrow {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 0.8em;
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--accent); opacity: 0.9; }
.eyebrow.is-center { justify-content: center; }
.muted { color: var(--muted); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

.section { padding-block: clamp(4.5rem, 3rem + 7vw, 9rem); position: relative; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  padding: 1.05em 2em; border-radius: 999px;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--ink); color: var(--bg);
  transition: transform 0.4s var(--e), box-shadow 0.5s var(--e), background 0.4s var(--e2);
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -14px rgba(2, 2, 2, 0.45); background: #1e1e1e; }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); box-shadow: none; background: transparent; }
.btn--lg { padding: 1.2em 2.4em; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
}
.arrow-link svg { transition: transform 0.4s var(--e); }
.arrow-link:hover svg { transform: translateX(5px); }

/* =========================================================================
   Utility bar
   ========================================================================= */
.ubar {
  display: flex; align-items: center;
  position: relative; z-index: 60;
  height: var(--h-bar);
  background: var(--bg-2); color: var(--ink-2);
  border-bottom: 1px solid var(--line-2);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.3s;
}
.ubar:hover { background: #d7d7d7; }
.ubar__in { width: 100%; display: flex; align-items: center; justify-content: center; gap: clamp(0.5rem, 1.5vw, 1rem); }
.ubar__ico { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }
.ubar__new { font-size: 0.58rem; font-weight: 800; letter-spacing: 0.1em; color: var(--bg); background: var(--ink); padding: 0.25em 0.6em; border-radius: 999px; }
.ubar__txt { color: var(--ink-2); }
.ubar__stores { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink); }
.ubar__stores svg { width: 15px; height: 15px; display: block; }
.ubar__cta { display: inline-flex; align-items: center; gap: 0.4em; color: var(--ink); font-weight: 700; }
.ubar__cta svg { transition: transform 0.3s var(--e); }
.ubar:hover .ubar__cta svg { transform: translateX(3px); }
@media (max-width: 680px) { .ubar__txt, .ubar__stores { display: none; } .ubar__new { font-size: 0.54rem; } }

/* =========================================================================
   Header / nav
   ========================================================================= */
.header {
  position: fixed; top: var(--h-bar); left: 0; right: 0; z-index: 50;
  transition: background 0.4s var(--e2), backdrop-filter 0.4s, border-color 0.4s, transform 0.5s var(--e), top 0.3s;
  border-bottom: 1px solid transparent;
}
.header.is-solid { background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(16px) saturate(1.1); border-bottom-color: var(--line-2); top: 0; }
.header.is-hidden { transform: translateY(-130%); }
/* Nav : logo centré, options réparties de part et d'autre */
/* 3 liens à gauche, 3 à droite, logo centré. Les deux colonnes latérales
   partagent la même largeur (1fr) pour que le logo reste optiquement centré. */
.header__in { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(1rem, 0.2rem + 1.2vw, 2rem); height: 90px; }
.nav--left { grid-column: 1; justify-self: start; }
.nav--right { grid-column: 3; justify-self: end; }

.brand { grid-column: 2; justify-self: center; display: inline-flex; align-items: center; }
.brand__logo { height: clamp(38px, 3.1vw, 50px); width: auto; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; flex-wrap: nowrap; gap: clamp(0.85rem, -0.35rem + 1.85vw, 2.1rem); }
/* `nowrap` + taille fluide : le libellé le plus long (« Devenir Formatrice »)
   doit tenir sur une seule ligne dès 1040px, largeur d'apparition du menu. */
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 0.35em; white-space: nowrap;
  font-size: clamp(0.63rem, 0.42rem + 0.33vw, 0.74rem); font-weight: 600;
  letter-spacing: clamp(0.07em, 0.02em + 0.07vw, 0.13em); text-transform: uppercase; color: var(--ink-2);
  padding-block: 0.5rem; transition: color 0.3s;
}
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--e); }
.nav__link:hover::after, .nav__link.is-active::after,
.has-mega:hover .nav__link::after, .has-mega.is-open .nav__link::after { transform: scaleX(1); transform-origin: left; }
.nav__chev { width: 11px; height: 11px; opacity: 0.7; transition: transform 0.4s var(--e); }
/* Les liens passent au-dessus des panneaux déroulants : sans ça, le pont de
   survol du méga-menu recouvre les liens du header une fois celui-ci ouvert
   et les rend incliquables. */
.nav__link { z-index: 2; }
/* Artist Network : pastille dorée, le seul lien signalé du menu. */
.nav__link--nwk::before { content: ''; width: 5px; height: 5px; margin-right: 0.15em; border-radius: 50%; background: var(--accent); }

.has-mega { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  padding-top: 14px;
  opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none;
  transition: opacity 0.35s var(--e), transform 0.35s var(--e), visibility 0.35s;
}
/* Pont invisible : couvre le vide entre le lien (centre du header) et le panneau
   (sous le header) pour que le survol reste continu. */
.mega::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 3.5rem; }
.has-mega:hover .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.has-mega:hover .nav__chev { transform: rotate(180deg); }
.mega__panel {
  max-width: calc(var(--wrap) - var(--pad));
  margin-inline: auto;
  display: grid; grid-template-columns: 0.8fr 2fr 0.7fr; gap: 1.5rem;
  background: rgba(242, 242, 242, 0.98); backdrop-filter: blur(20px);
  border: 1px solid var(--line); border-radius: 14px; padding: 1.6rem;
  box-shadow: 0 40px 90px -30px rgba(2, 2, 2, 0.22);
}
/* Colonne catégories (niveau 1) */
.mega__cats { display: flex; flex-direction: column; gap: 0.15rem; border-right: 1px solid var(--line-2); padding-right: 1.2rem; }
.mega__cat { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; width: 100%; text-align: left; padding: 0.75rem 0.9rem; border-radius: 8px; font-family: var(--serif); font-size: 1.15rem; color: var(--ink-2); transition: background 0.25s, color 0.25s; }
.mega__cat svg { opacity: 0; transform: translateX(-4px); transition: opacity 0.25s, transform 0.25s; color: var(--accent); }
.mega__cat:hover, .mega__cat.is-active { background: rgba(2, 2, 2, 0.05); color: var(--ink); }
.mega__cat.is-active svg { opacity: 1; transform: translateX(0); }
/* Panneau formations (niveau 2) */
.mega__panels { position: relative; padding-left: 0.4rem; }
.mega__list { display: none; }
.mega__list.is-active { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 0.4rem 1.4rem; align-content: start; animation: megaFade 0.35s var(--e); }
.mega__grp-t { display: block; margin-bottom: 0.5rem; font-family: var(--sans); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.mega__grp + .mega__grp { margin-top: 0.2rem; }
.mega__list b + span, .mega__list a span { display: block; margin-top: 0.1rem; font-size: 0.72rem; line-height: 1.35; color: var(--muted); }
.mega__list a b { display: block; font-weight: 500; font-family: var(--serif); font-size: 0.98rem; color: var(--ink-2); }
.mega__list a:hover b { color: var(--ink); }
@keyframes megaFade { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
.mega__list a { display: block; padding: 0.5rem 0.7rem; margin-inline: -0.7rem; border-radius: 6px; font-size: 0.9rem; color: var(--ink-2); transition: background 0.25s, color 0.25s; }
.mega__list a:hover { background: rgba(2, 2, 2, 0.05); color: var(--ink); }
.mega__feature { position: relative; border-radius: 10px; overflow: hidden; min-height: 200px; display: flex; align-items: flex-end; padding: 1.3rem; isolation: isolate; }
.mega__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.7s var(--e); }
.mega__feature::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2)); }
.mega__feature:hover img { transform: scale(1.06); }
.mega__feature { color: #fff; }
.mega__feature b { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,0.45); }
/* Variante « marque » : le logo BDC en blanc sur fond encre, sans photo.
   Le logo n'est plus un fond plein cadre — on annule le positionnement absolu
   hérité de .mega__feature img et on empile logo + libellé, centrés. */
.mega__feature--brand { background: var(--ink); flex-direction: column;
  align-items: center; justify-content: center; gap: 1.15rem; text-align: center; }
.mega__feature--brand::after { display: none; }
.mega__feature--brand .mega__feature__logo { position: static; inset: auto; z-index: auto;
  width: 100%; max-width: 158px; height: auto; object-fit: contain; transition: transform 0.55s var(--e); }
.mega__feature--brand:hover .mega__feature__logo { transform: scale(1.04); }
.mega__feature--brand b { font-size: 1.15rem; text-shadow: none; }

.header__right { display: flex; align-items: center; gap: 1rem; }
.burger { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; }
.burger span { display: block; width: 20px; height: 1.5px; background: var(--ink); position: relative; transition: transform 0.4s var(--e), opacity 0.3s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--ink); transition: transform 0.4s var(--e); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* Drawer mobile */
.drawer {
  position: fixed; inset: 0; z-index: 55; background: var(--bg-2);
  padding: 6rem var(--pad) 2rem; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-2%);
  transition: opacity 0.4s var(--e), transform 0.5s var(--e), visibility 0.4s;
}
body.menu-open .drawer { opacity: 1; visibility: visible; transform: translateY(0); }
body.menu-open { overflow: hidden; }
body.menu-open .burger { opacity: 0; pointer-events: none; }
.drawer__close {
  position: fixed; top: 1.1rem; right: var(--pad); z-index: 2;
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 999px; color: var(--ink);
  transition: border-color 0.3s, color 0.3s, transform 0.4s var(--e);
}
.drawer__close:hover { border-color: var(--accent); transform: rotate(90deg); }
.drawer__list { max-width: 540px; margin-inline: auto; }
.drawer__list > li > a, .drawer__acc {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 1.05rem 0; font-family: var(--serif); font-size: 1.8rem; color: var(--ink);
  border-bottom: 1px solid var(--line-2); text-align: left;
}
.drawer__acc svg { width: 20px; color: var(--accent); transition: transform 0.4s var(--e); }
.drawer__acc[aria-expanded='true'] svg { transform: rotate(45deg); }
.drawer__panel { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--e); }
.drawer__panel-in { padding: 0.8rem 0 1.4rem; display: flex; flex-direction: column; gap: 1rem; }
.drawer__grp b { display: block; font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.4rem; }
.drawer__grp a { display: flex; justify-content: space-between; padding: 0.4rem 0; color: var(--ink-2); font-size: 1rem; }
.drawer__grp a span { color: var(--muted-2); font-size: 0.82rem; }
.drawer__cta { margin-top: 2rem; width: 100%; }
.drawer__social { display: flex; justify-content: center; gap: 1.4rem; margin-top: 1.6rem; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.06em; }
.drawer__social a:hover { color: var(--accent); }

/* =========================================================================
   Hero — éditorial blanc. Images en accents polaroïd (pas de fond plein cadre).
   Header lisible (encre sur blanc). Inspiration cecebrows, rendu DA BDC.
   ========================================================================= */
.hero { position: relative; background: var(--bg); overflow: hidden;
  padding-top: clamp(8.5rem, 6rem + 8vw, 11.5rem); padding-bottom: clamp(2.5rem, 2rem + 3vw, 5rem); }
.hero__grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(2rem, 5vw, 5.5rem); align-items: center; }

.hero__title { font-size: clamp(2.5rem, 1.1rem + 4.8vw, 5.3rem); line-height: 1.0; letter-spacing: -0.03em; text-transform: uppercase; color: var(--ink); }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title .ln > span { display: block; font-weight: 500; }
.hero__title .ln--accent > span { font-style: italic; text-transform: none; color: var(--accent-soft); letter-spacing: -0.01em; }

.hero__lead { margin-top: clamp(1.2rem, 2vw, 1.8rem); max-width: 44ch; color: var(--muted); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: clamp(1.6rem, 2.5vw, 2.2rem); }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; margin-top: clamp(1.8rem, 3vw, 2.6rem); padding-top: 1.4rem; border-top: 1px solid var(--line-2); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.hero__trust li { display: inline-flex; align-items: center; gap: 0.5em; }
.hero__stars { color: var(--accent-2); letter-spacing: 1.5px; }

/* Galerie éditoriale — deux clichés polaroïd qui se chevauchent */
.hero__gallery { position: relative; justify-self: center; width: 100%; max-width: 470px; aspect-ratio: 1 / 1; }
.hero__photo { margin: 0; position: absolute; }
.hero__photo > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__photo--main { width: 88%; top: 0; right: 0; z-index: 2; }
.hero__photo--main > img { aspect-ratio: 8 / 5; }
.hero__photo--sec { width: 46%; bottom: 0; left: 0; z-index: 3; }
.hero__photo--sec > img { aspect-ratio: 2 / 3; }
.hero__cap { margin-top: 7px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 0.98rem; color: var(--muted); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: clamp(2rem, 6vw, 3rem); }
  .hero__gallery { order: -1; max-width: 380px; margin-inline: auto; }
}
@media (max-width: 520px) { .hero__actions .btn { width: 100%; } }

/* =========================================================================
   Spécialités — bande sombre, respiration entre deux sections claires.
   Le pan est piloté au scroll dans main.js (course volontairement lente).
   ========================================================================= */
.specs { overflow: hidden; background: var(--ink); padding-block: clamp(1.6rem, 2.6vw, 2.4rem); }
.specs__track { display: flex; align-items: center; gap: clamp(1.6rem, 3.4vw, 3rem); width: max-content; padding-inline-start: var(--pad); white-space: nowrap; will-change: transform; }
.specs__track span { font-family: var(--serif); font-size: clamp(1.3rem, 0.9rem + 1.6vw, 2.3rem); font-weight: 500; color: #f2f2f2; }
.specs__track em { font-style: normal; color: var(--accent); font-size: 0.7em; }

/* =========================================================================
   Manifesto / stats
   ========================================================================= */
.manifesto__top { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.manifesto__title { font-size: clamp(2rem, 1rem + 3.4vw, 3.9rem); line-height: 1.06; max-width: 15ch; margin-top: 1.1rem; }
.manifesto__title i { font-style: italic; color: var(--accent-soft); }
.manifesto__text { color: var(--muted); max-width: 48ch; margin: 1.4rem 0; }
.manifesto__claim { margin-top: clamp(1rem, 1.6vw, 1.4rem); font-family: var(--serif);
  font-size: clamp(1.15rem, 1rem + 0.55vw, 1.5rem); line-height: 1.35; color: var(--ink); }
.manifesto__claim i { font-style: italic; color: var(--accent-soft); }
.manifesto__media { position: relative; border-radius: 14px; overflow: hidden; margin: 0; }
.manifesto__media img { width: 100%; height: auto; display: block; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: clamp(2.5rem, 5vw, 4.5rem); }
@media (max-width: 820px) { .manifesto__top { grid-template-columns: 1fr; gap: var(--space-l, 2rem); } .manifesto__media { max-width: 520px; } }
.stat { position: relative; }
.stat:not(:last-child)::after { content: ''; position: absolute; right: -0.75rem; top: 20%; bottom: 20%; width: 1px; background: var(--line); }
.stat__n { font-family: var(--serif); font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem); line-height: 1; letter-spacing: -0.02em; }
.stat__n b { color: var(--accent); font-weight: 500; }
.stat__l { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 0.5rem; }
@media (max-width: 680px) { .stats { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; } .stat:nth-child(2)::after { display: none; } }

/* =========================================================================
   Section heading commun
   ========================================================================= */
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.shead__title { font-size: clamp(2rem, 1.2rem + 3vw, 3.8rem); }
.shead__title i { font-style: italic; color: var(--accent-soft); }

/* Courses grid */
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.course { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; isolation: isolate; color: #fff; }
.course img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--e); }
.course::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.92) 6%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0.35)); z-index: 1; }
.course:hover img { transform: scale(1.06); }
.course__top { position: absolute; top: 1rem; left: 1rem; right: 1rem; z-index: 2; display: flex; justify-content: space-between; }
.course__cat { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 0.4em 0.8em; border-radius: 999px; background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.28); backdrop-filter: blur(6px); color: #fff; }
.course__cpf { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; padding: 0.4em 0.7em; border-radius: 999px; background: var(--accent); color: #fff; }
.course__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(1.1rem, 2vw, 1.6rem); }
.course__meta { display: flex; align-items: center; gap: 0.8rem; font-size: 0.72rem; color: rgba(255, 255, 255, 0.78); margin-bottom: 0.5rem; }
.course__meta .price { color: #fff; font-weight: 700; }
.course__name { font-size: clamp(1.4rem, 1rem + 1vw, 1.9rem); line-height: 1.02; color: #fff; }
.course__cta { margin-top: 0.7rem; display: inline-flex; align-items: center; gap: 0.5em; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; opacity: 0; transform: translateY(8px); transition: opacity 0.4s var(--e), transform 0.4s var(--e); }
.course:hover .course__cta { opacity: 1; transform: translateY(0); }
.courses__foot { display: flex; justify-content: center; margin-top: clamp(2.5rem, 5vw, 4rem); }
@media (max-width: 900px) { .courses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .courses { grid-template-columns: 1fr; } }

/* =========================================================================
   Split (image + texte) — parcours / le centre
   ========================================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; border-radius: 14px; overflow: hidden; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__title { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); margin: 1rem 0 1.2rem; }
.split__title i { font-style: italic; color: var(--accent-soft); }
.split__p { color: var(--muted); margin-top: 1rem; max-width: 52ch; }
.split__cta { margin-top: 2rem; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } .split__media { max-width: 460px; } }

/* Journey steps */
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: 2rem; }
.jstep { padding-top: 1.4rem; border-top: 1px solid var(--line); }
.jstep__n { font-family: var(--serif); font-size: 2.4rem; color: var(--accent); line-height: 1; }
.jstep h3 { font-size: 1.4rem; margin: 0.6rem 0; }
.jstep p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 720px) { .journey { grid-template-columns: 1fr; } }

/* =========================================================================
   Testimonials
   ========================================================================= */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.tcard { padding: clamp(1.4rem, 2.5vw, 2rem); background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; display: flex; flex-direction: column; gap: 1rem; }
.tcard__stars { color: var(--accent); letter-spacing: 2px; }
.tcard__text { color: var(--ink-2); font-size: 0.96rem; line-height: 1.6; flex: 1; }
.tcard__who { display: flex; align-items: center; gap: 0.8rem; padding-top: 1rem; border-top: 1px solid var(--line-2); }
.tcard__av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); color: var(--accent-2); background: rgba(2, 2, 2, 0.05); border: 1px solid var(--line); }
.tcard__who b { display: block; font-weight: 700; font-size: 0.92rem; }
.tcard__who span { color: var(--muted); font-size: 0.78rem; }
@media (max-width: 900px) { .tgrid { grid-template-columns: 1fr; } .tcard:nth-child(n+3) { display: none; } }

/* =========================================================================
   Financing
   ========================================================================= */
.fin { text-align: center; }
.fin__logos { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(0.8rem, 1.4vw, 1.4rem); margin-top: 2.4rem; }
.fin__logo { height: clamp(108px, 11vw, 136px); min-width: clamp(172px, 18vw, 224px); padding: 0 1.2rem; background: var(--bg); border: 1px solid var(--line-2); border-radius: 14px; display: grid; place-items: center; }
.fin__logo img { max-height: clamp(64px, 6.8vw, 86px); max-width: clamp(136px, 14.5vw, 182px); width: auto; object-fit: contain; }
/* Le macaron CPF est presque carré : sans cela il paraît plus petit que les logos larges. */
.fin__logo img[src*="cpf"] { max-height: clamp(76px, 8.2vw, 104px); }
@media (max-width: 560px) { .fin__logo { height: 96px; min-width: 148px; padding: 0 1rem; } .fin__logo img { max-height: 58px; max-width: 124px; } }
.fin__note { color: var(--muted); font-size: 0.9rem; margin-top: 1.6rem; }
.fin__note b { color: var(--accent); }

/* =========================================================================
   CTA + footer
   ========================================================================= */
.cta { text-align: center; background: var(--bg-2); position: relative; overflow: hidden; }
.cta::after { content: ''; position: absolute; left: 50%; bottom: -50%; width: 80%; height: 100%; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 100%, rgba(179, 179, 179, 0.4), transparent 70%); pointer-events: none; }
.cta__title { font-size: clamp(2.2rem, 1.2rem + 4vw, 5rem); line-height: 1; }
.cta__title i { font-style: italic; color: var(--accent-soft); }
.cta__text { color: var(--muted); max-width: 46ch; margin: 1.4rem auto 2rem; }

/* =========================================================================
   Éditorial / collage — inspiration cecebrows, registre chic (fond blanc)
   ========================================================================= */
/* Cadre « polaroïd » : liseré blanc, ombre douce, légère inclinaison */
.polaroid { background: #fff; padding: 12px 12px 20px; border-radius: 3px;
  box-shadow: 0 26px 55px -26px rgba(2,2,2,0.42), 0 3px 10px rgba(10, 11, 12, 0.08);
  transition: transform 0.55s var(--e), box-shadow 0.55s var(--e); }
.polaroid > img { display: block; width: 100%; border-radius: 1px; }
.tilt-l { transform: rotate(-2.4deg); } .tilt-r { transform: rotate(2deg); }
/* Légende d'un polaroid qui nomme les personnes : le nom en encre, la fonction
   en gris, une ligne par personne. Tient dans le liseré blanc du polaroid. */
.polaroid__cap { display: flex; flex-direction: column; gap: 0.15em; margin-top: 0.7rem;
  text-align: center; font-size: clamp(0.72rem, 0.66rem + 0.22vw, 0.84rem); line-height: 1.45; color: var(--muted); }
.polaroid__cap b { font-weight: 600; color: var(--ink); }
.polaroid:has(.polaroid__cap) { padding-bottom: 14px; }
.tilt-l:hover, .tilt-r:hover { transform: rotate(0); box-shadow: 0 30px 60px -22px rgba(2,2,2,0.5); }

/* Section « statement » : pleine image + titre géant en surimpression */
.statement { position: relative; min-height: clamp(460px, 68vh, 720px); display: flex; align-items: center; overflow: hidden; color: #f2f2f2; isolation: isolate; }
.statement__media { position: absolute; inset: 0; z-index: -2; }
.statement__media img { width: 100%; height: 100%; object-fit: cover; }
.statement::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(2,2,2,0.50) 0%, rgba(2,2,2,0.44) 45%, rgba(2,2,2,0.68) 100%),
              radial-gradient(120% 90% at 50% 40%, rgba(2,2,2,0.12) 30%, rgba(2,2,2,0.56) 100%); }
.statement__in { text-align: center; margin-inline: auto; }
.statement__eyebrow { color: rgba(242, 242, 242,0.85); }
.statement__eyebrow::before { background: #dadada; }
.statement__title { font-size: clamp(2.8rem, 1.4rem + 6.4vw, 6.6rem); line-height: 0.98; letter-spacing: -0.02em; text-transform: uppercase; margin: 0.5rem 0 0; }
.statement__title i { font-style: italic; text-transform: none; color: #dadada; }
.statement__text { color: rgba(242, 242, 242,0.86); max-width: 48ch; margin: 1.3rem auto 2rem; }
.statement .btn { --btn-bg: #f2f2f2; background: #f2f2f2; color: var(--ink); }
.statement .btn:hover { background: #fff; }

.footer { background: var(--bg); border-top: 1px solid var(--line-2); padding-block: clamp(3rem, 5vw, 5rem) 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-2); }
.footer__name { font-family: var(--serif); font-size: 1.6rem; }
.footer__sub { font-size: 0.6rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--accent); margin-top: 0.4em; }
.footer__base { color: var(--muted); font-size: 0.9rem; margin-top: 1rem; max-width: 30ch; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.footer__social a { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); transition: all 0.3s; }
.footer__social a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.footer__col h4 { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.footer__col a { display: block; color: var(--ink-2); font-size: 0.9rem; padding: 0.3rem 0; transition: color 0.25s; }
.footer__col a:hover { color: var(--accent); }
.footer__addr { display: flex; gap: 0.6rem; color: var(--ink-2); font-size: 0.9rem; line-height: 1.5; }
.footer__addr svg { color: var(--accent); flex-shrink: 0; }
/* Bloc Qualiopi — colonne de gauche du footer.
   Le logo doit rester lisible (fond clair imposé par la charte Qualiopi) et
   la mention réglementaire figurer juste en dessous. */
.qualiopi { margin-top: 1.8rem; max-width: 260px; }
.qualiopi__logo { display: block; width: 220px; max-width: 100%; height: auto; background: #fff; border: 1px solid var(--line-2); border-radius: 6px; padding: 10px 14px; }
.qualiopi__mention { margin-top: 0.75rem; font-size: 0.68rem; line-height: 1.55; color: var(--muted); }
.qualiopi__mention strong { display: block; margin-top: 0.3rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }

/* Programme de formation en PDF (fiche formation) */
.docdl {
  display: flex; align-items: center; gap: 0.8rem;
  margin-top: 0.8rem; padding: 0.85rem 1rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  transition: border-color 0.3s var(--e), background 0.3s var(--e);
}
.docdl:hover { border-color: var(--accent); background: var(--panel-2); }
/* Programme pas encore fourni : le bouton reste en place, visiblement inactif,
   et redevient un vrai lien dès qu'un PDF est déposé dans docs/formations/. */
.docdl.is-soon { cursor: default; opacity: 0.62; }
.docdl.is-soon:hover { border-color: var(--line-2); background: transparent; }
.docdl svg { flex-shrink: 0; color: var(--accent-2); }
.docdl span { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.docdl b { font-size: 0.84rem; font-weight: 600; color: var(--ink); }
.docdl i { font-style: normal; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.8rem; }
.footer__copy { color: var(--muted-2); font-size: 0.78rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.footer__legal a { color: var(--muted-2); font-size: 0.72rem; transition: color 0.25s; }
.footer__legal a:hover { color: var(--ink-2); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } .footer__bottom { flex-direction: column; align-items: flex-start; } }

/* =========================================================================
   Reveals — CONTENU VISIBLE PAR DÉFAUT.
   On ne masque qu'avant le paint via .pre-anim (posé en <head> si motion OK).
   GSAP anime ensuite. Si le JS échoue, .pre-anim est retiré => tout visible.
   ========================================================================= */
.pre-anim [data-rv], .pre-anim [data-split] { opacity: 0; }
.pre-anim .hero__title .ln > span { opacity: 0; }
.pre-anim .hero__specialties,
.pre-anim .hero__lead,
.pre-anim .hero__actions,
.pre-anim .hero__trust { opacity: 0; }

/* Révélation mot par mot (titres) */
.w { display: inline-block; overflow: hidden; vertical-align: top; }
.w > span { display: inline-block; }

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

/* Parallax / reveals : indices de perf */
[data-parallax], .hero__panel { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-rv], [data-split], .w > span, .hero__title .ln > span, .hero__specialties, .hero__lead, .hero__actions, .hero__trust { opacity: 1 !important; transform: none !important; }
  .rbadge__ring, .marquee__track { animation: none !important; }
}

/* Desktop nav visibility */
@media (min-width: 1040px) {
  .nav { display: block; }
  .burger { display: none; }
}

/* Sub-page hero */
.phero { position: relative; padding-top: clamp(9rem, 7rem + 8vw, 13rem); padding-bottom: clamp(2.5rem, 4vw, 4rem); text-align: center; overflow: hidden; }
.phero::after { content: ''; position: absolute; top: -20%; left: 50%; transform: translateX(-50%); width: 70vw; height: 40vw; max-width: 900px; background: radial-gradient(circle, rgba(179, 179, 179, 0.28), transparent 65%); pointer-events: none; }
.phero__crumbs { display: inline-flex; gap: 0.5rem; font-size: 0.8rem; color: var(--muted-2); margin-bottom: 1rem; }
.phero__crumbs a:hover { color: var(--accent); }
.phero__title { font-size: clamp(2.6rem, 1.4rem + 5vw, 6rem); line-height: 1; margin-top: 0.6rem; }
.phero__title i { font-style: italic; color: var(--accent-soft); }
.phero__lead { color: var(--ink-2); max-width: 56ch; margin: 1.4rem auto 0; }
.phero__actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* =========================================================================
   Loader (écran de chargement)
   Fallback CSS : se retire à 3.4s même si le JS ne tourne pas. Off en reduced-motion.
   ========================================================================= */
.loader { position: fixed; inset: 0; z-index: 9999; background: var(--bg-2); display: grid; place-items: center; animation: loaderFail 1s ease 3.4s forwards; }
@keyframes loaderFail { to { opacity: 0; visibility: hidden; } }
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.loader__logo { width: clamp(150px, 22vw, 210px); height: auto; }
.loader__count { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 4rem); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1; }
.loader__count i { font-style: normal; font-size: 0.36em; margin-left: 0.15em; color: var(--muted); vertical-align: super; }
.loader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(2, 2, 2, 0.1); }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
@media (prefers-reduced-motion: reduce) { .loader { display: none !important; } }
/* Loader affiché seulement au 1er chargement de la session (voir main.js + head) */
html.loaded .loader { display: none !important; }

/* =========================================================================
   Section App
   ========================================================================= */
.app__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.app__title { font-size: clamp(2rem, 1rem + 3.4vw, 3.9rem); line-height: 1.05; margin: 1rem 0 1.2rem; }
.app__title i { font-style: italic; color: var(--accent-soft); }
.app__text { color: var(--muted); max-width: 46ch; }
.app__list { display: flex; flex-direction: column; gap: 0.6rem; margin: 1.5rem 0 2rem; }
.app__list li { position: relative; padding-left: 1.5rem; color: var(--ink-2); }
.app__list li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.app__devices { position: relative; display: flex; align-items: center; justify-content: center; min-height: clamp(420px, 45vw, 560px); }
.app__phone { width: clamp(190px, 22vw, 270px); height: auto; filter: drop-shadow(0 34px 70px rgba(0, 0, 0, 0.65)); }
.app__phone--back { position: absolute; transform: translateX(30%) rotate(6deg) scale(0.9); opacity: 0.9; z-index: 1; }
.app__phone--front { position: relative; transform: translateX(-14%) rotate(-3deg); z-index: 2; }
@media (max-width: 820px) {
  .app__inner { grid-template-columns: 1fr; }
  .app__devices { min-height: clamp(380px, 90vw, 460px); margin-top: 1rem; }
}

/* =========================================================================
   PAGES INTÉRIEURES
   ========================================================================= */
/* Hero de page (catalogue, contenu, légales) */
.phero { position: relative; padding-top: clamp(9rem, 7rem + 8vw, 13rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); text-align: center; overflow: hidden; }
.phero__title { font-size: clamp(2.6rem, 1.4rem + 5vw, 6rem); line-height: 1; max-width: 18ch; margin: 0.6rem auto 0; }
.phero__title i { font-style: italic; color: var(--accent-soft); }
.phero__lead { color: var(--ink-2); max-width: 56ch; margin: 1.4rem auto 0; }
.phero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

.crumbs { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; font-size: 0.78rem; color: var(--muted-2); margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 0.1em; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink-2); }

.tag { display: inline-flex; align-items: center; padding: 0.45em 0.9em; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; }
.tag--accent { color: #fff; background: var(--accent); border-color: var(--accent); }

/* Filtres catalogue */
.filters { position: sticky; top: 0; z-index: 40; background: rgba(242, 242, 242, 0.9); backdrop-filter: blur(14px); border-block: 1px solid var(--line-2); }
.filters__row { display: flex; gap: 0.6rem; padding-block: 0.9rem; overflow-x: auto; scrollbar-width: none; }
.filters__row::-webkit-scrollbar { display: none; }
.filters__pill { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.5em 1em; white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); transition: border-color 0.3s, color 0.3s; }
.filters__pill span { color: var(--muted); }
.filters__pill:hover { border-color: var(--accent); color: var(--ink); }
.catgroup { scroll-margin-top: 5rem; }

/* Fiche formation — hero */
.fhero { position: relative; padding-top: clamp(8rem, 6rem + 7vw, 11rem); overflow: hidden; }
.fhero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.fhero__tags { display: flex; gap: 0.5rem; margin-bottom: 1.2rem; }
.fhero__title { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.6rem); line-height: 1.02; }
.fhero__subtitle { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 0.9rem + 0.6vw, 1.5rem); color: var(--accent-soft); margin-top: 0.8rem; }
.fhero__price { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.5rem; padding-block: 1.2rem; border-block: 1px solid var(--line-2); }
.fhero__price-val { font-family: var(--serif); font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.6rem); line-height: 1; }
.fhero__price-cpf { color: var(--ink-2); }
.fhero__badges { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 1.3rem; }
.fhero__badges li { position: relative; padding-left: 1.3rem; font-size: 0.88rem; color: var(--ink-2); }
.fhero__badges li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-size: 0.8em; }
.fhero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.fhero__media { position: relative; border-radius: 14px; overflow: hidden; }
.fhero__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

/* Présentation */
.presentation { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.presentation__p { color: var(--ink-2); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); line-height: 1.7; margin-top: 1rem; max-width: 60ch; }
.techniques__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin: 2.2rem 0 1.2rem; }
.techniques { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem 1.5rem; }
.techniques li { position: relative; padding-left: 1.6rem; color: var(--ink-2); line-height: 1.5; }
.techniques li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.facts { position: sticky; top: 6rem; background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px; padding: 1.8rem; }
.facts__title { font-size: 1.3rem; margin-bottom: 1.2rem; }
.facts__row { display: flex; flex-direction: column; gap: 0.1rem; padding-block: 0.8rem; border-top: 1px solid var(--line-2); }
.facts__row:first-of-type { border-top: none; padding-top: 0; }
.facts__row dt { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.facts__row dd { color: var(--ink); font-weight: 500; }
.facts .btn { margin-top: 1.4rem; }
@media (max-width: 900px) { .presentation { grid-template-columns: 1fr; } .facts { position: static; } .techniques { grid-template-columns: 1fr; } .fhero__grid { grid-template-columns: 1fr; } .fhero__media { max-width: 460px; } }

/* Programme */
.programme { display: flex; flex-direction: column; gap: 1rem; max-width: 920px; }
.pblock { display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; padding: 1.6rem; background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; transition: border-color 0.3s; }
.pblock:hover { border-color: rgba(2, 2, 2, 0.28); }
.pblock__n { font-family: var(--serif); font-size: 2.2rem; color: var(--accent); line-height: 1; }
.pblock h3 { font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem); margin-bottom: 0.8rem; }
.pblock ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.5rem; }
.pblock li { position: relative; padding-left: 1.3rem; color: var(--ink-2); font-size: 0.95rem; }
.pblock li::before { content: '—'; position: absolute; left: 0; color: var(--muted); }
@media (max-width: 640px) { .pblock { grid-template-columns: 1fr; gap: 0.8rem; } .pblock ul { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2rem, 5vw, 4rem); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.35rem); color: var(--ink); transition: color 0.3s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent); }
.faq__ico { position: relative; flex-shrink: 0; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; transition: transform 0.4s var(--e), background 0.3s; }
.faq__ico::before, .faq__ico::after { content: ''; position: absolute; top: 50%; left: 50%; width: 11px; height: 1.5px; background: var(--ink); transform: translate(-50%,-50%); transition: opacity 0.3s; }
.faq__ico::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq__item[open] .faq__ico { transform: rotate(180deg); }
.faq__item[open] .faq__ico::after { opacity: 0; }
.faq__a { overflow: hidden; display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--e); }
.faq__item[open] .faq__a { grid-template-rows: 1fr; }
.faq__a > p { min-height: 0; padding-bottom: 1.3rem; color: var(--ink-2); line-height: 1.65; }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } }

/* Inscription */
.inscription { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.inscription__title { font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); margin: 0.8rem 0; }
.inscription__text { color: var(--ink-2); max-width: 44ch; }
.inscription__form { background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px; padding: clamp(1.4rem, 3vw, 2.2rem); }
@media (max-width: 900px) { .inscription { grid-template-columns: 1fr; } }

/* Formulaire */
.iform { display: flex; flex-direction: column; gap: 1.4rem; }
.iform__note { font-size: 0.85rem; color: var(--muted); }
/* Honeypot : masqué sans sortir du flux (un `left: -9999px` élargit le
   document et provoque un défilement horizontal). */
.iform__hp { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.iform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.78rem; color: var(--ink-2); font-weight: 500; }
.iform input, .iform textarea, .iform select { width: 100%; padding: 0.85em 1em; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; color: var(--ink); font-size: 0.98rem; transition: border-color 0.3s, box-shadow 0.3s; }
.iform input:focus, .iform textarea:focus, .iform select:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(88, 88, 88,0.22); }
.iform textarea { resize: vertical; min-height: 100px; }
.select { position: relative; }
.select select { appearance: none; cursor: pointer; }
.select::after { content: ''; position: absolute; right: 1em; top: 45%; width: 8px; height: 8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.check { position: relative; display: flex; gap: 0.7rem; align-items: flex-start; cursor: pointer; font-size: 0.86rem; color: var(--ink-2); line-height: 1.5; }
/* `position: relative` sur .check + dimensions explicites : sans ça la case
   héritait du `width: 100%` de `.iform input` en se calant sur le bloc
   conteneur initial, d'où un débordement horizontal de la page. */
.check input { position: absolute; left: 0; top: 1px; z-index: 1; width: 22px; height: 22px; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.check__box { flex-shrink: 0; margin-top: 1px; width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 4px; display: grid; place-items: center; color: #000; }
.check__box svg { opacity: 0; }
.check input:checked + .check__box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .check__box svg { opacity: 1; }
.iform__submit { align-self: flex-start; }
.iform__ok { padding: 2rem; text-align: center; border: 1px solid var(--accent); border-radius: 12px; background: var(--panel-2); }
.iform__ok[hidden] { display: none; }
.iform__ok h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.iform__ok p { color: var(--ink-2); }
@media (max-width: 560px) { .iform__grid { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 6rem; }
.infocard { padding: 1.5rem; background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; }
.infocard h2 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.infocard p, .infocard a { color: var(--ink-2); line-height: 1.5; }
.infocard .arrow-link { margin-top: 0.7rem; }
.hours { display: flex; flex-direction: column; gap: 0.4rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; color: var(--ink-2); font-size: 0.92rem; }
.hours li span:last-child { color: var(--ink); }
.socials { display: flex; flex-direction: column; gap: 0.3rem; }
.contact__form { background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px; padding: clamp(1.4rem, 3vw, 2.2rem); scroll-margin-top: 6rem; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact__info { position: static; } }

/* Liste features (coaching / formatrice) */
.feats { margin: 1.5rem 0 2rem; }

/* Prose (légales) */
.prose { max-width: 74ch; margin-inline: auto; }
.prose h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-top: 2.4rem; margin-bottom: 0.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); margin-top: 0.9rem; line-height: 1.75; }
.prose ul { margin-top: 0.9rem; display: flex; flex-direction: column; gap: 0.5rem; }
.prose li { position: relative; padding-left: 1.3rem; color: var(--ink-2); }
.prose li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.prose .todo { display: block; margin-top: 2rem; padding: 1.2rem; border: 1px dashed var(--line); border-radius: 8px; background: var(--panel-2); font-size: 0.9rem; }

/* =========================================================================
   BDC ARTIST NETWORK
   Bloc de mise en avant (accueil) + popup de candidature.
   Le popup est autonome : il s'active dès que le markup #nwk-modal existe.
   ========================================================================= */
.network { background: var(--ink); color: #f2f2f2; overflow: hidden; isolation: isolate; }
.network::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(90% 70% at 78% 30%, rgba(88, 88, 88, 0.30), transparent 62%);
}
.network__in { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2.5rem, 5vw, 5.5rem); align-items: center; }
.network .eyebrow { color: rgba(242, 242, 242, 0.82); }
.network .eyebrow::before { background: #dadada; }
.network__title { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.2rem); line-height: 1.02; margin: 0.5rem 0 1.2rem; }
.network__title i { font-style: italic; color: #dadada; }
.network__text { color: rgba(242, 242, 242, 0.82); max-width: 52ch; line-height: 1.75; }
.network__text b { color: #f2f2f2; font-weight: 600; }
.network__pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.6rem 0 2rem; }
.network__pills li {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.5em 1em; border: 1px solid rgba(242, 242, 242, 0.24); border-radius: 999px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(242, 242, 242, 0.9);
}
.network__pills li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #dadada; }
.network__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.network .btn { background: #f2f2f2; color: var(--ink); border: 0; }
.network .btn:hover { background: #fff; }
.network .btn--ghost { background: transparent; color: #f2f2f2; border: 1px solid rgba(242, 242, 242, 0.34); }
.network .btn--ghost:hover { background: transparent; color: #fff; border-color: #f2f2f2; }
.network__note { margin-top: 1.5rem; max-width: 54ch; font-size: 0.78rem; line-height: 1.6; color: rgba(242, 242, 242, 0.55); }

/* `position: relative` obligatoire : les clichés sont positionnés par rapport
   au bloc média, pas par rapport à la section (elle-même `relative`). */
/* `width: 100%` explicite : les clichés étant tous en `absolute`, la largeur
   intrinsèque du bloc est nulle — sans ça il s'effondre dès qu'une marge auto
   le fait passer en « shrink-to-fit » (cas du mono-colonne mobile). */
.network__media { position: relative; width: 100%; aspect-ratio: 1 / 1.06; }
.network__photo { position: absolute; margin: 0; }
/* `height: auto` neutralise l'attribut HTML `height` (indice de présentation),
   sans quoi il l'emporterait sur `aspect-ratio`. */
.network__photo img { height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.network__photo figcaption {
  padding-top: 0.7rem; text-align: center;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.network__photo--a { width: 56%; top: 2%; left: 0; }
.network__photo--b { width: 46%; right: 2%; bottom: 4%; }
.network__seal {
  position: absolute; top: 6%; right: 0; z-index: 2;
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 1.05rem;
  background: rgba(2, 2, 2, 0.72); border: 1px solid rgba(242, 242, 242, 0.22);
  border-radius: 999px; backdrop-filter: blur(6px);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #f2f2f2; line-height: 1.35;
}
.network__seal svg { flex-shrink: 0; color: #dadada; }

@media (max-width: 900px) {
  .network__in { grid-template-columns: 1fr; }
  .network__media { max-width: 460px; margin-inline: auto; }
}

/* ---- Popup de candidature ------------------------------------------- */
body.nwk-open { overflow: hidden; }
.nwk { position: fixed; inset: 0; z-index: 999; display: grid; place-items: center; padding: var(--pad); }
.nwk[hidden] { display: none; }
.nwk__backdrop { position: absolute; inset: 0; background: rgba(2, 2, 2, 0.62); backdrop-filter: blur(3px); opacity: 0; transition: opacity 0.45s var(--e); }
.nwk__dialog {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 0.82fr 1fr;
  width: min(920px, 100%); max-height: min(88vh, 720px);
  background: var(--bg); border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(2, 2, 2, 0.6);
  opacity: 0; transform: translateY(24px) scale(0.98); transition: opacity 0.5s var(--e), transform 0.6s var(--e);
}
.nwk.is-open .nwk__backdrop { opacity: 1; }
.nwk.is-open .nwk__dialog { opacity: 1; transform: none; }
.nwk__media { position: relative; }
.nwk__media img { width: 100%; height: 100%; object-fit: cover; }
.nwk__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(2, 2, 2, 0.35)); }
.nwk__body { padding: clamp(1.5rem, 3vw, 2.6rem); overflow-y: auto; }
.nwk__eyebrow { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.nwk__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); line-height: 1.1; margin: 0.7rem 0 0.9rem; }
.nwk__title i { font-style: italic; color: var(--accent-soft); }
.nwk__text { color: var(--ink-2); font-size: 0.94rem; line-height: 1.7; }
.nwk__text b { color: var(--ink); font-weight: 600; }
.nwk__steps { display: flex; flex-wrap: wrap; gap: 0.4rem 0.55rem; margin: 1.3rem 0; list-style: none; }
.nwk__steps li {
  display: inline-flex; align-items: baseline; gap: 0.45em;
  padding: 0.42em 0.8em; background: var(--panel); border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 0.74rem; color: var(--ink-2);
}
.nwk__steps li span { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; color: var(--accent); }
.nwk__note {
  padding: 0.85rem 1rem; margin-bottom: 1.4rem;
  border-left: 2px solid var(--accent); background: var(--panel);
  font-size: 0.79rem; line-height: 1.6; color: var(--muted);
}
.nwk__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.4rem; }
.nwk__later { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); transition: color 0.25s; }
.nwk__later:hover { color: var(--ink); }
.nwk__close {
  position: absolute; top: 0.85rem; right: 0.85rem; z-index: 3;
  width: 38px; height: 38px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.9); border: 1px solid var(--line-2); border-radius: 50%;
  color: var(--ink); transition: background 0.25s, transform 0.35s var(--e);
}
.nwk__close:hover { background: #fff; transform: rotate(90deg); }

@media (max-width: 720px) {
  .nwk__dialog { grid-template-columns: 1fr; max-height: 90vh; }
  .nwk__media { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nwk__backdrop, .nwk__dialog { transition: none; }
}

/* =========================================================================
   TRANSITION DE PAGE
   Voile plein écran. Au clic sur un lien interne il se remplit (220 ms) puis
   la navigation part ; à l'arrivée, la classe `is-nav` (posée par le script
   du <head>, donc avant le 1er paint) le montre déjà plein et il s'efface.
   La couleur est celle de la page de DESTINATION → aucun à-coup clair/sombre.
   ========================================================================= */
.pt {
  position: fixed; inset: 0; z-index: 900;
  background: var(--bg-soft);
  opacity: 0; pointer-events: none;
  transition: opacity 0.38s var(--e2);
}
html.is-nav .pt { opacity: 1; transition: none; animation: ptFail 0.4s ease 2.5s forwards; }
.pt.is-out { opacity: 1; transition: opacity 0.22s ease-in; }
/* Filet de sécurité : si le JS ne démarre pas, on découvre la page. */
@keyframes ptFail { to { opacity: 0; } }
main { transition: opacity 0.5s var(--e2) 0.05s; }
html.is-nav main { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .pt, main { transition: none; }
  html.is-nav .pt { opacity: 0; animation: none; }
  html.is-nav main { opacity: 1; }
}

/* =========================================================================
   Menu déroulant compact (Artist Network)
   ========================================================================= */
.has-drop { position: relative; }
.drop {
  position: absolute; top: 100%; right: 0; padding-top: 14px;
  opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none;
  transition: opacity 0.3s var(--e), transform 0.3s var(--e), visibility 0.3s;
}
/* Pas de pont ajouté : le `padding-top` de .drop couvre déjà l'espace entre le
   lien et le panneau. Un pseudo-élément en `bottom: 100%` recouvrirait le lien
   lui-même et le rendrait incliquable une fois le menu ouvert. */
.has-drop > .nav__link { z-index: 2; }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.has-drop:hover .nav__chev, .has-drop:focus-within .nav__chev { transform: rotate(180deg); }
.drop__list {
  min-width: 290px; padding: 0.5rem;
  background: rgba(242, 242, 242, 0.98); backdrop-filter: blur(20px);
  border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 40px 90px -30px rgba(2, 2, 2, 0.28);
}
.drop__list a { display: block; padding: 0.7rem 0.85rem; border-radius: 8px; transition: background 0.25s; }
.drop__list a:hover { background: rgba(2, 2, 2, 0.05); }
.drop__list b { display: block; font-family: var(--sans); font-size: 0.84rem; font-weight: 600; letter-spacing: 0.02em; text-transform: none; color: var(--ink); }
.drop__list span { display: block; margin-top: 0.15rem; font-size: 0.75rem; line-height: 1.4; color: var(--muted); }

/* =========================================================================
   L'univers Beauté du Cil — les marques sœurs à venir
   ========================================================================= */
.univers__head { text-align: center; margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.univers__head .eyebrow { justify-content: center; }
.univers__title { font-size: clamp(2rem, 1.2rem + 3vw, 3.8rem); margin-top: 0.6rem; }
.univers__title i { font-style: italic; color: var(--accent-soft); }
.univers__lead { max-width: 60ch; margin: 1.2rem auto 0; color: var(--ink-2); }

.ugrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.ucard {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1rem, 2vw, 1.6rem);
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px;
  transition: border-color 0.35s var(--e), transform 0.5s var(--e), box-shadow 0.5s var(--e);
}
.ucard--live { background: var(--panel-2); border-color: var(--accent-pale); }
a.ucard:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(2, 2, 2, 0.4); }
.ucard__logo { width: 100%; max-width: 190px; height: auto; }
.ucard__logo--wide { max-width: 168px; }
.ucard__status {
  margin-top: 1.4rem; padding: 0.3em 0.8em;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.ucard--live .ucard__status { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.ucard__desc { margin-top: 1rem; font-size: 0.88rem; line-height: 1.6; color: var(--muted); }
.ucard__cta { margin-top: 1.1rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
a.ucard:hover .ucard__cta { color: var(--accent-2); }
@media (max-width: 1000px) { .ugrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ugrid { grid-template-columns: 1fr; } }

/* =========================================================================
   Footer — bandeau marques sœurs + signature
   ========================================================================= */
.fbrands { padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--line-2); }
.fbrands__t { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 1.4rem; }
.fbrands__list { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1.8rem, 5vw, 4rem); }
.fbrands__list img { width: auto; height: clamp(38px, 4vw, 50px); opacity: 0.55; transition: opacity 0.35s var(--e); }
.fbrands__list li:hover img { opacity: 1; }

.footer__made { font-size: 0.74rem; color: var(--muted-2); letter-spacing: 0.02em; }
.footer__made a { color: var(--muted); border-bottom: 1px solid transparent; transition: color 0.25s, border-color 0.25s; }
.footer__made a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.footer__heart { color: var(--accent); font-size: 0.9em; }
@media (max-width: 720px) { .footer__bottom { flex-direction: column; align-items: flex-start; gap: 0.7rem; } }

/* Pages légales — intro et champs restant à renseigner */
.prose__intro { font-size: 1.02rem; color: var(--ink-2); }
.prose .fill {
  background: var(--panel-2); color: var(--accent-2);
  padding: 0.1em 0.5em; border: 1px dashed var(--accent-pale); border-radius: 4px;
  font-size: 0.92em; font-style: italic;
}
.prose h2 + p { margin-top: 0.4rem; }

/* Ligne de spécialités sous le titre du hero */
.hero__specialties {
  margin-top: clamp(1.2rem, 2vw, 1.8rem);
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-2);
}
.hero__specialties em { font-style: normal; color: var(--accent); margin-inline: 0.3em; }
.hero__lead { margin-top: 0.9rem; }

/* =========================================================================
   Accueil — preuves, expertises complémentaires, piliers, réputation
   ========================================================================= */

/* Bandeau de preuves sous le manifeste */
.proofs {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  margin-top: clamp(3rem, 5vw, 4.5rem); padding-top: clamp(2rem, 3vw, 3rem);
  border-top: 1px solid var(--line-2);
}
/* La ligne des chiffres a une hauteur fixe : « Qualiopi » et « À vie » sont
   écrits plus petit, sans quoi leur ligne plus basse décalait les libellés. */
.proof { display: grid; grid-template-rows: clamp(1.8rem, 1.2rem + 1.8vw, 3rem) auto; gap: 0.5rem; }
.proof__n {
  display: flex; align-items: flex-end;
  font-family: var(--serif); font-size: clamp(1.8rem, 1.2rem + 1.8vw, 3rem);
  line-height: 1; color: var(--ink);
}
.proof__n b { font-size: 0.45em; font-weight: 500; color: var(--accent); margin-left: 0.08em; }
.proof__n--word { font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); }
.proof__l { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .proofs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .proofs { grid-template-columns: 1fr 1fr; } }

/* Sous-titre de section + grille « autres formations » */
.shead--sub { margin-top: clamp(3rem, 5vw, 4.5rem); margin-bottom: clamp(1.4rem, 2.5vw, 2rem); }
.shead__sub { font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); margin-top: 0.5rem; }
.othergrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.othergrid a {
  display: flex; flex-direction: column; gap: 0.15rem;
  padding: 1.1rem 1.3rem;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px;
  transition: border-color 0.3s var(--e), background 0.3s var(--e), transform 0.4s var(--e);
}
.othergrid a:hover { border-color: var(--accent); background: var(--panel-2); transform: translateY(-2px); }
.othergrid b { font-family: var(--serif); font-size: 1.05rem; font-weight: 500; color: var(--ink); }
.othergrid span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .othergrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .othergrid { grid-template-columns: 1fr; } }

/* Les 4 piliers */
.pillars { background: var(--bg-2); }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 3rem); list-style: none; }
.pillar { padding-top: 1.6rem; border-top: 1px solid var(--line); position: relative; }
.pillar::before { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.pillar__n { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; color: var(--accent); margin-bottom: 0.8rem; }
.pillar__t { font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.7rem); margin-bottom: 0.5rem; }
.pillar__d { font-size: 0.92rem; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 900px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pgrid { grid-template-columns: 1fr; } }

/* Réputation */
.reviews__head { display: grid; grid-template-columns: 1fr auto; gap: clamp(2rem, 4vw, 4rem); align-items: center; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.reviews__lead { max-width: 56ch; margin-top: 1.1rem; color: var(--ink-2); }
.gscore {
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
  padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.8rem, 4vw, 3rem);
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px; text-align: center;
}
.gscore__n { font-family: var(--serif); font-size: clamp(2.6rem, 2rem + 2vw, 4rem); line-height: 1; color: var(--ink); }
.gscore__stars { font-size: 0.95rem; letter-spacing: 0.14em; color: var(--accent); }
.gscore__l { margin-top: 0.4rem; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); max-width: 14ch; }
@media (max-width: 820px) { .reviews__head { grid-template-columns: 1fr; } .gscore { align-self: start; } }

/* =========================================================================
   Pages éditoriales (Le Centre, Devenir Formatrice)
   ========================================================================= */
.ehero__title { font-size: clamp(2.4rem, 1.4rem + 4.4vw, 5rem); line-height: 1.02; margin: 0.6rem auto 0; max-width: 16ch; }
.ehero__title i { font-style: italic; color: var(--accent-soft); }

.prose-lg { max-width: 68ch; margin-inline: auto; }
.prose-lg p { color: var(--ink-2); font-size: clamp(1rem, 0.95rem + 0.25vw, 1.14rem); line-height: 1.8; }
.prose-lg p + p { margin-top: 1.2rem; }
.prose-lg strong { color: var(--ink); font-weight: 600; }
.prose-lg .eyebrow { margin-bottom: 1.2rem; }
.prose-lg__cta { margin-top: 2.4rem; }

.section__lead { max-width: 68ch; margin-bottom: clamp(2.2rem, 4vw, 3.2rem); color: var(--ink-2); line-height: 1.75; }
.section__note {
  max-width: 70ch; margin-top: clamp(2.2rem, 4vw, 3rem);
  padding-left: 1.2rem; border-left: 2px solid var(--accent);
  color: var(--ink-2); line-height: 1.75;
}
.section__note strong { color: var(--ink); font-weight: 600; }

/* Colonnes inversées (média à droite) */
.split--rev .split__media { order: 2; }
@media (max-width: 900px) { .split--rev .split__media { order: 0; } }

/* Programme : sous-titre et note par bloc */
.pblock__sub { margin: 0.3rem 0 0.9rem; color: var(--muted); font-size: 0.95rem; }
.pblock__note { margin-top: 0.9rem; font-size: 0.9rem; font-style: italic; color: var(--accent-2); }

/* Grille administrative (Devenir Formatrice) */
.admgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.adm { padding: clamp(1.3rem, 2.5vw, 1.9rem); background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; }
.adm__t { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 1rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--line-2); }
.adm__list { display: flex; flex-direction: column; gap: 0.55rem; }
.adm__list li { position: relative; padding-left: 1.1rem; font-size: 0.9rem; line-height: 1.5; color: var(--ink-2); }
.adm__list li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
@media (max-width: 900px) { .admgrid { grid-template-columns: 1fr; } }

.pgrid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .pgrid--3 { grid-template-columns: 1fr; } }

/* Bandeau note Google (Le Centre) */
.gband { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap; }
.gband__t { flex: 1 1 320px; max-width: 56ch; color: var(--ink-2); line-height: 1.75; }

/* Galerie du centre */
.cgal { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.8rem, 1.6vw, 1.2rem); }
.cgal__it { margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 5; }
.cgal__it--wide { grid-column: span 2; aspect-ratio: 8 / 5; }
.cgal__it img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--e); }
.cgal__it:hover img { transform: scale(1.05); }
@media (max-width: 760px) { .cgal { grid-template-columns: repeat(2, 1fr); } .cgal__it--wide { grid-column: span 2; } }

.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Message d'erreur d'envoi de formulaire */
.iform__err {
  padding: 0.9rem 1.1rem;
  background: #fdf2f0; border: 1px solid #e6bcb3; border-left: 3px solid #a13c2f;
  border-radius: 8px; color: #8a3226; font-size: 0.9rem; line-height: 1.55;
}
.iform__err[hidden] { display: none; }
.iform__submit[disabled] { opacity: 0.55; pointer-events: none; }

/* =========================================================================
   Visionneuse de programme PDF — surcouche assombrie sur la fiche formation.
   ========================================================================= */
body.pdfv-open { overflow: hidden; }

.pdfv { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  padding: clamp(0.6rem, 2vw, 2rem); }
.pdfv[hidden] { display: none; }

.pdfv__fond { position: absolute; inset: 0; background: rgba(2, 2, 2, 0.82);
  opacity: 0; transition: opacity 0.28s var(--e); cursor: pointer; }
.pdfv.is-open .pdfv__fond { opacity: 1; }

.pdfv__boite { position: relative; z-index: 1; width: min(1040px, 100%);
  height: min(92vh, 100%); display: flex; flex-direction: column;
  background: var(--bg); border-radius: 14px; overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
  opacity: 0; transform: translateY(14px) scale(0.985);
  transition: opacity 0.3s var(--e), transform 0.3s var(--e); }
.pdfv.is-open .pdfv__boite { opacity: 1; transform: none; }

.pdfv__tete { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 0.85rem 1rem 0.85rem 1.3rem; border-bottom: 1px solid var(--line-2);
  background: var(--bg); }
.pdfv__titre { margin: 0; margin-right: auto; font-family: var(--serif);
  font-size: clamp(0.98rem, 0.9rem + 0.4vw, 1.15rem); font-weight: 500; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.pdfv__actions { display: flex; align-items: center; gap: 0.5rem; }

.pdfv__btn { display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.85rem; border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-2);
  text-decoration: none; white-space: nowrap; transition: background 0.25s, border-color 0.25s; }
.pdfv__btn:hover { background: var(--panel); border-color: var(--accent); }
.pdfv__btn--fort { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.pdfv__btn--fort:hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--bg); }

.pdfv__fermer { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 999px; background: transparent;
  color: var(--ink); cursor: pointer; transition: background 0.25s, border-color 0.25s; }
.pdfv__fermer:hover { background: var(--panel); border-color: var(--accent); }

.pdfv__corps { flex: 1; min-height: 0; background: var(--bg-2); }
.pdfv__cadre { width: 100%; height: 100%; border: 0; display: block; background: var(--bg-2); }

/* Repli iOS : le lecteur intégré y affiche un PDF comme une image figée de la
   première page. On propose l'ouverture plein écran plutôt qu'un cadre inerte. */
.pdfv__repli { height: 100%; margin: 0; display: grid; place-content: center;
  gap: 1rem; padding: 2rem 1.6rem; text-align: center; color: var(--muted);
  font-size: 0.92rem; line-height: 1.6; }
.pdfv__repli[hidden] { display: none; }
.pdfv__repli .btn { justify-self: center; }

@media (max-width: 620px) {
  .pdfv { padding: 0; }
  .pdfv__boite { width: 100%; height: 100%; border-radius: 0; }
  .pdfv__titre { font-size: 0.9rem; width: 100%; margin-bottom: 0.2rem; }
  .pdfv__actions { width: 100%; }
  .pdfv__btn { flex: 1; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .pdfv__fond, .pdfv__boite { transition: none; }
}

/* Plan du site — colonnes simples, lecture rapide. */
.plan { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1.6rem, 3vw, 2.6rem); }
.plan__grp { min-width: 0; }
.plan__t { font-family: var(--serif); font-size: 1.05rem; font-weight: 500; color: var(--ink);
  margin: 0 0 0.8rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--line-2); }
.plan__l { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.plan__l a { font-size: 0.9rem; color: var(--muted); text-decoration: none;
  transition: color 0.25s; }
.plan__l a:hover { color: var(--ink); }

/* =========================================================================
   BDC Studio — page et calendrier de réservation.
   ========================================================================= */
.studio__logo { display: block; margin: 0 auto clamp(1.2rem, 2vw, 1.8rem);
  width: clamp(150px, 18vw, 220px); height: auto; }

.studio__inclus { display: grid; gap: 0.9rem; margin: 1.4rem 0 1.6rem; }
.studio__inclus > div { display: grid; gap: 0.15rem; padding-left: 0.9rem;
  border-left: 2px solid var(--line-2); }
.studio__inclus dt { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.studio__inclus dd { margin: 0; font-size: 0.88rem; color: var(--muted); line-height: 1.55; }

.journey--3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* --- Calendrier ---------------------------------------------------------- */
.cal__nav { display: flex; align-items: center; justify-content: center; gap: 1.1rem;
  margin-top: clamp(1.2rem, 2.5vw, 1.8rem); }
.cal__fleche { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 999px; background: transparent;
  color: var(--ink); cursor: pointer;
  transition: background 0.22s, border-color 0.22s, opacity 0.22s; }
.cal__fleche:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.cal__fleche:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cal__fleche:disabled { opacity: 0.28; cursor: not-allowed; }
.cal__periode { margin: 0; min-width: 9.5rem; text-align: center;
  font-family: var(--serif); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.18rem);
  color: var(--ink); }

.cal { margin-top: clamp(1.4rem, 3vw, 2.2rem); }
.cal__grille { display: grid; grid-template-columns: repeat(7, minmax(104px, 1fr));
  gap: 0.55rem; }

.cal__jour { display: flex; flex-direction: column; gap: 0.4rem;
  background: var(--carte, #fff); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 0.7rem 0.55rem; min-width: 0; }
.cal__jour--ferme { background: transparent; border-style: dashed; }

.cal__tete { text-align: center; padding-bottom: 0.5rem; margin-bottom: 0.15rem;
  border-bottom: 1px solid var(--line-2); }
.cal__tete b { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink); }
.cal__tete span { display: block; margin-top: 0.15rem; font-size: 0.74rem; color: var(--muted-2); }

.cal__creneau { width: 100%; padding: 0.5rem 0.3rem; border: 1px solid var(--line);
  border-radius: 8px; background: transparent; color: var(--ink-2);
  font: inherit; font-size: 0.82rem; font-weight: 500; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s; }
.cal__creneau:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.cal__creneau:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cal__creneau.is-choisi { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.cal__creneau:disabled { cursor: not-allowed; opacity: 0.32; }
.cal__creneau.is-pris { text-decoration: line-through; }

.cal__ferme { margin: auto 0; text-align: center; font-size: 0.78rem; color: var(--muted-2);
  letter-spacing: 0.06em; text-transform: uppercase; }

.cal__resume { margin-top: 1rem; text-align: center; font-size: 0.92rem; font-weight: 600;
  color: var(--ink); }
.cal__resume.is-manquant { color: var(--accent-2); }
.cal__resume[hidden] { display: none; }
.cal__vide { margin-top: 1rem; text-align: center; color: var(--muted); font-size: 0.9rem; }

/* Sept colonnes ne tiennent pas sur un téléphone : on fait défiler, avec un
   ancrage pour que chaque jour se cale proprement. */
@media (max-width: 900px) {
  .cal { margin-inline: calc(var(--pad, 1.2rem) * -1); padding-inline: var(--pad, 1.2rem);
    overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .cal__grille { grid-template-columns: repeat(7, 116px); }
  .cal__jour { scroll-snap-align: start; }
}
