/* ==================================================================
   InnoVisuel — DA "Flyer de nuit" : sombre premium × affiche marketing
   Fusion validée : palette/matière du style C + énergie pub du style B
   ------------------------------------------------------------------
   @layer reset, tokens, base, layout, components, utilities, motion
   ================================================================== */

@layer reset, tokens, base, layout, components, utilities, motion;

/* ================================ RESET ========================= */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }
  img, svg, video { display: block; max-width: 100%; height: auto; }
  input, button, textarea, select { font: inherit; }
  h1, h2, h3, h4 { overflow-wrap: break-word; }
}

/* ================================ TOKENS ======================== */
@layer tokens {
  :root {
    /* ---- Couleurs brutes ---- */
    --raw-nuit:   oklch(17% 0.025 130);   /* ≈ #101408 fond vert-noir */
    --raw-nuit2:  oklch(21% 0.03 130);    /* ≈ #161B0E cartes */
    --raw-ligne:  oklch(30% 0.04 130);    /* ≈ #2A3120 traits */
    --raw-blanc:  oklch(95% 0.012 100);   /* ≈ #F3F1E8 */
    --raw-vert:   oklch(66% 0.09 135);    /* ≈ #7FA05C vert clair */
    --raw-cuivre: oklch(72% 0.11 55);     /* ≈ #E0955A cuivre lumineux */
    --raw-cuivre2:oklch(82% 0.09 70);     /* ≈ #F2C08A cuivre clair */
    --raw-jaune:  oklch(81% 0.13 85);     /* ≈ #F0B93B jaune pub */

    /* ---- Rôles sémantiques ---- */
    --surface:        var(--raw-nuit);
    --surface-2:      var(--raw-nuit2);
    --surface-brand:  oklch(24% 0.045 135);
    --surface-ink:    oklch(13% 0.02 130);
    --ink:            var(--raw-blanc);
    --ink-2:          color-mix(in oklab, var(--raw-blanc) 66%, var(--raw-nuit));
    --ink-inverse:    var(--raw-nuit);
    --brand:          var(--raw-vert);
    --accent:         var(--raw-cuivre);
    --accent-2:       var(--raw-cuivre2);
    --accent-ink:     var(--raw-cuivre);
    --vivid:          var(--raw-jaune);
    --line:           var(--raw-ligne);
    --line-soft:      color-mix(in oklab, var(--raw-ligne) 60%, var(--raw-nuit));
    --etat-erreur:    oklch(62% 0.19 25);
    --etat-ok:        oklch(66% 0.12 150);
  }
  @supports not (color: oklch(50% 0.1 100)) {
    :root {
      --surface:#101408; --surface-2:#161B0E; --surface-brand:#1C2711;
      --surface-ink:#0B0E05; --ink:#F3F1E8; --ink-2:#A8AB99; --ink-inverse:#101408;
      --brand:#7FA05C; --accent:#E0955A; --accent-2:#F2C08A; --accent-ink:#E0955A;
      --vivid:#F0B93B; --line:#2A3120; --line-soft:#1C2114;
      --etat-erreur:#E4604F; --etat-ok:#63B07E;
    }
  }

  :root {
    /* ---- Typographie : affiche publicitaire ---- */
    --f-display: 'Archivo Black', 'Archivo', system-ui, sans-serif;
    --f-texte:   'Archivo', system-ui, sans-serif;
    --f-mono:    'Archivo', system-ui, sans-serif;

    --t-display: clamp(2.1rem, 6.3vw, 5.4rem);
    --t-h2:      clamp(1.7rem, 4.6vw, 3.4rem);
    --t-h3:      clamp(1.15rem, 2.2vw, 1.45rem);
    --t-body:    1.04rem;
    --t-meta:    .78rem;

    /* ---- Rythme ---- */
    --wrap: 1280px;
    --gout: clamp(1rem, 4vw, 3rem);
    --sect: clamp(3.8rem, 10vw, 8rem);
    --col-gap: clamp(.8rem, 2vw, 1.5rem);
    --r: 14px;
    --r-pill: 99px;

    /* ---- Mouvement ---- */
    --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
    --ease-smooth:   cubic-bezier(.45, 0, .15, 1);
    --dur-fast: .3s;
    --dur-med:  .6s;
    --dur-slow: 1s;

    /* ---- Effets lumineux ---- */
    --glow-cuivre: 0 0 60px color-mix(in oklab, var(--accent) 35%, transparent);
    --grad-cuivre: linear-gradient(100deg, var(--accent), var(--accent-2));
  }
}

/* ================================ BASE ========================== */
@layer base {
  html { scroll-behavior: smooth; }
  body {
    background: var(--surface);
    color: var(--ink);
    font-family: var(--f-texte);
    font-size: var(--t-body);
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
  }
  ::selection { background: var(--vivid); color: var(--ink-inverse); }

  h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1;
    letter-spacing: -.015em; text-transform: uppercase; }
  h1 { font-size: var(--t-display); }
  h2 { font-size: var(--t-h2); line-height: 1.04; }
  h3 { font-size: var(--t-h3); line-height: 1.15; }

  a { color: var(--accent); text-underline-offset: .18em; }
  a:hover { color: var(--accent-2); }
  :focus-visible { outline: 3px solid var(--vivid); outline-offset: 3px; border-radius: 4px; }

  /* Mot en dégradé cuivre : signature du style */
  .braise { background: var(--grad-cuivre); -webkit-background-clip: text;
    background-clip: text; color: transparent; }
  /* Mot en contour : héritage affiche */
  .contour { color: transparent; -webkit-text-stroke: 2.5px var(--vivid); }
  @supports not (-webkit-text-stroke: 1px black) { .contour { color: var(--vivid); } }

  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .skip-link { position: absolute; left: -999px; top: 0; background: var(--vivid);
    color: var(--ink-inverse); padding: .6rem 1rem; z-index: 200; font-weight: 700; }
  .skip-link:focus { left: 0; }
}

/* ================================ LAYOUT ======================== */
@layer layout {
  .wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gout); }
  .section { padding-block: var(--sect); position: relative; }
  .section-alt { background: var(--surface-2); }
  .section-encre { background: var(--surface-ink); }
  .section-brand { background: var(--surface-brand); }
  .section-defer { content-visibility: auto; contain-intrinsic-size: auto 720px; }

  .grille { display: grid; gap: var(--col-gap); }
  .grille-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
  .grille-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }

  .sec-tete { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
    gap: 1rem 2rem; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
  .sec-tete h2 { max-width: 15em; }

  /* Halo lumineux décoratif */
  .halo { position: absolute; width: 56vw; height: 56vw; max-width: 780px; max-height: 780px;
    border-radius: 50%; pointer-events: none; z-index: 0;
    background: radial-gradient(circle, color-mix(in oklab, var(--brand) 15%, transparent) 0%, transparent 65%); }
}

/* ================================ COMPONENTS ==================== */
@layer components {

  /* ---------- Repères & étiquettes ---------- */
  .repere { font-size: var(--t-meta); letter-spacing: .24em; text-transform: uppercase;
    font-weight: 700; color: var(--brand); display: inline-flex; align-items: center;
    gap: .7rem; margin-bottom: 1.2rem; }
  .repere::before { content: ""; width: 2rem; height: 2px; background: var(--brand); }
  .etiquette { font-size: var(--t-meta); letter-spacing: .1em; text-transform: uppercase;
    font-weight: 700; border: 1.5px solid var(--line); border-radius: var(--r-pill);
    padding: .35rem .85rem; display: inline-block; color: var(--ink-2); text-decoration: none;
    transition: border-color var(--dur-fast), color var(--dur-fast); }
  a.etiquette:hover { border-color: var(--accent); color: var(--accent); }
  .lead { font-size: clamp(1.08rem, 1.8vw, 1.25rem); line-height: 1.55; color: var(--ink-2);
    max-width: 38em; }

  .note-confirmer { font-size: .88rem; background: color-mix(in oklab, var(--vivid) 12%, var(--surface-2));
    border: 1.5px dashed color-mix(in oklab, var(--vivid) 55%, transparent);
    border-radius: 10px; padding: .8rem 1.1rem; max-width: 46em; }

  /* Tampon pub : autocollant jaune penché (énergie du style B) */
  .tampon { font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
    background: var(--vivid); color: var(--ink-inverse); padding: .45rem .9rem;
    display: inline-block; transform: rotate(-2.5deg); border-radius: 4px;
    box-shadow: 4px 4px 0 rgba(0,0,0,.45); }

  .planche-coins { position: relative; }
  .planche-coins::before, .planche-coins::after { content: ""; position: absolute;
    width: 22px; height: 22px; border: solid var(--line); }
  .planche-coins::before { top: 0; left: 0; border-width: 2px 0 0 2px; }
  .planche-coins::after { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
  .coupe { display: none; }

  /* ---------- En-tête ---------- */
  .site-header { position: sticky; top: 0; z-index: 90; background: transparent;
    transition: background var(--dur-fast) var(--ease-smooth), box-shadow var(--dur-fast); }
  .site-header.scrolled { background: color-mix(in oklab, var(--surface) 82%, transparent);
    box-shadow: 0 1px 0 var(--line); }
  /* Le flou est porté par un pseudo-élément, PAS par .site-header : appliqué sur l'en-tête,
     backdrop-filter en ferait le bloc conteneur du menu mobile (position:fixed) et l'overlay
     cesserait de couvrir le viewport dès qu'on scrolle (header en .scrolled). Le pseudo n'est
     pas un ancêtre du menu → aucun effet de bord sur son positionnement. */
  @supports (backdrop-filter: blur(4px)) {
    .site-header::before { content: ""; position: absolute; inset: 0; z-index: -1;
      opacity: 0; transition: opacity var(--dur-fast) var(--ease-smooth); }
    .site-header.scrolled::before { opacity: 1; backdrop-filter: blur(10px); }
  }
  .header-inner { display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem; padding-block: .95rem; }
  .brand { display: flex; align-items: baseline; gap: .4rem; text-decoration: none; color: var(--ink); }
  .brand-word { font-family: var(--f-display); font-size: 1.25rem; text-transform: uppercase;
    letter-spacing: -.01em; }
  .brand-word em { font-style: normal; color: var(--accent); }
  .brand-dot { width: .45rem; height: .45rem; border-radius: 50%; background: var(--vivid);
    align-self: center; margin-top: .2rem; }

  .main-nav ul { list-style: none; display: flex; align-items: center;
    gap: clamp(.6rem, 1.6vw, 1.7rem); margin: 0; padding: 0; }
  .main-nav a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .93rem;
    text-transform: uppercase; letter-spacing: .05em; transition: color var(--dur-fast); }
  .main-nav a:hover { color: var(--ink); }
  .main-nav a[aria-current] { color: var(--accent); }
  .nav-num { display: none; }
  .nav-cta .btn { padding-block: .6rem; }

  /* Desktop : le toggle n'existe pas pour l'AT (nav visible en permanence). */
  .nav-toggle { display: none; }
  .nav-burger { display: none; }

  @media (max-width: 960px) {
    /* Mobile : le toggle redevient perceptible et focusable par l'AT (mais invisible à l'œil,
       motif "sr-only"), pour qu'un lecteur d'écran puisse ouvrir la navigation. Le clic passe
       par le label .nav-burger ; le clavier/AT actionne cette case à cocher. */
    .nav-toggle { display: block; position: absolute; width: 1px; height: 1px; margin: -1px;
      padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
    .nav-burger { display: grid; place-items: center; gap: 5px; width: 46px; height: 46px;
      cursor: pointer; border: 1.5px solid var(--line); border-radius: 10px;
      background: var(--surface-2); position: relative; z-index: 120; }
    .nav-burger span:not(.sr-only) { width: 20px; height: 2px; background: var(--ink);
      transition: transform var(--dur-fast) var(--ease-smooth), opacity var(--dur-fast); }
    .nav-toggle:checked ~ .nav-burger { background: var(--vivid); border-color: var(--vivid); }
    .nav-toggle:checked ~ .nav-burger span:not(.sr-only) { background: var(--ink-inverse); }
    .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
    .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav-toggle:focus-visible ~ .nav-burger { outline: 3px solid var(--vivid); outline-offset: 3px; }

    .main-nav { position: fixed; inset: 0; z-index: 110; background: var(--surface-ink);
      display: grid; align-content: center; padding: var(--gout); overflow-y: auto;
      transform: translateY(-102%); visibility: hidden;
      transition: transform var(--dur-med) var(--ease-out-expo), visibility 0s var(--dur-med); }
    /* Menu ouvert : on fige le défilement de la page derrière l'overlay. */
    html:has(.nav-toggle:checked), html:has(.nav-toggle:checked) body { overflow: hidden; }
    .nav-toggle:checked ~ .main-nav { transform: none; visibility: visible; transition-delay: 0s; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav li { border-bottom: 1px solid var(--line); }
    .main-nav li:first-child { border-top: 1px solid var(--line); }
    .main-nav a { display: flex; align-items: baseline; gap: 1rem; padding: 1.05rem .2rem;
      color: var(--ink); font-family: var(--f-display);
      font-size: clamp(1.4rem, 6vw, 2rem); }
    .main-nav a:hover, .main-nav a[aria-current] { color: var(--vivid); }
    .nav-num { display: inline; font-size: .78rem; font-weight: 700; color: var(--accent);
      font-family: var(--f-texte); }
    .nav-cta { border: 0 !important; margin-top: 1.6rem; }
    .nav-cta .btn { width: 100%; text-align: center; }
  }

  /* ---------- Boutons : pilule cuivre, libellés affiche ---------- */
  .btn { display: inline-block; padding: .85rem 1.7rem; border-radius: var(--r-pill);
    border: 1.5px solid var(--accent); background: var(--accent); color: var(--ink-inverse);
    font-weight: 700; font-size: .92rem; text-transform: uppercase; letter-spacing: .05em;
    text-decoration: none; cursor: pointer;
    transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast),
                transform var(--dur-fast) var(--ease-out-expo), box-shadow var(--dur-fast); }
  .btn:hover, .btn:focus-visible { background: var(--accent-2); border-color: var(--accent-2);
    color: var(--ink-inverse); transform: translateY(-2px); box-shadow: var(--glow-cuivre); }
  .btn-primaire { background: var(--vivid); border-color: var(--vivid); }
  .btn-primaire:hover, .btn-primaire:focus-visible { background: color-mix(in oklab, var(--vivid) 82%, white);
    border-color: transparent; box-shadow: 0 0 50px color-mix(in oklab, var(--vivid) 40%, transparent); }
  .btn-clair, .btn-vif { background: transparent; border-color: var(--line); color: var(--ink); }
  .btn-clair:hover, .btn-clair:focus-visible, .btn-vif:hover, .btn-vif:focus-visible {
    background: transparent; border-color: var(--accent); color: var(--accent); box-shadow: none; }

  /* ---------- Fil d'Ariane ---------- */
  .crumbs { padding-top: 1.2rem; position: relative; z-index: 2; }
  .crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0;
    font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
  .crumbs li:not(:last-child)::after { content: "/"; margin-left: .5rem; color: var(--ink-2); }
  .crumbs a { color: var(--ink-2); text-decoration: none; }
  .crumbs a:hover { color: var(--accent); }

  /* ---------- HÉROS ---------- */
  .hero { position: relative; overflow: clip; padding-block: clamp(2rem, 6vh, 4.5rem) clamp(3rem, 8vh, 6rem);
    min-height: min(calc(92vh - 76px), 860px); display: grid; align-content: center; }
  .hero .halo { top: -22%; right: -14%; }
  .hero-compo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--col-gap); align-items: center; position: relative; z-index: 1; }
  .hero-texte { grid-column: 1 / 9; position: relative; z-index: 2; }
  .hero h1 { margin-bottom: 1.5rem; overflow-wrap: normal; hyphens: none; }
  .hero .lead { margin-bottom: 2.1rem; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: center; }
  .hero-wa { font-weight: 700; }

  .hero-collage { grid-column: 9 / 13; position: relative; z-index: 1; min-height: 400px; }
  .collage-piece { position: absolute; border: 1.5px solid var(--line); border-radius: var(--r);
    background: var(--surface-2); overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
  .collage-piece img { width: 100%; height: 100%; object-fit: cover; }
  .cp-1 { width: 62%; aspect-ratio: 4 / 5; top: 0; right: 6%; z-index: 2; }
  .cp-2 { width: 46%; aspect-ratio: 1; bottom: 4%; left: 0; z-index: 3; }
  .cp-3 { width: 38%; aspect-ratio: 4 / 3; bottom: 18%; right: -6%; z-index: 1; }
  .collage-legende { position: absolute; z-index: 4; left: 0; top: 8%; font-size: .72rem;
    letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
    writing-mode: vertical-rl; transform: rotate(180deg); color: var(--ink-2); }

  /* Pièces décoratives (aucun projet publié) */
  .deco-vert { background: linear-gradient(140deg, var(--surface-brand), #131A0B);
    display: grid; place-items: center; }
  .deco-vert .deco-v { font-family: var(--f-display); font-size: clamp(4rem, 9vw, 8rem);
    line-height: 1; background: var(--grad-cuivre); -webkit-background-clip: text;
    background-clip: text; color: transparent;
    filter: drop-shadow(0 0 30px color-mix(in oklab, var(--accent) 40%, transparent)); }
  .deco-nuancier { display: grid; grid-template-rows: repeat(4, 1fr); }
  .deco-nuancier i { display: block; }
  .deco-nuancier i:nth-child(1) { background: var(--brand); }
  .deco-nuancier i:nth-child(2) { background: var(--accent); }
  .deco-nuancier i:nth-child(3) { background: var(--vivid); }
  .deco-nuancier i:nth-child(4) { background: var(--surface-ink); }
  .deco-grille { background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 25% 100%,
    var(--surface-2); position: relative; }
  .deco-grille::after { content: "✳"; position: absolute; inset: 0; display: grid;
    place-items: center; font-size: 2rem; color: var(--vivid); }

  .hero-scroll { position: absolute; bottom: 1.6rem; left: var(--gout); font-size: .72rem;
    letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ink-2);
    display: inline-flex; gap: .6rem; align-items: center; z-index: 2; }
  .hero-scroll::after { content: "↓"; color: var(--accent); }

  @media (max-width: 960px) {
    .hero { min-height: 0; }
    .hero-texte { grid-column: 1 / -1; }
    .hero-collage { grid-column: 1 / -1; min-height: 0; margin-top: 2.4rem;
      display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--col-gap); }
    .collage-piece { position: static; width: auto; }
    .cp-1 { aspect-ratio: 4 / 3; grid-row: span 2; }
    .cp-3 { display: none; }
    .collage-legende { display: none; }
    .hero-scroll { display: none; }
  }

  /* ---------- Marquee pub ---------- */
  .marquee { border-block: 1.5px solid var(--line); overflow: hidden; white-space: nowrap;
    padding-block: .85rem; background: var(--surface-ink); }
  .marquee-piste { display: inline-flex; align-items: center; will-change: transform; }
  .marquee span { display: inline-block; padding-inline: 1.3rem; font-family: var(--f-display);
    text-transform: uppercase; font-size: clamp(1.05rem, 2.2vw, 1.55rem); color: var(--ink); }
  .marquee span:nth-child(4n+3) { color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
  .marquee .ast { color: var(--vivid); padding-inline: 0; }
  .marquee .rond { width: .7em; height: .7em; border-radius: 50%; background: var(--brand); padding: 0; }
  .marquee .carre { width: .65em; height: .65em; background: var(--accent); padding: 0;
    border-radius: 3px; rotate: 45deg; }

  /* ---------- Prestations : liste + aperçu sticky ---------- */
  .prestations { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
  .prestations-liste { border-top: 1.5px solid var(--line); }
  .presta { position: relative; display: grid; grid-template-columns: 4.5rem 1fr auto;
    gap: .4rem 1.2rem; align-items: baseline; padding: 1.3rem .8rem 1.3rem .4rem;
    border-bottom: 1.5px solid var(--line); text-decoration: none; color: var(--ink);
    overflow: hidden; isolation: isolate; }
  .presta::before { content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(95deg, color-mix(in oklab, var(--accent) 14%, transparent), transparent 65%);
    opacity: 0; transition: opacity var(--dur-fast); }
  .presta:hover::before, .presta:focus-visible::before, .presta.is-active::before { opacity: 1; }
  .presta-num { font-size: .8rem; font-weight: 700; color: var(--brand); letter-spacing: .08em;
    transition: color var(--dur-fast); }
  .presta-titre { font-family: var(--f-display); text-transform: uppercase;
    font-size: clamp(1.15rem, 2.3vw, 1.7rem); line-height: 1.08;
    transition: color var(--dur-fast), transform .4s var(--ease-out-expo); }
  .presta-cat { grid-column: 3; font-size: .72rem; letter-spacing: .12em; font-weight: 700;
    text-transform: uppercase; color: var(--ink-2); align-self: center; }
  .presta-accroche { grid-column: 2 / 4; font-size: .95rem; color: var(--ink-2); max-width: 40em; }
  .presta:hover .presta-titre, .presta:focus-visible .presta-titre, .presta.is-active .presta-titre {
    color: var(--accent-2); transform: translateX(.5rem); }
  .presta:hover .presta-num, .presta.is-active .presta-num { color: var(--vivid); }

  .presta-apercu { position: sticky; top: 100px; aspect-ratio: 4 / 4.6;
    border: 1.5px solid var(--line); border-radius: var(--r); background: var(--surface-2);
    overflow: hidden; }
  .apercu-scene { position: absolute; inset: 0; display: grid; place-items: center;
    opacity: 0; transition: opacity var(--dur-fast) var(--ease-smooth); }
  .apercu-scene.is-on { opacity: 1; }
  .apercu-num { position: absolute; top: 1rem; left: 1.1rem; font-size: .76rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
  .apercu-mot { font-family: var(--f-display); text-transform: uppercase;
    font-size: clamp(1.8rem, 3.8vw, 3.2rem); line-height: .98; text-align: center;
    padding: 1rem; text-wrap: balance; }
  .apercu-forme { position: absolute; inset: auto 1.1rem 1rem auto; width: 74px; height: 74px; }
  .apercu-scene:nth-child(6n+1) { background: linear-gradient(140deg, var(--surface-brand), #10160A); }
  .apercu-scene:nth-child(6n+1) .apercu-mot { background: var(--grad-cuivre);
    -webkit-background-clip: text; background-clip: text; color: transparent; }
  .apercu-scene:nth-child(6n+2) { background: var(--surface-ink); color: var(--ink); }
  .apercu-scene:nth-child(6n+2) .apercu-mot { color: transparent; -webkit-text-stroke: 2px var(--vivid); }
  .apercu-scene:nth-child(6n+3) { background: var(--accent); color: var(--ink-inverse); }
  .apercu-scene:nth-child(6n+4) { background: var(--surface-2); }
  .apercu-scene:nth-child(6n+4) .apercu-mot { color: var(--brand); }
  .apercu-scene:nth-child(6n+5) { background: var(--vivid); color: var(--ink-inverse); }
  .apercu-scene:nth-child(6n+6) { background: linear-gradient(140deg, #1A2013, var(--surface-ink)); }
  .apercu-scene:nth-child(odd) .apercu-forme { background: var(--vivid);
    clip-path: polygon(50% 0, 100% 100%, 0 100%); opacity: .9; }
  .apercu-scene:nth-child(even) .apercu-forme { background: var(--accent); border-radius: 50%; opacity: .9; }
  .apercu-scene:nth-child(3n) .apercu-forme { background: var(--surface); border-radius: 8px;
    clip-path: none; rotate: 12deg; }

  @media (max-width: 960px) {
    .prestations { grid-template-columns: 1fr; }
    .presta-apercu { display: none; }
    .presta { grid-template-columns: 3rem 1fr; padding-block: 1.05rem; }
    .presta-cat { display: none; }
    .presta-accroche { grid-column: 2; }
  }

  /* ---------- Portfolio éditorial ---------- */
  .porto { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--col-gap); }
  .projet { position: relative; text-decoration: none; color: inherit; overflow: hidden;
    border: 1.5px solid var(--line); border-radius: var(--r); background: var(--surface-2);
    display: block; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
  .projet:hover { border-color: color-mix(in oklab, var(--accent) 55%, var(--line));
    box-shadow: var(--glow-cuivre); }
  .projet img { width: 100%; height: 100%; object-fit: cover;
    transition: transform .8s var(--ease-out-expo); }
  .projet:hover img, .projet:focus-visible img { transform: scale(1.04); }
  .projet-infos { position: absolute; inset: auto 0 0 0; padding: .9rem 1rem;
    background: linear-gradient(transparent, rgba(6, 8, 3, .88) 40%);
    display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
  .projet-infos h3 { font-size: .98rem; }
  .projet-infos p { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em;
    font-weight: 700; color: var(--vivid); white-space: nowrap; }
  .projet-num { position: absolute; top: .8rem; left: .9rem; z-index: 2; font-size: .72rem;
    font-weight: 800; background: var(--vivid); color: var(--ink-inverse);
    padding: .2rem .55rem; border-radius: 4px; transform: rotate(-2deg); }
  .porto .projet { grid-column: span 4; aspect-ratio: 4 / 3; }
  .porto .projet:nth-child(6n+1) { grid-column: span 7; aspect-ratio: 16 / 10; }
  .porto .projet:nth-child(6n+2) { grid-column: span 5; aspect-ratio: 4 / 5; }
  .porto .projet:nth-child(6n+5) { grid-column: span 8; aspect-ratio: 16 / 9; }
  @media (max-width: 800px) {
    .porto .projet, .porto .projet:nth-child(n) { grid-column: span 6; aspect-ratio: 4 / 3; }
    .porto .projet:nth-child(3n+1) { grid-column: span 6; aspect-ratio: 16 / 10; }
    .porto .projet:nth-child(3n+2), .porto .projet:nth-child(3n+3) { grid-column: span 3; aspect-ratio: 4 / 5; }
  }

  .porto-vide { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--col-gap); align-items: stretch; }
  .porto-vide-message { grid-column: 1 / 8; border: 1.5px solid var(--line); border-radius: var(--r);
    background: var(--surface-2); padding: clamp(1.5rem, 4vw, 3rem);
    display: grid; align-content: center; justify-items: start; gap: 1rem; }
  .porto-vide-deco { grid-column: 8 / 13; display: grid; grid-template-columns: 1fr 1fr;
    gap: var(--col-gap); }
  .porto-vide-deco > div { border: 1.5px solid var(--line); border-radius: var(--r);
    min-height: 130px; overflow: hidden; }
  @media (max-width: 800px) { .porto-vide-message, .porto-vide-deco { grid-column: 1 / -1; } }

  /* ---------- Filtres ---------- */
  .filtres { display: flex; flex-wrap: wrap; gap: .5rem; }
  .filtres button { border: 1.5px solid var(--line); border-radius: var(--r-pill);
    background: transparent; color: var(--ink-2); padding: .45rem 1rem; cursor: pointer;
    font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
  .filtres button[aria-pressed="true"], .filtres button:hover { background: var(--accent);
    color: var(--ink-inverse); border-color: var(--accent); }

  /* ---------- Manifeste ---------- */
  .manifeste { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--col-gap); }
  .manifeste-citation { grid-column: 1 / 9; font-family: var(--f-display); text-transform: uppercase;
    font-size: clamp(1.35rem, 3.2vw, 2.6rem); line-height: 1.14; letter-spacing: -.01em;
    text-wrap: balance; }
  .manifeste-citation em { font-style: normal; background: var(--grad-cuivre);
    -webkit-background-clip: text; background-clip: text; color: transparent; }
  .manifeste-aside { grid-column: 9 / 13; align-self: end; display: grid; gap: 1.2rem;
    justify-items: start; }
  .manifeste-faits { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
  .manifeste-faits li { border-top: 1px solid var(--line); padding-top: .7rem; font-size: .95rem;
    color: var(--ink-2); display: flex; gap: .7rem; align-items: baseline; }
  .manifeste-faits .num { font-weight: 800; font-size: .74rem; color: var(--vivid); }
  @media (max-width: 800px) { .manifeste-citation, .manifeste-aside { grid-column: 1 / -1; } }

  /* ---------- Clientèles : 4 compositions ---------- */
  .publics { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: minmax(150px, auto); gap: var(--col-gap); }
  .public { text-decoration: none; color: inherit; border: 1.5px solid var(--line);
    border-radius: var(--r); background: var(--surface-2);
    padding: clamp(1.2rem, 3vw, 2rem); display: grid; align-content: space-between; gap: 1.6rem;
    position: relative; overflow: hidden;
    transition: translate var(--dur-fast) var(--ease-out-expo), border-color var(--dur-fast),
                box-shadow var(--dur-fast); }
  .public:hover { translate: 0 -5px; border-color: color-mix(in oklab, var(--accent) 50%, var(--line));
    box-shadow: var(--glow-cuivre); }
  .public h3 { max-width: 12em; }
  .public p { color: var(--ink-2); font-size: .96rem; max-width: 36em; }
  .public .carte-lien { justify-self: start; }
  .public .etiquette { justify-self: start; }
  .public-forme { position: absolute; pointer-events: none; }
  .public-1 { grid-column: 1 / 8; }
  .public-1 .public-forme { width: 120px; height: 120px; background: var(--accent);
    border-radius: 20px; rotate: 18deg; right: -40px; top: -44px; opacity: .85; }
  .public-2 { grid-column: 8 / 13; grid-row: span 2;
    background: linear-gradient(150deg, var(--surface-brand), #121808); border-color: var(--surface-brand); }
  .public-2 .public-forme { width: 160px; height: 160px; border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, var(--vivid), color-mix(in oklab, var(--vivid) 55%, transparent));
    right: -55px; bottom: -55px; opacity: .9; }
  .public-3 { grid-column: 1 / 5; }
  .public-3 .public-forme { width: 100px; height: 100px; background: var(--brand);
    clip-path: polygon(0 100%, 100% 100%, 50% 0); left: -24px; bottom: -30px; opacity: .8; }
  .public-4 { grid-column: 5 / 8; }
  .public-4 .public-forme { inset: auto .9rem .8rem auto; color: var(--vivid); font-size: 1.5rem; }
  .public-4 .public-forme::before { content: "✳"; }
  @media (max-width: 800px) { .public-1, .public-2, .public-3, .public-4 { grid-column: 1 / -1; grid-row: auto; } }

  /* ---------- Méthode ---------- */
  .etapes { list-style: none; margin: 0; padding: 0; counter-reset: etape; }
  .etapes > li { counter-increment: etape; display: grid;
    grid-template-columns: minmax(4.5rem, 8rem) 1fr; gap: 1rem 2rem;
    padding-block: clamp(1.4rem, 3vw, 2.2rem); border-top: 1.5px solid var(--line);
    align-items: start; }
  .etapes > li::before { content: counter(etape, decimal-leading-zero);
    font-family: var(--f-display); font-size: clamp(2.2rem, 5.5vw, 4.2rem); line-height: .9;
    color: transparent; -webkit-text-stroke: 2px var(--accent); position: sticky; top: 110px;
    filter: drop-shadow(0 0 24px color-mix(in oklab, var(--accent) 30%, transparent)); }
  @supports not (-webkit-text-stroke: 1px black) { .etapes > li::before { color: var(--accent); } }
  .etapes h3 { margin-bottom: .4rem; }
  .etapes p { color: var(--ink-2); max-width: 44em; }
  @media (max-width: 700px) {
    .etapes > li { grid-template-columns: 1fr; }
    .etapes > li::before { position: static; }
  }

  /* ---------- FAQ ---------- */
  .faq-liste { counter-reset: faq; max-width: 900px; }
  .faq-item { border-top: 1.5px solid var(--line); counter-increment: faq; }
  .faq-item:last-of-type { border-bottom: 1.5px solid var(--line); }
  .faq-item summary { cursor: pointer; list-style: none; display: grid;
    grid-template-columns: 3.4rem 1fr auto; gap: 1rem; align-items: baseline;
    padding: 1.15rem .4rem; font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.12rem); }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::before { content: counter(faq, decimal-leading-zero);
    font-size: .78rem; font-weight: 800; color: var(--brand); }
  .faq-item summary::after { content: "+"; font-family: var(--f-display); font-size: 1.3rem;
    color: var(--vivid); transition: rotate var(--dur-fast) var(--ease-smooth); }
  .faq-item[open] summary::after { rotate: 45deg; }
  .faq-item summary:hover { color: var(--accent-2); }
  .faq-reponse { padding: 0 .4rem 1.3rem 4.4rem; color: var(--ink-2); max-width: 52em; }
  @media (max-width: 700px) {
    .faq-item summary { grid-template-columns: 2.4rem 1fr auto; }
    .faq-reponse { padding-left: .4rem; }
  }

  /* ---------- Avis ---------- */
  .avis-grand { max-width: 60rem; }
  .avis-grand blockquote { margin: 0; }
  .avis-grand p { font-family: var(--f-display); text-transform: uppercase;
    font-size: clamp(1.2rem, 2.8vw, 2.1rem); line-height: 1.22; text-wrap: balance; }
  .avis-grand footer { margin-top: 1.4rem; font-size: .8rem; letter-spacing: .1em;
    text-transform: uppercase; font-weight: 700; color: var(--ink-2); }
  /* Note moyenne (avis Google) — texte normal, pas le grand display de .avis-grand p */
  .avis-note { font-family: var(--f-texte); text-transform: none; font-size: 1rem; font-weight: 400;
    display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.3rem; line-height: 1.4; }
  .avis-note .avis-etoiles { color: var(--vivid); font-size: 1.2rem; letter-spacing: .04em; }
  .avis-note strong { color: var(--ink); font-weight: 700; }
  .avis-note .avis-total { color: var(--ink-2); }

  /* ---------- CTA final ---------- */
  .cta-geant { display: block; text-decoration: none; margin-block: 1.5rem 2.5rem; }
  .cta-geant .cta-ligne { display: block; font-family: var(--f-display); text-transform: uppercase;
    color: var(--ink); font-size: clamp(1.9rem, 8.4vw, 7rem); line-height: 1.02;
    letter-spacing: -.015em; transition: transform .5s var(--ease-out-expo); }
  .cta-geant em { font-style: normal; background: var(--grad-cuivre);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    position: relative; white-space: nowrap;
    filter: drop-shadow(0 0 40px color-mix(in oklab, var(--accent) 35%, transparent)); }
  .cta-geant em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em;
    height: 3px; background: var(--grad-cuivre); transform: scaleX(0); transform-origin: left;
    transition: transform .5s var(--ease-smooth); }
  .cta-geant:hover em::after, .cta-geant:focus-visible em::after { transform: none; }
  .cta-geant:hover .cta-ligne { transform: translateX(.5rem); }
  .cta-fleche-g { display: inline-block; color: var(--vivid); -webkit-text-fill-color: var(--vivid);
    transition: transform .5s var(--ease-out-expo); }
  .cta-geant:hover .cta-fleche-g { transform: translateX(1rem); }
  .cta-contacts { display: flex; flex-wrap: wrap; gap: .8rem; }

  /* ---------- Cartes génériques ---------- */
  .carte { display: block; border: 1.5px solid var(--line); border-radius: var(--r);
    background: var(--surface-2); padding: 1.6rem; text-decoration: none; color: inherit;
    position: relative; overflow: hidden;
    transition: translate var(--dur-fast) var(--ease-out-expo), border-color var(--dur-fast),
                box-shadow var(--dur-fast); }
  .carte::before { content: ""; position: absolute; inset: 0; opacity: 0;
    background: radial-gradient(420px circle at var(--x, 50%) var(--y, 0%),
      color-mix(in oklab, var(--accent) 10%, transparent), transparent 60%);
    transition: opacity var(--dur-fast); pointer-events: none; }
  .carte:hover { translate: 0 -5px; border-color: color-mix(in oklab, var(--accent) 50%, var(--line));
    box-shadow: var(--glow-cuivre); }
  .carte:hover::before { opacity: 1; }
  .carte h3 { margin-bottom: .5rem; }
  .carte p { color: var(--ink-2); font-size: .96rem; }
  .carte-num { font-size: .74rem; font-weight: 800; letter-spacing: .14em;
    text-transform: uppercase; color: var(--brand); display: block; margin-bottom: .7rem; }
  .carte-lien { display: inline-block; margin-top: .9rem; font-weight: 700; color: var(--accent);
    font-size: .92rem; text-transform: uppercase; letter-spacing: .05em;
    transition: transform var(--dur-fast) var(--ease-out-expo), color var(--dur-fast); }
  .carte:hover .carte-lien, .public:hover .carte-lien { transform: translateX(.4rem);
    color: var(--accent-2); }

  .liste-checks { list-style: none; margin: 1rem 0; padding: 0; }
  .liste-checks li { padding: .34rem 0 .34rem 1.7rem; position: relative; }
  .liste-checks li::before { content: "→"; position: absolute; left: 0; color: var(--vivid);
    font-weight: 700; }

  .vide { border: 1.5px dashed var(--line); border-radius: var(--r); padding: 2rem; max-width: 46em; }

  /* ---------- Formulaires ---------- */
  .form label { display: block; font-weight: 600; margin: 1.1rem 0 .3rem; }
  .form .aide { font-weight: 400; color: var(--ink-2); font-size: .88rem; }
  .form input[type=text], .form input[type=email], .form input[type=tel],
  .form select, .form textarea {
    width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 10px;
    background: var(--surface-2); color: var(--ink);
    transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
  .form :is(input, select, textarea):focus-visible { outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 30%, transparent); }
  .form textarea { min-height: 130px; resize: vertical; }
  .form input[type=file] { padding: .6rem 0; color: var(--ink-2); }
  .form fieldset { border: 1.5px solid var(--line); border-radius: var(--r);
    padding: clamp(1.2rem, 3vw, 2rem); margin: 0 0 1.6rem; background: var(--surface-2);
    min-inline-size: 0; } /* sinon min-content (défaut fieldset) déborde à droite sur mobile */
  .form legend { font-family: var(--f-display); text-transform: uppercase; font-size: 1.05rem;
    padding-inline: .6rem; display: flex; gap: .8rem; align-items: baseline; }
  .form legend::before { content: attr(data-etape); font-family: var(--f-texte); font-weight: 800;
    font-size: .74rem; letter-spacing: .1em; color: var(--vivid); }
  .choix { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .6rem; }
  .choix label { border: 1.5px solid var(--line); border-radius: var(--r-pill);
    padding: .55rem 1.05rem; cursor: pointer; display: inline-flex; gap: .5rem;
    align-items: center; font-weight: 500; margin: 0; color: var(--ink-2);
    transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
  .choix label:hover { border-color: var(--accent); color: var(--ink); }
  .choix label:has(:checked) { background: var(--accent); color: var(--ink-inverse);
    border-color: var(--accent); font-weight: 700; }
  .consent { display: flex; gap: .8rem; align-items: flex-start; margin-top: 1.4rem;
    font-weight: 400; font-size: .95rem; color: var(--ink-2); }
  .form-ok { border: 1.5px solid var(--etat-ok); border-radius: var(--r);
    background: color-mix(in oklab, var(--etat-ok) 12%, var(--surface-2)); padding: 1.2rem 1.4rem; }
  .form-erreurs { border: 1.5px solid var(--etat-erreur); border-radius: var(--r);
    background: color-mix(in oklab, var(--etat-erreur) 10%, var(--surface-2));
    padding: 1rem 1.2rem; margin-bottom: 1.4rem; }
  .form-erreurs ul { margin: .5rem 0 0 1.2rem; padding: 0; }
  .hp-field { position: absolute !important; left: -9999px !important; }

  /* ---------- Contact ---------- */
  .contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    gap: clamp(1.5rem, 4vw, 3.5rem); }
  .contact-bloc h2 { font-size: 1.2rem; margin-bottom: .8rem; }
  .contact-bloc ul { list-style: none; margin: 0; padding: 0; }
  .contact-bloc li { padding-block: .3rem; }

  /* ---------- Pied de page ---------- */
  .site-footer { background: var(--surface-ink); border-top: 1.5px solid var(--line);
    padding-block: var(--sect) 6rem; }
  .site-footer a { color: var(--ink-2); }
  .site-footer a:hover { color: var(--vivid); }
  .cartouche { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 3rem; }
  .cartouche-cell { padding: .9rem 1.1rem; border-inline-end: 1px solid var(--line); }
  .cartouche-cell:last-child { border-inline-end: 0; }
  .cartouche-label { display: block; font-size: .66rem; letter-spacing: .16em; font-weight: 800;
    text-transform: uppercase; color: var(--brand); margin-bottom: .25rem; }
  .cartouche-val { font-size: .95rem; color: var(--ink); }
  .cartouche-cmjn { display: flex; align-items: center; gap: .55rem; justify-content: center; }
  .pastille { width: 1.05rem; height: 1.05rem; border-radius: 50%; display: inline-block; }
  .pastille.c { background: var(--brand); }
  .pastille.m { background: var(--accent); }
  .pastille.j { background: var(--vivid); }
  .pastille.n { background: var(--ink); }
  .footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 2rem; }
  .footer-brand { font-family: var(--f-display); text-transform: uppercase; font-size: 1.5rem;
    color: var(--ink); }
  .footer-brand em { font-style: normal; color: var(--accent); }
  .footer-title { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
    font-weight: 800; color: var(--brand); margin-bottom: .8rem; }
  .footer-col ul { list-style: none; margin: 0; padding: 0; }
  .footer-col li { padding-block: .22rem; }
  .footer-col a { text-decoration: none; }
  .footer-col a:hover { text-decoration: underline; }
  .footer-collectif { margin-top: 2.5rem; font-size: .92rem; color: var(--ink-2); }
  .footer-legal { margin-top: 2.5rem; font-size: .76rem; color: color-mix(in oklab, var(--ink) 45%, transparent); }
  @media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

  /* ---------- Barre mobile ---------- */
  .mobile-bar { position: fixed; inset: auto 0 0 0; z-index: 95; display: none;
    grid-template-columns: 1fr 1fr 1.2fr; border-top: 1.5px solid var(--line);
    background: color-mix(in oklab, var(--surface-ink) 92%, transparent); }
  @supports (backdrop-filter: blur(4px)) { .mobile-bar { backdrop-filter: blur(10px); } }
  .mobile-bar a { text-align: center; padding: .95rem .4rem; text-decoration: none;
    font-weight: 700; font-size: .88rem; text-transform: uppercase; letter-spacing: .04em;
    color: var(--ink); border-inline-end: 1px solid var(--line); }
  .mobile-bar-cta { background: var(--vivid); color: var(--ink-inverse) !important; border: 0 !important; }
  @media (max-width: 700px) { .mobile-bar { display: grid; } body { padding-bottom: 52px; } }

  /* ---------- Bandeau cookies ---------- */
  .cookie-banner { position: fixed; inset: auto 1rem 4.5rem 1rem; z-index: 96;
    background: var(--surface-2); border: 1.5px solid var(--line); border-radius: var(--r);
    padding: 1.2rem; max-width: 460px; margin-inline: auto; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
  .cookie-actions { display: flex; gap: .6rem; margin-top: .9rem; }

  /* ---------- Pages services ---------- */
  .service-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--col-gap); align-items: end;
    padding-block: clamp(2rem, 5vw, 4rem) clamp(2rem, 5vw, 3.5rem); }
  .service-hero-texte { grid-column: 1 / 9; }
  .service-hero-num { grid-column: 10 / 13; justify-self: end; font-family: var(--f-display);
    font-size: clamp(3.6rem, 9vw, 8rem); line-height: .85; color: transparent;
    -webkit-text-stroke: 2.5px var(--accent);
    filter: drop-shadow(0 0 40px color-mix(in oklab, var(--accent) 30%, transparent)); }
  @supports not (-webkit-text-stroke: 1px black) { .service-hero-num { color: var(--accent); } }
  @media (max-width: 800px) {
    .service-hero-texte { grid-column: 1 / -1; }
    .service-hero-num { grid-column: 1 / -1; justify-self: start; order: -1; }
  }
  .service-corps { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
  .service-aside { position: sticky; top: 100px; border: 1.5px solid var(--line);
    border-radius: var(--r); padding: 1.5rem; display: grid; gap: 1rem;
    background: var(--surface-2); justify-items: stretch; }
  .service-aside .btn { text-align: center; }
  @media (max-width: 900px) { .service-corps { grid-template-columns: 1fr; }
    .service-aside { position: static; } }
  .service-bloc { border-top: 1.5px solid var(--line); padding-block: 1.6rem; }
  .service-bloc h2 { font-size: clamp(1.15rem, 2.2vw, 1.6rem); margin-bottom: .6rem; }
  .service-bloc p { color: var(--ink-2); max-width: 52em; }

  /* ---------- Étude de cas ---------- */
  .cas-hero img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover;
    border: 1.5px solid var(--line); border-radius: var(--r); }
  .cas-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; margin-block: 1.6rem; }
  .cas-meta > div { padding: .9rem 1.1rem; border-inline-end: 1px solid var(--line-soft); }
  .cas-meta > div:last-child { border-inline-end: 0; }
  .avant-apres { display: grid; grid-template-columns: 1fr 1fr; gap: var(--col-gap); }
  @media (max-width: 700px) { .avant-apres { grid-template-columns: 1fr; } }
}

/* ================================ UTILITIES ===================== */
@layer utilities {
  .u-mt1 { margin-top: 1rem; } .u-mt15 { margin-top: 1.5rem; }
  .u-mt2 { margin-top: 2rem; } .u-mt25 { margin-top: 2.5rem; }
  .u-mt3 { margin-top: 3rem; } .u-mt35 { margin-top: 3.5rem; }
  .u-max46 { max-width: 46em; } .u-max820 { max-width: 820px; }
  .u-centre { text-align: center; } .u-mx-auto { margin-inline: auto; }
  .u-pt25 { padding-top: 2.5rem; }
  .u-2col { column-count: 2; column-gap: 3rem; }
  .u-2col li { break-inside: avoid; }
  @media (max-width: 640px) { .u-2col { column-count: 1; } }
}

/* ================================ MOTION ======================== */
@layer motion {
  @media (prefers-reduced-motion: no-preference) {
    [data-reveal] { opacity: 0; translate: 0 30px;
      transition: opacity .8s var(--ease-out-expo), translate .8s var(--ease-out-expo);
      transition-delay: var(--d, 0s); }
    [data-reveal].is-in { opacity: 1; translate: 0 0; }

    .mot { display: inline-block; overflow: hidden; vertical-align: bottom; }
    .mot > span { display: inline-block; translate: 0 110%;
      animation: mot-up .9s var(--ease-out-expo) forwards; animation-delay: var(--d, 0s); }
    .hero-sous { opacity: 0; animation: fade-up .8s var(--ease-out-expo) .7s forwards; }
    .collage-piece { opacity: 0; translate: 0 26px;
      animation: fade-up .9s var(--ease-out-expo) forwards; }
    .cp-1 { animation-delay: .55s; } .cp-2 { animation-delay: .72s; } .cp-3 { animation-delay: .88s; }
    .hero-scroll { opacity: 0; animation: fade-up .8s var(--ease-out-expo) 1.3s forwards; }

    .marquee-piste { animation: defile 30s linear infinite; }
    .marquee:hover .marquee-piste { animation-play-state: paused; }

    @supports (animation-timeline: view()) {
      .cp-1 { animation: fade-up .9s var(--ease-out-expo) .55s forwards, derive-1 linear both;
        animation-timeline: auto, view(block 80% 0%); }
      .cp-3 { animation: fade-up .9s var(--ease-out-expo) .88s forwards, derive-2 linear both;
        animation-timeline: auto, view(block 80% 0%); }
    }
  }
  @keyframes mot-up { to { translate: 0 0; } }
  @keyframes fade-up { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }
  @keyframes defile { to { transform: translateX(-50%); } }
  @keyframes derive-1 { to { translate: 0 -26px; } }
  @keyframes derive-2 { to { translate: 0 22px; } }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .mot > span, .hero-sous, .collage-piece, .hero-scroll { opacity: 1; translate: 0 0; animation: none; }
    .marquee-piste { animation: none; }
    [data-reveal] { opacity: 1; translate: 0 0; }
    *, *::before, *::after { transition-duration: .01s !important; animation-duration: .01s !important; }
  }
}
