/* Lestrac Plomberie & Chauffage : démo une page, v2.
   Faïence claire, bleu pétrole pour l'eau, cuivre pour le métier, rouge pour la chaleur.
   Titres en Big Shoulders Display (lettrage d'atelier), texte en Hanken Grotesk. */

@font-face { font-family: "Big Shoulders Display"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("/vitrines/plombier/fonts/big-shoulders-display-var.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("/vitrines/plombier/fonts/hanken-grotesk-var.woff2") format("woff2"); }

:root {
  --faience: #F2F5F4;
  --blanc: #FFFFFF;
  --encre: #10282F;
  --gris: #47595F;            /* texte secondaire sur fond clair */
  --joint: #D5DEDD;
  --petrole: #0E3F4E;
  --petrole-2: #15505F;
  --eau: #63B9CE;
  --eau-pale: #DCEBEE;
  --cuivre: #A85822;          /* fonds de boutons, texte blanc dessus */
  --cuivre-fonce: #84431A;
  --cuivre-clair: #E8A871;    /* sur fond sombre */
  --chaud: #E2573A;
  --vert: #5EDC92;
  --tuyau: linear-gradient(180deg, #7E4519 0%, #E3A268 34%, #B8692F 60%, #7A4218 100%);
  --tuyau-v: linear-gradient(90deg, #7E4519 0%, #E3A268 34%, #B8692F 60%, #7A4218 100%);

  --titre: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --texte: "Hanken Grotesk", Arial, Helvetica, sans-serif;

  --gout: max(1.25rem, calc(50% - 36rem));
  --carreau: 5rem;
  --bandeau: 3.5rem;          /* hauteur réservée au bandeau, pour les ancres */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--faience);
  color: var(--encre);
  font: 400 1.0625rem/1.55 var(--texte);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
[id] { scroll-margin-top: calc(var(--bandeau) + 1rem); }
:focus-visible { outline: 3px solid var(--cuivre); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.defs { position: absolute; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: .5rem; top: -6rem; z-index: 100; padding: .75rem 1rem; background: var(--blanc); color: var(--encre); font-weight: 600; }
.skip:focus { top: .5rem; }
.in { padding-inline: var(--gout); }

/* Bandeau de démonstration */
.demo {
  position: sticky; top: 0; z-index: 60;
  background: var(--encre); color: #E6EEEE;
  border-bottom: 2px solid var(--cuivre-clair);
  font-size: .8125rem; line-height: 1.35; text-align: center;
}
.demo p { padding: .45rem .75rem; }
.demo a { color: var(--cuivre-clair); font-weight: 600; text-underline-offset: 2px; white-space: nowrap; margin-left: .35rem; display: inline-block; padding-block: .15rem; }
.demo a:focus-visible { outline-color: #fff; }
.demo .demo__lang { font-size: .75rem; font-weight: 400; margin-left: .75rem; }

/* Titres */
h2 {
  font: 800 clamp(2.9rem, 1.7rem + 5.6vw, 5.75rem)/.92 var(--titre);
  text-transform: uppercase; letter-spacing: .005em;
  text-wrap: balance;
}
.gros { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.5rem); line-height: 1.4; font-weight: 500; }
.sec { padding-block: clamp(3.75rem, 2.5rem + 5vw, 7rem); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 3.5rem; padding: .8rem 1.4rem;
  border: 0; border-radius: .5rem;
  font: 600 1.0625rem/1.2 var(--texte); text-decoration: none; cursor: pointer;
  transition: background-color .18s, transform .18s;
}
.btn strong { font: 800 1.55rem/1 var(--titre); letter-spacing: .03em; margin-left: .2rem; white-space: nowrap; }
.btn--appel { background: var(--cuivre); color: #fff; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .22); }
.btn--plein { background: var(--petrole); color: #fff; width: 100%; }
.btn:active { transform: translateY(1px); }

/* En-tête : posé sur la photo au téléphone */
.top {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: 4.25rem; margin-bottom: -4.25rem; padding-inline: 1.25rem;
  color: #fff;
}
.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; min-height: 2.75rem; }
.logo__mark { width: 2.5rem; height: auto; }
.logo__txt { display: none; }
.logo__name { display: block; font: 800 1.6rem/1 var(--titre); text-transform: uppercase; letter-spacing: .02em; }
.logo__sub { display: block; font-size: .8125rem; color: var(--gris); margin-top: .1rem; }
.top__lieu { font-size: .875rem; font-weight: 500; text-shadow: 0 1px 8px rgba(0, 0, 0, .55); }
.nav, .top__tel { display: none; }

/* Premier écran */
.hero {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 31rem; height: calc(100svh - 3.3rem);
  background: var(--encre); color: #fff;
  overflow: hidden;
}
.hero__photos { position: absolute; inset: 0; z-index: -1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero__photos::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(7, 26, 32, .5) 0, rgba(7, 26, 32, 0) 7rem),
    linear-gradient(to top, rgba(7, 26, 32, .96) 0, rgba(7, 26, 32, .82) 28%, rgba(7, 26, 32, .35) 52%, rgba(7, 26, 32, 0) 68%);
}
.hero__insert { display: none; }
.hero__txt { padding: 0 1.25rem 1.25rem; }

.dispo { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; font-size: .875rem; line-height: 1.3; }
.dispo__etat {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem .8rem .4rem .7rem; border-radius: 2rem;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-weight: 600; font-size: .9375rem; white-space: nowrap;
}
.dispo__pt { position: relative; width: .625rem; height: .625rem; border-radius: 50%; background: var(--vert); }
.dispo__pt::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--vert); animation: pouls 2.6s ease-out infinite; }
.dispo--ferme .dispo__pt, .dispo--ferme .dispo__pt::after { background: var(--cuivre-clair); animation: none; }
.dispo__det { color: #DCE8EA; }
@keyframes pouls { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(3.2); opacity: 0; } }

h1 { margin-top: .9rem; }
.h1__nom { display: block; font: 900 clamp(5.5rem, 29.5vw, 8.25rem)/.8 var(--titre); text-transform: uppercase; letter-spacing: -.005em; margin-left: -.03em; }
.h1__metier { display: block; margin-top: .7rem; font: 700 clamp(1.45rem, 6.6vw, 1.9rem)/1 var(--titre); text-transform: uppercase; letter-spacing: .035em; color: var(--cuivre-clair); }
.hero__lead { margin-top: .8rem; font-size: 1.125rem; line-height: 1.35; max-width: 24rem; }
.hero__act { margin-top: 1.1rem; display: flex; flex-direction: column; gap: .2rem; }
.hero__act .btn { width: 100%; }
.hero__devis { align-self: center; display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: .5rem; font-weight: 600; font-size: 1rem; text-underline-offset: 4px; }
.hero :focus-visible { outline-color: #fff; }

/* Entrée du premier écran : un seul mouvement, au chargement */
@media (prefers-reduced-motion: no-preference) {
  .hero__txt > * { animation: monte .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__txt > :nth-child(2) { animation-delay: .08s; }
  .hero__txt > :nth-child(3) { animation-delay: .16s; }
  .hero__txt > :nth-child(4) { animation-delay: .24s; }
  .hero__img { animation: recule 1.4s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes monte { from { opacity: 0; transform: translateY(1.25rem); } }
@keyframes recule { from { transform: scale(1.06); } }

/* Apparitions au défilement : seulement si le script a posé .rv-ok */
.rv-ok .rv { opacity: 0; transform: translateY(1.5rem); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.rv-ok .rv--la { opacity: 1; transform: none; }
.rv-ok .etapes .rv:nth-child(2) { transition-delay: .12s; }
.rv-ok .etapes .rv:nth-child(3) { transition-delay: .24s; }

/* L'artisan */
.sec--artisan { background: var(--blanc); padding-top: 0; }
.artisan { display: grid; gap: 2rem; }
.artisan__img { margin-inline: calc(var(--gout) * -1); }
.artisan__img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 30%; }
.artisan__txt > p { margin-top: 1rem; max-width: 36rem; }
.artisan__txt > .gros { margin-top: 1.4rem; }
.artisan__sig { font: 700 1.5rem/1 var(--titre); text-transform: uppercase; letter-spacing: .04em; color: var(--cuivre); }
.faits { margin-top: 2.25rem; display: grid; gap: 0; border-top: 1px solid var(--joint); }
.faits > div { display: grid; gap: .25rem; padding-block: .9rem; border-bottom: 1px solid var(--joint); }
.faits dt { font: 800 2rem/1 var(--titre); text-transform: uppercase; color: var(--petrole); white-space: nowrap; }
.faits dd { font-size: .9375rem; color: var(--gris); line-height: 1.4; }

/* Avant / après */
.sec--ba { background: var(--faience); }
.ba__intro { margin-top: 1rem; max-width: 34rem; color: var(--gris); }
.ba__aide { display: none; }
.js .ba__aide { display: inline; }
.ba__cadre { margin-top: 1.75rem; }
.ba { position: relative; display: grid; gap: .5rem; --p: 50%; }
.ba__vue { position: relative; }
.ba__vue img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.ba__vue figcaption {
  position: absolute; top: .75rem; left: .75rem;
  padding: .25rem .7rem; border-radius: .25rem;
  background: var(--encre); color: #fff;
  font: 700 1.05rem/1.3 var(--titre); text-transform: uppercase; letter-spacing: .06em;
}
.ba__vue--apres figcaption { background: var(--cuivre); }
.ba__range, .ba__poignee { display: none; }
/* Avec le script : les deux photos se superposent et la vanne découvre celle d'avant. */
.js .ba { display: block; aspect-ratio: 1 / 1; overflow: hidden; touch-action: pan-y; cursor: ew-resize; -webkit-user-select: none; user-select: none; background: var(--joint); }
.js .ba__vue { position: absolute; inset: 0; }
.js .ba__vue img { height: 100%; aspect-ratio: auto; pointer-events: none; -webkit-user-drag: none; }
.js .ba__vue--avant { z-index: 2; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.js .ba__vue--apres figcaption { left: auto; right: .75rem; }
.js .ba__range { display: block; position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.js .ba__poignee {
  display: block; position: absolute; z-index: 4; top: 0; bottom: 0; left: var(--p);
  width: 6px; margin-left: -3px;
  background: var(--tuyau-v); box-shadow: 0 0 12px rgba(0, 0, 0, .4);
  pointer-events: none;
}
.ba__vanne {
  position: absolute; top: 50%; left: 50%; max-width: none; width: 3.25rem; height: 3.25rem; margin: -1.625rem 0 0 -1.625rem;
  color: var(--chaud); filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .45));
  transform: rotate(calc((var(--n, 50) - 50) * 3.6deg));
}
.ba__range:focus-visible ~ .ba__poignee { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--encre); }
.ba__legende { margin-top: 1.25rem; max-width: 40rem; }

/* Prestations : l'eau, la chaleur */
.deux { display: grid; }
.cote { color: #fff; }
.cote--eau { background: var(--petrole); --doux: #C8E3EA; --trait: rgba(255, 255, 255, .22); --pic: var(--eau); }
.cote--chaud { background: var(--cuivre-fonce); --doux: #F7DFCB; --trait: rgba(255, 255, 255, .26); --pic: #FF8A6A; }
.cote__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cote__in { padding: 2rem 1.25rem 3.25rem; }
.cote__t { display: flex; align-items: center; gap: .9rem; font: 900 clamp(3.4rem, 2rem + 7vw, 6rem)/.9 var(--titre); text-transform: uppercase; }
.cote__t svg { color: var(--pic); width: .62em; height: .62em; flex: none; }
.presta { margin-top: 1.5rem; }
.presta li { padding-block: 1.3rem; border-top: 1px solid var(--trait); }
.presta li:last-child { padding-bottom: 0; }
.presta h4 { font: 700 1.6rem/1.1 var(--titre); text-transform: uppercase; letter-spacing: .03em; }
.presta p { margin-top: .5rem; color: var(--doux); max-width: 34rem; }
.presta .presta__prix { color: #fff; font-weight: 600; }
.cote :focus-visible { outline-color: #fff; }

/* Galerie à défilement horizontal */
.sec--gal { background: var(--blanc); }
.gal__tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.gal__nav { display: none; gap: .5rem; }
.gal__btn {
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem;
  border: 2px solid var(--encre); border-radius: 50%; background: none; color: var(--encre); cursor: pointer;
  transition: background-color .18s, color .18s, opacity .18s;
}
.gal__btn--prec svg { transform: scaleX(-1); }
.gal__btn:disabled { opacity: .3; cursor: default; }
.gal {
  --gh: min(58svh, 26rem);
  display: flex; gap: .75rem; margin-top: 1.75rem;
  padding-inline: var(--gout); padding-bottom: 1rem;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gout);
  scrollbar-width: thin; scrollbar-color: var(--cuivre) transparent;
}
.gal:focus-visible { outline-offset: -3px; }
.g { flex: none; width: min(84vw, calc(var(--gh) * var(--r))); scroll-snap-align: start; }
.g--l { --r: 1.5; }
.g--s { --r: 1; }
.g--p { --r: .6667; }
.g__cadre, .g img { display: block; }
.g img { width: 100%; height: var(--gh); object-fit: cover; border-radius: .25rem; }
.g figcaption { margin-top: .7rem; font-size: .9375rem; line-height: 1.4; color: var(--gris); }
.g figcaption strong { color: var(--encre); display: block; font: 700 1.25rem/1.2 var(--titre); text-transform: uppercase; letter-spacing: .04em; }

/* Avis */
.sec--avis { background: var(--eau-pale); }
.avis { margin-top: 2.25rem; display: grid; gap: 0; }
.avis li { padding-block: 1.5rem; border-top: 1px solid rgba(14, 63, 78, .22); }
.avis li:last-child { padding-bottom: 0; }
.avis__une { border-top: 0 !important; padding-top: 0 !important; }
.avis__une blockquote { font-size: clamp(1.4rem, 1.1rem + 1.6vw, 2.1rem); line-height: 1.28; font-weight: 500; color: var(--petrole); text-wrap: pretty; }
.avis__une blockquote::before { content: "«"; display: block; font: 900 4.5rem/.7 var(--titre); color: var(--cuivre); margin-bottom: .35rem; }
.avis__qui { margin-top: .6rem; font-weight: 600; font-size: .9375rem; color: var(--petrole); }

/* Zone et horaires */
.sec--zone { background: var(--blanc); }
.ou { margin-top: 2rem; display: grid; gap: 2rem; }
.ou__carte { margin-inline: calc(var(--gout) * -1); }
.carte { width: 100%; height: auto; }
.villes { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.villes li { padding: .3rem .8rem; border: 1.5px solid var(--petrole); border-radius: 2rem; font-size: .9375rem; font-weight: 500; color: var(--petrole); }
.villes li:first-child { background: var(--petrole); color: #fff; }
.ou__note { margin-top: 1.1rem; color: var(--gris); font-size: 1rem; }
.ou__bas { margin-top: 2rem; display: grid; gap: 1.5rem; }
.heures { width: 100%; border-collapse: collapse; }
.heures caption { text-align: left; font: 700 1.6rem/1.1 var(--titre); text-transform: uppercase; letter-spacing: .03em; padding-bottom: .5rem; }
.heures th, .heures td { padding: .65rem 0; border-top: 1px solid var(--joint); text-align: left; font-weight: 400; vertical-align: top; }
.heures td { text-align: right; font-weight: 600; white-space: nowrap; }
.adr { font-style: normal; line-height: 1.6; }
.adr strong { font: 700 1.6rem/1.1 var(--titre); text-transform: uppercase; letter-spacing: .03em; display: inline-block; margin-bottom: .35rem; }
.adr a { font-weight: 700; display: inline-block; padding-block: .5rem; }

/* Devis : trois étapes reliées par un tuyau de cuivre, puis le formulaire */
.sec--devis {
  background-color: var(--faience);
  background-image:
    linear-gradient(to right, var(--joint) 1px, transparent 1px),
    linear-gradient(to bottom, var(--joint) 1px, transparent 1px);
  background-size: var(--carreau) var(--carreau);
}
.etapes { counter-reset: etape; margin-top: 2.25rem; display: grid; }
.etapes li { counter-increment: etape; position: relative; padding: 0 0 2rem 4.5rem; min-height: 5.5rem; }
.etapes li::before {
  content: counter(etape);
  position: absolute; left: 0; top: 0; z-index: 1;
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%;
  background: var(--blanc); border: 5px solid var(--cuivre); color: var(--encre);
  font: 900 1.7rem/1 var(--titre);
}
.etapes li:not(:last-child)::after {
  content: ""; position: absolute; left: calc(1.625rem - 3px); top: 3rem; bottom: -.25rem; width: 6px;
  background: var(--tuyau-v);
}
.etapes h3 { font: 800 1.75rem/1.05 var(--titre); text-transform: uppercase; letter-spacing: .02em; padding-top: .55rem; }
.etapes p { margin-top: .4rem; max-width: 26rem; }
.etapes li:last-child { padding-bottom: 0; }

.devis { margin-top: 3rem; display: grid; gap: 2rem; }
.devis__txt h3 { font: 800 2.25rem/1 var(--titre); text-transform: uppercase; }
.devis__txt p { margin: .8rem 0 1.2rem; max-width: 26rem; }
.devis__txt .btn { width: 100%; }
.form { background: var(--blanc); border: 1px solid var(--joint); border-radius: .5rem; padding: 1.5rem 1.25rem; display: grid; gap: 1rem; }
.champ { display: grid; gap: .35rem; }
.champ label { font-weight: 600; font-size: 1rem; }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 3rem; padding: .65rem .8rem;
  border: 1.5px solid #7F9196; border-radius: .375rem; background: var(--blanc); color: var(--encre);
  font: 400 1.0625rem/1.4 var(--texte);
}
.champ textarea { resize: vertical; }
.champ :focus-visible { outline-offset: 1px; border-color: var(--cuivre); }
.form__etat { min-height: 1.5rem; font-weight: 700; color: var(--petrole); }
.form__etat.vu { padding: .7rem .9rem; background: var(--eau-pale); border-left: 5px solid var(--petrole); border-radius: .25rem; }
.form__note { font-size: .9375rem; color: var(--gris); }

/* Pied */
.pied { background: var(--encre); color: #D5E0E2; padding-block: 3rem calc(7.5rem + env(safe-area-inset-bottom, 0px)); font-size: 1rem; }
.pied__in { display: grid; gap: 1.5rem; }
.pied__nom { font: 800 1.9rem/1 var(--titre); text-transform: uppercase; letter-spacing: .02em; color: #fff; margin-bottom: .5rem; }
.pied a { color: #fff; font-weight: 600; display: inline-block; padding-block: .35rem; }
.pied__demo { font-size: .875rem; color: #B9C8CB; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .18); }
.pied__demo a { color: var(--cuivre-clair); }
.pied :focus-visible { outline-color: #fff; }

/* Barre d'appel (téléphone) */
.barre {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: flex; gap: .5rem;
  padding: .5rem .75rem calc(.5rem + env(safe-area-inset-bottom, 0px));
  background: var(--encre); border-top: 2px solid var(--cuivre-clair);
  transition: transform .3s ease, visibility .3s;
}
.barre a { display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.25rem; border-radius: .5rem; text-decoration: none; font-weight: 600; }
.barre__appel { flex: 1; background: var(--cuivre); color: #fff; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .22); }
.barre__n { font: 800 1.45rem/1 var(--titre); letter-spacing: .03em; margin-left: .15rem; white-space: nowrap; }
.barre__devis { padding-inline: 1.3rem; border: 1.5px solid rgba(255, 255, 255, .6); color: #fff; }
.barre :focus-visible { outline-color: #fff; }
.js .barre--bas { transform: translateY(105%); visibility: hidden; }

@media (max-width: 22.9rem) {
  .btn strong { font-size: 1.4rem; }
  .barre__appel > span { font-size: .9375rem; }
  .barre__n { font-size: 1.3rem; }
}

/* Tablette */
@media (min-width: 40rem) {
  .ba__vue img, .js .ba { aspect-ratio: 3 / 2; }
  .js .ba__vue img { aspect-ratio: auto; }
  .ou__bas { grid-template-columns: 1fr 1fr; }
  .avis { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
  .avis__une { grid-column: 1 / -1; padding-bottom: 2.25rem !important; }
  .avis li:nth-child(2), .avis li:nth-child(3) { border-top: 1px solid rgba(14, 63, 78, .22); }
  .devis__txt .btn, .hero__act .btn { width: auto; }
  .hero__act { flex-direction: row; align-items: center; gap: 1rem; }
  .gal__nav { display: flex; }
}

/* Ordinateur */
@media (min-width: 60rem) {
  :root { --gout: max(2.5rem, calc(50% - 36rem)); --bandeau: 2.5rem; }
  .pied { padding-block: 3rem; }
  .barre { display: none; }
  .demo { font-size: .875rem; }

  .top, .hero {
    background-color: var(--faience);
    background-image:
      linear-gradient(to right, var(--joint) 1px, transparent 1px),
      linear-gradient(to bottom, var(--joint) 1px, transparent 1px);
    background-size: var(--carreau) var(--carreau);
  }
  .top { height: var(--carreau); margin-bottom: 0; padding-inline: 2.5rem; color: var(--encre); }
  .logo__txt { display: block; }
  .top__lieu { display: none; }
  .nav { display: block; margin-left: auto; }
  .nav ul { display: flex; gap: .25rem; }
  .nav a { display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: .8rem; font-weight: 500; font-size: 1rem; text-decoration: none; background: linear-gradient(var(--cuivre), var(--cuivre)) no-repeat .8rem calc(100% - .45rem) / 0 3px; transition: background-size .25s; }
  .nav a:hover, .nav a:focus-visible { background-size: calc(100% - 1.6rem) 3px; }
  .top__tel { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding-inline: 1rem; border-radius: .5rem; background: var(--encre); color: #fff; text-decoration: none; font: 800 1.45rem/1 var(--titre); letter-spacing: .04em; }

  .hero {
    display: grid; grid-template-columns: calc(max(2.5rem, 50vw - 36rem) + 33rem) minmax(0, 1fr); align-items: stretch;
    height: calc(100svh - 2.6rem - var(--carreau)); min-height: 35rem; max-height: 50rem;
    color: var(--encre); overflow: visible;
  }
  .hero__photos { position: relative; inset: auto; z-index: 0; grid-column: 2; grid-row: 1; min-height: 0; }
  .hero__photos picture { display: block; height: 100%; overflow: hidden; }
  .hero__img { object-position: 50% 50%; }
  .hero__photos::after { content: none; }
  .hero__insert {
    display: block; position: absolute; left: 2rem; bottom: -3rem; z-index: 2;
    width: clamp(12rem, 17vw, 17rem); height: auto; aspect-ratio: 2 / 3; object-fit: cover;
    border: .5rem solid var(--blanc); box-shadow: 0 1.25rem 2.5rem rgba(16, 40, 47, .22);
  }
  .hero__txt { grid-column: 1; grid-row: 1; align-self: center; padding: 1rem 2rem 2rem max(2.5rem, calc(50vw - 36rem)); }
  .dispo__etat { background: var(--blanc); border-color: var(--joint); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .dispo__pt, .dispo__pt::after { background: #1FA45B; }
  .dispo__det { color: var(--gris); }
  h1 { margin-top: 1.5rem; }
  .h1__nom { font-size: clamp(7.5rem, 11.8vw, 11rem); color: var(--petrole); }
  .h1__metier { color: var(--cuivre); font-size: clamp(1.6rem, 2.3vw, 2.4rem); margin-top: 1rem; }
  .hero__lead { font-size: 1.3rem; margin-top: 1.1rem; max-width: 22rem; }
  .hero__act { margin-top: 1.75rem; }
  .hero__act .btn, .hero__devis { flex: none; white-space: nowrap; }
  .hero__act { gap: .75rem; }
  .hero :focus-visible { outline-color: var(--cuivre); }
  .btn--appel:hover { background: var(--cuivre-fonce); }
  .btn--plein:hover { background: var(--encre); }
  .hero__devis:hover { color: var(--cuivre); }

  .sec--artisan { padding-top: clamp(6rem, 9vw, 9rem); }
  .artisan { grid-template-columns: 5fr 7fr; gap: 4.5rem; align-items: start; }
  .artisan__img { margin-inline: 0; position: sticky; top: 5rem; }
  .artisan__img img { aspect-ratio: 4 / 5; border-radius: .25rem; }
  .faits { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 1.5rem; margin-top: 3rem; }
  .faits > div { display: block; border-bottom: 0; border-top: 5px solid var(--cuivre); padding-top: 1rem; }
  .faits dt { font-size: 2.4rem; margin-bottom: .4rem; }

  .ba__tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; }
  .ba__intro { margin: 0 0 .6rem; max-width: 24rem; }
  .ba__cadre { padding-inline: var(--gout); margin-top: 2.5rem; }
  .ba__vue img, .js .ba { aspect-ratio: 16 / 9; }
  .js .ba__vue img { aspect-ratio: auto; }
  .ba { border-radius: .25rem; }
  .ba__vue figcaption { top: 1.25rem; left: 1.25rem; font-size: 1.3rem; }
  .js .ba__vue--apres figcaption { right: 1.25rem; }
  .ba__vanne { width: 4rem; height: 4rem; margin: -2rem 0 0 -2rem; transition: scale .2s; }
  .ba:hover .ba__vanne { scale: 1.12; }

  .deux { grid-template-columns: 1fr 1fr; }
  .cote__img { aspect-ratio: 16 / 10; }
  .cote__in { padding: 3.5rem 3.5rem 5rem; }
  .cote--eau .cote__in { padding-left: max(2.5rem, calc(50vw - 36rem)); }
  .cote--chaud .cote__in { padding-right: max(2.5rem, calc(50vw - 36rem)); }
  .cote { overflow: hidden; }
  .cote__img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
  .cote:hover .cote__img { transform: scale(1.04); }

  .gal { --gh: 30rem; gap: 1.25rem; margin-top: 2.75rem; padding-bottom: 1.5rem; }
  .g { width: calc(var(--gh) * var(--r)); overflow: hidden; }
  .g img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
  .g:hover img { transform: scale(1.035); }
  .g figcaption { max-width: 26rem; }
  .gal__btn:not(:disabled):hover { background: var(--encre); color: #fff; }

  .avis { margin-top: 3.5rem; grid-template-columns: 1fr 1fr; column-gap: 4.5rem; }
  .avis__une blockquote { max-width: 56rem; }

  .ou { grid-template-columns: 6fr 5fr; gap: 4.5rem; align-items: start; margin-top: 3rem; }
  .ou__carte { margin-inline: 0; border-radius: .25rem; overflow: hidden; }
  .ou__bas { grid-template-columns: 1fr; }

  .etapes { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3.5rem; }
  .etapes li { padding: 5rem 0 0; }
  .etapes li::before { width: 4rem; height: 4rem; font-size: 2.1rem; }
  .etapes li:not(:last-child)::after { left: 3.75rem; right: -2.75rem; top: calc(2rem - 3px); bottom: auto; width: auto; height: 6px; background: var(--tuyau); }
  .etapes h3 { font-size: 2.1rem; padding-top: 0; }
  .devis { grid-template-columns: 5fr 7fr; gap: 4.5rem; margin-top: 5rem; align-items: start; }
  .devis__txt h3 { font-size: 3rem; }
  .form { padding: 2.25rem; grid-template-columns: 1fr 1fr; column-gap: 1.25rem; }
  .form > :nth-child(n+3) { grid-column: 1 / -1; }

  .pied__in { grid-template-columns: 1fr 1fr; gap: 2rem 4rem; }
  .pied__demo { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .cote:hover .cote__img, .g:hover img, .ba:hover .ba__vanne { transform: none; scale: none; }
}
