/* Site public France Fluide, charte v2 (13/10/2026, docs/CONTEXTE.md).
   Grandes images, typographie affirmée, beaucoup de blanc. Marine et nuit
   pour les fonds sombres, rouge réservé au bouton « Nous consulter » et à
   l'alerte gaz. Mouvements discrets : images qui se dévoilent et blocs qui
   montent au défilement, rien de décoratif ; tout s'arrête avec « réduire
   les animations ». Ni surtitres en capitales, ni grilles d'icônes, ni étapes
   numérotées, ni dégradés de couleur, ni cartes à ombre.
   Police servie par le site (Archivo, variable en graisse et en largeur) :
   aucune donnée de visiteur envoyée à un tiers. */
@font-face {
  font-family: "Archivo";
  src: url("/assets/polices/archivo-latin-wdth-normal.woff2") format("woff2-variations"), url("/assets/polices/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
:root {
  --nuit: #0d1330;
  --marine: #1f2a6e;
  --bleu: #2b3f8f;
  --encre: #10163a;
  --texte: #2a3046;
  --gris: #5c6378;
  --filet: #e2e5ec;
  --filet-sombre: rgba(212, 214, 232, 0.16);
  --papier: #f4f5f8;
  --lavande: #d4d6e8;
  --rouge: #d3222e;
  --rouge-fonce: #b31b26;
  --ok: #1f7a55;
  --rayon: 2px;
  --entete: 84px;
  --gouttiere: clamp(20px, 4vw, 56px);
  --doux: cubic-bezier(0.22, 0.68, 0.16, 1);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  font-stretch: 100%;
  color: var(--texte);
  line-height: 1.6;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; background: #fff; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
/* Pied de page en bas de l'écran même sur une page courte. */
body:has(> .foot) { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body:has(> .foot) > main { flex: 1 0 auto; }
img { max-width: 100%; display: block; }
/* <picture> (image propre aux téléphones) : l'image s'affiche comme si elle était seule. */
picture { display: contents; }
a { color: var(--bleu); text-underline-offset: 3px; }
h1, h2, h3 { color: var(--encre); font-weight: 600; font-stretch: 108%; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.35rem + 4.3vw, 5.1rem); line-height: 1.02; letter-spacing: -0.032em; }
h2 { font-size: clamp(2rem, 1.3rem + 2.5vw, 3.35rem); line-height: 1.04; letter-spacing: -0.028em; }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem); line-height: 1.22; letter-spacing: -0.012em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gouttiere); }
.narrow { max-width: 820px; }
.muted { color: var(--gris); }
.small { font-size: 0.9rem; }
.todo { background: #fff3cd; color: #7a5b00; padding: 0 6px; border-radius: 2px; font-size: 0.9em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 60; }
:focus-visible { outline: 2px solid var(--bleu); outline-offset: 3px; }
svg { flex: none; }
.lead { font-size: clamp(1.06rem, 0.98rem + 0.3vw, 1.22rem); line-height: 1.55; color: var(--gris); max-width: 38em; margin-bottom: 0; }

/* ── En-tête ─────────────────────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--filet); transition: background-color 0.45s var(--doux), border-color 0.45s var(--doux); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.logo { position: relative; display: inline-flex; align-items: center; text-decoration: none; margin: 0; line-height: 0; }
/* Logo en relief de la carte de visite : 58 px de haut sur ordinateur, 52 px sur mobile. */
.logo-img { display: block; width: auto; height: 58px; }
.top nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.top nav a:not(.btn) { position: relative; display: inline-block; padding: 10px 14px; color: var(--encre); text-decoration: none; font-weight: 500; font-size: 0.98rem; transition: color 0.3s; }
.top nav a:not(.btn)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--doux); }
.top nav a:not(.btn):hover::after, .top nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-commande { margin-left: 14px; }
.menu-btn { display: none; }
/* Sur une grande image : en-tête transparent jusqu'au défilement (le logo en relief reste lisible sur l'image). */
.sur-image .top:not(.defile):not(:has(#menu.open)) { background: transparent; border-bottom-color: rgba(255, 255, 255, 0.14); }
.sur-image .top:not(.defile):not(:has(#menu.open)) nav a:not(.btn), .sur-image .top:not(.defile):not(:has(#menu.open)) .menu-btn { color: #fff; }
.sur-image main > :first-child { margin-top: -85px; }

/* ── Boutons et liens ────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 13px 26px; background: var(--encre); color: #fff !important; border: 1px solid transparent; border-radius: var(--rayon); text-decoration: none; cursor: pointer; font-family: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2; text-align: center; white-space: nowrap; transition: background-color 0.35s var(--doux), border-color 0.35s var(--doux), color 0.35s var(--doux); }
.btn:hover { background: var(--marine); }
.btn svg { width: 18px; height: 18px; }
.fl { display: inline-flex; transition: transform 0.45s var(--doux); }
.btn:hover .fl, .lien-fleche:hover .fl { transform: translateX(5px); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 0.95rem; gap: 10px; }
.btn-grand { min-height: 56px; padding: 15px 30px; font-size: 1.04rem; }
/* Action principale (« Nous consulter ») : le seul bouton rouge. */
.btn-devis { background: var(--rouge); }
.btn-devis:hover { background: var(--rouge-fonce); }
/* Bouton au trait, pour les fonds sombres. */
.btn-clair { background: transparent; border-color: rgba(255, 255, 255, 0.4); }
.btn-clair:hover { background: #fff; border-color: #fff; color: var(--encre) !important; }
.btn:disabled, .btn:disabled:hover { cursor: not-allowed; background: #c9d0dd; border-color: #c9d0dd; color: #55607a !important; }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; font-weight: 600; color: var(--bleu); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size 0.5s var(--doux); }
.lien-fleche:hover { background-size: 100% 1.5px; }
.lien-fleche svg { width: 17px; height: 17px; }
.lien-clair { color: #fff; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin: 34px 0 0; }

/* ── Sections ────────────────────────────────────────────────────────────── */
.section { padding: clamp(64px, 7.5vw, 116px) 0; }
.section.papier { background: var(--papier); }
.section.sombre { background: var(--nuit); color: var(--lavande); }
.sombre h2, .sombre h3 { color: #fff; }
/* En-tête de section : le titre à gauche, le chapeau à droite, alignés en bas. */
.entete { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 20px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 64px); }
.entete h2 { grid-column: 1 / span 7; margin: 0; }
.entete-cote { grid-column: 9 / -1; }
.entete-cote p { margin: 0; color: var(--gris); max-width: 30em; }
.entete-cote p + .lien-fleche { margin-top: 14px; }
.check { list-style: none; padding: 0; margin: 0 0 1.4em; }
.check li { position: relative; padding: 9px 0 9px 26px; border-top: 1px solid var(--filet); }
.check li:last-child { border-bottom: 1px solid var(--filet); }
.check li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 10px; height: 1.5px; background: var(--rouge); }
.check-2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.check-2 li:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--filet); }

/* Images : cadrées, elles se dévoilent au défilement (site.js). */
.media { position: relative; margin: 0; overflow: hidden; background: #dfe3ec; }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* ── Accueil : haut de page ──────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: max(660px, min(100svh, 1000px)); overflow: hidden; background: var(--nuit); color: #fff; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; transform-origin: 62% 35%; animation: approche 3.2s var(--doux) both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 19, 48, 0.5) 0, rgba(13, 19, 48, 0) 20%),
    linear-gradient(0deg, rgba(13, 19, 48, 0.94) 0, rgba(13, 19, 48, 0.78) 26%, rgba(13, 19, 48, 0.2) 58%, rgba(13, 19, 48, 0) 74%),
    linear-gradient(90deg, rgba(13, 19, 48, 0.5) 0, rgba(13, 19, 48, 0) 60%); }
.hero-in { padding-top: calc(var(--entete) + 96px); padding-bottom: clamp(36px, 4.5vw, 60px); }
.hero h1 { color: #fff; max-width: 12.5em; margin-bottom: 26px; font-size: clamp(2.6rem, 1.3rem + 4.6vw, 5.5rem); animation: monte 1.2s 0.15s var(--doux) both; }
.hero .lead { color: rgba(255, 255, 255, 0.84); max-width: 37em; animation: monte 1.2s 0.32s var(--doux) both; }
.hero .actions { animation: monte 1.2s 0.48s var(--doux) both; }
.hero-pied { width: 100%; animation: monte 1.2s 0.66s var(--doux) both; }
.hero-faits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.hero-faits li { padding: 22px 28px 30px 0; color: rgba(212, 214, 232, 0.82); font-size: 0.94rem; line-height: 1.45; }
.hero-faits li + li { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.hero-faits b { display: block; margin-bottom: 4px; color: #fff; font-weight: 600; font-size: 1.02rem; font-stretch: 106%; }
@keyframes approche { from { transform: scale(1.09); } to { transform: none; } }
@keyframes monte { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes fondu { from { opacity: 0; } to { opacity: 1; } }

/* Avis clients (config/preuves.mjs) */
.preuves { padding: 22px 0; background: var(--papier); border-bottom: 1px solid var(--filet); }
.preuves ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; list-style: none; margin: 0; padding: 0; font-weight: 600; color: var(--encre); }

/* Présentation : une phrase en grand, les faits à côté. */
.intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; align-items: center; }
.intro-texte { grid-column: 1 / span 8; margin: 0; color: var(--encre); font-size: clamp(1.5rem, 1.02rem + 1.45vw, 2.45rem); line-height: 1.24; font-weight: 500; font-stretch: 104%; letter-spacing: -0.018em; text-wrap: pretty; }
.intro-texte span { color: #8a90a3; }
.intro-texte .mot { transition: color 0.45s var(--doux); }
.intro-texte .mot.lu { color: var(--encre); }
.intro-texte p { margin: 0 0 0.6em; }
.intro-texte p:last-child { margin: 0; }
.intro-cote { grid-column: 9 / -1; }
.faits { margin: 0 0 26px; }
.faits div { position: relative; display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--filet); transition: padding-left 0.45s var(--doux); }
/* Survol d'une ligne de la fiche : un trait rouge parcourt le filet, la ligne s'avance. */
.faits div::before { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 1.5px; background: var(--rouge); transition: width 0.55s var(--doux); }
.faits div:hover { padding-left: 8px; }
.faits div:hover::before { width: 100%; }
.faits div:last-child { border-bottom: 1px solid var(--filet); }
.faits dt { color: var(--gris); font-size: 0.88rem; }
.faits dd { margin: 0; color: var(--encre); font-weight: 600; line-height: 1.4; }

/* Deux façons de travailler : deux grandes images décalées. */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(28px, 4vw, 72px); align-items: start; }
.modes > .mode:nth-child(2) { margin-top: clamp(0px, 9vw, 140px); }
.mode-media { aspect-ratio: 5 / 4; margin-bottom: 30px; }
.mode-media img { transition: transform 1.4s var(--doux); }
.mode:hover .mode-media img { transform: scale(1.035); }
.mode h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.05rem); margin-bottom: 8px; }
.mode-pour { margin: 0 0 14px; color: var(--bleu); font-weight: 600; }
.mode p:last-child { margin: 0; max-width: 34em; }
.modes-texte { margin-bottom: 8px; }
.modes-texte > .mode:nth-child(2) { margin-top: 0; }
.modes-texte .mode { padding-top: 26px; border-top: 1px solid var(--encre); }

/* Nos lots : fond nuit, liste à droite, image collante à gauche. */
.lots-grille { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.lots-cote { grid-column: 1 / span 5; position: sticky; top: calc(var(--entete) + 48px); }
.lots-cote p { max-width: 26em; color: rgba(212, 214, 232, 0.8); }
.lots-media { aspect-ratio: 4 / 3; margin-top: 44px; background: #1a2148; }
.lots { grid-column: 7 / -1; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--filet-sombre); }
.lots li { border-bottom: 1px solid var(--filet-sombre); }
.lots a { display: grid; grid-template-columns: minmax(0, 1fr) 48px; gap: 10px 28px; align-items: center; padding: 34px 0; color: inherit; text-decoration: none; }
.lot-titre { color: #fff; font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.95rem); font-weight: 600; font-stretch: 106%; letter-spacing: -0.018em; line-height: 1.15; transition: transform 0.6s var(--doux); }
.lot-texte { grid-column: 1; color: rgba(212, 214, 232, 0.74); max-width: 36em; transition: color 0.4s; }
.lot-fleche { grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(212, 214, 232, 0.3); border-radius: 50%; color: #fff; transition: background-color 0.45s var(--doux), border-color 0.45s var(--doux), transform 0.45s var(--doux); }
.lot-fleche svg { width: 18px; height: 18px; }
.lots a:hover .lot-titre { transform: translateX(10px); }
.lots a:hover .lot-texte { color: var(--lavande); }
.lots a:hover .lot-fleche { background: var(--rouge); border-color: var(--rouge); transform: rotate(-45deg); }

/* Nos chantiers : image et texte en alternance. */
.rangee { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.rangee + .rangee { margin-top: clamp(72px, 9vw, 136px); }
.rangee-media { grid-column: 1 / span 7; aspect-ratio: 3 / 2; }
.rangee-media img { transition: transform 1.4s var(--doux); }
.rangee:hover .rangee-media img { transform: scale(1.035); }
.rangee-texte { grid-column: 9 / -1; }
.rangee.inverse .rangee-media { grid-column: 6 / -1; grid-row: 1; }
.rangee.inverse .rangee-texte { grid-column: 1 / span 4; grid-row: 1; }
.rangee-texte h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1.1; letter-spacing: -0.022em; }
.rangee-texte > p { color: var(--gris); }

/* ── Réalisations ────────────────────────────────────────────────────────── */
.reals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; }
.real { display: flex; flex-direction: column; min-width: 0; }
.real-visuel { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; margin: 0; padding: 0; border: 0; overflow: hidden; background: #dfe3ec; cursor: zoom-in; }
.real-visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--doux); }
.real:hover .real-visuel img { transform: scale(1.04); }
.real-nb, .real-note { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; background: rgba(13, 19, 48, 0.82); color: #fff; border-radius: var(--rayon); font-size: 0.84rem; font-weight: 600; }
.real-nb svg, .real-note svg { width: 15px; height: 15px; }
.real-corps { padding: 22px 0 0; }
.real-corps h3 { margin-bottom: 8px; }
.real-corps .muted { font-size: 0.95rem; }
.real-cat { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 0.9rem; font-weight: 600; color: var(--bleu); }
.real-exemple { color: var(--gris); border: 1px solid #cdd2dd; padding: 1px 8px; border-radius: 20px; font-size: 0.78rem; font-weight: 500; }
.real-lieu { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--encre); margin-bottom: 6px; }
.real-lieu svg { width: 16px; height: 16px; color: var(--gris); }
/* Toute la carte mène à la fiche du chantier (lien du titre étendu). */
.real { position: relative; }
.real-lien { color: inherit; text-decoration: none; }
.real-lien::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.real-lien:focus-visible { outline: none; }
.real:has(.real-lien:focus-visible) { outline: 2px solid var(--bleu); outline-offset: 4px; }
.real-visuel { cursor: pointer; }
.real-voir { margin-top: 12px; }
.real:hover .real-voir { background-size: 100% 1.5px; }
.real:hover .real-voir .fl { transform: translateX(5px); }
/* Fiche d'un chantier : le texte à gauche, les faits clés à droite, les photos dessous. */
.fiche-chantier { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: start; }
.fiche-texte { grid-column: 1 / span 7; }
.fiche-texte > p:not(.real-cat) { font-size: 1.08rem; max-width: 40em; }
.fiche-texte h3 { margin-top: 1.6em; }
.fiche-cote { grid-column: 9 / -1; position: sticky; top: calc(var(--entete) + 32px); }
.fiche-cote .btn { width: 100%; }
.fiche-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(48px, 6vw, 80px); }
.fiche-photos .real-visuel { cursor: zoom-in; }
/* Emplacement : une illustration en attendant la photo du chantier. */
.plan { cursor: default; }
.real .plan { cursor: pointer; }
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filtre { font: inherit; font-size: 0.94rem; font-weight: 500; padding: 9px 16px; border: 1px solid #c9cfdc; border-radius: 40px; background: transparent; color: var(--texte); cursor: pointer; transition: background-color 0.3s, border-color 0.3s, color 0.3s; }
.filtre:hover { border-color: var(--encre); }
.filtre[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: #fff; }
.real.cache { display: none; }
.vide { max-width: 560px; margin: 0 auto; text-align: center; }
.vide > svg { width: 44px; height: 44px; color: var(--gris); margin: 0 auto 12px; }

/* Visionneuse de photos */
.visionneuse { width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.visionneuse[open] { animation: fondu 0.35s var(--doux); }
.visionneuse::backdrop { background: rgba(10, 14, 36, 0.92); }
.visionneuse figure { margin: 0; }
.visionneuse img { width: 100%; max-height: 80vh; object-fit: contain; background: #0a0e24; }
.visionneuse figcaption { color: #fff; padding: 12px 4px; }
.visionneuse button { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; color: var(--encre); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.v-prec { left: -23px; top: 40%; }
.v-suiv { right: -23px; top: 40%; }
.v-fermer { right: -12px; top: -16px; }

/* ── Zone et cartes ──────────────────────────────────────────────────────── */
.zone { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; align-items: center; }
.zone-texte { grid-column: 1 / span 4; }
.cartes { grid-column: 6 / -1; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 20px clamp(20px, 3vw, 48px); align-items: center; margin: 0; }
.carte svg { display: block; width: 100%; height: auto; overflow: visible; }
.carte-france path { fill: #e3e7ef; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
.carte-france path.idf { fill: var(--rouge); }
.carte-idf .dep path { stroke: #fff; stroke-width: 2.5; stroke-linejoin: round; transition: fill 0.4s; }
.carte-idf .dep text { font: 600 22px "Archivo", sans-serif; pointer-events: none; }
.dep-principal path { fill: var(--marine); }
.dep-principal text { fill: #fff; }
.dep-chantier path { fill: #5565ad; }
.dep-chantier text { fill: #fff; }
.dep-autre path { fill: #e3e7ef; }
.dep-autre text { fill: var(--gris); }
.carte-idf .dep:hover path { fill: var(--bleu); }
.cartes figcaption { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.88rem; color: var(--gris); }
.cartes figcaption span { display: inline-flex; align-items: center; gap: 8px; }
.cle { display: inline-block; width: 12px; height: 12px; border-radius: 2px; }
.cle-principal { background: var(--marine); }
.cle-chantier { background: #5565ad; }
.cle-france { background: #e3e7ef; }
.zones { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.zones li { padding: 10px 0; border-top: 1px solid var(--filet); color: var(--texte); font-size: 0.97rem; }
.zones .zone-france { color: var(--encre); font-weight: 600; }
.deps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; }
.deps li { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-top: 1px solid var(--filet); }
.deps li:last-child { border-bottom: 1px solid var(--filet); }
.deps b { font-weight: 600; color: var(--gris); min-width: 1.6em; font-variant-numeric: tabular-nums; }
.alerte-gaz { margin: 1.6em 0 0; padding: 4px 0 4px 18px; border-left: 2px solid var(--rouge); color: var(--gris); font-size: 0.94rem; line-height: 1.55; }
.alerte-gaz strong { color: var(--encre); }
.alerte-gaz a { color: var(--rouge); font-weight: 600; white-space: nowrap; }

/* ── Appel final ─────────────────────────────────────────────────────────── */
.cta-final { position: relative; isolation: isolate; overflow: hidden; background: var(--nuit); color: var(--lavande); padding: clamp(96px, 12vw, 176px) 0; }
.cta-media { position: absolute; inset: 0; z-index: -2; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }
.cta-final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 19, 48, 0.96) 0, rgba(13, 19, 48, 0.82) 45%, rgba(13, 19, 48, 0.55) 100%); }
.cta-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px; align-items: end; }
.cta-final h2 { grid-column: 1 / span 7; margin: 0; color: #fff; font-size: clamp(2.3rem, 1.4rem + 3.2vw, 4.4rem); }
.cta-cote { grid-column: 9 / -1; }
.cta-cote p { margin: 0; max-width: 28em; color: rgba(212, 214, 232, 0.86); }
.cta-cote .actions { margin-top: 28px; }

/* ── Pages intérieures ───────────────────────────────────────────────────── */
.tete-image { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(440px, 66vh, 660px); overflow: hidden; background: var(--nuit); color: #fff; }
.tete-media { position: absolute; inset: 0; z-index: -2; }
.tete-media img { width: 100%; height: 100%; object-fit: cover; animation: approche 3s var(--doux) both; }
.tete-image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 19, 48, 0.6) 0, rgba(13, 19, 48, 0.25) 28%, rgba(13, 19, 48, 0.55) 52%, rgba(13, 19, 48, 0.94) 100%), linear-gradient(90deg, rgba(13, 19, 48, 0.5) 0, rgba(13, 19, 48, 0) 62%); }
.tete-image .wrap { width: 100%; padding-top: calc(var(--entete) + 80px); padding-bottom: clamp(44px, 5.5vw, 76px); }
.tete-image h1 { color: #fff; max-width: 13em; margin-bottom: 18px; font-size: clamp(2.5rem, 1.4rem + 3.7vw, 4.6rem); animation: monte 1.1s 0.15s var(--doux) both; }
.tete-image .lead { color: rgba(255, 255, 255, 0.84); animation: monte 1.1s 0.3s var(--doux) both; }
.tete-image .fil { animation: fondu 1s 0.1s var(--doux) both; }
.fil { display: flex; gap: 10px; margin-bottom: 22px; font-size: 0.9rem; color: var(--gris); }
.fil a { color: inherit; text-decoration: none; }
.fil a:hover { text-decoration: underline; }
.tete-image .fil { color: rgba(255, 255, 255, 0.72); }
.page-head { padding: clamp(56px, 7vw, 104px) 0 clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--filet); }
.page-head h1 { margin-bottom: 14px; font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem); }
.page-head .muted { margin: 0; }
.page-404 { padding-bottom: clamp(80px, 10vw, 140px); border: 0; }
.prose { font-size: 1rem; }
.prose h2 { font-size: 1.32rem; letter-spacing: -0.012em; margin-top: 2em; }
/* Pages juridiques : le titre suit la même colonne que le texte. */
.page-head:has(+ .section .prose) .wrap { max-width: 820px; }
.page-head + .section:has(> .prose) { padding-top: 48px; }
.prose > :first-child { margin-top: 0; }

/* Page Services */
.sommaire { position: sticky; top: 85px; z-index: 30; background: #fff; border-bottom: 1px solid var(--filet); }
.sommaire ul { position: relative; display: flex; gap: 2px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.sommaire ul::-webkit-scrollbar { display: none; }
.sommaire a { display: inline-block; padding: 8px 12px; white-space: nowrap; color: var(--gris); text-decoration: none; font-size: 0.92rem; font-weight: 500; border-radius: 40px; transition: background-color 0.3s, color 0.3s; }
.sommaire a:hover, .sommaire a.actif { color: var(--encre); background: var(--papier); }
.service-ligne { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 16px; padding: 40px 0 72px; border-top: 1px solid var(--filet); scroll-margin-top: 160px; }
.service-ligne:first-child { border-top-color: var(--encre); }
.service-ligne:last-child { padding-bottom: 0; }
.service-ligne > :first-child { grid-column: 1 / span 4; }
.service-ligne > :last-child { grid-column: 6 / -1; }
.service-ligne h2 { margin: 0; font-size: clamp(1.75rem, 1.25rem + 1.6vw, 2.6rem); }
.service-famille { margin: 0 0 10px; color: var(--bleu); font-weight: 600; font-size: 0.94rem; }
.service-ligne .lead { color: var(--texte); margin-bottom: 26px; }
.bandeau { aspect-ratio: 21 / 8; margin: 0 0 72px; }

/* Contact */
.section-contact { padding-top: clamp(56px, 6vw, 96px); }
.split-contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; align-items: start; }
.split-contact > form { grid-column: 1 / span 7; }
.contact-cote { grid-column: 9 / -1; }
.card { background: #fff; border: 1px solid var(--filet); border-radius: var(--rayon); padding: 28px; }
.form-titre { font-size: 1.6rem; margin-bottom: 6px; }
.form label { display: block; font-weight: 600; color: var(--encre); margin-bottom: 16px; font-size: 0.94rem; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 7px; font: inherit; font-weight: 400; color: var(--texte); padding: 13px 14px; border: 1px solid #c6ccd9; border-radius: var(--rayon); background: #fff; transition: border-color 0.25s, box-shadow 0.25s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--encre); outline: none; box-shadow: 0 0 0 3px rgba(31, 42, 110, 0.12); }
.form .btn { width: 100%; }
.card.form { padding: clamp(24px, 3.5vw, 44px); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute !important; left: -9999px; }
.form-msg { margin: 12px 0 0; font-weight: 600; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: #b42318; }
.contact-carte { padding: 0 0 30px; margin-bottom: 34px; border-bottom: 1px solid var(--filet); }
.contact-carte h2 { font-size: 1.5rem; margin-bottom: 12px; }
.contact-ligne { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 1.08rem; }
.contact-ligne svg { width: 20px; height: 20px; color: var(--gris); }
.contact-cote h3 { font-size: 1.1rem; margin-bottom: 12px; }

/* ── Pied de page ────────────────────────────────────────────────────────── */
.foot { background: var(--nuit); color: rgba(212, 214, 232, 0.72); padding: clamp(64px, 7vw, 104px) 0 28px; font-size: 0.95rem; border-top: 1px solid rgba(212, 214, 232, 0.08); }
.foot a { color: rgba(255, 255, 255, 0.86); text-decoration: none; }
.foot a:not(.btn):hover { color: #fff; text-decoration: underline; }
.foot .logo { margin-bottom: 22px; }
.foot .logo-img { height: 64px; }
.foot-marque p { max-width: 24em; }
.foot-marque .btn { margin-top: 10px; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-titre { margin: 0 0 14px; font-weight: 600; color: #fff; }
.foot-liens { list-style: none; margin: 0 0 26px; padding: 0; }
.foot-liens li { margin-bottom: 8px; }
.legal-line { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(212, 214, 232, 0.12); font-size: 0.85rem; }
.legal-line .credit { opacity: 0.85; }
.legal-line .credit a { color: rgba(255, 255, 255, 0.9); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 3px; transition: color 0.3s, text-decoration-color 0.3s; }
.legal-line .credit a:hover { color: #fff; text-decoration-color: currentColor; }

/* Barre d'appel sur mobile */
.barre-mobile { display: none; }
/* Points sous les carrousels : seulement sur téléphone (voir plus bas). */
.points { display: none; }

/* ── Apparition au défilement (site.js : classe « attente » retirée à l'écran) ── */
.js-anim [data-anime] { transition: opacity 1.1s var(--doux), transform 1.2s var(--doux); transition-delay: var(--delai, 0ms); }
.js-anim [data-anime].attente { opacity: 0; transform: translateY(36px); }
.js-anim .media[data-anime] { transition: clip-path 1.5s var(--doux); transition-delay: var(--delai, 0ms); }
.js-anim .media[data-anime].attente { opacity: 1; transform: none; clip-path: inset(22% 0 0 0); }
.js-anim .media[data-anime] img { transition: transform 2s var(--doux); }
.js-anim .media[data-anime].attente img { transform: scale(1.14); }
/* Images du haut de page : léger effet de profondeur au défilement. */
@supports (animation-timeline: scroll()) {
  .hero-media, .tete-media { animation: profondeur linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  @keyframes profondeur { to { transform: translateY(16%); } }
}

@media (max-width: 1100px) {
  .top nav a:not(.btn) { padding: 10px 10px; font-size: 0.95rem; }
  .top nav a:not(.btn)::after { left: 10px; right: 10px; }
  .entete h2 { grid-column: 1 / span 8; }
}
@media (max-width: 900px) {
  :root { --entete: 68px; }
  html { scroll-padding-top: 92px; }
  .top-in { min-height: 68px; }
  .sur-image main > :first-child { margin-top: -69px; }
  .logo-img { height: 52px; }
  .menu-btn { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; font: inherit; font-weight: 600; color: var(--encre); background: none; border: 0; padding: 10px 0 10px 10px; cursor: pointer; }
  .menu-barres, .menu-barres::before, .menu-barres::after { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform 0.4s var(--doux), background-color 0.2s; }
  .menu-barres { position: relative; }
  .menu-barres::before, .menu-barres::after { content: ""; position: absolute; left: 0; }
  .menu-barres::before { top: -7px; }
  .menu-barres::after { top: 7px; }
  .menu-btn[aria-expanded="true"] .menu-barres { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-barres::before { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-barres::after { transform: translateY(-7px) rotate(-45deg); }
  /* Menu plein écran */
  .top nav ul { position: fixed; left: 0; right: 0; top: 68px; bottom: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 18px var(--gouttiere) 32px; background: #fff; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity 0.4s var(--doux), transform 0.5s var(--doux), visibility 0s 0.5s; }
  .top nav ul.open { visibility: visible; opacity: 1; transform: none; transition: opacity 0.4s var(--doux), transform 0.5s var(--doux), visibility 0s; }
  /* Les rubriques arrivent l'une après l'autre à l'ouverture du menu. */
  .top nav ul.open > li { animation: monte 0.7s var(--doux) both; }
  .top nav ul.open > li:nth-child(2) { animation-delay: 50ms; }
  .top nav ul.open > li:nth-child(3) { animation-delay: 100ms; }
  .top nav ul.open > li:nth-child(4) { animation-delay: 150ms; }
  .top nav ul.open > li:nth-child(5) { animation-delay: 200ms; }
  .top nav ul.open > li:nth-child(6) { animation-delay: 260ms; }
  .top nav li:not(.nav-commande) a { display: block; padding: 16px 0; border-bottom: 1px solid var(--filet); font-size: 1.6rem; font-weight: 600; font-stretch: 106%; letter-spacing: -0.02em; color: var(--encre) !important; }
  .top nav li:not(.nav-commande) a::after { display: none; }
  .top nav a[aria-current="page"] { color: var(--rouge) !important; }
  .nav-commande { margin: 28px 0 0; }
  .nav-commande .btn { width: 100%; min-height: 54px; font-size: 1.05rem; }
  .sommaire { top: 69px; }
  .entete { grid-template-columns: 1fr; }
  .entete h2, .entete-cote { grid-column: 1; }
  .hero { min-height: max(600px, min(100svh, 860px)); }
  .hero-in { padding-top: calc(var(--entete) + 72px); }
  .hero-faits { grid-template-columns: 1fr; }
  .hero-faits li, .hero-faits li + li { padding: 14px 0; border-left: 0; }
  .hero-faits li + li { border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .hero-faits li:not(:first-child) { display: none; }
  .intro, .zone, .lots-grille, .rangee, .cta-in, .split-contact { grid-template-columns: 1fr; }
  .intro > *, .zone > *, .lots-grille > *, .rangee > *, .rangee.inverse > *, .cta-in > *, .split-contact > *, .intro-cote, .contact-cote { grid-column: 1 !important; grid-row: auto !important; }
  .intro { row-gap: 36px; }
  .modes { grid-template-columns: 1fr; gap: 56px; }
  .modes > .mode:nth-child(2) { margin-top: 0; }
  .lots-cote { position: static; }
  .lots-media { margin: 32px 0 40px; }
  .rangee { row-gap: 28px; }
  .cartes { grid-template-columns: 1fr 1fr; }
  .reals { grid-template-columns: 1fr 1fr; }
  .service-ligne { grid-template-columns: 1fr; padding: 28px 0 52px; }
  .fiche-chantier { grid-template-columns: 1fr; }
  .fiche-texte, .fiche-cote { grid-column: 1; }
  .fiche-cote { position: static; }
  .fiche-photos { grid-template-columns: 1fr 1fr; }
  .service-ligne > :first-child, .service-ligne > :last-child { grid-column: 1; }
  .bandeau { aspect-ratio: 16 / 9; margin-bottom: 52px; }
  .tete-image { min-height: clamp(420px, 70svh, 600px); }
  .foot { padding-bottom: 104px; }
  .foot-in { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
  .foot-in > :first-child { grid-column: 1 / -1; margin-bottom: 20px; }
  .foot-in > :nth-child(2) { display: none; }
  .barre-mobile { position: fixed; z-index: 35; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--filet); transform: translateY(110%); transition: transform 0.45s var(--doux); }
  .barre-mobile.visible { transform: none; }
  .barre-mobile .btn { min-height: 48px; padding: 8px 10px; }
  .v-prec { left: 6px; } .v-suiv { right: 6px; } .v-fermer { right: 6px; top: 6px; }
  /* Aperçu des réalisations : défilement horizontal plutôt qu'une longue colonne */
  .reals-3 { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(82%, 360px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gouttiere); margin-inline: calc(-1 * var(--gouttiere)); padding: 0 var(--gouttiere) 8px; scrollbar-width: none; }
  .reals-3::-webkit-scrollbar { display: none; }
  .reals-3 > .real { scroll-snap-align: start; }
}
/* Tablette (601 à 900 px) : on garde les mises en page côte à côte de l'ordinateur,
   plutôt qu'une longue colonne d'images moyennes. */
@media (min-width: 601px) and (max-width: 900px) {
  .hero-faits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-faits li, .hero-faits li + li { padding: 18px 18px 24px 0; border-top: 0; }
  .hero-faits li + li { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
  .hero-faits li:not(:first-child) { display: block; }
  .intro .faits { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .intro .faits div:nth-last-child(2) { border-bottom: 1px solid var(--filet); }
  .modes { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .modes > .mode:nth-child(2) { margin-top: 96px; }
  .mode-media { aspect-ratio: 4 / 5; }
  .lots-media { aspect-ratio: 16 / 9; }
  .rangee { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 28px; }
  .rangee > .rangee-media { grid-column: 1 / span 7 !important; grid-row: 1 !important; aspect-ratio: 4 / 5; }
  .rangee > .rangee-texte { grid-column: 8 / -1 !important; grid-row: 1 !important; }
  .rangee.inverse > .rangee-media { grid-column: 6 / -1 !important; }
  .rangee.inverse > .rangee-texte { grid-column: 1 / span 5 !important; }
  .reals-3 { grid-auto-columns: 44%; }
  .foot-in { grid-template-columns: 1.4fr 1fr 1fr; }
  .foot-in > :first-child { grid-column: auto; margin-bottom: 0; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .actions { gap: 14px 22px; }
  .actions .btn { flex: 1 1 100%; }
  .check-2 { grid-template-columns: 1fr; }
  /* Mobile : moins de vide entre les blocs, texte d'introduction à taille de lecture */
  .section { padding: 64px 0; }
  .entete { margin-bottom: 32px; }
  .rangee + .rangee { margin-top: 64px; }
  .modes { gap: 44px; }
  .intro-texte { font-size: 1.3rem; line-height: 1.34; }
  .zones { column-gap: 18px; }
  .zones li { font-size: 0.92rem; }
  /* Téléphone : grandes images d'un bord à l'autre, comme sur ordinateur. */
  .mode-media, .lots-media, .rangee-media, .bandeau { margin-left: calc(-1 * var(--gouttiere)); margin-right: calc(-1 * var(--gouttiere)); }
  .mode-media { aspect-ratio: 4 / 5; margin-bottom: 24px; }
  .lots-media { aspect-ratio: 4 / 3; margin-top: 28px; }
  .rangee-media { aspect-ratio: 4 / 3; }
  h2 { font-size: 2.25rem; }
  .cta-final h2 { font-size: 2.3rem; }
  .cartes { grid-template-columns: 0.8fr 1.2fr; gap: 16px; }
  .carte-pays { max-width: none; }
  .card.form { padding: 0; border: 0; }
  .check-2 li:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
  .reals:not(.reals-3) { grid-template-columns: 1fr; }
  .lots a { grid-template-columns: minmax(0, 1fr) 40px; padding: 26px 0; gap: 8px 18px; }
  .lot-fleche { width: 40px; height: 40px; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .foot-in { grid-template-columns: 1fr; }

  /* Téléphone, typographie plus légère (Moussa, 13/10 : « sur mobile les
     textes sont trop gras ») : sur un petit écran, les graisses de
     l'ordinateur pèsent trop. Titres et mots en avant passent de 600 à 500,
     le texte courant reste à 400, les titres sont un peu moins larges. */
  h1, h2, h3, .lot-titre { font-weight: 500; font-stretch: 104%; letter-spacing: -0.018em; }
  h2 { font-size: 1.95rem; line-height: 1.08; }
  .cta-final h2 { font-size: 2.05rem; }
  .tete-image h1, .page-head h1 { font-size: 2.3rem; line-height: 1.06; }
  .mode h3, .rangee-texte h3 { font-size: 1.45rem; }
  .service-ligne h2 { font-size: 1.7rem; }
  .lot-titre { font-size: 1.3rem; }
  .lien-fleche, .btn, .menu-btn, .hero-faits b, .faits dd, .mode-pour, .service-famille,
  .real-cat, .real-lieu, .real-nb, .real-note, .preuves ul, .zones .zone-france, .deps b,
  .alerte-gaz a, .form label, .form-msg, .foot-titre { font-weight: 500; }
  .top nav li:not(.nav-commande) a { font-weight: 500; font-stretch: 100%; }
  .hero-faits b { font-stretch: 100%; }
  .intro-texte { font-size: 1.16rem; line-height: 1.46; font-weight: 400; font-stretch: 100%; letter-spacing: -0.008em; }
  .lead, .tete-image .lead { font-size: 1rem; line-height: 1.6; }
  .btn-grand { min-height: 52px; padding: 13px 24px; font-size: 1rem; }
}
/* ── Téléphone : interface tactile (Moussa, 13/10 au soir : « je souhaite
   une interface plus moderne sur téléphone ») ──────────────────────────────
   Sous 600 px seulement : ordinateur et tablette ne changent pas. En-tête
   translucide, boutons en pilule, cartes aux coins arrondis, accueil en
   plein écran, modes d'intervention à faire glisser, lots en cartes qui
   s'empilent au défilement, pastilles pour les listes courtes et bouton
   « Nous consulter » flottant, qui s'efface quand l'appel final est là. */
@media (max-width: 600px) {
  :root { --rond: 24px; --rond-s: 16px; }
  .section { padding: 56px 0; }
  h2 { font-size: 2.1rem; line-height: 1.04; }
  .entete { margin-bottom: 28px; row-gap: 12px; }
  .entete-cote p { font-size: 1rem; }

  /* En-tête : verre dépoli (sur un pseudo-élément, pour que le menu plein
     écran reste fixé à la fenêtre) et menu en pilule. */
  .top { background: transparent; border-bottom-color: rgba(16, 22, 58, 0.07); }
  .top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, 0.88); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); transition: opacity 0.45s var(--doux); }
  .top:has(#menu.open)::before { background: #fff; }
  .sur-image .top:not(.defile):not(:has(#menu.open))::before { opacity: 0; }
  .logo-img { height: 44px; }
  .menu-btn { gap: 9px; min-height: 40px; padding: 0 16px 0 14px; border-radius: 999px; background: rgba(16, 22, 58, 0.06); font-size: 0.92rem; transition: background-color 0.3s, color 0.3s; }
  .sur-image .top:not(.defile):not(:has(#menu.open)) .menu-btn { background: rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .menu-barres, .menu-barres::before, .menu-barres::after { width: 16px; }
  .menu-barres::before { top: -5px; }
  .menu-barres::after { top: 5px; }
  .menu-btn[aria-expanded="true"] .menu-barres::before { transform: translateY(5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-barres::after { transform: translateY(-5px) rotate(-45deg); }
  .top nav li:not(.nav-commande) a { padding: 12px 0; border-bottom: 0; font-size: 2.1rem; }

  /* Boutons en pilule, liens fléchés en pastille, retour au toucher. */
  .btn { border-radius: 999px; transition: background-color 0.35s var(--doux), transform 0.25s var(--doux); }
  .lien-fleche { padding: 11px 18px; border-radius: 999px; background: var(--papier); transition: transform 0.25s var(--doux), background-color 0.3s; }
  .papier .lien-fleche { background: #fff; }
  .lien-clair { background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .btn:active, .lien-fleche:active, .lots a:active, .sommaire a:active { transform: scale(0.97); }

  /* Accueil : l'image plein écran, le titre et les deux boutons en bas, les
     faits en pastilles à faire défiler ; le texte d'accroche, repris juste
     en dessous, n'est pas répété sur un si petit écran. Le voile reste nuit
     tout en bas et presque neutre au-dessus, pour ne pas teinter la photo. */
  .hero { min-height: 100svh; border-radius: 0 0 var(--rond) var(--rond); }
  .hero::before { background:
      linear-gradient(180deg, rgba(10, 12, 22, 0.5) 0, rgba(10, 12, 22, 0) 20%),
      linear-gradient(0deg, rgba(13, 19, 48, 0.96) 0, rgba(11, 14, 30, 0.74) 26%, rgba(10, 12, 22, 0.18) 52%, rgba(10, 12, 22, 0) 66%); }
  .hero-in { padding-top: calc(var(--entete) + 40px); padding-bottom: 0; }
  .hero h1 { max-width: none; margin: 0; font-size: clamp(2.2rem, 10.4vw, 2.85rem); line-height: 1.02; }
  .hero .lead { display: none; }
  .hero .actions { flex-wrap: nowrap; gap: 10px; margin-top: 26px; }
  .hero .actions > * { flex: 1 1 0; justify-content: center; min-height: 52px; padding: 0 14px; }
  .hero .actions .fl { display: none; }
  .hero-pied { margin-top: 16px; padding-bottom: 24px; }
  .hero-faits { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(-1 * var(--gouttiere)); padding: 0 var(--gouttiere); border: 0; scrollbar-width: none; }
  .hero-faits::-webkit-scrollbar { display: none; }
  .hero-faits li, .hero-faits li + li, .hero-faits li:not(:first-child) { display: block; flex: none; padding: 0; border: 0; font-size: 0; }
  .hero-faits b { margin: 0; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; background: rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: 0.84rem; white-space: nowrap; }

  /* Présentation en grand, lue mot à mot ; la fiche en liste groupée. */
  .intro { row-gap: 32px; }
  .intro-texte { font-size: 1.42rem; line-height: 1.3; letter-spacing: -0.016em; }
  .faits { margin-bottom: 20px; padding: 2px 18px; border-radius: var(--rond); background: var(--papier); }
  .faits div, .faits div:last-child { padding: 14px 0; border-top: 0; border-bottom: 1px solid rgba(16, 22, 58, 0.08); }
  .faits div:last-child { border-bottom: 0; }
  .faits div::before { display: none; }
  .faits div:hover { padding-left: 0; }
  .faits dt { font-size: 0.82rem; }

  /* Images en cartes arrondies, dévoilées depuis le centre. */
  .media, .real-visuel { border-radius: var(--rond); }
  .mode-media, .lots-media, .rangee-media, .bandeau { margin-left: 0; margin-right: 0; }
  .js-anim .media[data-anime] { clip-path: inset(0 0 0 0 round var(--rond)); transition: clip-path 1.3s var(--doux); transition-delay: var(--delai, 0ms); }
  .js-anim .media[data-anime].attente { clip-path: inset(9% 8% 0 8% round 40px); }

  /* Modes d'intervention : deux cartes à faire glisser. */
  .modes { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gouttiere); margin: 0 calc(-1 * var(--gouttiere)); padding: 0 var(--gouttiere) 4px; scrollbar-width: none; }
  .modes::-webkit-scrollbar { display: none; }
  .mode { scroll-snap-align: start; overflow: hidden; border-radius: var(--rond); background: #fff; }
  .papier .mode { background: #fff; }
  .mode-media { aspect-ratio: 1; margin: 0 0 20px; border-radius: 0; }
  .js-anim .mode .media[data-anime], .js-anim .mode .media[data-anime].attente { clip-path: none; }
  .mode > :not(.mode-media) { margin-left: 20px; margin-right: 20px; }
  .mode > p:last-child { margin: 0 20px 24px; }
  .mode h3 { font-size: 1.5rem; }
  .modes-texte { display: grid; grid-auto-flow: row; overflow: visible; margin: 0; padding: 0; gap: 12px; }
  .modes-texte .mode { padding: 22px 0 2px; border-top: 0; }
  .points { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
  .points i { width: 6px; height: 6px; border-radius: 999px; background: rgba(16, 22, 58, 0.18); transition: width 0.4s var(--doux), background-color 0.4s; }
  .points i.actif { width: 22px; background: var(--encre); }

  /* Nos lots : des cartes qui s'empilent en haut de l'écran au défilement. */
  .lots-media { aspect-ratio: 4 / 3; margin: 28px 0 32px; }
  .lots { display: grid; gap: 14px; border-top: 0; }
  .lots li { position: sticky; top: calc(var(--entete) + 14px); border-bottom: 0; }
  .lots li:nth-child(2) { top: calc(var(--entete) + 24px); }
  .lots li:nth-child(3) { top: calc(var(--entete) + 34px); }
  .lots li:nth-child(4) { top: calc(var(--entete) + 44px); }
  .lots li:nth-child(5) { top: calc(var(--entete) + 54px); }
  .lots li:nth-child(n + 6) { top: calc(var(--entete) + 64px); }
  .lots a { grid-template-columns: minmax(0, 1fr) 44px; align-content: start; gap: 12px 16px; min-height: 200px; padding: 24px 22px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--rond); background: #182056; transition: transform 0.25s var(--doux); }
  .lots li:nth-child(2) a { background: #1c2560; }
  .lots li:nth-child(3) a { background: #212b69; }
  .lots li:nth-child(4) a { background: #263172; }
  .lots li:nth-child(n + 5) a { background: #2b367b; }
  .lot-titre { grid-column: 1; grid-row: 1; align-self: center; font-size: 1.4rem; }
  .lot-texte { grid-column: 1 / -1; }
  .lot-fleche { grid-column: 2; grid-row: 1; width: 44px; height: 44px; border-color: var(--rouge); background: var(--rouge); transform: rotate(-45deg); }
  .lots a:hover .lot-titre { transform: none; }

  /* Domaines : image arrondie, liste en pastilles. */
  .rangee + .rangee { margin-top: 56px; }
  .rangee { row-gap: 22px; }
  .rangee-media { aspect-ratio: 5 / 4; }
  .rangee-texte h3 { font-size: 1.6rem; }
  .check { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
  .check li, .check li:last-child, .check-2 li:nth-last-child(2):nth-child(odd) { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 0; border-radius: 999px; background: var(--papier); font-size: 0.9rem; line-height: 1.3; }
  .check li::before { position: static; flex: none; width: 6px; height: 6px; border-radius: 50%; }
  .papier .check li, .service-ligne .check li { background: #fff; }

  /* Zone : départements en pastilles, cartes dans un cadre, alerte gaz. */
  .zones, .deps { display: flex; flex-wrap: wrap; gap: 8px; }
  .zones li, .deps li, .deps li:last-child { padding: 9px 14px; border: 0; border-radius: 999px; background: var(--papier); font-size: 0.9rem; }
  .deps li { gap: 8px; }
  .deps b { min-width: 0; }
  .zones .zone-france { background: var(--nuit); color: #fff; }
  .alerte-gaz { padding: 16px 18px; border-left: 0; border-radius: var(--rond-s); background: #fcf0f1; color: var(--texte); }
  .cartes { padding: 18px; border-radius: var(--rond); background: var(--papier); }

  /* Appel final et pied de page : deux feuilles arrondies. */
  .cta-final { margin: 12px; padding: 72px 0 26px; border-radius: 28px; }
  .cta-final::before { background: linear-gradient(0deg, rgba(13, 19, 48, 0.96) 0, rgba(13, 19, 48, 0.74) 55%, rgba(13, 19, 48, 0.5) 100%); }
  .cta-final h2 { font-size: 2.3rem; }
  .cta-in { padding: 0 22px; }
  .cta-final .lien-fleche { flex: 1 1 100%; justify-content: center; min-height: 52px; }
  .cta-final .btn { min-height: 54px; }
  .foot { border-top: 0; border-radius: 28px 28px 0 0; }

  /* Bouton flottant. */
  .barre-mobile { left: 14px; right: 14px; bottom: calc(12px + env(safe-area-inset-bottom)); padding: 0; border: 0; background: none; transform: translateY(170%); }
  .barre-mobile .btn { min-height: 54px; font-size: 1rem; box-shadow: 0 14px 30px -10px rgba(211, 34, 46, 0.6); }
  .barre-mobile.visible.masquee { transform: translateY(170%); }

  /* Hauts des autres pages. */
  .tete-image { min-height: 64svh; border-radius: 0 0 var(--rond) var(--rond); }
  .tete-image .wrap { padding-bottom: 30px; }
  .tete-image h1 { font-size: 2.5rem; line-height: 1.04; }
  .fil { display: inline-flex; gap: 8px; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 0.8rem; }

  /* Services : sommaire en pastilles sur verre, lots en cartes. */
  .sommaire { background: rgba(255, 255, 255, 0.84); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 0; }
  .sommaire ul { gap: 6px; padding: 10px 0; }
  .sommaire a { padding: 8px 14px; background: var(--papier); color: var(--texte); transition: background-color 0.3s, color 0.3s, transform 0.25s var(--doux); }
  .sommaire a.actif { background: var(--nuit); color: #fff; }
  .service-ligne, .service-ligne:last-child { margin-bottom: 12px; padding: 24px 20px 6px; border: 0; border-radius: var(--rond); background: var(--papier); row-gap: 8px; }
  .service-ligne h2 { font-size: 1.65rem; }
  .service-ligne .lead { margin-bottom: 18px; font-size: 1rem; }
  .bandeau { margin: 12px 0 24px; aspect-ratio: 4 / 3; }

  /* Formulaire : champs pleins et arrondis, envoi en pilule. */
  .form input, .form select, .form textarea { padding: 15px 16px; border-color: transparent; border-radius: var(--rond-s); background: var(--papier); font-size: 1rem; }
  .form input:focus, .form select:focus, .form textarea:focus { border-color: var(--bleu); background: #fff; box-shadow: 0 0 0 4px rgba(43, 63, 143, 0.14); }
  .form .btn { width: 100%; }
  .contact-carte { margin-bottom: 28px; padding: 20px; border: 0; border-radius: var(--rond); background: var(--papier); }
  .vide { padding: 32px 22px; border-radius: var(--rond); background: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
