@charset "UTF-8";

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

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

  :root {
    /* ====== THÈME SOMBRE JCD — encre #0a0a0a + texte crème + bleu JCD ======
       Page carrières en sombre monochrome, cohérente avec le reste du site.
       Surfaces encre, texte clair, un seul accent (bleu JCD). Les sections
       « encre » (repli hero, bandeau CTA) utilisent les tokens --ink-*. */
    --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 UI = bleu gris repris de l'index (--accent-text #748099),
       au lieu du bleu JCD saturé. Les couleurs de marque (rainbow, pôles,
       aurora du hero, gradient « avance ») gardent leur bleu, elles n'utilisent
       pas ce token. */
    --accent: #748099;
    --accent-rgb: 116, 128, 153;
    --accent-hi: #97a3b8;
    --accent-soft: rgba(116, 128, 153, 0.10);
    --accent-line: rgba(116, 128, 153, 0.22);
    --accent-deep: #555f73;

    /* Sections sombres (bandeau CTA + footer) */
    --ink: #16140f;
    --ink-1: #211e17;
    --ink-line: rgba(255, 255, 255, 0.13);
    --ink-text: #ddd8cc;

    /* Système 7 couleurs JCD (un token par pôle) */
    --c-informatique: #2E72BA;
    --c-service:      #E51D29;
    --c-developpement:#F9D605;
    --c-print:        #F3941D;
    --c-telecom:      #B063AC;
    --c-formation:    #8EC041;
    --c-agencement:   #A78D75;
    --rainbow: linear-gradient(90deg,
      #2E72BA 0%, #F9D605 18%, #F3941D 34%,
      #E51D29 52%, #B063AC 68%, #8EC041 84%, #A78D75 100%);

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

    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    /* Police unique de la page = Inter. --font-mono / --font-serif sont
       conservés comme alias de --font pour ne pas réécrire leurs usages ;
       plus aucun chargement de JetBrains Mono ni Instrument Serif. */
    --font-mono: var(--font);
    --font-serif: var(--font);

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

  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--text-1);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.55;
    -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%25' height='100%25' 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: #fff; }

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

  /* Buttons */
  .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-primary { background: var(--text-1); color: #0a0a0a; }
  .btn-primary:hover { background: #fff; 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--primary { background: var(--text-1); color: #0a0a0a; }
  .btn-cta--primary:hover { background: #fff; transform: translateY(-1px); }
  .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 — Modal-like (bande pleine largeur + fade aux extrémités)
     Logo (g) · capsule centrale {Nos solutions ▾} · CTA Assistance/
     Contact (d). Le fond de la bande est fadé à 0 sur les bords via
     mask-image. Backdrop blur uniquement dans la zone visible.
     ================================================================ */
  .navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: 80px;
    display: flex;
    align-items: center;
    pointer-events: none;     /* le fond ne capture pas le pointer */
  }

  .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 cubic-bezier(0.22, 1, 0.36, 1);
    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 ------------------------------------------------------- */
  .logo {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    line-height: 0;
  }
  .logo .logo-img {
    display: block;
    flex: 0 0 auto;
    height: 40px;
    width: auto;
    aspect-ratio: 1530 / 482;
    transition: opacity 220ms var(--ease-out);
  }
  .logo:hover .logo-img { opacity: 0.72; }

  /* ----- Capsule centrale (Modal-like) ------------------------------ */
  .nav-center {
    justify-self: center;
    pointer-events: auto;
  }
  .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 cubic-bezier(0.22, 1, 0.36, 1),
      border-color 260ms cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 260ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .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 cubic-bezier(0.22, 1, 0.36, 1),
      background 200ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .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 cubic-bezier(0.22, 1, 0.36, 1),
      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;
  }

  /* ----- 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);
  }

  /* ----- Pillule droite : Assistance + Contact ---------------------- */
  .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 cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav-pill--actions:has(.nav-pill__item--dark:hover),
  .nav-pill--actions:has(.nav-pill__item--dark:focus-visible) {
    /* Affordance survol sur barre sombre : halo blanc + glow. */
    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 cubic-bezier(0.22, 1, 0.36, 1),
      background 200ms cubic-bezier(0.22, 1, 0.36, 1),
      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;
  }

  /* ============================================================
     DROPDOWN PANEL — position sous la navbar, centré.
     ============================================================ */
  .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;
  }
  .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). */
  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%);
    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;
  }

  /* ----- Responsive nav v2 ----------------------------------------- */
  @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 */
  .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; }
  @media (prefers-reduced-motion: reduce) {
    .reveal { transition: none; transform: none; opacity: 1; }
  }

  /* ============================================================
     NAV MENU v3 — Antimetal-like.
     Zone "Expertises" (2 sous-colonnes : 3 + 4 items) avec icones
     aux couleurs JCD. Carrieres vit desormais dans la capsule
     centrale (icone accolee a "Nos solutions"). 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;
  }

  .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.
     Alignées sur les autres pages (print / telecom) : chaque pôle
     conserve sa couleur d'icône (token --nm-c + variantes -soft / -soft-2). */
  .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); }

  .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);
  }
  .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 ── */
  .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;
    }
  }

  /* ============================================================
     PAGE CARRIÈRES — styles spécifiques.
     Réutilise les tokens globaux, le double-bezel et les
     cubic-bezier maison. Page monochrome + accent bleu JCD ;
     le dégradé rainbow est réservé au bandeau « candidature
     spontanée ».
     ============================================================ */
  .visually-hidden {
    position: absolute !important; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }

  main section[id] { scroll-margin-top: 92px; }

  /* ---- Hero ---- */
  .careers-hero {
    position: relative;
    padding: clamp(112px, 14vh, 158px) 0 clamp(44px, 6vw, 76px);
    overflow: hidden;
  }
  /* Orbes bleus très diffus (accent JCD), volontairement discrets */
  .careers-hero::before {
    content: "";
    position: absolute;
    inset: -10% -10% auto -10%;
    height: 780px;
    background:
      radial-gradient(36% 50% at 12% 22%, rgba(46, 114, 186, 0.10) 0%, transparent 60%),
      radial-gradient(32% 52% at 44% 16%, rgba(46, 114, 186, 0.06) 0%, transparent 60%),
      radial-gradient(38% 54% at 74% 24%, rgba(46, 114, 186, 0.05) 0%, transparent 60%),
      radial-gradient(28% 46% at 96% 38%, rgba(46, 114, 186, 0.04) 0%, transparent 60%);
    pointer-events: none; z-index: 0;
  }
  .careers-hero > * { position: relative; z-index: 1; }

  .breadcrumb {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 36px;
  }
  .breadcrumb a { color: var(--text-2); transition: color 160ms ease; }
  .breadcrumb a:hover { color: var(--text-1); }
  .breadcrumb-sep { width: 11px; height: 11px; color: var(--text-4); }
  .breadcrumb-current { color: var(--accent); }

  /* Eyebrow : rappel de la baseline de marque + filet bleu JCD */
  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    margin-bottom: 22px;
    font-family: var(--font-mono);
    font-size: 11px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.16em;
    color: var(--text-3);
  }
  .hero-eyebrow::before {
    content: ""; width: 28px; height: 3px; border-radius: 2px;
    background: var(--accent);
  }
  .hero-eyebrow strong { color: var(--text-2); font-weight: 500; }

  .hero-title {
    font-size: clamp(32px, 4.6vw, 56px);
    line-height: 1.03; letter-spacing: -0.035em;
    margin: 0 0 18px;
    font-weight: 600; max-width: 17ch;
    color: var(--text-1);
  }
  .hero-title em {
    font-family: var(--font-serif);
    font-style: italic; font-weight: 400;
    letter-spacing: -0.01em;
  }
  .hero-title em {
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hi) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .hero-sub {
    max-width: 600px; margin: 0 0 clamp(30px, 4vw, 46px);
    font-size: 16px; line-height: 1.55;
    color: var(--text-2);
    letter-spacing: -0.005em;
  }

  /* ---- Têtes de section ---- */
  .sec { padding: clamp(54px, 6.5vw, 92px) 0; border-top: 1px solid var(--line-1); position: relative; }
  .sec-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
  .sec-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px; font-weight: 500;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 18px;
  }
  .sec-eyebrow::before {
    content: ""; width: 16px; height: 1px;
    background: var(--accent);
  }
  .sec-title {
    font-size: clamp(26px, 3.4vw, 42px);
    font-weight: 600;
    line-height: 1.08; letter-spacing: -0.03em;
    color: var(--text-1);
    margin-bottom: 14px;
  }
  .sec-title em {
    font-style: normal; font-weight: 600;
    color: var(--accent-hi);
  }
  .sec-text { font-size: 15.5px; line-height: 1.6; color: var(--text-2); }

  /* ---- Offres d'emploi : carrousel de cartes, description dépliable ---- */
  .offers-sec { padding-top: 0; }
  .offers-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 16px 28px; flex-wrap: wrap;
    margin-bottom: clamp(22px, 3vw, 34px);
  }
  .offers-head .sec-title { margin-bottom: 8px; }
  .offers-count { font-size: 13.5px; color: var(--text-3); }
  .offers-ctrl { display: flex; gap: 8px; padding-bottom: 6px; }
  .offers-btn {
    width: 36px; height: 36px; border-radius: 50%; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--line-2);
    color: var(--text-2); cursor: pointer;
    transition:
      background 260ms var(--ease-out),
      border-color 260ms var(--ease-out),
      color 260ms var(--ease-out),
      opacity 260ms var(--ease-out);
  }
  .offers-btn svg { width: 14px; height: 14px; }
  .offers-btn:hover { background: var(--text-1); border-color: transparent; color: #0a0a0a; }
  .offers-btn:focus-visible { outline: 2px solid rgba(255,255,255,0.4); outline-offset: 2px; }
  .offers-btn[disabled] { opacity: 0.3; pointer-events: none; }
  .offers-track {
    display: flex; gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 2px 2px 6px;
  }
  .offers-track::-webkit-scrollbar { display: none; }
  .offer-card {
    --pc: var(--accent);
    flex: 0 0 min(330px, 84vw);
    scroll-snap-align: start;
    display: flex; flex-direction: column; align-items: flex-start;
    padding: 22px 22px 20px;
    background: rgba(255, 255, 255, 0.022);
    border: 1px solid var(--line-2);
    border-radius: 16px;
    transition:
      border-color 300ms var(--ease-out),
      background 300ms var(--ease-out);
  }
  .offer-card:hover {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.032);
  }
  .offer-pole {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 10.5px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.13em;
    color: var(--text-3);
    margin-bottom: 14px;
  }
  .offer-pole::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: var(--pc); flex: 0 0 auto;
    box-shadow: 0 0 10px color-mix(in srgb, var(--pc) 65%, transparent);
  }
  .offer-title {
    font-size: 17.5px; font-weight: 600; letter-spacing: -0.02em;
    color: var(--text-1); line-height: 1.25;
    margin: 0 0 9px;
  }
  .offer-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 7px;
    font-size: 12.5px; color: var(--text-3);
    margin-bottom: 14px;
  }
  .offer-meta span { display: inline-flex; align-items: center; gap: 5px; }
  .offer-meta svg { width: 12px; height: 12px; opacity: 0.7; }
  .offer-meta .meta-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--text-4); padding: 0; }
  .offer-toggle {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12.5px; font-weight: 500; color: var(--text-3);
    background: none; border: none; padding: 0; cursor: pointer;
    transition: color 240ms var(--ease-out);
  }
  .offer-toggle:hover { color: var(--text-1); }
  .offer-toggle:focus-visible { outline: 2px solid rgba(255,255,255,0.4); outline-offset: 3px; border-radius: 4px; }
  .offer-toggle svg {
    width: 9px; height: 9px; flex: 0 0 auto;
    transition: transform 320ms var(--ease-out);
  }
  .offer-card.is-open .offer-toggle { color: var(--text-2); }
  .offer-card.is-open .offer-toggle svg { transform: rotate(180deg); }
  .offer-desc {
    display: grid; grid-template-rows: 0fr;
    width: 100%;
    transition: grid-template-rows 420ms var(--ease-out);
  }
  .offer-desc > div { overflow: hidden; }
  .offer-desc p {
    font-size: 13.5px; line-height: 1.6; color: var(--text-2);
    padding-top: 12px;
  }
  .offer-card.is-open .offer-desc { grid-template-rows: 1fr; }
  .offer-foot { margin-top: auto; padding-top: 18px; }
  .offer-apply {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 500; color: var(--text-3);
    white-space: nowrap; text-decoration: none;
    transition: color 240ms var(--ease-out);
  }
  .offer-card:hover .offer-apply { color: var(--text-1); }
  .offer-apply-arrow {
    width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--line-2);
    color: var(--text-2);
    transition:
      transform 300ms var(--ease-out),
      background 300ms var(--ease-out),
      border-color 300ms var(--ease-out),
      color 300ms var(--ease-out);
  }
  .offer-apply-arrow svg { width: 13px; height: 13px; }
  .offer-apply:hover .offer-apply-arrow,
  .offer-apply:focus-visible .offer-apply-arrow {
    transform: translateX(3px);
    background: var(--text-1);
    border-color: transparent;
    color: #0a0a0a;
  }
  .offers-empty {
    width: 100%;
    padding: 40px 24px; text-align: center;
    border: 1px dashed var(--line-2); border-radius: 16px;
    color: var(--text-3); font-size: 14px;
  }
  @media (prefers-reduced-motion: reduce) {
    .offer-desc, .offer-toggle svg, .offer-apply-arrow { transition: none; }
  }

  /* ---- La vie chez JCD ----
     L'ancien bento (.bn-card / .ph-media) a été remplacé par la séquence
     éditoriale sans cartes définie plus bas (stat-band, feature, rituals,
     perks). Voir le bloc « LA VIE CHEZ JCD — séquence éditoriale ». */

  /* Ancres des cartes "vie" (cibles des cartes du hero — onepage) */
  #locaux, #sport, #team, #avantages { scroll-margin-top: 96px; }

  /* ============================================================
     LA VIE CHEZ JCD — séquence éditoriale (volontairement SANS
     cartes) : repères chiffrés → features alternées image/texte →
     frise des rituels → bandeau d'avantages. Rythme varié, larges
     respirations, accent bleu JCD, Inter uniquement.
     ============================================================ */

  /* — Repères chiffrés (83 · 7 · 2 · 3 000 m²) — */
  .stat-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line-2);
    border-bottom: 1px solid var(--line-2);
    margin-bottom: clamp(56px, 8vw, 110px);
  }
  .stat-cell {
    padding: clamp(26px, 3.4vw, 42px) clamp(10px, 2vw, 28px);
    position: relative;
  }
  .stat-cell + .stat-cell::before {
    content: ""; position: absolute; left: 0; top: 50%;
    transform: translateY(-50%);
    width: 1px; height: 54%;
    background: var(--line-2);
  }
  .stat-num {
    display: flex; align-items: baseline; gap: 2px;
    font-size: clamp(40px, 5.4vw, 62px);
    font-weight: 600; letter-spacing: -0.045em; line-height: 0.9;
    color: var(--text-1);
    font-variant-numeric: tabular-nums;
  }
  .stat-num .u { font-size: 0.4em; font-weight: 500; color: var(--accent-hi); letter-spacing: -0.01em; }
  .stat-label {
    margin-top: 13px;
    font-size: 12.5px; line-height: 1.45; color: var(--text-3);
    max-width: 20ch;
  }
  @media (max-width: 720px) {
    .stat-band { grid-template-columns: 1fr 1fr; }
    .stat-cell:nth-child(3) { border-top: 1px solid var(--line-2); }
    .stat-cell:nth-child(4) { border-top: 1px solid var(--line-2); }
    .stat-cell:nth-child(3)::before { content: none; }
  }
  @media (max-width: 430px) {
    .stat-band { grid-template-columns: 1fr; }
    .stat-cell::before { content: none !important; }
    .stat-cell + .stat-cell { border-top: 1px solid var(--line-2); }
  }

  /* — Features alternées : grande image éditoriale + texte — */
  .feature {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: clamp(28px, 5vw, 78px);
  }
  .feature + .feature { margin-top: clamp(50px, 7vw, 108px); }
  .feature--reverse .feature-media { grid-column: 2; grid-row: 1; }
  .feature--reverse .feature-body  { grid-column: 1; grid-row: 1; }
  .feature-body { max-width: 46ch; }
  .feature-kicker {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em;
    color: var(--text-3); margin-bottom: 16px;
  }
  .feature-kicker::before { content: ""; width: 22px; height: 1px; background: var(--accent); }
  .feature-title {
    font-size: clamp(23px, 2.7vw, 34px);
    font-weight: 600; letter-spacing: -0.028em; line-height: 1.08;
    color: var(--text-1); margin-bottom: 16px;
  }
  .feature-title em { font-style: italic; font-weight: 400; color: var(--accent-hi); }
  .feature-text { font-size: 15px; line-height: 1.68; color: var(--text-2); }
  @media (max-width: 860px) {
    .feature { grid-template-columns: 1fr; gap: 22px; }
    .feature--reverse .feature-media,
    .feature--reverse .feature-body { grid-column: auto; grid-row: auto; }
    .feature-body { max-width: none; }
  }

  /* — Cadre média éditorial (placeholder, prêt pour une vraie photo) — */
  .media-frame {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line-2);
    background:
      radial-gradient(120% 100% at 100% 0%, rgba(46,114,186,0.10) 0%, transparent 55%),
      linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.008));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 10px; text-align: center; padding: 24px;
  }
  .media-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .media-ph-ico {
    width: 48px; height: 48px; border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--accent-hi);
    background: rgba(46,114,186,0.10);
    border: 1px solid rgba(46,114,186,0.22);
  }
  .media-ph-ico svg { width: 21px; height: 21px; }
  .media-ph-label { font-size: 13px; font-weight: 500; color: var(--text-2); position: relative; z-index: 1; }
  .media-ph-hint { font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-4); position: relative; z-index: 1; }
  .frame-motif {
    position: absolute; right: -10px; bottom: -12px;
    width: clamp(150px, 22vw, 240px); color: var(--accent);
    opacity: 0.10; pointer-events: none; z-index: 0;
  }
  .frame-motif svg { width: 100%; height: auto; display: block; }

  /* — Frise des rituels (team building) — horizontale, sans carte — */
  .rituals-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2vw, 28px);
    position: relative;
  }
  .rituals-track::before {
    content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-3) 10%, var(--line-3) 90%, transparent);
  }
  .ritual { position: relative; padding-top: 28px; }
  .ritual::before {
    content: ""; position: absolute; left: 0; top: 0;
    width: 11px; height: 11px; border-radius: 50%;
    background: var(--bg); border: 2px solid var(--accent);
    box-shadow: 0 0 0 4px rgba(46,114,186,0.10);
  }
  .ritual-name { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--text-1); margin-bottom: 6px; }
  .ritual-desc { font-size: 13px; line-height: 1.55; color: var(--text-3); }
  @media (max-width: 720px) {
    .rituals-track { grid-template-columns: 1fr; gap: 0; }
    .rituals-track::before { left: 5px; top: 0; bottom: 0; right: auto; width: 1px; height: auto; background: var(--line-3); }
    .ritual { padding-top: 0; padding-left: 28px; padding-bottom: 24px; }
    .ritual:last-child { padding-bottom: 0; }
    .ritual::before { left: 0; top: 2px; }
  }

  /* — Bandeau d'avantages — grands repères + voix, sans carte — */
  .perks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(22px, 4vw, 58px);
    align-items: start;
  }
  .perk { display: flex; gap: 16px; align-items: flex-start; }
  .perk-ico {
    width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--accent-hi); background: rgba(46,114,186,0.10);
    border: 1px solid rgba(46,114,186,0.22);
  }
  .perk-ico svg { width: 18px; height: 18px; }
  .perk-fig { font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; letter-spacing: -0.02em; color: var(--text-1); line-height: 1.15; }
  .perk-fig small { display: block; margin-top: 7px; font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--text-3); line-height: 1.55; }
  .perks-voice {
    grid-column: 1 / -1;
    margin-top: clamp(10px, 2vw, 22px);
    padding-top: clamp(22px, 3vw, 32px);
    border-top: 1px solid var(--line-2);
    font-size: clamp(16px, 1.9vw, 21px); line-height: 1.55; color: var(--text-2);
    max-width: 62ch;
  }
  .perks-voice strong { color: var(--text-1); font-weight: 600; }
  .perks-voice em { font-style: italic; color: var(--accent-hi); font-weight: 400; }
  @media (max-width: 620px) { .perks { grid-template-columns: 1fr; gap: 24px; } }

  /* — En-tête de sous-bloc dans #vie (frise / bandeau) — */
  .vie-block { margin-top: clamp(52px, 7vw, 110px); }
  .vie-block-head { margin-bottom: clamp(24px, 3vw, 36px); max-width: 52ch; }
  .vie-block-eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em;
    color: var(--text-3); margin-bottom: 13px;
  }
  .vie-block-eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); }
  .vie-block-title { font-size: clamp(20px, 2.3vw, 28px); font-weight: 600; letter-spacing: -0.025em; color: var(--text-1); }
  .vie-block-title em { font-style: italic; font-weight: 400; color: var(--accent-hi); }

  /* ---- Formulaire de candidature : shell double-bezel ---- */
  .apply-sec { position: relative; overflow: hidden; }
  .apply-sec::before {
    content: "";
    position: absolute;
    inset: auto -10% -30% -10%;
    height: 520px;
    background:
      radial-gradient(40% 60% at 30% 80%, rgba(46, 114, 186, 0.06) 0%, transparent 60%),
      radial-gradient(36% 56% at 76% 86%, rgba(46, 114, 186, 0.05) 0%, transparent 60%);
    pointer-events: none; z-index: 0;
  }
  .apply-sec .container { position: relative; z-index: 1; }
  .apply-sec .sec-head { margin-left: auto; margin-right: auto; text-align: center; }
  .apply-sec .sec-eyebrow { justify-content: center; }
  .apply-sec .sec-eyebrow::before { display: none; }
  .apply-sec .sec-eyebrow::after  { content: ""; width: 16px; height: 1px; background: var(--accent); order: -1; }

  .q-shell {
    max-width: 760px; margin: 0 auto;
    background: rgba(255, 255, 255, 0.022);
    border: 1px solid var(--line-2);
    border-radius: 26px; padding: 7px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 1px 2px rgba(0, 0, 0, 0.30),
      0 30px 80px -40px rgba(0, 0, 0, 0.85);
  }
  .q-shell-inner {
    position: relative;
    background: linear-gradient(180deg, var(--bg-1), var(--bg));
    border: 1px solid var(--line-1);
    border-radius: 20px;
    padding: clamp(20px, 3vw, 34px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.04);
    overflow: hidden;
  }
  .q-shell-inner::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
    background: var(--accent); opacity: 0.7;
  }

  /* — Postuler : 2 colonnes — aside éditorial (gauche) + formulaire (droite) — */
  .apply-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: clamp(34px, 5vw, 76px);
    align-items: start;
  }
  .apply-aside { position: sticky; top: 108px; }
  .apply-aside .sec-eyebrow { margin-bottom: 18px; }
  .apply-aside .sec-title { margin-bottom: 16px; }
  .apply-aside .sec-text { max-width: 40ch; }
  .apply-points { list-style: none; margin-top: clamp(26px, 3.4vw, 38px); }
  .apply-point {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 17px 0;
    border-top: 1px solid var(--line-2);
  }
  .apply-point:last-child { border-bottom: 1px solid var(--line-2); }
  .apply-point-tx { font-size: 13px; line-height: 1.5; color: var(--text-3); }
  .apply-point-tx strong { color: var(--text-1); font-weight: 600; display: block; margin-bottom: 3px; font-size: 14px; letter-spacing: -0.01em; }
  .apply-main { min-width: 0; }
  .apply-main .q-shell { max-width: none; }
  .apply-main .q-success { max-width: none; }
  @media (max-width: 920px) {
    .apply-grid { grid-template-columns: 1fr; gap: 30px; }
    .apply-aside { position: static; }
    .apply-aside .sec-text { max-width: 56ch; }
  }

  /* ---- Sélecteur type de candidature (segmented control) ---- */
  .q-intent {
    position: relative; display: inline-flex; padding: 4px; margin-bottom: 22px;
    background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line-2);
    border-radius: 999px; gap: 2px; max-width: 100%;
  }
  .q-intent-opt {
    position: relative; z-index: 1; height: 34px; padding: 0 16px; border-radius: 999px;
    font-size: 13px; font-weight: 500; color: var(--text-2); white-space: nowrap;
    transition: color 240ms var(--ease-out);
  }
  .q-intent-opt.is-selected { color: var(--text-1); }
  .q-intent-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .q-intent-glider {
    position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px;
    border-radius: 999px; background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--line-3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 380ms var(--ease-out), width 380ms var(--ease-out);
  }
  @media (max-width: 480px) {
    .q-intent { width: 100%; }
    .q-intent-opt { flex: 1; padding: 0 8px; font-size: 12px; }
  }

  .apply-lead { font-size: 14px; color: var(--text-2); margin-bottom: 20px; max-width: 58ch; }
  .apply-lead strong { color: var(--text-1); font-weight: 500; }

  /* ---- Champs ---- */
  .q-fields { display: flex; flex-direction: column; gap: 14px; }
  .q-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  @media (max-width: 560px) { .q-row { grid-template-columns: 1fr; } }
  .q-field { display: flex; flex-direction: column; gap: 7px; }
  .q-field label { font-size: 13px; color: var(--text-2); font-weight: 500; }
  .q-field input, .q-field select, .q-field textarea {
    width: 100%; font-family: var(--font); font-size: 14px; color: var(--text-1);
    background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line-2);
    border-radius: 10px; padding: 11px 13px;
    transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out), background 200ms var(--ease-out);
  }
  .q-field input::placeholder { color: var(--text-4); }
  .q-field input:focus, .q-field select:focus {
    outline: none; border-color: color-mix(in srgb, var(--accent) 60%, transparent);
    background: rgba(255, 255, 255, 0.04); box-shadow: 0 0 0 3px var(--accent-soft);
  }
  .q-field select {
    appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 10 10' fill='none' stroke='%239b9b9b' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4l2.5 2.5L7.5 4'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 13px center;
  }
  .q-field select option { background: var(--bg-2); color: var(--text-1); }
  .q-field.has-error input, .q-field.has-error select {
    border-color: #e5484d; box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.12);
  }
  .q-field[hidden] { display: none; }

  /* ---- Dépôt de CV (drag & drop) ---- */
  .cv-drop {
    position: relative;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 10px;
    padding: clamp(24px, 3.5vw, 36px) 20px;
    border: 1.5px dashed var(--line-3);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.015);
    text-align: center;
    cursor: pointer;
    transition:
      border-color 260ms var(--ease-out),
      background 260ms var(--ease-out),
      transform 260ms var(--ease-out);
  }
  .cv-drop:hover { border-color: var(--text-3); background: rgba(255,255,255,0.03); }
  .cv-drop:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
  .cv-drop.is-drag {
    border-color: var(--accent);
    background: var(--accent-soft);
    transform: scale(1.008);
  }
  .cv-drop.has-error { border-color: #e5484d; }
  .cv-drop-ico {
    width: 42px; height: 42px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--text-2);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--line-2);
    transition: color 260ms var(--ease-out), background 260ms var(--ease-out), transform 420ms var(--ease-out);
  }
  .cv-drop-ico svg { width: 19px; height: 19px; }
  .cv-drop:hover .cv-drop-ico, .cv-drop.is-drag .cv-drop-ico {
    color: var(--accent-hi);
    background: var(--accent-soft);
    transform: translateY(-2px);
  }
  .cv-drop-label { font-size: 14px; font-weight: 500; color: var(--text-1); }
  .cv-drop-label em { font-style: normal; color: var(--accent-hi); }
  .cv-drop-hint {
    font-family: var(--font-mono);
    font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--text-3);
  }
  .cv-drop input[type="file"] {
    position: absolute; inset: 0; opacity: 0; cursor: pointer;
    width: 100%; height: 100%;
  }
  .cv-drop input[type="file"]::file-selector-button { cursor: pointer; }

  /* Fichier sélectionné : chip */
  .cv-file {
    display: none;
    align-items: center; gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--accent) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
    text-align: left;
  }
  .cv-drop.has-file { padding: 14px; cursor: default; }
  .cv-drop.has-file .cv-drop-ico,
  .cv-drop.has-file .cv-drop-label,
  .cv-drop.has-file .cv-drop-hint { display: none; }
  .cv-drop.has-file .cv-file { display: flex; }
  .cv-file-ico {
    width: 34px; height: 34px; border-radius: 9px; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  }
  .cv-file-ico svg { width: 16px; height: 16px; }
  .cv-file-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
  .cv-file-name {
    font-size: 13.5px; font-weight: 500; color: var(--text-1);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .cv-file-size { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-3); }
  .cv-file-remove {
    flex: 0 0 auto;
    width: 28px; height: 28px; border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--text-3);
    border: 1px solid var(--line-2);
    background: transparent;
    transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
  }
  .cv-file-remove:hover { color: #f0888c; border-color: rgba(229,72,77,0.4); background: rgba(229,72,77,0.07); }
  .cv-file-remove:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .cv-file-remove svg { width: 13px; height: 13px; }

  /* ---- RGPD / erreurs / actions ---- */
  .q-rgpd { display: flex; gap: 11px; margin-top: 16px; cursor: pointer; align-items: flex-start; }
  .q-rgpd input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--accent); flex: 0 0 auto; cursor: pointer; }
  .q-rgpd span { font-size: 12.5px; color: var(--text-3); line-height: 1.5; }
  .q-rgpd a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
  .q-rgpd a:hover { color: var(--text-1); }

  .q-error {
    margin-top: 16px; font-size: 13px; color: #f0888c;
    background: rgba(229, 72, 77, 0.08); border: 1px solid rgba(229, 72, 77, 0.25);
    border-radius: 10px; padding: 10px 13px;
  }
  .q-error[hidden] { display: none; }

  .q-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 22px; }
  .q-btn {
    display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 12px 0 22px;
    border-radius: 999px; font-size: 14px; font-weight: 500; letter-spacing: -0.005em;
    border: 1px solid transparent;
    transition: transform 220ms var(--ease-out), background 220ms var(--ease-out), color 220ms var(--ease-out), border-color 220ms var(--ease-out), opacity 220ms var(--ease-out);
  }
  .q-btn--ghost { background: transparent; color: var(--text-2); border-color: var(--line-3); padding: 0 20px; }
  .q-btn--ghost:hover { color: var(--text-1); border-color: var(--text-2); }
  .q-btn--primary { background: var(--text-1); color: #0a0a0a; }
  .q-btn--primary:hover { background: #fff; transform: translateY(-1px); }
  .q-btn--primary:active { transform: scale(0.985); }
  .q-btn--primary:disabled { opacity: 0.4; pointer-events: none; }
  .q-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .q-btn-arrow {
    width: 26px; height: 26px; border-radius: 50%; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(0, 0, 0, 0.08); transition: transform 260ms var(--ease-out);
  }
  .q-btn-arrow svg { width: 14px; height: 14px; }
  .q-btn--primary:hover .q-btn-arrow { transform: translate(2px, -1px); }
  .q-btn--send { padding-right: 14px; }
  .q-btn.is-loading { pointer-events: none; }
  .q-btn.is-loading .q-btn-arrow { background: transparent; }
  .q-spinner {
    width: 15px; height: 15px; border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.22); border-top-color: #0a0a0a;
    animation: qSpin 680ms linear infinite;
  }
  @keyframes qSpin { to { transform: rotate(360deg); } }

  /* ---- Écran de confirmation ---- */
  .q-success {
    max-width: 680px; margin: 0 auto; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 18px;
    padding: clamp(40px, 6vw, 72px) clamp(22px, 4vw, 48px);
    background: rgba(255, 255, 255, 0.022); border: 1px solid var(--line-2);
    border-radius: 24px; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.85);
    animation: qStepIn 560ms var(--ease-out) both;
  }
  .q-success[hidden] { display: none; }
  @keyframes qStepIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .q-success-mark {
    width: 64px; height: 64px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--accent) 16%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
    color: var(--accent);
  }
  .q-success-mark svg { width: 30px; height: 30px; }
  .q-success h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.02em; }
  .q-success p { font-size: 15px; color: var(--text-2); max-width: 48ch; line-height: 1.6; }
  .q-success p strong { color: var(--text-1); font-weight: 500; }
  .q-success p a { color: var(--text-1); text-decoration: underline; text-underline-offset: 2px; }
  .q-success-recap {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 999px;
    font-size: 12.5px; color: var(--text-1);
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
  }
  .q-success-recap::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  }

  @media (prefers-reduced-motion: reduce) {
    .q-success { animation: none; }
    .q-intent-glider, .q-btn, .q-btn-arrow, .offer-row, .offer-apply-arrow,
    .cv-drop, .cv-drop-ico {
      transition-duration: 80ms !important;
    }
    .q-spinner { animation-duration: 1400ms; }
    .offer-row:hover, .bn-card:hover, .cv-drop.is-drag { transform: none; }
    .values-track, .value-slide, .value-visual, .acc-a, .btn-solid, .btn-text svg, .values-arrow { transition-duration: 1ms !important; }
  }

  /* ============================================================
     REFONTE CLAIRE (façon Anthropic) — composants de la page
     carrières : boutons, hero split, média vedette, carrousel de
     principes, accordéons, panneau d'invitation. Crème + encre +
     bleu JCD, Inter.
     ============================================================ */

  /* ---- Boutons ---- */
  .btn-solid {
    display: inline-flex; align-items: center; justify-content: center;
    height: 50px; padding: 0 26px;
    background: var(--text-1); color: var(--bg);
    border-radius: 11px;
    font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
    white-space: nowrap;
    transition: transform 220ms var(--ease-out), background 220ms var(--ease-out);
  }
  .btn-solid:hover { background: #fff; transform: translateY(-1px); }
  .btn-solid:active { transform: translateY(0); }
  .btn-text {
    display: inline-flex; align-items: center; gap: 9px;
    height: 50px; padding: 0 22px;
    border: 1px solid var(--line-3); border-radius: 11px;
    font-size: 15px; font-weight: 500; color: var(--text-1);
    transition: border-color 220ms var(--ease-out), background 220ms var(--ease-out);
  }
  .btn-text svg { width: 15px; height: 15px; transition: transform 240ms var(--ease-out); }
  .btn-text:hover { border-color: var(--text-2); background: rgba(255,255,255,0.04); }
  .btn-text:hover svg { transform: translateX(3px); }

  /* ---- Hero — vidéo encadrée (double-cadre, coins arrondis) puis titre/CTA & paragraphe dessous ---- */
  .hero {
    /* Padding haut resserré (vs 15vh/176 avant) : remonte le hero et borne sa
       croissance verticale, pour que la rangée sous la vidéo reste à l'écran
       au chargement, de concert avec le plafond de .hero-screen. */
    padding: clamp(100px, 11vh, 132px) 0 clamp(40px, 6vh, 76px);
  }
  /* Monture extérieure : fine cerne + ombre diffuse profonde (pas d'ombre dure) */
  .hero-media {
    position: relative;
    padding: clamp(6px, 0.7vw, 9px);
    border-radius: clamp(26px, 3vw, 38px);
    background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
    border: 1px solid var(--line-2);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 12px 30px -22px rgba(0, 0, 0, 0.7),
      0 44px 96px -52px rgba(0, 0, 0, 0.92);
    will-change: transform, opacity;
  }
  /* Habillage branding : 2 halos multi-teintes JCD qui IRRADIENT depuis les
     flancs de la capsule. ::before = gauche, ::after = droite. Placés dans les
     marges, collés aux bords (right:100% / left:100%). Le fond multi-couleurs
     est sculpté par un MASQUE RADIAL centré sur le bord de la capsule (mi-hauteur)
     → une lentille/arc bombée vers l'extérieur, large au centre et fuyante en
     haut/bas : la lumière rayonne vers la marge, sans arête. Posés derrière
     (z-index:-1). Décoratif. */
  .hero-media::before,
  .hero-media::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    width: 40%;
    pointer-events: none;
  }
  .hero-media::before {                 /* flanc gauche : irradie vers la marge en arc */
    right: 100%;
    background:
      radial-gradient(113% 36% at 100% 12%, rgba(46, 114, 186, 0.10) 0%, transparent 96%),   /* bleu */
      radial-gradient(113% 36% at 100% 25%, rgba(249, 214, 5, 0.07) 0%, transparent 96%),     /* jaune */
      radial-gradient(113% 36% at 100% 38%, rgba(243, 148, 29, 0.075) 0%, transparent 96%),   /* orange */
      radial-gradient(113% 36% at 100% 51%, rgba(229, 29, 41, 0.075) 0%, transparent 96%),    /* rouge */
      radial-gradient(113% 36% at 100% 64%, rgba(176, 99, 172, 0.085) 0%, transparent 96%),   /* violet */
      radial-gradient(113% 36% at 100% 77%, rgba(142, 192, 65, 0.07) 0%, transparent 96%),    /* vert */
      radial-gradient(113% 36% at 100% 89%, rgba(167, 141, 117, 0.07) 0%, transparent 96%);   /* beige */
    -webkit-mask-image: radial-gradient(118% 54% at 100% 50%, #000 10%, rgba(0, 0, 0, 0.4) 58%, transparent 100%);
            mask-image: radial-gradient(118% 54% at 100% 50%, #000 10%, rgba(0, 0, 0, 0.4) 58%, transparent 100%);
  }
  .hero-media::after {                  /* flanc droit : miroir */
    left: 100%;
    background:
      radial-gradient(113% 36% at 0% 12%, rgba(46, 114, 186, 0.10) 0%, transparent 96%),      /* bleu */
      radial-gradient(113% 36% at 0% 25%, rgba(249, 214, 5, 0.07) 0%, transparent 96%),        /* jaune */
      radial-gradient(113% 36% at 0% 38%, rgba(243, 148, 29, 0.075) 0%, transparent 96%),      /* orange */
      radial-gradient(113% 36% at 0% 51%, rgba(229, 29, 41, 0.075) 0%, transparent 96%),       /* rouge */
      radial-gradient(113% 36% at 0% 64%, rgba(176, 99, 172, 0.085) 0%, transparent 96%),      /* violet */
      radial-gradient(113% 36% at 0% 77%, rgba(142, 192, 65, 0.07) 0%, transparent 96%),       /* vert */
      radial-gradient(113% 36% at 0% 89%, rgba(167, 141, 117, 0.07) 0%, transparent 96%);      /* beige */
    -webkit-mask-image: radial-gradient(118% 54% at 0% 50%, #000 10%, rgba(0, 0, 0, 0.4) 58%, transparent 100%);
            mask-image: radial-gradient(118% 54% at 0% 50%, #000 10%, rgba(0, 0, 0, 0.4) 58%, transparent 100%);
  }
  /* Écran intérieur : rayon concentrique + cerne interne + vignette cinématique */
  .hero-screen {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    /* Plafond de hauteur indexé sur le viewport : sur écran large/court, le
       16/9 deviendrait trop haut et repousserait la rangée titre/CTA/paragraphe
       (les « baselines ») sous la ligne de flottaison. On limite la vidéo pour
       qu'elles restent visibles dès le chargement — object-fit: cover recadre
       proprement, sans déformation. Repli vh → svh là où c'est supporté. */
    max-height: calc(100vh - 400px);
    max-height: calc(100svh - 400px);
    border-radius: calc(clamp(26px, 3vw, 38px) - clamp(6px, 0.7vw, 9px));
    overflow: hidden;
    background: var(--ink);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    isolation: isolate;
  }
  .hero-screen::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    pointer-events: none; border-radius: inherit;
    /* 1) Vignette sombre très légère : transparente au centre, s'assombrit
       progressivement vers les contours intérieurs de la vidéo.
       2) Glow blanc subtil en haut (conservé). */
    background:
      radial-gradient(128% 122% at 50% 50%,
        rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.12) 70%, rgba(0, 0, 0, 0.30) 100%),
      radial-gradient(132% 92% at 50% 0%, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 56%);
    box-shadow: inset 0 0 70px 8px rgba(0, 0, 0, 0.34);
  }
  .hero-video {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    display: block; pointer-events: none;
    opacity: 0; transform: scale(1.06);
    transition: opacity 1100ms var(--ease-out), transform 1600ms var(--ease-expo);
  }
  .hero-video.is-ready { opacity: 1; transform: scale(1); }

  /* Rangée sous la vidéo : titre + CTA (gauche) · paragraphe (droite) */
  .hero-row {
    position: relative;            /* ancre le cadre décoratif (::before) */
    z-index: 0;
    margin-top: clamp(30px, 3.6vw, 54px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 80px);
    align-items: start;
  }
  /* Cadre graphique premium qui encadre la rangée texte et se dissout : fine
     cerne + léger halo de texture, débordant dans les marges (façon crochets
     [ ]), masqué en fondu haut/bas → seuls les montants latéraux subsistent et
     s'estompent à leurs extrémités. Décoratif, posé SOUS le texte (z-index:-1). */
  .hero-row::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: clamp(-44px, -3vw, -30px);
    bottom: clamp(-44px, -3vw, -30px);
    left: 50%;
    width: min(96vw, calc(100% + 150px)); /* déborde dans les marges si elles existent, jamais hors viewport */
    transform: translateX(-50%);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: clamp(24px, 3vw, 40px);
    background: radial-gradient(108% 78% at 50% 0%, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 60%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 70%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 70%, transparent 100%);
    pointer-events: none;
  }
  .hero-headcol {
    display: flex; flex-direction: column; align-items: flex-start;
    gap: clamp(22px, 2.4vw, 32px); min-width: 0;
  }
  .hero-h1 {
    font-size: clamp(31px, 4.2vw, 54px);
    font-weight: 600; letter-spacing: -0.035em; line-height: 1.02;
    color: var(--text-1); text-wrap: balance;
  }
  /* « avance » : même gradient multi-couleurs JCD que « proximité » sur le
     hero de l'index (.accent-grad), clippé sur le texte. */
  .hero-h1 em {
    font-style: normal;
    background: linear-gradient(120deg,
      rgba(46, 114, 186, 0.95)  0%,
      rgba(46, 114, 186, 0.92)  9%,
      rgba(249, 214, 5,  0.78) 24%,
      rgba(243, 148, 29, 0.78) 38%,
      rgba(239, 72,  88, 0.78) 53%,
      rgba(176, 99, 172, 0.78) 69%,
      rgba(142, 192, 65, 0.78) 84%,
      rgba(201, 179, 156, 0.78) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .hero-lead {
    margin-top: clamp(4px, 0.6vw, 10px); min-width: 0;
    font-size: clamp(15.5px, 1.25vw, 18px);
    line-height: 1.62; letter-spacing: -0.005em;
    color: var(--text-2); max-width: 48ch;
  }
  /* CTA « Postuler » : calé sur les boutons CTA primaires de fin de page des
     pages expertise (.btn-cta--primary) — fond blanc, texte encre, flèche
     pleine qui glisse au survol (plus de pastille/cercle accent). */
  .hero-apply {
    display: inline-flex; align-items: center; gap: 10px;
    height: 44px; padding: 0 22px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: var(--text-1); color: #0a0a0a;
    font-size: 14px; font-weight: 500; letter-spacing: -0.005em;
    transition: all 200ms var(--ease-out);
  }
  .hero-apply:hover {
    background: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(255,255,255,0.06);
  }
  .hero-apply-ic {
    display: inline-flex; align-items: center; justify-content: center;
    width: 14px; height: 14px;
    transition: transform 200ms var(--ease-out);
  }
  .hero-apply-ic svg { width: 14px; height: 14px; }
  .hero-apply:hover .hero-apply-ic { transform: translateX(3px); }

  /* Sous 860px : la rangée s'empile (vidéo · titre+CTA · paragraphe) */
  @media (max-width: 860px) {
    .hero-row { grid-template-columns: 1fr; gap: clamp(20px, 5vw, 30px); }
    .hero-lead { max-width: none; margin-top: 0; }
  }
  @media (max-width: 760px) {
    .hero { padding-top: clamp(104px, 15vh, 140px); }
    .hero-screen { aspect-ratio: 4 / 3; }
  }
  @media (prefers-reduced-motion: reduce) {
    .hero-video { transition: none; opacity: 1; transform: none; }
  }

  /* ---- Carrousel de principes ---- */
  .values-panel {
    background: var(--bg-2); border: 1px solid var(--line-1);
    border-radius: clamp(20px, 3vw, 30px);
    padding: clamp(28px, 4vw, 60px);
    display: grid; grid-template-columns: 0.82fr 1.18fr;
    gap: clamp(28px, 4vw, 64px); align-items: start;
  }
  .values-title { font-size: clamp(25px, 3.1vw, 38px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; color: var(--text-1); margin-top: 6px; }
  .values-stage { min-width: 0; }
  .values-viewport { overflow: hidden; min-width: 0; }
  .value-body { min-width: 0; }
  /* Glissé doux (ease-in-out, sans départ brusque) + léger fondu/échelle du
     contenu sur la slide active → changement plus smooth et plus net. */
  .values-track { display: flex; list-style: none; transition: transform 680ms cubic-bezier(0.65, 0, 0.35, 1); will-change: transform; }
  .value-slide {
    flex: 0 0 100%; min-width: 0;
    display: grid; grid-template-columns: clamp(148px, 18vw, 216px) 1fr;
    gap: clamp(20px, 3vw, 40px); align-items: center;
    opacity: 0.45;
    transition: opacity 680ms cubic-bezier(0.65, 0, 0.35, 1);
  }
  .value-slide.is-active { opacity: 1; }
  .value-visual {
    aspect-ratio: 1; border-radius: 18px;
    background: color-mix(in srgb, var(--vc, var(--accent)) 13%, transparent);
    border: 1px solid color-mix(in srgb, var(--vc, var(--accent)) 30%, transparent);
    display: inline-flex; align-items: center; justify-content: center; color: var(--vc, var(--accent));
    transform: scale(0.96);
    transition: transform 680ms cubic-bezier(0.65, 0, 0.35, 1);
  }
  .value-slide.is-active .value-visual { transform: scale(1); }
  .value-visual svg { width: 42%; height: 42%; }
  /* Une couleur de marque JCD par valeur (icône + halo) */
  .value-slide:nth-child(7n+1) .value-visual { --vc: #2E72BA; } 
  .value-slide:nth-child(7n+2) .value-visual { --vc: #F9D605; } 
  .value-slide:nth-child(7n+3) .value-visual { --vc: #F3941D; } 
  .value-slide:nth-child(7n+4) .value-visual { --vc: #E51D29; } 
  .value-slide:nth-child(7n+5) .value-visual { --vc: #B063AC; } 
  .value-slide:nth-child(7n+6) .value-visual { --vc: #8EC041; } 
  .value-slide:nth-child(7n) .value-visual { --vc: #A78D75; } 
  .value-name { font-size: clamp(19px, 2vw, 23px); font-weight: 600; letter-spacing: -0.02em; color: var(--text-1); margin-bottom: 12px; }
  .value-text { font-size: 15px; line-height: 1.65; color: var(--text-2); max-width: 44ch; }
  .values-foot {
    grid-column: 2; display: flex; align-items: center; justify-content: space-between;
    margin-top: clamp(22px, 3vw, 34px); padding-top: clamp(18px, 2vw, 26px);
    border-top: 1px solid var(--line-2);
  }
  .values-count { font-size: 14px; color: var(--text-3); letter-spacing: 0.02em; }
  .values-count b { color: var(--text-1); font-weight: 600; }
  .values-nav { display: flex; gap: 10px; }
  .values-arrow {
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line-3); color: var(--text-1); background: transparent;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background 200ms var(--ease-out), border-color 200ms var(--ease-out), opacity 200ms;
  }
  .values-arrow svg { width: 16px; height: 16px; }
  .values-arrow:hover { background: rgba(255,255,255,0.05); border-color: var(--text-2); }
  .values-arrow:disabled { opacity: 0.3; pointer-events: none; }
  @media (max-width: 880px) {
    .values-panel { grid-template-columns: 1fr; gap: 24px; }
    .values-foot { grid-column: 1; }
  }
  @media (max-width: 560px) {
    .value-slide { grid-template-columns: 1fr; gap: 16px; }
    .value-visual { width: 92px; }
  }

  /* ---- Accordéons (avantages · recrutement · FAQ) ---- */
  .acc-grid {
    display: grid; grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(36px, 6vw, 96px); align-items: start;
  }
  .acc-title { font-size: clamp(24px, 2.9vw, 35px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--text-1); }
  .acc-title--lg { font-size: clamp(28px, 3.6vw, 46px); }
  .acc-text { margin-top: 16px; font-size: 15.5px; line-height: 1.6; color: var(--text-2); max-width: 42ch; }
  .acc-list { border-top: 1px solid var(--line-2); }
  .acc-item { border-bottom: 1px solid var(--line-2); }
  .acc-h { margin: 0; font-size: inherit; font-weight: inherit; }
  .acc-q {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    gap: 24px; padding: clamp(18px, 2.2vw, 26px) 0;
    text-align: left; font-size: clamp(15.5px, 1.5vw, 18px); font-weight: 600;
    letter-spacing: -0.015em; color: var(--text-1); cursor: pointer;
    transition: color 200ms var(--ease-out);
  }
  .acc-q:hover, .acc-q[aria-expanded="true"] { color: var(--accent); }
  .acc-icon { position: relative; width: 16px; height: 16px; flex: 0 0 auto; color: inherit; }
  .acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; }
  .acc-icon::before { width: 16px; height: 1.6px; transform: translate(-50%, -50%); }
  .acc-icon::after { width: 1.6px; height: 16px; transform: translate(-50%, -50%); transition: transform 320ms var(--ease-out); }
  .acc-q[aria-expanded="true"] .acc-icon::after { transform: translate(-50%, -50%) scaleY(0); }
  .acc-a { overflow: hidden; height: 0; transition: height 380ms var(--ease-expo); }
  .acc-a-in { padding: 0 0 clamp(20px, 2.4vw, 26px); }
  .acc-a-in p { font-size: 15px; line-height: 1.65; color: var(--text-2); max-width: 62ch; }
  @media (max-width: 860px) { .acc-grid { grid-template-columns: 1fr; gap: 24px; } }

  /* ---- Panneau d'invitation (candidature spontanée) ---- */
  .feature-panel {
    background: var(--bg-2); border: 1px solid var(--line-1);
    border-radius: clamp(20px, 3vw, 30px);
    padding: clamp(30px, 4.5vw, 64px);
    display: grid; grid-template-columns: 1.4fr 0.6fr;
    gap: clamp(24px, 4vw, 56px); align-items: center;
  }
  .fp-title { font-size: clamp(24px, 3vw, 36px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; color: var(--text-1); margin: 14px 0 16px; max-width: 18ch; }
  .fp-text { font-size: 16px; line-height: 1.62; color: var(--text-2); max-width: 52ch; margin-bottom: 26px; }
  .fp-visual {
    aspect-ratio: 1; border-radius: 20px;
    background: var(--accent-soft); border: 1px solid var(--accent-line);
    display: flex; align-items: center; justify-content: center; color: var(--accent);
  }
  .fp-visual svg { width: 38%; height: 38%; }
  @media (max-width: 760px) {
    .feature-panel { grid-template-columns: 1fr; gap: 20px; }
    .fp-visual { display: none; }
  }

  /* ---- Bandeau CTA sombre (clôture façon Anthropic) ----
     Page entièrement sombre : plus de fondu crème→encre. Bandeau plat encre
     avec un soupçon de profondeur (--bg-1 → --bg) + hairline de séparation. */
  .cta-band {
    background-color: var(--bg);
    background-image: linear-gradient(180deg, var(--bg-1) 0%, var(--bg) 62%);
    color: var(--text-2);
    padding: clamp(100px, 12.5vw, 152px) 0 clamp(28px, 3.6vw, 52px);
    border-top: 1px solid var(--line-1); text-align: center;
  }
  .cta-band-title {
    font-size: clamp(33px, 5vw, 60px); font-weight: 600;
    letter-spacing: -0.035em; line-height: 1.05; color: #fff;
    max-width: 18ch; margin: 0 auto clamp(28px, 4vw, 40px);
  }
  /* Bouton clair posé sur le bandeau encre (ressort sur fond sombre). */
  .btn-light {
    display: inline-flex; align-items: center; gap: 9px;
    height: 52px; padding: 0 26px;
    background: var(--text-1); color: #0a0a0a;
    border-radius: 11px; font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
    transition: transform 220ms var(--ease-out), background 220ms var(--ease-out);
  }
  .btn-light svg { width: 15px; height: 15px; transition: transform 240ms var(--ease-out); }
  .btn-light:hover { background: #fff; transform: translateY(-1px); }
  .btn-light:hover svg { transform: translateX(3px); }

/* ==================================================================
   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) */
  html{ overflow-x:clip; }
  :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; }
}
