/* ==========================================================================
   DC BAT — feuille de style
   Direction : « Noir chantier, éclat orange »
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Couleurs de marque */
  --noir: #121211;
  --noir-2: #1d1c1a;
  --noir-3: #2a2826;
  --chaux: #f5f2ed;
  --pierre: #e8e1d5;
  --pierre-2: #d9cfbf;
  --blanc: #ffffff;
  --orange: #ff5500;
  --orange-texte: #c2410c;   /* orange lisible sur fond clair (contraste AA) */
  --gris: #66615a;           /* texte secondaire sur fond clair */
  --gris-clair: #a9a39a;     /* texte secondaire sur fond noir */
  --trait: rgba(18, 18, 17, .12);
  --trait-clair: rgba(255, 255, 255, .14);

  /* Typographie */
  --police: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --t-xs: .8125rem;
  --t-s: .9375rem;
  --t-m: 1.0625rem;
  --t-l: clamp(1.15rem, 1rem + .5vw, 1.35rem);
  --t-xl: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  --t-2xl: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
  --t-3xl: clamp(2.4rem, 1.4rem + 4vw, 4.75rem);

  /* Espacements */
  --gouttiere: clamp(1rem, .6rem + 2vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --max: 1320px;
  --max-texte: 66ch;

  /* Mouvement */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --rapide: 180ms;
  --moyen: 420ms;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--police);
  font-size: var(--t-m);
  line-height: 1.6;
  color: var(--noir);
  background: var(--chaux);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.08; letter-spacing: -.012em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: var(--noir); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.lien-evitement {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--orange); color: var(--noir); padding: .75rem 1rem; font-weight: 700;
}
.lien-evitement:focus { top: 1rem; }

.conteneur { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gouttiere); }
.section { padding-block: var(--section); }
.section--pierre { background: var(--pierre); }
.section--noir { background: var(--noir); color: var(--chaux); }
.section--blanc { background: var(--blanc); }

/* Titres « élargis » : écho aux lettres larges du logo */
.titre-large { font-stretch: 118%; font-weight: 750; }
.h1 { font-size: var(--t-3xl); }
.h2 { font-size: var(--t-2xl); }
.h3 { font-size: var(--t-xl); }

/* Sur-titre avec chevron orange (signature) */
.surtitre {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: var(--t-xs); font-weight: 650; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gris); margin-bottom: 1.25rem;
}
.section--noir .surtitre, .hero .surtitre, .bandeau-cta .surtitre, .page-tete .surtitre { color: var(--gris-clair); }
/* Accueil : le surtitre est dans le grand titre (Google le lit avec), avec exactement l'aspect d'un surtitre normal */
h1 .surtitre { display: flex; line-height: 1.6; font-stretch: 100%; text-wrap: wrap; overflow-wrap: normal; }
.chevron { width: 1.15em; height: auto; flex: none; color: var(--orange); }

.chapo { font-size: var(--t-l); line-height: 1.55; color: var(--gris); max-width: 58ch; }
.section--noir .chapo, .bandeau-cta .chapo { color: var(--gris-clair); }
.texte { max-width: var(--max-texte); }
.texte h2 { font-size: var(--t-xl); margin: 2.2em 0 .7em; }
.texte h3 { font-size: var(--t-l); margin: 1.8em 0 .5em; }
.texte ul { padding-left: 1.1em; margin-bottom: 1em; }
.texte ol { padding-left: 1.4em; margin: 0 0 1em; }
.texte ol li::marker { font-weight: 700; }
.texte li { margin-bottom: .4em; }
.texte li::marker { color: var(--orange); }

/* ---------- Boutons ---------- */
.btn {
  --fond: var(--orange); --encre: var(--noir);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.4rem;
  background: var(--fond); color: var(--encre);
  border: 1px solid var(--fond); border-radius: 2px;
  font-weight: 700; font-size: var(--t-s); letter-spacing: .02em; text-decoration: none;
  cursor: pointer; transition: background var(--rapide) var(--ease), color var(--rapide) var(--ease), border-color var(--rapide) var(--ease), transform var(--rapide) var(--ease);
}
.btn:hover { --fond: #ff6a1f; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.1em; height: 1.1em; }
.btn--contour { --fond: transparent; --encre: currentColor; border-color: currentColor; }
.btn--contour:hover { --fond: var(--blanc); --encre: var(--noir); border-color: var(--blanc); }
.section--pierre .btn--contour:hover, .section:not(.section--noir) .btn--contour:hover { --fond: var(--noir); --encre: var(--chaux); border-color: var(--noir); }
.btn--noir { --fond: var(--noir); --encre: var(--chaux); }
.btn--noir:hover { --fond: var(--noir-3); }
.groupe-btn { display: flex; flex-wrap: wrap; gap: .75rem; }

.lien-fleche {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 650; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: .15rem;
}
.lien-fleche svg { width: 1em; transition: transform var(--rapide) var(--ease); }
.lien-fleche:hover svg { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 18, 17, .96);
  color: var(--chaux);
  border-bottom: 1px solid var(--trait-clair);
}
@supports (backdrop-filter: blur(8px)) {
  .entete { background: rgba(18, 18, 17, .86); backdrop-filter: saturate(140%) blur(10px); }
}
.entete__barre { display: flex; align-items: center; gap: 1.5rem; height: 76px; }
.entete__logo { flex: none; display: block; }
.entete__logo img { height: 34px; width: auto; }
.nav { margin-left: auto; }
.nav__liste { display: flex; gap: .25rem; list-style: none; }
.nav__lien {
  display: block; padding: .6rem .8rem; font-size: var(--t-s); font-weight: 550; text-decoration: none;
  color: var(--gris-clair); transition: color var(--rapide);
  position: relative;
}
.nav__lien:hover, .nav__lien[aria-current="page"] { color: var(--blanc); }
.nav__lien[aria-current="page"]::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px; background: var(--orange);
}
.entete__actions { display: flex; align-items: center; gap: .75rem; }
.entete__tel { display: inline-flex; align-items: center; gap: .5rem; font-weight: 650; font-size: var(--t-s); text-decoration: none; white-space: nowrap; }
.entete__tel svg { width: 1.05em; color: var(--orange); }
.entete .btn { min-height: 42px; padding: .6rem 1.1rem; }
.burger { display: none; }

@media (max-width: 1060px) {
  .entete__tel span { display: none; }
}
@media (max-width: 1100px) {
  /* backdrop-filter enfermerait le menu (position fixe) dans l'en-tête */
  .entete { backdrop-filter: none; background: var(--noir); }
  .entete__barre { height: 64px; }
  .entete__logo img { height: 28px; }
  .burger {
    display: inline-flex; margin-left: auto; align-items: center; justify-content: center;
    width: 48px; height: 48px; background: none; border: 0; cursor: pointer; color: var(--chaux);
  }
  .burger__icone { position: relative; width: 24px; height: 2px; background: currentColor; transition: background var(--rapide); }
  .burger__icone::before, .burger__icone::after {
    content: ""; position: absolute; left: 0; width: 24px; height: 2px; background: currentColor; transition: transform var(--moyen) var(--ease);
  }
  .burger__icone::before { top: -7px; }
  .burger__icone::after { top: 7px; }
  .burger[aria-expanded="true"] .burger__icone { background: transparent; }
  .burger[aria-expanded="true"] .burger__icone::before { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] .burger__icone::after { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 64px 0 0 0; background: var(--noir); padding: 1.5rem var(--gouttiere) 6rem;
    transform: translateX(100%); visibility: hidden; transition: transform var(--moyen) var(--ease), visibility 0s linear var(--moyen);
    overflow-y: auto;
  }
  .nav.est-ouvert { transform: none; visibility: visible; transition: transform var(--moyen) var(--ease); }
  .nav__liste { flex-direction: column; gap: 0; }
  .nav__lien { font-size: var(--t-xl); font-stretch: 112%; font-weight: 700; color: var(--chaux); padding: 1rem 0; border-bottom: 1px solid var(--trait-clair); }
  .nav__lien[aria-current="page"]::after { left: 0; right: auto; width: 2rem; bottom: .5rem; }
  .nav__mobile-cta { display: grid; gap: .75rem; margin-top: 2rem; }
}
@media (min-width: 1101px) { .nav__mobile-cta { display: none; } }
/* Écrans moyens (901 à 1 100 px) : menu en burger, bouton de devis conservé */
@media (max-width: 1100px) and (min-width: 901px) {
  .entete__actions { margin-left: auto; }
  .burger { order: 3; margin-left: .5rem; }
}
/* Téléphones : un bouton « Appeler » à côté du bouton du menu, visible dès l'arrivée, sur toutes les pages */
.appel-entete { display: none; }
@media (max-width: 900px) {
  .entete__actions { display: none; }
  .entete .appel-entete { display: inline-flex; margin-left: auto; min-height: 40px; padding: .5rem .85rem; gap: .45rem; }
  .appel-entete svg { color: var(--orange); }
  /* Le trait du menu s'aligne sur le bord du contenu, comme le logo à gauche */
  .burger { margin-left: -.75rem; margin-right: -.75rem; }
}
/* Petits téléphones (moins de 375 px de large) : l'icône seule, pour que l'en-tête tienne sur une ligne */
@media (max-width: 374px) {
  .appel-entete span { display: none; }
  .entete .appel-entete { padding-inline: .7rem; }
}
.nav__lien, .entete .btn { white-space: nowrap; }

/* ---------- Héro accueil (photo verticale + texte) ---------- */
.hero { background: var(--noir); color: var(--chaux); position: relative; overflow: hidden; }
.hero__grille { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: min(88vh, 860px); }
.hero__texte { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 6vw, 6rem) var(--gouttiere) clamp(3rem, 6vw, 5rem); max-width: 720px; margin-left: auto; width: 100%; }
.hero h1 { font-size: var(--t-3xl); margin-bottom: 1.5rem; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .chapo { color: var(--gris-clair); margin-bottom: 2.25rem; }
.hero__photo { position: relative; min-height: 420px; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,18,17,.35), transparent 35%); pointer-events: none; }
.hero__legende {
  position: absolute; right: 1rem; bottom: 1rem; z-index: 1;
  font-size: var(--t-xs); color: var(--chaux); background: rgba(18,18,17,.7); padding: .4rem .7rem; letter-spacing: .04em;
}
.hero__preuves { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--trait-clair); list-style: none; }
.hero__preuves li { font-size: var(--t-s); color: var(--gris-clair); }
.hero__preuves strong { display: block; font-size: var(--t-xl); font-stretch: 118%; color: var(--chaux); line-height: 1.1; }
@media (max-width: 900px) {
  .hero__grille { grid-template-columns: 1fr; min-height: 0; }
  .hero__photo { order: -1; min-height: 0; aspect-ratio: 4 / 3.4; }
  .hero__photo::after { background: linear-gradient(0deg, rgba(18,18,17,.55), transparent 40%); }
  .hero__texte { padding-top: 2.25rem; margin: 0; max-width: none; }
}

/* ---------- En-tête de page intérieure ---------- */
.page-tete { background: var(--noir); color: var(--chaux); padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.page-tete h1 { font-size: var(--t-3xl); max-width: 18ch; margin-bottom: 1.25rem; }
.page-tete .chapo { color: var(--gris-clair); }
.page-tete--photo { padding-bottom: 0; }
.page-tete__grille { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.page-tete__visuel { aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: calc(-1 * clamp(3rem, 6vw, 6rem)); position: relative; z-index: 2; }
.page-tete__visuel img { width: 100%; height: 100%; object-fit: cover; }
.page-tete--photo + .section { padding-top: calc(var(--section) + 2rem); }
@media (max-width: 900px) {
  .page-tete__grille { grid-template-columns: 1fr; }
  .page-tete__visuel { aspect-ratio: 4 / 3; margin-bottom: -2.5rem; }
}

/* Fil d'Ariane */
.ariane { font-size: var(--t-xs); color: var(--gris-clair); margin-bottom: 2rem; }
.ariane ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.ariane li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.ariane a { text-decoration: none; }
.ariane a:hover { color: var(--chaux); }

/* ---------- Bandeau chiffres ---------- */
.chiffres { background: var(--pierre); border-bottom: 1px solid var(--trait); }
.chiffres__liste { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.chiffres__item { padding: 2rem var(--gouttiere); border-left: 1px solid var(--trait); }
.chiffres__item:first-child { border-left: 0; padding-left: 0; }
.chiffres__item strong { display: block; font-size: var(--t-2xl); font-stretch: 120%; line-height: 1; margin-bottom: .4rem; }
.chiffres__item span { font-size: var(--t-s); color: var(--gris); }
@media (max-width: 760px) {
  .chiffres__liste { grid-template-columns: 1fr 1fr; }
  .chiffres__item { padding: 1.5rem 0 1.5rem 1rem; border-top: 1px solid var(--trait); }
  .chiffres__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .chiffres__item:nth-child(-n+2) { border-top: 0; }
}

/* ---------- Bloc intro deux colonnes ---------- */
.deux-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.deux-col--centre { align-items: center; }
.deux-col--contact { grid-template-columns: 1.25fr .75fr; }
@media (max-width: 860px) { .deux-col, .deux-col--contact { grid-template-columns: 1fr; } }
.tete-section { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(2.5rem, 4vw, 4rem); flex-wrap: wrap; }
.tete-section h2 { max-width: 20ch; }

/* ---------- Cartes prestations ---------- */
.prestations { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--trait); border: 1px solid var(--trait); }
.carte-presta { grid-column: span 3; background: var(--chaux); position: relative; display: flex; flex-direction: column; text-decoration: none; }
.carte-presta__visuel { aspect-ratio: 4 / 3; overflow: hidden; }
.carte-presta__visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.carte-presta:hover .carte-presta__visuel img { transform: scale(1.04); }
.carte-presta__corps { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.carte-presta__num { font-size: var(--t-xs); color: var(--gris); letter-spacing: .1em; }
.carte-presta h3 { font-size: var(--t-l); font-stretch: 112%; }
.carte-presta p { color: var(--gris); font-size: var(--t-s); margin: 0; }
.carte-presta__fleche { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; gap: .5rem; font-size: var(--t-s); font-weight: 650; }
.carte-presta__fleche svg { width: 1em; color: var(--orange-texte); transition: transform var(--rapide) var(--ease); }
.carte-presta:hover .carte-presta__fleche svg { transform: translateX(5px); }
@media (max-width: 960px) {
  .prestations { grid-template-columns: 1fr 1fr; }
  .carte-presta { grid-column: span 1; }
}
@media (max-width: 600px) {
  .prestations { grid-template-columns: 1fr; }
  .carte-presta { grid-column: span 1; }
}

/* ---------- Réalisations ---------- */
.grille-real { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2vw, 1.75rem); }
.carte-real { grid-column: span 4; text-decoration: none; display: block; }
.carte-real--grande { grid-column: span 8; grid-row: span 2; }
.carte-real__visuel { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--pierre); }
.carte-real--grande .carte-real__visuel { aspect-ratio: auto; height: calc(100% - 4.25rem); min-height: 420px; }
.carte-real__visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.carte-real:hover .carte-real__visuel img { transform: scale(1.035); }
.carte-real__badge {
  position: absolute; left: .75rem; top: .75rem; background: var(--noir); color: var(--chaux);
  font-size: var(--t-xs); font-weight: 650; letter-spacing: .06em; padding: .35rem .6rem;
}
.carte-real__info { display: flex; justify-content: space-between; gap: 1rem; padding-top: .9rem; }
.carte-real h3 { font-size: var(--t-m); font-weight: 650; line-height: 1.3; }
.carte-real__lieu { font-size: var(--t-s); color: var(--gris); white-space: nowrap; }
.section--noir .carte-real__lieu { color: var(--gris-clair); }
@media (max-width: 960px) {
  .carte-real { grid-column: span 6; }
  .carte-real--grande { grid-column: span 12; grid-row: auto; }
  .carte-real--grande .carte-real__visuel { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) { .carte-real { grid-column: span 12; } }

/* Filtres galerie */
.filtres { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filtre {
  min-height: 44px; padding: .55rem 1.1rem; border: 1px solid var(--trait); background: transparent; border-radius: 999px;
  font-size: var(--t-s); font-weight: 600; cursor: pointer; transition: background var(--rapide), color var(--rapide), border-color var(--rapide);
}
.filtre:hover { border-color: var(--noir); }
.filtre[aria-pressed="true"] { background: var(--noir); color: var(--chaux); border-color: var(--noir); }
.carte-real[hidden] { display: none; }

/* ---------- Avant / après ---------- */
.avap { position: relative; overflow: hidden; aspect-ratio: 4 / 5; max-height: 80vh; background: var(--noir-2); user-select: none; touch-action: pan-y; }
.avap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.avap__avant { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.avap__poignee {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: var(--chaux); transform: translateX(-1px); pointer-events: none;
}
.avap__poignee::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121211' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 24px no-repeat;
  box-shadow: 0 4px 18px rgba(0,0,0,.35);
}
.avap__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.avap__range:focus-visible + .avap__poignee::after { outline: 3px solid var(--chaux); outline-offset: 3px; }
.avap__etiq {
  position: absolute; top: 1rem; font-size: var(--t-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(18,18,17,.75); color: var(--chaux); padding: .35rem .65rem; pointer-events: none;
}
.avap__etiq--avant { left: 1rem; }
.avap__etiq--apres { right: 1rem; background: var(--orange); color: var(--noir); }

/* ---------- Méthode ---------- */
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: etape; list-style: none; border-top: 1px solid var(--trait-clair); }
.etape { padding: 2rem 1.5rem 0 0; position: relative; }
.etape + .etape { padding-left: 1.5rem; border-left: 1px solid var(--trait-clair); }
.etape__num { font-size: var(--t-2xl); font-stretch: 125%; font-weight: 800; color: var(--orange); line-height: 1; display: block; margin-bottom: 1.25rem; }
.etape h3 { font-size: var(--t-l); margin-bottom: .6rem; }
.etape p { color: var(--gris-clair); font-size: var(--t-s); }
.section:not(.section--noir) .etapes { border-color: var(--trait); }
.section:not(.section--noir) .etape + .etape { border-color: var(--trait); }
.section:not(.section--noir) .etape p { color: var(--gris); }
@media (max-width: 900px) {
  .etapes { grid-template-columns: 1fr 1fr; }
  .etape:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .etapes { grid-template-columns: 1fr; }
  .etape, .etape + .etape { padding: 1.5rem 0; border-left: 0; border-bottom: 1px solid var(--trait-clair); }
}

/* ---------- Atouts / liste avec chevrons ---------- */
.atouts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; list-style: none; }
.atout { display: grid; grid-template-columns: auto 1fr; gap: 1rem; }
.atout .chevron { width: 1.5rem; margin-top: .25rem; }
.atout h3 { font-size: var(--t-m); font-weight: 700; margin-bottom: .3rem; }
.atout p { color: var(--gris); font-size: var(--t-s); margin: 0; }
.section--noir .atout p { color: var(--gris-clair); }
@media (max-width: 700px) { .atouts { grid-template-columns: 1fr; } }

/* ---------- Photo éditoriale ---------- */
.photo-edito { position: relative; overflow: hidden; }
.photo-edito img { width: 100%; height: 100%; object-fit: cover; }
.photo-edito--portrait { aspect-ratio: 4 / 5; }
.photo-edito--paysage { aspect-ratio: 3 / 2; }
.photo-edito figcaption { font-size: var(--t-xs); color: var(--gris); padding-top: .6rem; }
.duo-photos { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(1rem, 2vw, 1.5rem); align-items: end; }
.duo-photos .photo-edito:last-child { margin-bottom: 18%; }

/* ---------- Zones ---------- */
.zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--trait); border: 1px solid var(--trait); }
.zone { background: var(--chaux); padding: 2rem 1.75rem; }
.zone__dep { font-size: var(--t-xs); letter-spacing: .14em; color: var(--gris); text-transform: uppercase; font-weight: 650; }
.zone h3 { font-size: var(--t-xl); font-stretch: 118%; margin: .4rem 0 1rem; }
.zone p { color: var(--gris); font-size: var(--t-s); }
.zone__villes { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; }
.zone__villes li { font-size: var(--t-xs); padding: .3rem .6rem; border: 1px solid var(--trait); border-radius: 999px; }
@media (max-width: 860px) { .zones { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--trait); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center;
  padding: 1.4rem 0; font-weight: 650; font-size: var(--t-l); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform var(--moyen) var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq__rep { padding: 0 0 1.5rem; color: var(--gris); max-width: 70ch; }

/* ---------- Bandeau CTA ---------- */
.bandeau-cta { background: var(--noir); color: var(--chaux); position: relative; overflow: hidden; }
.bandeau-cta__grille { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; align-items: end; padding-block: clamp(4rem, 3rem + 5vw, 8rem); }
.bandeau-cta h2 { font-size: var(--t-3xl); max-width: 14ch; }
.bandeau-cta__contact { display: grid; gap: 1rem; }
.bandeau-cta__tel { font-size: var(--t-2xl); font-stretch: 118%; font-weight: 750; text-decoration: none; line-height: 1; white-space: nowrap; }
.bandeau-cta__tel:hover { color: var(--orange); }
.bandeau-cta__marque { position: absolute; right: -4vw; bottom: -8vw; width: 42vw; max-width: 560px; opacity: .06; pointer-events: none; }
@media (max-width: 860px) { .bandeau-cta__grille { grid-template-columns: 1fr; } }

/* ---------- Formulaire ---------- */
.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
.champ { display: grid; gap: .45rem; }
.champ--large { grid-column: 1 / -1; }
.champ label, .champ legend { font-size: var(--t-s); font-weight: 650; }
.champ .aide { font-size: var(--t-xs); color: var(--gris); }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem; background: var(--blanc);
  border: 1px solid var(--pierre-2); border-radius: 2px; font-size: 1rem;
  transition: border-color var(--rapide), box-shadow var(--rapide);
}
.champ textarea { min-height: 160px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--noir); box-shadow: 0 0 0 3px rgba(255, 85, 0, .25); }
.champ input:user-invalid, .champ textarea:user-invalid { border-color: #b42318; }
.champ fieldset { border: 0; padding: 0; margin: 0; }
.choix { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .45rem; }
.choix label { position: relative; font-weight: 550; }
.choix input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choix span {
  display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--pierre-2);
  border-radius: 999px; background: var(--blanc); cursor: pointer; transition: all var(--rapide);
}
.choix input:checked + span { background: var(--noir); color: var(--chaux); border-color: var(--noir); }
.choix input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.case { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; font-size: var(--t-s); color: var(--gris); }
.case input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--noir); }
.pot-de-miel { position: absolute !important; left: -9999px !important; }
.formulaire .btn { justify-self: start; }
@media (max-width: 640px) { .formulaire { grid-template-columns: 1fr; } }

.carte-contact { background: var(--noir); color: var(--chaux); padding: clamp(1.75rem, 3vw, 2.5rem); display: grid; gap: 1.75rem; }
.carte-contact h2 { font-size: var(--t-xl); }
.carte-contact dl { margin: 0; display: grid; gap: 1.25rem; }
.carte-contact dt { font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--gris-clair); margin-bottom: .25rem; }
.carte-contact dd { margin: 0; font-size: var(--t-l); font-weight: 600; }
.carte-contact a { text-decoration: none; }
.carte-contact a:hover { color: var(--orange); }
.carte-osm { aspect-ratio: 4 / 3; width: 100%; border: 0; filter: grayscale(1) contrast(1.05); background: var(--noir-2); }

/* ---------- Galerie projet ---------- */
.galerie { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(.75rem, 1.5vw, 1.25rem); }
.galerie figure { margin: 0; grid-column: span 2; }
.galerie figure:nth-child(5n+1) { grid-column: span 4; }
.galerie figure:nth-child(5n+1) .galerie__img { aspect-ratio: 4 / 3; }
.galerie__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--pierre); }
.galerie__img img { width: 100%; height: 100%; object-fit: cover; }
.galerie figcaption { font-size: var(--t-xs); color: var(--gris); padding-top: .5rem; }
@media (max-width: 760px) {
  .galerie { grid-template-columns: 1fr 1fr; }
  .galerie figure, .galerie figure:nth-child(5n+1) { grid-column: span 1; }
  .galerie figure:nth-child(3n+1) { grid-column: span 2; }
}
.fiche-projet { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 1rem 3rem; margin: 0 0 2.5rem; padding: 1.5rem 0; border-block: 1px solid var(--trait); }
.fiche-projet dt { font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.fiche-projet dd { margin: .2rem 0 0; font-weight: 650; }
@media (max-width: 700px) { .fiche-projet { grid-template-columns: 1fr 1fr; } }
.nav-projets { display: flex; justify-content: space-between; gap: 1rem; padding-top: 2.5rem; border-top: 1px solid var(--trait); margin-top: 3rem; flex-wrap: wrap; }

/* ---------- Pied de page ---------- */
.pied { background: var(--noir-2); color: var(--gris-clair); font-size: var(--t-s); padding-top: clamp(3.5rem, 6vw, 5.5rem); }
.pied__grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.pied__logo img { height: 40px; width: auto; margin-bottom: 1.25rem; }
.pied h2 { font-size: var(--t-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--chaux); margin-bottom: 1.1rem; font-weight: 700; }
.pied ul { list-style: none; display: grid; gap: .55rem; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--chaux); }
.pied address { font-style: normal; line-height: 1.7; }
.pied__bas { border-top: 1px solid var(--trait-clair); padding-block: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: var(--t-xs); }
.pied__bas ul { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.reseau { display: inline-flex; align-items: center; gap: .5rem; }
.reseau svg { width: 1.1rem; }
@media (max-width: 900px) { .pied__grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pied__grille { grid-template-columns: 1fr; } }

/* ---------- Barre d'action mobile ---------- */
.barre-mobile { display: none; }
@media (max-width: 900px) {
  .barre-mobile {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--noir); border-top: 1px solid var(--trait-clair); padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); gap: .6rem;
    transform: translateY(110%); transition: transform var(--moyen) var(--ease);
  }
  .barre-mobile.est-visible { transform: none; }
  .barre-mobile .btn { min-height: 48px; }
  .barre-mobile .btn--contour { color: var(--chaux); }
  body { padding-bottom: 0; }
  .pied { padding-bottom: 72px; }
}

/* ---------- Pages simples (mentions, 404) ---------- */
.page-simple .texte h2 { font-size: var(--t-l); }
.alerte { background: var(--pierre); border-left: 3px solid var(--orange); padding: 1rem 1.25rem; margin: 1.5rem 0; font-size: var(--t-s); }

/* ---------- Apparitions au défilement ---------- */
.js [data-apparition] { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js [data-apparition].est-visible { opacity: 1; transform: none; }
.js [data-apparition="2"] { transition-delay: 90ms; }
.js [data-apparition="3"] { transition-delay: 180ms; }
.js [data-apparition="4"] { transition-delay: 270ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  .js [data-apparition] { opacity: 1; transform: none; }
}

@media print {
  .entete, .barre-mobile, .bandeau-cta, .pied { display: none; }
  body { background: #fff; }
}

/* ==========================================================================
   Retouches v2 : logo, photo signature, avis clients, Instagram, réseaux
   ========================================================================== */
.entete__logo img { height: 42px; width: auto; }
@media (max-width: 900px) { .entete__logo img { height: 34px; } }
.pied__logo img { height: 104px; margin-bottom: 1.1rem; }
.pied__accroche { color: var(--chaux); font-weight: 650; letter-spacing: .02em; margin-bottom: .6rem; }

/* Photo « signée » au nettoyeur + résultat */
.signature { position: relative; padding-bottom: 16%; }
.signature__principale { position: relative; margin-right: 14%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--pierre); }
.signature__inset {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 5; overflow: hidden;
  border: 6px solid var(--chaux); box-shadow: 0 18px 40px rgba(18, 18, 17, .2); background: var(--pierre);
}
.signature__principale img, .signature__inset img { width: 100%; height: 100%; object-fit: cover; }
.signature__legende { position: absolute; left: 0; bottom: 0; width: 48%; font-size: var(--t-xs); color: var(--gris); line-height: 1.45; margin: 0; }

/* Avis clients */
.note-google { display: flex; align-items: center; gap: 1.25rem; }
.note-google__chiffre { font-size: var(--t-3xl); font-stretch: 120%; font-weight: 800; line-height: 1; }
.note-google__detail { display: grid; gap: .3rem; font-size: var(--t-s); color: var(--gris); }
.etoiles { display: inline-flex; gap: 2px; color: var(--orange); }
.etoiles svg { width: 1.15rem; height: 1.15rem; }
.avis { columns: 3 290px; column-gap: clamp(1rem, 2vw, 1.5rem); }
.avis__carte {
  break-inside: avoid; margin: 0 0 clamp(1rem, 2vw, 1.5rem); padding: clamp(1.4rem, 2.5vw, 2rem);
  background: var(--chaux); border: 1px solid var(--trait); display: grid; gap: 1rem;
}
.avis__carte blockquote { margin: 0; font-size: var(--t-m); line-height: 1.6; }
.avis__carte figcaption { font-size: var(--t-xs); color: var(--gris); letter-spacing: .04em; }
.avis__mention { font-size: var(--t-xs); color: var(--gris); margin-top: 1rem; max-width: 70ch; }

/* Bandeau Instagram */
.insta { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; }
.insta a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--pierre); }
.insta img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.insta a::after { content: ""; position: absolute; inset: 0; background: rgba(18, 18, 17, 0); transition: background var(--rapide); }
.insta a:hover img { transform: scale(1.05); }
.insta a:hover::after { background: rgba(18, 18, 17, .25); }
@media (max-width: 760px) { .insta { grid-template-columns: repeat(3, 1fr); } }

/* Liens réseaux sociaux */
.reseaux { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; list-style: none; }
.pied .reseaux { display: flex; margin-top: 1.25rem; }
.reseaux a { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 600; }
.reseaux svg { width: 1.15rem; height: 1.15rem; flex: none; }
.carte-contact .reseaux a { font-size: var(--t-s); }
@media (max-width: 560px) {
  .signature { padding-bottom: 20%; }
  .signature__legende { position: static; width: auto; margin: 1rem 50% 0 0; }
}
.nav__mobile-cta .reseaux { margin-top: 1rem; color: var(--gris-clair); }

/* Grande carte réalisation : cadrer sur le bâtiment plutôt que sur le ciel */
.carte-real--grande .carte-real__visuel img { object-position: 50% 78%; }

/* ==========================================================================
   Contrôle ui-ux-pro-max : corrections
   ========================================================================== */
/* focus-not-obscured : l'en-tête fixe ne doit pas masquer l'élément au clavier */
html { scroll-padding-top: 96px; }
@media (max-width: 900px) { html { scroll-padding-top: 80px; scroll-padding-bottom: 88px; } }
/* tap-delay */
a, button, input, select, textarea, label, summary { touch-action: manipulation; }
/* heading-line-balance */
h1, h2, h3 { text-wrap: balance; }
/* long-token-wrapping */
address, dd, .carte-contact a { overflow-wrap: anywhere; }
/* viewport-units */
.hero__grille { min-height: min(88svh, 860px); }
/* stagger-sequence : décalages plus courts */
.js [data-apparition="2"] { transition-delay: 60ms; }
.js [data-apparition="3"] { transition-delay: 120ms; }
.js [data-apparition="4"] { transition-delay: 180ms; }
/* touch-target-size : petits liens à 44 px sur écrans tactiles */
@media (pointer: coarse) {
  .lien-fleche, .pied ul a, .reseaux a, .ariane a, .pied__bas a { min-height: 44px; display: inline-flex; align-items: center; }
  .pied ul { gap: .1rem; }
}
/* primary-action : un seul bouton principal dans le héro */
.hero .groupe-btn { align-items: center; gap: 1rem 1.75rem; }
.lien-fleche--clair { color: var(--chaux); }
.lien-fleche--clair:hover { color: var(--orange); }
/* Formulaire : note, erreur, envoi en cours */
.formulaire__note { grid-column: 1 / -1; margin: 0; font-size: var(--t-s); color: var(--gris); }
.alerte:focus { outline: 2px solid var(--orange); outline-offset: 3px; }
.btn[aria-busy="true"] { opacity: .65; cursor: progress; }

/* ==========================================================================
   Mention garantie décennale
   ========================================================================== */
.rassurance { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.1rem; margin: 1rem 0 0; font-size: var(--t-s); color: var(--gris-clair); list-style: none; padding: 0; }
.rassurance li { display: inline-flex; align-items: center; gap: .45rem; }
.rassurance svg { width: 1.05rem; height: 1.05rem; color: var(--orange); flex: none; }
.section:not(.section--noir) .rassurance:not(.rassurance--sombre) { color: var(--gris); }
.pied__garantie { display: inline-flex; align-items: center; gap: .5rem; color: var(--chaux); font-size: var(--t-s); margin: 0 0 1rem; }
.pied__garantie svg { width: 1.05rem; height: 1.05rem; color: var(--orange); flex: none; }

/* ==========================================================================
   Carte chargée au clic
   ========================================================================== */
.carte { position: relative; aspect-ratio: 4 / 3; width: 100%; display: grid; place-items: center; text-align: center; gap: .75rem; padding: 1.5rem;
  background: var(--noir-2) radial-gradient(circle at 50% 42%, rgba(255, 85, 0, .16), transparent 55%); border: 1px solid var(--trait-clair); }
.carte__contenu { display: grid; justify-items: center; gap: .75rem; }
.carte__pin { width: 2.25rem; height: 2.25rem; color: var(--orange); }
.carte__note { margin: 0; font-size: var(--t-xs); color: var(--gris-clair); max-width: 34ch; }
.carte__lien { font-size: var(--t-xs); color: var(--gris-clair); }
.carte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.carte-contact .btn--contour:hover { --fond: var(--chaux); --encre: var(--noir); border-color: var(--chaux); }

/* ==========================================================================
   Agrandissement des photos (visionneuse)
   ========================================================================== */
.galerie__lien, .visuel-lien { display: block; position: relative; cursor: zoom-in; height: 100%; }
.galerie__lien::after, .visuel-lien::after {
  content: ""; position: absolute; right: .6rem; bottom: .6rem; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(18, 18, 17, .62) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5f2ed' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: background-color var(--rapide);
}
.galerie__lien:hover::after, .visuel-lien:hover::after, .galerie__lien:focus-visible::after { background-color: var(--orange); }
.lb { padding: 0; border: 0; margin: 0; max-width: none; max-height: none; width: 100vw; height: 100vh; height: 100dvh; background: rgba(12, 12, 11, .97); color: var(--chaux); overflow: hidden; }
.lb::backdrop { background: rgba(12, 12, 11, .9); }
.lb[open] { display: flex; align-items: center; justify-content: center; }
.lb__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .75rem; max-width: 100%; padding: 4rem 5rem 3rem; touch-action: pan-y; }
.lb__img { max-width: 100%; max-height: calc(100vh - 9rem); max-height: calc(100dvh - 9rem); width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lb__legende { font-size: var(--t-s); color: var(--gris-clair); text-align: center; max-width: 60ch; margin: 0; }
.lb__compteur { position: absolute; top: 1.4rem; left: 1.25rem; margin: 0; font-size: var(--t-s); color: var(--gris-clair); }
.lb__btn { position: absolute; width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--trait-clair);
  border-radius: 50%; background: rgba(18, 18, 17, .65); color: var(--chaux); cursor: pointer; transition: background var(--rapide), color var(--rapide), border-color var(--rapide); }
.lb__btn:hover { background: var(--orange); color: var(--noir); border-color: var(--orange); }
.lb__btn svg { width: 22px; height: 22px; }
.lb__fermer { top: .75rem; right: .75rem; }
.lb__prec { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb__suiv { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb--seule .lb__prec, .lb--seule .lb__suiv, .lb--seule .lb__compteur { display: none; }
@media (max-width: 700px) {
  .lb__fig { padding: 4rem .5rem 6rem; }
  .lb__img { max-height: calc(100vh - 11rem); max-height: calc(100dvh - 11rem); }
  .lb__prec, .lb__suiv { top: auto; bottom: 1.25rem; transform: none; }
  .lb__prec { left: calc(50% - 64px); }
  .lb__suiv { right: calc(50% - 64px); }
}
@media (prefers-reduced-motion: no-preference) {
  .lb[open] .lb__img { animation: lb-entree 220ms var(--ease); }
  @keyframes lb-entree { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }
}

/* ==========================================================================
   Rubrique Conseils (articles)
   ========================================================================== */
@media (max-width: 1240px) and (min-width: 1101px) { .nav__lien { padding: .6rem .5rem; } }
.conteneur--article { max-width: 820px; }
.article__titre { font-size: var(--t-2xl); max-width: 24ch; }
.article__meta { font-size: var(--t-s); color: var(--gris-clair); margin: 1.25rem 0 0; }
.article__couverture { margin: 0 0 2.5rem; aspect-ratio: 16 / 9; overflow: hidden; background: var(--pierre); }
.article__couverture img { width: 100%; height: 100%; object-fit: cover; }
.encadre { background: var(--pierre); border-left: 3px solid var(--orange); padding: 1.5rem 1.75rem; margin: 0 0 3rem; }
.encadre__titre { font-size: var(--t-xs); letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin: 0 0 .9rem; }
.encadre ul { list-style: none; display: grid; gap: .6rem; }
.encadre li { position: relative; padding-left: 1.6rem; }
.encadre li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; background: var(--orange); clip-path: polygon(50% 0, 100% 100%, 50% 72%, 0 100%); }
.article__corps { max-width: none; font-size: 1.0625rem; line-height: 1.75; }
.article__corps > p, .article__corps > ul { max-width: 68ch; }
.article__corps h2 { font-size: var(--t-xl); margin: 2.6em 0 .8em; }
.article__corps > h2:first-child { margin-top: 0; }
.article__photo { margin: 2rem 0; }
.article__photo img { width: 100%; height: auto; }
.article__photo figcaption { font-size: var(--t-xs); color: var(--gris); padding-top: .6rem; line-height: 1.45; }
.article__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.article__duo .article__photo { margin: 0; }
.tableau { overflow-x: auto; margin: 1.5rem 0 2rem; -webkit-overflow-scrolling: touch; }
.tableau table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: var(--t-s); line-height: 1.5; }
.tableau th, .tableau td { text-align: left; vertical-align: top; padding: .8rem 1rem; border-bottom: 1px solid var(--trait); }
.tableau thead th { font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }
.tableau tbody th { font-weight: 650; width: 28%; }
.article__faq { margin-top: 3.5rem; }
.article__faq h2 { font-size: var(--t-xl); margin-bottom: 1.25rem; }
.article__liens { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--trait); }
.liste-liens { list-style: none; display: flex; flex-wrap: wrap; gap: .75rem 2rem; }
.grille-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.75rem); }
.carte-article { display: flex; flex-direction: column; background: var(--chaux); border: 1px solid var(--trait); text-decoration: none; transition: border-color var(--rapide); }
.carte-article:hover { border-color: var(--noir); }
.carte-article__visuel { aspect-ratio: 3 / 2; overflow: hidden; background: var(--pierre); }
.carte-article__visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.carte-article:hover .carte-article__visuel img { transform: scale(1.04); }
.carte-article__corps { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.carte-article__rubrique { font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; font-weight: 650; color: var(--orange-texte); }
.carte-article__titre { font-size: var(--t-l); font-stretch: 108%; line-height: 1.25; }
.carte-article p { color: var(--gris); font-size: var(--t-s); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.carte-article__meta { margin-top: auto; padding-top: .6rem; font-size: var(--t-xs); color: var(--gris); }
@media (max-width: 1060px) { .grille-articles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .grille-articles { grid-template-columns: 1fr; } .article__duo { gap: .6rem; } }

/* Photo d’accueil : cadrage un peu plus bas (plus de façade, moins de ciel) */
.hero__photo img { object-position: 50% 60%; }

/* Écrans très étroits : un mot trop long pour la ligne passe à la ligne au lieu de déborder */
h1, h2, h3, .titre-large, .chapo { overflow-wrap: anywhere; }
/* Carte (contact) : sur mobile, le bloc grandit en hauteur au lieu de s’élargir */
.carte { min-width: 0; }

/* Avant / après : les étiquettes s'effacent quand leur photo est presque cachée */
.avap__etiq { transition: opacity .25s ease; }
.avap--debut .avap__etiq--avant, .avap--fin .avap__etiq--apres { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .avap__etiq { transition: none; } }
/* Curseur avant / après dans un article */
.article__avap { margin: 2rem auto; max-width: 600px; }
.article__avap figcaption { font-size: var(--t-xs); color: var(--gris); padding-top: .6rem; line-height: 1.45; }

/* ==========================================================================
   Accueil : sections inspirées de modèles 21st.dev (novembre 2026),
   réécrites sans React et adaptées à la charte DC BAT
   ========================================================================== */

/* ---------- Avis clients : cartes qui défilent, cadre à équerres, bandeau des communes
   (d'après « Testimonials Section with Logo Marquee » de kedhareswer) ---------- */
.it-root {
  --it-ligne-forte: rgba(18, 18, 17, .22);
  --it-ombre: 0 1px 2px rgba(18, 18, 17, .06), 0 14px 30px -16px rgba(18, 18, 17, .35);
  background-color: var(--pierre);
  background-image: repeating-linear-gradient(135deg, rgba(18, 18, 17, .07) 0 1px, transparent 1px 10px);
  padding-block: var(--section);
}
.it-sec {
  container-type: inline-size;
  background: var(--chaux); border: 1px solid var(--trait);
  padding: clamp(28px, 5vw, 64px) clamp(16px, 4vw, 48px);
}
.it-frame { position: relative; }
.it-c { position: absolute; width: 14px; height: 14px; border: 0 solid var(--orange); pointer-events: none; }
.it-c-tl { top: -7px; left: -7px; border-top-width: 2px; border-left-width: 2px; }
.it-c-tr { top: -7px; right: -7px; border-top-width: 2px; border-right-width: 2px; }
.it-c-bl { bottom: -7px; left: -7px; border-bottom-width: 2px; border-left-width: 2px; }
.it-c-br { bottom: -7px; right: -7px; border-bottom-width: 2px; border-right-width: 2px; }
.it-tframe { padding: clamp(14px, 3cqw, 32px) clamp(6px, 2cqw, 24px); border: 1px solid var(--trait); }
.it-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  gap: clamp(12px, 2cqw, 22px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 6px;
  scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 8px 6px 12px; scroll-behavior: smooth;
}
.it-track::-webkit-scrollbar { display: none; }
@container (min-width: 560px) { .it-track { grid-auto-columns: calc((100% - clamp(12px, 2cqw, 22px)) / 2); } }
@container (min-width: 900px) { .it-track { grid-auto-columns: calc((100% - 2 * clamp(12px, 2cqw, 22px)) / 3); } }
.it-quote {
  scroll-snap-align: start; margin: 0;
  display: flex; flex-direction: column; gap: 18px; min-height: 260px;
  padding: 24px 22px 20px; background: var(--blanc); border: 1px solid var(--it-ligne-forte);
  transition: transform .45s var(--ease), box-shadow .45s;
}
.it-quote:hover { transform: translateY(-4px); box-shadow: var(--it-ombre); }
.it-quote .etoiles svg { width: 1rem; height: 1rem; }
.it-quote blockquote { position: relative; margin: 0; padding: 0 22px 0 20px; font-size: var(--t-m); line-height: 1.55; }
.it-quote blockquote p { margin: 0; }
.it-qm { position: absolute; color: var(--gris-clair); }
.it-qm svg { display: block; }
.it-qm--debut { left: 0; top: -2px; }
.it-qm--fin { right: 2px; bottom: -2px; transform: rotate(180deg); }
.it-who { display: flex; align-items: center; gap: 11px; margin-top: auto; font-size: var(--t-xs); letter-spacing: .04em; color: var(--gris); }
.it-avatar { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border: 1px solid var(--it-ligne-forte); background: var(--pierre); color: #3b3834; }
.it-avatar svg { width: 20px; height: 20px; }
.it-tnav { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; }
.it-tnav[hidden] { display: none; }
.it-icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  color: var(--gris); background: none; border: 1px solid transparent; cursor: pointer;
  transition: color .2s, border-color .2s;
}
.it-icon-btn:hover { color: var(--noir); border-color: var(--it-ligne-forte); }
.it-icon-btn svg { width: 16px; height: 16px; }
.it-icon-btn--prec svg { transform: rotate(180deg); }
.it-dots { display: flex; gap: 2px; }
.it-dot { width: 24px; height: 24px; display: grid; place-items: center; padding: 0; background: none; border: 0; cursor: pointer; }
.it-dot::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: rgba(18, 18, 17, .5); transition: width .35s var(--ease), background-color .3s; }
.it-dot[aria-current="true"]::before { width: 20px; background: var(--noir); }
.it-marquee-bloc { margin-top: clamp(28px, 4cqw, 44px); padding-top: 18px; border-top: 1px solid var(--trait); }
.it-marquee-tete {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 10px;
  font-size: var(--t-xs); font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--gris);
}
.it-pause {
  min-height: 32px; padding: 0 .8rem; background: none; color: var(--gris);
  border: 1px solid var(--it-ligne-forte); font-size: var(--t-xs); font-weight: 650; letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
}
.it-pause:hover, .it-pause[aria-pressed="true"] { color: var(--noir); }
.it-pause[aria-pressed="true"] { border-color: var(--noir); }
.it-marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.it-marquee-row { display: flex; width: max-content; padding: 6px 0; animation: it-defile var(--it-duree, 45s) linear infinite; }
.it-marquee:hover .it-marquee-row, .it-en-pause .it-marquee-row { animation-play-state: paused; }
.it-logo {
  display: inline-flex; align-items: center; gap: 10px; margin-inline-end: clamp(28px, 4cqw, 52px);
  font-size: var(--t-l); font-weight: 700; font-stretch: 110%; letter-spacing: -.01em; color: #3b3834; white-space: nowrap;
}
.it-logo svg { width: 16px; height: auto; color: var(--orange); }
@keyframes it-defile { to { transform: translateX(-50%); } }

/* ---------- Réalisations : bandes fines qui s'ouvrent au survol, accordéon sur téléphone
   (d'après « Hover Expand Gallery » de kedhareswer) ---------- */
.hx-liste {
  --hx-h: clamp(460px, 72vh, 640px);
  --hx-rail: 72px;
  --hx-marge: 12px;
  --hx-t: 620ms;
  --hx-courbe: cubic-bezier(.32, .72, 0, 1);
  --hx-img-m: clamp(260px, 84vw, 460px);
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
  border-top: 1px solid var(--trait-clair); border-bottom: 1px solid var(--trait-clair);
}
.hx-item { position: relative; border-bottom: 1px solid var(--trait-clair); }
.hx-item:last-child { border-bottom: 0; }
.hx-entete { margin: 0; font: inherit; letter-spacing: inherit; }
.hx-bouton {
  position: relative; display: flex; align-items: center; gap: 1rem;
  width: 100%; min-height: 64px; margin: 0; padding: .5rem .25rem .5rem 1rem;
  background: transparent; border: 0; border-radius: 0;
  color: #8d8881; text-align: left; cursor: pointer;
  font-size: var(--t-s); font-weight: 600; line-height: 1.3; letter-spacing: -.005em;
  transition: color var(--hx-t) ease-out;
}
.hx-bouton:hover, .hx-item[data-ouvert] .hx-bouton { color: var(--chaux); }
.hx-bouton:focus-visible { outline-offset: -2px; }
.hx-bouton::before {
  content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px;
  background: var(--orange); transform: scaleY(0); transition: transform var(--hx-t) var(--hx-courbe);
}
.hx-item[data-ouvert] .hx-bouton::before { transform: none; }
.hx-num { flex: none; min-width: 2ch; font-size: var(--t-xs); font-weight: 750; letter-spacing: .08em; font-variant-numeric: tabular-nums; transition: color var(--hx-t) ease-out; }
.hx-item[data-ouvert] .hx-num { color: var(--orange); }
.hx-nom { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx-panneau {
  position: relative; overflow: hidden; height: 0; visibility: hidden; opacity: 0;
  transition: height var(--hx-t) var(--hx-courbe), opacity var(--hx-t) var(--hx-courbe), visibility 0s linear var(--hx-t);
}
.hx-item[data-ouvert] .hx-panneau, html:not(.js) .hx-panneau {
  height: calc(var(--hx-img-m) + var(--hx-marge)); visibility: visible; opacity: 1;
  transition: height var(--hx-t) var(--hx-courbe), opacity var(--hx-t) var(--hx-courbe), visibility 0s;
}
/* Téléphone : la photo du dessus se referme d'un coup quand on touche une ligne plus bas (voir main.js) */
.hx-sec .hx-panneau, .hx-sec .hx-legende { transition: none; }
.hx-photo {
  position: absolute; top: 0; left: 0; right: 0; height: var(--hx-img-m);
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; background: var(--noir-2); color: var(--chaux);
}
.hx-photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 900ms var(--ease); }
.hx-photo:hover img { transform: scale(1.03); }
.hx-photo::after {
  content: ""; position: absolute; inset: 30% 0 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(18, 18, 17, 0), rgba(18, 18, 17, .86));
}
.hx-legende { z-index: 1; padding: 1.1rem 1.1rem 1.2rem; opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; }
.hx-item[data-ouvert] .hx-legende, html:not(.js) .hx-legende { opacity: 1; transform: none; transition-delay: .2s; }
.hx-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .7rem; }
.hx-tags span { background: var(--noir); color: var(--chaux); padding: .3rem .55rem; font-size: .75rem; font-weight: 650; letter-spacing: .06em; line-height: 1.2; }
.hx-tags span + span { background: var(--orange); color: var(--noir); }
.hx-grand { display: none; }
.hx-infos { margin: 0 0 .8rem; font-size: var(--t-s); line-height: 1.45; color: rgba(245, 242, 237, .86); }
.hx-lien { color: var(--chaux); }
.hx-lien::after { content: ""; position: absolute; inset: 0; }
.hx-aide { margin: 1.25rem 0 0; font-size: var(--t-xs); color: var(--gris-clair); }
.hx-aide--souris { display: none; }
html:not(.js) .hx-aide { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .hx-aide--souris { display: inline; }
  .hx-aide--doigt { display: none; }
}
@media (min-width: 1024px) {
  .js .hx-liste { flex-direction: row; height: var(--hx-h); container-type: inline-size; border-top: 0; border-bottom: 0; }
  .js .hx-item {
    flex: 0 1 var(--hx-rail); min-width: 0; height: 100%; overflow: hidden;
    border-bottom: 0; border-left: 1px solid var(--trait-clair);
    transition: flex-basis var(--hx-t) var(--hx-courbe);
  }
  .js .hx-item:last-child { border-right: 1px solid var(--trait-clair); }
  .js .hx-item[data-ouvert] { flex-basis: calc(100% - (var(--hx-n) - 1) * var(--hx-rail)); }
  .js .hx-entete { position: absolute; top: 0; bottom: 0; left: 0; width: var(--hx-rail); }
  .js .hx-bouton { flex-direction: column; justify-content: flex-start; gap: .9rem; height: 100%; min-height: 0; padding: 1.4rem 0; }
  .js .hx-bouton::before { top: 0; bottom: auto; left: 16px; right: 16px; width: auto; height: 3px; transform: scaleX(0); }
  .js .hx-num { order: 1; min-width: 0; }
  .js .hx-nom {
    order: 3; flex: 0 1 auto; min-height: 0; margin-top: auto;
    writing-mode: vertical-rl; transform: rotate(180deg); font-size: var(--t-m); letter-spacing: -.01em;
  }
  .js .hx-panneau, .js .hx-item[data-ouvert] .hx-panneau {
    position: absolute; top: 8px; bottom: 8px; left: var(--hx-rail); right: var(--hx-marge); height: auto;
  }
  .js .hx-photo { top: 0; bottom: 0; right: auto; height: auto; width: calc(100cqw - var(--hx-n) * var(--hx-rail) - var(--hx-marge)); }
  .js .hx-legende { padding: clamp(1.4rem, 2.4vw, 2.25rem); max-width: 46rem; }
  .js .hx-grand {
    display: block; margin: 0 0 .5rem; max-width: 22ch; color: var(--chaux);
    font-size: var(--t-xl); font-weight: 750; font-stretch: 118%; line-height: 1.1; letter-spacing: -.012em;
  }
}

/* ---------- Notre méthode : la ligne orange se trace au défilement et allume les étapes
   (d'après « Scroll animated timeline » d'ibrandify) ---------- */
.tl-frise { --tl-noeud: 44px; position: relative; max-width: 980px; margin-inline: auto; }
.tl-rail {
  position: absolute; z-index: 0; left: calc(var(--tl-noeud) / 2 - 1px); width: 2px;
  top: var(--tl-debut, calc(var(--tl-noeud) / 2)); height: var(--tl-long, calc(100% - var(--tl-noeud) / 2));
  background: rgba(245, 242, 237, .16);
}
.tl-trace { position: absolute; inset: 0; background: var(--orange); transform-origin: 50% 0; transform: scaleY(var(--tl-p, 1)); transition: transform .12s linear; }
.tl-etapes { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(3rem, 7vw, 5.5rem); }
.tl-etape, .tl-fin { display: grid; grid-template-columns: var(--tl-noeud) 1fr; column-gap: 1.25rem; align-items: start; }
.tl-noeud {
  grid-column: 1; grid-row: 1; position: relative; z-index: 1;
  display: grid; place-items: center; width: var(--tl-noeud); height: var(--tl-noeud);
  background: var(--orange); border: 1.5px solid var(--orange); color: var(--noir);
  font-size: var(--t-s); font-weight: 800; font-stretch: 125%; letter-spacing: .02em; line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: background-color .5s ease, border-color .5s ease, color .5s ease;
}
.tl-noeud svg { width: 22px; height: auto; }
.tl-carte { grid-column: 2; grid-row: 1; padding-top: .3rem; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.tl-puce {
  display: inline-block; margin: 0 0 .8rem; padding: .3rem .65rem;
  border: 1px solid var(--trait-clair); background: var(--noir-2); color: var(--gris-clair);
  font-size: var(--t-xs); font-weight: 650; letter-spacing: .14em; text-transform: uppercase; line-height: 1.3;
}
.tl-carte h3 { font-size: var(--t-xl); font-weight: 750; font-stretch: 118%; margin-bottom: .6rem; }
.tl-texte { color: var(--gris-clair); margin: 0; max-width: 40ch; }
.tl-fin { margin-top: clamp(3rem, 7vw, 5.5rem); align-items: center; }
.tl-fin__texte { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; transition: opacity .7s var(--ease); }
.tl-tel { color: var(--chaux); font-weight: 650; }
/* Tant que la ligne n'est pas arrivée : repère éteint et texte en retrait (seulement quand le script tourne) */
.tl-anime .tl-noeud { background: var(--noir); border-color: rgba(245, 242, 237, .3); color: var(--gris-clair); }
.tl-anime .est-atteinte .tl-noeud { background: var(--orange); border-color: var(--orange); color: var(--noir); animation: tl-pop .5s var(--ease); }
.tl-anime .tl-etape:not(.est-atteinte) .tl-carte { opacity: .3; transform: translateY(2rem); }
.tl-anime .tl-fin:not(.est-atteinte) .tl-fin__texte { opacity: .3; }
@keyframes tl-pop { 50% { transform: scale(1.12); } }
@media (min-width: 860px) {
  .tl-frise { --tl-noeud: 56px; }
  .tl-rail { left: calc(50% - 1px); }
  .tl-etape { grid-template-columns: 1fr var(--tl-noeud) 1fr; column-gap: clamp(1.75rem, 4vw, 3.5rem); }
  .tl-noeud { grid-column: 2; font-size: var(--t-m); }
  .tl-carte { padding-top: .6rem; }
  .tl-etape:nth-child(odd) .tl-carte { grid-column: 1; text-align: right; }
  .tl-etape:nth-child(odd) .tl-texte { margin-left: auto; }
  .tl-etape:nth-child(even) .tl-carte { grid-column: 3; }
  .tl-fin { grid-template-columns: 1fr; justify-items: center; row-gap: 1.5rem; }
  .tl-fin .tl-noeud, .tl-fin__texte { grid-column: 1; }
  .tl-fin .tl-noeud { grid-row: 1; }
  .tl-fin__texte { grid-row: 2; justify-content: center; }
}

/* ---------- Nos prestations : grands titres numérotés et grande photo qui glisse
   (d'après « Index List Image Gallery » de kedhareswer, repris de son code) ---------- */
.ix { --ix-ease: cubic-bezier(.2, .7, .2, 1); display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.ix-tete {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; margin: 0; padding-bottom: .5rem;
  border-bottom: 1px solid rgba(18, 18, 17, .16); color: var(--gris);
  font-size: var(--t-xs); font-weight: 650; letter-spacing: .16em; text-transform: uppercase;
}
.ix-tete__droite { display: inline-flex; align-items: center; gap: .75rem; }
.ix-pause {
  min-height: 32px; padding: 0 .75rem; background: none; color: var(--gris);
  border: 1px solid rgba(18, 18, 17, .22); font-size: var(--t-xs); font-weight: 650; letter-spacing: .08em;
  text-transform: uppercase; cursor: pointer;
}
.ix-pause:hover, .ix-pause[aria-pressed="true"] { color: var(--noir); }
.ix-pause[aria-pressed="true"] { border-color: var(--noir); }
.ix-pause[hidden], html:not(.js) .ix-pause { display: none; }
.ix-items { list-style: none; margin: 0; padding: 0; }
/* La ligne choisie se décale un peu vers la droite, comme dans le modèle */
.ix-item { border-bottom: 1px solid rgba(18, 18, 17, .16); transition: padding-left .45s var(--ix-ease); }
.ix-item[data-actif] { padding-left: 12px; }
.ix-entete { margin: 0; font: inherit; letter-spacing: inherit; }
.ix-bouton {
  display: flex; align-items: baseline; gap: 1rem; width: 100%; margin: 0; padding: 1.05rem 0;
  background: none; border: 0; border-radius: 0; color: var(--gris); text-align: left; cursor: pointer;
  transition: color .35s ease;
}
.ix-bouton:hover, .ix-item[data-actif] .ix-bouton { color: var(--noir); }
.ix-num {
  flex: none; width: 2.25rem; font-size: 1.2rem; font-weight: 750; letter-spacing: .02em;
  font-variant-numeric: tabular-nums; transition: color .35s ease;
}
.ix-item[data-actif] .ix-num { color: var(--orange-texte); }
.ix-nom {
  font-size: clamp(1.45rem, 1.05rem + 1.6vw, 2.35rem); font-weight: 560; font-stretch: 112%;
  line-height: 1.1; letter-spacing: -.015em; transition: font-weight .35s ease;
}
.ix-item[data-actif] .ix-nom { font-weight: 780; }
/* La ligne choisie s'ouvre et montre son texte (les autres se replient seulement quand le script tourne) */
.ix-detail { display: grid; grid-template-rows: 1fr; }
.ix-detail > div { min-height: 0; overflow: hidden; }
.ix-detail p { margin: 0 0 .9rem; padding-left: 3.25rem; max-width: 50ch; color: var(--gris); font-size: var(--t-s); }
.ix-detail .lien-fleche { margin: 0 0 1.25rem 3.25rem; }
.ix-pret .ix-detail { transition: grid-template-rows .45s var(--ix-ease), opacity .35s ease, visibility 0s linear .45s; }
.ix-pret .ix-item:not([data-actif]) .ix-detail { grid-template-rows: 0fr; opacity: 0; visibility: hidden; }
.ix-pret .ix-item[data-actif] .ix-detail { transition-delay: 0s; }
/* La photo entre par la droite quand on descend dans la liste, par la gauche quand on remonte,
   et recouvre la précédente */
.ix-media { position: relative; order: -1; aspect-ratio: 4 / 3; overflow: hidden; background: var(--pierre-2); }
.ix-photos { position: absolute; inset: 0; z-index: 0; }
.ix-photo { position: absolute; inset: 0; display: block; visibility: hidden; }
.ix-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.ix-photo[data-l="after"] { clip-path: inset(0 0 0 100%); }
.ix-photo[data-l="before"] { clip-path: inset(0 100% 0 0); }
.ix-photo[data-l="on"] { visibility: visible; z-index: 2; clip-path: inset(0 0 0 0); transition: clip-path .85s cubic-bezier(.7, 0, .2, 1); }
.ix-photo[data-l="on"] img { transform: none; transition: transform 1.3s var(--ix-ease); }
.ix-photo[data-l="was"] { visibility: visible; z-index: 1; }
.ix-photo[data-l="was"] img { transform: none; }
@media (min-width: 900px) {
  .ix { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
  .ix-media { order: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .it-track { scroll-behavior: auto; }
  .it-quote:hover, .hx-photo:hover img { transform: none; }
  .it-marquee { -webkit-mask-image: none; mask-image: none; }
  .it-marquee-row { animation: none; width: auto; flex-wrap: wrap; row-gap: 8px; }
  .it-logo[data-copie], .it-pause { display: none; }
  .hx-legende, .ix-photo img { transform: none; }
}

/* ==========================================================================
   Questions fréquentes : d'après « Slit Type FAQ » (kedhareswer, 21st.dev)
   La question ouverte se remplit d'encre noire d'un bord à l'autre. Son texte passe
   en clair exactement là où passe le bord : une copie claire de la ligne, ajoutée
   par le script, est découpée au même rythme que l'encre.
   ========================================================================== */
.fq, .fq-tete {
  --fq-entree: 400ms;
  --fq-sortie: 280ms;
  --fq-encre-ease: cubic-bezier(.76, 0, .24, 1);
  --fq-doux: cubic-bezier(.22, 1, .36, 1);
  container-type: inline-size;
}
.fq { --fq-deborde: var(--gouttiere); }
/* Pages prestations : l'encre va d'un bord à l'autre de l'écran */
.fq-section .fq { --fq-deborde: calc(50vw - 50%); }

/* Le grand titre : les lettres montent par une fente horizontale quand la section arrive */
.fq-tete { margin-bottom: clamp(2rem, 4cqi, 3.5rem); }
.fq-titre {
  margin: 0; font-size: clamp(2rem, 11.4cqi, 9rem); font-weight: 850; font-stretch: 112%;
  line-height: .94; letter-spacing: -.035em; text-transform: uppercase;
}
.js .fq-titre[data-apparition] { opacity: 1; transform: none; }
.fq-fente { display: block; clip-path: inset(-.5em -.3em 0 -.3em); padding-bottom: .1em; margin-bottom: -.1em; }
.fq-mot { display: inline-block; white-space: nowrap; }
.fq-c {
  display: inline-block; transform: translateY(var(--fq-coupe, 0));
  transition: transform 820ms var(--fq-doux); transition-delay: min(calc(var(--i) * 26ms), 420ms);
}
.js .fq-titre:not(.est-visible) .fq-c { transform: translateY(150%); transition: none; }
@media (hover: hover) and (pointer: fine) {
  .fq-titre.est-visible:hover .fq-c { transform: none; transition-duration: 420ms; transition-delay: min(calc(var(--i) * 14ms), 220ms); }
}
.fq-intro { margin: clamp(1.5rem, 3cqi, 2.25rem) 0 0; max-width: 36ch; font-size: var(--t-l); line-height: 1.45; font-weight: 500; }

/* Les questions */
.fq-liste { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--noir); }
.fq-item { position: relative; border-top: 1px solid var(--noir); }
.fq-encre {
  position: absolute; top: -1px; bottom: 0;
  left: calc(-1 * var(--fq-deborde)); right: calc(-1 * var(--fq-deborde));
  background: var(--noir); clip-path: inset(0 100% 0 0); pointer-events: none;
}
.fq-h { margin: 0; font: inherit; }
.fq-bouton {
  position: relative; display: block; width: 100%; margin: 0; padding: 0; border: 0;
  background: none; color: var(--noir); font: inherit; text-align: left; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.fq-bouton:focus-visible { outline: none; }
.fq-bouton::after {
  content: ""; position: absolute; top: 6px; bottom: 6px; left: -.6rem; right: -.6rem;
  box-shadow: inset 0 0 0 2px var(--noir); opacity: 0; pointer-events: none;
}
.fq-item[data-etat="ouvert"] .fq-bouton::after { box-shadow: inset 0 0 0 2px var(--orange); }
.fq-bouton:focus-visible::after { opacity: 1; }
.fq-ligne {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.25rem;
  min-height: 64px; padding: clamp(1rem, 1.9cqi, 1.6rem) 0;
  font-size: clamp(1.15rem, 2.15cqi, 2.125rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em;
}
.fq-ligne--inv {
  position: absolute; top: 0; bottom: 0;
  left: calc(-1 * var(--fq-deborde)); right: calc(-1 * var(--fq-deborde)); padding-inline: var(--fq-deborde);
  color: var(--chaux); clip-path: inset(0 100% 0 0); pointer-events: none;
}
.fq-item[data-etat="ouvert"] .fq-encre,
.fq-item[data-etat="ouvert"] .fq-ligne--inv { clip-path: inset(0); transition: clip-path var(--fq-entree) var(--fq-encre-ease); }
.fq-item[data-etat="fermeture"] .fq-encre,
.fq-item[data-etat="fermeture"] .fq-ligne--inv { clip-path: inset(0 0 0 100%); transition: clip-path var(--fq-sortie) var(--fq-encre-ease); }
.fq-q { display: block; text-wrap: balance; transition: transform 240ms var(--fq-doux); }
.fq-case { position: relative; display: grid; place-items: center; width: clamp(44px, 3.9cqi, 56px); height: clamp(44px, 3.9cqi, 56px); }
.fq-case::before {
  content: ""; position: absolute; inset: 0; background: var(--noir);
  clip-path: inset(0 100% 0 0); transition: clip-path 220ms var(--fq-doux);
}
.fq-ligne--inv .fq-case::before { display: none; }
.fq-plus {
  position: relative; display: block; overflow: visible;
  width: clamp(20px, 2cqi, 28px); height: clamp(20px, 2cqi, 28px);
  transition: transform 280ms var(--fq-doux), scale 120ms ease, color 160ms ease;
}
.fq-ligne--inv .fq-plus { color: var(--orange); }
.fq-item[data-etat="ouvert"] .fq-plus { transform: rotate(135deg); transition-duration: var(--fq-entree), 120ms, 160ms; }
.fq-bouton:active .fq-plus { scale: .88; }
@media (hover: hover) and (pointer: fine) {
  .fq-bouton:hover .fq-q { transform: translateX(.3em); }
  .fq-item[data-etat="ferme"] .fq-bouton:hover .fq-case::before { clip-path: inset(0); }
  .fq-item[data-etat="ferme"] .fq-bouton:hover .fq-plus { color: var(--orange); }
}

/* La réponse, écrite en clair sur l'encre */
.fq-panneau { position: relative; display: grid; grid-template-rows: 0fr; transition: grid-template-rows 240ms var(--fq-doux); }
.fq-item[data-etat="ouvert"] .fq-panneau { grid-template-rows: 1fr; transition-duration: 360ms; }
.fq-panneau__in { min-height: 0; overflow: hidden; }
.fq-item[data-etat="ferme"] .fq-panneau__in { visibility: hidden; }
.fq-rep { display: grid; grid-template-columns: minmax(0, 1fr); padding-bottom: clamp(1.5rem, 2.8cqi, 2.5rem); }
.fq-rep p { margin: 0; max-width: 58ch; font-size: clamp(1rem, .9rem + .5cqi, 1.2rem); line-height: 1.55; color: rgba(245, 242, 237, .86); text-wrap: pretty; }
@container (min-width: 900px) {
  .fq-rep { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); column-gap: 3rem; }
  .fq-rep p { grid-column: 2; }
}

/* Une autre question ? */
.fq-contact {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.25rem 2rem; margin-top: clamp(2.25rem, 5cqi, 4.5rem);
}
.fq-contact p { margin: 0; font-size: clamp(1.4rem, 2.6cqi, 2.5rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.03em; line-height: 1.05; }
.fq-cta {
  position: relative; display: inline-flex; min-height: 52px; overflow: hidden;
  border: 1.5px solid var(--noir); border-radius: 2px; color: var(--noir);
  font-weight: 700; font-size: var(--t-m); text-decoration: none; white-space: nowrap;
  transition: transform 140ms ease;
}
.fq-cta > span { display: inline-flex; align-items: center; gap: .7rem; padding: 0 1.5rem; }
.fq-cta > span + span {
  position: absolute; inset: 0; background: var(--noir); color: var(--chaux);
  clip-path: inset(0 100% 0 0); transition: clip-path 360ms var(--fq-encre-ease);
}
.fq-cta svg { width: 1.1em; height: 1.1em; flex: none; }
.fq-cta > span + span svg { color: var(--orange); }
.fq-cta:hover > span + span, .fq-cta:focus-visible > span + span { clip-path: inset(0); }
.fq-cta:active { transform: scale(.98); }
.fq-cta:focus-visible { outline: 2px solid var(--noir); outline-offset: 3px; }

/* Lien direct vers une question, au chargement : ouverte tout de suite, sans animation */
.fq-immediat *, .fq-immediat *::before, .fq-immediat *::after { transition: none !important; }
/* Avant le script : la première question est déjà ouverte, son texte passe en clair sur l'encre */
.js .fq:not(.fq-pret) .fq-item[data-etat="ouvert"] .fq-ligne { color: var(--chaux); }
.js .fq:not(.fq-pret) .fq-item[data-etat="ouvert"] .fq-plus { color: var(--orange); }
/* Sans script : une simple liste de questions et de réponses */
html:not(.js) .fq-encre, html:not(.js) .fq-case { display: none; }
html:not(.js) .fq-bouton { cursor: default; }
html:not(.js) .fq-panneau { grid-template-rows: 1fr; }
html:not(.js) .fq-item .fq-panneau__in { visibility: visible; }
html:not(.js) .fq-rep p { color: var(--gris); }

@media (prefers-reduced-motion: reduce) {
  .fq-c, .js .fq-titre:not(.est-visible) .fq-c { transform: translateY(var(--fq-coupe, 0)); }
  .fq-bouton:hover .fq-q { transform: none; }
}
@media print {
  .fq-encre, .fq-ligne--inv, .fq-case, .fq-contact { display: none; }
  .fq-panneau { grid-template-rows: 1fr; }
  .fq-item[data-etat] .fq-panneau__in { visibility: visible; }
  .fq-ligne, .fq-rep p { color: #000; }
}

/* ==========================================================================
   Page Réalisations : d'après « Filter Grid » (ddoemonn, 21st.dev)
   Chaque filtre indique le nombre de chantiers ; quand on filtre, les cartes qui
   restent glissent jusqu'à leur nouvelle place. Sous chaque photo, le type de
   travaux et le secteur ; au survol, la finition et « Voir le chantier ».
   ========================================================================== */
.rg-filtres { position: relative; display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.rg-filtre {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: .55rem 1.1rem;
  border: 1px solid var(--trait); border-radius: 999px; background: transparent; color: var(--noir);
  font-size: var(--t-s); font-weight: 600; cursor: pointer;
  transition: background-color var(--rapide), color var(--rapide), border-color var(--rapide);
}
.rg-filtre:hover { border-color: var(--noir); }
.rg-filtre__n { font-size: var(--t-xs); font-weight: 700; color: var(--gris); font-variant-numeric: tabular-nums; transition: color var(--rapide); }
.rg-filtre[aria-checked="true"] { background: var(--noir); color: var(--chaux); border-color: var(--noir); }
.rg-filtre[aria-checked="true"] .rg-filtre__n { color: var(--orange); }
/* Avec le script, le fond sombre est une pièce à part qui glisse jusqu'au filtre choisi */
.rg-curseur {
  position: absolute; left: 0; top: 0; z-index: 0; border-radius: 999px; background: var(--noir); pointer-events: none;
  transition: transform 380ms cubic-bezier(.23, 1, .32, 1), width 380ms cubic-bezier(.23, 1, .32, 1), height 380ms cubic-bezier(.23, 1, .32, 1);
}
.rg-pret .rg-filtre[aria-checked="true"] { background: transparent; border-color: transparent; }

.rg-grille { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
/* Une carte qui part sort de la grille et s'efface sur place pendant que les autres glissent */
.rg-carte.rg-sort { position: absolute; z-index: 0; pointer-events: none; }
@media (max-width: 960px) { .rg-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rg-grille { grid-template-columns: minmax(0, 1fr); } }
.rg-carte { display: block; color: inherit; text-decoration: none; }
.rg-carte[hidden] { display: none; }
.rg-visuel { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--pierre); }
.rg-visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
/* Au survol : la finition et « Voir le chantier » montent du bas de la photo */
.rg-survol {
  position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: .3rem; padding: 4rem 1.1rem 1.1rem;
  background: linear-gradient(to top, rgba(18, 18, 17, .9) 0%, rgba(18, 18, 17, .62) 55%, rgba(18, 18, 17, 0) 100%);
  color: var(--chaux); opacity: 0; transform: translateY(14px);
  transition: opacity 300ms var(--ease), transform 450ms var(--ease);
}
.rg-survol__label { font-size: var(--t-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.rg-survol__texte { font-weight: 650; line-height: 1.35; }
.rg-survol__lien { display: inline-flex; align-items: center; gap: .45rem; margin-top: .4rem; font-size: var(--t-s); font-weight: 650; }
.rg-survol__lien svg { width: 1em; height: 1em; transition: transform var(--rapide) var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .rg-carte:hover .rg-visuel img { transform: scale(1.035); }
  .rg-carte:hover .rg-survol { opacity: 1; transform: none; }
  .rg-carte:hover .rg-survol__lien svg { transform: translateX(3px); }
}
.rg-carte:focus-visible .rg-survol { opacity: 1; transform: none; }
.rg-info { display: grid; gap: .25rem; padding-top: .9rem; }
.rg-titre { font-size: var(--t-m); font-weight: 650; line-height: 1.3; }
.rg-meta { margin: 0; font-size: var(--t-s); color: var(--gris); }

@media (prefers-reduced-motion: reduce) {
  .rg-carte:hover .rg-visuel img { transform: none; }
}

/* ==========================================================================
   Zone d'intervention : « Intervenez-vous dans ma commune ? »
   Les lettres trouvées sont surlignées, accents compris, d'après « Highlight Match »
   (klyv-ui, 21st.dev). Sans script, le bloc reste caché.
   ========================================================================== */
.cm { background: var(--pierre); padding: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
html:not(.js) .cm { display: none; }
.cm-titre { font-size: var(--t-xl); font-stretch: 118%; margin-bottom: 1.25rem; }
.cm-label { display: block; font-weight: 650; margin-bottom: .5rem; }
.cm-champ { position: relative; max-width: 560px; }
.cm-champ svg { position: absolute; left: 1rem; top: 50%; width: 1.25rem; height: 1.25rem; transform: translateY(-50%); color: var(--gris); pointer-events: none; }
.cm-champ input {
  width: 100%; min-height: 56px; padding: .8rem 1rem .8rem 3rem; border: 1px solid rgba(18, 18, 17, .3); border-radius: 2px;
  background: var(--chaux); color: var(--noir); font-size: var(--t-l);
}
.cm-champ input:focus { outline: 2px solid var(--noir); outline-offset: 2px; border-color: var(--noir); }
.cm-aide { margin: .6rem 0 0; font-size: var(--t-s); color: var(--gris); }
.cm-suggestions { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; padding: 0; }
.cm-suggestions:empty { display: none; }
.cm-suggestions button {
  display: inline-flex; align-items: baseline; gap: .45rem; min-height: 44px; padding: .55rem 1rem;
  border: 1px solid rgba(18, 18, 17, .2); border-radius: 999px; background: var(--chaux); color: var(--noir);
  font-size: var(--t-s); font-weight: 650; cursor: pointer;
}
.cm-suggestions button:hover { border-color: var(--noir); }
.cm-suggestions small { font-size: var(--t-xs); font-weight: 600; color: var(--gris); }
/* Les lettres tapées, surlignées en orange clair dans le nom de la commune */
.cm-suggestions mark { background: #f9b693; background: color-mix(in oklab, var(--orange) 38%, transparent); color: inherit; padding: 0 1px; border-radius: 2px; }
.cm-reponse:empty { display: none; }
.cm-reponse { display: grid; gap: 1rem; max-width: 760px; margin-top: 1.25rem; padding: 1.25rem 1.4rem; background: var(--noir); color: var(--chaux); }
.cm-reponse p { margin: 0; font-size: var(--t-l); line-height: 1.45; }
.cm-reponse strong { color: var(--orange); }
.cm-reponse .groupe-btn { gap: .75rem; }
.cm-reponse .btn--contour { color: var(--chaux); }
@media (max-width: 560px) { .cm-reponse .btn { width: 100%; } }
/* La commune trouvée s'allume aussi dans la liste de son département */
.zone__villes li { transition: background-color var(--rapide), border-color var(--rapide); }
/* Les communes principales d'abord ; les autres derrière un bouton (une commune trouvée par la recherche reste visible) */
.js .zone__villes:not([data-ouvert]) .zone__plus:not(.cm-trouvee) { display: none; }
.zone__voir {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: .4rem; padding: 0; border: 0; background: none;
  color: var(--noir); font-size: var(--t-s); font-weight: 650; text-decoration: underline; text-underline-offset: .25em; cursor: pointer;
}
.zone__voir:hover { color: var(--orange-texte); }
html:not(.js) .zone__voir { display: none; }
.zone__villes li.cm-trouvee { background: var(--orange); border-color: var(--orange); color: var(--noir); font-weight: 650; }

/* ==========================================================================
   Page L'entreprise : « Notre façon de travailler » en 4 cartes avec une icône
   ========================================================================== */
.texte .fa-cartes { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.25rem 0 0; padding: 0; }
.texte .fa-carte { margin: 0; padding: 1.4rem 1.3rem 1.5rem; background: var(--pierre); }
.fa-carte svg { display: block; width: 30px; height: 30px; color: var(--orange-texte); }
.texte .fa-carte h3 { margin: 1rem 0 .4rem; font-size: var(--t-m); font-weight: 700; line-height: 1.3; }
.texte .fa-carte p { margin: 0; color: var(--gris); font-size: var(--t-s); line-height: 1.5; }
@media (max-width: 560px) { .texte .fa-cartes { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Fiches chantier : une grande photo entière et la rangée de vignettes
   (un clic sur la grande photo l'ouvre en plein écran dans la visionneuse)
   ========================================================================== */
.vg { display: grid; gap: .75rem; }
.vg-scene { position: relative; background: var(--noir); }
.vg-piste {
  display: flex; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  aspect-ratio: 3 / 2; max-height: min(78vh, 760px);
}
.js .vg-piste { scrollbar-width: none; }
.js .vg-piste::-webkit-scrollbar { display: none; }
.vg-diapo { flex: 0 0 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always; }
.vg-diapo img { width: 100%; height: 100%; object-fit: contain; }
.vg-diapo.galerie__lien::after { top: .75rem; right: .75rem; bottom: auto; }
.vg-diapo:focus-visible { outline: 2px solid var(--orange); outline-offset: -4px; }
.vg-fleche {
  position: absolute; top: 50%; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px;
  border: 0; border-radius: 50%; background: rgba(245, 242, 237, .92); color: var(--noir); cursor: pointer;
  transition: background-color var(--rapide), opacity var(--rapide);
}
.vg-fleche:hover { background: var(--orange); }
.vg-fleche:disabled { opacity: 0; pointer-events: none; }
.vg-fleche svg { width: 22px; height: 22px; }
.vg-fleche--prec { left: 1rem; }
.vg-fleche--suiv { right: 1rem; }
.vg-compteur {
  position: absolute; right: 1rem; bottom: 1rem; margin: 0; padding: .3rem .7rem; background: rgba(18, 18, 17, .75);
  color: var(--chaux); font-size: var(--t-xs); font-weight: 650; letter-spacing: .06em; font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.vg-vignettes { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .35rem; scrollbar-width: thin; }
.vg-vignette {
  flex: 0 0 auto; width: 96px; aspect-ratio: 1; padding: 0; border: 2px solid transparent; background: var(--pierre);
  cursor: pointer; opacity: .6; transition: opacity var(--rapide), border-color var(--rapide);
}
.vg-vignette img { width: 100%; height: 100%; object-fit: cover; }
.vg-vignette:hover { opacity: 1; }
.vg-vignette[aria-current="true"] { border-color: var(--orange); opacity: 1; }
.vg--seule .vg-piste { overflow: hidden; }
html:not(.js) .vg-fleche, html:not(.js) .vg-compteur, html:not(.js) .vg-vignettes { display: none; }
@media (max-width: 760px) {
  .vg-piste { aspect-ratio: 4 / 5; }
  .vg-fleche { display: none; }
  .vg-vignette { width: 72px; }
}
@media (prefers-reduced-motion: reduce) { .vg-piste { scroll-behavior: auto; } }


/* ==========================================================================
   Articles : le sommaire (après « En bref » ; sur grand écran, dans la marge,
   où il reste visible et montre la partie en cours)
   ========================================================================== */
.sm-zone { position: relative; }
.sm { margin: 0 0 3rem; }
.sm__dedans { border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); padding: 1.25rem 0; }
.sm__titre { margin: 0 0 .75rem; font-size: var(--t-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.sm__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.sm__liste a {
  display: flex; gap: .75rem; align-items: baseline; padding: .45rem 0; color: var(--gris); text-decoration: none;
  font-weight: 600; line-height: 1.35; transition: color var(--rapide), border-color var(--rapide);
}
.sm__liste a:hover, .sm__liste a[aria-current="true"] { color: var(--noir); }
.sm__num { flex: none; font-size: var(--t-xs); font-weight: 700; color: var(--orange-texte); font-variant-numeric: tabular-nums; }
@media (min-width: 1360px) {
  .sm { position: absolute; top: 0; bottom: 0; right: calc(100% + 3rem); width: 250px; margin: 0; }
  .sm__dedans { position: sticky; top: 120px; border: 0; padding: 0; }
  .sm__liste { gap: 0; }
  .sm__liste a { padding: .5rem 0 .5rem 1rem; border-left: 2px solid var(--trait); font-size: var(--t-s); }
  .sm__liste a[aria-current="true"] { border-left-color: var(--orange); }
}

/* ==========================================================================
   Avant / après : les boutons « Avant / Les deux / Après » sous la photo, et la
   poignée orange qui reste entière dans le cadre aux deux bords
   (d'après « Before after comparison », ibrandify, 21st.dev)
   ========================================================================== */
.avap-bloc { display: grid; gap: .75rem; }
.avap__choix { display: inline-flex; justify-self: start; padding: 3px; background: var(--pierre); border-radius: 999px; }
.avap__choix button {
  min-height: 44px; padding: 0 1.1rem; border: 0; border-radius: 999px; background: transparent; color: var(--gris);
  font-size: var(--t-s); font-weight: 650; cursor: pointer; transition: background-color var(--rapide), color var(--rapide);
}
.avap__choix button:hover { color: var(--noir); }
.avap__choix button[aria-pressed="true"] { background: var(--noir); color: var(--chaux); }
html:not(.js) .avap__choix { display: none; }
.avap__poignee::after { transition: transform .2s ease; }
.avap--bord-g .avap__poignee::after { transform: translate(0, -50%); }
.avap--bord-d .avap__poignee::after { transform: translate(-100%, -50%); }
