@charset "UTF-8";

/* ==================================================================
   Ex-bloc inline <style> principal - externalise le 2026-08-07
   ================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --c-anthracite: #3D3B3B;

    --bg: #0a0a0a;
    --bg-1: #101010;
    --bg-2: #141414;
    --bg-3: #1a1a1a;

    --text-1: #f4f4f4;
    --text-2: #b8b8b8;
    --text-3: #9a9a9a;
    --text-4: #6e6e6e;

    --line-1: rgba(255, 255, 255, 0.06);
    --line-2: rgba(255, 255, 255, 0.09);
    --line-3: rgba(255, 255, 255, 0.16);

    --accent: #8EC041;
    --accent-rgb: 142, 192, 65;
    --accent-hi: #a4d05c;
    --accent-soft: rgba(142, 192, 65, 0.10);
    --accent-line: rgba(142, 192, 65, 0.22);
    --accent-deep: #6c9430;

    --max: 1180px;
    --max-narrow: 880px;
    --pad-x: clamp(20px, 4vw, 40px);

    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
    --font-serif: "Instrument Serif", "Tiempos Text", Georgia, "Times New Roman", serif;
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.32, 0.72, 0, 1);
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text-1);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.55;
    font-weight: 400;
    letter-spacing: -0.005em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
  }

  body::before {
    content: "";
    position: fixed; inset: 0;
    pointer-events: none; z-index: 1;
    opacity: 0.018;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  }

  h1, h2, h3, h4 {
    font-family: var(--font);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--text-1);
  }

  a { color: inherit; text-decoration: none; }
  button { font-family: var(--font); cursor: pointer; border: none; background: none; color: inherit; }
  img { max-width: 100%; display: block; }
  ::selection { background: var(--accent); color: #0a0a0a; }

  .container {
    max-width: var(--max);
    margin: 0 auto;
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
    position: relative;
    z-index: 2;
  }
  .container--narrow { max-width: var(--max-narrow); }

  /* ========================================================================
     TYPOGRAPHIE ÉDITORIALE
     ======================================================================== */

  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.16em;
  }
  .eyebrow::before {
    content: "";
    width: 14px;
    height: 1px;
    background: var(--accent);
    flex: 0 0 14px;
  }

  .text-muted { color: var(--text-2); font-weight: 400; }
  em { color: var(--accent); }

  .section-title {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.035em;
    max-width: 920px;
  }
  .section-title .text-muted {
    color: var(--text-2);
    font-weight: 400;
    display: block;
    margin-top: 12px;
    font-family: var(--font);
    font-style: normal;
    font-size: 14.5px;
    line-height: 1.6;
    letter-spacing: -0.005em;
  }

  .section-head { margin-bottom: clamp(48px, 6vw, 80px); }
  .section-head .eyebrow { margin-bottom: 22px; }

  /* ========================================================================
     BOUTONS
     ======================================================================== */

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 36px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: -0.005em;
    transition: all 180ms var(--ease-out);
    border: 1px solid transparent;
    white-space: nowrap;
  }
  .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .btn-primary { background: var(--text-1); color: #0a0a0a; }
  .btn-primary:hover { background: #ffffff; transform: translateY(-1px); }

  .btn-ghost {
    background: rgba(255,255,255,0.04);
    color: var(--text-1);
    border-color: var(--line-2);
  }
  .btn-ghost:hover {
    background: rgba(255,255,255,0.07);
    border-color: var(--line-3);
    transform: translateY(-1px);
  }

  .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.005em;
    transition: all 200ms var(--ease-out);
    border: 1px solid transparent;
  }
  .btn-cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .btn-cta--primary { background: var(--text-1); color: #0a0a0a; }
  .btn-cta--primary:hover {
    background: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(255,255,255,0.06);
  }
  .btn-cta--ghost {
    background: transparent;
    color: var(--text-1);
    border-color: var(--line-3);
  }
  .btn-cta--ghost:hover {
    border-color: var(--text-2);
    background: rgba(255,255,255,0.03);
    transform: translateY(-1px);
  }
  .btn-cta-arrow {
    display: inline-flex;
    width: 14px; height: 14px;
    transition: transform 200ms var(--ease-out);
  }
  .btn-cta:hover .btn-cta-arrow { transform: translateX(3px); }

  
  /* ================================================================
     NAVBAR v2
     ================================================================ */
  .navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: 80px;
    display: flex;
    align-items: center;
    pointer-events: none;
  }
  .navbar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.50);
    backdrop-filter: saturate(170%) blur(16px);
    -webkit-backdrop-filter: saturate(170%) blur(16px);
    -webkit-mask-image: linear-gradient(90deg,
      transparent 0%, rgba(0,0,0,0.0) 8%, rgba(0,0,0,0.45) 22%,
      #000 36%, #000 64%,
      rgba(0,0,0,0.45) 78%, rgba(0,0,0,0.0) 92%, transparent 100%);
            mask-image: linear-gradient(90deg,
      transparent 0%, rgba(0,0,0,0.0) 8%, rgba(0,0,0,0.45) 22%,
      #000 36%, #000 64%,
      rgba(0,0,0,0.45) 78%, rgba(0,0,0,0.0) 92%, transparent 100%);
    transition: background 280ms var(--ease-out);
    pointer-events: none;
    z-index: -1;
  }
  .navbar.scrolled::before { background: rgba(10, 10, 10, 0.80); }
  .navbar::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: linear-gradient(90deg,
      transparent 0%, rgba(255,255,255,0.0) 12%, rgba(255,255,255,0.10) 30%,
      rgba(255,255,255,0.10) 70%, rgba(255,255,255,0.0) 88%, transparent 100%);
    opacity: 0;
    transition: opacity 280ms ease;
    pointer-events: none;
    z-index: -1;
  }
  .navbar.scrolled::after { opacity: 1; }

  .nav-inner {
    pointer-events: auto;
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad-x);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
  }
  .logo {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    line-height: 0;
  }
  .logo .logo-img {
    display: block;
    height: 40px;
    width: auto;
    aspect-ratio: 1530 / 482;
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .nav-center { justify-self: center; pointer-events: auto; display: inline-flex; align-items: center; gap: 10px; }
  .nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 1px 2px rgba(0, 0, 0, 0.20),
      0 6px 24px rgba(0, 0, 0, 0.18);
    transition: background 260ms var(--ease-out), border-color 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
  }
  .nav-pill:hover, .nav-pill:focus-within {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
  }
  .nav-pill__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.005em;
    color: var(--text-2);
    background: transparent;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: color 200ms var(--ease-out), background 200ms var(--ease-out);
  }
  .nav-pill__item:hover { color: var(--text-1); background: rgba(255, 255, 255, 0.05); }
  .nav-pill__item:focus-visible { outline: 2px solid rgba(255,255,255,0.40); outline-offset: 2px; }
  .nav-pill__trigger[aria-expanded="true"] { color: var(--text-1); background: rgba(255,255,255,0.06); }
  .nav-chevron {
    color: currentColor;
    opacity: 0.65;
    transition: transform 260ms var(--ease-out), opacity 200ms ease;
  }
  .nav-pill__item:hover .nav-chevron { opacity: 0.9; }
  .nav-pill__trigger[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); opacity: 1; }

  /* Catalogue pill — solid lime accent, formation only */
  .nav-pill--catalogue {
    background: var(--accent);
    border-color: rgba(0, 0, 0, 0.10);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.32),
      inset 0 -1px 0 rgba(0, 0, 0, 0.10),
      0 1px 2px rgba(0, 0, 0, 0.18),
      0 8px 22px rgba(142, 192, 65, 0.22);
    /* Smoothness premium : easing soyeux + micro-lift haptique au hover */
    transition:
      background 320ms cubic-bezier(0.4, 0, 0.2, 1),
      border-color 320ms cubic-bezier(0.4, 0, 0.2, 1),
      box-shadow 380ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
  }
  .nav-pill--catalogue:hover, .nav-pill--catalogue:focus-within {
    background: #9bcc4e;
    border-color: rgba(0, 0, 0, 0.14);
    transform: translateY(-1px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.42),
      inset 0 -1px 0 rgba(0, 0, 0, 0.10),
      0 2px 5px rgba(0, 0, 0, 0.16),
      0 14px 34px rgba(142, 192, 65, 0.34);
  }
  .nav-pill--catalogue:active {
    transform: translateY(0);
    transition-duration: 130ms;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      inset 0 -1px 0 rgba(0, 0, 0, 0.12),
      0 1px 2px rgba(0, 0, 0, 0.20),
      0 6px 16px rgba(142, 192, 65, 0.26);
  }
  .nav-pill__item--catalogue {
    color: #0a0a0a;
    font-weight: 600;
    background: transparent;
    transition: color 200ms var(--ease-out), background 240ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav-pill__item--catalogue:hover,
  .nav-pill__item--catalogue:focus-visible {
    color: #0a0a0a;
    background: rgba(255, 255, 255, 0.14);
    outline: none;
  }
  .nav-pill__item--catalogue:focus-visible { box-shadow: inset 0 0 0 1px rgba(0,0,0,0.42); }

  /* ----- Icône Carrières accolée à la capsule "Nos solutions" ------- */
  .nav-pill__sep {
    width: 1px; height: 16px; flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.12);
    margin: 0 2px;
  }
  .nav-pill__careers { padding: 0 11px; }
  .nav-pill__careers svg { width: 15px; height: 15px; display: block; }
  .nav-pill__careers.is-current {
    color: var(--text-1);
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-cta { justify-self: end; display: flex; align-items: center; pointer-events: auto; }
  .nav-pill--actions {
    height: 32px; padding: 0; gap: 0;
    background: #0a0a0a; border: none; border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 1px 2px rgba(0,0,0,0.35), 0 6px 24px rgba(0,0,0,0.30);
    overflow: visible;
    transition: box-shadow 220ms var(--ease-out);
  }
  .nav-pill--actions:has(.nav-pill__item--dark:hover),
  .nav-pill--actions:has(.nav-pill__item--dark:focus-visible) {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 1px 2px rgba(0,0,0,0.35), 0 6px 24px rgba(0,0,0,0.30),
      0 0 0 1px rgba(255,255,255,0.32), 0 0 14px rgba(255,255,255,0.20);
  }
  .nav-pill__item--light, .nav-pill__item--dark {
    height: 32px; border-radius: 999px;
    font-size: 13px; font-weight: 500; letter-spacing: -0.005em;
    display: inline-flex; align-items: center; text-decoration: none; border: none;
    transition: transform 200ms var(--ease-out), background 200ms var(--ease-out), color 200ms ease, box-shadow 200ms ease;
  }
  .nav-pill__item--light {
    padding: 0 14px; background: #f4f4f4; color: #0a0a0a;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), inset 0 -1px 0 rgba(0,0,0,0.06);
  }
  .nav-pill__item--light:hover, .nav-pill__item--light:focus-visible {
    background: #f4f4f4; color: #0a0a0a; outline: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), inset 0 -1px 0 rgba(0,0,0,0.06),
      inset 0 0 0 1px rgba(10,10,10,0.42), inset 0 0 6px rgba(10,10,10,0.14);
  }
  .nav-pill__item--dark { padding: 0 14px 0 12px; background: transparent; color: #f4f4f4; }
  .nav-pill__item--dark:hover, .nav-pill__item--dark:focus-visible { background: transparent; color: #f4f4f4; outline: none; }

  /* Le panneau ne transitionne QUE visibility ; le fade/slide vit sur le
     shell. Le flou de fond n'est PAS ici (un backdrop-filter descendant de
     la navbar fixed n'échantillonne pas la page sur Chromium) mais sur
     body::after, calé sur le rect du panneau (cf. plus bas). */
  .nav-panel {
    position: absolute; top: calc(100% + 12px); left: 50%;
    transform: translateX(-50%);
    width: min(480px, calc(100vw - 32px));
    pointer-events: none;
    z-index: 99;
    border-radius: 18px;
    /* (Pas de backdrop-filter ici : inopérant sur Chromium car descendant
       de la navbar fixed. Le flou est porté par body::after, cf. plus bas.) */
  }
  .nav-panel[aria-hidden="false"] { pointer-events: auto; }
  .nav-panel[aria-hidden="true"] {
    visibility: hidden;
    transition: visibility 0s linear 260ms;
  }
  .nav-panel[aria-hidden="false"] {
    visibility: visible;
    transition: visibility 0s linear 0s;
  }
  .nav-panel__shell {
    position: relative; padding: 4px;
    background: rgba(15, 15, 17, 0.92);
    border: none; border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.60), 0 50px 120px rgba(0,0,0,0.35);
    overflow: hidden;
    opacity: 0; transform: translateY(-6px);
    transition: opacity 260ms var(--ease-out), transform 320ms var(--ease-out);
  }
  .nav-panel[aria-hidden="false"] .nav-panel__shell { opacity: 1; transform: translateY(0); }

  /* Voile givré calé sur le panneau de menu ouvert (rect posé en vars
     --menu-x/y/w/h par setupMenuFrost). Porté par body::after et non par
     le panneau : un backdrop-filter descendant de la navbar fixed ne peut
     pas échantillonner le contenu de la page (bug compositing Chromium).
     z-index 99 : au-dessus du contenu, sous la navbar (z 100). */
  body::after {
    content: ""; position: fixed;
    left: var(--menu-x, 0px); top: var(--menu-y, 0px);
    width: var(--menu-w, 0px); height: var(--menu-h, 0px);
    border-radius: 18px;
    z-index: 99; pointer-events: none;
    opacity: 0; visibility: hidden;
    background: rgba(8, 8, 10, 0.35);
    backdrop-filter: blur(32px) saturate(120%);
    -webkit-backdrop-filter: blur(32px) saturate(120%);
    /* Sortie INSTANTANÉE : le menu glisse+fade et quitte le champ en ~80ms ;
       tout fondu du voile (immobile) le ferait traîner après → rectangle de
       blur nu. On le coupe net dès la fermeture, le panneau (92% opaque) le
       couvre encore. L'entrée reste à 260ms (cf. règle :has ci-dessous). */
    transition: opacity 0s, visibility 0s;
  }
  body:has(.nav-panel[aria-hidden="false"])::after {
    opacity: 1; visibility: visible;
    transition: opacity 260ms var(--ease-out), visibility 0s linear 0s;
  }
  .nav-panel__grid {
    list-style: none; margin: 0; padding: 6px;
    display: flex; flex-direction: column; gap: 0;
  }
  .nav-panel__grid > li { position: relative; display: flex; flex-direction: column; }
  .nav-panel__grid > li + li::before {
    content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 22%, rgba(255,255,255,0.08) 78%, transparent 100%);
    pointer-events: none;
  }
  .nav-panel__item {
    position: relative; display: flex; align-items: center; justify-content: flex-start;
    width: 100%; height: 44px; padding: 0 16px;
    color: var(--text-2); text-decoration: none; background-color: transparent;
    border: none; border-radius: 8px;
    transition: background-color 220ms var(--ease-out), color 220ms var(--ease-out);
    isolation: isolate;
  }
  .nav-panel__item:hover, .nav-panel__item:focus-visible { background-color: rgba(255,255,255,0.035); color: var(--text-1); outline: none; }
  .nav-panel__item:focus-visible { box-shadow: inset 0 0 0 1px rgba(46,114,186,0.40); }
  .nav-panel__item.is-current { color: var(--text-1); }
  .nav-panel__title { font-size: 13.5px; font-weight: 500; color: inherit; letter-spacing: -0.005em; line-height: 1; white-space: nowrap; }
  .nav-panel__sub { list-style: none; margin: 0; padding: 0 4px 6px 4px; display: flex; flex-direction: column; }
  .nav-panel__sub-item {
    position: relative; display: flex; align-items: center; width: 100%; height: 32px; padding: 0 16px 0 36px;
    color: var(--text-3); text-decoration: none; font-size: 12.5px; font-weight: 400; letter-spacing: -0.003em; line-height: 1;
    border-radius: 6px; transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out);
  }
  .nav-panel__sub-item::before {
    content: ""; position: absolute; left: 24px; top: 50%; transform: translateY(-50%);
    width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.45;
    transition: background 200ms var(--ease-out), opacity 200ms var(--ease-out);
  }
  .nav-panel__sub-item:hover, .nav-panel__sub-item:focus-visible { color: var(--text-1); background-color: rgba(255,255,255,0.025); outline: none; }
  .nav-panel__sub-item:hover::before, .nav-panel__sub-item:focus-visible::before { background: var(--accent); opacity: 1; }

  @media (max-width: 820px) {
    .navbar { height: 70px; }
    .nav-inner { grid-template-columns: auto 1fr auto; gap: 10px; }
    .logo .logo-img { height: 32px; }
    .nav-center { display: none; }
  }
  @media (max-width: 520px) {
    .nav-panel { width: calc(100vw - 24px); }
    .nav-panel__shell { padding: 4px; border-radius: 14px; }
  }

  
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  .reveal.delay-1 { transition-delay: 60ms; }
  .reveal.delay-2 { transition-delay: 120ms; }
  .reveal.delay-3 { transition-delay: 180ms; }
  .reveal.delay-4 { transition-delay: 240ms; }
  .reveal.delay-5 { transition-delay: 300ms; }
  @media (prefers-reduced-motion: reduce) {
    .reveal { transition: none; transform: none; opacity: 1; }
  }

  
  .cta-section {
    padding: clamp(40px, 5vw, 72px) 0;
    position: relative; overflow: hidden;
    background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 70%, transparent 85%);
            mask-image: linear-gradient(to right, #000 0%, #000 70%, transparent 85%);
  }
  .cta-section::before {
    content: ""; position: absolute; inset: 0;
    background:
      radial-gradient(60% 110% at 0% 50%, rgba(142,192,65,0.07) 0%, rgba(142,192,65,0.025) 30%, transparent 65%),
      linear-gradient(90deg, rgba(142,192,65,0.03) 0%, transparent 35%);
    pointer-events: none;
  }
  .cta-frame { position: relative; z-index: 2; padding: 0; }
  .cta-inner {
    position: relative; z-index: 2;
    display: flex; flex-direction: row; align-items: center;
    gap: clamp(20px, 3vw, 40px);
    max-width: 760px; margin: 0;
  }

  .cta-icon {
    flex-shrink: 0;
    width: clamp(106px, 13.5vw, 158px);
    height: auto; margin: 0;
    color: var(--accent); display: block; overflow: visible;
  }
  .cta-icon-wave {
    transform-origin: 60px 60px;
    animation: cta-pulse 3.8s var(--ease-smooth) infinite;
  }
  @keyframes cta-pulse {
    0%, 100% { opacity: 0.4; }
    50%      { opacity: 0.8; }
  }
  @media (prefers-reduced-motion: reduce) {
    .cta-icon-wave { animation: none; opacity: 0.58; }
  }

  .cta-body { display: flex; flex-direction: column; align-items: flex-start; text-align: left; min-width: 0; }
  .cta-title {
    font-size: clamp(24px, 3vw, 36px); font-weight: 500;
    line-height: 1.08; letter-spacing: -0.035em; color: var(--text-1); margin: 0 0 10px;
  }
  .cta-title em { font-family: var(--font); font-style: normal; color: var(--accent); font-weight: 400; }
  .cta-sub {
    font-size: 14.5px; color: var(--text-2); line-height: 1.55;
    max-width: 540px; margin: 0 0 20px; letter-spacing: -0.005em;
  }
  .cta-actions { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: flex-start; gap: 18px; }
  .cta-actions-divider { width: 1px; height: 18px; background: var(--line-2); }
  .cta-phone {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--text-3); font-family: var(--font-mono); letter-spacing: 0.04em;
  }
  .cta-phone-num {
    color: var(--text-1); font-weight: 500;
    border-bottom: 1px solid var(--line-3);
    transition: border-color 180ms ease, color 180ms ease;
  }
  .cta-phone-num:hover { color: var(--accent); border-bottom-color: var(--accent); }

  @media (max-width: 640px) {
    .cta-inner { gap: 14px; }
    .cta-icon { width: clamp(82px, 22vw, 120px); }
    .cta-actions { gap: 14px; }
  }

  /* ========================================================================
     FOOTER
     ======================================================================== */

  footer {
    padding: 100px 0 40px;
    border-top: 1px solid var(--line-1);
    background: var(--bg); color: var(--text-2);
    position: relative; z-index: 2;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(28px, 3vw, 48px);
    margin-bottom: 60px;
  }
  @media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }
  .footer-brand .logo-img { height: 32px; width: auto; margin-bottom: 18px; }
  .footer-brand p { font-size: 13.5px; color: var(--text-3); line-height: 1.6; max-width: 280px; }
  .footer-col h4 {
    font-size: 12px; text-transform: uppercase;
    letter-spacing: 0.14em; font-weight: 600;
    color: var(--text-3); margin-bottom: 18px;
    font-family: var(--font-mono);
  }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .footer-col a { color: var(--text-2); font-size: 13.5px; transition: color 160ms ease; }
  .footer-col a:hover { color: var(--text-1); }
  .footer-col a.is-current { color: var(--accent); }
  .footer-contact { font-size: 13px; color: var(--text-2); line-height: 1.65; }
  .footer-contact strong { color: var(--text-1); font-weight: 500; }
  .footer-contact a { color: var(--text-2); }
  .footer-contact a:hover { color: var(--accent); }
  .footer-bottom {
    padding-top: 28px; border-top: 1px solid var(--line-1);
    display: grid; grid-template-columns: 1fr auto 1fr;
    align-items: center; gap: 18px;
    font-size: 12px; color: var(--text-3);
  }
  .footer-copyright { justify-self: start; }
  .footer-legal { grid-area: 1 / 3; justify-self: end; text-align: right; }
  .footer-legal a { color: var(--text-2); text-decoration: none; transition: color 180ms ease; }
  .footer-legal a:hover { color: var(--text-1); }
  .footer-bottom .footer-social { grid-area: 1 / 2; justify-self: center; }
  @media (max-width: 640px) {
    .footer-bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .footer-copyright, .footer-legal, .footer-bottom .footer-social { justify-self: center; }
  }
  .footer-bottom a { color: var(--text-3); transition: color 160ms ease; }
  .footer-bottom a:hover { color: var(--text-1); }
  .footer-social { display: inline-flex; gap: 14px; align-items: center; }
  .footer-social a {
    width: 30px; height: 30px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line-2); border-radius: 6px;
    transition: border-color 180ms ease, color 180ms ease;
  }
  .footer-social a:hover { border-color: var(--line-3); color: var(--text-1); }
  
  /* ============================================================
     NAV MENU v3 — Antimetal-like : 3 colonnes.
     Zone gauche "Expertises" (2 sous-colonnes : 3 + 4 items) avec
     icones aux couleurs JCD ; zone droite "Decouvrir" monochrome
     blanc/gris (Assistance, Contact, Carrieres). Sous-items
     Informatique : accordeon inline maitrise.
     ============================================================ */
  #nav-expertises-panel.nav-panel { width: min(600px, calc(100vw - 32px)); }
  #nav-expertises-panel .nav-panel__shell {
    padding: 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
  }

  .nm-zone {
    display: flex;
    flex-direction: column;
    padding: 6px 4px 6px 6px;
    min-width: 0;
  }

  .nm-eyebrow {
    display: block;
    padding: 6px 10px 10px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.42);
    text-transform: uppercase;
  }

  /* Grille 2 sous-colonnes pour les expertises */
  .nm-zone--expertises .nm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 4px;
    align-items: start;
  }

  .nm-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; min-width: 0; }
  .nm-group { position: relative; display: flex; flex-direction: column; }

  .nm-item {
    --nm-c: rgba(255, 255, 255, 0.65);
    --nm-c-soft: rgba(255, 255, 255, 0.06);
    --nm-c-soft-2: rgba(255, 255, 255, 0.14);
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 8px 10px;
    color: rgba(244, 244, 244, 0.78);
    text-decoration: none;
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    isolation: isolate;
    transition:
      background-color 240ms cubic-bezier(0.22, 1, 0.36, 1),
      color 240ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nm-item:hover,
  .nm-item:focus-visible,
  .nm-group[data-expanded="true"] > .nm-item {
    background-color: rgba(255, 255, 255, 0.04);
    color: #f4f4f4;
    outline: none;
  }
  .nm-item:focus-visible { box-shadow: inset 0 0 0 1px rgba(46, 114, 186, 0.45); }

  /* Couleurs par expertise — applique uniquement dans la zone Expertises */
  .nm-zone--expertises .nm-item[data-c="info"]       { --nm-c: #2E72BA; --nm-c-soft: rgba(46, 114, 186, 0.13); --nm-c-soft-2: rgba(46, 114, 186, 0.28); }
  .nm-zone--expertises .nm-item[data-c="service"]    { --nm-c: #E51D29; --nm-c-soft: rgba(229, 29, 41, 0.12);  --nm-c-soft-2: rgba(229, 29, 41, 0.26); }
  .nm-zone--expertises .nm-item[data-c="dev"]        { --nm-c: #F9D605; --nm-c-soft: rgba(249, 214, 5, 0.13);  --nm-c-soft-2: rgba(249, 214, 5, 0.30); }
  .nm-zone--expertises .nm-item[data-c="print"]      { --nm-c: #F3941D; --nm-c-soft: rgba(243, 148, 29, 0.12); --nm-c-soft-2: rgba(243, 148, 29, 0.26); }
  .nm-zone--expertises .nm-item[data-c="telecom"]    { --nm-c: #B063AC; --nm-c-soft: rgba(176, 99, 172, 0.14); --nm-c-soft-2: rgba(176, 99, 172, 0.28); }
  .nm-zone--expertises .nm-item[data-c="formation"]  { --nm-c: #8EC041; --nm-c-soft: rgba(142, 192, 65, 0.13); --nm-c-soft-2: rgba(142, 192, 65, 0.27); }
  .nm-zone--expertises .nm-item[data-c="agencement"] { --nm-c: #A78D75; --nm-c-soft: rgba(167, 141, 117, 0.15); --nm-c-soft-2: rgba(167, 141, 117, 0.30); }

  /* Zone Decouvrir : monochrome blanc/gris, palette neutre */

  /* Tuile icone */
  .nm-icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--nm-c-soft);
    border: 1px solid var(--nm-c-soft-2);
    border-radius: 9px;
    color: var(--nm-c);
    transition:
      transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
      background 320ms cubic-bezier(0.22, 1, 0.36, 1),
      border-color 320ms cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nm-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    transition: transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nm-item:hover .nm-icon,
  .nm-item:focus-visible .nm-icon,
  .nm-item.is-current .nm-icon,
  .nm-group[data-expanded="true"] > .nm-item .nm-icon {
    background: var(--nm-c-soft-2);
    border-color: var(--nm-c-soft-2);
    box-shadow:
      inset 0 0 0 1px var(--nm-c-soft-2);
  }
  .nm-item:hover .nm-icon svg,
  .nm-item:focus-visible .nm-icon svg,
  .nm-group[data-expanded="true"] > .nm-item .nm-icon svg {
    transform: rotate(-6deg) scale(1.12);
  }
  /* Decouvrir : pas de glow colore (palette neutre) */

  .nm-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .nm-title {
    font-size: 13.5px;
    font-weight: 500;
    color: #f4f4f4;
    letter-spacing: -0.005em;
    line-height: 1.15;
  }
  .nm-sub-label {
    font-size: 12px;
    font-weight: 400;
    color: rgba(244, 244, 244, 0.45);
    letter-spacing: -0.003em;
    line-height: 1.3;
    transition: color 240ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nm-item:hover .nm-sub-label,
  .nm-item:focus-visible .nm-sub-label,
  .nm-group[data-expanded="true"] > .nm-item .nm-sub-label { color: rgba(244, 244, 244, 0.65); }

  /* Accordeon : sous-items d'Informatique */
  .nm-sub {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transform: translateY(-3px);
    transition:
      grid-template-rows 360ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 240ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nm-group[data-expanded="true"] .nm-sub {
    grid-template-rows: 1fr;
    opacity: 1;
    transform: translateY(0);
    transition:
      grid-template-rows 420ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 320ms cubic-bezier(0.22, 1, 0.36, 1) 60ms,
      transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nm-sub-wrap { overflow: hidden; min-height: 0; }
  .nm-sub-list {
    list-style: none;
    margin: 0;
    padding: 4px 10px 8px 58px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    position: relative;
  }
  .nm-sub-list::before {
    content: "";
    position: absolute;
    top: 6px; bottom: 10px; left: 28px;
    width: 1px;
    background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.08) 60%,
      rgba(255, 255, 255, 0.04) 100%);
    opacity: 0;
    transform-origin: top center;
    transform: scaleY(0.55);
    transition:
      opacity 280ms cubic-bezier(0.22, 1, 0.36, 1) 80ms,
      transform 380ms cubic-bezier(0.22, 1, 0.36, 1) 80ms;
  }
  .nm-group[data-expanded="true"] .nm-sub-list::before {
    opacity: 1;
    transform: scaleY(1);
  }
  .nm-sub-item {
    position: relative;
    display: flex;
    align-items: center;
    height: 28px;
    padding: 0 10px 0 14px;
    color: rgba(244, 244, 244, 0.55);
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 400;
    letter-spacing: -0.003em;
    line-height: 1;
    border-radius: 6px;
    opacity: 0;
    transform: translateX(-4px);
    transition:
      background-color 200ms cubic-bezier(0.22, 1, 0.36, 1),
      color 200ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 260ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nm-group[data-expanded="true"] .nm-sub-item { opacity: 1; transform: translateX(0); }
  .nm-group[data-expanded="true"] .nm-sub-item:nth-child(1) { transition-delay: 0ms, 0ms, 100ms, 100ms; }
  .nm-group[data-expanded="true"] .nm-sub-item:nth-child(2) { transition-delay: 0ms, 0ms, 160ms, 160ms; }
  .nm-group[data-expanded="true"] .nm-sub-item:nth-child(3) { transition-delay: 0ms, 0ms, 220ms, 220ms; }
  .nm-group[data-expanded="true"] .nm-sub-item:nth-child(4) { transition-delay: 0ms, 0ms, 280ms, 280ms; }
  .nm-sub-item::before {
    content: "";
    position: absolute;
    left: -13px;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--nm-c, currentColor);
    opacity: 0;
    transition:
      transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 220ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nm-sub-item:hover,
  .nm-sub-item:focus-visible {
    color: #f4f4f4;
    background-color: rgba(255, 255, 255, 0.04);
    outline: none;
  }
  .nm-sub-item:hover::before,
  .nm-sub-item:focus-visible::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  .nm-sub-item:focus-visible { box-shadow: inset 0 0 0 1px rgba(46, 114, 186, 0.40); }

  /* ── Sous-items Informatique : icônes distinctives par domaine ──────────
     (surcharge : remplace la pastille générique par une icône dédiée) */
  .nm-sub-list { padding-left: 16px; }
  .nm-sub-list::before { display: none; }
  .nm-sub-item {
    height: 34px;
    padding: 0 10px;
    gap: 11px;
    color: rgba(244, 244, 244, 0.58);
  }
  .nm-sub-item::before { display: none; }
  .nm-sub-tx { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nm-sub-ic {
    flex: 0 0 auto;
    width: 27px; height: 27px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 7px;
    color: rgba(46, 114, 186, 0.9);
    background: rgba(46, 114, 186, 0.09);
    border: 1px solid rgba(46, 114, 186, 0.18);
    transition:
      color 280ms cubic-bezier(0.22, 1, 0.36, 1),
      background 280ms cubic-bezier(0.22, 1, 0.36, 1),
      border-color 280ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nm-sub-ic svg { width: 15px; height: 15px; display: block; }
  .nm-sub-item:hover .nm-sub-ic,
  .nm-sub-item:focus-visible .nm-sub-ic,
  .nm-sub-item.is-current .nm-sub-ic {
    color: #6aa6e0;
    background: rgba(46, 114, 186, 0.17);
    border-color: rgba(46, 114, 186, 0.36);
    transform: scale(1.06) rotate(-4deg);
  }
  .nm-sub-item.is-current { color: #f4f4f4; background-color: rgba(46, 114, 186, 0.10); }
  @media (prefers-reduced-motion: reduce) {
    .nm-sub-ic { transition-duration: 80ms; }
    .nm-sub-item:hover .nm-sub-ic, .nm-sub-item:focus-visible .nm-sub-ic { transform: none; }
  }

  @media (max-width: 820px) {
    #nav-expertises-panel.nav-panel { width: calc(100vw - 24px); }
    #nav-expertises-panel .nav-panel__shell {
      grid-template-columns: 1fr;
      padding: 6px;
      border-radius: 14px;
    }
    .nm-zone--expertises .nm-grid { grid-template-columns: 1fr; }
  }
  @media (prefers-reduced-motion: reduce) {
    .nm-icon, .nm-icon svg, .nm-sub, .nm-sub-item, .nm-sub-list::before,
    .nm-item, .nm-sub-label {
      transition-duration: 80ms !important;
    }
  }

  
  /* ============================================================
     MEGA MENU CATALOGUE — panneau du catalogue des formations.
     Rail gauche : 13 catégories (tuiles teintées par catégorie,
     couleurs héritées du catalogue jcd-formation.fr). Scène
     droite : formations de la catégorie active. Recherche
     instantanée plein catalogue. Pied Qualiopi / TOSA.
     ============================================================ */
  #nav-catalogue-panel.nav-panel { width: min(920px, calc(100vw - 32px)); }
  #nav-catalogue-panel .nav-panel__shell {
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
  }

  /* Trigger : chevron sombre sur pastille lime + état ouvert */
  .nav-pill__item--catalogue .nav-chevron { color: rgba(10, 10, 10, 0.72); opacity: 0.8; }
  .nav-pill__item--catalogue:hover .nav-chevron { opacity: 1; }
  .nav-pill__item--catalogue[aria-expanded="true"] { color: #0a0a0a; background: rgba(255, 255, 255, 0.16); }
  .nav-pill__item--catalogue[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); opacity: 1; }

  /* — Tête : recherche + compteur — */
  .ncat-head {
    display: flex; align-items: center; gap: 16px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .ncat-search { position: relative; flex: 1; display: flex; align-items: center; min-width: 0; }
  .ncat-search > svg {
    position: absolute; left: 13px; width: 15px; height: 15px;
    color: var(--text-3); pointer-events: none;
    transition: color 240ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .ncat-search:focus-within > svg { color: var(--accent); }
  .ncat-input {
    width: 100%; height: 38px;
    padding: 0 76px 0 38px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--text-1);
    font-family: var(--font); font-size: 13.5px; letter-spacing: -0.005em;
    transition:
      background 240ms cubic-bezier(0.22, 1, 0.36, 1),
      border-color 240ms cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 240ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .ncat-input::placeholder { color: var(--text-3); }
  .ncat-input::-webkit-search-cancel-button { display: none; }
  .ncat-input:hover { background: rgba(255, 255, 255, 0.045); border-color: rgba(255, 255, 255, 0.12); }
  .ncat-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(142, 192, 65, 0.45);
    box-shadow: 0 0 0 3px rgba(142, 192, 65, 0.12);
  }
  .ncat-kbd {
    position: absolute; right: 10px;
    pointer-events: none;
    font-family: var(--font-mono); font-size: 9.5px; line-height: 1;
    letter-spacing: 0.05em;
    color: var(--text-4);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 5px;
    padding: 3px 6px 4px;
    opacity: 0;
    transform: translateX(3px);
    transition: opacity 240ms cubic-bezier(0.22, 1, 0.36, 1), transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .ncat-search.has-query .ncat-kbd { opacity: 1; transform: translateX(0); }
  .ncat-meta {
    font-family: var(--font-mono); font-size: 10.5px;
    letter-spacing: 0.07em; text-transform: uppercase;
    color: var(--text-3); white-space: nowrap;
  }
  .ncat-meta strong { color: var(--text-1); font-weight: 500; }

  /* — Corps : rail catégories + scène — */
  .ncat-body { display: grid; grid-template-columns: 286px minmax(0, 1fr); min-height: 0; }
  .ncat-rail {
    list-style: none; margin: 0; padding: 10px 8px;
    display: flex; flex-direction: column; gap: 1px;
    max-height: 448px; overflow-y: auto; overscroll-behavior: contain;
    scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.14) transparent;
  }
  .ncat-cat {
    --cc: 142, 192, 65;
    position: relative;
    display: flex; align-items: center; gap: 10px;
    width: 100%; padding: 5px 8px;
    border-radius: 9px;
    color: rgba(244, 244, 244, 0.72);
    text-decoration: none;
    transition:
      background-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
      color 220ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .ncat-cat-ic {
    flex: 0 0 auto; width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px;
    color: rgb(var(--cc));
    background: rgba(var(--cc), 0.10);
    border: 1px solid rgba(var(--cc), 0.20);
    transition:
      background 260ms cubic-bezier(0.22, 1, 0.36, 1),
      border-color 260ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .ncat-cat-ic svg { width: 14.5px; height: 14.5px; display: block; }
  .ncat-cat-tx {
    font-size: 12.8px; font-weight: 500; letter-spacing: -0.005em; line-height: 1.2;
    min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .ncat-cat-n {
    margin-left: auto; flex: 0 0 auto;
    font-family: var(--font-mono); font-size: 10px; line-height: 1;
    color: var(--text-4);
    padding: 4px 7px; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.02);
    transition:
      color 240ms cubic-bezier(0.22, 1, 0.36, 1),
      border-color 240ms cubic-bezier(0.22, 1, 0.36, 1),
      background 240ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .ncat-cat-go {
    flex: 0 0 auto; width: 11px; height: 11px;
    color: rgb(var(--cc));
    opacity: 0; transform: translateX(-4px);
    transition: opacity 240ms cubic-bezier(0.22, 1, 0.36, 1), transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .ncat-cat:hover, .ncat-cat:focus-visible, .ncat-cat[aria-selected="true"] {
    background-color: rgba(255, 255, 255, 0.045);
    color: #f4f4f4;
    outline: none;
  }
  .ncat-cat[aria-selected="true"] .ncat-cat-ic {
    background: rgba(var(--cc), 0.18);
    border-color: rgba(var(--cc), 0.38);
    transform: scale(1.05) rotate(-4deg);
  }
  .ncat-cat[aria-selected="true"] .ncat-cat-n {
    color: rgba(244, 244, 244, 0.75);
    border-color: rgba(var(--cc), 0.30);
    background: rgba(var(--cc), 0.10);
  }
  .ncat-cat[aria-selected="true"] .ncat-cat-go { opacity: 0.9; transform: translateX(0); }
  .ncat-cat:focus-visible { box-shadow: inset 0 0 0 1px rgba(142, 192, 65, 0.45); }
  .ncat-cat.is-current .ncat-cat-tx { color: #ffffff; }

  /* — Scène — */
  .ncat-stage {
    position: relative;
    padding: 14px 16px 0 18px;
    display: flex; flex-direction: column; min-width: 0;
    max-height: 448px;
  }
  .ncat-stage::before {
    content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.08) 18%, rgba(255, 255, 255, 0.08) 82%, transparent);
    pointer-events: none;
  }
  .ncat-scroll { display: flex; flex-direction: column; min-height: 0; }

  .ncat-group { --cc: 142, 192, 65; display: none; flex-direction: column; min-height: 0; }
  .ncat-group.is-active { display: flex; animation: ncat-in 300ms cubic-bezier(0.22, 1, 0.36, 1) both; }
  @keyframes ncat-in {
    from { opacity: 0; transform: translateY(7px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .ncat-group-head { display: flex; align-items: flex-start; gap: 14px; padding: 2px 4px 12px; }
  .ncat-group-id { min-width: 0; }
  .ncat-group-title {
    font-size: 15.5px; font-weight: 600; letter-spacing: -0.015em;
    color: var(--text-1); line-height: 1.15;
    display: flex; align-items: center; gap: 9px;
  }
  .ncat-group-title::before {
    content: ""; width: 7px; height: 7px; border-radius: 2.5px;
    background: rgb(var(--cc));
    box-shadow: 0 0 10px rgba(var(--cc), 0.55);
    flex: 0 0 auto;
  }
  .ncat-group-desc { margin-top: 4px; font-size: 12px; color: var(--text-3); letter-spacing: -0.003em; line-height: 1.45; }
  .ncat-group-all {
    margin-left: auto; flex: 0 0 auto;
    display: inline-flex; align-items: center; gap: 7px;
    height: 30px; padding: 0 12px;
    border-radius: 999px;
    font-size: 12px; font-weight: 500; color: rgba(244, 244, 244, 0.88);
    background: rgba(var(--cc), 0.10);
    border: 1px solid rgba(var(--cc), 0.26);
    text-decoration: none; white-space: nowrap;
    transition:
      background 260ms cubic-bezier(0.22, 1, 0.36, 1),
      border-color 260ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .ncat-group-all svg { width: 12px; height: 12px; color: rgb(var(--cc)); transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1); }
  .ncat-group-all:hover, .ncat-group-all:focus-visible {
    background: rgba(var(--cc), 0.17);
    border-color: rgba(var(--cc), 0.46);
    transform: translateY(-1px);
    outline: none;
  }
  .ncat-group-all:hover svg { transform: translateX(2px); }

  .ncat-list {
    list-style: none; margin: 0; padding: 0 6px 16px 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; align-content: start;
    overflow-y: auto; min-height: 0; overscroll-behavior: contain;
    scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.14) transparent;
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 24px), transparent 100%);
            mask-image: linear-gradient(180deg, #000 calc(100% - 24px), transparent 100%);
  }
  .ncat-group[data-few="true"] .ncat-list { grid-template-columns: 1fr; }
  .ncat-rail::-webkit-scrollbar, .ncat-list::-webkit-scrollbar, .ncat-scroll::-webkit-scrollbar { width: 9px; }
  .ncat-rail::-webkit-scrollbar-thumb, .ncat-list::-webkit-scrollbar-thumb, .ncat-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.10);
    border-radius: 99px;
    border: 3px solid transparent;
    background-clip: padding-box;
  }
  .ncat-rail::-webkit-scrollbar-thumb:hover, .ncat-list::-webkit-scrollbar-thumb:hover, .ncat-scroll::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.18);
  }
  .ncat-item {
    position: relative;
    display: flex; align-items: flex-start; gap: 9px;
    padding: 6px 9px;
    border-radius: 8px;
    color: rgba(244, 244, 244, 0.60);
    font-size: 12.5px; line-height: 1.35; letter-spacing: -0.003em;
    text-decoration: none;
    transition:
      background-color 200ms cubic-bezier(0.22, 1, 0.36, 1),
      color 200ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .ncat-item[hidden] { display: none; }
  .ncat-dot {
    flex: 0 0 auto; width: 4px; height: 4px; margin-top: 6.5px;
    border-radius: 50%;
    background: currentColor; opacity: 0.4;
    transition:
      background 220ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 220ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .ncat-item:hover, .ncat-item:focus-visible {
    color: #f4f4f4;
    background-color: rgba(255, 255, 255, 0.04);
    outline: none;
  }
  .ncat-item:hover .ncat-dot, .ncat-item:focus-visible .ncat-dot {
    background: rgb(var(--cc));
    opacity: 1;
    transform: scale(1.35);
    box-shadow: 0 0 8px rgba(var(--cc), 0.6);
  }
  .ncat-item:focus-visible { box-shadow: inset 0 0 0 1px rgba(142, 192, 65, 0.40); }

  /* — Mode recherche : tous les groupes filtrés, rail en retrait — */
  .ncat-body.is-searching .ncat-rail {
    opacity: 0.35; pointer-events: none;
    transition: opacity 280ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .ncat-body.is-searching .ncat-scroll { overflow-y: auto; overscroll-behavior: contain; padding-bottom: 12px; }
  .ncat-body.is-searching .ncat-group { display: flex; animation: none; }
  .ncat-body.is-searching .ncat-group[data-empty="true"] { display: none; }
  .ncat-body.is-searching .ncat-group-head { padding: 8px 4px 4px; }
  .ncat-body.is-searching .ncat-group-title {
    font-family: var(--font-mono); font-size: 10px; font-weight: 500;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-3);
  }
  .ncat-body.is-searching .ncat-group-title::before { width: 6px; height: 6px; }
  .ncat-body.is-searching .ncat-group-desc, .ncat-body.is-searching .ncat-group-all { display: none; }
  .ncat-body.is-searching .ncat-list {
    overflow: visible; padding-bottom: 4px;
    -webkit-mask-image: none; mask-image: none;
  }

  /* — État vide — */
  .ncat-void {
    display: none;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 10px;
    padding: 44px 20px;
    color: var(--text-3);
    font-size: 13px; letter-spacing: -0.005em;
    text-align: center;
  }
  .ncat-void svg { width: 26px; height: 26px; color: var(--text-4); }
  .ncat-body.is-searching.no-results .ncat-void { display: flex; }
  .ncat-body.is-searching.no-results .ncat-scroll { display: none; }
  .ncat-void-reset {
    margin-top: 2px;
    display: inline-flex; align-items: center;
    height: 30px; padding: 0 14px;
    border-radius: 999px;
    font-size: 12px; font-weight: 500;
    color: var(--text-1);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    transition:
      background 240ms cubic-bezier(0.22, 1, 0.36, 1),
      border-color 240ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .ncat-void-reset:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.18); }
  .ncat-void-reset:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

  /* — Pied : certifications + conseil — */
  .ncat-foot {
    display: flex; align-items: center; gap: 14px;
    padding: 10px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.015);
    border-radius: 0 0 18px 18px;
  }
  .ncat-foot-note {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11.5px; color: var(--text-3); letter-spacing: -0.003em;
    min-width: 0;
  }
  .ncat-foot-note svg { width: 13px; height: 13px; color: var(--accent); flex: 0 0 auto; }
  .ncat-foot-cta {
    margin-left: auto;
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12px; font-weight: 500; color: var(--text-1);
    text-decoration: none; white-space: nowrap;
    padding: 6px 11px; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.03);
    transition:
      background 240ms cubic-bezier(0.22, 1, 0.36, 1),
      border-color 240ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .ncat-foot-cta svg { width: 12px; height: 12px; color: var(--accent); transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1); }
  .ncat-foot-cta:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.18); }
  .ncat-foot-cta:hover svg { transform: translateX(2px); }
  .ncat-foot-cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

  @media (max-width: 980px) {
    .ncat-body { grid-template-columns: 240px minmax(0, 1fr); }
    .ncat-list { grid-template-columns: 1fr; }
  }
  @media (prefers-reduced-motion: reduce) {
    .ncat-group.is-active { animation: none; }
    .ncat-cat, .ncat-cat-ic, .ncat-cat-n, .ncat-cat-go, .ncat-item, .ncat-dot,
    .ncat-group-all, .ncat-group-all svg, .ncat-foot-cta svg, .ncat-input, .ncat-kbd {
      transition-duration: 80ms !important;
    }
    .ncat-cat[aria-selected="true"] .ncat-cat-ic { transform: none; }
    .ncat-item:hover .ncat-dot, .ncat-item:focus-visible .ncat-dot { transform: none; }
  }

  /* ============================================================
     PAGE FORMATION TYPE — généré par _catalogue/build_catalogue.py.
     Contenus préremplis (exemple canonique : Excel initiation),
     destinés à être pilotés par Directus. Chaque zone éditoriale
     porte un attribut data-field="<champ>" pour le câblage.
     La teinte --cat est hydratée depuis ?cat=<slug>.
     ============================================================ */
  :root { --cat: 142, 192, 65; }

  /* — Transitions de page natives (View Transitions cross-document) — */
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) {
    animation-duration: 300ms;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  }
  .navbar { view-transition-name: jcd-nav; }
  ::view-transition-old(jcd-nav), ::view-transition-new(jcd-nav) { animation: none; }
  @media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root), ::view-transition-new(root),
    ::view-transition-old(jcd-nav), ::view-transition-new(jcd-nav) { animation: none; }
  }

  /* — Fil de progression de lecture, teinté catégorie — */
  .scroll-progress {
    position: fixed; top: 0; left: 0; right: 0;
    height: 2px; z-index: 130;
    pointer-events: none;
    background: linear-gradient(90deg, rgb(var(--cat)) 0%, rgba(var(--cat), 0.35) 100%);
    transform-origin: 0 50%;
    transform: scaleX(var(--sp, 0));
  }

  /* — Spotlight curseur sur les blocs de contenu — */
  .fd-card, .fd-certif { position: relative; }
  .fd-card::before, .fd-certif::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    background: radial-gradient(170px circle at var(--mx, 50%) var(--my, 30%), rgba(var(--cat), 0.09) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
  }
  .fd-card:hover::before, .fd-certif:hover::before { opacity: 1; }

  /* — HERO fiche formation — */
  .fd-hero {
    position: relative;
    padding: clamp(132px, 16vh, 172px) 0 clamp(36px, 5vw, 56px);
    overflow: hidden;
    isolation: isolate;
  }
  .fd-hero::before {
    content: ""; position: absolute; inset: -20% -10% auto -10%; height: 520px;
    background:
      radial-gradient(55% 70% at 22% 28%, rgba(var(--cat), 0.12) 0%, transparent 62%),
      radial-gradient(40% 55% at 74% 16%, rgba(var(--cat), 0.06) 0%, transparent 60%);
    filter: blur(34px);
    z-index: -2; pointer-events: none;
  }
  .fd-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 100% 28px;
    opacity: 0.5;
    -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 28%, #000 12%, rgba(0,0,0,0.3) 60%, transparent 100%);
            mask-image: radial-gradient(ellipse 85% 70% at 50% 28%, #000 12%, rgba(0,0,0,0.3) 60%, transparent 100%);
  }
  .crumbs {
    display: inline-flex; align-items: center; flex-wrap: wrap; gap: 9px;
    font-family: var(--font-mono); font-size: 10.5px;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 24px;
  }
  .crumbs a { color: var(--text-3); transition: color 200ms var(--ease-out); }
  .crumbs a:hover { color: var(--text-1); }
  .crumbs-sep { color: var(--text-4); }
  .crumbs [aria-current="page"] { color: var(--text-2); }
  .fd-hero .eyebrow { margin-bottom: 18px; }
  .fd-title {
    font-size: clamp(30px, 4.2vw, 50px);
    font-weight: 600; line-height: 1.05; letter-spacing: -0.035em;
    max-width: 820px;
  }
  .cat-dot { color: rgb(var(--cat)); }
  .fd-hero-meta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
  .chip {
    display: inline-flex; align-items: center; gap: 7px;
    height: 30px; padding: 0 13px;
    border-radius: 999px;
    font-size: 12px; color: var(--text-2); letter-spacing: -0.003em;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line-2);
  }
  .chip strong { color: var(--text-1); font-weight: 600; }
  .chip svg { width: 12.5px; height: 12.5px; color: rgb(var(--cat)); flex: 0 0 auto; }
  .chip--cat { border-color: rgba(var(--cat), 0.35); background: rgba(var(--cat), 0.08); color: var(--text-1); }

  /* — LAYOUT contenu + aside sticky — */
  .fd-body { padding: clamp(20px, 3vw, 40px) 0 clamp(48px, 7vw, 96px); }
  .fd-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
  }
  .fd-main { min-width: 0; display: flex; flex-direction: column; gap: clamp(34px, 4.2vw, 52px); }

  .fd-section-head {
    display: flex; align-items: baseline; gap: 14px;
    margin-bottom: 16px;
  }
  .fd-section-num {
    font-family: var(--font-mono); font-size: 11px; color: rgb(var(--cat));
    letter-spacing: 0.06em; flex: 0 0 auto;
  }
  .fd-section-title {
    font-size: clamp(19px, 2.2vw, 25px); font-weight: 600; letter-spacing: -0.025em;
    line-height: 1.15;
  }
  .fd-section-sub { margin-top: 6px; font-size: 13px; color: var(--text-3); letter-spacing: -0.005em; }

  /* Objectifs : checklist éditoriale nue — coche colorée directe,
     sans capsule ni cadre ; deux colonnes quand la place le permet. */
  .fd-goals {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 13px 30px;
  }
  .fd-goal {
    display: flex; align-items: flex-start; gap: 11px;
    font-size: 14px; line-height: 1.55; color: var(--text-1); letter-spacing: -0.008em;
  }
  .fd-goal-ic {
    flex: 0 0 auto; width: 17px; height: 17px; margin-top: 2px;
    display: inline-flex; align-items: center; justify-content: center;
    color: rgb(var(--cat));
  }
  .fd-goal-ic svg { width: 13px; height: 13px; }

  /* Programme : accordéon en cahier unifié — un seul conteneur, modules
     séparés par des filets fins, module ouvert marqué d'une barre d'accent
     latérale et d'un voile teinté (au lieu de N cartes bordées). */
  .fd-acc {
    display: flex; flex-direction: column;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.012) 100%);
    border: 1px solid var(--line-1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    overflow: hidden;
  }
  .fd-mod {
    position: relative;
    transition: background 360ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .fd-mod + .fd-mod { border-top: 1px solid var(--line-1); }
  .fd-mod::before {   /* barre d'accent du module ouvert */
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
    background: rgb(var(--cat));
    transform: scaleY(0); transform-origin: 50% 0;
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
  }
  .fd-mod[data-open="true"] { background: rgba(var(--cat), 0.045); }
  .fd-mod[data-open="true"]::before { transform: scaleY(1); }
  .fd-mod-btn {
    display: flex; align-items: center; gap: 14px;
    width: 100%;
    padding: 13px 18px;
    text-align: left;
    color: var(--text-1);
    transition: background 240ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .fd-mod-btn:hover { background: rgba(255, 255, 255, 0.025); }
  .fd-mod-btn:focus-visible { outline: 2px solid rgb(var(--cat)); outline-offset: -2px; }
  .fd-mod-num {
    flex: 0 0 auto;
    font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em;
    color: var(--text-4);
    transition: color 320ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .fd-mod[data-open="true"] .fd-mod-num, .fd-mod-btn:hover .fd-mod-num { color: rgb(var(--cat)); }
  .fd-mod-title { flex: 1; font-size: 14.5px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
  .fd-mod-chev {
    flex: 0 0 auto; width: 24px; height: 24px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 999px;
    color: var(--text-3);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line-2);
    transition:
      transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
      color 280ms cubic-bezier(0.22, 1, 0.36, 1),
      border-color 280ms cubic-bezier(0.22, 1, 0.36, 1),
      background 280ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .fd-mod-chev svg { width: 11px; height: 11px; }
  .fd-mod[data-open="true"] .fd-mod-chev {
    transform: rotate(180deg);
    color: rgb(var(--cat));
    background: rgba(var(--cat), 0.12);
    border-color: rgba(var(--cat), 0.30);
  }
  .fd-mod-body {
    display: grid; grid-template-rows: 0fr;
    opacity: 0;
    transition:
      grid-template-rows 420ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 300ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .fd-mod[data-open="true"] .fd-mod-body {
    grid-template-rows: 1fr;
    opacity: 1;
  }
  .fd-mod-wrap { overflow: hidden; min-height: 0; }
  .fd-mod-list {
    list-style: none; margin: 0; padding: 2px 18px 16px 18px;
    display: flex; flex-direction: column; gap: 7px;
  }
  .fd-mod-list li {
    position: relative;
    padding-left: 18px;
    font-size: 13.5px; line-height: 1.5; color: var(--text-2); letter-spacing: -0.005em;
  }
  .fd-mod-list li::before {
    content: ""; position: absolute; left: 4px; top: 9px;
    width: 4px; height: 4px; border-radius: 50%;
    background: rgba(var(--cat), 0.75);
  }

  /* Cartes d'information (public, prérequis, modalités…) */
  .fd-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .fd-card {
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.012) 100%);
    border: 1px solid var(--line-1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  }
  .fd-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
  .fd-card-ic {
    flex: 0 0 auto; width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px;
    color: rgb(var(--cat));
    background: rgba(var(--cat), 0.10);
    border: 1px solid rgba(var(--cat), 0.22);
  }
  .fd-card-ic svg { width: 14px; height: 14px; }
  .fd-card-title { font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--text-1); }
  .fd-card-tx { font-size: 13.5px; line-height: 1.55; color: var(--text-2); letter-spacing: -0.005em; }

  /* Bandeau certification TOSA */
  .fd-certif {
    display: flex; align-items: center; gap: 18px;
    padding: 17px 20px;
    border-radius: 16px;
    background:
      radial-gradient(80% 140% at 0% 50%, rgba(var(--cat), 0.10) 0%, transparent 60%),
      linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.012) 100%);
    border: 1px solid rgba(var(--cat), 0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  }
  .fd-certif-ic {
    flex: 0 0 auto; width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px;
    color: rgb(var(--cat));
    background: rgba(var(--cat), 0.12);
    border: 1px solid rgba(var(--cat), 0.30);
  }
  .fd-certif-ic svg { width: 21px; height: 21px; }
  .fd-certif-tx { min-width: 0; }
  .fd-certif-title { font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--text-1); }
  .fd-certif-sub { margin-top: 3px; font-size: 12.5px; line-height: 1.5; color: var(--text-2); letter-spacing: -0.005em; }

  /* — Bouton "tout déplier" du programme — */
  .fd-section-head--prog { align-items: center; }
  .fd-section-head--prog > div { flex: 1; min-width: 0; }
  .fd-expand {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; gap: 7px;
    height: 30px; padding: 0 13px;
    border-radius: 999px;
    font-size: 12px; font-weight: 500; letter-spacing: -0.005em;
    color: var(--text-2);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line-2);
    white-space: nowrap;
    transition:
      color 240ms cubic-bezier(0.22, 1, 0.36, 1),
      background 240ms cubic-bezier(0.22, 1, 0.36, 1),
      border-color 240ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .fd-expand:hover { color: var(--text-1); background: rgba(255, 255, 255, 0.06); border-color: var(--line-3); }
  .fd-expand:focus-visible { outline: 2px solid rgb(var(--cat)); outline-offset: 2px; }
  .fd-expand svg {
    width: 11px; height: 11px; color: rgb(var(--cat));
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .fd-expand[data-open="true"] svg { transform: rotate(180deg); }

  /* — Sommaire scroll-spy (dans l'aside sticky) — */
  .fd-toc { display: flex; flex-direction: column; gap: 1px; margin-bottom: 18px; }
  .fd-toc-item {
    position: relative;
    display: flex; align-items: center; gap: 10px;
    padding: 7px 10px 7px 14px;
    border-radius: 8px;
    font-size: 12.5px; letter-spacing: -0.005em;
    color: var(--text-3);
    text-decoration: none;
    transition:
      color 240ms cubic-bezier(0.22, 1, 0.36, 1),
      background 240ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .fd-toc-item::before {
    content: ""; position: absolute; left: 0; top: 50%;
    transform: translateY(-50%) scaleY(0.4);
    width: 2px; height: 16px; border-radius: 2px;
    background: rgba(var(--cat), 0.0);
    transition:
      background 280ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .fd-toc-item:hover { color: var(--text-1); background: rgba(255, 255, 255, 0.03); }
  .fd-toc-item.is-active { color: var(--text-1); }
  .fd-toc-item.is-active::before { background: rgb(var(--cat)); transform: translateY(-50%) scaleY(1); }
  .fd-toc-n {
    font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.06em;
    color: var(--text-4);
    transition: color 240ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .fd-toc-item.is-active .fd-toc-n { color: rgb(var(--cat)); }
  .fd-toc-item:focus-visible { outline: 2px solid rgb(var(--cat)); outline-offset: 2px; }

  /* Ancres : dégage les titres de section sous la navbar fixe. */
  .fd-main > section { scroll-margin-top: 110px; }

  /* — ASIDE récapitulatif sticky — */
  .fd-aside { position: sticky; top: 104px; }
  .fd-aside-shell {
    padding: 6px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line-1);
  }
  .fd-aside-core {
    border-radius: 15px;
    background: linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.012) 100%);
    border: 1px solid var(--line-1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
    padding: 20px;
  }
  .fd-aside-label {
    font-family: var(--font-mono); font-size: 10px; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 14px;
    display: block;
  }
  .fd-facts { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; }
  .fd-fact {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 2px;
  }
  .fd-fact + .fd-fact { border-top: 1px solid var(--line-1); }
  .fd-fact-ic {
    flex: 0 0 auto; width: 30px; height: 30px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 9px;
    color: rgb(var(--cat));
    background: rgba(var(--cat), 0.10);
    border: 1px solid rgba(var(--cat), 0.22);
  }
  .fd-fact-ic svg { width: 14px; height: 14px; }
  .fd-fact-tx { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
  .fd-fact-k { font-size: 11px; color: var(--text-3); letter-spacing: 0.02em; text-transform: uppercase; font-family: var(--font-mono); }
  .fd-fact-v { font-size: 14px; font-weight: 500; color: var(--text-1); letter-spacing: -0.01em; line-height: 1.3; }
  .fd-fact-v small { font-size: 11.5px; font-weight: 400; color: var(--text-3); }
  .fd-aside-actions { display: flex; flex-direction: column; gap: 9px; }
  .fd-aside-actions .btn-cta { width: 100%; justify-content: center; }
  .btn-cta--ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-1);
    border-color: var(--line-2);
  }
  .btn-cta--ghost:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--line-3);
    transform: translateY(-1px);
  }
  .fd-aside-note {
    margin-top: 14px;
    display: flex; align-items: center; justify-content: center; gap: 7px;
    font-size: 11.5px; color: var(--text-3); letter-spacing: -0.003em;
    text-align: center;
  }
  .fd-aside-note svg { width: 12px; height: 12px; color: rgb(var(--cat)); flex: 0 0 auto; }
  .fd-aside-phone {
    margin-top: 12px; padding-top: 14px;
    border-top: 1px solid var(--line-1);
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font-mono); font-size: 12.5px; color: var(--text-3); letter-spacing: 0.04em;
  }
  .fd-aside-phone svg { width: 13px; height: 13px; }
  .fd-aside-phone a { color: var(--text-1); font-weight: 500; border-bottom: 1px solid var(--line-3); transition: color 180ms ease, border-color 180ms ease; }
  .fd-aside-phone a:hover { color: rgb(var(--cat)); border-bottom-color: rgb(var(--cat)); }

  @media (max-width: 960px) {
    .fd-layout { grid-template-columns: 1fr; }
    .fd-aside { position: static; order: -1; }
    .fd-cards { grid-template-columns: 1fr; }
    .fd-toc { display: none; }
  }

  /* Densite mobile (fiche formation) : cards & conteneurs plus compacts */
  @media (max-width: 640px) {
    .fd-hero { padding-top: 88px; padding-bottom: 22px; }
    .crumbs { margin-bottom: 16px; }
    .fd-hero-meta { margin-top: 16px; }
    .fd-body { padding-top: 14px; padding-bottom: 40px; }
    .fd-main { gap: 28px; }
    .fd-section-head { margin-bottom: 13px; }
    .fd-goals { gap: 10px 22px; }
    .fd-mod-btn { padding: 12px 14px; gap: 12px; }
    .fd-mod-list { padding: 2px 14px 13px; }
    .fd-card { padding: 14px 15px; }
    .fd-card-head { margin-bottom: 8px; }
    .fd-certif { padding: 15px 16px; gap: 13px; }
    .fd-certif-ic { width: 38px; height: 38px; }
    .fd-aside-shell { padding: 5px; }
    .fd-aside-core { padding: 16px; }
    .fd-facts { margin-bottom: 14px; }
    .fd-fact { padding: 9px 2px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .fd-mod, .fd-mod-btn, .fd-mod-num, .fd-mod-chev, .fd-mod-body,
    .fd-toc-item, .fd-toc-item::before, .fd-expand, .fd-expand svg { transition-duration: 80ms !important; }
    .scroll-progress { display: none; }
    .fd-card::before, .fd-certif::before { display: none; }
    .fd-mod::before { transition-duration: 80ms !important; }
  }

/* ==================================================================
   Ex-bloc inline <style id="jcd-mpolish-css"> - externalise le 2026-08-07
   ================================================================== */

@media (max-width:820px){
  /* Lisibilite : gris muets remontes au seuil WCAG AA sur fond sombre (#0a0a0a) */
  :root{ --text-3:#8f8f8f; --text-4:#8a8a8a; }
  /* Tap targets plus genereux sur les surfaces tappables principales */
  .footer-link{ display:inline-flex; align-items:center; min-height:40px; }
  .ct-level{ min-height:38px; }
  /* Heros animes coupes sur mobile : le canvas WebGL est masque, le fallback statique reste */
  canvas#heroMesh, canvas.hero-mesh{ display:none !important; }
}
/* Catalogue formation : toolbar empilee + chips filtrables en scroll + cartes pleine largeur */
@media (max-width:640px){
  .cat-toolbar{ top:70px; }
  .cat-toolbar-shell{ flex-direction:column; align-items:stretch; gap:9px; }
  .ct-search{ flex:1 1 auto; min-width:0; width:100%; }
  .ct-levels{ display:flex; width:100%; min-width:0; flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch; gap:6px; padding-bottom:2px; scrollbar-width:none; }
  .ct-levels::-webkit-scrollbar{ display:none; }
  .ct-level{ flex:0 0 auto; }
  .fcat-grid{ grid-template-columns:1fr !important; }
}

/* ==================================================================
   Ex-bloc inline <style id="jcd-ctamob-css"> - externalise le 2026-08-07
   ================================================================== */

@media (max-width:820px){
  /* Le fondu de droite (mask desktop) effacait le texte et le bouton sur mobile -> on le retire */
  .cta-section{ -webkit-mask-image:none !important; mask-image:none !important; }
  /* Layout empile : icone en haut, contenu pleine largeur (au lieu de icone | texte comprime a droite) */
  .cta-inner{ flex-direction:column !important; align-items:flex-start !important; gap:15px !important; max-width:none !important; }
  .cta-icon{ width:clamp(52px,15vw,70px) !important; }
  .cta-body{ width:100%; }
  .cta-title,.cta-sub{ max-width:none !important; }
  /* separateur vertical bouton|telephone : sans objet une fois empile */
  .cta-actions-divider{ display:none !important; }
  .cta-actions{ gap:13px 16px !important; }
}
