/* Plaque de laiton sur fond d'atelier : registres horizontaux séparés de filets, illustrations au trait doré, téléphone toujours à portée de main. */
:root {
  color-scheme: dark;
  --ink: #0e0d0b;
  --ink-2: #14120f;
  --panel: #1a1712;
  --line: #2c271f;
  --line-strong: #463c2d;
  --ivory: #ece5d6;
  --stone: #a59b8c;
  --placeholder: #6e665a;
  --brass: #c9a45c;
  --brass-hi: #ecd29a;
  --brass-lo: #8a6a35;
  --steel: #8e949a;
  --steel-hi: #d3d7db;
  --steel-lo: #4c5258;
  --danger: #e8957f;
  --glass: rgba(14, 13, 11, 0.88);
  --brass-wash: rgba(201, 164, 92, 0.14);
  --brass-wash-strong: rgba(201, 164, 92, 0.3);
  --brass-glow: rgba(201, 164, 92, 0.11);
  --shadow: rgba(0, 0, 0, 0.55);
  --metal: linear-gradient(100deg, #8a6a35 0%, #ecd29a 24%, #b88f48 44%, #f6e4b8 58%, #a67d3c 78%, #dbbb7b 100%);
  --font-display: "Marcellus", "Optima", "Candara", "Palatino Linotype", Georgia, serif;
  --font-body: "Hanken Grotesk", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.005em;
  color: var(--ivory);
  text-wrap: balance;
}
p { margin: 0; }
a { color: inherit; }
img, svg { max-width: 100%; }
main [id], #accueil { scroll-margin-top: 84px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 60;
  padding: 10px 14px; border-radius: var(--radius);
  background: var(--brass); color: var(--ink); font-weight: 600; text-decoration: none;
}
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

a:focus-visible, button:focus-visible, select:focus-visible, textarea:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--brass-hi);
  outline-offset: 3px;
}

.metal { color: var(--brass-hi); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .metal {
    background: var(--metal);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }
}

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font: 500 0.75rem/1.3 var(--font-mono);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brass);
}
.eyebrow::before { content: ""; flex: none; width: 28px; height: 1px; background: var(--brass-lo); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--radius);
  font: 600 0.98rem/1.1 var(--font-body); letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: filter 0.2s, border-color 0.2s, background-color 0.2s, color 0.2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--brass {
  background: var(--metal); color: var(--ink); border-color: var(--brass-lo);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 12px 30px -14px rgba(201, 164, 92, 0.55);
}
.btn--brass:hover { filter: brightness(1.08); }
.btn--ghost { background: transparent; color: var(--ivory); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--brass); color: var(--brass-hi); }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 0.9rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- En-tête ---------- */
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; gap: 16px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--ivory); text-decoration: none; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__slot { stroke: var(--ink); }
.brand__text { display: grid; min-width: 0; }
.brand__name { font: 400 1.34rem/1.05 var(--font-display); letter-spacing: 0.26em; text-transform: uppercase; color: var(--brass-hi); }
.brand__place { font: 400 0.64rem/1.4 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); white-space: nowrap; }
.nav { display: none; margin-left: auto; gap: 24px; }
.nav a { color: var(--stone); font-size: 0.93rem; text-decoration: none; transition: color 0.2s; }
.nav a:hover { color: var(--brass-hi); }
.callpill {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 15px 8px 13px;
  border: 1px solid var(--brass-lo); border-radius: 999px;
  color: var(--ivory); text-decoration: none; white-space: nowrap;
  transition: border-color 0.2s, background-color 0.2s;
}
.callpill:hover { border-color: var(--brass); background: var(--brass-wash); }
.callpill svg { width: 16px; height: 16px; color: var(--brass); }
.callpill__tag { font: 500 0.66rem/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass); }
.callpill__num { font-size: 0.98rem; font-weight: 600; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
@media (min-width: 1060px) {
  .nav { display: flex; }
  .callpill { margin-left: 10px; }
}
@media (max-width: 599px) {
  .topbar__inner { gap: 8px; }
  .topbar .brand { gap: 10px; }
  .topbar .brand__mark { width: 36px; height: 36px; }
  .topbar .brand__place, .callpill__tag { display: none; }
  .topbar .brand__name { font-size: 1.1rem; letter-spacing: 0.2em; }
  .callpill { gap: 7px; padding: 7px 12px 7px 10px; }
  .callpill__num { font-size: 0.92rem; letter-spacing: 0.01em; }
}
@media (max-width: 379px) {
  .callpill svg { display: none; }
  .callpill { padding-inline: 12px; }
}
@media (max-width: 359px) { .topbar .brand__text { display: none; } }

/* ---------- Menu ---------- */
html { scrollbar-gutter: stable; }
html.menu-open { overflow: hidden; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  flex: none; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: transparent; color: var(--brass-hi); cursor: pointer;
  font: 500 0.7rem/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase;
  transition: border-color 0.2s, background-color 0.2s;
}
.menu-btn:hover, .menu-btn[aria-expanded="true"] { border-color: var(--brass); background: var(--brass-wash); }
.menu-btn svg { width: 20px; height: 20px; flex: none; }
.menu-btn .menu-btn__close, .menu-btn[aria-expanded="true"] .menu-btn__open { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__close { display: block; }
.menu-btn__label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 768px) {
  .menu-btn { width: auto; min-width: 118px; padding: 0 18px 0 15px; }
  .menu-btn__label { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; }
}
.menu {
  position: absolute; top: 100%; left: 0; right: 0;
  max-height: calc(100vh - 67px);
  overflow-y: auto; overscroll-behavior: contain;
  background: radial-gradient(48% 80% at 92% 0%, var(--brass-glow), transparent 70%), var(--ink);
  border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 40px 60px -40px var(--shadow);
  animation: menu-in 0.22s ease-out;
}
.menu-scrim { position: fixed; inset: 0; z-index: 29; background: rgba(0, 0, 0, 0.6); animation: scrim-in 0.22s ease-out; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
@keyframes scrim-in { from { opacity: 0; } }
.menu__inner { display: grid; gap: 34px; padding-block: 26px calc(34px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 768px) {
  .menu__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; padding-block: 38px 44px; }
  .menu__group--services { grid-column: 1 / -1; }
}
.menu__group { display: grid; align-content: start; min-width: 0; }
.menu__label { margin-bottom: 14px; }
.menu__services, .menu__links { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
@media (min-width: 560px) { .menu__services { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
.menu__services a {
  display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); align-items: baseline; align-content: center; column-gap: 8px;
  min-height: 52px; height: 100%; padding: 12px 0; border-bottom: 1px solid var(--line);
  color: var(--ivory); text-decoration: none;
}
.menu__num { font: 500 0.72rem/1 var(--font-mono); letter-spacing: 0.08em; color: var(--brass); }
.menu__name { font: 400 1.12rem/1.3 var(--font-display); transition: color 0.2s; }
.menu__hint { display: none; grid-column: 2; margin-top: 3px; font-size: 0.86rem; line-height: 1.45; color: var(--stone); }
@media (min-width: 768px) { .menu__hint { display: block; } }
.menu__services a:hover .menu__name, .menu__services a[aria-current] .menu__name { color: var(--brass-hi); }
.menu__links a {
  display: flex; align-items: center; min-height: 48px; height: 100%; padding-block: 8px;
  border-bottom: 1px solid var(--line); color: var(--stone); font-size: 0.98rem; line-height: 1.3; text-decoration: none;
  transition: color 0.2s;
}
.menu__links a:hover, .menu__links a[aria-current] { color: var(--brass-hi); }
@media (min-width: 480px) and (max-width: 767px), (min-width: 900px) { .menu__links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; } }
.menu__services a[aria-current] .menu__name::after, .menu__links a[aria-current]::after {
  content: ""; display: inline-block; flex: none; width: 6px; height: 6px; margin-left: 10px; vertical-align: 0.18em;
  background: var(--brass); transform: rotate(45deg);
}
.menu__call { gap: 12px; }
.menu__call .menu__label { margin-bottom: 2px; }
.menu__call .btn { width: 100%; }
.menu__meta { font: 500 0.72rem/1.5 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); }
.menu__mail { width: fit-content; color: var(--ivory); font-size: 0.95rem; text-decoration: none; }
.menu__mail:hover { color: var(--brass-hi); }

/* ---------- Accueil ---------- */
.hero {
  position: relative; overflow: hidden; overflow: clip;
  background:
    radial-gradient(55% 75% at 78% 45%, var(--brass-glow), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.013) 0 1px, transparent 1px 4px),
    var(--ink);
  border-bottom: 1px solid var(--line);
}
.hero__grid {
  display: grid; align-items: start;
  gap: clamp(26px, 4vw, 40px);
  padding-block: clamp(26px, 5vw, 64px) clamp(44px, 6vw, 80px);
}
.hero__intro, .hero__more { display: grid; gap: 22px; align-content: start; min-width: 0; }
.hero__demande { min-width: 0; }
.hero__call { display: grid; gap: 10px; justify-items: start; min-width: 0; }
.hero__call .btn { min-height: 58px; padding: 0 28px; font-size: 1.06rem; }
.hero__call .btn svg { width: 20px; height: 20px; }
.hero__call-note { font-size: 0.94rem; color: var(--stone); }
@media (max-width: 520px) { .hero__call { justify-items: stretch; } .hero__call .btn { width: 100%; } }
.hero__or {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
  font: 500 0.7rem/1.3 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone);
}
.hero__or::before, .hero__or::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.hero__or::before { flex: 0 0 22px; }
@media (min-width: 1020px) {
  .hero__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-areas: "intro intro" "call call" "more form";
    column-gap: 56px; row-gap: 28px;
  }
  .hero__intro { grid-area: intro; }
  .hero__call { grid-area: call; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
  .hero__demande { grid-area: form; }
  .hero__more { grid-area: more; padding-top: 44px; }
  .hero .specs { grid-template-columns: repeat(2, max-content); column-gap: 44px; }
}
.hero__title { display: grid; gap: 12px; }
.hero__title-main { font-size: clamp(2.3rem, 5.6vw, 4.1rem); line-height: 1.02; }
.hero__title-sub { font-size: clamp(1.25rem, 2.4vw, 1.8rem); line-height: 1.25; color: var(--stone); }
.lead { max-width: 35rem; font-size: clamp(1.02rem, 1.4vw, 1.13rem); color: var(--stone); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 520px) { .hero__cta .btn { width: 100%; } }
.specs {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 6px 0 0; border-top: 1px solid var(--line);
}
.specs > div { display: grid; gap: 4px; padding: 16px 16px 2px 0; min-width: 0; }
.specs dt { font: 500 0.66rem/1.2 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); }
.specs dd { margin: 0; font: 400 1.16rem/1.25 var(--font-display); color: var(--brass-hi); }
@media (min-width: 640px) {
  .specs { grid-template-columns: repeat(4, max-content); justify-content: start; column-gap: clamp(18px, 2.4vw, 32px); }
  .specs > div { padding-right: 0; }
}

.cylfig { position: relative; display: grid; gap: 16px; margin: 0; min-width: 0; padding: 18px 18px 16px; }
.cylfig::before, .cylfig::after {
  content: ""; position: absolute; width: 22px; height: 22px; pointer-events: none;
  border-color: var(--brass-lo); border-style: solid;
}
.cylfig::before { top: 0; left: 0; border-width: 1px 0 0 1px; }
.cylfig::after { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.cylfig figcaption {
  max-width: 36rem; padding-left: 14px;
  border-left: 1px solid var(--brass-lo);
  font: 400 0.8rem/1.55 var(--font-mono); color: var(--stone);
}

.presta__head { display: grid; gap: 32px; align-items: center; margin-bottom: clamp(36px, 5vw, 56px); }
.presta__head .section__head { margin-bottom: 0; }
@media (min-width: 1020px) { .presta__head { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 56px; } }

/* Coupe du cylindre */
.cyl { display: block; width: 100%; height: auto; }
.cyl .hatch { stroke-width: 1; }
.cyl .hatch--steel { stroke: var(--steel-lo); }
.cyl .hatch--brass { stroke: var(--brass-lo); opacity: 0.8; }
.s-b { stop-color: var(--brass); }
.s-bhi { stop-color: var(--brass-hi); }
.s-blo { stop-color: var(--brass-lo); }
.s-s { stop-color: var(--steel); }
.s-shi { stop-color: var(--steel-hi); }
.s-slo { stop-color: var(--steel-lo); }
.cyl__base { fill: var(--ink-2); }
.cyl__stator { fill: url(#cyl-hs); stroke: var(--steel); stroke-width: 1.4; }
.cyl__rotor { fill: url(#cyl-hr); stroke: var(--brass-lo); stroke-width: 1.2; }
.cyl__void { fill: var(--ink); }
.cyl__shear { stroke: var(--brass); stroke-width: 1.2; stroke-dasharray: 5 4; transition: stroke 0.6s, stroke-width 0.6s; }
.cyl.is-open .cyl__shear { stroke: var(--brass-hi); stroke-width: 2; stroke-dasharray: none; }
.cyl__spring { fill: none; stroke: var(--steel-hi); stroke-width: 1.4; stroke-linejoin: round; }
.cyl__driver { fill: url(#cyl-gd); stroke: var(--steel-lo); stroke-width: 0.8; }
.cyl__pin { fill: url(#cyl-gp); stroke: var(--brass-lo); stroke-width: 0.8; }
.cyl__keybody { fill: url(#cyl-gk); stroke: var(--brass-hi); stroke-width: 0.9; fill-rule: evenodd; stroke-linejoin: round; }
.cyl__engrave { fill: none; stroke: var(--brass-lo); stroke-width: 1.2; }
.cyl__leader { stroke: var(--stone); stroke-width: 0.8; opacity: 0.75; }
.cyl__leader--shear { stroke: var(--brass); stroke-dasharray: 3 3; opacity: 1; }
.cyl__dot { fill: var(--stone); }
.cyl__label { font: 500 14px var(--font-mono); letter-spacing: 0.02em; fill: var(--stone); }
.cyl__label--shear { fill: var(--brass); transition: fill 0.6s; }
.cyl.is-open .cyl__label--shear { fill: var(--brass-hi); }
@media (max-width: 600px) { .cyl__labels { display: none; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 116px); border-bottom: 1px solid var(--line); }
.section--alt { background: var(--ink-2); }
.section__head { display: grid; gap: 16px; max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head h2, .cert__text h2, .zone__text h2, .contact__aside h2 { font-size: clamp(1.95rem, 3.6vw, 2.8rem); }
.section__intro { font-size: 1.08rem; color: var(--stone); max-width: 40rem; }

/* ---------- Urgence ---------- */
.urgence__grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .urgence__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; } }
.urgence__head { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.urgence__head h2 { font-size: clamp(1.95rem, 3.6vw, 2.8rem); }
@media (max-width: 520px) { .urgence__head .btn { width: 100%; } }
.cases {
  display: grid; gap: 1px;
  margin: 0; padding: 0; list-style: none;
  background: var(--line); border: 1px solid var(--line);
}
@media (min-width: 600px) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.case { display: grid; gap: 10px; align-content: start; min-width: 0; padding: 24px 22px; background: var(--ink-2); }
.case__title { font-size: 1.24rem; color: var(--brass-hi); }
.case__text { font-size: 0.97rem; color: var(--stone); }

/* ---------- Prestations ---------- */
.family {
  display: grid; gap: 24px;
  padding-block: 36px;
  border-top: 1px solid var(--line-strong);
}
.family:last-child { padding-bottom: 0; }
.family__head { display: grid; gap: 10px; align-content: start; }
.family__title { font-size: 1.55rem; color: var(--brass-hi); }
.family__head p { max-width: 22rem; font-size: 0.98rem; color: var(--stone); }
@media (min-width: 900px) { .family { grid-template-columns: minmax(0, 15.5rem) minmax(0, 1fr); gap: 56px; } }
.services {
  display: grid; gap: 1px;
  margin: 0; padding: 0; list-style: none;
  background: var(--line); border: 1px solid var(--line);
}
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.service {
  display: grid; gap: 12px; align-content: start; min-width: 0;
  padding: 26px 24px 24px;
  background: var(--ink-2);
  transition: background-color 0.25s;
}
.service:hover { background: var(--panel); }
.service__icon {
  width: 46px; height: 46px; color: var(--brass);
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  transition: color 0.25s;
}
.service__icon .dot { fill: currentColor; stroke: none; }
.service:hover .service__icon { color: var(--brass-hi); }
.service__title { font-size: 1.32rem; }
.service__text { font-size: 0.98rem; color: var(--stone); }
.service__tags span { white-space: nowrap; }
.service__tags {
  font: 500 0.7rem/1.7 var(--font-mono);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass);
}

.service { position: relative; }
.service__title { transition: color 0.2s; }
.service__title a { color: inherit; text-decoration: none; }
.service__title a::after { content: ""; position: absolute; inset: 0; }
.service__title a:focus-visible { outline: none; }
.service:focus-within { outline: 2px solid var(--brass-hi); outline-offset: -2px; }
.service:hover .service__title { color: var(--brass-hi); }
.service__more { font: 500 0.72rem/1.4 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-hi); }
.textlink { color: var(--brass-hi); font-size: 0.95rem; text-underline-offset: 4px; }
.textlink:hover { color: var(--ivory); }

/* ---------- Garanties ---------- */
.cert {
  background:
    radial-gradient(45% 80% at 16% 50%, var(--brass-glow), transparent 70%),
    var(--ink);
}
.cert__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .cert__grid { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 76px; } }
.seal { display: block; width: min(15rem, 64vw); height: auto; justify-self: center; }
.seal__ring { fill: none; stroke: var(--brass); stroke-width: 1.4; }
.seal__ring--thin { stroke: var(--brass-lo); stroke-width: 0.8; }
.seal__arc { font: 500 11.5px var(--font-mono); letter-spacing: 2.4px; fill: var(--brass); }
.seal__big { font: 400 42px var(--font-display); letter-spacing: 4px; fill: url(#seal-metal); }
.seal__key { fill: none; stroke: var(--brass); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.cert__text { display: grid; gap: 18px; max-width: 44rem; min-width: 0; }
.cert__text p { color: var(--stone); }
.cert__text strong { color: var(--ivory); font-weight: 500; }

/* ---------- Déroulé ---------- */
.steps { display: grid; gap: 40px 28px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 560px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step {
  position: relative; display: grid; gap: 10px; align-content: start; min-width: 0;
  padding-top: 26px; border-top: 1px solid var(--line-strong);
}
.step::before {
  content: ""; position: absolute; top: -5px; left: 0;
  width: 9px; height: 9px; background: var(--brass); transform: rotate(45deg);
}
.step__num { font: 500 0.74rem/1 var(--font-mono); letter-spacing: 0.14em; color: var(--brass); }
.step__title { font-size: 1.3rem; }
.step__text { font-size: 0.98rem; color: var(--stone); }

/* ---------- Zone ---------- */
.zone__grid { display: grid; gap: 36px; align-items: start; grid-template-areas: "intro" "map" "list" "gironde"; }
@media (min-width: 960px) {
  .zone__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); column-gap: 64px; row-gap: 40px;
    grid-template-areas: "intro map" "list map" "gironde map"; grid-template-rows: auto auto 1fr; }
  .zone__map { position: sticky; top: 96px; }
}
.zone__intro { grid-area: intro; display: grid; gap: 18px; min-width: 0; }
.zone__intro > p { max-width: 38rem; color: var(--stone); }
.zone__quartiers strong { color: var(--ivory); font-weight: 500; }
.zone__hint { color: var(--brass-hi); }
.zone__list { grid-area: list; display: grid; gap: 26px 24px; min-width: 0; }
@media (min-width: 700px) { .zone__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } .communes__list { font-size: 0.92rem; } }
.communes__label { font: 500 0.7rem/1.3 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); padding-bottom: 8px; border-bottom: 1px solid var(--line-strong); }
.communes__list { margin: 0; padding: 0; list-style: none; font-size: 0.95rem; line-height: 1.35; }
@media (max-width: 699px) { .communes__list { columns: 2; column-gap: 20px; font-size: 0.9rem; } .communes__list li { break-inside: avoid; } }
.communes__list li { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ivory); transition: color 0.2s, padding 0.2s; }
.communes__list li::before { content: ""; flex: none; width: 5px; height: 5px; transform: rotate(45deg) translateY(-2px); background: var(--line-strong); transition: background 0.2s; }
.communes__list li.is-active { color: var(--brass-hi); padding-left: 4px; }
.communes__list li.is-active::before { background: var(--brass-hi); }
.gironde { grid-area: gironde; display: grid; gap: 12px; padding: 22px 24px; border: 1px solid var(--line-strong); border-left: 3px solid var(--brass); background: var(--ink-2); }
.gironde__title { font-size: 1.35rem; color: var(--brass-hi); }
.gironde > p { color: var(--stone); max-width: 38rem; }
.gironde__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.zone__map { grid-area: map; display: grid; gap: 12px; justify-items: center; margin: 0; min-width: 0; }
.zone__map figcaption { font: 400 0.72rem/1.45 var(--font-mono); color: var(--stone); text-align: center; text-wrap: balance; }

/* Carte de la métropole */
.mm { position: relative; width: 100%; max-width: 27rem; }
.mm__svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: manipulation; }
.mm__c { fill: var(--panel); stroke: var(--line-strong); stroke-width: 0.8; stroke-linejoin: round; transition: fill 0.25s ease; }
.mm__c.is-home { fill: var(--brass-wash); }
.mm__c:hover, .mm__c.is-active { fill: var(--brass-wash-strong); }
.mm__hl { fill: none; stroke: var(--brass-hi); stroke-width: 1.7; stroke-linejoin: round; pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.mm__hl.is-on { opacity: 1; }
.mm__outline { fill: none; stroke: var(--brass-lo); stroke-width: 1.4; stroke-linejoin: round; pointer-events: none; }
.mm__dot { fill: var(--brass-hi); pointer-events: none; }
.mm__ring { fill: none; stroke: var(--brass-hi); stroke-width: 1; pointer-events: none; }
.mm__pulse { fill: none; stroke: var(--brass); stroke-width: 1; pointer-events: none; transform-box: fill-box; transform-origin: center; animation: pulse 3.2s ease-out infinite; }
@keyframes pulse { from { transform: scale(0.5); opacity: 0.9; } to { transform: scale(2.6); opacity: 0; } }
.mm__tip {
  position: absolute; left: 50%; top: 50%; z-index: 2; pointer-events: none;
  padding: 6px 12px 7px; border: 1px solid var(--brass-lo); border-radius: 999px;
  background: var(--glass); color: var(--ivory); font: 600 0.86rem/1.2 var(--font-body); white-space: nowrap;
  box-shadow: 0 10px 26px var(--shadow);
  transform: translate(-50%, calc(-100% - 12px));
  transition: left 0.32s cubic-bezier(0.2, 0.7, 0.2, 1), top 0.32s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.mm__tip::after {
  content: ""; position: absolute; left: var(--arrow, 50%); bottom: -5px; width: 8px; height: 8px; margin-left: -4px;
  background: var(--ink); border-right: 1px solid var(--brass-lo); border-bottom: 1px solid var(--brass-lo); transform: rotate(45deg);
}
.mm__tip.is-pop { animation: tip-pop 0.34s cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes tip-pop {
  from { opacity: 0; transform: translate(-50%, calc(-100% - 2px)) scale(0.88); }
  to { opacity: 1; transform: translate(-50%, calc(-100% - 12px)) scale(1); }
}
.mm.is-waiting .mm__c, .mm.is-waiting .mm__outline, .mm.is-waiting .mm__home { opacity: 0; }
.mm.is-playing .mm__c { animation: mm-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--i) * 26ms); }
.mm.is-playing .mm__outline, .mm.is-playing .mm__home { animation: mm-in 0.6s ease both; animation-delay: 0.55s; }
@keyframes mm-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .mm__tip { transition: none; }
  .mm__tip.is-pop, .mm.is-playing .mm__c, .mm.is-playing .mm__outline, .mm.is-playing .mm__home, .mm__pulse { animation: none; }
}

/* ---------- Questions fréquentes ---------- */
.faq__grid { display: grid; gap: 8px; }
@media (min-width: 960px) {
  .faq__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
  .faq__head { position: sticky; top: 100px; margin-bottom: 0; }
}
.faq { border-top: 1px solid var(--line-strong); min-width: 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 0; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px;
  border-right: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass);
  transform: translateY(-3px) rotate(45deg); transition: transform 0.2s;
}
.faq__item[open] summary::after { transform: translateY(2px) rotate(225deg); }
.faq__q { font-size: 1.18rem; line-height: 1.3; transition: color 0.2s; }
.faq__item summary:hover .faq__q { color: var(--brass-hi); }
.faq__a { display: grid; gap: 10px; max-width: 42rem; padding-bottom: 22px; }
.faq__a p { color: var(--stone); }

/* ---------- Demande d’intervention ---------- */
.contact__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1020px) { .contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } }
.contact__aside { display: grid; gap: 22px; min-width: 0; }
.contact__aside { justify-items: start; }
@media (max-width: 520px) { .contact__aside .btn { width: 100%; } }
.contact__aside > p { max-width: 30rem; color: var(--stone); }
.phonecard { display: grid; gap: 12px; padding-block: 22px; border-block: 1px solid var(--line-strong); }
.phonecard__label { font: 500 0.7rem/1.3 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); }
.phonecard__num {
  width: fit-content; max-width: 100%;
  font: 400 clamp(2.15rem, 5vw, 3.05rem)/1.05 var(--font-display);
  letter-spacing: 0.03em; white-space: nowrap; text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.phonecard__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.phonecard__mail { display: grid; gap: 10px; margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--line); }
.phonecard__email { width: fit-content; max-width: 100%; padding-block: 2px; font: 400 clamp(1.15rem, 2.4vw, 1.42rem)/1.25 var(--font-display); color: var(--ivory); text-decoration: none; }
.phonecard__email:hover { color: var(--brass-hi); }
.feedback { min-height: 1.4em; font-size: 0.88rem; color: var(--brass-hi); }

.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.field__label { font-size: 0.93rem; font-weight: 500; color: var(--ivory); }
.field__opt { font-weight: 400; color: var(--stone); }
.input {
  width: 100%; min-height: 48px;
  padding: 12px 14px;
  background: var(--ink); color: var(--ivory);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  font: 400 1rem/1.45 var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input::placeholder { color: var(--placeholder); }
.input:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px var(--brass-wash); }
.input[aria-invalid="true"] { border-color: var(--danger); }
textarea.input { min-height: 120px; resize: vertical; }
.input--code { font-family: var(--font-mono); letter-spacing: 0.06em; }
.hint { font-size: 0.86rem; color: var(--stone); }
.err { font-size: 0.88rem; color: var(--danger); }
.err .linkbtn { color: var(--brass-hi); font-size: inherit; padding: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 0.94rem; color: var(--stone); cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.chip span:hover { border-color: var(--brass); color: var(--ivory); }
.chip input:checked + span { background: var(--brass); border-color: var(--brass); color: var(--ink); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--brass-hi); outline-offset: 2px; }

.thumbs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px;
  margin: 0; padding: 0; list-style: none;
}
.thumb {
  position: relative; aspect-ratio: 1; max-width: 100%; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius);
}
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.thumb button {
  position: absolute; top: 5px; right: 5px;
  display: grid; place-items: center; width: 30px; height: 30px; padding: 0;
  background: var(--glass); color: var(--ivory);
  border: 1px solid var(--line-strong); border-radius: 50%;
  font: 400 18px/1 var(--font-body); cursor: pointer;
}
.thumb button:hover { border-color: var(--brass); color: var(--brass-hi); }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 0.93rem; color: var(--stone); cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--brass); }
.linkbtn {
  padding: 4px 0;
  background: none; border: 0; color: var(--brass);
  font: 500 0.92rem/1.4 var(--font-body); text-decoration: underline; text-underline-offset: 4px; cursor: pointer;
}
.linkbtn:hover { color: var(--brass-hi); }
.btn__ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* L’assistant de demande */
.wiz {
  position: relative; display: grid; min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line-strong); border-radius: 8px;
  box-shadow: 0 30px 60px -40px var(--shadow);
}
.wiz__head { display: grid; gap: 14px; padding: 22px clamp(18px, 4vw, 32px) 0; }
.wiz__bar { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.wiz__bar span { height: 3px; border-radius: 2px; background: var(--line-strong); transition: background-color 0.3s; }
.wiz__bar .is-done { background: var(--brass-lo); }
.wiz__bar .is-now { background: var(--brass-hi); }
.wiz__meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.wiz__count { font: 500 0.7rem/1.4 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.wiz__stepname { color: var(--stone); }
.wiz__restore { font-size: 0.86rem; color: var(--stone); }
.wiz__restore .linkbtn { font-size: inherit; padding: 0; }
.wiz__call {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  padding: 10px 14px;
  background: rgba(232, 149, 127, 0.08); border: 1px solid rgba(232, 149, 127, 0.35); border-radius: 6px;
  font-size: 0.92rem; color: var(--ivory);
}
.wiz__call a { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--brass-hi); text-decoration: none; white-space: nowrap; }
.wiz__call a:hover { color: var(--ivory); }
.wiz__call-ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.wiz__body { min-width: 0; padding: 24px clamp(18px, 4vw, 32px) 28px; }
.wiz__step { display: grid; gap: 22px; min-width: 0; }
.wiz__step.is-fwd { animation: wiz-fwd 0.32s ease-out; }
.wiz__step.is-back { animation: wiz-back 0.32s ease-out; }
@keyframes wiz-fwd { from { opacity: 0; transform: translateX(14px); } }
@keyframes wiz-back { from { opacity: 0; transform: translateX(-14px); } }
.wiz__title { font-size: clamp(1.55rem, 3.4vw, 2rem); }
.wiz__title:focus { outline: none; }
.wiz__lead { max-width: 36rem; margin-top: -10px; font-size: 0.98rem; color: var(--stone); }
.wiz__group { display: grid; gap: 12px; min-width: 0; }
.wiz__glabel, .wiz__qlabel { font: 500 0.7rem/1.4 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); }
.wiz__glabel--urgent { color: var(--brass-hi); }
.wiz__qlabel { font: 500 0.95rem/1.4 var(--font-body); letter-spacing: 0; text-transform: none; color: var(--ivory); }
.wiz__q { display: grid; gap: 10px; min-width: 0; }
.wiz__row { display: grid; gap: 22px; }
@media (min-width: 640px) { .wiz__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wiz__access { display: grid; gap: 22px; padding-top: 4px; }
.wiz__fine { font-size: 0.88rem; color: var(--stone); }
.wiz__hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Grandes options */
.opts { display: grid; gap: 10px; }
@media (min-width: 640px) { .opts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.opt { position: relative; display: block; min-width: 0; cursor: pointer; }
.opt__input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.opt__box {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px;
  height: 100%; min-height: 68px; padding: 12px 14px 12px 12px;
  background: var(--ink); border: 1px solid var(--line-strong); border-radius: 6px;
  transition: border-color 0.2s, background-color 0.2s;
}
.opt__box--plain { grid-template-columns: minmax(0, 1fr) auto; padding-left: 18px; }
.opt:hover .opt__box { border-color: var(--brass-lo); background: var(--ink-2); }
.opt__input:checked + .opt__box { border-color: var(--brass); background: var(--brass-wash); }
.opt__input:focus-visible + .opt__box { outline: 2px solid var(--brass-hi); outline-offset: 2px; }
.opt__icon {
  width: 40px; height: 40px; color: var(--brass);
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.opt__icon .dot { fill: currentColor; stroke: none; }
.opt__text { display: grid; gap: 3px; min-width: 0; }
.opt__title { font: 400 1.1rem/1.25 var(--font-display); color: var(--ivory); }
.opt__sub { font-size: 0.86rem; line-height: 1.4; color: var(--stone); }
.opt__tick {
  display: grid; place-items: center; width: 24px; height: 24px;
  border: 1px solid var(--line-strong); border-radius: 50%;
  transition: background-color 0.2s, border-color 0.2s;
}
.opt__tick svg { width: 13px; height: 13px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.opt__input:checked + .opt__box .opt__tick { background: var(--brass); border-color: var(--brass); }
.opt__input:checked + .opt__box .opt__tick svg { opacity: 1; }

/* Besoins en tuiles compactes */
.opts--need { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.opts--need .opt__box { position: relative; grid-template-columns: auto minmax(0, 1fr); gap: 12px; min-height: 62px; padding: 10px 34px 10px 12px; }
.opts--need .opt__icon { width: 34px; height: 34px; }
.opts--need .opt__title { font-size: 1.02rem; line-height: 1.22; }
.opts--need .opt__sub { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.opts--need .opt__tick { position: absolute; top: 9px; right: 9px; width: 18px; height: 18px; }
.opts--need .opt__tick svg { width: 10px; height: 10px; }
@media (max-width: 479px) {
  .opts--need .opt__box { grid-template-columns: minmax(0, 1fr); align-content: start; justify-items: start; gap: 8px; min-height: 96px; padding: 12px 30px 12px 12px; }
  .opts--need .opt__icon { width: 30px; height: 30px; }
}

/* Adresse */
.addr-zone { display: grid; gap: 24px; min-width: 0; }
.addr { display: grid; gap: 8px; min-width: 0; }
.addr__field { position: relative; }
.addr__glass { position: absolute; left: 15px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); fill: none; stroke: var(--brass); stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.addr__input { min-height: 54px; padding-left: 46px; padding-right: 48px; font-size: 1.04rem; }
.addr__clear {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: none; color: var(--stone); font: 400 22px/1 var(--font-body); cursor: pointer;
}
.addr__clear:hover { color: var(--brass-hi); }
.addr__list {
  margin: 6px 0 0; padding: 6px; list-style: none;
  max-height: min(340px, 55vh); overflow-y: auto; overscroll-behavior: contain;
  background: var(--panel); border: 1px solid var(--brass-lo); border-radius: 6px;
  box-shadow: 0 26px 50px -22px var(--shadow);
}
.addr__opt {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1px 12px;
  min-height: 54px; padding: 9px 10px; border-radius: 4px; cursor: pointer;
}
.addr__opt-ico { grid-row: span 2; width: 18px; height: 18px; fill: none; stroke: var(--brass); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.addr__opt strong { font-weight: 500; font-size: 0.98rem; line-height: 1.3; color: var(--ivory); overflow-wrap: anywhere; }
.addr__opt span { font-size: 0.84rem; line-height: 1.3; color: var(--stone); overflow-wrap: anywhere; }
.addr__opt:hover, .addr__opt[aria-selected="true"] { background: var(--brass-wash); }
.addr__opt--manual { border-top: 1px solid var(--line); border-radius: 0 0 4px 4px; }
.addr__opt--manual strong { color: var(--brass-hi); }
.addr__status { min-height: 1.3em; font-size: 0.86rem; color: var(--stone); }
.addr__tools { display: flex; flex-wrap: wrap; gap: 10px; }
.addr__card { overflow: hidden; background: var(--ink); border: 1px solid var(--line-strong); border-radius: 6px; }
.addr__card-body { display: grid; gap: 4px; padding: 14px 16px 12px; }
.addr__line1 { font: 400 1.18rem/1.3 var(--font-display); color: var(--ivory); }
.addr__line2 { font-size: 0.94rem; color: var(--stone); }
.addr__note { font-size: 0.88rem; color: var(--stone); }
.addr__warn { font-size: 0.88rem; color: var(--brass-hi); }
.addr__change { justify-self: start; }

/* Plan de situation */
.minimap {
  position: relative; height: 172px; overflow: hidden;
  background-color: #191611;
  background-image: linear-gradient(rgba(201, 164, 92, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(201, 164, 92, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  border-bottom: 1px solid var(--line);
}
.minimap__tiles { position: absolute; inset: 0; }
.minimap__tiles img {
  position: absolute; width: 256px; height: 256px; max-width: none;
  filter: invert(1) hue-rotate(185deg) brightness(0.9) contrast(0.86) saturate(0.55) sepia(0.22);
  user-select: none; -webkit-user-drag: none;
}
.minimap.is-off .minimap__tiles { display: none; }
.minimap__off { position: absolute; left: 12px; top: 10px; display: none; font: 500 0.66rem/1.3 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); }
.minimap.is-off .minimap__off { display: block; }
.minimap__pin { position: absolute; left: 50%; top: 50%; width: 30px; height: 40px; transform: translate(-50%, -100%); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.55)); }
.minimap__pin .pin-body { fill: var(--brass); stroke: var(--ink); stroke-width: 1.5; }
.minimap__pin .pin-hole { fill: var(--ink); }
.minimap__credit { position: absolute; right: 6px; bottom: 6px; padding: 2px 6px; border-radius: 3px; background: rgba(14, 13, 11, 0.75); font: 500 0.6rem/1.3 var(--font-mono); letter-spacing: 0.06em; color: var(--stone); }
.minimap.is-off .minimap__credit { display: none; }

/* Photos */
.shots { display: grid; gap: 10px; min-width: 0; border-radius: 6px; }
.shots.is-drag .shots__add { border-color: var(--brass); background: var(--brass-wash); }
.shots__add {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 68px; padding: 14px 16px;
  background: var(--ink); color: var(--ivory);
  border: 1px dashed var(--line-strong); border-radius: 6px;
  font: 500 1rem/1.3 var(--font-body); text-align: left; cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.shots__add:hover { border-color: var(--brass); }
.shots__add small { display: block; margin-top: 3px; font-size: 0.84rem; font-weight: 400; color: var(--stone); }
.shots__ico { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--brass); stroke-width: 1.6; stroke-linejoin: round; }
.shots__tip { font-size: 0.88rem; color: var(--stone); }
.shots__msg:empty { display: none; }

/* Vérification */
.recap { display: grid; border-top: 1px solid var(--line); }
.recap__sec { display: grid; gap: 5px; padding-block: 14px; border-bottom: 1px solid var(--line); min-width: 0; }
.recap__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.recap__label { font: 500 0.68rem/1.4 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.recap__head .linkbtn { padding: 0; font-size: 0.86rem; }
.recap__sec > p { font-size: 0.98rem; color: var(--ivory); overflow-wrap: anywhere; }
.recap__sec > .recap__muted { font-size: 0.9rem; color: var(--stone); }
.recap__strong { color: var(--ivory); }
.recap__code { font-family: var(--font-mono); color: var(--brass-hi); letter-spacing: 0.06em; }
.recap__alert { color: var(--danger) !important; font-size: 0.92rem !important; }
.recap__msg { white-space: pre-line; font-size: 0.94rem !important; color: var(--stone) !important; }
.recap__thumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.recap__thumbs img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line-strong); }

/* Bas de l’assistant */
.wiz__foot {
  position: sticky; bottom: 0; z-index: 4;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px clamp(18px, 4vw, 32px) calc(14px + env(safe-area-inset-bottom, 0px));
  background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); border-radius: 0 0 8px 8px;
}
.wiz__foot .wiz__next { min-width: 150px; }
@media (max-width: 479px) { .wiz__foot .wiz__next { flex: 1; } }
.wiz__foot-note { font: 500 0.7rem/1.4 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); }
.wiz__back {
  display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 14px 0 8px;
  background: none; border: 1px solid transparent; border-radius: var(--radius);
  color: var(--stone); font: 500 0.95rem/1 var(--font-body); cursor: pointer;
}
.wiz__back:hover { color: var(--ivory); border-color: var(--line-strong); }
.wiz__back-ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wiz__sendbar { position: absolute; left: 0; top: -1px; height: 2px; width: var(--p, 0%); background: var(--brass-hi); transition: width 0.2s; }

/* Envoi, erreurs, fin */
.wiz__alert {
  display: grid; gap: 10px; padding: 16px;
  background: rgba(232, 149, 127, 0.08); border: 1px solid rgba(232, 149, 127, 0.4); border-radius: 6px;
  font-size: 0.94rem; color: var(--ivory);
}
.wiz__alert-title { font-weight: 600; }
.wiz__alert-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.wiz__tech { font-size: 0.8rem; color: var(--stone); }
.wiz__tech summary { cursor: pointer; width: max-content; }
.wiz__tech p { margin: 6px 0 0; font-family: var(--font-mono); overflow-wrap: anywhere; }
.wiz__done { justify-items: start; padding-block: 8px 4px; }
.wiz__badge {
  display: grid; place-items: center; width: 60px; height: 60px;
  background: var(--brass-wash); border: 1px solid var(--brass); border-radius: 50%;
}
.wiz__badge svg { width: 30px; height: 30px; fill: none; stroke: var(--brass-hi); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.wiz__ref { font: 500 1.5rem/1 var(--font-mono); letter-spacing: 0.06em; color: var(--brass-hi); }
.wiz__done .wiz__lead { margin-top: 0; }
.wiz__done-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 520px) { .wiz__done-actions, .wiz__done-actions .btn { width: 100%; } }
.wiz__demo { padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: 6px; font-size: 0.9rem; color: var(--stone); }
.wiz__demo a { color: var(--brass-hi); }
.wiz noscript p { padding: 28px; color: var(--stone); }

/* ---------- Pied de page ---------- */
.footer { padding-block: 56px calc(30px + env(safe-area-inset-bottom, 0px)); background: var(--ink); }
.footer__grid { display: grid; gap: 30px; }
@media (min-width: 860px) { .footer__grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; } }
.footer__brand { display: grid; gap: 16px; align-content: start; }
.footer__brand p { max-width: 24rem; font-size: 0.94rem; color: var(--stone); }
.footer__col { display: grid; gap: 6px; align-content: start; font-size: 0.94rem; color: var(--stone); }
.footer__label { font: 500 0.68rem/1.3 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); margin-bottom: 4px; }
.footer__phone { font: 400 1.3rem/1.2 var(--font-display); color: var(--ivory); text-decoration: none; white-space: nowrap; }
.footer__phone:hover { color: var(--brass-hi); }
.footer__links { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.footer__links a { display: inline-block; padding: 2px 0; color: var(--stone); text-decoration: none; }
.footer__links a:hover { color: var(--brass-hi); }
.footer__mail { color: var(--ivory); text-decoration: none; }
.footer__mail:hover { color: var(--brass-hi); }
.footer__base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px;
  margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line);
  font: 400 0.76rem/1.4 var(--font-mono); color: var(--stone);
}
.footer__base a { display: inline-block; padding: 5px 0; color: var(--stone); text-decoration: none; }
.footer__base a:hover { color: var(--brass-hi); }

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

/* ---------- Pages prestations ---------- */
.page-hero {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(55% 85% at 88% 30%, var(--brass-glow), transparent 70%), var(--ink);
}
.page-hero__inner { display: grid; gap: 22px; justify-items: start; padding-block: clamp(32px, 5vw, 64px) clamp(44px, 6vw, 80px); }
.page-hero h1 { max-width: 15em; font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.04; }
.page-hero .lead { max-width: 44rem; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 500 0.74rem/1.4 var(--font-mono); letter-spacing: 0.08em; color: var(--stone); }
.crumbs a { display: inline-block; padding: 4px 0; color: var(--stone); text-decoration: none; }
.crumbs a:hover { color: var(--brass-hi); }
.crumbs [aria-current] { color: var(--ivory); }
.facts {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 4px 0 0; padding: 18px 0 0; list-style: none;
  border-top: 1px solid var(--line); font: 500 0.74rem/1.3 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass);
}
.article { display: grid; gap: clamp(40px, 5vw, 56px); }
@media (min-width: 980px) { .article { grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: 72px; align-items: start; } }
.prose { display: grid; gap: 44px; min-width: 0; }
.prose > section { display: grid; gap: 14px; scroll-margin-top: 96px; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.prose p, .prose li { max-width: 44rem; color: var(--stone); }
.prose strong { color: var(--ivory); font-weight: 500; }
.prose a { color: var(--brass-hi); text-underline-offset: 3px; }
.prose a:hover { color: var(--ivory); }
.prose ul, .prose ol { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 6px; height: 6px; background: var(--brass); transform: rotate(45deg); }
.prose ol { counter-reset: etape; gap: 14px; }
.prose ol li { position: relative; padding-left: 46px; counter-increment: etape; }
.prose ol li::before { content: counter(etape, decimal-leading-zero); position: absolute; left: 0; top: 0.12em; font: 500 0.8rem/1.6 var(--font-mono); letter-spacing: 0.08em; color: var(--brass); }
.aside-card { display: grid; gap: 14px; padding: 26px 24px; border: 1px solid var(--line-strong); background: var(--ink); }
@media (min-width: 980px) { .aside-card { position: sticky; top: 96px; } }
.aside-card h2 { font-size: 1.4rem; }
.aside-card p { font-size: 0.95rem; color: var(--stone); }
.aside-card .btn { width: 100%; }
.aside-card__num { width: fit-content; font: 400 1.9rem/1.1 var(--font-display); letter-spacing: 0.02em; color: var(--brass-hi); text-decoration: none; white-space: nowrap; }
.aside-card__meta { font: 500 0.72rem/1.5 var(--font-mono) !important; letter-spacing: 0.1em; text-transform: uppercase; }
.aside-card__mail { color: var(--ivory); font-size: 0.95rem; text-decoration: none; }
.aside-card__mail:hover { color: var(--brass-hi); }
.related { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 560px) { .related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .related { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.related a {
  display: grid; gap: 6px; align-content: start; height: 100%; padding: 20px 20px 18px;
  border: 1px solid var(--line-strong); background: var(--ink-2); color: var(--ivory); text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s;
}
.related a:hover { background: var(--panel); border-color: var(--brass-lo); }
.related strong { font: 400 1.14rem/1.25 var(--font-display); }
.related span { font-size: 0.88rem; color: var(--stone); }
