/* ==========================================================================
   Alpha Rayonnage — feuille de style principale
   Site vitrine statique. Aucune dépendance externe.
   ========================================================================== */

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* --- Jetons --------------------------------------------------------------- */
:root {
  --ink:      #0d0f12;
  --ink-2:    #15181d;
  --ink-3:    #23272f;
  --paper:    #ffffff;
  --paper-2:  #f4f3f1;
  --paper-3:  #e9e7e3;
  --muted:    #5d646f;
  --muted-d:  #9aa3af;
  --accent:   #d94f16;
  --accent-l: #f2652a;
  --line:     rgba(13, 15, 18, .13);
  --line-d:   rgba(255, 255, 255, .15);

  --sans: "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(1.25rem, 5vw, 4.5rem);
  --gut: clamp(1.5rem, 3vw, 2.5rem);
  --maxw: 1320px;
  --sec: clamp(4rem, 9vw, 8.5rem);
  --hdr: 68px;
}

/* --- Base ----------------------------------------------------------------- */
body {
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
/* Pas d'overflow-x sur <html> ni <body> : sur body l'autre axe passe de
   `visible` à `auto` et body devient le conteneur de défilement (window
   cesse d'émettre les événements de scroll) ; sur html la valeur se propage
   au viewport et bloque le défilement. Le débordement horizontal est traité
   à la source, par `min-width: 0` sur les pistes de grille. */

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

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem;
}
.skip:focus { left: 0; }

/* --- Typographie ---------------------------------------------------------- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.06; letter-spacing: -.025em; text-wrap: balance; }

.display {
  font-size: clamp(2.35rem, 1.1rem + 5.6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -.038em;
  text-transform: uppercase;
  line-height: .96;
}
.h1 { font-size: clamp(2rem, 1.1rem + 3.9vw, 4rem); text-transform: uppercase; letter-spacing: -.032em; }
.h2 { font-size: clamp(1.6rem, 1.05rem + 2.3vw, 2.85rem); text-transform: uppercase; letter-spacing: -.028em; }
.h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); letter-spacing: -.018em; }

.eyebrow {
  font-size: .70rem;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.4rem;
}
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.on-dark .eyebrow::after, .sec--dark .eyebrow::after { background: var(--line-d); }

.lede {
  font-size: clamp(1.06rem, 1rem + .5vw, 1.3rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 62ch;
  text-wrap: pretty;
}
.sec--dark .lede, .on-dark .lede { color: var(--muted-d); }

p + p { margin-top: 1rem; }
strong { font-weight: 650; }

/* --- Mise en page --------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: 900px; }
.sec { padding-block: var(--sec); }
.sec--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.sec--dark { background: var(--ink); color: #fff; }
.sec--paper { background: var(--paper-2); }
.sec--line { border-top: 1px solid var(--line); }
.sec--dark.sec--line { border-top-color: var(--line-d); }

.grid { display: grid; gap: var(--gut); }
/* Sans cela, une piste de grille refuse de passer sous la largeur intrinsèque
   de son contenu : un tableau à min-width déborde la page entière. */
.grid > *, .split > *, .stats > *, .compliance > * { min-width: 0; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }
@media (min-width: 900px) { .split--even { grid-template-columns: 1fr 1fr; } }

/* --- En-tête -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--hdr);
  background: rgba(13, 15, 18, .94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-d);
  color: #fff;
}
.site-header__in {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
/* Logo fourni par le client, extrait du dossier partenaire. */
.brand__mark {
  height: 36px; width: auto; flex: none;
  transition: height .28s cubic-bezier(.2,.7,.3,1);
}
.site-header.is-compact .brand__mark { height: 28px; }
.brand--footer { display: block; }
/* Assez grand pour que la signature du logo reste lisible. */
.brand--footer img { width: min(300px, 85%); height: auto; }
.brand__txt { line-height: 1.05; }
.brand__name { font-weight: 750; letter-spacing: -.02em; font-size: .98rem; text-transform: uppercase; }
.brand__sub { font-size: .58rem; letter-spacing: .17em; text-transform: uppercase; color: var(--muted-d); }

.nav { display: flex; align-items: center; gap: clamp(.9rem, 1.7vw, 1.7rem); }
.nav a {
  font-size: .8rem; font-weight: 550; letter-spacing: .03em;
  color: rgba(255, 255, 255, .8);
  padding-block: .4rem;
  border-bottom: 1px solid transparent;
  transition: color .18s, border-color .18s;
  white-space: nowrap;
}
.nav a:hover { color: #fff; border-bottom-color: var(--accent); }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); }

.nav__cta {
  background: var(--accent); color: #fff !important;
  padding: .58rem 1.05rem !important;
  border: 0 !important;
  font-weight: 650;
  transition: background .18s;
}
.nav__cta:hover { background: var(--accent-l); }

.burger {
  display: none;
  background: none; border: 1px solid var(--line-d);
  width: 42px; height: 38px; cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: #fff;
  transition: transform .25s, opacity .2s;
}
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 18px; }
.burger span:nth-child(3) { top: 23px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--hdr) 0 auto 0;
    flex-direction: column; align-items: stretch;
    gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line-d);
    padding: .5rem var(--pad) 1.5rem;
    max-height: calc(100dvh - var(--hdr));
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav[data-open="true"] { opacity: 1; visibility: visible; transform: none; }
  .nav a { font-size: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line-d); }
  .nav a:hover { border-bottom-color: var(--line-d); }
  .nav__cta { margin-top: 1rem; text-align: center; padding: .9rem !important; }
}

/* --- Boutons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.6rem;
  font-size: .84rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-l); }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.on-dark .btn--ghost, .sec--dark .btn--ghost { border-color: var(--line-d); color: #fff; }
.on-dark .btn--ghost:hover, .sec--dark .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn__arrow { transition: transform .2s; }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: .18rem;
  transition: gap .18s;
}
.link-arrow:hover { gap: .85rem; }

/* --- Héros ---------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  isolation: isolate;
  display: flex; align-items: flex-end;
  min-height: min(88vh, 820px);
  padding-block: clamp(4rem, 11vw, 8rem) clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .5;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13,15,18,.86) 0%, rgba(13,15,18,.44) 38%, rgba(13,15,18,.94) 100%),
    linear-gradient(90deg, rgba(13,15,18,.7) 0%, rgba(13,15,18,0) 65%);
}
.hero__in { position: relative; width: 100%; }
.hero .lede { color: rgba(255, 255, 255, .82); margin-top: 1.6rem; }
.hero__kicker {
  font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-l);
  margin-bottom: 1.5rem;
}
.hero .btn-row { margin-top: 2.4rem; }

.hero--page { min-height: min(58vh, 560px); }
.hero--page .display { font-size: clamp(2.1rem, 1.1rem + 4.4vw, 4.25rem); }

/* Bandeau de services sous le héros */
.tickers {
  display: flex; flex-wrap: wrap;
  border-top: 1px solid var(--line-d);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.2rem;
  gap: .5rem 2rem;
}
.tickers span {
  font-size: .7rem; font-weight: 650; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

/* --- Chiffres clés -------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.stat {
  padding: clamp(1.5rem, 3vw, 2.4rem) 0;
  border-top: 2px solid var(--ink);
  padding-right: 1.5rem;
}
.sec--dark .stat { border-top-color: var(--accent); }
.stat__num {
  font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4rem);
  font-weight: 800; letter-spacing: -.045em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__lbl {
  margin-top: .7rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
  max-width: 22ch;
}
.sec--dark .stat__lbl { color: var(--muted-d); }

/* --- Cartes --------------------------------------------------------------- */
.card {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
  height: 100%;
}
a.card:hover { border-color: var(--ink); transform: translateY(-3px); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
a.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: clamp(1.2rem, 2.2vw, 1.7rem); display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card__title { font-size: 1.12rem; font-weight: 700; letter-spacing: -.018em; }
.card__txt { font-size: .93rem; color: var(--muted); line-height: 1.6; }
.card__more {
  margin-top: auto; padding-top: .8rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent);
  display: flex; align-items: center; gap: .45rem;
}
a.card:hover .card__more { gap: .8rem; }
.card__more span { transition: transform .2s; }

/* --- Listes numérotées ---------------------------------------------------- */
.numlist { border-top: 1px solid var(--line); }
.sec--dark .numlist { border-top-color: var(--line-d); }
.numlist > li {
  display: grid; gap: .35rem 1.6rem;
  grid-template-columns: 3rem 1fr;
  padding: clamp(1.3rem, 2.6vw, 2rem) 0;
  border-bottom: 1px solid var(--line);
}
.sec--dark .numlist > li { border-bottom-color: var(--line-d); }
@media (min-width: 760px) { .numlist > li { grid-template-columns: 3.5rem 15rem 1fr; align-items: baseline; } }
.numlist__n {
  font-size: .8rem; font-weight: 700; letter-spacing: .06em;
  color: var(--accent); font-variant-numeric: tabular-nums;
}
.numlist__t { font-size: 1.05rem; font-weight: 700; letter-spacing: -.012em; text-transform: uppercase; }
.numlist__d { color: var(--muted); font-size: .96rem; grid-column: 2 / -1; }
@media (min-width: 760px) { .numlist__d { grid-column: 3; } }
.sec--dark .numlist__d { color: var(--muted-d); }

/* --- Marques -------------------------------------------------------------- */
.brands {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.sec--dark .brands { border-color: var(--line-d); }
.brands li {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
  display: flex; align-items: baseline; gap: .8rem;
  transition: background .2s;
}
.sec--dark .brands li { border-color: var(--line-d); }
.brands li:hover { background: var(--paper-2); }
.sec--dark .brands li:hover { background: var(--ink-2); }
.brands__n { font-size: .7rem; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.brands__nm { font-size: 1rem; font-weight: 650; letter-spacing: -.01em; text-transform: uppercase; }
.brands li[data-soft] .brands__nm { color: var(--muted); font-weight: 550; text-transform: none; }

/* --- Chantiers ------------------------------------------------------------ */
.job {
  border-top: 2px solid var(--ink);
  padding-top: 1.4rem;
  display: grid; gap: 1.4rem;
}
.sec--dark .job { border-top-color: var(--accent); }
.job__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; }
.job__ttl { font-size: 1.05rem; font-weight: 750; text-transform: uppercase; letter-spacing: -.012em; }
.job__yr { font-size: .8rem; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.job__specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); gap: 1.2rem; }
.job__k { font-size: .64rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.sec--dark .job__k { color: var(--muted-d); }
.job__v { font-size: .98rem; font-weight: 620; margin-top: .25rem; letter-spacing: -.01em; }
.job__note { font-size: .88rem; color: var(--muted); }
.sec--dark .job__note { color: var(--muted-d); }

/* --- Blocs conformité ----------------------------------------------------- */
.compliance { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.compliance > div {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-top: 2px solid var(--accent);
  border-right: 1px solid var(--line);
}
.sec--dark .compliance > div { border-right-color: var(--line-d); }
.compliance > div:last-child { border-right: 0; }
.compliance h3 {
  font-size: .76rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.checks li {
  position: relative; padding-left: 1.4rem; margin-bottom: .8rem;
  font-size: .91rem; line-height: 1.55; color: var(--muted);
}
.sec--dark .checks li { color: var(--muted-d); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .55rem;
  width: .5rem; height: .5rem; background: var(--accent);
}

/* --- Encadré -------------------------------------------------------------- */
.pull {
  border-left: 3px solid var(--accent);
  padding: .3rem 0 .3rem clamp(1.2rem, 3vw, 2rem);
  font-size: clamp(1.15rem, 1rem + .8vw, 1.6rem);
  font-weight: 620;
  letter-spacing: -.02em;
  line-height: 1.35;
  text-wrap: balance;
}
.note {
  background: var(--paper-2);
  border-left: 3px solid var(--accent);
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  font-size: .95rem;
  color: var(--muted);
}
.sec--dark .note { background: var(--ink-2); color: var(--muted-d); }
.note strong { color: var(--ink); }
.sec--dark .note strong { color: #fff; }

/* --- Figures & galerie ---------------------------------------------------- */
.fig { margin: 0; }
.fig img { width: 100%; height: auto; background: var(--paper-3); }
.fig figcaption {
  margin-top: .7rem;
  font-size: .78rem; color: var(--muted); line-height: 1.5;
  border-top: 1px solid var(--line); padding-top: .55rem;
}
.sec--dark .fig figcaption { color: var(--muted-d); border-top-color: var(--line-d); }

.band { position: relative; overflow: hidden; background: var(--ink); }
.band img { width: 100%; height: clamp(280px, 46vw, 620px); object-fit: cover; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.2rem; }
.filters button {
  background: none; border: 1px solid var(--line);
  padding: .55rem 1.05rem;
  font-size: .76rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase;
  cursor: pointer; color: var(--muted);
  transition: all .18s;
}
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: .6rem;
}
.gallery figure { margin: 0; position: relative; }
.gallery button {
  display: block; width: 100%; padding: 0; border: 0; background: var(--paper-3);
  cursor: zoom-in; overflow: hidden; aspect-ratio: 4 / 3;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.3,1), opacity .3s; }
.gallery button:hover img { transform: scale(1.05); }
.gallery [hidden] { display: none !important; }

/* Visionneuse */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8, 9, 11, .96);
  display: grid; grid-template-rows: 1fr auto;
  padding: clamp(1rem, 3vw, 2.5rem);
  gap: 1rem;
}
.lightbox[hidden] { display: none; }
.lightbox__img { justify-self: center; align-self: center; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: rgba(255,255,255,.72); }
.lightbox__cap { font-size: .85rem; max-width: 70ch; }
.lightbox__nav { display: flex; gap: .5rem; flex: none; }
.lightbox button {
  background: none; border: 1px solid var(--line-d); color: #fff;
  width: 44px; height: 44px; cursor: pointer; font-size: 1.1rem; line-height: 1;
  transition: background .18s;
}
.lightbox button:hover { background: rgba(255,255,255,.12); }
.lightbox__close { position: absolute; top: clamp(1rem, 3vw, 2.5rem); right: clamp(1rem, 3vw, 2.5rem); }

/* --- Tableau -------------------------------------------------------------- */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 520px; }
.tbl th, .tbl td { text-align: left; padding: .95rem 1.1rem .95rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--ink); }
.tbl td:first-child { font-weight: 620; }

/* --- Contact -------------------------------------------------------------- */
.contact-list { border-top: 1px solid var(--line-d); }
.contact-list > div {
  display: grid; gap: .2rem 2rem; grid-template-columns: 1fr;
  padding: 1.15rem 0; border-bottom: 1px solid var(--line-d);
}
.contact-list dd { margin: 0; }
@media (min-width: 600px) { .contact-list > div { grid-template-columns: 9rem 1fr; align-items: baseline; } }
.contact-list dt, .contact-list__k {
  font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d);
}
.contact-list__v { font-size: 1.05rem; font-weight: 600; letter-spacing: -.015em; }
.contact-list__v a { border-bottom: 1px solid rgba(255,255,255,.3); transition: border-color .18s; }
.contact-list__v a:hover { border-bottom-color: var(--accent); }

/* --- Appel à l'action ----------------------------------------------------- */
.cta {
  background: var(--accent);
  color: #fff;
}
.cta .h2 { max-width: 20ch; }
.cta p { color: rgba(255, 255, 255, .88); max-width: 52ch; margin-top: 1.1rem; }
.cta .btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.cta .btn--ghost:hover { background: #fff; color: var(--accent); border-color: #fff; }
.cta .btn--primary { background: var(--ink); }
.cta .btn--primary:hover { background: #000; }

/* --- Pied de page --------------------------------------------------------- */
.site-footer { background: var(--ink); color: #fff; padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.site-footer h4 {
  font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted-d); margin-bottom: 1.1rem;
}
.site-footer__grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { font-size: .9rem; color: rgba(255,255,255,.72); transition: color .18s; }
.site-footer a:hover { color: #fff; }
.site-footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem;
  border-top: 1px solid var(--line-d);
  display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between;
  font-size: .78rem; color: var(--muted-d);
}

/* --- Fil d'ariane --------------------------------------------------------- */
.crumbs { font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 1.6rem; }
.crumbs a { border-bottom: 1px solid transparent; }
.crumbs a:hover { border-bottom-color: currentColor; }
.crumbs span { margin-inline: .5rem; opacity: .5; }

/* --- Appel à l'action flottant -------------------------------------------- */
.fcta {
  position: fixed; z-index: 90;
  right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem);
  width: min(340px, calc(100vw - 2rem));
  display: flex; flex-direction: column; align-items: flex-end;
  opacity: 0; transform: translateY(14px);
  transition: opacity .35s cubic-bezier(.2,.7,.3,1), transform .35s cubic-bezier(.2,.7,.3,1);
  pointer-events: none;
}
.fcta[hidden] { display: none; }
.fcta.is-on { opacity: 1; transform: none; pointer-events: auto; }

.fcta__pill {
  display: inline-flex; align-items: center; gap: .7rem;
  background: var(--accent); color: #fff;
  border: 0; cursor: pointer;
  padding: .95rem 1.15rem;
  font-size: .84rem; font-weight: 700; letter-spacing: .02em;
  box-shadow: 0 10px 30px rgba(13, 15, 18, .3);
  transition: background .18s;
}
.fcta__pill:hover { background: var(--accent-l); }
.fcta__dot {
  width: .5rem; height: .5rem; border-radius: 50%; background: #fff; flex: none;
  animation: fctaPulse 2.6s ease-in-out infinite;
}
@keyframes fctaPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .fcta__dot { animation: none; } }
.fcta__chev { font-size: 1.05rem; line-height: 1; transition: transform .25s; margin-left: .2rem; }
.fcta__pill[aria-expanded="true"] .fcta__chev { transform: rotate(45deg); }

.fcta__panel {
  width: 100%;
  background: var(--ink); color: #fff;
  border: 1px solid var(--line-d);
  box-shadow: 0 18px 44px rgba(13, 15, 18, .42);
  margin-bottom: .5rem;
  order: -1;
}
.fcta__panel[hidden] { display: none; }
.fcta__intro {
  font-size: .84rem; line-height: 1.5; color: var(--muted-d);
  padding: 1.1rem 1.15rem;
  border-bottom: 1px solid var(--line-d);
}
.fcta__intro strong { color: #fff; }
.fcta__act {
  display: block; padding: .85rem 1.15rem;
  border-bottom: 1px solid var(--line-d);
  transition: background .16s;
}
.fcta__act:hover { background: var(--ink-3); }
.fcta__act--last { border-bottom: 0; }
.fcta__k { display: block; font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); }
.fcta__v { display: block; font-size: 1rem; font-weight: 650; letter-spacing: -.015em; margin-top: .15rem; }
.fcta__act--tel .fcta__v { color: var(--accent-l); }

@media (max-width: 560px) {
  .fcta { left: 1rem; right: 1rem; width: auto; align-items: stretch; }
  .fcta__pill { justify-content: space-between; width: 100%; }
}

/* --- Bandeau de réassurance ------------------------------------------------ */
.reassure {
  display: grid; gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  border-top: 1px solid var(--line-d);
  border-bottom: 1px solid var(--line-d);
}
.reassure > div {
  padding: clamp(1.2rem, 2.4vw, 1.8rem) clamp(1rem, 2vw, 1.6rem);
  border-right: 1px solid var(--line-d);
}
.reassure > div:last-child { border-right: 0; }
.reassure__k {
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-l); margin-bottom: .5rem;
}
.reassure__v { font-size: .93rem; line-height: 1.5; color: rgba(255, 255, 255, .78); }

/* --- Blocs bénéfices ------------------------------------------------------- */
.benefits { display: grid; gap: var(--gut); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.benefit { border-top: 2px solid var(--accent); padding-top: 1.3rem; }
.benefit h3 { font-size: 1.08rem; font-weight: 730; letter-spacing: -.015em; margin-bottom: .6rem; }
.benefit p { font-size: .94rem; color: var(--muted); line-height: 1.6; }
.sec--dark .benefit p { color: var(--muted-d); }
.benefit__gain {
  display: inline-block; margin-top: .9rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
  color: var(--accent); border-bottom: 1px solid currentColor; padding-bottom: .15rem;
}

/* --- Formulaire ------------------------------------------------------------ */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.form__f { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.form__f label {
  font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.form__f input, .form__f select, .form__f textarea {
  background: var(--paper); border: 1px solid var(--line);
  padding: .8rem .9rem; font-size: .95rem; width: 100%;
  transition: border-color .16s;
}
.form__f input:focus, .form__f select:focus, .form__f textarea:focus { border-color: var(--accent); outline: none; }
.form__f textarea { resize: vertical; min-height: 120px; }
.form__note { font-size: .8rem; color: var(--muted); line-height: 1.55; }
/* Piège à robots : hors écran plutôt que display:none, que certains
   automates détectent et contournent. Sorti du parcours clavier. */
.form__pot {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0;
}

/* --- Apparition au défilement --------------------------------------------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* ==========================================================================
   Couche interactive
   ========================================================================== */

/* --- Rail de progression --------------------------------------------------- */
.progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: 0 50%;
  will-change: transform;
}

/* --- En-tête compact au défilement ----------------------------------------- */
.site-header { transition: height .28s cubic-bezier(.2,.7,.3,1), background-color .28s; }
.site-header.is-compact { height: 56px; background: rgba(13, 15, 18, .98); }
.site-header.is-compact .brand__sub { opacity: 0; }
.brand__sub { transition: opacity .2s; }

/* --- Titres bi-ton --------------------------------------------------------- */
.tt { color: var(--accent); }
.sec--dark .tt, .on-dark .tt { color: var(--accent-l); }

/* --- Trame de rayonnage ---------------------------------------------------- */
/* Montants verticaux + lisses horizontales : la grille du sujet lui-même. */
.sec--dark, .sec--paper { position: relative; isolation: isolate; }
.sec--dark > *, .sec--paper > * { position: relative; z-index: 1; }
.sec--dark::before, .sec--paper::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, var(--lat) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg,  var(--lat) 0 1px, transparent 1px 132px);
  background-position: var(--latx, 0) var(--laty, 0);
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}
.sec--dark { --lat: rgba(242, 101, 42, .10); }
.sec--paper { --lat: rgba(13, 15, 18, .045); }

/* Au-dessus du dégradé (::after, z-index -1), sous le texte. */
.hero__grid {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero__in { z-index: 1; }

/* --- Entrée du héros ------------------------------------------------------- */
.hero__in > * { animation: heroIn .85s cubic-bezier(.2,.75,.25,1) both; }
.hero__in > *:nth-child(1) { animation-delay: .05s; }
.hero__in > *:nth-child(2) { animation-delay: .13s; }
.hero__in > *:nth-child(3) { animation-delay: .21s; }
.hero__in > *:nth-child(4) { animation-delay: .29s; }
.hero__in > *:nth-child(5) { animation-delay: .37s; }
.hero__in > *:nth-child(6) { animation-delay: .45s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero__in > * { animation: none; } }

/* À droite, pas au centre : le bandeau de services occupe déjà le bas du héros. */
.hero__scroll {
  position: absolute; right: var(--pad); bottom: 1.4rem; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .6rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.hero__scroll i { display: block; width: 1px; height: 34px; background: linear-gradient(180deg, var(--accent), transparent); }
@media (max-width: 700px) { .hero__scroll { display: none; } }

/* --- Compteurs ------------------------------------------------------------- */
.stat__num { font-variant-numeric: tabular-nums; }

/* --- Bandeau défilant des marques ------------------------------------------ */
.marquee {
  overflow: hidden; position: relative;
  border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d);
  padding-block: 1.1rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marq 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }
.marquee__item {
  display: inline-flex; align-items: center; gap: .8rem;
  padding-inline: clamp(1.2rem, 3vw, 2.4rem);
  font-size: clamp(1rem, .9rem + .5vw, 1.35rem); font-weight: 750;
  letter-spacing: -.02em; text-transform: uppercase;
  color: rgba(255, 255, 255, .42);
  white-space: nowrap;
  transition: color .2s;
}
.marquee__item::after { content: ""; width: .34rem; height: .34rem; background: var(--accent); flex: none; }
.marquee:hover .marquee__item { color: rgba(255, 255, 255, .3); }
.marquee__item:hover { color: #fff; }

/* --- Storytelling collant --------------------------------------------------- */
.story { display: grid; gap: var(--gut); }
@media (min-width: 950px) { .story { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }

.story__media { display: none; }
@media (min-width: 950px) {
  .story__media {
    display: block; position: sticky; top: calc(var(--hdr) + 2.5rem);
    aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2);
  }
  .story__media img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transform: scale(1.05);
    transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform 1.1s cubic-bezier(.2,.7,.3,1);
  }
  .story__media img.is-live { opacity: 1; transform: none; }
}
.story__steps { display: flex; flex-direction: column; }
.story__step {
  padding-block: clamp(2rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line-d);
  opacity: .38; transition: opacity .45s;
}
.story__step:first-child { border-top: 0; }
.story__step.is-live { opacity: 1; }
.story__n {
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; color: var(--accent-l);
  font-variant-numeric: tabular-nums; display: block; margin-bottom: .8rem;
}
.story__t { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem); font-weight: 780; text-transform: uppercase; letter-spacing: -.026em; }
.story__d { color: var(--muted-d); margin-top: .9rem; max-width: 46ch; }
.story__img { margin-top: 1.4rem; }
@media (min-width: 950px) { .story__img { display: none; } }
.story__img img { width: 100%; height: auto; }

/* --- Survol suivi au pointeur ---------------------------------------------- */
.card { position: relative; overflow: hidden; }
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  opacity: 0; transition: opacity .3s;
  background: radial-gradient(240px circle at var(--px, 50%) var(--py, 50%),
              rgba(217, 79, 22, .13), transparent 68%);
}
a.card:hover::after { opacity: 1; }

/* --- Filets animés ---------------------------------------------------------- */
.benefit, .stat, .job { position: relative; }
.benefit::before, .stat::before, .job::before {
  content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 0;
  background: var(--accent);
  transition: width .8s cubic-bezier(.2,.7,.3,1);
}
.benefit.is-in::before, .stat.is-in::before, .job.is-in::before { width: 100%; }
@media (prefers-reduced-motion: reduce) {
  .benefit::before, .stat::before, .job::before { width: 100%; transition: none; }
}

/* --- Révélation enrichie ----------------------------------------------------- */
.rv { transition-delay: var(--rvd, 0ms); }

/* --- Utilitaires ---------------------------------------------------------- */
.stack > * + * { margin-top: 1.2rem; }
.stack-lg > * + * { margin-top: clamp(2rem, 4vw, 3.5rem); }
.mt-s { margin-top: 1.2rem; }
.mt-m { margin-top: clamp(2rem, 4vw, 3rem); }
.mt-l { margin-top: clamp(3rem, 6vw, 4.5rem); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
