/* ===== Polices (auto-hébergées, aucune requête tierce) ===== */
@font-face { font-family: 'Barlow'; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/barlow-400.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/barlow-600.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/barlow-condensed-600.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; font-style: normal; font-display: swap; src: url(../fonts/barlow-condensed-800.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; font-style: italic; font-display: swap; src: url(../fonts/barlow-condensed-800i.woff2) format('woff2'); }

/* ===== Palette JD AUTO ===== */
:root {
  --red: #e42332;
  --red-hi: #ff4d5a;   /* petit texte rouge sur fond sombre (contraste AA) */
  --red-deep: #b5121f; /* petit texte rouge sur fond clair (contraste AA) */
  --ink: #0c0c0c;
  --coal: #161616;
  --steel: #222221;
  --graphite: #373735;
  --line: rgba(255, 255, 255, .1);
  --text: #f3f3f1;
  --mute: #a9a9a3;
  --paper: #f3f2ee;
  --paper-ink: #151515;

  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --header-h: 64px;
  --dock-h: 72px;
  color-scheme: dark;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--red); color: #fff; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Typo commune ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75em;
  font: 600 14px/1.2 var(--display); letter-spacing: .2em; text-transform: uppercase;
  color: var(--red-hi);
}
.eyebrow::before { content: ''; width: 26px; height: 4px; flex: none; background: var(--red); transform: skewX(-24deg); }
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: #fff; }
.h2 {
  margin-top: 14px;
  font: 800 clamp(42px, 9vw, 92px)/.9 var(--display);
  text-transform: uppercase; letter-spacing: -.005em;
  text-wrap: balance;
}
.h2 em { font-style: italic; color: var(--red); }
.section { padding-block: clamp(80px, 12vw, 150px); }
.section-lead { margin-top: 20px; max-width: 38em; color: var(--mute); font-size: clamp(17px, 1.8vw, 19px); }

/* ===== Boutons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: 0 1.5em;
  border: 1px solid transparent; border-radius: 12px;
  font: 600 17px/1 var(--display); letter-spacing: .07em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { min-height: 46px; padding: 0 1.15em; font-size: 16px; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 12px 30px -12px rgba(228, 35, 50, .8); }
.btn--red:hover { background: #f0303f; box-shadow: 0 16px 36px -12px rgba(228, 35, 50, .9); }
.btn--ghost { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .22); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.btn--light { background: #fff; color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--outline { border-color: rgba(0, 0, 0, .25); color: var(--paper-ink); }
.btn--outline:hover { border-color: var(--paper-ink); }

/* ===== Statut ouvert / fermé ===== */
.status {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .5em .85em; border-radius: 999px;
  background: rgba(12, 12, 12, .55); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font: 600 14px/1.1 var(--body); white-space: nowrap;
}
.status:empty { display: none; }
.status::before { content: ''; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--red-hi); }
.status[data-open="true"]::before { background: #3ddc84; animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); } 70%, 100% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } }

/* ===== Logo ===== */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__flag {
  width: 30px; height: 22px; transform: skewX(-14deg);
  background: repeating-conic-gradient(var(--red) 0 25%, #fff 0 50%) 0 0 / 10px 11px;
  box-shadow: 0 0 0 2px var(--red);
}
.logo__text { font: 800 italic 27px/1 var(--display); letter-spacing: .01em; }
.logo__text b { font-weight: 800; color: var(--red); }

/* ===== En-tête ===== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  transition: background-color .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid, .site-header--solid { background: rgba(12, 12, 12, .82); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-bottom-color: var(--line); }
.nav, .header-cta { display: none; }
.status--header { font-size: 13px; }

@media (min-width: 1000px) {
  :root { --header-h: 76px; }
  .nav { display: flex; gap: 34px; margin-left: auto; }
  .nav a { position: relative; padding: 6px 0; font: 600 16px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; opacity: .85; transition: opacity .2s; }
  .nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .nav a:hover { opacity: 1; }
  .nav a:hover::after { transform: scaleX(1); }
  .header-cta { display: flex; align-items: center; gap: 20px; }
  .header-phone { display: inline-flex; align-items: center; gap: 8px; font: 600 17px/1 var(--display); letter-spacing: .06em; text-decoration: none; }
  .header-phone .icon { color: var(--red); }
  .status--header { display: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 24px);
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom)); /* marquee au-dessus de la barre mobile */
}
@media (min-width: 1000px) { .hero { padding-bottom: 0; } }
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 28% 62%; animation: kenburns 20s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.18); } to { transform: scale(1.02); } }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, var(--ink) 4%, rgba(12, 12, 12, .86) 34%, rgba(12, 12, 12, .3) 68%, rgba(12, 12, 12, .55) 100%),
    linear-gradient(to right, rgba(12, 12, 12, .55), transparent 60%);
}
.hero__slash {
  position: absolute; z-index: -2; top: -5%; bottom: -5%; right: -16%; width: 34%;
  background: linear-gradient(170deg, var(--red), var(--red-deep));
  mix-blend-mode: multiply;
  transform: skewX(-14deg);
  animation: slash-in 1.3s var(--ease) .1s both;
}
.hero__slash::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: -26px; width: 8px;
  background: #fff; mix-blend-mode: overlay;
}
@keyframes slash-in { from { transform: translateX(80%) skewX(-14deg); } to { transform: translateX(0) skewX(-14deg); } }

.hero__content { padding-bottom: 28px; }
.status--hero { display: none; margin-bottom: 18px; }
.hero__title {
  margin: 16px 0 20px;
  font: 800 italic clamp(60px, 16.5vw, 158px)/.84 var(--display);
  text-transform: uppercase; letter-spacing: -.01em;
}
.hero__title span { display: block; animation: rise 1s var(--ease) both; animation-delay: calc(.25s + var(--i) * .12s); }
.hero__title .is-red { color: var(--red); text-shadow: 0 10px 40px rgba(228, 35, 50, .35); }
@keyframes rise { from { opacity: 0; transform: translateY(.45em) skewY(5deg); } to { opacity: 1; transform: none; } }
.hero__lead { max-width: 34em; color: rgba(255, 255, 255, .84); font-size: clamp(17px, 2vw, 20px); animation: rise 1s var(--ease) .65s both; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; animation: rise 1s var(--ease) .8s both; }
.hero__ctas .btn { flex: 1 1 220px; }

.marquee { border-top: 1px solid var(--line); background: rgba(12, 12, 12, .6); overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span {
  padding: 17px 0; white-space: nowrap; color: var(--mute);
  font: 600 15px/1 var(--display); letter-spacing: .16em; text-transform: uppercase;
}
.marquee__track span::after { content: '/'; margin: 0 1.3em; color: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (min-width: 760px) {
  .hero__ctas .btn { flex: 0 0 auto; }
  .status--hero { display: flex; width: fit-content; }
  .hero__slash { width: 30%; right: -6%; }
}

/* ===== Arguments ===== */
.facts { border-bottom: 1px solid var(--line); background: var(--ink); }
.facts ul { display: grid; grid-template-columns: 1fr 1fr; }
.facts li { padding: 26px 14px 26px 0; border-bottom: 1px solid var(--line); }
.facts li:nth-child(odd) { padding-right: 18px; border-right: 1px solid var(--line); }
.facts li:nth-child(even) { padding-left: 18px; }
.facts strong { display: block; font: 800 italic clamp(25px, 3.4vw, 34px)/1 var(--display); text-transform: uppercase; }
.facts li > span { display: block; margin-top: 8px; color: var(--mute); font-size: 15px; line-height: 1.4; }
@media (min-width: 900px) {
  .facts ul { grid-template-columns: repeat(4, 1fr); }
  .facts li, .facts li:nth-child(odd), .facts li:nth-child(even) { padding: 40px 28px; border-bottom: 0; border-right: 1px solid var(--line); }
  .facts li:first-child { padding-left: 0; }
  .facts li:last-child { border-right: 0; }
}

/* ===== Services : panneaux empilés ===== */
.jump { display: flex; gap: 8px; margin-top: 30px; overflow-x: auto; scrollbar-width: none; }
.jump::-webkit-scrollbar { display: none; }
.jump a {
  flex: none; padding: 11px 18px; border: 1px solid var(--line); border-radius: 999px;
  font: 600 15px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  transition: border-color .2s, background-color .2s;
}
.jump a:hover { border-color: var(--red); background: rgba(228, 35, 50, .12); }

.stack { display: grid; gap: 20px; margin-top: 44px; }
.panel {
  display: grid; overflow: hidden;
  background: var(--coal); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 -20px 60px -30px rgba(0, 0, 0, .9);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.panel__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--steel); }
.panel__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.05); transform: scale(1.12); transition: transform 1.6s var(--ease); }
.panel.in .panel__media img, html:not(.js) .panel__media img { transform: scale(1); }
.panel__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--coal), transparent 55%); }
.panel__num {
  position: absolute; left: 18px; bottom: 0; z-index: 1;
  font: 800 italic 92px/.8 var(--display);
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .75);
}
.panel__body { display: flex; flex-direction: column; gap: 16px; padding: 22px 22px 26px; }
.panel h3 { font: 800 italic clamp(44px, 7vw, 70px)/.88 var(--display); text-transform: uppercase; }
.panel__lead { color: rgba(255, 255, 255, .8); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 12px; border-radius: 8px; background: var(--steel); border: 1px solid var(--line); font-size: 14.5px; line-height: 1.2; }
.panel__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.panel__note { font: 600 15px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--red-hi); }

@media (min-width: 860px) {
  .panel { grid-template-columns: 1.05fr 1fr; min-height: min(74vh, 580px); }
  .panel:nth-child(even) .panel__media { order: 2; }
  .panel__media { aspect-ratio: auto; }
  .panel__media::after { background: linear-gradient(to top, rgba(22, 22, 22, .7), transparent 50%); }
  .panel__body { justify-content: center; padding: 44px 48px; }
  .panel__num { font-size: 150px; left: 26px; }
}
/* Empilement sticky uniquement si l'écran est assez haut pour afficher un panneau entier */
@media (min-width: 860px) and (min-height: 720px) {
  .stack { gap: 36px; }
  .panel { position: sticky; top: calc(var(--header-h) + 18px + var(--i) * 16px); }
}

/* ===== Spécialiste jantes ===== */
.spot {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(228, 35, 50, .2), transparent 70%),
    linear-gradient(180deg, var(--ink), #111 60%, var(--ink));
}
.wheel {
  position: absolute; z-index: -1; pointer-events: none;
  width: min(130vw, 820px); top: 30px; right: -48%;
  opacity: .3;
}
.wheel__tire { fill: #0a0a0a; stroke: #2a2a2a; stroke-width: 22; }
.wheel__disc { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 18; stroke-dasharray: 3 9; }
.wheel__caliper { fill: none; stroke: var(--red); stroke-width: 26; stroke-linecap: round; }
.wheel__rotor { transform: rotate(var(--rot, 0deg)); }
.wheel__rim { fill: none; stroke: #d9d9d6; stroke-width: 6; }
.wheel__lip { fill: none; stroke: rgba(255, 255, 255, .35); stroke-width: 2; }
.wheel use { fill: rgba(255, 255, 255, .06); stroke: #e8e8e4; stroke-width: 2.5; stroke-linejoin: round; }
.wheel__hub { fill: #151515; stroke: #e8e8e4; stroke-width: 3; }
.wheel__nuts circle { fill: none; stroke: #e8e8e4; stroke-width: 2.5; }
.wheel__cap { fill: var(--red); }

.spot__grid { display: grid; }
.steps { display: grid; gap: 12px; margin-top: 36px; counter-reset: step; }
.steps li {
  display: grid; grid-template-columns: 58px 1fr; column-gap: 14px; align-items: start;
  padding: 18px 20px; border-radius: 16px;
  background: rgba(22, 22, 22, .72); border: 1px solid var(--line);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  grid-row: span 2; font: 800 italic 42px/1 var(--display); color: var(--red);
}
.steps strong { font: 800 23px/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.steps li > span { color: var(--mute); font-size: 15.5px; line-height: 1.45; margin-top: 4px; }

.pro {
  position: relative; overflow: hidden;
  margin-top: 28px; padding: 28px 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
}
.pro::after {
  content: ''; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px;
  background: repeating-conic-gradient(rgba(255, 255, 255, .14) 0 25%, transparent 0 50%) 0 0 / 32px 32px;
  transform: rotate(-14deg); pointer-events: none;
}
.pro h3 { margin: 12px 0 10px; font: 800 italic clamp(30px, 4vw, 40px)/.95 var(--display); text-transform: uppercase; }
.pro p:not(.eyebrow) { color: rgba(255, 255, 255, .92); margin-bottom: 20px; max-width: 34em; }

@media (min-width: 1000px) {
  .spot__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .spot__copy { grid-column: 1; }
  .wheel { width: 620px; top: 50%; right: max(var(--gutter), calc(50% - var(--max) / 2)); transform: translateY(-50%); opacity: 1; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .7)); }
  .steps { grid-template-columns: 1fr 1fr; }
}

/* ===== L'atelier ===== */
.gallery {
  display: flex; gap: 12px; margin-top: 40px;
  padding: 0 var(--gutter) 6px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery figure {
  position: relative; flex: 0 0 min(82%, 420px); aspect-ratio: 4 / 5;
  overflow: hidden; border-radius: 18px; scroll-snap-align: start; background: var(--steel);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; inset: auto 0 0; padding: 48px 18px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, .85), transparent);
  font: 600 16px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase;
}
.social { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.social p { width: 100%; color: var(--mute); }

@media (min-width: 900px) {
  .gallery {
    width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; padding: 0;
    display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 230px; gap: 16px;
    overflow: visible;
  }
  .gallery figure { aspect-ratio: auto; }
  .g1 { grid-column: span 4; grid-row: span 2; }
  .g2 { grid-column: span 2; grid-row: span 2; }
  .g3 { grid-column: span 2; grid-row: span 2; }
  .g4 { grid-column: span 4; grid-row: span 2; }
  .social p { width: auto; margin-right: 8px; }
}

/* ===== Infos pratiques (fond clair : lisible en plein soleil) ===== */
.infos { background: var(--paper); color: var(--paper-ink); color-scheme: light; }
.infos .eyebrow { color: var(--red-deep); }
.infos .h2 em { color: var(--red); }
.infos__grid { display: grid; gap: 40px; }
.status--lg { margin-top: 26px; padding: .7em 1.1em; font-size: 16px; background: #fff; border-color: rgba(0, 0, 0, .1); color: var(--paper-ink); }
.status--lg[data-open="false"]::before { background: var(--red); }

.hours { width: 100%; margin-top: 22px; border-collapse: collapse; font-size: 17px; }
.hours tr { border-bottom: 1px solid rgba(0, 0, 0, .12); }
.hours th, .hours td { padding: 16px 0; }
.hours th { text-align: left; font-weight: 600; white-space: nowrap; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; color: #3c3c3a; }
.hours td span { display: inline-block; white-space: nowrap; }
.hours td span + span { margin-left: .9em; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--paper-ink); font-weight: 600; }
.hours tr.is-today th::after {
  content: 'Aujourd’hui'; margin-left: 10px; padding: 3px 9px; border-radius: 99px; vertical-align: 2px;
  background: var(--red); color: #fff; font: 600 12px/1 var(--body); letter-spacing: .02em;
}

.cards { display: grid; gap: 12px; align-content: start; }
.card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 18px; border-radius: 18px;
  background: #fff; border: 1px solid rgba(0, 0, 0, .07);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 30px -18px rgba(0, 0, 0, .25);
  text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s;
}
a.card:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 20px 40px -18px rgba(0, 0, 0, .35); }
.card__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--red); color: #fff; }
.card small { display: block; color: #6a6a66; font-size: 14px; }
.card strong { display: block; font: 800 23px/1.1 var(--display); letter-spacing: .02em; overflow-wrap: anywhere; }
.card__arrow { color: var(--red-deep); }
.card--static { grid-template-columns: auto 1fr; }
.card__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.card__actions .btn { flex: 1 1 140px; }
.card--rdv { background: var(--ink); color: #fff; border-color: var(--ink); }
.card--rdv small { color: var(--mute); }
.card--rdv .card__arrow { color: var(--red-hi); }

.map {
  position: relative; overflow: hidden; min-height: 300px;
  border-radius: 22px; background: #1a1a1a; color: #fff;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px;
  padding: 24px; text-align: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(228, 35, 50, .35), transparent 34%),
    linear-gradient(115deg, transparent 47%, rgba(255, 255, 255, .12) 47.5% 50.5%, transparent 51%),
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 34px 34px,
    #1a1a1a;
}
.map__pin { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--red); box-shadow: 0 10px 30px rgba(228, 35, 50, .6); }
.map__pin .icon { transform: rotate(45deg); width: 26px; height: 26px; }
.map small { color: var(--mute); font-size: 13px; }

@media (min-width: 900px) {
  .infos__grid { grid-template-columns: 1fr 1fr; column-gap: 72px; row-gap: 48px; }
  .map { grid-column: 1 / -1; min-height: 420px; }
}

/* ===== Pied de page ===== */
.footer { padding: 64px 0 36px; background: #070707; border-top: 3px solid var(--red); color: var(--mute); font-size: 15.5px; }
.footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer__grid > div:first-child { grid-column: 1 / -1; }
.footer__grid p + p { margin-top: 10px; }
.footer__grid a { text-decoration: none; }
.footer__grid a:hover { color: #fff; }
.footer .logo { color: var(--text); }
.footer__tag { margin-top: 14px; }
.footer__h { margin-bottom: 12px; color: var(--text); font: 600 15px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); color: var(--text); }
.footer__social a:hover { border-color: var(--red); }
.footer__legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }
.footer__legal a { text-decoration: none; color: var(--text); }
.footer__legal a:hover { color: var(--red-hi); }
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr .8fr; }
  .footer__grid > div:first-child { grid-column: auto; }
}

/* ===== Barre d'actions mobile ===== */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: rgba(10, 10, 10, .9); border-top: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
}
.dock a, .dock button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  min-height: 56px; border: 0; border-radius: 14px; background: transparent;
  font: 600 12.5px/1 var(--body); color: #fff; text-decoration: none;
  transition: background-color .2s;
}
.dock a:active, .dock button:active { background: rgba(255, 255, 255, .1); }
.dock .is-primary { background: var(--red); }
.dock .icon { width: 22px; height: 22px; }
@media (min-width: 1000px) {
  .dock { display: none; }
  body { padding-bottom: 0; }
}

/* ===== Menu (feuille modale) ===== */
.sheet {
  margin: auto 0 0; width: 100%; max-width: 100%; max-height: 90svh;
  padding: 0; border: 0; border-radius: 26px 26px 0 0;
  background: var(--coal); color: var(--text);
}
.sheet[open] { animation: sheet-up .4s var(--ease); }
.sheet::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@keyframes sheet-up { from { transform: translateY(100%); } }
.sheet__inner { padding: 14px 20px calc(24px + env(safe-area-inset-bottom)); }
.sheet__inner::before { content: ''; display: block; width: 44px; height: 5px; margin: 0 auto 14px; border-radius: 9px; background: rgba(255, 255, 255, .2); }
.sheet__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.sheet__close { display: grid; place-items: center; width: 46px; height: 46px; margin-left: auto; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.sheet nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 17px 2px; border-bottom: 1px solid var(--line);
  font: 800 italic 31px/1 var(--display); text-transform: uppercase; text-decoration: none;
}
.sheet nav .icon { color: var(--red); }
.sheet__contact { margin-top: 20px; color: var(--mute); font-size: 15px; }
.sheet__contact a { color: var(--text); }
@media (min-width: 640px) {
  .sheet { margin: auto; width: min(520px, 100% - 32px); border-radius: 26px; }
}

/* ===== Pages intérieures ===== */
.page-hero {
  padding: calc(var(--header-h) + clamp(40px, 8vw, 96px)) 0 clamp(36px, 6vw, 64px);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(60% 90% at 92% 0%, rgba(228, 35, 50, .24), transparent 70%), var(--ink);
}
.page-title {
  margin-top: 14px;
  font: 800 italic clamp(52px, 12vw, 120px)/.86 var(--display);
  text-transform: uppercase; text-wrap: balance;
}
.page-title em { color: var(--red); }

/* ===== Demande de rendez-vous ===== */
.rdv { padding-block: clamp(32px, 6vw, 80px) clamp(80px, 10vw, 130px); }
.rdv__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.rdv__aside { display: grid; gap: 16px; align-content: start; padding: 24px; border-radius: 22px; }
.rdv__aside .status--lg { margin-top: 4px; width: fit-content; }
.rdv__aside .hours { margin-top: 0; }
.rdv__addr { display: flex; align-items: center; gap: 10px; color: #3c3c3a; font-size: 16px; }
.rdv__addr .icon { color: var(--red-deep); }
@media (min-width: 1000px) {
  .rdv__grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .rdv__aside { position: sticky; top: calc(var(--header-h) + 24px); }
}

.form, .done { padding: clamp(20px, 4vw, 40px); border-radius: 22px; background: var(--paper); color: var(--paper-ink); color-scheme: light; }
.form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.form fieldset + fieldset { margin-top: 30px; padding-top: 28px; border-top: 1px solid rgba(0, 0, 0, .1); }
.form legend { padding: 0; margin-bottom: 16px; font: 800 26px/1 var(--display); text-transform: uppercase; }
.form legend span { margin-right: .35em; font-style: italic; color: var(--red); }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 640px) { .choices--4 { grid-template-columns: repeat(4, 1fr); } }
.choice { position: relative; display: block; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; flex-direction: column; justify-content: center; gap: 5px; height: 100%;
  min-height: 66px; padding: 12px 14px; border-radius: 14px;
  background: #fff; border: 1.5px solid rgba(0, 0, 0, .12);
  font: 800 21px/1 var(--display); text-transform: uppercase;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.choice small { font: 400 14px/1.2 var(--body); text-transform: none; color: #5c5c58; }
.choice:hover span { border-color: var(--paper-ink); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: inset 0 -4px 0 var(--red); }
.choice input:checked + span small { color: var(--mute); }
.choice input:focus-visible + span { outline: 2px solid var(--red-deep); outline-offset: 2px; }
.choice input:disabled { cursor: not-allowed; }
.choice input:disabled + span { opacity: .45; border-style: dashed; }
.choice input[aria-invalid="true"] + span { border-color: var(--red-deep); }

.days { display: flex; gap: 8px; overflow-x: auto; margin: -4px; padding: 4px 4px 12px; scroll-snap-type: x proximity; }
.days .choice { flex: 0 0 74px; scroll-snap-align: start; }
.days .choice span { align-items: center; gap: 3px; min-height: 92px; padding: 10px 6px; text-align: center; }
.days b { font: 800 34px/1 var(--display); }

.fields { display: grid; gap: 16px; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 15.5px; }
.field label small { font-weight: 400; color: #5c5c58; }
.field input, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px;
  border: 1.5px solid rgba(0, 0, 0, .16); border-radius: 12px; background: #fff; color: var(--paper-ink);
  font: 400 17px/1.4 var(--body);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--red-deep); outline-offset: 1px; border-color: transparent; }
.field [aria-invalid="true"] { border-color: var(--red-deep); background: #fff6f6; }
.error { margin-top: 6px; color: var(--red-deep); font-size: 14.5px; font-weight: 600; }
.error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__foot { display: grid; gap: 16px; margin-top: 30px; }
.form__foot .btn { width: 100%; }
@media (min-width: 640px) { .form__foot .btn { width: auto; justify-self: start; } }
.form__msg { padding: 14px 16px; border-radius: 12px; background: #fff0f0; color: var(--red-deep); font-weight: 600; }
.form__msg:empty { display: none; }
.form__msg a, .form__legal a { color: var(--red-deep); }
.form__legal { color: #5c5c58; font-size: 14px; line-height: 1.5; }
.btn[aria-busy="true"] { opacity: .65; cursor: progress; }

.done { display: grid; gap: 16px; justify-items: start; }
.done__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: #fff; }
.done__icon .icon { width: 32px; height: 32px; stroke-width: 3; }
.done__title { font: 800 italic clamp(40px, 7vw, 64px)/.9 var(--display); text-transform: uppercase; }
.done__title:focus { outline: none; }
.done__recap { font: 600 22px/1.2 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--red-deep); }
.done__warn { padding: 12px 14px; border-radius: 12px; background: #fff0f0; color: var(--red-deep); font-weight: 600; }

/* ===== Pages légales ===== */
.legal { padding-block: clamp(40px, 7vw, 90px) clamp(80px, 10vw, 130px); }
.prose { max-width: 46em; color: rgba(255, 255, 255, .86); }
.prose h2 { margin: 2em 0 .6em; font: 800 clamp(28px, 4vw, 38px)/1 var(--display); text-transform: uppercase; color: var(--text); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.5em 0 .4em; font: 600 20px/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.prose p, .prose ul, .prose table { margin: 0 0 1em; }
.prose ul { padding-left: 1.2em; list-style: square; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--red); }
.prose a { color: var(--red-hi); overflow-wrap: anywhere; }
.prose strong { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose th, .prose td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--text); }
.prose .updated { color: var(--mute); font-size: 15px; }
.table-wrap { overflow-x: auto; }
/* ===== Apparition au défilement ===== */
html.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
html.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}
