@charset "UTF-8";

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

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

  :root {
    --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 neutre de la page Contact = bleu JCD (multi-pôles → pas
       d'accent de pôle dominant ; les 7 couleurs vivent dans les cartes
       et la barre de progression via --rainbow). */
    --accent: #2E72BA;
    --accent-rgb: 46, 114, 186;
    --accent-hi: #4a90d9;
    --accent-soft: rgba(46, 114, 186, 0.10);
    --accent-line: rgba(46, 114, 186, 0.22);
    --accent-deep: #22568c;

    /* 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;
    --c-servicesgeneraux: #F2F4F7;   /* 8e catégorie contact (services internes) — neutre blanc */
    --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;
    --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
    --font-serif: "Instrument Serif", "Tiempos Text", 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);
  }

  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 {Expertises ▾ · Contact · Carrières}
     · CTA Assistance (d). Le fond de la bande est fadé à 0 sur les
     bords via mask-image (forme "rectangulaire ellipse"). 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 */
  }

  /* Fond de la bande : opacité de base + scrolled, masque gradient
     gauche/droite => "barre ellipse" qui s'évanouit franchement aux
     extrémités. Fade très marqué : zone opaque seulement au centre. */
  .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);
    /* Fade exagéré : transparent jusqu'à 8%, montée douce jusqu'à 36%,
       plateau opaque jusqu'à 64%, redescente jusqu'à 92%, transparent. */
    -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);
  }

  /* Liseré bas, lui aussi fadé sur les bords (alignement symétrique) */
  .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; }

  /* Grid 3 colonnes : logo | capsule | CTA */
  .nav-inner {
    pointer-events: auto;     /* on réactive le pointer pour le contenu */
    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 PNG officiel JCD — ratio 1530×482 (≈3.174:1), rendu HD */
  .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;
  }

  /* ----- 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;
    /* Double-bezel : highlight intérieur très subtil + ombre extérieure soft */
    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);
  }

  /* Chaque item du pill : link ou bouton, même rythme typo */
  .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 ----------------------
     Contraste bi-tonal dans une même capsule :
       · Assistance → noir sur blanc (item clair)
       · Contact    → blanc sur noir (item sombre)
     Les deux items partagent le même contour pill. */
  .nav-cta {
    justify-self: end;
    display: flex;
    align-items: center;
    pointer-events: auto;
  }

  /* Container NOIR — hauteur EXACTE 32px (= Assistance). */
  .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;            /* le glow doit pouvoir s'échapper */
    transition: box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  /* Hover sur Contact → seul effet : contour qui glow en blanc
     (couleur de contraste de la pill noire). Aucun changement de
     bg, aucun shift de couleur, aucun transform. */
  .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);
  }

  /* Métriques communes : exactement la hauteur du container */
  .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;
  }

  /* Assistance — premier plan, pill blanche. */
  .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);
  }
  /* Hover Assistance → seul effet : contour qui glow dans sa
     couleur de contraste (sombre sur surface blanche). Aucun
     changement de bg, aucun shift de couleur, aucun transform. */
  .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);
  }

  /* Contact — texte blanc fondu sur le noir du container.
     Aucun effet propre au hover : le glow est porté par le
     container (cf. .nav-pill--actions:has). */
  .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 — 7 expertises avec SVG 3D isométriques
     Position : sous la navbar, centré sur l'écran. Animation
     d'ouverture : translate + opacity + scale très léger.
     ============================================================ */
  /* 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;
  }

  /* ============================================================
     Stacked vertical (pattern Vercel / Notion / Linear).
     Chaque expertise = une ligne pleine largeur. Sous-sections
     indentées sous le parent. Monochrome strict : aucune couleur
     de marque, hairlines + 1 dot bleu JCD au hover sous-section.
     ============================================================ */
  .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;
  }
  /* Hairline gradient entre parents (sauf au-dessus du premier) */
  .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;
  }

  /* ============================================================
     Item parent : ligne pleine largeur, titre aligné à gauche.
     Hover = bg subtil + texte primaire. Aucune couleur d'accent.
     ============================================================ */
  .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 cubic-bezier(0.22, 1, 0.36, 1),
      color 220ms cubic-bezier(0.22, 1, 0.36, 1);
    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;
  }

  /* ============================================================
     Sous-liste : indentée, typo plus légère, dot subtle qui
     passe au bleu JCD au hover (seul accent coloré du panel).
     ============================================================ */
  .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 cubic-bezier(0.22, 1, 0.36, 1),
      color 200ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .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 cubic-bezier(0.22, 1, 0.36, 1),
      opacity 200ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .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;
  }
  .nav-panel__sub-item:focus-visible {
    box-shadow: inset 0 0 0 1px rgba(46, 114, 186, 0.40);
  }

  /* ----- 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; }
    .btn-assistance { height: 32px; padding: 0 12px 0 10px; font-size: 12px; }
  }
  @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; }
  }

  /* Hero */
  .print-hero {
    position: relative;
    min-height: 100vh;
    padding: clamp(120px, 14vh, 160px) 0 80px;
    display: flex; align-items: center;
    overflow: hidden;
  }
  .print-hero::before {
    content: "";
    position: absolute;
    inset: -10% -10% auto -10%;
    height: 760px;
    background:
      radial-gradient(38% 50% at 14% 24%, rgba(229, 29, 41, 0.07) 0%, transparent 60%),
      radial-gradient(36% 56% at 42% 22%, rgba(229, 29, 41, 0.06) 0%, transparent 60%),
      radial-gradient(40% 52% at 72% 28%, rgba(229, 29, 41, 0.05) 0%, transparent 60%),
      radial-gradient(30% 48% at 94% 36%, rgba(229, 29, 41, 0.04) 0%, transparent 60%);
    pointer-events: none; z-index: 0;
  }
  .print-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-hi); }

  .hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 4px 12px 4px 4px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--line-2);
    border-radius: 999px;
    font-size: 12px; color: var(--text-2);
    margin-bottom: 28px;
    transition: background 160ms ease, border-color 160ms ease;
    font-weight: 500;
  }
  .hero-badge:hover { background: rgba(255,255,255,0.07); border-color: var(--line-3); }
  .hero-badge-tag {
    display: inline-block; padding: 2px 9px;
    background: var(--accent-soft); color: var(--accent-hi);
    border-radius: 999px;
    font-size: 10px; font-weight: 600;
    letter-spacing: 0.06em; text-transform: uppercase;
  }

  .hero-title {
    font-size: clamp(34px, 5.27vw, 65px);
    line-height: 1.02; letter-spacing: -0.035em;
    margin: 18px 0 22px;
    font-weight: 600; max-width: 18ch;
    color: var(--text-1);
  }
  .hero-title em {
    background: linear-gradient(120deg,
      rgba(240, 65, 80, 0.95) 0%,
      rgba(229, 29, 41, 0.92) 50%,
      rgba(178, 22, 32, 0.85) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .hero-sub {
    max-width: 560px; margin-bottom: 36px;
    font-size: 16px; line-height: 1.55;
    color: var(--text-2);
    letter-spacing: -0.005em;
  }
  .hero-actions {
    display: flex; gap: 10px; flex-wrap: wrap;
  }

  /* "Bientôt" — section coming-soon */
  .coming-soon {
    padding: clamp(80px, 10vw, 140px) 0;
    border-top: 1px solid var(--line-1);
    position: relative;
  }
  .cs-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    display: flex; flex-direction: column;
    gap: 28px; align-items: center;
  }
  .cs-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;
  }
  .cs-eyebrow::before {
    content: ""; width: 16px; height: 1px;
    background: var(--accent);
  }
  .cs-title {
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 600;
    line-height: 1.08; letter-spacing: -0.03em;
    color: var(--text-1);
  }
  .cs-title em {
    font-family: var(--font-serif);
    font-style: italic; font-weight: 400;
    color: var(--accent);
  }
  .cs-text {
    font-size: 16px; line-height: 1.6;
    color: var(--text-2);
    max-width: 540px;
  }
  .cs-progress {
    margin-top: 8px;
    display: flex; gap: 18px;
    padding-top: 24px;
    border-top: 1px solid var(--line-1);
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    flex-wrap: wrap; justify-content: center;
  }
  .cs-progress em { color: var(--accent-hi); }
  .cs-actions {
    display: inline-flex; gap: 12px; flex-wrap: wrap;
    justify-content: center; margin-top: 4px;
  }

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

  /* ============================================================
     QUESTIONNAIRE CONTACT — multi-pôles, 3 étapes guidées.
     Réutilise les tokens globaux. Double-bezel + cubic-bezier
     maison + reveals. Les 7 couleurs JCD pilotent cartes, chips
     et barre de progression (var --pc, propre à chaque pôle).
     ============================================================ */
  .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;
  }

  /* Hero compact (override du print-hero plein écran) */
  .contact-hero { min-height: auto; padding: clamp(116px, 13vh, 150px) 0 8px; }
  .contact-hero::before { height: 460px; }
  /* Sur la page contact, le mot accentué prend le dégradé 7 couleurs */
  .contact-hero em {
    background: var(--rainbow);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }

  .q-section {
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    padding: clamp(88px, 10vh, 108px) 0 clamp(28px, 4vh, 48px);
    position: relative; z-index: 2;
  }
  /* En contexte flex-colonne, .container (margin:0 auto) retrecit sur son contenu :
     on fige sa largeur pour que la carte ne change pas de taille a la selection. */
  .q-section > .container { width: 100%; }

  /* ---- Shell double-bezel (coquille + cœur) ---- */
  .q-shell {
    max-width: 820px; 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(18px, 2.6vw, 30px);
    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(--rainbow); opacity: 0.55;
  }

  /* ---- Barre de progression ---- */
  .q-progress { margin-bottom: clamp(16px, 2vw, 22px); }
  .q-progress-track {
    height: 4px; border-radius: 999px;
    background: var(--line-2); overflow: hidden;
  }
  .q-progress-fill {
    height: 100%; border-radius: 999px; background: var(--text-1);
    transform-origin: left center; transform: scaleX(0.5);
    transition: transform 620ms var(--ease-out);
  }
  .q-progress-steps {
    list-style: none; display: flex; justify-content: space-between;
    margin: 10px 0 0; padding: 0; gap: 8px;
  }
  .q-progress-step {
    display: flex; align-items: center; gap: 9px; min-width: 0;
    font-size: 12.5px; color: var(--text-3);
    transition: color 300ms var(--ease-out);
  }
  .q-progress-num {
    flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-mono); font-size: 11px;
    background: var(--bg-3); border: 1px solid var(--line-2); color: var(--text-3);
    transition: background 300ms var(--ease-out), color 300ms var(--ease-out), border-color 300ms var(--ease-out);
  }
  .q-progress-step.is-active { color: var(--text-1); }
  .q-progress-step.is-active .q-progress-num { background: var(--text-1); color: #0a0a0a; border-color: transparent; }
  .q-progress-step.is-done .q-progress-num { background: var(--text-2); border-color: transparent; color: #0a0a0a; }
  .q-progress-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  @media (max-width: 560px) { .q-progress-label { display: none; } }

  /* ---- Étapes ---- */
  .q-step[hidden] { display: none; }
  .q-step { animation: qStepIn 520ms var(--ease-out) both; }
  @keyframes qStepIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .q-step-title { font-size: clamp(20px, 2.6vw, 27px); letter-spacing: -0.02em; margin-bottom: 6px; outline: none; }
  .q-step-hint { font-size: 14px; color: var(--text-2); margin-bottom: 14px; }
  .q-count { color: var(--text-1); font-weight: 500; }

  /* ---- Sélecteur d'intention (segmented control) ---- */
  .q-intent {
    position: relative; display: inline-flex; padding: 4px; margin-bottom: 18px;
    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);
  }

  /* ---- Grille des pôles (multi-sélection) ---- */
  .pole-fieldset { border: 0; padding: 0; margin: 0; }
  .pole-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  @media (max-width: 620px) { .pole-grid { grid-template-columns: 1fr; } }
  .pole-card {
    --pc: var(--text-2);
    position: relative; display: flex; align-items: center; gap: 13px;
    padding: 12px 15px; border-radius: 14px; cursor: pointer;
    background: rgba(255, 255, 255, 0.018);
    /* Contour légèrement teinté de la couleur du pôle dès le repos :
       aide à identifier chaque case d'un coup d'œil. */
    border: 1px solid color-mix(in srgb, var(--pc) 16%, var(--line-2));
    transition: background 280ms var(--ease-out), border-color 280ms var(--ease-out),
                box-shadow 280ms var(--ease-out), transform 280ms var(--ease-out);
  }
  /* Survol : le contour prend franchement la teinte du pôle (sous le
     niveau de l'état coché à 60%) + léger halo et fond teinté. */
  .pole-card:hover {
    background: color-mix(in srgb, var(--pc) 6%, rgba(255, 255, 255, 0.03));
    border-color: color-mix(in srgb, var(--pc) 45%, transparent);
    box-shadow: 0 2px 14px -8px color-mix(in srgb, var(--pc) 32%, transparent);
    transform: translateY(-1px);
  }
  .pole-card:active { transform: translateY(0); }
  .pole-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
  .pole-ico {
    flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--pc);
    background: color-mix(in srgb, var(--pc) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--pc) 26%, transparent);
    transition: background 300ms var(--ease-out), border-color 300ms var(--ease-out);
  }
  .pole-ico svg { width: 19px; height: 19px; }
  .pole-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .pole-name { font-size: 14px; font-weight: 500; color: var(--text-1); letter-spacing: -0.01em; }
  .pole-sub { font-size: 12px; color: var(--text-3); }
  .pole-check {
    margin-left: auto; flex: 0 0 auto; width: 20px; height: 20px; border-radius: 6px;
    border: 1.5px solid var(--line-3);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; transition: background 240ms var(--ease-out), border-color 240ms var(--ease-out);
  }
  .pole-check svg { width: 12px; height: 12px; opacity: 0; transform: scale(0.4); transition: opacity 200ms var(--ease-out), transform 300ms cubic-bezier(0.34, 1.5, 0.5, 1); }
  .pole-card:has(input:checked) {
    background: color-mix(in srgb, var(--pc) 8%, transparent);
    border-color: color-mix(in srgb, var(--pc) 60%, transparent);
    box-shadow: 0 2px 12px -6px color-mix(in srgb, var(--pc) 38%, transparent);
  }
  .pole-card:has(input:checked) .pole-ico {
    background: color-mix(in srgb, var(--pc) 22%, transparent);
    border-color: color-mix(in srgb, var(--pc) 45%, transparent);
  }
  .pole-card:has(input:checked) .pole-check { background: var(--pc); border-color: var(--pc); }
  /* Pôle clair (services généraux) : coche foncée — lisible sur fond de coche blanc */
  .pole-card--light:has(input:checked) .pole-check { color: #15171c; }
  .pole-card:has(input:checked) .pole-check svg { opacity: 1; transform: scale(1); }
  .pole-card:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

  /* ---- Blocs adaptatifs (étape 2) ---- */
  .q-blocks { display: flex; flex-direction: column; gap: 14px; }
  .q-block {
    --pc: var(--text-2);
    border: 1px solid var(--line-2); border-left: 2px solid var(--pc);
    border-radius: 14px; padding: 16px 18px; background: rgba(255, 255, 255, 0.018);
  }
  .q-block-head { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
  .q-block-ico {
    width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--pc);
    background: color-mix(in srgb, var(--pc) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--pc) 28%, transparent);
  }
  .q-block-ico svg { width: 16px; height: 16px; }
  .q-block-name { font-size: 14.5px; font-weight: 600; color: var(--text-1); }
  .q-block-q { margin-top: 13px; }
  .q-block-q:first-of-type { margin-top: 0; }
  .q-block-label {
    display: block; font-family: var(--font-mono); font-size: 10.5px;
    text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-3); margin-bottom: 9px;
  }
  .chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
  .chip { position: relative; cursor: pointer; }
  .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
  .chip span {
    display: inline-flex; align-items: center; height: 32px; padding: 0 14px;
    border-radius: 999px; font-size: 12.5px; color: var(--text-2);
    background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-2);
    transition: color 220ms var(--ease-out), background 220ms var(--ease-out), border-color 220ms var(--ease-out);
  }
  .chip:hover span { color: var(--text-1); border-color: var(--line-3); }
  .chip input:checked + span {
    color: var(--text-1);
    background: color-mix(in srgb, var(--pc) 16%, transparent);
    border-color: color-mix(in srgb, var(--pc) 55%, transparent);
  }
  .chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

  /* ---- Récapitulatif + champs (étape 3) ---- */
  .q-recap { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
  .recap-chip {
    --pc: var(--text-2);
    display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 13px;
    border-radius: 999px; font-size: 12.5px; color: var(--text-1);
    background: color-mix(in srgb, var(--pc) 13%, transparent);
    border: 1px solid color-mix(in srgb, var(--pc) 40%, transparent);
  }
  .recap-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pc); }
  .q-fields { display: flex; flex-direction: column; gap: 12px; }
  .q-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  @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 textarea { resize: vertical; min-height: 72px; line-height: 1.5; }
  .q-field input::placeholder, .q-field textarea::placeholder { color: var(--text-4); }
  .q-field input:focus, .q-field select:focus, .q-field textarea: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 textarea {
    border-color: #e5484d; box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.12);
  }

  .q-rgpd { display: flex; gap: 11px; margin-top: 14px; 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; }

  /* ---- Actions / boutons (button-in-button) ---- */
  .q-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
  .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; }
  .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(--c-formation) 16%, transparent);
    border: 1px solid color-mix(in srgb, var(--c-formation) 45%, transparent);
    color: var(--c-formation);
  }
  .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 a { color: var(--text-1); text-decoration: underline; text-underline-offset: 2px; }
  .q-success .q-recap { justify-content: center; margin: 2px 0 4px; }

  @media (prefers-reduced-motion: reduce) {
    .q-step, .q-success { animation: none; }
    .q-progress-fill, .q-intent-glider, .q-btn, .q-btn-arrow, .pole-card, .pole-ico, .pole-check, .pole-check svg, .chip span { transition-duration: 80ms !important; }
    .q-spinner { animation-duration: 1400ms; }
  }

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