/* PROTECH EST — « Hors d'eau » : héros essai à l'eau + page « Typologies » (maquette v4)
   Béton clair, rouge oxyde (famille RAL 3009), anthracite (famille RAL 7016), acier. */

/* ---------- Polices auto-hébergées (RGPD : aucune requête vers Google Fonts) ----------
   Gloock 400 (titre du héros), Big Shoulders variable 700–900 avec axe opsz (titres), Barlow 400/500/600 (texte).
   Sous-ensembles latin-ext puis latin (le dernier déclaré l'emporte sur les plages communes).
   gloock-400-latin.woff2 est préchargé dans index.html. */
@font-face { font-family: "Gloock"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/gloock-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Gloock"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/gloock-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Big Shoulders"; font-style: normal; font-weight: 700 900; font-display: swap; src: url("../fonts/big-shoulders-var-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Big Shoulders"; font-style: normal; font-weight: 700 900; font-display: swap; src: url("../fonts/big-shoulders-var-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --beton: #EEEDE8;
  --beton-2: #E3E1DA;
  --oxyde: #A13A28;
  --oxyde-d: #8C2F1F;
  --oxyde-tint: #F6D5CB;
  --oxyde-pale: #FBEDE8;
  --anthracite: #30363C;
  --anthracite-d: #262B30;
  --acier: #98A1A9;
  --acier-l: #B9C0C6;
  --texte-2: #575F66;
  --paper: #FFFFFF;
  --rule: rgba(48, 54, 60, .2);
  --rule-strong: rgba(48, 54, 60, .38);

  --f-display: "Big Shoulders", "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-text: "Barlow", system-ui, sans-serif;

  --gut: clamp(16px, 2.8vw, 40px);
  --hdr: 72px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-print: 0 1px 1px rgba(48, 54, 60, .07), 0 12px 26px -16px rgba(48, 54, 60, .42);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--anthracite) var(--beton-2);
  scroll-padding-top: calc(var(--hdr) + 8px);
  scroll-padding-bottom: var(--cc-h, 0px); /* bandeau cookies affiché : le focus clavier ne passe pas dessous */
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--beton);
  color: var(--anthracite);
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--oxyde); color: #fff; }
.band ::selection, .methode ::selection, .consult__panel ::selection, .plate.is-active ::selection { background: var(--anthracite); color: #fff; }

img, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--oxyde); outline-offset: 3px; }
.band :focus-visible, .methode :focus-visible, .consult__panel :focus-visible,
.plate.is-active :focus-visible, .sec--anth :focus-visible, .ftr :focus-visible { outline-color: #fff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; stroke-linejoin: miter; }
.ico--play { fill: currentColor; stroke: none; }
.nowrap { white-space: nowrap; }
.token { font-family: var(--f-text); font-weight: 600; font-size: .92em; letter-spacing: .02em; background: rgba(48, 54, 60, .08); padding: 0 .3em; white-space: nowrap; }

.wrap { width: min(100%, 1360px); margin-inline: auto; }
.hdr, .mnav, .atlas, .ftr { padding-inline: var(--gut); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--anthracite); color: #fff; padding: 10px 14px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 20px;
  font: 600 .9375rem/1.1 var(--f-text); letter-spacing: .01em;
  text-decoration: none; border: 0; border-radius: 0; cursor: pointer;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.btn .ico--arrow { transition: transform .45s var(--ease-out); }
.btn:hover .ico--arrow { transform: translateX(4px); }
.btn--oxide { background: var(--oxyde); color: #fff; }
.btn--oxide:hover { background: var(--oxyde-d); }
.btn--paper { background: #fff; color: var(--oxyde); }
.btn--paper:hover { background: var(--oxyde-pale); }
.btn--line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.btn--line:hover { box-shadow: inset 0 0 0 2px #fff; }
.btn--lg { min-height: 56px; padding: 0 26px; font-size: 1rem; }

/* ---------- En-tête ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff; background: transparent;
  transition: background-color .45s var(--ease-out), color .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.hdr.is-solid, .hdr.menu-open { background: var(--beton); color: var(--anthracite); box-shadow: 0 1px 0 var(--rule), 0 10px 24px -20px rgba(48, 54, 60, .5); }
.hdr__in { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); height: var(--hdr); }
.brand { display: flex; align-items: baseline; gap: 14px; text-decoration: none; color: inherit; flex: none; }
.brand__name { font-family: var(--f-display); font-weight: 850; font-size: 1.875rem; line-height: 1; text-transform: uppercase; letter-spacing: .005em; }
.brand__trade { font-size: .8125rem; font-weight: 500; color: rgba(255, 255, 255, .82); letter-spacing: .02em; white-space: nowrap; }
.nav { display: flex; gap: clamp(18px, 2vw, 30px); margin-left: auto; }
.nav a { position: relative; font-weight: 500; font-size: .9375rem; text-decoration: none; padding: 8px 0; color: inherit; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.nav a:hover::after { transform: scaleX(1); }
.hdr__actions { display: flex; align-items: center; gap: 18px; }
.hdr__tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1rem; font-variant-numeric: tabular-nums; text-decoration: none; color: inherit; white-space: nowrap; }
.hdr__tel .ico { color: var(--cuivre-clair); }
.hdr__tel:hover span { text-decoration: underline; }
.menu-btn { display: none; min-height: 44px; padding: 0 14px; background: transparent; border: 1px solid rgba(255, 255, 255, .55); font: 600 .9375rem var(--f-text); color: inherit; cursor: pointer; }
.menu-btn[aria-expanded="true"] { background: var(--anthracite); color: #fff; border-color: var(--anthracite); }
/* en-tête plein : retour aux couleurs béton / anthracite / oxyde */
.hdr.is-solid .brand__trade, .hdr.menu-open .brand__trade { color: var(--texte-2); }
.hdr.is-solid .nav a::after { background: var(--oxyde); }
.hdr.is-solid .hdr__tel .ico, .hdr.menu-open .hdr__tel .ico { color: var(--oxyde); }
.hdr.is-solid .menu-btn, .hdr.menu-open .menu-btn { border-color: var(--rule-strong); }
.hdr:not(.is-solid):not(.menu-open) :focus-visible { outline-color: #fff; }
.mnav { border-top: 1px solid var(--rule); background: var(--beton); box-shadow: 0 18px 30px -24px rgba(48, 54, 60, .6); }
.mnav .wrap { display: flex; flex-direction: column; padding-block: 8px 18px; }
.mnav a { font: 700 1.75rem/1 var(--f-display); text-transform: uppercase; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.mnav a:last-child { color: var(--oxyde); border-bottom: 0; }

/* ---------- Bandeau rouge ---------- */
.band { background: var(--oxyde); color: #fff; padding: clamp(52px, 6vw, 76px) 40px clamp(48px, 5.4vw, 68px); }
.band__in {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 22px;
  align-items: end;
}
.band__title {
  grid-column: 1 / span 8; margin: 0;
  font-family: var(--f-display); font-weight: 850; text-transform: uppercase;
  font-size: clamp(3.1rem, 6.7vw, 6rem); line-height: .95; letter-spacing: -.004em;
}
.band__side { grid-column: 9 / -1; padding-bottom: 4px; }
.band__lede { margin: 0 0 20px; font-size: 1.0625rem; line-height: 1.5; color: var(--oxyde-pale); max-width: 48ch; }
.band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.band__tel { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 1.125rem; font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap; }
.band__tel:hover { text-decoration: underline; }

/* ---------- Atlas des typologies (le héros) ---------- */
.atlas { padding-block: 20px clamp(64px, 8vw, 104px); scroll-margin-top: var(--hdr); }
.atlas__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; margin-bottom: 16px; }
.atlas__title { margin: 0; font: 800 1.75rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.atlas__hint { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 500; color: var(--texte-2); }
.atlas__hint .ico { color: var(--oxyde); width: 18px; height: 18px; }

.atlas__grid {
  position: relative; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start;
}
.plate { position: relative; background: var(--paper); padding: 10px; box-shadow: var(--shadow-print); }
.plate__card { position: relative; }
.plate__btn {
  display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none;
  font: inherit; color: inherit; text-align: left; cursor: pointer;
}
.plate__btn:focus-visible { outline-offset: 6px; }
.plate__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.plate__media img, .plate__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plate__still { transform-origin: 50% 55%; transition: transform 1.4s var(--ease-out); }
.plate__btn:hover .plate__still, .plate__btn:focus-visible .plate__still { transform: scale(1.05); transition: transform 6s cubic-bezier(.12, .55, .25, 1); }
.plate__clip { opacity: 0; transform-origin: 50% 55%; }
.develop .plate__still { filter: brightness(2.2) contrast(.3) saturate(0) blur(2px); }

.plate__cap {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 12px; align-items: center;
  padding: 12px 2px 2px; transition: transform .5s var(--ease-out);
}
.plate__cap::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--oxyde);
  transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease-out);
}
.plate__btn:hover .plate__cap, .plate__btn:focus-visible .plate__cap { transform: translateY(-3px); }
.plate__btn:hover .plate__cap::before, .plate__btn:focus-visible .plate__cap::before { transform: scaleX(1); }
.plate__no { grid-column: 1; grid-row: 1; font: 600 .875rem/1 var(--f-text); font-variant-numeric: tabular-nums; letter-spacing: .03em; color: var(--oxyde); }
.plate__name { font: 750 1.4375rem/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .012em; white-space: nowrap; }
.plate__plus { grid-column: 3; grid-row: 1; display: grid; place-items: center; width: 30px; height: 30px; box-shadow: inset 0 0 0 1px var(--rule-strong); color: var(--anthracite); transition: background-color .3s var(--ease-out), color .3s var(--ease-out), box-shadow .3s var(--ease-out), transform .5s var(--ease-out); }
.plate__plus .ico { width: 16px; height: 16px; }
.plate__btn:hover .plate__plus, .plate__btn:focus-visible .plate__plus { background: var(--oxyde); color: #fff; box-shadow: inset 0 0 0 1px var(--oxyde); }
.plate__meta {
  grid-column: 2 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px;
  align-items: baseline; margin-top: 6px; font-size: .8125rem; color: var(--texte-2);
}
.plate__lots { grid-column: 1; grid-row: 1; font-weight: 500; }
.plate__credit { grid-column: 2; grid-row: 1; font-size: .6875rem; letter-spacing: .02em; white-space: nowrap; }
/* note de bord du tirage : matériau et famille de teinte de l'illustration */
.plate__tint { grid-column: 1 / -1; grid-row: 2; font-size: .75rem; line-height: 1.35; letter-spacing: .02em; font-variant-numeric: tabular-nums; }

.clip-toggle {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; padding: 0;
  display: grid; place-items: center; background: #fff; color: var(--anthracite); border: 0; cursor: pointer;
  box-shadow: 0 2px 8px -2px rgba(48, 54, 60, .45);
}
.clip-toggle .ico { width: 16px; height: 16px; }
.clip-toggle .ico--play { display: none; }
.clip-toggle.is-paused .ico--play { display: block; }
.clip-toggle.is-paused .ico--pause { display: none; }
.clip-toggle:hover { background: var(--oxyde); color: #fff; }

/* état ouvert : la planche choisie s'étend, les autres passent en bandeau */
.atlas__grid.is-open { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.atlas__grid.is-open .plate { grid-row: 1; }
.atlas__grid.is-open .plate.is-active {
  grid-row: 2; grid-column: 1 / -1;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(24px, 3vw, 44px); align-items: start;
  background: var(--oxyde); color: #fff; padding: 14px;
}
/* le tirage ouvert reste un tirage : marge blanche posée sur la table rouge */
.plate.is-active .plate__card {
  background: var(--paper); color: var(--anthracite); padding: 10px;
  box-shadow: 0 1px 1px rgba(40, 12, 6, .2), 0 18px 32px -20px rgba(40, 12, 6, .75);
}
.plate.is-active .plate__card :focus-visible { outline-color: var(--oxyde); }
.plate.is-active .plate__clip, .plate.is-active .clip-toggle { display: none; }
.is-open .plate:not(.is-active) .plate__media { aspect-ratio: 21 / 9; }
.is-open .plate:not(.is-active) .plate__cap { padding-top: 9px; grid-template-columns: auto minmax(0, 1fr); }
.is-open .plate:not(.is-active) .plate__name { font-size: 1.0625rem; }
.is-open .plate:not(.is-active) .plate__plus,
.is-open .plate:not(.is-active) .plate__meta,
.is-open .plate:not(.is-active) .clip-toggle { display: none; }
.plate.is-active .plate__media { aspect-ratio: 3 / 2; }
.plate.is-active .plate__plus .ico { transform: rotate(45deg); }
.plate.is-active .plate__meta { grid-column: 2; grid-row: 1; margin: 0; padding-left: 4px; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 20px; }
.plate.is-active .plate__tint { grid-column: 2; grid-row: 1; }
.plate.is-active .plate__credit { grid-column: 3; }
.plate.is-active .plate__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 1100px) {
  /* même cadrage 4:3 que la case : la planche s'agrandit sans recadrer, et le tirage suit la lecture */
  .plate.is-active .plate__media { aspect-ratio: 4 / 3; }
  .atlas__grid.is-open .plate.is-active .plate__card { position: sticky; top: calc(var(--hdr) + 16px); }
}

.plate__detail { padding: 2px 4px 4px 0; }
.detail__title { margin: 0 0 10px; font: 850 clamp(2.25rem, 3.6vw, 3.25rem)/.9 var(--f-display); text-transform: uppercase; letter-spacing: -.004em; }
.detail__title:focus { outline: none; }
.detail__intro { margin: 0 0 18px; color: var(--oxyde-pale); max-width: 46ch; }
.detail__lead { margin: 0 0 2px; font-weight: 600; font-size: .9375rem; }
.detail__lots { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.lot h4 { margin: 0; padding: 12px 0 8px; font: 750 1.25rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; border-bottom: 1px solid rgba(255, 255, 255, .45); }
.lot ul { list-style: none; margin: 0; padding: 0; }
.lot li { padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); font-size: .9375rem; line-height: 1.4; color: var(--oxyde-pale); }
.detail__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.detail__photos figure { margin: 0; }
.detail__photos img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--oxyde-d); }
.detail__photos figcaption { margin-top: 5px; font-size: .6875rem; letter-spacing: .02em; color: var(--oxyde-tint); }
.detail__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.detail__photos { margin-top: 22px; }
.detail__close {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px;
  background: transparent; color: #fff; border: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6);
  font: 600 .9375rem var(--f-text); cursor: pointer; transition: box-shadow .25s var(--ease-out);
}
.detail__close .ico { width: 16px; height: 16px; }
.detail__close:hover { box-shadow: inset 0 0 0 2px #fff; }

/* ---------- Sections ---------- */
.sec { padding: 120px 40px; scroll-margin-top: var(--hdr); }
.sec__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: start; }
.sec__title { margin: 0 0 18px; font: 850 clamp(3rem, 6vw, 5.5rem)/.92 var(--f-display); text-transform: uppercase; letter-spacing: -.004em; }
.sec__lede { margin: 0 0 34px; max-width: 46ch; font-size: 1.125rem; line-height: 1.5; color: var(--texte-2); }

.plate-fig { margin: 0; background: var(--paper); padding: 12px; box-shadow: var(--shadow-print); }
.plate-fig img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }
.plate-fig figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 2px 2px; font-size: .75rem; letter-spacing: .02em; color: var(--texte-2); }
.plate-fig figcaption b { font: 750 1.25rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .015em; color: var(--anthracite); }

.index { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; margin: 0 0 36px; }
.ix { padding: 15px 0 17px; border-top: 1px solid var(--rule); }
.ix--wide { grid-column: 1 / -1; }
.ix dt { margin: 0 0 6px; font: 750 1.5rem/1.02 var(--f-display); text-transform: uppercase; letter-spacing: .012em; }
.ix dd { margin: 0; font-size: .9375rem; line-height: 1.45; color: var(--texte-2); }

/* Bardage : bande anthracite */
.sec--anth { background: var(--anthracite); color: #fff; }
.sec--anth .sec__lede, .sec--anth .ix dd { color: var(--acier-l); }
.sec--anth .ix { border-top-color: rgba(185, 192, 198, .28); }
.bardage .plate-fig { grid-column: 1 / span 6; }
@media (min-width: 1100px) { .bardage .plate-fig, .etancheite .plate-fig { position: sticky; top: calc(var(--hdr) + 32px); } }
.bardage .sec__body { grid-column: 8 / -1; padding-top: 6px; }
.bardage .plate-fig img { object-position: 48% 50%; }

/* Étanchéité : fond béton */
.etancheite .sec__body { grid-column: 1 / span 5; padding-top: 6px; }
.etancheite .plate-fig { grid-column: 7 / -1; }
.etancheite .plate-fig img { aspect-ratio: 4 / 3; object-position: 50% 60%; }

/* Méthode : bande rouge oxyde */
.methode { background: var(--oxyde); color: #fff; }
.methode__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 40px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 60px); }
.methode__head .sec__title { margin: 0; }
.methode__lede { margin: 0 0 6px; max-width: 34ch; font-size: 1.125rem; line-height: 1.45; color: var(--oxyde-pale); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.step__rule { display: block; height: 2px; background: #fff; transform-origin: left center; }
.step__no { display: block; margin: 18px 0 16px; font: 850 3.5rem/.9 var(--f-display); font-variant-numeric: tabular-nums; color: var(--oxyde-tint); }
.step h3 { margin: 0 0 10px; font: 750 1.5rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .012em; }
.step p { margin: 0; font-size: .9375rem; line-height: 1.45; color: var(--oxyde-pale); }

/* Zone */
.zone__head { grid-column: 1 / -1; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 48px; flex-wrap: wrap; }
.zone__head .sec__title { margin: 0; }
.zone__head .sec__lede { margin: 0 0 8px; max-width: 40ch; }
.zone .token { background: rgba(161, 58, 40, .1); color: var(--oxyde-d); }
.depts { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); border-left: 1px solid var(--rule); }
.dept { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 148px; padding: 16px 16px 18px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: rgba(255, 255, 255, .35); }
.dept__no { font: 850 3.75rem/.85 var(--f-display); font-variant-numeric: tabular-nums; color: var(--oxyde); }
.dept__name { font-weight: 600; font-size: .9375rem; line-height: 1.25; }
.dept__name small { display: block; margin-top: 3px; font-size: .8125rem; font-weight: 500; }
.dept--siege { background: var(--oxyde); color: #fff; }
.dept--siege .dept__no { color: #fff; }
.dept--siege small { color: var(--oxyde-tint); }

/* Consultation */
.consult { padding-top: clamp(24px, 3vw, 40px); }
.consult__aside { grid-column: 1 / span 4; }
.consult__aside .sec__title { font-size: clamp(3rem, 5vw, 4.6rem); }
.consult__panel { grid-column: 5 / -1; background: var(--oxyde); color: #fff; padding: 44px 48px 48px; }
.contacts { margin: 0; border-top: 1px solid var(--rule-strong); }
.contacts div { padding: 13px 0; border-bottom: 1px solid var(--rule); }
.contacts dt { font-size: .8125rem; font-weight: 600; letter-spacing: .02em; color: var(--texte-2); margin-bottom: 3px; }
.contacts dd { margin: 0; font-weight: 500; }
.contacts a { text-decoration: none; }
.contacts a:hover { text-decoration: underline; }
.contacts__tel { font: 850 2.5rem/1 var(--f-display); font-variant-numeric: tabular-nums; letter-spacing: .01em; color: var(--oxyde); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .875rem; letter-spacing: .01em; color: #fff; padding: 0; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="url"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0 14px; border: 0; border-radius: 0; background: #fff; color: var(--anthracite);
  font: 400 1rem/1.3 var(--f-text); caret-color: var(--oxyde); box-shadow: inset 0 -2px 0 transparent; transition: box-shadow .2s var(--ease-out);
}
.field textarea { min-height: 116px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2330363C' stroke-width='1.6'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.field ::placeholder { color: #6B7278; opacity: 1; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid #fff; outline-offset: 3px; box-shadow: inset 0 -2px 0 var(--anthracite); }
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--anthracite); }
.err { display: none; margin: 0; align-items: center; gap: 7px; font-size: .8125rem; font-weight: 600; color: #fff; }
.err.is-on { display: flex; }
.err .ico { width: 16px; height: 16px; }
.hint { margin: 0; min-height: 0; font-size: .8125rem; color: var(--oxyde-tint); }
/* Zones aria-live vides : rendues (sinon l'annonce est perdue) mais sans hauteur ni espacement (gap du .field annulé). */
.hint:empty, .warn:empty { margin-top: -7px; }
.warn { margin: 0; font-size: .8125rem; font-weight: 500; line-height: 1.4; color: #fff; }
.warn:not(:empty) { padding-left: 10px; box-shadow: inset 2px 0 0 var(--oxyde-tint); }
.field select.is-prefilled { box-shadow: inset 0 0 0 2px var(--anthracite); }

.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65); }
.seg label { position: relative; display: block; cursor: pointer; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 48px; padding: 0 8px; font-weight: 600; font-size: .9375rem; color: #fff; text-align: center; transition: background-color .2s var(--ease-out), color .2s var(--ease-out); }
.seg label + label span { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .45); }
.seg input:checked + span { background: #fff; color: var(--oxyde); }
.seg label:hover input:not(:checked) + span { background: rgba(255, 255, 255, .12); }
.seg input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.seg-field[data-invalid="true"] .seg { box-shadow: inset 0 0 0 2px var(--anthracite); }

.field .check { font-weight: 500; font-size: .9375rem; }

.check { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; font-size: .9375rem; line-height: 1.4; cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; background: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center;
}
.check input::after { content: ""; width: 12px; height: 7px; border-left: 2px solid var(--oxyde); border-bottom: 2px solid var(--oxyde); transform: translateY(-2px) rotate(-45deg) scale(0); transition: transform .2s var(--ease-out); }
.check input:checked::after { transform: translateY(-2px) rotate(-45deg) scale(1); }
.check input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--anthracite); }

.form__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 6px; }
.form__note { margin: 0; font-size: .8125rem; color: var(--oxyde-tint); }
.form__note a { color: #fff; font-weight: 500; }
.btn[aria-disabled="true"] { cursor: progress; opacity: .8; }
/* Pot de miel : invisible pour les humains, hors écran (pas display:none, que certains robots détectent) */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* Statut d'envoi : toujours rendu (aria-live), sans hauteur tant qu'il est vide */
.form__status { margin: 0; font-size: .9375rem; line-height: 1.5; color: #fff; }
.form__status:not(:empty) { margin-top: 20px; padding: 13px 16px; background: rgba(255, 255, 255, .1); box-shadow: inset 3px 0 0 #fff; }
.form__status.is-ko { background: var(--anthracite); box-shadow: none; }
.form__status a { color: #fff; font-weight: 600; white-space: nowrap; }

/* Pied de page */
.ftr { background: var(--anthracite); color: #fff; padding-block: 56px 28px; }
.ftr__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(185, 192, 198, .25); }
.ftr__brand { grid-column: 1 / span 5; }
.ftr__brand .brand__name { font-size: 2.5rem; }
.ftr__brand p { margin: 12px 0 0; color: var(--acier-l); font-size: .9375rem; }
.ftr .token { background: rgba(255, 255, 255, .1); }
.ftr__nav { grid-column: 6 / span 3; display: flex; flex-direction: column; gap: 8px; }
.ftr__nav a, .ftr__contact a { text-decoration: none; color: #fff; font-weight: 500; }
.ftr__nav a:hover, .ftr__contact a:hover { text-decoration: underline; }
.ftr__contact { grid-column: 9 / -1; display: flex; flex-direction: column; gap: 8px; color: var(--acier-l); }
.ftr__tel { font: 850 2rem/1 var(--f-display); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.ftr__base { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 20px; font-size: .8125rem; color: var(--acier-l); }
.ftr__base a { color: var(--acier-l); }
.ftr__cookies {
  padding: 0; margin: 0; border: 0; background: none; cursor: pointer;
  font: inherit; color: var(--acier-l); text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px;
}
.ftr__photo { margin-left: auto; }

/* ---------- Adaptatif ---------- */
@media (max-width: 1240px) {
  .band { padding-inline: 32px; }
  .sec { padding: 104px 32px; }
  .consult { padding-top: 32px; }
  .nav { gap: 18px; }
  .brand__trade { display: none; }
}
@media (max-width: 1099px) {
  .nav, .hdr__tel span { display: none; }
  .hdr__actions { margin-left: auto; }
  .menu-btn { display: inline-block; }
  .band__title { grid-column: 1 / -1; }
  .band__side { grid-column: 1 / span 10; }
  .atlas__grid.is-open .plate.is-active { grid-template-columns: 1fr; row-gap: 22px; }
  .bardage .plate-fig, .bardage .sec__body, .etancheite .plate-fig, .etancheite .sec__body,
  .zone__head, .depts, .consult__aside, .consult__panel { grid-column: 1 / -1; }
  .etancheite .plate-fig { order: -1; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .ftr__brand { grid-column: 1 / -1; }
  .ftr__nav { grid-column: 1 / span 6; }
  .ftr__contact { grid-column: 7 / -1; }
}
@media (max-width: 760px) {
  :root { --hdr: 60px; }
  body { font-size: 1rem; }
  .brand__name { font-size: 1.625rem; }
  .hdr__actions { gap: 10px; }
  .hdr__tel { display: grid; place-items: center; width: 44px; height: 44px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); }
  .hdr.is-solid .hdr__tel, .hdr.menu-open .hdr__tel { box-shadow: inset 0 0 0 1px var(--rule-strong); }
  .hdr__cta { display: none; }
  .band { padding: 44px 16px 44px; }
  .sec { padding: 72px 16px; }
  .consult { padding-top: 24px; }
  .consult__panel { padding: 24px 18px 28px; }
  .band__in { row-gap: 18px; }
  .band__title { font-size: clamp(2.6rem, 12.4vw, 3.4rem); line-height: .97; }
  .band__side { grid-column: 1 / -1; }
  .band__lede { font-size: 1rem; margin-bottom: 18px; }
  .band__actions { gap: 10px; }
  .band__actions .btn { width: 100%; min-height: 52px; }
  .band__tel { width: 100%; justify-content: center; min-height: 48px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); }

  .atlas { padding-top: 18px; }
  .atlas__title { font-size: 1.5rem; }
  .atlas__hint { font-size: .875rem; }
  .atlas__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .plate { padding: 6px; }
  .plate__cap { grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; padding: 8px 1px 1px; }
  .plate__plus, .plate__lots { display: none; }
  .plate__name { font-size: 1.0625rem; white-space: normal; line-height: 1; }
  .plate__meta { grid-column: 1 / -1; margin-top: 5px; }
  .plate__credit { grid-column: 1 / -1; font-size: .6875rem; }
  .plate__tint { display: none; }
  .clip-toggle { top: 6px; right: 6px; width: 30px; height: 30px; }
  .atlas__grid.is-open { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .is-open .plate:not(.is-active) { padding: 3px; }
  .is-open .plate:not(.is-active) .plate__media { aspect-ratio: 1; }
  .is-open .plate:not(.is-active) .plate__cap { padding: 5px 0 1px; display: block; text-align: center; }
  .is-open .plate:not(.is-active) .plate__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .is-open .plate:not(.is-active) .plate__no { font-size: .75rem; }
  .atlas__grid.is-open .plate.is-active { padding: 8px; }
  .plate.is-active .plate__card { padding: 6px; }
  .plate.is-active .plate__meta { grid-template-columns: minmax(0, 1fr); }
  .plate.is-active .plate__tint { display: block; grid-column: 1; grid-row: 1; }
  .plate.is-active .plate__credit { grid-column: 1; grid-row: 2; }
  .plate.is-active .plate__media { aspect-ratio: 4 / 3; }
  .plate.is-active .plate__name { font-size: 1.375rem; }
  .plate__detail { padding: 4px 4px 8px; }
  .detail__lots { grid-template-columns: 1fr; }

  .sec__lede { font-size: 1.0625rem; }
  .index { grid-template-columns: 1fr; }
  .ix dt { font-size: 1.375rem; }
  .plate-fig { padding: 8px; }
  .plate-fig figcaption { flex-direction: column; gap: 6px; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 14px; padding-bottom: 22px; }
  .step__rule { grid-column: 1 / -1; }
  .step__no { grid-row: 2 / span 2; margin: 16px 0 0; font-size: 2.75rem; }
  .step h3 { margin-top: 18px; }
  .depts { grid-template-columns: 1fr 1fr; }
  .dept { min-height: 112px; padding: 12px; }
  .dept__no { font-size: 3rem; }
  .form { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
  .contacts__tel { font-size: 2.25rem; }
  .ftr__nav, .ftr__contact { grid-column: 1 / -1; }
  .ftr__photo { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .plate__still, .plate__btn:hover .plate__still, .plate__btn:focus-visible .plate__still { transition: none; transform: none; }
  .plate__cap, .plate__cap::before, .nav a::after, .btn .ico--arrow { transition: none; }
}

/* ---------- Héros : l'essai à l'eau (repris de la maquette « Mise en eau ») ---------- */
:root {
  --eau-950: oklch(0.205 0.040 228);
  --eau-on: oklch(0.955 0.018 207);
  --eau-on-2: oklch(0.840 0.040 212);
  --cuivre-clair: oklch(0.820 0.085 64);
}
/* Hauteurs en « min- » : sur un écran assez haut, rendu identique à height (héros = 100svh, enveloppe = 165svh) ;
   sur un écran trop court pour le contenu (iPhone SE avec les barres de Safari, Android 360 × 560…), le héros grandit
   au lieu de faire remonter le titre sous l'en-tête, et l'enveloppe grandit avec lui (jamais de chevauchement). */
.hero-wrap { position: relative; min-height: 165vh; min-height: 165svh; background: var(--eau-950); }
.hero {
  position: sticky; top: 0; min-height: 600px; min-height: max(600px, 100vh); min-height: max(600px, 100svh);
  overflow: hidden; color: var(--eau-on); isolation: isolate; touch-action: pan-y;
}
.hero-photo, .hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { object-fit: cover; object-position: 42% 50%; filter: saturate(.75) brightness(.86); }
.hero-gl { opacity: 0; transition: opacity 1.4s var(--ease-out); }
.hero-gl.is-on { opacity: 1; }
.hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, color-mix(in oklch, var(--eau-950) 82%, transparent) 0%, color-mix(in oklch, var(--eau-950) 58%, transparent) 34%, color-mix(in oklch, var(--eau-950) 0%, transparent) 66%),
    linear-gradient(0deg, color-mix(in oklch, var(--eau-950) 62%, transparent) 0%, color-mix(in oklch, var(--eau-950) 0%, transparent) 42%),
    linear-gradient(180deg, color-mix(in oklch, var(--eau-950) 50%, transparent) 0%, color-mix(in oklch, var(--eau-950) 0%, transparent) 20%),
    radial-gradient(60% 45% at 100% 100%, color-mix(in oklch, var(--eau-950) 55%, transparent) 0%, color-mix(in oklch, var(--eau-950) 0%, transparent) 100%);
}
.hero-inner {
  position: relative; z-index: 2; min-height: inherit;
  max-width: calc(1360px + 2 * var(--gut)); margin-inline: auto;
  padding: calc(var(--hdr) + 40px) var(--gut) clamp(40px, 7vh, 76px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px;
  pointer-events: none;
}
.hero-inner a, .hero-inner button { pointer-events: auto; }
.hero h1 {
  margin: 0; max-width: 11.5ch; color: #fff;
  font-family: "Gloock", Georgia, serif; font-weight: 400; font-synthesis: none;
  font-size: clamp(2.7rem, 6.3vw, 6rem); line-height: .97; letter-spacing: -.022em;
}
.hero h1 span { display: block; }
.hero h1 span + span { color: var(--cuivre-clair); }
.hero-lead {
  max-width: 46ch; margin: clamp(18px, 3vh, 28px) 0 clamp(24px, 3.6vh, 36px);
  font-size: clamp(1.0625rem, 1.2vw, 1.1875rem); line-height: 1.55; color: var(--eau-on-2);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* zone tactile de 48 px de haut : 12 px de remplissage haut et bas, compensés par les marges (même rendu) */
.hero-tel {
  display: inline-flex; align-items: center; gap: 10px; margin: 8px 0 -12px; padding-block: 12px;
  color: var(--eau-on-2); text-decoration: none; font-variant-numeric: tabular-nums;
}
.hero-tel strong { color: #fff; font-weight: 600; }
.hero-tel .ico { color: var(--cuivre-clair); }
.hero-tel:hover strong { text-decoration: underline; text-decoration-color: var(--cuivre-clair); }
.hero-credit {
  position: absolute; z-index: 2; right: var(--gut); bottom: 12px; margin: 0;
  font-size: .75rem; letter-spacing: .02em; color: var(--eau-on-2); pointer-events: none;
}
.hero :focus-visible { outline-color: #fff; }
.hero ::selection { background: var(--cuivre-clair); color: var(--eau-950); }

.meteo { width: 300px; padding-bottom: 14px; font-size: .875rem; color: var(--eau-on-2); }
.meteo-hint { display: grid; gap: 2px; margin: 0 0 14px; line-height: 1.45; }
.hint-pointer { display: none; }
@media (hover: hover) and (pointer: fine) { .hint-pointer { display: block; } }
.meteo-states {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); font-weight: 600; letter-spacing: .02em;
}
.meteo-states li { padding-bottom: 10px; color: color-mix(in oklch, var(--eau-on-2) 82%, transparent); transition: color .5s var(--ease-out); }
.meteo-states li:nth-child(2) { text-align: center; }
.meteo-states li:nth-child(3) { text-align: right; }
.meteo-states li[aria-current] { color: #fff; }
.meteo-bar { position: relative; height: 2px; background: color-mix(in oklch, var(--eau-on) 22%, transparent); }
.meteo-bar span { position: absolute; inset: 0; background: var(--cuivre-clair); transform-origin: left; transform: scaleX(.04); }


@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .meteo { width: 100%; max-width: 420px; }
}
@media (max-width: 640px) {
  .hero-wrap { min-height: 150vh; min-height: 150svh; }
  .hero { min-height: 560px; min-height: max(560px, 100vh); min-height: max(560px, 100svh); }
  .hero-inner { padding-top: calc(var(--hdr) + 24px); padding-bottom: 36px; gap: 24px; align-content: end; }
  .hero h1 { font-size: clamp(2.45rem, 11.4vw, 3.3rem); line-height: .97; }
  .hero-lead { font-size: 1rem; margin: 14px 0 20px; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; justify-content: space-between; min-height: 52px; }
  .hero-tel { margin-top: 2px; }
  .meteo-hint { display: none; }
  .hero-scrim {
    background:
      linear-gradient(0deg, color-mix(in oklch, var(--eau-950) 84%, transparent) 0%, color-mix(in oklch, var(--eau-950) 55%, transparent) 52%, color-mix(in oklch, var(--eau-950) 0%, transparent) 76%),
      linear-gradient(180deg, color-mix(in oklch, var(--eau-950) 55%, transparent) 0%, color-mix(in oklch, var(--eau-950) 0%, transparent) 22%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-wrap { min-height: 0; }
  .hero { position: relative; }
  .hero-gl { transition: none; }
}

/* ---------- Cibles tactiles agrandies, sans changer le dessin ----------
   Pseudo-élément transparent autour d'un bouton dessiné (cadre conservé), ou remplissage compensé par une marge
   négative sur un lien texte (même mise en page) ; les zones de liens voisins se touchent sans se chevaucher. */
.clip-toggle::after { content: ""; position: absolute; inset: -9px; }
.brand { padding-block: 11px; margin-block: -11px; }
.ftr__nav a, .ftr__contact a, .ftr__base a, .ftr__cookies { padding-block: 4px; margin-block: -4px; }
@media (max-width: 1099px) {
  .hdr__tel, .menu-btn { position: relative; }
  .hdr__tel::before { content: ""; position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; transform: translate(-50%, -50%); }
  .menu-btn::before { content: ""; position: absolute; inset: -3px -1px; }   /* depuis la boîte de remplissage (bordure 1 px) : 48 px de haut */
}

/* ---------- Bandeau cookies (CNIL) — inséré par site.js, seulement quand la balise Google Ads est réelle ----------
   « Tout refuser » et « Tout accepter » : même classe, donc même taille, même graisse, même couleur.
   Non bloquant (aucun voile sur la page), en bas à droite ; pleine largeur sur mobile. */
.cc { position: fixed; right: var(--gut); bottom: 16px; z-index: 60; width: min(460px, calc(100% - 2 * var(--gut))); }
.cc__box {
  max-height: calc(100vh - 32px); max-height: calc(100svh - 32px); overflow-y: auto; overscroll-behavior: contain;
  padding: 20px 22px 14px; background: var(--beton); color: var(--anthracite);
  border-top: 3px solid var(--oxyde);
  box-shadow: 0 1px 2px rgba(48, 54, 60, .14), 0 26px 50px -22px rgba(38, 43, 48, .62);
}
.cc__box:focus { outline: none; }
.cc__t { margin: 0 0 8px; font: 800 1.375rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.cc__p { margin: 0 0 16px; font-size: .9375rem; line-height: 1.5; color: var(--texte-2); }
.cc__p a { color: var(--oxyde-d); font-weight: 600; }
.cc__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc__btn {
  min-height: 48px; padding: 0 14px; border: 0; border-radius: 0; cursor: pointer;
  background: var(--anthracite); color: #fff; font: 600 .9375rem/1.1 var(--f-text); letter-spacing: .01em;
  transition: background-color .25s var(--ease-out);
}
.cc__btn:hover { background: var(--anthracite-d); }
.cc__more {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 600 .875rem/1.2 var(--f-text); color: var(--anthracite); text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px;
}
.cc__panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .35s var(--ease-out), visibility 0s linear .35s; }
.cc.is-open .cc__panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .35s var(--ease-out), visibility 0s; }
.cc__panel > div { min-height: 0; overflow: hidden; }
.cc__opt { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule); font-size: .875rem; line-height: 1.45; color: var(--texte-2); cursor: pointer; }
.cc__opt input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--oxyde); cursor: pointer; }
.cc__opt input:disabled { cursor: default; }
.cc__opt b { display: block; margin-bottom: 2px; font-weight: 600; color: var(--anthracite); }
.cc__save {
  width: 100%; min-height: 48px; margin: 4px 0 6px; padding: 0 14px; border: 0; border-radius: 0; cursor: pointer;
  background: transparent; color: var(--anthracite); box-shadow: inset 0 0 0 1px var(--anthracite);
  font: 600 .9375rem/1.1 var(--f-text); transition: box-shadow .25s var(--ease-out);
}
.cc__save:hover { box-shadow: inset 0 0 0 2px var(--anthracite); }
@media (max-width: 760px) {
  .cc { left: 8px; right: 8px; bottom: 8px; width: auto; }
  .cc__box { max-height: calc(100vh - 16px); max-height: calc(100svh - 16px); padding: 16px 16px 10px; }
  .cc__t { font-size: 1.25rem; }
  .cc__p { font-size: .875rem; margin-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .cc__panel, .cc.is-open .cc__panel { transition: none; }
}

/* ---------- Nos chantiers : planche contact de photos réelles ---------- */
.chantiers__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 48px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.chantiers__head .sec__title { margin: 0; }
.chantiers__head .sec__lede { margin: 0 0 8px; max-width: 46ch; }
.chantiers__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: 16px; align-items: stretch; }
/* tirages d'une même rangée à la même hauteur : la photo s'étire (recadrage cover) */
.chantier figure { margin: 0; height: 100%; display: flex; flex-direction: column; background: var(--paper); padding: 10px; box-shadow: var(--shadow-print); }
.chantier img { display: block; flex: 1 1 auto; min-height: 0; width: 100%; height: auto; object-fit: cover; background: var(--beton-2); }
.chantier--l { grid-column: span 2; }
.chantier--l img { aspect-ratio: 3 / 2; }
.chantier--p img { aspect-ratio: 3 / 4; }
.chantier figcaption { display: grid; gap: 3px; padding: 10px 2px 2px; }
.chantier figcaption b { font: 750 1.125rem/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .012em; color: var(--anthracite); }
.chantier figcaption span { font-size: .8125rem; line-height: 1.4; color: var(--texte-2); }
@media (max-width: 1099px) { .chantiers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .chantiers__grid { gap: 10px; }
  .chantier figure { padding: 6px; }
  .chantier figcaption b { font-size: 1rem; }
}

/* ---------- Logo : symbole « couvertine » + PROTECH EST ---------- */
/* Négatif par défaut (héros, pied de page) ; clair dès que l'en-tête passe sur le béton. */
.brand, .ftr__logo { --logo-cap: #E2694F; --logo-wall: var(--beton); --logo-est: #F0A58E; }
.hdr.is-solid .brand, .hdr.menu-open .brand { --logo-cap: var(--oxyde); --logo-wall: var(--anthracite); --logo-est: var(--oxyde); }
.brand__mark { flex: none; align-self: center; display: block; width: auto; height: 31px; }
.brand__cap { fill: var(--logo-cap); transition: fill .45s var(--ease-out); }
.brand__wall { fill: var(--logo-wall); transition: fill .45s var(--ease-out); }
.brand__est { color: var(--logo-est); transition: color .45s var(--ease-out); }
.ftr__logo { display: flex; align-items: center; gap: 16px; }
.ftr__logo .brand__mark { height: 41px; }
@media (max-width: 760px) {
  .brand__mark { height: 27px; }
}
