/* Kelassy Academy — maquette de présentation (D.A. v2)
   Couleurs relevées sur le logotype : marine #092445, jaune #F7C141 */
:root {
  /* D.A. v2 — logotype KELASSY bleu marine + barre jaune */
  --navy-deep: #061A33;   /* marine profond (menu, pied de page) */
  --navy: #092445;        /* bleu marine du logo */
  --gold: #F7C141;        /* jaune du logo (accent, actions) */
  --beige: #FFFFFF;       /* fond principal */
  --gray: #667085;
  --white: #FFFFFF;

  --ink: var(--navy);
  --ink-soft: #4A5870;
  --line: rgba(9, 36, 69, .12);
  --line-dark: rgba(255, 255, 255, .16);
  --on-dark: #FFFFFF;
  --on-dark-soft: rgba(255, 255, 255, .76);
  --paper: #F3F5F9;       /* sections alternées */
  --yellow-soft: #FDF3D6;

  --font: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Montserrat", "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --gutter: clamp(20px, 5.5vw, 48px);
  --max: 1200px;
  --radius: 6px;
  --radius-lg: 12px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--beige); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.022em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy); padding: 10px 14px; border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 12vw, 128px) 0; }
.section--tight { padding: clamp(48px, 9vw, 88px) 0; }
.dark { background: var(--navy); color: var(--on-dark); }
.deep { background: var(--navy-deep); color: var(--on-dark); }
.paper { background: var(--paper); }

/* ---------- Typo ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.dark .eyebrow, .deep .eyebrow { color: var(--gold); }
.h1 { font-size: clamp(36px, 9.6vw, 68px); line-height: 1.04; letter-spacing: -.03em; }
.h2 { font-size: clamp(29px, 7.4vw, 48px); line-height: 1.08; letter-spacing: -.028em; }
.h3 { font-size: clamp(20px, 5vw, 24px); line-height: 1.2; }
.lead { font-size: clamp(17.5px, 4.6vw, 20px); line-height: 1.55; color: var(--ink-soft); }
.dark .lead, .deep .lead { color: var(--on-dark-soft); }
.muted { color: var(--ink-soft); }
.stack > * + * { margin-top: 18px; }
.stack-lg > * + * { margin-top: 28px; }
.gold-rule { width: 56px; height: 2px; background: var(--gold); border: 0; margin: 0; }

/* « À compléter » : discret mais repérable */
.tbd {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; line-height: 1.3;
  color: var(--gray); border: 1px dashed rgba(107, 114, 128, .55); border-radius: 999px;
  padding: 2px 9px; vertical-align: .08em; white-space: nowrap; font-style: normal;
}
.dark .tbd, .deep .tbd { color: rgba(245, 241, 232, .66); border-color: rgba(245, 241, 232, .34); }
.status {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600;
  letter-spacing: .04em; color: var(--ink-soft);
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, .22); }
.dark .status, .deep .status { color: var(--on-dark-soft); }

/* ---------- Boutons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px; border-radius: var(--radius);
  font-size: 16px; font-weight: 600; letter-spacing: .005em; line-height: 1.2; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; text-align: center;
  transition: transform .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: #DDBD52; }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: #142c4f; }
.btn--line { border-color: rgba(11, 31, 59, .3); color: var(--navy); background: transparent; }
.btn--line:hover { border-color: var(--navy); }
.dark .btn--line, .deep .btn--line { border-color: rgba(245, 241, 232, .38); color: var(--on-dark); }
.dark .btn--line:hover, .deep .btn--line:hover { border-color: var(--on-dark); }
.btn--block { width: 100%; }
.btn--sm { --h: 42px; padding: 0 16px; font-size: 14.5px; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--gold); padding-bottom: 3px;
}
.link-arrow .arr { transition: transform .25s var(--ease); }
.link-arrow:hover .arr { transform: translateX(3px); }
.cta-group { display: grid; gap: 12px; }
.cta-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: var(--navy-deep); color: var(--on-dark);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(212, 175, 55, .28), 0 10px 30px rgba(6, 23, 39, .25); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: block; flex: none; margin-left: -4px; }
.brand img { height: 42px; width: auto; }
.nav-desktop { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { display: none; }
@media (min-width: 380px) { .header-cta { display: inline-flex; } }
.burger {
  width: 46px; height: 46px; display: grid; place-items: center; margin-right: -8px;
  background: none; border: 0; cursor: pointer; border-radius: var(--radius);
}
.burger span { display: block; width: 22px; height: 1.5px; background: var(--on-dark); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 1.5px; background: var(--on-dark); }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; width: 14px; }

/* ---------- Menu mobile ---------- */
.menu {
  position: fixed; inset: 0; z-index: 80; background: var(--navy-deep); color: var(--on-dark);
  display: flex; flex-direction: column; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s; }
.menu-top { height: var(--header-h); flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); }
.menu-close { width: 46px; height: 46px; margin-right: -8px; background: none; border: 0; cursor: pointer; display: grid; place-items: center; }
.menu-close svg { width: 22px; height: 22px; stroke: var(--on-dark); }
.menu nav { padding: 20px var(--gutter) 8px; }
.menu nav ol { list-style: none; counter-reset: m; }
.menu nav li { border-bottom: 1px solid var(--line-dark); counter-increment: m; }
.menu nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 17px 0; text-decoration: none;
  font-size: 27px; font-weight: 500; letter-spacing: -.02em;
}
.menu nav a::before { content: "0" counter(m); font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--gold); min-width: 22px; }
.menu nav a[aria-current="page"] { color: var(--gold); }
.menu .menu-ctas { padding: 22px var(--gutter) 34px; margin-top: auto; display: grid; gap: 12px; }
.menu .menu-foot { padding: 0 var(--gutter) 28px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(245, 241, 232, .5); }
.menu nav li { opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.menu.is-open nav li { opacity: 1; transform: none; }
.menu.is-open nav li:nth-child(2) { transition-delay: .04s; }
.menu.is-open nav li:nth-child(3) { transition-delay: .08s; }
.menu.is-open nav li:nth-child(4) { transition-delay: .12s; }
.menu.is-open nav li:nth-child(5) { transition-delay: .16s; }
.menu.is-open nav li:nth-child(6) { transition-delay: .2s; }
body.menu-open { overflow: hidden; }

/* ---------- Héro accueil ---------- */
.hero { background: var(--navy-deep); color: var(--on-dark); position: relative; }
.hero-media { position: relative; height: min(58svh, 560px); min-height: 340px; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: settle 1.8s var(--ease) both; }
.hero-media::after {
  /* voile fonctionnel : lisibilité des mots en surimpression et raccord avec le bloc texte */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(6, 23, 39, .78) 0%, rgba(6, 23, 39, .42) 30%, rgba(6, 23, 39, 0) 58%),
    linear-gradient(0deg, rgba(6, 23, 39, .85) 0%, rgba(6, 23, 39, 0) 30%);
}
.verbs {
  position: absolute; z-index: 2; right: var(--gutter); top: 22px; list-style: none; text-align: right;
  font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; line-height: 2; color: var(--white);
  text-shadow: 0 1px 2px rgba(6, 23, 39, .45), 0 2px 14px rgba(6, 23, 39, .6);
}
.verbs li { opacity: 0; animation: rise .8s var(--ease) forwards; }
.verbs li:nth-child(1) { animation-delay: .5s; }
.verbs li:nth-child(2) { animation-delay: .62s; }
.verbs li:nth-child(3) { animation-delay: .74s; }
.verbs li:nth-child(4) { animation-delay: .86s; color: #E7C65A; }
.hero-body { position: relative; z-index: 2; margin-top: -72px; padding-bottom: 44px; }
.hero-body .h1 { color: var(--white); }
.hero-body .lead { max-width: 34ch; }
.hero-body > * { animation: rise .9s var(--ease) both; }
.hero-body > :nth-child(2) { animation-delay: .08s; }
.hero-body > :nth-child(3) { animation-delay: .16s; }
.hero-body > :nth-child(4) { animation-delay: .24s; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line-dark); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-soft); }
.hero-tags span { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.hero-tags span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Bandeau de page interne ---------- */
.page-hero { background: var(--navy-deep); color: var(--on-dark); padding: 34px 0 44px; }
.page-hero .h1 { color: var(--white); font-size: clamp(34px, 9vw, 60px); }
.page-hero .h1--long { font-size: clamp(27px, 7vw, 44px); line-height: 1.1; }
.page-hero .lead { max-width: 40ch; }
.page-hero--media { padding: 0 0 44px; }
.page-hero--media .page-media { height: min(44svh, 440px); min-height: 260px; overflow: hidden; position: relative; }
.page-hero--media .page-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--media .page-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 23, 39, .9) 0%, rgba(6, 23, 39, 0) 42%); }
.page-hero--media .wrap { position: relative; z-index: 2; margin-top: -58px; }
.crumbs { font-size: 13px; color: var(--on-dark-soft); margin-bottom: 18px; }
.crumbs a { text-decoration: none; border-bottom: 1px solid rgba(245, 241, 232, .3); }
.crumbs span[aria-hidden] { margin: 0 8px; color: var(--gold); }

/* ---------- Manifeste (4 verbes) ---------- */
.manifesto { list-style: none; counter-reset: v; margin-top: 36px; border-top: 1px solid var(--line); }
.manifesto li { counter-increment: v; display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.manifesto li::before { content: "0" counter(v); grid-row: span 2; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--gold); padding-top: 7px; }
.manifesto strong { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.manifesto span { color: var(--ink-soft); font-size: 16px; }
.dark .manifesto, .deep .manifesto { border-color: var(--line-dark); }
.dark .manifesto li, .deep .manifesto li { border-color: var(--line-dark); }
.dark .manifesto span, .deep .manifesto span { color: var(--on-dark-soft); }

.founders-quote { font-size: clamp(22px, 5.8vw, 34px); line-height: 1.3; font-weight: 500; letter-spacing: -.02em; }
.founders-quote em { font-style: normal; color: var(--gold); }

/* ---------- Formations : défilement horizontal ---------- */
.rail-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 30px var(--gutter) 8px; margin: 0 calc(-1 * var(--gutter));
  scroll-padding-left: var(--gutter); scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.program {
  scroll-snap-align: start; position: relative; display: block; aspect-ratio: 4 / 5.5; border-radius: var(--radius-lg);
  overflow: hidden; text-decoration: none; color: var(--white); background: var(--navy);
  isolation: isolate;
}
.program img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.program::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 23, 39, .92) 0%, rgba(6, 23, 39, .35) 42%, rgba(6, 23, 39, 0) 64%); }
.program:hover img { transform: scale(1.04); }
.program-body { position: absolute; inset: auto 0 0 0; padding: 22px 20px 20px; }
.program-num { position: absolute; top: 16px; left: 18px; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--white); text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.program-domain { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.program h3 { font-size: 24px; margin-top: 8px; }
.program p { font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, .82); margin-top: 8px; }
.program-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 12.5px; color: rgba(255, 255, 255, .78); }
.program-foot .arr { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); display: grid; place-items: center; }
.rail-arrows { display: none; gap: 10px; flex: none; }
.rail-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(11, 31, 59, .25); background: transparent; color: var(--navy); display: grid; place-items: center; cursor: pointer; transition: all .25s var(--ease); }
.rail-btn:hover:not(:disabled) { background: var(--navy); color: var(--white); border-color: var(--navy); }
.rail-btn:disabled { opacity: .3; cursor: default; }
.rail-dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.rail-dots button { width: 30px; height: 40px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.rail-dots button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(11, 31, 59, .25); transition: all .3s var(--ease); }
.rail-dots button[aria-current="true"]::before { width: 18px; border-radius: 3px; background: var(--navy); }
.note { font-size: 13.5px; color: var(--ink-soft); display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; }
.note::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--gold); }

/* ---------- Deux publics ---------- */
.paths { display: grid; gap: 14px; }
.path { border-radius: var(--radius-lg); overflow: hidden; background: var(--white); display: grid; }
.path.dark { background: var(--navy); }
.path-media { aspect-ratio: 16 / 10; overflow: hidden; }
.path-media img { width: 100%; height: 100%; object-fit: cover; }
.path-body { padding: 26px 22px 26px; }
.path-body .h3 { font-size: 26px; margin-top: 12px; }
.ticks { list-style: none; margin: 18px 0 24px; }
.ticks li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--line); font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 6px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }
.dark .ticks li { border-color: var(--line-dark); }

/* ---------- Étapes ---------- */
.steps { list-style: none; counter-reset: s; margin-top: 34px; position: relative; }
.steps li { counter-increment: s; position: relative; padding: 0 0 30px 58px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px; font-weight: 700; color: var(--navy);
  background: var(--beige); border: 1.5px solid var(--gold);
}
.steps li::after { content: ""; position: absolute; left: 19px; top: 40px; bottom: 4px; width: 1px; background: var(--line); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 19px; letter-spacing: -.015em; }
.steps p { color: var(--ink-soft); font-size: 16px; margin-top: 6px; }
.steps .phase { display: block; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gray); margin-bottom: 6px; }
.dark .steps li::before, .deep .steps li::before { background: var(--navy); color: var(--on-dark); }
.dark .steps li::after, .deep .steps li::after { background: var(--line-dark); }
.dark .steps p, .deep .steps p { color: var(--on-dark-soft); }
.dark .steps .phase, .deep .steps .phase { color: rgba(245, 241, 232, .55); }

/* ---------- Bloc infos à venir ---------- */
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: 30px; }
.facts > div { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); }
.facts > div:nth-child(odd) { border-right: 1px solid var(--line); }
.facts > div:nth-child(even) { padding-left: 16px; }
.facts dt { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gray); }
.facts dd { margin: 6px 0 0; font-size: 16px; font-weight: 600; line-height: 1.35; }
.dark .facts, .dark .facts > div, .deep .facts, .deep .facts > div { border-color: var(--line-dark); }
.dark .facts dt, .deep .facts dt { color: rgba(245, 241, 232, .55); }

/* ---------- Bandeau final ---------- */
.final { background: var(--navy); color: var(--on-dark); position: relative; overflow: hidden; }
.final .h2 { color: var(--white); max-width: 16ch; }
.final-k { position: absolute; right: -40px; bottom: -40px; width: 220px; opacity: .08; pointer-events: none; }


/* ---------- Mise en avant rentrée ---------- */
.highlight { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; text-decoration: none; padding: 18px 18px 18px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); transition: border-color .3s var(--ease); }
.highlight:hover { border-color: rgba(212, 175, 55, .5); }
.highlight-date { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .06em; line-height: 1.15; text-align: center; }
.highlight-date b { display: block; font-size: 17px; letter-spacing: -.01em; color: var(--white); font-weight: 600; }
.highlight-txt { font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--white); }
.highlight-txt small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.arr-c { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(245, 241, 232, .35); display: grid; place-items: center; color: var(--on-dark); transition: all .3s var(--ease); }
.highlight:hover .arr-c { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.split--steps .steps { margin-top: 30px; }

/* ---------- Catalogue ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 2px var(--gutter) 6px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); font-size: 14.5px; font-weight: 600; cursor: pointer; color: var(--ink);
  transition: all .25s var(--ease);
}
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.catalog { list-style: none; margin-top: 22px; border-top: 1px solid var(--line); }
.catalog li[hidden] { display: none; }
.catalog a { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.catalog .thumb { width: 92px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--navy); }
.catalog .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.catalog a:hover .thumb img { transform: scale(1.05); }
.catalog .domain { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gray); }
.catalog h2 { font-size: 20.5px; line-height: 1.2; letter-spacing: -.015em; margin-top: 5px; }
.catalog p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.45; margin-top: 5px; }
.catalog .status { margin-top: 10px; font-size: 12px; }
.count { font-size: 13.5px; color: var(--ink-soft); margin-top: 14px; }

/* ---------- Fiche formation ---------- */
.keyfacts { display: grid; grid-template-columns: 1fr 1fr; margin-top: 8px; border-top: 1px solid var(--line); }
.keyfacts > div { padding: 15px 12px 15px 0; border-bottom: 1px solid var(--line); }
.keyfacts > div:nth-child(odd) { border-right: 1px solid var(--line); }
.keyfacts > div:nth-child(even) { padding-left: 16px; }
.keyfacts dt { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gray); }
.keyfacts dd { margin: 6px 0 0; font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.fiche-nav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(245, 241, 232, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.fiche-nav ul { position: relative; list-style: none; display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; padding: 0 var(--gutter); margin: 0 calc(-1 * var(--gutter)); }
.fiche-nav ul::-webkit-scrollbar { display: none; }
.fiche-nav a { display: block; padding: 14px 0 12px; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; color: var(--ink-soft); border-bottom: 2px solid transparent; }
.fiche-nav a.is-active { color: var(--navy); border-bottom-color: var(--gold); }
.fiche-section { padding: 44px 0 8px; }
.fiche-section h2 { font-size: clamp(24px, 6.4vw, 32px); }
.fiche-section .intro { margin-top: 12px; color: var(--ink-soft); }
.bullets { list-style: none; margin-top: 18px; }
.bullets li { position: relative; padding: 11px 0 11px 22px; border-top: 1px solid var(--line); }
.bullets li:last-child { border-bottom: 1px solid var(--line); }
.bullets li::before { content: ""; position: absolute; left: 0; top: 21px; width: 8px; height: 1.5px; background: var(--gold); }
.modules { margin-top: 18px; border-top: 1px solid var(--line); }
.modules details { border-bottom: 1px solid var(--line); }
.modules summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; font-weight: 600; font-size: 17px; line-height: 1.35; }
.modules summary::-webkit-details-marker { display: none; }
.modules summary .code { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--gold); margin-right: 12px; }
.modules summary .plus { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: transform .3s var(--ease); }
.modules summary .plus::before, .modules summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--navy); transform: translate(-50%, -50%); }
.modules summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.modules details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.modules .content { padding: 0 0 20px; color: var(--ink-soft); font-size: 16px; }
.modules .content p + p { margin-top: 10px; }
.info-list { margin-top: 18px; border-top: 1px solid var(--line); }
.info-list > div { display: grid; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list dt { font-weight: 600; }
.info-list dd { margin: 0; color: var(--ink-soft); font-size: 16px; }
.dd-list { list-style: none; display: grid; gap: 8px; }
.dd-list li { position: relative; padding-left: 18px; }
.dd-list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 1.5px; background: var(--gold); }
.caution { margin-top: 26px; padding: 16px 18px; border-left: 2px solid var(--gold); background: rgba(212, 175, 55, .09); font-size: 14.5px; color: var(--ink-soft); border-radius: 0 var(--radius) var(--radius) 0; }
.sticky-cta {
  position: sticky; bottom: 0; z-index: 30; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(251, 249, 244, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center;
}
.sticky-cta .t { font-size: 13px; line-height: 1.3; color: var(--ink-soft); }
.sticky-cta .t strong { display: block; color: var(--navy); font-size: 15px; }
.related { list-style: none; margin-top: 20px; border-top: 1px solid var(--line); }
.related a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.related a span:first-child small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gray); margin-bottom: 3px; }

/* ---------- FAQ ---------- */
.faq { margin-top: 26px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 18px; padding: 19px 0; cursor: pointer; font-weight: 600; font-size: 17px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-top: 7px; border-right: 1.5px solid var(--navy); border-bottom: 1.5px solid var(--navy); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 11px; }
.faq .content { padding: 0 0 20px; color: var(--ink-soft); }

/* ---------- Split image/texte ---------- */
.split { display: grid; gap: 30px; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media--wide { aspect-ratio: 16 / 11; }
.figure-caption { font-size: 12.5px; color: var(--gray); margin-top: 10px; }

.team { display: grid; gap: 14px; margin-top: 28px; grid-template-columns: 1fr 1fr; }
.team .person { border-top: 1px solid var(--line-dark); padding-top: 16px; }
.team .avatar { width: 64px; height: 64px; border-radius: 50%; border: 1px dashed rgba(245, 241, 232, .34); display: grid; place-items: center; margin-bottom: 14px; }
.team .avatar svg { width: 26px; height: 26px; stroke: rgba(245, 241, 232, .5); }
.team strong { display: block; font-size: 16px; }
.team span { font-size: 14px; color: var(--on-dark-soft); }

/* ---------- Formulaires ---------- */
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: rgba(11, 31, 59, .07); border-radius: 10px; margin-top: 28px; }
.tab { min-height: 46px; border: 0; border-radius: 7px; background: transparent; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); cursor: pointer; transition: all .25s var(--ease); line-height: 1.2; padding: 0 6px; }
.tab[aria-selected="true"] { background: var(--white); color: var(--navy); box-shadow: 0 1px 2px rgba(11, 31, 59, .08), 0 4px 14px rgba(11, 31, 59, .06); }
.panel { margin-top: 22px; }
.panel[hidden] { display: none; }
.form { background: var(--white); border-radius: var(--radius-lg); padding: 24px 20px; display: grid; gap: 18px; }
.form .intro { font-size: 15px; color: var(--ink-soft); }
.field { display: grid; gap: 7px; }
.field label, .field legend { font-size: 14.5px; font-weight: 600; }
.field .opt { font-weight: 500; color: var(--gray); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 14px; border-radius: var(--radius);
  border: 1px solid rgba(11, 31, 59, .22); background: var(--paper); color: var(--ink);
  font: 500 16px/1.4 var(--font); transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230B1F3B' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { min-height: 116px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 3px rgba(212, 175, 55, .35); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B42318; }
.field .err { font-size: 13.5px; color: #B42318; display: none; }
.field.has-error .err { display: block; }
.row2 { display: grid; gap: 18px; }
.field input[type="radio"], .field input[type="checkbox"] { width: 22px; height: 22px; min-height: 0; padding: 0; border-radius: 50%; -webkit-appearance: auto; appearance: auto; background: none; box-shadow: none; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.radios label { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; border: 1px solid rgba(11, 31, 59, .22); border-radius: var(--radius); font-size: 15px; cursor: pointer; background: var(--paper); }
.radios label:has(input:checked) { border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 1px var(--navy); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14.5px; color: var(--ink-soft); line-height: 1.45; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--navy); }
.check.has-error { color: #B42318; }
.demo-note { font-size: 13px; color: var(--gray); display: flex; gap: 8px; align-items: flex-start; }
.demo-note svg { flex: none; width: 16px; height: 16px; margin-top: 2px; stroke: var(--gray); }
.success { background: var(--navy); color: var(--on-dark); border-radius: var(--radius-lg); padding: 30px 22px; text-align: left; }
.success[hidden] { display: none; }
.success .check-ico { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--gold); display: grid; place-items: center; margin-bottom: 18px; }
.success .check-ico svg { width: 22px; height: 22px; stroke: var(--gold); }
.success h3 { font-size: 23px; color: var(--white); }
.success p { color: var(--on-dark-soft); margin-top: 10px; font-size: 16px; }
.success .btn { margin-top: 22px; }
.contact-lines { margin-top: 30px; border-top: 1px solid var(--line); }
.contact-lines > div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-lines dt { font-weight: 600; }
.contact-lines dd { margin: 0; text-align: right; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark); padding: 56px 0 0; }
.footer-logo { width: 200px; margin-left: -6px; }
.footer-tagline { font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--on-dark-soft); margin-top: 6px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 20px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line-dark); }
.footer-cols h2 { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-cols ul { list-style: none; display: grid; gap: 10px; font-size: 15px; }
.footer-cols a { text-decoration: none; color: var(--on-dark-soft); }
.footer-cols a:hover { color: var(--white); }
.footer-cols li { color: var(--on-dark-soft); }
.footer-legal { margin-top: 40px; padding: 20px 0 26px; border-top: 1px solid var(--line-dark); display: grid; gap: 10px; font-size: 13px; color: rgba(245, 241, 232, .55); }
.mockup-flag { display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; color: var(--gold); letter-spacing: .01em; }
.mockup-flag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Tablette ---------- */
@media (min-width: 640px) {
  .cta-group--row { grid-auto-flow: column; justify-content: start; }
  .rail { grid-auto-columns: 46%; }
  .paths { grid-template-columns: 1fr 1fr; }
  .row2 { grid-template-columns: 1fr 1fr; }
  .form { padding: 34px 32px; }
  .team { grid-template-columns: repeat(3, 1fr); }
  .footer-cols { grid-template-columns: repeat(4, 1fr); }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts > div { border-right: 1px solid var(--line); padding-left: 16px; }
  .facts > div:first-child { padding-left: 0; }
  .facts > div:last-child { border-right: 0; }
  .dark .facts > div, .deep .facts > div { border-color: var(--line-dark); }
}

/* ---------- Ordinateur ---------- */
@media (min-width: 1024px) {
  :root { --header-h: 80px; }
  body { font-size: 18px; }
  .brand img { height: 46px; }
  .nav-desktop { display: flex; gap: 30px; list-style: none; }
  .nav-desktop a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--on-dark-soft); padding: 8px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
  .nav-desktop a:hover { color: var(--white); }
  .nav-desktop a[aria-current="page"] { color: var(--white); border-bottom-color: var(--gold); }
  .burger { display: none; }
  .header-cta { display: inline-flex; }

  .hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: calc(100svh - var(--header-h)); max-height: 900px; }
  .hero-media { order: 2; height: auto; min-height: 0; }
  .hero-media::after { background: radial-gradient(60% 45% at 100% 0%, rgba(6, 23, 39, .72) 0%, rgba(6, 23, 39, .3) 45%, rgba(6, 23, 39, 0) 75%), linear-gradient(90deg, rgba(6, 23, 39, .55) 0%, rgba(6, 23, 39, 0) 22%); }
  .verbs { top: 40px; right: 44px; font-size: 12px; letter-spacing: .34em; }
  .hero-body { order: 1; margin: 0; align-self: center; padding: 64px 56px 64px max(var(--gutter), calc((100vw - var(--max)) / 2)); }
  .hero-body .h1 { font-size: clamp(48px, 4.6vw, 70px); }

  .rail { grid-auto-columns: calc((100% - 3 * 16px) / 3.35); gap: 16px; padding-top: 40px; margin: 0; padding-left: 0; padding-right: 0; scroll-padding-left: 0; }
  .rail-dots { display: none; }
  .rail-arrows { display: flex; }
  .split { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .split--rev .split-media { order: 2; }
  .split--steps { grid-template-columns: 5fr 6fr; align-items: start; }
  .split--steps .split-media { position: sticky; top: calc(var(--header-h) + 32px); }
  .two-col { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
  .steps--grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 36px; }
  .steps--grid li { padding: 58px 0 0; }
  .steps--grid li::after { left: 50px; top: 19px; right: -26px; bottom: auto; width: auto; height: 1px; }
  .steps--grid li:nth-child(3n)::after { display: none; }
  .page-hero { padding: 64px 0 72px; }
  .page-hero--media { display: grid; grid-template-columns: 1fr 1fr; padding: 0; min-height: 520px; }
  .page-hero--media .page-media { order: 2; height: auto; }
  .page-hero--media .page-media::after { background: linear-gradient(90deg, rgba(6, 23, 39, .6) 0%, rgba(6, 23, 39, 0) 30%); }
  .page-hero--media .wrap { margin: 0; align-self: center; padding: 64px 56px 64px max(var(--gutter), calc((100vw - var(--max)) / 2)); }
  .fiche-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; }
  .fiche-aside { position: sticky; top: calc(var(--header-h) + 72px); margin-top: 44px; background: var(--white); border-radius: var(--radius-lg); padding: 28px; }
  .sticky-cta { display: none; }
  .catalog a { grid-template-columns: 150px 1fr auto; gap: 28px; padding: 26px 0; }
  .catalog .thumb { width: 150px; aspect-ratio: 4 / 3; }
  .catalog h2 { font-size: 24px; }
  .catalog .go { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .25s var(--ease); }
  .catalog a:hover .go { background: var(--navy); color: var(--white); border-color: var(--navy); }
  .contact-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
  .contact-layout .tabs { margin-top: 0; }
  .paths .path { grid-template-rows: auto 1fr; }
}
@media (max-width: 1023px) { .fiche-aside { display: none; } .catalog .go { display: none; } }


/* =====================================================================
   D.A. v2 — couche de style : fond clair, titres Montserrat, barre jaune
   ===================================================================== */
h1, h2, h3, .h1, .h2, .h3, .founders-quote, .manifesto strong, .program h3, .catalog h2, .fiche-section h2, .steps h3, .success h3, .highlight-txt, .menu nav a {
  font-family: var(--font-display);
}
.h1 { font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.h2 { font-weight: 800; letter-spacing: -.03em; }
.h3, h3 { font-weight: 700; letter-spacing: -.02em; }
.founders-quote { font-weight: 700; letter-spacing: -.025em; }
.manifesto strong { font-weight: 700; }
:focus-visible { outline-color: var(--navy); }
.dark :focus-visible, .deep :focus-visible { outline-color: var(--gold); }
body { background: var(--white); }

/* Barre oblique (écho de la diagonale jaune du K) */
.eyebrow { color: var(--navy); font-weight: 700; letter-spacing: .2em; gap: 12px; }
.eyebrow::before { width: 7px; height: 15px; background: var(--gold); transform: skewX(-32deg); border-radius: 1px; }
.dark .eyebrow, .deep .eyebrow { color: var(--gold); }

/* Surlignage oblique jaune */
.mark { position: relative; white-space: nowrap; z-index: 0; }
.mark::after { content: ""; position: absolute; z-index: -1; left: -.08em; right: -.1em; bottom: .06em; height: .34em; background: var(--gold); transform: skewX(-24deg); border-radius: 2px; }
.founders-quote em { color: inherit; position: relative; z-index: 0; font-style: normal; }
.founders-quote em::after { content: ""; position: absolute; z-index: -1; left: -.06em; right: -.06em; bottom: .04em; height: .32em; background: var(--gold); transform: skewX(-24deg); opacity: .9; }

/* Boutons */
.btn { font-weight: 700; border-radius: var(--radius); }
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: 0 1px 0 rgba(9, 36, 69, .08); }
.btn--gold:hover { background: #F9CC5E; }
.btn--line { border-color: rgba(9, 36, 69, .28); border-width: 1.5px; }
.btn--navy:hover { background: #0E3160; }
.link-arrow { border-bottom: 2px solid var(--gold); }

/* En-tête clair */
.site-header { background: rgba(255, 255, 255, .96); color: var(--navy); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(9, 36, 69, .08); }
.brand { margin-left: 0; padding: 5px 0; }
.brand img { height: 40px; }
.burger span, .burger span::before, .burger span::after { background: var(--navy); height: 2px; }
.header-cta { font-weight: 700; }

/* Menu mobile (marine, logo blanc) */
.menu nav a { font-weight: 700; font-size: 25px; }
.menu nav a[aria-current="page"] { color: var(--gold); }
.menu .brand img { height: 34px !important; }

/* Héros clair : photo à bord oblique, texte sur blanc */
.hero { background: var(--white); color: var(--ink); }
.hero-media { height: min(50svh, 520px); min-height: 320px; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
.hero-media::after { background: radial-gradient(120% 70% at 100% 0%, rgba(6, 26, 51, .66) 0%, rgba(6, 26, 51, .3) 30%, rgba(6, 26, 51, 0) 58%); }
.verbs li:nth-child(4) { color: var(--gold); }
.hero-body { margin-top: 0; padding-top: 20px; padding-bottom: 48px; }
.hero-body .h1 { color: var(--navy); }
.hero-body .lead { color: var(--ink-soft); }
.hero .btn--line { border-color: rgba(9, 36, 69, .28); color: var(--navy); }
.hero-tags { border-top-color: var(--line); color: var(--ink-soft); font-weight: 600; }
.hero-tags span::before { width: 5px; height: 11px; border-radius: 1px; transform: skewX(-32deg); }

/* Bandeaux des pages internes : clairs */
.page-hero { background: var(--paper); color: var(--ink); }
.page-hero .h1 { color: var(--navy); }
.page-hero .lead { color: var(--ink-soft); }
.page-hero .eyebrow { color: var(--navy); }
.page-hero .status { color: var(--ink-soft); }
.crumbs { color: var(--ink-soft); }
.crumbs a { border-bottom-color: rgba(9, 36, 69, .3); }
.crumbs span[aria-hidden] { color: var(--navy); opacity: .45; }
.page-hero--media { background: var(--white); }
.page-hero--media .page-media { clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
.page-hero--media .page-media::after { display: none; }
.page-hero--media .wrap { margin-top: 0; padding-top: 18px; }

/* Numéros et puces */
.manifesto li::before { color: var(--navy); opacity: .55; }
.modules summary .code { color: var(--gray); }
.ticks li::before { border-color: var(--navy); }
.dark .ticks li::before { border-color: var(--gold); }
.steps li::before { background: var(--gold); border: 0; color: var(--navy); font-family: var(--font-display); font-weight: 800; }
.dark .steps li::before, .deep .steps li::before { background: var(--gold); color: var(--navy); }
.status::before { box-shadow: 0 0 0 3px rgba(247, 193, 65, .3); }

/* Cartes et sections */
.program { border-radius: var(--radius-lg); }
.program::after { background: linear-gradient(0deg, rgba(6, 26, 51, .94) 0%, rgba(6, 26, 51, .4) 44%, rgba(6, 26, 51, 0) 66%); }
.program-domain { font-weight: 700; }
.path { border: 1px solid var(--line); }
.path.dark { border: 0; }
.chip { font-weight: 700; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); }
.tab[aria-selected="true"] { color: var(--navy); }
.form { border: 1px solid var(--line); }
.field input, .field select, .field textarea { background: var(--white); }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 3px rgba(247, 193, 65, .45); }
.fiche-nav { background: rgba(255, 255, 255, .95); }
.fiche-aside { border: 1px solid var(--line); }
.sticky-cta { background: rgba(255, 255, 255, .96); }
.caution { background: var(--yellow-soft); border-left-color: var(--gold); color: #3D4A60; }
.note::before { width: 5px; height: 11px; border-radius: 1px; transform: skewX(-32deg); margin-top: 6px; }
.final { background: var(--navy); }
.final .h2 { color: var(--white); }
.footer-logo { width: 190px; margin-left: 0; }
.footer-tagline { margin-top: 14px; }
.success { background: var(--navy); }

@media (min-width: 1024px) {
  .brand img { height: 38px; }
  .nav-desktop a { color: var(--ink-soft); font-weight: 600; }
  .nav-desktop a:hover { color: var(--navy); }
  .nav-desktop a[aria-current="page"] { color: var(--navy); border-bottom: 2px solid var(--gold); }
  .hero { min-height: calc(100svh - var(--header-h)); max-height: 880px; }
  .hero-media { height: auto; min-height: 0; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
  .hero-media::after { background: radial-gradient(60% 45% at 100% 0%, rgba(6, 26, 51, .66) 0%, rgba(6, 26, 51, .28) 45%, rgba(6, 26, 51, 0) 75%); }
  .hero-body { padding-top: 64px; }
  .hero-body .h1 { font-size: clamp(46px, 4.4vw, 68px); }
  .page-hero--media .page-media { clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
  .page-hero--media .wrap { padding-top: 64px; }
}

/* Signature Qualiopi : cartouche blanc, logo officiel intact, mention des catégories ; clic = certificat PDF */
.qualiopi-card { display: inline-block; background: #fff; border-radius: 8px; padding: 10px 12px; max-width: 250px; margin-top: 16px; text-align: left; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.qualiopi-card:hover, .qualiopi-card:focus-visible { box-shadow: 0 6px 18px rgba(0, 0, 0, .25); transform: translateY(-1px); }
.qualiopi-card:focus-visible { outline: 2px solid #F7C141; outline-offset: 3px; }
.qualiopi-card img { display: block; width: 130px; height: auto; }
.qualiopi-card span { display: block; font-family: "DM Sans", Arial, sans-serif; font-size: 10px; line-height: 1.4; letter-spacing: 0; text-transform: none; }
.qualiopi-card .qc-mention { margin-top: 8px; color: #1e1e1e; font-weight: 400; }
.qualiopi-card .qc-mention + .qc-cat { margin-top: 3px; }
.qualiopi-card .qc-cat { color: #000091; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.qualiopi-card .qc-dl { margin-top: 6px; color: #4a5568; text-decoration: underline; }
.qualiopi-card--light { box-shadow: 0 0 0 1px rgba(9, 36, 69, .14); }
