/* ============================================================
   ALEXANDRE LABSI — V2 « La forge nocturne »
   Encre profonde, braises cuivrées, typographie monumentale.
   Clash Display (display) · Instrument Serif italic (accents)
   Satoshi (texte) · Space Mono (labels techniques)
   ============================================================ */

/* ---------- Fontes auto-hébergées ---------- */
@font-face {
  font-family: "Clash Display";
  src: url("fonts/clash-display-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url("fonts/clash-display-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url("fonts/clash-display-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("fonts/satoshi-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("fonts/satoshi-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("fonts/satoshi-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("fonts/space-mono-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --bg: #faf6ee;
  --bg-2: #f3ecdf;
  --bg-3: #ebe2d0;
  --card: #fffdf7;
  --ink: #1b1510;
  --muted: rgba(27, 21, 16, 0.62);
  /* 0.62 minimum : sous ce seuil les micro-labels passent sous 4.5:1 (AA petit texte) */
  --faint: rgba(27, 21, 16, 0.62);
  --line: rgba(27, 21, 16, 0.12);
  --line-strong: rgba(27, 21, 16, 0.26);
  --ember: #d04000;
  --ember-soft: #f59e3c;
  --ember-glow: rgba(208, 64, 0, 0.18);

  --font-display: "Clash Display", "Arial Narrow", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-body: "Satoshi", "Helvetica Neue", sans-serif;
  --font-mono: "Space Mono", "Courier New", monospace;

  --wrap: 1440px;
  --pad: clamp(1.25rem, 4vw, 4rem);
  --sec-gap: clamp(7rem, 14vh, 12rem);
  --radius: 4px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.4vw + 0.9rem, 1.125rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
::selection { background: var(--ember); color: #fffdf7; }

.ember { color: var(--ember); }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.sec { padding-block: var(--sec-gap) 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: fixed; top: -100%; left: 1rem; z-index: 300;
  padding: 0.7rem 1.2rem; background: var(--ember); color: #fffdf7;
  font-weight: 700; transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -100px; z-index: 250; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.045;
  animation: grain 0.9s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-30px, 24px); }
  50% { transform: translate(22px, -18px); }
  75% { transform: translate(-14px, -26px); }
  100% { transform: translate(0, 0); }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 400;
  background: var(--bg);
  display: grid; place-items: center;
}
html:not(.js) .preloader { display: none; }
.preloader-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(1.1rem, 2.6vh, 1.8rem);
  text-align: center;
  padding: var(--pad);
}
.preloader-word {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}
.preloader-count {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(3.4rem, 8vw, 5.8rem);
  line-height: 1;
}
.preloader-count i {
  font-size: 0.55em;
  color: var(--ember);
  margin-left: 0.1em;
}
.preloader-bar {
  width: min(280px, 60vw); height: 2px;
  background: var(--line);
  border-radius: 99px;
  overflow: hidden;
}
.preloader-bar span {
  display: block; height: 100%;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- Curseur custom ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor .cursor { display: block; position: fixed; inset: 0; z-index: 350; pointer-events: none; }
  html.has-cursor body { cursor: none; }
  html.has-cursor a, html.has-cursor button { cursor: none; }
  .cursor-dot {
    position: absolute; top: 0; left: 0; width: 6px; height: 6px;
    margin: -3px 0 0 -3px; border-radius: 50%;
    background: var(--ember);
  }
  .cursor-ring {
    position: absolute; top: 0; left: 0; width: 44px; height: 44px;
    margin: -22px 0 0 -22px; border-radius: 50%;
    border: 1px solid var(--line-strong);
    display: flex; align-items: center; justify-content: center;
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
                margin 0.3s var(--ease-out), background-color 0.3s, border-color 0.3s;
  }
  .cursor-label {
    font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em;
    text-transform: uppercase; color: #fffdf7; opacity: 0;
    transition: opacity 0.2s;
  }
  .cursor.is-hover .cursor-ring {
    width: 64px; height: 64px; margin: -32px 0 0 -32px;
    background: rgba(208, 64, 0, 0.14); border-color: var(--ember);
  }
  .cursor.is-view .cursor-ring {
    width: 92px; height: 92px; margin: -46px 0 0 -46px;
    background: var(--ember); border-color: var(--ember);
  }
  .cursor.is-view .cursor-label { opacity: 1; }
  .cursor.is-view .cursor-dot { opacity: 0; }
}

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background-color 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(250, 246, 238, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  max-width: var(--wrap); margin-inline: auto;
  padding: clamp(0.9rem, 2vw, 1.3rem) var(--pad);
  display: flex; align-items: center; gap: 2rem;
}
.brand {
  display: inline-flex; align-items: baseline; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.15rem; letter-spacing: 0.01em;
}
.brand i { color: var(--ember); font-style: normal; }
.brand-mark {
  display: grid; place-items: center;
  width: 2.1rem; height: 2.1rem;
  border: 1px solid var(--line-strong); border-radius: 50%;
  font-size: 1rem;
}
.nav { margin-left: auto; display: flex; gap: clamp(1.2rem, 2.5vw, 2.2rem); }
.nav a {
  position: relative;
  font-size: 0.92rem; font-weight: 500; color: var(--muted);
  transition: color 0.25s;
}
.nav a sup {
  font-family: var(--font-mono); font-size: 0.55rem;
  color: var(--ember); margin-right: 0.3rem;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1px; background: var(--ember);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.7rem;
  border: 1px solid var(--line-strong); border-radius: 99px;
  font-weight: 500; font-size: 0.95rem;
  position: relative; overflow: hidden;
  transition: color 0.35s var(--ease-out), border-color 0.35s;
}
.btn span { position: relative; z-index: 1; }
.btn::before {
  content: ""; position: absolute; inset: 0;
  background: var(--ember);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.4s var(--ease-out);
}
.btn:hover { color: #fffdf7; border-color: var(--ember); }
.btn:hover::before { transform: translateY(0); }
.btn-fill { background: var(--ink); color: var(--card); border-color: var(--ink); }
.btn-fill:hover { border-color: var(--ember); }
.header-cta { padding: 0.7rem 1.4rem; font-size: 0.88rem; }

.btn-ghost {
  display: inline-flex; align-items: center;
  font-weight: 500; color: var(--muted);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.2rem;
  transition: color 0.25s, border-color 0.25s;
}
.btn-ghost:hover { color: var(--ember); border-color: var(--ember); }

.burger {
  display: none;
  width: 2.6rem; height: 2.6rem;
  flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid var(--line-strong); border-radius: 50%;
}
.burger span {
  display: block; width: 16px; height: 1.5px; background: var(--ink);
  transition: transform 0.35s var(--ease-out);
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav, .header-cta { display: none; }
  .burger { display: flex; margin-left: auto; }
  .brand-name { font-size: 1.05rem; }
}

/* ---------- Menu plein écran ---------- */
.menu {
  position: fixed; inset: 0; z-index: 190;
  background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--pad);
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; gap: 0.2rem; }
.menu-link {
  display: flex; align-items: baseline; gap: 1.2rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.2rem, 8vw, 4.6rem); line-height: 1.15;
  color: var(--ink);
  transition: color 0.25s, transform 0.4s var(--ease-out);
}
.menu-link small {
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--ember);
}
.menu-link:hover { color: var(--ember); transform: translateX(0.6rem); }
.menu-link-cta span { border-bottom: 2px solid var(--ember); }
.menu-foot {
  margin-top: 3rem;
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--faint);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% 115%, rgba(208, 64, 0, 0.1), transparent 55%),
    linear-gradient(to bottom, rgba(250, 246, 238, 0.6), transparent 35%, transparent 60%, rgba(250, 246, 238, 0.94));
}
.hero-content {
  position: relative; z-index: 1;
  width: 100%;
  padding-top: clamp(7rem, 16vh, 11rem);
  padding-bottom: clamp(5.5rem, 11vh, 8rem);
}
.hero-kicker {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-mono); font-size: 0.78rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(1.6rem, 3vh, 2.6rem);
}
.dispo-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #15a06a; flex: none;
  box-shadow: 0 0 0 0 rgba(21, 160, 106, 0.5);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(21, 160, 106, 0.4); }
  70% { box-shadow: 0 0 0 11px rgba(21, 160, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(21, 160, 106, 0); }
}
.hero-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.5rem, 6.6vw, 6.6rem);
  line-height: 0.99; letter-spacing: -0.015em;
  text-wrap: balance;
  margin-bottom: clamp(2rem, 4.5vh, 3.4rem);
}
.hero-title .line { display: block; }
.hero-title em {
  color: var(--ember);
  font-size: 1.04em;
  letter-spacing: 0;
  text-shadow: 0 0 60px var(--ember-glow);
}
.hero-foot {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  gap: 2rem 4rem;
  margin-bottom: clamp(2.4rem, 5vh, 3.6rem);
}
.hero-sub { max-width: 34rem; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 0.8rem 3rem;
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}
.hero-meta li { display: flex; gap: 0.6rem; align-items: baseline; }
.hero-meta .k {
  font-family: var(--font-mono); font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint);
}
.hero-meta .v { font-size: 0.9rem; color: var(--muted); }
.hero-scroll {
  position: absolute; right: var(--pad); bottom: clamp(5.5rem, 11vh, 8rem);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
}
.hero-scroll-line {
  width: 1px; height: 64px; background: var(--line-strong);
  position: relative; overflow: hidden;
}
.hero-scroll-line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--ember);
  animation: scrollhint 2s var(--ease-out) infinite;
}
@keyframes scrollhint {
  0% { transform: translateY(-100%); }
  55% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}
.hero-scroll-txt {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--faint);
  writing-mode: vertical-rl;
}
@media (max-width: 880px) {
  .hero-scroll { display: none; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 1.1rem;
  overflow: hidden;
  background: var(--bg-2);
}
.marquee-track { display: flex; white-space: nowrap; width: max-content; }
.marquee-track p {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  letter-spacing: 0.01em;
  padding-right: 0.5em;
}
.marquee-track .ember { font-size: 0.7em; vertical-align: 0.15em; padding-inline: 0.6em; }
html:not(.js) .marquee-track { animation: marquee 26s linear infinite; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Statement ---------- */
.statement { padding-block: var(--sec-gap); }
.statement-txt {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.7rem, 4.4vw, 3.9rem);
  line-height: 1.18; letter-spacing: -0.01em;
  max-width: 28ch;
}
.statement-txt em { color: var(--ember); }
/* Opacités de départ calées sur le contraste AA texte large (≥ 3:1) :
   encre 0.52 ≈ 3.5:1 ; braise (plus claire) 0.78 ≈ 3.1:1 */
.statement-txt .word { opacity: 0.52; }
.statement-txt em .word { opacity: 0.78; }

/* ---------- Titres de section ---------- */
.folio {
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--faint);
  margin-bottom: clamp(1.4rem, 3vh, 2.2rem);
  display: flex; align-items: center; gap: 0.8rem;
}
.folio::before {
  content: ""; width: 2.6rem; height: 1px; background: var(--ember);
}
.folio i { font-style: normal; color: var(--ember); }
.sec-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.1rem, 5.4vw, 4.6rem);
  line-height: 1.02; letter-spacing: -0.015em;
  max-width: 18ch;
  margin-bottom: 1.2rem;
}
.sec-title em { color: var(--ember); }
.sec-sub { color: var(--muted); max-width: 44rem; margin-bottom: clamp(2.6rem, 6vh, 4.4rem); }

/* ---------- Réalisations : scroll horizontal ---------- */
.work-head { margin-bottom: clamp(1rem, 3vh, 2rem); }
/* Par défaut (sans JS, motion réduit) : les panneaux s'empilent verticalement.
   La traversée horizontale ne s'applique que quand le pin GSAP est actif (.is-pinned). */
.work-track {
  display: flex; flex-direction: column; align-items: stretch;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(1.5rem, 3vh, 2.5rem) var(--pad) 0;
}
.work-pin.is-pinned {
  overflow: hidden; height: 100svh;
  display: flex; align-items: center;
}
.work-pin.is-pinned .work-track {
  flex-direction: row; width: max-content; padding-top: 0;
}
.work-pin.is-pinned .panel { width: min(72vw, 1020px); height: min(72vh, 700px); }
.work-pin.is-pinned .panel-more { width: min(46vw, 560px); height: min(72vh, 700px); }

.panel {
  position: relative;
  width: 100%;
  flex: none;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(1.4rem, 2.5vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 24px 60px -36px rgba(27, 21, 16, 0.28);
  padding: clamp(1.4rem, 2.5vw, 2.6rem);
  overflow: hidden;
}
.panel-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
}
.panel-visual img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  transition: transform 1s var(--ease-out), filter 1s;
  filter: saturate(0.92);
}
.panel:hover .panel-visual img { transform: scale(1.02); filter: saturate(1.05); }
.panel-meta { display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.panel-caption {
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ember);
}
.panel-meta h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.05;
}
.panel-desc { color: var(--muted); font-size: 0.98rem; }
.panel-num {
  position: absolute; right: 1.2rem; top: 0.4rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3.5rem, 7vw, 6rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  pointer-events: none;
}
.fiche { border-top: 1px solid var(--line); margin-top: 0.4rem; }
.fiche li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding-block: 0.55rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
}
.fiche .k { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); align-self: center; }
.fiche .v { color: var(--ink); }

.panel-nda .nda-visual {
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(-45deg, transparent 0 18px, rgba(208, 64, 0, 0.06) 18px 19px),
    var(--bg-2);
  border: 1px dashed var(--line-strong);
}
.nda-stamp {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  border: 2px solid var(--ember); border-radius: var(--radius);
  color: var(--ember);
  padding: 1.2rem 2.2rem;
  transform: rotate(-6deg);
  text-transform: uppercase;
}
.nda-stamp strong { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.12em; }
.nda-stamp span { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.16em; }
.panel-nda-quote {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.05rem; color: var(--ink);
  border-left: 2px solid var(--ember);
  padding-left: 1rem;
}

.panel-more {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: 2rem;
  width: 100%;
  border: 0; background: transparent; box-shadow: none;
}
.panel-more p {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.08;
}
.panel-more em { color: var(--ember); }

@media (max-width: 880px) {
  .panel { grid-template-columns: 1fr; }
  .panel-visual { min-height: 230px; }
  .panel-more { padding: 1rem 0 0; }
}

/* ---------- Services ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.svc-card {
  position: relative;
  background: var(--bg);
  padding: clamp(1.8rem, 3.5vw, 3.2rem);
  overflow: hidden;
  transition: background-color 0.4s;
}
.svc-card:hover { background: var(--card); }
.svc-num {
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--ember); letter-spacing: 0.1em;
  display: block; margin-bottom: 2.6rem;
}
.svc-card h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem); line-height: 1.12;
  margin-bottom: 0.9rem;
  max-width: 16ch;
}
.svc-card p { color: var(--muted); font-size: 0.98rem; max-width: 38ch; }
.svc-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(208, 64, 0, 0.07), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
}
.svc-card:hover .svc-glow { opacity: 1; }
.svc-more { margin-top: 2.6rem; color: var(--muted); max-width: 52rem; }

.link {
  color: var(--ink);
  background-image: linear-gradient(var(--ember), var(--ember));
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: color 0.25s, background-size 0.3s var(--ease-out);
  padding-bottom: 0.1em;
}
.link:hover { color: var(--ember); background-size: 0% 1px; }

@media (max-width: 760px) {
  .svc-grid { grid-template-columns: 1fr; }
}

/* ---------- Méthode ---------- */
.steps {
  position: relative;
  margin-left: clamp(0.2rem, 2vw, 1rem);
  padding-left: clamp(2rem, 5vw, 4rem);
}
.steps-line {
  position: absolute; left: 0; top: 0.6rem; bottom: 0.6rem;
  width: 1px; background: var(--line);
}
.steps-line-fill {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--ember), var(--ember-soft));
  transform-origin: top;
  transform: scaleY(0);
}
html:not(.js) .steps-line-fill { transform: none; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.2rem, 4vw, 3.4rem);
  padding-block: clamp(2rem, 4.5vh, 3.4rem);
}
.step + .step { border-top: 1px solid var(--line); }
.step::before {
  content: "";
  position: absolute; left: calc(-1 * clamp(2rem, 5vw, 4rem) - 4.5px);
  top: clamp(2.7rem, 5.2vh, 4.1rem);
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--ember);
}
.step-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  transition: -webkit-text-stroke-color 0.4s, text-shadow 0.4s;
}
.step:hover .step-num { -webkit-text-stroke-color: var(--ember); }
.step-body h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  margin-bottom: 0.6rem;
}
.step-body p { color: var(--muted); max-width: 52ch; }
.step-livrable {
  margin-top: 0.9rem;
  font-family: var(--font-mono); font-size: 0.78rem;
  color: var(--ink);
}

/* ---------- À propos ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.about-copy p { color: var(--muted); max-width: 56ch; }
.about-copy p + p { margin-top: 1.2rem; }
.about-copy .sec-title { margin-bottom: 2rem; }
.signature { display: flex; flex-direction: column; gap: 0.2rem; margin-top: 2.2rem; }
.sig { font-family: var(--font-serif); font-style: italic; font-size: 1.7rem; color: var(--ink); }
.sig-sub { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }

.stats { display: flex; flex-direction: column; }
.stats li {
  display: flex; align-items: baseline; gap: 1.4rem;
  padding-block: 1.3rem;
  border-bottom: 1px solid var(--line);
}
.stats li:first-child { border-top: 1px solid var(--line); }
.stats strong {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.8rem, 5.5vw, 4.6rem); line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  min-width: 3ch;
}
.stat-suffix { color: var(--ember); }
.stats .lbl { color: var(--muted); font-size: 0.95rem; }

.idcard { margin-top: 2.2rem; }
.idcard li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding-block: 0.7rem;
  border-bottom: 1px dashed var(--line);
  font-size: 0.92rem;
}
.idcard .k { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.idcard .v { color: var(--ink); }

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; gap: 1.3rem;
  padding-block: clamp(1.3rem, 2.6vh, 1.9rem);
  text-align: left;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  transition: color 0.25s, padding-left 0.35s var(--ease-out);
}
.faq-q:hover { color: var(--ember); padding-left: 0.6rem; }
.faq-mark { font-family: var(--font-serif); font-style: italic; color: var(--ember); flex: none; }
.faq-plus { margin-left: auto; position: relative; width: 16px; height: 16px; flex: none; }
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; background: var(--ink);
  transition: transform 0.4s var(--ease-out), background-color 0.25s;
}
.faq-plus::before { left: 0; right: 0; top: 7.25px; height: 1.5px; }
.faq-plus::after { top: 0; bottom: 0; left: 7.25px; width: 1.5px; }
.faq-q[aria-expanded="true"] .faq-plus::after { transform: scaleY(0); }
.faq-q[aria-expanded="true"] .faq-plus::before { background: var(--ember); }
.faq-a { overflow: hidden; }
.faq-a p {
  color: var(--muted);
  max-width: 62ch;
  padding: 0 0 1.6rem calc(1.3rem + 1.1em);
}
html:not(.js) .faq-a[hidden] { display: block; }

/* ---------- Contact ---------- */
.contact {
  position: relative;
  margin-top: var(--sec-gap);
  padding-block: clamp(7rem, 16vh, 13rem);
  border-top: 1px solid var(--line);
  overflow: hidden;
  text-align: center;
}
.contact-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 110%, rgba(208, 64, 0, 0.13), transparent 70%),
    radial-gradient(40% 30% at 50% 115%, rgba(245, 158, 60, 0.12), transparent 70%);
}
.contact .folio { justify-content: center; }
.contact .folio::before { display: none; }
.contact-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.2rem, 5.4vw, 5rem);
  line-height: 1.02; letter-spacing: -0.015em;
  max-width: 18ch; margin-inline: auto;
  margin-bottom: 1.4rem;
}
.contact-title em { color: var(--ember); text-shadow: 0 0 70px var(--ember-glow); }
.contact-sub { color: var(--muted); margin-bottom: clamp(2.4rem, 5vh, 3.6rem); }
.contact-mailrow {
  display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
  margin-bottom: 2.8rem;
}
.contact-mail {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.25rem, 3.6vw, 2.6rem);
  letter-spacing: -0.01em;
  background-image: linear-gradient(var(--ember), var(--ember));
  background-size: 100% 2px; background-position: 0 100%; background-repeat: no-repeat;
  padding-bottom: 0.15em;
  transition: color 0.3s;
  word-break: break-all;
}
.contact-mail:hover { color: var(--ember); }
.copy-btn {
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-strong); border-radius: 99px;
  padding: 0.65rem 1.3rem;
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}
.copy-btn:hover { color: var(--ink); border-color: var(--ember); }
.copy-btn.is-copied { color: #fffdf7; background: var(--ember); border-color: var(--ember); }
.contact-lines {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem 3.5rem;
  margin-bottom: 1.8rem;
}
.contact-lines li { display: flex; align-items: baseline; gap: 0.7rem; }
.contact-lines .k {
  font-family: var(--font-mono); font-size: 0.66rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint);
}
.contact-note { font-size: 0.88rem; color: var(--faint); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: clamp(3.5rem, 7vh, 5.5rem) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-role { color: var(--muted); font-size: 0.9rem; }
.footer-legal { font-family: var(--font-mono); font-size: 0.68rem; color: var(--faint); }
.footer-col { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col h3 {
  font-family: var(--font-mono); font-size: 0.66rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.5rem;
}
.footer-col a { color: var(--muted); font-size: 0.92rem; transition: color 0.25s, transform 0.3s var(--ease-out); }
.footer-col a:hover { color: var(--ember); transform: translateX(4px); }
.colophon {
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 1rem 2.5rem;
}
.colophon-line { color: var(--faint); font-size: 0.82rem; max-width: 52rem; flex: 1 1 24rem; }
.copyright { font-family: var(--font-mono); font-size: 0.7rem; color: var(--faint); }
.backtop { font-size: 0.85rem; color: var(--muted); margin-left: auto; }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .grain { animation: none; }
}
