/* ============================================================
   Factory Communication
   Canevas quasi-noir, un seul accent lumineux, lavis ambrés
   radiaux, grain, bordures d'un pixel. Thème sombre assumé :
   pas de variante claire, chaque couleur est peinte.
   ============================================================ */

:root {
  /* Couleurs */
  --void:      #080706;   /* canevas */
  --soot:      #100E0B;   /* surface élevée */
  --ember-1:   #1A140D;   /* lavis ambré proche */
  --ember-2:   #251A0F;   /* braise, remplissage profond */
  --hairline:  #232323;   /* bordures 1px */
  --accent:    #FF7112;   /* l'accent, et le seul */
  --accent-edge: rgba(255, 113, 18, .26);
  --accent-glow: rgba(255, 113, 18, .10);
  --chalk:     #FFFFFF;
  --ash:       #B8B2A8;   /* texte courant */
  --dim:       #3D352B;   /* texte non encore révélé */

  /* Typographie — Figtree (ronde, moderne, libre de droits) ; JetBrains Mono pour les étiquettes */
  --sans: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;


  /* Échelle typographique — une seule source pour tous les titres du site */
  --t-kicker:  12px;                        /* repères mono : LE PREMIER ÉCHANGE…  */
  --t-sign:    clamp(20px, 2.4vw, 30px);    /* panneaux : MES SERVICES, QUOI ?      */
  --t-h1:      clamp(40px, 8.6vw, 112px);
  --t-h2:      clamp(32px, 5.6vw, 76px);
  --t-h3:      clamp(20px, 2.1vw, 28px);    /* titres de carte, d'item, d'article   */
  --t-h4:      clamp(17px, 1.5vw, 20px);    /* titres secondaires                   */
  --t-lead:    clamp(17px, 1.6vw, 21px);
  --t-body:    clamp(15px, 1.35vw, 17px);
  --t-small:   14px;
  --t-num:     clamp(38px, 5vw, 68px);

  /* Rythme vertical — un seul jeu d'écarts */
  --s-sec:     clamp(72px, 9vw, 130px);     /* respiration entre deux sections      */
  --s-thin:    clamp(44px, 5vw, 72px);
  --s-block:   clamp(40px, 4.4vw, 60px);    /* titre de section → son contenu       */
  --s-gap:     clamp(20px, 2.2vw, 28px);    /* gouttière des grilles                */
  --s-head:    16px;                        /* repère → titre → chapeau             */
  --s-para:    14px;                        /* entre deux paragraphes               */

  /* Niveaux de gris du texte */
  --ink-2:     #BFB9AE;
  --ink-3:     #ADA79C;
  --ink-4:     #928B80;

  /* Mise en page */
  --max: 1440px;
  --gut: 40px;
  --r: 10px;

  /* Courbes */
  --out: cubic-bezier(.22,.61,.36,1);
  --soft: cubic-bezier(.16,1,.3,1);

  /* Grain */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--void);
  color: var(--ash);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: .15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, dl, dd, figure, pre { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; }
[hidden] { display: none !important; }   /* bat le display:flex des composants masqués */
sup { font-size: .62em; vertical-align: super; line-height: 0; }

.mono {
  font-family: var(--mono);
  font-weight: 300;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent); color: var(--void); }

.shell {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* Grain : la matière du système, jamais une décoration seule */
.grain {
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-size: 160px auto;
  opacity: .05;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}

/* ---------- Typographie de composition ---------- */

.h-hero {
  font-size: clamp(40px, 8.6vw, 112px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 400;
  color: var(--chalk);
  text-wrap: balance;
}
.h-hero em { font-style: normal; color: var(--accent); }

.h-sec {
  font-size: clamp(34px, 6.2vw, 88px);
  line-height: 1.12;
  letter-spacing: -.025em;
  font-weight: 400;
  color: var(--chalk);
  text-wrap: balance;
}
.h-sec em { font-style: normal; color: var(--accent); }

.label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow {
  font-size: 14px;
  letter-spacing: .5px;
  color: var(--ash);
}

/* Variante accent pour le sur-titre de page, quand il tient en deux mots */
.eyebrow--k {
  font-family: var(--mono);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--accent);
}

/* Panneaux indicateurs : QUOI ?, COMMENT ? Grands, lisibles d'un coup d'oeil. */
.label--big {
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1.2;
}
.label--mid {
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 400;
  letter-spacing: .06em;
  line-height: 1.35;
  max-width: 24ch;
}

.lead {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.5;
  letter-spacing: .3px;
  color: var(--ash);
  max-width: 56ch;
}

.head { display: flex; flex-direction: column; gap: 16px; }
.head__p { max-width: 62ch; margin-top: 8px; }

.sec { padding-block: clamp(72px, 9vw, 130px); position: relative; }
.sec--thin { padding-block: clamp(40px, 4.4vw, 64px); }

/* Lavis radiaux : la profondeur vient du fond, pas d'une ombre */
.sec--a { background: radial-gradient(72% 100% at 100% 0%, var(--ember-1) 0%, var(--void) 62%); }
.sec--b { background: radial-gradient(56% 44% at 50% 58%, var(--ember-1) 0%, var(--void) 68%); }
.sec--c { background: radial-gradient(72% 60% at 0% 100%, var(--ember-1) 0%, var(--void) 64%); }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding-inline: 22px;
  border: 1px solid var(--accent-edge);
  border-radius: 8px;
  font-size: 14px;
  letter-spacing: .5px;
  overflow: hidden;
  cursor: pointer;
  transition: background-color .3s var(--out), border-color .3s var(--out), color .3s var(--out);
  will-change: transform;
}
.btn--accent { background: var(--accent); color: #1A0F05; border-color: var(--accent); }
.btn--accent:hover { background: #FF8F3D; }
.btn--ghost { color: var(--accent); background: rgba(255, 113, 18,.03); }
.btn--ghost:hover { background: rgba(255, 113, 18,.10); }
.btn--sm { height: 38px; padding-inline: 16px; font-size: 13px; }
.btn--full { width: 100%; }

/* Libellé qui glisse : deux étiquettes empilées */
.sl { position: relative; display: block; overflow: hidden; line-height: 46px; height: 46px; }
.btn--sm .sl { line-height: 38px; height: 38px; }
.sl__a, .sl__b { display: block; transition: transform .45s var(--soft); white-space: nowrap; }
.sl__b { position: absolute; inset: 0; transform: translateY(105%); }
.btn:hover .sl__a { transform: translateY(-105%); }
.btn:hover .sl__b { transform: translateY(0); }
/* Sur écran tactile, pas de libellé qui glisse : le premier toucher le
   déclencherait au lieu d'ouvrir le lien. */
@media (hover: none) {
  .sl__b { display: none; }
  .btn:hover .sl__a { transform: none; }
}

.lnk {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-size: 14px; letter-spacing: .5px;
  margin-top: 20px; position: relative;
}
.lnk::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .4s var(--soft);
}
.lnk:hover::after { transform: scaleX(1); }
.arw { display: inline-block; transition: transform .3s var(--out); }
.lnk:hover .arw, .pill__cta:hover .arw { transform: translate(2px, -2px); }

.row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Curseur & jauge ---------- */

.cursor {
  position: fixed; top: 0; left: 0;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  pointer-events: none; z-index: 90;
  opacity: 0;
  transition: opacity .3s, transform .18s var(--out);
  mix-blend-mode: difference;
}

.rail {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 80; pointer-events: none;
}
.rail i {
  display: block; height: 100%; width: 100%;
  background: var(--accent);
  transform: scaleX(0); transform-origin: 0 50%;
}

/* ---------- Navigation ---------- */

.nav { position: fixed; inset: 0 0 auto 0; z-index: 70; transition: transform .45s var(--out); }
/* Au défilement, une bande sombre et floutée passe derrière l'en-tête :
   le logo reste net et le texte de la page ne se mélange plus avec lui. */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(8, 7, 6, .74);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
  opacity: 0; transition: opacity .4s var(--out);
}
.nav.is-stuck::before { opacity: 1; }

.nav__bar {
  max-width: var(--max);
  margin-inline: auto;
  padding: 18px var(--gut);
  display: flex;
  align-items: center;
  gap: 20px;
}

.mark { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.mark__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: beat 3.2s var(--out) infinite;
}
@keyframes beat {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 113, 18,.35); }
  50%      { box-shadow: 0 0 0 7px rgba(255, 113, 18,0); }
}
.mark__ico { width: 38px; height: 38px; color: var(--accent); flex: none; }
.mark__words { display: flex; flex-direction: column; gap: 5px; line-height: 1; }
.mark__txt {
  font-family: var(--sans);
  font-size: 15px; font-weight: 500; letter-spacing: 4px;
  color: var(--chalk);
}
.mark__txt span { color: var(--accent); font-weight: 400; }
.mark__sub {
  font-family: var(--sans);
  font-size: 9.5px; font-weight: 400; letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--ash);
}

.seal { display: block; width: 132px; flex: none; }
.seal svg { display: block; width: 100%; height: auto; }
.seal--v2 { width: 200px; }
.mark__logo { display: block; height: 32px; width: auto; }
.mark__txt span::before { content: " "; }

.pill {
  margin-inline: auto;
  display: flex; align-items: center; gap: 30px;
  padding: 11px 22px;
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  background: rgba(10, 12, 9, .55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color .4s var(--out), background-color .4s var(--out);
}
.nav.is-stuck .pill { border-color: #332C25; background: rgba(10, 12, 9, .82); }
.pill a { position: relative; font-size: 14px; letter-spacing: .5px; color: var(--chalk); padding-block: 2px; }
.pill a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .4s var(--soft);
}
.pill a:hover::after, .pill a.is-on::after { transform: scaleX(1); }
.pill a.is-on { color: var(--accent); }
.pill a.is-here { color: var(--accent); }
.pill a.is-here::after { transform: scaleX(1); }
/* Pictogramme maison : repère de retour à l'accueil pour qui n'a pas
   le réflexe de cliquer sur le logo. */
.pill__home { display: inline-flex; align-items: center; margin-right: -8px; }
.pill__home svg { display: block; width: 17px; height: 17px; }
.pill__home::after { bottom: -5px; }
.pill__cta { color: var(--accent) !important; }

.nav__end { flex: none; }
/* Bouton WhatsApp : icône + libellé ; sur mobile, l'icône seule à côté du menu */
.nav__wa { gap: 9px; }
.nav__wa .wa { width: 17px; height: 17px; flex: none; color: var(--accent); }

.burger {
  display: none; margin-left: auto;
  width: 44px; height: 44px; flex: none;
  border: 1px solid var(--hairline); border-radius: var(--r);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer; background: rgba(10,12,9,.6);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.burger span { display: block; width: 16px; height: 1px; background: var(--accent); transition: transform .3s var(--out); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { transform: translateY(-3px) rotate(-45deg); }

.drawer {
  margin: 0 var(--gut);
  padding: 20px 22px 24px;
  border: 1px solid var(--hairline); border-radius: var(--r);
  background: rgba(8, 10, 7, .94);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  display: flex; flex-direction: column; gap: 14px;
}
.drawer a { font-size: 19px; color: var(--chalk); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 92svh;
  display: flex; align-items: center;
  padding-block: 150px 90px;
  overflow: hidden;
  background: radial-gradient(58% 52% at 12% 6%, var(--ember-1) 0%, var(--void) 58%);
}
.hero__in {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) 440px;
  gap: 56px; align-items: center;
}
.hero__txt { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.hero .lead { margin-top: -4px; }

/* ---------- Cerveau animé ---------- */

.hero__art { justify-self: end; width: 100%; max-width: 460px; }
.nk { display: block; width: 100%; height: auto; overflow: visible; }

/* maillage : constellation discrète entre les nœuds */
.nk__e line { stroke: var(--accent); stroke-width: .6; stroke-opacity: .28; }

/* contour et circonvolutions : ce sont eux qui font lire un cerveau */
.nk__g path {
  fill: none; stroke: var(--accent); stroke-opacity: .92;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
/* cervelet et tronc : traits fins */
.nk__b path {
  fill: none; stroke: var(--accent); stroke-opacity: .6;
  stroke-width: .7; stroke-linecap: round;
}

/* petits nœuds : allumage désynchronisé */
.nk__n circle {
  fill: var(--accent); fill-opacity: .8;
  animation: fire 3.4s var(--out) infinite; animation-delay: var(--t, 0s);
}
/* nœuds actifs : points blancs chauds qui pulsent */
.nk__h circle {
  fill: #FFE8D6;
  filter: drop-shadow(0 0 4px rgba(255, 113, 18, 1)) drop-shadow(0 0 10px rgba(255, 113, 18, .7));
  transform-box: fill-box; transform-origin: 50% 50%;
  animation: beat 3.8s var(--out) infinite; animation-delay: var(--t, 0s);
}
@keyframes fire {
  0%, 72%, 100% { opacity: .55; }
  18%           { opacity: 1; filter: drop-shadow(0 0 6px rgba(255, 113, 18, .95)); }
}
@keyframes beat {
  0%, 70%, 100% { transform: scale(1); opacity: .85; }
  20%           { transform: scale(1.45); opacity: 1; }
}

/* halos de propagation */
.nk__r circle {
  fill: none; stroke: var(--accent); stroke-width: 1; stroke-opacity: .5;
  transform-box: fill-box; transform-origin: 50% 50%;
  animation: halo 4s var(--out) infinite; animation-delay: var(--t, 0s);
}
@keyframes halo {
  0%        { transform: scale(.35); stroke-opacity: .7; }
  70%, 100% { transform: scale(1.3); stroke-opacity: 0; }
}

/* impulsions : un signal parcourt une circonvolution d'un bout à l'autre */
.nk__c .ch {
  fill: none; stroke: #FFB177; stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 12 88; stroke-dashoffset: 100;
  filter: drop-shadow(0 0 5px rgba(255, 113, 18, .85));
  animation: run var(--d) linear infinite; animation-delay: var(--t);
}
@keyframes run {
  0%   { stroke-dashoffset: 100; opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { stroke-dashoffset: -12; opacity: 0; }
}
.nk__c .sg {
  fill: #FFE8D2; offset-distance: 0%;
  filter: drop-shadow(0 0 7px rgba(255, 113, 18, 1));
  animation: travel var(--d) linear infinite; animation-delay: var(--t);
}
@keyframes travel {
  0%   { offset-distance: 0%;   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

.stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }

/* Orbes coniques floutées : la seule source de couleur vive du fond */
.orb {
  position: absolute; z-index: 1; border-radius: 50%; pointer-events: none;
  will-change: transform;
}
.orb--1 {
  width: 460px; height: 460px; top: -14%; right: 4%;
  background: conic-gradient(from 0deg, #FF7112, #B8521F, #3D1E0E, #FF7112);
  filter: blur(80px); opacity: .30;
  animation: spin 26s linear infinite;
}
.orb--2 {
  width: 320px; height: 320px; top: 42%; right: 24%;
  background: conic-gradient(from 90deg, #FFCB96, #7A3410, #FF7112);
  filter: blur(64px); opacity: .18;
  animation: spin 34s linear infinite reverse;
}
.orb--3 {
  width: 540px; height: 540px; bottom: -24%; left: -8%;
  background: conic-gradient(from 200deg, #4A2A1B, #FF7112, #1F0F0B);
  filter: blur(96px); opacity: .16;
  animation: spin 44s linear infinite;
}
.orb--4 {
  width: 520px; height: 520px; bottom: -30%; right: -6%;
  background: conic-gradient(from 40deg, #FF7112, #6B2F16, #170D0A);
  filter: blur(92px); opacity: .17;
  animation: spin 38s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Bandeau « registre » du hero */
.strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline);
  margin-top: 24px;
}
.strip li {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 20px 0 0;
  border-left: 1px solid var(--hairline);
  padding-left: 20px;
}
.strip li:first-child { border-left: 0; padding-left: 0; }
.strip span {
  font-family: var(--mono); font-size: 11px; letter-spacing: 1.2px;
  text-transform: uppercase; color: #928B80;
}
.strip b { font-weight: 400; font-size: 14px; color: var(--chalk); letter-spacing: .3px; }

/* ---------- Déclaration : texte qui se remplit au scroll ---------- */

.statement { overflow: hidden; }
/* la déclaration se termine par le bandeau défilant : on resserre le bas */
.sec--a.statement { padding-bottom: clamp(28px, 3vw, 44px); }
.sec--a.statement + .sec { padding-top: clamp(36px, 3.6vw, 56px); }

.wipe { font-weight: 400; }
.wl {
  position: relative; display: block; white-space: nowrap;
  font-size: clamp(21px, 6vw, 84px);   /* la plus longue ligne tient sur un écran de 320 px */
  line-height: 1.18;
  letter-spacing: -.4px;
}
.wl__b { color: var(--dim); }
.wl__f {
  position: absolute; top: 0; left: 0;
  width: 100%;                    /* lisible sans JS */
  overflow: hidden; white-space: nowrap;
  color: var(--chalk);
}
.wl__f--accent { color: var(--accent); }

.statement__p { max-width: 54ch; margin-top: 34px; }
.statement__p + .statement__p { margin-top: 1.4em; }

.statement__cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  margin-top: 40px;
}
.statement__n { font-size: 13px; color: #928B80; }

/* ---------- Bandeau défilant ---------- */

.tick {
  margin-top: 48px; overflow: hidden;
  border-block: 1px solid var(--hairline);
  padding-block: 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.tick__t { display: flex; align-items: center; gap: 28px; width: max-content; will-change: transform; }
.tick__t span { font-size: clamp(18px, 2.4vw, 30px); color: #98917F; white-space: nowrap; letter-spacing: -.2px; }
.tick__t i { font-style: normal; color: var(--accent); opacity: .55; }

/* ---------- Cartes ---------- */

.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 34px;
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  background: radial-gradient(120% 110% at 8% 100%, #171009 0%, var(--soot) 62%);
  overflow: hidden;
  transition: border-color .45s var(--out), transform .45s var(--soft);
}
.card:hover { border-color: #39322A; }
.card > *:not(.grain) { position: relative; z-index: 1; }

.card__t {
  font-size: clamp(22px, 2.3vw, 33px);
  line-height: 1.25; letter-spacing: -.005em; font-weight: 400;
  color: var(--chalk);
  margin-top: 34px;
}
.card__t b { font-weight: 400; color: var(--accent); }
.card__p { margin-top: 12px; max-width: 46ch; }

.mini {
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--hairline);
  display: flex; flex-direction: column; gap: 9px;
}
.mini li { position: relative; padding-left: 18px; font-size: 14px; color: #ADA79C; }
.mini li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .8;
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.steps .card:nth-child(4) { grid-column: span 1; }

/* Étapes numérotées : titre en tête, widget sous le texte. */
.steps--n { grid-template-columns: repeat(3, 1fr); }
.steps--n .card__t { margin-top: 0; }
.steps--n .card__p + .card__p { margin-top: 12px; }
.card--end { background: radial-gradient(120% 110% at 100% 0%, #231708 0%, var(--soot) 66%); }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.duo  { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 56px; }
/* Deux cartes posées sur la trame de trois de la section du dessus :
   la première occupe deux colonnes, les bords se lisent alignés. */
.duo--n3 { grid-template-columns: repeat(3, 1fr); }
.duo--n3 > .card:first-child { grid-column: span 2; }
.duo--one { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }

/* Repère de financement, en regard de la carte */
.fin {
  display: flex; flex-direction: column; gap: 12px;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--accent-edge); border-radius: var(--r);
  background: radial-gradient(120% 140% at 0% 0%, #1E1309 0%, var(--soot) 64%);
}
.fin__k {
  margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--accent);
}
.fin__b {
  margin: 0; font-weight: 300; font-size: clamp(46px, 5.4vw, 76px); line-height: 1;
  letter-spacing: -2px; color: var(--chalk);
}
.fin__r { width: 100%; height: 1px; margin: 6px 0; border: 0; background: var(--hairline); }
.fin__t {
  margin: 0; font-size: clamp(19px, 1.9vw, 24px); font-weight: 400;
  letter-spacing: -.3px; color: var(--chalk);
}
.fin__x { margin: 0; font-size: 15px; line-height: 1.55; color: #ADA79C; }
.fin__x b { font-weight: 400; color: var(--chalk); }
.fin__n { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--accent); }
.hl { font-style: normal; color: var(--accent); }
.duo--one .card .fin__k { margin-bottom: 4px; }
.duo .card__t { margin-top: 14px; }
.duo .card__t em { font-style: normal; color: var(--accent); }
.duo .lnk { margin-top: auto; padding-top: 28px; align-self: flex-start; }
.duo .mini { margin-bottom: 0; }
.duo__k { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: #B8B2A8; }

.duo__cta { align-self: flex-start; margin-top: 26px; }

/* accroche en lignes courtes, une idée par ligne */
.punch { margin-top: 44px; display: flex; flex-direction: column; gap: 18px; }
.punch__l { max-width: 46ch; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--ash); }
.punch__l--big {
  font-size: clamp(22px, 2.4vw, 32px); line-height: 1.35; letter-spacing: -.4px;
  color: var(--chalk); margin-top: 10px;
}
.punch__l--accent { color: var(--accent); font-size: clamp(18px, 1.7vw, 22px); }

/* Seul dans sa section, le bloc declaratif prend la place qu'il merite. */
.statement .punch__l--big { font-size: clamp(26px, 3.2vw, 34px); }
.statement .punch__l--accent { font-size: clamp(19px, 2.2vw, 24px); }

/* ---------- Chiffres qui défilent ---------- */

.roll { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.h-sec .roll { color: inherit; }

/* ---------- Battement des appels à l'action ---------- */

.btn--accent {
  animation: heartbeat 3.4s var(--out) infinite;
  transform-origin: 50% 50%;
}
.btn--accent:hover, .btn--accent:focus-visible { animation-play-state: paused; }
@keyframes heartbeat {
  0%, 26%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 113, 18, 0); }
  6%            { transform: scale(1.035); box-shadow: 0 0 0 6px rgba(255, 113, 18, .12); }
  12%           { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 113, 18, 0); }
  18%           { transform: scale(1.022); box-shadow: 0 0 0 4px rgba(255, 113, 18, .08); }
}

/* ---------- Photo en regard du bloc d'accroche ---------- */

.punchw {
  margin-top: 44px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
.punchw .punch { margin-top: 0; }
.punch__f { margin: 0; }
.punch__f img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 40%;
  border-radius: 4px; border: 1px solid var(--hairline);
  filter: grayscale(.22) contrast(1.03) brightness(.88);
  transition: filter .5s var(--out);
}
.punch__f img:hover { filter: grayscale(0) contrast(1.03) brightness(.96); }

/* ---------- Mur de logos clients ---------- */

.refs__w {
  margin-top: 48px; list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.refs__i {
  position: relative; overflow: hidden;
  background: #FFFFFF; border-radius: 10px;
  aspect-ratio: 16 / 10;
  display: flex; align-items: center; justify-content: center;
  padding: 22px 26px;
  transition: transform .4s var(--soft), box-shadow .4s var(--out);
}
.refs__i:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0, 0, 0, .45); }
.refs__i img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: contain;
}
/* logos livrés avec leur propre pavé de couleur : réduits pour peser autant que les autres */
.refs__i--solid { padding: 26px 34px; }
.refs__i--solid img { border-radius: 4px; }


/* ---------- Widgets des étapes ---------- */

.widget {
  border: 1px solid var(--hairline); border-radius: 8px;
  background: rgba(6, 8, 5, .5);
  padding: 20px; min-height: 168px;
  display: flex; flex-direction: column; justify-content: center;
}

.check { display: flex; flex-direction: column; gap: 13px; }
.check li {
  display: flex; align-items: center; gap: 11px;
  font-size: 13px; color: #ADA79C;
  opacity: .32; transition: opacity .5s var(--out), color .5s var(--out);
}
.check li i {
  width: 15px; height: 15px; flex: none; border-radius: 4px;
  border: 1px solid #393228; position: relative;
  transition: background-color .4s var(--out), border-color .4s var(--out);
}
.check li i::after {
  content: ""; position: absolute; left: 4px; top: 1px;
  width: 4px; height: 8px;
  border-right: 1.5px solid var(--void); border-bottom: 1.5px solid var(--void);
  transform: rotate(42deg) scale(0); transform-origin: center;
  transition: transform .3s var(--soft);
}
.check li.on { opacity: 1; color: #C7C1B6; }
.check li.on i { background: var(--accent); border-color: var(--accent); }
.check li.on i::after { transform: rotate(42deg) scale(1); }

.bars { display: flex; flex-direction: column; gap: 17px; }
.bar span { display: block; font-size: 12px; color: #A39D92; margin-bottom: 8px; letter-spacing: .4px; }
.bar__t { height: 16px; border: 1px solid var(--accent-edge); border-radius: 999px; overflow: hidden; }
.bar__t i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, rgba(255, 113, 18,0) 0%, var(--accent) 100%);
  border-radius: 999px;
  transition: width 1.3s var(--soft);
}

.term { font-size: 12px; }
.term__top { display: flex; align-items: center; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--hairline); }
.term__top i { width: 7px; height: 7px; border-radius: 50%; background: #312A22; }
.term__top i:first-child { background: var(--accent); opacity: .7; }
.term__top span { margin-left: auto; font-size: 11px; color: #928B80; }
.term pre {
  margin-top: 12px; font-size: 11.5px; line-height: 1.85; color: #ADA79C;
  white-space: pre-wrap; word-break: break-word;
}

.mods { display: flex; flex-direction: column; gap: 9px; }
.mod {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 13px; border: 1px solid var(--hairline); border-radius: 8px;
  transition: border-color .4s var(--out), background-color .4s var(--out);
}
.mod__i { font-size: 11px; color: #928B80; }
.mod b { display: block; font-weight: 400; font-size: 13px; color: #C7C1B6; }
.mod span { font-size: 11.5px; color: #A39D92; }
.mod--on { border-color: var(--accent-edge); background: var(--ember-2); }
.mod--on .mod__i, .mod--on b { color: var(--accent); }

.widget--pulse { align-items: center; }
.pulse { position: relative; width: 132px; height: 132px; display: grid; place-items: center; }
.pulse i {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid var(--accent-edge);
  animation: ping 3.4s var(--out) infinite;
  opacity: 0;
}
.pulse i:nth-child(2) { animation-delay: 1.13s; }
.pulse i:nth-child(3) { animation-delay: 2.26s; }
.pulse__c { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
@keyframes ping {
  0%   { transform: scale(.22); opacity: .9; }
  100% { transform: scale(1);   opacity: 0; }
}

/* ---------- Listes dépliables ---------- */

.list { margin-top: 52px; border-top: 1px solid var(--hairline); }
.item { border-bottom: 1px solid var(--hairline); }

.item__h {
  position: relative; width: 100%;
  display: grid;
  grid-template-columns: 86px 1fr auto 24px;
  align-items: center; gap: 20px;
  padding: 26px 0; text-align: left; cursor: pointer;
}
.item__y { font-size: 12px; color: var(--accent); letter-spacing: .6px; }
.item__t {
  font-size: clamp(17px, 1.9vw, 26px); line-height: 1.32; letter-spacing: .2px;
  color: var(--chalk); transition: color .3s var(--out);
}
.item__m { font-size: 12px; color: #928B80; }
.item__x { font-size: 18px; color: var(--accent); transition: transform .4s var(--soft); justify-self: end; }
.item__h[aria-expanded="true"] .item__x { transform: rotate(135deg); }
.item__h:hover .item__t { color: var(--accent); }

/* La ligne verte qui se déploie depuis la gauche */
.item__line {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .55s var(--soft);
}
.item__h:hover .item__line,
.item__h[aria-expanded="true"] .item__line { transform: scaleX(1); }

/* Sans JavaScript, tout est déplié : le contenu reste lisible. */
.js .item__p { overflow: hidden; height: 0; transition: height .45s var(--soft); }
.item__in {
  padding: 28px 0 38px;
  display: flex; flex-direction: column; gap: 26px;
}
/* La mesure de lecture s'applique aux paragraphes, pas aux blocs en colonnes. */
.item__in > p { max-width: 68ch; }
.js .item__in {
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s var(--out) .05s, transform .4s var(--out) .05s;
}
.js .item.is-open .item__in { opacity: 1; transform: none; }

.spec { display: grid; grid-template-columns: repeat(4, auto); gap: 26px; justify-content: start; }
.spec div { display: flex; flex-direction: column; gap: 5px; }
.spec dt { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: #928B80; }
.spec dd { font-size: 14px; color: var(--chalk); }

/* « Pour qui ? » : cinquième colonne des caractéristiques, plus large */
.spec--w { grid-template-columns: auto auto auto auto minmax(0, 1fr); gap: 26px 40px; align-items: start; }
.spec__w dt { color: var(--accent); }
.spec__w dd { margin: 0; display: flex; flex-direction: column; gap: 3px; }
.spec__w dd + dd { margin-top: 12px; }
.spec__w b { font-weight: 500; color: var(--chalk); }
.spec__w span { font-size: 14px; line-height: 1.45; color: #ADA79C; }

.note {
  margin-top: 34px; padding: 22px 24px;
  border: 1px solid var(--hairline); border-radius: var(--r);
  background: rgba(12, 15, 10, .6);
  font-size: 14px; max-width: 72ch;
}
.note b { color: var(--accent); font-weight: 400; }

/* ---------- Résultats ---------- */

.nums {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
  margin-top: 56px; padding-top: 44px; border-top: 1px solid var(--hairline);
}
.num { display: flex; flex-direction: column; gap: 12px; }
.num b {
  font-weight: 300; font-size: clamp(38px, 5vw, 68px); line-height: 1;
  color: var(--chalk); letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}
.num > span { font-size: 13.5px; color: #A39D92; max-width: 22ch; }

/* Bandeau de repères autonome : pas de filet ni de marge héritée */
.nums--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0; padding-top: 0; border-top: 0;
  gap: clamp(26px, 3.4vw, 56px);
}
.nums--3 .num > span { max-width: 30ch; }

/* ---------- Pédagogie ---------- */

.peda {
  list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 3.2vw, 48px);
}
.peda__i {
  display: flex; flex-direction: column; gap: 14px;
  padding-top: 24px; border-top: 1px solid var(--hairline);
}
.peda__n { margin: 0; font-size: 12px; letter-spacing: .1em; color: var(--accent); }
.peda__t {
  margin: 0; font-size: clamp(20px, 2vw, 26px); font-weight: 400;
  letter-spacing: -.2px; color: var(--chalk);
}
.peda__x { margin: 0; font-size: 15px; line-height: 1.55; color: #ADA79C; }

.case {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 46px; margin-top: 58px;
  padding: 34px; border: 1px solid var(--hairline); border-radius: var(--r);
  background: radial-gradient(110% 130% at 0% 0%, #171009 0%, var(--soot) 60%);
}
.case__l { display: flex; flex-direction: column; gap: 18px; }
.case__fn { font-size: 12.5px; color: #928B80; }

.kpi { display: flex; flex-direction: column; }
.kpi div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  padding-block: 17px; border-top: 1px solid var(--hairline);
}
.kpi div:first-child { border-top: 0; padding-top: 0; }
.kpi dt { font-size: 13.5px; color: #A39D92; }
.kpi dd { font-size: 19px; color: var(--chalk); display: flex; align-items: baseline; gap: 9px; }
.kpi .was { color: #928B80; text-decoration: line-through; }
.kpi .now { color: var(--accent); }
.kpi i { font-style: normal; color: #453B30; }
.kpi__s { font-size: 13px; color: #A39D92; }

/* ---------- Contact ---------- */

.contact { overflow: hidden; }
.contact__in {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 64px; align-items: start;
}
.contact__l { display: flex; flex-direction: column; gap: 18px; }
.contact__n { font-size: 13px; color: #928B80; }

/* Page Contact : la section unique reprend le lavis et le retrait des en-tetes. */
.contact--top {
  padding-block: 168px 72px;
  background: radial-gradient(58% 60% at 14% 10%, var(--ember-1) 0%, var(--void) 62%);
}
.contact--top .contact__l { gap: 22px; }
/* Le titre partage la largeur avec le formulaire : il se cale un cran plus bas. */
.contact--top .h-hero { font-size: clamp(38px, 4.8vw, 66px); }
.contact--top .lead { max-width: 46ch; }
.contact--top .mail { margin-top: 10px; }

@media (max-width: 860px) {
  .contact--top { padding-block: 132px 56px; }
}

.mail {
  position: relative; align-self: flex-start; margin-top: 12px;
  font-size: clamp(20px, 3vw, 40px); line-height: 1.2; letter-spacing: -.4px;
  color: var(--chalk); word-break: break-word;
}
.mail__at { color: var(--accent); }
.mail i {
  position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .6s var(--soft);
}
.mail:hover i { transform: scaleX(1); }

.form {
  position: relative;
  padding: 30px; border: 1px solid var(--hairline); border-radius: var(--r);
  background: radial-gradient(120% 120% at 100% 0%, #1A1209 0%, var(--soot) 60%);
  display: flex; flex-direction: column; gap: 16px;
  overflow: hidden;
}
.form > *:not(.grain) { position: relative; z-index: 1; }
.f { display: flex; flex-direction: column; gap: 7px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f label { font-family: var(--mono); font-size: 11px; letter-spacing: 1.1px; text-transform: uppercase; color: #A39D92; }
.f input, .f textarea {
  font-family: var(--sans); font-size: 14.5px; letter-spacing: .3px;
  color: var(--chalk);
  background: rgba(6, 8, 5, .6);
  border: 1px solid var(--hairline); border-radius: 8px;
  padding: 12px 14px; width: 100%; resize: vertical;
  transition: border-color .3s var(--out), background-color .3s var(--out);
}
.f input::placeholder, .f textarea::placeholder { color: #6F675C; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--accent-edge); background: rgba(6, 8, 5, .9); }
.form .btn { margin-top: 4px; }
.form__n { font-size: 12px; color: #928B80; }

/* ---------- Pied de page ---------- */

.foot { padding-block: 60px 44px; border-top: 1px solid var(--hairline); background: var(--void); }
.foot__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 22px; }
.foot__nav a { font-size: 13.5px; color: #A39D92; transition: color .25s var(--out); }
.foot__nav a:hover { color: var(--accent); }
.foot__line { height: 1px; background: var(--hairline); margin-block: 34px; }
.foot__bot { display: flex; justify-content: center; }
.foot__bot p { margin: 0; font-size: 12.5px; color: var(--ink-4); }

/* ---------- Qui je suis ---------- */

.about {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);   /* photo discrète : le texte prime */
  gap: 56px; align-items: start; margin-top: 56px;
}
.about__t { display: flex; flex-direction: column; gap: 18px; }
.about__t strong { font-weight: 400; color: var(--chalk); }

.facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 28px;
  margin-top: 14px; padding-top: 26px; border-top: 1px solid var(--hairline);
}
.facts div { display: flex; flex-direction: column; gap: 6px; }
.facts dt { font-size: clamp(22px, 2vw, 28px); line-height: 1; color: var(--accent); }
.facts dd { font-size: 13px; line-height: 1.45; color: #A39D92; max-width: 22ch; }

/* ---------- Emplacements photo ----------
   L'image se pose au-dessus du brief. Si le fichier manque, app.js la
   retire et le brief redevient visible. */

.shot {
  position: relative; overflow: hidden;
  border: 1px solid var(--hairline); border-radius: var(--r);
  background: radial-gradient(120% 120% at 20% 0%, var(--ember-1) 0%, var(--soot) 70%);
}
.shot img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.shot--portrait { aspect-ratio: 4 / 5; }
.shot--wide { aspect-ratio: 16 / 10; }
.shot--band { aspect-ratio: 2 / 1; margin-top: 44px; }
.shot--band img { object-position: 50% 38%; }
/* Photo glissée dans une carte : même traitement que les vignettes,
   marge haute pour la décoller du texte. */
.card__f { margin: 20px 0 0; }
.card__f img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover;
  border: 1px solid var(--hairline); border-radius: calc(var(--r) - 6px);
}

.shot__brief {
  position: absolute; inset: 0; z-index: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 11px;
  padding: 26px;
}
.shot__brief b {
  font-family: var(--mono); font-weight: 400; font-size: 11px;
  letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent);
}
.shot__brief span { font-size: 13px; line-height: 1.5; color: #A39D92; max-width: 36ch; }
.shot__brief code {
  align-self: flex-start; font-size: 11px; color: #B8B2A8;
  border: 1px dashed #332C25; border-radius: 4px; padding: 5px 9px;
}

/* ---------- Avant / après ---------- */

.ba { display: flex; flex-direction: column; gap: 9px; }
.ba__r {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 13px 15px; border: 1px solid var(--hairline); border-radius: 8px;
}
.ba__r span { font-size: 13px; color: #A39D92; }
.ba__r b { font-weight: 400; font-size: 17px; color: #ADA79C; }
.ba__was { text-decoration: line-through; }
.ba__r--now { border-color: var(--accent-edge); background: var(--ember-2); }
.ba__r--now b { color: var(--accent); }
.ba__n { font-size: 10.5px; color: #928B80; }

/* ---------- Citation ---------- */

.quote { display: flex; flex-direction: column; gap: 32px; }
.quote p {
  font-size: clamp(21px, 3.1vw, 42px); line-height: 1.3; letter-spacing: -.3px;
  color: var(--chalk); max-width: 26ch;
}
.quote__by {
  display: flex; flex-direction: column; gap: 6px;
  padding-top: 22px; border-top: 1px solid var(--hairline); max-width: 460px;
}
.quote__n { font-size: 14px; color: var(--ash); }
.quote__w { font-size: 11px; color: var(--accent); opacity: .8; }

/* ---------- Canaux de contact ---------- */

.chan { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.chan__b {
  display: flex; align-items: center; gap: 13px;
  padding: 12px 18px 12px 14px;
  border: 1px solid var(--hairline); border-radius: 10px;
  transition: border-color .3s var(--out), background-color .3s var(--out), transform .3s var(--out);
}
.chan__b:hover { border-color: var(--accent-edge); background: var(--accent-glow); transform: translateY(-2px); }
.chan__ic {
  flex: none; width: 34px; height: 34px; border-radius: 8px;
  display: grid; place-items: center;
}
.chan__ic svg { width: 19px; height: 19px; display: block; }
.chan__ic--tel { background: rgba(255, 113, 18, .12); color: var(--accent); }
.chan__ic--wa  { background: #25D366; color: #FFFFFF; }
.chan__ic--li  { background: #0A66C2; color: #FFFFFF; }
.chan__t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.chan__k { font-size: 10.5px; letter-spacing: 1.2px; text-transform: uppercase; color: #928B80; }
.chan__v { font-size: 15px; color: var(--chalk); }


/* ============================================================
   MOUVEMENT
   Les états de départ n'existent que si le JS a pris la main.
   ============================================================ */

.js .up { opacity: 0; transform: perspective(1200px) translateY(64px); }
.js .up[data-dir="left"]  { transform: perspective(1200px) translateX(-72px); }
.js .up[data-dir="right"] { transform: perspective(1200px) translateX(72px); }
.js .up[data-dir="up"]    { transform: perspective(1200px) translateY(96px); }

.js .up.is-in {
  opacity: 1; transform: none;
  transition: opacity .8s var(--out), transform .95s var(--soft);
  transition-delay: calc(var(--d, 0) * 90ms);
}

@media (prefers-reduced-motion: reduce) {
  .btn--accent { animation: none; }
  .nav, .nav::before { transition: none; }
  .nk__n circle, .nk__h circle { animation: none; }
  /* sans mouvement, la silhouette et les circonvolutions suffisent à la lecture */
  .nk__r, .nk__c { display: none; }
  html { scroll-behavior: auto; }
  .js .up, .js .up.is-in { opacity: 1; transform: none; transition: none; }
  .wl__f { width: 100% !important; }
  .orb, .mark__dot, .pulse i { animation: none !important; }
  .tick__t { transform: none !important; }
  .check li { opacity: 1; color: #C7C1B6; }
  .check li i { background: var(--accent); border-color: var(--accent); }
  .check li i::after { transform: rotate(42deg) scale(1); }
  .bar__t i { transition: none; }
  .cursor { display: none; }
}


/* ============================================================
   HARMONISATION
   Un seul passage, en fin de feuille : toutes les tailles, toutes
   les couleurs de texte et tous les écarts sont ramenés aux jetons
   déclarés dans :root. Modifier le jeton, pas la règle.
   ============================================================ */

/* ---- Titres ---- */
.h-hero { font-size: var(--t-h1); }
.h-sec  { font-size: var(--t-h2); }

.card__t, .item__t, .peda__t, .legal__t, .fin__t {
  font-size: var(--t-h3);
  line-height: 1.25;
  letter-spacing: -.2px;
  font-weight: 400;
  color: var(--chalk);
}
.tj__t, .zone__l dt {
  font-size: var(--t-h4);
  line-height: 1.3;
  letter-spacing: -.1px;
  font-weight: 500;
  color: var(--chalk);
}

/* ---- Repères ---- */
.label, .fin__k, .zone__k, .peda__n, .tj__n, .spec dt, .legal__d dt {
  font-family: var(--mono);
  font-size: var(--t-kicker);
  font-weight: 400;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--k, .label--big { font-size: var(--t-sign); letter-spacing: .09em; line-height: 1.2; }

/* Le sur-titre appartient au H1 : les mots-cles de la page doivent etre dans le
   titre principal, pas dans un paragraphe voisin. L'apparence est inchangee,
   les marges reprennent exactement les ecarts que le flex du parent donnait. */
.h-hero .eyebrow {
  display: block;
  font-weight: 400;
  text-transform: none;
  text-wrap: pretty;
}
.h-hero .eyebrow:not(.eyebrow--k) {
  font-family: var(--sans);
  font-size: var(--t-small);
  line-height: 1.45;
  letter-spacing: .5px;
  color: var(--ash);
  margin-bottom: var(--s-head);
  max-width: 56ch;
}
/* Le grand libelle de page reste colle a sa ligne de mots-cles. */
.h-hero .eyebrow--k {
  font-family: var(--mono);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.label--mid { font-size: var(--t-h4); letter-spacing: .06em; line-height: 1.35; }
/* L'année de la frise est une donnée, pas une étiquette : un cran au-dessus. */
.tj--y .tj__n { font-size: 15px; letter-spacing: .08em; }

/* ---- Texte courant ---- */
.lead, .punch__l { font-size: var(--t-lead); line-height: 1.55; color: var(--ink-2); }
.card__p, .legal p, .legal__d dd, .convic p, .srv__n, .peda__x, .fin__x, .tj__x,
.zone__l dd, .mini li, .num > span, .eng__x {
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--ink-3);
}
.num > span, .tj__x, .mini li { font-size: var(--t-small); line-height: 1.6; }
.contact__n, .form__n, .legal__u { font-size: var(--t-small); color: var(--ink-4); }
.num b { font-size: var(--t-num); }

/* ---- Rythme vertical ---- */
.sec { padding-block: var(--s-sec); }
.sec--thin { padding-block: var(--s-thin); }
.head { gap: var(--s-head); }
.head__p { margin-top: 0; }

.steps, .duo, .nums, .peda, .tj, .list, .spec, .punch, .convic, .tj__f {
  margin-top: var(--s-block);
}
.steps, .duo, .nums, .peda, .trio, .case, .zone__l, .legal__d { gap: var(--s-gap); }
.nums--3 { margin-top: 0; gap: var(--s-gap); }
.nums { padding-top: var(--s-block); }
.card__p + .card__p, .legal p + p, .convic p + p, .peda__x + .peda__x,
.fin__x + .fin__x { margin-top: 0; }
.card__p { margin-top: var(--s-para); }
.card__t { margin-top: var(--s-para); }
.legal__s { gap: var(--s-para); }
.legal { gap: var(--s-block); }
.item__in { padding: var(--s-para) 0 var(--s-block); gap: var(--s-gap); }
.faq__top .shell, .page__top .shell { gap: var(--s-head); }

/* Les boutons de deux cartes voisines s'alignent, quelle que soit la longueur du texte.
   margin-top auto pousse le bouton en bas ; l'ecart minimal vient du bloc precedent. */
.duo__cta { margin-top: auto; }
.duo .mini, .duo .card__p:last-of-type { margin-bottom: var(--s-block); }
.card .lnk { margin-top: auto; padding-top: var(--s-block); }

/* ============================================================
   ADAPTATIF
   ============================================================ */

@media (max-width: 1180px) {
  .pill { display: none; }
  .hero__in { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
  .nav__end { margin-left: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps--3 { grid-template-columns: repeat(2, 1fr); }
  .steps--n { grid-template-columns: repeat(2, 1fr); }
  .duo--n3 { grid-template-columns: repeat(2, 1fr); }
  .duo--n3 > .card:first-child { grid-column: auto; }
  .trio  { grid-template-columns: repeat(2, 1fr); }
  .refs__w { grid-template-columns: repeat(3, 1fr); }
  .contact__in { grid-template-columns: 1fr; gap: 48px; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .shot--portrait { max-width: 220px; }   /* proportions conservées, taille bornée */
}

@media (max-width: 900px) {
  .punchw { grid-template-columns: 1fr; gap: 26px; }


  .nav.is-hidden { transform: translateY(-100%); }
  :root { --gut: 24px; }
  .hero__in { grid-template-columns: 1fr; gap: 40px; }
  .hero__art { justify-self: center; max-width: 380px; }
  .steps--3, .steps--n { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .duo--n3 { grid-template-columns: 1fr; }
  /* réduit à l'icône : pastille orange, seul repère disponible sur mobile */
  .nav__wa { width: 44px; height: 44px; padding: 0; background: var(--accent); border-color: var(--accent); }
  .nav__wa:hover { background: #FF8F3D; border-color: #FF8F3D; }
  .nav__wa .sl { display: none; }
  .nav__wa .wa { width: 21px; height: 21px; color: #120B05; }
  .burger { display: flex; margin-left: 10px; }
  .nums { grid-template-columns: repeat(2, 1fr); }
  .nums--3, .peda { grid-template-columns: 1fr; }
  .case { grid-template-columns: 1fr; gap: 32px; }
  .spec { grid-template-columns: repeat(2, 1fr); }
  .spec--w { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .spec__w { grid-column: 1 / -1; }
  .item__h { grid-template-columns: 1fr 24px; gap: 10px 16px; }
  .item__y { grid-column: 1; }
  .item__t { grid-column: 1; }
  .item__m { grid-column: 1; }
  .item__x { grid-column: 2; grid-row: 1 / -1; align-self: center; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip li:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip li:nth-child(1), .strip li:nth-child(2) { padding-bottom: 18px; border-bottom: 1px solid var(--hairline); }
}

@media (max-width: 640px) {
  :root { --gut: 16px; }
  .mark__logo { height: 28px; }
  .hero { min-height: 0; padding-block: 128px 72px; }
  .steps, .trio, .duo, .steps--3, .steps--n { grid-template-columns: 1fr; }
  .f2 { grid-template-columns: 1fr; }
  .nums, .nums--3 { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr; }
  .strip li { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--hairline); padding-bottom: 16px; }
  .strip li:last-child { border-bottom: 0; }
  .spec, .spec--w { grid-template-columns: 1fr; gap: 16px; }
  .facts { grid-template-columns: repeat(3, 1fr); gap: 16px 12px; }
  .facts dt { font-size: 20px; }
  .facts dd { font-size: 11.5px; }
  .card { padding: 24px; }
  .row .btn { width: 100%; }
  .orb--1, .orb--2 { opacity: .2; }
  .refs__w { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

.steps--3 .card__t { margin-top: 0; }
.steps--3 .card__p + .card__p { margin-top: 12px; }

/* ============================================================
   PAGE FAQ
   ============================================================ */

.faq__top, .page__top {
  position: relative; overflow: hidden;
  padding-block: 168px 64px;
  background: radial-gradient(58% 60% at 14% 10%, var(--ember-1) 0%, var(--void) 62%);
}
.faq__top + .sec, .page__top + .sec { padding-top: clamp(40px, 4vw, 66px); }
.faq__top .shell, .page__top .shell { position: relative; z-index: 2; display: flex; flex-direction: column; gap: var(--s-head); }
.faq__top .lead, .page__top .lead { max-width: 52ch; }

/* renvoi discret d'une section vers une autre page */
.srv__n { margin-top: 36px; font-size: 15px; color: #ADA79C; }
.srv__n .lnk { margin-left: 8px; }

.faq__g { padding-block: 56px; }
.faq__row {
  display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 56px; align-items: start;
}
.faq__side { position: sticky; top: 118px; }
.faq__h { font-size: clamp(24px, 2.6vw, 36px); }
.faq__c { margin-top: 14px; max-width: 34ch; color: var(--ash); }
.faq__g .item__h { grid-template-columns: 1fr 24px; }
.faq__g .item__in p { max-width: 66ch; }

@media (max-width: 1180px) {
  .faq__row { grid-template-columns: 1fr; gap: 24px; }
  .faq__side { position: static; }
}
@media (max-width: 640px) {
  .faq__top { padding-block: 132px 48px; }
  .faq__g { padding-block: 36px; }
}

/* ---------- La conviction, sous la frise ---------- */
.convic {
  margin-top: clamp(34px, 3.8vw, 54px);
  padding-left: clamp(22px, 2.4vw, 34px);
  border-left: 1px solid var(--accent-edge);
  max-width: 78ch;
  display: flex; flex-direction: column; gap: 16px;
}
.convic p {
  margin: 0; font-size: clamp(16px, 1.65vw, 19px); line-height: 1.65; color: #BFB9AE;
}
.convic__p { color: var(--chalk); }
.convic__p strong { font-weight: 400; color: var(--accent); }

/* ---------- Le fil ---------- */
/* Une ligne de marge nouée a chaque section. Le meme motif sur toutes les pages,
   du portable au laptop : c'est lui qui relie le site. */
.sec::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: calc(var(--gut) / 2); top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg,
    transparent 0%, var(--accent-edge) 7%, var(--accent-edge) 93%, transparent 100%);
}
/* Le nœud : un point ouvert, posé sur le fil, a hauteur du titre. */
.sec::after {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  left: calc(var(--gut) / 2 - 5.5px);
  top: clamp(52px, 6.2vw, 94px);
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--void); border: 1.5px solid var(--accent);
  box-shadow: 0 0 0 6px var(--void), 0 0 14px rgba(255, 113, 18, .5);
}

/* Le dernier nœud de la page est plein : le fil s'arrête la. */
main > .sec:last-of-type::after { background: var(--accent); }

/* Sur mobile la frise devient elle-meme un rail vertical : deux fils cote a cote
   feraient desordre, le fil s'efface sur cette section-la. */
@media (max-width: 859px) {
  #entreprise::before, #entreprise::after,
  .sec:has(.tj)::before, .sec:has(.tj)::after { display: none; }
}

/* Titre lu par les lecteurs d'écran, invisible à l'écran */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Pages légales ---------- */
.legal { max-width: 74ch; display: flex; flex-direction: column; gap: clamp(40px, 4.4vw, 64px); }
.legal__s { display: flex; flex-direction: column; gap: 14px; }
.legal__t {
  margin: 0 0 6px; font-size: clamp(20px, 2vw, 26px); font-weight: 400;
  letter-spacing: -.2px; color: var(--chalk);
}
.legal__t b { margin-right: 12px; font-weight: 300; color: var(--accent); }
.legal p { margin: 0; font-size: 16px; line-height: 1.7; color: #ADA79C; }
.legal b { font-weight: 500; color: var(--chalk); }
.legal a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent-edge); }

/* Coordonnées et caractéristiques : deux colonnes, alignées sur la mesure */
.legal__d { margin: 6px 0; display: grid; gap: 12px 28px; }
.legal__d > div { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); gap: 4px 28px; }
.legal__d dt { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.legal__d dd { margin: 0; font-size: 16px; line-height: 1.6; color: #ADA79C; }

.legal__a {
  padding: 18px 22px; border-left: 1px solid var(--accent-edge);
  background: linear-gradient(90deg, #130C06 0%, transparent 70%);
}
.legal__l { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal__l li { font-size: 15px; line-height: 1.6; color: #ADA79C; }
.legal__u { margin-top: 10px; font-size: 14px; color: #8C867C; }

@media (max-width: 700px) {
  .legal__d > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Zone d'intervention, dans la colonne de contact ---------- */
.zone {
  margin-top: clamp(28px, 3vw, 40px);
  padding-top: clamp(22px, 2.4vw, 30px);
  border-top: 1px solid var(--hairline);
}
.zone__k {
  margin: 0 0 16px; font-size: 11px; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--accent);
}
.zone__l {
  margin: 0; display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 36px);
}
.zone__l dt {
  margin-bottom: 5px; font-size: 15px; font-weight: 500; color: var(--chalk);
}
.zone__l dd { margin: 0; font-size: 14px; line-height: 1.55; color: #ADA79C; }

@media (max-width: 700px) {
  .zone__l { grid-template-columns: 1fr; gap: 18px; }
}

/* Dernier recours vers la FAQ, sous le formulaire */
.contact + .srv__n, .contact .srv__n { margin-top: clamp(34px, 3.6vw, 52px); }

/* ---------- Trajectoire de l'entreprise ---------- */
.tj { margin-top: clamp(40px, 5vw, 72px); position: relative; }

/* ---- le graphe (a partir de 860px) ---- */
.tj__g {
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 220;
  overflow: visible;
}

/* trait de fond : la trajectoire complete, en retrait */
.tj__p {
  fill: none;
  stroke: var(--accent);
  stroke-opacity: .16;
  stroke-width: 1.6;
}

/* trait qui se dessine au scroll */
.tj__d {
  fill: none;
  stroke: var(--accent);
  stroke-opacity: .85;
  stroke-width: 2.2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 7px rgba(255, 113, 18, .5));
}

/* tiges verticales : ramenent chaque noeud sur la ligne des legendes */
.tj__k {
  stroke: var(--accent);
  stroke-opacity: .17;
  stroke-width: 1;
  stroke-dasharray: 2 5;
}

/* noeuds */
.tj__o { fill: var(--void); stroke: var(--accent); stroke-width: 2; }
.tj__c { fill: var(--accent); }
.tj__a { fill: none; stroke: var(--accent); stroke-width: 1.4; transform-box: fill-box; transform-origin: 50% 50%; }

/* le dernier noeud respire : c'est aujourd'hui */
.tj__h { fill: none; stroke: var(--accent); stroke-width: 1.4; transform-box: fill-box; transform-origin: 50% 50%; }

/* impulsion */
.tj__s {
  fill: #FFE8D2;
  offset-path: path('M 20 164 C 70 160 110 154 150 150 C 230 143 300 122 450 112 C 540 106 640 100 750 104 C 850 107 900 92 980 68 C 1020 56 1035 46 1050 40 C 1090 28 1140 20 1178 16');
  offset-rotate: 0deg;
  offset-distance: 0%;
  filter: drop-shadow(0 0 7px rgba(255, 113, 18, 1));
}

/* ---- legendes ---- */
.tj__l {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.tj__i { padding: 0 clamp(10px, 1.6vw, 22px); text-align: center; }
.tj__n {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .08em;
  color: var(--accent);
}
.tj__t {
  margin: 10px 0 0;
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 500;
  letter-spacing: -.1px;
  color: var(--chalk);
}
.tj__x { margin: 8px auto 0; max-width: 30ch; font-size: 14px; line-height: 1.55; color: #ADA79C; }

/* Variante millesimee : l'annee porte plus que le numero d'etape. */
.tj--y .tj__n { font-size: 15px; letter-spacing: .06em; }
.tj--y .tj__t { margin-top: 8px; }

/* ---- version verticale : mobile et tablette ---- */
.tj__m { display: none; }

@media (max-width: 859px) {
  .tj__g { display: none; }
  .tj__l {
    display: block;
    position: relative;
    padding-left: 34px;
  }
  /* le rail */
  .tj__l::before {
    content: "";
    position: absolute;
    left: 7px; top: 8px; bottom: 8px;
    width: 1px;
    background: linear-gradient(180deg,
      var(--accent-edge) 0%, var(--accent-edge) 86%, transparent 100%);
  }
  .tj__i { padding: 0; text-align: left; position: relative; }
  .tj__i + .tj__i { margin-top: 32px; }
  /* le point */
  .tj__i::before {
    content: "";
    position: absolute;
    left: -34px; top: 5px;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--void);
    border: 2px solid var(--accent);
    box-shadow: 0 0 0 4px rgba(8, 7, 6, 1);
  }
  .tj__i:last-child::before { background: var(--accent); }
  .tj__x { margin-left: 0; max-width: 38ch; }
  /* l'impulsion descend le rail */
  .tj__m {
    display: block;
    position: absolute;
    left: 4px; top: 8px;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #FFE8D2;
    box-shadow: 0 0 8px 1px rgba(255, 113, 18, .95);
    opacity: 0;
  }
}

/* Le bilan, sous la courbe : deux colonnes a partir du desktop. */
.tj__f {
  margin-top: clamp(44px, 5vw, 76px);
  padding-top: clamp(26px, 3vw, 38px);
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3.2vw, 56px);
}
.tj__f p {
  margin: 0;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.65;
  color: #ADA79C;
}
.tj__f strong { font-weight: 400; color: var(--chalk); }

@media (max-width: 859px) {
  .tj__f { grid-template-columns: 1fr; gap: 18px; }
}

/* ============ animations ============ */

/* sans JavaScript : tout est deja dessine, rien ne bouge */
.js .tj .tj__d { stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.js .tj .tj__o,
.js .tj .tj__c,
.js .tj .tj__n,
.js .tj .tj__t,
.js .tj .tj__x { opacity: 0; }

.js .tj.is-in .tj__d { animation: tj-draw 2s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes tj-draw { to { stroke-dashoffset: 0; } }

.js .tj.is-in .tj__o,
.js .tj.is-in .tj__c { animation: tj-pop .5s var(--out) forwards; }
@keyframes tj-pop { from { opacity: 0; } to { opacity: 1; } }

.js .tj.is-in .tj__n,
.js .tj.is-in .tj__t,
.js .tj.is-in .tj__x { animation: tj-in .7s var(--out) forwards; }
@keyframes tj-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* cadence : chaque noeud s'allume quand le trait l'atteint */
.js .tj.is-in [data-s="1"] { animation-delay: .35s; }
.js .tj.is-in [data-s="2"] { animation-delay: .85s; }
.js .tj.is-in [data-s="3"] { animation-delay: 1.3s; }
.js .tj.is-in [data-s="4"] { animation-delay: 1.75s; }

/* halo du noeud « aujourd'hui » */
.tj__h { animation: tj-halo 3.4s ease-out 2.2s infinite; }
@keyframes tj-halo {
  0%        { transform: scale(.4); stroke-opacity: .55; }
  60%, 100% { transform: scale(1.6); stroke-opacity: 0; }
}

/* l'impulsion, une fois le trait pose */
.tj__s {
  animation: tj-travel 4.6s linear 2.4s infinite;
}
@keyframes tj-travel {
  0%   { offset-distance: 0%;   opacity: 0; }
  8%   { opacity: 1; }
  88%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
.tj__m { animation: tj-fall 4.6s linear 2.4s infinite; }
@keyframes tj-fall {
  0%   { top: 8px;  opacity: 0; }
  8%   { opacity: 1; }
  88%  { opacity: 1; }
  100% { top: calc(100% - 14px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .js .tj .tj__d { stroke-dasharray: none; stroke-dashoffset: 0; }
  .js .tj .tj__o, .js .tj .tj__c,
  .js .tj .tj__n, .js .tj .tj__t, .js .tj .tj__x { opacity: 1; }
  .js .tj.is-in .tj__d,
  .js .tj.is-in .tj__o, .js .tj.is-in .tj__c,
  .js .tj.is-in .tj__n, .js .tj.is-in .tj__t, .js .tj.is-in .tj__x { animation: none; }
  .tj__h, .tj__s, .tj__m { display: none; }
}
