/* ==========================================================================
   KIRA MOTORS — feuille de style
   Mise en page : une suite de bandes pleine largeur où la photographie de
   l'atelier tient le rôle du produit, et où l'interface se réduit à des
   plaques techniques posées par-dessus.
   ========================================================================== */

:root {
  /* Couleurs — achromatique strict, plus le bleu de marque réservé aux actions */
  --surface:        #ffffff;
  --surface-2:      #eeeeee;
  --surface-3:      #e5e3df;
  --surface-deep:   #171a20;
  --surface-deep-2: #1f2328;

  --ink:            #171a20;
  --body:           #393c41;
  --steel:          #5c5e62;
  --line:           #cccccc;
  --line-soft:      #e3e3e3;

  --on-deep:        #ffffff;
  --on-deep-soft:   rgba(255, 255, 255, .72);
  --on-deep-line:   rgba(255, 255, 255, .22);

  /* Bleu Kira, relevé sur le logo de la marque. Actions principales seulement. */
  --action:         #1870c0;
  --action-hover:   #135ea4;
  --on-action:      #ffffff;

  --focus:          #171a20;

  /* Typographie */
  --font-display: 'Inter Tight', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-text:    'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-fine:    'Roboto', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --text-caption: 11px;
  --text-micro:   12px;
  --text-body:    14px;
  --text-lead:    17px;
  --text-sm:      20px;
  --text-md:      28px;
  --text-lg:      clamp(30px, 4vw, 40px);
  --text-xl:      clamp(34px, 5vw, 48px);
  --text-hero:    clamp(38px, 6.6vw, 76px);

  /* Espacement — base 4 px */
  --s4: 4px;   --s8: 8px;   --s12: 12px; --s16: 16px;
  --s24: 24px; --s32: 32px; --s40: 40px; --s48: 48px;
  --s64: 64px; --s80: 80px; --s120: 120px;

  --r-btn: 4px;
  --r-card: 8px;

  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --measure: 1240px;
  --header-h: 64px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface:        #121418;
    --surface-2:      #1b1e23;
    --surface-3:      #1f2228;
    --surface-deep:   #0b0d10;
    --surface-deep-2: #15181d;

    --ink:            #f4f5f6;
    --body:           #c3c6cb;
    --steel:          #9ba0a6;
    --line:           #343941;
    --line-soft:      #272b31;

    --on-deep:        #ffffff;
    --on-deep-soft:   rgba(255, 255, 255, .70);
    --on-deep-line:   rgba(255, 255, 255, .18);

    --action:         #1870c0;
    --action-hover:   #2e86da;
    --on-action:      #ffffff;

    --focus:          #ffffff;

    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --surface:        #121418;
  --surface-2:      #1b1e23;
  --surface-3:      #1f2228;
  --surface-deep:   #0b0d10;
  --surface-deep-2: #15181d;

  --ink:            #f4f5f6;
  --body:           #c3c6cb;
  --steel:          #9ba0a6;
  --line:           #343941;
  --line-soft:      #272b31;

  --on-deep:        #ffffff;
  --on-deep-soft:   rgba(255, 255, 255, .70);
  --on-deep-line:   rgba(255, 255, 255, .18);

  --action:         #1870c0;
  --action-hover:   #2e86da;
  --on-action:      #ffffff;

  --focus:          #ffffff;

  color-scheme: dark;
}

/* ----------------------------------------------------------------- base -- */

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--body);
  font-family: var(--font-text);
  font-size: var(--text-body);
  line-height: 1.43;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -.015em;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: inherit; }

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--action); color: var(--on-action);
  padding: var(--s12) var(--s24); border-radius: var(--r-btn);
  font-weight: 500;
}
.skip:focus { left: var(--s16); top: var(--s16); }

/* -------------------------------------------------------------- layout --- */

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

.band { position: relative; }
.band--pad    > .wrap { padding-block: clamp(56px, 9vw, 104px); }
.band--tight  > .wrap { padding-block: clamp(32px, 5vw, 56px); }
.band--white  { background: var(--surface); }
.band--soft   { background: var(--surface-2); }
.band--deep   { background: var(--surface-deep); color: var(--on-deep-soft); }
.band--deep h2, .band--deep h3, .band--deep h4 { color: var(--on-deep); }

/* ----------------------------------------------------------------- type -- */

.eyebrow {
  font-family: var(--font-text);
  font-size: var(--text-caption);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0;
}
.band--deep .eyebrow { color: var(--on-deep-soft); }

.h-xl { font-size: var(--text-xl); line-height: 1.08; }
.h-lg { font-size: var(--text-lg); line-height: 1.14; }
.h-md { font-size: var(--text-md); line-height: 1.2; }
.h-sm { font-size: var(--text-sm); line-height: 1.3; }

.lead {
  font-size: var(--text-lead);
  line-height: 1.52;
  color: var(--body);
  max-width: 58ch;
}
.band--deep .lead { color: var(--on-deep-soft); }

.fine {
  font-family: var(--font-fine);
  font-size: var(--text-caption);
  line-height: 1.45;
  color: var(--steel);
}

.section-head { display: grid; gap: var(--s12); margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .lead { margin-top: var(--s4); }

/* -------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s8);
  min-height: 40px;
  padding: var(--s8) var(--s24);
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  font-family: var(--font-text);
  font-size: var(--text-body);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, opacity .18s ease;
  white-space: nowrap;
}

.btn--primary { background: var(--action); color: var(--on-action); }
.btn--primary:hover { background: var(--action-hover); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--surface); }

.btn--onphoto {
  background: rgba(255, 255, 255, .92);
  color: #171a20;
  border-color: transparent;
  backdrop-filter: blur(2px);
}
.btn--onphoto:hover { background: #ffffff; }

.btn--quiet {
  background: var(--surface-2); color: var(--ink);
  border-color: transparent;
}
.btn--quiet:hover { background: var(--line-soft); }

.btn--wide { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s12); }

/* --------------------------------------------------------------- header -- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  padding-top: env(safe-area-inset-top, 0px);
  display: flex; align-items: center;
  transition: transform .32s ease, background-color .32s ease, border-color .32s ease;
  border-bottom: 1px solid transparent;
}
.header > .wrap { display: flex; align-items: center; gap: var(--s24); width: 100%; }

.header[data-mode="solid"] {
  background: var(--surface);
  border-bottom-color: var(--line-soft);
}
.header[data-hidden="true"] { transform: translateY(-100%); }

.brand { display: flex; align-items: center; gap: var(--s8); text-decoration: none; flex: none; }
.brand__mark { height: 22px; width: auto; }
.brand__mark--mono { display: none; }
.brand__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.header[data-mode="over"] .brand__mark--colour { display: none; }
.header[data-mode="over"] .brand__mark--mono { display: block; }
.header[data-mode="over"] .brand__word { color: #fff; }

.nav { display: flex; align-items: center; gap: var(--s24); margin-left: auto; }
.nav__link {
  font-size: var(--text-body);
  color: var(--body);
  text-decoration: none;
  padding: var(--s8) 0;
  transition: color .18s ease;
}
.nav__link:hover { color: var(--ink); }

.header[data-mode="over"] { color: #fff; }
.header[data-mode="over"] .nav__link { color: rgba(255,255,255,.88); }
.header[data-mode="over"] .nav__link:hover { color: #fff; }
.header[data-mode="over"] .status { color: rgba(255,255,255,.88); }
.header[data-mode="over"] .burger { color: #fff; }

.header__actions { display: flex; align-items: center; gap: var(--s12); margin-left: auto; }
.nav + .header__actions { margin-left: 0; }

/* pastille d'ouverture, calculée sur les horaires réels (heure d'Abidjan) */
.status {
  display: inline-flex; align-items: center; gap: var(--s8);
  font-size: var(--text-micro);
  color: var(--steel);
  white-space: nowrap;
  flex: 0 1 auto;
  min-width: 0;
}
.status__detail::before { content: "·"; margin-right: var(--s4); opacity: .6; }
.status__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--steel);
  flex: none;
}
.status[data-open="true"] .status__dot { background: #2f9e52; }
.status[data-open="false"] .status__dot { background: var(--line); }

.burger {
  display: none;
  background: none; border: 0; padding: var(--s8);
  color: var(--ink); cursor: pointer;
  margin-left: auto;
  flex: none;
}
.burger svg { display: block; }

/* panneau de navigation mobile */
.sheet {
  position: fixed; inset: 0; z-index: 110;
  background: var(--surface);
  padding: calc(env(safe-area-inset-top, 0px) + 16px) var(--gutter-r) calc(env(safe-area-inset-bottom, 0px) + 24px) var(--gutter-l);
  display: grid; align-content: start; gap: var(--s4);
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
}
.sheet[data-open="true"] { transform: none; }
.sheet__top { display: flex; justify-content: flex-end; margin-bottom: var(--s16); }
.sheet__close { background: none; border: 0; color: var(--ink); padding: var(--s8); cursor: pointer; }
.sheet a {
  display: block;
  padding: var(--s16) var(--s8);
  font-size: var(--text-sm);
  font-family: var(--font-display);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}
.sheet .btn { margin-top: var(--s24); }

/* ----------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  min-height: clamp(540px, 86vh, 840px);
  display: grid;
  isolation: isolate;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }

/* Voile photographique. Le mur de l'atelier est clair : il faut assez de
   densité au centre pour que le blanc tienne, sans écraser la photo.        */
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(130% 85% at 50% 46%, rgba(8,10,13,.50) 0%, rgba(8,10,13,.26) 48%, rgba(8,10,13,0) 80%),
    linear-gradient(180deg, rgba(8,10,13,.72) 0%, rgba(8,10,13,.30) 24%, rgba(8,10,13,.32) 56%, rgba(8,10,13,.84) 100%);
}

.hero__inner {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: var(--s16);
  padding-block: calc(var(--header-h) + 48px) 148px;
  color: #fff;
}
.hero__eyebrow { color: rgba(255,255,255,.80); }
.hero h1 {
  font-size: var(--text-hero);
  line-height: 1.02;
  letter-spacing: -.028em;
  font-weight: 600;
  color: #fff;
  max-width: 16ch;
}
.hero__sub {
  font-size: var(--text-lead);
  line-height: 1.5;
  color: rgba(255,255,255,.88);
  max-width: 52ch;
}
.hero .btn-row { margin-top: var(--s8); justify-content: center; }

.hero__facts {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero__facts .wrap {
  display: flex; flex-wrap: wrap; gap: var(--s8) var(--s32);
  justify-content: center;
  padding-block: var(--s16);
}
.hero__facts li {
  font-size: var(--text-micro);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.80);
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 76px;
  transform: translateX(-50%);
  width: 1px; height: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.7));
  overflow: hidden;
}
.scroll-cue::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(255,255,255,.95);
  animation: cue 2.4s ease-in-out infinite;
}
@keyframes cue {
  0%   { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* --------------------------------------------------------- engagements -- */

.pledges { display: grid; grid-template-columns: repeat(4, 1fr); }
.pledge {
  padding: var(--s24) var(--s24) var(--s24) 0;
  border-right: 1px solid var(--line-soft);
  display: grid; gap: var(--s4); align-content: start;
}
.pledge:last-child { border-right: 0; }
.pledge + .pledge { padding-left: var(--s24); }
.pledge__t { font-family: var(--font-display); font-size: var(--text-body); font-weight: 500; color: var(--ink); }
.pledge__d { font-size: var(--text-micro); color: var(--steel); }

/* ------------------------------------------------------------- services -- */

.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s16); }

.service {
  position: relative;
  display: grid; gap: var(--s12); align-content: start;
  background: var(--surface-2);
  border: 1px solid transparent;
  border-radius: var(--r-card);
  padding: var(--s24);
  min-width: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background-color .2s ease;
}
.service:hover { border-color: var(--line); transform: translateY(-2px); }
.service__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s8); }
.service__num {
  font-family: var(--font-fine);
  font-size: var(--text-caption);
  letter-spacing: .1em;
  color: var(--steel);
}
.service__icon { color: var(--ink); }
.service__icon svg { display: block; }
.service h3 { font-size: var(--text-sm); line-height: 1.25; }
.service p { font-size: var(--text-body); color: var(--body); }
.service__cue {
  font-size: var(--text-micro);
  color: var(--steel);
  display: inline-flex; align-items: center; gap: var(--s4);
  margin-top: var(--s4);
}
.service:hover .service__cue { color: var(--ink); }

/* -------------------------------------------------------------- atelier -- */

.atelier { display: grid; gap: var(--s32); }
.atelier__head { display: grid; gap: var(--s12); }

.zones { display: flex; flex-wrap: wrap; gap: var(--s8); }
.zone-tab {
  appearance: none;
  background: transparent;
  color: var(--on-deep-soft);
  border: 1px solid var(--on-deep-line);
  border-radius: var(--r-btn);
  padding: var(--s8) var(--s16);
  font: 500 var(--text-body)/1 var(--font-text);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.zone-tab:hover { color: #fff; border-color: rgba(255,255,255,.45); }
.zone-tab[aria-selected="true"] { background: #fff; color: #171a20; border-color: #fff; }

.zone-stage {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--surface-deep-2);
  aspect-ratio: 16 / 9;
  max-width: 100%;
}
.zone-stage img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .5s ease;
}
.zone-stage img[data-active="true"] { opacity: 1; }
.zone-stage__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--s32) var(--s24) var(--s24);
  background: linear-gradient(180deg, rgba(8,10,13,0), rgba(8,10,13,.86));
  display: grid; gap: var(--s4);
}
.zone-stage__caption h3 { font-size: var(--text-sm); color: #fff; }
.zone-stage__caption p { font-size: var(--text-body); color: rgba(255,255,255,.82); max-width: 62ch; }

.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s16); }
.counter { border-top: 1px solid var(--on-deep-line); padding-top: var(--s16); display: grid; gap: var(--s4); }
.counter__v {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 500;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.counter__l { font-size: var(--text-micro); color: var(--on-deep-soft); }

/* ------------------------------------------------------------- peinture -- */

.paint { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.paint__copy { display: grid; gap: var(--s16); align-content: start; min-width: 0; }
.paint__promises { display: grid; gap: var(--s12); margin-top: var(--s8); }
.paint__promise { display: grid; gap: var(--s4); border-top: 1px solid var(--line-soft); padding-top: var(--s12); }
.paint__promise dt { font-family: var(--font-display); font-weight: 500; color: var(--ink); font-size: var(--text-body); }
.paint__promise dd { margin: 0; font-size: var(--text-body); color: var(--steel); }

.studio { display: grid; gap: var(--s16); min-width: 0; }
.studio__stage {
  background: var(--surface-2);
  border-radius: var(--r-card);
  padding: var(--s16);
  display: grid;
  place-items: center;
}
.studio__stage svg { width: 100%; height: auto; max-width: 100%; }

#panel-fill { transition: fill .4s ease; }
.panel .sky, .panel .flake, .panel .spec, .panel .crease-hi { transition: opacity .3s ease; }
.panel[data-finish="brillant"] .sky   { opacity: 1; }
.panel[data-finish="brillant"] .spec  { opacity: .55; }
.panel[data-finish="brillant"] .flake { opacity: 0; }
.panel[data-finish="metal"]    .sky   { opacity: .85; }
.panel[data-finish="metal"]    .spec  { opacity: .34; }
.panel[data-finish="metal"]    .flake { opacity: .26; }
.panel[data-finish="mat"]      .sky   { opacity: .26; }
.panel[data-finish="mat"]      .spec  { opacity: 0; }
.panel[data-finish="mat"]      .flake { opacity: 0; }
.panel[data-finish="mat"]      .crease-hi { opacity: .35; }

.swatches { display: flex; flex-wrap: wrap; gap: var(--s8); }
.swatch {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  padding: 0;
  cursor: pointer;
  position: relative;
  transition: transform .15s ease;
}
.swatch:hover { transform: scale(1.06); }
.swatch[aria-pressed="true"]::after {
  content: "";
  position: absolute; inset: -5px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.finishes { display: flex; gap: var(--s4); }
.finish {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  padding: var(--s8) var(--s12);
  font: 400 var(--text-micro)/1.2 var(--font-text);
  color: var(--body);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.finish[aria-pressed="true"] { background: var(--ink); color: var(--surface); }

.studio__meta { display: flex; justify-content: space-between; gap: var(--s12); align-items: baseline; }
.studio__name { font-family: var(--font-display); font-size: var(--text-body); font-weight: 500; color: var(--ink); }

/* ---------------------------------------------------------------- devis -- */

.devis { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 4vw, 56px); align-items: start; }
.devis__form { display: grid; gap: var(--s32); min-width: 0; }

.step { display: grid; gap: var(--s16); }
.step__head { display: flex; align-items: baseline; gap: var(--s12); border-bottom: 1px solid var(--line-soft); padding-bottom: var(--s8); }
.step__num { font-family: var(--font-fine); font-size: var(--text-caption); letter-spacing: .1em; color: var(--steel); }
.step__head h3 { font-size: var(--text-sm); }

.field { display: grid; gap: var(--s4); min-width: 0; }
.field > label, .legend {
  font-size: var(--text-micro);
  font-weight: 500;
  color: var(--steel);
  letter-spacing: .02em;
}
.field input, .field select, .field textarea {
  font: 400 var(--text-body)/1.4 var(--font-text);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  padding: var(--s12);
  width: 100%;
  min-width: 0;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field__hint { font-size: var(--text-caption); color: var(--steel); }
.field--error input, .field--error select { border-color: #b4342c; }
.field__error { font-size: var(--text-caption); color: #b4342c; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s16); }

fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: var(--s8); min-width: 0; }

.chips { display: flex; flex-wrap: wrap; gap: var(--s8); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: var(--s8);
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  padding: var(--s8) var(--s16);
  font-size: var(--text-body);
  color: var(--body);
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }

.check { display: flex; gap: var(--s12); align-items: flex-start; font-size: var(--text-body); color: var(--body); cursor: pointer; }
.check input { margin: 2px 0 0; accent-color: var(--action); width: 16px; height: 16px; flex: none; }

/* récapitulatif */
.summary {
  background: var(--surface-2);
  border-radius: var(--r-card);
  padding: var(--s24);
  display: grid; gap: var(--s16);
  position: sticky;
  top: calc(var(--header-h) + 16px);
  min-width: 0;
}
.summary h3 { font-size: var(--text-sm); }
.summary dl { display: grid; gap: var(--s12); margin: 0; }
.summary__row { display: grid; gap: 2px; }
.summary dt { font-size: var(--text-caption); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.summary dd { margin: 0; font-size: var(--text-body); color: var(--ink); overflow-wrap: anywhere; }
.summary__empty { font-size: var(--text-body); color: var(--steel); }
.summary__actions { display: grid; gap: var(--s8); }
.summary__note { font-family: var(--font-fine); font-size: var(--text-caption); color: var(--steel); }

/* ------------------------------------------------------------- flottes --- */

.fleet { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.fleet__copy { display: grid; gap: var(--s16); align-content: start; min-width: 0; }
.fleet__list { display: grid; gap: var(--s12); margin-top: var(--s8); }
.fleet__list li {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s12);
  font-size: var(--text-body); color: var(--body);
  border-top: 1px solid var(--line-soft); padding-top: var(--s12);
}
.fleet__list b { font-family: var(--font-display); font-weight: 500; color: var(--ink); }
.fleet__media { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 3; }
.fleet__media img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------- contact --- */

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact__media { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 3 / 2; }
.contact__media img { width: 100%; height: 100%; object-fit: cover; }
.contact__cols { display: grid; gap: var(--s32); }

.info { display: grid; gap: var(--s8); }
.info h3 { font-size: var(--text-caption); letter-spacing: .14em; text-transform: uppercase; color: var(--steel); font-family: var(--font-text); font-weight: 500; }
.info p, .info a { font-size: var(--text-body); color: var(--ink); text-decoration: none; }
.info a:hover { text-decoration: underline; }

.copyline { display: flex; align-items: center; gap: var(--s8); flex-wrap: wrap; }
.copybtn {
  background: none; border: 1px solid var(--line); border-radius: var(--r-btn);
  color: var(--steel); font: 400 var(--text-caption)/1 var(--font-text);
  padding: 5px var(--s8); cursor: pointer;
}
.copybtn:hover { color: var(--ink); border-color: var(--ink); }

.hours { display: grid; gap: var(--s4); }
.hours__row { display: flex; justify-content: space-between; gap: var(--s16); font-size: var(--text-body); padding: var(--s4) 0; border-bottom: 1px solid var(--line-soft); }
.hours__row span:first-child { color: var(--steel); }
.hours__row span:last-child { color: var(--ink); font-variant-numeric: tabular-nums; }
.hours__row[data-today="true"] span { color: var(--ink); font-weight: 500; }

/* ------------------------------------------------------- diaporama ----- */

.slides { display: grid; gap: var(--s16); max-width: 900px; margin-inline: auto; }

.slides__stage {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--surface-2);
}
.slides__stage img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  /* Fondu court : la légende bascule d'un coup, l'image doit suivre vite
     sous peine de décrire la photo précédente.                             */
  transition: opacity .5s ease;
}
.slides__stage img[data-active="true"] { opacity: 1; }

.slides__timer {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: rgba(255, 255, 255, .85);
}
.slides[data-playing="true"] .slides__timer { animation: slideTimer 6s linear forwards; }
@keyframes slideTimer { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.slides__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s16); flex-wrap: wrap;
}
.slides__caption { font-size: var(--text-body); color: var(--body); min-width: 0; }
.slides__caption b { font-family: var(--font-display); font-weight: 500; color: var(--ink); }

.slides__nav { display: flex; align-items: center; gap: var(--s8); flex: none; }
.slides__btn {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  color: var(--steel);
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease;
}
.slides__btn:hover { color: var(--ink); border-color: var(--ink); }
.slides__dots { display: flex; gap: var(--s8); margin-inline: var(--s8); }
.slides__dot {
  width: 8px; height: 8px; padding: 0;
  border: 0; border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background-color .18s ease;
}
.slides__dot[aria-current="true"] { background: var(--ink); }

.band--deep .slides__stage { background: var(--surface-deep-2); }
.band--deep .slides__caption { color: var(--on-deep-soft); }
.band--deep .slides__caption b { color: #fff; }
.band--deep .slides__btn { border-color: var(--on-deep-line); color: var(--on-deep-soft); }
.band--deep .slides__btn:hover { color: #fff; border-color: rgba(255, 255, 255, .5); }
.band--deep .slides__dot { background: var(--on-deep-line); }
.band--deep .slides__dot[aria-current="true"] { background: #fff; }

/* ------------------------------------------------------------- accès --- */

.access { display: grid; grid-template-columns: 1.32fr .68fr; gap: clamp(24px, 3vw, 40px); align-items: start; }
.access__map {
  background: var(--surface-2);
  border-radius: var(--r-card);
  padding: var(--s16);
  min-width: 0;
}
.access__map svg { display: block; width: 100%; height: auto; }
.access__side { display: grid; gap: var(--s24); min-width: 0; }
.access__side .btn-row { display: grid; gap: var(--s8); }
.access__side .btn { width: 100%; }

/* Plan d'orientation : les couleurs passent par des classes, pas par des
   attributs de présentation — var() y est mal géré sur les vieux Android.   */
.plan-road  { fill: var(--line); }
.plan-block { fill: var(--surface); stroke: var(--line); stroke-width: 2; }
.plan-plot  { fill: none; stroke: var(--line); stroke-width: 2; }
.plan-here  { fill: var(--action); }
.plan-label, .plan-dir {
  font-family: var(--font-text);
  fill: var(--steel);
  letter-spacing: .02em;
}
.plan-label { font-size: 21px; text-anchor: middle; }
.plan-dir   { font-size: 19px; }
.plan-dir--end { text-anchor: end; }
.plan-here-text {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 500;
  fill: #ffffff;
  text-anchor: middle;
}

.gps {
  font-family: var(--font-fine);
  font-size: var(--text-body);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------- réseaux sociaux ------ */
/* Monochromes : hors des boutons d'action, la palette reste achromatique.   */

.social { display: flex; gap: var(--s8); flex-wrap: wrap; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  color: var(--steel);
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}
.social a:hover { color: var(--surface); background: var(--ink); border-color: var(--ink); }
.social svg { display: block; }

/* -------------------------------------------------------------- footer --- */

.footer { background: var(--surface); border-top: 1px solid var(--line-soft); }
.footer > .wrap { padding-block: var(--s48) var(--s32); display: grid; gap: var(--s32); }
.footer__cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--s32); }
.footer__brand { display: grid; gap: var(--s12); align-content: start; }
.footer__brand img { height: 28px; width: auto; }
.footer__tag { font-size: var(--text-micro); color: var(--steel); max-width: 30ch; }
.footer h4 { font-size: var(--text-caption); letter-spacing: .14em; text-transform: uppercase; color: var(--steel); font-family: var(--font-text); font-weight: 500; }
.footer ul { display: grid; gap: var(--s8); margin-top: var(--s12); }
.footer a { font-size: var(--text-body); color: var(--steel); text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer__legal { border-top: 1px solid var(--line-soft); padding-top: var(--s16); display: flex; flex-wrap: wrap; gap: var(--s8) var(--s24); justify-content: space-between; }

/* ---------------------------------------------------------- barre mobile -- */

.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: var(--s8);
  background: var(--surface);
  border-top: 1px solid var(--line-soft);
  padding: var(--s8) var(--gutter-r) calc(var(--s8) + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
}
.dock .btn { flex: 1; padding-inline: var(--s12); }

/* ------------------------------------------------------------- progress -- */

.progress {
  position: fixed; top: 0; left: 0; z-index: 120;
  height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: var(--ink);
  pointer-events: none;
}
.header[data-mode="over"] ~ .progress { background: #fff; }

/* ---------------------------------------------------------------- toast -- */

.toast {
  position: fixed;
  left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 16px);
  z-index: 130;
  background: var(--ink); color: var(--surface);
  padding: var(--s12) var(--s24);
  border-radius: var(--r-btn);
  font-size: var(--text-body);
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.toast[data-show="true"] { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------- apparition douce --- */
/* Au repos la page est entièrement visible ; l'animation ne s'active que si
   le script a pris la main, et jamais en mouvement réduit.                   */

.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1);
}

/* Le héros n'a pas d'animation d'entrée : c'est l'image que partages et
   vignettes capturent en premier, et elle doit être complète dès la première
   frame. Le mouvement de la page vient des révélations au défilement.        */

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

/* --------------------------------------------------------- l'équipe ----- */

.team {
  position: relative;
  min-height: clamp(420px, 56vh, 600px);
  display: grid;
  isolation: isolate;
  overflow: hidden;
}
.team__media { position: absolute; inset: 0; z-index: -2; }
.team__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.team__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8,10,13,.86) 0%, rgba(8,10,13,.62) 42%, rgba(8,10,13,.22) 100%);
}
.team__inner {
  display: grid; align-content: center; gap: var(--s16);
  padding-block: clamp(48px, 7vw, 88px);
  max-width: 48ch;
  color: #fff;
}
.team__inner h2 { color: #fff; }
.team__inner p { color: rgba(255,255,255,.86); font-size: var(--text-lead); line-height: 1.52; }
.team__inner .eyebrow { color: rgba(255,255,255,.78); }

/* Variante : sujet à gauche dans la photo, donc texte à droite. */
.team--right .team__scrim {
  background: linear-gradient(270deg, rgba(8,10,13,.88) 0%, rgba(8,10,13,.64) 44%, rgba(8,10,13,.20) 100%);
}
.team--right .team__inner { margin-left: auto; }
.team--right .team__media img { object-position: 50% 52%; }

/* ------------------------------------------- le parcours d'une réparation */

.journey { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s16); }
.journey__step { display: grid; gap: var(--s12); align-content: start; min-width: 0; }
.journey__shot {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--surface-2);
}
.journey__shot img { width: 100%; height: 100%; object-fit: cover; }
.journey__n {
  position: absolute; left: var(--s8); top: var(--s8);
  background: rgba(8,10,13,.78); color: #fff;
  font-family: var(--font-fine); font-size: var(--text-caption);
  letter-spacing: .1em;
  padding: 3px var(--s8); border-radius: var(--r-btn);
}
.journey__step h3 { font-size: var(--text-body); font-weight: 500; }
.journey__step p { font-size: var(--text-micro); color: var(--steel); }

/* ------------------------------------------------------------ articles -- */

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s24); }
.posts--two { grid-template-columns: repeat(2, 1fr); }

.post {
  display: grid; gap: var(--s12); align-content: start;
  text-decoration: none; color: inherit;
  min-width: 0;
}
.post__shot {
  aspect-ratio: 16 / 10;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--surface-2);
}
.post__shot img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.6,.2,1);
}
.post:hover .post__shot img { transform: scale(1.03); }
.post__meta {
  font-family: var(--font-fine);
  font-size: var(--text-caption);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--steel);
}
.post h3 {
  font-size: var(--text-sm);
  line-height: 1.26;
  transition: color .18s ease;
}
.post p { font-size: var(--text-body); color: var(--body); }
.post__cue { font-size: var(--text-micro); color: var(--steel); }
.post:hover .post__cue { color: var(--ink); }

.posts-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--s16); flex-wrap: wrap;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.posts-head > div { display: grid; gap: var(--s12); }

/* ----------------------------------------------- pages hors accueil ----- */

.subpage { padding-top: var(--header-h); }

.crumbs {
  display: flex; flex-wrap: wrap; gap: var(--s8);
  font-size: var(--text-micro); color: var(--steel);
  padding-block: var(--s24) 0;
}
.crumbs a { text-decoration: none; color: var(--steel); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span[aria-current] { color: var(--ink); }

.page-head { display: grid; gap: var(--s16); max-width: 72ch; }
.page-head .lead { max-width: 64ch; }

/* --------------------------------------------------------- un article --- */

.article { max-width: 72ch; margin-inline: auto; }
.article__cover {
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
  margin-block: clamp(24px, 4vw, 40px);
}
.article__cover img { width: 100%; height: 100%; object-fit: cover; }

.prose { display: grid; gap: var(--s16); }
.prose h2 {
  font-size: var(--text-md);
  line-height: 1.24;
  margin-top: var(--s32);
}
.prose h3 {
  font-size: var(--text-sm);
  line-height: 1.3;
  margin-top: var(--s24);
}
.prose p, .prose li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
}
.prose ul, .prose ol { display: grid; gap: var(--s8); padding-left: var(--s24); }
.prose ul li { list-style: disc; }
.prose ol { list-style: decimal; }
.prose ol li { list-style: decimal; }
.prose a { color: var(--ink); text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose blockquote {
  margin: 0;
  padding-left: var(--s24);
  border-left: 2px solid var(--line);
  color: var(--steel);
}
.prose table { border-collapse: collapse; width: 100%; font-size: var(--text-body); }
.prose th, .prose td { text-align: left; padding: var(--s8) var(--s12); border-bottom: 1px solid var(--line-soft); }
.prose th { color: var(--ink); font-weight: 500; }

.article__cta {
  margin-top: clamp(40px, 6vw, 64px);
  background: var(--surface-2);
  border-radius: var(--r-card);
  padding: var(--s32) var(--s24);
  display: grid; gap: var(--s12);
}
.article__cta h2 { font-size: var(--text-sm); margin: 0; }
.article__cta p { font-size: var(--text-body); color: var(--body); }
.article__cta .btn-row { margin-top: var(--s8); }

.article__foot {
  margin-top: var(--s32);
  padding-top: var(--s16);
  border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; gap: var(--s16); flex-wrap: wrap;
}

/* ----------------------------------------------------------- responsive -- */

@media (max-width: 1040px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: var(--s32) var(--s24); }
  .posts { grid-template-columns: repeat(2, 1fr); }

  /* Cinq étapes ne se répartissent proprement sur aucune grille étroite :
     on garde la séquence sur une ligne, qui défile.                        */
  .journey {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(190px, 1fr);
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: var(--s8);
    scrollbar-width: thin;
  }
  .journey__step { scroll-snap-align: start; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .header__actions .btn { display: none; }
  .burger { display: block; }
  .header__actions { gap: var(--s8); }

  .status__detail { display: none; }

  .paint, .devis, .fleet, .contact { grid-template-columns: 1fr; }
  .summary { position: static; }
  .pledges { grid-template-columns: 1fr 1fr; }
  .pledge { border-right: 0; border-bottom: 1px solid var(--line-soft); padding: var(--s16) 0; }
  .pledge:nth-child(odd) { padding-right: var(--s16); }
  .pledge:nth-child(even) { padding-left: var(--s16); border-left: 1px solid var(--line-soft); }
  .pledge + .pledge { padding-left: 0; }
  .pledge:nth-child(even) { padding-left: var(--s16); }
  .fleet__media { aspect-ratio: 16 / 9; }

  .team__scrim,
  .team--right .team__scrim { background: linear-gradient(180deg, rgba(8,10,13,.50) 0%, rgba(8,10,13,.82) 100%); }
  .team__inner { max-width: none; }

  .access { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 56px; }
  .dock { display: flex; }
  body { padding-bottom: 68px; }
  .hero { min-height: clamp(520px, 78vh, 680px); }
  .hero__inner { padding-block: calc(var(--header-h) + 32px) 124px; }
  .hero__facts .wrap { display: block; padding-block: var(--s12); }
  .hero__facts li { display: inline; font-size: var(--text-caption); }
  .hero__facts li:not(:last-child)::after { content: "·"; margin: 0 var(--s8); opacity: .55; }
  .scroll-cue { display: none; }
  .counters { grid-template-columns: 1fr; }
  .counter { padding-top: var(--s12); }
  .grid-2 { grid-template-columns: 1fr; }
  .zone-stage { aspect-ratio: 4 / 3; }
  .zone-stage__caption { padding: var(--s24) var(--s16) var(--s16); }

  .posts, .posts--two { grid-template-columns: 1fr; }
  .article, .article__cover { max-width: none; }
  .slides__stage { aspect-ratio: 4 / 5; }
  .slides__bar { flex-direction: column; align-items: flex-start; gap: var(--s12); }
  .article__cover { aspect-ratio: 4 / 3; }
}

@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .pledges { grid-template-columns: 1fr; }
  .pledge, .pledge:nth-child(odd), .pledge:nth-child(even) {
    padding: var(--s16) 0; border-left: 0; border-right: 0;
  }
  .footer__cols { grid-template-columns: 1fr; }
  .finishes { flex-wrap: wrap; }
  .brand__word { font-size: 13px; letter-spacing: .08em; }
}
