/* Leclerc Excavation et Terrassement : maquette du site.
   Fond blanc (demande de Mathis : « le site en blanc au lieu de charcoal »), texte anthracite, jaune du logo en accent.
   Couleurs tirées du logo : anthracite #232323 (fond du logo) et jaune #FCD411.
   Le logo (img/logo.png, identique à l'original) est posé directement sur le fond, sans plaque, en haut comme dans le pied. */

:root {
  --encre: #232323;
  --encre-2: #2e2e2e;
  --jaune: #fcd411;
  --jaune-2: #e9c200;
  --gris: #5c5c5c;
  --gris-clair: #d9d6cf;
  --sable: #f2f0eb;
  --blanc: #ffffff;
  --nav-h: 86px;
  --gouttiere: clamp(16px, 4vw, 56px);
  --largeur: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: 'Saira', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--encre);
  background: var(--blanc);
}
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-stretch: 85%; line-height: 1.08; margin: 0; letter-spacing: -0.005em; }
h2 { font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 750; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0; }
figure { margin: 0; }
.cadre { width: min(100% - 2 * var(--gouttiere), var(--largeur)); margin-inline: auto; }
.lecteur { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--jaune); outline-offset: 2px; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: .7em 1.4em;
  font: inherit; font-weight: 700; font-stretch: 90%; font-size: 1.05rem; line-height: 1.15;
  text-decoration: none; border: 2px solid transparent; border-radius: 3px; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.bouton--jaune { background: var(--jaune); color: var(--encre); }
.bouton--jaune:hover { background: var(--jaune-2); }
.bouton--contour { border-color: var(--encre); color: var(--encre); }
.bouton--contour:hover { background: var(--encre); color: var(--blanc); }
.bouton--fonce { background: var(--encre); color: var(--blanc); }
.bouton--fonce:hover { background: #000; }

/* ---------- Barre du haut ---------- */
.nav {
  position: sticky; top: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px);
  padding-inline: var(--gouttiere);
  background: var(--blanc); color: var(--encre);
  border-bottom: 1px solid var(--gris-clair);
}
/* Logo directement sur le blanc de la barre (« le logo en haut à gauche fit pas vraiment, mets-le en blanc »). */
.nav__logo { flex: none; display: flex; align-items: center; }
.nav__logo img { height: 62px; width: auto; }
.nav__liens { display: flex; gap: clamp(18px, 2.2vw, 36px); margin-left: auto; }
.nav__liens a { text-decoration: none; font-weight: 600; font-stretch: 90%; padding: .4em 0; border-bottom: 2px solid transparent; }
.nav__liens a:hover { border-bottom-color: var(--jaune); }
.nav__tel {
  flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: .45em 1em;
  background: var(--jaune); color: var(--encre); font-weight: 750; font-stretch: 90%;
  text-decoration: none; border-radius: 3px; white-space: nowrap;
}
.nav__tel:hover { background: var(--jaune-2); }
.nav__menu {
  display: none; margin-left: 12px; min-height: 44px; padding: .4em 1em;
  font: inherit; font-weight: 600; color: var(--encre); background: none;
  border: 2px solid var(--encre); border-radius: 3px; cursor: pointer;
}

@media (max-width: 999.98px) {
  .nav__menu { display: block; }
  .nav__tel { margin-left: auto; }
  .nav__liens {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gouttiere) 20px;
    background: var(--blanc); border-bottom: 1px solid var(--gris-clair);
  }
  .nav--ouvert .nav__liens { display: flex; }
  .nav__liens a { padding: .85em 0; font-size: 1.15rem; border-bottom: 1px solid var(--gris-clair); }
  .nav__liens a:last-child { border-bottom: 0; }
}
@media (max-width: 699.98px) {
  :root { --nav-h: 64px; }
  .nav__logo img { height: 44px; }
}
@media (max-width: 519.98px) {
  .nav__tel { display: none; }
  .nav__menu { margin-left: auto; }
}

/* ---------- Héros ---------- */
/* Ordinateur et tablette : la vidéo du camion remplit tout le héros, le texte blanc par-dessus, à gauche.
   La vidéo est verticale (1152 × 2048) : en largeur, on n'en voit qu'une bande. Le camion est entre 38 % et 65 %
   de la hauteur de l'image, d'où object-position à 48 %. */
.hero {
  --hero-h: clamp(540px, calc(100svh - var(--nav-h)), 1000px);
  position: relative; display: grid; align-items: center;
  height: var(--hero-h);
  background: #1b1b1b; color: var(--blanc);
  overflow: hidden;
}
.hero__videos { position: absolute; inset: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; background: #1b1b1b; }
/* Voile foncé à gauche pour lire le texte ; la droite garde la vidéo presque intacte. */
.hero__videos::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(16, 16, 16, .86) 0%, rgba(16, 16, 16, .62) 38%, rgba(16, 16, 16, .12) 72%, rgba(16, 16, 16, 0) 100%),
    linear-gradient(0deg, rgba(16, 16, 16, .35), rgba(16, 16, 16, 0) 30%);
}
.hero__texte {
  position: relative; z-index: 1;
  padding: clamp(32px, 5vw, 96px) var(--gouttiere) clamp(32px, 4vw, 72px) max(var(--gouttiere), calc((100vw - var(--largeur)) / 2));
}
.hero h1 { max-width: 13em; font-size: clamp(2.2rem, 3.7vw, 4.6rem); font-weight: 800; font-stretch: 80%; text-shadow: 0 1px 18px rgba(0, 0, 0, .35); }
.hero h1::after { content: ''; display: block; width: 88px; height: 8px; margin-top: .32em; background: var(--jaune); }
.hero__phrase { margin-top: 1.1em; font-size: clamp(1.05rem, 1.25vw, 1.35rem); color: #ededeb; max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2em; }
.hero .bouton--contour { border-color: rgba(255, 255, 255, .85); color: var(--blanc); }
.hero .bouton--contour:hover { background: var(--blanc); color: var(--encre); }
/* Pas de bouton sur la vidéo (bouton pause retiré le 2026-11-13, demande de Mathis).
   iOS peut poser son propre bouton de lecture quand il bloque la vidéo (mode économie d'énergie) : on le cache, l'image fixe reste. */
.hero__video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.hero__video::-webkit-media-controls { display: none !important; }
/* Cellulaire : la vidéo verticale en haut, sans voile ; le texte en dessous, sur le blanc. */
@media (max-width: 699.98px) {
  .hero { display: flex; flex-direction: column-reverse; align-items: stretch; height: auto; background: var(--blanc); color: var(--encre); }
  .hero__videos { position: relative; inset: auto; height: min(54svh, 470px); }
  .hero__videos::after { display: none; }
  .hero__video { object-position: 50% 50%; }
  .hero__texte { padding: 26px var(--gouttiere) 34px; }
  .hero h1 { font-size: clamp(1.9rem, 8.4vw, 2.5rem); text-shadow: none; }
  .hero__phrase { font-size: 1rem; margin-top: .7em; color: #3f3f3f; }
  /* La barre du bas donne déjà « Appeler » et « Soumission » : pas de boutons en double ici. */
  .hero__actions { display: none; }
}

/* ---------- Bande de faits ---------- */
.faits { background: var(--jaune); color: var(--encre); }
.faits__liste {
  list-style: none; margin-block: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between;
}
.faits__liste li { padding: 22px clamp(18px, 3vw, 48px); border-left: 2px solid rgba(35, 35, 35, .22); }
.faits__liste li:first-child { border-left: 0; padding-left: 0; }
.faits__liste strong { display: block; font-size: 1.2rem; font-weight: 750; font-stretch: 85%; line-height: 1.2; }
.faits__liste span { display: block; margin-top: 2px; font-size: .95rem; }
/* Cellulaire : les trois faits l'un sous l'autre. */
@media (max-width: 699.98px) {
  .faits__liste { grid-template-columns: 1fr; }
  .faits__liste li { padding: 14px 0; border-left: 0; }
  .faits__liste li + li { border-top: 2px solid rgba(35, 35, 35, .22); }
  .faits__liste strong { font-size: 1.05rem; }
  .faits__liste span { font-size: .88rem; }
}

/* ---------- Services ---------- */
.services { padding-block: clamp(64px, 8vw, 120px); }
.services__intro { margin-top: .7em; max-width: 40em; color: var(--gris); font-size: 1.1rem; }
.services__grille {
  list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px);
}
.service img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.service h3 { margin-top: 16px; padding-top: 12px; border-top: 3px solid var(--jaune); }
.service p { margin-top: 6px; color: var(--gris); }
.service--appel {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 28px; background: var(--sable); border-top: 6px solid var(--jaune); border-radius: 2px;
}
.service--appel h3 { margin-top: 0; padding-top: 0; border-top: 0; }
.service--appel p { color: #4a4a4a; }
.service--appel .service__question { margin-top: auto; padding-top: 28px; color: var(--encre); font-weight: 700; font-size: 1.2rem; }
.service--appel .bouton { margin-top: 12px; }
@media (max-width: 1099.98px) {
  .services__grille { grid-template-columns: repeat(2, 1fr); }
}
/* Cellulaire : une rangée par service, photo à gauche. */
@media (max-width: 599.98px) {
  .services__grille { grid-template-columns: 1fr; gap: 0; }
  .service:not(.service--appel) {
    display: grid; grid-template-columns: 42% 1fr; grid-template-rows: auto 1fr; column-gap: 14px; align-items: start;
    padding-block: 14px; border-top: 1px solid var(--gris-clair);
  }
  .service:not(.service--appel) img { grid-row: span 2; }
  .service:not(.service--appel) h3 { margin-top: 0; padding-top: 0; border-top: 0; font-size: 1.12rem; }
  .service:not(.service--appel) p { margin-top: 4px; font-size: .95rem; line-height: 1.4; }
  .service--appel { margin-top: 18px; padding: 22px; }
  .service--appel .service__question { padding-top: 18px; }
}

/* ---------- Réalisations ---------- */
.realisations { padding-block: clamp(64px, 8vw, 120px); background: var(--sable); }
.realisations__tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 40px; }
.realisations__facebook {
  font-weight: 650; font-stretch: 90%;
  text-decoration: underline; text-decoration-color: var(--jaune-2); text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.realisations__facebook:hover { text-decoration-color: var(--encre); }

/* Un chantier en étapes. Ordinateur : la grande photo à gauche, le texte et les étapes à droite. */
.projet {
  margin-top: clamp(28px, 3.5vw, 48px);
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(320px, 25vw, 380px);
  grid-template-areas: "scene texte" "scene etapes"; grid-template-rows: auto 1fr;
  column-gap: clamp(32px, 3.5vw, 60px);
}
.projet__texte { grid-area: texte; }
.projet__texte h3 { font-size: clamp(1.5rem, 1.9vw, 1.9rem); }
.projet__texte p { margin-top: .6em; color: var(--gris); font-size: 1.05rem; }
.projet__scene { grid-area: scene; position: relative; align-self: start; }
.projet__image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; background: #dedad2; }
.projet__num {
  display: inline-grid; place-items: center; flex: none; width: 1.75rem; height: 1.75rem;
  font-size: .9rem; font-weight: 750; font-stretch: 90%; line-height: 1;
}
.projet__legende {
  position: absolute; left: 0; bottom: 0;
  display: flex; align-items: center; gap: .55em; padding: .4em .9em .4em .4em;
  background: var(--jaune); color: var(--encre); font-size: 1.05rem; font-weight: 700; font-stretch: 90%;
}
.projet__legende .projet__num { background: var(--encre); color: var(--jaune); }
.projet__etapes { grid-area: etapes; align-self: end; list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 6px; }
.projet__etape {
  display: grid; grid-template-columns: clamp(84px, 6.2vw, 108px) auto 1fr; align-items: center; gap: 14px;
  padding: 6px 12px 6px 6px; text-decoration: none; color: var(--encre);
  border-left: 4px solid transparent; border-radius: 2px; transition: background-color .15s;
}
.projet__etape img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.projet__etape .projet__num { border: 2px solid var(--encre); }
.projet__nom { font-weight: 650; font-stretch: 90%; line-height: 1.2; }
.projet__etape:hover { background: rgba(255, 255, 255, .6); }
.projet__etape[aria-current] { background: var(--blanc); border-left-color: var(--jaune); }
.projet__etape[aria-current] .projet__num { background: var(--encre); color: var(--jaune); }
.projet__etape:focus-visible { outline: 3px solid var(--encre); outline-offset: 2px; }

/* Tablette et aperçu étroit : le texte, la grande photo, puis les étapes en bande de 5. */
@media (max-width: 1199.98px) {
  .projet { grid-template-columns: 1fr; grid-template-areas: "texte" "scene" "etapes"; grid-template-rows: auto; }
  .projet__texte { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 24px; margin-bottom: 18px; }
  .projet__image { aspect-ratio: 16 / 10; }
  .projet__texte p { margin-top: 0; max-width: 40em; }
  .projet__etapes { margin-top: 10px; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
  .projet__etape { grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 8px; padding: 0; border-left: 0; }
  .projet__etape img { grid-column: 1 / -1; outline: 4px solid transparent; outline-offset: -4px; transition: outline-color .15s; }
  .projet__etape:hover, .projet__etape[aria-current] { background: none; }
  .projet__etape[aria-current] img { outline-color: var(--jaune); }
  .projet__nom { font-size: .95rem; }
}
/* Cellulaire : les étapes en vignettes numérotées ; le nom de l'étape est sous la grande photo. */
@media (max-width: 599.98px) {
  .projet__texte { display: block; }
  .projet__image { aspect-ratio: 4 / 3; }
  .projet__texte p { margin-top: .5em; font-size: 1rem; }
  .projet__legende { font-size: .95rem; }
  .projet__etapes { gap: 6px; }
  .projet__etape { display: block; position: relative; }
  .projet__etape .projet__num { position: absolute; left: 0; top: 0; width: 1.5rem; height: 1.5rem; font-size: .8rem; border: 0; background: var(--blanc); }
  .projet__etape .projet__nom { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Avant et après, puis les photos : toutes les photos en paysage (4:3), sur une grille de 4 colonnes à l'ordinateur. */
.galerie { --ecart: clamp(6px, .6vw, 10px); margin-top: clamp(56px, 7vw, 100px); }
.galerie__tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.galerie__titre { font-size: clamp(1.5rem, 1.9vw, 1.9rem); }
.galerie__titre--photos { margin-top: clamp(40px, 4.5vw, 64px); }
.galerie__paires, .galerie__liste { list-style: none; margin: clamp(20px, 2.4vw, 32px) 0 0; padding: 0; }
.galerie__liste { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--ecart); }
/* Avant et après : une bande qui défile à l'horizontale (2026-11-13, demande de Mathis).
   Chaque chantier a la largeur de ses colonnes de la grille du dessous (--n photos = --n colonnes) ;
   les flèches, le doigt ou le pavé tactile la font défiler, et chaque chantier s'arrête au bord gauche. */
.galerie__paires {
  --col: calc((100% - 3 * var(--ecart)) / 4);
  display: flex; gap: var(--ecart); overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.galerie__paires::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: no-preference) { .galerie__paires { scroll-behavior: smooth; } }
.paire { --n: 2; flex: 0 0 calc(var(--n) * var(--col) + (var(--n) - 1) * var(--ecart)); min-width: 0; scroll-snap-align: start; }
.paire--3 { --n: 3; }
.paire--4 { --n: 4; }
.paire__photos { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: var(--ecart); }
.paire__titre { margin-top: 10px; font-weight: 650; font-stretch: 90%; line-height: 1.3; }
/* La bande coupe ce qui dépasse : le contour du focus passe à l'intérieur de la photo. */
.galerie__paires .galerie__photo:focus-visible { outline: 4px solid var(--jaune); outline-offset: -4px; }
.paires__fleches { display: flex; flex: none; gap: 8px; }
.paires__fleches[hidden] { display: none; }
.paires__fleche {
  display: grid; place-items: center; width: 46px; height: 46px; padding: 0;
  border: 2px solid var(--encre); border-radius: 2px; background: var(--blanc); color: var(--encre); cursor: pointer;
  transition: background-color .15s, color .15s;
}
.paires__fleche svg { width: 22px; height: 22px; }
@media (hover: hover) { .paires__fleche:hover:not(:disabled) { background: var(--encre); color: var(--blanc); } }
.paires__fleche:disabled { opacity: .28; cursor: default; }
.galerie__photo {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; overflow: hidden;
  background: #dedad2; border-radius: 2px; cursor: zoom-in;
}
.galerie__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.galerie__photo:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; }
.galerie__etape {
  position: absolute; left: 0; top: 0; padding: .25em .65em;
  background: var(--jaune); color: var(--encre); font-size: .85rem; font-weight: 700; font-stretch: 90%;
}
/* La légende paraît au survol (et dans la visionneuse) ; sur un écran tactile, seulement dans la visionneuse. */
.galerie__legende {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 14px 12px;
  background: linear-gradient(rgba(18, 18, 18, 0), rgba(18, 18, 18, .78));
  color: var(--blanc); font-size: .95rem; font-weight: 600; font-stretch: 92%; line-height: 1.3; text-align: left;
  opacity: 0; transition: opacity .2s;
}
.galerie__photo:hover img { transform: scale(1.03); }
.galerie__photo:hover .galerie__legende, .galerie__photo:focus-visible .galerie__legende { opacity: 1; }
@media (hover: none) { .galerie__legende { display: none; } }
@media (prefers-reduced-motion: reduce) { .galerie__photo img { transition: none; } .galerie__photo:hover img { transform: none; } }
.galerie__plus { display: none; }
/* Aperçu étroit et tablette : un avant/après à la fois (86 % de la largeur, le suivant dépasse), les photos sur 3 colonnes.
   Les chantiers en 3 ou 4 photos sont plus larges que l’écran : un arrêt de plus (2e photo sur 3, 3e photo sur 4). */
@media (max-width: 799.98px) {
  .galerie__paires { --col: calc(43% - var(--ecart) / 2); }
  .paire--3 .galerie__photo:nth-child(2), .paire--4 .galerie__photo:nth-child(3) { scroll-snap-align: start; }
  .galerie__liste { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Cellulaire : photos sur 2 colonnes, 6 photos puis « Voir toutes les photos ». */
@media (max-width: 599.98px) {
  .galerie { --ecart: 6px; }
  .galerie__paires { --col: calc(44% - var(--ecart) / 2); }
  .paires__fleche { width: 44px; height: 44px; }
  .galerie__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .galerie__etape { font-size: .72rem; padding: .2em .5em; }
  .galerie--repliee .galerie__liste li:nth-child(n+7) { display: none; }
  .galerie--repliee .galerie__plus { display: inline-flex; margin-top: 18px; }
}

/* Visionneuse : la photo entière sur fond foncé. */
.visionneuse {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(18, 18, 18, .96); color: var(--blanc); overscroll-behavior: contain;
}
.visionneuse::backdrop { background: rgba(0, 0, 0, .5); }
html:has(.visionneuse[open]) { overflow: hidden; }
.visionneuse__cadre {
  position: absolute; inset: 0; margin: 0; padding: clamp(56px, 6vw, 72px) clamp(12px, 7vw, 110px) 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.visionneuse__cadre img { min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 2px; }
.visionneuse__cadre figcaption { flex: none; text-align: center; font-size: 1rem; }
.visionneuse__compte { margin-left: .6em; color: #b5b5b5; font-variant-numeric: tabular-nums; }
.visionneuse button {
  position: absolute; display: grid; place-items: center; padding: 0; border: 0; border-radius: 2px;
  background: rgba(255, 255, 255, .1); color: var(--blanc); font: 400 2.2rem/1 system-ui, sans-serif; cursor: pointer;
}
.visionneuse button:hover { background: var(--jaune); color: var(--encre); }
.visionneuse button:focus-visible { outline: 3px solid var(--jaune); outline-offset: 2px; }
.visionneuse__fermer { top: 10px; right: 10px; width: 48px; height: 48px; }
.visionneuse__prec, .visionneuse__suiv { top: 50%; width: 52px; height: 72px; margin-top: -36px; }
.visionneuse__prec { left: 10px; }
.visionneuse__suiv { right: 10px; }
@media (max-width: 599.98px) {
  /* Sur cellulaire, on glisse le doigt ; les flèches restent en bas. */
  .visionneuse__prec, .visionneuse__suiv { top: auto; bottom: 10px; margin-top: 0; width: 56px; height: 48px; }
  .visionneuse__cadre { padding: 64px 8px 72px; }
}

/* ---------- Drains ---------- */
.drains { padding-block: clamp(64px, 8vw, 120px); }
.drains__grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.drains h2 { max-width: 14em; }
.drains__liste { list-style: none; margin: 1.6em 0 0; padding: 0; font-size: 1.2rem; font-weight: 650; font-stretch: 90%; }
.drains__liste li { position: relative; padding: .6em 0 .6em 30px; border-bottom: 1px solid var(--gris-clair); }
.drains__liste li::before { content: ''; position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: var(--jaune); }
.drains__texte > p { margin-top: 1.4em; max-width: 34em; color: var(--gris); font-size: 1.1rem; }
.drains__texte .bouton { margin-top: 1.8em; }
.drains__photo img { width: 100%; max-height: 82svh; object-fit: cover; border-radius: 2px; }
@media (max-width: 799.98px) {
  .drains__grille { grid-template-columns: 1fr; }
  .drains__photo { max-width: 520px; }
}

/* ---------- Le propriétaire ---------- */
.proprio { padding-block: clamp(64px, 8vw, 120px); background: var(--sable); }
.proprio__grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.proprio__photo img { width: 100%; aspect-ratio: 4 / 5; max-height: 80svh; object-fit: cover; object-position: 40% 50%; border-radius: 2px; }
.proprio__intro { margin-top: 1em; max-width: 26em; font-size: clamp(1.2rem, 1.5vw, 1.5rem); font-weight: 600; font-stretch: 90%; line-height: 1.35; }
.insecable { white-space: nowrap; }
.proprio__texte > p:not(.proprio__intro) { margin-top: 1em; max-width: 34em; color: var(--gris); font-size: 1.1rem; }
.proprio__faits { display: flex; flex-wrap: wrap; gap: 0; margin: 1.8em 0 0; border-top: 2px solid var(--encre); }
.proprio__faits div { padding: 14px 32px 0 0; margin-right: 32px; }
.proprio__faits div + div { padding-left: 32px; border-left: 1px solid var(--gris-clair); margin-right: 0; }
.proprio__faits dt { font-size: .85rem; color: var(--gris); }
.proprio__faits dd { margin: 2px 0 0; font-size: 1.25rem; font-weight: 750; font-stretch: 85%; }
.proprio__texte .bouton { margin-top: 2em; }
@media (max-width: 799.98px) {
  .proprio__grille { grid-template-columns: 1fr; }
  .proprio__photo { max-width: 460px; }
  .proprio__photo img { aspect-ratio: 4 / 3; object-position: 30% 70%; }
}

/* ---------- Contact ---------- */
.contact { padding-top: clamp(64px, 8vw, 120px); }
.contact__grille { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 110px); padding-bottom: clamp(56px, 7vw, 100px); }
.contact__coord > p { margin-top: .9em; color: var(--gris); font-size: 1.1rem; max-width: 26em; }
.contact__tel {
  display: inline-block; margin-top: .6em;
  font-size: clamp(2.2rem, 4.2vw, 3.6rem); font-weight: 800; font-stretch: 80%; line-height: 1.1;
  text-decoration: none; border-bottom: 6px solid var(--jaune);
}
.contact__tel:hover { border-bottom-color: var(--encre); }
.contact__liste { list-style: none; margin: 1.8em 0 0; padding: 0; }
.contact__liste li { padding: .55em 0; border-top: 1px solid var(--gris-clair); }
.contact__liste a { text-decoration-color: var(--jaune-2); text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }

.formulaire { display: grid; gap: 18px; align-content: start; }
.formulaire__deux { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.formulaire__champ { display: grid; gap: 6px; }
.formulaire label { font-weight: 650; font-stretch: 90%; }
.facultatif { font-weight: 400; color: var(--gris); }
.formulaire input, .formulaire select, .formulaire textarea {
  width: 100%; min-height: 50px; padding: .65em .8em;
  font: inherit; color: var(--encre); background: var(--blanc);
  border: 2px solid #b9b5ad; border-radius: 3px;
}
.formulaire textarea { resize: vertical; min-height: 130px; }
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { outline: none; border-color: var(--encre); box-shadow: 0 0 0 3px var(--jaune); }
.formulaire__avis { font-size: .92rem; color: var(--gris); }
.formulaire .bouton { justify-self: start; }
.formulaire__etat { min-height: 1.5em; font-weight: 600; }
@media (max-width: 899.98px) {
  .contact__grille { grid-template-columns: 1fr; }
}
@media (max-width: 519.98px) {
  .formulaire__deux { grid-template-columns: 1fr; }
  .formulaire .bouton { justify-self: stretch; }
}

.carte { height: clamp(300px, 34vw, 420px); background: #e8e6e1; z-index: 0; }
.carte__marque { background: var(--jaune); border: 3px solid var(--encre); border-radius: 50%; }
.carte__etiquette { font-family: 'Saira', sans-serif; font-weight: 700; font-size: .9rem; color: var(--encre); border-radius: 2px; }

/* ---------- Pied de page ---------- */
/* Pied de page blanc : le logo y paraît comme dans la barre du haut (choix de Mathis, 2026-11-11). */
.pied { background: var(--blanc); color: #3f3f3f; padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--gris-clair); }
.pied__haut { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.pied__logo { width: 230px; height: auto; margin-bottom: 18px; }
.pied__licence { font-size: .95rem; }
.pied__titre { color: var(--encre); font-weight: 700; font-stretch: 90%; margin-bottom: .6em; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { padding: .25em 0; }
.pied a { text-decoration: none; overflow-wrap: anywhere; }
.pied a:hover { text-decoration: underline; text-decoration-color: var(--jaune-2); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.pied__bas {
  display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between;
  margin-top: 48px; padding-block: 22px; border-top: 1px solid var(--gris-clair); font-size: .9rem;
}
.pied__legal a + a { margin-left: 18px; }
@media (max-width: 799.98px) {
  .pied__haut { grid-template-columns: 1fr 1fr; }
  .pied__marque { grid-column: 1 / -1; }
}
@media (max-width: 479.98px) {
  .pied__haut { grid-template-columns: 1fr; }
}

/* ---------- Barre d'appel du cellulaire ---------- */
.barre { display: none; }
@media (max-width: 699.98px) {
  /* Place de la barre du bas : dans le pied de page, pour garder sa couleur jusqu’en bas. */
  body:has(.barre) .pied { padding-bottom: 68px; }
  .barre {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1001;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: var(--blanc); border-top: 1px solid var(--gris-clair);
    transition: transform .25s;
  }
  .barre a {
    display: flex; align-items: center; justify-content: center; min-height: 48px;
    font-weight: 700; font-stretch: 90%; text-decoration: none; border-radius: 3px;
  }
  .barre__appel { background: var(--jaune); color: var(--encre); }
  .barre__soumission { border: 2px solid var(--encre); color: var(--encre); }
  .barre--cachee { transform: translateY(110%); }
}

/* ---------- Pages légales ---------- */
.legal { padding-block: clamp(48px, 7vw, 96px); }
.legal__cadre { width: min(100% - 2 * var(--gouttiere), 760px); margin-inline: auto; }
.legal h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); font-weight: 800; }
.legal h2 { font-size: 1.45rem; margin-top: 2em; margin-bottom: .5em; }
.legal p, .legal ul { margin: 0 0 1em; }
.legal ul { padding-left: 1.2em; }
.legal__date { color: var(--gris); margin-top: .6em; }
.legal__intro { font-size: 1.12rem; margin-top: 1.4em; }
.legal__bref { margin-top: 2em; padding: 22px 26px; background: var(--sable); border-left: 5px solid var(--jaune); }
.legal__bref h2 { margin-top: 0; }
.legal__bref ul { margin-bottom: 0; }
.legal__coord { list-style: none; padding-left: 0 !important; }
.legal a { text-decoration-color: var(--jaune-2); text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }
