/* =========================================================================
   SC SCHOOL — feuille de style principale (v2 « vitrine animée »)
   Charte : noir #111 + jaune #FFED00, police Inter (auto-hébergée).
   Toutes les animations sont désactivées si l'utilisateur a demandé
   « réduire les animations » dans son système (prefers-reduced-motion).
   ========================================================================= */

:root {
  --jaune: #FFED00;
  --jaune-fonce: #E6D500;
  --noir: #111111;
  --nuit: #0C0C0C;
  --nuit-2: #171717;
  --encre: #1A1A1A;
  --gris-texte: #55554F;
  --gris-clair: #8A8A82;
  --papier: #F6F6F1;
  --trait: #E3E3DC;
  --blanc: #FFFFFF;
  --ok: #2E7D32;
  --err: #C62828;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mesure: 68ch;
  --radius: 6px;
  --container: 1200px;
  --gutter: 24px;
  --header-h: 84px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-expo: cubic-bezier(.76, 0, .24, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--encre);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
  overflow-x: clip;
}
html { overflow-x: clip; }
html.js body { animation: page-in .6s var(--ease-out) both; }
body.is-leaving { opacity: 0; transition: opacity .25s ease; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--jaune-fonce); }
p { margin: 0 0 1em; max-width: var(--mesure); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { font-weight: 700; }
small { font-size: .85em; }
mark { background: none; color: inherit; }
abbr[title] { text-decoration: none; color: var(--err); }
:focus-visible { outline: 3px solid var(--noir); outline-offset: 2px; box-shadow: 0 0 0 7px var(--jaune); border-radius: 2px; }
.section--dark :focus-visible, .hero--dark :focus-visible, .page-hero--dark :focus-visible, .cta-band :focus-visible { outline-color: var(--jaune); box-shadow: 0 0 0 7px rgba(255,237,0,.25); }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--noir); color: var(--jaune); padding: .6rem 1rem; font-weight: 700; border-radius: var(--radius); }
.skip-link:focus { left: 8px; }
.site-footer__note { font-size: .8rem; color: var(--gris-texte); margin: 1.5rem 0 0; max-width: none; }

/* Étiquette d'information (noir sur jaune) */
.tag {
  display: inline-block;
  background: var(--noir);
  color: var(--jaune);
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.3;
  padding: .38em .75em;
  border-radius: 3px;
  margin: 0 0 1.2rem;
}
.tag--light { background: var(--jaune); color: var(--noir); }

/* ---------- Révélation au défilement ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease-out), transform .75s var(--ease-out); transition-delay: var(--d, 0s); will-change: opacity, transform; }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
html.js [data-reveal].is-visible.is-done { will-change: auto; }

/* ---------- Intro (première visite de la session) ---------- */
.intro {
  position: fixed; inset: 0; z-index: 200;
  background: var(--nuit); color: var(--blanc);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
  animation: intro-out .75s var(--ease-expo) 2s forwards;
}
html:not(.js) .intro, html.intro-done .intro { display: none; }
.intro__logo { display: grid; justify-items: start; font-weight: 800; font-style: italic; letter-spacing: -0.04em; line-height: 1; }
.intro__block { background: var(--jaune); color: var(--noir); padding: .08em .3em .12em; animation: block-in .65s var(--ease-out) both; }
.intro__block--a { font-size: clamp(3.4rem, 11vw, 8rem); animation-delay: .15s; }
.intro__block--b { font-size: clamp(1.6rem, 5.2vw, 3.8rem); margin-left: 58%; margin-top: -.22em; animation-delay: .4s; }
.intro__line { font-size: 1.05rem; color: rgba(255,255,255,.7); margin: 0; opacity: 0; animation: fade-up .6s var(--ease-out) .9s forwards; }
@keyframes block-in { from { clip-path: inset(0 100% 0 0); transform: translateY(14px); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes intro-out { to { transform: translateY(-101%); visibility: hidden; } }

/* ---------- Barre de progression de lecture ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress__bar { display: block; height: 100%; background: var(--jaune); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- Curseur personnalisé (souris uniquement) ---------- */
.cursor { display: none; }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html.has-cursor .cursor { display: block; position: fixed; top: 0; left: 0; z-index: 250; pointer-events: none; mix-blend-mode: difference; }
  html.has-cursor .cursor__dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--jaune); transform: translate3d(var(--x, -100px), var(--y, -100px), 0); }
  html.has-cursor .cursor__ring { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1.5px solid var(--jaune); transform: translate3d(var(--rx, -100px), var(--ry, -100px), 0) scale(var(--s, 1)); transition: transform .12s linear, background-color .2s; }
  html.has-cursor .cursor.is-hover .cursor__ring { background: rgba(255,237,0,.25); --s: 1.7; }
  html.has-cursor .cursor.is-down .cursor__ring { --s: .7; }
  html.has-cursor body, html.has-cursor a, html.has-cursor button, html.has-cursor summary, html.has-cursor label { cursor: none; }
  html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: auto; }
}

/* ---------- Boutons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 1.4rem;
  font: 600 .98rem/1.2 var(--font);
  border: 2px solid var(--noir);
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: color .3s var(--ease-out), border-color .3s, transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
  white-space: nowrap;
}
.btn > * { position: relative; z-index: 1; }
.btn::before { content: ""; position: absolute; inset: -1px; z-index: 0; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-expo); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { transform: translateY(-2px); }
.btn small { font-weight: 500; opacity: .75; margin-left: -.15rem; }
.btn--lg { padding: 1.05rem 1.7rem; font-size: 1.04rem; }
.btn--dark { background: var(--noir); color: var(--blanc); }
.btn--dark::before { background: var(--jaune); }
.btn--dark:hover { color: var(--noir); border-color: var(--jaune); }
.btn--outline { background: transparent; color: var(--noir); }
.btn--outline::before { background: var(--noir); }
.btn--outline:hover { color: var(--blanc); }
.btn--yellow { background: var(--jaune); color: var(--noir); border-color: var(--jaune); box-shadow: 0 10px 30px -14px rgba(255,237,0,.8); }
.btn--yellow::before { background: var(--noir); }
.btn--yellow:hover { color: var(--jaune); border-color: var(--noir); box-shadow: 0 18px 36px -16px rgba(0,0,0,.5); }
.btn--ghost-light { background: transparent; color: var(--blanc); border-color: rgba(255,255,255,.5); }
.btn--ghost-light::before { background: var(--blanc); }
.btn--ghost-light:hover { color: var(--noir); border-color: var(--blanc); }
.btn--block { width: 100%; }
.btn--block small { display: none; }
.btn--block + .btn--block { margin-top: .6rem; }
.btn .icon--arrow { transition: transform .3s var(--ease-out); }
.btn:hover .icon--arrow { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--blanc);
  border-bottom: 1px solid var(--trait);
  transition: background-color .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(17,17,17,.35); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; transition: transform .3s var(--ease-out); }
.brand:hover { transform: rotate(-2deg) scale(1.03); }
.brand__logo { height: 56px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 2.2rem; }
.site-nav .menu { display: flex; gap: 1.9rem; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a {
  position: relative; display: inline-block; padding: .45rem 0; font-weight: 600; font-size: .98rem;
  text-decoration: none;
}
.site-nav .menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--jaune); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-expo); }
.site-nav .menu a:hover::after,
.site-nav .menu .current-menu-item > a::after,
.site-nav .menu .current_page_item > a::after,
.site-nav .menu .current_page_parent > a::after { transform: scaleX(1); transform-origin: left; }
.site-nav__cta { padding: .7rem 1.15rem; }

/* Barre d'administration WordPress (utilisateur connecté) */
body.admin-bar .site-header { top: 32px; }
body.admin-bar .site-nav { top: 100%; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
body.admin-bar .progress { top: 32px; }
body.admin-bar .intro { top: 32px; }

/* En-tête posé sur un héros sombre : transparent en haut de page, blanc au défilement */
body.has-dark-hero .site-header:not(.is-scrolled):not(.is-open) { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: var(--blanc); }
body.has-dark-hero .site-header.is-scrolled, body.has-dark-hero .site-header.is-open { position: fixed; left: 0; right: 0; }
body.has-dark-hero.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.has-dark-hero.admin-bar .site-header { top: 46px; } }
body.has-dark-hero .site-main { padding-top: 0; }
body.has-dark-hero .site-header .nav-toggle { border-color: currentColor; color: inherit; }
body.has-dark-hero .site-header.is-scrolled { color: var(--encre); background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--trait); }

.nav-toggle {
  display: none; align-items: center; gap: .6rem;
  background: none; border: 2px solid var(--noir); border-radius: var(--radius);
  padding: .55rem .85rem; font: 600 .9rem var(--font); cursor: pointer; color: inherit;
}
.nav-toggle__bars { display: inline-grid; gap: 4px; width: 20px; }
.nav-toggle__bars i { display: block; height: 2px; background: currentColor; transition: transform .3s var(--ease-out), opacity .2s; transform-origin: center; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Héros d'accueil (sombre) ---------- */
.hero--dark {
  position: relative; overflow: hidden;
  background: var(--nuit); color: var(--blanc);
  padding: calc(var(--header-h) + 4.5rem) 0 6.5rem;
  min-height: 92vh; display: flex; align-items: center;
}
.hero__net, .page-hero--dark .hero__net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero__glow {
  position: absolute; width: 60vmax; height: 60vmax; left: var(--mx, 70%); top: var(--my, 40%);
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255,237,0,.14), transparent 70%);
  pointer-events: none; transition: left 1.2s var(--ease-out), top 1.2s var(--ease-out);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: center; width: 100%; }
.hero__title {
  font-size: clamp(2.5rem, 4.6vw, 4.1rem);
  line-height: 1.02; letter-spacing: -0.03em;
  margin: 0 0 1.5rem; color: var(--blanc);
}
.block {
  display: inline-block; background: var(--jaune); color: var(--noir);
  padding: .05em .2em .1em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
html.js .hero__title .block, html.js .page-hero--dark .block { clip-path: inset(0 100% 0 0); animation: block-in .8s var(--ease-expo) forwards; }
html.js .hero__title .block--a { animation-delay: .25s; }
html.js .hero__title .block--b { animation-delay: .5s; }
html.js .page-hero--dark .block--a { animation-delay: .15s; }
html.js .page-hero--dark .block--b { animation-delay: .4s; }
html.js.has-intro .hero__title .block--a { animation-delay: 2.35s; }
html.js.has-intro .hero__title .block--b { animation-delay: 2.6s; }
.block--offset { margin-left: 1.6em; margin-top: -.06em; }
.hero__lead { font-size: 1.18rem; max-width: 54ch; color: rgba(255,255,255,.78); margin-bottom: 2rem; }
.hero__actions, .page-hero__actions, .feature__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__proof { list-style: none; margin: 2.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.2rem 0; }
.hero__proof li { display: grid; padding: 0 1.6rem; border-left: 1px solid rgba(255,255,255,.18); }
.hero__proof li:first-child { padding-left: 0; border-left: 0; }
.hero__proof strong { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--jaune); }
.hero__proof span { font-size: .85rem; color: rgba(255,255,255,.65); }
.hero__scroll { position: absolute; left: 50%; bottom: 2.4rem; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--jaune); animation: scroll-hint 1.8s ease-in-out infinite; }
@keyframes scroll-hint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* Maquette « tableau de bord » animée */
.hero__viz { position: relative; perspective: 1200px; }
.hero__viz-note { font-size: .8rem; color: rgba(255,255,255,.5); text-align: center; margin: 2.2rem 0 0; }
.viz {
  position: relative; background: var(--nuit-2); color: var(--blanc);
  border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 1.1rem 1.2rem 1.3rem;
  box-shadow: 0 40px 90px -40px rgba(255,237,0,.35), 0 30px 60px -30px rgba(0,0,0,.8);
  transform-style: preserve-3d; transition: transform .25s ease-out;
}
.viz__chrome { display: flex; align-items: center; gap: 6px; margin-bottom: 1rem; font-size: .72rem; color: rgba(255,255,255,.45); }
.viz__chrome i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.viz__chrome i:first-child { background: var(--jaune); }
.viz__chrome span { margin-left: auto; }
.viz__search { display: flex; align-items: center; gap: .6rem; background: var(--blanc); color: var(--noir); border-radius: 999px; padding: .65rem 1rem; font-size: .95rem; min-height: 2.6rem; }
.viz__search svg { width: 1.1rem; height: 1.1rem; flex: none; color: var(--gris-texte); }
.viz__caret { width: 2px; height: 1.1em; background: var(--noir); animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.viz__results { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .45rem; }
.viz__result { display: flex; gap: .75rem; align-items: center; padding: .6rem .75rem; border-radius: 10px; background: rgba(255,255,255,.04); opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), background-color .4s, box-shadow .4s; }
.viz__result em { font-style: normal; font-weight: 800; width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); font-size: .85rem; flex: none; }
.viz__result b { display: block; font-size: .86rem; font-weight: 700; line-height: 1.25; }
.viz__result span { display: block; font-size: .74rem; color: rgba(255,255,255,.55); margin-top: .15rem; }
.viz__result--you { order: 1; }
.viz--results .viz__result { opacity: 1; transform: none; }
.viz--results .viz__result:nth-child(2) { transition-delay: .15s; }
.viz--results .viz__result:nth-child(3) { transition-delay: .3s; }
.viz--rank .viz__result--you { order: -1; animation: pop .6s var(--ease-out); background: var(--jaune); color: var(--noir); box-shadow: 0 10px 30px -10px rgba(255,237,0,.7); }
.viz--rank .viz__result--you em { background: var(--noir); color: var(--jaune); }
.viz--rank .viz__result--you span { color: rgba(17,17,17,.7); }
.viz__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: 1rem; }
.viz__metrics > div { background: rgba(255,255,255,.05); border-radius: 10px; padding: .6rem .7rem; }
.viz__metrics small { display: block; font-size: .68rem; color: rgba(255,255,255,.5); }
.viz__metrics b { display: block; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; color: var(--jaune); margin-top: .1rem; }
.viz__rank { transition: transform .5s var(--ease-expo); }
.viz--rank .viz__rank { animation: pop .6s var(--ease-out); }
@keyframes pop { 40% { transform: scale(1.35); } }
.viz__chart { display: flex; align-items: flex-end; gap: .4rem; height: 64px; margin-top: 1rem; padding: 0 .2rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.viz__chart i { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--jaune), rgba(255,237,0,.35)); border-radius: 3px 3px 0 0; transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease-out); }
.viz--live .viz__chart i { transform: scaleY(1); }
.viz--live .viz__chart i:nth-child(2) { transition-delay: .08s; } .viz--live .viz__chart i:nth-child(3) { transition-delay: .16s; } .viz--live .viz__chart i:nth-child(4) { transition-delay: .24s; } .viz--live .viz__chart i:nth-child(5) { transition-delay: .32s; } .viz--live .viz__chart i:nth-child(6) { transition-delay: .4s; } .viz--live .viz__chart i:nth-child(7) { transition-delay: .48s; } .viz--live .viz__chart i:nth-child(8) { transition-delay: .56s; }
.viz__toast { position: absolute; display: flex; align-items: center; gap: .5rem; background: var(--blanc); color: var(--noir); font-size: .8rem; font-weight: 600; padding: .55rem .8rem; border-radius: 10px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.7); opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); pointer-events: none; }
.viz__toast span { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--jaune); font-size: .8rem; }
.viz__toast--like { right: -1.2rem; top: -1.1rem; }
.viz__toast--lead { left: -1.4rem; bottom: -1.1rem; }
.viz--toast1 .viz__toast--like, .viz--toast2 .viz__toast--lead { opacity: 1; transform: translate3d(0, 0, 40px); }

/* ---------- Bandeau défilant ---------- */
.marquee-wrap { position: relative; z-index: 2; overflow: hidden; margin: -1.6rem 0 .6rem; padding: .9rem 0; }
.marquee { background: var(--jaune); color: var(--noir); overflow: hidden; padding: .9rem 0; transform: rotate(-1.2deg) scale(1.02); }
.marquee__track { display: flex; align-items: center; gap: 2.2rem; width: max-content; font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; text-transform: uppercase; animation: marquee 34s linear infinite; }
.marquee__track i { font-style: normal; font-size: .8rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; position: relative; }
.section--grey { background: var(--papier); }
.section--dark { background: var(--nuit); color: var(--blanc); }
.section__title { font-size: clamp(1.9rem, 3.3vw, 2.8rem); margin-bottom: 1.2rem; max-width: 22ch; }
.section__title mark { background: linear-gradient(var(--jaune), var(--jaune)) no-repeat 0 88% / 0% 32%; transition: background-size .9s var(--ease-expo) .35s; padding: 0 .05em; }
.section__title.is-visible mark { background-size: 100% 32%; }
.section--dark .section__title mark { color: var(--blanc); }
.section__head { margin-bottom: 2.6rem; }
.section__intro { font-size: 1.12rem; color: var(--gris-texte); max-width: 62ch; margin: 0; }
.section--dark .section__intro { color: rgba(255,255,255,.7); }

.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 4rem; align-items: start; }
.split__main p:last-child { margin-bottom: 0; }

/* Fiche clé/valeur */
.fiche { margin: 0; border-top: 2px solid var(--noir); }
.fiche > div { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--trait); }
.fiche dt { font-size: .85rem; font-weight: 600; color: var(--gris-texte); padding-top: .1rem; }
.fiche dd { margin: 0; }
.fiche--light { border-top-color: var(--jaune); }
.fiche--light > div { border-bottom-color: rgba(255,255,255,.14); }
.fiche--light dt { color: rgba(255,255,255,.55); }

/* Portrait du formateur (carte sombre) */
.portrait { background: var(--nuit); color: var(--blanc); padding: 2rem; border-radius: 14px; box-shadow: 0 40px 80px -40px rgba(17,17,17,.6); transform-style: preserve-3d; transition: transform .25s ease-out; }
.portrait__avatar { width: 7rem; height: 7rem; background: var(--jaune); color: var(--noir); display: grid; place-items: center; font-weight: 800; font-style: italic; font-size: 2.6rem; letter-spacing: -0.05em; margin-bottom: 1.2rem; transform: translateZ(30px); }
.portrait__name { font-size: 1.35rem; font-weight: 800; margin: 0; letter-spacing: -0.02em; }
.portrait__role { color: rgba(255,255,255,.6); margin: 0 0 1.2rem; }
.portrait .fiche { border-top-color: var(--jaune); }
.portrait .fiche > div { border-bottom-color: rgba(255,255,255,.14); }
.portrait .fiche dt { color: rgba(255,255,255,.55); }

/* Étapes (séquence réelle) */
.steps { position: relative; list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4rem; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 1.3rem; height: 2px; }
.steps::before { background: var(--trait); }
.steps::after { background: var(--jaune); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-expo) .2s; }
.steps.is-visible::after { transform: scaleX(1); }
.step { position: relative; }
.step__n {
  display: inline-grid; place-items: center;
  width: 2.6rem; height: 2.6rem; background: var(--jaune); color: var(--noir); border: 4px solid var(--papier);
  font-weight: 800; font-size: 1.05rem; margin-bottom: 1rem; position: relative; z-index: 1;
  transition: transform .5s var(--ease-out);
}
.step:hover .step__n { transform: rotate(-8deg) scale(1.1); }
.step h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.step p { margin: 0; font-size: .98rem; color: var(--gris-texte); }
.steps--compact { grid-template-columns: 1fr; gap: 1rem; margin: 0; }
.steps--compact::before, .steps--compact::after { display: none; }
.steps--compact .step { display: grid; grid-template-columns: 2.25rem 1fr; gap: .9rem; align-items: start; }
.steps--compact .step__n { width: 2.25rem; height: 2.25rem; font-size: 1rem; margin: 0; border: 0; }
.steps--compact .step p { color: var(--encre); padding-top: .25rem; }

/* Formation phare (section sombre) */
.feature { display: grid; grid-template-columns: 1.5fr 1fr; border-radius: 16px; overflow: hidden; background: var(--nuit-2); border: 1px solid rgba(255,255,255,.1); }
.feature__main { padding: 2.8rem; }
.feature__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: .6rem; color: var(--blanc); }
.feature__lead { font-size: 1.08rem; color: rgba(255,255,255,.7); }
.feature__sub { margin: 1.6rem 0 .8rem; color: var(--jaune); }
.feature__actions { margin-top: 1.8rem; }
.feature .tag { background: var(--jaune); color: var(--noir); }
.feature .checks .icon { background: var(--jaune); color: var(--noir); }
.feature__side { background: var(--jaune); color: var(--noir); padding: 2.8rem 2.4rem; }
.feature__side-title { font-size: 1rem; margin-bottom: 1rem; }
.modules-mini { list-style: none; margin: 0; padding: 0; counter-reset: mod; }
.modules-mini li {
  counter-increment: mod;
  display: flex; align-items: baseline; gap: .8rem;
  padding: .75rem 0; border-bottom: 1px solid rgba(17,17,17,.18); font-size: .98rem; font-weight: 600;
}
.modules-mini li::before { content: counter(mod); font-weight: 800; min-width: 1.2em; }
.modules-mini li span { flex: 1; }
.modules-mini li em { font-style: normal; font-weight: 800; font-size: .85rem; background: var(--noir); color: var(--jaune); padding: .15em .6em; border-radius: 999px; }
.feature__side-note { margin: 1.4rem 0 0; font-size: .92rem; color: rgba(17,17,17,.75); }

/* Listes à coche / à chevron (charte « » ») */
.checks { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: .55rem; }
.checks li { display: flex; gap: .75rem; align-items: flex-start; }
.checks .icon { width: 1.4rem; height: 1.4rem; background: var(--jaune); padding: .2rem; margin-top: .15em; border-radius: 3px; }
.puces { list-style: none; margin: 0 0 1em; padding: 0; }
.puces li { position: relative; padding-left: 1.25em; margin-bottom: .4rem; }
.puces li::before { content: "»"; position: absolute; left: 0; top: -.05em; font-weight: 800; font-size: 1.15em; color: var(--noir); }

/* Domaines */
.domaines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.domaine {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .9rem; row-gap: .35rem; align-items: center;
  background: var(--blanc); border: 1px solid var(--trait); border-radius: 12px; padding: 1.2rem 1.3rem; font-weight: 700; line-height: 1.3;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
}
.domaine::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--jaune); transform: translateY(101%); transition: transform .45s var(--ease-expo); }
.domaine:hover { transform: translateY(-5px); box-shadow: 0 24px 40px -24px rgba(17,17,17,.35); border-color: var(--jaune); }
.domaine:hover::before { transform: translateY(0); }
.domaine__n { grid-row: 1 / 3; font-size: .8rem; font-weight: 800; color: var(--gris-clair); align-self: start; padding-top: .2rem; }
.domaine:hover .domaine__n { color: var(--noir); }
.domaine small { font-weight: 500; color: var(--gris-clair); grid-column: 2; }
.domaine:hover small { color: rgba(17,17,17,.7); }
.domaine--open { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.domaine--open .domaine__n { color: var(--jaune); }
.domaine--open::before { background: var(--jaune); }
.domaine--open:hover { color: var(--noir); }
.domaine--open a { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 700; background: var(--jaune); color: var(--noir); padding: .3em .7em; border-radius: 999px; text-decoration: none; transition: background-color .3s, color .3s; }
.domaine--open:hover a { background: var(--noir); color: var(--jaune); }
.domaine--open a .icon { width: 1em; height: 1em; }

/* Engagements */
.engagements { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.engagement { background: var(--blanc); border: 1px solid var(--trait); border-radius: 14px; padding: 1.8rem 1.6rem; transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .4s var(--ease-out); }
.engagement:hover { box-shadow: 0 30px 50px -30px rgba(17,17,17,.4); }
.engagement > .icon { width: 3rem; height: 3rem; background: var(--jaune); padding: .7rem; margin-bottom: 1.1rem; border-radius: 8px; transition: transform .5s var(--ease-out); transform: translateZ(20px); }
.engagement:hover > .icon { transform: translateZ(30px) rotate(-8deg) scale(1.08); }
.engagement h3 { font-size: 1.08rem; }
.engagement p { font-size: .95rem; color: var(--gris-texte); margin: 0; }

/* Carte tarif */
.price-card { background: var(--nuit); color: var(--blanc); border-radius: 14px; padding: 2rem; transform-style: preserve-3d; transition: transform .25s ease-out; box-shadow: 0 40px 80px -40px rgba(17,17,17,.6); }
.price-card__amount { margin: 0 0 1.2rem; }
.price-card__amount span { display: block; font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--jaune); }
.price-card__amount small { display: block; font-size: .95rem; color: rgba(255,255,255,.6); margin-top: .35rem; }
.price-card__doc { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.2rem; font-size: .92rem; font-weight: 600; }

/* Bandeau contact */
.cta-band { position: relative; overflow: hidden; background: var(--nuit); color: var(--blanc); padding: 5.5rem 0; }
.cta-band__stripes { position: absolute; inset: -50%; background: repeating-linear-gradient(-45deg, rgba(255,237,0,.045) 0 10px, transparent 10px 90px); animation: stripes 30s linear infinite; pointer-events: none; }
@keyframes stripes { to { transform: translateX(283px); } }
.cta-band__inner { position: relative; display: grid; grid-template-columns: 1.3fr auto; gap: 3rem; align-items: center; }
.cta-band__title { font-size: clamp(2.2rem, 4.2vw, 3.6rem); margin-bottom: .7rem; isolation: isolate; }
.underline-draw { position: relative; display: inline-block; }
.underline-draw::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .18em; background: var(--jaune); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-expo) .4s; z-index: -1; }
.is-visible .underline-draw::after { transform: scaleX(1); }
.cta-band__text { color: rgba(255,255,255,.75); margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Pied de page ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--papier); border-top: 6px solid var(--jaune); padding: 4rem 0 2rem; font-size: .95rem; }
.site-footer__watermark { position: absolute; right: -0.04em; top: 1.2rem; font-size: clamp(4rem, 11vw, 9.5rem); font-weight: 800; font-style: italic; letter-spacing: -0.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(17,17,17,.09); pointer-events: none; white-space: nowrap; user-select: none; }
.site-footer .container { position: relative; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 3rem; }
.site-footer__logo { height: 58px; width: auto; margin-bottom: 1rem; }
.site-footer__nda { color: var(--gris-texte); font-size: .85rem; }
.site-footer__title { font-size: 1rem; margin-bottom: .9rem; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-footer__list li { display: flex; gap: .6rem; align-items: flex-start; }
.site-footer__list .icon { margin-top: .2em; }
.site-footer__docs a { text-decoration: none; }
.site-footer__docs a:hover { text-decoration: underline; }
.site-footer__docs small { display: block; color: var(--gris-clair); }
.site-footer__legal { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--trait); font-size: .82rem; color: var(--gris-texte); }
.site-footer__legal p { max-width: none; margin: 0 0 .4rem; }
.site-footer__legal span { margin: 0 .5rem; }

/* ---------- Pages intérieures ---------- */
.page-hero { padding: 3.5rem 0 2.8rem; border-bottom: 1px solid var(--trait); background: linear-gradient(180deg, var(--papier), var(--blanc)); }
.page-hero--dark { position: relative; overflow: hidden; background: var(--nuit); color: var(--blanc); border: 0; padding: calc(var(--header-h) + 3.5rem) 0 3.5rem; }
.page-hero--dark .container { position: relative; }
.page-hero--compact { padding-bottom: 2.4rem; }
.page-hero--dark.page-hero--compact { padding-bottom: 3rem; }
.page-hero__title { font-size: clamp(2rem, 4.2vw, 3.4rem); max-width: 24ch; margin-bottom: 1rem; }
.page-hero--dark .page-hero__title { color: var(--blanc); line-height: 1.08; }
.page-hero__lead { font-size: 1.12rem; color: var(--gris-texte); max-width: 64ch; }
.page-hero--dark .page-hero__lead { color: rgba(255,255,255,.75); }
.page-hero__actions { margin-top: 1.8rem; }
.keyfacts { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.2rem 2.6rem; }
.keyfacts li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .7rem; border-left: 3px solid var(--jaune); padding-left: 1rem; }
.keyfacts .icon { grid-row: 1 / 3; align-self: center; width: 1.6rem; height: 1.6rem; color: var(--jaune); }
.keyfacts strong { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.keyfacts span { font-size: .85rem; color: rgba(255,255,255,.6); }

.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 4rem; padding: 3rem var(--gutter) 5rem; align-items: start; }
.sommaire { display: flex; flex-wrap: wrap; gap: .4rem; padding: .6rem 0; font-size: .9rem; font-weight: 600; }
.sommaire a { text-decoration: none; padding: .4rem .85rem; border-radius: 999px; border: 1px solid var(--trait); transition: background-color .3s, color .3s, border-color .3s; }
.sommaire a:hover { border-color: var(--noir); }
.sommaire a.is-active { background: var(--noir); color: var(--jaune); border-color: var(--noir); }
.bloc { padding: 2.8rem 0 .6rem; }
.bloc + .bloc { border-top: 1px solid var(--trait); }
.bloc__title { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 1rem; }
.bloc h3 { margin-top: 1.4rem; }
.bloc__foot { margin-top: 1.6rem; }
.bloc__note { font-size: .9rem; color: var(--gris-texte); }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.cols-2 h3:first-child { margin-top: 0; }

/* Timeline des modules */
.timeline { position: relative; padding-left: 3.6rem; margin-top: 1.4rem; display: grid; gap: .7rem; }
.timeline__rail { position: absolute; left: 1.2rem; top: .8rem; bottom: .8rem; width: 2px; background: var(--trait); }
.timeline__fill { position: absolute; inset: 0; background: var(--jaune); transform-origin: top; transform: scaleY(var(--p, 0)); transition: transform .2s linear; }
.module { position: relative; border: 1px solid var(--trait); border-radius: 12px; background: var(--blanc); transition: border-color .3s, box-shadow .4s var(--ease-out), transform .4s var(--ease-out); }
.module:hover { transform: translateX(4px); }
.module[open] { border-color: var(--noir); box-shadow: 0 24px 44px -30px rgba(17,17,17,.4); }
.module summary {
  display: flex; align-items: center; gap: .9rem;
  padding: .95rem 1.1rem; cursor: pointer; list-style: none; font-weight: 700;
}
.module summary::-webkit-details-marker { display: none; }
.module__n { position: absolute; left: calc(-3.6rem + .35rem); top: .85rem; width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--blanc); border: 2px solid var(--trait); font-weight: 800; font-size: .8rem; transition: background-color .4s, border-color .4s, transform .4s var(--ease-out); }
.module.is-passed .module__n, .module[open] .module__n { background: var(--jaune); border-color: var(--noir); }
.module[open] .module__n { transform: scale(1.2); }
.module__title { flex: 1; }
.module__d { background: var(--noir); color: var(--jaune); font-size: .8rem; font-weight: 700; padding: .2em .75em; border-radius: 999px; white-space: nowrap; }
.module summary .icon--chevron { transition: transform .35s var(--ease-out); }
.module[open] summary .icon--chevron { transform: rotate(180deg); }
.module__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.module__body > div { overflow: hidden; }
.module.is-open .module__body, html:not(.js) .module[open] .module__body { grid-template-rows: 1fr; }
.module__body p, .module__body ul { padding: 0 1.3rem; }
.module__obj { font-style: italic; color: var(--gris-texte); margin: .4rem 0 .6rem; }
.module__body .puces { margin-bottom: 0; padding-bottom: 1.2rem; }

.eval { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-bottom: 1.4rem; }
.eval__col { border-top: 3px solid var(--jaune); padding-top: .8rem; }
.eval__col h4 { margin-bottom: .6rem; }
.eval__col .puces { font-size: .95rem; margin-bottom: 0; }

.formateur { display: grid; grid-template-columns: 6rem 1fr; gap: 1.8rem; align-items: start; }
.formateur__avatar { width: 6rem; height: 6rem; background: var(--jaune); display: grid; place-items: center; font-weight: 800; font-style: italic; font-size: 2.1rem; letter-spacing: -0.05em; border-radius: 12px; }
.formateur__nom { margin-bottom: .1rem; }
.formateur__role { color: var(--gris-texte); font-weight: 500; margin-bottom: .8rem; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-bottom: 1.6rem; }
.kpi { background: var(--nuit); color: var(--blanc); border-radius: 12px; padding: 1.1rem 1.1rem 1rem; }
.kpi b { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--jaune); }
.kpi span { display: block; font-size: .82rem; color: rgba(255,255,255,.6); margin-top: .4rem; }

.tableau { width: 100%; max-width: 640px; border-collapse: collapse; margin: .4rem 0 1rem; }
.tableau th { text-align: left; background: var(--noir); color: var(--jaune); font-size: .85rem; padding: .65rem .9rem; }
.tableau td { padding: .7rem .9rem; border-bottom: 1px solid var(--trait); }
.tableau td:last-child, .tableau th:last-child { text-align: right; width: 9rem; font-weight: 600; }
.methode { max-width: 640px; }
.methode summary { cursor: pointer; font-weight: 600; font-size: .92rem; padding: .3rem 0; }
.methode summary:hover { text-decoration: underline; }
.methode .bloc__note { margin-top: .4rem; }

/* Carte latérale collante */
.sticky-card { position: sticky; top: calc(var(--header-h) + 16px); border-radius: 14px; border: 2px solid var(--noir); padding: 1.7rem 1.6rem 1.4rem; background: var(--blanc); box-shadow: 14px 14px 0 0 var(--jaune); }
.sticky-card__price { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 1rem; }
.sticky-card__price small { display: block; font-size: .9rem; font-weight: 500; color: var(--gris-texte); letter-spacing: 0; margin-top: .2rem; }
.sticky-card__contact { font-size: .9rem; color: var(--gris-texte); margin: 1rem 0 0; }
.sticky-card__docs-title { font-size: .9rem; margin: 1.4rem 0 .6rem; padding-top: 1.2rem; border-top: 1px solid var(--trait); }
.facts { list-style: none; margin: 0 0 1.3rem; padding: 0; display: grid; gap: .6rem; }
.facts li { display: flex; align-items: flex-start; gap: .7rem; line-height: 1.4; }
.facts .icon { margin-top: .15em; }
.facts--compact { font-size: .95rem; }
.doclist { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .9rem; }
.doclist a { display: flex; gap: .5rem; align-items: flex-start; text-decoration: none; }
.doclist a:hover span { text-decoration: underline; }
.doclist .icon { margin-top: .15em; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; padding-top: 3.5rem; padding-bottom: 5rem; align-items: start; }
.contact__channels { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; gap: 1rem; }
.contact__channels li { display: grid; grid-template-columns: 3rem 1fr; gap: 1.1rem; padding: 1.3rem; border: 1px solid var(--trait); border-radius: 14px; background: var(--blanc); transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .4s; }
.contact__channels li:hover { box-shadow: 0 30px 50px -30px rgba(17,17,17,.35); }
.contact__channels li > .icon { width: 3rem; height: 3rem; background: var(--jaune); padding: .7rem; border-radius: 10px; transform: translateZ(20px); }
.contact__channels strong { display: block; font-size: .85rem; color: var(--gris-texte); font-weight: 600; margin-bottom: .15rem; }
.contact__channels span { display: block; font-size: .93rem; color: var(--gris-texte); }
.contact__channels span + span { margin-top: .3rem; }
.contact__addr { color: var(--encre) !important; }
.contact__big { display: inline-block; font-size: 1.2rem; font-weight: 700; text-decoration: none; background: linear-gradient(var(--jaune), var(--jaune)) no-repeat 0 100% / 100% 3px; transition: background-size .35s var(--ease-out); margin-bottom: .3rem; }
.contact__big:hover { background-size: 100% 40%; }
.contact__next h2 { font-size: 1.2rem; margin-bottom: 1rem; }

.form { border-radius: 16px; padding: 2rem; background: var(--blanc); border: 1px solid var(--trait); box-shadow: 0 40px 80px -50px rgba(17,17,17,.45); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__field { position: relative; margin-bottom: 1.1rem; }
.form__field label { position: absolute; left: .95rem; top: 1.05rem; font-weight: 600; font-size: .95rem; color: var(--gris-texte); pointer-events: none; transition: top .2s var(--ease-out), font-size .2s var(--ease-out), color .2s; }
.form__field input:focus ~ label, .form__field input:not(:placeholder-shown) ~ label,
.form__field textarea:focus ~ label, .form__field textarea:not(:placeholder-shown) ~ label { top: .45rem; font-size: .72rem; color: var(--noir); }
.form__field--select label { position: static; display: block; margin-bottom: .35rem; font-size: .9rem; color: var(--noir); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; font: inherit; color: var(--encre); background: var(--papier);
  border: 1.5px solid transparent; border-radius: 10px; padding: 1.45rem .95rem .55rem;
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.form select { padding: .8rem 2.4rem .8rem .95rem; appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 1rem; }
.form textarea { resize: vertical; min-height: 9.5rem; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; background: var(--blanc); border-color: var(--noir); box-shadow: 0 0 0 4px var(--jaune); }
.form.was-validated :invalid { border-color: var(--err); }
.form__check { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; margin: .4rem 0 1.4rem; }
.form__check input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--noir); }
.form__check label { font-weight: 500; font-size: .88rem; color: var(--gris-texte); margin: 0; }
.form__submit { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 0; }
.form__hint { font-size: .85rem; color: var(--gris-texte); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { padding: 1rem 1.2rem; margin-bottom: 1.2rem; border-left: 4px solid; border-radius: 8px; font-size: .98rem; }
.notice--ok { background: #F0F7EC; border-color: var(--ok); }
.notice--err { background: #FDF1F0; border-color: var(--err); }

/* ---------- Pages de texte (mentions légales, articles) ---------- */
.prose { max-width: 780px; padding-top: 2.5rem; padding-bottom: 4.5rem; }
.prose h2 { font-size: 1.35rem; margin: 2rem 0 .6rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { max-width: var(--mesure); }
.entry { padding: 1.5rem 0; border-bottom: 1px solid var(--trait); }
.entry__title { font-size: 1.4rem; margin-bottom: .2rem; }
.entry__meta { font-size: .85rem; color: var(--gris-texte); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .engagements { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before, .steps::after { display: none; }
  .layout-sidebar { grid-template-columns: minmax(0, 1fr) 300px; gap: 2.5rem; }
  .hero__inner { gap: 2.5rem; }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .brand__logo { height: 46px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--blanc); color: var(--encre); border-bottom: 1px solid var(--trait);
    padding: .6rem var(--gutter) 1.2rem; box-shadow: 0 16px 32px -16px rgba(17,17,17,.3);
  }
  .site-nav.is-open { display: flex; animation: fade-up .3s var(--ease-out); }
  .site-nav .menu { flex-direction: column; gap: 0; }
  .site-nav .menu a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--trait); font-size: 1.1rem; }
  .site-nav .menu a::after { display: none; }
  .site-nav .menu .current-menu-item > a { box-shadow: inset 4px 0 0 var(--jaune); padding-left: .8rem; }
  .site-nav__cta { margin-top: 1rem; justify-content: center; }
  body.has-dark-hero .site-header.is-open { background: var(--blanc); color: var(--encre); }

  .hero--dark { min-height: 0; padding: calc(var(--header-h) + 3rem) 0 4rem; }
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__viz { max-width: 520px; margin: 0 auto; }
  .viz__toast--like { right: 0; }
  .viz__toast--lead { left: 0; }
  .block--offset { margin-left: .9em; }
  .hero__scroll { display: none; }
  .split, .cols-2, .cta-band__inner, .contact { grid-template-columns: 1fr; }
  .split { gap: 2.4rem; }
  .section { padding: 4rem 0; }
  .feature { grid-template-columns: 1fr; }
  .feature__main, .feature__side { padding: 1.9rem; }
  .domaines { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .layout-sidebar { grid-template-columns: 1fr; }
  .sticky-card { position: static; }
  .eval { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .contact { gap: 2.5rem; }
  .marquee { transform: rotate(-1.5deg) scale(1.04); }
  .marquee-wrap { padding: 1rem 0; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .steps, .domaines, .engagements { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(2.2rem, 11vw, 2.9rem); }
  .block--offset { margin-left: .5em; }
  .hero__proof { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .hero__proof li { padding: 0 0 0 1rem; }
  .hero__proof li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .hero__proof strong { font-size: 1.35rem; }
  .hero__actions .btn, .page-hero__actions .btn, .feature__actions .btn, .cta-band__actions .btn { width: 100%; }
  .btn { white-space: normal; }
  .btn small { display: none; }
  .form { padding: 1.3rem; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .formateur { grid-template-columns: 1fr; }
  .fiche > div { grid-template-columns: 1fr; gap: .15rem; }
  .keyfacts { gap: 1rem 1.6rem; }
  .timeline { padding-left: 2.6rem; }
  .timeline__rail { left: .75rem; }
  .module__n { left: calc(-2.6rem + .25rem); width: 1.5rem; height: 1.5rem; font-size: .7rem; top: .95rem; }
  .module__body p, .module__body ul { padding: 0 1rem; }
  .site-footer__legal span { display: none; }
  .site-footer__legal a { display: block; margin-bottom: .3rem; }
  .viz__toast { font-size: .72rem; }
  .marquee__track { font-size: .9rem; }
}

/* ---------- Réduction des animations ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  html.js .hero__title .block, html.js .page-hero--dark .block { clip-path: none; animation: none; }
  .intro, .hero__scroll, .hero__glow, .cta-band__stripes { display: none !important; }
  .marquee__track { animation: none; }
  .hero__net { display: none; }
  .viz__result, .viz__chart i { opacity: 1; transform: none; }
  .viz__toast { display: none; }
}

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle, .sticky-card .btn, .sommaire, .intro, .progress, .cursor, .marquee, .hero__net, .hero__viz { display: none !important; }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero--dark, .page-hero--dark, .section--dark { background: #fff !important; color: #000 !important; }
  .layout-sidebar { grid-template-columns: 1fr; }
  .module { break-inside: avoid; }
  .module__body { grid-template-rows: 1fr !important; }
}
