﻿@font-face{font-family:'Inter';font-style:normal;font-weight:300;font-display:swap;src:url('/assets/fonts/inter-300.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/inter-400.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/inter-500.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/inter-600.woff2') format('woff2');}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/space-grotesk-500.woff2') format('woff2');}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/space-grotesk-600.woff2') format('woff2');}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/space-grotesk-700.woff2') format('woff2');}

  :root {
    color-scheme: dark;
    --blue: #0F18DE;
    --yellow: #F7EB37;
    --black: #0A0A12;
    --white: #F5F5F0;
    --gray: #8a8a92;
  }
  html {
    color-scheme: dark;
    -webkit-tap-highlight-color: transparent;
  }
  a, button, [role="button"], .cta, .btn-yellow, .scan-mode, .scan-pick-btn {
    -webkit-tap-highlight-color: rgba(247, 235, 55, 0.18);
  }
  /* Focus visible global (a11y WCAG 2.4.7) - lecteur clavier */
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible,
  [tabindex]:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 3px;
    border-radius: 4px;
  }
  input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
    -webkit-text-fill-color: var(--white);
    -webkit-box-shadow: 0 0 0 1000px rgba(255,255,255,0.04) inset;
    caret-color: var(--yellow);
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
  }
  @media (prefers-reduced-transparency: reduce) {
    .mobile-menu, .modal-backdrop {
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      background: rgba(10,10,18,0.97) !important;
    }
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html, body { background: var(--black); color: var(--white); overflow-x: clip; }
  body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
  }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

  /* Selection */
  ::selection { background: var(--yellow); color: var(--black); }

  /* ----------- Nav ----------- */
  .nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 300;
    padding: 28px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    mix-blend-mode: difference;
    color: var(--white);
  }
  .logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 40px;
    letter-spacing: -0.02em;
    color: var(--white);
  }
  .logo .dot { color: var(--yellow); }
  .nav-links {
    display: flex;
    gap: 36px;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
  }
  .nav-links a {
    position: relative;
    padding: 6px 0;
  }
  .nav-links a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 1px;
    background: var(--yellow);
    transition: width .35s ease;
  }
  .nav-links a:hover::after { width: 100%; }

  /* Hamburger button */
  .nav-burger {
    display: none;
    position: relative;
    width: 48px; height: 48px;
    background: rgba(10, 10, 18, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    z-index: 250;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    transition: border-color .25s;
  }
  .nav-burger:hover { border-color: rgba(247, 235, 55, 0.5); }
  .nav-burger span {
    position: absolute;
    left: 12px; right: 12px;
    height: 1.5px;
    background: var(--yellow);
    transition: transform .35s cubic-bezier(.65,.05,.36,1), opacity .25s, top .35s, bottom .35s;
  }
  .nav-burger span:nth-child(1) { top: 14px; }
  .nav-burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
  .nav-burger span:nth-child(3) { bottom: 14px; }
  .nav-burger.is-open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
  .nav-burger.is-open span:nth-child(2) { opacity: 0; transform: translateY(-50%) scaleX(0); }
  .nav-burger.is-open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

  @media (max-width: 900px) {
    .nav-burger { display: inline-flex; }
    .nav-links { display: none; }
    .nav { mix-blend-mode: normal; }
  }

  /* Mobile menu overlay */
  .mobile-menu {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(10, 10, 18, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 100px 28px 40px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
    transition: opacity .4s ease, visibility 0s linear .4s;
  }
  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .4s ease, visibility 0s linear 0s;
  }
  .mobile-menu-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .mobile-menu-eyebrow {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--yellow);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease .1s, transform .5s ease .1s;
  }
  .mobile-menu-eyebrow::before {
    display: none;
  }
  .mobile-menu.is-open .mobile-menu-eyebrow {
    opacity: 1;
    transform: translateY(0);
  }
  .mobile-menu-links {
    display: flex;
    flex-direction: column;
  }
  .mobile-menu-links a {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(2.2rem, 9vw, 3.4rem);
    letter-spacing: -0.03em;
    line-height: 1;
    padding: 18px 0;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity .5s ease, transform .55s cubic-bezier(.22,.61,.36,1), color .2s;
  }
  .mobile-menu-links a::after {
    content: '→';
    font-size: 0.5em;
    color: var(--yellow);
    opacity: 0.5;
    transition: transform .3s, opacity .25s;
  }
  .mobile-menu-links a:hover {
    color: var(--yellow);
  }
  .mobile-menu-links a:hover::after {
    opacity: 1;
    transform: translateX(6px);
  }
  .mobile-menu.is-open .mobile-menu-links a {
    opacity: 1;
    transform: translateX(0);
  }
  .mobile-menu.is-open .mobile-menu-links a:nth-child(1) { transition-delay: 0.18s, 0.18s, 0s; }
  .mobile-menu.is-open .mobile-menu-links a:nth-child(2) { transition-delay: 0.24s, 0.24s, 0s; }
  .mobile-menu.is-open .mobile-menu-links a:nth-child(3) { transition-delay: 0.30s, 0.30s, 0s; }
  .mobile-menu.is-open .mobile-menu-links a:nth-child(4) { transition-delay: 0.36s, 0.36s, 0s; }
  .mobile-menu.is-open .mobile-menu-links a:nth-child(5) { transition-delay: 0.42s, 0.42s, 0s; }
  .mobile-menu.is-open .mobile-menu-links a:nth-child(6) { transition-delay: 0.48s, 0.48s, 0s; }

  .mobile-menu-pages {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease .45s, transform .5s ease .45s;
  }
  .mobile-menu.is-open .mobile-menu-pages {
    opacity: 1;
    transform: translateY(0);
  }
  .mobile-menu-pages h5,
  .mobile-menu-pages-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245, 245, 240, 0.4);
    margin: 0 0 14px;
    font-weight: 600;
  }
  .mobile-menu-pages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 18px;
  }
  .mobile-menu-pages-grid a {
  min-height: 44px;
  display: flex;
  align-items: center;
    padding: 8px 0;
    font-size: 13.5px;
    color: rgba(245, 245, 240, 0.7);
    transition: color .2s;
  }
  .mobile-menu-pages-grid a:hover { color: var(--yellow); }

  .mobile-menu-foot {
    margin-top: 6px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    color: rgba(245, 245, 240, 0.6);
    opacity: 0;
    transform: translateY(15px);
    transition: opacity .5s ease .55s, transform .5s ease .55s;
  }
  .mobile-menu.is-open .mobile-menu-foot {
    opacity: 1;
    transform: translateY(0);
  }
  .mobile-menu-foot a { color: var(--yellow); }
  .mobile-menu-foot .loc { color: rgba(245, 245, 240, 0.5); }
  @media (max-width: 700px) {
    .nav { padding: 20px 22px; mix-blend-mode: normal; padding-top: max(20px, env(safe-area-inset-top)); }
    /* Menu mobile : tenir confortablement sur les petits écrans (iPhone SE…) */
    .mobile-menu {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
      padding: max(84px, calc(env(safe-area-inset-top) + 76px)) 24px max(32px, env(safe-area-inset-bottom));
    }
    .mobile-menu-inner { gap: 22px; }
    .mobile-menu-links a { padding: 14px 0; font-size: clamp(2rem, 8vw, 3rem); }
  }

  /* ----------- Hero ----------- */
  .hero {
    position: relative;
    height: 100vh;
  height: 100svh;
    min-height: 720px;
    background: var(--blue);
    background-image:
      radial-gradient(ellipse at 80% 50%, rgba(247,235,55,0.08), transparent 60%),
      radial-gradient(ellipse at 20% 100%, rgba(8,13,138,0.7), transparent 60%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
  }
  @media (max-width: 700px) {
    .hero { padding: 110px 22px; min-height: 100svh; height: auto; }
  }
  @media (max-width: 380px) {
    .hero { min-height: 80vh; padding-top: 90px; padding-bottom: 70px; }
  }
  .hero-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
  }
  .hero-canvas {
    position: absolute;
    top: 0; right: 0;
    width: 60%;
    height: 100%;
    pointer-events: none;
    display: block;
  }

  /* ----------- Hero owl (La Chouette de Dijon) ----------- */
  .hero-owl {
    position: absolute;
    top: 32%;
    right: 7%;
    transform: translateY(-50%);
    width: clamp(240px, 24vw, 360px);
    aspect-ratio: 1 / 1;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    perspective: 900px;
  }
  .eyebrow-region { display: inline; }
  .hero-owl-tilt {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.1s linear;
    will-change: transform;
    opacity: 1;
  }
  .hero-owl-img {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 18px 40px rgba(247, 235, 55, 0.25));
    animation: owlFloat 7s ease-in-out infinite;
    transform-origin: center;
    will-change: transform;
  }
  @keyframes owlFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-14px) scale(1.018); }
  }
  .hero-owl-halo {
    position: absolute;
    inset: -22%;
    z-index: 1;
    background:
      radial-gradient(circle at center, rgba(247, 235, 55, 0.22) 0%, rgba(247, 235, 55, 0.06) 35%, transparent 65%);
    filter: blur(8px);
    animation: haloPulse 4.5s ease-in-out infinite;
    pointer-events: none;
  }
  @keyframes haloPulse {
    0%, 100% { transform: scale(0.92); opacity: 0.55; }
    50%      { transform: scale(1.12); opacity: 1; }
  }
  .hero-owl-ring {
    display: none;
  }
  .hero-owl-ring::before,
  .hero-owl-ring::after {
    content: '';
    position: absolute;
    background: rgba(247, 235, 55, 0.6);
    border-radius: 50%;
    width: 6px; height: 6px;
  }
  .hero-owl-ring::before {
    top: -3px; left: 50%; transform: translateX(-50%);
  }
  .hero-owl-ring::after {
    bottom: -3px; right: 50%; transform: translateX(50%);
    width: 4px; height: 4px;
    background: rgba(247, 235, 55, 0.35);
  }
  @keyframes ringSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
  }
  @media (max-width: 900px) {
    .hero-owl {
      right: -16%;
      top: 30%;
      transform: none;
      width: 66vw;
      max-width: 300px;
      z-index: 1;
    }
    .hero-owl-tilt { opacity: 0.20; }
    .hero-owl-img { filter: drop-shadow(0 12px 24px rgba(247, 235, 55, 0.15)); }
  }
  @media (max-width: 600px) {
    .hero-owl {
      right: -34%;
      top: 33%;
      width: 80vw;
      max-width: 320px;
    }
    .hero-owl-tilt { opacity: 0.14; }
  }
  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
  }
  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--yellow);
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(20px);
  }
  .hero-eyebrow::before {
    display: none;
  }
  h1.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(3rem, 11vw, 11rem);
    line-height: 0.88;
    letter-spacing: -0.04em;
    color: var(--white);
    max-width: 14ch;
    margin-bottom: 36px;
  }
  @media (max-width: 480px) {
    h1.hero-title { font-size: clamp(2.4rem, 12vw, 4.5rem); }
  }
  h1.hero-title .word { display: inline-block; overflow: hidden; margin-right: 0.18em; padding-bottom: 0.16em; margin-bottom: -0.16em; }
  h1.hero-title .word > span { display: inline-block; transform: translateY(130%); }
  /* Retour à la ligne du CTA final : différent sur mobile */
  .br-mobile { display: none; }
  @media (max-width: 700px) {
    .cta-final h2 .br-desktop { display: none; }
    .cta-final h2 .br-mobile { display: inline; }
  }
  @media (max-width: 700px) {
    .cta-final h2 { font-size: clamp(1.9rem, 9vw, 2.4rem); max-width: 18ch; }
  }
  .hero-sub {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
  }
  .hero-sub p {
    font-size: 16px;
    color: rgba(245,245,240,0.8);
    max-width: 360px;
  }
  @media (max-width: 700px) {
    .hero-sub { gap: 14px; }
    .hero-sub p { font-size: 15px; }
    .cta { padding: 15px 24px; font-size: 14px; }
    .cta-link { font-size: 13px; }
    .eyebrow-region { display: none; }
  }
  .cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 17px 28px;
    background: var(--yellow);
    color: var(--black);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.01em;
    border-radius: 6px;
    transition: background .25s ease, box-shadow .25s ease;
    white-space: nowrap;
  }
  .cta:hover {
    background: #fff15c;
    box-shadow: 0 8px 24px -8px rgba(247, 235, 55, 0.5);
  }
  .cta .arrow { transition: transform .35s ease; }
  .cta:hover .arrow { transform: translateX(6px); }
  .cta.dark { background: var(--black); color: var(--yellow); }
  .cta-link {
    display: inline-flex;
    align-items: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: rgba(245,245,240,0.7);
    border-bottom: 1px solid rgba(245,245,240,0.35);
    padding: 2px 0 4px;
    transition: color .25s ease, border-color .25s ease;
  }
  .cta-link:hover {
    color: var(--yellow);
    border-bottom-color: var(--yellow);
  }

  /* ----------- Owl tag (Chouette annotation) ----------- */
  .owl-tag {
    position: absolute;
    right: 10%;
    top: 72%;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    pointer-events: none;
    opacity: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 500;
    color: rgba(247, 235, 55, 0.75);
  }
  .owl-tag-line {
    width: 36px;
    height: 1px;
    background: rgba(247, 235, 55, 0.5);
  }
  @media (max-width: 900px) {
    .owl-tag { right: 5%; top: 64%; font-size: 10px; }
    .owl-tag-line { width: 24px; }
  }

  /* ----------- Dijon coordinates seal (removed) ----------- */


  /* ----------- Section base ----------- */
  section { position: relative; }
  .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
  }
  @media (max-width: 700px) {
    .container { padding: 0 22px; }
  }
  .section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--yellow);
    margin-bottom: 28px;
  }
  .section-label::before {
    display: none;
  }
  .section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 6vw, 5.5rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    max-width: 14ch;
  }

  /* ----------- Scroll Narrative ----------- */
  .narrative {
    position: relative;
    height: 320vh; height: 320svh;
    background: var(--black);
  }
  @media (max-width: 700px) {
    .narrative { height: 240vh; height: 240svh; }
  }
  .narrative-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
  height: 100svh;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }
  /* Empêche les pistes 1fr de grandir à la taille intrinsèque du canvas
     (sinon : emballement ResizeObserver → canvas géant sur mobile). */
  .narrative-sticky > * { min-width: 0; min-height: 0; }
  .narrative-canvas {
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
    max-height: 100vh;
  height: 100svh;
    display: block;
    z-index: 1;
  }
  .narrative-text-wrap {
    grid-area: 1 / 1;
    z-index: 2;
    position: relative;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  .narrative-step {
    position: absolute;
    top: 50%;
    left: 8vw;
    transform: translateY(-50%);
    max-width: 520px;
    opacity: 0;
    transition: none;
    will-change: transform, opacity;
  }
  .narrative-step .num {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--yellow);
    margin-bottom: 24px;
    display: block;
    letter-spacing: 0.08em;
  }
  .narrative-step h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(2.4rem, 5.5vw, 4.8rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--white);
  }
  .narrative-step p {
    margin-top: 22px;
    color: rgba(245,245,240,0.65);
    font-size: 17px;
    max-width: 420px;
  }
  .narrative-progress {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 3;
  }
  .narrative-progress .pip {
    width: 36px; height: 1px;
    background: rgba(255,255,255,0.15);
    position: relative;
    overflow: hidden;
  }
  .narrative-progress .pip::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--yellow);
    transform: scaleX(0);
    transform-origin: left;
  }
  @media (max-width: 800px) {
    .narrative { height: 260vh; height: 260svh; }
    .narrative-text-wrap, .narrative-step { left: 22px; right: 22px; }
    .narrative-progress { display: none; }
  }
  /* Sur mobile/tablette, le visuel en morphing passe derrière le texte. Au lieu d'un
     encadré bleu plein à texte jaune (trop voyant), on pose un panneau sombre facon
     verre depoli (scrim noir translucide + flou) avec un texte off-white, cohérent
     avec le reste du site et lisible par-dessus l'animation.
     Les titres (numéro jaune, titre blanc) restent inchangés. */
  @media (max-width: 900px) {
    .narrative-step p {
      display: block;
      width: 100%;
      max-width: 100%;
      margin-top: 20px;
      padding: 16px 18px;
      color: rgba(245, 245, 240, 0.92);
      background: rgba(10, 10, 18, 0.58);
      -webkit-backdrop-filter: blur(12px) saturate(118%);
      backdrop-filter: blur(12px) saturate(118%);
      border: 1px solid rgba(255, 255, 255, 0.09);
      border-radius: 14px;
      box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
      font-size: 15.5px;
      line-height: 1.6;
      text-align: left;
    }
  }
  /* Repli si backdrop-filter non supporté : scrim plus opaque pour garder la lisibilité */
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    @media (max-width: 900px) {
      .narrative-step p { background: rgba(10, 10, 18, 0.82); }
    }
  }
  /* Affinage mobile de la section présentation : lisibilité + alignement */
  @media (max-width: 700px) {
    .narrative-step { top: 46%; left: 20px; right: 20px; }
    .narrative-step .num { margin-bottom: 14px; font-size: 12px; }
    .narrative-step h2 { font-size: clamp(2.05rem, 8.5vw, 2.9rem); line-height: 1.05; }
    .narrative-step p { font-size: 15px; margin-top: 16px; }
  }

  /* ----------- Services ----------- */
  .services {
    position: relative;
    background: var(--black);
    padding: 160px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
  }
  @media (max-width: 700px) {
    .services { padding: 90px 0; }
  }
  .services-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 80px;
  }
  .services-head p {
    max-width: 380px;
    color: rgba(245,245,240,0.6);
    font-size: 16px;
  }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    perspective: 1200px;
  }
  .service-card {
    position: relative;
    padding: 40px 36px 48px;
    background: #0f0f1a;
    border: 1px solid rgba(255,255,255,0.08);
    min-height: 460px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .4s ease, background .4s ease;
    will-change: transform;
    transform-style: preserve-3d;
  }
  .service-card:hover {
    border-color: var(--yellow);
    background: #12122a;
  }
  .service-card .num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 80px;
    letter-spacing: 0.08em;
  }
  .service-icon {
    width: 52px; height: 52px;
    margin-bottom: 28px;
    color: var(--yellow);
  }
  .service-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--white);
  }
  .service-card p {
    color: rgba(245,245,240,0.6);
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 28px;
  }
  .service-card ul {
    list-style: none;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .service-card li {
    padding: 8px 0;
    font-size: 13px;
    color: rgba(245,245,240,0.7);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .service-card li::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--yellow);
    border-radius: 50%;
    flex-shrink: 0;
  }
  .service-card .glow {
    position: absolute;
    inset: -1px;
    pointer-events: none;
    opacity: 0;
    background:
      radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%),
        rgba(247,235,55,0.15), transparent 40%);
    transition: opacity .4s ease;
  }
  .service-card:hover .glow { opacity: 1; }
  @media (max-width: 1000px) {
    .services { padding: 100px 0; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { min-height: auto; }
    .service-card .num { margin-bottom: 40px; }
  }

  /* ----------- Marquee (removed) ----------- */

  /* ----------- Processus ----------- */
  .process {
    background: var(--blue);
    padding: 160px 0 180px;
    color: var(--white);
    overflow: hidden;
  }
  .process .section-label { color: var(--yellow); }
  .process-head { margin-bottom: 100px; }
  .process .section-title { color: var(--white); }
  .process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
  }
  .process-line {
    position: absolute;
    top: 32px;
    left: 0; right: 0;
    height: 1px;
    background: rgba(255,255,255,0.15);
  }
  .process-line-fill {
    position: absolute;
    inset: 0;
    background: var(--yellow);
    transform-origin: left;
    transform: scaleX(0);
  }
  .process-step {
    position: relative;
    padding-top: 0;
  }
  .process-step .dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--blue);
    border: 1px solid rgba(255,255,255,0.4);
    position: relative;
    top: 25px;
    transition: background .35s ease, border-color .35s ease, transform .35s ease;
  }
  .process-step.active .dot {
    background: var(--yellow);
    border-color: var(--yellow);
    transform: scale(1.3);
  }
  .process-step .num {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-top: 56px;
    line-height: 1;
    color: rgba(255,255,255,0.35);
    transition: color .35s ease;
  }
  .process-step.active .num { color: var(--yellow); }
  .process-step h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 19px;
    margin: 18px 0 12px;
    line-height: 1.15;
    letter-spacing: -0.01em;
  }
  .process-step p {
    font-size: 14px;
    color: rgba(245,245,240,0.78);
    line-height: 1.5;
    max-width: 220px;
  }
  @media (max-width: 1000px) {
    .process { padding: 100px 0; }
    .process-timeline { grid-template-columns: 1fr; gap: 0; }
    .process-line { display: none; }
    .process-step {
      padding: 28px 0 28px 56px;
      border-left: 1px solid rgba(255,255,255,0.15);
    }
    .process-step .dot { position: absolute; left: -7px; top: 32px; }
    .process-step .num { margin-top: 0; }
    .process-step p { max-width: 100%; }
  }

  /* ----------- Pourquoi (chiffres) ----------- */
  .stats {
    position: relative;
    background: var(--black);
    padding: 160px 0;
    overflow: hidden;
  }
  @media (max-width: 700px) {
    .stats { padding: 90px 0; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat { padding: 30px 12px 30px 0; }
    .stat .num { font-size: clamp(2.2rem, 9vw, 3.5rem); }
    .stat .label { font-size: 13px; }
  }
  .stats-head {
    margin-bottom: 80px;
    max-width: 720px;
  }
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .stat {
    padding: 60px 24px 60px 0;
    border-right: 1px solid rgba(255,255,255,0.1);
  }
  .stat:last-child { border-right: none; }
  .stat .num {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.95;
    color: var(--white);
    letter-spacing: -0.04em;
    display: flex;
    align-items: flex-start;
  }
  .stat .num .suffix {
    font-size: 0.4em;
    margin-left: 4px;
    color: var(--yellow);
    margin-top: 0.4em;
  }
  .stat .label {
    margin-top: 20px;
    font-size: 14px;
    color: rgba(245,245,240,0.6);
    line-height: 1.5;
    max-width: 200px;
  }
  @media (max-width: 1000px) {
    .stats { padding: 100px 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat { padding: 40px 16px 40px 0; }
    .stat:nth-child(2) { border-right: none; }
    .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.1); }
  }

  /* ----------- CTA Final ----------- */
  .cta-final {
    background: var(--yellow);
    color: var(--black);
    padding: 140px 0 160px;
    position: relative;
    overflow: hidden;
  }
  @media (max-width: 700px) {
    .cta-final { padding: 90px 0 100px; }
  }
  .cta-final .container { text-align: left; }
  .cta-final .section-label { color: var(--black); }
  .cta-final .section-label::before { background: var(--black); }
  .cta-final h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(2.6rem, 10vw, 9rem);
    line-height: 0.9;
    letter-spacing: -0.04em;
    margin-bottom: 40px;
    max-width: 14ch;
  }
  .cta-final p {
    font-size: 18px;
    max-width: 460px;
    margin-bottom: 48px;
    color: rgba(10,10,18,0.75);
  }
  .cta-final-actions {
    display: flex;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
  }
  .cta-final-actions .email {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 17px;
    border-bottom: 1px solid var(--black);
    padding-bottom: 4px;
  }
  .cta-final-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
      radial-gradient(circle at 90% 30%, rgba(15,24,222,0.08), transparent 40%);
  }

  /* ----------- Footer ----------- */
  footer {
    position: relative;
    background: var(--black);
    padding: 80px 0 36px;
    border-top: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
  }
  .footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 32px;
    letter-spacing: -0.03em;
    color: var(--white);
  }
  .footer-logo .dot { color: var(--yellow); }
  .footer-tag {
    margin-top: 16px;
    color: rgba(245,245,240,0.5);
    font-size: 14px;
    max-width: 280px;
  }
  .footer-col h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--yellow);
    margin-bottom: 18px;
    font-weight: 600;
  }
  .footer-col a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
    color: rgba(245,245,240,0.7);
    transition: color .25s ease;
  }
  .footer-col a:hover { color: var(--yellow); }
  .footer-col.is-stack-2 {
    column-count: 2;
    column-gap: 32px;
    column-fill: balance;
  }
  .footer-col.is-stack-2 h4 {
    column-span: all;
  }
  .footer-col.is-stack-2 a {
    break-inside: avoid;
    min-height: 36px;
  }
  .footer-bottom {
    margin-top: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 12px;
    color: rgba(245,245,240,0.5);
    letter-spacing: 0.04em;
  }
  .socials { display: flex; gap: 14px; }
  .socials a {
    width: 42px; height: 42px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .3s, border-color .3s, color .3s, transform .25s cubic-bezier(.2,.8,.2,1);
  }
  .socials a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--black); transform: translateY(-2px); }
  .socials a:active { transform: scale(0.94); background: var(--yellow); border-color: var(--yellow); color: var(--black); }
  .socials a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
  @media (max-width: 800px) {
    .footer-col.is-stack-2 { column-count: 1; }
    .footer-top {
      grid-template-columns: 1fr;
      justify-items: center;
      text-align: center;
      gap: 40px;
      padding-bottom: 44px;
    }
    .footer-tag { margin-left: auto; margin-right: auto; }
    .footer-col a {
  min-height: 44px;
  display: flex;
  align-items: center; display: inline-block; }
    .footer-bottom {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      gap: 18px;
    }
    .footer-bottom > div { width: 100%; }
    .socials { justify-content: center; }
  }

  /* ----------- Reveal animations ----------- */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
  }

  /* ============================================================
     RÉALISATIONS
     ============================================================ */
  .works {
    position: relative;
    background: var(--black);
    padding: 160px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .works-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 70px;
  }
  .works-head p {
    max-width: 380px;
    color: rgba(245,245,240,0.6);
    font-size: 16px;
  }
  /* ============================================================
     CAS CLIENT (réalisation mise en avant - composant réutilisable)
     ============================================================ */
  .cases {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .case-card {
    position: relative;
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    align-items: center;
    gap: 60px;
    padding: 44px;
    background: #0f0f1a;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: border-color .45s ease, transform .55s cubic-bezier(.2,.8,.2,1);
    will-change: transform;
  }
  .case-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(620px circle at 78% 18%, rgba(247,235,55,0.06), transparent 55%);
    opacity: 0;
    transition: opacity .5s ease;
  }
  .case-card:hover {
    border-color: rgba(247,235,55,0.4);
    transform: translateY(-4px);
  }
  .case-card:hover::after { opacity: 1; }

  /* ---- Media composition : deux écrans avec profondeur ---- */
  .case-media {
    position: relative;
    padding: 4px 0 8px;
  }
  .case-screen {
    border-radius: 14px;
    overflow: hidden;
    background: #0b0b14;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 36px 70px -28px rgba(0,0,0,0.85);
  }
  .case-screen-bar {
    height: 30px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    background: #15151f;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .case-screen-bar span {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
  }
  .case-screen-bar span:first-child { background: rgba(247,235,55,0.55); }
  .case-screen img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }
  .case-media-main {
    position: relative;
    z-index: 1;
    width: 100%;
    transition: transform .6s cubic-bezier(.2,.8,.2,1);
    will-change: transform;
  }
  .case-media-sub {
    position: absolute;
    right: -1.5%;
    bottom: 0;
    width: 46%;
    z-index: 2;
    transform: translateY(13%) rotate(2.4deg);
    transition: transform .6s cubic-bezier(.2,.8,.2,1);
    will-change: transform;
  }
  .case-card:hover .case-media-main { transform: scale(1.02); }
  .case-card:hover .case-media-sub  { transform: translateY(10%) rotate(1deg); }
  /* Étiquette éditoriale - désormais intégrée en haut de l'encadré texte */
  .case-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 7px 14px;
    background: var(--yellow);
    color: var(--black);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 999px;
  }

  /* ---- Contenu ---- */
  .case-content { min-width: 0; }
  .case-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
  }
  .case-index {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    color: rgba(245,245,240,0.4);
  }
  .case-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--yellow);
    font-weight: 500;
  }
  .case-tag::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--yellow);
    border-radius: 50%;
  }
  .case-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(2.1rem, 3.4vw, 3.1rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 18px;
  }
  .case-mission {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: rgba(245,245,240,0.92);
    margin-bottom: 18px;
  }
  .case-desc {
    font-size: 15.5px;
    line-height: 1.65;
    color: rgba(245,245,240,0.6);
    max-width: 46ch;
    margin-bottom: 26px;
  }
  .case-points {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .case-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: rgba(245,245,240,0.75);
    line-height: 1.45;
  }
  .case-points li::before {
    content: '';
    width: 6px; height: 6px;
    margin-top: 7px;
    background: var(--yellow);
    border-radius: 50%;
    flex-shrink: 0;
  }
  .case-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    border: 1px solid rgba(247,235,55,0.45);
    border-radius: 999px;
    color: var(--yellow);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: background .35s ease, color .35s ease, border-color .35s ease, transform .4s cubic-bezier(.2,.8,.2,1);
    will-change: transform;
  }
  .case-link:hover {
    background: var(--yellow);
    color: var(--black);
    border-color: var(--yellow);
  }
  .case-link .arrow { transition: transform .35s ease; }
  .case-link:hover .arrow { transform: translateX(5px); }

  @media (max-width: 1000px) {
    .case-card {
      grid-template-columns: 1fr;
      gap: 40px;
      padding: 32px;
    }
    .case-media { max-width: 640px; margin-bottom: 18px; }
  }
  @media (max-width: 700px) {
    .case-card { padding: 22px 20px 30px; border-radius: 20px; gap: 30px; }
    .case-media { margin-bottom: 30px; }
    .case-media-sub { width: 52%; right: 0; bottom: 0; transform: translateY(20%) rotate(2deg); }
    .case-screen-bar { height: 26px; }
    .case-desc { font-size: 15px; }
    .case-link { width: 100%; justify-content: center; }
  }
  @media (max-width: 380px) {
    .case-media-sub { width: 56%; }
  }

  /* ============================================================
     TÉMOIGNAGES
     ============================================================ */
  .testimonials {
    position: relative;
    background: var(--black);
    padding: 160px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
  }
  .testimonials-head { margin-bottom: 70px; max-width: 720px; }
  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .testimonial {
    padding: 28px 28px 24px;
    background: #0f0f1a;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: border-color .35s, transform .35s;
  }
  .testimonial:hover { border-color: rgba(247,235,55,0.3); transform: translateY(-3px); }
  .testimonial blockquote {
    font-size: 16.5px;
    line-height: 1.55;
    color: rgba(245,245,240,0.85);
    font-style: normal;
    margin: 0;
    flex-grow: 1;
  }
  .testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .testimonial-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a2e, #2a2a44);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--yellow);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid rgba(247,235,55,0.18);
    flex-shrink: 0;
  }
  .testimonial-meta { display: flex; flex-direction: column; gap: 2px; }
  .testimonial-meta .name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--white);
    letter-spacing: -0.005em;
  }
  .testimonial-meta .role {
    font-size: 12.5px;
    color: rgba(245,245,240,0.55);
  }
  @media (max-width: 1000px) {
    .testimonials { padding: 90px 0; }
    .testimonials-grid { grid-template-columns: 1fr; gap: 18px; }
    .testimonial { padding: 24px 22px 22px; }
  }

  /* ============================================================
     FAQ
     ============================================================ */
  .faq {
    position: relative;
    background: var(--black);
    padding: 160px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
  }
  .faq-head { margin: 0 auto 60px; max-width: 720px; text-align: center; }
  .faq-head .section-label::before { display: none; }
  .faq-head .section-label { gap: 0; }
  .faq-head .section-title { margin: 0 auto; }
  .faq-grid { max-width: 880px; margin: 0 auto; }
  .faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: border-color .3s;
  }
  .faq-item:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
  .faq-item.is-open { border-bottom-color: rgba(247,235,55,0.3); }
  .faq-q {
    width: 100%;
    text-align: left;
    padding: 26px 56px 26px 0;
    background: none;
    border: none;
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    letter-spacing: -0.01em;
    line-height: 1.3;
    cursor: pointer;
    position: relative;
    transition: color .25s;
  }
  .faq-q:hover { color: var(--yellow); }
  .faq-q::after {
    content: '';
    position: absolute;
    right: 6px;
    top: 50%;
    width: 14px; height: 14px;
    background:
      linear-gradient(to right, var(--yellow), var(--yellow)) no-repeat center / 14px 1.5px,
      linear-gradient(to right, var(--yellow), var(--yellow)) no-repeat center / 1.5px 14px;
    transform: translateY(-50%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
  }
  .faq-item.is-open .faq-q::after {
    background:
      linear-gradient(to right, var(--yellow), var(--yellow)) no-repeat center / 14px 1.5px;
    transform: translateY(-50%) rotate(180deg);
  }
  .faq-a {
    overflow: hidden;
    max-height: 0;
    transition: max-height .45s cubic-bezier(.4,0,.2,1);
  }
  .faq-item.is-open .faq-a { max-height: 600px; }
  .faq-a-inner {
    padding: 0 0 28px 0;
    font-size: 15.5px;
    line-height: 1.7;
    color: rgba(245,245,240,0.7);
    max-width: 68ch;
  }
  .faq-a-inner p { margin-bottom: 12px; }
  .faq-a-inner p:last-child { margin-bottom: 0; }
  @media (max-width: 700px) {
    .faq { padding: 90px 0; }
    .faq-q { padding: 22px 48px 22px 0; }
  }

  /* PRELOADER retiré (demande client : pas d'écran de chargement) */

  /* ----------- Ambient drifting marks ----------- */
  .ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
  }
  .ambient-shape {
    position: absolute;
    will-change: transform, opacity;
  }
  .ambient.dark .ambient-shape   { --col: 247, 235, 55; --col2: 255, 255, 255; }
  .ambient.blue .ambient-shape   { --col: 247, 235, 55; --col2: 255, 255, 255; }
  .ambient-shape.diamond {
    width: 12px; height: 12px;
    background: rgba(var(--col), 0.22);
    animation: amDiamondDrift ease-in-out infinite;
  }
  .ambient-shape.diamond-outline {
    width: 16px; height: 16px;
    border: 1px solid rgba(var(--col), 0.28);
    animation: amDiamondDrift ease-in-out infinite;
  }
  .ambient-shape.dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(var(--col), 0.35);
    animation: amDotDrift ease-in-out infinite;
  }
  .ambient-shape.dot-white {
    width: 3px; height: 3px;
    border-radius: 50%;
    background: rgba(var(--col2), 0.25);
    animation: amDotDrift ease-in-out infinite;
  }
  .ambient-shape.ring {
    width: 28px; height: 28px;
    border: 1px solid rgba(var(--col2), 0.10);
    border-radius: 50%;
    animation: amRingDrift ease-in-out infinite;
  }
  .ambient-shape.ring-yellow {
    width: 22px; height: 22px;
    border: 1px solid rgba(var(--col), 0.20);
    border-radius: 50%;
    animation: amRingDrift ease-in-out infinite;
  }
  .ambient-shape.dash {
    width: 24px; height: 1px;
    background: rgba(var(--col), 0.30);
    animation: amDashDrift ease-in-out infinite;
  }
  .ambient-shape.plus {
    width: 14px; height: 14px;
    animation: amPlusDrift ease-in-out infinite;
  }
  .ambient-shape.plus::before,
  .ambient-shape.plus::after {
    content: '';
    position: absolute;
    background: rgba(var(--col), 0.4);
  }
  .ambient-shape.plus::before {
    top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%);
  }
  .ambient-shape.plus::after {
    left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%);
  }
  @keyframes amDiamondDrift {
    0%, 100% { transform: translate(0, 0) rotate(45deg); opacity: 0.4; }
    50%      { transform: translate(-14px, -34px) rotate(225deg); opacity: 0.85; }
  }
  @keyframes amDotDrift {
    0%, 100% { transform: translate(0, 0); opacity: 0.4; }
    50%      { transform: translate(12px, -28px); opacity: 1; }
  }
  @keyframes amRingDrift {
    0%, 100% { transform: translate(0, 0) rotate(0); opacity: 0.5; }
    50%      { transform: translate(-8px, -22px) rotate(180deg); opacity: 0.9; }
  }
  @keyframes amDashDrift {
    0%, 100% { transform: translate(0, 0) rotate(var(--r, 0deg)); opacity: 0.35; }
    50%      { transform: translate(16px, -18px) rotate(calc(var(--r, 0deg) + 25deg)); opacity: 0.8; }
  }
  @keyframes amPlusDrift {
    0%, 100% { transform: translate(0, 0) rotate(0); opacity: 0.45; }
    50%      { transform: translate(-10px, -26px) rotate(90deg); opacity: 0.9; }
  }
  @media (prefers-reduced-motion: reduce) {
    .ambient-shape { animation: none !important; opacity: 0.5 !important; }
  }

  /* ----------- Contact modal ----------- */
  .modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 18, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility 0s linear .35s;
  }
  .modal-backdrop.is-open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transition: opacity .4s ease, visibility 0s linear 0s;
  }
  .modal {
    position: relative;
    width: min(620px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: #0f0f1a;
    border: 1px solid rgba(247, 235, 55, 0.18);
    border-radius: 28px;
    padding: 44px 40px 36px;
    color: var(--white);
    box-shadow: 0 40px 120px -20px rgba(15, 24, 222, 0.35), 0 0 0 1px rgba(255,255,255,0.04);
    transform: translateY(40px) scale(0.96);
    opacity: 0;
    transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity .4s ease;
  }
  .modal-backdrop.is-open .modal {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  .modal::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(600px circle at 100% 0%, rgba(15, 24, 222, 0.35), transparent 50%),
      radial-gradient(500px circle at 0% 100%, rgba(247, 235, 55, 0.08), transparent 50%);
    pointer-events: none;
    opacity: 0.9;
  }
  .modal-backdrop.is-open .modal-extra {
    /* placeholder */
  }
  .modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: background .25s, border-color .25s, transform .25s;
    z-index: 2;
  }
  .modal-close:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
    transform: rotate(90deg);
  }
  .modal-head {
    position: relative;
    z-index: 1;
    margin-bottom: 28px;
  }
  .modal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--yellow);
    margin-bottom: 16px;
  }
  .modal-eyebrow::before {
    display: none;
  }
  .modal-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    line-height: 1.0;
    letter-spacing: -0.025em;
    color: var(--white);
  }
  .modal-title .dot { color: var(--yellow); }
  .modal-sub {
    margin-top: 12px;
    font-size: 14px;
    color: rgba(245,245,240,0.6);
    max-width: 460px;
  }
  .modal-form {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 16px;
  }
  .field { position: relative; }
  .field-label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 500;
    color: rgba(245,245,240,0.55);
    margin-bottom: 8px;
  }
  .field-input,
  .field-textarea {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 16px 18px;
    color: var(--white);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    transition: border-color .25s, background .25s, box-shadow .25s;
    cursor: text;
    outline: none;
    resize: none;
  }
  .field-textarea { min-height: 140px; }
  .field-input:focus,
  .field-textarea:focus {
    border-color: var(--yellow);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 0 0 4px rgba(247, 235, 55, 0.08);
  }
  .field-input::placeholder,
  .field-textarea::placeholder {
    color: rgba(245,245,240,0.55);
  }
  .modal-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
  }
  .modal-actions .hint {
    font-size: 12px;
    color: rgba(245,245,240,0.45);
    letter-spacing: 0.04em;
  }
  .modal-actions .hint a {
    color: var(--yellow);
    border-bottom: 1px dashed rgba(247,235,55,0.4);
  }
  .modal-send {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 26px;
    background: var(--yellow);
    color: var(--black);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
    cursor: pointer;
    border: none;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), background .25s;
    position: relative;
    overflow: hidden;
  }
  .modal-send:hover { background: #ffffff; }
  .modal-send .arrow { transition: transform .3s; }
  .modal-send:hover .arrow { transform: translateX(4px); }
  .modal-send:disabled { opacity: 0.55; pointer-events: none; }
  .modal-success {
    position: absolute;
    inset: 0;
    background: var(--yellow);
    color: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
    z-index: 3;
    border-radius: 28px;
  }
  .modal-success.is-on { opacity: 1; pointer-events: auto; }
  .modal-success h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    letter-spacing: -0.025em;
    line-height: 1;
  }
  .modal-success p { font-size: 15px; max-width: 360px; color: rgba(10,10,18,0.75); }
  .modal-success .check {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--black);
    color: var(--yellow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  @media (max-width: 700px) {
    .modal { padding: 36px 24px 28px; border-radius: 22px; }
  }

  /* ----------- Modale réalisation (cas client) ----------- */
  .case-modal {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
    width: min(940px, 100%);
    padding: 0;
  }
  .case-modal .modal-close {
    background: rgba(10,10,18,0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .case-modal-gallery {
    position: relative;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 12px;
    padding: 14px;
    background: #0b0b14;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .case-modal-shot {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    background: #0b0b14;
    box-shadow: 0 24px 50px -26px rgba(0,0,0,0.85);
  }
  .case-modal-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
  }
  .case-modal-body {
    position: relative;
    z-index: 1;
    padding: 34px 40px 38px;
  }
  .case-modal-titlerow {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 14px;
  }
  .case-modal-cat {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--yellow);
    font-weight: 500;
    padding: 5px 12px;
    border: 1px solid rgba(247,235,55,0.35);
    border-radius: 999px;
  }
  .case-modal-lead {
    margin-top: 20px;
    font-size: 15.5px;
    line-height: 1.7;
    color: rgba(245,245,240,0.72);
    max-width: 66ch;
  }
  .case-modal-mission {
    margin-top: 26px;
    padding: 22px 24px;
    background: rgba(15,24,222,0.16);
    border: 1px solid rgba(15,24,222,0.45);
    border-radius: 16px;
  }
  .case-modal-mission-label {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--yellow);
    font-weight: 600;
    margin-bottom: 10px;
  }
  .case-modal-mission h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 10px;
  }
  .case-modal-mission p {
    font-size: 14.5px;
    line-height: 1.65;
    color: rgba(245,245,240,0.74);
  }
  .case-modal-tags {
    list-style: none;
    margin: 24px 0 30px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
  }
  .case-modal-tags li {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    letter-spacing: 0.02em;
    color: rgba(245,245,240,0.82);
    padding: 8px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
  }
  .case-modal-visit { align-self: flex-start; }
  @media (max-width: 720px) {
    .case-modal-gallery { grid-template-columns: 1fr; }
    .case-modal-body { padding: 28px 22px 32px; }
    .case-modal-visit { width: 100%; justify-content: center; }
  }

  /* ----------- Zoom button on case screens (desktop only) ----------- */
  .case-zoom {
    position: absolute;
    top: 9px;
    right: 9px;
    z-index: 4;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: rgba(10,10,18,0.55);
    border: 1px solid rgba(255,255,255,0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity .3s ease, transform .3s cubic-bezier(.2,.8,.2,1), background .25s, color .25s, border-color .25s;
  }
  @media (min-width: 1001px) and (hover: hover) {
    .case-zoom { display: inline-flex; }
    .case-card:hover .case-zoom { opacity: 1; transform: scale(1); }
    .case-zoom:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
    .case-zoom:focus-visible { opacity: 1; transform: scale(1); outline: 2px solid var(--yellow); outline-offset: 2px; }
  }

  /* ----------- Lightbox ----------- */
  .lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6vh 6vw;
    background: rgba(6,6,12,0.92);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .38s ease, visibility 0s linear .38s;
  }
  .lightbox.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity .38s ease;
  }
  .lightbox-fig {
    margin: 0;
    max-width: min(1240px, 88vw);
    max-height: 88vh;
    transform: scale(0.92);
    opacity: 0.4;
    transition: transform .42s cubic-bezier(.2,.8,.2,1), opacity .42s ease;
  }
  .lightbox.is-open .lightbox-fig { transform: scale(1); opacity: 1; }
  .lightbox-fig img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 50px 130px -24px rgba(0,0,0,0.85);
  }
  .lightbox-close {
    position: absolute;
    top: 26px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    cursor: pointer;
    transition: background .25s, border-color .25s, color .25s, transform .25s;
  }
  .lightbox-close:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
    transform: rotate(90deg);
  }

  /* ----------- Reduced motion ----------- */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important;
    }
  }

  /* ----------- Skip to content (a11y) ----------- */
  .skip-to-content {
    position: absolute;
    top: -200px;
    left: 16px;
    background: var(--yellow);
    color: var(--black);
    padding: 12px 24px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    z-index: 9999;
    text-decoration: none;
    transition: top 0.2s ease;
  }
  .skip-to-content:focus {
    top: 16px;
    outline: 3px solid var(--blue);
    outline-offset: 2px;
  }

  /* ----------- Nav link Audit gratuit (avec badge Nouveau) ----------- */
  .nav-link-scan {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--yellow) !important;
    text-decoration: none;
    transition: opacity 0.2s ease;
  }
  .nav-link-scan:hover {
    opacity: 0.78;
  }
  @keyframes navScanPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.8); }
  }
  .nav-badge {
    display: inline-block;
    padding: 2px 7px;
    margin-left: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--black);
    background: var(--yellow);
    border-radius: 999px;
    line-height: 1.2;
  }

  /* ----------- Hero promo (encart audit gratuit) ----------- */
  .hero-promo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    margin-bottom: 28px;
    background: rgba(245, 245, 240, 0.04);
    border: 1px solid rgba(245, 245, 240, 0.12);
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(245, 245, 240, 0.92);
    letter-spacing: 0.005em;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    width: fit-content;
    max-width: 100%;
    position: relative;
    z-index: 5;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .hero-promo:hover {
    background: rgba(245, 245, 240, 0.07);
    border-color: rgba(247, 235, 55, 0.5);
    transform: translateY(-1px);
  }
  .hero-promo-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--yellow);
    flex-shrink: 0;
    animation: heroPromoDotPulse 2.4s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(247, 235, 55, 0.6);
  }
  @keyframes heroPromoDotPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(247, 235, 55, 0.55); opacity: 1; }
    50%      { box-shadow: 0 0 0 6px rgba(247, 235, 55, 0); opacity: 0.7; }
  }
  .hero-promo-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .hero-promo-arrow {
    color: var(--yellow);
    transition: transform 0.25s ease;
    flex-shrink: 0;
  }
  .hero-promo:hover .hero-promo-arrow {
    transform: translateX(3px);
  }
  @media (max-width: 700px) {
    .hero-promo {
      font-size: 12.5px;
      padding: 8px 14px;
      gap: 9px;
      margin-bottom: 20px;
      flex-wrap: nowrap;
    }
    .hero-promo-text {
      white-space: normal;
      line-height: 1.35;
    }
  }

  /* ----------- Mobile menu : lien Audit gratuit avec badge ----------- */
  .mobile-menu-link-scan {
    color: var(--yellow) !important;
    position: relative;
  }
  /* Pas de pseudo-element devant : on garde l'alignement avec les autres
     entrees du menu. La couleur jaune + le badge "Nouveau" suffisent. */
  .mobile-menu-badge {
    display: inline-block;
    padding: 3px 9px;
    margin-left: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--black);
    background: var(--yellow);
    border-radius: 999px;
    line-height: 1.2;
    vertical-align: middle;
  }

/* WCAG : visuellement masque, accessible aux lecteurs d'ecran */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

.service-card-link{display:inline-flex;align-items:center;gap:6px;margin-top:18px;padding:8px 14px;border-radius:999px;background:rgba(247,235,55,0.12);color:var(--yellow);font-family:'Space Grotesk',sans-serif;font-size:13px;font-weight:600;letter-spacing:0.02em;text-decoration:none;transition:background .25s,transform .25s;border:1px solid rgba(247,235,55,0.25)}
.service-card-link:hover{background:rgba(247,235,55,0.22);transform:translateX(4px)}

/* PRINT - impression papier propre */
@media print {
  @page { margin: 1.5cm; }
  *, *::before, *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }
  html, body { background: #fff !important; color: #000 !important; font-size: 11pt; line-height: 1.45; }
  .nav, .mobile-menu, .nav-burger, .hero-canvas, .hero-owl, .hero-grid,
  .narrative, .ambient, canvas, .skip-to-content, .cta-final-bg,
  iframe, video { display: none !important; }
  .hero { height: auto !important; min-height: 0 !important; padding: 0 0 1cm 0 !important; }
  h1.hero-title { font-size: 24pt !important; line-height: 1.1 !important; color: #000 !important; max-width: 100% !important; }
  h1.hero-title .word > span { transform: none !important; opacity: 1 !important; }
  .hero-eyebrow, .hero-sub { opacity: 1 !important; transform: none !important; }
  a[href]:not([href^="#"]):not([href^="javascript"])::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555 !important;
    word-break: break-all;
  }
  a[href^="/"]::after { content: " (https://kliqweb.fr" attr(href) ")"; }
  .cta-final { background: #fff !important; padding: 1cm 0 !important; }
  .cta-final h2 { font-size: 22pt !important; color: #000 !important; }
  section { page-break-inside: avoid; break-inside: avoid; }
  h1, h2, h3 { page-break-after: avoid; break-after: avoid; widows: 3; orphans: 3; }
  img, svg, table { max-width: 100% !important; page-break-inside: avoid; }
}

/* Mobile defaults : img responsive + tap-delay neutralise */
img, picture, video, svg { max-width: 100%; height: auto; }
a, button, [role="button"], .cta, .btn-yellow, .scan-mode { touch-action: manipulation; }

/* Footer NAP - adresse + horaires */
.footer-nap, .page-footer-nap { font-style: normal; line-height: 1.5; color: rgba(245,245,240,0.6); font-size: 13px; margin-top: 4px; }
.footer-hours, .page-footer-hours { display: inline-block; margin-top: 4px; color: rgba(245,245,240,0.5); font-size: 12px; }

/* ============================================================
   MOBILE FALLBACKS - anti-sections-invisibles
   Three.js n'est pas chargé sur mobile (gain 600 KB). La section
   narrative dépend de Three.js pour révéler ses 3 étapes texte
   (opacité 0 par défaut). Sans ce bloc, 240vh de vide sur mobile.
   On force aussi visibilité de tous les éléments animés au cas où
   GSAP/ScrollTrigger raterait son déclenchement.
   ============================================================ */
@media (max-width: 768px) {
  /* Section narrative : devient un stack vertical statique sur mobile */
  .narrative {
    height: auto !important;
    padding: 100px 0 80px;
  }
  .narrative-sticky {
    position: static !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column;
    gap: 80px;
    padding: 0 22px;
    overflow: visible;
  }
  .narrative-canvas { display: none !important; }
  .narrative-text-wrap {
    position: static !important;
    display: flex;
    flex-direction: column;
    gap: 80px;
    width: 100%;
    height: auto !important;
    pointer-events: auto;
  }
  .narrative-step {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    opacity: 1 !important;
    transform: none !important;
    max-width: 100% !important;
    width: 100%;
  }
  .narrative-step h2 {
    font-size: clamp(2rem, 8vw, 2.9rem) !important;
    line-height: 1.05 !important;
  }
  .narrative-step p {
    /* On retire l'effet "verre dépoli" inutile en mode statique */
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-top: 18px !important;
    color: rgba(245,245,240,0.72) !important;
  }
  .narrative-progress { display: none !important; }

  /* Fallback visibilité : tous les éléments animés par GSAP/ScrollTrigger
     deviennent visibles immédiatement sur mobile. Les animations GSAP
     prennent encore le dessus si elles tournent (gsap.to override le CSS),
     mais si quelque chose rate, rien ne reste caché. On cible aussi
     explicitement les conteneurs internes (service-card, case-card, stat,
     process-step, faq-item, testimonial) car certaines props initiales sont
     posées par gsap.set en JS et seraient invisibles si le script rate. */
  .reveal,
  .hero-eyebrow,
  .hero-sub,
  .hero-promo,
  .hero-owl,
  .service-card,
  .case-card,
  .stat,
  .process-step,
  .process-step .num,
  .process-step h3,
  .process-step p,
  .faq-item,
  .testimonial,
  .footer-top > * {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-title .word > span,
  .section-title .word-inner,
  .cta-final h2 .word-inner {
    transform: none !important;
    opacity: 1 !important;
  }
}
