/* ==========================================================================
   Atelier MecaBro 77 — feuille de style principale
   Mobile d'abord. Aucune ressource externe : polices hébergées localement.
   ========================================================================== */

/* ---------- Polices (SIL Open Font License) ---------- */
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- Variables ---------- */
:root {
  --paper: #f4f4f1;
  --paper-2: #ebebe6;
  --white: #ffffff;
  --line: #d9d9d3;
  --line-2: #c4c4bd;
  --steel-300: #b9bdc1;
  --steel-500: #8e9398;
  --steel-600: #6b7075;
  --steel-700: #51565b;
  --ink: #16181a;
  --ink-2: #202326;
  --black: #0e0f10;
  --red: #c4121a;
  --red-600: #a80f16;
  --red-bright: #e0151f;

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

  --container: 1200px;
  --gutter: clamp(1.25rem, 4.5vw, 3rem);
  --section-y: clamp(4rem, 9vw, 8rem);
  --radius: 3px;
  --radius-lg: 6px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

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

body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html.nav-open { overflow: hidden; }

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

a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }

p { margin: 0 0 1em; text-wrap: pretty; }

ul, ol { margin: 0; padding: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.003em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.45rem, 1.35rem + 5.2vw, 5.4rem); }
h2 { font-size: clamp(2.05rem, 1.35rem + 3vw, 3.6rem); }
h3 { font-size: clamp(1.3rem, 1.12rem + .55vw, 1.6rem); line-height: 1.1; }

strong { font-weight: 600; }

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

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

@media (min-width: 1024px) {
  body { font-size: 1.125rem; }
}

/* ---------- Utilitaires ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.nowrap { white-space: nowrap; }

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.section { padding-block: var(--section-y); }
.section--white { background: var(--white); }
.section--alt { background: var(--paper-2); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-head h2 + p,
.section-head h2 + .lead { margin-top: 1.25rem; }

.lead {
  font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem);
  line-height: 1.55;
  color: var(--steel-700);
}

/* Étiquette de section : « 02 — Services » */
.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1.25rem;
  font: 500 .8125rem/1.2 var(--font-display);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--steel-700);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 28px; height: 3px;
  background: var(--red);
}
.eyebrow-num { color: var(--ink); }
@media (max-width: 479px) {
  .eyebrow { letter-spacing: .12em; }
}

/* Réglette graduée (motif de mesure) */
.ruler {
  height: 14px;
  border-bottom: 1px solid var(--line-2);
  background:
    repeating-linear-gradient(to right, var(--steel-500) 0 1px, transparent 1px 60px) left bottom / 100% 13px no-repeat,
    repeating-linear-gradient(to right, var(--line-2) 0 1px, transparent 1px 12px) left bottom / 100% 6px no-repeat;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 52px;
  padding: .8rem 1.35rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font: 600 1.0625rem/1 var(--font-display);
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-600); box-shadow: 0 6px 18px -8px rgba(196, 18, 26, .7); }

.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--black); }

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

.btn--light { border-color: rgba(255, 255, 255, .45); color: var(--white); background: transparent; }
.btn--light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.btn--sm { min-height: 44px; padding: .6rem 1rem; font-size: .95rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font: 600 1rem/1.2 var(--font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: .2rem;
}
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Icônes (sprite SVG interne) ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  width: 24px; height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================================
   En-tête
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 244, 241, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-compact {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 24px -20px rgba(0, 0, 0, .35);
}
/* backdrop-filter crée un bloc conteneur : on le retire pour que le menu fixe couvre tout l'écran */
.site-header.is-open {
  background: var(--paper);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: .75rem;
  height: var(--header-h);
  transition: height .25s var(--ease);
}
.is-compact .header-inner { height: 58px; }

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-right: auto;
  color: inherit;
  text-decoration: none;
}
.brand-logo { width: auto; height: 40px; transition: height .25s var(--ease); }
.is-compact .brand-logo { height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font: 600 1.08rem/1.05 var(--font-display); letter-spacing: .01em; }
.brand-tag {
  font: 500 .7rem/1.2 var(--font-display);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel-700);
}

.header-call { gap: .45rem; padding-inline: .9rem; }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  transition: transform .25s var(--ease), opacity .2s;
}
.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); }

/* Menu mobile : panneau sous l'en-tête */
.main-nav { display: none; }
.site-header.is-open .main-nav {
  display: block;
  position: fixed;
  top: var(--nav-top, var(--header-h));
  left: 0; right: 0; bottom: 0;
  overflow-y: auto;
  padding: 1rem var(--gutter) 2.5rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
  animation: nav-in .22s var(--ease);
}
@keyframes nav-in { from { opacity: 0; transform: translateY(-6px); } }

.nav-list { list-style: none; }
.nav-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font: 600 1.6rem/1.1 var(--font-display);
  text-decoration: none;
}
.nav-list a::after { content: "→"; font-size: 1.1rem; color: var(--steel-600); }

.nav-contact { display: grid; gap: .6rem; margin-top: 1.75rem; }
.nav-contact-label {
  margin: 0 0 .25rem;
  font: 500 .8rem/1.2 var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel-700);
}

@media (max-width: 379px) {
  .brand-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (min-width: 1024px) {
  :root { --header-h: 84px; }
  .is-compact .header-inner { height: 66px; }
  .brand-logo { height: 48px; }
  .is-compact .brand-logo { height: 40px; }
  .brand-name { font-size: 1.2rem; }
  .brand-tag { font-size: .74rem; }

  .nav-toggle, .header-call { display: none; }
  .main-nav { display: flex; align-items: center; gap: 2rem; }
  .nav-list { display: flex; gap: 1.75rem; }
  .nav-list a {
    position: relative;
    display: block;
    padding: .5rem 0;
    border: 0;
    font: 600 .98rem/1 var(--font-display);
    letter-spacing: .09em;
    text-transform: uppercase;
  }
  .nav-list a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .nav-list a:hover::after,
  .nav-list a.is-active::after { transform: scaleX(1); }
  .nav-contact { display: none; }
}

.nav-cta { display: none; }
@media (min-width: 1024px) {
  .nav-cta { display: inline-flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 7vw, 6rem) clamp(2.75rem, 6vw, 5rem);
}
.hero-inner { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { max-width: 15ch; }
.hero-sub {
  margin: 1.25rem 0 .75rem;
  font: 500 clamp(1.3rem, 1.1rem + .9vw, 1.75rem)/1.25 var(--font-display);
  letter-spacing: .005em;
}
.hero-text { max-width: 34em; color: var(--steel-700); }

.hero-actions { display: grid; gap: .75rem; margin-top: 1.75rem; }
.hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.25rem;
  margin: 1.25rem 0 0;
  font-size: .95rem;
  color: var(--steel-700);
}
.hero-contact a { font-weight: 600; color: var(--ink); }
.hero-sms { display: none; }

.hero-visual { display: none; }

@media (hover: none) and (pointer: coarse) {
  .hero-sms { display: inline; }
}

@media (min-width: 520px) {
  .hero-actions { display: flex; flex-wrap: wrap; }
}

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .hero-visual { display: block; position: relative; }
  .hero-visual img { width: 118%; max-width: 620px; margin-left: -4%; }
}

.hero + .ruler { margin-top: -1px; }

/* ==========================================================================
   Réassurance
   ========================================================================== */
.assurance { background: var(--white); border-bottom: 1px solid var(--line); }
.assurance-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}
.assurance-item {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 1.25rem .9rem 1.25rem 0;
  font: 600 1.02rem/1.15 var(--font-display);
  letter-spacing: .03em;
  text-transform: uppercase;
}
.assurance-item:nth-child(odd) { border-right: 1px solid var(--line); }
.assurance-item:nth-child(even) { padding-left: .9rem; }
.assurance-item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
.assurance-item .ico { width: 30px; height: 30px; flex: none; color: var(--ink); }

.assurance-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.5rem 1.75rem;
}
.assurance-foot p { margin: 0; max-width: 40em; color: var(--steel-700); }

@media (min-width: 1024px) {
  .assurance-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .assurance-item,
  .assurance-item:nth-child(even) { padding: 1.6rem 1.25rem; border-bottom: 0; }
  .assurance-item:first-child { padding-left: 0; }
  .assurance-item:nth-child(-n + 3) { border-right: 1px solid var(--line); }
  .assurance-item:nth-child(4) { border-right: 0; }
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-list {
  list-style: none;
  display: grid;
  border-top: 1px solid var(--line-2);
}
.service {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  column-gap: .75rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.service-num {
  padding-top: .3rem;
  font: 500 .88rem/1 var(--font-display);
  letter-spacing: .1em;
  color: var(--red);
}
.service h3 { font-size: 1.45rem; }
.service p { margin: .4rem 0 0; font-size: .98rem; color: var(--steel-700); }
.service--soon h3 { color: var(--steel-600); }
.tag-soon {
  display: inline-block;
  margin-left: .5rem;
  padding: .2rem .45rem;
  vertical-align: middle;
  background: var(--red);
  color: var(--white);
  font: 600 .7rem/1 var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.services-foot { margin-top: 2rem; }

@media (min-width: 700px) {
  .services-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
}
@media (min-width: 1024px) {
  .services-list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 3rem; }
  .service { padding: 1.75rem 0; }
}

/* ==========================================================================
   Deux colonnes génériques
   ========================================================================== */
.split { display: grid; gap: clamp(2.25rem, 5vw, 5rem); }
.split-main p { max-width: 38em; }
.split-main .btn { margin-top: 1rem; }

@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; }
  .split--reverse { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
}

/* ==========================================================================
   Motos anciennes : fiche « points de contrôle »
   ========================================================================== */
.checklist {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
}
.checklist::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 44px; height: 3px;
  background: var(--red);
}
.checklist h3 {
  margin-bottom: .75rem;
  font: 600 1rem/1.2 var(--font-display);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.checklist ul { list-style: none; }
.checklist li {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .72rem 0;
  border-bottom: 1px dashed var(--line-2);
}
.checklist li::before {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  border: 1.5px solid var(--ink);
  border-radius: 1px;
}
.checklist-foot {
  margin: 1.25rem 0 0;
  font: 500 1.2rem/1.25 var(--font-display);
}

/* ==========================================================================
   Méthode : 4 étapes
   ========================================================================== */
.steps { list-style: none; display: grid; gap: 0; }
.step { position: relative; padding: 1.5rem 0 1.75rem; border-top: 1px solid var(--line-2); }
.step-num {
  display: block;
  font: 600 3.1rem/1 var(--font-display);
  color: transparent;
  -webkit-text-stroke: 1.3px var(--red);
}
.step h3 { margin: .8rem 0 .5rem; }
.step p { margin: 0; color: var(--steel-700); }

.method-proof {
  list-style: none;
  display: grid;
  gap: 1px;
  margin-top: clamp(2rem, 4vw, 3rem);
  background: var(--line);
  border: 1px solid var(--line);
}
.method-proof li {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  font: 600 1.05rem/1.2 var(--font-display);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.method-proof .ico { width: 24px; height: 24px; flex: none; color: var(--red); }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
  .step { padding-top: 1.75rem; border-top: 2px solid var(--ink); }
  .step::before {
    content: "";
    position: absolute;
    top: -7px; left: 0;
    width: 2px; height: 12px;
    background: var(--ink);
  }
  .method-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ==========================================================================
   Tarifs
   ========================================================================== */
.rates {
  list-style: none;
  display: grid;
  gap: 1px;
  background: #33373b;
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.rate { padding: 1.4rem 1.5rem 1.6rem; background: var(--ink); color: #ededea; }
.rate-label {
  display: block;
  font: 500 .82rem/1.2 var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel-300);
}
.rate-price {
  display: flex;
  align-items: baseline;
  gap: .45rem;
  margin-top: .6rem;
  font: 600 clamp(2.6rem, 2.1rem + 1.8vw, 3.5rem)/1 var(--font-display);
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.rate-price small {
  font: 500 1rem/1 var(--font-display);
  letter-spacing: .06em;
  color: var(--steel-300);
}
.rate-ht { display: block; margin-top: .5rem; font-size: .95rem; color: var(--steel-300); }
.rate-note { display: block; margin-top: .6rem; font-size: .88rem; color: #cfd2d4; }

@media (min-width: 768px) {
  .rates { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* --- Cartes à retourner --- */
.price-grid {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 640px) {
  .pcard-face { min-height: 17.5rem; }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - .5rem); justify-self: center; }
}
@media (min-width: 1024px) {
  .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
  .price-grid > :last-child:nth-child(odd) { grid-column: auto; width: auto; }
}

.pcard { position: relative; perspective: 1400px; }
.pcard-inner {
  position: relative;
  display: grid;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .75s var(--ease);
}
.pcard.is-flipped .pcard-inner { transform: rotateX(180deg); }
@media (hover: hover) and (pointer: fine) {
  .pcard:not(.pcard--soon):hover .pcard-inner { transform: rotateX(180deg); }
}

.pcard-face {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  min-height: 13rem;
  padding: 1.4rem 1.4rem 1.25rem;
  border-radius: var(--radius-lg);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.pcard-front {
  background: linear-gradient(180deg, #ffffff 0%, #f3f3f1 100%);
  border: 1px solid var(--line);
}
.pcard-back {
  background: var(--ink);
  color: #ededea;
  border: 1px solid var(--ink);
  transform: rotateX(180deg);
}

.pcard-top { display: flex; justify-content: space-between; align-items: flex-start; }
.pcard-num { font: 500 .9rem/1 var(--font-display); letter-spacing: .12em; color: var(--steel-600); }
.pcard-ico { width: 38px; height: 38px; color: var(--ink); }
.pcard-title { margin-top: auto; padding-top: 2rem; font-size: clamp(1.7rem, 1.5rem + .6vw, 2.05rem); }
.pcard-hint {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .8rem;
  padding-top: .85rem;
  border-top: 1px solid var(--line);
  font: 500 .85rem/1.2 var(--font-display);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel-700);
}
.pcard-hint .ico { width: 16px; height: 16px; color: var(--red); }

.pcard-back-title {
  margin: 0 0 .5rem;
  font: 500 .82rem/1.2 var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel-300);
}
.plist { list-style: none; }
.plist li {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-size: .95rem;
  line-height: 1.3;
}
.pprice {
  flex: none;
  text-align: right;
  font: 600 1.12rem/1.1 var(--font-display);
  color: var(--white);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.pprice small {
  display: block;
  margin-bottom: .1rem;
  font: 500 .66rem/1 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--steel-300);
}
.pcard-foot { margin: auto 0 0; padding-top: .9rem; font-size: .78rem; color: var(--steel-300); }

.pcard-toggle {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* Carte « Bientôt » (pneumatiques) */
.pcard--soon { overflow: hidden; border-radius: var(--radius-lg); }
.pcard--soon .pcard-front {
  background: repeating-linear-gradient(135deg, #ededea 0 10px, #e5e5e0 10px 20px);
  border: 1px dashed var(--line-2);
  color: var(--steel-600);
}
.pcard--soon .pcard-ico,
.pcard--soon .pcard-title { color: var(--steel-600); }
.pcard-ribbon {
  position: absolute;
  top: 40%; left: -15%;
  width: 130%;
  z-index: 1;
  padding: .55rem 0;
  transform: translateY(-50%) rotate(9deg);
  background: var(--red);
  color: var(--white);
  font: 600 1.3rem/1 var(--font-display);
  letter-spacing: .4em;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .5);
}

/* --- Notes sous la grille --- */
.price-notes {
  list-style: none;
  display: grid;
  gap: .75rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: .97rem;
  color: var(--steel-700);
}
.price-notes li { position: relative; padding-left: 1.4rem; }
.price-notes li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 8px; height: 2px;
  background: var(--red);
}
.price-notes strong { color: var(--ink); }

@media (min-width: 900px) {
  .price-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
}

/* --- Pièces issues de l'économie circulaire (information obligatoire) --- */
.piec {
  margin-top: 2rem;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.piec summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font: 600 1.15rem/1.25 var(--font-display);
}
.piec summary::-webkit-details-marker { display: none; }
.piec-body { padding: 0 1.25rem 1.25rem; font-size: .95rem; color: var(--steel-700); }
.piec-body h3 { margin: 1.1rem 0 .5rem; font-size: 1.1rem; color: var(--ink); }
.piec-body ul { padding-left: 1.2rem; }
.piec-body li { margin-bottom: .3rem; }
.piec-body .piec-ref { margin-top: 1rem; font-size: .82rem; }

/* Icône +/− commune (FAQ, encadré PIEC) */
.plus {
  position: relative;
  flex: none;
  width: 32px; height: 32px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  transition: transform .25s var(--ease), background-color .2s;
}
.plus::before,
.plus::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] > summary .plus { transform: rotate(45deg); }

/* ==========================================================================
   Emplacements photo (à remplacer par les vraies photos de l'atelier)
   ========================================================================== */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 1.5rem;
  background:
    repeating-linear-gradient(135deg, transparent 0 13px, rgba(22, 24, 26, .045) 13px 14px),
    var(--paper-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  outline: 1px dashed var(--line-2);
  outline-offset: -12px;
  color: var(--steel-700);
  text-align: center;
}
.ph-inner { display: grid; justify-items: center; gap: .5rem; }
.ph .ico { width: 30px; height: 30px; color: var(--steel-600); }
.ph-label {
  font: 500 .78rem/1.2 var(--font-display);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ph-subject { font: 600 1.25rem/1.15 var(--font-display); color: var(--ink); }
.ph--portrait { aspect-ratio: 4 / 5; }

.photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--paper-2);
}

/* ==========================================================================
   Galerie (carrousel à défilement natif)
   ========================================================================== */
.carousel { position: relative; margin-top: clamp(2rem, 4vw, 3rem); }
.carousel-track {
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  gap: 1rem;
  margin-inline: calc(-1 * var(--gutter));
  padding: 0 var(--gutter) .5rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: start; }
.slide figure { margin: 0; }
.slide figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .75rem;
  font: 500 .82rem/1.2 var(--font-display);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel-700);
}
.slide figcaption span:last-child { color: var(--steel-500); }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .5rem;
  margin-top: 1.25rem;
}
.carousel-count {
  margin-right: auto;
  font: 500 .9rem/1 var(--font-display);
  letter-spacing: .12em;
  color: var(--steel-700);
  font-variant-numeric: tabular-nums;
}
.carousel-btn {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .2s, color .2s, opacity .2s;
}
.carousel-btn:hover:not(:disabled) { background: var(--ink); color: var(--white); }
.carousel-btn:disabled { opacity: .3; cursor: default; }
.carousel-btn .ico { width: 20px; height: 20px; }

@media (min-width: 640px) {
  .carousel-track { grid-auto-columns: calc(50% - .5rem); }
}
@media (min-width: 1024px) {
  .carousel-track {
    grid-auto-columns: calc((100% - 2 * 1.25rem) / 3);
    gap: 1.25rem;
    margin-inline: 0;
    padding-inline: 0;
    scroll-padding-inline: 0;
  }
}

/* ==========================================================================
   À propos
   ========================================================================== */
.about-photo { max-width: 420px; }
.signature {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.75rem;
  font: 600 1.2rem/1.2 var(--font-display);
}
.signature::before { content: ""; width: 28px; height: 2px; background: var(--ink); }
.signature span { font-weight: 500; color: var(--steel-700); }

/* ==========================================================================
   Zone d'intervention
   ========================================================================== */
.zone-list { list-style: none; display: grid; gap: .75rem; }
.zone {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 1.1rem;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.zone-code {
  grid-row: span 2;
  min-width: 2.2ch;
  font: 600 2.8rem/1 var(--font-display);
  color: var(--steel-600);
}
.zone-name { font: 600 1.3rem/1.15 var(--font-display); }
.zone-tag {
  font: 500 .78rem/1.3 var(--font-display);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel-700);
}
.zone--main { border-color: var(--ink); box-shadow: inset 4px 0 0 var(--red); }
.zone--main .zone-code { color: var(--red); }
.zone-note { margin-top: 1.25rem; font-size: .95rem; color: var(--steel-700); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.3rem 0;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: clamp(1.18rem, 1.05rem + .5vw, 1.45rem); }
.faq-item summary:hover h3 { color: var(--red-600); }
.faq-answer { max-width: 60ch; padding-bottom: 1.4rem; color: var(--steel-700); }
.faq-answer p:last-child { margin-bottom: 0; }

@media (min-width: 1024px) {
  .faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; align-items: start; }
  .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ==========================================================================
   Contact (section sombre)
   ========================================================================== */
.section--dark { background: var(--ink); color: #e4e4e0; }
.section--dark h2 { color: var(--white); }
.section--dark .eyebrow { color: var(--steel-300); }
.section--dark .eyebrow-num { color: var(--white); }
.section--dark :focus-visible { outline-color: var(--white); }

.contact-grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
.contact-intro { max-width: 34em; margin-top: 1.25rem; color: #cfd1d2; }

.contact-list {
  display: grid;
  margin: 2rem 0 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.contact-row {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.contact-row dt {
  font: 500 .8rem/1.2 var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel-300);
}
.contact-row dd {
  margin: 0;
  font: 600 1.35rem/1.2 var(--font-display);
  color: var(--white);
  overflow-wrap: anywhere;
}
.contact-row dd a { text-decoration: none; }
.contact-row dd a:hover { text-decoration: underline; }
.contact-row dd.is-muted { font: 400 1rem/1.4 var(--font-body); color: #cfd1d2; }

.contact-actions { display: grid; gap: .7rem; }
.contact-social { margin-top: 1.5rem; font-size: .95rem; color: #cfd1d2; }
.contact-social a { color: var(--white); font-weight: 600; }

.contact-actions .btn { white-space: nowrap; }
@media (min-width: 420px) {
  .contact-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-actions .btn:first-child { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; }
}

/* --- Formulaire --- */
.cform {
  position: relative;
  padding: clamp(1.4rem, 3.5vw, 2.5rem);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
}
.cform h3 { margin-bottom: .35rem; font-size: 1.6rem; }
.cform-intro { margin-bottom: 1.5rem; font-size: .95rem; color: var(--steel-700); }

.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field label,
.field-label { font-weight: 600; font-size: .95rem; }
.field .opt { font-weight: 400; color: var(--steel-700); }
.field-row { display: grid; column-gap: 1rem; }

.cform input:not([type="checkbox"]),
.cform select,
.cform textarea {
  width: 100%;
  min-height: 50px;
  padding: .7rem .85rem;
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius);
  background: #fafaf8;
  color: var(--ink);
  font: 400 1rem/1.4 var(--font-body);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.cform textarea { min-height: 140px; resize: vertical; }
.cform select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2316181a' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
}
.cform input:hover,
.cform select:hover,
.cform textarea:hover { border-color: var(--steel-500); }
.cform input:focus,
.cform select:focus,
.cform textarea:focus {
  outline: 2px solid transparent;
  border-color: var(--ink);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(196, 18, 26, .16);
}
.cform [aria-invalid="true"] { border-color: var(--red); }
.field-error { font-size: .86rem; color: var(--red-600); }
.field-error:empty { display: none; }

.consent {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: .75rem;
  align-items: start;
  margin: .5rem 0 1.25rem;
  font-size: .92rem;
  line-height: 1.5;
}
.consent input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--red); }
.consent a { font-weight: 600; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--radius); font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.is-success { background: #eaf4ec; border: 1px solid #bfdcc6; color: #1e5a2b; }
.form-status.is-error { background: #fbeaea; border: 1px solid #f0c4c6; color: #8a1016; }
.form-status a { font-weight: 600; }

.form-legal { margin: 1.25rem 0 0; font-size: .8rem; line-height: 1.55; color: var(--steel-700); }
.form-legal a { color: inherit; }

.cform .btn[disabled] { opacity: .6; cursor: progress; }

@media (min-width: 560px) {
  .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-row--moto { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
}

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer { padding-block: 3.5rem 2rem; background: var(--black); color: #b9bbb9; font-size: .95rem; }
.footer-grid { display: grid; gap: 2.25rem; }
.footer-brand img { width: auto; height: 54px; margin-bottom: 1rem; }
.footer-brand p { margin: 0; line-height: 1.45; }
.footer-brand strong { display: block; font: 600 1.35rem/1.2 var(--font-display); color: var(--white); }
.footer-title {
  margin: 0 0 .9rem;
  font: 500 .78rem/1.2 var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel-500);
}
.footer-links { list-style: none; display: grid; gap: .5rem; }
.site-footer a { color: #e7e7e3; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  margin-top: 2.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .82rem;
  color: #8e9398;
}
.site-footer :focus-visible { outline-color: var(--white); }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   Barre d'action mobile
   ========================================================================== */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: .5rem;
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(244, 244, 241, .97);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .3s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar .btn { min-height: 46px; padding-inline: .5rem; font-size: .95rem; }
.mobile-bar .btn:hover { transform: none; }

@media (max-width: 767px) {
  .site-footer { padding-bottom: calc(2rem + 72px); }
}
@media (min-width: 768px) {
  .mobile-bar { display: none; }
}

/* ==========================================================================
   Pages légales
   ========================================================================== */
.legal-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) 2rem; border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-size: clamp(2.3rem, 1.5rem + 3vw, 3.9rem); }
.legal-hero p { margin: 1rem 0 0; color: var(--steel-700); }

.legal-layout { display: grid; gap: 2.5rem; padding-block: 2.5rem 5rem; }
.legal-toc ol { list-style: none; border-left: 1px solid var(--line-2); }
.legal-toc a {
  display: block;
  padding: .35rem 0 .35rem 1rem;
  font-size: .92rem;
  color: var(--steel-700);
  text-decoration: none;
}
.legal-toc a:hover { color: var(--ink); text-decoration: underline; }

.legal-content { max-width: 46rem; }
.legal-content h2 {
  margin: 2.75rem 0 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: clamp(1.55rem, 1.25rem + 1vw, 2.05rem);
}
.legal-content section:first-child h2 { margin-top: 0; }
.legal-content h3 { margin: 1.5rem 0 .5rem; font-size: 1.25rem; }
.legal-content ul { padding-left: 1.25rem; margin-bottom: 1em; }
.legal-content li { margin-bottom: .35rem; }

.legal-fields { display: grid; margin: 1rem 0 1.5rem; border-top: 1px solid var(--line); }
.legal-fields dt,
.legal-fields dd { margin: 0; }
.legal-fields dt { padding-top: .7rem; font-weight: 600; font-size: .92rem; color: var(--steel-700); }
.legal-fields dd { padding: .15rem 0 .7rem; border-bottom: 1px solid var(--line); }

.legal-note {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-left: 3px solid var(--red);
  font-size: .95rem;
}

@media (min-width: 640px) {
  .legal-fields { grid-template-columns: minmax(10rem, 15rem) minmax(0, 1fr); }
  .legal-fields dt { padding: .7rem 1rem .7rem 0; border-bottom: 1px solid var(--line); }
  .legal-fields dd { padding: .7rem 0; }
}
@media (min-width: 1024px) {
  .legal-layout { grid-template-columns: 15rem minmax(0, 1fr); gap: 4rem; }
  .legal-toc { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; }
}

/* Page 404 */
.notfound { padding-block: clamp(4rem, 12vw, 9rem); }
.notfound p { max-width: 36em; color: var(--steel-700); }
.notfound .hero-actions { margin-top: 2rem; }

/* ==========================================================================
   Apparition discrète au défilement
   ========================================================================== */
.js-reveal .reveal:not(.is-in) { opacity: 0; transform: translateY(14px); }
.js-reveal .reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); }

/* ==========================================================================
   Préférences d'accessibilité & impression
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js-reveal .reveal:not(.is-in) { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-bar, .carousel-controls, .hero-visual, .cform, .skip-link { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .section { padding-block: 1.5rem; }
  .section--dark, .site-footer, .rate, .pcard-back { background: #fff !important; color: #000 !important; }
  .pcard-inner { transform: none !important; }
  .pcard-back { transform: none; position: static; }
  .pcard-face { backface-visibility: visible; }
}

/* ---------- Ajustements ---------- */
.split-main h2 + .lead { margin-top: 1.25rem; }
.photo--portrait { aspect-ratio: 4 / 5; }
.footer-bottom p { margin: 0; }
.services-foot { margin: 2rem 0 0; }
.red_h3 {
  text-decoration: underline #B22222;
}
.google-hours-widget {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  max-width: 380px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  overflow: hidden;
}

.hours-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease;
}

.hours-header:hover {
  background-color: #f8f9fa;
}

.hours-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.badge {
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.badge.open {
  color: #137333;
}

.badge.closed {
  color: #c5221f;
}

.badge.closing-soon {
  color: #b06000;
}

.status-text {
  color: #3c4043;
}

.arrow-icon {
  font-size: 10px;
  color: #70757a;
  transition: transform 0.3s ease;
}

.hours-header[aria-expanded="true"] .arrow-icon {
  transform: rotate(180deg);
}

.hours-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  background: #fafafa;
  border-top: 1px solid #f1f3f4;
}

.hours-header[aria-expanded="true"] + .hours-dropdown {
  max-height: 300px;
  transition: max-height 0.3s ease-in-out;
}

.hours-list {
  list-style: none;
  margin: 0;
  padding: 8px 16px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
  color: #5f6368;
}

.hours-list li.today {
  font-weight: 700;
  color: #202124;
}