/* ==========================================================================
   Autocars Hiruak Bat : terroir chaleureux
   Pierre (fonds), vert basque (structure), rouge brique (action).
   Titres : Source Serif 4 · Texte : Cabin (humanistes, auto-hébergées)
   ========================================================================== */

@font-face { font-family: 'Cabin'; src: url('/fonts/cabin.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url('/fonts/source-serif-4.woff2') format('woff2'); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url('/fonts/source-serif-4-italic.woff2') format('woff2'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Serif repli'; src: local('Georgia'); size-adjust: 96%; ascent-override: 92%; }
@font-face { font-family: 'Sans repli'; src: local('Arial'); size-adjust: 94%; }

:root {
  --blanc: #FFFFFF;
  --pierre: #ECE9E2;
  --pierre-2: #E1DDD3;
  --pierre-ligne: #D3CEC2;
  --encre: #1A2620;
  --encre-2: #48544D;
  --vert: #1F5A3D;
  --vert-fonce: #133B28;
  --vert-pale: #DCE7DE;
  --brique: #A33B29;
  --brique-fonce: #873020;
  --brique-pale: #F3E0D9;
  --jaune-completer: #FFF1B8;

  --serif: 'Source Serif 4', 'Serif repli', Georgia, serif;
  --sans: 'Cabin', 'Sans repli', Arial, sans-serif;

  --r: 14px;
  --r-s: 8px;
  --ombre: 0 10px 30px -12px rgba(19, 59, 40, .28), 0 2px 6px -2px rgba(19, 59, 40, .12);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1200px;
  --head-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0; background: var(--blanc); color: var(--encre);
  font: 400 1.0625rem/1.62 var(--sans);
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
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: 4px; }
input, select, textarea, button { font: inherit; color: inherit; caret-color: var(--brique); }
html { scrollbar-color: var(--vert) var(--pierre); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--encre); text-wrap: balance; margin: 0 0 .5em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.1vw, 3.5rem); line-height: 1.06; letter-spacing: -.018em; }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.6vw, 2.35rem); line-height: 1.14; letter-spacing: -.012em; margin-top: 0; }
h3 { font-size: 1.28rem; line-height: 1.25; }
h1 em, h2 em { font-style: italic; color: var(--vert); }
p { margin: 0 0 1em; }
.nw { white-space: nowrap; }
.lead { font-size: clamp(1.1rem, 1rem + .35vw, 1.25rem); color: var(--encre-2); max-width: 58ch; }
.petit { font-size: .92rem; color: var(--encre-2); }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.wrap--texte { width: min(760px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--vert); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

.a-completer {
  display: inline-block; background: var(--jaune-completer); color: #5C4700; border: 1px dashed #C9A400;
  padding: .1em .5em; border-radius: 4px; font-size: .92em; font-weight: 500;
}
p.a-completer, div.a-completer { display: block; padding: .8rem 1rem; }

/* ---------- Icônes et boutons ---------- */
.ico { width: 1.2em; height: 1.2em; flex: none; vertical-align: -.22em; }
.ico-star { color: #C98A12; width: 1em; height: 1em; }
.ico-star--vide { color: #D8D2C4; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .72em 1.25em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn--lg { padding: .9em 1.5em; font-size: 1.05rem; }
.btn--brique { background: var(--brique); color: #fff; box-shadow: 0 6px 16px -8px rgba(163, 59, 41, .7); }
.btn--brique:hover { background: var(--brique-fonce); color: #fff; transform: translateY(-1px); }
.btn--ligne { border-color: var(--vert); color: var(--vert); background: transparent; }
.btn--ligne:hover { background: var(--vert); color: #fff; }
.btn--clair { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--clair:hover { background: #fff; color: var(--vert-fonce); }
.btn--vert { background: var(--vert); color: #fff; }
.btn--vert:hover { background: var(--vert-fonce); color: #fff; }
.btn:disabled { opacity: .55; cursor: progress; transform: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.6rem 0 1.4rem; }

.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: rgba(255,255,255,.97); border-bottom: 1px solid var(--pierre-ligne); }
.head__in { display: flex; align-items: center; gap: 1.5rem; min-height: var(--head-h); }
.logo { flex: none; display: block; }
.logo img { width: 190px; height: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.nav li a {
  display: block; padding: .55rem .62rem; border-radius: var(--r-s);
  color: var(--encre); text-decoration: none; font-weight: 500; font-size: .97rem; white-space: nowrap;
}
.nav li a:hover { color: var(--vert); background: var(--pierre); }
.nav li a[aria-current="page"] { color: var(--vert); box-shadow: inset 0 -2px 0 var(--brique); border-radius: 0; }
.nav__extra { display: none; }
.head__actions { display: flex; align-items: center; gap: .9rem; }
.head__tel { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--vert); text-decoration: none; white-space: nowrap; font-size: 1.02rem; }
.head__tel:hover { color: var(--brique); }
.head__devis { padding: .62em 1.15em; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--pierre-ligne); background: #fff; border-radius: 10px; cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--encre); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 29px; }
.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); }

@media (max-width: 1240px) {
  .nav li a { padding: .55rem .45rem; font-size: .93rem; }
  .logo img { width: 165px; }
}
@media (max-width: 1120px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--head-h) 0 0 0; background: #fff; overflow-y: auto;
    padding: 1.2rem 1.25rem 7rem; transform: translateX(100%); visibility: hidden;
    transition: transform .4s var(--ease), visibility 0s .4s;
  }
  .nav.ouvert { transform: none; visibility: visible; transition: transform .4s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--pierre); }
  .nav li a { font-size: 1.18rem; padding: .95rem .25rem; font-family: var(--serif); font-weight: 600; }
  .nav li a[aria-current="page"] { box-shadow: none; color: var(--brique); }
  .nav__extra { display: grid; gap: .75rem; margin-top: 1.5rem; }
  .nav__info { color: var(--encre-2); font-size: .95rem; margin: 0; }
  .head__actions { margin-left: auto; }
  body.menu-ouvert { overflow: hidden; }
}
@media (max-width: 640px) {
  :root { --head-h: 66px; }
  .logo img { width: 142px; }
  .head__tel span, .head__devis { display: none; }
  .head__tel { width: 46px; height: 46px; justify-content: center; border-radius: 10px; background: var(--vert-pale); }
  .head__in { gap: .75rem; }
}

/* ---------- Fil d'Ariane ---------- */
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 1rem 0 0; margin: 0; font-size: .9rem; color: var(--encre-2); }
.fil li + li::before { content: "›"; margin-right: .35rem; color: var(--pierre-ligne); }
.fil a { color: var(--encre-2); }

/* ---------- Héros ---------- */
.hero { padding: clamp(1.5rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); background: var(--pierre); }
.hero__in, .phero__in { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 1.3rem + 3.6vw, 3.9rem); }
.hero h1 em { display: block; }
.arche { margin: 0; border-radius: 999px 999px 18px 18px; overflow: hidden; box-shadow: var(--ombre); background: var(--pierre-2); aspect-ratio: 5 / 6; position: relative; }
.arche img { width: 100%; height: 100%; object-fit: cover; animation: approche 1.6s var(--ease) both; }
.arche--large { aspect-ratio: 4 / 4.2; }
@keyframes approche { from { transform: scale(1.07); filter: saturate(.85); } to { transform: none; filter: none; } }
.hero__legende { font-size: .9rem; color: var(--encre-2); margin-top: .8rem; text-align: center; }

.phero { padding: clamp(1.2rem, 3vw, 2.5rem) 0 clamp(2.5rem, 5vw, 4rem); background: var(--pierre); }
.fil + .phero, .fil { background: var(--pierre); }
.fil { width: 100%; padding-inline: max(1.25rem, calc((100% - var(--wrap)) / 2)); }
.phero__in--seul { grid-template-columns: minmax(0, 1fr); }
.phero__in--seul .phero__txt { max-width: 860px; }
.phero .arche { aspect-ratio: 1 / 1.05; }

.rassure { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .95rem; color: var(--encre-2); }
.rassure li { display: inline-flex; align-items: center; gap: .45rem; }
.rassure .ico { color: var(--vert); }

.note { display: inline-flex; align-items: center; gap: .5rem; color: inherit; text-decoration: none; }
.note:hover { color: var(--brique); }
.note__stars { display: inline-flex; gap: 1px; }
.note strong { color: var(--encre); font-weight: 700; }
.note--clair, .note--clair strong { color: #fff; }
.note--clair .ico-star--vide { color: rgba(255,255,255,.35); }

@media (max-width: 900px) {
  .hero__in, .phero__in { grid-template-columns: minmax(0, 1fr); }
  .hero__media, .phero__media { order: -1; max-width: 520px; width: 100%; margin-inline: auto; }
  .arche, .phero .arche, .arche--large { aspect-ratio: 16 / 10.5; border-radius: 50% 50% 14px 14px / 34% 34% 14px 14px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--pierre { background: var(--pierre); }
.section--serre { padding-top: clamp(2rem, 4vw, 3rem); }
.section__tete { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 2rem; }
.section__tete h2 { margin: 0; max-width: 24ch; }
.section__tete p { max-width: 52ch; margin: 0; color: var(--encre-2); }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--brique); }

.deux { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.deux--centre { align-items: center; }
.deux--large { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
@media (max-width: 860px) { .deux, .deux--large { grid-template-columns: minmax(0, 1fr); } }

.photo { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--ombre); }
.photo img { width: 100%; }
.photo figcaption, .legende { font-size: .88rem; color: var(--encre-2); padding: .6rem .2rem 0; background: transparent; }
figure.photo-l { margin: 0; }
figure.photo-l img { border-radius: var(--r); box-shadow: var(--ombre); max-height: 520px; width: 100%; object-fit: cover; }

/* Liste à puces cochées */
.coche { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .55rem; }
.coche li { display: flex; gap: .6rem; align-items: flex-start; }
.coche li::before {
  content: ""; flex: none; width: 1.25rem; height: 1.25rem; margin-top: .18rem; border-radius: 50%;
  background: var(--vert-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F5A3D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* ---------- Projets (rangées-liens de l'accueil) ---------- */
.projets { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; border-top: 1px solid var(--pierre-ligne); }
.projets li { border-bottom: 1px solid var(--pierre-ligne); }
.projets a { display: grid; grid-template-columns: auto 1fr auto; gap: .2rem 1.1rem; align-items: center; padding: 1.35rem .25rem; text-decoration: none; color: var(--encre); }
.projets .ico-projet { width: 2.6rem; height: 2.6rem; padding: .55rem; border-radius: 50%; background: var(--vert-pale); color: var(--vert); grid-row: span 2; transition: background-color .3s var(--ease), color .3s var(--ease); }
.projets strong { font-family: var(--serif); font-size: 1.24rem; font-weight: 600; line-height: 1.2; }
.projets span { grid-column: 2; color: var(--encre-2); font-size: .97rem; }
.projets .ico-fleche { grid-column: 3; grid-row: 1 / span 2; color: var(--brique); transition: transform .3s var(--ease); }
.projets a:hover strong { color: var(--vert); }
.projets a:hover .ico-projet { background: var(--vert); color: #fff; }
.projets a:hover .ico-fleche { transform: translateX(5px); }
@media (max-width: 760px) { .projets { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Bandeau photo panoramique ---------- */
.panorama { position: relative; margin: 0; }
.panorama img { width: 100%; height: clamp(300px, 42vw, 560px); object-fit: cover; }
.panorama figcaption {
  position: absolute; left: 50%; bottom: clamp(1rem, 3vw, 2.2rem); transform: translateX(-50%);
  width: min(var(--wrap), 100% - 2.5rem);
}
.panorama figcaption p {
  display: inline-block; max-width: 34ch; margin: 0; background: rgba(255,255,255,.95); color: var(--encre);
  padding: 1.1rem 1.3rem; border-radius: var(--r); font-family: var(--serif); font-size: clamp(1.1rem, .9rem + .7vw, 1.45rem); line-height: 1.3; box-shadow: var(--ombre);
}

/* ---------- Gamme ---------- */
.gamme { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.gamme a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .1rem .8rem; text-decoration: none; color: var(--encre); background: #fff; border-radius: var(--r); padding: .7rem .7rem 1.1rem; box-shadow: 0 1px 0 var(--pierre-ligne); transition: box-shadow .35s var(--ease), transform .35s var(--ease); height: 100%; }
.gamme a:hover { box-shadow: var(--ombre); transform: translateY(-3px); }
.gamme__photo { grid-column: 1 / -1; display: block; border-radius: 9px; overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: .8rem; background: var(--pierre-2); }
.gamme__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gamme a:hover .gamme__photo img { transform: scale(1.04); }
.gamme__nom { grid-row: 2; grid-column: 1; padding-left: .35rem; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; align-self: baseline; }
.gamme__places { grid-row: 2; grid-column: 2; align-self: baseline; text-align: right; color: var(--encre-2); font-size: .92rem; padding-right: .35rem; white-space: nowrap; }
.gamme__places strong { font-family: var(--serif); font-size: 1.6rem; color: var(--brique); font-weight: 700; margin-right: .1rem; }
.gamme__usage { grid-column: 1 / -1; padding: 0 .35rem; color: var(--encre-2); font-size: .94rem; line-height: 1.45; }
@media (max-width: 960px) { .gamme { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .gamme { gap: .75rem; }
  .gamme a { grid-template-columns: minmax(0, 1fr); padding: .5rem .5rem .8rem; }
  .gamme__photo { margin-bottom: .5rem; }
  .gamme__places, .gamme__nom { grid-row: auto; grid-column: 1; text-align: left; padding: 0 .25rem; }
  .gamme__places strong { font-size: 1.35rem; }
  .gamme__nom { font-size: 1rem; line-height: 1.25; }
  .gamme__usage { display: none; }
}

/* ---------- 3 en 1 ---------- */
.trois { background: var(--vert-fonce); color: #E8EFE9; padding: clamp(3.5rem, 7vw, 6rem) 0; }
.trois h2 { color: #fff; }
.trois__tete { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.6rem; align-items: center; max-width: 820px; margin-bottom: 2.8rem; }
.trois__tete p { margin: 0; color: #C9D8CD; font-size: 1.1rem; max-width: 56ch; }
.trois__liste { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.18); }
.trois__item { padding: 1.6rem 1.8rem 0 0; }
.trois__item + .trois__item { padding-left: 1.8rem; border-left: 1px solid rgba(255,255,255,.18); }
.trois dt { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: #fff; margin-bottom: .6rem; }
.trois__eu { display: block; font-style: italic; font-size: .95rem; color: #E7A08F; font-weight: 600; margin-top: .1rem; }
.trois dd { margin: 0; color: #C9D8CD; line-height: 1.6; }
.embleme { width: 96px; height: auto; flex: none; }
.embleme circle { fill: none; stroke-width: 7; }
.embleme circle:nth-child(1) { stroke: #7FB08F; }
.embleme circle:nth-child(2) { stroke: #E7A08F; }
.embleme circle:nth-child(3) { stroke: #D9D3C4; }
.embleme--grand { width: 110px; }
@media (max-width: 820px) {
  .trois__liste { grid-template-columns: minmax(0, 1fr); }
  .trois__item, .trois__item + .trois__item { padding: 1.4rem 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .trois__tete { grid-template-columns: minmax(0, 1fr); }
  .embleme--grand { width: 84px; }
}

/* ---------- Faits (prose structurée, pas de chiffres géants) ---------- */
.faits { margin: 1.6rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 2rem; }
.faits div { border-top: 2px solid var(--brique); padding-top: .7rem; }
.faits dt { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--vert); }
.faits dd { margin: .1rem 0 0; color: var(--encre-2); font-size: .95rem; }
@media (max-width: 480px) { .faits { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Encadré d'information ---------- */
.encadre { background: var(--pierre); border-radius: var(--r); padding: 1.5rem 1.6rem; margin: 1.6rem 0; }
.encadre h3 { margin-top: 0; }
.encadre > :last-child { margin-bottom: 0; }
.encadre--vert { background: var(--vert-pale); }
.encadre--blanc { background: #fff; box-shadow: 0 1px 0 var(--pierre-ligne); }

/* ---------- Adresses, villes, liens ---------- */
.adresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.adresse { background: #fff; border-radius: var(--r); padding: 1.5rem; box-shadow: 0 1px 0 var(--pierre-ligne); }
.section--pierre .adresse { box-shadow: none; }
.adresse h3 { margin-top: 0; }
.adresse p { margin: 0 0 .55rem; display: flex; gap: .5rem; align-items: flex-start; }
.adresse p:first-of-type { display: block; }
.adresse .ico { color: var(--vert); margin-top: .2em; }
@media (max-width: 700px) { .adresses { grid-template-columns: minmax(0, 1fr); } }

.villes { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.villes a { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--pierre-ligne); text-decoration: none; color: var(--encre); font-weight: 500; transition: border-color .25s, color .25s; }
.villes a:hover { border-color: var(--vert); color: var(--vert); }
.villes .ico { color: var(--brique); }

.liens { margin-top: 1rem; }
.liens__titre { font-size: 1.5rem; }
.liens ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 2rem; border-top: 1px solid var(--pierre-ligne); }
.liens li { border-bottom: 1px solid var(--pierre-ligne); }
.liens a { display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; padding: 1rem .2rem; text-decoration: none; color: var(--encre); }
.liens strong { font-weight: 600; }
.liens span { grid-column: 1; color: var(--encre-2); font-size: .93rem; }
.liens .ico { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--brique); transition: transform .3s var(--ease); }
.liens a:hover strong { color: var(--vert); }
.liens a:hover .ico { transform: translateX(4px); }

/* ---------- Avis (bloc dédié : note seulement) ---------- */
.avis { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: center; background: #fff; border-radius: var(--r); padding: 1.6rem 1.8rem; box-shadow: 0 1px 0 var(--pierre-ligne); }
.avis__note { font-family: var(--serif); font-size: 3rem; font-weight: 700; line-height: 1; color: var(--vert); }
.avis__note small { font-size: 1.2rem; color: var(--encre-2); }
.avis h2 { font-size: 1.45rem; margin: 0 0 .2rem; }
.avis p { margin: 0; color: var(--encre-2); }
@media (max-width: 720px) { .avis { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--pierre-ligne); }
.faq__item { border-bottom: 1px solid var(--pierre-ligne); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem .2rem; font-weight: 600; font-size: 1.07rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--vert); }
.faq__plus { flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--pierre); color: var(--brique); transition: transform .35s var(--ease), background-color .3s; }
.faq__item[open] .faq__plus { transform: rotate(45deg); background: var(--brique-pale); }
.faq__r { padding: 0 .2rem 1.2rem; color: var(--encre-2); max-width: 66ch; }
.faq__r p:last-child { margin: 0; }

/* ---------- CTA de fin de page ---------- */
.cta { background: var(--vert); color: #E8EFE9; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.2rem 2.2rem; align-items: center; }
.cta h2 { color: #fff; margin-bottom: .3rem; }
.cta p { margin: 0; color: #D3E2D7; max-width: 52ch; }
.cta__btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta__info { grid-column: 2 / -1; font-size: .9rem; color: #B9CDBF !important; }
.embleme--cta { width: 78px; }
.cta .embleme circle:nth-child(1) { stroke: #A9CBB3; }
@media (max-width: 960px) {
  .cta__in { grid-template-columns: minmax(0, 1fr); }
  .cta__info { grid-column: 1; }
  .embleme--cta { width: 64px; }
}

/* ---------- Flotte (page dédiée) ---------- */
.vehicule { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--pierre-ligne); }
.vehicule:first-of-type { border-top: 0; }
.vehicule__galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.vehicule__galerie img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; aspect-ratio: 4 / 3; cursor: zoom-in; }
.vehicule__galerie .grand { grid-column: 1 / -1; }
.vehicule__galerie .grand img { aspect-ratio: 16 / 9; }
.vehicule__places { font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: var(--brique); font-weight: 700; margin-bottom: .2rem; }
.vehicule__places span { font-size: 1.1rem; color: var(--encre-2); font-weight: 600; margin-left: .3rem; }
@media (max-width: 860px) { .vehicule { grid-template-columns: minmax(0, 1fr); } }

/* Visionneuse */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(12, 26, 18, .92); display: grid; place-items: center; padding: 2rem; }
.lb[hidden] { display: none; }
.lb img { max-height: 88vh; width: auto; border-radius: 8px; }
.lb__close { position: absolute; top: 1rem; right: 1rem; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; display: grid; place-items: center; }

/* ---------- Documents ---------- */
.docs { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.docs a { display: flex; align-items: center; gap: .8rem; padding: .9rem 1.1rem; border-radius: 10px; background: #fff; border: 1px solid var(--pierre-ligne); text-decoration: none; color: var(--encre); font-weight: 500; }
.docs a:hover { border-color: var(--vert); color: var(--vert); }
.docs .ico { color: var(--brique); }
.docs small { margin-left: auto; color: var(--encre-2); font-weight: 400; }

/* ---------- Formulaires ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.2rem; background: #fff; border-radius: var(--r); padding: clamp(1.3rem, 3vw, 2.2rem); box-shadow: var(--ombre); }
.form fieldset { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: inherit; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.2rem; }
.form legend { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; margin-bottom: .6rem; padding: 0; }
.form .plein { grid-column: 1 / -1; }
.champ { display: grid; gap: .35rem; }
.champ label { font-weight: 600; font-size: .95rem; }
.champ label small { font-weight: 400; color: var(--encre-2); }
.champ input, .champ select, .champ textarea {
  width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--pierre-ligne); border-radius: 10px; background: #FCFCFA;
  transition: border-color .2s, box-shadow .2s; min-height: 48px;
}
.champ textarea { min-height: 120px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--vert); box-shadow: 0 0 0 3px rgba(31, 90, 61, .18); background: #fff; }
.champ input::placeholder, .champ textarea::placeholder { color: #737D76; }
.champ input:user-invalid, .champ select:user-invalid { border-color: var(--brique); }
.rgpd { grid-column: 1 / -1; display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--encre-2); }
.rgpd input { width: 1.25rem; height: 1.25rem; margin-top: .15rem; accent-color: var(--vert); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__envoi { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form__msg { grid-column: 1 / -1; margin: 0; padding: .9rem 1rem; border-radius: 10px; font-weight: 500; }
.form__msg[hidden] { display: none; }
.form__msg.ok { background: var(--vert-pale); color: var(--vert-fonce); }
.form__msg.err { background: var(--brique-pale); color: var(--brique-fonce); }
@media (max-width: 640px) { .form, .form fieldset { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Tableaux ---------- */
.tableau { overflow-x: auto; margin: 1.2rem 0 1.4rem; border-radius: var(--r); border: 1px solid var(--pierre-ligne); }
.tableau table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
.tableau th, .tableau td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--pierre-ligne); }
.tableau thead th { background: var(--vert); color: #fff; font-weight: 600; }
.tableau tbody tr:nth-child(even) { background: #F7F6F2; }
.tableau tbody tr:last-child td { border-bottom: 0; }

/* ---------- Plan du site ---------- */
.plan { columns: 2 300px; gap: 3rem; }
.plan section { break-inside: avoid; margin-bottom: 2rem; }
.plan ul { padding-left: 1.1em; }

/* ---------- Pied de page ---------- */
.foot { background: var(--vert-fonce); color: #C9D8CD; padding: clamp(3rem, 6vw, 4.5rem) 0 0; font-size: .96rem; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: #F2B9AA; text-decoration: underline; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.foot__marque img { width: 200px; margin-bottom: 1.1rem; }
.foot__marque p { max-width: 40ch; }
.foot__h { font-family: var(--sans); font-size: .9rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9FBCA8; margin: 0 0 1rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.foot address { font-style: normal; margin-bottom: 1rem; line-height: 1.55; }
.foot address strong { color: #fff; font-weight: 600; }
.foot__petit { font-size: .88rem; color: #9FBCA8; }
.foot__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.14); font-size: .88rem; }
.foot__bas p { margin: 0; }
.foot__liens { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; align-items: center; }
@media (max-width: 980px) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Barre d'appel mobile ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: .55rem .6rem calc(.55rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--pierre-ligne);
    box-shadow: 0 -8px 24px -12px rgba(19, 59, 40, .3);
  }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 50px; border-radius: 999px; font-weight: 700; text-decoration: none; }
  .mbar__tel { background: var(--vert-pale); color: var(--vert-fonce); }
  .mbar__devis { background: var(--brique); color: #fff; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .head, .mbar, .foot, .cta, .burger { display: none !important; }
}

/* Listes de définitions dans la prose */
.prose dl dt { margin-top: 1rem; }
.prose dl dd { margin: .2rem 0 0; color: var(--encre-2); }
.encadre h3 .ico { color: var(--brique); margin-right: .2rem; }
aside .encadre + .encadre, aside > h3 { margin-top: 1.2rem; }
