/* ==========================================================================
   INTGRAL IA — feuille de style du site
   Sommaire : 1. Polices  2. Jetons  3. Base  4. Boutons  5. Barre de navigation
              6. Ouverture (hero)  7. Chiffres
   Le motif du site est « le fil » : le trait continu du logo (I-N-T d'un seul
   geste), qui relie les outils dans le hero et trace les étapes de la méthode.
   ========================================================================== */

/* 1. Polices (hébergées sur le site : aucun appel à un serveur tiers) -------- */
@font-face {
  font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
  src: url('fonts/bricolage-grotesque-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
  src: url('fonts/bricolage-grotesque-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-stretch: 75% 100%; font-display: swap;
  src: url('fonts/instrument-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-stretch: 75% 100%; font-display: swap;
  src: url('fonts/instrument-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* 2. Jetons ---------------------------------------------------------------- */
:root {
  /* Couleur : un noir sapin plutôt qu'un noir neutre, un seul signal (menthe) */
  --c-ink: #06100e;
  --c-ink-2: #0c1b18;
  --c-ink-3: #15302a;
  --c-paper: #ffffff;
  --c-mist: #eef2ef;
  --c-mist-2: #dfe7e2;
  --c-text: #0a1412;
  --c-mute: #55625e;
  --c-mint: #46efc6;
  --c-teal: #0a7f70;
  --c-rule: rgba(10, 20, 18, .12);
  --c-rule-d: rgba(255, 255, 255, .13);
  --c-mute-d: rgba(255, 255, 255, .66);

  /* Typographie */
  --f-display: 'Bricolage Grotesque', 'Arial Narrow', system-ui, sans-serif;
  --f-text: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --t-d1: clamp(3.25rem, 7.3vw, 7.75rem);
  --t-d2: clamp(2.35rem, 5vw, 4.75rem);
  --t-d3: clamp(1.6rem, 2.3vw, 2.25rem);
  --t-lead: clamp(1.0625rem, 1.25vw, 1.25rem);

  /* Espace et formes : trois rayons, un par niveau de hiérarchie */
  --s-edge: clamp(20px, 4vw, 56px);
  --s-max: 1320px;
  --s-sec: clamp(88px, 11vw, 176px);
  --rad-s: 12px;
  --rad-m: 22px;
  --rad-l: clamp(24px, 3vw, 40px);

  /* Mouvement */
  --e-out: cubic-bezier(.22, 1, .36, 1);
  --e-io: cubic-bezier(.65, 0, .35, 1);

  --nav-h: 76px;
}

/* 3. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--c-ink); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--c-paper); overflow-x: clip; }
::selection { background: var(--c-mint); color: var(--c-ink); }
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
section[id] { scroll-margin-top: 0; }
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.ui {
  font-family: var(--f-text); font-size: 1.0625rem; line-height: 1.55; font-weight: 400;
  color: var(--c-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.ui *, .ui *::before, .ui *::after { box-sizing: border-box; }
/* :where() garde ces remises à zéro à spécificité nulle : toute classe de composant les surpasse. */
:where(.ui) :is(h1, h2, h3, h4) {
  margin: 0; font-family: var(--f-display); font-weight: 800; font-stretch: 86%;
  line-height: 1; letter-spacing: -.012em; color: inherit; text-wrap: balance;
}
:where(.ui) :is(p, ul, ol, dl, dd, figure) { margin: 0; }
:where(.ui) :is(ul, ol) { padding: 0; list-style: none; }
:where(.ui) a { color: inherit; text-decoration: none; }
:where(.ui) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:where(.ui) :is(img, svg) { display: block; }
:where(.ui) :focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 6px; }
.ui[data-tone="dark"], .ui [data-tone="dark"] { color: #fff; }

/* Les titres du site se lisent en deux temps : une affirmation en gras, sa suite en maigre. */
.lt { font-weight: 300; }
.wrap { width: 100%; max-width: calc(var(--s-max) + 2 * var(--s-edge)); margin-inline: auto; padding-inline: var(--s-edge); }
.skip { position: fixed; z-index: 1000; left: 16px; top: 12px; padding: 12px 18px; border-radius: 999px; background: var(--c-mint); color: var(--c-ink) !important; font-weight: 600; transform: translateY(-200%); transition: transform .3s var(--e-out); }
.skip:focus { transform: none; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* 4. Boutons --------------------------------------------------------------- */
.cta {
  --b-bg: var(--c-ink); --b-fg: #fff; --b-ico-bg: var(--c-mint); --b-ico-fg: var(--c-ink);
  position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 58px; padding: 7px 7px 7px 26px; border-radius: 999px;
  background: var(--b-bg); color: var(--b-fg) !important;
  font: 600 1rem/1.1 var(--f-text); letter-spacing: -.005em; white-space: nowrap;
  transition: transform .5s var(--e-out), background-color .3s var(--e-out), box-shadow .5s var(--e-out);
}
.cta__ico {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--b-ico-bg); color: var(--b-ico-fg); overflow: hidden;
  transition: transform .5s var(--e-out);
}
.cta__ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
[data-tone="dark"] .cta { --b-bg: var(--c-mint); --b-fg: var(--c-ink); --b-ico-bg: var(--c-ink); --b-ico-fg: var(--c-mint); }
.cta.cta--ghost {
  --b-bg: transparent; --b-fg: var(--c-text); --b-ico-bg: rgba(10, 20, 18, .07); --b-ico-fg: var(--c-text);
  box-shadow: inset 0 0 0 1px var(--c-rule);
}
[data-tone="dark"] .cta.cta--ghost { --b-fg: #fff; --b-ico-bg: rgba(255, 255, 255, .1); --b-ico-fg: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.cta.cta--s { min-height: 46px; padding: 5px 5px 5px 20px; font-size: .9375rem; gap: 12px; }
.cta.cta--s .cta__ico { width: 36px; height: 36px; }
.cta.cta--s .cta__ico svg { width: 15px; height: 15px; }
.cta.cta--wide { width: 100%; }
@media (hover: hover) {
  .cta:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -18px color-mix(in srgb, var(--b-bg) 70%, transparent); }
  .cta.cta--ghost:hover { box-shadow: inset 0 0 0 1px currentColor; }
  .cta:hover .cta__ico svg { animation: cta-go .6s var(--e-out); }
  .cta:hover .cta__ico--down svg { animation-name: cta-down; }
}
.cta:active { transform: scale(.98); }
@keyframes cta-go { 0% { transform: none; } 45% { transform: translateX(150%); } 46% { transform: translateX(-150%); } 100% { transform: none; } }
@keyframes cta-down { 0% { transform: none; } 45% { transform: translateY(150%); } 46% { transform: translateY(-150%); } 100% { transform: none; } }

/* Lien fléché (actions secondaires) */
.more { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1rem; }
.more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--e-out); }
.more span { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; }
@media (hover: hover) { .more:hover svg { transform: translateX(5px); } }

/* 5. Barre de navigation --------------------------------------------------- */
.tb {
  --tb-fg: var(--c-text); --tb-plate: rgba(255, 255, 255, .78); --tb-panel: rgba(255, 255, 255, .96); --tb-line: rgba(10, 20, 18, .1); --tb-hover: rgba(10, 20, 18, .06);
  position: fixed; inset: 0 0 auto 0; z-index: 900; padding: 12px var(--s-edge) 0; color: var(--tb-fg);
  pointer-events: none; view-transition-name: topbar;
}
.tb[data-tone="dark"] { --tb-fg: #fff; --tb-plate: rgba(9, 22, 19, .62); --tb-panel: rgba(10, 24, 21, .94); --tb-line: rgba(255, 255, 255, .12); --tb-hover: rgba(255, 255, 255, .09); }
.tb-in {
  pointer-events: auto; position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  max-width: var(--s-max); height: var(--nav-h); margin-inline: auto; padding: 0 10px 0 22px; border-radius: var(--rad-m);
  transition: height .5s var(--e-out), background-color .4s var(--e-out), box-shadow .4s var(--e-out), color .4s var(--e-out);
}
/* la plaque de verre n'apparaît qu'une fois la page engagée */
.tb-in::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0;
  background: var(--tb-plate); box-shadow: inset 0 0 0 1px var(--tb-line), 0 18px 44px -26px rgba(0, 0, 0, .45);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  transition: opacity .4s var(--e-out), background-color .4s var(--e-out);
}
.tb.is-stuck .tb-in { height: 62px; }
.tb.is-stuck .tb-in::before, .tb.is-open .tb-in::before { opacity: 1; }

.tb-brand { justify-self: start; display: block; padding: 10px 0; }
.tb-brand span {
  display: block; height: 22px; aspect-ratio: 5461 / 746; background: currentColor;
  -webkit-mask: url('logo-mark.svg') center / contain no-repeat; mask: url('logo-mark.svg') center / contain no-repeat;
}

.tb-menu { position: relative; display: flex; align-items: center; gap: 2px; }
.tb-link {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border-radius: 999px;
  font-size: .9375rem; font-weight: 500; letter-spacing: -.005em; color: inherit; opacity: .78;
  transition: opacity .25s var(--e-out);
}
.tb-link svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--e-out); }
.tb-link:hover, .tb-link.is-active, .tb-link[aria-expanded="true"] { opacity: 1; }
.tb-link[aria-expanded="true"] svg { transform: rotate(180deg); }
/* pastille qui glisse sous le lien survolé, et se repose sur la rubrique en cours */
.tb-pill {
  position: absolute; z-index: 0; top: 0; left: 0; height: 42px; width: var(--w, 0); border-radius: 999px; background: var(--tb-hover);
  transform: translateX(var(--x, 0)); opacity: var(--o, 0); pointer-events: none;
  transition: transform .5s var(--e-out), width .5s var(--e-out), opacity .3s var(--e-out), background-color .4s;
}

.tb-act { justify-self: end; display: flex; align-items: center; gap: 8px; }
.tb[data-tone="dark"] .cta { --b-bg: var(--c-mint); --b-fg: var(--c-ink); --b-ico-bg: var(--c-ink); --b-ico-fg: var(--c-mint); }

/* Panneau « Formations » */
.tb-mega {
  position: absolute; top: calc(100% + 20px); left: 50%; width: min(760px, calc(100vw - 2 * var(--s-edge)));
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 6px; border-radius: var(--rad-m);
  background: var(--tb-panel); box-shadow: inset 0 0 0 1px var(--tb-line), 0 30px 60px -30px rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(28px) saturate(1.5); backdrop-filter: blur(28px) saturate(1.5);
  opacity: 0; visibility: hidden; transform: translate(-50%, -8px) scale(.985); transform-origin: 50% 0;
  transition: opacity .3s var(--e-out), transform .45s var(--e-out), visibility 0s linear .3s;
}
.tb-mega::before { content: ""; position: absolute; inset: -24px 0 auto; height: 24px; }
.tb-has.is-open .tb-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.tb-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 34px; min-height: 148px; padding: 18px 18px 16px;
  border-radius: calc(var(--rad-m) - 6px); background: var(--tb-hover);
  transition: background-color .3s var(--e-out), color .3s var(--e-out);
}
.tb-card b { font: 800 1.5rem/1 var(--f-display); font-stretch: 84%; letter-spacing: -.025em; }
.tb-card small { display: block; font-size: .875rem; line-height: 1.35; opacity: .7; }
.tb-card svg { position: absolute; top: 18px; right: 16px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .45; transition: transform .45s var(--e-out), opacity .3s; }
.tb-card:hover, .tb-card:focus-visible, .tb-card[aria-current="page"] { background: var(--c-mint); color: var(--c-ink); }
.tb-card:hover svg, .tb-card:focus-visible svg { transform: translate(3px, -3px); opacity: 1; }
.tb-card:hover small, .tb-card[aria-current="page"] small { opacity: .8; }

.tb-burger { display: none; position: relative; width: 46px; height: 46px; border-radius: 50%; background: var(--tb-hover); }
.tb-burger i { position: absolute; left: 14px; right: 14px; height: 1.75px; border-radius: 2px; background: currentColor; transition: transform .45s var(--e-out), top .45s var(--e-out); }
.tb-burger i:nth-child(1) { top: 19px; }
.tb-burger i:nth-child(2) { top: 26px; }
.tb-burger[aria-expanded="true"] i:nth-child(1) { top: 22px; transform: rotate(45deg); }
.tb-burger[aria-expanded="true"] i:nth-child(2) { top: 22px; transform: rotate(-45deg); }
.tb-extra, .tb-sub { display: none; }

@media (max-width: 1099px) {
  :root { --nav-h: 64px; }
  .tb { padding-top: 8px; }
  .tb-in { grid-template-columns: 1fr auto; padding: 0 8px 0 16px; border-radius: 18px; }
  .tb.is-stuck .tb-in { height: 58px; }
  .tb-brand span { height: 19px; }
  .tb-burger { display: block; }
  .tb-more { display: none; }
  .tb-act .cta { min-height: 42px; padding: 4px 4px 4px 16px; font-size: .875rem; gap: 10px; }
  .tb-act .cta .cta__ico { width: 34px; height: 34px; }

  /* la navigation devient un panneau plein écran */
  .tb-nav {
    position: fixed; inset: 0; z-index: -2; display: flex; flex-direction: column; padding: calc(var(--nav-h) + 28px) var(--s-edge) calc(24px + env(safe-area-inset-bottom));
    background: var(--c-ink); color: #fff; overflow-y: auto; overscroll-behavior: contain;
    clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none;
    transition: clip-path .6s var(--e-io), visibility 0s linear .6s;
  }
  .tb.is-open { --tb-fg: #fff; --tb-hover: rgba(255, 255, 255, .1); }
  .tb.is-open .tb-in::before { opacity: 0; }
  .tb.is-open .tb-nav { clip-path: inset(0); visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .tb.is-open .tb-act .cta { opacity: 0; pointer-events: none; }
  .tb-act .cta { transition: opacity .3s var(--e-out), transform .5s var(--e-out); }
  .tb-pill { display: none; }
  .tb-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .tb-menu > li { border-bottom: 1px solid var(--c-rule-d); }
  .tb-link {
    display: flex; width: 100%; height: auto; padding: 18px 0; border-radius: 0; opacity: 1; justify-content: space-between;
    font: 800 clamp(1.9rem, 8vw, 2.6rem)/1 var(--f-display); font-stretch: 84%; letter-spacing: -.03em;
  }
  .tb-link svg { display: none; }
  button.tb-link { pointer-events: none; padding-bottom: 14px; }
  .tb-mega {
    position: static; width: auto; grid-template-columns: 1fr; gap: 8px; padding: 0 0 20px; background: none; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none; opacity: 1; visibility: inherit; transform: none; transition: none;
  }
  .tb-mega::before { display: none; }
  .tb-card { flex-direction: row; align-items: center; gap: 14px; min-height: 0; padding: 16px 48px 16px 18px; background: rgba(255, 255, 255, .07); color: #fff; }
  .tb-card b { font-size: 1.25rem; flex: none; }
  .tb-card small { font-size: .8125rem; }
  .tb-card svg { top: 50%; margin-top: -9px; }
  .tb-extra { display: grid; gap: 10px; margin-top: auto; padding-top: 32px; }
  .tb-extra .cta { --b-bg: var(--c-mint); --b-fg: var(--c-ink); --b-ico-bg: var(--c-ink); --b-ico-fg: var(--c-mint); }
  .tb-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .tb-sub a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border-radius: var(--rad-s); box-shadow: inset 0 0 0 1px var(--c-rule-d); font-weight: 500; font-size: .9375rem; }
  .tb-sub svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .75; }

  /* entrée en cascade des lignes du panneau */
  .tb-menu > li, .tb-extra { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--e-out), transform .7s var(--e-out); }
  .tb.is-open .tb-menu > li, .tb.is-open .tb-extra { opacity: 1; transform: none; transition-delay: calc(.16s + var(--i, 0) * .05s); }
}
@media (max-width: 380px) { .tb-act .cta { display: none; } }
html.tb-lock, html.tb-lock body { overflow: hidden; }

/* 6. Ouverture ------------------------------------------------------------- */
.op {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
  min-height: min(100svh, 1040px); padding: 0; background: var(--c-ink); color: #fff;
  border-radius: 0 0 var(--rad-l) var(--rad-l);
}
/* fond : lueur derrière le fil, grain fin pour la matière */
.op-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(52% 62% at 80% 46%, rgba(70, 239, 198, .13), transparent 68%),
    radial-gradient(40% 50% at 8% 100%, rgba(70, 239, 198, .06), transparent 70%);
}
.op-bg::after { content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}
.op-grid {
  position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center;
  padding-top: calc(var(--nav-h) + clamp(28px, 5vh, 64px)); padding-bottom: clamp(28px, 5vh, 64px);
}
.op-copy { position: relative; z-index: 2; max-width: 46rem; }
.op-kick { display: inline-flex; align-items: center; gap: 12px; font-size: .9375rem; font-weight: 500; color: var(--c-mute-d); }
.op-kick i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c-mint); }
.op .op-title { margin-top: clamp(18px, 2.4vh, 28px); font-size: var(--t-d1); line-height: .92; letter-spacing: -.012em; font-stretch: 86%; text-wrap: nowrap; }
.op-l { display: block; overflow: hidden; padding: .08em .04em .14em; margin: -.08em -.04em -.14em; }
.op-l:last-child { margin-bottom: 0; }
.op-l > span { display: inline-block; }
.op-sub { margin-top: clamp(22px, 3.2vh, 36px); max-width: 30em; font-size: var(--t-lead); line-height: 1.5; color: var(--c-mute-d); }
.op-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 4vh, 44px); }

/* Le fil : un trait épais d'un seul geste, six outils posés dessus */
.op-art {
  /* la largeur suit aussi la hauteur disponible : le fil ne passe jamais sous la barre ni sur les chiffres */
  position: absolute; z-index: 1; right: 0; top: calc(50% + var(--nav-h) / 2); width: min(43vw, 610px, (min(100svh, 1040px) - 310px) * .97); aspect-ratio: 650 / 670;
  container-type: inline-size; translate: 0 calc(-50% + var(--sy, 0px)); transform: perspective(1400px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
}
.op-path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke-linecap: round; }
.op-track { stroke: url(#op-g); stroke-width: 84; }
.op-edge { stroke: rgba(255, 255, 255, .07); stroke-width: 86; }
.op-wire { stroke: rgba(70, 239, 198, .38); stroke-width: 1.5; stroke-dasharray: 1; }
.op-pulse { stroke: var(--c-mint); stroke-width: 3; stroke-dasharray: .07 .93; stroke-dashoffset: .07; filter: drop-shadow(0 0 7px rgba(70, 239, 198, .9)); opacity: 0; }
.op-tools li {
  position: absolute; left: var(--x); top: var(--y); width: 11.4cqw; aspect-ratio: 1; translate: -50% -50%;
}
.op-tool {
  position: relative; display: block; width: 100%; height: 100%; border-radius: 26%; background: #fff; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 14px 30px -12px rgba(0, 0, 0, .8), 0 0 0 .9cqw rgba(6, 16, 14, .55);
  transition: transform .5s var(--e-out), box-shadow .5s var(--e-out);
}
.op-tool img { width: 100%; height: 100%; object-fit: contain; padding: 17%; }
.op-tool img.is-full { padding: 0; object-fit: cover; }
.op-tools span {
  position: absolute; left: 50%; top: calc(100% + 10px); translate: -50% -4px; padding: 5px 10px; border-radius: 999px; white-space: nowrap;
  background: #fff; color: var(--c-ink); font-size: .75rem; font-weight: 600; opacity: 0; pointer-events: none;
  transition: opacity .25s var(--e-out), translate .4s var(--e-out);
}
@media (hover: hover) {
  .op-tools li:hover { z-index: 3; }
  .op-tools li:hover .op-tool { transform: scale(1.12); box-shadow: 0 0 0 1px #fff, 0 20px 40px -14px rgba(0, 0, 0, .9), 0 0 0 .9cqw rgba(70, 239, 198, .35); }
  .op-tools li:hover span { opacity: 1; translate: -50% 0; }
}
.op-end { position: absolute; left: 84.62%; top: 92.54%; width: 3.2cqw; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: var(--c-mint); opacity: 0; box-shadow: 0 0 0 1.4cqw rgba(70, 239, 198, .16), 0 0 30px rgba(70, 239, 198, .7); }

/* version horizontale du fil, sous le texte (tablette et mobile) */
.op-art--flat { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .op-kick { animation: op-up .9s var(--e-out) .15s both; }
  .op-l > span { animation: op-rise 1.2s var(--e-out) both; }
  .op-l:nth-child(1) > span { animation-delay: .25s; }
  .op-l:nth-child(2) > span { animation-delay: .37s; }
  .op-sub { animation: op-up 1s var(--e-out) .85s both; }
  .op-cta { animation: op-up 1s var(--e-out) 1s both; }
  .op-track, .op-edge { animation: op-fade 1.2s var(--e-out) .1s both; }
  .op-wire { stroke-dashoffset: 1; animation: op-draw 2.6s var(--e-io) .7s forwards; }
  .op-pulse { animation: op-run 5.5s linear 3.4s infinite; }
  .op-tools li { animation: op-pop .9s var(--e-out) both; animation-delay: calc(.8s + var(--at) * 2.5s); }
  .op-end { animation: op-end 1s var(--e-out) 3.2s both, op-beat 2.8s ease-in-out 4.2s infinite; }
  .op-kick i { animation: op-beat 2.8s ease-in-out 1.4s infinite; }
  @keyframes op-up { from { opacity: 0; transform: translateY(18px); } }
  @keyframes op-rise { from { transform: translateY(112%) rotate(3deg); } }
  @keyframes op-fade { from { opacity: 0; } }
  @keyframes op-draw { to { stroke-dashoffset: 0; } }
  @keyframes op-run { 0% { stroke-dashoffset: .07; opacity: 0; } 4% { opacity: 1; } 56% { opacity: 1; } 60%, 100% { stroke-dashoffset: -.93; opacity: 0; } }
  @keyframes op-pop { from { opacity: 0; scale: .4; } 60% { scale: 1.08; } }
  @keyframes op-end { from { opacity: 0; scale: .2; } to { opacity: 1; } }
  @keyframes op-beat { 0%, 100% { box-shadow: 0 0 0 0 rgba(70, 239, 198, .5); } 60% { box-shadow: 0 0 0 12px rgba(70, 239, 198, 0); } }
}
@media (prefers-reduced-motion: reduce) { .op-end { opacity: 1; } }

@media (max-width: 1099px) {
  .op { min-height: 0; }
  .op-grid { padding-top: calc(var(--nav-h) + clamp(40px, 9vw, 72px)); padding-bottom: 0; }
  .op-art { display: none; }
  .op-art--flat {
    display: block; position: relative; right: auto; top: auto; translate: none; transform: none;
    width: min(100% + 2 * var(--s-edge), 660px); max-width: none; margin: clamp(40px, 8vw, 64px) calc(-1 * var(--s-edge)) 0; aspect-ratio: 390 / 196;
  }
  .op-art--flat .op-track { stroke-width: 58; }
  .op-art--flat .op-edge { stroke-width: 60; }
  .op-art--flat .op-tools li { width: 11.8cqw; }
  .op-art--flat .op-end { display: none; }
  .op-tools span { display: none; }
}
@media (max-width: 760px) {
  .op .op-title { font-size: clamp(2.9rem, 13.6vw, 5rem); font-stretch: 78%; }
  .op-cta { flex-direction: column; align-items: stretch; }
  .op-art--flat .op-tools li { width: 12.6cqw; }
}

/* 7. Chiffres -------------------------------------------------------------- */
.pf { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--c-rule-d); margin-bottom: clamp(10px, 1.6vw, 22px); }
.pf-i { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: clamp(14px, 1.6vw, 26px); padding: clamp(20px, 2.6vh, 30px) clamp(16px, 2.4vw, 36px); border-left: 1px solid var(--c-rule-d); }
.pf-i:first-child { padding-left: 0; border-left: 0; }
.pf-n { font: 300 clamp(2.5rem, 4.4vw, 4.25rem)/.9 var(--f-display); font-stretch: 80%; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pf-n span { text-align: right; }
.pf-n small { font-size: .45em; font-weight: 400; letter-spacing: -.01em; margin-left: .08em; color: var(--c-mint); }
.pf-t b { display: block; font-weight: 600; font-size: 1rem; line-height: 1.25; }
.pf-t span { display: block; margin-top: 3px; font-size: .875rem; line-height: 1.3; color: var(--c-mute-d); }
@media (prefers-reduced-motion: no-preference) { .pf { animation: op-up 1s var(--e-out) 1.25s both; } }
@media (max-width: 900px) {
  .pf { grid-template-columns: 1fr; margin-top: clamp(28px, 6vw, 44px); }
  .pf-i { grid-template-columns: 7.2rem minmax(0, 1fr); padding: 18px 0; border-left: 0; border-top: 1px solid var(--c-rule-d); }
  .pf-i:first-child { border-top: 0; }
  .pf-n { font-size: 2.75rem; }
}

/* 8. Sections : rythme, en-têtes, apparitions ------------------------------ */
.sec { position: relative; padding: var(--s-sec) 0; background: var(--c-paper); }
.sec.sec--mist { background: var(--c-mist); }
.sec.sec--ink { background: var(--c-ink); color: #fff; }
.kick { display: inline-flex; align-items: center; gap: 12px; font-size: .9375rem; font-weight: 500; color: var(--c-mute); }
.kick::before { content: ""; flex: none; width: 26px; height: 2px; border-radius: 2px; background: var(--c-teal); }
[data-tone="dark"] .kick { color: var(--c-mute-d); }
[data-tone="dark"] .kick::before { background: var(--c-mint); }
.hd { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(18px, 2vw, 28px); align-items: end; margin-bottom: clamp(44px, 5.5vw, 88px); }
.hd > .kick { grid-column: 1 / -1; }
.hd > h2 { grid-column: 1 / span 7; font-size: var(--t-d2); line-height: .96; }
.hd > .hd-l { grid-column: 9 / -1; font-size: var(--t-lead); line-height: 1.5; color: var(--c-mute); padding-bottom: .35em; }
[data-tone="dark"] .hd > .hd-l { color: var(--c-mute-d); }
@media (max-width: 900px) {
  .hd > h2, .hd > .hd-l { grid-column: 1 / -1; }
}
/* une seule manière d'entrer en scène : montée courte, décalée dans un même groupe */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--e-out), transform 1.1s var(--e-out); transition-delay: calc(var(--d, 0) * 90ms); }
  .js .rv.is-in { opacity: 1; transform: none; }
}

/* 9. Pourquoi Intgral IA --------------------------------------------------- */
.mf { padding-bottom: clamp(72px, 8vw, 128px); }
.mf-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(28px, 4vw, 56px); }
.mf-grid > .kick { grid-column: 1 / span 3; align-self: start; padding-top: .9em; }
.mf .mf-say { grid-column: 4 / -1; font-size: clamp(2.1rem, 4.6vw, 4.4rem); line-height: 1.02; font-weight: 300; text-wrap: pretty; }
.mf-say strong { display: block; margin-top: .22em; font-weight: 800; }
.mf-lead { grid-column: 4 / span 5; font-size: var(--t-lead); line-height: 1.55; color: var(--c-mute); }
.mf-key { grid-column: 10 / -1; align-self: end; padding-top: 18px; border-top: 2px solid var(--c-text); font: 600 1.125rem/1.35 var(--f-text); color: var(--c-text); }
@media (prefers-reduced-motion: no-preference) {
  .js .mf-say .w { opacity: .14; transition: opacity .35s linear; }
  .js .mf-say .w.is-lit { opacity: 1; }
}
@media (max-width: 1099px) {
  .mf-grid > .kick, .mf .mf-say, .mf-lead, .mf-key { grid-column: 1 / -1; }
  .mf-grid > .kick { padding-top: 0; }
  .mf-key { max-width: 22em; }
}

/* 10. Offres : trois parcours reliés par le fil ----------------------------- */
.tr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tr-card {
  --tr-pad: clamp(24px, 2.3vw, 36px); --tr-soft: var(--c-mist); --tr-acc: var(--c-teal); --tr-mute: var(--c-mute); --tr-rule: var(--c-rule);
  position: relative; display: flex; flex-direction: column; padding: var(--tr-pad); border-radius: var(--rad-m);
  background: var(--c-paper); color: var(--c-text); box-shadow: 0 1px 0 rgba(10, 20, 18, .04);
  transition: box-shadow .5s var(--e-out);
}
.tr-card.tr-card--key { --tr-soft: rgba(255, 255, 255, .08); --tr-acc: var(--c-mint); --tr-mute: var(--c-mute-d); --tr-rule: var(--c-rule-d); background: var(--c-ink); color: #fff; }
@media (hover: hover) { .tr-card:hover { box-shadow: 0 1px 0 rgba(10, 20, 18, .04), 0 40px 70px -46px rgba(6, 16, 14, .55); } }
.tr-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
/* le fil passe d'une carte à l'autre, à hauteur des pictogrammes */
.tr-top::before {
  content: ""; position: absolute; top: 50%; left: calc(-1 * var(--tr-pad)); right: calc(-1 * var(--tr-pad) - 16px); height: 1.5px;
  background: var(--tr-acc); opacity: .45; transform-origin: 0 50%;
}
.tr-card:last-child .tr-top::before { right: calc(-1 * var(--tr-pad)); }
.tr-ico { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--tr-acc); color: var(--c-paper); box-shadow: 0 0 0 8px var(--c-paper); }
.tr-card--key .tr-ico { color: var(--c-ink); box-shadow: 0 0 0 8px var(--c-ink); }
.tr-ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tr-level { position: relative; z-index: 1; padding: 7px 14px; border-radius: 999px; background: var(--c-paper); box-shadow: inset 0 0 0 1px var(--tr-rule); font-size: .875rem; font-weight: 600; }
.tr-card--key .tr-level { background: var(--c-ink); }
.tr-card h3 { margin-top: clamp(26px, 2.6vw, 40px); font-size: clamp(2.5rem, 3.7vw, 3.6rem); line-height: .94; }
.tr-for { margin-top: 10px; font-size: 1rem; font-weight: 600; color: var(--tr-acc); }
.tr-desc { margin-top: 16px; font-size: 1rem; line-height: 1.55; color: var(--tr-mute); }
.tr-get { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--tr-rule); font-size: .9375rem; font-weight: 600; }
.tr-list { display: grid; gap: 12px; margin-top: 16px; }
.tr-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; column-gap: 14px; font-size: .9875rem; line-height: 1.4; }
.tr-list i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--rad-s); background: var(--tr-soft); color: var(--tr-acc); }
.tr-list svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tr-format { display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 10px; margin-top: auto; padding-top: 28px; font-size: .875rem; line-height: 1.45; color: var(--tr-mute); }
.tr-format svg { width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tr-act { display: grid; justify-items: center; gap: 16px; margin-top: 22px; }
.tr-card .cta { --b-bg: var(--c-ink); --b-fg: #fff; --b-ico-bg: var(--c-mint); --b-ico-fg: var(--c-ink); }
.tr-card--key .cta { --b-bg: var(--c-mint); --b-fg: var(--c-ink); --b-ico-bg: var(--c-ink); --b-ico-fg: var(--c-mint); }
/* les rubriques s'alignent d'une carte à l'autre, quelle que soit la longueur des textes */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 761px) {
    .tr-grid { grid-auto-rows: auto; }
    .tr-card { display: grid; grid-row: span 8; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  }
}
@media (prefers-reduced-motion: no-preference) {
  .js .tr-top::before { transform: scaleX(0); transition: transform 1.1s var(--e-io); transition-delay: calc(.25s + var(--d, 0) * .45s); }
  .js .tr-card.is-in .tr-top::before { transform: none; }
}
@media (max-width: 1099px) {
  .tr-grid { grid-template-columns: 1fr 1fr; }
  .tr-card:nth-child(2) .tr-top::before { right: calc(-1 * var(--tr-pad)); }
  .tr-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .tr-grid { grid-template-columns: 1fr; gap: 12px; }
  .tr-card:last-child { grid-column: auto; }
  .tr-top::before { right: calc(-1 * var(--tr-pad)) !important; }
  .tr-ico { width: 56px; height: 56px; }
}

/* 11. Financement OPCO ------------------------------------------------------ */
.fd {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  margin-top: 16px; padding: clamp(28px, 4.4vw, 64px); border-radius: var(--rad-m); background: var(--c-mint); color: var(--c-ink);
}
.fd .kick { color: var(--c-ink); }
.fd .kick::before { background: var(--c-ink); }
.fd h2 { margin-top: clamp(16px, 2vw, 26px); font-size: clamp(2.1rem, 4vw, 3.9rem); line-height: .96; }
.fd h2 .lt { display: block; }
.fd-desc { margin-top: clamp(16px, 2vw, 24px); max-width: 36em; font-size: var(--t-lead); line-height: 1.5; color: rgba(6, 16, 14, .78); }
.fd-logo { justify-self: end; display: grid; place-items: center; width: min(100%, 300px); aspect-ratio: 1; border-radius: var(--rad-m); background: #fff; box-shadow: 0 30px 50px -34px rgba(6, 16, 14, .6); }
.fd-logo img { width: 72%; height: auto; }
@media (max-width: 760px) {
  .fd { grid-template-columns: 1fr; margin-top: 12px; }
  .fd-logo { justify-self: start; width: 148px; border-radius: var(--rad-s); }
}

/* 12. Méthode : le fil avance d'étape en étape au défilement ---------------- */
.mt { --mt-th: clamp(150px, 17vw, 230px); overflow: clip; }
.mt .hd { margin-bottom: clamp(28px, 4vh, 56px); }
.mt-stage { position: relative; }
.mt-path { display: block; width: 100%; height: var(--mt-th); overflow: visible; fill: none; stroke-linecap: round; }
.mt-track { stroke: var(--c-ink-3); stroke-width: 58; vector-effect: non-scaling-stroke; }
.mt-rail { stroke: rgba(255, 255, 255, .1); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.mt-wire { stroke: var(--c-mint); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: var(--off, 1); filter: drop-shadow(0 0 6px rgba(70, 239, 198, .8)); transition: stroke-dashoffset .25s linear; }
.mt-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(20px, 3vh, 36px); }
.mt-step { padding-right: clamp(20px, 2.6vw, 44px); }
.mt-step > :is(h3, p) { opacity: .32; transition: opacity .6s var(--e-out); }
.mt-step.is-lit > :is(h3, p) { opacity: .62; }
.mt-step.is-now > :is(h3, p) { opacity: 1; }
.mt-n {
  position: absolute; left: calc(var(--i) * 25% + 2.333%); top: calc(var(--mt-th) * var(--y) / 220); translate: -50% -50%;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--c-ink); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); color: #fff;
  font: 600 1rem/1 var(--f-display); font-stretch: 90%; font-variant-numeric: tabular-nums;
  transition: background-color .5s var(--e-out), color .5s var(--e-out), box-shadow .5s var(--e-out), scale .6s var(--e-out);
}
.mt-step.is-lit .mt-n { background: var(--c-mint); color: var(--c-ink); box-shadow: 0 0 0 8px rgba(70, 239, 198, .14); }
.mt-step.is-now .mt-n { scale: 1.14; box-shadow: 0 0 0 10px rgba(70, 239, 198, .2), 0 0 40px rgba(70, 239, 198, .55); }
.mt-step h3 { font-size: clamp(1.4rem, 1.9vw, 1.9rem); line-height: 1.05; }
.mt-step p { margin-top: 12px; font-size: 1rem; line-height: 1.55; color: var(--c-mute-d); }

/* ordinateur : la section se fige le temps de parcourir les quatre étapes */
@media (min-width: 1100px) and (min-height: 760px) and (prefers-reduced-motion: no-preference) {
  .js .mt { height: 300vh; padding: 0; }
  .js .mt-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding-top: var(--nav-h); }
}
/* tablette et mobile : frise verticale qui se remplit au doigt */
@media (max-width: 1099px) {
  .mt-path { display: none; }
  .mt-steps { position: relative; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 44px); margin-top: 0; padding-left: 84px; }
  .mt-steps::before, .mt-steps::after { content: ""; position: absolute; left: 28px; top: 29px; bottom: 29px; width: 2px; border-radius: 2px; background: var(--c-rule-d); }
  .mt-steps::after { background: var(--c-mint); transform: scaleY(var(--fill, 0)); transform-origin: 50% 0; box-shadow: 0 0 10px rgba(70, 239, 198, .7); }
  .mt-step { position: relative; padding-right: 0; min-height: 58px; }
  .mt-n { z-index: 1; left: -84px; top: 0; translate: none; }
  .mt-step.is-now .mt-n { scale: 1; }
}
@media (prefers-reduced-motion: reduce) { .mt-step > :is(h3, p) { opacity: 1; } }

/* 13. Métiers : six onglets, un panneau en mosaïque ------------------------- */
.ro-hub { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.ro-tabs { display: grid; border-top: 1px solid var(--c-rule); }
.ro-tab {
  position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr) 18px; align-items: center; column-gap: 16px; width: 100%;
  padding: 17px 4px; border-bottom: 1px solid var(--c-rule); text-align: left; color: var(--c-mute);
  transition: color .3s var(--e-out), padding .5s var(--e-out);
}
.ro-tab > span { font: 800 1.625rem/1 var(--f-display); font-stretch: 86%; letter-spacing: -.012em; }
.ro-tab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ro-tab svg:last-child { width: 18px; height: 18px; opacity: 0; transform: translateX(-8px); transition: opacity .3s var(--e-out), transform .5s var(--e-out); }
.ro-tab::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--c-teal); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--e-out); }
.ro-tab[aria-selected="true"] { color: var(--c-text); padding-left: 10px; }
.ro-tab[aria-selected="true"] svg:first-child { color: var(--c-teal); }
.ro-tab[aria-selected="true"] svg:last-child { opacity: 1; transform: none; }
.ro-tab[aria-selected="true"]::after { transform: none; }
@media (hover: hover) { .ro-tab:hover { color: var(--c-text); } }

.ro-panels { display: grid; }
.ro-panel {
  grid-area: 1 / 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; gap: 12px;
  transition: opacity .45s var(--e-out), transform .7s var(--e-out), visibility 0s;
}
.ro-panel[inert] { opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .25s var(--e-out), transform 0s linear .3s, visibility 0s linear .3s; }
/* sans JavaScript : les six secteurs s'affichent à la suite */
html:not(.js) .ro-panel { grid-area: auto; margin-bottom: 28px; }
.ro-t { border-radius: var(--rad-m); padding: clamp(22px, 2.6vw, 38px); }
.ro-gain { grid-column: span 8; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: clamp(230px, 22vw, 300px); background: var(--c-ink); color: #fff; }
.ro-gain small { font-size: .9375rem; font-weight: 500; color: var(--c-mute-d); }
.ro-num { display: block; font: 800 clamp(3.4rem, 6.4vw, 6.4rem)/.86 var(--f-display); font-stretch: 80%; letter-spacing: -.02em; color: var(--c-mint); }
.ro-what { display: block; margin-top: .4em; font: 300 clamp(1.4rem, 2.2vw, 2.1rem)/1.05 var(--f-display); font-stretch: 86%; }
.ro-mark { grid-column: span 4; display: grid; place-items: center; background: var(--c-mint); color: var(--c-ink); overflow: hidden; }
.ro-mark svg { width: min(62%, 190px); height: auto; aspect-ratio: 1; fill: none; stroke: currentColor; stroke-width: .9; stroke-linecap: round; stroke-linejoin: round; }
.ro-desc { grid-column: span 6; background: var(--c-mist); font-size: 1.0625rem; line-height: 1.55; }
.ro-desc:last-child { grid-column: 1 / -1; font-size: clamp(1.2rem, 1.75vw, 1.625rem); line-height: 1.4; letter-spacing: -.008em; }
.ro-quote { grid-column: span 6; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; box-shadow: inset 0 0 0 1px var(--c-rule); }
.ro-quote p { font-size: 1.0625rem; line-height: 1.5; }
.ro-quote footer { font-size: .9375rem; color: var(--c-mute); }
.ro-quote footer b { color: var(--c-text); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .ro-panel:not([inert]) .ro-mark svg * { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ro-draw 1.4s var(--e-out) .1s forwards; }
  @keyframes ro-draw { to { stroke-dashoffset: 0; } }
}
.ro-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-top: clamp(36px, 4.5vw, 64px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--c-rule); }
.ro-foot p { max-width: 38em; font-size: 1rem; line-height: 1.5; color: var(--c-mute); }

@media (max-width: 1099px) {
  .ro-hub { grid-template-columns: 1fr; }
  .ro-tabs { display: flex; gap: 8px; border: 0; margin-inline: calc(-1 * var(--s-edge)); padding: 2px var(--s-edge) 6px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: var(--s-edge); }
  .ro-tabs::-webkit-scrollbar { display: none; }
  .ro-tab { flex: none; width: auto; grid-template-columns: 20px auto; column-gap: 10px; min-height: 46px; padding: 0 18px 0 14px !important; border: 0; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--c-rule); scroll-snap-align: start; }
  .ro-tab > span { font: 600 .9375rem/1 var(--f-text); letter-spacing: 0; }
  .ro-tab svg:first-child { width: 18px; height: 18px; }
  .ro-tab svg:last-child, .ro-tab::after { display: none; }
  .ro-tab[aria-selected="true"] { background: var(--c-ink); color: #fff; box-shadow: none; }
  .ro-tab[aria-selected="true"] svg:first-child { color: var(--c-mint); }
}
@media (max-width: 760px) {
  .ro-panel { gap: 10px; }
  .ro-gain { grid-column: 1 / -1; min-height: 0; }
  .ro-mark { display: none; }
  .ro-desc, .ro-quote { grid-column: 1 / -1; }
  .ro-foot .cta { width: 100%; }
}

/* 14. FAQ -------------------------------------------------------------------- */
.fq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.fq-side { position: sticky; top: calc(var(--nav-h) + 40px); }
.fq-side h2 { margin-top: clamp(18px, 2vw, 28px); font-size: clamp(2.3rem, 4.4vw, 4.1rem); line-height: .96; }
.fq-side h2 .lt { display: block; }
.fq-lead { margin-top: clamp(18px, 2vw, 28px); max-width: 26em; font-size: var(--t-lead); line-height: 1.5; color: var(--c-mute); }
.fq-card { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; align-items: start; max-width: 27rem; margin-top: clamp(28px, 3.4vw, 48px); padding: 22px; border-radius: var(--rad-m); background: var(--c-paper); }
.fq-card i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--c-ink); color: var(--c-mint); }
.fq-card i svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fq-card b { display: block; font: 800 1.375rem/1.05 var(--f-display); font-stretch: 86%; }
.fq-card p { margin-top: 6px; font-size: .9875rem; line-height: 1.45; color: var(--c-mute); }
.fq-card .more { margin-top: 14px; color: var(--c-teal); }
.fq-list { border-top: 1px solid var(--c-rule); }
.fq-item { border-bottom: 1px solid var(--c-rule); }
.fq-q { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; column-gap: 24px; width: 100%; padding: clamp(20px, 2.2vw, 30px) 0; text-align: left; font: 600 clamp(1.125rem, 1.55vw, 1.4375rem)/1.25 var(--f-text); letter-spacing: -.01em; }
.fq-q > span:first-child { transition: transform .5s var(--e-out); }
.fq-q i { position: relative; display: block; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--c-rule); transition: background-color .35s var(--e-out), color .35s var(--e-out), box-shadow .35s var(--e-out), transform .6s var(--e-out); }
.fq-q i::before, .fq-q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.75px; margin: -.875px 0 0 -7px; border-radius: 2px; background: currentColor; transition: transform .5s var(--e-out); }
.fq-q i::after { transform: rotate(90deg); }
.fq-q[aria-expanded="true"] i { background: var(--c-ink); color: var(--c-mint); box-shadow: none; transform: rotate(180deg); }
.fq-q[aria-expanded="true"] i::after { transform: rotate(0deg); }
@media (hover: hover) { .fq-q:hover > span:first-child { transform: translateX(6px); } .fq-q:hover i { box-shadow: inset 0 0 0 1px currentColor; } }
.fq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--e-out); }
.fq-a > div { overflow: hidden; visibility: hidden; transition: visibility 0s linear .6s; }
.fq-item.is-open .fq-a { grid-template-rows: 1fr; }
.fq-item.is-open .fq-a > div { visibility: visible; transition-delay: 0s; }
.fq-a p { max-width: 40em; padding: 0 68px clamp(22px, 2.4vw, 32px) 0; font-size: 1.0625rem; line-height: 1.6; color: var(--c-mute); }
.fq-a strong { color: var(--c-text); font-weight: 600; }
html:not(.js) .fq-a { grid-template-rows: 1fr; }
html:not(.js) .fq-a > div { visibility: visible; }
@media (max-width: 1099px) {
  .fq-grid { grid-template-columns: 1fr; }
  .fq-side { position: static; }
  .fq-a p { padding-right: 0; }
}

/* 15. Contact : le dernier acte, sombre, qui se prolonge dans le pied de page */
.bk { padding-bottom: clamp(64px, 8vw, 120px); border-radius: var(--rad-l) var(--rad-l) 0 0; background: var(--c-ink); color: #fff; }
.sec.sec--mist + .bk { box-shadow: 0 calc(-1 * var(--rad-l)) 0 var(--c-mist); }
.bk-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.bk-info { position: sticky; top: calc(var(--nav-h) + 40px); }
.bk-info h2 { margin-top: clamp(18px, 2vw, 28px); font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: .98; }
.bk-info h2 .lt { display: block; margin-top: .08em; }
.bk-desc { margin-top: clamp(18px, 2vw, 28px); max-width: 30em; font-size: var(--t-lead); line-height: 1.55; color: var(--c-mute-d); }
.bk-list { display: grid; margin-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--c-rule-d); }
.bk-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; column-gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--c-rule-d); font-weight: 500; }
.bk-list svg { width: 28px; height: 28px; padding: 7px; border-radius: 50%; background: rgba(70, 239, 198, .14); fill: none; stroke: var(--c-mint); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.bk-go { margin-top: clamp(24px, 3vw, 36px); color: var(--c-mint); font-size: 1.0625rem; }
.bk-cal { --cal-h: 720px; position: relative; height: var(--cal-h); border-radius: var(--rad-m); background: #fff; color: var(--c-text); overflow: hidden; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .9); }
.bk-cal { transition: height .5s var(--e-out); }
.bk-cal #calendly-mount { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .6s var(--e-out); }
.bk-cal iframe { display: block; width: 100%; height: 100%; border: 0; }
.bk-cal.is-ready #calendly-mount { opacity: 1; }
/* gabarit d'attente : un agenda esquissé, le temps que le vrai se charge */
.bk-wait { position: absolute; inset: 0; display: grid; align-content: start; gap: 18px; padding: clamp(24px, 3vw, 44px); transition: opacity .5s var(--e-out); }
.bk-wait i { display: block; border-radius: 8px; background: var(--c-mist); }
.bk-wait > i:nth-child(1) { width: 46%; height: 24px; }
.bk-wait > i:nth-child(2) { width: 28%; height: 14px; }
.bk-wait span { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 22px; }
.bk-wait span i { aspect-ratio: 1; border-radius: 50%; }
.bk-cal.is-ready .bk-wait, .bk-cal.is-off .bk-wait { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .bk-wait i { animation: bk-wait 1.6s ease-in-out infinite; animation-delay: calc(var(--k, 0) * 60ms); }
  .bk-cal.is-ready .bk-wait i, .bk-cal.is-off .bk-wait i { animation: none; }
  @keyframes bk-wait { 50% { opacity: .45; } }
}
.bk-off { position: absolute; inset: 0; z-index: 2; display: none; place-content: center; justify-items: center; gap: 18px; padding: 32px; text-align: center; }
.bk-cal.is-off .bk-off, html:not(.js) .bk-off { display: grid; }
html:not(.js) .bk-wait { display: none; }
.bk-off .cta { --b-bg: var(--c-ink); --b-fg: #fff; --b-ico-bg: var(--c-mint); --b-ico-fg: var(--c-ink); }
@media (max-width: 1099px) {
  .bk-grid { grid-template-columns: 1fr; }
  .bk-info { position: static; }
  .bk-go svg { transform: rotate(90deg); }
}
@media (max-width: 760px) { .bk-cal { --cal-h: 760px; } }

/* 16. Pied de page ------------------------------------------------------------ */
.ft { position: relative; overflow: hidden; padding: clamp(48px, 6vw, 88px) 0 0; background: var(--c-ink); color: #fff; }
.ft-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr) minmax(0, .8fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 64px); padding-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--c-rule-d); }
.ft-logo { display: block; width: 250px; aspect-ratio: 5544 / 996; background: #fff; -webkit-mask: url('logo.svg') center / contain no-repeat; mask: url('logo.svg') center / contain no-repeat; }
.ft-tag { margin-top: 22px; max-width: 25em; font-size: 1rem; line-height: 1.55; color: var(--c-mute-d); }
.ft-brand .more { margin-top: 20px; font-size: .9375rem; }
.ft-col { display: grid; align-content: start; gap: 12px; }
.ft-col h3 { margin-bottom: 8px; font: 500 .9375rem/1.2 var(--f-text); letter-spacing: 0; color: rgba(255, 255, 255, .5); }
.ft-col a { width: fit-content; font-size: 1rem; color: rgba(255, 255, 255, .86); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--e-out), color .3s; }
@media (hover: hover) { .ft-col a:hover { color: #fff; background-size: 100% 1px; } }
.ft-quality { align-self: start; padding: 20px 22px 22px; border-radius: var(--rad-m); background: #fff; color: var(--c-text); }
.ft-quality img { width: 100%; max-width: 210px; height: auto; }
.ft-quality p { margin-top: 12px; font-size: .8125rem; line-height: 1.5; color: #3f4a47; }
.ft-legal { margin-top: clamp(36px, 4vw, 56px); padding-top: 26px; border-top: 1px solid var(--c-rule-d); font-size: .8125rem; line-height: 1.65; color: rgba(255, 255, 255, .55); }
.ft-legal span { display: block; max-width: 66em; }
.ft-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; margin-top: 22px; font-size: .875rem; color: rgba(255, 255, 255, .55); }
.ft-end nav { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.ft-end a { color: rgba(255, 255, 255, .8); }
.ft-end a:hover { color: #fff; }
/* signature : le mot-symbole en grand, qui affleure au bas de la page */
.ft-mark { display: block; width: 100%; aspect-ratio: 5461 / 746; margin: clamp(40px, 5vw, 72px) 0 calc(-1 * clamp(10px, 2.2vw, 34px));
  background: linear-gradient(180deg, var(--c-ink-3), rgba(21, 48, 42, .25)); -webkit-mask: url('logo-mark.svg') center / contain no-repeat; mask: url('logo-mark.svg') center / contain no-repeat; }
@media (max-width: 1099px) {
  .ft-top { grid-template-columns: 1fr 1fr; }
  .ft-brand, .ft-quality { grid-column: 1 / -1; }
  .ft-quality { max-width: 380px; }
}
@media (max-width: 760px) {
  .ft-col { gap: 0; }
  .ft-col h3 { margin-bottom: 4px; }
  .ft-col a { padding: 11px 0; }
  .ft-end { flex-direction: column; }
  .ft-end a { display: inline-block; padding: 10px 0; }
  .ft-brand .more { padding: 10px 0; }
}

/* 17. Toucher : cibles d'au moins 44 px ---------------------------------------- */
@media (pointer: coarse) {
  .more { min-height: 44px; }
  .pg-crumb a { display: inline-block; padding: 11px 0; }
  .pg-sub a { padding-block: 12px; }
  .tb-brand { padding: 12px 0; }
  .ft-col { gap: 0; }
  .ft-col a { padding: 11px 0; }
  .ft-end a { display: inline-block; padding: 12px 0; }
}

/* ==========================================================================
   PAGES PROGRAMME
   ========================================================================== */
/* 18. Ouverture d'un programme ------------------------------------------------ */
.pg-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--nav-h) + clamp(28px, 4vw, 52px)) 0 clamp(36px, 4.5vw, 64px); background: var(--c-ink); color: #fff; border-radius: 0 0 var(--rad-l) var(--rad-l); }
.pg-crumb { display: flex; align-items: center; gap: 10px; font-size: .9375rem; color: var(--c-mute-d); }
.pg-crumb a { transition: color .25s; }
.pg-crumb a:hover { color: #fff; }
.pg-crumb svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .6; }
.pg-crumb span { color: #fff; font-weight: 500; }
.pg-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 88px); align-items: end; margin-top: clamp(28px, 4.5vw, 64px); }
.pg-hero h1 { font-size: clamp(3.5rem, 9.4vw, 9.25rem); line-height: .86; font-stretch: 80%; letter-spacing: -.015em; }
.pg-lead { margin-top: clamp(22px, 2.6vw, 36px); max-width: 33em; font-size: var(--t-lead); line-height: 1.5; color: var(--c-mute-d); }
.pg-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: clamp(26px, 3vw, 40px); }
.pg-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 24px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); font-weight: 600; }
.pg-pill svg { width: 18px; height: 18px; fill: none; stroke: var(--c-mint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* image en arche (la forme du « N » du logo), traitée en deux tons */
.pg-fig { position: relative; justify-self: end; width: min(100%, 400px); aspect-ratio: 4 / 4.7; border-radius: 999px 999px var(--rad-m) var(--rad-m); overflow: hidden; background: var(--c-ink-2); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 0 0 12px rgba(255, 255, 255, .03); }
.pg-fig img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); scale: var(--z, 1.08); }
.pg-fig::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, var(--c-mint), #1aa98c 70%, var(--c-ink-3)); mix-blend-mode: multiply; }
/* fiche express : les quatre informations pratiques, visibles d'emblée */
.pg-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--c-rule-d); }
.pg-fact { padding: clamp(20px, 2.2vw, 30px) clamp(16px, 2vw, 30px) 0; border-left: 1px solid var(--c-rule-d); }
.vh + .pg-fact { padding-left: 0; border-left: 0; }
.pg-fact small { display: block; font-size: .875rem; font-weight: 500; color: var(--c-mint); }
.pg-fact b { display: block; margin-top: 10px; font: 800 clamp(1.35rem, 1.8vw, 1.7rem)/1.05 var(--f-display); font-stretch: 86%; }
.pg-fact p { margin-top: 10px; font-size: .9375rem; line-height: 1.5; color: var(--c-mute-d); }
@media (prefers-reduced-motion: no-preference) {
  .pg-crumb, .pg-lead, .pg-row { animation: op-up .9s var(--e-out) both; }
  .pg-lead { animation-delay: .45s; } .pg-row { animation-delay: .6s; }
  .pg-hero h1 { animation: pg-title 1.2s var(--e-out) .12s both; }
  .pg-fig { animation: pg-fig 1.4s var(--e-io) .2s both; }
  .pg-facts { animation: op-up 1s var(--e-out) .8s both; }
  @keyframes pg-title { from { opacity: 0; transform: translateY(.22em); } }
  @keyframes pg-fig { from { clip-path: inset(100% 0 0 0 round 999px 999px 22px 22px); } to { clip-path: inset(0 0 0 0 round 999px 999px 22px 22px); } }
}
@media (max-width: 1099px) {
  .pg-top { grid-template-columns: 1fr; }
  .pg-fig { justify-self: start; width: 100%; max-width: none; aspect-ratio: 16 / 10; border-radius: var(--rad-m); }
  .pg-facts { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .pg-fact:nth-child(even) { padding-left: 0; border-left: 0; }
  .pg-fact { padding-top: 22px; }
  .pg-fact:nth-child(n + 4) { border-top: 1px solid var(--c-rule-d); }
}
@media (max-width: 600px) {
  .pg-facts { grid-template-columns: 1fr; row-gap: 0; }
  .pg-fact { padding: 20px 0; border-left: 0; border-top: 1px solid var(--c-rule-d); }
  .vh + .pg-fact { border-top: 0; }
  .pg-row .cta { width: 100%; }
  .pg-pill { width: 100%; justify-content: center; }
}

/* 19. Rubriques de la page (barre collante) ---------------------------------- */
.pg-sub { position: sticky; top: calc(var(--nav-h) + 30px); z-index: 50; height: 0; pointer-events: none; }
.pg-sub ul { pointer-events: auto; display: inline-flex; gap: 2px; max-width: 100%; padding: 5px; border-radius: 999px; translate: 0 -50%; overflow-x: auto; scrollbar-width: none;
  background: rgba(255, 255, 255, .86); box-shadow: inset 0 0 0 1px var(--c-rule), 0 16px 34px -20px rgba(6, 16, 14, .5); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.pg-sub ul::-webkit-scrollbar { display: none; }
.pg-sub a { display: block; padding: 10px 18px; border-radius: 999px; font-size: .9375rem; font-weight: 500; white-space: nowrap; color: var(--c-mute); transition: background-color .35s var(--e-out), color .35s var(--e-out); }
.pg-sub a:hover { color: var(--c-text); }
.pg-sub a.is-active { background: var(--c-ink); color: #fff; }
@media (max-width: 760px) { .pg-sub a { padding: 9px 14px; font-size: .875rem; } }

/* 20. Objectifs, moyens, parcours, public ------------------------------------- */
.pg-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 96px); align-items: start; }
.pg-split > header { position: sticky; top: calc(var(--nav-h) + 56px); }
.pg-split h2, .pg-h2 { font-size: clamp(2.2rem, 4.2vw, 3.9rem); line-height: .96; }
.pg-split h2 .lt, .pg-h2 .lt { display: block; }
.pg-intro { margin-top: clamp(16px, 2vw, 24px); max-width: 24em; font-size: var(--t-lead); line-height: 1.5; color: var(--c-mute); }
[data-tone="dark"] .pg-intro { color: var(--c-mute-d); }
.pg-obj { border-bottom: 1px solid var(--c-rule); }
.pg-obj li { display: grid; grid-template-columns: 7rem minmax(0, 1fr); column-gap: clamp(16px, 2.4vw, 36px); align-items: baseline; padding: clamp(20px, 2.2vw, 30px) 0; border-top: 1px solid var(--c-rule); }
.pg-obj small { font-size: .9375rem; font-weight: 600; color: var(--c-teal); }
.pg-obj p { font-size: clamp(1.125rem, 1.6vw, 1.4375rem); line-height: 1.35; letter-spacing: -.008em; text-wrap: pretty; }

.pg-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: clamp(32px, 4vw, 56px); }
.pg-tile { padding: clamp(24px, 2.8vw, 40px); border-radius: var(--rad-m); background: var(--c-mist); }
.pg-tile h3 { font-size: var(--t-d3); line-height: 1; }
.pg-checks { display: grid; gap: 14px; margin-top: clamp(18px, 2vw, 28px); }
.pg-checks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 14px; align-items: start; font-size: 1.0625rem; line-height: 1.45; }
.pg-checks svg { width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: var(--c-ink); fill: none; stroke: var(--c-mint); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.pg-note { padding: clamp(22px, 2.4vw, 32px); border-radius: var(--rad-m); box-shadow: inset 0 0 0 1px var(--c-rule); }
.pg-note h3 { font: 600 1.125rem/1.3 var(--f-text); letter-spacing: -.005em; }
.pg-note p { margin-top: 10px; font-size: .9875rem; line-height: 1.6; color: var(--c-mute); }
.pg-tiles + .pg-tiles { margin-top: 12px; }

/* parcours : le fil descend de module en module */
.pg-mods { position: relative; display: grid; padding-left: 84px; }
.pg-mods::before, .pg-mods::after { content: ""; position: absolute; left: 28px; top: 40px; bottom: 40px; width: 2px; border-radius: 2px; background: var(--c-rule-d); }
.pg-mods::after { background: var(--c-mint); transform: scaleY(var(--fill, 0)); transform-origin: 50% 0; box-shadow: 0 0 10px rgba(70, 239, 198, .7); }
.pg-mod { position: relative; border-bottom: 1px solid var(--c-rule-d); }
.pg-mod:first-child { border-top: 1px solid var(--c-rule-d); }
.pg-mod-n { position: absolute; z-index: 1; left: -84px; top: 22px; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--c-ink); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); font: 600 1.125rem/1 var(--f-display); transition: background-color .5s var(--e-out), color .5s var(--e-out), box-shadow .5s var(--e-out); }
.pg-mod.is-lit .pg-mod-n { background: var(--c-mint); color: var(--c-ink); box-shadow: 0 0 0 8px rgba(70, 239, 198, .14); }
.pg-mod-q { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; column-gap: 20px; width: 100%; min-height: 102px; padding: 22px 0; text-align: left; }
.pg-mod-q small { display: block; font-size: .875rem; font-weight: 500; color: var(--c-mint); }
.pg-mod-q b { display: block; margin-top: 6px; font: 800 clamp(1.3rem, 2vw, 1.8rem)/1.08 var(--f-display); font-stretch: 86%; text-wrap: balance; }
.pg-mod-q i { position: relative; grid-column: 2; grid-row: 1; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); transition: background-color .35s var(--e-out), color .35s var(--e-out), transform .6s var(--e-out); }
.pg-mod-q i::before, .pg-mod-q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.75px; margin: -.875px 0 0 -7px; border-radius: 2px; background: currentColor; transition: transform .5s var(--e-out); }
.pg-mod-q i::after { transform: rotate(90deg); }
.pg-mod-q[aria-expanded="true"] i { background: var(--c-mint); color: var(--c-ink); box-shadow: none; transform: rotate(180deg); }
.pg-mod-q[aria-expanded="true"] i::after { transform: rotate(0deg); }
.pg-mod-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--e-out); }
.pg-mod-a > div { overflow: hidden; visibility: hidden; transition: visibility 0s linear .6s; }
.pg-mod.is-open .pg-mod-a { grid-template-rows: 1fr; }
.pg-mod.is-open .pg-mod-a > div { visibility: visible; transition-delay: 0s; }
html:not(.js) .pg-mod-a { grid-template-rows: 1fr; }
html:not(.js) .pg-mod-a > div { visibility: visible; }
.pg-mod-a ul { display: grid; gap: 10px; padding: 0 0 28px; }
.pg-mod-a li { position: relative; padding-left: 22px; font-size: 1.0625rem; line-height: 1.45; color: rgba(255, 255, 255, .82); }
.pg-mod-a li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; border-radius: 2px; background: var(--c-mint); }

.pg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(18px, 2vw, 28px); }
.pg-chips li { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--c-paper); font-weight: 500; font-size: 1rem; }
.pg-chips li.is-key { flex-basis: 100%; min-height: 0; padding: 18px 22px; border-radius: var(--rad-s); background: var(--c-ink); color: #fff; font-weight: 600; line-height: 1.35; }
.pg-tile > p { margin-top: clamp(14px, 1.6vw, 20px); font-size: var(--t-lead); line-height: 1.5; color: var(--c-mute); }
.pg-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(20px, 2.4vw, 32px); }
.pg-tags li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--c-rule); font-size: .9375rem; font-weight: 600; color: var(--c-teal); }

/* invitation finale */
.pg-invite { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: end; padding: clamp(32px, 5vw, 80px); border-radius: var(--rad-l); background: var(--c-mint); color: var(--c-ink); }
.pg-invite .kick { color: var(--c-ink); }
.pg-invite .kick::before { background: var(--c-ink); }
.pg-invite h2 { margin-top: clamp(16px, 2vw, 26px); font-size: clamp(2.4rem, 5.4vw, 5.2rem); line-height: .92; }
.pg-invite-side p { max-width: 26em; font-size: var(--t-lead); line-height: 1.5; color: rgba(6, 16, 14, .8); }
.pg-invite-side .cta { margin-top: clamp(20px, 2.4vw, 32px); --b-bg: var(--c-ink); --b-fg: #fff; --b-ico-bg: var(--c-mint); --b-ico-fg: var(--c-ink); }
.pg-last { padding-top: 0; }

@media (max-width: 1099px) {
  .pg-split { grid-template-columns: 1fr; }
  .pg-split > header { position: static; }
  .pg-invite { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 760px) {
  .pg-tiles { grid-template-columns: 1fr; }
  .pg-obj li { grid-template-columns: 1fr; row-gap: 6px; }
  .pg-mods { padding-left: 62px; }
  .pg-mods::before, .pg-mods::after { left: 21px; }
  .pg-mod-n { left: -62px; top: 28px; width: 44px; height: 44px; font-size: 1rem; }
  .pg-invite-side .cta { width: 100%; }
}

/* 21. Barre de réservation (mobile) : apparaît une fois le hero passé --------- */
.pg-bar { display: none; }
@media (max-width: 760px) {
  .pg-bar { display: block; position: fixed; z-index: 800; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); transform: translateY(160%); transition: transform .6s var(--e-out); }
  .pg-bar.is-on { transform: none; }
  .pg-bar .cta { --b-bg: var(--c-ink); --b-fg: #fff; --b-ico-bg: var(--c-mint); --b-ico-fg: var(--c-ink); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 18px 40px -14px rgba(6, 16, 14, .7); }
}

/* ==========================================================================
   PAGES LÉGALES
   ========================================================================== */
.lg-hero { padding: calc(var(--nav-h) + clamp(44px, 7vw, 104px)) 0 clamp(40px, 6vw, 88px); background: var(--c-ink); color: #fff; border-radius: 0 0 var(--rad-l) var(--rad-l); }
.lg-hero h1 { margin-top: clamp(20px, 3vw, 36px); font-size: var(--t-d2); line-height: .94; }
.lg-body { max-width: 46rem; margin-inline: auto; font-size: 1.0625rem; line-height: 1.65; color: #2b3633; }
.lg-body h2 { margin: clamp(40px, 5vw, 64px) 0 16px; padding-top: 22px; border-top: 1px solid var(--c-rule); font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.08; color: var(--c-text); }
.lg-body h3 { margin: 28px 0 10px; font: 600 1.125rem/1.3 var(--f-text); letter-spacing: 0; color: var(--c-text); }
.lg-body p { margin: 0 0 16px; }
.lg-body ul { display: grid; gap: 10px; margin: 0 0 18px; }
.lg-body li { position: relative; padding-left: 22px; }
.lg-body li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; border-radius: 2px; background: var(--c-teal); }
.lg-body strong { color: var(--c-text); font-weight: 600; }
.lg-body a { color: var(--c-teal); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.lg-body a:hover { text-decoration-thickness: 2px; }
@media (pointer: coarse) { .lg-body a { display: inline-block; padding: 10px 0; margin: -10px 0; } }
