/* ==========================================================================
   LIFT AUTO 47 — Garage & carrosserie à Castelculier
   Thème « atelier » : bardage anthracite, enseigne rouge, portes sectionnelles
   ========================================================================== */

/* Polices auto-hébergées (Barlow, Barlow Condensed — licence SIL OFL), sous-ensemble latin */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-700-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-800-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-800.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Couleurs */
  --ink: #0e0f11;
  --ink-2: #16181b;
  --graphite: #26292e;
  --graphite-2: #34383e;
  --steel: #8a9098;
  --paper: #f4f3f0;
  --sand: #e8e5df;
  --white: #ffffff;
  --text: #16181b;
  --muted: #555b63;
  --muted-on-dark: #a9aeb6;
  --line: #dcd8d1;
  --line-dark: rgba(255, 255, 255, 0.1);
  --red: #e40613;
  --red-hover: #c8040f;
  --red-text: #c4050f;
  --plate-blue: #003399;
  --open: #2fd27a;
  --closed: #ff5a5f;

  /* Typo */
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;

  /* Mise en page */
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 18px 40px -22px rgba(14, 15, 17, 0.45);

  /* Texture du bardage (nervures verticales) */
  --ribs: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.035) 0 2px,
    transparent 2px 13px,
    rgba(0, 0, 0, 0.28) 13px 15px,
    transparent 15px 26px
  );
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

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

.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: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  transition: top 0.2s;
}
.skip:focus { top: 12px; }

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

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Titres façon enseigne ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 0.95;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-text);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 6px;
  background: var(--red);
  transform: skewX(-20deg);
}
.on-dark .eyebrow,
.hero .eyebrow { color: #ff4a53; }

.section {
  padding-block: clamp(72px, 10vw, 128px);
  position: relative;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-head h2 {
  font-size: clamp(2.3rem, 3.2vw + 1.2rem, 4rem);
  margin-bottom: 18px;
}
.section-head p {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 62ch;
}
.on-dark .section-head p { color: var(--muted-on-dark); }

.red { color: var(--red); }

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.btn:hover { background: var(--red-hover); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.15em; height: 1.15em; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--dark {
  --btn-bg: var(--ink);
}
.btn--dark:hover { background: var(--graphite); }

.btn--line {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--ink);
}
.btn--line:hover { background: var(--ink); color: #fff; }

.btn--sm { min-height: 44px; padding: 8px 16px; font-size: 1rem; }

/* ---------- Barre supérieure ---------- */
.topbar {
  background: #000;
  color: #d9dce0;
  font-size: 0.875rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}
.topbar__links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}
.topbar a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; color: var(--red); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.status__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--steel);
  flex: none;
}
.status[data-state="open"] .status__dot {
  background: var(--open);
  box-shadow: 0 0 0 0 rgba(47, 210, 122, 0.6);
  animation: pulse 2s infinite;
}
.status[data-state="closed"] .status__dot { background: var(--closed); }
.status[data-state="soon"] .status__dot { background: #ffb020; }

@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(47, 210, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 210, 122, 0); }
}

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 15, 17, 0.94);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-dark);
  color: #fff;
  transition: box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.9); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.brand img { width: 128px; height: auto; }

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav__link {
  position: relative;
  display: block;
  padding: 10px 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #e9ebee;
  transition: color 0.2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 3px;
  background: var(--red);
  transform: scaleX(0) skewX(-20deg);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover,
.nav__link[aria-current],
.nav__link.is-active { color: #fff; }
.nav__link:hover::after,
.nav__link[aria-current]::after,
.nav__link.is-active::after { transform: scaleX(1) skewX(-20deg); }

.nav__extra { display: none; }

.header-cta { flex: none; }

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.burger .icon { width: 24px; height: 24px; }
.burger .icon-close { display: none; }
.burger[aria-expanded="true"] .icon-open { display: none; }
.burger[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(calc(100svh - var(--header-h) - 40px), 880px);
  min-height: min(calc(100vh - var(--header-h) - 40px), 880px);
  padding-block: clamp(120px, 14vw, 180px) clamp(48px, 7vw, 88px);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
@supports (min-height: 100svh) {
  .hero { min-height: min(calc(100svh - var(--header-h) - 40px), 880px); }
}

.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.hero__media img {
  object-fit: cover;
  object-position: 62% 58%;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 10, 12, 0.94) 0%, rgba(10, 10, 12, 0.78) 34%, rgba(10, 10, 12, 0.2) 68%, rgba(10, 10, 12, 0.05) 100%),
    linear-gradient(0deg, rgba(10, 10, 12, 0.85) 0%, rgba(10, 10, 12, 0) 40%);
}

.hero__inner { position: relative; width: 100%; }

.hero__title {
  display: block;
  max-width: 24ch;
  font-size: clamp(2.3rem, 3.6vw + 0.9rem, 4.6rem);
}
.hero__title em { font-style: italic; color: var(--red); }
.hero__subtitle {
  display: block;
  max-width: 34ch;
  margin-top: 18px;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  font-size: clamp(1.15rem, 0.8vw + 1rem, 1.45rem);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.3;
  color: #f1f2f4;
}

.hero__lead {
  max-width: 54ch;
  margin: 18px 0 32px;
  font-size: 1.125rem;
  color: #c9cdd3;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  list-style: none;
  font-size: 0.95rem;
  color: #d5d8dd;
}
.hero__proof li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.hero__proof strong { color: #fff; }
.hero__proof .stars { color: #ffc531; display: inline-flex; gap: 1px; }
.hero__proof .stars .icon { width: 15px; height: 15px; }
.hero__proof img { width: 30px; height: 30px; border-radius: 3px; }

/* Plaque d'immatriculation (clin d'œil au « 47 ») */
.plate {
  display: inline-flex;
  align-items: stretch;
  height: 46px;
  border: 2px solid #111;
  border-radius: 6px;
  background: #fff;
  color: #111;
  overflow: hidden;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.7);
  font-family: var(--font-display);
  font-weight: 700;
  font-style: normal;
  line-height: 1;
}
.plate__band {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  width: 24px;
  padding-bottom: 5px;
  background: var(--plate-blue);
  color: #fff;
  font-size: 13px;
}
.plate__band--eu::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px dotted #ffcc00;
  border-radius: 50%;
}
.plate__band--dep { width: 28px; font-size: 14px; }
.plate__band--dep::before {
  content: "";
  width: 14px;
  height: 10px;
  background: linear-gradient(135deg, #ffcc00 0 50%, #e40613 50%);
  border-radius: 2px;
}
.plate__number {
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 29px;
  letter-spacing: 0.06em;
}

.hero__plate {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(48px, 7vw, 88px);
  transform: rotate(-3deg);
}

/* Porte sectionnelle qui se lève à l'arrivée sur le site */
.hero__door { display: none; }

.js .hero__door {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 20;
  background:
    linear-gradient(0deg, #9da2a8 0 14px, transparent 14px),
    repeating-linear-gradient(180deg, #eef0f2 0 52px, #c6c9cd 52px 54px, #fafbfc 54px 56px);
  box-shadow: inset 0 -30px 60px -40px rgba(0, 0, 0, 0.5);
  animation: door-up 0.8s var(--ease) 0.1s forwards;
  pointer-events: none;
}
.js .hero__door::before {
  content: "";
  position: absolute;
  top: 30%;
  left: 50%;
  width: min(14vw, 150px);
  height: 46px;
  margin-left: calc(min(14vw, 150px) * -1.5 - 30px);
  background: #262a30;
  box-shadow:
    calc(min(14vw, 150px) + 30px) 0 0 #262a30,
    calc((min(14vw, 150px) + 30px) * 2) 0 0 #262a30;
}

@keyframes door-up {
  0% { transform: translateY(0); }
  99% { transform: translateY(-101%); visibility: visible; }
  100% { transform: translateY(-101%); visibility: hidden; }
}

.js .hero__inner > * {
  opacity: 0;
  transform: translateY(26px);
  animation: rise 0.6s var(--ease) forwards;
}
.js .hero__inner > :nth-child(1) { animation-delay: 0.45s; }
.js .hero__inner > :nth-child(2) { animation-delay: 0.52s; }
.js .hero__inner > :nth-child(3) { animation-delay: 0.59s; }
.js .hero__inner > :nth-child(4) { animation-delay: 0.66s; }
.js .hero__inner > :nth-child(5) { animation-delay: 0.73s; }

.no-door .hero__door { display: none !important; }
.js.no-door .hero__inner > * { animation-delay: 0s !important; animation-duration: 0.5s; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

/* ---------- Bandeau défilant façon enseigne ---------- */
.ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: var(--red);
  color: #fff;
  border-block: 4px solid var(--ink);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 48s linear infinite;
}
.ticker__list {
  display: flex;
  align-items: center;
  list-style: none;
  padding-block: 14px;
}
.ticker__list li {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(1.25rem, 1vw + 1rem, 1.75rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__list li::after {
  content: "";
  width: 22px;
  height: 8px;
  margin-inline: 28px;
  background: var(--ink);
  transform: skewX(-24deg);
}
@keyframes ticker {
  to { transform: translateX(-50%); }
}
.ticker:hover .ticker__track { animation-play-state: paused; }

/* ---------- Les 4 portes de l'atelier ---------- */
.doors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
}

.door {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.door:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.door__bay {
  position: relative;
  height: 172px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 120%, rgba(228, 6, 19, 0.45), transparent 60%),
    var(--ink);
  border-bottom: 6px solid var(--graphite);
}
.door__bay .icon {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 54px;
  height: 54px;
  margin-left: -27px;
  color: #fff;
  stroke-width: 1.5;
}
.door__panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 20px;
  background:
    linear-gradient(0deg, #a8adb3 0 8px, transparent 8px),
    repeating-linear-gradient(180deg, #eef0f2 0 27px, #cdd0d4 27px 28px, #fafbfc 28px 29px);
  transition: transform 0.6s var(--ease);
}
.door:hover .door__panel,
.door:focus-within .door__panel { transform: translateY(-58%); }

.door__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.door__big {
  align-self: flex-end;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 4.2rem;
  line-height: 0.8;
  color: var(--ink);
}
.door__big span { color: var(--red); }

.door__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 22px 26px;
}
.door__body h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.7rem;
  margin-bottom: 10px;
}
.door__body > p { color: var(--muted); font-size: 1rem; }

.checklist {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 4px;
  font-size: 0.98rem;
}
.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.checklist .icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--red);
  stroke-width: 2.6;
}

/* Services complémentaires */
.extras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(40px, 6vw, 72px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  list-style: none;
}
.extra {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 26px 24px;
  background: var(--paper);
  transition: background-color 0.25s;
}
.extra:hover { background: #fff; }
.extra__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}
.extra__icon .icon { width: 22px; height: 22px; }
.extra h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.extra p { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.5; }

/* ---------- Carrosserie (section sombre, bardage) ---------- */
.on-dark {
  background-color: var(--ink);
  background-image: var(--ribs);
  color: #f2f3f5;
}

.bodyshop__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 4px;
}
.step {
  counter-increment: step;
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line-dark);
}
.step:last-child { border-bottom: 1px solid var(--line-dark); }
.step::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 3rem;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.55);
  transition: color 0.3s, -webkit-text-stroke-color 0.3s;
}
.step:hover::before { color: var(--red); -webkit-text-stroke-color: var(--red); }
.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.step p { margin: 0; color: var(--muted-on-dark); }

.bodyshop__aside { position: relative; }

.bodyshop__photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.bodyshop__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}
.bodyshop__photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 20px 16px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85), transparent);
  font-size: 0.9rem;
  color: #dfe2e6;
}

/* Offre en cours : ticket d'atelier */
.ticket {
  position: relative;
  margin: -64px 0 0 -40px;
  max-width: 360px;
  padding: 22px 24px 20px;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
  transform: rotate(-2deg);
  z-index: 5;
}
.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  background: var(--ink);
}
.ticket::before { left: -9px; }
.ticket::after { right: -9px; }
.ticket__label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  background: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ticket__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.9rem;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ticket p { margin: 0; font-size: 0.98rem; line-height: 1.45; }
.ticket small { display: block; margin-top: 8px; opacity: 0.85; font-size: 0.8rem; }
.ticket[hidden] { display: none; }

/* ---------- Le garage ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.about__media {
  position: relative;
}
.about__media picture,
.about__media img {
  border-radius: var(--radius);
}
.about__media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}
.about__media::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  z-index: -1;
  border-radius: var(--radius);
  background-color: var(--ink);
  background-image: var(--ribs);
}
.about__media { isolation: isolate; }
.about__media .plate {
  position: absolute;
  left: -14px;
  bottom: 28px;
  transform: rotate(-4deg);
}

.about__text h2 {
  font-size: clamp(2.3rem, 3.2vw + 1.2rem, 3.9rem);
  margin-bottom: 22px;
}
.about__text p { color: #3c4148; }
.about__text p.big {
  font-size: 1.22rem;
  color: var(--text);
  font-weight: 500;
}

.values {
  display: grid;
  gap: 18px;
  margin-top: 30px;
  list-style: none;
}
.value {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}
.value__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  transform: skewX(-8deg);
}
.value__icon .icon { width: 22px; height: 22px; transform: skewX(8deg); }
.value h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}
.value p { margin: 0; color: var(--muted); font-size: 1rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(56px, 8vw, 96px);
  border-top: 4px solid var(--ink);
  list-style: none;
}
.stat {
  padding: 24px 20px 0 0;
}
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(2.6rem, 3vw + 1rem, 3.8rem);
  line-height: 1;
  color: var(--ink);
}
.stat__value small { font-size: 0.5em; color: var(--muted); font-style: normal; font-weight: 700; }
.stat__label { display: block; margin-top: 6px; color: var(--muted); font-size: 0.98rem; line-height: 1.4; }

/* ---------- Partenaire Motrio ---------- */
.partner {
  background: var(--sand);
}
.partner__card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 4vw, 52px);
  background: #fff;
  border-radius: var(--radius);
  border-left: 10px solid var(--red);
  box-shadow: var(--shadow);
}
.partner__logo { width: clamp(96px, 10vw, 136px); border-radius: 4px; }
.partner h2 {
  font-size: clamp(2rem, 2.4vw + 1rem, 3rem);
  margin-bottom: 14px;
}
.partner p { color: #3c4148; max-width: 66ch; }
.partner__list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 16px 0 18px;
}
.partner__list li { display: flex; gap: 10px; align-items: flex-start; }
.partner__list .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--red); stroke-width: 2.6; }
.partner__note {
  margin: 0;
  padding: 12px 16px;
  background: var(--paper);
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--muted) !important;
}
.partner__cta { align-self: end; }

/* ---------- Avis ---------- */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
}
.score {
  position: relative;
  padding: 28px 26px 26px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}
.score::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--red) var(--fill, 100%), rgba(255, 255, 255, 0.12) var(--fill, 100%));
}
.score__source {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.score__value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 4.6rem;
  line-height: 0.9;
  color: #fff;
}
.score__value small { font-size: 1.5rem; color: var(--muted-on-dark); font-style: normal; }
.score__stars { display: flex; gap: 3px; color: #ffc531; }
.score__stars .icon { width: 18px; height: 18px; }
.score__count { margin: 10px 0 0; color: var(--muted-on-dark); font-size: 0.98rem; }
.score a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
}
.score a:hover { color: #ff4a53; }
.score a .icon { width: 16px; height: 16px; }

.reviews__quote {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  margin-top: clamp(48px, 6vw, 80px);
}
.quote { margin: 0; }
.reviews__quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(2rem, 3.6vw + 0.6rem, 4rem);
  line-height: 0.98;
}
.reviews__quote blockquote p { margin: 0 0 14px; }
.reviews__quote blockquote p::before { content: "« "; color: var(--red); }
.reviews__quote blockquote p::after { content: " »"; color: var(--red); }
.quote figcaption {
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--muted-on-dark);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  list-style: none;
}
.tags li {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #e9ebee;
}
.reviews__note { margin: 28px 0 0; font-size: 0.85rem; color: var(--muted-on-dark); }

/* ---------- FAQ ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.faq__head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__head .section-head { margin-bottom: 26px; }

.faq__list { border-top: 2px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.2;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) center / 12px 2px no-repeat,
    linear-gradient(#fff, #fff) center / 2px 12px no-repeat,
    var(--ink);
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--red);
}
.faq__item summary:hover { color: var(--red-text); }
.faq__answer { padding: 0 48px 24px 0; color: #3c4148; }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- Contact & infos pratiques ---------- */
.contact { background: #fff; }
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.infos {
  padding: clamp(26px, 3vw, 40px);
  border-radius: var(--radius);
  background-color: var(--ink);
  background-image: var(--ribs);
  color: #f2f3f5;
}
.infos__row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line-dark);
}
.infos__row .ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
}
.infos__row .ico .icon { width: 20px; height: 20px; }
.infos__label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.infos__row a,
.infos__row address {
  font-style: normal;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.infos__row a:hover { color: #ff4a53; }
.infos__phone { font-family: var(--font-display); font-size: 1.9rem !important; font-weight: 800 !important; font-style: italic; letter-spacing: 0.02em; }

.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
.hours caption {
  text-align: left;
  padding-bottom: 10px;
}
.hours th,
.hours td {
  padding: 8px 10px;
  text-align: left;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.hours th { font-weight: 600; }
.hours td { color: #d5d8dd; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.hours tr.is-closed td { color: var(--muted-on-dark); }
.hours tr.is-today {
  background: rgba(228, 6, 19, 0.18);
  box-shadow: inset 4px 0 0 var(--red);
}
.hours tr.is-today th::after {
  content: "aujourd'hui";
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 2px;
}
.infos .status { margin-top: 14px; font-size: 0.98rem; }
.infos__pay {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 22px 0 0;
  color: var(--muted-on-dark);
  font-size: 0.95rem;
}
.infos__pay .icon { color: #fff; }

/* Formulaire */
.form {
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.form h3 {
  font-size: clamp(1.8rem, 1.4vw + 1.1rem, 2.4rem);
  margin-bottom: 8px;
}
.form > p { color: var(--muted); }
.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
  margin-top: 22px;
}
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-weight: 600;
  font-size: 0.95rem;
}
.field label .opt { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid #c9c4bb;
  border-radius: var(--radius);
  background: #fff;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(228, 6, 19, 0.18);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: var(--red); }
.field input[name="immat"] { text-transform: uppercase; letter-spacing: 0.06em; }

.form__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  margin-top: 22px;
}
.form__legal { margin: 0; flex: 1 1 260px; font-size: 0.85rem; color: var(--muted); line-height: 1.5; }
.form__legal a { color: var(--text); }
.form__status {
  grid-column: 1 / -1;
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: #e7f7ee;
  color: #145c34;
  font-weight: 500;
}
.form__status[hidden] { display: none; }
.form__alt { margin: 18px 0 0; font-size: 0.95rem; color: var(--muted); }
.form__alt a { color: var(--red-text); font-weight: 600; }

/* Carte */
.map {
  position: relative;
  margin-top: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--sand);
}
.map iframe {
  width: 100%;
  height: clamp(320px, 38vw, 440px);
  border: 0;
  filter: saturate(0.75) contrast(1.02);
}
.map__card {
  position: absolute;
  left: 20px;
  bottom: 20px;
  max-width: 340px;
  padding: 20px 22px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.map__card strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.5rem;
  text-transform: uppercase;
  line-height: 1;
}
.map__card p { margin: 6px 0 14px; color: #c9cdd3; font-size: 0.95rem; }

.zones {
  margin-top: clamp(28px, 4vw, 40px);
  color: var(--muted);
  font-size: 1rem;
}
.zones strong { color: var(--text); }

/* ---------- Pied de page ---------- */
.footer {
  padding-top: clamp(56px, 7vw, 88px);
  background-color: #000;
  background-image: var(--ribs);
  color: #c9cdd3;
  font-size: 0.98rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 48px;
}
.footer__brand img { width: 150px; margin-bottom: 18px; }
.footer__brand p { max-width: 34ch; }
.footer h2 {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.footer address { font-style: normal; }
.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.footer__partner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-size: 0.9rem;
}
.footer__partner img { width: 40px; height: 40px; border-radius: 3px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 22px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.85rem;
  color: #8f959d;
}
.footer__bottom a { color: #c9cdd3; }

/* ---------- Barre d'actions mobile ---------- */
.mobile-bar { display: none; }

/* ---------- Page mentions légales ---------- */
.legal__back { margin-left: auto; }
.legal { padding-block: clamp(56px, 8vw, 96px); background: #fff; }
.legal__inner { max-width: 860px; }
.legal h1 { font-size: clamp(2.4rem, 4vw + 1rem, 4.2rem); margin-bottom: 12px; }
.legal__updated { color: var(--muted); font-size: 0.95rem; }
.legal h2 {
  margin: 44px 0 14px;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.7rem;
  text-transform: uppercase;
}
.legal p { color: #3c4148; }
.legal a { color: var(--red-text); }
.legal .btn { color: #fff; }
.legal__dl {
  display: grid;
  grid-template-columns: minmax(180px, 0.6fr) 1fr;
  gap: 0;
  margin: 0;
}
.legal__dl dt,
.legal__dl dd {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.legal__dl dt { font-weight: 600; padding-right: 16px; }
.legal__dl dd { color: #3c4148; }
.todo {
  padding: 12px 16px;
  border-left: 4px solid #ffb020;
  background: #fff6e0;
  color: #6b4a00 !important;
  font-weight: 500;
}
@media (max-width: 600px) {
  .legal__dl { grid-template-columns: 1fr; }
  .legal__dl dt { padding-bottom: 0; border-bottom: 0; }
}

/* ---------- Page 404 ---------- */
.page-404 { min-height: 100vh; display: grid; place-items: center; padding: 40px 16px; }
.notfound { max-width: 640px; text-align: center; }
.notfound__logo { width: 150px; margin: 0 auto 28px; }
.notfound__code {
  margin: 0;
  font-size: clamp(6rem, 22vw, 11rem);
  color: transparent;
  -webkit-text-stroke: 2px var(--red);
}
.notfound h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 16px; }
.notfound p { color: var(--muted-on-dark); }
.notfound__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* ---------- Apparition au défilement ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .doors { grid-template-columns: repeat(2, 1fr); }
  .header-cta .btn__label { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1023px) {
  /* backdrop-filter créerait un bloc conteneur pour le menu en position fixe */
  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--ink);
  }
  .nav {
    position: fixed;
    inset: var(--nav-top, calc(var(--header-h) + 40px)) 0 0 0;
    z-index: 90;
    margin: 0;
    padding: 28px var(--gutter) 40px;
    overflow-y: auto;
    background-color: var(--ink);
    background-image: var(--ribs);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.4s var(--ease), visibility 0s linear 0.4s;
  }
  .nav.is-open {
    transform: none;
    visibility: visible;
    transition: transform 0.4s var(--ease), visibility 0s;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    padding: 16px 0;
    font-family: var(--font-display);
    font-weight: 800;
    font-style: italic;
    font-size: 2rem;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav__link::after { display: none; }
  .nav__extra {
    display: grid;
    gap: 12px;
    margin-top: 28px;
  }
  .burger { display: inline-flex; }
  .header-cta { display: none; }
  .brand img { width: 112px; }

  .bodyshop__grid,
  .about__grid,
  .faq__grid,
  .contact__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .bodyshop__photo { aspect-ratio: 16 / 11; }
  .ticket { margin: -48px 0 0 16px; }
  .about__media { margin-right: 24px; }
  .partner__card { grid-template-columns: auto 1fr; }
  .partner__cta { grid-column: 1 / -1; justify-self: start; }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .reviews__grid .score:last-child { grid-column: 1 / -1; }
  .reviews__quote { grid-template-columns: 1fr; }
  .extras { grid-template-columns: 1fr 1fr; }
  .hero__plate { display: none; }
}

@media (max-width: 760px) {
  :root { --header-h: 68px; }
  body { font-size: 1rem; padding-bottom: 72px; }

  .topbar__inner { justify-content: center; }
  .topbar__links { display: none; }

  .hero {
    min-height: calc(100svh - var(--header-h) - 40px - 72px);
    padding-top: 170px;
  }
  .hero__media img { object-position: 54% 0%; }
  .hero .eyebrow { font-size: 0.85rem; letter-spacing: 0.12em; color: #fff; }
  .hide-xs { display: none; }
  .hours th, .hours td { padding: 8px 6px; font-size: 0.95rem; }
  .hours tr.is-today th::after { content: "auj."; }
  .infos__row a, .infos__row address { font-size: 1rem; }
  .hero__shade {
    background:
      linear-gradient(0deg, rgba(10, 10, 12, 0.96) 0%, rgba(10, 10, 12, 0.84) 50%, rgba(10, 10, 12, 0.62) 72%, rgba(10, 10, 12, 0.08) 92%);
  }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__proof { gap: 10px 18px; font-size: 0.9rem; }

  .doors,
  .extras,
  .reviews__grid { grid-template-columns: 1fr; }
  .reviews__grid .score:last-child { grid-column: auto; }
  .door__bay { height: 136px; }
  .door__big { font-size: 3.4rem; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 12px 20px 0; border-bottom: 1px solid var(--line); }
  .stat + .stat { padding-left: 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }

  .partner__card { grid-template-columns: 1fr; border-left-width: 6px; }
  .partner__logo { width: 84px; }

  .form__grid { grid-template-columns: 1fr; }
  .faq__answer { padding-right: 0; }
  .faq__item summary { font-size: 1.2rem; }

  .map__card {
    position: static;
    max-width: none;
    border-radius: 0;
  }
  .footer__grid { grid-template-columns: 1fr; }
  .about__media .plate { left: 12px; bottom: 16px; }
  .about__media::before { inset: 16px -16px -16px 16px; }
  .about__media { margin-right: 16px; }
  .ticket { margin: -40px 12px 0; max-width: none; }

  .mobile-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 95;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--ink);
    border-top: 1px solid var(--line-dark);
  }
  .mobile-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 64px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
  }
  .mobile-bar a + a { border-left: 1px solid var(--line-dark); }
  .mobile-bar a:first-child { background: var(--red); }
  .mobile-bar .icon { width: 22px; height: 22px; }
}

@media (max-width: 400px) {
  .plate__number { font-size: 24px; padding: 0 9px; }
  .hero__proof li:nth-child(2) { display: none; }
}

/* Préférences d'accessibilité */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .hero__door { display: none; }
  .js .hero__inner > * { opacity: 1; transform: none; animation: none; }
  .ticker__track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .ticker, .mobile-bar, .map, .form, .hero__door { display: none !important; }
  .hero { min-height: 0; color: #000; background: none; }
  .hero__media, .hero__shade { display: none; }
  .on-dark, .infos, .footer { background: none !important; color: #000 !important; }
}

/* ==========================================================================
   Multi-pages : menu déroulant, en-têtes de page, blocs de contenu SEO
   ========================================================================== */

/* ---------- Menu « Prestations » ---------- */
.nav__item { position: relative; }
.nav__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav__toggle .icon { width: 14px; height: 14px; stroke-width: 2.4; transition: transform 0.25s var(--ease); }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.subnav {
  position: absolute;
  top: calc(100% + 14px);
  left: -18px;
  z-index: 10;
  display: grid;
  gap: 2px;
  width: 380px;
  padding: 10px;
  list-style: none;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.85);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
/* pont invisible pour garder le survol entre le lien et le sous-menu */
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.nav__item--sub:hover .subnav,
.nav__item--sub:focus-within .subnav,
.nav__toggle[aria-expanded="true"] + .subnav {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0s;
}
.subnav a {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s;
}
.subnav a:hover,
.subnav a[aria-current="page"] { background: rgba(255, 255, 255, 0.07); }
.subnav__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background: var(--graphite);
  transition: background-color 0.2s;
}
.subnav a:hover .subnav__icon,
.subnav a[aria-current="page"] .subnav__icon { background: var(--red); }
.subnav__icon .icon { width: 20px; height: 20px; }
.subnav strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}
.subnav small { display: block; color: var(--muted-on-dark); font-size: 0.88rem; line-height: 1.35; }

/* ---------- Fil d'Ariane ---------- */
.breadcrumb { margin-bottom: 26px; font-size: 0.92rem; color: var(--muted-on-dark); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: 0.5; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }

/* ---------- En-tête des pages intérieures ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(44px, 6vw, 88px) clamp(56px, 7vw, 96px);
  background-color: var(--ink);
  background-image: var(--ribs);
  color: #fff;
  overflow: hidden;
}
.page-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.page-hero h1 {
  font-size: clamp(2.6rem, 4.4vw + 1rem, 5.2rem);
  margin-bottom: 22px;
}
.page-hero h1 em { display: block; color: var(--red); font-style: italic; }
.page-hero .eyebrow { color: #ff4a53; }
.page-hero__lead {
  max-width: 56ch;
  margin-bottom: 30px;
  font-size: 1.15rem;
  color: #c9cdd3;
}
.page-hero .hero__proof { margin-top: 34px; }

.page-hero--compact { padding-block: 44px 52px; }
.page-hero--compact h1 { font-size: clamp(2.4rem, 3.6vw + 1rem, 4.2rem); margin-bottom: 14px; }
.page-hero--compact .page-hero__lead { margin-bottom: 0; }

.page-hero__photo {
  position: relative;
  margin: 0;
  justify-self: end;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9);
}
.page-hero__photo picture,
.page-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 18px 14px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85), transparent);
  font-size: 0.88rem;
  color: #dfe2e6;
}

/* Grande porte sectionnelle (illustration CSS) */
.bigdoor {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1.05;
  border: 14px solid #3a3f46;
  border-bottom: 0;
  background:
    radial-gradient(110% 80% at 50% 115%, rgba(228, 6, 19, 0.6), transparent 62%),
    #07080a;
  box-shadow: inset 0 0 0 2px #50565e, 0 40px 80px -30px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}
.bigdoor::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 10px;
  background: repeating-linear-gradient(90deg, #ffcc00 0 18px, #111 18px 36px);
  opacity: 0.85;
}
.bigdoor__icon {
  position: absolute;
  left: 50%;
  bottom: 13%;
  width: 34%;
  height: auto;
  aspect-ratio: 1;
  transform: translateX(-50%);
  color: #fff;
  stroke-width: 1.2;
}
.bigdoor__panel {
  position: absolute;
  inset: 0 0 auto 0;
  height: 56%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 24px;
  background:
    linear-gradient(0deg, #9da2a8 0 12px, transparent 12px),
    repeating-linear-gradient(180deg, #eef0f2 0 40px, #c9ccd0 40px 42px, #fafbfc 42px 44px);
  animation: bigdoor-up 1.3s var(--ease) 0.3s both;
}
@keyframes bigdoor-up { from { height: 100%; } }
/* les trois hublots des portes du garage */
.bigdoor__panel::before {
  content: "";
  position: absolute;
  top: 88px;
  left: calc(50% - 134px);
  width: 80px;
  height: 30px;
  background: #262a30;
  box-shadow: 107px 0 0 #262a30, 214px 0 0 #262a30;
}
.bigdoor__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.bigdoor__num {
  align-self: flex-end;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(4rem, 7vw, 6.5rem);
  line-height: 0.8;
  color: var(--ink);
}
.bigdoor__num i { color: var(--red); }

/* ---------- Sections ---------- */
.section--sand { background: var(--sand); }
.section--white { background: #fff; }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }

/* Grille de prestations détaillées */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
}
.svc-card {
  position: relative;
  padding: 30px 26px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.svc-card::before {
  content: "";
  position: absolute;
  left: -1px; top: -1px;
  width: 56px;
  height: 5px;
  background: var(--red);
  border-top-left-radius: var(--radius);
  transition: width 0.45s var(--ease);
}
.svc-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.svc-card:hover::before { width: calc(100% + 2px); border-top-right-radius: var(--radius); }
.svc-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}
.svc-card__icon .icon { width: 24px; height: 24px; }
.svc-card h3 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.5rem;
  text-transform: uppercase;
}
.svc-card p { margin: 0; color: var(--muted); font-size: 1rem; }

/* Texte éditorial + encadré */
.split {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.prose > h2 { font-size: clamp(2.1rem, 2.6vw + 1rem, 3.3rem); margin-bottom: 22px; }
.prose h3 {
  margin: 30px 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.prose p,
.prose li { color: #3c4148; }
.prose ul { margin: 0 0 1em; padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--red); }
.prose a { color: var(--red-text); font-weight: 600; }
.prose strong { color: var(--text); }

.tipbox {
  padding: 30px 28px;
  border-top: 6px solid var(--red);
  border-radius: var(--radius);
  background-color: var(--ink);
  background-image: var(--ribs);
  color: #fff;
}
.tipbox h2,
.tipbox h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.7rem;
  text-transform: uppercase;
  line-height: 1;
}
.tipbox p { color: #c9cdd3; }
.tipbox p:last-child { margin-bottom: 0; }
.tipbox a:not(.btn) { color: #fff; }
.tipbox .btn { margin-top: 6px; }
.tipbox .hours { margin-top: 6px; }

/* Liste de documents numérotée */
.doclist {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  counter-reset: doc;
  border-top: 2px solid var(--ink);
}
.doclist li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: doc;
}
.doclist li::before {
  content: counter(doc, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--red);
}
.source-note { font-size: 0.88rem; color: var(--muted) !important; }

/* Liens vers les autres prestations */
.related-wrap > h2 {
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(1.7rem, 1.6vw + 1rem, 2.3rem);
  text-transform: uppercase;
}
.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
}
.related a {
  display: grid;
  grid-template-columns: 46px 1fr 18px;
  gap: 14px;
  align-items: center;
  height: 100%;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.25s var(--ease);
}
.related a:hover { border-color: var(--ink); transform: translateY(-2px); }
.related__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}
.related__icon .icon { width: 20px; height: 20px; }
.related strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
.related small { display: block; color: var(--muted); font-size: 0.9rem; line-height: 1.35; }
.related .icon-arrow { width: 18px; height: 18px; color: var(--red); }

.local {
  max-width: 880px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.local h2 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(1.7rem, 1.6vw + 1rem, 2.3rem);
  text-transform: uppercase;
}
.local p { color: #3c4148; }
.local a { color: var(--red-text); font-weight: 600; }

/* Liens « en savoir plus » sur l'accueil */
.door { position: relative; }
.door__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 20px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--red-text);
  text-decoration: none;
}
.door__link::after { content: ""; position: absolute; inset: 0; }
.door__link .icon { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.door:hover .door__link .icon { transform: translateX(4px); }

.extra { position: relative; }
.extra h3 a { color: inherit; text-decoration: none; }
.extra h3 a::after { content: ""; position: absolute; inset: 0; }
.extra--link h3 a::before {
  content: "→";
  float: right;
  margin-left: 8px;
  color: var(--red);
}

.bodyshop .checklist { color: #e9ebee; margin: 4px 0 30px; }
.bodyshop .checklist .icon { color: #ff4a53; }
.ticket--static { margin: 28px 0 0; }

/* Bandeau d'appel à l'action */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--red);
  color: #fff;
}
.cta-band::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  right: -60px;
  width: 42%;
  background: repeating-linear-gradient(-64deg, rgba(0, 0, 0, 0.14) 0 18px, transparent 18px 44px);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 40px;
  padding-block: clamp(36px, 5vw, 56px);
}
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(1.9rem, 2.4vw + 1rem, 3rem);
  text-transform: uppercase;
}
.cta-band p { margin: 8px 0 0; color: rgba(255, 255, 255, 0.92); }
.cta-band .status__dot { box-shadow: 0 0 0 2px #fff; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--white { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--white:hover { background: var(--ink); color: #fff; }
.cta-band .btn--ghost { border-color: rgba(255, 255, 255, 0.7); }

/* Galerie */
.gallery {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 14px;
}
.gallery figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.gallery picture,
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery img { aspect-ratio: 4 / 5; }
.gallery figure:first-child img { aspect-ratio: auto; }
.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 36px 16px 12px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
  font-size: 0.9rem;
}

/* Encadré véhicules d'occasion */
.vo-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px 32px;
  align-items: center;
  padding: clamp(26px, 4vw, 44px);
  border: 2px dashed #c9c4bb;
  border-radius: var(--radius);
  background: #fff;
}
.vo-box__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
}
.vo-box__icon .icon { width: 32px; height: 32px; }
.vo-box h3 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.8rem;
  text-transform: uppercase;
}
.vo-box p { margin: 0; color: var(--muted); }
.vo-box__actions { display: grid; gap: 10px; }

/* Fiches véhicules (à activer quand le stock est publié) */
.vo-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin-top: 28px; }
.vo-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.vo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.vo-card__body { padding: 20px; }
.vo-card h3 { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 1.4rem; text-transform: uppercase; margin-bottom: 6px; }
.vo-card__price { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--red-text); }
.vo-card ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 8px 0 0; color: var(--muted); font-size: 0.95rem; }

.contact__grid .map { margin-top: 0; }
.contact__grid .map iframe { height: clamp(320px, 34vw, 470px); }

/* Crédit agence */
.footer__credit a { color: #fff; font-weight: 600; }

@media (max-width: 1023px) {
  .nav__item--sub .nav__toggle { pointer-events: none; }
  .nav__toggle .icon { display: none; }
  .subnav {
    position: static;
    width: auto;
    padding: 4px 0 14px;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--line-dark);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .subnav::before { display: none; }
  .nav__item--sub > .nav__link { border-bottom: 0; padding-bottom: 6px; }
  .subnav a { padding: 8px 0; }
  .subnav small { display: none; }

  .page-hero__grid,
  .split { grid-template-columns: 1fr; }
  .bigdoor { display: none; }
  .page-hero__photo { justify-self: start; max-width: none; aspect-ratio: 16 / 10; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:first-child { grid-column: 1 / -1; }
  .gallery figure:first-child img { aspect-ratio: 16 / 10; }
  .vo-box { grid-template-columns: 1fr; }
  .vo-list { grid-template-columns: 1fr 1fr; }
  .related { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .svc-grid,
  .vo-list,
  .related { grid-template-columns: 1fr; }
  .page-hero { padding-top: 32px; }
  .page-hero .hero__cta .btn { flex: 1 1 100%; }
  .cta-band__actions,
  .cta-band__actions .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand,
  .footer__grid > div:last-child { grid-column: 1 / -1; }
}

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

@media (prefers-reduced-motion: reduce) {
  .bigdoor__panel { animation: none; }
}

/* Comparateur avant / après (section « De l'accrochage à la sortie de cabine ») */
.ba { aspect-ratio: 4 / 3; isolation: isolate; --pos: 50%; touch-action: pan-y; user-select: none; -webkit-user-select: none; background: var(--ink-2); }
.ba__img { position: absolute; inset: 0; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__tag {
  position: absolute;
  top: 14px;
  z-index: 2;
  padding: 4px 12px;
  border-radius: 3px;
  background: rgba(14, 15, 17, 0.82);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba__tag--before { left: 14px; }
.ba__tag--after { right: 14px; background: var(--red); }
.ba__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  z-index: 2;
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(14, 15, 17, 0.25);
  pointer-events: none;
}
.ba__handle::after {
  content: "‹  ›";
  position: absolute;
  top: 50%; left: 50%;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  white-space: pre;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.6);
}
.ba__range {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.ba:focus-within .ba__handle::after { outline: 3px solid #fff; outline-offset: 2px; }
.ba figcaption { z-index: 2; pointer-events: none; }
html:not(.js) .ba__range { display: none; }

/* Étapes en ligne (page assurance sinistre) : compact, sans défilement inutile */
.steps--row {
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.steps--row .step {
  grid-template-columns: 1fr;
  align-content: start;
  gap: 12px;
  padding: 20px 18px 22px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}
.steps--row .step:last-child { border-bottom: 1px solid var(--line-dark); }
.steps--row .step::before { font-size: 2.6rem; }
.steps--row .step h3 { font-size: 1.3rem; }
.steps--row .step p { font-size: 0.95rem; line-height: 1.45; }
.steps-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  color: var(--muted-on-dark);
}
@media (max-width: 1023px) {
  .steps--row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .steps--row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .steps--row .step:last-child { grid-column: 1 / -1; }
  .steps--row .step { padding: 16px 14px 18px; }
  .steps--row .step::before { font-size: 2.1rem; }
  .steps--row .step h3 { font-size: 1.15rem; }
  .steps--row .step p { font-size: 0.9rem; }
}

/* Galerie de deux photos paysage (page Le garage, atelier) */
.gallery--duo { grid-template-columns: 1fr 1fr; margin-top: 14px; }
.gallery--duo figure:first-child { grid-column: auto; }
.gallery--duo img,
.gallery--duo figure:first-child img { aspect-ratio: 4 / 3; }
@media (max-width: 640px) {
  .gallery--duo { grid-template-columns: 1fr; }
}
