/* =========================================================================
   RGK — Design System « Industriel brut éditorial »
   Anthracite dominant · accent jaune sécurité · typo condensée XXL
   Auteur : refonte 2026 · WCAG 2.2 AA · mobile-first
   ========================================================================= */

/* ---------- 1. TOKENS ---------------------------------------------------- */
:root {
  /* Couleurs — surfaces */
  --ink-900: #0E0F13;   /* fond le plus profond */
  --ink:     #16181D;   /* fond dominant */
  --ink-700: #1E2127;   /* cartes / panneaux */
  --steel:   #2A2E36;   /* bordures / séparateurs */
  --steel-2: #3A3F4A;   /* bordures hover */

  /* Couleurs — texte */
  --paper:    #F1EEE7;  /* off-white sections claires */
  --paper-2:  #E4E0D7;
  --concrete: #B8B5AC;  /* texte secondaire sur sombre (contraste 7.4:1) */
  --mute:     #8C8A82;  /* texte tertiaire (≥ 4.5:1 sur --ink) */

  /* Accents */
  --hazard:   #F4C20D;  /* jaune sécurité — accent principal */
  --hazard-d: #D9AC00;
  --corten:   #B5532A;  /* rouille — signe « métaux », usage rare */

  /* Sémantique d'état */
  --ok:    #5FB87A;
  --error: #E5604D;

  /* Typo */
  --f-display: "Anton", "Arial Narrow", sans-serif;
  --f-head:    "Archivo", system-ui, sans-serif;
  --f-body:    "Archivo", system-ui, sans-serif;
  --f-serif:   "Newsreader", Georgia, serif;
  --f-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* Échelle typographique fluide (clamp) */
  --t-mega:  clamp(3.5rem, 13vw, 12rem);
  --t-h1:    clamp(2.6rem, 7vw, 6rem);
  --t-h2:    clamp(2rem, 4.6vw, 3.6rem);
  --t-h3:    clamp(1.3rem, 2.4vw, 1.9rem);
  --t-lead:  clamp(1.15rem, 1.6vw, 1.5rem);
  --t-body:  clamp(1rem, 1.05vw, 1.125rem);
  --t-small: 0.8125rem;
  --t-label: 0.72rem;

  /* Espacements — échelle modulaire (1.5) */
  --s-1: 0.5rem;
  --s-2: 0.75rem;
  --s-3: 1rem;
  --s-4: 1.5rem;
  --s-5: 2.25rem;
  --s-6: 3.375rem;
  --s-7: 5rem;
  --s-8: 7.5rem;
  --s-9: 11rem;

  /* Rythme */
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --maxw: 1440px;
  --maxw-text: 64ch;

  /* Radii — bruts, quasi nuls (anti-rounded) */
  --r-0: 0px;
  --r-1: 2px;

  /* Bordures */
  --bd: 1px solid var(--steel);
  --bd-2: 1px solid var(--steel-2);

  /* Ombres */
  --sh-1: 0 1px 0 rgba(0,0,0,.4);
  --sh-2: 0 18px 40px -18px rgba(0,0,0,.75);

  /* Motion */
  --e-out: cubic-bezier(.16,1,.3,1);
  --e-in-out: cubic-bezier(.65,.05,.36,1);
  --d-1: 160ms;
  --d-2: 240ms;
  --d-3: 420ms;

  --header-h: 72px;
}

/* ---------- 2. RESET ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
body {
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--concrete);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
:where(h1,h2,h3,h4) { line-height: 1.02; text-wrap: balance; }
p { text-wrap: pretty; }

/* Texture grain globale */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 3. ACCESSIBILITÉ -------------------------------------------- */
.skip-link {
  position: absolute;
  left: var(--s-3);
  top: -100%;
  z-index: 10000;
  background: var(--hazard);
  color: var(--ink-900);
  padding: var(--s-2) var(--s-4);
  font-family: var(--f-mono);
  font-weight: 700;
  letter-spacing: .04em;
  transition: top var(--d-1) var(--e-out);
}
.skip-link:focus { top: var(--s-3); }

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--hazard);
  outline-offset: 3px;
}
.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;
}

/* ---------- 4. LAYOUT ---------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(3.5rem, 9vw, var(--s-9)); }
.section--tight { padding-block: clamp(2.5rem, 6vw, var(--s-7)); }
.bg-paper { background: var(--paper); color: var(--ink); }
.bg-ink-900 { background: var(--ink-900); }

/* Filet décoratif + numéro de section */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--f-mono);
  font-size: var(--t-label);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute);
}
.eyebrow::before {
  content: "";
  width: 2.5rem; height: 1px;
  background: var(--hazard);
}
.bg-paper .eyebrow { color: #6a675f; }

/* ---------- 5. TYPO HELPERS --------------------------------------------- */
.display {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: .92;
}
.lead {
  font-family: var(--f-serif);
  font-size: var(--t-lead);
  line-height: 1.45;
  color: var(--paper-2);
  max-width: var(--maxw-text);
}
.bg-paper .lead { color: #2a2722; }
.mono { font-family: var(--f-mono); }

/* ---------- 6. BOUTONS (3 variantes) ------------------------------------ */
.btn {
  --bg: var(--hazard);
  --fg: var(--ink-900);
  display: inline-flex;
  align-items: center;
  gap: .65em;
  padding: .95em 1.5em;
  font-family: var(--f-mono);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--bg);
  border-radius: var(--r-0);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--d-1) var(--e-out),
              background var(--d-2) var(--e-out),
              color var(--d-2) var(--e-out);
  isolation: isolate;
}
.btn .arr { transition: transform var(--d-2) var(--e-out); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .arr { transform: translateX(4px); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --bg: transparent;
  --fg: var(--paper);
  border-color: var(--steel-2);
}
.btn--ghost:hover { --bg: var(--ink-700); border-color: var(--hazard); --fg: var(--hazard); }
.bg-paper .btn--ghost { --fg: var(--ink); border-color: #c9c4b7; }
.bg-paper .btn--ghost:hover { --bg: var(--ink); --fg: var(--paper); border-color: var(--ink); }

.btn--line {
  --bg: transparent;
  --fg: currentColor;
  padding: 0;
  border: 0;
  border-bottom: 2px solid var(--hazard);
  padding-bottom: .25em;
  border-radius: 0;
}
.btn--line:hover { transform: none; }
.btn--line:hover .arr { transform: translateX(4px); }

/* ---------- 7. HEADER / NAV --------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--ink-900) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: var(--bd);
  transition: transform var(--d-3) var(--e-out);
}
.site-header[data-hidden="true"] { transform: translateY(-100%); }
.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: var(--s-4);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--f-display);
  text-transform: uppercase;
}
.brand svg { height: 30px; width: auto; }
.brand b { font: inherit; font-size: 1.6rem; letter-spacing: .02em; color: var(--paper); }
.brand .dot { color: var(--hazard); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.2rem); }
.nav a {
  font-family: var(--f-mono);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--concrete);
  position: relative;
  padding-block: .4rem;
  transition: color var(--d-1) var(--e-out);
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--hazard);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--d-2) var(--e-out);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { display: inline-flex; }

.burger {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: var(--bd-2);
  cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
  content: ""; display: block;
  width: 20px; height: 2px; background: var(--paper);
  transition: transform var(--d-2) var(--e-out), opacity var(--d-1);
}
.burger span::before { transform: translateY(-6px); }
.burger span::after  { transform: translateY(4px); }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: rotate(-45deg) translateY(-1px); }

/* ---------- 8. HERO ----------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: flex-end;
  padding-block: var(--s-7) var(--s-6);
  overflow: hidden;
  border-bottom: var(--bd);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--steel) 1px, transparent 1px),
    linear-gradient(90deg, var(--steel) 1px, transparent 1px);
  background-size: clamp(48px, 7vw, 96px) clamp(48px, 7vw, 96px);
  opacity: .25;
  mask-image: radial-gradient(120% 90% at 80% 10%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 90% at 80% 10%, #000 10%, transparent 75%);
}
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .16;
  filter: grayscale(1) contrast(1.04);
  mask-image: linear-gradient(180deg, transparent, #000 35%, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%, #000 60%, transparent);
}
.hero .shell { z-index: 2; }
.hero__glow {
  position: absolute;
  top: -10%; right: -5%;
  width: 55vw; height: 55vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, color-mix(in srgb, var(--hazard) 22%, transparent), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}
.hero .shell { position: relative; width: 100%; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5);
  margin-bottom: var(--s-5);
}
.hero h1 { margin-block: var(--s-3) var(--s-4); color: var(--paper); }
.hero h1 .mega { display: block; font-size: var(--t-mega); }
.hero h1 .stroke {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--steel-2);
}
.hero h1 .hl { color: var(--hazard); }
.hero__bottom {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: var(--s-5);
  margin-top: var(--s-5);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* Animations d'entrée (staggered) */
.reveal-up { opacity: 0; transform: translateY(24px); }
.is-loaded .reveal-up {
  animation: revealUp var(--d-3) var(--e-out) forwards;
  animation-delay: var(--delay, 0ms);
}
@keyframes revealUp { to { opacity: 1; transform: none; } }

/* ---------- 9. MARQUEE / TICKER ----------------------------------------- */
.ticker {
  border-block: var(--bd);
  background: var(--ink-900);
  overflow: hidden;
  padding-block: var(--s-3);
}
.ticker__track {
  display: flex;
  gap: var(--s-5);
  width: max-content;
  animation: scrollX 28s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  color: var(--steel-2);
  display: inline-flex; align-items: center; gap: var(--s-5);
}
.ticker__track span b { color: var(--paper); font: inherit; }
.ticker__track .star { color: var(--hazard); }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ---------- 10. STATS --------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: var(--bd);
  border-left: var(--bd);
}
.stat {
  border-right: var(--bd);
  border-bottom: var(--bd);
  padding: var(--s-5) var(--s-4);
}
.stat dt {
  font-family: var(--f-mono);
  font-size: var(--t-label);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: var(--s-2);
}
.stat dd {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--paper);
  line-height: .9;
}
.stat dd .u { color: var(--hazard); }

/* ---------- 11. SECTION HEAD -------------------------------------------- */
.head {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
}
.head h2 { color: var(--paper); }
.bg-paper .head h2 { color: var(--ink); }
.head .lead { margin-top: var(--s-2); }

/* ---------- 12. PRESTATIONS (liste éditoriale) -------------------------- */
.services { border-top: var(--bd); }
.bg-paper .services { border-color: #d8d3c6; }
.service {
  display: grid;
  grid-template-columns: 5rem minmax(0,1fr);
  gap: var(--gutter);
  padding-block: var(--s-5);
  border-bottom: var(--bd);
  position: relative;
  transition: background var(--d-2) var(--e-out);
}
.bg-paper .service { border-color: #d8d3c6; }
.service:hover { background: color-mix(in srgb, var(--hazard) 7%, transparent); }
.service__no {
  font-family: var(--f-mono);
  font-size: var(--t-small);
  color: var(--hazard);
  padding-top: .4rem;
}
.service__body { display: grid; gap: var(--s-3); }
.service h3 {
  font-family: var(--f-display);
  font-size: var(--t-h2);
  text-transform: uppercase;
  color: var(--paper);
  transition: transform var(--d-2) var(--e-out);
}
.bg-paper .service h3 { color: var(--ink); }
.service:hover h3 { transform: translateX(8px); }
.service p { max-width: 56ch; }
.service__tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); }
.tag {
  font-family: var(--f-mono);
  font-size: var(--t-label);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--concrete);
  border: var(--bd-2);
  padding: .35em .7em;
}
.bg-paper .tag { color: #56524a; border-color: #cfc9bb; }
.service__link {
  justify-self: start;
  margin-top: var(--s-2);
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--f-mono); font-size: var(--t-small);
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--hazard);
}
.service__link .arr { transition: transform var(--d-2) var(--e-out); }
.service__link:hover .arr { transform: translateX(5px); }

/* ---------- 13. PROCESS (étapes) ---------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border: var(--bd);
}
.step {
  padding: var(--s-5) var(--s-4);
  border-right: var(--bd);
  border-bottom: var(--bd);
  position: relative;
}
.step:last-child { border-right: 0; }
.step__no {
  font-family: var(--f-display);
  font-size: 3rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--steel-2);
  line-height: 1;
  margin-bottom: var(--s-3);
}
.step h3 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: var(--t-h3);
  letter-spacing: -.01em;
  color: var(--paper);
  margin-bottom: var(--s-2);
  text-transform: none;
}
.step p { font-size: var(--t-small); color: var(--concrete); }

/* ---------- 14. SPLIT / IMG editorial ----------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  align-items: center;
}
.media {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(45deg, var(--ink-700) 0 14px, var(--ink) 14px 28px);
  border: var(--bd);
  display: grid; place-items: center;
  overflow: hidden;
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media__ph {
  font-family: var(--f-mono);
  font-size: var(--t-small);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mute);
  text-align: center;
  padding: var(--s-4);
}
.media__tag {
  position: absolute; left: 0; bottom: 0;
  background: var(--hazard); color: var(--ink-900);
  font-family: var(--f-mono); font-weight: 700;
  font-size: var(--t-label); letter-spacing: .12em;
  text-transform: uppercase;
  padding: .55em .9em;
}

/* ---------- 15. ZONE ---------------------------------------------------- */
.zone__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
.zone__list { columns: 2; column-gap: var(--s-5); }
.zone__list li {
  font-family: var(--f-mono);
  font-size: var(--t-small);
  padding-block: .5rem;
  border-bottom: 1px dashed var(--steel);
  break-inside: avoid;
}
.zone__list li::before { content: "→ "; color: var(--hazard); }

/* ---------- 16. CTA BAND ------------------------------------------------ */
.cta-band {
  position: relative;
  background: var(--hazard);
  color: var(--ink-900);
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(0,0,0,.06) 0 22px, transparent 22px 44px);
  pointer-events: none;
}
.cta-band .shell {
  position: relative;
  display: grid; gap: var(--s-5);
  padding-block: clamp(3rem, 7vw, var(--s-8));
}
.cta-band h2 { font-family: var(--f-display); text-transform: uppercase; font-size: var(--t-h1); }
.cta-band .btn { --bg: var(--ink-900); --fg: var(--hazard); border-color: var(--ink-900); }
.cta-band .btn:hover { --bg: var(--ink); }
.cta-band .row { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; }
.cta-band .tel {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  text-transform: uppercase;
}

/* ---------- 17. FAQ ----------------------------------------------------- */
.faq { display: grid; gap: 0; border-top: var(--bd); }
.bg-paper .faq { border-color: #d8d3c6; }
.faq details {
  border-bottom: var(--bd);
  padding-block: var(--s-3);
}
.bg-paper .faq details { border-color: #d8d3c6; }
.faq summary {
  display: flex; align-items: center; gap: var(--s-3);
  cursor: pointer; list-style: none;
  padding-block: var(--s-2);
  font-family: var(--f-head); font-weight: 600;
  font-size: var(--t-h3); color: var(--paper);
}
.bg-paper .faq summary { color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { flex: 1; }
.faq summary .ico {
  flex: none;
  width: 1.4em; height: 1.4em;
  border: var(--bd-2); position: relative;
  transition: background var(--d-2), border-color var(--d-2);
}
.faq summary .ico::before, .faq summary .ico::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: var(--hazard);
}
.faq summary .ico::before { width: 50%; height: 2px; }
.faq summary .ico::after  { width: 2px; height: 50%; transition: transform var(--d-2) var(--e-out); }
.faq details[open] summary .ico::after { transform: scaleY(0); }
.faq details[open] summary .ico { border-color: var(--hazard); }
.faq__a {
  padding: var(--s-2) 0 var(--s-3);
  max-width: var(--maxw-text);
  color: var(--concrete);
}
.bg-paper .faq__a { color: #4a463e; }

/* ---------- 18. FORMULAIRE ---------------------------------------------- */
.form { display: grid; gap: var(--s-4); }
.field { display: grid; gap: var(--s-2); }
.field label {
  font-family: var(--f-mono);
  font-size: var(--t-label);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--concrete);
}
.field label .req { color: var(--hazard); }
.field input, .field textarea, .field select {
  background: var(--ink-900);
  border: var(--bd-2);
  border-radius: var(--r-0);
  padding: .9em 1em;
  color: var(--paper);
  transition: border-color var(--d-2) var(--e-out), box-shadow var(--d-2);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--mute); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--hazard);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--hazard) 24%, transparent);
}
.field[data-invalid="true"] input,
.field[data-invalid="true"] textarea {
  border-color: var(--error);
}
.field .err {
  font-family: var(--f-mono); font-size: var(--t-small);
  color: var(--error); min-height: 1.2em;
}
.form__row { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
.form__status {
  font-family: var(--f-mono); font-size: var(--t-small);
  padding: var(--s-3); border: var(--bd-2);
}
.form__status[data-state="ok"] { border-color: var(--ok); color: var(--ok); }
.form__status[data-state="err"] { border-color: var(--error); color: var(--error); }
.form__status[hidden] { display: none; }

/* ---------- 19. FOOTER -------------------------------------------------- */
.site-footer {
  background: var(--ink-900);
  border-top: var(--bd);
  padding-block: var(--s-7) var(--s-5);
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  padding-bottom: var(--s-6);
  border-bottom: var(--bd);
}
.footer__brand .display { font-size: clamp(3rem, 10vw, 6rem); color: var(--paper); }
.footer__brand .display .dot { color: var(--hazard); }
.footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
.footer__cols h4 {
  font-family: var(--f-mono); font-size: var(--t-label);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--mute); margin-bottom: var(--s-3);
}
.footer__cols li { padding-block: .3rem; font-size: var(--t-small); }
.footer__cols a:hover { color: var(--hazard); }
.footer__legal {
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5);
  justify-content: space-between;
  margin-top: var(--s-5);
  font-family: var(--f-mono); font-size: var(--t-small);
  color: var(--mute);
}
.footer__legal a:hover { color: var(--concrete); }
.todo { color: var(--corten); font-style: normal; }

/* ---------- 20. BREADCRUMB / PAGE HEAD ---------------------------------- */
.crumb {
  font-family: var(--f-mono); font-size: var(--t-small);
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--mute); display: flex; gap: .6em; flex-wrap: wrap;
}
.crumb a:hover { color: var(--hazard); }
.crumb [aria-current] { color: var(--concrete); }
.page-hero { border-bottom: var(--bd); padding-block: var(--s-7) var(--s-6); position: relative; overflow: hidden; }
.page-hero h1 { color: var(--paper); margin-block: var(--s-4) var(--s-4); font-size: var(--t-h1); }

/* ---------- 21. PROSE (pages contenu) ----------------------------------- */
.prose { max-width: var(--maxw-text); display: grid; gap: var(--s-4); }
.prose h2 { color: var(--paper); font-family: var(--f-head); font-weight: 800; font-size: var(--t-h2); margin-top: var(--s-4); }
.prose h3 { color: var(--paper); font-family: var(--f-head); font-weight: 700; font-size: var(--t-h3); }
.prose ul { display: grid; gap: var(--s-2); }
.prose ul li { padding-left: 1.4em; position: relative; }
.prose ul li::before { content: "▪"; position: absolute; left: 0; color: var(--hazard); }
.prose strong { color: var(--paper); }

/* ---------- 22. UTILS / SCROLL REVEAL ----------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(28px); }
[data-reveal].in { opacity: 1; transform: none; transition: opacity var(--d-3) var(--e-out), transform var(--d-3) var(--e-out); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], .reveal-up { opacity: 1 !important; transform: none !important; }
}

/* ---------- 23. RESPONSIVE ---------------------------------------------- */
@media (min-width: 700px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1.1fr .9fr; }
  .split.split--rev > .media { order: 2; }
  .zone__grid { grid-template-columns: .8fr 1.2fr; }
  .form__row { grid-template-columns: 1fr 1fr; }
  .head { grid-template-columns: auto 1fr; align-items: end; }
  .head .lead { grid-column: 1 / -1; }
  .footer__top { grid-template-columns: 1.3fr 1fr; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .cta-band .shell { grid-template-columns: 1.4fr 1fr; align-items: center; }
}
@media (max-width: 880px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .nav.is-open {
    display: flex;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: var(--gutter);
    background: var(--ink-900);
    border-top: var(--bd);
    overflow-y: auto;
  }
  .nav.is-open a { font-size: 1.4rem; padding-block: var(--s-3); width: 100%; border-bottom: var(--bd); }
  .nav.is-open .nav-cta { margin-top: var(--s-4); }
  .service { grid-template-columns: 1fr; gap: var(--s-3); }
  .service__no { padding-top: 0; }
}
@media (min-width: 1100px) {
  .head h2 { font-size: var(--t-h2); }
}
