/* =========================================================
   Marly Automobiles : feuille de style
   Couleurs tirées du logo : rouge #DE090F, noir de la voiture #1F1412
   Jaune des marquages au sol devant le garage pour le focus clavier
   ========================================================= */

:root {
  --rouge: #DE090F;
  --rouge-fonce: #A8070C;
  --encre: #1F1412;
  --asphalte: #26292D;
  --beton: #E8E9E5;
  --beton-fonce: #C9CBC5;
  --blanc: #FFFFFF;
  --marquage: #F4C20D;
  --texte: #1F1412;
  --texte-doux: #4E4744;
  --bord-champ: #857E79;

  --police: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gouttiere: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --entete-h: 76px;
  --rayon: 4px;
  --ease-porte: cubic-bezier(.76, 0, .24, 1);
  --ease-sortie: cubic-bezier(.2, .8, .1, 1);
}

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

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

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

body.is-intro { overflow: hidden; }

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

h1, h2, h3 { margin: 0; line-height: 1.05; }

h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.015em;
  max-width: 18ch;
  margin-bottom: .45em;
  text-wrap: balance;
}

p { margin: 0 0 1em; max-width: 64ch; }

sup { font-size: .5em; line-height: 0; vertical-align: .9em; }

a { color: inherit; }

.lien {
  color: var(--rouge-fonce);
  font-weight: 600;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.lien:hover { color: var(--encre); }

:focus-visible {
  outline: 3px solid var(--marquage);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--encre);
  border-radius: 2px;
}

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

.evitement {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--encre);
  color: var(--blanc);
  font-weight: 700;
  border-radius: var(--rayon);
  transform: translateY(-160%);
  transition: transform .2s;
}
.evitement:focus { transform: none; }

main:focus { outline: none; }

.conteneur { max-width: var(--max); margin: 0 auto; }

.section { padding: clamp(72px, 11vw, 150px) var(--gouttiere); }

.intro {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  color: var(--texte-doux);
  max-width: 52ch;
}

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 52px;
  padding: .8em 1.4em;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  font-stretch: 110%;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--rayon);
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.bouton--rouge { background: var(--rouge); color: var(--blanc); }
.bouton--rouge:hover { background: var(--rouge-fonce); }
.bouton--contour { color: var(--blanc); border-color: rgba(255, 255, 255, .8); }
.bouton--contour:hover { background: var(--blanc); color: var(--encre); }
.bouton--blanc { background: var(--blanc); color: var(--rouge-fonce); }
.bouton--blanc:hover { background: var(--encre); color: var(--blanc); }
.bouton--large { width: 100%; }

/* =========================================================
   INTRO : la porte du garage
   ========================================================= */
.porte { display: none; }

.porte.is-active {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: auto;
}

.porte__lames {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: repeat(8, 1fr);
}

.lame {
  position: relative;
  z-index: calc(10 - var(--n));
  background:
    linear-gradient(to bottom,
      #EE2A2F 0%,
      var(--rouge) 14%,
      var(--rouge) 70%,
      #B7070D 88%,
      #7A0408 100%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .25);
  transition: transform 1.05s var(--ease-porte);
  transition-delay: calc(var(--n) * 55ms);
}

.porte__logo {
  position: absolute;
  top: 50%; left: 50%;
  width: clamp(150px, 22vw, 260px);
  transform: translate(-50%, -50%) scale(.94);
  opacity: 0;
  z-index: 20;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45);
  animation: logo-arrivee .6s var(--ease-sortie) .1s forwards;
  transition: transform .45s var(--ease-porte), opacity .35s;
}

.porte__sol {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  z-index: 20;
  background: repeating-linear-gradient(90deg, var(--marquage) 0 60px, transparent 60px 100px);
  transition: opacity .3s;
}

@keyframes logo-arrivee {
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.porte.is-ouverte .lame { transform: translateY(calc(-100vh - 20px)); }
.porte.is-ouverte .porte__logo {
  animation: none;
  opacity: 0;
  transform: translate(-50%, -90%) scale(.96);
}
.porte.is-ouverte .porte__sol { opacity: 0; }

.porte__passer {
  position: fixed;
  right: var(--gouttiere);
  bottom: 24px;
  z-index: 160;
  padding: 10px 16px;
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  color: var(--blanc);
  background: rgba(31, 20, 18, .55);
  border: 2px solid rgba(255, 255, 255, .7);
  border-radius: var(--rayon);
  cursor: pointer;
}
.porte__passer:hover { background: var(--encre); }

/* =========================================================
   EN-TÊTE
   ========================================================= */
.entete {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--entete-h);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  padding: 0 var(--gouttiere);
  color: var(--blanc);
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.entete::before {
  content: "";
  position: absolute;
  inset: 0 0 -48px;
  z-index: -1;
  background: linear-gradient(rgba(20, 12, 10, .6), transparent);
  pointer-events: none;
  transition: opacity .3s;
}
.entete.is-plein {
  background: var(--blanc);
  color: var(--encre);
  box-shadow: 0 1px 0 var(--beton-fonce);
}
.entete.is-plein::before { opacity: 0; }

.marque {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  font-weight: 800;
  font-stretch: 118%;
  font-size: 1.05rem;
  line-height: 1;
}
.marque img {
  width: 46px; height: 46px;
  object-fit: cover;
  border-radius: 3px;
}

.nav { flex: 1; display: flex; justify-content: center; }
.nav__liste { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__liste a {
  position: relative;
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: .98rem;
  white-space: nowrap;
}
.nav__liste a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 3px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.nav__liste a:hover::after,
.nav__liste a[aria-current="true"]::after { transform: scaleX(1); }
.entete.is-plein .nav__liste a[aria-current="true"] { color: var(--rouge-fonce); }

.nav__bouton { display: none; }

.entete__droite {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
.bouton--appel { min-height: 46px; padding: .6em 1.1em; white-space: nowrap; }

/* ---------- Statut ouvert / fermé ---------- */
.statut {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.3;
}
.statut::before {
  content: "";
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #9A9590;
  box-shadow: 0 0 0 3px rgba(154, 149, 144, .3);
}
.statut[data-etat="ouvert"]::before { background: #22B35E; box-shadow: 0 0 0 3px rgba(34, 179, 94, .3); }
.statut[data-etat="bientot"]::before { background: var(--marquage); box-shadow: 0 0 0 3px rgba(244, 194, 13, .3); }

/* =========================================================
   ACCUEIL
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--blanc);
  background: var(--encre);
  overflow: hidden;
  isolation: isolate;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  z-index: -2;
}
.js .hero__photo { transform: scale(1.12); transition: transform 2.6s var(--ease-sortie); }
.is-pret .hero__photo { transform: scale(1); }

.hero__voile {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(31, 20, 18, .94) 0%, rgba(31, 20, 18, .6) 34%, rgba(31, 20, 18, .08) 68%),
    linear-gradient(to right, rgba(31, 20, 18, .45), transparent 65%);
}

.hero__contenu {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gouttiere));
  margin: 0 auto;
  padding: calc(var(--entete-h) + 40px) var(--gouttiere) clamp(36px, 7vh, 80px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
}

.hero__titre { display: inline-block; margin-bottom: clamp(18px, 3vh, 32px); }

.hero__ligne {
  display: block;
  overflow: hidden;
  padding-bottom: .24em;
  margin-bottom: -.22em;
}

.hero__marly {
  display: block;
  font-size: clamp(5rem, 20vw, 18.5rem);
  font-weight: 850;
  font-stretch: 125%;
  line-height: .8;
  letter-spacing: -.035em;
  margin-left: -.045em;
}

.hero__auto {
  display: block;
  margin-top: .35em;
  text-align: right;
  font-size: clamp(1.35rem, 4vw, 3.6rem);
  font-weight: 300;
  font-stretch: 125%;
  letter-spacing: .01em;
  line-height: 1;
}

.hero__slogan {
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  max-width: 36ch;
  margin-bottom: 1.4em;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__infos { text-align: right; display: grid; justify-items: end; gap: 14px; padding-bottom: 6px; }
.hero__adresse { margin: 0; font-weight: 600; line-height: 1.4; }
.statut--hero { display: none; }

/* Séquence d'ouverture (lettres qui montent) */
.js .lettre {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.1s var(--ease-sortie);
  transition-delay: calc(var(--i) * 70ms + 120ms);
}
.js .hero__auto,
.js .hero__slogan,
.js .hero__actions,
.js .hero__infos {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s, transform .9s var(--ease-sortie);
}
.js .hero__auto { transition-delay: .55s; }
.js .hero__slogan { transition-delay: .7s; }
.js .hero__actions { transition-delay: .82s; }
.js .hero__infos { transition-delay: .95s; }

.is-pret .lettre,
.is-pret .hero__auto,
.is-pret .hero__slogan,
.is-pret .hero__actions,
.is-pret .hero__infos { opacity: 1; transform: none; }

/* =========================================================
   LE GARAGE
   ========================================================= */
.garage__grille {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.garage__texte > p:not(.intro) { color: var(--texte); }

.garage__photo { margin: 0; }
.garage__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--rayon);
}

.avis {
  margin: 40px 0 0;
  padding: 24px 0 0;
  border-top: 2px solid var(--encre);
  max-width: 34rem;
}
.avis blockquote { margin: 0; }
.avis blockquote p {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 700;
  font-stretch: 112%;
  line-height: 1.2;
  margin-bottom: .6em;
}
.avis figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; color: var(--texte-doux); font-size: 1rem; }
.avis__note { color: var(--encre); font-weight: 600; }
.avis__note strong { font-size: 1.6rem; font-weight: 850; font-stretch: 125%; color: var(--rouge-fonce); }
.avis a { color: var(--rouge-fonce); font-weight: 600; }

.valeurs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  margin: clamp(64px, 9vw, 120px) 0 0;
}
.valeur { border-left: 4px solid var(--rouge); padding-left: 20px; }
.valeur dt {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1;
  margin-bottom: .45em;
}
.valeur dd { margin: 0; color: var(--texte-doux); }

/* =========================================================
   PRESTATIONS
   ========================================================= */
.prestations { background: var(--beton); }

.prestations__grille {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(32px, 6vw, 96px);
  margin-top: clamp(32px, 5vw, 64px);
  align-items: start;
}

.prest { border-top: 2px solid var(--encre); }
.prest:last-child { border-bottom: 2px solid var(--encre); }

.prest h3 { font-size: inherit; }

.prest h3 button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font: inherit;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 750;
  font-stretch: 122%;
  line-height: 1.1;
  text-align: left;
  color: var(--encre);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color .2s;
}
.prest h3 button:hover,
.prest.is-ouvert h3 button { color: var(--rouge-fonce); }

.prest__signe {
  position: relative;
  flex-shrink: 0;
  width: 26px; height: 26px;
}
.prest__signe::before,
.prest__signe::after {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 100%; height: 3px;
  margin-top: -1.5px;
  background: currentColor;
  transition: transform .35s var(--ease-sortie);
}
.prest__signe::after { transform: rotate(90deg); }
.prest.is-ouvert .prest__signe::after { transform: rotate(0deg); }

.prest__corps {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .45s var(--ease-sortie), visibility 0s .45s;
}
.prest__corps > div { overflow: hidden; }
.prest.is-ouvert .prest__corps {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows .45s var(--ease-sortie), visibility 0s 0s;
}
.prest__corps > div > p:last-child { padding-bottom: 24px; margin-bottom: 0; }
.prest__accroche { font-weight: 700; margin-bottom: .4em; }
.prest__corps a { color: var(--rouge-fonce); font-weight: 600; }

.prest__photo-mobile { display: none; }

.prest-photo {
  position: sticky;
  top: calc(var(--entete-h) + 24px);
  margin: 0;
}
.prest-photo__cadre {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--rayon);
  background: var(--beton-fonce);
}
.prest-photo__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  clip-path: inset(100% 0 0 0);
  transition: clip-path .7s var(--ease-porte);
}
.prest-photo__img.is-visible { clip-path: inset(0 0 0 0); }
.prest-photo figcaption { margin-top: 12px; font-size: .95rem; color: var(--texte-doux); }

/* =========================================================
   TARIFS
   ========================================================= */
.tarifs {
  color: var(--blanc);
  background:
    repeating-linear-gradient(to bottom, transparent 0 118px, rgba(0, 0, 0, .07) 118px 120px),
    var(--rouge);
}
.tarifs__grille {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.tarifs__texte p { font-size: 1.15rem; max-width: 34ch; margin-bottom: 1.6em; }

.tarifs__liste { list-style: none; margin: 0; padding: 0; }
.tarif {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 16px;
  padding: 26px 0;
  border-bottom: 2px solid rgba(255, 255, 255, .5);
}
.tarif:first-child { border-top: 2px solid rgba(255, 255, 255, .5); }
.tarif h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 750; font-stretch: 112%; margin-bottom: .3em; }
.tarif__nom p { margin: 0; font-size: 1rem; }
.tarif__points {
  align-self: end;
  margin-bottom: .55em;
  border-bottom: 3px dotted rgba(255, 255, 255, .75);
}
.tarif__prix {
  margin: 0;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 850;
  font-stretch: 125%;
  line-height: .9;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.tarif__petit {
  font-size: .95rem;
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: .02em;
  vertical-align: .9em;
  margin-right: .15em;
}

/* =========================================================
   ATELIER
   ========================================================= */
.atelier { background: var(--asphalte); color: var(--blanc); padding-left: 0; padding-right: 0; }
.atelier .intro { color: #D9D5D1; }
.atelier__tete {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--gouttiere);
  box-sizing: content-box;
}

.galerie__commandes { display: flex; gap: 10px; margin-bottom: 1.2em; }
.rond {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  color: var(--blanc);
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color .2s, color .2s, opacity .2s;
}
.rond:hover:not(:disabled) { background: var(--blanc); color: var(--asphalte); }
.rond:disabled { opacity: .35; cursor: default; }

.galerie {
  margin-top: clamp(24px, 4vw, 48px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gouttiere), calc((100vw - var(--max)) / 2));
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .45) transparent;
  overscroll-behavior-x: contain;
}
.galerie:focus-visible { outline-offset: -3px; }
.galerie__piste {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0 max(var(--gouttiere), calc((100vw - var(--max)) / 2)) 20px;
  width: max-content;
}
.galerie__piste li { scroll-snap-align: start; width: clamp(250px, 30vw, 420px); }
.galerie figure { margin: 0; }
.galerie img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--rayon);
  background: #33363B;
}
.galerie figcaption { margin-top: 10px; font-size: 1rem; font-weight: 600; color: #E6E2DE; }

/* =========================================================
   ÉQUIPE
   ========================================================= */
.equipe__grille {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(32px, 5vw, 56px);
}
.personne {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  padding-top: 28px;
  border-top: 2px solid var(--encre);
}
.personne__initiales {
  display: grid;
  place-items: center;
  width: 96px; height: 96px;
  background: var(--rouge);
  color: var(--blanc);
  font-size: 2.1rem;
  font-weight: 850;
  font-stretch: 125%;
  border-radius: var(--rayon);
}
.personne h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; font-stretch: 120%; margin-bottom: .25em; }
.personne__role { font-weight: 700; color: var(--rouge-fonce); margin-bottom: .7em; }
.personne ul { margin: 0; padding-left: 1.1em; color: var(--texte-doux); }
.personne li + li { margin-top: .3em; }
.personne li::marker { color: var(--rouge); }

.langues {
  margin-top: clamp(40px, 6vw, 72px);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-weight: 600;
  max-width: 40ch;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: var(--beton); }

.contact__grille > * { min-width: 0; }
.contact__grille {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
  margin-top: clamp(24px, 4vw, 48px);
}

.contact__tel {
  display: inline-block;
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  font-weight: 850;
  font-stretch: 125%;
  line-height: 1;
  color: var(--rouge-fonce);
  text-decoration: none;
  margin-bottom: 14px;
}
.contact__tel:hover { color: var(--encre); }

address { font-style: normal; font-weight: 600; margin-bottom: .8em; line-height: 1.5; }

.contact__sous-titre {
  margin: 40px 0 12px;
  font-size: 1.35rem;
  font-weight: 800;
  font-stretch: 115%;
}
.statut--contact { margin-bottom: 14px; font-size: 1rem; }

.horaires { width: 100%; border-collapse: collapse; font-size: 1rem; font-variant-numeric: tabular-nums; }
.horaires th, .horaires td { text-align: left; padding: 9px 8px 9px 0; border-bottom: 1px solid var(--beton-fonce); white-space: nowrap; }
.horaires th { font-weight: 600; padding-left: 10px; }
.horaires tr.is-aujourdhui { background: var(--blanc); }
.horaires tr.is-aujourdhui th { box-shadow: inset 4px 0 0 var(--rouge); font-weight: 800; }
.horaires tr.is-aujourdhui th::after { content: " (aujourd'hui)"; font-weight: 600; color: var(--rouge-fonce); }

.pratique { list-style: none; padding: 0; margin: 28px 0 0; font-size: 1rem; }
.pratique li + li { margin-top: 8px; }

/* ---------- Formulaire ---------- */
.formulaire {
  background: var(--blanc);
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--rayon);
  border-top: 6px solid var(--rouge);
}
.formulaire__titre { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; font-stretch: 120%; margin-bottom: .4em; }
.formulaire__aide { font-size: 1rem; color: var(--texte-doux); }

.champ { margin-bottom: 20px; }
.champ-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }

.champ label { display: block; font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.requis { color: var(--rouge-fonce); }

.champ input,
.champ select,
.champ textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--texte);
  background: var(--blanc);
  border: 2px solid var(--bord-champ);
  border-radius: var(--rayon);
  transition: border-color .2s;
}
.champ textarea { resize: vertical; min-height: 120px; }
.champ select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231F1412' stroke-width='2.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 44px;
}
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: var(--encre); }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { border-color: var(--encre); }

.champ__aide { margin: 6px 0 0; font-size: .92rem; color: var(--texte-doux); }
.champ__erreur { margin: 6px 0 0; font-size: .95rem; font-weight: 700; color: var(--rouge-fonce); }
.champ__erreur:empty { display: none; }
.champ__erreur::before { content: "! "; }
.champ [aria-invalid="true"] { border-color: var(--rouge-fonce); background: #FFF5F5; }

.formulaire__erreurs {
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 2px solid var(--rouge-fonce);
  border-radius: var(--rayon);
  background: #FFF5F5;
}
.formulaire__erreurs p { margin: 0 0 .4em; font-weight: 700; }
.formulaire__erreurs ul { margin: 0; padding-left: 1.2em; }
.formulaire__erreurs a { color: var(--rouge-fonce); font-weight: 600; }

.formulaire__note { margin: 12px 0 0; font-size: .92rem; color: var(--texte-doux); }
.formulaire__succes:empty { display: none; }
.formulaire__succes {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 4px solid #1E8E4E;
  background: #EEF8F1;
  font-size: 1rem;
  font-weight: 600;
}

.carte { margin-top: clamp(40px, 6vw, 72px); }
.carte iframe {
  display: block;
  width: 100%;
  height: clamp(300px, 40vw, 440px);
  border: 0;
  border-radius: var(--rayon);
  filter: grayscale(.55) contrast(1.05);
}

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.pied {
  background: var(--encre);
  color: #E8E3E0;
  padding: clamp(56px, 8vw, 96px) var(--gouttiere) 28px;
  font-size: 1rem;
}
.pied__grille {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}
.pied__marque img { width: 96px; border-radius: 3px; margin-bottom: 18px; }
.pied a { color: var(--blanc); text-underline-offset: 3px; }
.pied a:hover { color: var(--marquage); }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied__liens li + li { margin-top: 8px; }
.pied__reseaux { display: flex; gap: 18px; margin-top: 12px !important; }
.pied__copy { margin-top: 24px; font-size: .9rem; color: #C9C2BE; max-width: var(--max); }

/* ---------- Barre mobile ---------- */
.barre-mobile { display: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav { flex: 0; order: 3; }
  .nav__bouton {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 14px;
    font: inherit;
    font-weight: 700;
    font-size: 1rem;
    color: inherit;
    background: transparent;
    border: 2px solid currentColor;
    border-radius: var(--rayon);
    cursor: pointer;
  }
  .nav__burger { display: grid; gap: 5px; width: 20px; }
  .nav__burger span { display: block; height: 2px; background: currentColor; transition: transform .3s; }
  .nav__bouton[aria-expanded="true"] .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav__bouton[aria-expanded="true"] .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

  .nav__liste {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: calc(var(--entete-h) + 16px) var(--gouttiere) 40px;
    background: var(--rouge);
    color: var(--blanc);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path .55s var(--ease-porte), visibility 0s .55s;
  }
  .nav__liste a {
    padding: 10px 0;
    font-size: clamp(2rem, 8vw, 3.4rem);
    font-weight: 800;
    font-stretch: 125%;
    line-height: 1.1;
  }
  .nav__liste a::after { left: 0; right: auto; width: 2.2em; bottom: 4px; height: 3px; }
  .entete.is-menu .nav__liste {
    clip-path: inset(0 0 0 0);
    visibility: visible;
    transition: clip-path .55s var(--ease-porte), visibility 0s 0s;
  }
  .entete.is-menu { color: var(--blanc); background: transparent; box-shadow: none; }
  .entete.is-menu::before { opacity: 0; }
  .entete.is-menu .nav__liste a[aria-current="true"] { color: var(--blanc); }
  .entete.is-menu .bouton--appel { background: var(--blanc); color: var(--rouge-fonce); }
}

@media (max-width: 900px) {
  .garage__grille,
  .prestations__grille,
  .tarifs__grille,
  .contact__grille { grid-template-columns: 1fr; }

  .garage__photo img { aspect-ratio: 4 / 3; }
  .valeurs { grid-template-columns: 1fr; }

  .prest-photo { display: none; }
  .prest__photo-mobile {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: var(--rayon);
    margin-bottom: 16px;
  }

  .equipe__grille { grid-template-columns: 1fr; }
  .pied__grille { grid-template-columns: 1fr 1fr; }
  .pied__marque { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --entete-h: 64px; }
  body { font-size: 1.0625rem; padding-bottom: 68px; }

  .entete__droite .statut { display: none; }
  .bouton--appel { width: 46px; padding: 0; }
  .bouton--appel > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .marque { font-size: .95rem; }
  .marque img { width: 40px; height: 40px; }
  .nav__libelle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav__bouton { width: 46px; justify-content: center; padding: 0; }

  .hero { min-height: calc(100svh - 64px); }
  .hero__contenu { grid-template-columns: 1fr; gap: 20px; padding-bottom: 28px; }
  .hero__infos { justify-items: start; text-align: left; grid-row: 1; }
  .statut--hero { display: flex; }
  .hero__adresse { display: none; }
  .hero__actions .bouton { flex: 1 1 100%; }

  .champ-duo { grid-template-columns: 1fr; }
  .horaires { font-size: .95rem; }
  .horaires th, .horaires td { white-space: normal; padding-right: 6px; }
  .horaires tr.is-aujourdhui th::after { content: ""; }

  .tarif { grid-template-columns: 1fr auto; gap: 12px; }
  .tarif__points { display: none; }

  .personne { grid-template-columns: 1fr; gap: 16px; }
  .personne__initiales { width: 72px; height: 72px; font-size: 1.6rem; }

  .atelier__tete { flex-direction: column; align-items: flex-start; }
  .galerie__commandes { display: none; }
  .galerie__piste li { width: 76vw; }

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

  .barre-mobile {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--blanc);
    border-top: 1px solid var(--beton-fonce);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .barre-mobile a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 64px;
    font-size: .85rem;
    font-weight: 700;
    color: var(--encre);
    text-decoration: none;
  }
  .barre-mobile a + a { border-left: 1px solid var(--beton-fonce); }
  .barre-mobile svg { color: var(--rouge); }
  .barre-mobile__rdv { background: var(--rouge); color: var(--blanc) !important; }
  .barre-mobile__rdv svg { color: var(--blanc); }

  .porte__passer { bottom: 84px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}
