/* ============================================================
   M2M — Made to Measure · Intérieurs sur mesure
   style.css — feuille unique du site (aucun framework)
   ============================================================ */

/* -------- Polices auto-hébergées (WOFF2, font-display: swap) -- */
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2192, U+00A0-00A9, U+00AE-00FF;
}
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2192, U+00A0-00A9, U+00AE-00FF;
}
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair-500-ext.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF;
}
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2192, U+00A0-00A9, U+00AE-00FF;
}
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2192, U+00A0-00A9, U+00AE-00FF;
}
@font-face {
  font-family: "Mulish";
  src: url("fonts/mulish-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("fonts/mulish-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("fonts/mulish-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("fonts/mulish-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("fonts/mulish-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* -------- Jetons ---------------------------------------------- */
:root {
  --bg: #F3EEE7;
  --panel: #F7F4F0;
  --card: #FFFFFF;
  --ink: #223940;
  --ink-soft: #3D5259;
  --beige: #BAA68E;
  --beige-dark: #A38C6F;
  --beige-btn: #BAA68E;
  --orange: #B56223;
  --orange-deep: #B24B00;
  --stripe: #242E2F;
  --black-badge: #101113;
  --line: #BAA68E;
  --shadow: 0 10px 30px rgba(34, 57, 64, .08);
  --radius: 8px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Mulish", "Segoe UI", Arial, sans-serif;
  --wrap: 1290px;
  color-scheme: light;
}

/* -------- Socle ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--ink); margin: 0; }
p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap-wide { max-width: 1440px; margin: 0 auto; padding: 0 28px; }

/* -------- Sections communes ------------------------------------ */
.section { padding: 90px 0; }
.section-tight { padding: 60px 0; }

/* Titre de section encadré des filets */
.sec-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: center;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.15;
}
.sec-title::before, .sec-title::after {
  content: "";
  width: 72px;
  height: 1px;
  background: var(--line);
  flex: none;
}
.sec-sub {
  margin-top: 14px;
  text-align: center;
  font-weight: 700;
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--ink);
}
.sec-note {
  margin: 14px auto 0;
  text-align: center;
  font-weight: 700;
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--ink);
}
.txt-center { text-align: center; }
.lead { text-align: center; max-width: 780px; margin: 26px auto 0; }

/* -------- Boutons ---------------------------------------------- */
.btn[hidden] { display: none; }
.btn {
  display: inline-block;
  padding: 17px 30px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: center;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn-beige { background: var(--beige-btn); color: #FFF; }
.btn-beige:hover { background: var(--beige-dark); }
.btn-orange { background: var(--orange); color: #FFF; }
.btn-orange:hover { background: #96470D; }
.btn-white { background: #FFF; color: var(--ink); }
.btn-white:hover { background: var(--panel); }
.btn-ghost { border-color: #FFF; color: #FFF; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-dark-edge { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-dark-edge:hover { background: rgba(34,57,64,.06); }
.btn-row { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }

/* -------- En-tête / navigation --------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  padding: 26px 0;
  transition: background .25s, padding .25s, box-shadow .25s, color .25s;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.logo { display: inline-block; }
.logo .logo-svg { display: block; width: 148px; height: auto; transition: width .3s; }
.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  gap: 34px;
}
.main-nav .nav-cta { display: none; }
.main-nav a {
  position: relative;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 2px 14px;
  color: currentColor;
}
.main-nav a::after { /* filet de l'item actif */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transition: opacity .25s;
}
.main-nav a::before { /* triangle de l'item actif */
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%) scale(0);
  border: 7px solid transparent;
  border-top-width: 9px;
  border-bottom: 0;
  border-top-color: currentColor;
  transition: transform .25s;
}
.main-nav a[aria-current="page"]::after,
.main-nav a:hover::after { opacity: 1; }
.main-nav a[aria-current="page"]::before,
.main-nav a:hover::before { transform: translateX(-50%) scale(1); }

.header-cta { margin-left: 8px; }
.header.light { color: #FFF; }
.header.dark { color: var(--ink); }
.header.dark .btn-beige { background: var(--beige); color: #FFF; }
.header.dark .btn-beige:hover { background: var(--beige-dark); }
.header.dark .btn-ghost { border-color: transparent; }
.header.dark .header-cta { color: #FFF; background: transparent; }
.header.dark .btn { pointer-events: auto; }

/* En-tête compact collé au défilement (fond opaque lisible, logo réduit) */
.site-header.scrolled {
  padding: 8px 0;
  background: rgba(243, 238, 231, .96);
  color: var(--ink);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 rgba(34,57,64, .08);
}
.site-header.scrolled .logo-svg { width: 100px; }
.site-header.scrolled .btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.site-header.scrolled .header-cta { color: #FFF; }
.header .pointer { position: absolute; } /* flèche sous le CTA de la page étude */

/* burger (mobile) : 3 traits blancs alignés, croix propre quand ouvert */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: inherit; /* blanc sous l'écran, encre une fois collé — comme le logo */
  padding: 13px 10px;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  display: block;
  width: 24px; height: 2px;
  margin: 6px auto 0;
  background: currentColor;   /* blanc sur le héros, encre une fois collé */
  border-radius: 2px;
  transition: transform .3s, opacity .2s;
}
.nav-toggle::before { margin-top: 0; }
body.nav-open .nav-toggle span { opacity: 0; }
body.nav-open .nav-toggle::before { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle::after { transform: translateY(-8px) rotate(-45deg); }

/* -------- Diapositive d'accueil (héros) ------------------------ */
.hero {
  position: relative;
  height: clamp(600px, 96svh, 1020px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero::before { /* voile de lisibilité du texte sur photo */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34,57,64,.42) 0%, rgba(34,57,64,.34) 55%, rgba(34,57,64,.22) 100%);
  z-index: 1;
}
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.hero-slide.act { opacity: 1; }
.hero-slide picture { display: block; width: 100%; height: 100%; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
/* Vidéo d'ambiance du héros (accueil) : recouvre l'image de repli */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #FFF;
  max-width: 880px;
  padding: 0 24px;
}
.hero-eyebrow {
  font-size: clamp(17px, 1.8vw, 24px);
  font-weight: 400;
  letter-spacing: .06em;
  opacity: .92;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  color: #FFF;
  font-size: clamp(46px, 6.4vw, 96px);
  line-height: 1.06;
  margin-top: 10px;
}
.hero-title .thin { font-weight: 400; }
.hero-title .hero-sub,
.hero-sub {
  margin-top: 18px;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 400;
}
.hero-title .hero-sub { display: block; line-height: 1.35; font-family: var(--sans); letter-spacing: .06em; }
.hero .btn-row { margin-top: 44px; }
.hero-dots {
  position: absolute;
  z-index: 3;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.hero-dots button {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.45);
  transition: background .3s;
}
.hero-dots button[aria-pressed="true"] { background: #FFF; }

/* Fhéros des pages internes : même filtre que les maquettes (beige multiplié) */
.hero-tint-pro::before { opacity: 1; } /* filtre héros pros : opacité 1 dans la maquette */
.hero-tint::before { background: #BAA68E; opacity: .8; mix-blend-mode: multiply; }

/* Variante héros "page intérieure" (plus court) */
.hero-page { height: clamp(560px, 80svh, 880px); }
.hero-page .hero-title { font-size: clamp(40px, 5vw, 72px); }
.hero-page .hero-sub { font-size: clamp(17px, 1.7vw, 23px); }



/* -------- Grille des univers de projet (accueil) --------------- */
.univ-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 46px 20px;
  max-width: 1200px;
  margin: 70px auto 0;
}
.univ-grid > li:not(.univ-card) { display: contents; }
.univ-card { display: flex; flex-direction: column; width: calc((100% - 60px) / 4); color: var(--ink); text-decoration: none; }
.univ-head {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}
.univ-num {
  height: 40px;
  width: auto;
  display: block;
  justify-self: start;
  color: var(--beige);
}
.univ-name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.univ-card .univ-media { display: block; }
.univ-card img.univ-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 286 / 360;
  object-fit: cover;
  border-radius: 5px 5px 0 0;
  transition: transform .5s;
}
.univ-card:hover img.univ-photo {
  transform: scale(1.02);
}
.univ-desc {
  background: var(--card);
  border-radius: 0 0 5px 5px;
  padding: 18px 18px 20px;
  margin-top: 0;
  font-size: 14.5px;
  line-height: 1.55;
  text-align: center;
  flex: 1;
}
.section-shaded { background: var(--panel); }

/* -------- Mosaïque "de la réflexion à la pose" ------------------ */
.collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 1250px;
  margin: 70px auto 0;
}
.collage-left { position: relative; }
.collage-left > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 6px;
}
.collage-left .btn { margin-top: 26px; }
.collage-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}
.collage-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.collage-right .span2 { grid-column: span 2; }

/* -------- Bloc showrooms & matériauthèque ---------------------- */
.mat-blok {
  display: grid;
  grid-template-columns: 285px 285px 1fr;
  gap: 10px;
  max-width: 1120px;
  margin: 64px auto 0;
}
.mat-blok img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: 6px;
}
.mat-panel {
  background: var(--ink);
  border-radius: 6px;
  color: #FFF;
  padding: 34px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.mat-panel .big {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(54px, 5.4vw, 78px);
  line-height: 1;
}
.mat-panel .foot { font-size: 16.5px; }
.mat-card {
  background: rgba(255,255,255,.14);
  border-radius: 6px;
  padding: 22px 26px;
  font-size: 15.5px;
  line-height: 1.6;
}
.mat-blok-note { max-width: 1120px; margin: 26px auto 0; display: flex; justify-content: center; }
.mat-blok-note .btn { flex: none; }

/* -------- Section "La méthode M2M" ----------------------------- */
.methode {
  background: var(--panel);
  padding: 90px 0 70px;
}
.methode-inner { max-width: 1150px; margin: 0 auto; padding: 0 28px; }
.methode-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 70px;
  margin-top: 64px;
  align-items: start;
}
.dl-list { display: grid; gap: 24px; }
.dl-row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: baseline; }
.dl-row dt {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  color: var(--beige-dark);
  font-size: 21px;
  white-space: nowrap;
}
.dl-row dd { margin: 0; font-weight: 400; font-size: 15px; color: var(--ink-soft); }
.methode-photos {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: 12px;
}
.methode-photos img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 6px;
}
.methode-photos .wide { grid-column: span 2; height: 240px; }
.ba-title {
  margin-top: 56px;
  text-align: center;
  font-family: var(--sans);
  font-weight: 700;
  color: var(--ink);
  font-size: clamp(17px, 1.6vw, 21px);
}
/* … et format H2 du site sur la fiche projet */
.methode-boxed .ba-title {
  margin-top: 56px;
  text-align: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.15;
  color: var(--ink);
}

/* -------- Avant / après : comparateur interactif à curseur -------- */
.ba {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 836 / 941;
  margin: 26px auto 0;
  border-radius: 6px;
  overflow: hidden;
  user-select: none;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ba-after { clip-path: inset(0 0 0 var(--pos, 50%)); }
/* La poignée transparente couvre tout le visuel : glisser ou clavier */
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.ba-cursor {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: var(--pos, 50%);
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #FFF;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  pointer-events: none;
}
.ba-cursor svg { display: block; }
.ba-cursor::before {
  content: "";
  position: absolute;
  top: -120vh;
  bottom: -120vh;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: #FFF;
  box-shadow: 0 0 0 1px rgba(16, 17, 19, .18);
}
.ba-badge {
  position: absolute;
  top: 16px;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #FFF;
  border-radius: 4px;
  z-index: 4;
  pointer-events: none;
}
.ba-badge-before { left: 16px; background: var(--black-badge); }
.ba-badge-after { right: 16px; background: var(--orange-deep); }
.ba:focus-within { outline: 3px solid var(--orange); outline-offset: 2px; }
/* Comparateur de la méthode (salon La Roche-sur-Yon) : photo « avant »
   dans un picture, photos de cadrages différents recadrées dans un même cadre */
.ba-pic { position: absolute; inset: 0; display: block; }
.ba-pic .ba-img { position: absolute; }
.ba-salon { width: min(900px, 100%); aspect-ratio: 4 / 3; }
.ba-salon .ba-img { object-position: center 45%; }
.ba-salon .ba-after { object-position: center 42%; }

/* -------- Bandeau CTA ------------------------------------------ */
.cta {
  display: grid;
  grid-template-columns: 32% 1fr;
  overflow: hidden;
  color: #FFF;
  margin-top: 0;
}
.cta-copy { padding: 56px clamp(30px, 4.5vw, 66px); min-height: 400px; }
.cta-panel { position: relative; overflow: hidden; }
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(36,42,43,.62) 0%, rgba(36,42,43,.80) 100%);
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-portrait { position: relative; margin: 0; min-height: 380px; }
.cta-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Ombré bas de la photo, comme la maquette */
.cta-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,17,19,.16) 0%, rgba(16,17,19,.28) 45%, rgba(16,17,19,.52) 100%);
}
.cta-portrait figcaption { position: absolute; z-index: 2; left: clamp(22px, 3vw, 44px); bottom: clamp(20px, 2.6vw, 38px); }
.cta-portrait .name, .cta-portrait .role { display: block; }
.cta-portrait .name { font-size: 21px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cta-portrait .role { margin-top: 7px; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; opacity: .95; }
.cta-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 56px clamp(30px, 4.5vw, 66px);
}
.cta-copy h2 {
  color: #FFF;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(26px, 2.9vw, 40px);
  line-height: 1.2;
  max-width: 620px;
}
.cta-copy p { margin-top: 18px; font-size: 17.5px; opacity: .95; }
.cta-copy .btn-row { justify-content: flex-start; margin-top: 34px; gap: 20px; }

/* -------- Pied de page ------------------------------------------ */
.site-footer {
  background: #F1F1F1;
  color: var(--ink);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr;
  gap: 50px;
  padding: 66px 0 60px;
  max-width: 1050px;
  margin: 0 auto;
}
.f-logo .logo .logo-svg { width: 68px; }
.f-rating { display: flex; align-items: center; gap: 10px; margin-top: 26px; }
.f-score { font-weight: 800; font-size: 15px; }
.f-social { display: flex; gap: 16px; margin-top: 24px; }
.f-social a { display: inline-flex; width: 26px; height: 26px; color: #161616; }
.f-social svg { width: 100%; height: 100%; }
.footer-grid h3 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 15.5px;
  letter-spacing: .02em;
  margin-bottom: 22px;
}


.f-lines { display: grid; gap: 5px; font-size: 15.5px; margin: 0; } /* margin UA du dl alignée sur la colonne voisine */
.f-lines dt { font-weight: 800; float: left; margin-right: 10px; }
.f-lines dd { margin: 0; }
/* Lignes groupées : titre de groupe détaché du bloc qui suit (retour SEO 04/11) */
.f-lines .f-grp { margin-top: 16px; }
.f-links { display: grid; gap: 10px; font-size: 15.5px; }
.f-links a:hover { text-decoration: underline; }
.footer-stripe {
  background: var(--stripe);
  color: rgba(255,255,255,.9);
  text-align: center;
  font-size: 13.5px;
  padding: 16px 20px;
}

/* -------- Filtres (réalisations / professionnels) --------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  padding: 8px 0 0;
}
.chip {
  position: relative;
  border: none;
  background: transparent;
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 500;
  color: var(--ink);
  padding: 10px 14px 22px;
  transition: color .25s;
}
.chip::after { /* triangle + filet de l'onglet actif */
  content: "";
  position: absolute;
  left: 50%; bottom: 4px;
  transform: translateX(-50%) scale(0);
  border: 7px solid transparent;
  border-top-width: 9px;
  border-bottom: 0;
  border-top-color: var(--ink);
  transition: transform .25s;
}
.chip::before {
  content: "";
  position: absolute;
  left: 50%; bottom: 14px;
  width: 0;
  transform: translateX(-50%);
  height: 1px;
  background: var(--ink);
  transition: width .25s;
}
.chip:hover { color: var(--beige-dark); }
.chip[aria-pressed="true"] { font-weight: 700; }
.chip[aria-pressed="true"]::before { width: 70%; left: 50%; transform: translateX(-50%); }
.chip[aria-pressed="true"]::after { transform: translateX(-50%) scale(1); }

/* -------- Grille des réalisations (mosaïque) -------------------- */
.mosaic {
  background: var(--card);
  border-radius: 6px;
  padding: 18px;
  max-width: 1250px;
  margin: 40px auto 0;
}
.mosaic-item.hide { display: none; }
.mosaic-item a { display: block; position: relative; width: 100%; height: 100%; }
/* Page Professionnels : 3 cards par rangée, comme la maquette */
.pro-3 .univ-card { width: calc(33.333% - 14px); }
.pro-3 .univ-head .univ-num { height: 40px; width: auto; }
@media (max-width: 1000px) {
  .pro-3 .univ-card { width: calc(50% - 10px); }
}
@media (max-width: 640px) {
  .pro-3 .univ-card { width: 100%; max-width: none; }
}
.univ-card.hide { display: none; }
/* Blocs métiers cliquables (activent le tag correspondant) */
.pro-3 .univ-card { cursor: pointer; }
.pro-3 .univ-card:focus-visible { outline: 2px solid var(--beige-dark); outline-offset: 3px; }

/* Page Réalisations : mosaïque selon maquette 4 colonnes */
.section-rea { background: var(--card); padding-top: 0; }
.filters-bar {
  position: sticky;
  top: 0;
  z-index: 35;
  padding: 0 max(20px, 2vw);
  transition: padding .25s, box-shadow .25s, top .25s;
}
body.hdr-sticky .filters-bar { top: 68px; } /* passe sous l'en-tête compact */
.filters-bar.stuck {
  padding-top: 8px;
  padding-bottom: 8px;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 rgba(34,57,64,.08);
}
.filters-bar.stuck .chip { padding: 2px 4px 12px; }
.filters-bar.stuck .filters { margin-top: 0; }
.filters-bar .filters, .section-rea .filters {
  justify-content: center;
  gap: 8px 30px;
  max-width: 1236px;
  margin: 0 auto;
  padding: 0;
}
.section-rea .chip {
  font-size: clamp(15px, 1.18vw, 20px);  /* même taille collée ou non, resserrée */
  font-weight: 400;
  color: var(--ink);
  padding: 6px 2px 20px;
}
.section-rea .chip[aria-pressed="true"] { font-weight: 600; }
.section-rea .chip::before { /* filet actif : géométrie du menu */
  bottom: 2px;
  height: 1px;
}
.section-rea .chip[aria-pressed="true"]::before { width: 100%; }
.section-rea .chip::after { /* triangle presque collé au filet, comme le menu */
  bottom: -7px;
  border-width: 7px;
  border-top-width: 9px;
  border-bottom: 0;
  border-top-color: var(--ink);
}
.mosa-rea { max-width: 1236px; margin: 0 auto; }
.section-rea .mosaic { background: none; border-radius: 0; padding: 0; max-width: 1236px; margin-top: 40px; }
.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 300px;
  gap: 17px;
  grid-auto-flow: dense;
}
.mosaic-item { position: relative; overflow: hidden; margin: 0; width: 100%; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
/* Bibliothèque et meuble TV : cadre paysage recentré sur le meuble bas et le téléviseur */
.mosaic-item.rea-biblio-tv img { object-position: center 55%; }
.mosaic-item:hover img { transform: scale(1.03); }
.mosaic-item .cap {
  position: absolute;
  left: 11.5%; right: 11.5%; bottom: 14px;
  margin: 0;
  padding: 21px 16px;
  color: #FFF;
  font-size: 14.5px;
  line-height: 1.3;
  text-align: center;
  background: rgba(185, 174, 159, .94); /* beige plat du bandeau du PDF REA_2 */
  opacity: 0;
  transition: opacity .35s;
}
.mosaic-item .cap-txt { position: relative; z-index: 1; display: inline-block; }
.mosaic-item:hover .cap, .mosaic-item:focus-within .cap { opacity: 1; }
.pos-a2 { grid-column: span 2; grid-row: span 2; }
.pos-w { grid-column: span 2; }
.pos-t { grid-row: span 2; }

/* -------- Page "Réalisation Cécile B." ------------------------- */
.hero-real::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34,57,64,.25), rgba(34,57,64,.05) 60%);
  z-index: 1;
}
/* Le panel méthode de la maquette = boîte conteneur (page projet) */
.methode-boxed { max-width: 1234px; margin: 40px auto 100px; }

.quote-card {
  position: relative;
  z-index: 3;
  background: rgba(247, 244, 240, .92);
  border-radius: 6px;
  color: var(--ink);
  max-width: 460px;
  padding: 44px 44px 44px 28px;
  text-align: left;
}
.quote-in { border-left: 3px solid #6F6F6F; padding-left: 26px; }
.quote-card h1 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.2;
  margin: 0;
}
.quote-card .eyebrow {
  margin-top: 7px;
  font-size: 15px;
  color: var(--ink-soft);
}
.quote-card .price {
  margin-top: 12px;
  font-weight: 800;
  font-size: 25px;
}
.quote-card .sep { width: 2px; display: none; }
.stars { display: inline-flex; gap: 4px; margin-top: 10px; color: var(--orange); }
.stars svg { width: 17px; height: 17px; }
.quote-card blockquote {
  margin: 14px 0 0;
  padding: 0;
  border: 0; /* le liseré porte sur tout le contenu via .quote-in */
  font-family: var(--sans);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.hero-real .hero-content-2 {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 130px;
}
.cta-start { text-align: center; margin-top: 46px; }

/* -------- Retour portfolio / projets précédent-suivant ---------- */
.probar {
  max-width: 1292px;
  margin: 26px auto 0;
  padding: 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.probar a { color: var(--ink); }
.probar-back { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.probar a:hover { color: var(--beige-dark); }
.probar-arrows { display: flex; gap: 26px; }
.probar-arrows a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.probar-arrows svg { flex: none; }

/* -------- Étapes de process ------------------------------------- */
.steps {
  max-width: 1000px;
  align-self: start;      /* première étape calée en haut de la photo de droite */
  display: grid;
  gap: 52px;
}
.step {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 26px;
  position: relative;
  padding-left: 8px;
}
.step .icon {
  width: 92px;
  height: 92px;
  object-fit: contain;
  padding: 0;
  border: none;
  border-right: 1px solid rgba(34,57,64,.35); /* simple trait vertical à droite du picto */
}
.step h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17.5px;
  color: var(--beige-dark);
  letter-spacing: .02em;
}
.step p { margin-top: 8px; max-width: 560px; font-size: 15.5px; line-height: 1.55; }
.process-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
  align-items: start;
  margin-top: 60px;
}
.process-photos { display: grid; gap: 16px; }
.process-photos img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 6px;
}
.process-photos img:nth-child(1) { height: 222px; }
.process-photos img:nth-child(2) { height: 188px; }
.process-photos img:nth-child(3) { height: 202px; }
.process-photos img:nth-child(4) { height: 152px; }

/* -------- Cartes témoignages -------------------------------------- */
.testis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--card);
  border-radius: 6px;
  max-width: 1240px;
  margin: 64px auto 0;
  padding: 2px;
}
.testi {
  background: var(--panel);
  display: flex;
  flex-direction: column;
}
.testi-body { padding: 30px 24px 26px; display: grid; justify-items: center; text-align: center; gap: 4px; }
.testi .stars { margin-bottom: 16px; margin-top: 0; }
.testi blockquote { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.testi .who { margin-top: 16px; font-weight: 800; font-size: 15.5px; }
.sf-avis .who-sub { font-size: 12.5px; letter-spacing: .08em; color: var(--beige-dark); text-transform: uppercase; margin-top: 4px; }
.testi > img {
  width: 100%;
  aspect-ratio: 335/262;
  object-fit: cover;
  margin-top: auto;
}

/* -------- Showrooms : photos, cartes ville ------------------------ */
.showroom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1290px;
  margin: 64px auto 0;
}
.showroom-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  aspect-ratio: 3/4;
}
.cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  max-width: 1160px;
  margin: 70px auto 0;
}
.city-card { border-radius: 6px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.city-map { position: relative; }
.city-map img { width: 100%; height: 340px; object-fit: cover; }
.city-map .pin {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--orange);
}
.city-map .pin svg { width: 54px; height: 54px; filter: drop-shadow(0 4px 6px rgba(0,0,0,.25)); }
.city-band {
  background: var(--beige);
  color: #FFF;
  padding: 30px 34px 34px;
}
.city-band h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 25px;
  color: #FFF;
}
.city-band .adr { margin-top: 14px; font-size: 15.5px; }
.city-band a { text-decoration: underline; text-underline-offset: 3px; }
.city-tags {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
  font-size: 16.5px;
}
.city-tags a { font-weight: 700; }

/* -------- Page Étude de projet (formulaire) ------------------------ */
.study-heading {
  text-align: center;
  padding: 150px 0 0;
}
.study-eyebrow {
  color: #9A9A9A;
  letter-spacing: .08em;
  font-size: 21px;
  font-weight: 400;
}
.study-heading h1 { margin-top: 46px; }
.assur {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1120px;
  margin: 56px auto 0;
}
.assur-card {
  background: #E7E0D6;
  border-radius: 6px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.assur-card svg { width: 40px; height: 40px; flex: none; color: var(--ink); }
.assur-card p { font-weight: 700; font-size: 15.5px; letter-spacing: .04em; text-transform: uppercase; line-height: 1.45; }
/* -------- Étude de projet : assistant pas-à-pas (v2) ---------------- */
.form-shell {
  background: var(--panel);
  border: 1px solid rgba(34,57,64,.12);
  border-radius: 10px;
  max-width: 1120px;
  margin: 44px auto 70px;
  padding: 36px 44px 48px;
}
.tabs {
  display: flex;
  justify-content: center;
  margin: 0 auto 30px;
  gap: 6px;
  padding: 5px;
  background: var(--page);
  border: 1px solid rgba(34,57,64,.12);
  border-radius: 8px;
  width: 100%;
  max-width: 460px;
}
.tabs .tab { flex: 1; justify-content: center; }
.tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 26px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 17.5px;
  font-weight: 600;
  font-family: var(--sans);
  transition: background .2s, color .2s;
}
.tab svg { width: 24px; height: 24px; }
.tab[aria-selected="true"] { background: var(--beige); color: #FFF; }
.tab[aria-selected="false"]:hover { color: var(--ink); background: rgba(34,57,64,.06); }

.wizard-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.wizard-count {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-soft);
}
.wizard-count b { color: var(--ink); }
.progress {
  height: 5px;
  background: rgba(34,57,64,.10);
  border-radius: 99px;
  overflow: hidden;
  margin: 12px 0 26px;
}
.progress span {
  display: block;
  height: 100%;
  width: 16.67%;
  background: var(--beige);
  border-radius: 99px;
  transition: width .3s ease;
}
.fstep { border: 0; margin: 0; padding: 0; display: none; }
fieldset.fstep { border: none; padding: 0; margin: 0; min-width: 0; }
.fstep:not([hidden]) { display: block; animation: wfstep .25s ease; }
@keyframes wfstep { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.flegend {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 25px;
  color: var(--ink);
  padding: 0;
  border: none;
  width: 100%;
}
.flegend .q {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--beige);
  color: #FFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0;
}
.fhint { font-size: 15.5px; color: var(--ink-soft); margin: 10px 0 20px; width: 100%; max-width: none; }
.fhint .opt { color: var(--ink-soft); opacity: .75; }
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile .tile-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 104px;
  padding: 16px 12px;
  background: #FFF;
  border: 1px solid rgba(34,57,64,.18);
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.tile svg { width: 30px; height: 30px; }
.tile:hover .tile-box { border-color: var(--ink); }
.tile input:checked + .tile-box {
  border-color: var(--beige);
  background: rgba(186,166,142,.12);
  box-shadow: inset 0 0 0 1px var(--beige);
}
.tile input:checked + .tile-box svg { color: var(--beige-dark); }
.tile input:focus-visible + .tile-box { outline: 3px solid var(--orange); outline-offset: 2px; }
.tile-check {
  position: absolute; top: 8px; right: 8px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--beige);
  color: #FFF;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
  opacity: 0; transform: scale(.5);
  transition: opacity .15s, transform .15s;
}
.tile input:checked + .tile-box .tile-check { opacity: 1; transform: scale(1); }
.fchips { display: flex; flex-wrap: wrap; gap: 10px; }
.fchip { position: relative; display: inline-flex; }
.fchip input { position: absolute; opacity: 0; }
.fchip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #FFF;
  border: 1px solid rgba(34,57,64,.18);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-soft);
  transition: border-color .2s, background .2s, color .2s;
}
.fchip:hover span { border-color: var(--ink); color: var(--ink); }
.fchip input:checked + span { background: var(--beige); color: #FFF; border-color: var(--beige); font-weight: 600; }
.fchip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.coord-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.coord-grid .full { grid-column: 1 / -1; }
.flabel {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink);
  margin-bottom: 7px;
}
.flabel .opt { font-weight: 400; color: var(--ink-soft); letter-spacing: 0; }
.flabel .req { color: var(--beige-dark); }
.finput {
  width: 100%;
  padding: 11px 14px;
  background: #FFF;
  border: 1px solid rgba(34,57,64,.18);
  border-radius: 6px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  margin-top: 0;
  transition: border-color .2s, box-shadow .2s;
}
.finput::placeholder { color: #ABABAB; }
.finput:focus { outline: 2px solid var(--beige); outline-offset: 0; border-color: var(--beige); }
.finput[aria-invalid="true"] { border-color: #A8332A; }
textarea.finput { min-height: 100px; resize: vertical; line-height: 1.5; max-width: none; }
.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px;
  background: #FFF;
  border: 1.5px dashed rgba(34,57,64,.3);
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.dropzone svg { width: 24px; height: 24px; color: var(--ink-soft); }
.dropzone strong { font-size: 14.5px; font-weight: 600; }
.dropzone small { font-size: 12.5px; color: var(--ink-soft); }
.dropzone:hover { border-color: var(--ink); }
.dropzone.drag { border-color: var(--beige); background: rgba(186,166,142,.12); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-soft); }
.file-list li { display: flex; align-items: center; gap: 8px; }
.file-list li::before { content: "•"; color: var(--beige); }
.consent {
  display: flex;
  gap: 18px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(34,57,64,.12);
  align-items: flex-start;
}
.consent .ctext { font-weight: 400; font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); }
.switch { position: relative; flex: none; width: 62px; height: 34px; background: #FFF; border: 1px solid rgba(34,57,64,.25); border-radius: 24px; }
.switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.switch .knob { position: absolute; top: 4px; left: 5px; width: 26px; height: 26px; border-radius: 50%; background: #FFF; box-shadow: 0 2px 8px rgba(0,0,0,.22); transition: transform .25s, background .25s; }
.switch input:checked ~ .knob { transform: translateX(26px); background: var(--beige); }
.switch input:focus-visible ~ .knob { outline: 3px solid var(--orange); }
.switch input[aria-invalid="true"], .switch.invalid { border-color: #A8332A; }
.consent a { color: var(--beige-dark); font-weight: 600; }
.wizard-nav { display: flex; gap: 12px; margin-top: 30px; }
form.wizard .btn-primary {
  background: var(--beige);
  color: #FFF;
  margin-left: auto;
  border-radius: 6px;
  padding: 13px 30px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: .06em;
}
form.wizard .btn-primary:hover { background: var(--beige-dark); }
form.wizard .btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(34,57,64,.2);
  border-radius: 6px;
  padding: 13px 26px;
  font-size: 15px;
}
form.wizard .btn-secondary:hover { border-color: var(--ink); background: rgba(34,57,64,.05); }
.err { display: none; font-size: 13px; font-weight: 500; color: #A8332A; margin: 8px 0 0; }
.err.show { display: block; }
.form-error-summary {
  margin: 0 0 20px;
  padding: 12px 16px;
  background: #F6E4E1;
  border: 1px solid #A8332A;
  border-radius: 6px;
  font-size: 14px;
  color: #7C2D1E;
  font-weight: 500;
}
[data-alyxo-message]:empty { display: none; }
[data-alyxo-message] {
  max-width: 460px;
  margin: 18px 0 0;
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 15px;
}
[data-alyxo-message]:not(:empty) { background: #DDEDE2; color: #1F5B38; }

/* -------- Savoir-faire : conception + fabrication ------------------- */
.sav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  max-width: 1234px;
  margin: 64px auto 0;
}
.sav-col { display: grid; gap: 15px; min-width: 0; }
.sav-col:last-child { grid-template-rows: 379px 494px; }
.sav-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sav-big { height: 614px !important; }
.sav-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.sav-pair picture { display: block; min-width: 0; }
.sav-pair img { height: 259px; }
.sav-last { height: 494px; }
.sav-last-pic { display: block; }
.sav-over { position: relative; margin: 0; }
.sav-over img { width: 100%; display: block; }
.glass { /* cartouche translucide des maquettes (blanc cassé posé sur photo, photo visible derrière) */
  background: rgba(248, 246, 243, .78);
  color: var(--ink);
  font-weight: 400;
  text-align: center;
}
.sav-over .glass {
  position: absolute;
  left: 20.4%; top: 27.5%; width: 59.2%;
  padding: 22px 24px;
  font-size: 15.5px;
  line-height: 1.6;
}
/* Cartouche du bloc Fabrication : même style, posé sur la photo (comme Réflexion) */
.fab-over { position: relative; margin: 0; }
.fab-over img { width: 100%; display: block; }
.fab-over .glass {
  position: absolute;
  left: 9%; right: 9%; width: auto;
  top: 50%;
  transform: translateY(-50%);
  padding: 26px 30px;
  font-size: 15.5px;
  line-height: 1.6;
}
.fab-over .glass p { margin: 0; }
.fab-over .glass p + p { margin-top: 10px; }
/* Bloc Showrooms & matériauthèque (page savoir-faire) */
.sfsho-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.72fr;
  gap: 15px;
  max-width: 1128px;
  margin: 64px auto 0;
  position: relative;
}
.sfsho-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sfsho-panel {
  background: #78593F;
  color: #FFF;
  padding: 56px 40px 48px;
  display: block;
}
.sfsho-copy { /* texte directement sur le taupe, sans encadré */
  margin: 44px 0 0;
  padding: 0;
  font-size: 15.5px;
  line-height: 1.7;
}
.sfsho-copy p { margin: 0; }
.sfsho-copy strong { font-weight: 700; }
/* Bloc Fabrication, montage & pose (page savoir-faire) */
.fab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  max-width: 1234px;
  margin: 64px auto 0;
  position: relative;
}
.fab-col { display: grid; gap: 15px; min-width: 0; }
.fab-col-l { grid-template-rows: 577px 288px; }
.fab-pic { display: block; height: 100%; }
.fab-col-r { grid-template-rows: 399px 466px; }
.fab-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Avis clients de la page savoir-faire (cards séparées, photo collée) */
.sf-avis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto 200px;
  column-gap: 17px;
  row-gap: 0;         /* photo collée à sa card */
  max-width: 1128px;
  margin: 56px auto 0;
}
.sf-card {
  margin: 0;
  grid-row: span 2;
  display: grid;
  grid-template-rows: subgrid; /* les 4 cartes et leurs photos alignées */
}
.sf-card-body {
  background: rgba(255,255,255,.34);
  border-radius: 12px 12px 0 0;
  padding: 28px 28px 24px;
  display: grid;
  justify-items: center;
  align-content: start;
  align-self: stretch;
  text-align: center;
}
.sf-card .stars { margin: 0; gap: 4px; }
.sf-card .stars svg { width: 12px; height: 12px; }
.sf-card blockquote {
  margin: 16px 0 0;
  font-size: 15.5px;
  font-style: normal;
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.62;
  color: var(--ink-soft);
}
.sf-card .who {
  margin-top: 14px;
  font-weight: 800;
  font-size: 13.5px;
  color: var(--ink);
}
.sf-card .who::after { /* petit filet beige sous le nom */
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: var(--beige);
  margin: 11px auto 0;
}
.sf-card > img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0 0 12px 12px;
}


/* -------- Page Showrooms : collage maquette + promo +200 ------------- */
.sho-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; max-width: 1224px; margin: 64px auto 0; }
.sho-col { display: grid; gap: 13px; min-width: 0; }
.sho-col picture { display: block; min-width: 0; height: 100%; }
.sho-col img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sho-col-l { grid-template-rows: 708px 492px; }
.sho-col-r { grid-template-rows: 619px 583px; }
/* comme le chiffre de l'accueil : blanc, sans, clamp 54-78 */
.sho-promo { grid-column: 1 / -1; margin-top: 24px; }.sho-promo-panel { background: #213840; color: #FFF; padding: 30px 40px 34px; }
.sho-promo-top { display: flex; align-items: center; gap: 44px; }
.sho-big {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(54px, 5.4vw, 78px);
  line-height: 1;
  color: #FFF;
  margin: 0;
}
.sho-foot { margin: 0; flex: 1; font-size: 17.5px; line-height: 1.55; max-width: 720px; }
.sho-cta { margin: 24px 0 0 !important; justify-content: flex-start !important; }

/* Adresses : cartes OpenStreetMap (maquette) */
/* cartes = visuels maquette (tag photo + repère doré inclus dans l'image) */
.cities-pro { grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1224px; margin: 0 auto; }
.addr-sec { padding-top: 6px; }
section[aria-labelledby="visuel-showrooms"] { padding-bottom: 10px; }
.cities-pro .sho-map { display: block; width: 100%; height: auto; object-fit: cover; }
/* Vignette intérieure incrustée dans le plan (emplacement de la photo du visuel) */
.city-media { position: relative; }
.city-media .sho-map-photo {
  position: absolute;
  z-index: 1;
  left: 24.3%;
  top: 7%;
  width: 24.2%;
  height: 28.45%;
  display: block;
  border-radius: 0;
  overflow: hidden;
}
.city-media .sho-map-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Carte Paris : même principe, emplacement propre à ce visuel */
.city-media .sho-map-photo.photo-paris-16 {
  left: 21.7%;
  top: 17.8%;
  width: 22.9%;
  height: 28.2%;
}
.cities-pro .city-band { background: #B9A68E; color: #FFF; padding: 24px 30px 30px; }
.cities-pro .city-band h3 { font-family: var(--sans); font-weight: 500; font-size: 26px; color: #FFF; margin: 0; }
.cities-pro .adr { margin: 10px 0 0; font-size: 17px; }
.cities-pro .city-btns { display: flex; flex-wrap: wrap; gap: 14px; margin: 20px 0 0; }
.cities-pro .city-btn {
  padding: 11px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #FFF;
  text-decoration: none;
}
.cities-pro .city-btn:hover { background: rgba(255,255,255,.14); }

/* -------- Bandeau cookies ----------------------------------------- */
.cookiebar {
  position: fixed;
  z-index: 90;
  left: 24px;
  right: 24px;
  bottom: 24px;
  max-width: 620px;
  background: #FFF;
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(34,57,64,.28);
  padding: 28px 30px;
  display: grid;
  gap: 16px;
}
.cookiebar[hidden] { display: none; }
.cookiebar p { font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); }
.cookiebar a { text-decoration: underline; }
.cookiebar .btn-row { margin: 0; gap: 12px; }
.cookiebar .btn { padding: 12px 22px; }

/* -------- Révélations au défilement ------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero-slide { transition: none; }
}

/* -------- Mentions légales ----------------------------------------- */
.legal-body { max-width: 860px; margin: 40px auto 0; display: grid; gap: 20px; color: var(--ink-soft); }
.legal-body h2 { font-size: 24px; margin-top: 26px; }

/* ============================================================
   Responsive — tablette
   ============================================================ */
@media (max-width: 1100px) {
  .univ-card { width: calc((100% - 18px) / 2); }
  .mat-blok { grid-template-columns: 1fr 1fr; }
  .mat-panel { grid-column: span 2; }
  .testis { grid-template-columns: repeat(2, 1fr); }
  .header-inner { gap: 22px; }
  .main-nav ul { gap: 26px; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cta-inner { grid-template-columns: 240px 1fr; gap: 36px; }
  .form-shell { padding: 30px 24px 40px; margin-bottom: 50px; }
  .tiles { gap: 14px; }
  .tabs { flex-wrap: wrap; }
}

/* ============================================================
   Version mobile — non maquettée, déclinaison en cohérence
   ============================================================ */
/* -------- Intro présentation (accueil, texte SIO validé) -------- */
.intro { padding-top: 64px; }
.intro-text {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(15px, 1.35vw, 16.5px);
  line-height: 1.75;
  color: var(--ink);
}

/* -------- Fil d'Ariane ---------------------------------------- */
.crumbs { max-width: 1200px; margin: 0 auto; padding: 20px 24px 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; padding: 0; }
.crumbs li { font-size: 12.5px; letter-spacing: .05em; font-weight: 600; }
.crumbs li + li::before { content: "›"; margin-right: 10px; opacity: .45; }
.crumbs a { color: var(--ink); opacity: .72; text-decoration: none; }
.crumbs a:hover { opacity: 1; text-decoration: underline; }
.crumbs li[aria-current="page"] { color: var(--beige-dark); opacity: .95; }

.rdv-note {
  margin: 8px 0 18px;
  padding: 12px 16px;
  border-radius: 6px;
  background: rgba(185, 166, 142, .16);
  color: var(--ink);
  font-size: 15px;
}
.univ-name { margin: 0; }
.univ-card:hover .univ-name { color: var(--beige-dark); }
.univ-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.steps-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 46px;
  max-width: 1180px;
  margin: 46px auto 40px;
}
.steps-3.duo { grid-template-columns: 1fr 1fr; max-width: 1050px; }
/* Savoir-faire : titres des 4 volets centrés (retour client 10/11) */
.steps-3.duo h3 { text-align: center; }
/* Accueil : titres des 3 étapes centrés (retour client 05/11) */
section[aria-labelledby="reflexion"] .steps-3 h3 { text-align: center; }
.steps-3 h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(19px, 1.9vw, 24px);
  color: var(--ink);
}
.steps-3 p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink); }
.link-arrow {
  font-weight: 700;
  font-size: 15.5px;
  color: var(--beige-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-arrow:hover { color: var(--ink); }
.projet-more { margin: 26px 0 0; }
/* Fiche projet : légendes avant/après + bloc caractéristiques (retours SEO 04/11) */
.ba-captions { display: grid; gap: 4px; margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--ink-soft); font-style: italic; }
.ba-captions b { font-style: normal; color: var(--ink); }
.ba-captions p { margin: 0; }
.proj-facts { margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 30px; }
.proj-facts .dl-row { display: flex; flex-direction: column; gap: 4px; }
.proj-facts .dl-row dt { font-size: 17px; }
/* Fiche projet : la colonne photos prend la hauteur du texte (retours SEO 04/11) */
.methode-boxed .methode-grid { align-items: stretch; }
/* Fiche projet : hauteur de la colonne photos = hauteur du texte, par JS (sync)
   (les hauteurs intrinsèques des images gonflent la rangée grid — flex-basis 0 ne
   suffit pas, Chrome dimensionne sur le contenu ; JS fixe la hauteur explicitement) */
.methode-boxed .methode-photos { grid-template-rows: minmax(0, 1.1fr) minmax(0, 1.3fr); }
.methode-boxed .methode-photos img { height: 100%; min-height: 0; }
.methode-boxed .methode-photos .wide { height: 100%; }
.proj-links p + p { margin-top: 8px; }

/* -------- Blocs de texte par tag (réalisations, professionnels) -- */
.tag-texts { max-width: 1236px; margin: 34px auto 6px; }
.tag-text[hidden] { display: none; }
.tag-text h2 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  font-size: clamp(21px, 2.1vw, 28px);
  margin: 0 0 12px;
  text-align: center;
}
.tag-text h3 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 15.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 26px 0 6px;
}
.tag-text p { margin: 0 0 10px; font-size: 15.5px; line-height: 1.72; color: var(--ink); }
.rea-methode { max-width: 840px; margin: 60px auto 0; text-align: center; }
.rea-methode h2 { margin: 0 0 14px; }
.rea-methode p { margin: 0; font-size: 15.5px; line-height: 1.75; color: var(--ink); }

.pro-tagsbar { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 26px; margin: 26px auto 0; max-width: 1200px; }
.pro-tagsbar .chip { padding: 10px 0; }

/* Bandeau de tags : flèches de défilement, mobile uniquement */
.lane-arrow { display: none; }

/* Showrooms : bloc RDV 6 étapes (textes longs) — photos recalées */
section[aria-labelledby="etapes"] .process-photos img:nth-child(1) { height: 265px; }
section[aria-labelledby="etapes"] .process-photos img:nth-child(2) { height: 225px; }
section[aria-labelledby="etapes"] .process-photos img:nth-child(3) { height: 242px; }
section[aria-labelledby="etapes"] .process-photos img:nth-child(4) { height: 182px; }

@media (max-width: 700px) { .h1-keep { white-space: normal; } }

@media (max-width: 820px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .wrap, .wrap-wide { padding: 0 20px; }
  .sec-title { gap: 16px; }
  .sec-title::before, .sec-title::after { width: 40px; }
  .btn { padding: 15px 22px; font-size: 12.5px; }

  /* En-tête : burger + panneau plein écran */
  .site-header { padding: 16px 0; }
  body.hdr-sticky .site-header.scrolled { padding: 8px 0; }
  body.hdr-sticky .filters-bar { top: 60px; }
  .logo .logo-svg { width: 126px; }
  .f-logo .logo .logo-svg { width: 60px; }
  .header-inner { align-items: center; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;   /* collé au bas du header, quelle que soit sa hauteur */
    display: none;
    background: #223940;
    color: #FFF;
    padding: 26px 24px 30px;
    margin: 0;
    z-index: 60;                     /* au-dessus de la barre de filtres */
  }
  body.nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav .nav-cta { display: none; }
  .main-nav a { display: block; padding: 14px 4px; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .main-nav a::after { display: none; }
  .main-nav a[aria-current="page"]::before { bottom: 2px; left: 110%; }
  .header-cta { display: none; }
  .main-nav .nav-cta { display: block; }
  .main-nav .nav-cta a {
    display: inline-block;
    margin: 26px 4px 0;
    padding: 15px 26px;
    background: var(--beige-btn);
    color: #FFF;
    border: none;
  }
  .main-nav .nav-cta a:hover { background: var(--beige-dark); }

  /* Héros */
  .hero { height: clamp(540px, 86svh, 760px); }
  .hero-page { height: clamp(460px, 70svh, 620px); }
  .hero .btn-row { gap: 12px; margin-top: 30px; }
  .hero .btn { min-width: 230px; }

  /* Univers de projet : 1 colonne */
  .univ-card { width: 100%; max-width: 460px; }
  .univ-grid { gap: 36px; margin-top: 44px; }
  .univ-head { grid-template-columns: 46px minmax(0, 1fr); }
  .univ-num { height: 34px; }

  /* Mosaïques : 2 colonnes */
  .collage { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
  .collage-left > img { min-height: 0; aspect-ratio: 4/3; }
  .collage-right { grid-template-rows: auto; }
  .collage-right .span2 { grid-column: span 1; max-height: 240px; }
  .collage-right img { max-height: 240px; }
  .masonry-on-mobile { display: block; }
  .mosaic-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; gap: 10px; }
  .mosaic { padding: 0; }
  .r-heroimg, .r-wide, .r-tile, .r-tall { aspect-ratio: 4/3; }
  .mosaic-item .cap { opacity: 1; padding: 13px 8px; font-size: 12px; bottom: 8px; }
  .section-rea { padding-top: 0; }
  .section-rea .filters { gap: 8px 22px; }
  .section-rea .chip { font-size: 15px; padding: 6px 2px 14px; }
  .quote-card { max-width: none; width: 100%; padding: 28px 20px 30px 16px; }
  .quote-in { padding-left: 16px; }
  .quote-card h1 { font-size: 25px; }
  .quote-card .price { font-size: 21px; }
  .quote-card blockquote { font-size: 16px; }
  .methode-boxed { margin: 46px 0 60px; max-width: none; }
  .probar { margin: 16px 20px 0; padding: 0; }
  .sav-grid { grid-template-columns: 1fr; gap: 12px; }
  .sav-grid img { height: 240px; }
  .sav-big { height: 320px !important; }
  .sav-pair { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sav-pair img { height: 170px; }
  .sav-col:last-child, .fab-col-l, .fab-col-r { grid-template-rows: none; }
  .sav-last { height: 240px; }
  .sav-over { margin: 0; }
  .sav-over .glass, .fab-over .glass { position: static; width: 100%; left: auto; right: auto; top: auto; transform: none; padding: 18px 18px; margin-top: 8px; font-size: 15px; }
  .sfsho-grid { grid-template-columns: 1fr 1fr; gap: 12px; max-width: none; }
  .sfsho-grid img { height: 200px; }
  .sfsho-panel { grid-column: span 2; padding: 36px 22px 30px; }
  .sfsho-loc { font-size: 21px; }
  .sfsho-copy { margin-top: 26px; font-size: 15px; }
  .fab-grid { grid-template-columns: 1fr; gap: 12px; max-width: none; }
  .fab-col { gap: 12px; }
  .fab-grid img { height: 280px; }
  .sf-avis { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: min-content; column-gap: 12px; row-gap: 0; max-width: none; }
  .sf-card > img { height: 200px; }
  .sf-card-body { padding: 22px 16px 20px; }
  .filters-bar { padding: 0 20px; }

  /* Bloc showrooms */
  .mat-blok { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mat-blok img { height: 260px; }
  .mat-panel { grid-column: span 2; padding: 30px 22px; }
  .mat-blok-note { margin-top: 18px; }
  .mat-blok-note .btn { width: 100%; }

  /* Méthode & avant/après */
  .methode { padding: 60px 0 50px; }
  .methode-grid { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
  .dl-row { grid-template-columns: 1fr; gap: 4px; }
  .ba-captions { grid-template-columns: 1fr; }
  .proj-facts { grid-template-columns: 1fr; gap: 14px; }
  .dl-row dt { font-size: 20px; }
  .methode-photos { grid-template-columns: 1fr 1fr; }
  .methode-photos img { height: 120px; }
  .methode-photos .wide { height: 150px; }
  .ba-title { margin-top: 50px; }
  .ba { margin-top: 20px; width: 100%; }

  .steps-3, .steps-3.duo { grid-template-columns: 1fr; gap: 26px; margin-top: 34px; }
  .intro { padding-top: 46px; }
  .pro-tagsbar { gap: 2px 18px; max-width: 100%; }

  /* Bandeau CTA */
  .cta { grid-template-columns: 1fr; margin-top: 60px; min-height: 0; }
  .cta-portrait { min-height: 0; max-width: none; }
  .cta-portrait img { height: 300px; }
  .cta-portrait figcaption { left: 22px; bottom: 20px; }
  .cta-panel::before { background: linear-gradient(180deg, rgba(36,42,43,.80) 0%, rgba(36,42,43,.78) 100%); }
  .cta-copy { min-height: 0; padding: 48px 24px 56px; }
  .cta .btn { width: 100%; max-width: 340px; }

  /* Pied de page */
  .footer-grid { grid-template-columns: 1fr; gap: 40px; padding: 50px 0 46px; }

  /* Filtres : défilement horizontal */
  .filters, .filters-bar .filters, .section-rea .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-padding-left: 10px;
    justify-content: flex-start;   /* jamais centrer : le début resterait inaccessible */
    gap: 4px 10px;
    padding: 4px 10px 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .filters::-webkit-scrollbar { display: none; }
  /* pas de défilement vertical parasite dans la piste, et de la place
     pour le triangle du tag actif sous la ligne */
  .filters, .filters-bar .filters, .section-rea .filters { overflow-y: hidden; padding-bottom: 16px; }
  .chip { white-space: nowrap; font-size: 15px; padding: 10px 10px 22px; flex: none; }
  .lane-arrow {
    display: grid;
    place-items: center;
    position: absolute;
    top: 0; bottom: 0;
    width: 36px;
    border: none;
    background: rgba(255,255,255,.94);
    color: var(--ink);
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 0 8px rgba(34,57,64,.10);
  }
  .lane-arrow.l { left: 0; }
  .lane-arrow.r { right: 0; }
  .lane-arrow[hidden] { display: none; }

  /* Page réalisation : carte citation par-dessus le héros */
  .hero-real .hero-content-2 { padding-top: 100px; }
  .quote-card { max-width: none; padding: 28px 24px 30px; }
  .quote-card h1 { font-size: 26px; }
  .quote-card .price { font-size: 24px; }
  .quote-card blockquote { font-size: 16.5px; }

  /* Étapes */
  .step { grid-template-columns: 72px 1fr; gap: 18px; }
  .step .icon { width: 72px; height: 72px; padding: 0; }
  .step:nth-child(even) .icon { margin-left: 0; }
  .steps { gap: 40px; margin-top: 40px; }
  .process-grid { grid-template-columns: 1fr; gap: 40px; }
  .process-photos { grid-template-columns: 1fr 1fr; }
  .process-photos img { max-height: 220px; }
  .process-photos .pfull { grid-column: span 2; }

  /* Témoignages : 1 colonne */
  .testis { grid-template-columns: 1fr; }
  .testi > img { aspect-ratio: 16/9; }

  /* Showrooms */
  .showroom-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 40px; }
  .showroom-grid img { height: 240px; aspect-ratio: auto; }
  .cities { grid-template-columns: 1fr; gap: 18px; margin-top: 40px; }
  .city-map img { height: 260px; }
  .sho-collage { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 44px; }
  .sho-col-l, .sho-col-r { grid-template-rows: none; min-width: 0; }
  .sho-col img { height: 240px !important; min-width: 0; max-width: 100%; }
  .sho-promo > * { min-width: 0; max-width: 100%; }
  .sho-promo { margin-top: 12px; }
  .sho-promo-top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .sho-foot { width: 100%; margin: 0; }
  .sho-big { flex: none; }
  .sho-promo-panel { padding: 24px 22px 26px; }
  .sho-promo-top { gap: 22px; }
  .sho-foot { font-size: 15px; }
  .cities-pro { grid-template-columns: 1fr; gap: 18px; margin: 0 auto; }
  .addr-sec { padding-top: 2px; }
  section[aria-labelledby="visuel-showrooms"] { padding-bottom: 8px; }
  .cities-pro .city-band h3 { font-size: 21px; }
  .city-band { padding: 24px 22px 28px; }
  .city-tags { font-size: 15.5px; }

  /* Savoir-faire & fabrication */
  .savoir-grid { grid-template-columns: 1fr; gap: 0; }
  .savoir-collage { gap: 10px; }
  .savoir-collage img { height: 200px; }
  .savoir-collage .pfull { height: 220px; }
  .savoir-right img { height: 240px; }
  .savoir-panel { padding: 24px 22px; font-size: 16px; margin-top: 20px; }
  .fab-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 40px; }
  .fab-grid img { height: 210px; }
  .fab-grid img:first-child { height: 240px; }
  .fab-panel { padding: 24px 22px; margin-top: 20px; }

  /* Page étude de projet */
  .study-heading { padding-top: 120px; }
  .study-eyebrow { font-size: 18px; }
  .study-heading h1 { margin-top: 30px; font-size: 34px; }
  .assur { grid-template-columns: 1fr; gap: 14px; margin-top: 34px; }
  .assur-card { padding: 20px 22px; gap: 18px; }
  .assur-card svg { width: 38px; height: 38px; }
  .assur-card p { font-size: 15px; }
  .form-shell { padding: 34px 22px 50px; margin-top: 40px; }
  .flegend { font-size: 17px; gap: 9px; }
  .flegend .num { width: 27px; height: 27px; font-size: 13px; }
  .fstep { margin-top: 34px; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
  .tile .tile-box { height: 110px; font-size: 14px; gap: 8px; }
  .tile svg { width: 44px; height: 44px; }
  .finput { margin-top: 10px; font-size: 16px; padding: 12px 16px; max-width: none; }
  .radio-line { margin-top: 24px; }
  .radio-line label { width: 100%; justify-content: center; padding: 16px; }
  .coord-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
  .flabel { margin-bottom: 5px; }
  .coord-grid .finput { margin-top: 0; }
  .consent { gap: 14px; margin-top: 30px; }
  .consent .ctext { font-size: 15px; }
  .wizard-nav .btn { flex: 1; }
  .cookiebar { left: 14px; right: 14px; bottom: 14px; padding: 20px; max-width: none; }
  .cookiebar .btn-row .btn { flex: 1; min-width: 130px; }
  .footer-stripe { font-size: 12px; padding: 14px; }
}

/* -------- Retours Marlene (réa / pro / showrooms) --------------- */
.rea-intro {
  margin: 16px auto 0;
  max-width: 1000px;
  text-align: center;
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink);
}
.rea-intro + .filters-bar, .rea-intro + .sentinel { margin-top: 30px; }
.hero-title-two { font-size: clamp(34px, 4.3vw, 60px); }
.hero-page .hero-title-two { font-size: clamp(30px, 3.7vw, 53px); line-height: 1.12; }
.h1-keep { white-space: nowrap; }
.sec-title { align-items: flex-start; }
.sec-title::before, .sec-title::after { margin-top: .58em; }
/* Showrooms : bloc sous le bandeau marron resserré */
.city-band .adr { margin: 3px 0 0; line-height: 1.5; }
/* Page pro : même barre de tags que Réalisations */
.section-pro .chip {
  font-size: clamp(15px, 1.18vw, 20px);
  font-weight: 400;
  color: var(--ink);
  padding: 6px 2px 20px;
}
.section-pro .chip[aria-pressed="true"] { font-weight: 600; }
.section-pro .chip::before { bottom: 2px; height: 1px; }
.section-pro .chip::after { bottom: -7px; border-width: 7px; border-top-width: 9px; border-bottom: 0; border-top-color: var(--ink); }
/* Chiffres 01-06 calés sur la 2e ligne du libellé */
/* Séquence héros professionnels : phrase en 2 lignes exactement */
.hero-tint-pro .hero-content { max-width: 1240px; }

.hero-title .hero-sub.hero-2l { font-size: clamp(16px, 1.32vw, 19px); letter-spacing: .04em; }
.pro-3 .univ-head { align-items: end; }
.section-pro .chip[aria-pressed="true"]::before { width: 100%; }
.section-pro .chip[aria-pressed="true"]::after { transform: translateX(-50%) scale(1); }

/* -------- Round 26 ------------------------------------------------ */


/* Bandeau de tags : plus de bande de couleur (retour sur fond de section) */
/* Espace H2 -> barre de tags (pro) */
.section-pro .sentinel { margin-top: 30px; }
/* Blocs texte des tags : tout aligné à gauche */
.tag-text h2 { text-align: left; }
/* Réa : respiration entre le fil d'Ariane et le titre H2 */
#types-rea { margin-top: 64px; }
/* Photos par métier (pro) */
.pro-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 1236px; margin: 44px auto 0; }
.pro-photos .wide { grid-column: 1 / -1; width: 100%; height: 460px; object-fit: cover; border-radius: 6px; }
.pro-photos img { width: 100%; height: 350px; object-fit: cover; border-radius: 6px; }
.pro-photos[hidden] { display: none; }
.univ-grid[hidden] { display: none; }
/* Accueil : lien dans le panneau teal + bouton sous « Résultat » */
.mat-card a { color: #FFF; text-decoration: underline; text-underline-offset: 3px; }
.mat-card a:hover { color: var(--beige); }
.methode-col { min-width: 0; }
.methode-more { margin: 22px 0 0; text-align: center; }
.methode-more .btn { font-size: 12.5px; padding: 14px 26px; }

/* Footer : titres de colonne en gras */
.f-title { font-weight: 700; }
.f-links { margin-top: 0; }

/* Réa : détails du domaine placés SOUS les photos (retour client 26/11) */
.tag-details { margin: 44px 0 0; }
.tag-details .pro-row { margin-top: 34px; }
/* ==== Blocs métiers (page Professionnels) : présentation sobre, structurée, équilibrée (retour client 10/11) ==== */
.section-pro .tag-text h2, .section-rea .tag-text h2 { text-align: center; font-size: clamp(24px, 2.9vw, 38px); line-height: 1.2; }
.section-pro .tag-text h2::after, .section-rea .tag-text h2::after { content: ""; display: block; width: 68px; height: 1px; background: var(--line); margin: 20px auto 0; }
.section-pro .tag-text > p:first-of-type, .section-rea .tag-text > p:first-of-type { max-width: 860px; margin: 26px auto 0; text-align: center; }
.section-rea .pro-row, .section-pro .pro-row { display: grid; grid-template-columns: 150px 1px 1fr; gap: 0 46px; align-items: center; margin-top: 54px; }
.section-rea .pro-ic, .section-pro .pro-ic { display: flex; align-items: center; justify-content: center; color: var(--ink); }
.section-rea .pro-ic img, .section-pro .pro-ic img { width: 62px; height: 62px; object-fit: contain; }
.section-rea .pro-ic svg, .section-pro .pro-ic svg { width: 62px; height: 62px; }
.section-rea .pro-sep, .section-pro .pro-sep { width: 1px; height: 100%; min-height: 96px; background: var(--line); align-self: stretch; }
.section-rea .pro-txt h3, .section-pro .pro-txt h3 { margin: 0 0 10px; font-family: var(--sans); font-weight: 700; font-size: clamp(17px, 1.3vw, 19px); color: var(--ink); text-transform: uppercase; letter-spacing: .03em; }
.section-rea .pro-txt p, .section-pro .pro-txt p { margin: 0; font-size: 15.5px; color: var(--ink); line-height: 1.7; }
@media (max-width: 820px) {
  .section-rea .pro-row, .section-pro .pro-row { grid-template-columns: 56px 1px 1fr; gap: 0 20px; margin-top: 40px; }
  .section-rea .pro-ic img, .section-pro .pro-ic img, .section-rea .pro-ic svg, .section-pro .pro-ic svg { width: 44px; height: 44px; }
  .section-rea .pro-sep, .section-pro .pro-sep { min-height: 60px; }
}

/* ==== Galerie d'une fiche projet (photos + vue agrandie) ========== */
.rea-gallery-sec { background: var(--card); padding-top: 20px; }
.rea-gallery-sec .lead { margin-bottom: 40px; }
.rea-gallery {
  columns: 4;
  column-gap: 17px;
  margin: 0 auto;
}
.rea-shot {
  display: block;
  width: 100%;
  margin: 0 0 17px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--panel);
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  cursor: zoom-in;
  line-height: 0;
}
.rea-shot img { width: 100%; height: auto; transition: transform .6s, opacity .3s; }
.rea-shot:hover img { transform: scale(1.02); opacity: .94; }
.rea-shot:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Vue agrandie : dialogue natif */
.photo-dialog {
  border: 0;
  padding: 0;
  margin: auto;
  width: min(1100px, 94vw);
  max-width: none;
  max-height: 94vh;
  background: #1D2427;
  color: #FFF;
  border-radius: 8px;
  overflow: hidden;
}
.photo-dialog::backdrop { background: rgba(16,17,19,.82); }
.photo-dialog-in {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #1D2427;
}
.photo-dialog-in img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(94vh - 74px);
  object-fit: contain;
  background: #1D2427;
}
.dlg-cap {
  padding: 16px 74px 18px 22px;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255,255,255,.92);
  background: #1D2427;
}
.dlg-cap:empty { padding: 0; }
.dlg-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: #1D2427;
  color: #FFF;
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dlg-close:hover { background: #2C3538; }
.dlg-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(29,36,39,.86);
  color: #FFF;
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dlg-nav:hover { background: #2C3538; }
.dlg-prev { left: 10px; }
.dlg-next { right: 10px; }
.dlg-count {
  position: absolute;
  top: 16px;
  left: 20px;
  margin: 0;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: rgba(255,255,255,.8);
  background: rgba(29,36,39,.86);
  padding: 5px 10px;
  border-radius: 99px;
}
@media (max-width: 1000px) {
  .rea-gallery { columns: 3; }
}
@media (max-width: 700px) {
  .rea-gallery { columns: 2; column-gap: 12px; }
  .rea-shot { margin-bottom: 12px; }
  .dlg-cap { padding: 12px 58px 14px 14px; font-size: 13.5px; }
  .dlg-nav { width: 40px; height: 40px; font-size: 24px; }
  .dlg-close { width: 40px; height: 40px; font-size: 23px; }
}


/* ==== CTA du header lisible sur les pages à fond clair (FAQ, mentions légales, RGPD) ==== */
.header.dark.on-light .header-cta { background: var(--beige-btn); }

/* ==== Fiches projet : respirations sous les boutons (retour client 01/12) ====
   Espace BLANC (padding interne de la section, jamais le fond crème de page) === */
.probar { margin-bottom: 40px; }
.section-rea .cta-start { margin-bottom: 0; padding-bottom: 60px; }
@media (max-width: 820px) {
  .rea-gallery-sec + .cta { margin-top: 0; } /* pas de bande crème entre la fiche et le bandeau CTA */
}
