/* ==========================================================================
   Béarn Plâtre — feuille de style
   Palette : bleu marine / rouge / blanc plâtre
   Police : Archivo (auto-hébergée, licence OFL)
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var.woff2") format("woff2-variations"),
       url("fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #13304f;          /* bleu marine principal */
  --ink-deep: #0c223b;     /* pied de page */
  --ink-soft: #2a3d51;     /* texte courant */
  --muted: #5a6876;
  --red: #c0282f;
  --red-dark: #9f1f25;
  --paper: #f6f4ef;        /* blanc plâtre */
  --paper-2: #eeebe3;
  --white: #ffffff;
  --line: #dcd7cb;
  --line-soft: #e8e4da;
  --blue-line: rgba(19, 48, 79, .09);

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 8.5vw, 116px);
  --header-h: 76px;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 800; }

::selection { background: var(--ink); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.area :focus-visible,
.site-footer :focus-visible { outline-color: #fff; }

.wrap {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

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

.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

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

/* ---------- Typographie commune ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: currentColor;
  flex: none;
}

.h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.04;
  letter-spacing: -.02em;
  font-stretch: 108%;
  text-wrap: balance;
}

.intro {
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--muted);
  max-width: 56ch;
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 2px;
  font: 650 16px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-red .arrow { transition: transform .2s; }
.btn-red:hover .arrow { transform: translateX(3px); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--paper); }

/* ==========================================================================
   En-tête
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 239, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background-color .25s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, .94);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
  color: var(--ink);
}
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-name {
  display: block;
  font-size: 19px;
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -.01em;
  line-height: 1.05;
  text-transform: uppercase;
}
.brand-tag {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 500;
  font-stretch: 90%;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.main-nav { display: flex; gap: 30px; }
.main-nav a {
  position: relative;
  font-size: 15px;
  font-weight: 550;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.main-nav a:hover::after,
.main-nav a[aria-current="true"]::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 22px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone svg { width: 17px; height: 17px; color: var(--red); }
.header-cta .btn { min-height: 46px; padding: 0 18px; font-size: 15px; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-right: -10px;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--ink);
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .25s, opacity .2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Accueil (hero)
   ========================================================================== */

.hero {
  position: relative;
  background: var(--paper);
  padding: clamp(40px, 6vw, 80px) 0 0;
  overflow: hidden;
}
/* grain plâtre très léger */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .5;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .42 0 0 0 0 .36 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  grid-template-areas: "head head" "copy art";
  gap: clamp(28px, 3.5vw, 48px) clamp(32px, 5vw, 80px);
  align-items: start;
}
.hero-head { grid-area: head; }
.hero-copy { grid-area: copy; padding-top: clamp(4px, 1.5vw, 20px); }
.hero .sheet { grid-area: art; }

.hero h1 {
  font-size: clamp(42px, 6.3vw, 90px);
  line-height: .96;
  letter-spacing: -.035em;
  font-stretch: 110%;
  font-weight: 820;
  text-wrap: balance;
}
.hero h1 > span { display: block; }
.hero h1 .line-2 { color: var(--red); }

.hero-lead {
  margin: 0 0 36px;
  max-width: 34em;
  font-size: clamp(17px, 1.45vw, 19.5px);
  line-height: 1.6;
  color: var(--ink-soft);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0;
  margin: 44px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.hero-facts li {
  padding: 0 26px;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}
.hero-facts li:first-child { padding-left: 0; border-left: 0; }
.hero-facts b {
  display: block;
  font-size: 17px;
  font-weight: 750;
  color: var(--ink);
}
.hero-facts .fact-rge { display: flex; align-items: center; gap: 10px; }
.hero-facts .fact-rge img { width: 34px; height: 40px; flex: none; }
.hero-facts .fact-rge > span { margin: 0; }
.hero-facts span {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted);
}

/* dessin d'accueil */
.sheet { position: relative; margin: 0; }
.sheet-art { padding: 0; }
.sheet-art svg { width: 100%; height: auto; overflow: visible; }

.legend { display: none; }

/* illustration : styles des tracés */
.art .ln, .art .ln-thin, .art .hatch, .art polygon { stroke: var(--ink); stroke-linejoin: round; }
.art polygon { stroke-width: 1.1; }
.art .ln-thin { stroke-width: .55; opacity: .7; }
.art .hatch { stroke-width: .5; opacity: .55; }
.art .f-wall { fill: #ecebe5; }
.art .f-top { fill: #fff; }
.art .f-side { fill: #dfe5ec; }
.art .f-insul { fill: #fff; }
.art .fiber { fill: none; stroke: var(--red); stroke-width: .6; opacity: .42; }
.art .insul-sym { fill: none; stroke: var(--red); stroke-width: .95; }
.art .f-metal { fill: #e8eef4; }
.art .f-metal-top { fill: #fff; }
.art .f-metal-side { fill: #cdd7e2; }
.art .hole { fill: #fff; stroke: var(--ink); stroke-width: .5; }
.art .f-board { fill: #fff; }
.art .tape { fill: #f0ede5; stroke: none; }
.art .ln-joint { stroke: var(--ink); stroke-width: .5; stroke-dasharray: 3 2; }
.art .screw { fill: var(--ink); }
.art .dot { fill: var(--red); }
.art .leader { stroke: var(--ink); stroke-width: .6; fill: none; }
.art .bubble { fill: #fff; stroke: var(--red); stroke-width: 1.2; }
.art .bubble-n { font: 700 11px var(--font); fill: var(--red); }
.art .label { font: 600 12.5px var(--font); fill: var(--ink); }

/* animation d'ouverture : les couches se « déboîtent » */
@media (prefers-reduced-motion: no-preference) {
  .js .art .layer { animation: explode 1.1s cubic-bezier(.2, .7, .2, 1) both; }
  .js .art .l1 { animation-name: fade; animation-duration: .6s; }
  .js .art .l2 { --dx: 48px; --dy: -28px; animation-delay: .15s; }
  .js .art .l3 { --dx: 90px; --dy: -52px; animation-delay: .3s; }
  .js .art .l4 { --dx: 126px; --dy: -73px; animation-delay: .45s; }
  .js .art .callouts { animation: fade .6s 1.25s both; }
}
/* dessin interactif : couche mise en avant au survol d'un repère */
.art .px, .art .callout { transition: opacity .3s ease; }
.art .callout { cursor: pointer; }
.art .callout .hit { fill: transparent; }
.art .px, .art .dot, .art .leader { pointer-events: none; }
.art .layer-hit { fill: transparent; }
.art .bubble, .art .bubble-n, .art .label { transition: fill .2s ease; }
.art.has-hot .layer:not(.is-hot) .px { opacity: .22; }
.art.has-hot .callout:not(.is-hot) { opacity: .4; }
.art .layer.is-hot polygon { stroke: var(--red); }
.art .callout.is-hot .bubble { fill: var(--red); }
.art .callout.is-hot .bubble-n { fill: #fff; }
.art .callout.is-hot .label { fill: var(--red); }
.legend li { cursor: pointer; }
.legend li.is-hot { color: var(--red); }
.legend li.is-hot b { background: var(--red); color: #fff; }

@keyframes explode {
  from { transform: translate(var(--dx), var(--dy)); opacity: 0; }
  30% { opacity: 1; }
}
@keyframes fade { from { opacity: 0; } }

/* bandeau sous l'accueil */
.hero-base {
  position: relative;
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
.hero-base .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 14px;
  color: var(--muted);
}
.hero-base a { color: var(--ink); font-weight: 600; text-decoration: none; }
.hero-base a:hover { color: var(--red); }

/* ==========================================================================
   Prestations
   ========================================================================== */

.section { padding: var(--section) 0; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head .intro { margin: 0; }

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(28px, 4vw, 64px);
}
.service {
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 32px 0 34px;
  border-top: 1px solid var(--line);
}
.service-art {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  padding: 8% 10%;
  background: var(--paper);
  transition: background-color .3s;
}
.service:hover .service-art { background: var(--paper-2); }
.service h3 {
  margin: 0 0 10px;
  font-size: 21px;
  font-stretch: 106%;
  letter-spacing: -.01em;
  line-height: 1.15;
}
.service p { margin: 0; font-size: 16px; color: var(--muted); }

/* illustrations des prestations */
.pict { width: 100%; height: auto; overflow: visible; }
.pict * { vector-effect: non-scaling-stroke; }
.pict .s-floor { stroke: var(--ink); stroke-width: 1.6; }
.pict .s-board { fill: #fff; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.pict .s-accent-fill { fill: var(--red); opacity: .16; }
.pict .s-dot { fill: var(--ink); opacity: .5; }
.pict .s-blade { fill: #fff; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.pict .s-handle { fill: var(--ink); }
.pict .s-side { fill: #e6ebf1; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.pict .s-back { fill: #fff; stroke: var(--ink); stroke-width: 1.4; }
.pict .s-accent { fill: none; stroke: var(--red); stroke-width: 1.5; }
.pict .s-metal { fill: #dfe6ee; stroke: var(--ink); stroke-width: 1.4; }
.pict .s-thin { fill: none; stroke: var(--ink); stroke-width: 1; opacity: .45; }
.pict .s-line { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.pict .s-accent-solid { fill: var(--red); }
.pict .s-bulb { fill: #fff; stroke: var(--red); stroke-width: 1.4; }
.pict .s-roof { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }

/* ==========================================================================
   L'entreprise
   ========================================================================== */

.about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.about-text p:not(.eyebrow) { font-size: 18px; }
.about-text .h2 { margin-bottom: 32px; }
.about-text .signature {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
}
.about-text .signature svg { width: 40px; height: 40px; flex: none; }
.about-text .signature b { display: block; color: var(--ink); font-size: 16px; }

.factsheet {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--ink);
}
.factsheet-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: var(--ink);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 650;
  font-stretch: 90%;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.factsheet-title span:last-child { opacity: .7; font-weight: 500; }
.factsheet dl { margin: 0; }
.factsheet .row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 16px;
  padding: 15px 20px;
  border-top: 1px solid var(--line);
}
.factsheet .row:first-child { border-top: 0; }
.factsheet dt {
  padding-top: 2px;
  font-size: 12px;
  font-weight: 600;
  font-stretch: 88%;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.factsheet dd { margin: 0; font-size: 16px; font-weight: 550; color: var(--ink); }
.factsheet dd a { text-decoration: none; }
.factsheet .dd-rge { display: flex; align-items: flex-start; gap: 12px; }
.factsheet .dd-rge img { width: 34px; height: 40px; flex: none; }
.factsheet .dd-rge small { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 400; line-height: 1.45; color: var(--muted); }
.factsheet dd a:hover { color: var(--red); }
.factsheet .mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }

/* ==========================================================================
   Déroulement d'un chantier
   ========================================================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.step-art {
  margin: 0 auto 22px;
  max-width: 240px;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}
.steps li:hover .step-art { transform: translateY(-6px); }
.step-n {
  display: block;
  margin-bottom: 6px;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}
.steps h3 { font-size: 20px; font-stretch: 104%; margin-bottom: 8px; }
.steps p { font-size: 16px; color: var(--muted); margin: 0; }

/* scènes animées quand elles arrivent à l'écran (seulement si le visiteur accepte les animations) */
@media (prefers-reduced-motion: no-preference) {
  .js .steps li:nth-child(2) { --d: .15s; }
  .js .steps li:nth-child(3) { --d: .3s; }
  .js .steps li:nth-child(4) { --d: .45s; }
  .js .iso .a-bubble { opacity: 0; transform-box: fill-box; transform-origin: 0% 100%; }
  .js .iso .a-pulse { transform-box: fill-box; transform-origin: center; }
  .js .iso .a-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .iso .a-stamp { opacity: 0; transform-box: fill-box; transform-origin: center; }
  .js .steps li.is-in .a-bubble {
    animation: bubble-pop .55s cubic-bezier(.2, .9, .3, 1.35) calc(var(--d, 0s) + .25s) forwards,
               bubble-ring .45s ease-in-out calc(var(--d, 0s) + 1s) 3;
  }
  .js .steps li.is-in .a-pulse { animation: pulse .9s ease-in-out calc(var(--d, 0s) + 1s) 3; }
  .js .steps li.is-in .a-draw { animation: draw .9s ease-out calc(var(--d, 0s) + .3s) forwards; }
  .js .steps li.is-in .a-late { animation-delay: calc(var(--d, 0s) + .9s); animation-duration: 1.1s; }
  .js .steps li.is-in .a-stamp { animation: stamp .6s cubic-bezier(.2, .8, .3, 1.3) calc(var(--d, 0s) + .5s) forwards; }
}
@keyframes bubble-pop { 0% { opacity: 0; transform: scale(.2); } 100% { opacity: 1; transform: scale(1); } }
@keyframes bubble-ring { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-7deg); } 75% { transform: rotate(7deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes stamp { 0% { opacity: 0; transform: scale(2.4) rotate(-14deg); } 100% { opacity: 1; transform: scale(1) rotate(0); } }

/* scènes isométriques des étapes */
.iso { width: 100%; height: auto; overflow: visible; }
.iso polygon, .iso path, .iso line { stroke-linejoin: round; }
.iso .i-front { fill: #f4f2ed; stroke: var(--ink); stroke-width: 1.2; }
.iso .i-top { fill: #fff; stroke: var(--ink); stroke-width: 1.2; }
.iso .i-side { fill: #dfe5ec; stroke: var(--ink); stroke-width: 1.2; }
.iso .i-plat-top { fill: #f3f1ec; stroke: var(--ink); stroke-width: 1.2; }
.iso .i-plat-front { fill: #e6e2d8; stroke: var(--ink); stroke-width: 1.2; }
.iso .i-plat-side { fill: #d6dde6; stroke: var(--ink); stroke-width: 1.2; }
.iso .i-dark { fill: #1d3d61; stroke: var(--ink); stroke-width: 1.2; }
.iso .i-dark-top { fill: var(--ink); stroke: var(--ink); stroke-width: 1.2; }
.iso .i-screen { fill: #eef2f6; }
.iso .i-thin { fill: none; stroke: var(--ink); stroke-width: 1; opacity: .5; }
.iso .i-red { fill: var(--red); stroke: var(--ink); stroke-width: 1; }
.iso .i-white-dot { fill: #fff; }
.iso .i-board { fill: #e3e9ef; stroke: var(--ink); stroke-width: 1.2; }
.iso .i-paper { fill: #fff; stroke: var(--ink); stroke-width: 1; }
.iso .i-check { fill: none; stroke: var(--red); stroke-width: 2.2; stroke-linecap: round; }
.iso .i-tape { fill: #f6dcdd; stroke: var(--red); stroke-width: 1; }
.iso .i-tick { stroke: var(--red); stroke-width: .9; }
.iso .i-metal { fill: #e8eef4; stroke: var(--ink); stroke-width: 1.1; }
.iso .i-metal-top { fill: #fff; stroke: var(--ink); stroke-width: 1.1; }
.iso .i-metal-side { fill: #cdd7e2; stroke: var(--ink); stroke-width: 1.1; }
.iso .i-insul { fill: none; stroke: var(--red); stroke-width: 1.3; }
.iso .i-bucket { fill: #fff; stroke: var(--ink); stroke-width: 1.2; }
.iso .i-plaster { fill: #f1eee6; stroke: var(--ink); stroke-width: .8; }
.iso .i-wall { fill: #fff; stroke: var(--ink); stroke-width: 1.2; }
.iso .i-wall-side { fill: #dfe5ec; stroke: var(--ink); stroke-width: 1.2; }
.iso .i-window { fill: #e3edf6; stroke: var(--ink); stroke-width: 1.2; }
.iso .i-mullion { stroke: var(--ink); stroke-width: 1.2; }
.iso .i-skirt { stroke: var(--ink); stroke-width: 1; opacity: .6; }
.iso .i-badge { fill: var(--red); }
.iso .i-badge-check { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   Secteur
   ========================================================================== */

.area {
  position: relative;
  background: var(--ink);
  color: #d5deE8;
  overflow: hidden;
}
.area-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.area .eyebrow { color: #ff8a8f; }
.area .h2 { color: var(--white); margin-bottom: 28px; }
.area p:not(.eyebrow) { font-size: 18px; color: #c9d4df; max-width: 36em; }
.area p strong { color: var(--white); font-weight: 650; }
.area .btn { margin-top: 18px; }

.towns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 28px;
  padding: 0;
  list-style: none;
}
.towns li {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: 14px;
  color: var(--white);
}
.towns li.base { background: var(--red); border-color: var(--red); font-weight: 650; }

.map-card {
  position: relative;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  background: #102a46;
}
.map-frame {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-bg path { fill: none; stroke: #7f9cbb; stroke-width: .8; opacity: .3; }
.map-bg path:nth-child(4n) { opacity: .5; }
.map-consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 24px;
  text-align: center;
  color: #c9d4df;
  font-size: 15px;
  background: radial-gradient(closest-side, rgba(16, 42, 70, .92), rgba(16, 42, 70, .55));
}
.map-consent b { color: var(--white); font-size: 19px; font-stretch: 106%; }
.map-consent .btn { margin: 18px 0 12px; min-height: 48px; }
.map-consent small { max-width: 30em; font-size: 12.5px; color: #93a6ba; }
.map-pin {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 0 0 8px rgba(192, 40, 47, .25);
}
.map-pin svg { width: 22px; height: 22px; }
.map-card figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: 12px;
  font-stretch: 90%;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9fb2c6;
}
.map-card figcaption a { color: var(--white); text-decoration: none; font-weight: 600; }
.map-card figcaption a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Réalisations (masqué tant qu'il n'y a pas de photos — voir README)
   ========================================================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 14px;
}
.shot { position: relative; margin: 0; overflow: hidden; background: var(--paper-2); }
.shot:first-child { grid-column: span 2; grid-row: span 2; }
/* trois photos en portrait, côte à côte */
.gallery.gallery--trio { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; gap: 16px; }
.gallery--trio .shot:first-child { grid-column: auto; grid-row: auto; }
.gallery--trio .shot img { aspect-ratio: 4 / 5; }

.shot--todo {
  display: grid;
  place-items: center;
  min-height: 220px;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(19, 48, 79, .045) 14px 15px),
    var(--paper);
  border: 1px dashed #cfc8b9;
}
.todo-shot { display: grid; justify-items: center; gap: 2px; text-align: center; color: var(--muted); font-size: 14px; }
.todo-shot svg { width: 34px; height: 34px; margin-bottom: 8px; color: var(--ink); opacity: .55; }
.todo-shot b { color: var(--ink); font-size: 15px; font-weight: 650; }
.shot a { display: block; height: 100%; }
.shot img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.shot:hover img { transform: scale(1.03); }
.shot figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 18px 14px;
  background: linear-gradient(transparent, rgba(12, 34, 59, .85));
  color: #dfe7ef;
  font-size: 14px;
  pointer-events: none;
}
.shot figcaption b { display: block; color: var(--white); font-size: 16px; font-weight: 650; }

.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(8, 22, 38, .94);
  color: var(--white);
}
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; place-items: center; }
.lightbox::backdrop { background: rgba(8, 22, 38, .94); }
.lightbox img { max-width: calc(100vw - 140px); max-height: calc(100vh - 120px); object-fit: contain; }
.lightbox p { margin: 0; padding: 0 20px 24px; text-align: center; font-size: 15px; color: #c9d4df; }
.lightbox p b { color: var(--white); }
.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  font: 400 26px/1 var(--font);
  cursor: pointer;
}
.lb-btn:hover { background: rgba(255, 255, 255, .16); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact { background: var(--paper); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.contact-aside .h2 { margin-bottom: 24px; }
.contact-aside > p:not(.eyebrow) { color: var(--muted); font-size: 18px; }

.contact-lines { margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.contact-lines li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-lines .ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--red);
}
.contact-lines .ico svg { width: 19px; height: 19px; }
.contact-lines small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  font-stretch: 88%;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-lines a, .contact-lines address {
  display: block;
  font-style: normal;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.contact-lines a[href^="mailto:"] { overflow-wrap: anywhere; }
.contact-lines a.big { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; font-stretch: 106%; letter-spacing: -.01em; }
.contact-lines a:hover { color: var(--red); }

/* formulaire */
.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  padding: clamp(24px, 3.5vw, 44px);
}
.form-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 16px;
  margin-bottom: 28px;
}
.form-title h3 { font-size: 22px; font-stretch: 106%; }
.form-title span { font-size: 13px; color: var(--muted); }

.field { display: block; margin-bottom: 20px; }
.field > span,
.fieldset legend {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
}
.field > span i,
.fieldset legend i { font-style: normal; color: var(--red); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #cdc7ba;
  border-radius: 2px;
  background: #fdfcfa;
  font: 400 16px/1.4 var(--font);
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9aa3ab; }
.field input:hover, .field textarea:hover { border-color: #a9a294; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(19, 48, 79, .12);
}

.fieldset { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #cdc7ba;
  border-radius: 2px;
  background: #fdfcfa;
  font-size: 15px;
  font-weight: 550;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  transition: border-color .15s, background-color .15s, color .15s;
}
.chip span::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 1.5px solid #9f9888;
  border-radius: 2px;
  background: var(--white) center / 10px no-repeat;
  flex: none;
}
.chip input[type="radio"] + span::before { border-radius: 50%; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}
.chip input:checked + span::before {
  border-color: var(--white);
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 5.2l2.2 2.2L8.5 2.6' fill='none' stroke='%2313304f' stroke-width='1.8'/%3E%3C/svg%3E");
}
.chip input[type="radio"]:checked + span::before { background-image: none; box-shadow: inset 0 0 0 3px var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

.consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  margin: 6px 0 26px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); }
.consent a { color: var(--ink); }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.form-foot .btn { min-width: 230px; }
.form-foot p { margin: 0; font-size: 14px; color: var(--muted); }
.form-foot p a { color: var(--ink); font-weight: 650; text-decoration: none; white-space: nowrap; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn[aria-busy="true"] { pointer-events: none; opacity: .75; }
.btn[aria-busy="true"] .arrow { animation: nudge .8s ease-in-out infinite alternate; }
@keyframes nudge { to { transform: translateX(5px); } }

.form-status {
  display: none;
  margin-top: 22px;
  padding: 16px 18px;
  border-left: 3px solid var(--ink);
  background: var(--paper);
  font-size: 15px;
  color: var(--ink);
}
.form-status.is-visible { display: block; }
.form-status.is-error { border-left-color: var(--red); }
.form-status b { display: block; margin-bottom: 2px; }
.form-status .status-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.form-status .status-actions .btn { min-height: 44px; text-align: center; line-height: 1.25; }

/* devis en 3 étapes */
.wiz-progress, .wiz-nav { display: none; }
.js .wiz-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.wiz-progress li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 3px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  transition: border-color .3s, color .3s;
}
.wiz-progress li { min-width: 0; }
.wiz-progress li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wiz-progress b { flex: none; }
.wiz-progress b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--paper-2);
  font-size: 12px;
  color: var(--muted);
  transition: background-color .3s, color .3s;
}
.wiz-progress li.is-done, .wiz-progress li.is-current { border-top-color: var(--ink); color: var(--ink); }
.wiz-progress li.is-current b { background: var(--red); color: #fff; }
.wiz-progress li.is-done b { background: var(--ink); color: #fff; }

.wiz-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.wiz-step + .wiz-step { margin-top: 34px; }
.js .wiz-step + .wiz-step { margin-top: 0; }
.js .wiz-step:not(.is-active) { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .wiz-step.is-active { animation: step-in .35s ease both; }
}
@keyframes step-in { from { opacity: 0; transform: translateX(14px); } }
.wiz-legend { display: block; margin: 0 0 6px; padding: 0; font-size: 22px; font-weight: 800; font-stretch: 104%; color: var(--ink); }
.wiz-legend:focus { outline: none; }
.wiz-count { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.wiz-legend .req { font-style: normal; color: var(--red); }
.wiz-hint { margin: 0 0 16px; font-size: 14.5px; color: var(--muted); }
.wiz-step > .fieldset:first-of-type { margin-top: 18px; }
.opt { font-style: normal; font-weight: 400; color: var(--muted); }

.work-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.work-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 10px 10px 12px;
  background: #fdfcfa;
  text-align: center;
  cursor: pointer;
  user-select: none;
}
.work-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.wc-box {
  position: absolute;
  inset: 0;
  border: 1.5px solid #cdc7ba;
  border-radius: 2px;
  pointer-events: none;
  transition: border-color .15s, box-shadow .15s;
}
.wc-box::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5.2l2 2L8 2.8' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  opacity: 0;
  transform: scale(.5);
  transition: opacity .15s, transform .2s cubic-bezier(.2, .9, .3, 1.4);
}
.work-card:hover .wc-box { border-color: var(--ink); }
.work-card input:checked + .wc-box { border: 2px solid var(--ink); box-shadow: 0 0 0 3px rgba(19, 48, 79, .1); }
.work-card input:checked + .wc-box::after { opacity: 1; transform: none; }
.work-card input:focus-visible + .wc-box { outline: 2px solid var(--red); outline-offset: 3px; }
.wc-art { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 8%; background: var(--paper); }
.wc-label { font-size: 14.5px; font-weight: 650; line-height: 1.25; color: var(--ink); }
.wc-plus { width: 38%; height: auto; }
.wc-plus circle, .wc-plus path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.wiz-error { margin: -4px 0 14px; font-size: 14.5px; font-weight: 600; color: var(--red); }

.wiz-recap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: 8px 0 22px;
  padding: 12px 14px;
  background: var(--paper);
  border-left: 3px solid var(--ink);
  font-size: 14.5px;
  color: var(--ink);
}
.wiz-edit {
  padding: 0;
  border: 0;
  background: none;
  font: 600 14px var(--font);
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.wiz-step:not([data-step="1"]) .wiz-legend + .fieldset { margin-top: 18px; }
.js .wiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.wiz-nav .wiz-next { margin-left: auto; min-width: 200px; }
.wiz-step[data-step="3"].is-active ~ .wiz-nav { margin-top: 14px; }
.wiz-step[data-step="3"].is-active ~ .wiz-nav .wiz-prev { min-height: 44px; border-color: transparent; padding-left: 0; }

@media (forced-colors: active) {
  .work-card input:checked + .wc-box { border: 4px solid Highlight; }
  .wc-box::after { forced-color-adjust: none; }
}

/* ==========================================================================
   Pied de page
   ========================================================================== */

.site-footer {
  position: relative;
  background: var(--ink-deep);
  color: #a9b8c8;
  font-size: 15px;
}
.ridge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  width: 100%;
  height: clamp(40px, 7vw, 110px);
  margin-bottom: -1px;
}
.ridge path { fill: var(--ink-deep); }
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding: 56px 0 48px;
}
.site-footer .brand { color: var(--white); margin: 0 0 18px; }
.site-footer .brand-tag { color: #8ea2b7; }
.footer-main p { margin: 0; max-width: 30em; }
.footer-main h4 {
  margin: 4px 0 14px;
  font-size: 12px;
  font-weight: 650;
  font-stretch: 90%;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
}
.footer-main ul { margin: 0; padding: 0; list-style: none; }
.footer-main li { margin-bottom: 8px; }
.footer-main a { color: #d9e2eb; text-decoration: none; }
.footer-main a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
  color: #8193a7;
}

/* bandeau cookies (carte Google Maps) */
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 70;
  width: min(420px, calc(100vw - 40px));
  padding: 20px 22px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  box-shadow: 0 24px 60px -24px rgba(12, 34, 59, .5);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner { max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; }
.menu-open .cookie-banner { display: none; }
.cookie-open body { padding-bottom: calc(var(--cookie-h, 0px) + 40px); }
.cookie-title { margin: 0 0 6px; font-size: 16px; font-weight: 750; font-stretch: 100%; letter-spacing: 0; line-height: 1.3; color: var(--ink); }
.cookie-banner p { margin: 0 0 16px; }
.cookie-banner a { color: var(--ink); font-weight: 600; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-actions .btn { min-height: 46px; padding: 0 12px; font-size: 15px; background: var(--ink); color: var(--white); }
.cookie-actions .btn:hover { background: var(--ink-deep); }
@media (prefers-reduced-motion: no-preference) {
  .cookie-banner { animation: cookie-in .4s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes cookie-in { from { transform: translateY(16px); opacity: 0; } }

.linklike {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: #d9e2eb;
  cursor: pointer;
  text-align: left;
}
.linklike:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* barre d'action mobile */
.mobile-bar { display: none; }

/* ==========================================================================
   Page Mentions légales
   ========================================================================== */

.legal { background: var(--paper); padding: clamp(48px, 7vw, 96px) 0 clamp(96px, 12vw, 160px); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); font-stretch: 108%; letter-spacing: -.02em; line-height: 1.05; margin-bottom: 12px; }
.legal .back { display: inline-flex; gap: 8px; margin-bottom: 32px; color: var(--red); font-weight: 600; text-decoration: none; }
.legal .back:hover { text-decoration: underline; }
.legal .updated { color: var(--muted); font-size: 15px; margin-bottom: 48px; }
.legal section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal h2 { font-size: 22px; font-stretch: 104%; margin-bottom: 12px; }
.legal p, .legal li { font-size: 16.5px; }
.legal dl { display: grid; grid-template-columns: 200px 1fr; gap: 8px 20px; margin: 0; }
.legal dt { color: var(--muted); font-size: 15px; }
.legal dd { margin: 0; color: var(--ink); font-weight: 550; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1120px) {
  .main-nav { gap: 22px; }
  .header-phone { display: none; }
  .service { grid-template-columns: minmax(0, 160px) minmax(0, 1fr); gap: 22px; }
}

/* écrans moyens : chiffres clés empilés pour ne pas déborder sous le dessin */
@media (min-width: 961px) and (max-width: 1240px) {
  .hero-facts { grid-template-columns: 1fr; gap: 12px; }
  .hero-facts li, .hero-facts li:first-child {
    display: flex; gap: 8px; align-items: baseline;
    padding: 0 0 0 14px; border-left: 2px solid var(--red);
  }
  .hero-facts span { margin: 0; }
}

@media (max-width: 960px) {
  .services { grid-template-columns: minmax(0, 1fr); }
  .service { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 28px; }
  :root { --header-h: 66px; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 28px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(12, 34, 59, .3);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .main-nav a { font-size: 20px; font-weight: 650; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
  .main-nav a::after { display: none; }
  .main-nav .nav-extra { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
  .main-nav .nav-extra a { border: 0; padding: 0; font-size: 16px; }

  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "head" "copy" "art"; }
  .hero-copy { max-width: 640px; padding-top: 0; }
  .contact-aside { position: static; }
  .section-head { grid-template-columns: 1fr; }
  .about-grid, .area-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .map-card { max-width: 680px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .shot:first-child { grid-column: span 2; grid-row: auto; }
}

@media (min-width: 961px) {
  .main-nav .nav-extra { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .service { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 26px 0 28px; }
  .service-art { max-width: 340px; }
  .service h3 { font-size: 20px; }
  .hero-facts { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
  .hero-facts li { padding: 0 0 0 14px; border-left: 2px solid var(--red); }
  .hero-facts li:first-child { padding-left: 14px; border-left: 2px solid var(--red); }
  .hero-facts li { display: flex; gap: 8px; align-items: baseline; }
  .hero-facts span { margin: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
  .art .label, .art .leader-ext { display: none; }
  .legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
    margin: 0;
    padding: 14px 0 0;
    list-style: none;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
  }
  .legend li { display: flex; align-items: center; gap: 8px; }
  .legend b {
    display: grid; place-items: center;
    width: 20px; height: 20px; flex: none;
    border: 1.2px solid var(--red); border-radius: 50%;
    color: var(--red); font-size: 11px;
  }
  .row-2 { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .factsheet .row { grid-template-columns: 1fr; gap: 2px; }
  .steps { gap: 36px 16px; }
  .step-art { margin-bottom: 14px; }
  .steps h3 { font-size: 17px; }
  .steps p { font-size: 14.5px; line-height: 1.5; }
  .shot--todo { min-height: 180px; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery.gallery--trio {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 6px;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .gallery--trio::-webkit-scrollbar { display: none; }
  .gallery--trio .shot { scroll-snap-align: start; }
  .hero-facts .fact-rge { align-items: center; }
  .shot:first-child { grid-column: auto; grid-row: auto; }
  .lightbox img { max-width: 100vw; max-height: calc(100vh - 160px); }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .map-frame { aspect-ratio: 4 / 5; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 12px; }
  .form-foot .btn { width: 100%; }
  .work-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wiz-legend { font-size: 20px; }
  .wiz-progress li span { font-size: 12.5px; }
  .wiz-nav .wiz-next { min-width: 0; flex: 1; }
  html { scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom)); }

  .mobile-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .mobile-bar .btn { min-height: 50px; font-size: 15.5px; padding: 0 12px; }
  .cookie-banner { left: 12px; right: 12px; width: auto; bottom: calc(80px + env(safe-area-inset-bottom)); padding: 16px 16px 18px;
    max-height: calc(100vh - var(--header-h) - 100px); }
  .cookie-open body { padding-bottom: calc(var(--cookie-h, 0px) + 72px + 24px); }
}

/* écrans très bas (téléphone à l'horizontale, zoom 400 %) : bandeau compact, collé en bas */
@media (max-height: 480px) {
  .cookie-banner {
    left: 0; right: 0; bottom: 0; width: auto;
    z-index: 65;
    max-height: calc(100vh - var(--header-h));
    padding: 12px 14px 14px;
    border-left: 0; border-right: 0;
  }
  .cookie-title { display: none; }
  .cookie-banner p { margin-bottom: 10px; }
  .cookie-actions .btn { min-height: 44px; }
  .cookie-open body { padding-bottom: calc(var(--cookie-h, 0px) + 16px); }
}

@media (max-width: 360px) {
  .wiz-progress li:not(.is-current) span { display: none; }
}

@media (max-width: 340px) {
  .service-art { max-width: none; }
}

@media (max-width: 420px) {
  .brand-tag { display: none; }
  .brand-name { font-size: 17px; }
}

@media print {
  .site-header, .mobile-bar, .ridge, .form { display: none; }
}
