/* ==========================================================================
   Caresol : feuille de styles commune (v0)
   HTML + CSS natif, sans framework ni build
   ========================================================================== */

:root {
  --jaune: #ffcc00;
  --jaune-hover: #f0bd00;
  --cyan: #5dd5e2;
  --cyan-titre: #6ad4e1;
  --cyan-lien: #2aa9b9;
  --anthracite: #252525;
  --anthracite-fonce: #1e1d1b;
  --gris-clair: #f5f5f5;
  --gris-ligne: #e6e6e6;
  --gris-texte: #666;
  --gris-footer: #a5a5a5;
  --blanc: #fff;
  --noir: #111;

  /* bandeau 5 couleurs (logo Caresol) */
  --c1: #ffcc00;
  --c2: #bf631a;
  --c3: #9d0f1f;
  --c4: #b1d006;
  --c5: #008896;

  --font-titre: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-texte: "Open Sans", Arial, Helvetica, sans-serif;

  --container: 980px;
  --gutter: 20px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-texte);
  font-size: 14px;
  line-height: 1.55;
  color: var(--anthracite);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}
html, body { overflow-x: clip; }
body.is-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease), background-color .25s var(--ease), opacity .25s; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-titre); font-weight: 700; margin: 0; line-height: 1.2; }
.coord__valeur, .appel__numero, .etapes__num, .erreur__code { font-variant-numeric: lining-nums; }

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

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--jaune); color: var(--noir); padding: 10px 16px; font-weight: 700;
}
.skip-link:focus { left: 10px; top: 10px; }

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

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--jaune);
  color: var(--anthracite);
  font-family: var(--font-texte);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  padding: 14px 19px;
  border-radius: 30px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: background-color .25s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover, .btn:focus-visible {
  background: var(--jaune-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.btn:active { transform: translateY(0); box-shadow: none; }
.btn--lg { font-size: 18px; font-weight: 600; padding: 17px 22px; }
.btn--dark { background: var(--anthracite); color: var(--blanc); }
.btn--dark:hover, .btn--dark:focus-visible { background: #000; }

/* ==========================================================================
   Barre supérieure
   ========================================================================== */
.topbar {
  background: var(--anthracite-fonce);
  color: var(--jaune);
  font-size: 13px;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 36px;
  max-width: none;            /* pleine largeur, aligné sur l'en-tête */
  padding: 0 16px 0 22px;
}
.topbar__contacts { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar__contacts a { display: inline-flex; align-items: center; gap: 7px; }
.topbar__contacts a:hover { color: var(--blanc); }
.topbar__contacts svg { width: 12px; height: 12px; fill: var(--blanc); }
.topbar__horaires { color: #9a9a9a; }

/* ==========================================================================
   En-tête et navigation (collant, se réduit au défilement)
   ========================================================================== */
.site-header {
  background: var(--anthracite);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow .35s var(--ease);
}
.site-header::after { /* bandeau 5 couleurs */
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg,
    var(--c1) 0 20%, var(--c2) 20% 40%, var(--c3) 40% 60%, var(--c4) 60% 80%, var(--c5) 80% 100%);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 104px;
  max-width: none;
  padding: 0 16px 0 22px;
  transition: min-height .35s var(--ease);
}
.logo img { width: 174px; height: auto; transition: width .35s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.site-header.is-scrolled .container { min-height: 72px; }
.site-header.is-scrolled .logo img { width: 130px; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 29px; }
.nav a {
  position: relative;
  color: var(--blanc);
  font-weight: 600;
  font-size: 16px;
  padding: 8px 0;
}
.nav a::after { /* soulignement animé */
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--cyan-titre);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--cyan-titre); }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer; padding: 10px;
  width: 48px; height: 48px; margin-right: -6px;
  color: var(--blanc);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 26px; height: 2px; background: currentColor;
  position: relative; transition: transform .3s var(--ease), background-color .3s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   Accueil : hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: #3a352e;
  color: var(--blanc);
  min-height: 499px;
  display: flex;
  flex-direction: column;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url("../img/hero-salon-carrelage.jpg") center top / cover no-repeat;
  transform-origin: 60% 40%;
  animation: kenburns 14s var(--ease-out) both;
}
.hero::before { /* léger voile pour la lisibilité du texte */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 60%),
              linear-gradient(0deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,0) 35%);
}
.hero .container { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; }
.hero__content { padding-top: 150px; }
.hero__title {
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 50px;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
  margin-bottom: 22px;
}
.hero__title > span { display: block; }
.hero__title .l2 { font-size: 92px; line-height: 1.02; }
.hero__bottom {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 30px 0 12px;
  gap: 20px;
}
.hero__zone { display: flex; align-items: flex-end; gap: 9px; font-weight: 700; font-size: 16px; }
.hero__zone img { width: 20px; }
.hero__avis { text-align: right; font-weight: 700; font-size: 16px; line-height: 1.25; }
.hero__avis p { margin: 0; }
.hero__avis img { width: 160px; margin: 6px 0 6px auto; }

/* Entrée du hero, déclenchée au chargement */
.js .hero [data-intro] { opacity: 0; transform: translateY(24px); }
.js .is-loaded .hero [data-intro] {
  opacity: 1; transform: none;
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 140ms + 150ms);
}

@keyframes kenburns {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

.bandeau-prestations {
  background: linear-gradient(90deg, #c8c4c1 0%, #e7e2dc 50%, #c8c4c1 100%);
  text-align: center;
  padding: 10px 0 9px;
}
.bandeau-prestations p {
  margin: 0;
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--anthracite-fonce);
}

/* ==========================================================================
   En-tête des pages intérieures
   ========================================================================== */
.page-header {
  background: var(--anthracite-fonce);
  color: var(--blanc);
  padding: 34px 0 30px;
  border-bottom: 1px solid #000;
}
.page-header .container { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.page-header__title { font-family: var(--font-titre); font-weight: 700; font-size: 32px; margin: 0; }
.breadcrumb { font-size: 13px; color: #9a9a9a; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #666; }
.breadcrumb a:hover { color: var(--jaune); }
.breadcrumb [aria-current] { color: var(--jaune); }

/* Bandeau photo avec accroches (pages Caresol, prestations)
   Les cadres jaunes reprennent exactement la position de la maquette (PSD 980 x 374) */
.page-top { background: var(--anthracite-fonce); padding-bottom: 44px; }
.page-top .page-header { padding-bottom: 26px; border: 0; }
.bandeau {
  position: relative;
  overflow: hidden;
  aspect-ratio: 980 / 374;
  width: 100%;
  background: var(--anthracite);
  container-type: inline-size;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.bandeau__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.bandeau__slide.is-active { opacity: 1; z-index: 1; }
.bandeau__slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform-origin: 30% 40%;
}
.bandeau__slide.is-active img { animation: bandeauZoom 7s var(--ease-out) both; }
@keyframes bandeauZoom { from { transform: scale(1.05); } to { transform: scale(1); } }
.bandeau__box {
  position: absolute;
  top: var(--y); right: var(--r, 1.2%); min-width: var(--w); max-width: calc(100% - var(--r, 1.2%) - 1.5%);
  height: 22.46%;                 /* 84 px sur 374, comme la maquette */
  background: var(--jaune);
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 1.75cqw;               /* marge latérale = marge verticale du texte */
  overflow: hidden;
  font-family: var(--font-titre);
  text-transform: uppercase;
  color: var(--anthracite-fonce);
  white-space: nowrap;
}
.bandeau__box--2 { height: 23.2%; }   /* débord bas pour couvrir l'ancien texte */
.bandeau__box span {
  display: block;
  line-height: 1;
  transform: translateY(.04em);     /* centrage optique des capitales */
}
@supports (text-box: trim-both cap alphabetic) {
  .bandeau__box span { text-box: trim-both cap alphabetic; transform: none; }
}
.bandeau__box--1 span { font-size: max(4.6cqw, 15px); font-weight: 500; letter-spacing: .02em; }
.bandeau__box--2 span { font-size: max(3.2cqw, 11.5px); font-weight: 700; letter-spacing: .03em; }
.js .bandeau__slide .bandeau__box span { opacity: 0; translate: 0 45%; }
.js .bandeau__slide.is-active .bandeau__box span {
  opacity: 1; translate: 0 0;
  transition: opacity .9s var(--ease-out) .5s, translate .9s var(--ease-out) .5s;
}
.js .bandeau__slide.is-active .bandeau__box--2 span { transition-delay: .72s; }
.bandeau__dots {
  position: absolute; left: 3%; bottom: 7%; z-index: 3;
  display: flex; gap: 8px;
}
.bandeau__dots { gap: 0; }
.bandeau__dots button {
  width: 26px; height: 26px; border: 0; padding: 0; cursor: pointer; background: none;
  display: flex; align-items: center; justify-content: center;
}
.bandeau__dots button::before {
  content: ""; width: 11px; height: 11px; border-radius: 50%;
  background: rgba(255,255,255,.6); box-shadow: 0 1px 4px rgba(0,0,0,.4);
  transition: background-color .3s, transform .3s;
}
.bandeau__dots button[aria-current="true"]::before { background: var(--jaune); transform: scale(1.25); }

/* ==========================================================================
   Sections génériques
   ========================================================================== */
.section { padding: 70px 0; }
.section--dark { background: var(--anthracite); color: var(--blanc); }
.section--light { background: var(--gris-clair); }
.section--tight { padding: 50px 0; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* Engagements (3 pictos) */
.engagement__picto { height: 107px; width: auto; margin-bottom: 30px; transition: transform .5s var(--ease); }
.engagement:hover .engagement__picto { transform: translateY(-6px) rotate(-3deg); }
.engagement h2 {
  color: var(--jaune);
  font-size: 21px;
  margin-bottom: 22px;
}
.engagement p { font-size: 14px; line-height: 1.2; color: var(--blanc); }
.engagement strong { font-weight: 600; }
.tva { margin-top: 26px; }
.tva img { width: 190px; }

/* Accroche cyan */
.accroche {
  background: var(--cyan) url("../img/caresol-accroche.jpg") center / cover no-repeat;
  text-align: center;
  padding: 115px 0 90px;
}
.accroche h1, .accroche h2 {
  font-size: 25px;
  letter-spacing: .02em;
  color: var(--noir);
  max-width: 700px;
  margin: 0 auto 38px;
}
.accroche p {
  font-size: 17px;
  color: #3d4a4c;
  max-width: 900px;
  margin: 0 auto 50px;
}

/* Cartes (entreprise / prestations / devis) */
.carte__img { overflow: hidden; margin-bottom: 30px; }
.carte img { width: 100%; aspect-ratio: 295 / 150; object-fit: cover; transition: transform .8s var(--ease); }
.carte:hover img { transform: scale(1.05); }
.carte h2 {
  color: var(--cyan-titre);
  font-size: 17px;
  line-height: 1.3;
  margin-bottom: 20px;
}
.carte p { font-size: 14px; line-height: 1.2; }
.carte .btn { margin-top: 12px; }

/* Titres de section */
.section-titre {
  text-align: center;
  font-size: 34px;
  margin-bottom: 38px;
}
.section-intro {
  text-align: center;
  font-size: 17px;
  color: var(--gris-texte);
  margin-bottom: 44px;
}
.section-intro a { color: var(--cyan-lien); font-weight: 700; }
.section-intro a:hover { color: var(--anthracite); }

/* ==========================================================================
   Grille des réalisations (ouvre une lightbox)
   ========================================================================== */
.realisations {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.realisations--3 { grid-template-columns: repeat(3, 1fr); }
.realisation { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.realisation.is-hidden { display: none; }
.realisation.is-entering { opacity: 0; transform: scale(.96); }
.realisation button {
  all: unset;
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background: var(--blanc);
  border: 1px solid var(--gris-ligne);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.realisation button:hover, .realisation button:focus-visible {
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
  transform: translateY(-4px);
}
.realisation button:focus-visible { outline: 2px solid var(--jaune); outline-offset: 3px; }
.realisation figure { position: relative; margin: 0; overflow: hidden; }
.realisation img {
  width: 100%;
  aspect-ratio: 230 / 184;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.realisation figure::after { /* voile + pictogramme loupe */
  content: "";
  position: absolute; inset: 0;
  background: rgba(37,37,37,.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 38px no-repeat;
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.realisation button:hover img, .realisation button:focus-visible img { transform: scale(1.08); }
.realisation button:hover figure::after, .realisation button:focus-visible figure::after { opacity: 1; }
.realisation__nb {
  position: absolute; right: 8px; top: 8px; z-index: 1;
  background: rgba(0,0,0,.6); color: #fff; font-size: 11px; font-weight: 600;
  padding: 3px 8px; border-radius: 20px;
}
.realisation h3 {
  font-family: var(--font-texte);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 16px 10px 17px;
  line-height: 1.3;
  transition: color .3s;
}
.realisation button:hover h3 { color: var(--cyan-lien); }
.realisation__extrait {
  font-size: 13px; color: var(--gris-texte); line-height: 1.45;
  padding: 0 16px 18px; margin: -6px 0 0; text-align: center;
}

/* Filtres (page Nos réalisations) */
.filtres { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; padding: 0; list-style: none; }
.filtres button {
  font: 600 14px var(--font-texte);
  color: var(--anthracite);
  background: var(--blanc);
  border: 1px solid var(--gris-ligne);
  border-radius: 30px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color .3s var(--ease), border-color .3s, color .3s, transform .3s var(--ease);
}
.filtres button:hover { border-color: var(--jaune); transform: translateY(-2px); }
.filtres button[aria-pressed="true"] { background: var(--jaune); border-color: var(--jaune); }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 30px;
  background: rgba(20,20,20,.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  width: min(1180px, 100%);
  max-height: calc(100vh - 60px);
  background: var(--blanc);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  transform: translateY(24px) scale(.97);
  transition: transform .5s var(--ease-out);
}
.lightbox.is-open .lightbox__dialog { transform: none; }
.lightbox__media { position: relative; background: #111; display: flex; flex-direction: column; min-height: 0; }
.lightbox__stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.lightbox__stage img {
  max-width: 100%;
  max-height: calc(100vh - 160px);
  width: auto;
  object-fit: contain;
  transition: opacity .35s var(--ease);
}
.lightbox__stage img.is-fading { opacity: 0; }
.lightbox__caption {
  color: #ddd; font-size: 13px; padding: 12px 18px; min-height: 44px;
  display: flex; justify-content: space-between; gap: 16px; background: #111;
}
.lightbox__count { color: var(--jaune); font-weight: 700; white-space: nowrap; }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: rgba(255,255,255,.9); color: var(--anthracite);
  display: flex; align-items: center; justify-content: center;
  transition: background-color .3s, transform .3s var(--ease);
}
.lightbox__nav:hover { background: var(--jaune); transform: translateY(-50%) scale(1.08); }
.lightbox__nav svg { width: 20px; height: 20px; }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
.lightbox__nav[hidden] { display: none; }
.lightbox__body { padding: 38px 30px 30px; overflow-y: auto; }
.lightbox__cat { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--cyan-lien); font-weight: 700; margin-bottom: 10px; }
.lightbox__title { font-size: 24px; margin-bottom: 20px; padding-right: 20px; }
.lightbox__text { font-size: 14px; color: #444; }
.lightbox__text ul { padding-left: 18px; margin: 0 0 1em; }
.lightbox__text li { margin-bottom: .4em; }
.lightbox__text blockquote {
  margin: 1.4em 0 0;
  padding: 14px 16px;
  border-left: 4px solid var(--jaune);
  background: #fbf8ec;
  font-family: var(--font-titre);
  font-style: italic;
  font-size: 15px;
  color: var(--anthracite);
}
.lightbox__text blockquote p { margin: 0; }
.lightbox__cta { margin-top: 26px; }
.lightbox__cta .btn { line-height: 1.3; text-align: left; }
.lightbox__close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--anthracite); color: var(--blanc);
  display: flex; align-items: center; justify-content: center;
  transition: background-color .3s, transform .4s var(--ease);
}
.lightbox__close:hover { background: #000; transform: rotate(90deg); }
.lightbox__close svg { width: 18px; height: 18px; }
.lightbox__thumbs { display: flex; gap: 6px; padding: 0 18px 14px; background: #111; overflow-x: auto; }
.lightbox__thumbs button {
  flex: 0 0 64px; height: 44px; padding: 0; border: 2px solid transparent; cursor: pointer; background: none;
  opacity: .55; transition: opacity .3s, border-color .3s;
}
.lightbox__thumbs button[aria-current="true"] { opacity: 1; border-color: var(--jaune); }
.lightbox__thumbs button:hover { opacity: 1; }
.lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Témoignages
   ========================================================================== */
.temoignages {
  background: var(--jaune);
  text-align: center;
  padding: 110px 0 100px;
}
.slider { position: relative; max-width: 820px; margin: 0 auto; }
.slider__track { display: grid; }
.slide {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), visibility .8s;
  align-self: center;
}
.slide.is-active { opacity: 1; visibility: visible; transform: none; }
.slide blockquote {
  margin: 0 0 18px;
  font-family: var(--font-titre);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.17;
  color: var(--noir);
}
.slide blockquote p { margin: 0; }
.slide--long blockquote { font-size: 26px; }
.slide figcaption { font-size: 17px; color: #4a4000; }
.slider__dots { display: flex; justify-content: center; gap: 0; margin-top: 30px; }
.slider__dots button {
  width: 32px; height: 32px; border: 0; padding: 0; cursor: pointer; background: none;
  display: flex; align-items: center; justify-content: center;
}
.slider__dots button::before {
  content: ""; width: 13px; height: 13px; border-radius: 50%;
  background: rgba(255,255,255,.5);
  transition: background-color .3s, transform .3s var(--ease);
}
.slider__dots button:hover::before { transform: scale(1.2); }
.slider__dots button[aria-current="true"]::before { background: var(--blanc); }

/* Témoignages en cartes (pages intérieures) */
.avis { display: grid; gap: 20px; }
.avis figure {
  margin: 0; background: var(--gris-clair); padding: 22px 24px 20px; border-left: 4px solid var(--jaune);
}
.avis blockquote { margin: 0 0 10px; font-family: var(--font-titre); font-style: italic; font-size: 16px; line-height: 1.45; }
.avis blockquote p { margin: 0; }
.avis figcaption { font-size: 13px; color: var(--gris-texte); font-weight: 600; }

/* ==========================================================================
   Contenu des pages intérieures
   ========================================================================== */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 60px;
  align-items: start;
}
.contenu h1 { font-size: 30px; margin-bottom: 30px; }
.contenu h2 {
  font-size: 24px;
  margin: 46px 0 18px;
  padding-bottom: 12px;
  position: relative;
}
.contenu h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 50px; height: 3px; background: var(--jaune);
}
.contenu h1 + h2, .contenu > h2:first-child { margin-top: 0; }
.contenu h3 { font-size: 20px; margin: 34px 0 14px; }
.contenu p, .contenu li { font-size: 15px; line-height: 1.7; color: #3a3a3a; }
.contenu ul { padding-left: 0; list-style: none; margin: 0 0 1.4em; }
.contenu ul li { position: relative; padding-left: 22px; margin-bottom: .35em; }
.contenu ul li::before {
  content: ""; position: absolute; left: 3px; top: .72em; width: 7px; height: 7px;
  background: var(--jaune); transform: rotate(45deg);
}
.contenu strong { color: var(--anthracite); }
.contenu a:not(.btn) { color: var(--cyan-lien); font-weight: 600; }
.contenu a:not(.btn):hover { color: var(--anthracite); }
.lead { font-size: 17px !important; }

.portrait {
  display: flex; gap: 24px; align-items: flex-start;
  background: var(--gris-clair); padding: 24px; margin: 0 0 1.4em;
}
.portrait img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 4px solid var(--blanc); box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.portrait p:last-child { margin-bottom: 0; }
.portrait__nom { font-family: var(--font-titre); font-weight: 700; font-size: 17px; color: var(--anthracite); margin-bottom: 6px !important; }

.marques { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.4em; padding: 0 !important; }
.marques li { padding: 5px 12px !important; margin: 0 !important; background: var(--gris-clair); border-radius: 20px; font-size: 13px !important; font-weight: 600; color: #444; }
.marques li::before { display: none; }

/* Colonne latérale */
.aside { position: sticky; top: 110px; display: grid; gap: 24px; }
.encart-devis {
  background: var(--jaune);
  text-align: center;
  padding: 34px 24px 30px;
  position: relative;
  overflow: hidden;
}
.encart-devis::before { /* motif carreaux discret */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(45deg, rgba(255,255,255,.12) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.12) 75%),
                    linear-gradient(45deg, rgba(255,255,255,.12) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.12) 75%);
  background-size: 28px 28px; background-position: 0 0, 14px 14px;
  opacity: .6;
}
.encart-devis > * { position: relative; }
.encart-devis p.encart-devis__liste {
  font-family: var(--font-titre); font-weight: 700; font-size: 25px; line-height: 1.2; margin: 0 0 22px; color: var(--noir);
}
.encart-devis__liste em { display: block; font-size: 16px; font-style: normal; font-weight: 500; }
.encart-devis .btn { background: var(--blanc); }
.encart-devis .btn:hover { background: var(--anthracite); color: var(--blanc); }
.encart-infos { background: var(--anthracite); color: #ccc; padding: 26px 24px; font-size: 14px; line-height: 1.7; }
.encart-infos h2 { font-family: var(--font-titre); color: var(--blanc); font-size: 18px; margin: 0 0 14px; }
.encart-infos a { color: var(--jaune); }
.encart-infos a:hover { color: var(--blanc); }
.encart-infos p { margin: 0 0 .8em; }
.encart-infos p:last-child { margin: 0; }

/* Prestations : blocs */
.prestation {
  display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 22px;
  padding: 34px 0; border-top: 1px solid var(--gris-ligne);
}
.prestation:first-of-type { border-top: 0; padding-top: 10px; }
.prestation__icone {
  width: 64px; height: 64px; border-radius: 50%; background: var(--anthracite);
  display: flex; align-items: center; justify-content: center;
  transition: transform .5s var(--ease), background-color .4s;
}
.prestation:hover .prestation__icone { transform: rotate(-8deg) scale(1.05); background: var(--jaune); }
.prestation__icone svg { width: 30px; height: 30px; stroke: var(--jaune); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.prestation:hover .prestation__icone svg { stroke: var(--anthracite); }
.prestation h2 { margin-top: 12px !important; }

/* ==========================================================================
   Page Contact
   ========================================================================== */
.surtitre {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan-lien); margin-bottom: 12px;
}
.contact-intro { padding-bottom: 60px; }
.contact-intro__grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 60px; align-items: center;
}
.contact-intro h1 { font-size: 38px; margin-bottom: 22px; }
.contact-intro .lead { font-size: 17px; line-height: 1.7; color: #3a3a3a; }
.contact-intro__badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.contact-intro__badges span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 12px; border-radius: 30px;
  background: #fff7d1; color: var(--anthracite); font-weight: 600; font-size: 14px;
}
.contact-intro__badges span::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  background: var(--jaune) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23252525' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.gerant {
  margin: 0; position: relative;
  background: var(--anthracite); color: var(--blanc);
  padding: 34px 32px 30px 32px;
  display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 22px; align-items: start;
}
.gerant::before { /* bandeau 5 couleurs */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(90deg, var(--c1) 0 20%, var(--c2) 20% 40%, var(--c3) 40% 60%, var(--c4) 60% 80%, var(--c5) 80% 100%);
}
.gerant img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--jaune); }
.gerant blockquote { margin: 0 0 16px; font-family: var(--font-titre); font-style: italic; font-size: 18px; line-height: 1.45; }
.gerant blockquote p { margin: 0; }
.gerant__nom { font-weight: 700; margin: 0; color: var(--jaune); }
.gerant__role { margin: 0; font-size: 13px; color: #aaa; }

.coord {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.coord__carte {
  background: var(--blanc);
  border: 1px solid var(--gris-ligne);
  padding: 34px 28px 30px;
  display: flex; flex-direction: column; align-items: flex-start;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.coord__carte:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.1); border-color: transparent; }
.coord__icone {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--jaune); display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: transform .5s var(--ease), background-color .4s;
}
.coord__carte:hover .coord__icone { transform: rotate(-10deg) scale(1.06); background: var(--anthracite); }
.coord__icone svg { width: 26px; height: 26px; fill: var(--anthracite); transition: fill .4s; }
.coord__carte:hover .coord__icone svg { fill: var(--jaune); }
.coord__carte h2 { font-size: 21px; margin-bottom: 14px; }
.coord__valeur { font-family: var(--font-titre); font-weight: 700; font-size: 21px; line-height: 1.35; margin-bottom: 12px; color: var(--anthracite); overflow-wrap: anywhere; }
.coord__valeur a:hover { color: var(--cyan-lien); }
.coord__detail { font-size: 14px; color: var(--gris-texte); line-height: 1.6; margin-bottom: 8px; }
.coord__detail a { color: var(--anthracite); font-weight: 600; }
.coord__detail a:hover { color: var(--cyan-lien); }
.coord__carte .btn { margin-top: auto; }
.coord__carte .coord__detail:last-of-type { margin-bottom: 24px; }

.etapes__liste {
  list-style: none; margin: 0; padding: 0; counter-reset: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  position: relative;
}
.etapes__liste::before { /* fil entre les étapes */
  content: ""; position: absolute; top: 28px; left: 16%; right: 16%; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,204,0,.6) 0 8px, transparent 8px 16px);
}
.etapes__liste li { position: relative; text-align: center; }
.etapes__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--jaune); color: var(--anthracite);
  font-family: var(--font-titre); font-weight: 700; font-size: 26px;
  box-shadow: 0 0 0 8px var(--anthracite);
  margin-bottom: 22px; position: relative;
}
.etapes h3 { color: var(--blanc); font-size: 20px; margin-bottom: 12px; }
.etapes p { color: #c9c9c9; font-size: 15px; line-height: 1.6; max-width: 290px; margin: 0 auto; }

.appel {
  position: relative; overflow: hidden;
  background: var(--jaune);
  text-align: center; padding: 80px 0 76px;
}
.appel::before { /* motif de carreaux discret */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(45deg, rgba(255,255,255,.14) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.14) 75%),
                    linear-gradient(45deg, rgba(255,255,255,.14) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.14) 75%);
  background-size: 44px 44px; background-position: 0 0, 22px 22px;
}
.appel .container { position: relative; }
.appel p { margin: 0; }
.appel__titre { font-family: var(--font-titre); font-size: 24px; font-weight: 700; color: var(--noir); margin-bottom: 10px !important; }
.appel__numero {
  display: inline-block; font-family: var(--font-titre); font-weight: 700;
  font-size: clamp(38px, 8vw, 64px); line-height: 1.1; color: var(--noir);
  transition: transform .4s var(--ease);
}
.appel__numero:hover { transform: scale(1.04); }
.appel__horaires { font-size: 16px; color: #3a3200; margin-top: 10px !important; }


/* ==========================================================================
   Sous-menu « Nos prestations »
   ========================================================================== */
.nav .has-sub { position: relative; }
.nav .sub {
  position: absolute; top: calc(100% + 14px); left: -18px; z-index: 60;
  display: block; min-width: 290px; padding: 10px 0;
  background: var(--anthracite); border-top: 3px solid var(--jaune);
  box-shadow: 0 16px 34px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -17px; height: 17px; } /* pont de survol */
.nav .has-sub:hover > .sub, .nav .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub li { display: block; }
.nav .sub a { display: block; padding: 9px 20px; font-size: 14px; font-weight: 600; }
.nav .sub a::after { display: none; }
.nav .sub a:hover, .nav .sub a[aria-current="page"] { color: var(--jaune); background: rgba(255,255,255,.04); }

/* ==========================================================================
   Pages services et zone d'intervention
   ========================================================================== */
.lien-titre { color: inherit !important; font-weight: inherit !important; }
.lien-titre:hover { color: var(--cyan-lien) !important; }
.lien-fleche { font-weight: 700; color: var(--cyan-lien); display: inline-block; margin-right: 14px; }
.lien-fleche::after { content: " →"; transition: margin .3s var(--ease); }
.lien-fleche:hover::after { margin-left: 4px; }
.encadre {
  margin: 34px 0 0; padding: 20px 24px; background: #fff7d1; border-left: 4px solid var(--jaune);
}
.encadre p { margin: 0; }
.realisation__lieu {
  margin: -8px 0 10px; text-align: center; font-size: 12px; font-weight: 600; color: var(--cyan-lien);
}
.realisation__lieu::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; vertical-align: 1px; background: var(--jaune); transform: rotate(45deg); }
.lightbox__lieu { font-size: 13px; font-weight: 600; color: var(--gris-texte); margin: -10px 0 18px; }
.accroche--zone h2 { margin-bottom: 24px; }
.accroche--zone p { font-size: 16px; }
.accroche__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-bottom: 0 !important; }

.zone { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.zone h1 { font-size: 34px; margin-bottom: 22px; }
.zone .lead { font-size: 16px; line-height: 1.7; color: #3a3a3a; }
.zone .lead a, .zone__texte a { color: var(--cyan-lien); font-weight: 600; }
.zone__texte p { font-size: 15px; line-height: 1.7; color: #3a3a3a; }
.carte-osm { position: relative; aspect-ratio: 4 / 3; background: #f1efe9; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.carte-osm img, .carte-osm iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.carte-osm__btn { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.carte-osm__btn:hover { transform: translateX(-50%) translateY(-2px); }
.carte-osm__note { font-size: 12px; color: var(--gris-texte); margin: 10px 0 0; }

.communes {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px;
}
.communes li {
  display: flex; align-items: center; gap: 10px;
  background: var(--blanc); border: 1px solid var(--gris-ligne); padding: 13px 16px;
  font-weight: 600; font-size: 14px;
  transition: border-color .3s, transform .3s var(--ease);
}
.communes li::before { content: ""; width: 9px; height: 9px; background: var(--jaune); transform: rotate(45deg); flex-shrink: 0; }
.communes li:hover { border-color: var(--jaune); transform: translateY(-2px); }
.communes li:first-child { background: var(--jaune); border-color: var(--jaune); }
.communes li:first-child::before { background: var(--anthracite); }

.faq { max-width: 820px; }
.faq__item { border-bottom: 1px solid #3a3a3a; }
.faq__item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 44px 20px 0; font-family: var(--font-titre); font-size: 19px; font-weight: 700; color: var(--blanc);
  transition: color .3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--jaune); border-bottom: 2px solid var(--jaune); transform: rotate(45deg);
  transition: transform .35s var(--ease), margin .35s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__item summary:hover { color: var(--jaune); }
.faq__item div { padding: 0 0 22px; }
.faq__item p { margin: 0; color: #c9c9c9; font-size: 15px; line-height: 1.7; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer { background: var(--anthracite); color: var(--gris-footer); font-size: 13px; line-height: 1.7; }
.site-footer .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 50px;
}
.footer__logo { width: 130px; margin-bottom: 14px; }
.site-footer h2 {
  font-family: var(--font-texte);
  font-size: 14px;
  font-weight: 700;
  color: var(--blanc);
  margin: 12px 0 24px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a:hover { color: var(--jaune); }
.footer__nav a { display: inline-block; transition: color .25s, transform .3s var(--ease); }
.footer__nav a:hover { transform: translateX(4px); }
.footer__real li { padding: 15px 0; border-top: 1px solid #333; }
.footer__real li:last-child { border-bottom: 1px solid #333; }
.footer__real button {
  all: unset; box-sizing: border-box; cursor: pointer;
  display: flex; gap: 20px; align-items: center; width: 100%;
}
.footer__real img { width: 65px; height: 65px; object-fit: cover; flex-shrink: 0; transition: opacity .3s; }
.footer__real span { font-weight: 700; color: #bbb; line-height: 1.35; transition: color .3s; }
.footer__real button:hover span, .footer__real button:focus-visible span { color: var(--jaune); }
.footer__real button:hover img { opacity: .8; }
.footer__real button:focus-visible { outline: 2px solid var(--jaune); outline-offset: 3px; }
.footer__contact p { margin: 0 0 1.3em; }

.footer-bottom { background: var(--anthracite-fonce); color: var(--blanc); font-size: 13px; }
.footer-bottom .container {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  min-height: 60px; padding-top: 12px; padding-bottom: 12px;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--jaune); }
.footer-bottom a:hover { color: var(--blanc); }
.footer-bottom ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }

/* Bouton retour en haut */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--jaune); color: var(--anthracite);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s, background-color .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--jaune-hover); transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }

/* Page 404 */
.erreur { text-align: center; padding: 110px 0; }
.erreur__code { font-family: var(--font-titre); font-size: 110px; line-height: 1; color: var(--jaune); margin-bottom: 10px; }

/* ==========================================================================
   Apparition au défilement
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js [data-reveal="left"] { transform: translateX(-28px); }
.js [data-reveal="right"] { transform: translateX(28px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
/* Filet de sécurité (capture d'écran, impression) : tout s'affiche d'un coup */
.reveal-instant [data-reveal], .reveal-instant .hero [data-intro] { transition: none !important; }
@media print {
  .js [data-reveal], .js .hero [data-intro] { opacity: 1 !important; transform: none !important; }
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .realisations { grid-template-columns: repeat(3, 1fr); }
  .site-footer .container { grid-template-columns: repeat(2, 1fr); }
  .layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 40px; }
  .lightbox__dialog { grid-template-columns: 1fr; overflow-y: auto; }
  .lightbox__stage img { max-height: 60vh; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .js [data-reveal="left"], .js [data-reveal="right"] { transform: translateY(28px); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--anthracite);
    border-top: 1px solid #333;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    box-shadow: 0 12px 24px rgba(0,0,0,.3);
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 0 14px; }
  .nav a { display: block; padding: 12px 22px; }
  .nav a::after { display: none; }
  .site-header .container { min-height: 84px; }
  .logo img { width: 140px; }
  .site-header.is-scrolled .container { min-height: 64px; }
  .site-header.is-scrolled .logo img { width: 110px; }
  .topbar__horaires { display: none; }

  .grid-3 { grid-template-columns: 1fr; gap: 50px; max-width: 560px; margin: 0 auto; }
  .hero__content { padding-top: 90px; }
  .hero__title { font-size: 36px; }
  .hero__title .l2 { font-size: 62px; }
  .section { padding: 55px 0; }
  .accroche { padding: 70px 0 60px; }
  .temoignages { padding: 80px 0 70px; }
  .slide blockquote { font-size: 27px; }
  .slide--long blockquote { font-size: 21px; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .contact-intro__grid { grid-template-columns: 1fr; gap: 36px; }
  .zone { grid-template-columns: 1fr; gap: 36px; }
  .nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 6px; min-width: 0; }
  .nav .sub::before { display: none; }
  .nav .sub a { padding: 8px 22px 8px 38px; font-size: 14px; font-weight: 400; color: #cfcfcf; }
  .coord { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .etapes__liste { grid-template-columns: 1fr; gap: 34px; }
  .etapes__liste::before { top: 0; bottom: 0; left: 50%; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(255,204,0,.5) 0 8px, transparent 8px 16px); }
  .etapes__liste li { background: var(--anthracite); padding: 6px 0; }
  .aside { position: static; grid-template-columns: 1fr 1fr; }
  .realisations--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .topbar .container { justify-content: center; }
  .topbar__contacts { gap: 16px; justify-content: center; }
  .hero { min-height: 460px; }
  .hero__bg { background-position: 30% top; }
  .hero__content { padding-top: 60px; }
  .hero__title { font-size: 28px; }
  .hero__title .l2 { font-size: 48px; }
  .btn--lg { font-size: 16px; padding: 15px 19px; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .hero__avis { text-align: left; }
  .hero__avis img { margin-left: 0; }
  .bandeau-prestations p { font-size: 12px; letter-spacing: .03em; }
  .bandeau__box { padding: 0 10px; }
  .bandeau__dots { bottom: auto; top: 3%; left: 2%; }
  .page-top { padding-bottom: 24px; }
  .page-top .container { padding: 0; }
  .page-top .page-header .container { padding: 0 var(--gutter); }
  .section-titre { font-size: 27px; }
  .page-header__title { font-size: 24px; }
  .realisations, .realisations--3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .realisation h3 { font-size: 12px; padding: 12px 6px; }
  .realisation__extrait { display: none; }
  .site-footer .container { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom .container { flex-direction: column; justify-content: center; text-align: center; }
  .aside { grid-template-columns: 1fr; }
  .portrait { flex-direction: column; align-items: center; text-align: center; }
  .prestation { grid-template-columns: 1fr; gap: 10px; }
  .contact-intro h1 { font-size: 29px; }
  .zone h1 { font-size: 27px; }
  .communes { grid-template-columns: 1fr 1fr; gap: 8px; }
  .communes li { font-size: 13px; padding: 11px 10px; gap: 8px; }
  .faq__item summary { font-size: 17px; }
  .accroche__btns .btn { width: 100%; justify-content: center; }
  .gerant { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 30px 22px 26px; }
  .coord__carte { padding: 28px 22px 26px; }
  .appel { padding: 60px 0 56px; }
  .appel__titre { font-size: 20px; }
  .engagement p, .carte p { line-height: 1.5; }
  .lightbox { padding: 0; }
  .lightbox__dialog { max-height: 100vh; height: 100%; }
  .lightbox__body { padding: 24px 20px 30px; }
  .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__stage { flex: none; overflow: hidden; }
  .lightbox__stage img { max-height: 46vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal], .js .hero [data-intro] { opacity: 1 !important; transform: none !important; }
}
