/* ==========================================================================
   RS Plomberie – feuille de style
   Mobile d'abord. Couleurs relevées sur le logo.
   ========================================================================== */

/* Polices hébergées sur le site (aucun appel à Google) ------------------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope.woff2") format("woff2");
}

/* Variables ---------------------------------------------------------------- */
:root {
  --anthracite: #313233;      /* ruban du logo : titres, pied de page */
  --anthracite-moyen: #626061; /* disque du logo */
  --sauge: #85a28c;           /* clés du logo : accents, icônes */
  --sauge-fonce: #5b7a64;     /* boutons à texte blanc (contraste AA) */
  --sauge-texte: #4e6b57;     /* petit texte vert sur fond clair */
  --sauge-pale: #e8eee9;
  --gris-filet: #e5e5e5;      /* anneau du logo : filets, bordures */
  --gris-metal: #c4c5c6;
  --fond: #f7f6f3;            /* blanc cassé */
  --fond-2: #efeeea;          /* gris très clair */
  --blanc: #fff;
  --texte: #313233;
  --texte-2: #5d5e60;
  --texte-sur-sombre: rgba(255, 255, 255, .78);

  --serif: "Cormorant Garamond", "Cormorant", Garamond, Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gouttiere: clamp(20px, 5vw, 48px);
  --largeur: 1200px;
  --largeur-large: 1360px;
  --rayon: 10px;
  --rayon-lg: 18px;
  --ombre: 0 18px 40px -20px rgba(30, 31, 32, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 72px;
  --callbar-h: 0px;
}
@media (min-width: 768px) {
  :root { --header-h: 84px; }
}
@media (max-width: 767px) {
  :root { --callbar-h: calc(70px + env(safe-area-inset-bottom)); }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  padding-top: var(--header-h);
  padding-bottom: var(--callbar-h);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--texte);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (min-width: 1024px) {
  body { font-size: 1.125rem; }
}
body.has-hero { padding-top: 0; }

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
main:focus { outline: none; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.005em;
  color: var(--anthracite);
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 4.8vw, 3.3rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); font-weight: 600; }

::selection { background: var(--sauge); color: #fff; }

:focus-visible {
  outline: 2px solid var(--sauge-fonce);
  outline-offset: 3px;
}
.on-dark :focus-visible,
.site-footer :focus-visible,
.menu-mobile :focus-visible,
.has-hero .site-header:not(.is-scrolled) :focus-visible { outline-color: #fff; }

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

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--anthracite);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* Mise en page ------------------------------------------------------------- */
.container {
  width: min(100% - 2 * var(--gouttiere), var(--largeur));
  margin-inline: auto;
}
.container--large { width: min(100% - 2 * var(--gouttiere), var(--largeur-large)); }

.section { padding-block: clamp(72px, 11vw, 136px); }
.section--alt { background: var(--fond-2); }
.section--blanc { background: var(--blanc); }
.section--sombre { background: var(--anthracite); color: var(--texte-sur-sombre); }
.section--sombre h2, .section--sombre h3 { color: #fff; }

.section-tete { max-width: 46rem; margin-bottom: clamp(40px, 6vw, 64px); }
.section-tete--centre { margin-inline: auto; text-align: center; }

.surtitre {
  display: inline-flex;
  align-items: center;
  gap: .8em;
  margin-bottom: 1.1rem;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--sauge-texte);
}
.surtitre::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.on-dark .surtitre, .section--sombre .surtitre { color: #b9cfbf; }

.lead {
  max-width: 40rem;
  font-size: clamp(1.125rem, 1.7vw, 1.3rem);
  line-height: 1.6;
  color: var(--texte-2);
}

/* Icônes (Lucide, trait fin) ---------------------------------------------- */
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  stroke-width: 1.5;
}

/* Boutons ------------------------------------------------------------------ */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  --btn-fond: transparent;
  --btn-texte: var(--anthracite);
  --btn-bord: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 50px;
  padding: .8em 1.6em;
  border: 1.5px solid var(--btn-bord);
  border-radius: 999px;
  background: var(--btn-fond);
  color: var(--btn-texte);
  font: 700 .95rem/1.2 var(--sans);
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease),
    transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn .icon-arrow-right { transition: transform .25s var(--ease); }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover .icon-arrow-right { transform: translateX(3px); }
}
.btn:active { transform: translateY(0); }

.btn--primaire { --btn-fond: var(--sauge-fonce); --btn-bord: var(--sauge-fonce); --btn-texte: #fff; }
.btn--primaire:hover {
  --btn-fond: var(--sauge-texte);
  --btn-bord: var(--sauge-texte);
  box-shadow: 0 12px 24px -14px rgba(78, 107, 87, .9);
}
.btn--secondaire { --btn-bord: var(--anthracite); }
.btn--secondaire:hover { --btn-fond: var(--anthracite); --btn-texte: #fff; }
.btn--clair { --btn-bord: rgba(255, 255, 255, .7); --btn-texte: #fff; }
.btn--clair:hover { --btn-fond: #fff; --btn-bord: #fff; --btn-texte: var(--anthracite); }
.btn--blanc { --btn-fond: #fff; --btn-bord: #fff; --btn-texte: var(--anthracite); }
.btn--blanc:hover { --btn-fond: var(--anthracite); --btn-bord: var(--anthracite); --btn-texte: #fff; }
.btn--petit { min-height: 42px; padding: .55em 1.2em; font-size: .88rem; }

.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding-bottom: 4px;
  border-bottom: 1.5px solid currentColor;
  font-weight: 700;
  color: var(--sauge-texte);
  text-decoration: none;
  white-space: nowrap;
}
.lien-fleche .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.lien-fleche:hover .icon { transform: translateX(4px); }

/* Emplacement d'information à compléter ----------------------------------- */
.a-completer {
  display: inline-block;
  padding: .2em .6em;
  border: 1.5px dashed #b7791f;
  border-radius: 6px;
  background: #fff8e6;
  color: #7a4d0b;
  font: 700 .82rem/1.4 var(--sans);
  letter-spacing: 0;
  text-transform: none;
}

/* En-tête ------------------------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--header-h);
  color: var(--anthracite);
  background: rgba(247, 246, 243, .97);
  box-shadow: 0 1px 0 var(--gris-filet);
  transition: transform .45s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease),
    color .35s var(--ease);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(247, 246, 243, .85);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
  }
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--gris-filet), 0 12px 30px -22px rgba(0, 0, 0, .45); }
.site-header.is-hidden { transform: translateY(-100%); }

/* Transparent sur le hero (seulement avec JavaScript, qui gère le passage en opaque). */
.js .has-hero .site-header:not(.is-scrolled),
.js .menu-ouvert .site-header {
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: #fff;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: inherit;
  text-decoration: none;
}
.brand__logo {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .18));
}
.brand__texte { display: grid; gap: 3px; }
.brand__nom {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .01em;
}
.brand__slogan {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
  opacity: .72;
}
@media (min-width: 768px) {
  .brand__logo { width: 58px; height: 58px; }
  .brand__nom { font-size: 1.65rem; }
}

.main-nav { display: none; }
.main-nav ul {
  display: flex;
  gap: clamp(16px, 1.55vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav a {
  position: relative;
  display: block;
  padding: 10px 0;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 3px;
  height: 1.5px;
  background: var(--sauge);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: 18px; }

.header-tel {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.header-tel .icon { color: var(--sauge); }
.header-devis { display: none; }

@media (min-width: 768px) {
  .header-tel, .header-devis { display: inline-flex; }
}
@media (min-width: 1280px) {
  .main-nav { display: block; }
  .burger { display: none !important; }
  .header-tel { display: none; }
  .brand__slogan { display: none; }
}
@media (min-width: 1500px) {
  .header-tel { display: inline-flex; }
  .brand__slogan { display: block; }
}
.menu-ouvert .header-tel,
.menu-ouvert .header-devis { visibility: hidden; opacity: 0; }

/* Bouton burger, qui devient une croix */
.burger {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-right: -10px;
  border-radius: 50%;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.burger__barres { position: relative; width: 24px; height: 16px; }
.burger__barres span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.75px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .4s var(--ease), opacity .2s var(--ease), top .4s var(--ease);
}
.burger__barres span:nth-child(1) { top: 0; }
.burger__barres span:nth-child(2) { top: 7px; }
.burger__barres span:nth-child(3) { top: 14px; }
.burger[aria-expanded="true"] .burger__barres span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__barres span:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.burger[aria-expanded="true"] .burger__barres span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* Menu mobile plein écran -------------------------------------------------- */
.menu-mobile {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 24px) var(--gouttiere) calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(133, 162, 140, .16), transparent 60%),
    var(--anthracite);
  color: #fff;
  visibility: hidden;
  opacity: 0;
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.menu-mobile.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity .4s var(--ease), visibility 0s;
}
.menu-mobile__liens { margin: 0; padding: 0; list-style: none; }
.menu-mobile__liens li {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.menu-mobile.is-open .menu-mobile__liens li {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i) * 45ms + 120ms);
}
.menu-mobile__liens a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  font-family: var(--serif);
  font-size: clamp(1.85rem, 7.5vw, 2.6rem);
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
  text-decoration: none;
}
.menu-mobile__liens a[aria-current="page"] { color: #b9cfbf; }
.menu-mobile__liens a[aria-current="page"]::after {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  margin-left: .45em;
  border-radius: 50%;
  background: var(--sauge);
  vertical-align: middle;
}
.menu-mobile__pied {
  display: grid;
  gap: 14px;
  margin-top: auto;
  padding-top: 36px;
}
.menu-mobile__tel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.menu-mobile__tel .icon, .menu-mobile__horaires .icon { color: var(--sauge); }
.menu-mobile__horaires {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: .95rem;
  color: var(--texte-sur-sombre);
}
.menu-mobile .btn { justify-self: start; }
@media (min-width: 1280px) {
  .menu-mobile { display: none; }
}

/* Barre d'appel flottante (mobile) et retour en haut ----------------------- */
.call-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(247, 246, 243, .97);
  box-shadow: 0 -1px 0 var(--gris-filet), 0 -12px 30px -22px rgba(0, 0, 0, .5);
  transition: transform .35s var(--ease);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .call-bar {
    background: rgba(247, 246, 243, .86);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
  }
}
.call-bar .btn { width: 100%; min-height: 50px; padding-inline: 1em; }
.menu-ouvert .call-bar { transform: translateY(110%); }
@media (min-width: 768px) {
  .call-bar { display: none; }
}

.to-top {
  position: fixed;
  right: 16px;
  bottom: calc(var(--callbar-h) + 16px);
  z-index: 45;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  background: var(--anthracite);
  color: #fff;
  box-shadow: var(--ombre);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s, background-color .25s;
}
.to-top:hover { background: var(--sauge-fonce); }
.js .to-top:not(.is-visible) {
  visibility: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.menu-ouvert .to-top { visibility: hidden; opacity: 0; }
@media (min-width: 768px) {
  .to-top { right: 24px; bottom: 24px; }
}

/* Hero de l'accueil -------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  /* Sur mobile, la barre d'appel ne doit pas masquer le bas du hero. */
  min-height: calc(100vh - var(--callbar-h));
  min-height: calc(100svh - var(--callbar-h));
  overflow: hidden;
  background: var(--anthracite);
  color: #fff;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media picture, .hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__img { object-fit: cover; }

/* Diaporama : fondu lent et léger recul de l'image (seulement avec JavaScript) */
.diaporama__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s var(--ease);
}
.diaporama__slide.is-active { opacity: 1; }
.js .diaporama__slide .hero__img {
  transform: scale(1.07);
  transition: transform 9s linear;
}
.js .diaporama__slide.is-active .hero__img { transform: scale(1); }

.js .hero__anim { animation: rs-monte 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 120ms + 150ms); }
@keyframes rs-monte {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.diaporama__controles {
  position: absolute;
  right: var(--gouttiere);
  bottom: clamp(18px, 4vh, 40px);
  z-index: 1;
  display: none;
  align-items: center;
  gap: 16px;
}
.js .diaporama__controles { display: flex; }
.diaporama__points { display: flex; gap: 6px; }
.diaporama__points span {
  position: relative;
  width: 30px;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, .35);
}
.diaporama__points span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}
.diaporama__points span.is-active::after { animation: rs-progression var(--duree, 7s) linear forwards; }
.hero.is-pause .diaporama__points span.is-active::after { animation-play-state: paused; }
@keyframes rs-progression { to { transform: scaleX(1); } }
@media (max-width: 599px) {
  .diaporama__points { display: none; }
}

.diaporama__pause, .carrousel__pause {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  background: rgba(20, 21, 22, .2);
  color: #fff;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.diaporama__pause:hover, .carrousel__pause:hover { background: #fff; color: var(--anthracite); border-color: #fff; }
.diaporama__pause .icon, .carrousel__pause .icon { width: 18px; height: 18px; }
.diaporama__pause .icon-play, .carrousel__pause .icon-play,
.diaporama__pause[aria-pressed="true"] .icon-pause, .carrousel__pause[aria-pressed="true"] .icon-pause { display: none; }
.diaporama__pause[aria-pressed="true"] .icon-play, .carrousel__pause[aria-pressed="true"] .icon-play { display: block; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(22, 23, 24, .6) 0%, rgba(22, 23, 24, 0) 24%),
    linear-gradient(0deg, rgba(22, 23, 24, .85) 0%, rgba(22, 23, 24, .35) 50%, rgba(22, 23, 24, .1) 75%);
}
.hero__contenu {
  padding-block: calc(var(--header-h) + 40px) clamp(48px, 9vh, 96px);
}
.hero__contenu > * { max-width: 40rem; }
.hero h1 { color: #fff; font-size: clamp(2.8rem, 8vw, 5.4rem); }
.hero .lead { color: rgba(255, 255, 255, .88); margin-bottom: 2rem; }
@media (min-width: 900px) {
  .hero { align-items: center; }
  .hero::after {
    background:
      linear-gradient(180deg, rgba(22, 23, 24, .55) 0%, rgba(22, 23, 24, 0) 22%),
      linear-gradient(90deg, rgba(22, 23, 24, .78) 0%, rgba(22, 23, 24, .45) 45%, rgba(22, 23, 24, .05) 80%);
  }
  .hero__contenu { padding-bottom: 64px; }
}

/* En-tête de page avec photo ---------------------------------------------- */
.page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(440px, 70vh, 660px);
  overflow: hidden;
  background: var(--anthracite);
  color: #fff;
}
.page-hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(22, 23, 24, .6) 0%, rgba(22, 23, 24, 0) 30%),
    linear-gradient(0deg, rgba(22, 23, 24, .82) 0%, rgba(22, 23, 24, .3) 55%, rgba(22, 23, 24, .1) 80%);
}
.page-hero__contenu { padding-block: calc(var(--header-h) + 48px) clamp(44px, 7vw, 80px); }
.page-hero h1 { max-width: 15ch; color: #fff; }
.page-hero .lead { color: rgba(255, 255, 255, .88); }

/* En-tête de page sans photo */
.page-titre {
  padding-block: clamp(48px, 8vw, 96px) clamp(40px, 6vw, 72px);
  background: var(--fond-2);
  border-bottom: 1px solid var(--gris-filet);
}
.page-titre h1 { max-width: 18ch; }
.page-titre--404 { padding-block: clamp(80px, 14vw, 160px); }

/* Fil d'Ariane */
.fil-ariane ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: .85rem;
  font-weight: 600;
}
.fil-ariane li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.fil-ariane a { text-decoration: none; opacity: .8; }
.fil-ariane a:hover { opacity: 1; text-decoration: underline; }
.page-titre .fil-ariane { color: var(--texte-2); }
.page-titre .fil-ariane a { opacity: 1; }

/* Pied de page ------------------------------------------------------------- */
.site-footer {
  padding-top: clamp(64px, 9vw, 104px);
  background: var(--anthracite);
  color: var(--texte-sur-sombre);
  font-size: .95rem;
}
.site-footer a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grille {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px 32px;
}
@media (min-width: 640px) {
  .site-footer__grille { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .site-footer__grille { grid-template-columns: 1.3fr .9fr 1.2fr 1fr; }
}
.footer-marque img { width: 104px; height: 104px; margin-bottom: 20px; }
.footer-marque__slogan {
  max-width: 22rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.3;
  color: #fff;
}
.note-google {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  font-size: .9rem;
}
.site-footer .note-google:hover { border-color: rgba(255, 255, 255, .4); text-decoration: none; }
.etoiles { display: inline-flex; gap: 2px; color: var(--sauge); }
.etoiles .icon { width: 1em; height: 1em; fill: currentColor; stroke: none; }
.footer-titre {
  margin: 0 0 18px;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
  color: #b9cfbf;
}
.footer-titre--espace { margin-top: 32px; }
.footer-liens, .footer-contact { margin: 0; padding: 0; list-style: none; }
.footer-liens li + li { margin-top: 8px; }
.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.footer-contact li + li { margin-top: 14px; }
.footer-contact .icon { margin-top: .2em; color: var(--sauge); }
.site-footer__bas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(56px, 7vw, 80px);
  padding-block: 24px 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .85rem;
}
.site-footer__bas p { margin: 0; }
.site-footer__bas ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
/* Sur mobile, laisse la place au bouton « retour en haut » en fin de page */
@media (max-width: 767.98px) {
  .site-footer__bas { padding-bottom: 88px; }
}

/* ==========================================================================
   Accueil
   ========================================================================== */

/* Chiffres clés */
.chiffres { background: var(--blanc); border-bottom: 1px solid var(--gris-filet); }
.chiffres__liste {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: clamp(32px, 5vw, 56px) 0;
  list-style: none;
}
.chiffre { padding-inline: 8px; text-align: center; }
.chiffre + .chiffre { border-left: 1px solid var(--gris-filet); }
.chiffre p { margin: 0; }
.chiffre__nombre {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  column-gap: .1em;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 500;
  line-height: 1;
  color: var(--anthracite);
  font-variant-numeric: lining-nums tabular-nums;
}
.chiffre__unite { font-size: .5em; color: var(--texte-2); }
.chiffre__prefixe {
  flex-basis: 100%;
  margin-bottom: 6px;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--sauge-texte);
}
.chiffre__legende {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 12px !important;
  font-size: .8rem;
  line-height: 1.35;
  color: var(--texte-2);
}
.chiffre__legende .etoiles { color: var(--sauge); }
@media (min-width: 720px) {
  .chiffre__prefixe { flex-basis: auto; margin: 0 .5em 0 0; align-self: center; font-size: .75rem; }
  .chiffre__legende { flex-direction: row; justify-content: center; gap: 10px; font-size: .92rem; }
}

/* En-tête de section avec lien à droite */
.section-tete--ligne {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  max-width: none;
}
.section-tete--ligne h2 { margin-bottom: 0; }

/* Nos métiers */
.metiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 700px) { .metiers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .metiers { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.metier {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--rayon-lg);
  background: var(--blanc);
  box-shadow: 0 1px 0 var(--gris-filet);
  transition: box-shadow .45s var(--ease), transform .45s var(--ease);
}
.metier__photo { aspect-ratio: 5 / 4; overflow: hidden; background: var(--fond-2); }
.metier__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.metier__corps {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 clamp(22px, 2.4vw, 30px) 28px;
}
.metier__icone {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: -29px 0 16px;
  border: 4px solid var(--blanc);
  border-radius: 50%;
  background: var(--sauge-fonce);
  color: #fff;
}
.metier__icone .icon { width: 24px; height: 24px; }
.metier h3 { margin: 0 0 12px; font-size: clamp(1.75rem, 2.4vw, 2.05rem); font-weight: 500; }
.metier__lien { color: inherit; text-decoration: none; }
.metier__lien::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.metier__lien:focus-visible { outline: none; }
.metier:has(.metier__lien:focus-visible) { outline: 2px solid var(--sauge-fonce); outline-offset: 4px; }
.metier p { color: var(--texte-2); font-size: 1rem; }
.metier__plus {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  margin-top: auto;
  padding-top: 14px;
  font-size: .95rem;
  font-weight: 700;
  color: var(--sauge-texte);
}
.metier__plus .icon { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
@media (hover: hover) {
  .metier:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
  .metier:hover .metier__photo img { transform: scale(1.06); }
  .metier:hover .metier__plus .icon { transform: translateX(4px); }
}

/* Vignettes de photos (accueil, galeries) */
.galerie-accueil {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 1024px) {
  .galerie-accueil { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .galerie-accueil .vignette { aspect-ratio: 1; }
}

.vignette {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--rayon);
  background: var(--fond-2);
  color: #fff;
  text-decoration: none;
}
.vignette__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.vignette::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 21, 22, .72) 0%, rgba(20, 21, 22, 0) 45%);
  transition: opacity .4s var(--ease);
}
.vignette__legende {
  position: absolute;
  right: 48px;
  bottom: 12px;
  left: 14px;
  z-index: 1;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.3;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.vignette__zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--anthracite);
  opacity: 0;
  transform: scale(.8);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.vignette__zoom .icon { width: 18px; height: 18px; }
.vignette:hover .vignette__img, .vignette:focus-visible .vignette__img { transform: scale(1.05); }
.vignette:hover .vignette__zoom, .vignette:focus-visible .vignette__zoom { opacity: 1; transform: none; }
@media (min-width: 1024px) and (hover: hover) {
  .vignette::after { opacity: 0; }
  .vignette__legende { opacity: 0; transform: translateY(8px); font-size: .9rem; }
  .vignette:hover::after, .vignette:focus-visible::after { opacity: 1; }
  .vignette:hover .vignette__legende, .vignette:focus-visible .vignette__legende { opacity: 1; transform: none; }
}

/* Notre façon de travailler */
.etapes {
  position: relative;
  display: grid;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.etapes::before, .etapes::after {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 27px;
  width: 1.5px;
}
.etapes::before { background: var(--gris-filet); }
.etapes::after { background: var(--sauge); transform-origin: top; }
.etape {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 20px;
}
.etape__icone {
  position: relative;
  z-index: 1;
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1.5px solid var(--sauge);
  border-radius: 50%;
  background: var(--blanc);
  color: var(--sauge-fonce);
}
.etape__icone .icon { width: 24px; height: 24px; }
.etape__num {
  margin: 4px 0 4px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sauge-texte);
}
.etape h3 { margin: 0 0 8px; font-size: 1.65rem; font-weight: 500; }
.etape p:last-child { font-size: 1rem; color: var(--texte-2); }
@media (min-width: 900px) {
  .etapes { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .etapes::before, .etapes::after { top: 28px; right: 12.5%; bottom: auto; left: 12.5%; width: auto; height: 1.5px; }
  .etapes::after { transform-origin: left; }
  .etape { display: block; text-align: center; }
  .etape__icone { margin: 0 auto 22px; }
}
/* Animation : la ligne se trace, puis chaque étape apparaît à son tour. */
.js .etapes[data-reveal] { opacity: 1; transform: none; }
.js .etapes::after { transform: scaleY(0); transition: transform 1.8s var(--ease) .2s; }
.js .etapes.is-visible::after { transform: scaleY(1); }
@media (min-width: 900px) {
  .js .etapes::after { transform: scaleX(0); }
  .js .etapes.is-visible::after { transform: scaleX(1); }
}
.js .etape { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i) * 260ms + 200ms); }
.js .etape .etape__icone { transform: scale(.6); transition: transform .7s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(var(--i) * 260ms + 300ms); }
.js .etapes.is-visible .etape { opacity: 1; transform: none; }
.js .etapes.is-visible .etape__icone { transform: none; }

/* Avis */
.avis__tete {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  margin-bottom: 28px;
}
.avis__tete h2 { margin: 0; }
.note-google--grande { padding: 12px 20px; font-size: 1rem; color: #fff; text-decoration: none; }
.note-google--grande:hover { border-color: rgba(255, 255, 255, .45); }
.note-google--grande .icon-external-link { width: 1em; height: 1em; opacity: .7; }
@media (max-width: 420px) {
  .note-google--grande { flex-wrap: nowrap; gap: 8px; padding-inline: 16px; font-size: .9rem; }
  .note-google--grande .etoiles .icon { width: .85em; height: .85em; }
}
.arguments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 0 0 clamp(32px, 5vw, 48px);
  padding: 0;
  list-style: none;
}
.arguments li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: .92rem;
  font-weight: 600;
}
.arguments .icon { color: var(--sauge); }

.carrousel__piste {
  position: relative;
  display: grid;
  grid-auto-columns: 86%;
  grid-auto-flow: column;
  gap: 16px;
  margin: 0;
  padding: 4px 2px 8px;
  overflow-x: auto;
  list-style: none;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.carrousel__piste::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .carrousel__piste { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; } }
@media (min-width: 1100px) { .carrousel__piste { grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; } }
.avis-carte {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--rayon-lg);
  background: rgba(255, 255, 255, .045);
  scroll-snap-align: start;
}
.avis-carte__haut { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.avis-carte__guillemet { width: 34px; height: 34px; color: var(--sauge); opacity: .55; stroke-width: 1.25; }
.avis-carte blockquote {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.4vw, 1.25rem);
  font-weight: 500;
  line-height: 1.45;
  color: #fff;
}
.avis-carte--long blockquote { font-size: clamp(1.05rem, 1.2vw, 1.12rem); }
.avis-carte__source { margin-top: auto !important; font-size: .85rem; }
.avis-carte__source span { font-weight: 700; color: #fff; }

.carrousel__controles { display: none; align-items: center; gap: 10px; margin-top: 28px; }
.js .carrousel__controles { display: flex; }
.js .carrousel__controles[hidden] { display: none; }
.carrousel__fleche {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.carrousel__fleche:hover { background: #fff; color: var(--anthracite); border-color: #fff; }
.carrousel__points { display: flex; align-items: center; }
.carrousel__points button {
  display: grid;
  place-items: center;
  width: 26px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.carrousel__points button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .32);
  transition: width .35s var(--ease), background-color .35s;
}
.carrousel__points button[aria-current="true"] { width: 40px; }
.carrousel__points button[aria-current="true"]::before { width: 26px; background: var(--sauge); }
.carrousel__pause { margin-left: 6px; }
@media (min-width: 768px) {
  .carrousel__pause { margin-left: auto; }
}
.avis__lien { margin-top: 28px; }
.avis__lien a { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; color: #fff; }
.avis__lien .icon { width: 1em; height: 1em; }

/* Zone d'intervention */
.zone { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .zone { grid-template-columns: 1fr 1.1fr; gap: clamp(48px, 6vw, 88px); } }
.infos { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.infos li { display: flex; align-items: flex-start; gap: 12px; }
.infos .icon { margin-top: .2em; color: var(--sauge-fonce); }
.infos a { font-weight: 700; text-decoration: none; }
.infos a:hover { text-decoration: underline; }
.zone__photo { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--rayon-lg); }
.zone__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 60%; }

/* Bandeau final */
.cta-final { padding-bottom: clamp(72px, 10vw, 120px); }
.cta-final__carte {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 28px;
  overflow: hidden;
  padding: clamp(36px, 6vw, 72px);
  border-radius: var(--rayon-lg);
  background: linear-gradient(135deg, #3f5747 0%, #4e6b57 50%, #5b7a64 100%);
  color: #fff;
}
@media (min-width: 900px) { .cta-final__carte { grid-template-columns: 1.4fr auto; align-items: end; } }
.cta-final h2 { max-width: 20ch; color: #fff; }
.cta-final .lead { margin-bottom: 0; color: rgba(255, 255, 255, .92); }
.cta-final .surtitre { color: #dfe9e1; }
.cta-final__logo {
  position: absolute;
  top: -70px;
  right: -70px;
  z-index: -1;
  width: 340px;
  height: auto;
  opacity: .07;
  pointer-events: none;
}

/* ==========================================================================
   Pages de services (salle de bain, chauffage, plomberie)
   ========================================================================== */
.page-hero .surtitre { color: #dfe9e1; }
.page-hero .btns { margin-top: 28px; }
.page-hero .lead { margin-bottom: 0; }

/* Onglets internes --------------------------------------------------------- */
.onglets__liste {
  display: flex;
  gap: 10px;
  margin: 0 calc(-1 * var(--gouttiere)) clamp(32px, 5vw, 56px);
  padding: 4px var(--gouttiere);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gouttiere);
  scrollbar-width: none;
}
.onglets__liste::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .onglets__liste { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; overflow: visible; }
}
.onglet {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: .6em;
  min-height: 50px;
  padding: 10px 22px 10px 18px;
  border: 1px solid var(--gris-metal);
  border-radius: 999px;
  background: var(--blanc);
  color: var(--anthracite);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  scroll-snap-align: start;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.onglet .icon { width: 20px; height: 20px; color: var(--sauge-fonce); transition: color .3s var(--ease); }
.onglet:hover { border-color: var(--anthracite); }
.onglet[aria-selected="true"] { border-color: var(--anthracite); background: var(--anthracite); color: #fff; }
.onglet[aria-selected="true"] .icon { color: var(--sauge); }

/* Avant le démarrage du script, seul le premier panneau s'affiche (pas de saut). */
.js .onglets:not(.is-pret) .onglet-panneau ~ .onglet-panneau { display: none; }
.onglet-panneau {
  display: grid;
  gap: 36px;
  align-items: center;
}
.onglet-panneau + .onglet-panneau { margin-top: 72px; } /* sans JavaScript : panneaux empilés */
.onglets.is-pret .onglet-panneau { margin-top: 0; }
.onglet-panneau[hidden] { display: none; }
.onglet-panneau:focus-visible { outline-offset: 8px; border-radius: 4px; }
.onglet-panneau.is-entree { animation: rs-panneau .55s var(--ease) both; }
@keyframes rs-panneau { from { opacity: 0; transform: translateY(10px); } }
/* Sur téléphone et tablette, les photos passent devant le texte : le changement d'onglet se voit tout de suite. */
@media (max-width: 959.98px) {
  .onglets.is-pret .onglet-panneau { gap: 28px; }
  .onglets.is-pret .onglet-panneau__texte { order: 2; }
}
@media (min-width: 960px) {
  .onglet-panneau { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 88px); }
}
.onglet-panneau h3 { margin-bottom: .6em; font-size: clamp(1.9rem, 3vw, 2.4rem); }
.onglet-panneau__texte > p { font-size: 1.05rem; color: var(--texte-2); }
.onglet-panneau .lien-fleche { margin-top: 12px; }

.points { display: grid; gap: 12px; margin: 26px 0 28px; padding: 0; list-style: none; }
.points li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; }
.points .icon {
  width: 24px;
  height: 24px;
  margin-top: -1px;
  padding: 4px;
  border-radius: 50%;
  background: var(--sauge-pale);
  color: var(--sauge-fonce);
  stroke-width: 2;
}

/* Mosaïques de photos dans les onglets */
.photos { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .photos { gap: 14px; } }
.photos li { min-width: 0; min-height: 0; }
.photos .vignette, .photos .photo-a-completer { width: 100%; height: 100%; aspect-ratio: auto; }
/* Trois photos verticales : une grande à gauche, deux petites à droite */
.photos--trio { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); aspect-ratio: 5 / 4; }
.photos--trio li:first-child { grid-row: span 2; }
/* Trois photos horizontales : une large en haut, deux en dessous */
.photos--paysage { grid-template-columns: 1fr 1fr; }
.photos--paysage li:first-child { grid-column: span 2; }
.photos--paysage li:first-child .vignette { aspect-ratio: 16 / 9; }
.photos--paysage li + li .vignette { aspect-ratio: 4 / 3; }
/* Deux photos côte à côte */
.photos--duo { grid-template-columns: 1fr 1fr; }
.photos--duo .vignette, .photos--duo .photo-a-completer { aspect-ratio: 4 / 5; }
/* Une seule photo */
.photos--solo { grid-template-columns: minmax(0, 26rem); justify-content: center; }
.photos--solo .vignette, .photos--solo .photo-a-completer { aspect-ratio: 4 / 5; }
@media (max-width: 599px) {
  .photos .vignette__legende { display: none; } /* trop petites : légende visible dans la visionneuse */
  .photos--solo .vignette__legende, .photos--paysage li:first-child .vignette__legende { display: block; }
}

/* Emplacement de photo à fournir par le client */
.photo-a-completer {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: 16px;
  border: 1.5px dashed var(--gris-metal);
  border-radius: var(--rayon);
  background: var(--blanc);
  text-align: center;
  color: var(--texte-2);
}
.photo-a-completer .icon { width: 30px; height: 30px; color: var(--gris-metal); }
@media (max-width: 959.98px) {
  .photos--solo .photo-a-completer { aspect-ratio: auto; min-height: 150px; }
}

/* Galeries des pages de services ------------------------------------------- */
.galerie-page {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.galerie-page .vignette { aspect-ratio: 1; }
@media (min-width: 768px) {
  .galerie-page { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .galerie-page .vignette { aspect-ratio: 4 / 5; }
}
@media (min-width: 1100px) {
  .galerie-page--4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

/* Avis des pages de services ---------------------------------------------- */
.avis-grille {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 900px) { .avis-grille { grid-template-columns: 1fr 1fr; gap: 24px; } }
.avis-carte__details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: -6px 0 22px;
}
.avis-carte__details .avis-carte__details-titre { padding: 0; background: none; color: rgba(255, 255, 255, .7); }
.avis-carte__details span {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .85);
  font-size: .8rem;
  font-weight: 600;
}
/* Un seul avis : titre à gauche, avis à droite */
.avis--seul .container { display: grid; gap: 32px; }
@media (min-width: 960px) {
  .avis--seul .container { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 88px); align-items: center; }
  .avis--seul .avis__tete { display: block; margin: 0; }
  .avis--seul .note-google { margin-top: 28px; }
}
.avis--seul .avis-carte { max-width: 46rem; }
.avis--seul .avis__lien { margin-top: 24px; }

/* FAQ en accordéon --------------------------------------------------------- */
.faq-bloc { display: grid; gap: 8px; }
@media (min-width: 960px) {
  .faq-bloc { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
  .faq-bloc .section-tete { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
}
.faq-bloc .section-tete p:last-child { margin-bottom: 0; }
.faq-aide { margin-top: 24px; font-size: 1rem; color: var(--texte-2); }
.faq-aide a { font-weight: 700; color: var(--anthracite); white-space: nowrap; }
.faq { border-top: 1px solid var(--gris-filet); }
.faq__item { border-bottom: 1px solid var(--gris-filet); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--anthracite);
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--sauge-texte); }
.faq__icone {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--gris-metal);
  border-radius: 50%;
  color: var(--anthracite);
  transition: transform .4s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.faq__icone .icon { width: 18px; height: 18px; }
.faq__item[open]:not(.is-fermeture) .faq__icone {
  transform: rotate(180deg);
  border-color: var(--sauge-fonce);
  background: var(--sauge-fonce);
  color: #fff;
}
.faq__reponse > :last-child { margin-bottom: 0; padding-bottom: 26px; }
.faq__reponse p { max-width: 62ch; color: var(--texte-2); }
.faq__reponse .a-completer { margin-top: 4px; }

/* Bloc « Une fuite ? Appelez-nous » ---------------------------------------- */
.alerte-fuite-section { position: relative; z-index: 2; margin-top: -40px; }
.page-hero--alerte .page-hero__contenu { padding-bottom: calc(clamp(44px, 7vw, 80px) + 40px); }
.alerte-fuite {
  display: grid;
  gap: 24px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--rayon-lg);
  background: linear-gradient(135deg, #3f5747 0%, #4e6b57 55%, #5b7a64 100%);
  box-shadow: var(--ombre);
  color: #fff;
}
@media (min-width: 900px) {
  .alerte-fuite { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px 40px; }
}
.alerte-fuite__icone {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
}
.alerte-fuite__icone .icon { width: 30px; height: 30px; }
.alerte-fuite h2 { margin-bottom: .3em; font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: #fff; }
.alerte-fuite__texte p { margin-bottom: .6em; color: rgba(255, 255, 255, .9); }
.alerte-fuite__texte p:last-child { margin-bottom: 0; }
.alerte-fuite__actions { display: grid; gap: 10px; justify-items: start; }
.alerte-fuite__tel {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 12px 28px 12px 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--anthracite);
  font-size: clamp(1.3rem, 2.6vw, 1.6rem);
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.alerte-fuite__tel .icon { width: 26px; height: 26px; color: var(--sauge-fonce); }
.alerte-fuite__tel:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }
.alerte-fuite__horaires { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .92rem; color: rgba(255, 255, 255, .88); }
.alerte-fuite__horaires .icon { width: 18px; height: 18px; }

/* ==========================================================================
   Réalisations
   ========================================================================== */
.filtres {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 8px;
  margin: 0 0 clamp(28px, 4vw, 44px);
}
.filtres[hidden] { display: none; }
@media (min-width: 768px) { .filtres { gap: 10px; } }
/* Téléphone : 2 × 2 boutons de même largeur, sans icône */
@media (max-width: 559.98px) {
  .filtres { display: grid; grid-template-columns: 1fr 1fr; }
  .filtres[hidden] { display: none; }
  .filtre { justify-content: center; padding-inline: 12px; }
  .filtre .icon { display: none; }
}
.filtre {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: .55em;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid var(--gris-metal);
  border-radius: 999px;
  background: var(--blanc);
  color: var(--anthracite);
  font: 600 .95rem/1.2 var(--sans);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.filtre:hover { border-color: var(--anthracite); }
.filtre .icon { width: 18px; height: 18px; color: var(--sauge-fonce); transition: color .3s var(--ease); }
.filtre[aria-pressed="true"] .icon { color: var(--sauge); }
.filtre__nombre {
  display: inline-grid;
  place-items: center;
  min-width: 1.7em;
  height: 1.7em;
  padding: 0 .4em;
  border-radius: 999px;
  background: var(--fond-2);
  font-size: .78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--texte-2);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.filtre[aria-pressed="true"] { border-color: var(--anthracite); background: var(--anthracite); color: #fff; }
.filtre[aria-pressed="true"] .filtre__nombre { background: var(--sauge); color: var(--anthracite); }

.galerie-realisations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.galerie-realisations li[hidden] { display: none; }
@media (min-width: 768px) { .galerie-realisations { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .galerie-realisations { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.galerie-note { margin-top: 28px; font-size: .95rem; color: var(--texte-2); }

/* Avant / après -------------------------------------------------------------- */
.avant-apres-bloc { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .avant-apres-bloc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 104px); }
}
.avant-apres { width: 100%; max-width: min(460px, calc((100svh - 150px) * 804 / 1500)); margin: 0 auto; }
@media (max-width: 599px) { .avant-apres { max-width: 100%; } }
.avant-apres figcaption { margin-top: 14px; font-size: .92rem; text-align: center; color: var(--texte-2); }
/* Sans JavaScript : les deux photos côte à côte */
.avant-apres__cadre { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.avant-apres__vue { position: relative; overflow: hidden; border-radius: var(--rayon); }
.avant-apres__vue img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.avant-apres__etiquette {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(30, 31, 32, .72);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  pointer-events: none;
}
.avant-apres__poignee { display: none; }
/* Avec JavaScript : curseur à glisser */
.avant-apres.is-curseur .avant-apres__cadre {
  display: block;
  aspect-ratio: 804 / 1500;
  overflow: hidden;
  border-radius: var(--rayon-lg);
  box-shadow: var(--ombre);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.avant-apres.is-curseur .avant-apres__vue { position: absolute; inset: 0; border-radius: 0; }
.avant-apres.is-curseur .avant-apres__vue--apres { clip-path: inset(0 0 0 var(--position, 50%)); }
.avant-apres.is-curseur .avant-apres__vue--apres .avant-apres__etiquette { right: 12px; left: auto; background: var(--sauge-fonce); }
.avant-apres.is-curseur .avant-apres__poignee {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position, 50%);
  z-index: 2;
  display: block;
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, .35);
  pointer-events: none;
}
.avant-apres__bouton {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--anthracite);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .5);
  transform: translate(-50%, -50%);
  transition: transform .25s var(--ease);
}
.avant-apres__bouton .icon { width: 24px; height: 24px; }
.is-glisse .avant-apres__bouton { transform: translate(-50%, -50%) scale(1.08); }
.avant-apres__curseur:focus-visible ~ .avant-apres__poignee .avant-apres__bouton {
  outline: 3px solid var(--sauge);
  outline-offset: 3px;
}
.avant-apres__curseur[hidden] { display: none; }

/* ==========================================================================
   L'entreprise
   ========================================================================== */
.presentation { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .presentation { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 7vw, 104px); }
}
.presentation__texte > p { font-size: 1.05rem; color: var(--texte-2); }
.presentation__photo { width: 100%; max-width: 420px; margin-inline: auto; }
.presentation__photo .photo-a-completer { aspect-ratio: 4 / 5; }
@media (max-width: 899.98px) {
  .presentation__photo { max-width: none; }
  .presentation__photo .photo-a-completer { aspect-ratio: auto; min-height: 160px; }
}

.citation {
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--sauge);
}
.citation blockquote { margin: 0 0 8px; font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 500; line-height: 1.35; color: var(--anthracite); }
.citation blockquote p { margin: 0; }
.citation figcaption { font-size: .85rem; font-weight: 700; color: var(--sauge-texte); }

.valeurs { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .valeurs { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.valeur {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--gris-filet);
  border-radius: var(--rayon-lg);
  background: var(--blanc);
}
.valeur__icone {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--sauge-pale);
  color: var(--sauge-fonce);
}
.valeur__icone .icon { width: 26px; height: 26px; }
.valeur h3 { margin-bottom: .45em; font-size: 1.7rem; font-weight: 500; }
.valeur > p { color: var(--texte-2); }
.valeur figure { margin: auto 0 0; padding-top: 20px; border-top: 1px solid var(--gris-filet); }
.valeur blockquote { margin: 0 0 6px; font-family: var(--serif); font-size: 1.15rem; font-style: italic; line-height: 1.4; color: var(--anthracite); }
.valeur blockquote p { margin: 0; }
.valeur figcaption { font-size: .8rem; font-weight: 700; color: var(--sauge-texte); }

.partenaire {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 24px;
  overflow: hidden;
  padding: clamp(32px, 6vw, 64px);
  border-radius: var(--rayon-lg);
  background: var(--anthracite);
  color: var(--texte-sur-sombre);
}
@media (min-width: 900px) { .partenaire { grid-template-columns: auto 1fr; gap: 40px; align-items: center; } }
.partenaire__icone {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  color: var(--sauge);
}
.partenaire__icone .icon { width: 32px; height: 32px; }
.partenaire h2 { color: #fff; }
.partenaire .surtitre { color: #b9cfbf; }
.partenaire p:last-child { margin-bottom: 0; }
.partenaire .lien-fleche { color: #fff; }

/* Frise « depuis 2018 » */
.frise { position: relative; display: grid; gap: 44px; margin: 0; padding: 0; list-style: none; }
.frise::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 8px;
  width: 1.5px;
  background: linear-gradient(var(--sauge), var(--gris-metal));
}
.frise__item { position: relative; padding-left: 48px; }
.frise__item::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 18px;
  height: 18px;
  border: 2px solid var(--sauge);
  border-radius: 50%;
  background: var(--blanc);
}
.frise__item--actuel::before { border-color: var(--sauge-fonce); background: var(--sauge-fonce); box-shadow: 0 0 0 6px var(--sauge-pale); }
.frise__date { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 500; line-height: 1; color: var(--anthracite); }
.frise__item h3 { margin-bottom: .4em; font-size: 1.35rem; font-family: var(--sans); font-weight: 700; letter-spacing: 0; }
.frise__item p { color: var(--texte-2); }
@media (min-width: 900px) {
  .frise { grid-template-columns: repeat(3, 1fr); gap: 48px; }
  .frise::before { top: 8px; right: 0; bottom: auto; left: 0; width: auto; height: 1.5px; background: linear-gradient(90deg, var(--sauge), var(--gris-metal)); }
  .frise__item { padding-top: 52px; padding-left: 0; }
  .frise__item::before { top: 0; }
}

.garanties { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .garanties { grid-template-columns: 1fr 1fr; gap: 24px; } }
.garantie {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid var(--gris-filet);
  border-radius: var(--rayon-lg);
  background: var(--blanc);
}
.garantie > .icon { width: 30px; height: 30px; color: var(--sauge-fonce); }
.garantie h3 { margin-bottom: .4em; font-size: 1.45rem; font-weight: 500; }
.garantie p { margin: 0; }

/* ==========================================================================
   Contact et formulaire de devis
   ========================================================================== */
.lien-tel { font-weight: 700; color: var(--anthracite); white-space: nowrap; }
.section--contact { padding-top: clamp(40px, 6vw, 72px); }

.contact { display: grid; gap: clamp(32px, 5vw, 56px); align-items: start; }
@media (min-width: 1024px) {
  .contact { grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: clamp(40px, 5vw, 72px); }
  .contact__infos { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* Carte du formulaire */
.devis {
  padding: clamp(22px, 4.4vw, 52px);
  border: 1px solid var(--gris-filet);
  border-radius: var(--rayon-lg);
  background: var(--blanc);
  box-shadow: 0 30px 60px -44px rgba(30, 31, 32, .45);
}
.devis[hidden] { display: none; }
.devis__tete h2 { margin-bottom: .3em; font-size: clamp(1.9rem, 3.6vw, 2.5rem); }
.devis__aide { margin-bottom: 0; font-size: .92rem; color: var(--texte-2); }
.requis { color: var(--sauge-texte); font-weight: 700; }

/* Progression (avec JavaScript) */
.devis__progression { --progres: 33.33%; margin-top: 28px; }
.devis__progression[hidden] { display: none; }
.devis__progression ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.devis__progression li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--texte-2);
  transition: color .3s var(--ease);
}
.devis__progression li:nth-child(2) { justify-content: center; }
.devis__progression li:last-child { justify-content: flex-end; }
.devis__pastille {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border: 1.5px solid var(--gris-metal);
  border-radius: 50%;
  background: var(--blanc);
  font-size: .85rem;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.devis__pastille > * { grid-area: 1 / 1; }
.devis__pastille .icon { width: 16px; height: 16px; stroke-width: 2.4; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .35s var(--ease); }
.devis__progression li[aria-current="step"] { color: var(--anthracite); }
.devis__progression li[aria-current="step"] .devis__pastille { border-color: var(--anthracite); background: var(--anthracite); color: #fff; }
.devis__progression li.is-fait { color: var(--sauge-texte); }
.devis__progression li.is-fait .devis__pastille { border-color: var(--sauge-fonce); background: var(--sauge-fonce); color: #fff; }
.devis__progression li.is-fait .devis__pastille > span { opacity: 0; }
.devis__progression li.is-fait .devis__pastille .icon { opacity: 1; transform: none; }
@media (max-width: 479.98px) {
  .devis__progression li { flex-direction: column; gap: 6px; font-size: .78rem; }
  .devis__progression li:nth-child(2) { align-items: center; }
  .devis__progression li:first-child { align-items: flex-start; }
  .devis__progression li:last-child { align-items: flex-end; }
}
.devis__barre { display: block; height: 3px; overflow: hidden; border-radius: 3px; background: var(--gris-filet); }
.devis__barre span {
  display: block;
  width: var(--progres);
  height: 100%;
  border-radius: inherit;
  background: var(--sauge-fonce);
  transition: width .6s var(--ease);
}

/* Étapes */
.devis__etape { min-width: 0; margin: 0; padding: 0; border: 0; }
.devis__etape + .devis__etape { margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--gris-filet); }
.devis__tete + .devis__etape { margin-top: 32px; }
.devis__legende {
  display: block;
  width: 100%;
  margin-bottom: 22px;
  padding: 0;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.8vw, 1.9rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--anthracite);
}
.devis__legende:focus { outline: none; }
.devis__compteur {
  display: block;
  margin-bottom: 8px;
  font: 700 .76rem/1.3 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sauge-texte);
}

/* Avec JavaScript : une seule étape visible à la fois */
.js .devis:not(.is-pret) .devis__etape ~ .devis__etape { display: none; }
.devis.is-pret .devis__etape { margin-top: 32px; padding-top: 0; border-top: 0; }
.devis__etape[hidden] { display: none; }
.devis__etape.is-entree { animation: rs-etape .5s var(--ease) both; }
.devis__etape.is-entree.is-retour { animation-name: rs-etape-retour; }
@keyframes rs-etape { from { opacity: 0; transform: translateX(24px); } }
@keyframes rs-etape-retour { from { opacity: 0; transform: translateX(-24px); } }

/* Étape 1 : cartes de choix */
.choix-travaux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .choix-travaux { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
.choix { position: relative; display: flex; }
.choix input { position: absolute; inset: 0; z-index: -1; opacity: 0; }
.choix__carte {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px 16px;
  border: 1.5px solid var(--gris-filet);
  border-radius: var(--rayon);
  background: var(--fond);
  cursor: pointer;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.choix__carte .icon { width: 30px; height: 30px; margin-bottom: 10px; color: var(--sauge-fonce); stroke-width: 1.4; }
.choix__titre { font-weight: 700; line-height: 1.25; color: var(--anthracite); }
.choix__detail { font-size: .84rem; line-height: 1.4; color: var(--texte-2); }
.choix__carte::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--gris-metal);
  border-radius: 50%;
  background: var(--blanc) center / 12px no-repeat;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .3s var(--ease);
}
@media (hover: hover) {
  .choix:hover .choix__carte { border-color: var(--gris-metal); background: var(--blanc); transform: translateY(-2px); box-shadow: var(--ombre); }
}
.choix input:checked + .choix__carte { border-color: var(--sauge-fonce); background: var(--sauge-pale); box-shadow: inset 0 0 0 1px var(--sauge-fonce); transform: none; }
.choix input:checked + .choix__carte::after {
  border-color: var(--sauge-fonce);
  background-color: var(--sauge-fonce);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  transform: scale(1.08);
}
.choix input:focus-visible + .choix__carte { outline: 2px solid var(--sauge-fonce); outline-offset: 3px; }
.choix input[aria-invalid="true"] + .choix__carte { border-color: #c9a29e; }

/* Champs */
.champ { margin: 0 0 22px; }
.champ > label, .champ__titre, .champ--groupe > legend {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  font-size: .95rem;
  font-weight: 700;
  color: var(--anthracite);
}
.champ__facultatif { font-weight: 500; color: var(--texte-2); }
.champ__aide { margin: -2px 0 10px; font-size: .88rem; line-height: 1.5; color: var(--texte-2); }
.champ input:not([type="radio"]):not([type="checkbox"]):not([type="file"]),
.champ textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1.5px solid #8a8c8e;
  border-radius: var(--rayon);
  background: var(--blanc);
  font: inherit;
  font-size: max(1rem, 16px);
  color: var(--texte);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  appearance: none;
}
.champ textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.champ input:hover, .champ textarea:hover { border-color: var(--anthracite-moyen); }
.champ input:focus, .champ textarea:focus { border-color: var(--sauge-fonce); outline: none; box-shadow: 0 0 0 4px rgba(91, 122, 100, .22); }
.champ [aria-invalid="true"] { border-color: #a8281e !important; }
.champ [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(168, 40, 30, .16); }
.champs-ligne { display: grid; gap: 0 18px; }
@media (min-width: 640px) { .champs-ligne { grid-template-columns: 1fr 1fr; } }
.champ--groupe { min-width: 0; padding: 0; border: 0; }

.champ__erreur, .devis__envoi-erreur {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0 0;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.45;
  color: #a8281e;
}
.champ__erreur[hidden], .devis__envoi-erreur[hidden] { display: none; }
.champ__erreur .icon, .devis__envoi-erreur .icon { width: 18px; height: 18px; margin-top: .1em; }
.devis__envoi-erreur { margin-top: 24px; padding: 14px 16px; border-radius: var(--rayon); background: #fbefed; }
.devis__envoi-erreur a { color: inherit; font-weight: 800; }

/* Délai : pastilles */
.pastilles { display: flex; flex-wrap: wrap; gap: 8px; }
.pastille { position: relative; display: flex; }
.pastille input { position: absolute; inset: 0; z-index: -1; opacity: 0; }
.pastille span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1.5px solid var(--gris-metal);
  border-radius: 999px;
  background: var(--blanc);
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.pastille:hover span { border-color: var(--anthracite); }
.pastille input:checked + span { border-color: var(--anthracite); background: var(--anthracite); color: #fff; }
.pastille input:focus-visible + span { outline: 2px solid var(--sauge-fonce); outline-offset: 3px; }

/* Photos jointes */
.champ > .depot { display: none; }
.js .champ > .depot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 26px 20px;
  border: 1.5px dashed var(--gris-metal);
  border-radius: var(--rayon);
  background: var(--fond);
  text-align: center;
  cursor: pointer;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.js .depot__input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.depot .icon { width: 30px; height: 30px; margin-bottom: 6px; color: var(--sauge-fonce); }
.depot__titre { font-weight: 700; color: var(--anthracite); }
.depot__detail { font-size: .85rem; color: var(--texte-2); }
.depot:hover, .depot.is-survol { border-color: var(--sauge-fonce); background: var(--sauge-pale); }
.depot__input:focus-visible + .depot { outline: 2px solid var(--sauge-fonce); outline-offset: 3px; }
.depot.is-occupe { pointer-events: none; opacity: .6; }
.js .champ > .depot.is-plein { display: none; }
.depot__liste {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.depot__liste[hidden] { display: none; }
.depot__photo {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: var(--fond-2) center / 28px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b7a64' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='3' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.1-3.1a2 2 0 0 0-2.8 0L6 21'/%3E%3C/svg%3E");
  animation: rs-fondu .3s var(--ease);
}
.depot__photo img { width: 100%; height: 100%; object-fit: cover; }
.depot__photo img.is-sans-apercu { visibility: hidden; }
.depot__retirer {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--anthracite);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
  cursor: pointer;
}
.depot__retirer .icon { width: 16px; height: 16px; stroke-width: 2.2; }
.depot__retirer:hover { background: var(--anthracite); color: #fff; }
.depot__statut { margin: 10px 0 0; font-size: .88rem; color: var(--texte-2); }
.depot__statut:empty { display: none; }

/* Consentement */
.champ--case { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 6px; }
.champ--case input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--sauge-fonce);
  cursor: pointer;
}
.champ--case label { margin: 0; font-weight: 600; line-height: 1.5; cursor: pointer; }
.champ--case input[aria-invalid="true"] { outline: 2px solid #a8281e; outline-offset: 2px; }
.champ__aide--rgpd { margin: 0 0 0 34px; }
.champ__aide--rgpd + .champ__erreur { margin-left: 34px; }
.champ__aide a { font-weight: 700; color: var(--sauge-texte); }

/* Champ piège anti-spam */
.devis__piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Boutons de navigation */
.devis__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--gris-filet);
}
.devis__actions[hidden] { display: none; }
.devis__actions:has([data-devis-retour]:not([hidden])) { justify-content: space-between; }
.devis__actions .btn[hidden] { display: none; }
@media (max-width: 479.98px) {
  .devis__actions .btn { flex: 1 1 auto; padding-inline: 1.2em; }
}
.devis:not(.is-pret) .devis__actions--fin { margin-top: 28px; }

/* Envoi en cours */
.devis__charge { display: none; }
[data-devis-envoyer].is-envoi { pointer-events: none; opacity: .85; }
[data-devis-envoyer].is-envoi .icon-send { display: none; }
[data-devis-envoyer].is-envoi .devis__charge {
  display: block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: rs-rotation .8s linear infinite;
}
@keyframes rs-rotation { to { transform: rotate(360deg); } }

/* Retour après envoi : confirmation ou erreur */
.devis-retour { display: none; }
.devis-retour:target, .devis-retour.is-visible { display: block; }
.devis-retour:focus { outline: none; }
.devis-retour--ok:target ~ .devis, .devis-retour--ok.is-visible ~ .devis { display: none; }
.devis-retour--ok {
  padding: clamp(32px, 6vw, 64px);
  border: 1px solid var(--gris-filet);
  border-radius: var(--rayon-lg);
  background: var(--blanc);
  text-align: center;
  box-shadow: 0 30px 60px -44px rgba(30, 31, 32, .45);
}
.devis-retour--ok h2 { max-width: 16ch; margin-inline: auto; font-size: clamp(2rem, 4vw, 2.7rem); }
.devis-retour--ok p { max-width: 34rem; margin: 0 auto 28px; color: var(--texte-2); }
.devis-retour--ok p a { font-weight: 700; color: var(--anthracite); white-space: nowrap; }
.devis-retour__coche { width: 84px; height: 84px; margin: 0 auto 24px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.devis-retour__coche circle { stroke: var(--sauge); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; animation: rs-trace .7s var(--ease) .1s forwards; }
.devis-retour__coche path { stroke: var(--sauge-fonce); stroke-width: 3.2; stroke-dasharray: 36; stroke-dashoffset: 36; animation: rs-trace .45s var(--ease) .65s forwards; }
.devis-retour.is-visible, .devis-retour:target { animation: rs-confirmation .6s var(--ease); }
@keyframes rs-trace { to { stroke-dashoffset: 0; } }
@keyframes rs-confirmation { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.devis-retour--erreur {
  margin-bottom: 24px;
  padding: 20px 22px;
  border: 1px solid #ecc8c3;
  border-radius: var(--rayon-lg);
  background: #fbefed;
  color: #7d1f17;
}
.devis-retour--erreur:target, .devis-retour--erreur.is-visible { display: flex; gap: 14px; align-items: flex-start; }
.devis-retour--erreur > .icon { width: 24px; height: 24px; margin-top: 4px; color: #a8281e; }
.devis-retour--erreur h2 { margin-bottom: .3em; font-size: 1.5rem; color: #7d1f17; }
.devis-retour--erreur p { margin: 0; font-size: .95rem; }
.devis-retour--erreur a { color: inherit; font-weight: 800; }

/* Coordonnées */
.contact__infos { display: grid; gap: 16px; }
.contact-appel {
  padding: clamp(26px, 3.4vw, 36px);
  border-radius: var(--rayon-lg);
  background: var(--anthracite);
  color: var(--texte-sur-sombre);
}
.contact-appel h2 { margin-bottom: 22px; font-size: clamp(1.8rem, 3vw, 2.2rem); color: #fff; }
.contact-appel__tel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 24px 10px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--anthracite);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.contact-appel__tel .icon { width: 24px; height: 24px; color: var(--sauge-fonce); }
.contact-appel__tel:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); }
.contact-appel__horaires { display: flex; gap: 10px; margin: 20px 0 0; font-size: .92rem; line-height: 1.5; }
.contact-appel__horaires .icon { width: 18px; height: 18px; margin-top: .15em; color: var(--sauge); }
.contact-liste {
  margin: 0;
  padding: 6px clamp(22px, 3vw, 30px);
  border: 1px solid var(--gris-filet);
  border-radius: var(--rayon-lg);
  background: var(--blanc);
  list-style: none;
}
.contact-liste li { display: flex; gap: 14px; padding: 18px 0; font-size: .98rem; line-height: 1.5; }
.contact-liste li + li { border-top: 1px solid var(--gris-filet); }
.contact-liste > li > .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--sauge-fonce); }
.contact-liste__titre {
  display: block;
  margin-bottom: 2px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--texte-2);
}
.contact-liste a { font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact-liste a:hover { text-decoration: underline; }
.contact-liste a .icon { display: inline; width: .9em; height: .9em; margin-left: 2px; vertical-align: -.08em; opacity: .6; }

/* Adresse et plan */
.acces { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .acces { grid-template-columns: 5fr 7fr; gap: clamp(48px, 6vw, 88px); } }
.acces__texte .a-completer { margin-bottom: 4px; }
.acces__texte .lien-fleche { margin-top: 12px; }
.acces__texte .lien-fleche .icon { width: 1em; height: 1em; }
.carte { margin: 0; }
.carte__cadre {
  position: relative;
  isolation: isolate;
  height: clamp(300px, 40vw, 460px);
  overflow: hidden;
  border-radius: var(--rayon-lg);
  background: #ecebe7;
}
.carte__tuiles { position: absolute; top: 50%; left: 50%; z-index: -1; }
.carte__tuiles img {
  position: absolute;
  width: 256px;
  max-width: none;
  height: 256px;
  filter: grayscale(.85) contrast(.96) brightness(1.03);
  user-select: none;
}
.carte__repere {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transform: translate(-50%, -100%);
  pointer-events: none;
}
.carte__etiquette {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--anthracite);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5);
}
.carte__epingle { width: 40px; height: 52px; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .25)); }
.carte__epingle path { fill: var(--sauge-fonce); }
.carte__epingle circle { fill: #fff; }
.carte__cadre::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: rgba(91, 122, 100, .45);
  animation: rs-onde 2.4s var(--ease) infinite;
}
@keyframes rs-onde { from { transform: scale(.6); opacity: 1; } to { transform: scale(3.6); opacity: 0; } }
.carte__credit { margin-top: 10px; font-size: .8rem; text-align: right; color: var(--texte-2); }
.carte__credit a { color: inherit; }

@media print {
  .devis__actions, .depot, .contact__infos, .carte { display: none !important; }
}

/* ==========================================================================
   Pages légales
   ========================================================================== */
.section--legal { padding-top: clamp(48px, 7vw, 88px); }
.texte-legal { max-width: 48rem; }
.texte-legal h2 { margin: 2.4em 0 .7em; font-size: clamp(1.7rem, 3vw, 2.15rem); }
.texte-legal h2:first-child { margin-top: 0; }
.texte-legal ul { margin: 0 0 1.2em; padding-left: 1.2em; }
.texte-legal li { margin-bottom: .45em; }
.texte-legal li::marker { color: var(--sauge-fonce); }
.texte-legal a { font-weight: 600; color: var(--sauge-texte); overflow-wrap: anywhere; }
.fiche-legale { margin: 0 0 1.5em; border-top: 1px solid var(--gris-filet); }
.fiche-legale > div { display: grid; gap: 2px 28px; padding: 13px 0; border-bottom: 1px solid var(--gris-filet); }
@media (min-width: 640px) { .fiche-legale > div { grid-template-columns: 15rem minmax(0, 1fr); } }
.fiche-legale dt { font-weight: 700; color: var(--anthracite); }
.fiche-legale dd { margin: 0; }
.fiche-legale .a-completer { margin-top: 6px; }
.liens-404 { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; padding: 0; list-style: none; }
.liens-404 a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 18px;
  border: 1.5px solid var(--gris-metal);
  border-radius: 999px;
  background: var(--blanc);
  font-weight: 700;
  text-decoration: none;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.liens-404 a:hover { border-color: var(--anthracite); }
.liens-404 .icon { color: var(--sauge-fonce); }
.texte-legal__maj { margin-top: 3em; padding-top: 1.2em; border-top: 1px solid var(--gris-filet); font-size: .9rem; color: var(--texte-2); }

/* ==========================================================================
   Visionneuse plein écran
   ========================================================================== */
.visionneuse {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: rgba(18, 19, 20, .97);
  color: #fff;
}
.visionneuse::backdrop { background: rgba(18, 19, 20, .7); }
.visionneuse[open] { display: grid; grid-template-rows: auto 1fr; animation: rs-fondu .3s var(--ease); }
@keyframes rs-fondu { from { opacity: 0; } }
.visionneuse__barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 24px;
}
.visionneuse__compteur { margin: 0; font-size: .9rem; font-weight: 700; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.visionneuse__fermer, .visionneuse__nav {
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  cursor: pointer;
  transition: background-color .25s;
}
.visionneuse__fermer { width: 48px; height: 48px; }
.visionneuse__fermer:hover, .visionneuse__nav:hover { background: rgba(255, 255, 255, .22); }
.visionneuse__scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 0;
  margin: 0;
  padding: 0 16px 24px;
  touch-action: pan-y;
}
.visionneuse__img {
  width: auto;
  max-width: min(100%, 1400px);
  height: auto;
  max-height: calc(100dvh - 150px);
  object-fit: contain;
  border-radius: 6px;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.visionneuse.is-changement .visionneuse__img { opacity: 0; transform: scale(.985); }
.visionneuse__legende { min-height: 1.4em; font-size: .95rem; text-align: center; color: rgba(255, 255, 255, .85); }
.visionneuse__nav {
  position: absolute;
  top: 50%;
  width: 54px;
  height: 54px;
  transform: translateY(-50%);
}
.visionneuse__nav .icon { width: 28px; height: 28px; }
.visionneuse__nav--prec { left: 16px; }
.visionneuse__nav--suiv { right: 16px; }
.visionneuse.is-seule .visionneuse__nav { display: none; }
@media (max-width: 767px) {
  .visionneuse__scene { padding-bottom: 88px; }
  .visionneuse__img { max-height: calc(100dvh - 210px); }
  .visionneuse__nav { top: auto; bottom: calc(18px + env(safe-area-inset-bottom)); transform: none; }
}

/* Apparition au défilement ------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--delai, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

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

/* Impression --------------------------------------------------------------- */
@media print {
  .site-header, .menu-mobile, .call-bar, .to-top, .skip-link { display: none !important; }
  body { padding: 0; background: #fff; }
  .onglet-panneau[hidden] { display: grid !important; }
  .onglets__liste { display: none; }
}
