/* =============================================================
   Dépannage Moto Paris — feuille de style unique.
   Registre : atelier clair, papier blanc, signal ambre.
   Bascule en fond blanc le 2026-09-13. L'orange de marque reste l'aplat
   (boutons, bandeaux, ruban) ; sur fond clair il ne peut pas porter de texte,
   il n'y atteint que 2,4:1. Le texte orange passe donc par --accent-text
   (6,3:1) et les contours d'interface par --accent-edge (3,4:1).
   Mobile first. Ruptures : 600 / 900 / 1200.
   Aucune dépendance, aucune image bitmap.
   ============================================================= */

:root {
  --bg:        #ffffff;
  --bg-alt:    #f4f6f9;
  --surface:   #ffffff;
  --line:      #dde2ea;
  --text:      #12151c;
  --text-mute: #555d6b;
  --accent:      #ff8a1f;   /* aplats de marque uniquement */
  --accent-text: #a1440a;   /* orange lisible en texte sur clair */
  --accent-edge: #d9700c;   /* contours et états d'interface */
  --accent-ink:  #12151c;   /* texte posé sur l'orange */
  --ok:        #0f7a4d;
  --warn:      #a86a00;
  --radius:    14px;
  --radius-sm: 8px;
  --wrap:      1160px;
  --gutter:    clamp(1rem, 4vw, 2rem);

  --field-bg:   #ffffff;
  --field-line: #767f8f;

  --font-head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Motif signature : ruban de chantier. CSS pur, réutilisé partout. */
  --hazard:      repeating-linear-gradient(45deg, var(--accent) 0 12px, var(--accent-ink) 12px 24px);
  --hazard-soft: repeating-linear-gradient(45deg, rgba(255, 138, 31, .14) 0 10px, transparent 10px 20px);

  --shadow:  0 10px 28px rgba(18, 21, 28, .10);
  --ring:    0 0 0 3px rgba(217, 112, 12, .55);
}

/* ---------- Socle ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}

h1, h2 { text-transform: uppercase; }
h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 4.4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); letter-spacing: 0; }
h4 { font-size: 1.1rem; letter-spacing: 0; }

p, ul, ol, dl, table, figure { margin: 0 0 1.1rem; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #7a3406; }

strong, b { font-weight: 700; }
[hidden] { display: none !important; }
small { font-size: .875rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

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

::selection { background: var(--accent); color: var(--accent-ink); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter); top: -100%;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  padding: .75rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 0; color: var(--accent-ink); }

/* ---------- Structure ---------- */

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

.section { padding-block: clamp(2.75rem, 7vw, 5rem); }
.section--tight { padding-block: clamp(1.5rem, 4vw, 2.5rem); }

.section--alt {
  background: var(--bg-alt);
  position: relative;
  border-block: 1px solid var(--line);
}
.section--alt::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background-image: var(--hazard);
  opacity: .85;
}

.section__head { max-width: 68ch; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.section__head > :last-child { margin-bottom: 0; }

.eyebrow {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .9rem;
  color: var(--accent-text);
  margin-bottom: .4rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.6rem; height: 3px;
  margin-right: .6rem;
  vertical-align: .22em;
  background: var(--accent);
}

.lede {
  font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem);
  color: var(--text-mute);
  max-width: 68ch;
}

/* ---------- En-tête ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  transition: padding .2s ease, background .2s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 6px 20px rgba(18, 21, 28, .10);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 64px;
  padding-block: .5rem;
}
.site-header.is-scrolled .site-header__inner { min-height: 56px; }

.logo {
  order: 1;
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-right: auto;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-head);
  text-transform: uppercase;
}
.logo:hover { color: var(--text); }

.logo__mark {
  width: 30px; height: 30px;
  flex: none;
  transform: rotate(45deg);
  border-radius: 5px;
  background-image: var(--hazard);
  background-size: 200% 200%;
  border: 2px solid var(--accent);
}

.logo__text {
  font-size: clamp(1.1rem, 3.4vw, 1.35rem);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
}
.logo__text strong { color: var(--accent-text); font-weight: 700; }

.nav-toggle {
  order: 3;
  width: 44px; height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-6px) rotate(-45deg); }

.site-nav { order: 4; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  /* L'écart se resserre plutôt que de faire passer le menu sur deux lignes. */
  gap: .25rem clamp(.55rem, 1.5vw, 1.25rem);
}
.site-nav a {
  display: block;
  white-space: nowrap;
  padding: .7rem .25rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--accent-text); }
.site-nav a[aria-current="page"] { color: var(--accent-text); border-bottom-color: var(--accent-edge); }

/* Le numéro ne se coupe jamais en deux : c'est la conversion du site. Le bouton
   garde sa largeur, c'est le menu qui cède la place. */
.site-header__inner .btn--call { order: 2; flex-shrink: 0; }
.btn--call { white-space: nowrap; }

/* Sans JS : le menu reste une liste visible, le burger disparaît. */
html:not(.js) .nav-toggle { display: none; }

@media (max-width: 899px) {
  .site-header__inner .btn--call {
    width: 44px;
    padding: 0;
    justify-content: center;
  }
  .site-header__inner .btn--call > span:not(.btn__icon) { display: none; }
  .site-header__inner .btn__icon { font-size: 1.25rem; }

}

/* Six entrées de menu ne tiennent pas sur une ligne sous 1200 px : le menu
   déroulant prend le relais là, pas à 900 px. Le bouton d'appel, lui, garde son
   numéro visible jusqu'à 900 px (voir plus haut) : c'est la conversion. */
@media (max-width: 1199px) {
  html.js .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: .5rem var(--gutter) 1rem;
  }
  html.js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav a { padding: .9rem .25rem; }
  .site-nav a[aria-current="page"] { border-bottom-color: transparent; }
}

@media (min-width: 1200px) {
  .nav-toggle { display: none; }
  .site-nav { order: 2; margin-right: 1rem; }
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 44px;
  padding: .7rem 1.15rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent);
  border-color: var(--accent-edge);
  color: var(--accent-ink);
}
.btn--primary:hover { background: #e8730a; border-color: #b85c07; color: var(--accent-ink); }

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent-edge); color: var(--accent-text); }

.btn--lg { min-height: 56px; padding: .9rem 1.6rem; font-size: 1.35rem; }
.btn--block { display: flex; width: 100%; }
.btn__icon { font-size: 1.1em; line-height: 1; }

/* ---------- Héro ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 20% 0%, #f3f6fb 0%, var(--bg) 62%);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hazard-soft);
  opacity: .42;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background-image: var(--hazard);
}

.hero__inner {
  position: relative;
  padding-block: clamp(2.5rem, 9vw, 5.5rem);
  min-height: min(78svh, 640px);
  display: flex;
  align-items: center;
}

.hero__content { max-width: 62ch; }
.hero__title { margin-bottom: .35em; }
.hero__title strong { color: var(--accent-text); font-weight: 700; }

.hero__sub {
  font-size: clamp(1.1rem, 1rem + .7vw, 1.4rem);
  color: var(--text-mute);
  max-width: 56ch;
  margin-bottom: 1.6rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.75rem;
}
.hero__actions .btn { flex: 1 1 auto; }

.hero__proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .75rem 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--text-mute);
  font-size: .95rem;
}

@media (min-width: 600px) {
  .hero__actions .btn { flex: 0 0 auto; }
}

/* ---------- Bandeau d'appel ---------- */

.cta-band {
  position: relative;
  background: var(--accent);
  color: var(--accent-ink);
}
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 8px;
  background-image: var(--hazard);
}
.cta-band::before { top: 0; }
.cta-band::after  { bottom: 0; }

.cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  padding-block: clamp(2rem, 6vw, 3rem);
}
.cta-band h2, .cta-band h3 { color: var(--accent-ink); margin-bottom: .25em; }
.cta-band p { color: rgba(18, 21, 28, .84); max-width: 60ch; margin: 0; }
.cta-band a { color: var(--accent-ink); }
.cta-band .btn--primary {
  background: var(--accent-ink);
  border-color: var(--accent-ink);
  color: var(--accent);
}
.cta-band .btn--primary:hover { background: #12151c; border-color: #12151c; color: var(--accent); }
.cta-band .btn--ghost { border-color: rgba(18, 21, 28, .55); color: var(--accent-ink); }
.cta-band .btn--ghost:hover { border-color: var(--accent-ink); color: var(--accent-ink); }
.cta-band :focus-visible { outline-color: var(--accent-ink); }

@media (min-width: 900px) {
  .cta-band__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

/* ---------- Barre d'appel collante (mobile, injectée par app.js) ---------- */

.call-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 60;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .96);
  border-top: 2px solid var(--accent);
  transform: translateY(120%);
  /* `transform` seul sort la barre de l'écran mais la laisse dans le parcours
     clavier : au clavier on tabulait dans un bouton invisible. `visibility`
     l'en retire, et son délai la garde animée à la sortie. */
  visibility: hidden;
  transition: transform .2s ease, visibility 0s linear .2s;
}
.call-bar.is-visible {
  transform: none;
  visibility: visible;
  transition: transform .2s ease, visibility 0s;
}
.call-bar .btn { font-size: 1.2rem; }

@media (max-width: 899px) {
  body:has(.call-bar.is-visible) { padding-bottom: 4.75rem; }
}
@media (min-width: 900px) {
  .call-bar { display: none; }
}

/* ---------- Cartes ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1rem;
}

.card {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card:hover { border-color: #c3cbd8; }

.card__icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 138, 31, .12);
  border: 1px solid rgba(255, 138, 31, .35);
  color: var(--accent-text);
}
.card__icon svg { width: 22px; height: 22px; }

/* La classe fait la taille, pas la balise : une carte porte un h2 sur une page
   d'index et un h3 ailleurs, sans changer d'allure. */
.card__title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-weight: 700;
  overflow-wrap: break-word;
}
.card__body { color: var(--text-mute); margin: 0; }
.card__body > :last-child { margin-bottom: 0; }

.card__link {
  margin-top: auto;
  padding-top: .5rem;
  font-weight: 600;
  text-decoration: none;
}
.card__link::after { content: " →"; }
.card__link:hover { text-decoration: underline; }

/* ---------- Étapes ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: step;
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
}

.step {
  position: relative;
  padding: 1.1rem 1.1rem 1.1rem 3.75rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step__num {
  position: absolute;
  left: 1rem; top: 1.05rem;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--accent);
  color: var(--accent-text);
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
}
.step__title { margin: 0 0 .3rem; }
.step__body { color: var(--text-mute); margin: 0; }

/* ---------- Bandeau de preuves ---------- */

.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 1rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.trust__item { text-align: left; }
.trust__value {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--accent-text);
}
.trust__label {
  display: block;
  color: var(--text-mute);
  font-size: .95rem;
  margin-top: .25rem;
}

/* ---------- Tarifs ---------- */

.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1rem;
  align-items: start;
}

.price {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.price--highlight {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent) inset;
}
.price__name {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
}
.price__amount {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--accent-text);
}
.price__unit { color: var(--text-mute); font-size: .95rem; }
.price__note { color: var(--text-mute); font-size: .95rem; margin: .25rem 0 0; }

/* ---------- Tableaux ---------- */

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  /* Ombres de bord : signalent qu'il reste du tableau à droite. */
  background:
    linear-gradient(to right, var(--surface) 30%, rgba(255, 255, 255, 0)) left / 40px 100% no-repeat local,
    linear-gradient(to left,  var(--surface) 30%, rgba(255, 255, 255, 0)) right / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(18, 21, 28, .18), transparent) left / 14px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(18, 21, 28, .18), transparent) right / 14px 100% no-repeat scroll,
    var(--surface);
}
.table-wrap table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  margin: 0;
  font-size: .98rem;
}
.table-wrap caption {
  text-align: left;
  padding: .9rem 1rem 0;
  color: var(--text-mute);
  font-size: .95rem;
}
.table-wrap th, .table-wrap td {
  padding: .75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.table-wrap thead th {
  font-family: var(--font-head);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text);
  background: var(--bg-alt);
  white-space: nowrap;
}
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody tr:hover td { background: rgba(18, 21, 28, .035); }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: .6rem; }

.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq__item[open] { border-color: #c3cbd8; }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  min-height: 44px;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s ease;
}
.faq__item[open] .faq__q::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq__q:hover { color: var(--accent-text); }

.faq__a {
  padding: 0 1.1rem 1.1rem;
  color: var(--text-mute);
  max-width: 68ch;
}
.faq__a > :last-child { margin-bottom: 0; }

/* ---------- Zones ---------- */

.zone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: .75rem;
}

.zone-card {
  display: block;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
}
.zone-card:hover { background: #eff2f7; color: var(--text); }
.zone-card__name {
  display: block;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
}
.zone-card__meta { display: block; color: var(--text-mute); font-size: .95rem; }

.villes {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .5rem;
}
.villes li {
  padding: .3rem .65rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .95rem;
  color: var(--text-mute);
}

/* ---------- Blocs de texte ---------- */

.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.25rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.prose h3 { margin-top: 1.75rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-mute); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .4rem; }
.prose li::marker { color: var(--accent-text); }
.prose dt { font-weight: 600; color: var(--text); margin-top: .8rem; }
.prose dd { margin: 0 0 .4rem; color: var(--text-mute); }

.note {
  padding: 1rem 1.1rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ok);
  border-radius: var(--radius-sm);
  color: var(--text-mute);
  margin-bottom: 1.1rem;
}
.note > :last-child { margin-bottom: 0; }
.note--warn { border-left-color: var(--warn); background: rgba(168, 106, 0, .07); }

.badge {
  display: inline-block;
  padding: .15rem .6rem;
  border-radius: 999px;
  background: rgba(255, 138, 31, .14);
  border: 1px solid rgba(255, 138, 31, .4);
  color: var(--accent-text);
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  vertical-align: .1em;
}

.split { display: grid; gap: 1.5rem; align-items: center; }
.split__body { max-width: 68ch; }
.split__body > :last-child { margin-bottom: 0; }
.split__media {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

.breadcrumb {
  font-size: .95rem;
  color: var(--text-mute);
  padding-block: 1rem 0;
}
.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .5rem;
}
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--line); }
.breadcrumb a { color: var(--text-mute); }
.breadcrumb a:hover { color: var(--accent-text); }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* ---------- Formulaire ---------- */

.form { max-width: 44rem; }
.form__row { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 600px) {
  .form__row--2 { grid-template-columns: 1fr 1fr; }
}

.form__field { display: flex; flex-direction: column; gap: .35rem; }

.form__label { font-weight: 600; font-size: .98rem; }
.form__label .req { color: var(--accent-text); }

.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 46px;
  padding: .65rem .8rem;
  /* Champ plus sombre que toutes les sections : la zone de saisie reste lisible partout. */
  background: var(--field-bg);
  border: 1px solid var(--field-line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
}
.form textarea { min-height: 8rem; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #6b7383; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: #5d6674; }
.form input:focus, .form select:focus, .form textarea:focus {
  border-color: var(--accent);
  box-shadow: var(--ring);
}

.form__hint { color: var(--text-mute); font-size: .9rem; }
.form__error { color: var(--warn); font-size: .9rem; font-weight: 600; }
.form__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

.form input[type="checkbox"], .form input[type="radio"] {
  width: 22px; height: 22px; min-height: 0;
  accent-color: var(--accent);
}
.form__field--check { flex-direction: row; align-items: flex-start; gap: .6rem; }
.form__field--check .form__label { font-weight: 400; color: var(--text-mute); }

/* Rien de rouge avant que l'utilisateur ait saisi quelque chose. */
.form input:invalid:not(:placeholder-shown),
.form textarea:invalid:not(:placeholder-shown) { border-color: var(--warn); }

@supports selector(:user-invalid) {
  .form input:invalid:not(:placeholder-shown),
  .form textarea:invalid:not(:placeholder-shown) { border-color: var(--field-line); }
  .form input:user-invalid,
  .form select:user-invalid,
  .form textarea:user-invalid { border-color: var(--warn); }
}

/* Erreur signalée par le script du formulaire. */
.form [aria-invalid="true"] { border-color: var(--warn); background: rgba(168, 106, 0, .06); }

/* ---------- Pied de page ---------- */

.site-footer {
  background: var(--bg-alt);
  border-top: 4px solid transparent;
  border-image: var(--hazard) 4;
  color: var(--text-mute);
  padding-top: clamp(2.5rem, 6vw, 3.5rem);
  margin-top: auto;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.site-footer__brand { display: grid; gap: .8rem; align-content: start; }
.site-footer__brand .logo__text { font-family: var(--font-head); font-size: 1.35rem; text-transform: uppercase; }
.site-footer__brand .logo__text strong { color: var(--accent-text); }
.site-footer__brand p { margin: 0; max-width: 40ch; }
.site-footer__brand .btn { justify-self: start; }

.site-footer__hours { color: var(--text); font-weight: 600; }

.site-footer__title {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text);
  margin-bottom: .75rem;
}

.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.site-footer__links a {
  display: inline-block;
  padding: .4rem 0;
  color: var(--text-mute);
  text-decoration: none;
}
.site-footer__links a:hover { color: var(--accent-text); text-decoration: underline; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding-block: 1rem 1.5rem;
  border-top: 1px solid var(--line);
  font-size: .92rem;
}
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.site-footer__legal a { color: var(--text-mute); text-decoration: none; }
.site-footer__legal a:hover { color: var(--accent-text); text-decoration: underline; }

/* ---------- Confort de lecture ---------- */

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

@media print {
  .site-header, .site-footer, .call-bar, .cta-band, .skip-link { display: none; }
  body { background: #fff; color: #000; }
}

/* ---------- Galerie ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.gallery__item {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.card blockquote { margin: 0; }
.card blockquote p { margin: 0; }
