/* ==========================================================================
   Ets Bernardon, Aubigny-sur-Nère (Cher) : 27/11/2026
   Base technique du site Duplaa (en-tête à sous-menus, rayons en pastilles,
   grandes cartes photo, services à vignettes, trajets OSRM), reprise du site
   Tessé Motoculture avec ses correctifs du 27/11, identité propre du magasin :
   - le vrai logo « Ets BERNARDON MOTOCULTURE » redessiné à l'identique en SVG
     (lettrage Open Sans, cadre ouvert gris, emblème « herbe » aux deux verts) ;
   - palette tirée de la façade et du logo : blanc cassé du bardage, crème du
     soubassement, ardoise de la plaque d'enseigne « ETS BERNARDON », vert foncé
     de l'emblème (boutons, texte blanc 5,1:1), vert vif des liserés de façade ;
   - Source Serif 4 (titres) et Mulish (texte), auto-hébergées ;
   - signature « l'enseigne » : le cadre ouvert du logo (filet haut et gauche,
     qui se referme sous le texte) autour du titre de l'accueil, la plaque
     ardoise de l'enseigne pour les accroches, le liseré vert vif de la façade
     en tête des blocs sombres et du pied de page.
   ========================================================================== */

@font-face { font-family: 'Source Serif 4'; src: url(/fonts/source-serif-4-roman-var.woff2) format('woff2-variations'), url(/fonts/source-serif-4-roman-var.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-italic-var.woff2) format('woff2-variations'), url(/fonts/source-serif-4-italic-var.woff2) format('woff2');
  font-weight: 400 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Mulish'; src: url(/fonts/mulish-roman-var.woff2) format('woff2-variations'), url(/fonts/mulish-roman-var.woff2) format('woff2');
  font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mulish Fallback'; src: local('Arial'), local('Liberation Sans'), local('Helvetica'); size-adjust: 103%; ascent-override: 98%; descent-override: 25%; }
@font-face { font-family: 'Serif Fallback'; src: local('Georgia'), local('DejaVu Serif'), local('Times New Roman'); size-adjust: 98%; ascent-override: 92%; descent-override: 30%; }

:root {
  --fond: #F6F5F0;           /* blanc cassé du bardage */
  --blanc: #FFFFFF;
  --gris: #ECEAE2;           /* blocs clairs */
  --gris-2: #DCD9CE;         /* filets */
  --seve: #E5EEDD;           /* vert pâle des liserés de façade : blocs robots, accès */
  --creme: #F3EBD6;          /* crème du soubassement de la façade */
  --encre: #22282B;          /* ardoise foncée */
  --encre-2: #50585C;        /* texte secondaire (7:1 sur le fond) */
  --facade: #3A4245;         /* ardoise de la plaque d'enseigne : bandeau, bloc atelier */
  --facade-2: #485053;
  --rouge: #008037;          /* vert foncé de l'emblème du logo : boutons (texte blanc 5,1:1) */
  --rouge-fonce: #006A2D;
  --lien: #0A6B30;           /* liens dans le texte */
  --rouge-pale: #DDEBD8;
  --lime: #6DBE4F;           /* vert vif des liserés de façade : touches, filets, fond sombre */
  --miel: #E3A21A;           /* étoiles */
  --trait: rgb(34 40 43 / .11);
  --trait-fort: rgb(34 40 43 / .22);
  --ombre-douce: 0 12px 34px rgb(34 40 43 / .08);

  --f: 'Mulish', 'Mulish Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-titre: 'Source Serif 4', 'Serif Fallback', Georgia, serif;

  --t-h1: clamp(2.45rem, 1.7rem + 3vw, 4.1rem);
  --t-h2: clamp(1.85rem, 1.45rem + 1.45vw, 2.75rem);
  --t-h3: clamp(1.12rem, 1.06rem + .28vw, 1.26rem);
  --t-lead: clamp(1.1rem, 1.04rem + .26vw, 1.22rem);
  --t-petit: .92rem;

  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4rem;
  --pad: clamp(3.5rem, 2.4rem + 3.6vw, 6rem);
  --tete: clamp(1.75rem, 1.4rem + 1.4vw, 2.75rem);
  --r: 20px;
  --r-bloc: 28px;
  --r-d: 28px;
  --r-champ: 12px;
  --marge: 16px;
  --gout: 1.25rem;
  --wrap: 76rem;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (max-width: 760px) { :root { --marge: 0px; --r: 18px; --r-bloc: 24px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6.5rem;
  scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom)); background: var(--fond); }
body { margin: 0; font-family: var(--f); font-size: 1.06rem; line-height: 1.66; color: var(--encre); background: var(--fond);
  font-weight: 400; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
@media (min-width: 900px) { body { font-size: 1.1rem; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--lien); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .2s, text-decoration-color .2s; }
a:hover { color: var(--encre); }
p, ul, ol, figure, address, dl { margin: 0; }
address { font-style: normal; }
:where(ul[class], ol[class]) { list-style: none; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--encre); text-wrap: balance; }
h1, h2, .titre-section { font-family: var(--f-titre); font-weight: 560; letter-spacing: -.018em; font-optical-sizing: auto; }
h1 { font-size: var(--t-h1); line-height: 1.03; }
h2, .titre-section { font-size: var(--t-h2); line-height: 1.08; }
h3, h4 { font-weight: 600; letter-spacing: -.005em; }
h3 { font-size: var(--t-h3); line-height: 1.3; }
h4 { font-size: 1.08rem; line-height: 1.35; }
p { text-wrap: pretty; }
:where(p) + :where(p) { margin-top: var(--s-4); }
strong { font-weight: 560; }
::selection { background: var(--rouge-pale); color: var(--encre); }
:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; border-radius: 6px; }
.nw { white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 99; background: var(--encre); color: #fff; padding: .75rem 1rem; font-weight: 600; border-radius: 999px; }
.skip:focus { left: 1rem; top: 1rem; }
.wrap { width: min(100% - 2 * var(--gout), var(--wrap)); margin-inline: auto; }
.ico { width: 1.1em; height: 1.1em; flex: none; }
.ico-star { color: var(--miel); }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--encre); max-width: 38em; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.apres, .apres-p { margin-top: var(--s-5); }
.centre { text-align: center; margin-top: var(--s-6); }
.sous-titre { margin-top: var(--s-7); font-size: var(--t-h3); }
.lien-fort { display: inline-flex; align-items: center; gap: .4em; font-weight: 560; text-decoration: none; color: var(--lien); min-height: 44px; }
.lien-fort .ico { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.lien-fort:hover { color: var(--encre); }
.lien-fort:hover .ico { transform: translateX(3px); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.titre-centre { text-align: center; max-width: 26em; margin-inline: auto; }

/* Tête de section : titre + chapeau, puis un écart fixe avant le contenu */
.tete-section { max-width: 46rem; margin-bottom: var(--tete); }
.tete-section > p { margin-top: var(--s-4); color: var(--encre-2); }
.tete-section > .titre-section { margin-top: 0; color: var(--encre); }
.tete-section--ligne { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-4) var(--s-7); }
.tete-section--ligne > h2 { flex: 1 1 22rem; max-width: 22em; }
.tete-section--ligne > p { flex: 0 1 32rem; margin-top: 0; }

/* ---------- Boutons : pilule rouge, un seul style ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; padding: .75rem 1.5rem;
  border-radius: 999px; border: 1.5px solid var(--rouge); background: var(--rouge); color: #fff;
  font: inherit; font-weight: 560; font-size: 1.02rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn:hover { background: var(--facade); border-color: var(--facade); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn .ico { width: 1.05em; height: 1.05em; }
.btn--ligne { background: transparent; color: var(--encre); border-color: var(--trait-fort); }
.btn--ligne:hover { background: var(--blanc); color: var(--encre); border-color: var(--encre); }
.btn--verre { background: #fff; color: var(--encre); border-color: #fff; }
.btn--verre .ico { color: var(--lien); }
.btn--verre:hover { background: #fff; color: var(--encre); border-color: #fff; box-shadow: 0 0 0 4px rgb(255 255 255 / .25); }
.btn--petit { min-height: 42px; padding: .45rem 1.1rem; font-size: .95rem; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- Note Google ---------- */
.note { display: inline-flex; align-items: center; gap: .4em; text-decoration: none; color: var(--encre); font-size: .98rem; line-height: 1.2; min-height: 44px; }
.note strong { font-weight: 560; }
.note span { color: var(--encre-2); text-decoration: underline; text-decoration-color: var(--trait-fort); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.note:hover span { color: var(--lien); text-decoration-color: currentColor; }
.note--grande { font-size: 1.12rem; }
.note--grande .ico { width: 1.25em; height: 1.25em; }

/* ==========================================================================
   EN-TÊTE : lettrage d'enseigne, menu à sous-menus, recherche, téléphone, devis
   ========================================================================== */
.head { position: sticky; top: 0; z-index: 50; background: var(--blanc); border-bottom: 1px solid var(--gris-2); }
.head__in { display: flex; align-items: center; gap: var(--s-5); min-height: 80px; }
.logo { display: block; flex: none; line-height: 0; border-radius: 4px; }
.logo img { height: 44px; width: auto; transition: opacity .2s; }
.logo:hover img { opacity: .86; }

.nav__liste { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__item > a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 .65rem; color: var(--encre);
  font-weight: 560; font-size: 1.02rem; text-decoration: none; transition: color .2s; }
.nav__item > a::after { content: ""; position: absolute; left: .65rem; right: .65rem; bottom: 5px; height: 3px; border-radius: 3px; background: var(--rouge);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__item--sous > a { padding-right: .15rem; }
.nav__item--sous > a::after { right: .15rem; }
.nav__item > a:hover, .nav__item > a[aria-current="page"] { color: var(--encre); }
.nav__item > a[aria-current="page"]::after, .nav__item > a:hover::after { transform: none; }
.nav__ouvrir { display: inline-grid; place-content: center; width: 28px; height: 44px; padding: 0; border: 0; background: none; color: var(--encre-2); cursor: pointer; }
.nav__ouvrir svg { width: 16px; height: 16px; transition: transform .2s; }
.nav__sous { position: absolute; top: calc(100% + 8px); left: -.5rem; z-index: 60; min-width: 20rem; padding: .5rem; border-radius: 18px; background: var(--blanc);
  box-shadow: 0 18px 48px rgb(27 28 29 / .14), 0 0 0 1px var(--trait); visibility: hidden; opacity: 0; transform: translateY(4px);
  transition: opacity .18s, transform .18s, visibility 0s .18s; }
.nav__sous::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__sous ul { list-style: none; margin: 0; padding: 0; }
.nav__sous a { display: flex; align-items: center; min-height: 44px; padding: .45rem .9rem; border-radius: 12px; color: var(--encre); text-decoration: none; font-weight: 400; font-size: .98rem; }
.nav__sous a:hover, .nav__sous a[aria-current="page"] { background: var(--gris); color: var(--encre); }
@media (min-width: 1180px) {
  .nav__item--sous:hover .nav__sous, .nav__item--sous:focus-within .nav__sous, .nav__item--sous.ouvert .nav__sous {
    visibility: visible; opacity: 1; transform: none; transition: opacity .18s, transform .18s; }
  .nav__item--sous:hover .nav__ouvrir svg, .nav__item--sous.ouvert .nav__ouvrir svg { transform: rotate(180deg); }
}
.nav__extra { display: none; }

/* Recherche */
.cherche { position: relative; flex: 1 1 13rem; max-width: 18rem; display: none; margin-left: auto; }
html.js .cherche { display: block; }
.cherche__ico { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--encre-2); pointer-events: none; }
.cherche input { width: 100%; min-height: 46px; padding: .55rem 1rem .55rem 2.7rem; border: 1px solid var(--gris-2); border-radius: 999px; background: var(--fond);
  font: inherit; font-size: .97rem; color: var(--encre); -webkit-appearance: none; appearance: none; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.cherche input::placeholder { color: #6E6964; }
.cherche input:hover { border-color: var(--trait-fort); }
.cherche input:focus { outline: none; background: var(--blanc); border-color: var(--rouge); box-shadow: 0 0 0 4px rgb(0 128 55 / .16); }
.cherche input::-webkit-search-cancel-button { -webkit-appearance: none; }
.cherche__res { position: absolute; z-index: 70; top: calc(100% + 8px); left: 0; right: 0; min-width: min(24rem, calc(100vw - 2.5rem)); max-height: min(70vh, 26rem); overflow-y: auto;
  padding: .4rem; margin: 0; list-style: none; border-radius: 18px; background: var(--blanc); box-shadow: 0 18px 48px rgb(27 28 29 / .16), 0 0 0 1px var(--trait); }
.cherche__res a { display: grid; gap: .1rem; padding: .6rem .85rem; border-radius: 12px; color: var(--encre); text-decoration: none; line-height: 1.35; }
.cherche__res a small { color: var(--encre-2); font-size: .85rem; }
.cherche__res a:hover, .cherche__res [aria-selected="true"] a { background: var(--gris); }
.cherche__res mark { background: var(--rouge-pale); color: var(--encre); font-weight: 560; }
.cherche__vide { padding: .7rem .85rem; color: var(--encre-2); font-size: .95rem; }

.head__actions { display: flex; align-items: center; gap: var(--s-4); flex: none; }
.head__tel { display: inline-flex; align-items: center; gap: .55rem; color: var(--encre); text-decoration: none; min-height: 44px; }
.head__tel .ico { width: 20px; height: 20px; color: var(--lien); }
.head__tel-txt { display: grid; line-height: 1.15; }
.head__tel-txt strong { font-weight: 560; font-size: 1.02rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.head__tel-txt small { font-size: .8rem; color: var(--encre-2); }
.head__tel:hover strong { color: var(--lien); }
.burger { display: none; }

/* ---------- Fil d'Ariane ---------- */
.fil { font-size: var(--t-petit); padding-block: var(--s-4) var(--s-3); color: var(--encre-2); }
.fil ol { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .45rem; list-style: none; padding: 0; margin: 0; line-height: 1.4; }
.fil li + li::before { content: "/"; margin-right: .45rem; color: var(--trait-fort); }
.fil a { color: inherit; text-decoration-color: var(--trait-fort); }
.fil a:hover { color: var(--lien); text-decoration-color: currentColor; }

/* ---------- Sections et blocs ---------- */
.section { padding-block: var(--pad); }
/* Blocs gris (bardage) : arrondis, bords alignés sur la colonne de texte + 3rem en grand écran, pleine largeur sur mobile */
.section--gris, .section--papier, .bloc, .etapes { --bord: max(var(--marge), calc((100% - var(--wrap)) / 2 - 3rem));
  margin-inline: var(--bord); border-radius: var(--r-bloc); background: var(--gris); }
.section--gris > .wrap, .section--papier > .wrap, .bloc > .wrap, .etapes > .wrap { width: min(100% - 2 * max(var(--gout) - var(--marge), 1.25rem), var(--wrap)); }
@media (min-width: 761px) { .section--gris > .wrap, .section--papier > .wrap, .bloc > .wrap, .etapes > .wrap { width: min(100% - 2 * clamp(1.5rem, 4vw, 3rem), var(--wrap)); } }
:is(.section--gris, .section--papier, .bloc, .etapes) + :is(.section--gris, .section--papier, .bloc, .etapes) { margin-top: var(--s-4); }
.section:not(.section--gris):not(.section--papier):not(.bloc):not(.etapes) + .section:not(.section--gris):not(.section--papier):not(.bloc):not(.etapes) { padding-top: 0; }
h2 + p, h2 + .lead, h2 + ul, h2 + .liens, h2 + .engag { margin-top: var(--s-5); }
p + .liens { margin-top: var(--s-5); }
h2 + .rayons { margin-top: var(--s-5); }

.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--haut { align-items: start; } }
.photo { position: relative; }
.photo img { width: 100%; object-fit: cover; border-radius: var(--r); }
.photo--marge { margin-bottom: var(--s-4); }
.photo--marge img { aspect-ratio: 4 / 3; object-position: 50% 60%; }
.photo--haute img { aspect-ratio: 5 / 4; object-position: 50% 40%; }

/* Listes de caractéristiques : nom + description, filet fin entre les lignes */
.rayons { display: grid; gap: 0 var(--s-7); margin-top: var(--s-5); }
@media (min-width: 640px) { .rayons { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .rayons--3 { grid-template-columns: repeat(3, 1fr); } }
.rayons li { padding: var(--s-4) 0; border-top: 1px solid var(--trait); }
.rayons strong { display: block; color: var(--encre); font-weight: 520; }
.rayons span { display: block; color: var(--encre-2); font-size: 1rem; margin-top: 2px; }

/* Liens cliquables en cartes blanches (rayons du magasin, équipements de l'atelier) */
.liens { display: grid; gap: var(--s-3); }
.liens a { position: relative; display: grid; gap: .15rem; min-height: 64px; padding: 1.05rem 3rem 1.05rem 1.25rem; border-radius: 16px; background: var(--blanc);
  color: var(--encre); text-decoration: none; box-shadow: 0 0 0 1px var(--trait); transition: box-shadow .25s var(--ease); }
.liens__nom { font-weight: 520; font-size: 1.08rem; color: var(--encre); line-height: 1.3; }
.liens__txt { color: var(--encre-2); font-size: .97rem; line-height: 1.5; }
.liens__fl { position: absolute; right: 1.15rem; top: 50%; width: 1.1rem; height: 1.1rem; margin-top: -.55rem; color: var(--lien); transition: transform .25s var(--ease); }
.liens a:hover { box-shadow: 0 0 0 1.5px var(--encre), var(--ombre-douce); }
.liens a:hover .liens__nom { color: var(--encre); }
.liens a:hover .liens__fl { transform: translateX(4px); }
@media (min-width: 760px) { .liens--grille { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .liens--grille { grid-template-columns: repeat(3, 1fr); } }
.liens a.liens--img { grid-template-columns: 72px minmax(0, 1fr); column-gap: 1.1rem; align-content: center; padding-left: 1rem; }
.liens__img { grid-row: span 2; width: 64px; height: 64px; object-fit: cover; border-radius: 50%; align-self: center; }

/* Texte long */
.prose { max-width: 40em; }
.prose > * + * { margin-top: var(--s-4); }
.prose h2 { margin-top: var(--s-7); }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s-6); }
.prose h2 + p, .prose h3 + p { margin-top: var(--s-3); }
.prose h2 + p { margin-top: var(--s-5); }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li + li { margin-top: .4rem; }
.prose li::marker { color: var(--rouge); }

.encart { background: var(--blanc); border-radius: var(--r); padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); box-shadow: 0 0 0 1px var(--trait); }
.encart > * + * { margin-top: var(--s-3); }
.encart h3 + p { margin-top: var(--s-3); }

.faits { background: var(--blanc); border-radius: var(--r); padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); box-shadow: 0 0 0 1px var(--trait); }
.faits ul { list-style: none; padding: 0; margin-top: var(--s-3); display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s-5); }
.faits li { padding: .6rem 0; border-top: 1px solid var(--trait); font-weight: 600; }

/* Trois ou quatre colonnes de texte à filet (dépannage, déroulement) */
.engag, .etapes__liste { display: grid; gap: var(--s-5) var(--s-6); margin-top: var(--tete); }
@media (min-width: 760px) { .engag { grid-template-columns: repeat(3, 1fr); } }
.engag li, .etapes__liste li { padding-top: var(--s-4); border-top: 2px solid var(--encre); }
.engag li:first-child, .etapes__liste li:first-child { border-top-color: var(--rouge); }
.engag p, .etapes__liste p { margin-top: var(--s-2); color: var(--encre-2); font-size: 1rem; }

.a-completer { display: inline-block; padding: .35rem .8rem; border: 1px dashed #B0803A; border-radius: 10px;
  background: #FFF6E6; color: #6B4510; font-size: .9rem; font-weight: 400; line-height: 1.45; }

/* ==========================================================================
   ACCUEIL
   ========================================================================== */
.atete { padding-block: clamp(2.25rem, 1.6rem + 2.6vw, 4rem) 0; }
.atete__in { text-align: center; }
.atete h1 { max-width: 15em; margin-inline: auto; }
.atete__sous { margin: var(--s-4) auto 0; max-width: 36em; font-size: var(--t-lead); line-height: 1.5; color: var(--encre); }
.atete__preuves { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 var(--s-5); margin-top: var(--s-3); color: var(--encre-2); font-size: .98rem; }
.atete__preuves li { display: flex; align-items: center; min-height: 44px; }
.atete__preuves li + li::before { content: ""; width: 1px; height: 1em; background: var(--trait-fort); margin-right: var(--s-5); }

/* Rangée de rayons : une étagère de produits détourés, cases séparées par des filets */
.rangee { position: relative; margin-top: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
.rangee__liste { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin: 0; padding: 0; list-style: none;
  border: 1px solid var(--gris-2); border-radius: var(--r); background: var(--blanc); }
.rangee__liste::-webkit-scrollbar { display: none; }
.rangee__liste li { flex: 1 0 112px; scroll-snap-align: start; }
.rangee__liste li + li { border-left: 1px solid var(--gris-2); }
.rangee__liste a { display: grid; justify-items: center; align-content: start; gap: .5rem; height: 100%; padding: 1rem .35rem .9rem; color: var(--encre); text-decoration: none; text-align: center;
  transition: background-color .2s; }
.rangee__rond { display: block; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: var(--gris); box-shadow: 0 0 0 3px var(--blanc), 0 0 0 4px var(--gris-2); transition: box-shadow .25s var(--ease); }
.rangee__rond img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.rangee__lib { font-size: .95rem; font-weight: 560; line-height: 1.2; }
.rangee__liste a:hover { background: var(--fond); }
.rangee__liste a:hover img { transform: scale(1.08); }
.rangee__liste a:hover .rangee__rond { box-shadow: 0 0 0 3px var(--blanc), 0 0 0 5px var(--rouge); }
.rangee__liste li:first-child a { border-radius: var(--r) 0 0 var(--r); }
.rangee__liste li:last-child a { border-radius: 0 var(--r) var(--r) 0; }
.rangee__fl { position: absolute; top: 50%; margin-top: -20px; z-index: 2; display: grid; place-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
  background: var(--blanc); color: var(--encre); box-shadow: var(--ombre-douce), 0 0 0 1px var(--trait); cursor: pointer; right: -14px; }
.rangee__fl--g { left: -14px; right: auto; }
.rangee__fl--g .ico { transform: rotate(180deg); }
.rangee__fl[hidden] { display: none; }
.rangee__fl:hover { color: var(--lien); }

/* Mosaïque de grandes cartes photo (les quatre portes d'entrée) */
.mosaique { padding-block: var(--s-4) 0; }
.mosaique__grille { display: grid; gap: var(--s-4); }
.carte-photo { position: relative; display: block; min-height: 16rem; border-radius: var(--r); overflow: hidden; isolation: isolate; color: #fff; text-decoration: none; background: var(--facade); }
.carte-photo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.carte-photo::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(34 40 43 / 0) 32%, rgb(34 40 43 / .55) 62%, rgb(30 36 38 / .88) 100%); }
.carte-photo__txt { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: .35rem; padding: clamp(1.15rem, .9rem + 1vw, 1.75rem); }
.carte-photo__titre { font-family: var(--f-titre); font-weight: 560; font-size: clamp(1.6rem, 1.35rem + .9vw, 2.15rem); line-height: 1.06; letter-spacing: -.015em; max-width: 14em; text-wrap: balance; }
.carte-photo__lien { display: inline-flex; align-items: center; gap: .45em; font-weight: 560; font-size: .98rem; color: #fff; opacity: .92; }
.carte-photo__lien .ico { width: 1em; height: 1em; color: var(--lime); transition: transform .25s var(--ease); }
.carte-photo:hover { color: #fff; }
.carte-photo:hover img { transform: scale(1.035); }
.carte-photo:hover .carte-photo__lien { opacity: 1; text-decoration: underline; text-underline-offset: .2em; }
.carte-photo:hover .carte-photo__lien .ico { transform: translateX(4px); }
.carte-photo:focus-visible { outline-offset: 4px; }
@media (min-width: 761px) { .mosaique__grille { grid-template-columns: 1fr 1fr; } .carte-photo { min-height: 18rem; } }
@media (min-width: 1000px) {
  .mosaique__grille { grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: repeat(2, clamp(14rem, 10rem + 7vw, 18rem)); }
  .carte-photo { min-height: 0; }
  .carte-photo--haute { grid-row: span 2; }
  .mosaique__grille > :nth-child(4) { grid-column: 3; grid-row: 1 / span 2; }
}
.carte-photo:nth-child(1) img { object-position: 72% 60%; }
.carte-photo:nth-child(2) img { object-position: 50% 40%; }
.carte-photo:nth-child(3) img { object-position: 35% 55%; }
.carte-photo:nth-child(4) img { object-position: 50% 60%; }

/* Atouts : grande photo réelle + quatre atouts en texte à filets */
.atouts__grille { display: grid; gap: var(--s-7) clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (min-width: 900px) { .atouts__grille { grid-template-columns: .9fr 1.1fr; } }
.atouts__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 45% 50%; border-radius: var(--r); }
@media (max-width: 899px) { .atouts__photo img { aspect-ratio: 16 / 10; } }
.atouts__liste { display: grid; gap: 0 var(--s-6); margin-top: var(--tete); }
@media (min-width: 640px) { .atouts__liste { grid-template-columns: 1fr 1fr; } }
.atout { padding-block: var(--s-4) var(--s-5); border-top: 1px solid var(--trait-fort); }
.atout p { margin-top: var(--s-2); color: var(--encre-2); font-size: 1rem; }
.atout p a { font-weight: 600; white-space: nowrap; }

/* Prestations une par une : lignes façon catalogue, photo carrée + titre + texte */
.presta__grille { display: grid; gap: 0 var(--s-7); }
@media (min-width: 900px) { .presta__grille { grid-template-columns: 1fr 1fr; } }
.presta__item { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 1.25rem; align-items: start; padding-block: var(--s-5);
  border-top: 1px solid var(--trait-fort); }
@media (min-width: 900px) { .presta__item:nth-child(-n+2) { border-top-color: transparent; padding-top: 0; } }
.presta__img { border-radius: 14px; overflow: hidden; background: var(--gris-2); }
.presta__img img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform .6s var(--ease); }
.presta__item h3 { font-family: var(--f); font-size: var(--t-h3); font-weight: 560; line-height: 1.3; letter-spacing: -.005em; }
.presta__item h3 a { color: var(--encre); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .2em; }
.presta__item h3 a::after { content: ""; position: absolute; inset: 0; }
.presta__item p { margin-top: .35rem; color: var(--encre-2); font-size: 1rem; line-height: 1.55; }
.presta__item:hover h2 a { color: var(--lien); text-decoration-color: currentColor; }
.presta__item:hover .presta__img img { transform: scale(1.05); }
.presta__item:focus-within { outline: 2px solid var(--encre); outline-offset: 6px; border-radius: 6px; }
.presta__item h3 a:focus-visible { outline: none; }

/* Galerie de l'atelier (photos de sa page Facebook) */
.galerie { display: grid; gap: var(--s-3); grid-template-columns: repeat(2, 1fr); }
.galerie__p { border-radius: var(--r); overflow: hidden; background: var(--gris); }
.galerie__p img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.galerie__p:hover img { transform: scale(1.03); }
.galerie__p--1 { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .galerie { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(11rem, 6rem + 8vw, 15rem); gap: var(--s-4); }
  .galerie__p img { aspect-ratio: auto; }
  .galerie__p--1 { grid-column: 1 / span 2; grid-row: span 2; }
  .galerie__p--4 img { object-position: 50% 30%; }
  .galerie__p--5 img { object-position: 50% 60%; }
}

/* Accès : texte + photo de la route landaise */
.acces__grille { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .acces__grille { grid-template-columns: 1fr 1fr; } }
.acces__txt .lead { margin-top: var(--s-5); }
.acces__txt p:not(.lead):not(.actions) { margin-top: var(--s-4); color: var(--encre-2); }
.acces__txt .acces__horaires { color: var(--encre); }
.acces__photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 60%; border-radius: var(--r); }

/* Distances par la route */
.distances { display: grid; gap: 0 var(--s-7); margin-top: var(--s-7); }
@media (min-width: 760px) { .distances { grid-template-columns: repeat(3, 1fr); } }
.distances__titre { margin-top: var(--s-7); }
.distances__titre + .distances { margin-top: var(--s-5); }
.distances__groupe { padding-block: var(--s-4) var(--s-5); border-top: 2px solid var(--encre); }
.distances__h { font-size: var(--t-h3); margin-bottom: var(--s-2); }
.distances ul { list-style: none; padding: 0; margin: 0; }
.distances li { display: flex; align-items: baseline; gap: .5rem; padding: .38rem 0; border-bottom: 1px solid var(--trait); }
.distances__pts { flex: 1; }
.distances__km { font-variant-numeric: tabular-nums; font-weight: 520; white-space: nowrap; }
.distances__note { margin-top: var(--s-2); font-size: var(--t-petit); color: var(--encre-2); }

/* Marques : rangée fixe de logos */
.marques__tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3) var(--s-6); max-width: none; }

/* Guides en cartes : photo, titre dessous, carte entière cliquable */
.gcartes { display: grid; gap: var(--s-6) var(--s-5); }
@media (min-width: 760px) { .gcartes { grid-template-columns: repeat(3, 1fr); } }
.gcarte { position: relative; }
.gcarte__photo { border-radius: var(--r); overflow: hidden; background: var(--gris); }
.gcarte__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.gcarte__titre { margin-top: var(--s-4); font-size: var(--t-h3); }
.gcarte__titre a { color: var(--encre); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .2em; }
.gcarte__titre a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.gcarte p { margin-top: var(--s-2); color: var(--encre-2); font-size: 1rem; }
.gcarte:hover .gcarte__titre a { color: var(--lien); text-decoration-color: currentColor; }
.gcarte:hover img { transform: scale(1.035); }

/* FAQ de l'accueil : réponses visibles */
.faqo__grille { display: grid; gap: 0 var(--s-8); margin-top: var(--tete); }
@media (min-width: 860px) { .faqo__grille { grid-template-columns: 1fr 1fr; } }
.faqo__q { padding-block: var(--s-5); border-top: 1px solid var(--trait-fort); }
.faqo__q p { margin-top: var(--s-2); color: var(--encre-2); font-size: 1rem; }

/* ==========================================================================
   EN-TÊTES DES PAGES : bannière photo arrondie, titre blanc sur la photo voilée
   ========================================================================== */
.ptete { padding-bottom: var(--pad); }
.ptete + .section:not(.section--gris):not(.section--papier):not(.bloc):not(.etapes) { padding-top: 0; }
.ptete__carte { position: relative; display: flex; align-items: flex-end; min-height: clamp(27rem, 20rem + 13vw, 34rem); overflow: hidden;
  border-radius: var(--r-bloc); isolation: isolate; background: var(--facade); }
.ptete__photo { position: absolute; inset: 0; z-index: -2; }
.ptete__photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.ptete__photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(30 36 38 / .88) 0%, rgb(34 40 43 / .7) 40%, rgb(34 40 43 / .16) 72%, rgb(34 40 43 / 0) 100%); }
.ptete__txt { position: relative; max-width: 42rem; padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); }
.ptete h1 { color: #fff; }
.ptete__lead { margin-top: var(--s-4); color: #F1F2F1; font-size: var(--t-lead); line-height: 1.55; max-width: 34em; }
.ptete__fait { display: flex; align-items: center; gap: .5rem; margin-top: var(--s-4); color: #fff; font-weight: 600; font-size: .98rem; line-height: 1.4; }
.ptete__fait .ico { width: 1.15rem; height: 1.15rem; padding: 2px; border-radius: 50%; background: var(--lime); color: var(--facade); stroke-width: 3; }
.ptete__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-5); }
.ptete__tel span { font-variant-numeric: tabular-nums; }
.ptete__note { margin-top: var(--s-2); }
.ptete .note { color: #fff; }
.ptete .note span { color: #E9EAE9; text-decoration-color: rgb(255 255 255 / .4); }
.ptete :focus-visible { outline-color: #fff; }
/* Variante produits (gardée pour compatibilité, plus utilisée) */
.ptete--produits .ptete__carte { background: var(--gris); align-items: center; }
.ptete--produits h1, .ptete--produits .ptete__lead, .ptete--produits .ptete__fait, .ptete--produits .note { color: var(--encre); }
.ptete__produits { position: absolute; right: 0; top: 0; bottom: 0; width: 44%; display: grid; place-content: center; padding: 2rem; }
.ptete__produits img { width: 100%; max-width: 20rem; max-height: 12.5rem; object-fit: contain; mix-blend-mode: multiply; }

@media (max-width: 900px) {
  .ptete .wrap { width: calc(100% - 2 * var(--marge)); }
  .ptete__carte { min-height: 0; border-radius: var(--r-bloc); }
  .ptete__photo img { object-position: var(--pos-m, var(--pos, 50% 50%)); }
  .ptete__photo::after { background: linear-gradient(180deg, rgb(34 40 43 / .3) 0%, rgb(34 40 43 / .6) 40%, rgb(30 36 38 / .9) 100%); }
  .ptete__txt { padding: clamp(6rem, 5rem + 8vw, 8rem) calc(var(--gout) + 2.5rem) 1.75rem var(--gout); }
  .ptete h1 { font-size: clamp(2.15rem, 1.6rem + 2.6vw, 2.8rem); }
  .ptete__lead { font-size: 1.04rem; margin-top: var(--s-3); }
  .ptete__fait, .ptete__note, .ptete__tel { display: none; }
  .ptete__actions:not(:has(.btn:not(.ptete__tel))) { display: none; }
  .ptete__actions { margin-top: var(--s-4); }
}

/* ---------- Déroulement d'une intervention ---------- */
@media (min-width: 640px) { .etapes__liste { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .etapes__liste { grid-template-columns: repeat(4, 1fr); } }

/* ---------- FAQ des pages (accordéon) ---------- */
.faq__in { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .faq__in { grid-template-columns: .62fr 1.38fr; align-items: start; } .faq__titre { position: sticky; top: 7rem; } }
.faq__titre { max-width: 10em; }
@media (max-width: 899px) { .faq__titre { max-width: none; } }
.faq__liste { display: grid; border-top: 1px solid var(--trait-fort); }
.faq details { border-bottom: 1px solid var(--trait-fort); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); padding: 1.15rem 0; min-height: 64px; cursor: pointer;
  list-style: none; font-weight: 560; font-size: 1.06rem; line-height: 1.4; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--lien); }
.faq summary:focus-visible { outline-offset: -2px; }
.faq__ico { width: 22px; height: 22px; color: var(--lien); transition: transform .3s var(--ease); }
.faq details[open] .faq__ico { transform: rotate(45deg); }
.faq__rep { padding: 0 2.5rem 1.35rem 0; color: var(--encre-2); }
.faq__rep p + p { margin-top: .6rem; }

/* ---------- Appel de fin de page : façade réelle + bloc bardage ---------- */
.appel { padding-block: 0 var(--pad); }
.appel__carte { display: grid; border-radius: var(--r-bloc); background: var(--gris); overflow: hidden; }
.appel__photo { overflow: hidden; border-radius: var(--r-bloc); }
.appel__photo img { width: 100%; height: 100%; min-height: 17rem; object-fit: cover; object-position: 40% 55%; }
.appel__txt { overflow-wrap: anywhere; padding: clamp(1.75rem, 1.2rem + 2.5vw, 3.5rem); align-self: center; }
.appel h2 { max-width: 16em; }
.appel__txt > p:not(.appel__infos) { margin-top: var(--s-4); max-width: 34em; color: var(--encre-2); }
.appel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-5); }
.appel__tel { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; color: var(--encre); font-weight: 600; font-size: 1.2rem; text-decoration: none; font-variant-numeric: tabular-nums; }
.appel__tel .ico { color: var(--lien); }
.appel__tel:hover { color: var(--lien); }
.appel__infos { margin-top: var(--s-4); color: var(--encre-2); font-size: var(--t-petit); }
@media (min-width: 900px) { .appel__carte { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .appel__actions .btn { width: 100%; } .appel__photo img { min-height: 12rem; max-height: 14rem; } }

/* ---------- Autres prestations (maillage) ---------- */
.autres h2 { font-size: clamp(1.45rem, 1.25rem + .9vw, 1.9rem); }
.autres__liens { display: grid; gap: 0 var(--s-6); margin-top: var(--s-5); }
@media (min-width: 640px) { .autres__liens { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .autres__liens { grid-template-columns: repeat(3, 1fr); } }
.autres__liens a { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 52px; padding-block: .5rem; border-top: 1px solid var(--trait);
  color: var(--encre); text-decoration: none; font-weight: 600; transition: color .2s; }
.autres__liens a::after { content: ""; flex: none; width: 8px; height: 8px; border-top: 2px solid var(--lien); border-right: 2px solid var(--lien); transform: rotate(45deg); transition: transform .25s var(--ease); }
.autres__liens a:hover { color: var(--lien); }
.autres__liens a:hover::after { transform: translateX(3px) rotate(45deg); }

/* ---------- Exemples de prix (catalogue du magasin) ---------- */
.prix__tete { max-width: 46rem; }
.prix__tete p { color: var(--encre-2); margin-top: var(--s-4); }
.prix__grille { display: grid; gap: var(--s-4); margin-top: var(--tete); }
@media (min-width: 640px) { .prix__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .prix__grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.prix__carte { display: grid; grid-template-columns: 88px minmax(0, 1fr); column-gap: var(--s-4); align-items: center;
  background: var(--blanc); border-radius: var(--r); padding: var(--s-5); box-shadow: 0 0 0 1px var(--trait); }
.prix__carte h3, .prix__carte h4 { font-size: 1.08rem; line-height: 1.3; }
.prix__photo { width: 88px; height: 66px; object-fit: contain; border-radius: 12px; background: #fff; }
.prix__carte dl { grid-column: 1 / -1; margin-top: var(--s-3); }
@media (min-width: 640px) {
  .prix__carte { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .prix__photo { width: 100%; height: 132px; margin-bottom: var(--s-4); padding: .5rem; }
}
.prix__carte dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding: .45rem 0; }
.prix__carte dl > div + div { border-top: 1px solid var(--trait); }
.prix__carte dt { font-size: .98rem; line-height: 1.45; min-width: 0; }
.prix__carte dd { margin: 0; font-weight: 560; white-space: nowrap; font-variant-numeric: tabular-nums; }
.prix__note { margin-top: var(--s-5); color: var(--encre-2); font-size: var(--t-petit); max-width: 48rem; }
.prix__rayon { margin-top: var(--s-8); }
.prix__rayon:first-of-type { margin-top: var(--s-7); }
.prix__rayon > h3 { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem var(--s-4); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  font-weight: 560; padding-bottom: var(--s-3); border-bottom: 2px solid var(--encre); }
.prix__rayon > h3 .lien-fort { font-size: 1rem; min-height: 0; }
.prix__rayon .prix__grille { margin-top: var(--s-5); }

/* ---------- Page des guides ---------- */
.guides { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .guides { grid-template-columns: repeat(3, 1fr); } }
.article { display: grid; gap: var(--s-7); }
@media (min-width: 960px) { .article { grid-template-columns: minmax(0, 1fr) 19rem; gap: var(--s-8); align-items: start; } }
.article__aside { background: var(--gris); border-radius: var(--r); padding: var(--s-5) var(--s-5) var(--s-4); position: sticky; top: 7rem; }
.article__aside h2 { font-family: var(--f); font-size: var(--t-h3); font-weight: 560; }
.article__aside ul { list-style: none; padding: 0; margin: var(--s-3) 0 var(--s-5); display: grid; }
.article__aside li a { display: block; padding: .6rem 0; border-top: 1px solid var(--trait); font-weight: 600; text-decoration: none; color: var(--encre); }
.article__aside li a:hover { color: var(--lien); }
.article__aside .btn { width: 100%; }

/* ---------- Pages légales, plan, 404 ---------- */
.simple { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem); }
.simple h1 { margin-bottom: var(--s-6); }
.plan { columns: 2 18rem; }
.plan li { break-inside: avoid; }
.plan li a { display: inline-block; padding-block: .55rem; }

/* ---------- Formulaire de devis ---------- */
.devis { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
@media (min-width: 960px) { .devis { grid-template-columns: 1.45fr .55fr; align-items: start; } }
.form { display: grid; gap: var(--s-5); background: var(--blanc); border-radius: var(--r-bloc); padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem); box-shadow: 0 0 0 1px var(--trait), var(--ombre-douce); }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .plein { grid-column: 1 / -1; } }
.champ { display: grid; gap: .45rem; min-width: 0; }
.champ label, .champ legend { font-weight: 520; font-size: 1rem; }
.opt { font-weight: 400; color: var(--encre-2); }
.form input:not([type=radio]):not([type=checkbox]), .form select, .form textarea { width: 100%; max-width: 100%; min-height: 52px; padding: .75rem 1rem;
  font: inherit; font-size: 1.02rem; color: var(--encre); background: var(--fond); border: 1px solid var(--trait-fort); border-radius: var(--r-champ); transition: border-color .2s, box-shadow .2s; }
.form select { text-overflow: ellipsis; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: rgb(27 28 29 / .4); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--encre); box-shadow: 0 0 0 4px rgb(0 128 55 / .16); }
.form ::placeholder { color: #6E6964; }
.choix { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.choix legend { margin-bottom: .5rem; padding: 0; width: 100%; }
.choix label { display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: .45rem 1.1rem; border: 1px solid var(--trait-fort);
  border-radius: 999px; cursor: pointer; font-weight: 400; background: var(--fond); transition: background-color .2s, border-color .2s; }
.choix label:hover { border-color: var(--encre); }
.choix label:has(input:checked) { background: var(--rouge-pale); border-color: var(--rouge); }
.choix input, .rgpd input { accent-color: var(--rouge); width: 20px; height: 20px; flex: none; }
.rgpd { display: flex; gap: .7rem; align-items: flex-start; font-size: .97rem; color: var(--encre-2); }
.rgpd input { margin-top: .2rem; }
.pot { position: absolute; left: -5000px; }
.form__envoi { display: grid; gap: var(--s-3); justify-items: start; }
.form__envoi .btn { width: 100%; }
@media (min-width: 640px) { .form__envoi .btn { width: auto; } }
.form__msg { margin: 0; font-weight: 600; padding: .8rem 1.1rem; display: none; border-radius: 14px; }
.form__msg.ok { display: block; background: #E3EEDD; color: #2D5220; }
.form__msg.err { display: block; background: #F8E3DE; color: #8A2B1C; }
.devis__cote { background: var(--gris); border-radius: var(--r-bloc); padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); display: grid; gap: var(--s-4); }
.devis__cote > p { margin-top: 0; }
.devis__cote h2 { font-size: clamp(1.3rem, 1.2rem + .5vw, 1.5rem); }
.cta__tel { display: inline-flex; align-items: center; gap: .5rem; font-weight: 560; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.85rem); color: var(--encre);
  text-decoration: none; min-height: 48px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.cta__tel .ico { color: var(--lien); width: .8em; height: .8em; }
.cta__tel:hover { color: var(--lien); }
.carte { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--r); background: var(--gris); }
.carte-clic { display: grid; place-content: center; justify-items: center; gap: .8rem; text-align: center; width: 100%; aspect-ratio: 4 / 3;
  border: 0; border-radius: var(--r); cursor: pointer; font: inherit; color: var(--encre-2); padding: var(--s-5); background: var(--blanc); box-shadow: 0 0 0 1px var(--trait); }
.carte-clic__btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 50px; padding: .75rem 1.5rem; background: var(--rouge); color: #fff;
  font-weight: 520; border-radius: 999px; transition: background-color .2s; }
.carte-clic:hover .carte-clic__btn { background: var(--encre); color: #fff; }
.carte-clic small { font-size: var(--t-petit); }

/* ==========================================================================
   PIED DE PAGE : bandeau d'enseigne (lames du bardage + lettrage rouge), puis liens
   ========================================================================== */
.foot { --bord: max(var(--marge), calc((100% - var(--wrap)) / 2 - 3rem));
  margin: var(--s-4) var(--bord) var(--marge); border-radius: var(--r-bloc); background: var(--gris); padding-bottom: var(--s-5); overflow: hidden; }
.foot .wrap { width: min(100% - 2 * clamp(1.25rem, 4vw, 3rem), var(--wrap)); }
.foot__tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-5) var(--s-7); padding-block: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); margin-bottom: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem); border-bottom: 1px solid var(--trait); }
.foot__plaque { display: block; line-height: 0; padding: clamp(1.1rem, .9rem + 1vw, 1.6rem) clamp(3.5rem, 2.5rem + 4vw, 6rem) clamp(1.1rem, .9rem + 1vw, 1.6rem) clamp(1.25rem, 1rem + 1vw, 1.75rem);
  background: var(--blanc); border-radius: 18px 999px 999px 18px; box-shadow: 0 0 0 1px var(--trait); transition: box-shadow .25s var(--ease); }
.foot__plaque:hover { box-shadow: 0 0 0 1.5px var(--rouge); }
.foot__plaque img { height: clamp(48px, 40px + 2vw, 64px); width: auto; }
.foot__appel { display: grid; justify-items: end; gap: .15rem; text-align: right; }
.foot__tel { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--f-titre); font-weight: 560; font-size: clamp(1.7rem, 1.45rem + .9vw, 2.2rem); color: var(--encre);
  text-decoration: none; font-variant-numeric: tabular-nums; letter-spacing: -.005em; min-height: 48px; }
.foot__tel .ico { color: var(--lien); width: .75em; height: .75em; }
.foot__tel:hover { color: var(--lien); }
.foot__adr { color: var(--encre-2); font-size: .98rem; }
.foot__grille { display: grid; gap: var(--s-6) var(--s-7); }
@media (min-width: 700px) { .foot__grille { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .foot__grille { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.foot__id > * + * { margin-top: var(--s-2); }
.foot__txt { color: var(--encre); max-width: 24em; }
.foot__id p { color: var(--encre-2); font-size: 1rem; }
.foot a { color: var(--encre); text-decoration-color: var(--trait-fort); }
.foot a:hover { color: var(--lien); }
.foot__h { font-family: var(--f-titre); font-size: 1.3rem; font-weight: 600; margin-bottom: var(--s-2); }
.foot__h ~ .foot__h { margin-top: var(--s-6); }
.foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; }
.foot__col a { display: inline-flex; align-items: center; min-height: 38px; text-decoration: none; font-size: .98rem; line-height: 1.35; }
.foot__col a:hover { text-decoration: underline; }
.foot__bas { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-2) var(--s-5); margin-top: var(--s-7); padding-top: var(--s-4);
  border-top: 1px solid var(--trait); font-size: var(--t-petit); color: var(--encre-2); }
.foot__bas > p { margin-top: 0; }
.foot__liens { display: flex; flex-wrap: wrap; gap: 0 1.2rem; align-items: center; }
.foot__liens a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 640px) { .foot__appel { justify-items: start; text-align: left; } }

/* ---------- Barre d'action mobile ---------- */
.mbar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.35fr; gap: .5rem;
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--blanc); box-shadow: 0 -8px 24px rgb(27 28 29 / .1);
  border-radius: 20px 20px 0 0; transition: transform .32s var(--ease); }
.mbar a { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; border-radius: 999px; font-weight: 580;
  text-decoration: none; font-size: 1.02rem; border: 1.5px solid var(--rouge); }
.mbar .mbar__tel { background: var(--blanc); color: var(--encre); border-color: var(--trait-fort); }
.mbar__tel .ico { color: var(--lien); }
.mbar__devis { background: var(--rouge); color: #fff; }
body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }

/* ==========================================================================
   ÉCRANS ÉTROITS : menu en panneau, recherche sur sa propre ligne
   ========================================================================== */
@media (max-width: 1179px) {
  .head__in { flex-wrap: wrap; min-height: 0; gap: 0 var(--s-3); padding-block: .65rem .75rem; }
  .logo { margin-right: auto; padding-block: 5px; }
  .logo img { height: 40px; }
  .cherche { order: 5; flex: 1 0 100%; max-width: none; margin: .55rem 0 0; }
  .head__tel-txt { display: none; }
  .head__tel { display: inline-grid; place-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--rouge); }
  .head__tel .ico { color: var(--encre); }
  .head__tel .ico { width: 20px; height: 20px; }
  .head__devis { display: none; }
  .burger { display: inline-grid; place-content: center; gap: 5px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--gris); cursor: pointer; padding: 0; }
  .burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--encre); 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); }
  /* Menu en position fixe : aucun transform, filter ni backdrop-filter sur .head quand il est ouvert */
  .nav { position: fixed; inset: var(--haut-tete, 72px) 0 0; z-index: 55; overscroll-behavior: contain; background: var(--blanc); padding: var(--s-4) var(--gout) var(--s-8); overflow-y: auto;
    visibility: hidden; opacity: 0; transition: opacity .2s, visibility 0s .2s; border-top: 1px solid var(--gris-2); }
  .nav.ouvert { visibility: visible; opacity: 1; transition: opacity .2s; }
  .nav__liste { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--gris-2); }
  .nav__item > a { flex: 1; min-height: 58px; padding: 0; font-family: var(--f-titre); font-size: 1.65rem; font-weight: 560; }
  .nav__item > a::after { display: none; }
  .nav__item--sous > a { padding-right: 0; }
  .nav__ouvrir { display: none; }
  .nav__sous { position: static; min-width: 0; width: 100%; padding: 0 0 .75rem; box-shadow: none; background: none; visibility: visible; opacity: 1; transform: none; }
  .nav__sous a { min-height: 42px; padding: .3rem 0; font-size: 1.02rem; color: var(--encre-2); }
  .nav__sous a:hover, .nav__sous a[aria-current="page"] { background: none; }
  .nav__extra { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
  .nav__extra .btn { width: 100%; }
  .nav__horaires { text-align: center; color: var(--encre-2); font-size: .95rem; }
  body.menu-ouvert { overflow: hidden; }
  body.menu-ouvert .mbar { display: none; }
  /* Défilement façon Autocars : en-tête caché en descendant, réaffiché en remontant (js/main.js) */
  .head { transition: transform .32s var(--ease); }
  .head.repli { transform: translateY(-100%); }
  body.menu-ouvert .head { transform: none; }
  html.js .mbar:not(.visible) { transform: translateY(110%); }
  .mbar.cache { transform: translateY(110%); }
}
@media (max-width: 400px) { .logo img { height: 36px; } .head__actions { gap: var(--s-2); } }
@media (max-width: 359px) { .mbar a { font-size: .93rem; } .logo img { height: 31px; } }
@media (min-width: 1180px) {
  .mbar { display: none; }
  body { padding-bottom: 0; }
}
@media (min-width: 1180px) and (max-width: 1365px) {
  .head__in { gap: var(--s-4); }
  .logo img { height: 36px; }
  .nav__item > a { padding: 0 .5rem; }
  .nav__item > a::after { left: .5rem; right: .5rem; }
  .cherche { max-width: 13rem; }
  .head__tel-txt small { display: none; }
}
@media (max-width: 760px) {
  .rangee { margin-inline: calc(-1 * var(--gout)); }
  .rangee__liste { border-radius: 0; border-inline: 0; }
  .rangee__liste li { flex: 0 0 100px; }
  .rangee__liste li:first-child a, .rangee__liste li:last-child a { border-radius: 0; }
  .rangee__rond { width: 64px; height: 64px; }
  .rangee__lib { font-size: .9rem; }
  .rangee__fl { display: none !important; }
  .atete__preuves li:nth-child(n+2) { display: none; }
  /* Mosaïque : première carte en grand, puis trois cartes plus basses */
  .mosaique__grille { grid-template-columns: 1fr 1fr; gap: 10px; }
  .carte-photo { min-height: 12rem; }
  .carte-photo:first-child { grid-column: 1 / -1; min-height: 15rem; }
  .carte-photo:nth-child(4) { grid-column: 1 / -1; min-height: 11rem; }
  .carte-photo__txt { padding: 1rem; gap: .2rem; }
  .carte-photo__titre { font-size: 1.32rem; }
  .carte-photo:first-child .carte-photo__titre, .carte-photo:nth-child(4) .carte-photo__titre { font-size: 1.6rem; }
  .carte-photo__lien { font-size: .9rem; }
  /* Prestations : vignette plus petite */
  .presta__item { grid-template-columns: 76px minmax(0, 1fr); gap: 1rem; padding-block: var(--s-4); }
  .presta__item:first-child { border-top-color: transparent; padding-top: 0; }
  .presta__img { border-radius: 12px; }
  .presta__item p { font-size: .97rem; }
  /* Galerie : deux colonnes */
  .galerie { gap: 8px; }
  /* Guides : rangée qui défile */
  .gcartes { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gout)); padding-inline: var(--gout); scroll-padding-inline: var(--gout); }
  .gcartes::-webkit-scrollbar { display: none; }
  .gcarte { flex: 0 0 80%; scroll-snap-align: start; }
  .gcarte p { font-size: .97rem; }
  .distances { margin-top: var(--s-6); }
  .faits ul { grid-template-columns: 1fr; }
  .foot__grille { grid-template-columns: 1fr 1fr; gap: var(--s-6) var(--s-4); }
  .foot__id { grid-column: 1 / -1; }
  .foot__col:last-child { grid-column: 1 / -1; }
  .foot__col a { font-size: .96rem; min-height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .head, .mbar, .appel__actions, .ptete__photo, .rangee { display: none !important; }
  .ptete__carte { background: none !important; }
  .ptete h1, .ptete__lead { color: #000 !important; }
  body { padding: 0; background: #fff; }
}
.simple .prose h2, .simple > .wrap > h2 { font-size: clamp(1.3rem, 1.2rem + .5vw, 1.6rem); }

/* ==========================================================================
   PROPRE AU MAGASIN (base Duplaa, réglages Tessé)
   ========================================================================== */
/* Bandeau d'horaires : le brun du logo et de l'ancien bandeau du magasin, grand écran seulement */
.bandeau { background: var(--facade); color: #DCE2E3; font-size: .9rem; }
.bandeau__in { display: flex; justify-content: space-between; align-items: center; gap: var(--s-5); min-height: 38px; }
.bandeau p { display: flex; align-items: center; gap: var(--s-5); margin: 0; }
.bandeau a { color: #DCE2E3; text-decoration: none; }
.bandeau a:hover { color: #fff; text-decoration: underline; }
.bandeau .statut { color: #fff; font-weight: 560; }
@media (max-width: 1179px) { .bandeau { display: none; } }

/* Statut d'ouverture (calculé par main.js sur les horaires habituels) */
.statut { display: inline-flex; align-items: center; gap: .45rem; font-weight: 560; }
.statut::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #9AA0A4; flex: none; }
.statut.ouvert::before { background: #5FAE3E; box-shadow: 0 0 0 3px rgb(95 174 62 / .25); }
.bandeau .statut.ouvert::before { background: var(--lime); box-shadow: 0 0 0 3px rgb(109 190 79 / .3); }

/* Accueil : titre à gauche, introduction et preuves à droite */
.atete { padding-block: clamp(2rem, 1.5rem + 2.4vw, 3.75rem) 0; }
.atete__in { display: grid; gap: var(--s-5) var(--s-8); align-items: end; }
@media (min-width: 960px) { .atete__in { grid-template-columns: 1.1fr .9fr; } }
.atete h1 { max-width: 11em; }
.atete__sous { font-size: var(--t-lead); line-height: 1.55; color: var(--encre); max-width: 32em; }
.atete__preuves { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s-5); margin-top: var(--s-3); color: var(--encre-2); font-size: .98rem; }
.atete__preuves li { display: flex; align-items: center; min-height: 44px; }
.atete__preuves li + li::before { content: ""; width: 1px; height: 1em; background: var(--trait-fort); margin-right: var(--s-5); }

/* En-tête simple (contact, pages légales, plan, 404) */
.stete { padding-block: clamp(2rem, 1.5rem + 2.4vw, 3.5rem) clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem); }
.stete h1 { max-width: 16em; }
.stete__lead { margin-top: var(--s-4); font-size: var(--t-lead); line-height: 1.55; max-width: 38em; }
.stete + .section { padding-top: 0; }

/* Bloc « exploitations » : l'anthracite de la façade, photos de tracteurs devant le magasin */
.expl { --bord: max(var(--marge), calc((100% - var(--wrap)) / 2 - 3rem)); margin-inline: var(--bord); border-radius: var(--r-bloc); background: var(--facade); color: #E4E6E7; }
.expl > .wrap { width: min(100% - 2 * clamp(1.25rem, 4vw, 3rem), var(--wrap)); }
.expl__grille { display: grid; gap: var(--s-7) clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 960px) { .expl__grille { grid-template-columns: 1fr 1.05fr; } }
.expl h2, .expl h3 { color: #fff; }
.expl p { color: #D3D6D8; }
.expl h2 + p { margin-top: var(--s-5); }
.expl a:not(.btn) { color: #9FDA86; }
.expl a:not(.btn):hover { color: #fff; }
.expl__gammes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-6); margin-top: var(--s-6); }
.expl__gammes li { padding: .7rem 0; border-top: 1px solid rgb(255 255 255 / .16); font-weight: 560; color: #fff; }
.expl__gammes li span { display: block; font-weight: 400; font-size: .95rem; color: #B9BDC0; }
.expl .actions { margin-top: var(--s-6); }
.expl .btn--ligne { color: #fff; border-color: rgb(255 255 255 / .4); }
.expl .btn--ligne:hover { background: #fff; color: var(--encre); border-color: #fff; }
.expl__photos { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: var(--s-3); }
.expl__photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.expl__photos .expl__p1 { grid-column: 1 / -1; }
.expl__photos .expl__p1 img { aspect-ratio: 16 / 9; border-radius: var(--r); }
.expl__photos .expl__p2 img, .expl__photos .expl__p3 img { aspect-ratio: 4 / 3; }
.expl__note { margin-top: var(--s-4); font-size: var(--t-petit); color: #A9AEB1 !important; }

/* Horaires */
.horaires { width: 100%; border-collapse: collapse; font-size: 1rem; }
.horaires th, .horaires td { padding: .45rem 0; border-top: 1px solid var(--trait); text-align: left; vertical-align: top; }
.horaires th { font-weight: 600; padding-right: var(--s-4); white-space: nowrap; }
.horaires td { color: var(--encre-2); text-align: right; }
.horaires tr.auj th, .horaires tr.auj td { color: var(--encre); font-weight: 580; }
.horaires tr.auj th::after { content: " (aujourd'hui)"; font-weight: 400; color: var(--encre-2); font-size: .9rem; }
.encart .horaires { margin-top: var(--s-3); }
.encart .statut { margin-top: var(--s-3); }

/* Atouts : photo au profil du D */
.atouts__photo img { border-radius: var(--r); }

/* Formulaire */
.pot { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form [aria-invalid="true"] { border-color: #B3261E !important; box-shadow: 0 0 0 3px rgb(179 38 30 / .12) !important; }
.form__note { font-size: var(--t-petit); color: var(--encre-2); }

/* Guides : sommaire numéroté discret remplacé par des intertitres */
.guide__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); }
.note-src { font-size: var(--t-petit); color: var(--encre-2); }
.atete__in { text-align: left; }
.atete__preuves { justify-content: flex-start; }
.section.expl { padding-block: var(--pad); }
.expl + .section--gris, .section--gris + .expl { margin-top: var(--s-4); }
.section.expl { padding-top: var(--pad) !important; }
.expl + .section:not(.section--gris) { padding-top: var(--pad) !important; }
@media (max-width: 760px) { .faits ul { grid-template-columns: 1fr 1fr !important; } .faits li { font-size: .98rem; } }
@media (min-width: 960px) { .atete__in { align-items: center; } }


/* ==========================================================================
   ETS BERNARDON : composants propres
   ========================================================================== */
/* Signature : la plaque ardoise de l'enseigne « ETS BERNARDON », liseré vert vif de la façade au-dessus */
.bande { display: flex; margin-top: var(--s-4); }
.bande span { display: inline-block; padding: .4rem .95rem .42rem; background: var(--facade); color: #fff; font-size: .95rem; font-weight: 600; letter-spacing: .01em;
  line-height: 1.3; border-radius: 6px; box-shadow: inset 0 3px 0 var(--lime); padding-top: .55rem; }

/* Ouverture de l'accueil : texte à gauche, photo du stand à droite avec la carte « Aujourd'hui » */
.ouv { padding-block: clamp(1.75rem, 1.3rem + 2.2vw, 3.5rem) 0; }
.ouv__in { display: grid; gap: var(--s-6) clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 960px) { .ouv__in { grid-template-columns: .92fr 1.08fr; } }
.ouv h1 { max-width: 11.5em; }
/* Signature : le cadre ouvert du logo (filet en haut et à gauche, qui se referme sous le texte) */
.ouv__txt { position: relative; padding: clamp(1.4rem, 1rem + 1.4vw, 2.2rem) 0 clamp(1.2rem, 1rem + 1vw, 1.8rem) clamp(1.2rem, .8rem + 1.6vw, 2.2rem); }
.ouv__txt::before { content: ""; position: absolute; left: 0; top: 0; right: -1rem; bottom: 0; border-top: 1.5px solid rgb(34 40 43 / .38); border-left: 1.5px solid rgb(34 40 43 / .38);
  pointer-events: none; -webkit-mask: linear-gradient(#000, #000); }
.ouv__txt::after { content: ""; position: absolute; left: 0; bottom: 0; width: clamp(2.5rem, 2rem + 2vw, 4rem); border-bottom: 1.5px solid rgb(34 40 43 / .38); pointer-events: none; }
.ouv .bande { margin-top: var(--s-5); }
.ouv__sous { margin-top: var(--s-5); font-size: var(--t-lead); line-height: 1.6; max-width: 31em; color: var(--encre); }
.ouv__preuves { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s-5); margin-top: var(--s-3); color: var(--encre-2); font-size: .97rem; }
.ouv__preuves li { display: flex; align-items: center; min-height: 44px; }
.ouv__preuves li + li::before { content: ""; width: 1px; height: 1em; background: var(--trait-fort); margin-right: var(--s-5); }
.ouv__actions { margin-top: var(--s-5); }
.ouv__photo { position: relative; }
.ouv__photo > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 38% 55%; border-radius: var(--r-bloc); }
.ouv__jour { position: absolute; left: clamp(.75rem, .4rem + 1.4vw, 1.5rem); bottom: clamp(.75rem, .4rem + 1.4vw, 1.5rem); max-width: min(22rem, calc(100% - 1.5rem));
  padding: 1.05rem 1.3rem 1.1rem; border-radius: 12px; background: var(--facade); color: #fff; box-shadow: inset 0 3px 0 var(--lime), 0 14px 36px rgb(34 40 43 / .22); }
.ouv__jour .statut { color: #fff; }
.ouv__jour .statut.ouvert::before { background: var(--lime); box-shadow: 0 0 0 3px rgb(109 190 79 / .3); }
.ouv__jour-t { font-family: var(--f-titre); font-size: 1.25rem; font-weight: 560; line-height: 1.1; }
.ouv__jour .statut { margin-top: .35rem; font-size: .98rem; }
.ouv__jour-h { margin-top: .35rem !important; color: #D3D9DA; font-size: .88rem; line-height: 1.45; }
@media (max-width: 959px) {
  .ouv__photo > img { aspect-ratio: 4 / 3; }
  .ouv__actions { display: none; }
}
@media (max-width: 520px) {
  .ouv__jour { position: static; max-width: none; margin-top: var(--s-3); }
}

/* Mosaïque : une grande carte en largeur, une carte haute à droite, deux petites */
@media (min-width: 1000px) {
  .mosaique__grille--eb { grid-template-columns: 1fr 1fr 1.05fr; grid-template-rows: clamp(15rem, 11rem + 7vw, 19rem) clamp(13rem, 9rem + 6vw, 16rem); }
  .mosaique__grille--eb .carte-photo--large { grid-column: 1 / span 2; grid-row: 1; }
  .mosaique__grille--eb .carte-photo--haute { grid-column: 3; grid-row: 1 / span 2; }
  .mosaique__grille--eb > :nth-child(3) { grid-column: 1; grid-row: 2; }
  .mosaique__grille--eb > :nth-child(4) { grid-column: 2; grid-row: 2; }
}
@media (min-width: 761px) and (max-width: 999px) { .mosaique__grille--eb .carte-photo--large { grid-column: 1 / -1; } }
.mosaique__grille--eb .carte-photo:nth-child(1) img { object-position: 50% 62%; }
.mosaique__grille--eb .carte-photo:nth-child(2) img { object-position: 45% 40%; }
.mosaique__grille--eb .carte-photo:nth-child(3) img { object-position: 50% 55%; }
.mosaique__grille--eb .carte-photo:nth-child(4) img { object-position: 50% 45%; }

/* Bloc vert pâle (robots, accès) et bloc crème (la maison) */
.section--seve, .section--pre, .section--creme { --bord: max(var(--marge), calc((100% - var(--wrap)) / 2 - 3rem)); margin-inline: var(--bord); border-radius: var(--r-bloc); background: var(--seve); }
.section--pre { background: var(--seve); }
.section--creme { background: var(--creme); }
:is(.section--seve, .section--pre, .section--creme) > .wrap { width: min(100% - 2 * clamp(1.25rem, 4vw, 3rem), var(--wrap)); }
.section--seve + .section:not(.section--gris):not(.section--seve):not(.occ) { padding-top: var(--pad) !important; }
.section--seve + .section--gris, .section--gris + .section--seve { margin-top: var(--s-4); }
.robots-acc__grille { display: grid; gap: var(--s-7) clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 960px) { .robots-acc__grille { grid-template-columns: 1fr 1.05fr; } }
.robots-acc__txt > p:first-of-type { margin-top: var(--s-5); color: var(--encre); }
.robots-acc__etapes { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: grid; gap: 0 var(--s-6); }
@media (min-width: 560px) { .robots-acc__etapes { grid-template-columns: 1fr 1fr; } }
.robots-acc__etapes li { padding: .8rem 0 .9rem; border-top: 1px solid rgb(0 128 55 / .28); }
.robots-acc__etapes strong { display: block; font-weight: 560; }
.robots-acc__etapes span { display: block; color: var(--encre-2); font-size: .98rem; margin-top: 2px; }
.robots-acc__photos { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.robots-acc__photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.robots-acc__p1 { grid-column: 1 / -1; }
.robots-acc__p1 img { aspect-ratio: 16 / 9.5; object-position: 40% 60%; }
.robots-acc__p2 img, .robots-acc__p3 img { aspect-ratio: 1; }
.robots-acc__p3 img { object-position: 50% 70%; }

/* Bloc sombre ardoise (occasions des pages, atelier de l'accueil) */
.occ { --bord: max(var(--marge), calc((100% - var(--wrap)) / 2 - 3rem)); margin-inline: var(--bord); border-radius: var(--r-bloc); background: var(--facade); color: #E2E7E8; }
.occ > .wrap { width: min(100% - 2 * clamp(1.25rem, 4vw, 3rem), var(--wrap)); }
.section--gris + .occ, .occ + .section--gris { margin-top: var(--s-4); }
.occ + .section:not(.section--gris):not(.section--seve) { padding-top: var(--pad) !important; }
.occ__grille { display: grid; gap: var(--s-7) clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 960px) { .occ__grille { grid-template-columns: 1fr 1fr; } }
.occ__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 60%; border-radius: var(--r); }
.occ h2 { color: #fff; }
.occ h2 + p { margin-top: var(--s-5); color: #D5DBDC; }
.occ__liste { list-style: none; padding: 0; margin: var(--s-6) 0 0; }
.occ__liste li { padding: .8rem 0; border-top: 1px solid rgb(255 255 255 / .16); font-weight: 520; color: #fff; font-size: 1.08rem; }
.occ__liste li:last-child { border-bottom: 1px solid rgb(255 255 255 / .16); }
.occ__liste span { display: block; font-weight: 340; font-size: .95rem; color: #BFC6C8; }
.occ .actions { margin-top: var(--s-6); }
.btn--clair { background: var(--lime); border-color: var(--lime); color: var(--facade); }
.btn--clair:hover { background: #fff; border-color: #fff; color: var(--facade); }
.occ .btn--ligne { color: #fff; border-color: rgb(255 255 255 / .4); }
.occ .btn--ligne .ico { color: var(--lime); }
.occ .btn--ligne:hover { background: #fff; color: var(--facade); border-color: #fff; }
.occ :focus-visible { outline-color: #fff; }

/* Avis Google : bloc dédié, mot pour mot */
.avis__liste { display: grid; gap: var(--s-4); }
@media (min-width: 700px) { .avis__liste { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .avis__liste { grid-template-columns: repeat(4, 1fr); } }
.avis__item { display: flex; flex-direction: column; padding: var(--s-5); border-radius: var(--r); background: var(--blanc); box-shadow: 0 0 0 1px var(--trait); }
.avis__etoiles { display: flex; gap: 2px; }
.avis__etoiles .ico { width: 1.05rem; height: 1.05rem; }
.avis__item blockquote { margin: var(--s-3) 0 0; flex: 1; }
.avis__txt { font-family: var(--f-titre); font-size: 1.12rem; line-height: 1.52; color: var(--encre); font-style: italic; font-weight: 400; }
.avis__qui { margin-top: var(--s-4) !important; color: var(--encre-2); font-size: .92rem; }
.avis__note { margin-top: 0 !important; }

/* Tableau des prix publiés par le magasin */
.tprix { margin-top: var(--s-5); }
.tprix table { width: 100%; border-collapse: collapse; background: var(--blanc); border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--trait); }
.tprix th, .tprix td { padding: .8rem 1.1rem; text-align: left; border-top: 1px solid var(--trait); vertical-align: baseline; }
.tprix thead th { border-top: 0; background: var(--gris); font-weight: 520; font-size: .92rem; color: var(--encre-2); }
.tprix tbody th { font-weight: 450; }
.tprix tbody th small { display: block; color: var(--encre-2); font-size: .88rem; font-weight: 340; }
.tprix td { text-align: right; font-weight: 560; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tprix thead th:last-child { text-align: right; }
.tprix__note { margin-top: var(--s-3) !important; color: var(--encre-2); font-size: var(--t-petit); }

/* Marques : plaques blanches, nom composé quand il n'y a pas de logo propre */
.marques__liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
@media (min-width: 700px) { .marques__liste { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.marques__liste li { flex: none; display: block; height: auto; padding: 0; background: none; text-align: left; }
.marques__plaque { display: grid; place-items: center; height: 88px; padding: .75rem 1rem; border-radius: 18px; background: var(--blanc); box-shadow: 0 0 0 1px var(--trait); }
.marques__plaque img { height: calc(var(--h, 32px) * .9); width: auto; max-width: 100%; object-fit: contain; }
.marques__texte .marques__plaque span { font-family: var(--f-titre); font-weight: 560; font-size: 1.35rem; line-height: 1.1; color: var(--encre); opacity: 1; text-align: center; }
.marques__liste--texte { gap: var(--s-6) var(--s-4); }
.marques__liste--texte p { margin-top: var(--s-3); color: var(--encre-2); font-size: .98rem; }

/* Pied de page : logo posé sur blanc, plaque ardoise de la signature */
.foot__logo { display: block; line-height: 0; padding: 1rem 1.4rem; background: var(--blanc); border-radius: 18px; box-shadow: 0 0 0 1px var(--trait); }
.foot__logo img { height: clamp(52px, 44px + 2vw, 70px); width: auto; }
.foot__logo:hover { box-shadow: 0 0 0 1.5px var(--rouge); }
.foot__bande { display: flex; margin-bottom: var(--s-4) !important; }
.foot__bande span { display: inline-block; padding: .5rem .9rem .38rem; background: var(--facade); color: #fff; font-size: .92rem; font-weight: 600;
  border-radius: 6px; box-shadow: inset 0 3px 0 var(--lime); }

/* Logo de l'en-tête */
.logo img { height: 58px; width: auto; }
@media (max-width: 1179px) { .logo img { height: 46px; } }
@media (max-width: 380px) { .logo img { height: 40px; } }

/* Encart sur fond sève */
.section--seve .encart { background: var(--blanc); }
.acces__grille .encart { align-self: start; }

/* Correctifs mobile (contrôle du 26/11) */
.section.section--seve, .section.occ { padding-top: var(--pad) !important; }
.ouv__jour .statut { align-items: flex-start; }
.ouv__jour .statut::before { margin-top: .5em; }
@media (max-width: 520px) {
  .ouv__preuves li + li::before { display: none; }
  .ouv__preuves { gap: 0 var(--s-4); }
}
/* Deux photos côte à côte dans une colonne */
.galerie-duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); align-self: start; }
.galerie-duo img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); }
@media (max-width: 899px) { .galerie-duo img { aspect-ratio: 4 / 5; } }
/* Liste des occasions (page occasions) */
.occ-liste { list-style: none; padding: 0 !important; margin-top: var(--s-5) !important; }
.occ-liste li { padding: .85rem 0; border-top: 1px solid var(--trait-fort); margin: 0 !important; }
.occ-liste li:last-child { border-bottom: 1px solid var(--trait-fort); }
.occ-liste strong { display: block; font-weight: 560; }
.occ-liste span { display: block; color: var(--encre-2); font-size: .98rem; }
:is(.section--gris, .section--seve, .occ, .etapes, .bloc) + :is(.section--gris, .section--seve, .occ, .etapes, .bloc) { margin-top: var(--s-4); }
@media (max-width: 400px) {
  .faits ul { grid-template-columns: 1fr !important; }
  .ptete__txt { padding-right: var(--gout); }
  .ptete h1 { font-size: clamp(1.85rem, 1.2rem + 3.2vw, 2.15rem); }
}
.plan > div { break-inside: avoid; margin-bottom: var(--s-6); } .plan h2 { margin-bottom: var(--s-2); }

/* --- Accueil Ets Bernardon : deux clientèles, atelier ardoise, la maison, mot du patron, offre du moment --- */
.deux__grille { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .deux__grille { grid-template-columns: 1fr 1fr; gap: var(--s-6); } }
.deux__carte { display: flex; flex-direction: column; border-radius: var(--r-bloc); overflow: hidden; background: var(--blanc); box-shadow: 0 0 0 1px var(--trait); }
.deux__carte--pro { background: var(--creme); box-shadow: none; }
.deux__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.deux__carte--pro .deux__photo img { object-position: 50% 40%; }
.deux__txt { display: flex; flex-direction: column; flex: 1; padding: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); }
.deux__txt h3 { font-family: var(--f-titre); font-size: clamp(1.45rem, 1.25rem + .8vw, 1.85rem); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.deux__txt > p { margin-top: var(--s-3); color: var(--encre-2); }
.deux__liens { list-style: none; padding: 0; margin: auto 0 0; padding-top: var(--s-5); display: flex; flex-wrap: wrap; gap: .5rem; }
.deux__liens a { display: inline-flex; align-items: center; min-height: 44px; padding: .45rem 1rem; border-radius: 999px; background: var(--fond); box-shadow: inset 0 0 0 1px var(--trait-fort);
  color: var(--encre); font-weight: 650; font-size: .96rem; text-decoration: none; transition: background .2s, box-shadow .2s, color .2s; }
.deux__carte--pro .deux__liens a { background: rgb(255 255 255 / .7); }
.deux__liens a:hover { background: var(--rouge); color: #fff; box-shadow: none; }

.atelier-acc { --bord: max(var(--marge), calc((100% - var(--wrap)) / 2 - 3rem)); margin-inline: var(--bord); border-radius: var(--r-bloc); background: var(--facade); color: #E2E7E8;
  box-shadow: inset 0 4px 0 var(--lime); }
.section.atelier-acc { padding-top: var(--pad) !important; }
.atelier-acc > .wrap { width: min(100% - 2 * clamp(1.25rem, 4vw, 3rem), var(--wrap)); }
.atelier-acc__grille { display: grid; gap: var(--s-7) clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 960px) { .atelier-acc__grille { grid-template-columns: 1fr 1.05fr; } }
.atelier-acc__photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 40% 55%; border-radius: var(--r); }
.atelier-acc h2 { color: #fff; }
.atelier-acc h2 + p { margin-top: var(--s-5); color: #D5DBDC; }
.atelier-acc__liste { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: grid; gap: 0 var(--s-6); }
@media (min-width: 560px) { .atelier-acc__liste { grid-template-columns: 1fr 1fr; } }
.atelier-acc__liste li { padding: .8rem 0 .9rem; border-top: 1px solid rgb(255 255 255 / .16); }
.atelier-acc__liste strong { display: block; color: #fff; font-weight: 700; }
.atelier-acc__liste span { display: block; margin-top: 2px; color: #BFC6C8; font-size: .97rem; line-height: 1.5; }
.atelier-acc .actions { margin-top: var(--s-6); }
.atelier-acc :focus-visible { outline-color: #fff; }
.btn--verre { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .38); color: #fff; }
.btn--verre:hover { background: #fff; border-color: #fff; color: var(--encre); }

.maison__grille { display: grid; gap: var(--s-6) clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 960px) { .maison__grille { grid-template-columns: 1fr 1.1fr; } }
.maison__txt h2 + p { margin-top: var(--s-5); }
.maison__txt p + p { margin-top: var(--s-4); }
.maison__txt p { max-width: 34em; }
.maison__fb { color: var(--encre-2); font-size: .98rem; }
.maison__photo img { width: 100%; aspect-ratio: 16 / 9.5; object-fit: cover; object-position: 50% 60%; border-radius: var(--r); }

.mot { margin: var(--s-6) 0 0; padding: 1.1rem 1.3rem 1.15rem; border-radius: 14px; background: rgb(255 255 255 / .75); border-left: 3px solid var(--rouge); }
.mot p { font-family: var(--f-titre); font-style: italic; font-size: 1.12rem; line-height: 1.5; color: var(--encre); }
.mot footer { margin-top: .5rem; color: var(--encre-2); font-size: .93rem; font-weight: 600; }

.offre { padding-top: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem); }
.offre__carte { display: grid; gap: var(--s-3) var(--s-6); align-items: center; padding: clamp(1.25rem, 1rem + 1vw, 1.75rem) clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
  border-radius: var(--r); background: var(--facade); color: #E2E7E8; box-shadow: inset 0 3px 0 var(--lime); }
@media (min-width: 900px) { .offre__carte { grid-template-columns: 1fr auto; } .offre__carte p { grid-column: 1; } .offre__carte .btn { grid-column: 2; grid-row: 1 / span 2; } }
.offre__carte h2 { color: #fff; font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); }
.offre__carte p { color: #D5DBDC; max-width: 46em; }
.offre__carte .btn { justify-self: start; }
.bandeau__offre { color: #fff !important; font-weight: 700; }
.bandeau__offre::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: .5rem; border-radius: 50%; background: var(--lime); vertical-align: .12em; }

/* PATCH-27-11 (Pascal) : avis en bande qui défile, textes longs repliés */
.avis__liste, .avis__grille { display: flex !important; flex-wrap: nowrap !important; grid-template-columns: none !important; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; gap: 16px !important; padding: 4px 2px 12px; scrollbar-width: thin; }
.avis__liste > *, .avis__grille > * { flex: 0 0 min(360px, 84%); scroll-snap-align: start; margin: 0 !important; }
.avis__liste blockquote, .avis__grille blockquote { display: -webkit-box; -webkit-line-clamp: 6; line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.avis--ouvert blockquote { -webkit-line-clamp: unset; line-clamp: unset; display: block; }
.avis-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.avis-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; font-size: 20px; line-height: 1; opacity: .7; }
.avis-nav button:hover, .avis-nav button:focus-visible { opacity: 1; }

/* PATCH-27-11b (Pascal) : menu mobile en accordéon, rangée des rayons qui défile signalée */
.nav--acc .nav__item--sous { display: flex; flex-wrap: wrap; align-items: center; }
.nav--acc .nav__item--sous > a { flex: 1 1 auto; }
.nav--acc .nav__ouvrir { display: inline-grid !important; place-content: center; width: 48px; height: 48px; margin-right: -12px; }
.nav--acc .nav__ouvrir svg { width: 20px; height: 20px; transition: transform .2s; }
.nav--acc .nav__sous { display: none !important; flex: 0 0 100%; }
.nav--acc .nav__item--sous.deplie .nav__sous { display: block !important; }
.nav--acc .nav__item--sous.deplie .nav__ouvrir svg { transform: rotate(180deg); }
.rangee--defile::after { content: ""; position: absolute; top: 1px; bottom: 1px; right: 0; width: 64px; pointer-events: none; z-index: 1;
  background: linear-gradient(to right, rgba(255,255,255,0), var(--rangee-fond, #fff) 85%); transition: opacity .2s; }
.rangee--fin::after { opacity: 0; }
.rangee__indice { display: none; margin: .55rem var(--gout, 16px) 0; font-size: .86rem; font-weight: 600; opacity: .7; text-align: right; }

/* ==========================================================================
   REVUE-MOBILE-27-11 : revue du responsive téléphone (390 et 320 px)
   ========================================================================== */
/* Pastille du statut d'ouverture alignée sur la première ligne quand le texte passe sur plusieurs lignes */
.statut { align-items: flex-start; }
.statut::before { margin-top: .55em; }
@media (max-width: 760px) {
  /* Respiration entre sections : moins de vide entre deux blocs sur téléphone */
  :root { --pad: 2.75rem; }
  /* Bannières de page : moins hautes (photo au-dessus du titre réduite), texte sur toute la largeur */
  .ptete__txt { padding: 4.25rem var(--gout) 1.5rem; }
  .ptete__lead { font-size: 1rem; line-height: 1.5; }
  .ptete__actions { margin-top: var(--s-4); }
  /* Fil d'Ariane plus discret */
  .ariane, .fil { font-size: .9rem; }
  /* Horaires : « (aujourd'hui) » sous le jour, la colonne des heures garde sa largeur */
  .horaires tr.auj th::after { display: block; font-size: .82rem; line-height: 1.2; }
  .horaires td { padding-left: var(--s-3); }
  /* Tableaux de prix : un peu plus de place pour le nom du modèle */
  .tprix th, .tprix td { padding: .75rem .9rem; }
  .tprix tbody th { font-size: .98rem; line-height: 1.4; }
  .tprix td { font-size: .98rem; }
  /* Marques : une marque par ligne, plaque à gauche et texte à droite (fini les colonnes étroites de hauteur inégale) */
  .marques__liste--texte { grid-template-columns: 1fr; gap: 0; }
  .marques__liste--texte li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: var(--s-4); align-items: center; padding-block: var(--s-3); border-top: 1px solid var(--trait); }
  .marques__liste--texte li:first-child { border-top: 0; }
  .marques__liste--texte .marques__plaque { height: 68px; padding: .5rem .75rem; border-radius: 14px; }
  .marques__liste--texte .marques__texte .marques__plaque span, .marques__liste--texte .marques__plaque span { font-size: 1.12rem; }
  .marques__liste--texte p { margin-top: 0; font-size: .95rem; line-height: 1.5; }
  /* Appel de fin de page : marges intérieures adaptées, bouton sur une ligne */
  .appel__txt { padding: 1.75rem 1.4rem; }
  .appel__infos { line-height: 1.55; }
  /* Plan du site : liens en lignes nettes, sans puces décalées */
  .plan { columns: 1; }
  .plan ul { list-style: none; padding: 0; margin: 0; }
  .plan li { border-top: 1px solid var(--trait); }
  .plan li a { display: flex; align-items: center; min-height: 48px; padding-block: .5rem; line-height: 1.35; }
  /* Pied de page : plus compact, rubriques de liens repliables (js/main.js) */
  .foot { margin-top: var(--s-2); }
  .foot__tete { padding-block: 1.5rem; margin-bottom: 1.5rem; gap: var(--s-4); }
  .foot__logo { padding: .75rem 1.1rem; }
  .foot__logo img { height: 46px; }
  .foot__id p { font-size: .95rem; }
  .foot--acc .foot__grille { grid-template-columns: 1fr; gap: 0; }
  .foot--acc .foot__id { margin-bottom: var(--s-5); }
  .foot--acc .foot__col { grid-column: auto; }
  .foot--acc .foot__h { margin: 0 !important; border-top: 1px solid var(--trait-fort); }
  .foot--acc .foot__h button { all: unset; box-sizing: border-box; display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 54px; cursor: pointer; font: inherit; color: inherit; }
  .foot--acc .foot__h button:focus-visible { outline: 2px solid var(--encre); outline-offset: 2px; border-radius: 6px; }
  .foot--acc .foot__h svg { width: 20px; height: 20px; transition: transform .2s; flex: none; }
  .foot--acc .foot__h.deplie svg { transform: rotate(180deg); }
  .foot--acc .foot__h + ul { display: none; padding-bottom: var(--s-3); }
  .foot--acc .foot__h.deplie + ul { display: grid; }
  .foot--acc .foot__col a { min-height: 44px; font-size: 1rem; }
  .foot__bas { margin-top: 0; border-top-color: var(--trait-fort); }
}
.foot__h button { all: unset; }
.foot:not(.foot--acc) .foot__h svg { display: none; }
@media (max-width: 479px) {
  .appel__actions .btn { white-space: nowrap; padding-inline: 1rem; }
}
@media (max-width: 374px) {
  /* Barre du bas : le bouton principal garde son texte sur une ligne */
  .mbar { grid-template-columns: 1fr 1.65fr; gap: .4rem; padding-inline: .6rem; }
  .mbar a { font-size: .9rem; gap: .35rem; padding-inline: .5rem; white-space: nowrap; }
  /* Mosaïque d'accueil : titres des petites cartes à la bonne taille */
  .carte-photo__titre { font-size: 1.14rem; }
  .carte-photo:first-child .carte-photo__titre, .carte-photo:nth-child(4) .carte-photo__titre { font-size: 1.45rem; }
  .carte-photo__txt { padding: .85rem; }
  .appel__txt { padding: 1.5rem 1.15rem; }
  .ptete h1 { font-size: 1.9rem; }
  /* Formulaire : champs plus larges dans la carte */
  .devis .form { padding: 1.1rem; }
}
@media (max-width: 374px) {
  /* Mosaïque d'accueil : les deux petites cartes passent en pleine largeur (titres et liens lisibles) */
  .mosaique__grille .carte-photo { grid-column: 1 / -1; min-height: 9rem; }
  .mosaique__grille .carte-photo:first-child { min-height: 14rem; }
}

/* PATCH-27-11c : temps de trajet en cartes qui défilent, un secteur par carte (téléphone) */
@media (max-width: 760px) {
  html .distances { display: flex !important; grid-template-columns: none !important; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gout, 16px)); padding: 2px var(--gout, 16px) 4px; scroll-padding-inline: var(--gout, 16px); }
  html .distances::-webkit-scrollbar { display: none; }
  html .distances__groupe { flex: 0 0 86%; scroll-snap-align: start; padding: 1rem 1.1rem .6rem; border-top: 0; border-radius: var(--r, 16px);
    background: var(--blanc, #fff); box-shadow: 0 0 0 1px color-mix(in srgb, currentColor 14%, transparent); }
  html .distances__groupe:only-child { flex-basis: 100%; }
  html .distances li:last-child { border-bottom: 0; }
  .distances__indice { margin: .55rem 0 0; font-size: .86rem; font-weight: 600; opacity: .7; text-align: right; }
}
.distances__indice { display: none; }

/* ==========================================================================
   FINITION-27-11 : logos de marques, bandes de marques par rayon, finitions
   téléphone (390, 320) et ordinateur (1366, 1920)
   ========================================================================== */
/* --- Plaques de marques : logo SVG officiel (ou nom composé), lien vers le rayon --- */
.marques__plaque { text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s var(--ease); }
a.marques__plaque:hover { box-shadow: 0 0 0 1.5px var(--rouge), 0 10px 24px rgb(34 40 43 / .08); transform: translateY(-1px); }
a.marques__plaque:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; }
.marques__plaque img { height: var(--h, 30px); }
.marques__nom { font-family: var(--f); font-weight: 700; font-size: 1.3rem; line-height: 1; letter-spacing: .04em; text-transform: uppercase; color: var(--c-marque, var(--encre)); }
/* Accueil : Stihl, la marque principale du magasin, sur une plaque double ; les 7 marques tombent juste (8 cases) */
.marques__liste:not(.marques__liste--texte) > li:first-child { grid-column: span 2; }
@media (min-width: 1100px) { .marques__liste:not(.marques__liste--texte) { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (max-width: 699px) { .marques__liste:not(.marques__liste--texte) .marques__plaque { height: 76px; } }
/* Page marques : cartes régulières, Stihl en tête sur deux colonnes, lien vers le rayon */
@media (min-width: 761px) {
  .marques__liste--texte > li { display: flex; flex-direction: column; }
  .marques__desc { display: flex; flex-direction: column; flex: 1; }
  .marques__desc p { flex: 1; }
}
.marques__voir { display: inline-flex; align-items: center; gap: .35em; margin-top: var(--s-3); min-height: 44px; font-weight: 560; font-size: .98rem; color: var(--lien); text-decoration: none; }
.marques__voir .ico { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.marques__voir:hover { color: var(--encre); }
.marques__voir:hover .ico { transform: translateX(3px); }
@media (min-width: 761px) {
  .marques__liste--texte { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-7) var(--s-5); }
  .marques__liste--texte > li:first-child { grid-column: span 2; }
  .marques__liste--texte .marques__plaque { height: 96px; }
  .marques__liste--texte > li:first-child p { max-width: 34em; }
}
@media (max-width: 760px) {
  .marques__liste--texte li { align-items: start !important; }
  .marques__liste--texte .marques__plaque img { height: calc(var(--h, 30px) * .72); }
  .marques__liste--texte .marques__nom { font-size: 1.02rem; }
  .marques__voir { margin-top: 0; min-height: 40px; font-size: .95rem; }
}

/* --- Bande de logos d'un rayon --- */
.mbande { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  padding-top: clamp(1.5rem, 1.2rem + 1vw, 2rem); border-top: 1px solid var(--trait-fort); }
.mbande__titre { flex: 0 0 auto; max-width: 10rem; font-size: .95rem; font-weight: 560; line-height: 1.3; color: var(--encre-2); margin: 0 !important; }
.mbande__liste { display: flex; flex-wrap: wrap; gap: .75rem; flex: 1 1 auto; margin: 0 !important; padding: 0 !important; list-style: none; }
.mbande__liste li { margin: 0 !important; }
.mbande__liste li::marker { content: none; }
.mbande .marques__plaque { width: 11rem; height: 68px; padding: .55rem 1.1rem; border-radius: 16px; }
.mbande .marques__plaque img { height: calc(var(--h, 30px) * .8); }
.mbande .marques__nom { font-size: 1.1rem; }
.mbande__tout { display: inline-flex; align-items: center; gap: .35em; margin: 0 0 0 auto !important; min-height: 44px; font-weight: 560; font-size: .98rem; color: var(--lien); text-decoration: none; white-space: nowrap; }
.mbande__tout .ico { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.mbande__tout:hover { color: var(--encre); }
.mbande__tout:hover .ico { transform: translateX(3px); }
.prose .mbande { margin-top: var(--s-7); }
.prose .mbande__titre { max-width: none; flex-basis: 100%; }
.prose .mbande__tout { margin-left: 0 !important; }
@media (max-width: 760px) {
  .mbande { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-3); margin-top: var(--s-6); padding-top: var(--s-5); }
  .mbande__titre { max-width: none; }
  .mbande__liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
  .mbande__liste--1 { grid-template-columns: minmax(0, 11rem); }
  .mbande__liste--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mbande .marques__plaque { width: auto; height: 60px; padding: .45rem .6rem; border-radius: 14px; }
  .mbande .marques__plaque img { height: calc(var(--h, 30px) * .72); }
  .mbande .marques__nom { font-size: .98rem; }
  /* 7 marques : une rangée qui défile, la suivante dépasse pour le signaler */
  .mbande__liste--7 { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gout)) !important; padding: 2px var(--gout) 4px !important; scroll-padding-inline: var(--gout); }
  .mbande__liste--7::-webkit-scrollbar { display: none; }
  .mbande__liste--7 li { flex: 0 0 8.75rem; scroll-snap-align: start; }
  .mbande__tout { margin-left: 0 !important; justify-self: start; }
}
/* Bande des 7 marques (pages locales) : titre au-dessus, une seule rangée de plaques égales sur ordinateur */
@media (min-width: 761px) {
  .mbande--large .mbande__titre { flex-basis: 100%; max-width: none; }
  .mbande--large .mbande__liste { flex-wrap: nowrap; flex-basis: 100%; }
  .mbande--large .mbande__liste li { flex: 1 1 0; min-width: 0; }
  .mbande--large .marques__plaque { width: auto; }
  .mbande--large .mbande__tout { margin-top: calc(-1 * var(--s-2)) !important; }
}
@media (max-width: 374px) { .marques__liste--texte li { grid-template-columns: 6.25rem minmax(0, 1fr) !important; gap: var(--s-3) !important; } }

/* --- FINITION-27-11 : ordinateur --- */
@media (min-width: 900px) {
  /* Appel de fin de page : la photo couvre la hauteur du texte (une photo en portrait n'allonge plus la carte) */
  .appel__photo { position: relative; min-height: 22rem; }
  .appel__photo img { position: absolute; inset: 0; min-height: 0; }
  /* Colonnes de hauteur inégale (texte + long tableau) : les photos accompagnent la lecture au lieu de laisser un vide */
  .split--haut > .galerie-duo, .split--haut > .photo { position: sticky; top: 7rem; }
}
/* Tableau de prix posé en pleine largeur : largeur de lecture, pas une ligne de 1 200 px */
.wrap > .tprix { max-width: 46rem; }
/* Réponses de FAQ et articles : 65 à 75 caractères par ligne */
.faq__rep { max-width: 41rem; }
.article .prose { max-width: 37em; }
/* Grands écrans (1680 px et plus) : contenu un peu plus large, moins de marges vides */
@media (min-width: 1680px) { :root { --wrap: 82rem; } }

/* --- FINITION-27-11 : téléphone --- */
/* Listes « Au magasin », « À l'atelier » : deux colonnes (mots courts), une colonne seulement sous 375 px */
@media (min-width: 375px) and (max-width: 760px) {
  .faits ul { grid-template-columns: 1fr 1fr !important; column-gap: var(--s-4); }
  .faits li { font-size: .95rem; line-height: 1.35; padding: .55rem 0; }
}

/* ==========================================================================
   FINITION-27-11 (Ets Bernardon) : réglages propres au site, téléphone et ordinateur
   ========================================================================== */
/* Trajets : quatre secteurs, une colonne chacun sur grand écran, deux par deux sur tablette */
@media (min-width: 761px) { .distances { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-6); } }
@media (min-width: 1100px) { .distances:has(> :nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--s-5); } }
.distances:has(> :only-child) { grid-template-columns: minmax(0, 34rem); }
.distances__groupe { border-top-color: var(--facade); }
.distances li { font-size: .97rem; }

/* Marques de l'accueil : douze plaques égales (6 x 2 sur ordinateur, 4 x 3 sur tablette, 3 x 4 sur téléphone) */
.marques__liste:not(.marques__liste--texte) > li:first-child { grid-column: auto; }
@media (min-width: 1100px) { .marques__liste:not(.marques__liste--texte) { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 699px) {
  .marques__liste:not(.marques__liste--texte) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
  .marques__liste:not(.marques__liste--texte) .marques__plaque { height: 64px; padding: .5rem .6rem; border-radius: 14px; }
  .marques__liste:not(.marques__liste--texte) .marques__plaque img { height: calc(var(--h, 30px) * .74); }
}
/* Page marques : douze cartes régulières (pas de carte double) */
@media (min-width: 761px) {
  .marques__liste--texte > li:first-child { grid-column: auto; }
  .marques__liste--texte { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) { .marques__liste--texte { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Bandes de logos de 5 et 6 marques : une rangée de plaques égales sur ordinateur, trois par ligne sur téléphone */
@media (min-width: 761px) {
  .mbande--large .mbande__liste li { flex: 1 1 0; }
}

/* Location : trois cartes à prix publiés */
.loc { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-5); }
@media (min-width: 761px) { .loc { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.loc__carte { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--blanc); box-shadow: 0 0 0 1px var(--trait); }
.loc__photo { background: #fff; }
.loc__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: .5rem; }
.loc__txt { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.3rem 1.3rem; border-top: 1px solid var(--trait); }
.loc__txt h3 { font-family: var(--f-titre); font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
.loc__txt > p { margin-top: .4rem; color: var(--encre-2); font-size: .98rem; }
.loc__prix { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: auto 0 0; padding-top: var(--s-4); }
.loc__prix div { padding: .6rem .8rem; border-radius: 12px; background: var(--seve); }
.loc__prix dt { font-size: .86rem; color: var(--encre-2); }
.loc__prix dd { margin: 0; font-family: var(--f-titre); font-size: 1.45rem; font-weight: 600; color: var(--encre); font-variant-numeric: tabular-nums; white-space: nowrap; }
.loc + .tprix__note { margin-top: var(--s-4) !important; max-width: 46rem; }

/* Titres : jamais de mot seul en fin de ligne ni de nombre coupé */
h1, h2, h3, .carte-photo__titre { text-wrap: balance; }
.prose p, .tete-section p, .faq__rep p { text-wrap: pretty; }
.horaires td, .ouv__jour-h, .distances__km, .tprix td { font-variant-numeric: tabular-nums; }

/* En-tête ordinateur : la recherche garde une largeur lisible (« Rechercher » en entier) */
@media (min-width: 1180px) {
  .head__in { gap: 1.1rem; }
  .logo img { height: 52px; }
  .nav__item > a { padding: 0 .55rem; }
  .cherche { flex: 0 1 11rem; min-width: 9.6rem; }
}
@media (min-width: 1440px) { .cherche { flex-basis: 13rem; } .head__in { gap: var(--s-5); } }

/* Ouverture de l'accueil : titre sur trois lignes, photo à la hauteur du texte */
@media (min-width: 960px) {
  .ouv h1 { font-size: clamp(2.6rem, 1.6rem + 2.2vw, 3.6rem); max-width: 12.5em; }
  .ouv__in { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .ouv__photo > img { height: 100%; min-height: 26rem; aspect-ratio: auto; }
}
@media (max-width: 959px) { .ouv__txt::before { right: 0; } }
@media (max-width: 374px) { .ouv__txt { padding-left: 1rem; padding-top: 1.1rem; } .ouv h1 { font-size: 1.95rem; } }
