/* ==========================================================================
   World Wagen, garage à Eysines
   Direction : terroir chaleureux. Vert basque (volets), rouge brique, pierre.
   Titres : Bitter (empattements trapus, esprit plaque émaillée)
   Texte : Signika (humaniste, conçue pour la signalétique)
   ========================================================================== */

@font-face { font-family: "Bitter"; src: url(/fonts/bitter-vf-latin.woff2) format("woff2");
  font-weight: 500 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Signika"; src: url(/fonts/signika-vf-latin.woff2) format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap; }
/* Replis métriques pour limiter le décalage au chargement */
@font-face { font-family: "Bitter repli"; src: local("Georgia"); size-adjust: 104%; ascent-override: 90%; }
@font-face { font-family: "Signika repli"; src: local("Arial"); size-adjust: 94%; ascent-override: 96%; }

:root {
  /* Pierre (fonds et filets) */
  --fond: #faf9f6;
  --pierre: #ede9e1;
  --pierre-2: #e1dbcf;
  --trait: #d3cbbb;
  /* Vert basque */
  --vert: #0f4a32;
  --vert-2: #17664a;
  --vert-nuit: #0a3022;
  --vert-pale: #dfeae2;
  --sur-vert: #e9f1ec;       /* texte courant sur vert : 11:1 */
  --sur-vert-2: #b9d0c2;     /* texte secondaire sur vert : 7,4:1 */
  /* Rouge brique */
  --brique: #a63f29;
  --brique-fonce: #883220;
  --brique-pale: #f4e1d9;
  /* Texte */
  --texte: #1b2620;
  --texte-2: #48544c;        /* 7,3:1 sur --fond, 6,3:1 sur --pierre */
  --or: #c98a1a;             /* étoiles uniquement */

  --titre: "Bitter", "Bitter repli", Georgia, serif;
  --corps: "Signika", "Signika repli", Arial, sans-serif;

  --r: 6px;
  --r-lg: 14px;
  --ombre: 0 1px 2px rgb(15 40 28 / .06), 0 8px 24px -10px rgb(15 40 28 / .18);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1180px;
  --pad: clamp(20px, 4vw, 40px);
  --head-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0; background: var(--fond); color: var(--texte);
  font: 400 1.0625rem/1.6 var(--corps); font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--vert); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--brique); }
::selection { background: var(--vert); color: #fff; }
:focus-visible { outline: 3px solid var(--brique); outline-offset: 3px; border-radius: 3px; }
html { scrollbar-color: var(--vert-2) var(--pierre); }

h1, h2, h3, h4 { font-family: var(--titre); color: var(--vert-nuit); line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.5rem); font-weight: 750; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); font-weight: 650; }
p, ul, ol { margin: 0 0 1em; }
p { text-wrap: pretty; }
strong { font-weight: 600; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nw { white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.8em; }
.prose > h2:first-child, .prose > h1:first-child { margin-top: 0; }
.prestas + .a-completer { margin-top: 20px; }
.prose h3 { margin-top: 1.5em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--brique); }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--texte-2); line-height: 1.5; }

.ico { width: 1.15em; height: 1.15em; flex: none; }
.ico-star { width: 1em; height: 1em; color: var(--or); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--vert); color: #fff; padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }

/* À compléter (information manquante, visible en aperçu) */
.a-completer {
  display: inline-block; background: repeating-linear-gradient(-45deg, #fff4d6 0 8px, #fdecc0 8px 16px);
  border: 1px dashed #b8871b; color: #5c4307; padding: .05em .5em; border-radius: 4px; font-size: .92em;
}
div.a-completer, p.a-completer { display: block; padding: .8em 1em; margin: 0 0 1em; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 1rem/1.1 var(--corps); text-decoration: none; letter-spacing: .01em;
  padding: .85em 1.3em; min-height: 48px; border-radius: var(--r); border: 2px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn--lg { font-size: 1.0625rem; padding: 1em 1.5em; }
.btn--brique { background: var(--brique); color: #fff; box-shadow: 0 2px 0 var(--brique-fonce), 0 10px 20px -12px rgb(136 50 32 / .7); }
.btn--brique:hover { background: var(--brique-fonce); color: #fff; }
.btn--vert { background: var(--vert); color: #fff; }
.btn--vert:hover { background: var(--vert-2); color: #fff; }
.btn--ligne { border-color: var(--vert); color: var(--vert); background: transparent; }
.btn--ligne:hover { background: var(--vert); color: #fff; }
.btn--ligne-clair { border-color: var(--sur-vert-2); color: #fff; }
.btn--ligne-clair:hover { background: #fff; color: var(--vert); border-color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; }
.lien-fleche { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.lien-fleche .ico { transition: transform .3s var(--ease); }
.lien-fleche:hover .ico { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.head { position: sticky; top: 0; z-index: 50; background: rgb(250 249 246 / .97); border-bottom: 1px solid var(--trait); }
.head__bande { background: var(--vert); color: var(--sur-vert); font-size: .875rem; }
.head__bande-in { display: flex; justify-content: space-between; gap: 24px; padding-block: 6px; }
.head__bande span { display: inline-flex; align-items: center; gap: .45em; }
.head__bande .ico { color: var(--sur-vert-2); }
.head__in { display: flex; align-items: center; gap: 28px; min-height: var(--head-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--vert-nuit); flex: none; }
.logo:hover { color: var(--vert-nuit); }
.logo__txt { display: flex; flex-direction: column; line-height: 1; }
.logo__nom { font: 800 1.45rem/1 var(--titre); letter-spacing: -.015em; }
.logo__sous { font: 500 .78rem/1 var(--corps); letter-spacing: .14em; text-transform: uppercase; color: var(--brique); margin-top: 6px; }
.logo--clair, .logo--clair:hover { color: #fff; }
.logo--clair .logo__sous { color: var(--sur-vert-2); }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 10px 12px; color: var(--texte); text-decoration: none; font-weight: 500; border-radius: var(--r); position: relative; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--brique); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { color: var(--vert); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav a[aria-current] { color: var(--vert); }
.nav__extra { display: none; }
.head__actions { display: flex; align-items: center; gap: 14px; }
.head__tel { display: inline-flex; align-items: center; gap: .45em; font: 700 1.1rem/1 var(--corps); color: var(--vert); text-decoration: none; white-space: nowrap; }
.head__tel .ico { width: 1.25em; height: 1.25em; padding: 7px; box-sizing: content-box; background: var(--vert-pale); border-radius: 50%; }
.head__tel:hover { color: var(--brique); }
.burger { display: none; }

@media (max-width: 1080px) {
  .head__tel span { display: none; }
  .nav a { padding-inline: 9px; }
}
@media (max-width: 900px) {
  :root { --head-h: 64px; }
  .head__bande { display: none; }
  .head { background: var(--fond); }
  .head__in { gap: 12px; }
  .logo img { width: 38px; height: 38px; }
  .logo__nom { font-size: 1.25rem; }
  .logo__sous { font-size: .7rem; }
  .head__actions { margin-left: auto; gap: 8px; }
  .head__devis { display: none; }
  .head__tel .ico { width: 1.3em; height: 1.3em; padding: 10px; }
  .burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 0 11px;
    background: var(--vert); border: 0; border-radius: var(--r); cursor: pointer; }
  .burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav { position: fixed; inset: var(--head-h) 0 0; background: var(--fond); padding: 8px var(--pad) 120px; overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s .3s; margin: 0; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .3s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li + li { border-top: 1px solid var(--trait); }
  .nav a { font: 650 1.35rem/1.2 var(--titre); padding: 16px 0; color: var(--vert-nuit); }
  .nav a::after { display: none; }
  .nav__extra { display: grid; gap: 12px; margin-top: 24px; }
  .nav__extra .btn { display: flex; font: 600 1.0625rem/1.1 var(--corps); padding: 1em 1.5em; }
  .nav__extra .btn--brique, .nav__extra .btn--brique:hover { color: #fff; }
  .nav__extra .btn--ligne { color: var(--vert); }
  .nav__extra .btn--ligne:hover { color: #fff; }
  .nav__meta { display: flex; gap: .5em; align-items: center; color: var(--texte-2); font-size: .95rem; margin: 4px 0 0; }
  body.menu-ouvert { overflow: hidden; }
}

/* ---------- Fil d'Ariane ---------- */
.fil ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; padding: 18px 0 0; margin: 0; font-size: .9rem; color: var(--texte-2); }
.fil li:not(:last-child)::after { content: "/"; margin: 0 .55em; color: var(--trait); }
.fil a { color: var(--texte-2); }

/* ---------- Note Google ---------- */
.note { display: inline-flex; align-items: center; gap: .6em; text-decoration: none; color: var(--texte); font-size: .98rem; }
.note__etoiles { display: inline-flex; gap: 1px; }
.note strong { font-weight: 700; color: var(--vert-nuit); }
.note:hover strong { color: var(--brique); }
.note--clair { color: var(--sur-vert); }
.note--clair strong { color: #fff; }
.note--clair .ico-star { color: #e7b44c; }

/* ---------- Héros accueil ---------- */
.hero { position: relative; padding: clamp(32px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: var(--brique); }
.hero .lead { max-width: 34em; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero__rass { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 0; color: var(--texte-2); font-size: .98rem; }
.hero__rass li { display: inline-flex; align-items: center; gap: .45em; }
.hero__rass .ico { color: var(--vert-2); }
.panneau {
  position: relative; background: var(--vert); color: var(--sur-vert); border-radius: var(--r-lg); padding: clamp(18px, 2.5vw, 28px);
  box-shadow: var(--ombre); overflow: hidden; isolation: isolate;
}
.panneau::before { /* grain de pierre discret */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: radial-gradient(120% 80% at 100% 0%, rgb(255 255 255 / .08), transparent 60%), radial-gradient(90% 70% at 0% 100%, rgb(0 0 0 / .18), transparent 60%);
}
.panneau__titre { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 600 .95rem/1.3 var(--corps); color: var(--sur-vert-2); margin: 0 0 6px; }
.panneau__titre strong { font: 700 1.15rem/1.2 var(--titre); color: #fff; }
.panneau__pied { font-size: .82rem; color: var(--sur-vert-2); margin: 6px 0 0; }

/* Carte schématique */
.carte { width: 100%; height: auto; font-family: var(--corps); }
.carte__rocade { fill: none; stroke: rgb(255 255 255 / .22); stroke-width: 9; stroke-linecap: round; }
.carte__jalle { fill: none; stroke: #6fa88e; stroke-width: 2.5; stroke-dasharray: 2 6; stroke-linecap: round; opacity: .8; }
.carte__leg { fill: var(--sur-vert-2); font-size: 13px; font-style: italic; opacity: .85; }
.carte__trait { stroke: rgb(255 255 255 / .28); stroke-width: 1.5; stroke-dasharray: 3 5; }
.carte__trait.is-actif { stroke: #f0b39f; stroke-width: 2.5; stroke-dasharray: none; }
.carte__ville { fill: var(--vert); stroke: var(--sur-vert); stroke-width: 2; }
.carte__ville.is-actif { fill: #f0b39f; stroke: #fff; }
.carte__nom { fill: #fff; font-size: 17px; font-weight: 600; paint-order: stroke; stroke: var(--vert); stroke-width: 5px; stroke-linejoin: round; }
.carte__min { fill: var(--sur-vert-2); font-size: 14px; paint-order: stroke; stroke: var(--vert); stroke-width: 5px; stroke-linejoin: round; }
.carte__halo { fill: rgb(166 63 41 / .35); animation: halo 2.6s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
.carte__garage { fill: var(--brique); stroke: #fff; stroke-width: 3; }
.carte__ww { fill: #fff; font: 800 19px var(--titre); paint-order: stroke; stroke: var(--vert); stroke-width: 6px; stroke-linejoin: round; }
@keyframes halo { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .carte__halo { animation: none; } * { scroll-behavior: auto !important; } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__btns .btn { flex: 1 1 220px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--pierre { background: var(--pierre); }
.section--serre { padding: clamp(40px, 5vw, 64px) 0; }
.section__tete { max-width: 46em; margin-bottom: clamp(28px, 4vw, 48px); }
.section__tete p { color: var(--texte-2); font-size: 1.1rem; margin: 0; }
.section__tete--rang { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: none; flex-wrap: wrap; }

/* Bandeau de réassurance sous le héros */
.atouts { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--trait); }
.atouts > div { padding: 22px 20px 22px 0; display: flex; gap: 14px; align-items: flex-start; }
.atouts > div + div { padding-left: 20px; border-left: 1px solid var(--trait); }
.atouts .ico { width: 30px; height: 30px; color: var(--brique); margin-top: 2px; }
.atouts b { display: block; font: 700 1.1rem/1.2 var(--titre); color: var(--vert-nuit); margin-bottom: 2px; }
.atouts span { color: var(--texte-2); font-size: .95rem; line-height: 1.4; display: block; }
@media (max-width: 900px) {
  .atouts { grid-template-columns: 1fr 1fr; }
  .atouts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .atouts > div:nth-child(n+3) { border-top: 1px solid var(--trait); }
}
@media (max-width: 480px) {
  .atouts { grid-template-columns: 1fr; }
  .atouts > div, .atouts > div + div { padding: 16px 0; border-left: 0; }
  .atouts > div + div { border-top: 1px solid var(--trait); }
}

/* Tableau des prestations : trois colonnes séparées par des filets, façon tableau d'atelier */
.prestas { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--fond); border: 1px solid var(--trait); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--ombre); }
.presta { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; position: relative; }
.presta + .presta { border-left: 1px solid var(--trait); }
.presta__ico { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--vert-pale); color: var(--vert); margin-bottom: 18px; }
.presta__ico .ico { width: 28px; height: 28px; }
.presta h3 a { color: inherit; text-decoration: none; }
.presta h3 a::after { content: ""; position: absolute; inset: 0; }
.presta p { color: var(--texte-2); }
.presta ul { list-style: none; padding: 0; margin: 0 0 22px; }
.presta li { display: flex; gap: .5em; align-items: baseline; padding: 6px 0; border-top: 1px dashed var(--trait); font-size: .98rem; }
.presta li .ico { color: var(--vert-2); position: relative; top: 3px; }
.presta .lien-fleche { margin-top: auto; color: var(--brique); }
.presta:hover { background: #fff; }
.presta:hover .lien-fleche .ico { transform: translateX(4px); }
@media (max-width: 900px) {
  .prestas { grid-template-columns: 1fr; }
  .presta + .presta { border-left: 0; border-top: 1px solid var(--trait); }
}

/* Partage texte / visuel */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.duo--haut { align-items: start; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }

.coches { list-style: none; padding: 0; margin: 0 0 1.4em; }
.coches li { display: flex; gap: .65em; align-items: baseline; padding: 7px 0; }
.coches .ico { color: var(--brique); position: relative; top: 3px; }

/* Avis : répartition des notes et sujets relevés */
.avis { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.avis__note { text-align: left; }
.avis__chiffre { margin: 0; font: 800 clamp(4rem, 3rem + 4vw, 6rem)/.9 var(--titre); color: var(--vert-nuit); letter-spacing: -.03em; }
.avis__chiffre small { font-size: .35em; font-weight: 600; color: var(--texte-2); letter-spacing: 0; margin-left: .15em; }
.avis__etoiles { display: flex; gap: 3px; margin: 14px 0 8px; }
.avis__etoiles .ico-star { width: 24px; height: 24px; }
.avis__nb { color: var(--texte-2); margin: 0; }
.barres { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.barres li { display: grid; grid-template-columns: 4.2em 1fr 3em; align-items: center; gap: 12px; font-size: .95rem; color: var(--texte-2); }
.barres__piste { display: block; height: 12px; background: var(--pierre-2); border-radius: 6px; overflow: hidden; }
.barres__plein { display: block; height: 100%; background: var(--vert-2); border-radius: 6px; }
.barres li:first-child .barres__plein { background: var(--vert); }
.barres b { font-weight: 600; color: var(--texte); text-align: right; font-variant-numeric: tabular-nums; }
.sujets { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.sujets li { display: inline-flex; align-items: baseline; gap: .4em; padding: 6px 12px; border-radius: 999px; background: var(--fond); border: 1px solid var(--trait); font-size: .95rem; }
.sujets b { color: var(--brique); font-weight: 700; font-variant-numeric: tabular-nums; }
.section--pierre .sujets li { background: #fff; }
.sujets__titre { font: 600 1rem/1.3 var(--corps); color: var(--texte); margin: 0 0 12px; }
@media (max-width: 760px) { .avis { grid-template-columns: 1fr; } }

/* Communes voisines */
.communes { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--trait); }
.communes li { border-bottom: 1px solid var(--trait); }
.communes a { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: baseline; padding: 14px 4px; text-decoration: none; color: var(--texte); transition: background-color .2s, padding .3s var(--ease); }
.communes a:hover { background: #fff; padding-inline: 12px; }
.communes strong { font: 650 1.12rem/1.2 var(--titre); color: var(--vert-nuit); }
.communes span { color: var(--texte-2); font-variant-numeric: tabular-nums; font-size: .95rem; }
.communes .ico { color: var(--brique); }

/* FAQ */
.faq { border-top: 1px solid var(--trait); max-width: 52em; }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; cursor: pointer; list-style: none;
  font: 650 1.12rem/1.35 var(--titre); color: var(--vert-nuit); }
.faq summary::-webkit-details-marker { display: none; }
.faq__ico { color: var(--brique); transition: transform .3s var(--ease); transform: rotate(90deg); }
.faq details[open] .faq__ico { transform: rotate(-90deg); }
.faq summary:hover { color: var(--brique); }
.faq__r { padding: 0 0 20px; color: var(--texte-2); max-width: 68ch; }
.faq__r p:last-child { margin: 0; }

/* Bandeau d'appel à l'action */
.cta { background: var(--vert); color: var(--sur-vert); padding: clamp(48px, 7vw, 88px) 0; position: relative; overflow: hidden; }
.cta::after { /* liseré brique en haut, rappel des volets et des encadrements */
  content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--brique); }
.cta__in { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px 56px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: var(--sur-vert); max-width: 40em; }
.cta__rass { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; margin: 0; font-size: .95rem; }
.cta__rass span { display: inline-flex; align-items: center; gap: .4em; color: var(--sur-vert-2); }
.cta__btns { display: grid; gap: 12px; }
@media (max-width: 900px) { .cta__in { grid-template-columns: 1fr; } }

/* ---------- Pages intérieures ---------- */
.intro { padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.intro h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); }
.intro__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.intro__grid--carte { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
@media (max-width: 900px) { .intro__grid, .intro__grid--carte { grid-template-columns: 1fr; } }

/* Fiche latérale (coordonnées, horaires) */
.fiche { background: var(--pierre); border-radius: var(--r-lg); padding: 24px; border: 1px solid var(--trait); }
.fiche h2 { font-size: 1.2rem; margin-bottom: .7em; }
.fiche dl { margin: 0; display: grid; gap: 12px; }
.fiche dt { font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--texte-2); font-weight: 600; }
.fiche dd { margin: 2px 0 0; }
.fiche .btn { width: 100%; margin-top: 18px; }
.fiche__tel { font: 700 1.35rem/1.1 var(--corps); color: var(--vert); text-decoration: none; }

.horaires { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.horaires th, .horaires td { text-align: left; padding: 9px 8px 9px 0; border-bottom: 1px solid var(--trait); font-weight: 400; }
.horaires th { font-weight: 600; color: var(--vert-nuit); }
.horaires .ferme { color: var(--texte-2); }
.horaires tr.auj th, .horaires tr.auj td { color: var(--brique); font-weight: 600; }

/* Étapes (déroulé d'une intervention) */
.etapes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; counter-reset: e; border-top: 3px solid var(--vert); }
.etapes li { padding: 22px 22px 22px 0; position: relative; }
.etapes li + li { padding-left: 22px; border-left: 1px solid var(--trait); }
.etapes b { display: block; font: 700 1.1rem/1.25 var(--titre); color: var(--vert-nuit); margin-bottom: 6px; }
.etapes p { color: var(--texte-2); margin: 0; font-size: .98rem; }
@media (max-width: 700px) {
  .etapes li, .etapes li + li { padding: 18px 0; border-left: 0; }
  .etapes li + li { border-top: 1px solid var(--trait); }
}

/* Liste de liens (maillage) */
.liens-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 32px; list-style: none; padding: 0; margin: 0; }
.liens-grille li { border-bottom: 1px solid var(--trait); }
.liens-grille a { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 0; text-decoration: none; font-weight: 600; }
.liens-grille a .ico { color: var(--brique); transition: transform .3s var(--ease); }
.liens-grille a:hover .ico { transform: translateX(4px); }
.liens-grille small { display: block; font-weight: 400; color: var(--texte-2); font-size: .9rem; margin-top: 2px; }

/* Guides */
.guide-liste { display: grid; gap: 0; border-top: 1px solid var(--trait); }
.guide-liste a { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--trait); text-decoration: none; color: var(--texte); }
.guide-liste .ico { width: 28px; height: 28px; color: var(--brique); }
.guide-liste strong { display: block; font: 700 1.2rem/1.3 var(--titre); color: var(--vert-nuit); margin-bottom: 4px; }
.guide-liste span { color: var(--texte-2); }
.guide-liste a:hover strong { color: var(--brique); }
.encadre { background: var(--vert-pale); border-radius: var(--r-lg); padding: 22px 24px; margin: 1.6em 0; }
.encadre p:last-child { margin: 0; }
.encadre h2, .encadre h3 { margin-top: 0; }
.source { font-size: .9rem; color: var(--texte-2); }

/* Formulaire de devis */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form .plein { grid-column: 1 / -1; }
.champ label, .champ .label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--vert-nuit); }
.champ small { font-weight: 400; color: var(--texte-2); }
.champ input, .champ select, .champ textarea {
  width: 100%; font: 400 1.0625rem/1.4 var(--corps); color: var(--texte); background: #fff;
  border: 1.5px solid var(--trait); border-radius: var(--r); padding: 12px 14px; min-height: 50px;
  transition: border-color .2s, box-shadow .2s;
}
.champ textarea { min-height: 130px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--vert); box-shadow: 0 0 0 4px rgb(15 74 50 / .15); }
.champ input::placeholder, .champ textarea::placeholder { color: #6d766f; }
.champ input:user-invalid, .champ textarea:user-invalid { border-color: var(--brique); }
.rgpd { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: var(--texte-2); }
.rgpd input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--vert); flex: none; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__msg { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-radius: var(--r); display: none; }
.form__msg.is-ok { display: block; background: var(--vert-pale); color: var(--vert-nuit); }
.form__msg.is-err { display: block; background: var(--brique-pale); color: var(--brique-fonce); }
.form__envoi { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.form__envoi p { margin: 0; font-size: .93rem; color: var(--texte-2); }
.bloc-form { background: #fff; border: 1px solid var(--trait); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--ombre); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* Carte intégrée (lien) */
.plan-lien { display: block; border-radius: var(--r-lg); overflow: hidden; }

/* Plan du site */
.plan ul { columns: 2 280px; padding-left: 1.2em; }
.plan li { margin-bottom: .4em; break-inside: avoid; }

/* ---------- Pied de page ---------- */
.foot { background: var(--vert-nuit); color: var(--sur-vert-2); padding: clamp(48px, 6vw, 72px) 0 0; font-size: .98rem; }
.foot a { color: var(--sur-vert); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot__marque p { max-width: 30em; margin-top: 16px; }
.foot__h { font: 600 .82rem/1.2 var(--corps); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 6px 0 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 8px; }
.foot address { font-style: normal; line-height: 1.6; }
.foot__horaires { margin: 12px 0 8px; }
.foot__lien { display: inline-flex; gap: .4em; align-items: center; font-weight: 600; }
.foot__bas { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgb(255 255 255 / .12); margin-top: 48px; padding-block: 20px; font-size: .88rem; }
.foot__bas p { margin: 0; }
.foot__liens { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
@media (max-width: 900px) {
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__marque { grid-column: 1 / -1; }
  .foot { padding-bottom: 72px; }
}
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- Barre d'action mobile ---------- */
.mbar { display: none; }
@media (max-width: 900px) {
  .mbar { display: grid; grid-template-columns: 1fr 1.5fr; position: fixed; inset: auto 0 0; z-index: 60; background: var(--fond);
    border-top: 1px solid var(--trait); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; box-shadow: 0 -6px 20px -12px rgb(15 40 28 / .35); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; border-radius: var(--r); font-weight: 600; text-decoration: none; }
  .mbar__tel { background: var(--vert); color: #fff; }
  .mbar__devis { background: var(--brique); color: #fff; }
  .mbar a:hover { color: #fff; }
}

/* ---------- 404 ---------- */
.page404 { padding: clamp(56px, 10vw, 120px) 0; }
.page404 .code { font: 800 clamp(5rem, 4rem + 6vw, 9rem)/.9 var(--titre); color: var(--pierre-2); letter-spacing: -.04em; margin: 0 0 12px; }

/* Moment animé unique : le repère du garage pulse sur la carte (voir .carte__halo) */
@media (max-width: 600px) {
  .carte__nom { font-size: 23px; stroke-width: 6px; }
  .carte__min { font-size: 19px; }
  .carte__ww { font-size: 24px; }
  .carte__leg { font-size: 16px; }
}
