/* =========================================================
   UM'Assist Auto — feuille de style
   Palette : noir carte de visite, rouge logo, alu du plateau,
   ambre gyrophare (focus + avertissements).
   ========================================================= */

/* ---------- Polices (hébergées sur le site, pas de Google Fonts) ---------- */
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-800-italic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }

:root {
  --black: #000;
  --white: #fff;
  --red: #e3141b;
  --red-dark: #b90f15;
  --alu: #eceef1;
  --alu-2: #dde1e5;
  --line: #c6ccd2;
  --steel: #565d65;
  --steel-light: #adb3ba;
  --ink-soft: #25292e;
  --amber: #ffb020;
  --focus: #000;

  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-cond: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;

  --fs-small: .9375rem;
  --fs-body: 1.125rem;
  --fs-lead: 1.25rem;
  --fs-h3: clamp(1.375rem, 1.15rem + .7vw, 1.75rem);
  --fs-h2: clamp(2.25rem, 1.55rem + 2.6vw, 3.75rem);
  --fs-h1: clamp(2.125rem, 1.4rem + 2.4vw, 3.5rem);
  --fs-tel: clamp(3rem, 1rem + 5.5vw, 6.25rem);

  --gutter: clamp(20px, 5vw, 48px);
  --max: 1240px;
  --header-h: 68px;
  --section-pad: clamp(64px, 4rem + 4vw, 136px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.on-dark { --focus: var(--amber); color: var(--white); background: var(--black); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
main [id] { scroll-margin-top: var(--header-h); }

.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--white); color: var(--black); font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .7em 1.3em;
  border: 2px solid transparent; border-radius: 6px;
  font: 600 1.0625rem/1.1 var(--font); text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dark); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: #2b2e32; }
.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover { background: var(--alu-2); }
.btn--outline { border-color: currentColor; background: transparent; color: inherit; }
.btn--outline:hover { background: rgba(255, 255, 255, .12); }
.btn--small { min-height: 50px; padding: .5em .95em; background: var(--black); color: var(--white); font-size: 1rem; }
.btn--small:hover { background: #2b2e32; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #1d1d1d; }
.site-header__bar { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { flex: none; margin-right: auto; }
.brand img { width: 170px; }
.site-nav ul { display: flex; gap: 2px; }
.site-nav a { display: block; padding: 10px 12px; border-radius: 4px; font-weight: 600; font-size: 1rem; text-decoration: none; color: var(--white); }
.site-nav a:hover { background: #1c1c1c; }
.header-call {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
  border-radius: 6px; background: var(--red); color: var(--white);
  font: italic 800 1.4rem/1 var(--font-cond); text-decoration: none; white-space: nowrap;
}
.header-call:hover { background: var(--red-dark); }
.header-call .icon { width: 20px; height: 20px; }
.nav-toggle, .nav-check { display: none; }

@media (min-width: 1024px) and (max-width: 1180px) {
  .site-nav a { padding: 10px 8px; }
  .brand img { width: 150px; }
}
@media (max-width: 1023.98px) {
  .site-header__bar { gap: 10px; }
  .brand img { width: 150px; }
  .header-call { width: 48px; height: 48px; padding: 0; justify-content: center; }
  .header-call__num { display: none; }
  .nav-check { display: block; position: absolute; top: 0; right: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
    border: 1px solid #3a3a3a; border-radius: 6px; background: transparent; color: var(--white);
  }
  .nav-toggle .i-close, .nav-check:checked ~ .nav-toggle .i-menu { display: none; }
  .nav-check:checked ~ .nav-toggle .i-close { display: block; }
  .nav-check:focus-visible ~ .nav-toggle { outline: 3px solid var(--amber); outline-offset: 3px; }
  .nav-toggle .icon { width: 24px; height: 24px; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    padding: 8px var(--gutter) 28px; background: var(--black); border-bottom: 1px solid #262626;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s, transform .2s, visibility 0s linear .2s;
  }
  .nav-check:checked ~ .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 14px 0; border-radius: 0; border-bottom: 1px solid #262626; font: 700 1.75rem/1.1 var(--font-cond); }
  .site-nav a:hover { background: none; color: var(--red); }
}

/* ---------- Hero : noir | photo, séparés par la diagonale rouge de la carte ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: clamp(580px, calc(100svh - var(--header-h)), 820px); overflow: hidden; isolation: isolate; }
.hero__media {
  position: absolute; top: 0; right: 0; bottom: 0; width: 56%;
  background: var(--red);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 30% 70%;
  clip-path: polygon(calc(18% + 14px) 0, 100% 0, 100% 100%, 14px 100%);
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(48px, 7vw, 96px); }
.hero__text { max-width: min(47%, 590px); }
.hero__title { font: 700 var(--fs-h1)/1.02 var(--font-cond); letter-spacing: -.005em; text-wrap: balance; }
.hero__lead { margin-top: 18px; max-width: 36ch; font-size: var(--fs-lead); line-height: 1.5; color: var(--steel-light); }
.hero__call { position: relative; margin-top: clamp(28px, 4vw, 44px); padding-top: 24px; }
.hero__call::before { content: ""; position: absolute; top: 0; left: 0; width: 72px; height: 6px; background: var(--red); }
.hero__ask { font-weight: 600; font-size: 1.0625rem; }
.hero__tel {
  display: inline-block; margin-top: 4px;
  font: italic 800 var(--fs-tel)/.95 var(--font-cond); letter-spacing: -.01em; font-variant-numeric: tabular-nums;
  color: var(--white); text-decoration: none; white-space: nowrap;
}
.hero__tel:hover { color: var(--red); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

@media (max-width: 959.98px) {
  .hero { display: block; min-height: 0; }
  .hero__media {
    position: relative; width: 100%; height: clamp(230px, 52vw, 440px);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%);
  }
  .hero__media img { object-position: 30% 72%; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), 0 calc(100% - 13px)); }
  .hero__inner { padding-block: 24px 56px; }
  .hero__text { max-width: 640px; }
  .hero__lead { font-size: 1.125rem; }
}

/* Un seul moment animé : le plateau qui glisse à l'ouverture */
@media (prefers-reduced-motion: no-preference) {
  .hero__media { animation: plateau-in .95s cubic-bezier(.2, .75, .25, 1) .05s backwards; }
  .hero__tel { animation: tel-in .6s cubic-bezier(.2, .75, .25, 1) .45s backwards; }
  @keyframes plateau-in { from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 82% 100%); } }
  @keyframes tel-in { from { opacity: 0; transform: translateY(12px); } }
  @media (max-width: 959.98px) {
    .hero__media { animation-name: plateau-in-mobile; }
    @keyframes plateau-in-mobile { from { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); } }
  }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-pad); }
.section-title { font: 700 var(--fs-h2)/1 var(--font-cond); letter-spacing: -.01em; text-wrap: balance; }
.section-intro { margin-top: 18px; max-width: 58ch; font-size: var(--fs-lead); line-height: 1.5; color: var(--steel); }
.on-dark .section-intro { color: var(--steel-light); }

/* ---------- Services ---------- */
.services__grid { display: grid; gap: 40px; }
.service-list { display: grid; gap: clamp(28px, 3vw, 40px); }
.service { position: relative; padding-left: 36px; }
.service::before {
  content: ""; position: absolute; left: 2px; top: .2em; width: 11px; height: 1.35em;
  background: var(--red); transform: skewX(-18deg);
}
.service__title { font: 700 var(--fs-h3)/1.15 var(--font-cond); }
.service p { margin-top: 8px; max-width: 60ch; color: var(--ink-soft); }
@media (min-width: 960px) {
  .services__grid { grid-template-columns: 5fr 7fr; gap: clamp(48px, 6vw, 96px); align-items: start; }
  .services__head { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ---------- Interventions : deux téléphones (photos | vidéos), centrés ---------- */
.interventions__head { text-align: center; }
.interventions__head .section-title { text-wrap: balance; }
.interventions__head .section-intro { max-width: 44ch; margin-inline: auto; }
.interventions__more { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }
.phones {
  display: grid; justify-content: center; gap: 72px;
  margin-top: clamp(40px, 5vw, 72px);
}
@media (min-width: 760px) {
  .phones { grid-template-columns: repeat(2, auto); align-items: start; column-gap: clamp(40px, 8vw, 136px); }
}
.stories { display: grid; justify-items: center; gap: 20px; text-align: center; }
.stories__label { display: inline-flex; align-items: center; gap: 10px; font: italic 800 clamp(1.875rem, 1.5rem + 1vw, 2.375rem)/1 var(--font-cond); }
.stories__label .icon { width: 28px; height: 28px; color: var(--red); }

/* Le téléphone */
.phone {
  --pw: clamp(272px, 62vw, 300px);
  position: relative; width: var(--pw); padding: 10px;
  border-radius: 50px;
  background: linear-gradient(150deg, #44484e 0%, #141518 22%, #08090a 60%, #2c2f33 100%);
  box-shadow: inset 0 0 0 1.5px #5d6168, inset 0 0 0 4px #050505,
              0 50px 90px -40px rgba(227, 20, 27, .55), 0 30px 60px -25px rgba(0, 0, 0, .9);
}
@media (min-width: 960px) { .phone { --pw: clamp(276px, calc((100svh - 190px) / 2.08), 330px); padding: 12px; border-radius: 56px; } }
.phone::before, .phone::after { content: ""; position: absolute; width: 4px; border-radius: 2px; background: #2a2c30; }
.phone::before { left: -3px; top: 21%; height: 9%; box-shadow: 0 64px 0 #2a2c30; }
.phone::after { right: -3px; top: 27%; height: 14%; }
.phone__screen {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 40px; background: #000; isolation: isolate;
}
@media (min-width: 960px) { .phone__screen { border-radius: 45px; } }
.phone__status {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  height: 42px; padding: 2px 22px 0 28px; color: var(--white);
  font: 600 14px/1 var(--font); font-variant-numeric: tabular-nums;
}
.phone__island { position: absolute; top: 9px; left: 50%; width: 31%; height: 25px; border-radius: 20px; background: #000; box-shadow: 0 0 0 1px #151515; transform: translateX(-50%); }
.phone__icons { display: flex; align-items: center; gap: 5px; }
.phone__icons svg { width: auto; height: 10px; fill: currentColor; }
.phone__icons svg:last-child { height: 11px; }
.phone__bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px 22px; }
.phone__cta {
  display: flex; flex: 1; align-items: center; justify-content: center; gap: 8px; height: 42px;
  border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 999px;
  font-weight: 600; font-size: 15px; color: var(--white); text-decoration: none;
}
.phone__cta:hover { border-color: var(--white); background: rgba(255, 255, 255, .1); }
.phone__cta .icon { width: 18px; height: 18px; }
.phone__wa { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--white); }
.phone__wa:hover { background: rgba(255, 255, 255, .12); }
.phone__wa .icon { width: 24px; height: 24px; }
.phone__screen::after { content: ""; position: absolute; bottom: 7px; left: 50%; width: 36%; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .8); transform: translateX(-50%); }

/* L'écran de stories */
.stories__viewport { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 8px; background: #000; }
.stories__viewport::before {
  content: ""; position: absolute; inset: 0 0 auto; z-index: 2; height: 92px; pointer-events: none;
  background: linear-gradient(rgba(0, 0, 0, .55), transparent);
}
.stories__bars { position: absolute; top: 8px; left: 8px; right: 8px; z-index: 3; display: flex; gap: 2px; pointer-events: none; }
.stories__bars span { flex: 1; height: 2.5px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .35); }
.stories__bars i { display: block; height: 100%; background: var(--white); transform: scaleX(var(--p, 0)); transform-origin: left; }
.stories__top { position: absolute; top: 15px; left: 10px; right: 2px; z-index: 3; display: flex; align-items: center; gap: 8px; color: var(--white); }
.stories__avatar { width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--white); }
.stories__user { font-weight: 600; font-size: 14px; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.stories__toggle { display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--white); cursor: pointer; }
.stories__toggle .icon { width: 18px; height: 18px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); }
.stories__toggle .i-play, .stories__toggle[data-paused="true"] .i-pause { display: none; }
.stories__toggle[data-paused="true"] .i-play { display: block; }
.stories__track {
  display: flex; height: 100%; margin: 0; padding: 0;
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  perspective: 1100px; cursor: grab;
}
.stories__track::-webkit-scrollbar { display: none; }
.stories__track.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.stories__track:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }
.story {
  position: relative; flex: 0 0 100%; height: 100%;
  scroll-snap-align: start; scroll-snap-stop: always;
  backface-visibility: hidden; -webkit-user-select: none; user-select: none;
}
.story img, .story video { width: 100%; height: 100%; object-fit: cover; }
.js .story img, .js .story video { pointer-events: none; -webkit-user-drag: none; }
.story::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--shade, 0); pointer-events: none; }

/* Légende de la story affichée, sous chaque téléphone */
.now { display: grid; align-content: start; width: 100%; max-width: 340px; min-height: 7.25rem; padding-top: 4px; }
.now__big { font: italic 800 2.25rem/1 var(--font-cond); letter-spacing: -.01em; }
.now__when { margin-top: 6px; font-weight: 600; font-size: 1.0625rem; line-height: 1.35; }
.now__what { margin-top: 2px; font-size: 1rem; color: var(--steel-light); }
.now__what:empty { display: none; }
.js .now.is-changing > * { animation: now-in .45s cubic-bezier(.2, .75, .25, 1) both; }
.js .now.is-changing > :nth-child(2) { animation-delay: .05s; }
.js .now.is-changing > :nth-child(3) { animation-delay: .1s; }
@keyframes now-in { from { opacity: 0; transform: translateY(8px); } }
.stories__nav { display: flex; align-items: center; gap: 14px; }
.round-btn {
  display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
  border: 1.5px solid #4a4d52; border-radius: 50%; background: none; color: var(--white); cursor: pointer;
}
.round-btn:hover { border-color: var(--white); background: #1a1a1a; }
.round-btn .icon { width: 24px; height: 24px; }
.stories__count { min-width: 4.2em; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--steel-light); }
.stories__muted { display: grid; place-items: center; width: 30px; height: 30px; margin-left: auto; color: var(--white); }
.stories__muted .icon { width: 18px; height: 18px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); }
.stories__muted + .stories__toggle { margin-left: 0; }

/* Entrée du téléphone : une seule fois, quand la section arrive à l'écran */
@media (prefers-reduced-motion: no-preference) {
  .js .stories__device { perspective: 1400px; }
  .js .stories__device .phone { opacity: 0; transform: translateY(60px) rotateY(-24deg) rotateX(6deg); transition: opacity .7s ease-out, transform 1.1s cubic-bezier(.2, .75, .25, 1); }
  .js .stories__device.is-in .phone { opacity: 1; transform: none; }
  .js .stories--videos .stories__device .phone { transition-delay: .12s; }
}

/* ---------- Marche à suivre ---------- */
.steps-section { background: var(--alu); }
.steps { display: grid; gap: 32px 28px; margin-top: clamp(32px, 4vw, 56px); counter-reset: step; }
.step { counter-increment: step; padding-top: 14px; border-top: 4px solid var(--black); }
.step::before { content: counter(step); display: block; margin-bottom: 8px; font: italic 800 3.5rem/1 var(--font-cond); color: var(--red); }
.step__title { font: 700 var(--fs-h3)/1.15 var(--font-cond); }
.step p { margin-top: 8px; color: var(--ink-soft); }
.step a { font-weight: 600; white-space: nowrap; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Zone : carte de France ---------- */
.zone__figure { margin: clamp(32px, 4vw, 56px) 0 0; }
.zone__maps { position: relative; max-width: 1080px; }
.map, .loupe { display: block; width: 100%; height: auto; overflow: visible; }
.map__land { fill: #e2e5e9; stroke: var(--white); stroke-width: 1.4; stroke-linejoin: round; }
.map__core { fill: #f6b9bc; stroke: var(--white); stroke-width: 1.4; stroke-linejoin: round; }
.loupe .map__land, .loupe .map__core { stroke-width: 2.5; }
.map__routes path { fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linecap: round; opacity: .5; }
.map__dot { fill: var(--red); stroke: var(--white); stroke-width: 3; }
.map__pt--small .map__dot { stroke-width: 2; }
.map__pulse { fill: var(--red); opacity: 0; }
.map__label { font: 700 30px/1 var(--font-cond); fill: var(--black); paint-order: stroke; stroke: var(--white); stroke-width: 7px; stroke-linejoin: round; }
.loupe .map__label { font-size: 21px; stroke-width: 6px; }
.loupe .map__label--base { font-size: 26px; }
.map__zoomlink circle, .map__zoomlink line { fill: none; stroke: var(--black); stroke-width: 2; stroke-dasharray: 5 6; }
.map__loupe-bg { fill: var(--white); }
.map__loupe-ring { fill: none; stroke: var(--black); stroke-width: 4; }
.zone__loupe-title { margin-bottom: 10px; font: 700 1.25rem/1.1 var(--font-cond); text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .map__pt--base .map__pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.2s ease-out 1s 4; }
  @keyframes pulse { 0% { opacity: .45; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
}
@media (min-width: 760px) {
  .zone__maps > .map { width: 69%; }
  .zone__loupe { position: absolute; right: 0; top: 25.13%; width: 30%; }
  .zone__loupe-title { position: absolute; bottom: 100%; left: 0; right: 0; }
}
@media (max-width: 759.98px) {
  .map__zoomline { display: none; }
  .map .map__label { font-size: 46px; stroke-width: 10px; }
  .zone__loupe { width: min(100%, 360px); margin: 28px auto 0; }
}
.zone__legend { display: grid; gap: 24px 48px; margin-top: 32px; }
@media (min-width: 860px) { .zone__legend { grid-template-columns: auto 1fr; } }
.legend { display: grid; gap: 10px; font-size: 1rem; }
.legend li { display: flex; align-items: center; gap: 12px; }
.legend__key { flex: none; width: 22px; height: 22px; display: grid; place-items: center; }
.legend__key--base::before, .legend__key--dot::before { content: ""; border: 2.5px solid var(--white); border-radius: 50%; background: var(--red); box-shadow: 0 0 0 1px var(--alu-2); }
.legend__key--base::before { width: 18px; height: 18px; }
.legend__key--dot::before { width: 13px; height: 13px; }
.legend__key--area::before { content: ""; width: 20px; height: 16px; border-radius: 3px; background: #f6b9bc; }
.legend__key--route::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--red); opacity: .6; }
.towns { display: grid; gap: 10px; margin: 0; font-size: 1rem; }
.towns div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; }
.towns dt { font-weight: 600; }
.towns dd { margin: 0; color: var(--steel); }

/* ---------- FAQ ---------- */
.faq { background: var(--alu); }
.faq__grid { display: grid; gap: 32px; }
.faq__list { border-top: 3px solid var(--black); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; list-style: none; cursor: pointer;
  font: 700 clamp(1.25rem, 1.1rem + .5vw, 1.5rem)/1.2 var(--font-cond);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 13px; height: 13px; margin-right: 6px;
  border-right: 3px solid var(--red); border-bottom: 3px solid var(--red);
  transform: translateY(-3px) rotate(45deg); transition: transform .2s;
}
.qa[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.qa summary:hover { color: var(--red-dark); }
.qa__a { max-width: 64ch; padding-bottom: 22px; color: var(--ink-soft); }
@media (min-width: 960px) {
  .faq__grid { grid-template-columns: 4fr 8fr; gap: clamp(48px, 6vw, 96px); align-items: start; }
}

/* ---------- Avis Google ---------- */
.stars { display: inline-flex; gap: 2px; color: #f4a20c; }
.stars .icon { width: 18px; height: 18px; }
.hero__rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; color: var(--white); font-weight: 600; font-size: 1rem; text-decoration: none; }
.hero__rating > span:last-child { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 4px; }
.hero__rating:hover > span:last-child { text-decoration-color: currentColor; }
.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; }
.reviews__score { display: flex; align-items: center; gap: 14px; }
.reviews__big { font: italic 800 clamp(3.25rem, 2.6rem + 2vw, 4.5rem)/.85 var(--font-cond); letter-spacing: -.02em; }
.reviews__score .stars .icon { width: 22px; height: 22px; }
.reviews__count { margin-top: 4px; font-weight: 600; }
.reviews__list { display: grid; gap: 18px; margin-top: clamp(32px, 4vw, 52px); }
@media (min-width: 720px) { .reviews__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .reviews__list { grid-template-columns: repeat(3, 1fr); } }
.rcard { display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 20px; border-radius: 8px; background: var(--alu); }
.rcard__text { flex: 1; margin: 0; font-size: 1.0625rem; line-height: 1.55; color: var(--ink-soft); }
.rcard__who { font-size: .9375rem; color: var(--steel); }
.rcard__who strong { margin-right: .5em; font-weight: 600; color: var(--black); }
.reviews__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; }
.reviews__ask { color: var(--steel); }
.reviews__legal { flex-basis: 100%; max-width: 82ch; font-size: .875rem; color: var(--steel); }
@media (max-width: 719.98px) {
  .reviews__list {
    display: flex; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .reviews__list::-webkit-scrollbar { display: none; }
  .rcard { flex: 0 0 84%; scroll-snap-align: start; }
}

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 6fr 5fr; gap: clamp(48px, 5vw, 80px); align-items: start; } }

/* La carte de visite, reproduite */
.bizcard {
  container-type: inline-size;
  position: relative; display: grid; grid-template-columns: 53% 47%; align-items: center;
  max-width: 580px; aspect-ratio: 1.75; margin-top: 36px; overflow: hidden;
  border: 1px solid var(--alu-2); border-radius: 8px; background: var(--white);
  box-shadow: 0 22px 44px -24px rgba(0, 0, 0, .5);
}
.bizcard::before, .bizcard::after { content: ""; position: absolute; inset: 0; }
.bizcard::before { background: var(--red); clip-path: polygon(60% 0, 100% 0, 100% 100%, 52% 100%); }
.bizcard::after { background: var(--black); clip-path: polygon(calc(60% + 9px) 0, 100% 0, 100% 100%, calc(52% + 9px) 100%); }
.bizcard__logo, .bizcard__info { position: relative; z-index: 1; }
.bizcard__logo { padding: 0 3% 0 5%; }
.bizcard__logo img { width: 100%; }
.bizcard__info { padding: 0 4% 0 24%; color: var(--white); }
.bizcard__ask { font-weight: 600; font-size: 16px; font-size: 4.1cqi; line-height: 1.15; }
.bizcard__name { margin-top: 2cqi; padding-top: 2cqi; border-top: 4px solid var(--red); font-weight: 600; font-size: 15px; font-size: 3.6cqi; }
.bizcard__tel { display: block; margin-top: 1cqi; font: italic 800 26px/1 var(--font-cond); font-size: 6.1cqi; color: var(--white); text-decoration: none; white-space: nowrap; }
.bizcard__tel:hover { color: var(--red); }
.bizcard__tag { margin-top: 2.4cqi; font-size: 12px; font-size: 2.9cqi; color: var(--steel-light); }

.quick-actions { display: flex; flex-wrap: wrap; gap: 10px; max-width: 580px; margin-top: 28px; }
.quick-actions li { flex: 1 1 140px; }
.quick-actions .btn { width: 100%; }

/* Formulaire */
.quote { padding: clamp(24px, 3vw, 40px); border-radius: 8px; background: var(--alu); }
.quote__title { font: 700 var(--fs-h3)/1.1 var(--font-cond); }
.field { min-width: 0; margin-top: 18px; padding: 0; border: 0; }
.field label, .field legend { display: block; margin-bottom: 6px; padding: 0; font-weight: 600; font-size: 1rem; }
.opt { font-weight: 400; color: var(--steel); }
.field input[type="text"], .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid #949ba3; border-radius: 6px; background: var(--white);
  font: inherit; font-size: 1.0625rem; color: var(--black);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7b828a; }
.field input[type="text"]:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--black); outline-offset: 1px; border-color: var(--black); }
.field__row { display: flex; flex-wrap: wrap; gap: 8px; }
.field__row input { flex: 1 1 230px; }
.field__msg { margin-top: 6px; font-size: var(--fs-small); color: var(--steel); }
.field__msg:empty { display: none; }
.field__msg.is-error { color: #b0000a; font-weight: 600; }
.field__msg.is-ok { color: #0c6a2c; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 8px 16px;
  border: 1.5px solid #949ba3; border-radius: 999px; background: var(--white);
  font-weight: 600; font-size: 1rem; cursor: pointer;
}
.chip input:checked + span { border-color: var(--black); background: var(--black); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--black); outline-offset: 2px; }
.quote__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.quote__actions .btn { flex: 1 1 220px; }
.quote__note { margin-top: 14px; font-size: var(--fs-small); color: var(--steel); }

/* ---------- Pied de page ---------- */
.site-footer { padding-block: clamp(48px, 6vw, 80px) 24px; }
.site-footer__grid { display: grid; gap: 36px; }
.site-footer__brand img { width: 190px; }
.site-footer__brand p { margin-top: 16px; max-width: 36ch; font-size: 1rem; color: var(--steel-light); }
.site-footer__title { margin-bottom: 12px; font: 700 1.25rem/1 var(--font-cond); }
.site-footer__list { display: grid; gap: 8px; font-size: 1rem; color: var(--steel-light); }
.site-footer__list a { color: var(--white); text-decoration: none; }
.site-footer__list a:hover { text-decoration: underline; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 48px; padding-top: 20px; border-top: 1px solid #262626; font-size: .875rem; color: var(--steel-light); }
.site-footer__legal a { color: var(--white); }
@media (max-width: 859.98px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (min-width: 860px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.site-footer.site-footer--slim { padding-block: 28px; }

/* ---------- Barre d'appel mobile ---------- */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid #262626; background: rgba(0, 0, 0, .94);
}
.call-bar .btn { min-height: 50px; }
@media (max-width: 959.98px) { .site-footer { padding-bottom: calc(92px + env(safe-area-inset-bottom)); } }
@media (min-width: 960px) { .call-bar { display: none; } }

/* ---------- Sans JavaScript (aperçus de fichiers, navigateurs qui le bloquent) ---------- */
/* Le menu et le défilement au doigt marchent sans script ; on masque seulement ce qui en a besoin. */
.no-js .stories__bars, .no-js .stories__toggle, .no-js .now, .no-js .stories__nav, .no-js .quote { display: none; }

/* ---------- Pages simples (mentions légales, 404) ---------- */
.page { padding-block: clamp(48px, 6vw, 96px); }
.page__title { font: 700 var(--fs-h2)/1 var(--font-cond); }
.page__body { max-width: 72ch; }
.page__body h2 { margin-top: 40px; font: 700 var(--fs-h3)/1.15 var(--font-cond); }
.page__body p, .page__body ul { margin-top: 12px; color: var(--ink-soft); }
.page__body ul { padding-left: 1.2em; list-style: disc; }
.todo { padding: 0 .25em; background: #fff1c2; color: #6b4a00; font-weight: 600; }
.legal-list { display: grid; gap: 0; margin: 16px 0 0; border-top: 1px solid var(--alu-2); }
.legal-list div { display: grid; grid-template-columns: minmax(10em, 14em) 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--alu-2); }
.legal-list dt { font-weight: 600; }
.legal-list dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 560px) { .legal-list div { grid-template-columns: 1fr; gap: 2px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
