@charset "UTF-8";

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

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

  :root {
    /* Couleurs marque (référence charte JCD) */
    --c-anthracite: #3D3B3B;

    /* Palette monochrome — ultra plate, Linear-style */
    --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 Agencement (taupe matière / bois clair) */
    --accent: #A78D75;
    --accent-rgb: 167, 141, 117;
    --accent-hi: #c6ad95;
    --accent-soft: rgba(167, 141, 117, 0.12);
    --accent-line: rgba(167, 141, 117, 0.26);
    --accent-deep: #8a6e54;

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

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

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

  html { scroll-behavior: smooth; }

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

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

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

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

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

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

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

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

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

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

  /* ========================================================================
     BOUTONS (Linear pill)
     ======================================================================== */

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

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

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

  .nav-inner {
    pointer-events: auto;
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad-x);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
  }

  .logo {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    line-height: 0;
  }
  .logo .logo-img {
    display: block;
    height: 40px;
    width: auto;
    aspect-ratio: 1530 / 482;
    image-rendering: auto;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  .nav-center { justify-self: center; pointer-events: auto; }
  .nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 1px 2px rgba(0, 0, 0, 0.20),
      0 6px 24px rgba(0, 0, 0, 0.18);
    transition:
      background 260ms var(--ease-out),
      border-color 260ms var(--ease-out),
      box-shadow 260ms var(--ease-out);
  }
  .nav-pill:hover,
  .nav-pill:focus-within {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
  }
  .nav-pill__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.005em;
    color: var(--text-2);
    background: transparent;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition:
      color 200ms var(--ease-out),
      background 200ms var(--ease-out);
  }
  .nav-pill__item:hover {
    color: var(--text-1);
    background: rgba(255, 255, 255, 0.05);
  }
  .nav-pill__item:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.40);
    outline-offset: 2px;
  }
  .nav-pill__trigger[aria-expanded="true"] {
    color: var(--text-1);
    background: rgba(255, 255, 255, 0.06);
  }
  .nav-chevron {
    color: currentColor;
    opacity: 0.65;
    transition: transform 260ms var(--ease-out), opacity 200ms ease;
  }
  .nav-pill__item:hover .nav-chevron { opacity: 0.9; }
  .nav-pill__trigger[aria-expanded="true"] .nav-chevron {
    transform: rotate(180deg);
    opacity: 1;
  }

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

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

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

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

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

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

  /* ========================================================================
     HERO — Nappe de lumière WebGL (mesh gradient) + trame plan d'architecte.
     Le hero est épinglé (sticky) : le manifeste glisse par-dessus.
     ======================================================================== */
  .hero-pin-zone { position: relative; }

  .print-hero {
    position: sticky;
    top: 0;
    min-height: 85vh;
    padding: clamp(120px, 14vh, 160px) 0 clamp(40px, 6vh, 70px);
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 1;
    isolation: isolate;

    /* Palette du fond animé — pôle Agencement : bruns variés. RGB 0-255. */
    --mesh-c1:  26,  19,  13;   /* espresso — base chaude profonde */
    --mesh-c2: 191, 148, 100;   /* taupe ambré lumineux (foyer) */
    --mesh-c3: 120,  90,  61;   /* brun chocolat moyen (plis) */
    --mesh-c4: 219, 197, 166;   /* crème sable clair (liseré) */
  }

  /* Couche 0 : fallback CSS (visible si WebGL indisponible) */
  .hero-mesh-fallback {
    position: absolute;
    inset: -10% -10% auto -10%;
    height: 820px;
    z-index: 0;
    pointer-events: none;
    background:
      radial-gradient(44% 56% at 22% 32%, rgba(var(--mesh-c2), 0.17) 0%, transparent 62%),
      radial-gradient(40% 60% at 60% 24%, rgba(var(--mesh-c4), 0.12) 0%, transparent 60%),
      radial-gradient(46% 58% at 84% 40%, rgba(var(--mesh-c3), 0.10) 0%, transparent 62%);
    filter: blur(36px);
  }

  /* Couche 1 : canvas WebGL — nappe de lumière fluide */
  .hero-mesh {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    /* Approfondit la nappe taupe claire : meilleur contraste du texte */
    filter: brightness(0.85) saturate(1.1);
    opacity: 0;
    transition: opacity 1400ms var(--ease-expo);
  }
  .hero-mesh.is-ready { opacity: 1; }

  /* Couche 2 : trame plan d'architecte — grille majeure + mineure (papier millimétré) */
  .hero-texture {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
  }
  .hero-texture--plan {
    background-image:
      linear-gradient(to right,  rgba(255,255,255,0.090) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255,255,255,0.090) 1px, transparent 1px),
      linear-gradient(to right,  rgba(255,255,255,0.038) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255,255,255,0.038) 1px, transparent 1px);
    background-size: 132px 132px, 132px 132px, 33px 33px, 33px 33px;
    background-position: center;
    opacity: 0.7;
    transition: opacity 0.8s ease;
    -webkit-mask-image: radial-gradient(ellipse 100% 88% at 50% 42%, #000 22%, rgba(0,0,0,0.62) 66%, transparent 100%);
            mask-image: radial-gradient(ellipse 100% 88% at 50% 42%, #000 22%, rgba(0,0,0,0.62) 66%, transparent 100%);
  }
  /* WebGL actif : la trame animée est dessinée dans le shader. On masque
     la version CSS statique — conservée pour le fallback (reduced-motion,
     pas de WebGL). */
  .hero-mesh.is-ready ~ .hero-texture--plan { opacity: 0; }

  /* Couche 3 : grain hero */
  .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; }

  /* Hairline bas du hero */
  .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.24) 50%, rgba(var(--mesh-c2), 0.0) 90%, transparent 100%);
  }

  .hero-title {
    font-size: clamp(40px, 5.8vw, 76px);
    line-height: 1.0;
    letter-spacing: -0.04em;
    margin: 0 0 26px;
    font-weight: 600;
    max-width: 17ch;
    color: var(--text-1);
  }
  /* Dégradé d'accent recalibré dans le haut du spectre : cream → ambré
     clair → taupe lumineux. Plus aucun stop sombre (mesh-c3) qui se
     confondait avec le fond, donc le titre ressort nettement. */
  .hero-title em {
    background: linear-gradient(120deg,
      rgba(var(--mesh-c4), 1.00)  0%,
      rgba(218, 184, 142, 1.00)  55%,
      rgba(196, 156, 116, 0.98) 100%);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
  }

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

  /* ========================================================================
     MANIFESTO — "Lignes de cote" : la citation est cotée comme un plan.
     Police display Bricolage Grotesque. Fond "coupe lumineuse" — un faisceau
     de lumière du jour traverse un panneau sombre vu en coupe. Les cotes
     (lignes d'attache, ticks, libellés) se tracent au scroll.
     ======================================================================== */
  .manifesto {
    padding: 0;
    position: relative;
    z-index: 2;
    background: transparent;
  }

  /* Panneau "coupe" — une pièce sombre vue en section. Le foyer de lumière
     est en partie peint DANS le fond (bloom haut-gauche) pour une intégration
     totale ; les ombres sont volontairement minimales et étalées. */
  .coupe-sheet {
    position: relative;
    background:
      radial-gradient(46% 40% at 13% 3%, rgba(206,184,156,0.055) 0%, transparent 72%),
      linear-gradient(180deg, #16130d 0%, #110e0a 58%, #0c0a07 100%);
    color: var(--text-1);
    padding: clamp(28px, 3.5vw, 52px) 0 clamp(60px, 8vw, 108px);
    overflow: hidden;
    border-top: 1px solid rgba(198,173,149,0.16);
    box-shadow:
      0 -1px 0 rgba(198,173,149,0.16),
      0 -22px 58px -36px rgba(167,141,117,0.20),
      0 22px 60px -52px rgba(0,0,0,0.5);
  }

  /* Lumière du jour — nappe chaude TRÈS diffuse entrant par le haut-gauche.
     Faible opacité + masque radial : les bords se dissolvent entièrement
     dans le fond, sans contour perceptible. Dérive lente et continue. */
  .coupe-light {
    position: absolute;
    top: -30%;
    left: -24%;
    width: 72%;
    height: 172%;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(100deg,
      transparent 0%,
      rgba(216,195,167,0.028) 36%,
      rgba(232,213,186,0.070) 50%,
      rgba(216,195,167,0.024) 64%,
      transparent 88%);
    -webkit-mask-image: radial-gradient(56% 60% at 44% 32%, #000 0%, rgba(0,0,0,0.48) 52%, transparent 100%);
            mask-image: radial-gradient(56% 60% at 44% 32%, #000 0%, rgba(0,0,0,0.48) 52%, transparent 100%);
    transform: rotate(13deg);
    transform-origin: top center;
    filter: blur(24px);
    opacity: 0;
    transition: opacity 1700ms var(--ease-out);
    animation: coupe-drift 23s ease-in-out infinite;
    will-change: transform, opacity;
  }
  .manifesto.is-lit .coupe-light { opacity: 1; }
  /* Dérive : la lumière respire et glisse imperceptiblement */
  @keyframes coupe-drift {
    0%, 100% { transform: rotate(13deg)   translate3d(-1.4%, -0.7%, 0) scale(1);     }
    50%      { transform: rotate(13.7deg) translate3d(2.3%,   1.4%,  0) scale(1.045); }
  }
  /* Poussière en suspension — grain fin qui scintille à peine dans la lumière */
  .coupe-light::after {
    content: "";
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><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>");
    opacity: 0.34;
    mix-blend-mode: overlay;
    animation: coupe-dust 9.5s ease-in-out infinite;
  }
  @keyframes coupe-dust {
    0%, 100% { opacity: 0.26; }
    50%      { opacity: 0.46; }
  }

  /* Halo chaud : la lumière "pose" au sol du panneau */
  .coupe-sheet::before {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 58%;
    background: radial-gradient(120% 104% at 24% 100%,
      rgba(198,173,149,0.11) 0%, rgba(198,173,149,0.03) 44%, transparent 68%);
    pointer-events: none;
    z-index: 0;
  }
  /* Ligne de sol — hairline de coupe en bas du panneau */
  .coupe-sheet::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: linear-gradient(90deg,
      transparent 0%, rgba(214,191,160,0.0) 8%, rgba(214,191,160,0.18) 32%,
      rgba(214,191,160,0.18) 68%, rgba(214,191,160,0.0) 92%, transparent 100%);
    pointer-events: none;
    z-index: 0;
  }
  .coupe-sheet > .container { position: relative; z-index: 2; }

  /* ---- Cartouche d'en-tête ---- */
  .mf-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px 28px;
    flex-wrap: wrap;
    padding-bottom: 16px;
    margin-bottom: clamp(40px, 5.5vw, 76px);
    border-bottom: 1px solid var(--line-2);
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-3);
  }
  .mf-header-side { display: inline-flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
  .mf-caret { color: var(--accent-hi); }
  .mf-id { color: var(--text-1); font-weight: 500; }
  .mf-rule { width: 24px; height: 1px; background: var(--line-3); align-self: center; }
  .mf-scale { color: var(--accent-hi); font-weight: 500; }

  /* ---- Citation — police display Bricolage Grotesque ---- */
  .mf-quote {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-size: clamp(26px, 4.05vw, 53px);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.022em;
    color: var(--text-1);
    max-width: 780px;
    text-wrap: balance;
  }
  .mf-quote .soft {
    display: block;
    margin-top: 0.52em;
    font-size: 0.46em;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: -0.008em;
    color: var(--text-3);
    text-wrap: pretty;
  }
  .mf-quote .soft em {
    font-style: normal;
    color: var(--accent-hi);
    font-weight: 500;
  }

  /* Mot coté : underline-cote qui se trace + numéro de renvoi */
  .manifesto em {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    color: var(--accent-hi);
  }
  .manifesto sup {
    font-family: var(--font-mono);
    font-size: 0.32em;
    font-weight: 500;
    vertical-align: super;
    letter-spacing: 0.04em;
    color: var(--accent);
    margin-left: 0.1em;
  }
  .manifesto .cote-uline {
    position: absolute;
    left: 0; right: 0;
    bottom: -0.02em;
    height: 6px;
    pointer-events: none;
  }
  .manifesto .cote-uline-bar {
    position: absolute;
    left: 0; right: 0; top: 2px;
    height: 1.5px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 760ms var(--ease-expo) var(--cd, 0s);
  }
  .manifesto .cote-uline::before,
  .manifesto .cote-uline::after {
    content: "";
    position: absolute;
    top: 0;
    width: 1.5px; height: 6px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 320ms ease var(--cd, 0s);
  }
  .manifesto .cote-uline::before { left: 0; }
  .manifesto .cote-uline::after  { right: 0; }
  .manifesto.is-lit .cote-uline-bar { transform: scaleX(1); }
  .manifesto.is-lit .cote-uline::before,
  .manifesto.is-lit .cote-uline::after { opacity: 1; }

  /* ---- Cote basse : règle pleine largeur + 3 stations (renvois) ---- */
  .mf-ruler {
    position: relative;
    margin-top: clamp(40px, 5vw, 64px);
    padding-top: 30px;
  }
  .mf-ruler-line {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: var(--line-3);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1200ms var(--ease-expo) 220ms;
  }
  .mf-ruler-line::before,
  .mf-ruler-line::after {
    content: "";
    position: absolute;
    top: -5px;
    width: 1px; height: 11px;
    background: var(--line-3);
    opacity: 0;
    transition: opacity 380ms ease 1320ms;
  }
  .mf-ruler-line::before { left: 0; }
  .mf-ruler-line::after  { right: 0; }
  .manifesto.is-lit .mf-ruler-line { transform: scaleX(1); }
  .manifesto.is-lit .mf-ruler-line::before,
  .manifesto.is-lit .mf-ruler-line::after { opacity: 1; }

  .mf-ruler-stations {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 44px);
  }
  .mf-station {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(9px);
    transition:
      opacity 580ms var(--ease-out) var(--sd, 0s),
      transform 580ms var(--ease-out) var(--sd, 0s);
  }
  .manifesto.is-lit .mf-station { opacity: 1; transform: none; }
  .mf-station-tick {
    width: 1px;
    height: 30px;
    margin-top: -30px;
    margin-bottom: 13px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-line) 100%);
  }
  .mf-station-num {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 7px;
  }
  .mf-station-term {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-size: clamp(16px, 1.5vw, 19px);
    font-weight: 600;
    letter-spacing: -0.012em;
    color: var(--text-1);
    margin-bottom: 6px;
  }
  .mf-station-gloss {
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--text-3);
    max-width: 230px;
  }
  @media (max-width: 680px) {
    .mf-ruler-stations { grid-template-columns: 1fr; gap: 22px; }
    .mf-station-tick { display: none; }
    .mf-ruler { padding-top: 26px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .coupe-light { opacity: 1; transform: rotate(13deg); transition: none; animation: none; }
    .coupe-light::after { animation: none; }
    .cote-uline-bar,
    .mf-ruler-line { transform: scaleX(1); transition: none; }
    .cote-uline::before,
    .cote-uline::after,
    .mf-ruler-line::before,
    .mf-ruler-line::after { opacity: 1; transition: none; }
    .mf-station { opacity: 1; transform: none; transition: none; }
  }

  /* ========================================================================
     PRESTATIONS — Menu 2 colonnes : titre + partenaires à gauche, grille
     de savoir-faire à droite.
     ======================================================================== */
  .prestations {
    padding: 0 0 clamp(90px, 10vw, 140px);
    border-top: 1px solid var(--line-1);
    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;
  }

  /* Partenaires — grille de logos compacte, ancrée en bas de la colonne
     pour aligner sa bordure basse avec la grille des savoir-faire à droite */
  .prest-aside-partners {
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid var(--line-1);
  }
  .prest-aside-partners-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;
  }
  .prest-aside-partners-label { color: var(--text-2); font-weight: 500; }
  .prest-aside-partners-rule { flex: 1; height: 1px; background: var(--line-1); }
  .prest-aside-partners-count { color: var(--text-3); font-weight: 500; }
  .prest-aside-partners-grid {
    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;
    overflow: hidden;
  }

  /* Tuile logo — fond sombre, filet d'accent révélé au survol */
  .logo-tile {
    position: relative;
    aspect-ratio: 12 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 9px;
    background: var(--bg);
    overflow: hidden;
    transition: background 320ms var(--ease-out);
  }
  .logo-tile::after {
    content: "";
    position: absolute;
    left: 10px; right: 10px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
    opacity: 0;
    transform: scaleX(0.3);
    transform-origin: center;
    transition: opacity 320ms ease, transform 360ms var(--ease-out);
  }
  .logo-tile:hover { background: rgba(167, 141, 117, 0.05); }
  .logo-tile:hover::after { opacity: 0.5; transform: scaleX(1); }

  /* Fallback typographique (visible tant que l'image n'est pas chargée) */
  .logo-tile-name {
    font-size: clamp(11px, 1vw, 13px);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text-3);
    text-align: center;
    line-height: 1;
  }
  /* Logo détouré — silhouette blanche uniforme sur la page sombre */
  .logo-tile-img {
    max-width: 84%;
    max-height: 62%;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.7;
    filter: brightness(0) invert(1);
    transition: opacity 360ms ease;
  }
  .logo-tile:hover .logo-tile-img { opacity: 1; }
  .logo-tile.has-logo .logo-tile-name { display: none; }

  /* manade — lettrage clair sur disque noir : le disque est dissous en
     « screen » pour ne conserver que le mot sur le fond sombre */
  .logo-tile[data-brand="manade"].has-logo .logo-tile-img {
    filter: none;
    mix-blend-mode: screen;
    /* base rendue à sa taille intrinsèque (nette), puis léger agrandissement.
       Le disque noir disparaît en blend "screen" : son débord hors de la
       tuile est masqué sans dommage visible. */
    max-width: 170%;
    max-height: 170%;
    opacity: 0.92;
    transform: scale(1.4);
  }
  /* Ajustements de cadrage par marque */
  .logo-tile[data-brand="columbia"].has-logo .logo-tile-img,
  .logo-tile[data-brand="brunner"].has-logo .logo-tile-img { max-width: 90%; }
  .logo-tile[data-brand="forma5"].has-logo .logo-tile-img { max-width: 84%; max-height: 82%; }
  .logo-tile[data-brand="sedus"].has-logo .logo-tile-img { max-width: 78%; max-height: 96%; }

  /* Grille de prestations 2x3 + fade dans les coins extérieurs */
  .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: 210px;
    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(167,141,117,0.05) 0%, var(--bg) 100%);
  }
  .prest-item:hover::before { opacity: 0.6; }

  .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(--accent);
    border: 1px solid var(--line-2);
    border-radius: 8px;
    background:
      radial-gradient(80% 80% at 50% 22%, var(--accent-soft) 0%, transparent 76%),
      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 — Ligne de cote : axe horizontal coté → 3 stations → 3 cartes.
     Référence directe au dessin technique d'agencement.
     ======================================================================== */
  .process {
    padding: clamp(90px, 10vw, 140px) 0;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg) 100%);
  }
  .process::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 66% 21% at 50% 33%,
        rgba(167,141,117,0.16) 0%, rgba(167,141,117,0.07) 42%,
        rgba(167,141,117,0.022) 66%, transparent 82%),
      radial-gradient(ellipse 40% 30% at 50% 0%,
        rgba(167,141,117,0.07) 0%, transparent 70%),
      linear-gradient(to right,  rgba(255,255,255,0.032) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255,255,255,0.032) 1px, transparent 1px);
    background-size: auto, auto, 44px 44px, 44px 44px;
    -webkit-mask-image: linear-gradient(180deg,
      #000 0%, #000 14%, rgba(0,0,0,0.65) 38%, rgba(0,0,0,0.30) 65%, transparent 92%);
            mask-image: linear-gradient(180deg,
      #000 0%, #000 14%, rgba(0,0,0,0.65) 38%, rgba(0,0,0,0.30) 65%, transparent 92%);
    pointer-events: none;
    z-index: 0;
  }

  .pf-vflow {
    position: relative;
    z-index: 1;
    max-width: 940px;
    margin: clamp(40px, 5vw, 64px) auto 0;
  }
  .pf-vsvg {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 0;
    overflow: visible;
    pointer-events: none;
  }

  /* Tracés : dessin progressif — pathLength normalisé à 100 */
  .pf-vsvg .pf-draw {
    stroke-dasharray: 9999;
    stroke-dashoffset: 9999;
  }
  .pf-vflow.visible .pf-vsvg .pf-draw {
    animation: pf-draw 2s cubic-bezier(0.25, 1, 0.35, 1) forwards;
    animation-delay: var(--d, 0s);
  }
  @keyframes pf-draw { to { stroke-dashoffset: 0; } }

  .pf-vsvg .pf-anim-node { opacity: 0; }
  .pf-vflow.visible .pf-vsvg .pf-anim-node {
    animation: pf-node-in 1.1s cubic-bezier(0.25, 1, 0.35, 1) forwards;
    animation-delay: var(--d, 0s);
  }
  @keyframes pf-node-in { to { opacity: 1; } }

  .pf-vcards {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 1.5vw, 20px);
    margin-top: -1px;
  }

  .pf-vcard {
    position: relative;
    isolation: isolate;
    padding: clamp(24px, 2.4vw, 30px) clamp(20px, 2vw, 26px) clamp(26px, 2.6vw, 32px);
    display: flex;
    flex-direction: column;
    gap: 11px;
    min-height: 224px;
    border-radius: 14px;
    border: 1px solid var(--line-2);
    background:
      radial-gradient(135% 78% at 50% -12%, rgba(var(--c-rgb), 0.13) 0%, transparent 58%),
      linear-gradient(180deg, #171717 0%, #101010 52%, var(--bg) 100%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.055),
      0 16px 34px -24px rgba(0,0,0,0.72),
      0 38px 62px -38px rgba(0,0,0,0.82);
    transition:
      opacity 700ms ease,
      transform 700ms cubic-bezier(0.16, 1, 0.3, 1),
      border-color 320ms ease,
      box-shadow 320ms ease;
  }
  /* 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 pads de connexion suivent le lift de leur card au hover — même mouvement,
     même timing que .pf-vcard:hover, le connecteur reste « branché ».
     Ciblé sur les circles : le groupe est tenu par le fill forwards de pf-node-in. */
  .pf-vsvg .pf-vdot circle { transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1); }
  /* Miroir des délais de reveal des cards → hover (0ms) et unhover (délai
     nth-child) restent synchrones avec le mouvement de la card. */
  .pf-vflow.visible .pf-vdot--1 circle { transition-delay: 1500ms; }
  .pf-vflow.visible .pf-vdot--2 circle { transition-delay: 1640ms; }
  .pf-vflow.visible .pf-vdot--3 circle { transition-delay: 1780ms; }
  .pf-vflow:has(.pf-vcard:nth-child(1):hover) .pf-vdot--1 circle,
  .pf-vflow:has(.pf-vcard:nth-child(2):hover) .pf-vdot--2 circle,
  .pf-vflow:has(.pf-vcard:nth-child(3):hover) .pf-vdot--3 circle { transform: translateY(-3px); transition-delay: 0ms; }
  .pf-vcard::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 22px;
    right: 22px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--c) 24%, var(--c) 76%, transparent);
    box-shadow: 0 0 16px rgba(var(--c-rgb), 0.55);
    border-radius: 2px;
    z-index: 1;
  }
  /* Trame plan fondue dans le haut de la carte */
  .pf-vcard::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image:
      linear-gradient(to right,  rgba(255,255,255,0.04) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(120% 76% at 50% 0%, #000 0%, transparent 64%);
            mask-image: radial-gradient(120% 76% at 50% 0%, #000 0%, transparent 64%);
    pointer-events: none;
    z-index: -1;
  }
  .pf-vcard-fade {
    position: absolute;
    left: -1px; right: -1px; bottom: -1px;
    height: clamp(66px, 8vw, 92px);
    z-index: -1;
    background: linear-gradient(180deg,
      transparent 0%, rgba(10,10,10,0.18) 34%, rgba(10,10,10,0.62) 66%, var(--bg) 100%);
    pointer-events: none;
  }

  .pf-vcard-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .pf-vcard-glyph {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--c);
    border: 1px solid rgba(var(--c-rgb), 0.26);
    border-radius: 11px;
    background:
      radial-gradient(82% 82% at 50% 26%, rgba(var(--c-rgb), 0.16) 0%, transparent 76%),
      rgba(255,255,255,0.014);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.06),
      0 8px 18px -12px rgba(var(--c-rgb), 0.7);
    flex-shrink: 0;
    transition: transform 240ms ease, filter 240ms ease;
  }
  .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: 25px; height: 25px; display: block; }
  .pf-vcard-num {
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--c);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
  }
  .pf-vcard-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: 3px;
  }
  .pf-vcard-desc {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-2);
    letter-spacing: -0.005em;
  }

  .pf-vcard { opacity: 0; transform: translateY(20px); }
  .pf-vflow.visible .pf-vcard {
    opacity: 1;
    transform: none;
    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: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; }
  /* hover après les nth-child → delay 0 gagne (lift immédiat comme dev) */
  .pf-vflow.visible .pf-vcard:hover { transition-delay: 0ms; }

  @media (max-width: 720px) {
    .pf-vsvg { display: none; }
    .pf-vcards {
      grid-template-columns: 1fr;
      gap: 14px;
      margin-top: 24px;
      position: relative;
    }
    .pf-vcards::before {
      content: "";
      position: absolute;
      left: 0; top: 0; bottom: 0;
      width: 1px;
      background: repeating-linear-gradient(to bottom,
        rgba(255,255,255,0.10) 0 4px, transparent 4px 10px);
    }
    .pf-vcard { min-height: 0; margin-left: 28px; }
    .pf-vcard::before {
      width: 28px;
      left: -28px;
      top: 34px;
      right: auto;
      bottom: auto;
      height: 1px;
      background: var(--c);
      box-shadow: 0 0 10px rgba(var(--c-rgb), 0.55);
      border-radius: 0;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .pf-vsvg .pf-draw,
    .pf-vsvg .pf-anim-node {
      animation: none !important;
      opacity: 1 !important;
      stroke-dashoffset: 0 !important;
    }
    .pf-vcard { opacity: 1; transform: none; }
    .pf-vcard:hover { transform: none; }
  }

  /* ========================================================================
     CTA — Bandeau compact, logo-icône Agencement (plan) comme accent
     ======================================================================== */
  .cta-section {
    padding: clamp(40px, 5vw, 72px) 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 70%, transparent 85%);
            mask-image: linear-gradient(to right, #000 0%, #000 70%, transparent 85%);
  }
  .cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(60% 110% at 0% 50%,
        rgba(167,141,117,0.16) 0%, rgba(167,141,117,0.07) 28%,
        rgba(167,141,117,0.022) 52%, transparent 72%),
      linear-gradient(90deg,
        rgba(167,141,117,0.07) 0%, rgba(167,141,117,0.022) 18%, transparent 38%);
    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: 780px;
    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-breathe 4.2s var(--ease-smooth) infinite;
  }
  @keyframes cta-breathe {
    0%, 100% { opacity: 0.4; }
    50%      { opacity: 0.85; }
  }
  @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-style: normal; color: var(--accent); font-weight: 500; }
  .cta-sub {
    font-size: 14.5px;
    color: var(--text-2);
    line-height: 1.55;
    max-width: 540px;
    margin: 0 0 20px;
    letter-spacing: -0.005em;
  }
  .cta-actions {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 18px;
  }
  .cta-actions-divider {
    width: 1px;
    height: 18px;
    background: var(--line-2);
  }
  .cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-3);
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
  }
  .cta-phone-num {
    color: var(--text-1);
    font-weight: 500;
    border-bottom: 1px solid var(--line-3);
    transition: border-color 180ms ease, color 180ms ease;
  }
  .cta-phone-num:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
  }
  @media (max-width: 640px) {
    .cta-inner { gap: 14px; }
    .cta-icon { width: clamp(82px, 22vw, 120px); }
    .cta-actions { gap: 14px; }
  }

  /* ========================================================================
     FOOTER
     ======================================================================== */
  footer {
    padding: 100px 0 40px;
    border-top: 1px solid var(--line-1);
    background: var(--bg-1);
    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 : la nappe taupe
   claire du mesh passe sous le 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.50),
      rgba(10, 10, 10, 0.26) 55%,
      rgba(10, 10, 10, 0) 100%);
    z-index: -1;
    pointer-events: none;
  }
