@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 — Pôle Développement (jaune JCD) */
    --accent: #F9D605;
    --accent-rgb: 249, 214, 5;
    --accent-hi: #fce148;
    --accent-soft: rgba(249, 214, 5, 0.10);
    --accent-line: rgba(249, 214, 5, 0.22);
    --accent-deep: #c4ab04;

    --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 — Mesh WebGL (or) + champ ASCII binaire + texture/grain
     Sticky : le manifeste-terminal glisse par-dessus le hero épinglé.
     ======================================================================== */
  .hero-pin-zone { position: relative; }

  .print-hero {
    position: sticky; top: 0;
    /* aligné sur telecom / print : 85vh + même padding → même hauteur de hero
       et même teaser du manifeste en bas de viewport au chargement */
    min-height: 85vh;
    padding: clamp(110px, 13vh, 150px) 0 clamp(40px, 6vh, 70px);
    display: flex; align-items: center;
    overflow: hidden; z-index: 1; isolation: isolate;

    /* Palette mesh — monochrome (halo blanc/gris) ; le jaune est réservé à l'ASCII */
    --mesh-c1:  13,  13,  13;
    --mesh-c2: 249, 214,   5;   /* jaune charte #F9D605 (qw2) */
    --mesh-c3: 196, 150,  20;   /* or profond (qw2) */
    --mesh-c4: 252, 225,  72;   /* jaune clair (qw2) */
  }

  .hero-mesh-fallback {
    position: absolute; inset: -10% -10% auto -10%; height: 820px;
    z-index: 0; pointer-events: none;
    background:
      radial-gradient(50% 60% at 18% 26%, rgba(var(--mesh-c2), 0.10) 0%, transparent 64%),
      radial-gradient(46% 60% at 80% 40%, rgba(var(--mesh-c3), 0.07) 0%, transparent 64%);
    filter: blur(40px);
  }
  .hero-mesh {
    position: absolute; inset: 0; width: 100%; height: 100%;
    z-index: 1; pointer-events: none;
    opacity: 0; transition: opacity 1400ms var(--ease-expo);
    /* Débouche le voile olive : fond plus profond, jaunes plus francs */
    filter: brightness(0.86) saturate(1.18);
  }
  .hero-mesh.is-ready { opacity: 0.82; }

  .hero-texture {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
  }
  .hero-texture--grid {
    background-image:
      linear-gradient(to right, rgba(0,0,0,0.38) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(0,0,0,0.38) 1px, transparent 1px);
    background-size: 44px 44px, 44px 44px;
    background-position: center top;
    opacity: 0.46;
    -webkit-mask-image: radial-gradient(ellipse 92% 78% at 50% 42%, #000 12%, rgba(0,0,0,0.32) 60%, transparent 100%);
            mask-image: radial-gradient(ellipse 92% 78% at 50% 42%, #000 12%, rgba(0,0,0,0.32) 60%, transparent 100%);
  }

  /* Scintillement par cellules : cases qui s'allument en jaune (sous la grille
     noire → effet « circuit »). Aligné 44px, même masque radial que la grille. */
  .hero-gridglow {
    position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse 92% 78% at 50% 42%, #000 12%, rgba(0,0,0,0.32) 60%, transparent 100%);
            mask-image: radial-gradient(ellipse 92% 78% at 50% 42%, #000 12%, rgba(0,0,0,0.32) 60%, transparent 100%);
  }

  /* Champ ASCII gravé : statique, monochrome gris, vignetté (fondu géré en canvas). */
  .hero-ascii {
    position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none;
    opacity: 0.85;
  }

  .hero-grain {
    position: absolute; inset: 0; z-index: 3; pointer-events: none;
    opacity: 0.045;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    mix-blend-mode: overlay;
  }

  .print-hero > .container { position: relative; z-index: 4; }
  .print-hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 4; pointer-events: none;
    background: linear-gradient(90deg, transparent 0%, rgba(var(--mesh-c2),0.0) 10%, rgba(var(--mesh-c2),0.22) 50%, rgba(var(--mesh-c2),0.0) 90%, transparent 100%);
  }

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

  .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(252, 225, 72, 0.95) 0%,
      rgba(249, 214, 5, 0.92) 50%,
      rgba(196, 171, 4, 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;
  }

  /* ========================================================================
     UTILITAIRES — eyebrow / titres de section
     ======================================================================== */
  .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;
  }
  .eyebrow::before { content: ""; width: 16px; height: 1px; background: var(--accent); }
  em { color: var(--accent); }
  .text-muted { color: var(--text-2); font-weight: 400; }

  .section-head { margin-bottom: clamp(46px, 6vw, 80px); }
  .section-head .eyebrow { margin-bottom: 22px; }
  .section-title {
    font-size: clamp(28px, 3.4vw, 44px); font-weight: 600;
    line-height: 1.1; letter-spacing: -0.03em; color: var(--text-1);
    max-width: 22ch;
  }
  .section-title em { color: var(--accent); }
  .section-title .text-muted {
    display: block; margin-top: 16px;
    font-size: clamp(15px, 1.3vw, 17px); font-weight: 400;
    line-height: 1.55; letter-spacing: -0.005em; color: var(--text-2);
    max-width: 52ch;
  }

  /* ========================================================================
     MANIFESTO — Fenêtre terminal / ligne de commande
     Le terminal glisse par-dessus le hero épinglé (fond opaque).
     ======================================================================== */
  .manifesto {
    position: relative; z-index: 2;
    isolation: isolate; overflow: hidden;
    /* Ambiance "glow d'editeur" : base profonde + lueur ambree haute + vignette de profondeur */
    background:
      radial-gradient(125% 85% at 50% -12%, rgba(252,225,72,0.05) 0%, transparent 52%),
      radial-gradient(135% 105% at 50% 46%, transparent 56%, rgba(0,0,0,0.55) 100%),
      #0b0b0c;
    border-top: 1px solid var(--line-1);
    /* placement du 1er bloc texte aligné sur telecom / print */
    padding: clamp(28px, 3.5vw, 52px) 0 clamp(60px, 8vw, 104px);
  }
  /* Halos ambres diffus (bokeh facon syntax-highlighting flou), statiques */
  .manifesto::before {
    content: ""; position: absolute; inset: -12% -6%; z-index: 0; pointer-events: none;
    background:
      radial-gradient(34% 30% at 16% 20%, rgba(252,225,72,0.11) 0%, transparent 70%),
      radial-gradient(30% 26% at 84% 26%, rgba(249,214,5,0.072) 0%, transparent 72%),
      radial-gradient(48% 40% at 74% 90%, rgba(196,171,4,0.088) 0%, transparent 74%),
      radial-gradient(24% 22% at 32% 84%, rgba(252,225,72,0.05) 0%, transparent 75%);
  }
  /* Rythme de lignes de code (tres subtil), concentre au centre via masque radial */
  .manifesto::after {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: linear-gradient(rgba(255,255,255,0.014) 1px, transparent 1px) 0 0 / 100% 34px;
    -webkit-mask-image: radial-gradient(120% 90% at 50% 40%, #000 35%, transparent 80%);
            mask-image: radial-gradient(120% 90% at 50% 40%, #000 35%, transparent 80%);
  }
  .manifesto > .container { position: relative; z-index: 1; }
  .mf-shell { max-width: 900px; margin: 0 auto; }

  .mf-header {
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px; flex-wrap: wrap;
    padding-bottom: 14px; margin-bottom: clamp(28px, 4vw, 46px);
    border-bottom: 1px solid var(--line-2);
    font-family: var(--font-mono); font-size: 11px;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3);
  }
  .mf-header-side { display: inline-flex; align-items: center; gap: 12px; }
  .mf-caret { color: var(--accent-hi); font-size: 12px; }
  .mf-id { color: var(--text-1); font-weight: 500; }
  .mf-rule { width: 26px; height: 1px; background: var(--line-3); }

  /* --- Fenêtre terminal --- */
  .term-window {
    position: relative;
    background: linear-gradient(180deg, #101011 0%, #0a0a0b 100%);
    border: 1px solid var(--line-2);
    border-radius: 14px;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.04),
      0 2px 8px rgba(0,0,0,0.40),
      0 34px 70px -34px rgba(0,0,0,0.85);
    overflow: hidden;
  }
  .term-bar {
    display: flex; align-items: center; gap: 14px;
    height: 42px; padding: 0 16px;
    background: rgba(255,255,255,0.022);
    border-bottom: 1px solid var(--line-1);
  }
  .term-dots { display: inline-flex; gap: 7px; flex: 0 0 auto; }
  .term-dots i {
    width: 11px; height: 11px; border-radius: 50%; display: block;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.25);
  }
  .term-dots i:nth-child(1) { background: rgba(237,106,94,0.85); }
  .term-dots i:nth-child(2) { background: rgba(245,191,79,0.85); }
  .term-dots i:nth-child(3) { background: rgba(98,197,116,0.85); }
  .term-title {
    flex: 1 1 auto; text-align: center;
    font-family: var(--font-mono); font-size: 12px;
    color: var(--text-3); letter-spacing: 0.01em; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
  }
  .term-bar-spacer { flex: 0 0 auto; width: 47px; }

  .term-body {
    padding: clamp(22px, 3vw, 38px) clamp(20px, 3vw, 40px) clamp(26px, 3.4vw, 44px);
    font-family: var(--font-mono);
  }
  .term-line {
    display: flex; gap: 10px; align-items: baseline;
    font-size: clamp(12.5px, 1vw, 14px); color: var(--text-3);
    margin-bottom: clamp(18px, 2.2vw, 26px);
  }
  .term-prompt { color: var(--accent); font-weight: 500; flex: 0 0 auto; }
  .term-cmd { color: var(--text-2); }
  .term-com { color: color-mix(in srgb, var(--accent-hi) 65%, white); display: block; margin-bottom: 14px; font-size: clamp(12px,0.95vw,13px); }
  .term-out {
    color: var(--text-2);
    font-size: clamp(16px, 1.45vw, 20px);
    line-height: 1.72; letter-spacing: 0.004em;
    max-width: 72ch; margin: 0;
  }
  .term-out strong { color: var(--text-1); font-weight: 600; }
  .term-out em { color: var(--accent); font-weight: 500; }
  .term-cursor {
    display: inline-block; width: 0.55em; height: 1.05em;
    background: var(--accent); margin-left: 3px; vertical-align: -0.16em;
    animation: term-blink 1.05s steps(2, start) infinite;
  }
  @keyframes term-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
  @media (prefers-reduced-motion: reduce) { .term-cursor { animation: none; } }

  /* --- Stats + signoff sous le terminal --- */
  .manifesto-pull {
    max-width: 900px; margin: clamp(28px, 3.6vw, 46px) auto 0;
    padding-top: clamp(20px, 2.4vw, 30px);
    border-top: 1px solid var(--line-2);
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px 36px; flex-wrap: wrap; font-family: var(--font-mono);
  }
  .mf-stats {
    display: inline-flex; align-items: baseline; flex-wrap: wrap;
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3);
  }
  .mf-stat { display: inline-flex; align-items: baseline; gap: 7px; }
  .mf-stat-num {
    color: var(--text-1); font-weight: 500; font-size: 13px;
    letter-spacing: 0.03em; font-variant-numeric: tabular-nums;
  }
  .mf-stat + .mf-stat::before { content: "\00b7"; margin: 0 13px; color: var(--text-4); }
  .mf-signoff { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }
  .mf-signoff em { color: var(--accent-hi); font-weight: 500; }

  /* ========================================================================
     PRESTATIONS — aside (2 solutions + logos) + grille 2x3
     ======================================================================== */
  .prestations {
    padding: 0 0 clamp(90px, 10vw, 140px);
    position: relative; z-index: 2;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-1) 100%);
  }
  .prestations > .container { padding-top: clamp(48px, 6vw, 80px); }
  .prest-layout {
    display: grid;
    grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
    gap: clamp(36px, 4.4vw, 64px); align-items: stretch;
  }
  @media (max-width: 880px) { .prest-layout { grid-template-columns: 1fr; gap: 36px; } }

  .prest-aside { display: flex; flex-direction: column; gap: 18px; }
  .prest-aside .eyebrow { margin-bottom: 8px; }
  .prest-aside-title {
    font-size: clamp(28px, 3vw, 40px); font-weight: 600;
    letter-spacing: -0.035em; line-height: 1.04; color: var(--text-1);
  }
  .prest-aside-title em { color: var(--accent); }
  .prest-aside-sub {
    font-size: 14.5px; line-height: 1.6; color: var(--text-2);
    max-width: 360px; letter-spacing: -0.005em;
  }
  .prest-aside-clients {
    margin-top: clamp(28px, 3.5vw, 44px); padding-top: 22px;
    border-top: 1px solid var(--line-1);
    flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0;
  }
  .prest-aside-clients-head {
    display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
    font-family: var(--font-mono); font-size: 10.5px;
    letter-spacing: 0.2em; text-transform: uppercase; line-height: 1; flex-shrink: 0;
  }
  .prest-aside-clients-label { color: var(--text-2); font-weight: 500; }
  .prest-aside-clients-rule { flex: 1; height: 1px; background: var(--line-1); }
  .prest-aside-clients-count { color: var(--text-3); font-weight: 500; }

  .logo-marquee {
    position: relative; overflow: hidden; flex: 1 1 auto; min-height: 360px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  }
  .logo-marquee-col {
    position: absolute; top: 0; display: flex; flex-direction: column;
    animation: marquee-scroll var(--dur, 28s) linear infinite; will-change: transform;
  }
  .logo-marquee-col:nth-child(1) { left: 0; width: 54%; --dur: 30s; }
  .logo-marquee-col:nth-child(2) { right: 0; width: 42%; --dur: 36s; animation-direction: reverse; }
  @keyframes marquee-scroll { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }

  /* Logos nus : plus de carte (fond / bordure / arrondi), juste la marque
     monochrome qui flotte sur le fond, façon mur de logos « ils nous font confiance ». */
  .logo-marquee-item {
    position: relative; display: flex; align-items: center; justify-content: center;
    height: 44px; padding: 0 6px; margin-bottom: 26px;
  }
  .logo-marquee-item img {
    max-height: 28px; max-width: 92%; width: auto; object-fit: contain; opacity: 0.6;
    filter: grayscale(1) brightness(1.9) contrast(0.95);
    transition: opacity 360ms ease, filter 360ms ease; mix-blend-mode: lighten;
  }
  .logo-marquee-item:hover img { opacity: 0; filter: grayscale(1) brightness(2) contrast(1.05); }
  .logo-marquee-item::after {
    content: attr(data-name); position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center; padding: 4px 8px;
    font-family: var(--font-mono); font-size: 10px; line-height: 1.25; font-weight: 500;
    letter-spacing: 0.07em; text-transform: uppercase; text-align: center; color: var(--text-1);
    opacity: 0; transform: translateY(2px);
    transition: opacity 300ms ease, transform 300ms ease; pointer-events: none;
  }
  .logo-marquee-item:hover::after { opacity: 1; transform: translateY(0); }
  @media (prefers-reduced-motion: reduce) { .logo-marquee-col { animation: none; } }

  .prest-menu {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px; background: var(--line-2); border: 1px solid var(--line-2);
    border-radius: 4px; position: relative;
  }
  .prest-menu::after {
    content: ""; position: absolute; inset: -2px; pointer-events: none; z-index: 1; border-radius: 6px;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-1) 100%);
    -webkit-mask-image:
      radial-gradient(circle 150px at top left, #000 0%, #000 34%, transparent 100%),
      radial-gradient(circle 150px at top right, #000 0%, #000 34%, transparent 100%),
      radial-gradient(circle 150px at bottom left, #000 0%, #000 34%, transparent 100%),
      radial-gradient(circle 150px at bottom right, #000 0%, #000 34%, transparent 100%);
            mask-image:
      radial-gradient(circle 150px at top left, #000 0%, #000 34%, transparent 100%),
      radial-gradient(circle 150px at top right, #000 0%, #000 34%, transparent 100%),
      radial-gradient(circle 150px at bottom left, #000 0%, #000 34%, transparent 100%),
      radial-gradient(circle 150px at bottom right, #000 0%, #000 34%, transparent 100%);
  }
  @media (max-width: 560px) { .prest-menu { grid-template-columns: 1fr; } .prest-menu::after { display: none; } }

  .prest-item {
    position: relative; display: flex; flex-direction: column; gap: 14px;
    padding: clamp(24px, 2.6vw, 36px); background: var(--bg);
    transition: background 320ms var(--ease-out); min-height: 200px; overflow: hidden;
  }
  .prest-item::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
    opacity: 0; transition: opacity 320ms ease; z-index: 2;
  }
  .prest-item:hover { background: linear-gradient(180deg, rgba(249,214,5,0.04) 0%, var(--bg) 100%); }
  .prest-item:hover::before { opacity: 0.55; }
  .prest-item-head, .prest-item-title, .prest-item-desc { position: relative; z-index: 2; }
  .prest-item-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
  .prest-item-glyph {
    width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center;
    color: var(--text-2); border: 1px solid var(--line-2); border-radius: 6px;
    background: rgba(255,255,255,0.012); flex-shrink: 0;
  }
  .prest-item-glyph svg { width: 28px; height: 28px; }
  .prest-item-num {
    font-family: var(--font-mono); font-size: 10.5px; color: var(--text-3);
    letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; line-height: 1;
  }
  .prest-item-num em { color: var(--accent); }
  .prest-item-title {
    font-size: clamp(18px, 1.7vw, 21px); font-weight: 600;
    letter-spacing: -0.022em; line-height: 1.22; color: var(--text-1); margin-top: auto;
  }
  .prest-item-desc { font-size: 13.5px; line-height: 1.55; color: var(--text-2); letter-spacing: -0.005em; }

  /* ========================================================================
     SECTION DIVIDER
     ======================================================================== */
  .section-divider { position: relative; z-index: 2; padding: 0; background: var(--bg-1); }
  .section-divider-line {
    display: block; height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.02) 8%, rgba(255,255,255,0.09) 50%, rgba(255,255,255,0.02) 92%, transparent 100%);
  }

  /* ========================================================================
     PROCESS — "Pipeline" : axe horizontal CI/CD à 4 étapes + cards
     ======================================================================== */
  .process {
    padding: clamp(90px, 10vw, 140px) 0; position: relative; z-index: 2;
    background:
      radial-gradient(ellipse 76% 64% at 50% 54%, transparent 34%, rgba(8,8,7,0.55) 100%),
      linear-gradient(180deg, var(--bg-1) 0%, var(--bg-1) 50%, var(--bg) 100%);
  }
  .process::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(ellipse 65% 28% at 50% 38%, rgba(249,214,5,0.03) 0%, transparent 70%);
    pointer-events: none; z-index: 0;
  }
  .process > .container { position: relative; z-index: 1; }

  .pf-vflow { position: relative; margin-top: clamp(14px, 1.8vw, 24px); z-index: 1; }
  /* Rapproche le schéma de la baseline : les marges sœurs fusionnent (collapse)
     vers la plus grande, donc on réduit la dominante — le margin-bottom du
     section-head — mais uniquement pour #process (les autres sections gardent
     leur respiration). */
  #process .section-head { margin-bottom: clamp(24px, 3vw, 38px); }
  .pf-vflow::before {
    content: ""; position: absolute; inset: -6% -3% -14%;
    background:
      radial-gradient(ellipse 50% 56% at 30% 50%, rgba(249,214,5,0.034) 0%, transparent 66%),
      radial-gradient(ellipse 46% 50% at 78% 50%, rgba(249,214,5,0.026) 0%, transparent 70%);
    filter: blur(7px); pointer-events: none; z-index: 0;
  }
  .pf-vsvg { position: relative; z-index: 1; display: block; width: 100%; height: auto; overflow: visible; margin-bottom: -10px; }



  /* ── Circuit PCB : tracé en escalier (routage 90° arrondi) reliant 4 nodes
     à hauteurs variées, chacun relié vers le bas à un « stack » de couches.
     Un signal lumineux parcourt le tracé en boucle (courant dans le circuit). */
  .pf-track-base { fill: none; stroke: rgba(249,214,5,0.16); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity 700ms ease 200ms; }
  .pf-vflow.visible .pf-track-base { opacity: 1; }

  /* Tracé principal : se dessine au reveal */
  .pf-track-line { fill: none; stroke: url(#pf-curve-grad); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 9999; stroke-dashoffset: 9999; transition: stroke-dashoffset 1600ms cubic-bezier(0.16, 1, 0.3, 1) 250ms; }
  .pf-vflow.visible .pf-track-line { stroke-dashoffset: 0; }

  /* Signal : impulsion lumineuse qui circule le long du tracé. Dash allongé +
     flou doux dédié → les extrémités gauche/droite se fondent dans la courbe
     (rupture lissée). Teinte adoucie + opacité réduite = moins de glow. */
  .pf-signal { fill: none; stroke: rgba(250, 222, 70, 0.55); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 5 95; stroke-dashoffset: 100; filter: url(#pf-signal-soft); opacity: 0; }
  .pf-vflow.visible .pf-signal { opacity: 1; animation: pf-signal-run 7.2s cubic-bezier(0.45, 0, 0.55, 1) infinite 1700ms; }
  @keyframes pf-signal-run {
    0%   { stroke-dashoffset: 100; }
    100% { stroke-dashoffset: 0; }
  }

  /* Faisceaux verticaux node → stack */
  .pf-drop { fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 9999; stroke-dashoffset: 9999; opacity: 0; transition: stroke-dashoffset 640ms cubic-bezier(0.16, 1, 0.3, 1), opacity 300ms ease; }
  .pf-drop--1 { stroke: url(#pf-drop-g1); }
  .pf-drop--2 { stroke: url(#pf-drop-g2); }
  .pf-drop--3 { stroke: url(#pf-drop-g3); }
  .pf-drop--4 { stroke: url(#pf-drop-g4); }
  .pf-vflow.visible .pf-drop { opacity: 1; stroke-dashoffset: 0; }
  .pf-vflow.visible .pf-drop--1 { transition-delay: 1100ms; }
  .pf-vflow.visible .pf-drop--2 { transition-delay: 1240ms; }
  .pf-vflow.visible .pf-drop--3 { transition-delay: 1380ms; }
  .pf-vflow.visible .pf-drop--4 { transition-delay: 1520ms; }

  .pf-node { opacity: 0; transform: scale(0.45); transform-box: fill-box; transform-origin: center; transition: opacity 520ms ease, transform 660ms cubic-bezier(0.16, 1, 0.3, 1); }
  .pf-vflow.visible .pf-node { opacity: 1; transform: scale(1); }
  .pf-vflow.visible .pf-node--1 { transition-delay: 360ms; }
  .pf-vflow.visible .pf-node--2 { transition-delay: 540ms; }
  .pf-vflow.visible .pf-node--3 { transition-delay: 720ms; }
  .pf-vflow.visible .pf-node--4 { transition-delay: 900ms; }
  .pf-node-halo { fill: var(--node-c, #F9D605); opacity: 0.1; filter: blur(5px); }
  .pf-node-box { fill: #15140d; stroke: var(--node-c, #F9D605); stroke-width: 1.4; stroke-linejoin: round; }
  .pf-node-icon { fill: none; stroke: var(--node-c, #F9D605); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

  /* Stack de couches (terminal du faisceau) — 3 barres décroissantes, type
     pile front/back/db ; se déploie au reveal après l'arrivée du faisceau. */
  .pf-stack-bar { stroke: var(--node-c, #F9D605); stroke-width: 2.2; stroke-linecap: round; opacity: 0; transform: scaleX(0.2); transform-box: fill-box; transform-origin: center; transition: opacity 420ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1); }
  .pf-vflow.visible .pf-stack-bar { opacity: 1; transform: scaleX(1); }
  .pf-stack--1 .pf-stack-bar { } .pf-stack--2 .pf-stack-bar { }
  .pf-vflow.visible .pf-stack--1 .pf-stack-bar { transition-delay: 1380ms; }
  .pf-vflow.visible .pf-stack--2 .pf-stack-bar { transition-delay: 1520ms; }
  .pf-vflow.visible .pf-stack--3 .pf-stack-bar { transition-delay: 1660ms; }
  .pf-vflow.visible .pf-stack--4 .pf-stack-bar { transition-delay: 1800ms; }
  .pf-stack-bar--2 { transition-delay: 60ms; }
  .pf-stack-bar--3 { transition-delay: 120ms; }
  .pf-vflow.visible .pf-stack--1 .pf-stack-bar--2 { transition-delay: 1440ms; }
  .pf-vflow.visible .pf-stack--1 .pf-stack-bar--3 { transition-delay: 1500ms; }
  .pf-vflow.visible .pf-stack--2 .pf-stack-bar--2 { transition-delay: 1580ms; }
  .pf-vflow.visible .pf-stack--2 .pf-stack-bar--3 { transition-delay: 1640ms; }
  .pf-vflow.visible .pf-stack--3 .pf-stack-bar--2 { transition-delay: 1720ms; }
  .pf-vflow.visible .pf-stack--3 .pf-stack-bar--3 { transition-delay: 1780ms; }
  .pf-vflow.visible .pf-stack--4 .pf-stack-bar--2 { transition-delay: 1860ms; }
  .pf-vflow.visible .pf-stack--4 .pf-stack-bar--3 { transition-delay: 1920ms; }

  .pf-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; fill: var(--text-3); opacity: 0; transition: opacity 600ms ease 1500ms; }
  .pf-vflow.visible .pf-label { opacity: 0.78; }

  .pf-vcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; align-items: start; }
  /* Quinconce : étapes 1 et 3 surélevées, calées EXACTEMENT sur le relevage des
     stacks 1 et 3 dans le SVG (18 unités viewBox). L'offset suit l'échelle du SVG
     (largeur conteneur / 900) → alignement parfait à toute largeur ; plafonné à
     -24px quand le conteneur atteint sa largeur max (1180). */
  .pf-vcards > .pf-vcard:nth-child(odd) { top: max(-24px, calc(1.6px - 2vw)); }
  /* Carte = composant monté sur le circuit : bordée d'une fine piste, branchée
     au stack via un pad de connexion en haut. Marge symétrique → espace entre
     bordures tout en gardant le centre aligné sous le stack (grid gap:0). */
  /* Carte = petit terminal CMD : panneau sombre, scanlines, barre de titre à
     pastilles fenêtre. Branchée au circuit par un pad EXTÉRIEUR (au-dessus du
     bord), centré sous le stack. */
  .pf-vcard {
    --c: #F9D605; --c-rgb: 249, 214, 5;
    position: relative;
    margin: 0 clamp(7px, 0.85vw, 13px);
    padding: clamp(40px, 3.4vw, 50px) clamp(15px, 1.5vw, 22px) clamp(18px, 1.7vw, 26px);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 10px;
    background:
      url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='44' height='8'><circle cx='4' cy='4' r='2.6' fill='%236d6d6d'/><circle cx='15' cy='4' r='2.6' fill='%23585858'/><circle cx='26' cy='4' r='2.6' fill='%23474747'/></svg>") no-repeat 14px 14px,
      linear-gradient(180deg, transparent 33px, rgba(255,255,255,0.08) 33px, rgba(255,255,255,0.08) 34px, transparent 34px),
      linear-gradient(180deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 34px, transparent 34px),
      repeating-linear-gradient(0deg, rgba(255,255,255,0.013) 0px, rgba(255,255,255,0.013) 1px, transparent 1px, transparent 5px),
      linear-gradient(180deg, rgba(18,17,12,0.97) 0%, rgba(11,11,9,0.985) 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 18px 40px -28px rgba(0,0,0,0.8);
    opacity: 0; transform: translateY(20px);
    transition: opacity 700ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1), border-color 320ms ease, box-shadow 320ms ease;
  }
  .pf-vflow.visible .pf-vcard { opacity: 1; transform: translateY(0); }
  .pf-vflow.visible .pf-vcard:nth-child(1) { transition-delay: 1500ms; }
  .pf-vflow.visible .pf-vcard:nth-child(2) { transition-delay: 1640ms; }
  .pf-vflow.visible .pf-vcard:nth-child(3) { transition-delay: 1780ms; }
  .pf-vflow.visible .pf-vcard:nth-child(4) { transition-delay: 1920ms; }
  /* Hover harmonisé (réf. print) : lift -3px + halo coloré doux qui s'intensifie + bordure d'accent */
  .pf-vcard:hover { border-color: rgba(var(--c-rgb), 0.34); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 14px 30px -18px rgba(0,0,0,0.6), 0 26px 60px -26px rgba(var(--c-rgb), 0.55); }
  .pf-vflow.visible .pf-vcard:hover { transform: translateY(-3px); transition-delay: 0ms; }
  /* Les stacks de connexion suivent le lift de leur card au hover — même
     mouvement, même timing et mêmes délais que .pf-vcard (symétrie parfaite
     hover/unhover). Transform posé sur le GROUPE : les barres internes ont
     leurs propres transitions scaleX, on ne les touche pas. */
  .pf-vsvg .pf-stack { transform-box: fill-box; transform-origin: center; transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1); }
  .pf-vflow.visible .pf-stack--1 { transition-delay: 1500ms; }
  .pf-vflow.visible .pf-stack--2 { transition-delay: 1640ms; }
  .pf-vflow.visible .pf-stack--3 { transition-delay: 1780ms; }
  .pf-vflow.visible .pf-stack--4 { transition-delay: 1920ms; }
  .pf-vflow:has(.pf-vcard:nth-child(1):hover) .pf-stack--1,
  .pf-vflow:has(.pf-vcard:nth-child(2):hover) .pf-stack--2,
  .pf-vflow:has(.pf-vcard:nth-child(3):hover) .pf-stack--3,
  .pf-vflow:has(.pf-vcard:nth-child(4):hover) .pf-stack--4 { transform: translateY(-3px); transition-delay: 0ms; }
  .pf-vcard-head { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(14px, 1.4vw, 20px); position: relative; z-index: 1; }
  .pf-vcard-glyph { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--c); position: relative; transition: transform 240ms ease, filter 240ms ease; }
  .pf-vcard-glyph::before { content: ""; position: absolute; inset: -2px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--c-rgb), 0.14) 0%, rgba(var(--c-rgb), 0.04) 46%, transparent 72%); z-index: -1; }
  .pf-vcard:hover .pf-vcard-glyph { transform: translateY(-2px); filter: drop-shadow(0 0 6px rgba(var(--c-rgb), 0.45)); }
  .pf-vcard-glyph svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .pf-vcard-num { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); display: inline-flex; flex-direction: column; gap: 2px; line-height: 1.1; }
  .pf-vcard-num strong { color: var(--c); font-weight: 500; font-size: 12px; letter-spacing: 0.10em; }
  .pf-vcard-title { font-family: var(--font); font-size: clamp(20px, 1.7vw, 24px); font-weight: 500; letter-spacing: -0.018em; color: var(--text-1); margin: 0 0 8px; position: relative; z-index: 1; }
  .pf-vcard-desc { font-size: 13.5px; line-height: 1.55; color: var(--text-3); margin: 0; position: relative; z-index: 1; }

  @media (max-width: 720px) {
    .pf-vsvg { display: none; }
    .pf-vcards { grid-template-columns: 1fr; gap: 18px; padding-left: 24px; }
    .pf-vcards > .pf-vcard:nth-child(odd) { top: 0; }
    .pf-vcards::before {
      content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 1px;
      background-image: repeating-linear-gradient(180deg, rgba(249,214,5,0.38) 0, rgba(249,214,5,0.38) 4px, transparent 4px, transparent 8px);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .pf-curve, .pf-curve-glow, .pf-curve-echo, .pf-drop, .pf-node, .pf-vcard, .pf-label, .pf-pipe-pulse {
      transition: opacity 200ms ease; transform: none; stroke-dashoffset: 0; animation: none; opacity: 1;
    }
  }

  /* ========================================================================
     TÉMOIGNAGES — 2 cartes vidéo (placeholders)
     ======================================================================== */
  .testi { padding: clamp(80px, 9vw, 130px) 0; position: relative; z-index: 2; background: var(--bg); }
  .testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.4vw, 32px); margin-top: clamp(8px, 1vw, 16px); }
  @media (max-width: 760px) { .testi-grid { grid-template-columns: 1fr; } }
  .testi-card {
    position: relative; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden;
    background: var(--bg-1); transition: border-color 300ms ease, transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
  }
  .testi-card:hover { border-color: var(--line-3); transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(0,0,0,0.7); }
  .testi-media {
    position: relative; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 50% 38%, rgba(249,214,5,0.07) 0%, transparent 68%), linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
    overflow: hidden; cursor: pointer;
  }
  .testi-media::before {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 30px 30px; opacity: 0.5;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 0%, transparent 80%);
            mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 0%, transparent 80%);
  }
  .testi-logo { position: relative; z-index: 1; max-width: 44%; max-height: 38%; width: auto; object-fit: contain; opacity: 0.5; filter: grayscale(1) brightness(1.8); transition: opacity 360ms ease; }
  .testi-card:hover .testi-logo { opacity: 0.72; }
  .testi-play {
    position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 62px; height: 62px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(10,10,10,0.55); border: 1px solid var(--line-3); backdrop-filter: blur(8px);
    transition: transform 300ms var(--ease-out), background 300ms ease, border-color 300ms ease;
  }
  .testi-card:hover .testi-play { transform: translate(-50%, -50%) scale(1.08); background: rgba(249,214,5,0.16); border-color: var(--accent); }
  .testi-play svg { width: 20px; height: 20px; margin-left: 3px; fill: var(--text-1); transition: fill 300ms ease; }
  .testi-card:hover .testi-play svg { fill: var(--accent); }
  .testi-tag {
    position: absolute; z-index: 2; top: 14px; left: 14px;
    font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--text-2); background: rgba(0,0,0,0.45); border: 1px solid var(--line-2);
    padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px);
  }
  .testi-tag em { color: var(--accent); }
  .testi-body { padding: clamp(20px, 2.4vw, 30px); }
  .testi-quote { font-size: clamp(15px, 1.3vw, 17px); line-height: 1.6; color: var(--text-1); letter-spacing: -0.01em; }
  .testi-quote em { color: var(--accent); }
  .testi-meta { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
  .testi-name { color: var(--text-1); font-weight: 500; font-size: 13.5px; }
  .testi-role { color: var(--text-3); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
  .testi-meta-sep { width: 1px; height: 14px; background: var(--line-2); }

  /* ========================================================================
     RÉALISATIONS — grille filtrable de projets (portfolio JCD Dev)
     ======================================================================== */
  .real-filters {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
    margin-top: clamp(28px, 3.4vw, 44px);
  }
  .real-filter {
    display: inline-flex; align-items: center; min-height: 42px;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-2); background: var(--bg-1); border: 1px solid var(--line-2);
    padding: 10px 18px; border-radius: 999px;
    transition: color 260ms ease, border-color 260ms ease, background 260ms ease, transform 260ms var(--ease-out);
  }
  .real-filter:hover { color: var(--text-1); border-color: var(--line-3); transform: translateY(-1px); }
  .real-filter:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .real-filter.is-active { color: #0a0a0a; background: var(--accent); border-color: var(--accent); }
  .real-filter-count { margin-left: 7px; font-size: 10px; opacity: 0.5; }
  .real-filter.is-active .real-filter-count { opacity: 0.7; }

  /* Rail horizontal : 3 cartes pile par vue, snap par carte, scrollbar
     masquée. Drag/flèches/clavier en JS. */
  .real-grid {
    --real-gap: clamp(16px, 1.8vw, 24px);
    display: flex; gap: var(--real-gap);
    margin-top: clamp(28px, 3vw, 40px);
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x proximity; scroll-behavior: smooth;
    scroll-padding-left: 2px;
    padding: 4px 2px 16px;
    scrollbar-width: none; -ms-overflow-style: none;
    cursor: grab;
  }
  .real-grid::-webkit-scrollbar { display: none; }
  .real-grid.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
  .real-card {
    flex: 0 0 calc((100% - 2 * var(--real-gap)) / 3);
    scroll-snap-align: start;
  }
  @media (max-width: 980px) { .real-card { flex-basis: calc((100% - var(--real-gap)) / 2); } }
  @media (max-width: 600px) { .real-card { flex-basis: 100%; } }

  /* Barre de contrôle : flèches (désactivées en bout) + compteur de position */
  .real-ctrl {
    display: flex; align-items: center; justify-content: center; gap: 18px;
    margin-top: clamp(16px, 2vw, 26px);
  }
  .real-nav {
    width: 44px; height: 44px; flex-shrink: 0; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--bg-1); border: 1px solid var(--line-2); color: var(--text-1); cursor: pointer;
    transition: color 240ms ease, border-color 240ms ease, background 240ms ease, transform 240ms var(--ease-out), opacity 240ms ease;
  }
  .real-nav svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .real-nav:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
  .real-nav:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .real-nav:disabled { opacity: 0.28; cursor: default; }
  .real-counter {
    font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em;
    color: var(--text-3); min-width: 72px; text-align: center; font-variant-numeric: tabular-nums;
  }
  .real-counter b { color: var(--text-1); font-weight: 500; }

  .real-card {
    position: relative; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden;
    background: var(--bg-1);
    transition: border-color 300ms ease, transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
  }
  .real-card:hover { border-color: var(--line-3); transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(0,0,0,0.7); }
  .real-card.is-hidden { display: none; }
  .real-card.is-in { animation: realIn 440ms var(--ease-out) both; }
  @keyframes realIn { from { opacity: 0; transform: translateY(10px) scale(0.985); } to { opacity: 1; transform: none; } }

  .real-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
  .real-card-link:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 14px; }

  .real-media {
    position: relative; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 50% 38%, rgba(249,214,5,0.07) 0%, transparent 68%), linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
    overflow: hidden;
  }
  .real-media::before {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 30px 30px; opacity: 0.5;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 0%, transparent 80%);
            mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 0%, transparent 80%);
  }
  /* Visuel projet plein cadre, vraies couleurs (capture déposée par le client) */
  .real-cover {
    position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
    object-fit: cover; object-position: center center; display: block;
    transition: transform 600ms var(--ease-out);
  }
  .real-cover.is-missing { display: none; }
  .real-card:hover .real-cover { transform: scale(1.035); }
  /* Logo = repli si la capture n'est pas (encore) disponible : vraies couleurs */
  .real-logo {
    position: relative; z-index: 0; max-width: 84%; max-height: 76%; width: auto; object-fit: contain;
    opacity: 1;
  }
  .real-tag {
    position: absolute; z-index: 2; top: 12px; left: 12px;
    font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text-2); background: rgba(0,0,0,0.45); border: 1px solid var(--line-2);
    padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px);
  }

  .real-body { padding: clamp(16px, 1.8vw, 22px); display: flex; flex-direction: column; flex: 1; }
  .real-title { font-size: clamp(15px, 1.25vw, 17px); font-weight: 600; letter-spacing: -0.02em; color: var(--text-1); }
  .real-title em { color: var(--accent); font-weight: 400; }
  .real-desc {
    margin-top: 8px; font-size: 13px; line-height: 1.55; color: var(--text-2);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .real-tech { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
  .real-tech li {
    font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.02em; color: var(--text-3);
    background: var(--bg-2); border: 1px solid var(--line-1); padding: 4px 8px; border-radius: 6px;
  }
  .real-tech .real-tech-more { color: var(--accent); background: var(--accent-soft); border-color: var(--accent-line); }

  .real-foot {
    margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid var(--line-1);
  }
  .real-foot-label {
    font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-3); transition: color 260ms ease;
  }
  .real-card:hover .real-foot-label { color: var(--text-1); }
  .real-arrow {
    width: 28px; height: 28px; border-radius: 999px; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text-2);
    transition: transform 320ms var(--ease-out), background 320ms ease, border-color 320ms ease, color 320ms ease;
  }
  .real-card:hover .real-arrow { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); transform: translate(2px, -2px); }
  .real-arrow svg { width: 13px; height: 13px; }

  .real-more { margin-top: clamp(30px, 3.4vw, 46px); display: flex; justify-content: center; }
  .real-more-btn {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 13.5px; font-weight: 500; color: var(--text-1);
    background: var(--bg-1); border: 1px solid var(--line-2); border-radius: 999px;
    padding: 11px 13px 11px 22px;
    transition: border-color 300ms ease, transform 300ms var(--ease-out);
  }
  .real-more-btn:hover { border-color: var(--accent); transform: translateY(-2px); }
  .real-more-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .real-more-arrow {
    width: 30px; height: 30px; border-radius: 999px; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--accent); color: #0a0a0a; transition: transform 320ms var(--ease-out);
  }
  .real-more-btn:hover .real-more-arrow { transform: translate(2px, -2px); }
  .real-more-arrow svg { width: 14px; height: 14px; }
  .real-more-note {
    margin-top: 12px; text-align: center;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--text-3);
  }

  /* Transition douce réalisations → capsules vidéo : fin filet vertical centré */
  .testi-divider {
    width: 1px; height: clamp(40px, 5vw, 64px);
    margin: clamp(46px, 6vw, 78px) auto clamp(10px, 1.4vw, 18px);
    background: linear-gradient(180deg, transparent, var(--line-3) 45%, var(--line-3) 55%, transparent);
  }

  .real-sr {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }

  @media (prefers-reduced-motion: reduce) {
    .real-card, .real-logo, .real-arrow, .real-filter, .real-more-btn, .real-more-arrow, .real-foot-label { transition: none; }
    .real-card.is-in { animation: none; }
    .real-card:hover, .real-card:hover .real-arrow, .real-more-btn:hover, .real-more-btn:hover .real-more-arrow { transform: none; }
  }

  /* ========================================================================
     RP — Aperçu projet (modale carousel + description). Style « terminal »
     dev : barre à pastilles, accents or, fond flou gaussien sur la page.
     ======================================================================== */
  .rp-modal { position: fixed; inset: 0; z-index: 300; display: none; }
  .rp-modal.is-open { display: block; }
  .rp-backdrop {
    position: absolute; inset: 0; background: rgba(8,8,9,0.58);
    -webkit-backdrop-filter: blur(15px) saturate(0.85);
            backdrop-filter: blur(15px) saturate(0.85);
    opacity: 0; transition: opacity 380ms var(--ease-out);
  }
  .rp-modal.is-open .rp-backdrop { opacity: 1; }
  .rp-scroll {
    position: absolute; inset: 0; overflow-y: auto;
    display: flex; justify-content: center;
    padding: clamp(14px, 2.5vh, 36px) 18px;
  }
  .rp-dialog {
    position: relative; margin: auto; width: min(880px, 92vw);
    background: linear-gradient(180deg, #121213 0%, #0c0c0d 100%);
    border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 2px 10px rgba(0,0,0,0.45), 0 54px 96px -42px rgba(0,0,0,0.9);
    opacity: 0; transform: translateY(16px) scale(0.984);
    transition: opacity 440ms var(--ease-out), transform 480ms var(--ease-out);
  }
  .rp-modal.is-open .rp-dialog { opacity: 1; transform: none; }

  .rp-bar {
    display: flex; align-items: center; gap: 14px; padding: 12px 14px;
    background: linear-gradient(180deg, #161617 0%, #101011 100%);
    border-bottom: 1px solid var(--line-1);
  }
  .rp-dots { display: inline-flex; gap: 7px; flex: 0 0 auto; }
  .rp-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
  .rp-dots i:nth-child(1) { background: rgba(237,106,94,0.85); }
  .rp-dots i:nth-child(2) { background: rgba(245,191,79,0.85); }
  .rp-dots i:nth-child(3) { background: rgba(98,197,116,0.85); }
  .rp-bar-title {
    flex: 1; text-align: center; font-family: var(--font-mono); font-size: 12px;
    color: var(--text-3); letter-spacing: 0.02em; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
  }
  .rp-bar-title em { color: var(--accent); }
  .rp-close {
    flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text-2);
    cursor: pointer; transition: color 240ms ease, border-color 240ms ease, background 240ms ease;
  }
  .rp-close:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
  .rp-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .rp-close svg { width: 14px; height: 14px; }

  /* Carousel */
  .rp-carousel { position: relative; background: #0a0a0b; overflow: hidden; }
  .rp-viewport { overflow: hidden; }
  .rp-track { display: flex; transition: transform 540ms var(--ease-out); will-change: transform; }
  .rp-slide {
    flex: 0 0 100%; aspect-ratio: 16 / 9; max-height: 44vh; display: flex; align-items: center; justify-content: center;
    background:
      radial-gradient(circle at 50% 36%, rgba(249,214,5,0.05) 0%, transparent 66%),
      linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  }
  .rp-slide.is-missing { display: none; }
  .rp-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
  .rp-slide--logo img { width: auto; height: auto; max-width: 46%; max-height: 46%; opacity: 0.92; }

  .rp-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 38px; height: 38px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(10,10,10,0.6); border: 1px solid var(--line-2); color: var(--text-1);
    cursor: pointer; backdrop-filter: blur(6px);
    transition: background 280ms ease, border-color 280ms ease, color 280ms ease, transform 280ms var(--ease-out), opacity 280ms ease;
  }
  .rp-nav:hover { background: var(--accent); border-color: var(--accent); color: #0a0a0a; }
  .rp-nav:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .rp-prev { left: 14px; } .rp-next { right: 14px; }
  .rp-prev:hover { transform: translateY(-50%) translateX(-2px); }
  .rp-next:hover { transform: translateY(-50%) translateX(2px); }
  .rp-nav svg { width: 16px; height: 16px; }
  .rp-carousel.is-single .rp-nav, .rp-carousel.is-single .rp-dots-row { display: none; }

  .rp-counter {
    position: absolute; top: 12px; right: 14px; z-index: 2;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--text-2);
    background: rgba(0,0,0,0.5); border: 1px solid var(--line-2); border-radius: 999px;
    padding: 4px 10px; backdrop-filter: blur(6px);
  }
  .rp-counter b { color: var(--accent); font-weight: 600; }
  .rp-dots-row {
    position: absolute; bottom: 12px; left: 0; right: 0; z-index: 2;
    display: flex; align-items: center; justify-content: center; gap: 7px;
  }
  .rp-dot {
    width: 7px; height: 7px; border-radius: 50%; padding: 0; cursor: pointer;
    background: var(--line-3); border: none; transition: background 260ms ease, transform 260ms ease, width 260ms ease;
  }
  .rp-dot.is-active { background: var(--accent); width: 18px; border-radius: 999px; }
  .rp-dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

  /* Contenu */
  .rp-content { padding: clamp(22px, 3vw, 34px); }
  .rp-eyebrow {
    font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--accent); display: inline-block; margin-bottom: 12px;
  }
  .rp-title {
    font-size: clamp(20px, 2.2vw, 27px); font-weight: 600; letter-spacing: -0.02em;
    color: var(--text-1); line-height: 1.15;
  }
  .rp-title em { color: var(--accent); font-weight: 400; }
  .rp-sub { margin-top: 10px; font-size: clamp(14px, 1.3vw, 16px); font-weight: 500; color: var(--text-1); }
  .rp-desc { margin-top: 10px; font-size: 14px; line-height: 1.66; color: var(--text-2); }
  .rp-tech { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0; }
  .rp-tech li {
    font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.02em; color: var(--text-3);
    background: var(--bg-2); border: 1px solid var(--line-1); padding: 5px 9px; border-radius: 6px;
  }
  .rp-actions { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line-1); display: flex; }
  .rp-link {
    display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--text-1);
    background: var(--bg-1); border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 11px 9px 18px;
    transition: border-color 280ms ease, transform 280ms var(--ease-out);
  }
  .rp-link:hover { border-color: var(--accent); transform: translateY(-2px); }
  .rp-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .rp-link span {
    width: 26px; height: 26px; border-radius: 50%; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: #0a0a0a;
    transition: transform 300ms var(--ease-out);
  }
  .rp-link:hover span { transform: translate(2px, -2px); }
  .rp-link span svg { width: 13px; height: 13px; }
  body.rp-locked { overflow: hidden; }

  @media (prefers-reduced-motion: reduce) {
    .rp-backdrop, .rp-dialog, .rp-track, .rp-nav, .rp-cover, .rp-close, .rp-dot, .rp-link { transition: none; }
    .rp-dialog { transform: none; }
  }
  @media (max-width: 560px) { .rp-dialog { width: 94vw; } }

  /* ========================================================================
     CTA
     ======================================================================== */
  .cta-section {
    padding: clamp(40px, 5vw, 72px) 0; position: relative; overflow: hidden;
    background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 86%, transparent 99%);
            mask-image: linear-gradient(to right, #000 0%, #000 86%, transparent 99%);
  }
  .cta-section::before {
    content: ""; position: absolute; inset: 0;
    background:
      radial-gradient(60% 110% at 0% 50%, rgba(249,214,5,0.07) 0%, rgba(249,214,5,0.025) 30%, transparent 65%),
      linear-gradient(90deg, rgba(249,214,5,0.03) 0%, transparent 35%);
    pointer-events: none;
  }
  .cta-frame { position: relative; z-index: 2; padding: 0; }
  .cta-inner { position: relative; z-index: 2; display: flex; flex-direction: row; align-items: center; gap: clamp(20px, 3vw, 40px); max-width: 820px; margin: 0; }
  .cta-icon { flex-shrink: 0; width: clamp(106px, 13.5vw, 158px); height: auto; margin: 0; color: var(--accent); display: block; overflow: visible; }
  .cta-icon-wave { transform-origin: 60px 60px; animation: cta-pulse 3.8s var(--ease-out) infinite; }
  @keyframes cta-pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 0.8; } }
  @media (prefers-reduced-motion: reduce) { .cta-icon-wave { animation: none; opacity: 0.58; } }
  .cta-body { display: flex; flex-direction: column; align-items: flex-start; text-align: left; min-width: 0; }
  .cta-title { font-size: clamp(24px, 3vw, 36px); font-weight: 500; line-height: 1.08; letter-spacing: -0.035em; color: var(--text-1); margin: 0 0 10px; }
  .cta-title em { font-family: var(--font); font-style: normal; color: var(--accent); font-weight: 400; }
  .cta-sub { font-size: 14.5px; color: var(--text-2); line-height: 1.55; max-width: 560px; margin: 0 0 20px; letter-spacing: -0.005em; }
  .cta-actions { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: flex-start; gap: 18px; }
  .cta-actions-divider { width: 1px; height: 18px; background: var(--line-2); }
  .cta-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); font-family: var(--font-mono); letter-spacing: 0.04em; }
  .cta-phone-num { color: var(--text-1); font-weight: 500; border-bottom: 1px solid var(--line-3); transition: border-color 180ms ease, color 180ms ease; }
  .cta-phone-num:hover { color: var(--accent); border-bottom-color: var(--accent); }
  .cta-proof {
    margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-1);
    display: flex; flex-direction: column; gap: 7px; max-width: 560px;
    font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.02em; color: var(--text-3);
  }
  .cta-proof-item { display: flex; align-items: baseline; gap: 9px; line-height: 1.5; }
  .cta-proof-item::before { content: "▹"; color: var(--accent); font-size: 10px; }
  .cta-proof-item strong { color: var(--text-2); font-weight: 500; }
  @media (max-width: 640px) {
    .cta-inner { gap: 14px; }
    .cta-icon { width: clamp(82px, 22vw, 120px); }
    .cta-actions { gap: 14px; }
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  /* jcd-bg-restored: heros animes visibles sur mobile (parite web) */
}
/* Catalogue formation : toolbar empilee + chips filtrables en scroll + cartes pleine largeur */
@media (max-width:640px){
  .cat-toolbar{ top:70px; }
  .cat-toolbar-shell{ flex-direction:column; align-items:stretch; gap:9px; }
  .ct-search{ flex:1 1 auto; min-width:0; width:100%; }
  .ct-levels{ display:flex; width:100%; min-width:0; flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch; gap:6px; padding-bottom:2px; scrollbar-width:none; }
  .ct-levels::-webkit-scrollbar{ display:none; }
  .ct-level{ flex:0 0 auto; }
  .fcat-grid{ grid-template-columns:1fr !important; }
}

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

@media (max-width:820px){
  /* Mini-sommaire d'ancres sous le hero */
  .jcd-xpnav{ display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; padding:16px 20px 2px; margin:0; -webkit-overflow-scrolling:touch; }
  .jcd-xpnav::-webkit-scrollbar{ display:none; }
  .jcd-xpnav a{ flex:0 0 auto; display:inline-flex; align-items:center; gap:7px; padding:9px 15px; border-radius:999px; border:1px solid rgba(255,255,255,.13); background:rgba(255,255,255,.045); color:#f4f4f4; font-size:13px; font-weight:600; text-decoration:none; letter-spacing:-.01em; }
  .jcd-xpnav a:active{ background:rgba(255,255,255,.09); }
  .jcd-xpnav .jcd-xpdot{ width:6px; height:6px; border-radius:999px; background:var(--accent,#9a9a9a); }
  #prestations, #process, #contact{ scroll-margin-top:74px; }
  /* layout prestations en pile pleine largeur sur mobile (sinon la grille force une colonne > viewport) */
  .prest-layout{ display:block !important; }

  /* Prestations -> accordeon compact (glyph badge masque = moins graphique) */
  .prest-item{ display:block !important; padding:0 !important; min-height:0 !important; cursor:pointer; position:relative; }
  .prest-item-head{ display:none !important; }
  .prest-item-title{ margin:0 !important; padding:16px 42px 16px 18px !important; font-size:15.5px !important; line-height:1.3 !important; }
  .prest-item-desc{ max-height:0; overflow:hidden; opacity:0; margin:0 !important; padding:0 18px !important; font-size:14px !important; color:var(--text-2,#b8b8b8); transition:max-height .42s cubic-bezier(.32,.72,0,1), opacity .3s ease, padding-bottom .3s ease; }
  .prest-item.jcd-open .prest-item-desc{ opacity:1; padding-bottom:16px !important; }
  .prest-item::after{ content:''; position:absolute; right:18px; top:21px; width:7px; height:7px; border-right:1.6px solid #9a9a9a; border-bottom:1.6px solid #9a9a9a; transform:rotate(45deg); transition:transform .42s cubic-bezier(.32,.72,0,1); }
  .prest-item.jcd-open::after{ transform:rotate(-135deg); }

  /* Logos partenaires -> bande horizontale defilante (deplacee apres les competences via JS) */
  .prest-aside-partners{ margin-top:22px !important; }
  .prest-aside-partners-grid{ display:flex !important; grid-template-columns:none !important; gap:8px !important; overflow-x:auto !important; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding-bottom:4px; scroll-snap-type:x proximity; }
  .prest-aside-partners-grid::-webkit-scrollbar{ display:none; }
  .prest-aside-partners .logo-tile{ flex:0 0 auto !important; width:102px !important; scroll-snap-align:start; }

  /* Process "Notre methode" -> accordeon (moins schematique) + diagramme masque */
  .pf-vsvg{ display:none !important; }
  .pf-vcards{ display:block !important; }
  .pf-vcard{ display:block !important; min-height:0 !important; min-width:0 !important; padding:0 !important; margin:0 0 8px !important; cursor:pointer; position:relative; }
  .pf-vcard-head, .pf-vcard-num, .pf-vcard-fade{ display:none !important; }
  .pf-vcard-title{ margin:0 !important; padding:16px 42px 16px 18px !important; font-size:15.5px !important; line-height:1.3 !important; }
  .pf-vcard-desc{ max-height:0; overflow:hidden; opacity:0; margin:0 !important; padding:0 18px !important; font-size:14px !important; color:var(--text-2,#b8b8b8); transition:max-height .42s cubic-bezier(.32,.72,0,1), opacity .3s ease, padding-bottom .3s ease; }
  .pf-vcard.jcd-open .pf-vcard-desc{ opacity:1; padding-bottom:16px !important; }
  .pf-vcard::after{ content:''; position:absolute; right:18px; top:21px; width:7px; height:7px; border-right:1.6px solid #9a9a9a; border-bottom:1.6px solid #9a9a9a; transform:rotate(45deg); transition:transform .42s cubic-bezier(.32,.72,0,1); }
  .pf-vcard.jcd-open::after{ transform:rotate(-135deg); }
}
@media (min-width:821px){ .jcd-xpnav{ display:none !important; } }

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

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

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

/* MOBILE "Notre methode" accordion: re-center + drop the vestigial desktop rail (review 2026-06-23). */
@media (max-width:820px){
  .pf-vcards{ padding-left:0 !important; padding-right:0 !important; }
  .pf-vcards::before{ display:none !important; }
}

/* ==================================================================
   Vignettage baseline hero — version renforcée : le voile olive du
   mesh éclaircit la zone texte, on assombrit davantage autour de la
   baseline pour préserver sa lisibilité. 2026-08-12.
   ================================================================== */
  .print-hero .hero-sub { position: relative; }
  .print-hero .hero-sub::before {
    content: "";
    position: absolute;
    inset: -64px -150px -68px -110px;
    background: radial-gradient(ellipse closest-side at center,
      rgba(10, 10, 10, 0.46),
      rgba(10, 10, 10, 0.24) 55%,
      rgba(10, 10, 10, 0) 100%);
    z-index: -1;
    pointer-events: none;
  }
