/* ═════════════════════════════════════════════════════════
   EMBI · Rénovation & architecture intérieure
   ═════════════════════════════════════════════════════════ */

:root {
  /* Thème « Marine & sable » : marine uni, touche sable, fond crème */
  --bg: #f7f4ee;           /* crème */
  --bg-2: #ece6da;         /* lin */
  --ink: #16213a;
  --ink-2: #4a5062;
  --muted: #8a877f;
  --line: rgba(22, 33, 58, 0.13);
  --accent: #233e6b;       /* bleu marine */
  --accent-2: #c8b48f;     /* sable, sur fond sombre */
  --dark: #14233f;         /* marine nuit */
  --dark-2: #1b2c4d;
  --on-dark: #f7f4ee;
  --navy-grad: linear-gradient(#14233f, #14233f); /* marine uni, sans dégradé */

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* grain subtil */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  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%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* un élément marqué « hidden » est toujours retiré (sinon il reste invisible mais capte les appuis) */
[hidden] { display: none !important; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; font-family: var(--serif); font-weight: 300; }
button { font: inherit; color: inherit; cursor: pointer; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 999; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section--dark { background: var(--dark); color: var(--on-dark); }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--dark .eyebrow { color: var(--accent-2); }

.h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(36px, 5.6vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.005em;
  margin: 0;
}
.h2 em { color: var(--accent); }
.section--dark .h2 em { color: var(--accent-2); }
.h2--xl { font-size: clamp(40px, 6vw, 100px); }
.h2 em, .hero__title em { font-weight: 400; letter-spacing: -0.03em; }

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.section__aside { max-width: 420px; color: var(--ink-2); margin: 0; }

/* ───────── Boutons ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn span { transition: transform 0.4s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { background: var(--accent); }
.btn--ghost { border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #fff; color: var(--ink); }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--light { background: var(--on-dark); color: var(--ink); border: 0; }
.btn--light:hover { background: var(--accent-2); }

/* ───────── Header ───────── */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.4s, backdrop-filter 0.4s, transform 0.5s var(--ease), box-shadow 0.4s;
}
.header.is-scrolled {
  background: rgba(246, 241, 231, 0.78);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}
.logo__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  margin-left: 3px;
  display: inline-block;
}
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { position: relative; }
.nav a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease);
}
.nav a:not(.nav__cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { background: var(--ink); color: var(--bg); padding: 11px 20px; border-radius: 999px; transition: background 0.3s; }
.nav__cta:hover { background: var(--accent); }
.header__urgent { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.header__urgent:hover { color: var(--accent); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #d9534f; position: relative; flex: none; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #d9534f; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { from { transform: scale(0.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.nav__urgent-mobile { display: none; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; margin-left: auto; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1080px) { .header__urgent { display: none; } }
@media (max-width: 1180px) {
  .burger { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 0 var(--gutter); gap: 18px;
    background: var(--bg);
    font-family: var(--display); font-size: 44px; font-weight: 500; letter-spacing: -0.005em;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.7s var(--ease);
  }
  .nav.is-open { clip-path: inset(0 0 0 0); }
  .nav__cta { font-family: var(--sans); font-size: 16px; font-weight: 600; margin-top: 16px; padding: 16px 26px; }
  .logo { position: relative; z-index: 2; }
  .nav__urgent-mobile { display: block; font-family: var(--sans); font-size: 15px; font-weight: 600; color: #c0392b; }
}

/* ───────── Header sur fond sombre ───────── */
.header.on-dark:not(.is-scrolled) { color: #fff; }
.header.on-dark:not(.is-scrolled) .header__urgent { color: rgba(255, 255, 255, 0.8); }
.header.on-dark:not(.is-scrolled) .nav__cta { background: var(--accent); color: #fff; }
.header.on-dark:not(.is-scrolled) .burger span { background: #fff; }
.nav.is-open ~ .burger span, .header .nav.is-open { color: var(--ink); }
.header:has(.nav.is-open) .burger span { background: var(--ink); }
.header:has(.nav.is-open) .logo { color: var(--ink); }

/* ───────── Hero ───────── */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.hero::before { /* halo orange */
  content: ""; position: absolute; width: 60vw; height: 60vw; right: -15vw; top: -20vw; z-index: -1;
  background: radial-gradient(circle, rgba(42, 74, 127, 0.28), transparent 60%);
  filter: blur(20px);
  animation: halo 9s ease-in-out infinite alternate;
}
@keyframes halo { to { transform: translate(-8vw, 10vw) scale(1.15); } }
.hero__photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 2.4s var(--ease), filter 1.2s; filter: brightness(0.72) saturate(1.15); }
.is-loaded .hero__photo img { transform: scale(1); animation: kenburns 24s ease-in-out 2s infinite alternate; }
@keyframes kenburns { to { transform: scale(1.1) translate(-1.5%, -1%); } }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 35, 63, 0.9) 0%, rgba(20, 35, 63, 0.2) 55%, rgba(20, 35, 63, 0.35) 100%); }
.hero__tag {
  position: absolute; z-index: 3; right: var(--gutter); top: 110px; margin: 0; display: flex; gap: 10px; align-items: center;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #fff;
  padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(20, 35, 63, 0.5); backdrop-filter: blur(10px);
  transition: opacity 0.8s var(--ease) 0.4s, transform 0.8s var(--ease) 0.4s;
}
.js .hero__tag { opacity: 0; transform: translateY(-12px); }
.hero__tag span { background: var(--accent); padding: 5px 10px; border-radius: 999px; }
.js.js .is-loaded .hero__tag { opacity: 1; transform: none; }
.hero__content { pointer-events: none; }
.hero__content a, .hero__content button { pointer-events: auto; }
.hero__content {
  position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 140px var(--gutter) clamp(40px, 6vw, 72px);
}
.hero__kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); margin: 0 0 24px; padding: 8px 16px 8px 14px; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 999px; backdrop-filter: blur(10px); background: rgba(20, 35, 63, 0.35); }
.hero__kicker .pulse, .hero__kicker .pulse::after { background: var(--accent); border-color: var(--accent); }
.hero__kicker .pulse::after { background: none; }
.hero__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(36px, 7vw, 124px);
  line-height: 0.86;
  letter-spacing: -0.005em;
  margin: 0 0 clamp(28px, 4vw, 48px);
}
.hero__title .line { display: block; overflow: hidden; padding: 0.02em 0 0.1em; margin-bottom: -0.1em; }
.hero__title .line > span { display: inline-block; transform-origin: left bottom; transition: transform 1.3s var(--ease); }
.js .hero__title .line > span { transform: translateY(110%) rotate(4deg); }
.js.js .is-loaded .hero__title .line > span { transform: none; }
.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: 0.12s; }
.rotator { display: inline-grid; vertical-align: baseline; overflow: hidden; color: var(--accent); font-family: var(--serif); font-style: italic; font-weight: 300; letter-spacing: -0.005em; transition: width 0.7s var(--ease); padding: 0 0.08em 0.16em 0; margin-bottom: -0.16em; }
.rotator > span { grid-area: 1 / 1; white-space: nowrap; opacity: 0; transform: translateY(130%); transition: transform 0.8s var(--ease), opacity 0.5s; }
.rotator > span.is-active { opacity: 1; transform: none; }
.rotator > span.is-leaving { opacity: 0; transform: translateY(-130%); }
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; transition: opacity 1s var(--ease) 0.5s, transform 1s var(--ease) 0.5s; }
.js .hero__bottom { opacity: 0; transform: translateY(20px); }
.js.js .is-loaded .hero__bottom { opacity: 1; transform: none; }
.hero__lead { font-size: clamp(16px, 1.3vw, 19px); color: rgba(255, 255, 255, 0.78); max-width: 480px; margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__badge {
  position: absolute; z-index: 3; right: var(--gutter); top: 50%; width: 132px; height: 132px; margin-top: -66px;
  background: var(--accent); color: #fff; border-radius: 50%; display: grid; place-items: center;
}
.hero__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.hero__badge text { font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; fill: currentColor; font-family: var(--sans); font-weight: 600; }
.hero__badge > span { font-size: 28px; transition: transform 0.4s var(--ease); }
.hero__badge:hover > span { transform: translateY(6px); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 960px) {
  .hero { align-items: flex-end; min-height: 100svh; }
  .hero__content { padding-top: 45vh; }
  .hero__tag { top: 92px; right: auto; left: var(--gutter); font-size: 11px; }
  .hero__badge { display: none; }
}

/* ───────── Bandes défilantes croisées ───────── */
.bands { position: relative; background: var(--dark); color: #fff; padding: clamp(56px, 7vw, 96px) 0; overflow: hidden; }
.bands__label { max-width: var(--max); margin: 0 auto clamp(24px, 3vw, 36px); padding: 0 var(--gutter); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 12px; }
.bands__label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.band { overflow: hidden; border-top: 1px solid rgba(255, 255, 255, 0.1); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.band--names { padding: clamp(18px, 2.4vw, 30px) 0; }
.band--trades { padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.band__track { display: flex; gap: clamp(28px, 3vw, 48px); width: max-content; align-items: center; animation: marquee 420s linear infinite; }
.band__track--rev { animation-direction: reverse; animation-duration: 480s; }
.band--names span { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 4.4vw, 70px); letter-spacing: -0.005em; line-height: 1; text-transform: uppercase; white-space: nowrap; transition: color 0.4s, -webkit-text-stroke-color 0.4s; }
.band--names span.is-outline { color: rgba(255, 255, 255, 0.22); }
.band--names span:hover { color: var(--accent); }
.band--names i { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); flex: none; }
.band--trades span { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(20px, 2.2vw, 30px); color: rgba(255, 255, 255, 0.6); white-space: nowrap; }
.band--trades i { font-style: normal; color: rgba(255, 255, 255, 0.25); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── Intro ───────── */
.intro__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.intro__statement { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 3.6vw, 54px); line-height: 1.08; letter-spacing: -0.015em; margin: 0; }
.intro__statement .w { opacity: 0.14; transition: opacity 0.35s, color 0.35s; }
.intro__statement .w.is-on { opacity: 1; }
.intro__statement em .w, .intro__statement .w em { font-family: var(--serif); font-weight: 300; }
.intro__statement em { color: var(--accent); }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats li { background: var(--bg); padding: 28px 24px; transition: background 0.4s; }
.stats li:hover { background: var(--bg-2); }
.stats strong { display: block; font-family: var(--display); font-weight: 500; color: var(--accent); font-size: clamp(44px, 5vw, 76px); line-height: 1; letter-spacing: -0.005em; margin-bottom: 10px; }
.stats span { font-size: 14px; color: var(--ink-2); line-height: 1.45; display: block; }
@media (max-width: 860px) { .intro__grid { grid-template-columns: 1fr; } }

/* ───────── Méthode ───────── */
.method { background: var(--bg-2); }
/* (étapes : voir « Fonctionnement : le chantier qui avance » en fin de fichier) */

/* ───────── Contact ───────── */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 56px 0 0; }
.contact__list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(246, 241, 231, 0.14); align-items: baseline; }
.contact__list span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(246, 241, 231, 0.5); }
.contact__list a, .contact__list p { font-family: var(--display); font-size: clamp(20px, 2vw, 28px); font-weight: 500; letter-spacing: -0.005em; margin: 0; }
.contact__list a:hover { color: var(--accent-2); }

.form { background: var(--dark-2); border: 1px solid rgba(246, 241, 231, 0.08); border-radius: calc(var(--radius) + 6px); padding: clamp(24px, 3.5vw, 44px); display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field span, .chips legend { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(246, 241, 231, 0.55); }
.field input, .field textarea {
  font: inherit; color: var(--on-dark); background: transparent; border: 0; border-bottom: 1px solid rgba(246, 241, 231, 0.2);
  padding: 10px 0; outline: none; transition: border-color 0.3s; resize: vertical; border-radius: 0;
}
.field input:focus, .field textarea:focus { border-color: var(--accent-2); }
.field textarea::placeholder { color: rgba(246, 241, 231, 0.3); }
.field.is-invalid input { border-color: #e07a5f; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { margin-bottom: 12px; padding: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(246, 241, 231, 0.2); font-size: 14px; cursor: pointer; transition: all 0.3s; }
.chips input:checked + span { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.chips input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.form .btn { justify-self: start; margin-top: 6px; }
.form__note { margin: 0; font-size: 14px; color: var(--accent-2); min-height: 1em; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } .contact__list li { grid-template-columns: 1fr; gap: 4px; } }

/* ───────── Footer ───────── */
.footer { background: var(--dark); color: var(--on-dark); padding: 40px 0 36px; border-top: 1px solid rgba(246, 241, 231, 0.08); }
.footer__inner { display: grid; gap: 40px; }
.logo--big { font-size: clamp(90px, 22vw, 320px); line-height: 0.8; letter-spacing: -0.03em; }
.logo--big .logo__dot { width: 0.09em; height: 0.09em; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; font-size: 15px; color: rgba(246, 241, 231, 0.7); }
.footer__cols p { margin: 0; }
.footer__cols a:hover { color: var(--accent-2); }
.footer__legal { margin: 0; font-size: 13px; color: rgba(246, 241, 231, 0.4); }
@media (max-width: 700px) { .footer__cols { grid-template-columns: 1fr; } }

/* ───────── Reveal au scroll ───────── */
.reveal { transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Image manquante → fond neutre élégant */
img.is-broken { opacity: 0; }

/* ───────── Filtres ───────── */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { background: transparent; border: 1px solid var(--line); padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: all 0.3s; }
.filter sup { font-size: 10px; margin-left: 2px; opacity: 0.6; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ───────── Références ───────── */
.refs { position: relative; overflow: hidden; }
.refs .section__aside { color: rgba(246, 241, 231, 0.6); }
.acc { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(246, 241, 231, 0.14); }
.acc__item { border-bottom: 1px solid rgba(246, 241, 231, 0.14); }
.acc__head {
  width: 100%; background: none; border: 0; color: rgba(255, 255, 255, 0.82); text-align: left;
  display: grid; grid-template-columns: 70px 1fr 180px 40px; align-items: center; gap: 16px; padding: clamp(16px, 1.8vw, 22px) 0;
}
.acc__n { font: 600 13px var(--sans); color: rgba(255, 255, 255, 0.4); font-variant-numeric: tabular-nums; transition: color 0.4s; }
.acc__t { font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: clamp(20px, 2.4vw, 34px); letter-spacing: -0.005em; line-height: 1.05; min-width: 0; transition: color 0.4s, transform 0.5s var(--ease); }
.acc__c { font: 600 12px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.acc__ar { font-size: 22px; color: rgba(255, 255, 255, 0.4); justify-self: end; transition: transform 0.5s var(--ease), color 0.4s; }
.acc__head:hover .acc__t { color: #fff; }
.acc__item.is-open .acc__t, .acc__item.is-open .acc__n, .acc__item.is-open .acc__ar { color: var(--accent); }
.acc__item.is-open .acc__t { transform: translateX(8px); }
.acc__item.is-open .acc__ar { transform: rotate(90deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.7s var(--ease); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; min-height: 0; display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(20px, 3vw, 40px); }
.acc__img { margin-bottom: 24px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/7; background: var(--dark-2); cursor: pointer; }
.acc__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); opacity: 0; transition: transform 1.2s var(--ease), opacity 0.6s; }
.acc__item.is-open .acc__img img { transform: none; opacity: 1; }
.acc__body { padding-bottom: 24px; opacity: 0; transform: translateY(12px); transition: opacity 0.5s 0.15s, transform 0.6s var(--ease) 0.15s; }
.acc__item.is-open .acc__body { opacity: 1; transform: none; }
.acc__body p { color: rgba(255, 255, 255, 0.65); margin: 0 0 20px; line-height: 1.6; }
@media (max-width: 760px) {
  .acc__head { grid-template-columns: 34px 1fr 24px; }
  .acc__c { display: none; }
  .acc__inner { grid-template-columns: 1fr; gap: 0; }
  .acc__img { aspect-ratio: 16/10; margin-bottom: 16px; }
}

/* ───────── Savoir-faire ───────── */
.build { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: stretch; }
.build__house { border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(16px, 2vw, 24px); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.build__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.build__chip { border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 999px; padding: 8px 14px; font: 600 13px var(--sans); transition: background 0.3s, border-color 0.3s, color 0.3s; }
.build__chip:hover { border-color: var(--ink); }
.build__chip.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.build__svg { width: 100%; height: auto; max-height: 470px; overflow: visible; }
.bz { cursor: pointer; outline: none; }
.bz__body, .axo__label { transform: translateY(var(--y, 0px)); transition: transform 0.8s var(--ease); }
.bz .face { fill: var(--bg); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; transition: fill 0.4s, stroke 0.4s; }
.bz .face--floor { fill: var(--bg-2); }
.bz .face--wall { fill: var(--bg-2); }
.bz .face--glass { fill: #c9d3d6; }
.bz .face--dark { fill: #d8cfc1; }
.bz .face--hatch { fill: url(#axoHatch); }
.bz .face--roof { fill: #6b7079; }
.bz .face--brick { fill: #b77458; }
.bz .edge { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.bz .edge--thin { stroke: rgba(255, 255, 255, 0.35); stroke-width: 1; }
.bz .edge--cut { stroke-dasharray: 4 4; stroke: rgba(22, 21, 19, 0.45); }
.bz .edge--accent { stroke: var(--ink); stroke-width: 2; }
.bz:hover .face, .bz:focus-visible .face { stroke: var(--accent); }
.bz.is-on .face { stroke: var(--accent); stroke-width: 2; }
.bz.is-on .face:not(.face--glass):not(.face--roof):not(.face--brick) { fill: #fde0d2; }
.bz.is-on .face--floor, .bz.is-on .face--wall, .bz.is-on .face--dark { fill: #fbd0bb; }
.bz.is-on .face--roof { fill: #ff7a45; }
.bz.is-on .edge--accent { stroke: var(--accent); }
.axo__lead { fill: none; stroke: rgba(22, 21, 19, 0.3); stroke-width: 1; }
.axo__dot { fill: var(--ink); }
.axo__label text { font: 600 11px var(--sans); letter-spacing: 0.14em; fill: rgba(22, 21, 19, 0.5); transition: fill 0.3s; }
.axo__label.is-on text { fill: var(--accent); }
.axo__label.is-on .axo__dot { fill: var(--accent); }
.axo__label.is-on .axo__lead { stroke: var(--accent); }
.build__hint { margin: 0; font: 600 13px var(--sans); color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
/* la maquette se monte à l'arrivée sur la section : les couches tombent l'une après l'autre */
.js .build:not(.is-drawn) .bz, .js .build:not(.is-drawn) .axo__label { opacity: 0; }
.build.is-drawn .bz, .build.is-drawn .axo__label { animation: axoDrop 0.9s var(--ease) both; }
.build.is-drawn .bz[data-z="interieur"], .build.is-drawn .axo__label[data-z="interieur"] { animation-delay: 0.15s; }
.build.is-drawn .bz[data-z="exterieur"], .build.is-drawn .axo__label[data-z="exterieur"] { animation-delay: 0.3s; }
.build.is-drawn .bz[data-z="toit"], .build.is-drawn .axo__label[data-z="toit"] { animation-delay: 0.45s; }
@keyframes axoDrop { from { opacity: 0; transform: translateY(-40px); } }
@keyframes bpDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes bpFade { from { opacity: 0; } to { opacity: 1; } }

/* carte « papier d'architecte » */
.bp {
  position: relative; overflow: hidden; min-width: 0; color: #fff; border-radius: calc(var(--radius) + 4px);
  padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 14px;
  background-color: var(--dark);
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
}
.bp.is-scan::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); box-shadow: 0 0 18px var(--accent); animation: scan 0.9s var(--ease) forwards; }
@keyframes scan { to { top: 100%; opacity: 0; } }
.bp__head { display: flex; justify-content: space-between; gap: 12px; font: 600 11px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.bp__stamp { color: var(--accent-2); }
.bp__svg { width: 100%; height: auto; max-height: 250px; }
.bp__svg * { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.bp__svg .w { stroke: #fff; stroke-width: 3; }
.bp__svg .o { stroke: var(--accent); stroke-width: 2; }
.bp__svg .d { stroke: rgba(255, 255, 255, 0.32); stroke-width: 1; }
.bp__svg text { stroke: none; fill: rgba(255, 255, 255, 0.55); font: 600 8px var(--sans); letter-spacing: 0.14em; }
.bp.is-anim .bp__svg path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: bpDraw 0.9s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms); }
.bp.is-anim .bp__svg text { opacity: 0; animation: bpFade 0.5s ease 0.7s forwards; }
/* la partie choisie sort du plan en volume (zone3d.js) : le tracé du plan s'efface */
.bp__svg > path, .bp__svg > text { transition: opacity 0.8s ease; }
.bp.is-vol .bp__svg > path, .bp.is-vol .bp__svg > text { opacity: 0.12 !important; animation: none !important; stroke-dashoffset: 0; }
.bp__text { display: grid; gap: 12px; }
.bp.is-anim .bp__text > * { animation: bpUp 0.6s var(--ease) both; }
.bp.is-anim .bp__text > :nth-child(1) { animation-delay: 0.65s; }
.bp.is-anim .bp__text > :nth-child(2) { animation-delay: 0.72s; }
.bp.is-anim .bp__text > :nth-child(3) { animation-delay: 0.82s; }
.bp.is-anim .bp__text > :nth-child(4) { animation-delay: 0.92s; }
@keyframes bpUp { from { opacity: 0; transform: translateY(12px); } }
.bp__n { font: 600 12px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2); }
.bp__title { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.3vw, 32px); letter-spacing: -0.005em; line-height: 1.05; margin: 0; }
.bp__text p { margin: 0; color: rgba(255, 255, 255, 0.72); font-size: 15.5px; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.tags--dark li { background: transparent; border-color: rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.9); }
@media (max-width: 900px) { .build { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .js .build:not(.is-drawn) .bz, .js .build:not(.is-drawn) .axo__label { opacity: 1; }
  .bp.is-anim .bp__svg path { stroke-dashoffset: 0; }
  .bp.is-anim .bp__svg text { opacity: 1; }
}

.promise { margin-top: clamp(64px, 9vw, 120px); display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.promise__intro { display: grid; gap: 22px; justify-items: start; }
.promise__title { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.005em; line-height: 1; margin: 0; }
.promise__title em { color: var(--accent); font-weight: 400; }
.promise__lead { margin: 0; color: var(--ink-2); max-width: 44ch; }
/* le contrat */
.contract {
  position: relative; background: #fbf8f3; border: 1px solid var(--line); border-radius: 6px;
  padding: clamp(22px, 3vw, 36px) clamp(22px, 3vw, 40px); box-shadow: 0 40px 70px -40px rgba(22, 21, 19, 0.45);
  transform: rotate(-1.2deg); overflow: hidden;
}
.contract::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(22, 21, 19, 0.06); border-radius: 3px; pointer-events: none; }
.contract__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font: 600 10.5px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(22, 21, 19, 0.5); border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 6px; }
.contract__list { list-style: none; margin: 0; padding: 0; }
.contract__list li { display: flex; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: clamp(15px, 1.2vw, 17px); }
.contract__ck { width: 22px; height: 22px; border-radius: 5px; border: 1.6px solid var(--ink); display: grid; place-items: center; flex: none; }
.contract__ck::after { content: ""; width: 10px; height: 5px; border-left: 2.2px solid var(--accent); border-bottom: 2.2px solid var(--accent); transform: rotate(-45deg) translate(1px, -1px) scale(1); transform-origin: center; transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.contract__sign { margin-top: 20px; display: grid; gap: 2px; }
.contract__sign small { font: 600 10px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(22, 21, 19, 0.5); }
.contract__sign span { font: italic 400 34px var(--serif); line-height: 1; }
.contract__stamp {
  position: absolute; right: clamp(18px, 3vw, 34px); bottom: clamp(20px, 3vw, 34px); width: 124px; aspect-ratio: 1; border-radius: 50%;
  border: 3px solid var(--accent); color: var(--accent); display: grid; place-content: center; text-align: center; gap: 4px;
  transform: rotate(-14deg); opacity: 0.92; mix-blend-mode: multiply;
}
.contract__stamp::before { content: ""; position: absolute; inset: 6px; border: 1.5px solid var(--accent); border-radius: 50%; }
.contract__stamp span { font: 500 15px/1.05 var(--display); text-transform: uppercase; }
.contract__stamp small { font: 600 9px var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
/* animation : les cases se cochent une à une, puis le tampon frappe */
.js .contract:not(.is-signed) .contract__ck::after { transform: rotate(-45deg) translate(1px, -1px) scale(0); }
.js .contract:not(.is-signed) .contract__stamp { opacity: 0; transform: rotate(-14deg) scale(1.8); }
.contract__ck.is-wait::after { transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: none; }
.contract.is-signed .contract__stamp { animation: stamp 0.45s cubic-bezier(0.5, 0, 0.75, 0) both; animation-delay: var(--stamp-delay, 1.6s); }
@keyframes stamp { from { opacity: 0; transform: rotate(-14deg) scale(1.8); } 80% { opacity: 1; transform: rotate(-14deg) scale(0.94); } to { opacity: 0.92; transform: rotate(-14deg) scale(1); } }
.contract.is-thump { animation: thump 0.3s ease-out; }
@keyframes thump { 50% { transform: rotate(-1.2deg) translateY(3px); } }
@media (max-width: 860px) { .promise { grid-template-columns: 1fr; } .contract { transform: none; } .contract__stamp { width: 90px; bottom: 14px; right: 14px; } .contract__stamp span { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .js .contract:not(.is-signed) .contract__ck::after { transform: rotate(-45deg) translate(1px, -1px); } .js .contract:not(.is-signed) .contract__stamp { opacity: 0.92; transform: rotate(-14deg); } }

/* ───────── Showroom ───────── */
.showroom__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.showroom__map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5/5.4; background: var(--bg-2); }
.showroom__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05) sepia(0.15); }
.showroom__text > p:not(.eyebrow) { color: var(--ink-2); margin: 28px 0; max-width: 460px; }
.showroom__info { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 0 0 28px; }
.showroom__info div { padding-left: 16px; border-left: 2px solid var(--accent); }
.showroom__info dt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.showroom__info dd { margin: 6px 0 0; font-size: 17px; line-height: 1.45; }
.catalogues { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; align-items: center; }
.catalogues__label { width: 100%; margin: 0 0 4px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.catalogues a { font-size: 14px; font-weight: 500; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; transition: all 0.3s; }
.catalogues a span { color: var(--accent); }
.catalogues a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
@media (max-width: 860px) { .showroom__grid { grid-template-columns: 1fr; } .showroom__map { aspect-ratio: 4/3; order: 2; } }
@media (max-width: 420px) { .showroom__info { grid-template-columns: 1fr; } }
.showroom__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ───────── Urgence ───────── */
.urgent { background: var(--accent); color: #fff; padding: clamp(40px, 5vw, 64px) 0; }
.urgent__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.urgent__kicker { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; margin: 0 0 12px; }
.urgent .pulse, .urgent .pulse::after { background: #fff; border-color: #fff; }
.urgent .pulse::after { background: none; }
.urgent__title { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 3.4vw, 46px); letter-spacing: -0.005em; line-height: 1.05; margin: 0 0 10px; }
.urgent p:not(.urgent__kicker) { margin: 0; opacity: 0.85; }
.urgent__phone { font-family: var(--display); font-size: clamp(26px, 4.2vw, 60px); font-weight: 500; letter-spacing: -0.005em; white-space: nowrap; display: inline-flex; gap: 16px; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, 0.5); padding-bottom: 6px; }
.urgent__phone span { transition: transform 0.4s var(--ease); }
.urgent__phone:hover span { transform: translateX(8px); }

/* ───────── Contact (compléments) ───────── */
.contact__intro { color: rgba(246, 241, 231, 0.65); margin: 28px 0 0; max-width: 440px; }
.contact__list { margin-top: 40px; }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer__legal a:hover { color: var(--accent-2); }

/* ───────── Lightbox ───────── */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(22, 21, 19, 0.7); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.5s var(--ease); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative; width: min(1180px, 100%); max-height: calc(100svh - 32px); overflow: auto;
  background: var(--bg); border-radius: calc(var(--radius) + 6px);
  display: grid; grid-template-columns: 1.5fr 1fr;
  transform: translateY(40px); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.5s var(--ease);
}
.modal.is-open .modal__panel { transform: none; opacity: 1; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bg); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12); font-size: 16px; }
.modal__media { position: relative; background: var(--dark); min-height: 320px; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 7/5; transition: opacity 0.3s; }
.modal__nav { position: absolute; bottom: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(246, 241, 231, 0.92); font-size: 18px; transition: transform 0.3s var(--ease); }
.modal__nav:hover { transform: scale(1.08); }
.modal__nav--prev { right: 72px; }
.modal__nav--next { right: 16px; }
.modal__body { padding: clamp(28px, 3.5vw, 48px); display: flex; flex-direction: column; align-items: flex-start; }
.modal__title { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 3.6vw, 56px); letter-spacing: -0.005em; line-height: 1; margin: 0 0 20px; }
.modal__body > p:not(.eyebrow) { color: var(--ink-2); margin: 0 0 20px; }
.modal__thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.modal__thumbs button { width: 64px; height: 46px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--bg-2); }
.modal__thumbs button.is-active { border-color: var(--accent); }
.modal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal__count { font-size: 13px; color: var(--muted); margin-top: auto !important; }
@media (max-width: 860px) { .modal__panel { grid-template-columns: 1fr; } .modal__media { min-height: 0; } }

/* ═════════ PEPS ═════════ */

/* Preloader */
.loader { display: none; }
.intro .loader { cursor: pointer;
  display: grid; place-items: end start; position: fixed; inset: 0; z-index: 1000; background: var(--dark); color: #fff;
  padding: var(--gutter); transition: clip-path 1s var(--ease); clip-path: inset(0 0 0 0);
}
.intro .loader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.loader__inner { display: flex; justify-content: space-between; align-items: flex-end; width: 100%; }
.loader__logo { font-family: var(--display); font-weight: 500; font-size: clamp(60px, 12vw, 180px); letter-spacing: -0.005em; line-height: 0.8; }
.loader__logo i { font-style: normal; color: var(--accent); }
.loader__count { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 8vw, 120px); color: var(--accent); line-height: 0.8; font-variant-numeric: tabular-nums; }
.loader__count::after { content: "%"; font-size: 0.4em; margin-left: 4px; }

/* Barre de progression */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); transform-origin: left; transform: scaleX(0); z-index: 60; }

/* Curseur personnalisé */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none;
    width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--accent);
    transition: width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), background 0.3s, opacity 0.3s;
    mix-blend-mode: normal;
  }
  .cursor span { font-size: 13px; font-weight: 600; color: #fff; opacity: 0; transition: opacity 0.2s; letter-spacing: 0.04em; }
  .cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(42, 74, 127, 0.25); }
  .cursor.is-view { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--accent); }
  .cursor.is-view span { opacity: 1; }
  .cursor.is-hidden { opacity: 0; }
  .cursor.is-light { background: #fff; }
  .cursor.is-light.is-link { background: rgba(255, 255, 255, 0.35); }
}

/* Chantiers signature : écran partagé épinglé */
.feature { position: relative; background: var(--dark); color: #fff; }
.feature__sticky {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: center;
  max-width: var(--max); margin: 0 auto; padding: 90px var(--gutter) 40px;
}
.feature .eyebrow { color: var(--accent); }
.feature__heading { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.005em; margin: 0 0 clamp(20px, 4vh, 44px); color: rgba(255, 255, 255, 0.55); }
.feature__heading em { color: var(--accent); font-weight: 300; }
.feature__listwrap { position: relative; padding-left: 28px; }
.feature__rail { position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: rgba(255, 255, 255, 0.1); }
.feature__rail span { display: block; width: 100%; height: 100%; background: var(--accent); transform-origin: top; transform: scaleY(0); will-change: transform; }
.feature__list { list-style: none; margin: 0; padding: 0; counter-reset: f; }
.feature__list button {
  display: flex; align-items: baseline; gap: 16px; width: 100%; background: none; border: 0; padding: clamp(4px, 0.8vh, 10px) 0; color: rgba(255, 255, 255, 0.16); text-align: left;
  font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.8vw, 46px); line-height: 1.05; white-space: nowrap; letter-spacing: -0.005em; text-transform: uppercase;
  transition: color 0.5s var(--ease), transform 0.6s var(--ease);
}
.feature__list button .n { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: inherit; min-width: 22px; transform: translateY(-1.6em); }
.feature__list button:hover { color: rgba(255, 255, 255, 0.45); }
.feature__list li.is-active button { color: #fff; transform: translateX(10px); }
.feature__list li.is-active .n { color: var(--accent); }
.feature__meta { display: flex; align-items: center; gap: 24px; margin-top: clamp(20px, 4vh, 44px); }
.feature__count { font-family: var(--display); font-weight: 500; font-size: 15px; color: rgba(255, 255, 255, 0.45); font-variant-numeric: tabular-nums; }
.feature__count b { color: #fff; font-size: 22px; }
.feature__frame { position: relative; height: min(72vh, 680px); border-radius: calc(var(--radius) + 4px); overflow: hidden; background: var(--dark-2); cursor: pointer; }
.feature__img { position: absolute; inset: 0; margin: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--ease); }
.feature__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 1.6s var(--ease); }
.feature__img.is-shown { clip-path: inset(0 0 0 0); }
.feature__img.is-shown img { transform: scale(1); }
.feature__img figcaption {
  position: absolute; left: 18px; bottom: 18px; display: flex; gap: 8px; align-items: center;
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(20, 35, 63, 0.55); backdrop-filter: blur(10px); padding: 8px 14px; border-radius: 999px;
}
.feature__img figcaption::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
@media (max-width: 860px) {
  .feature__sticky { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; gap: 18px; padding-top: 80px; }
  .feature__frame { order: -1; height: 38svh; }
  .feature__heading { display: none; }
  .feature .eyebrow { margin-bottom: 8px; }
  .feature__list button { font-size: clamp(19px, 5.6vw, 30px); white-space: normal; }
  .feature__list button .n { transform: none; } /* numéro aligné sur son nom (le décalage le mettait face au nom précédent) */
  .feature__left, .feature__listwrap { min-width: 0; }
  .feature__meta { margin-top: 14px; }
}

/* Footer CTA */
.footer { padding-top: clamp(80px, 10vw, 140px); }
.footer__cta { font-family: var(--display); font-weight: 500; font-size: clamp(36px, 6vw, 92px); letter-spacing: -0.005em; line-height: 1; display: inline-flex; flex-wrap: wrap; gap: 0.25em; align-items: baseline; }
.footer__cta em { color: var(--accent); font-weight: 300; }
.footer__cta span { color: var(--accent); transition: transform 0.5s var(--ease); display: inline-block; }
.footer__cta:hover span { transform: translateX(16px); }
.logo--big { font-family: var(--display); font-weight: 500; }
.logo__dot { background: var(--accent); }

/* Section sombre : accents */
.section--dark .eyebrow { color: var(--accent); }
.section--dark .h2 em { color: var(--accent); }

/* Filtres et puces : accent */
.filter.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Réduction des animations */
@media (prefers-reduced-motion: reduce) {
  .intro .loader { display: none; }
    .intro__statement .w { opacity: 1; }
}

/* ═════════ EXPÉRIENCE SIGNATURE ═════════ */

/* Plan d'architecte dans le préchargement */
.loader { overflow: hidden; }
.loader__plan { position: absolute; left: 50%; top: 45%; width: min(88vw, 920px); transform: translate(-50%, -50%); overflow: visible; }
.loader__plan path, .loader__plan rect, .loader__plan circle { stroke-linecap: round; stroke-linejoin: round; }
.plan-outer * { stroke: #fff; stroke-width: 12; stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 1.1s var(--ease) forwards; }
.plan-walls * { stroke: #fff; stroke-width: 9; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 1s var(--ease) 0.45s forwards; transition: stroke 0.6s; }
.plan-walls *:nth-child(2) { animation-delay: 0.55s; }
.plan-walls *:nth-child(3) { animation-delay: 0.65s; }
.plan-walls *:nth-child(4) { animation-delay: 0.75s; }
.plan-walls *:nth-child(5) { animation-delay: 0.85s; }
.plan-details * { stroke: rgba(255, 255, 255, 0.55); stroke-width: 2.2; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 0.8s var(--ease) 1.1s forwards; }
.plan-labels text { fill: rgba(255, 255, 255, 0.4); font: 600 13px var(--sans); letter-spacing: 0.14em; opacity: 0; animation: fadeIn 0.6s ease 1.3s forwards; }
.plan-dims * { stroke: rgba(255, 255, 255, 0.3); stroke-width: 1.2; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 0.9s var(--ease) 1.1s forwards; }
.plan-name * { stroke: var(--accent); stroke-width: 13; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 0.9s var(--ease) 2s forwards; filter: drop-shadow(0 0 14px rgba(42, 74, 127, 0.55)); }
.plan-name *:nth-child(2) { animation-delay: 2.12s; }
.plan-name *:nth-child(3) { animation-delay: 2.24s; }
.plan-name *:nth-child(4) { animation-delay: 2.36s; }
.plan-columns circle { fill: var(--accent); transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 2.5s forwards; }
.plan-columns circle:nth-child(2) { animation-delay: 2.65s; }
/* à la révélation, le reste du plan s'efface pour laisser lire le nom */
.plan-outer, .plan-walls, .plan-details, .plan-labels, .plan-dims { animation: dim 0.8s ease 2.1s forwards; }
@keyframes dim { to { opacity: 0.28; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes pop { to { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.loader.is-done .loader__plan { transform: translate(-50%, -60%) scale(1.3); opacity: 0; transition: transform 0.9s var(--ease), opacity 0.6s; }
.loader__caption { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(22px, 3vw, 44px); letter-spacing: -0.005em; color: rgba(255, 255, 255, 0.75); }
.loader__caption span { color: var(--accent); font-family: var(--serif); font-style: italic; font-weight: 300; }

/* Logo géant qui respire sous la souris */
#bigLogo { display: inline-flex; align-items: baseline; cursor: default; user-select: none; }
#bigLogo .ch { display: inline-block; font-variation-settings: "wght" 800; transition: font-variation-settings 0.25s ease-out, color 0.3s, transform 0.3s var(--ease); }
#bigLogo .ch.is-hot { color: var(--accent); }
@media (max-width: 600px) { .loader__plan { width: 96vw; } }

/* Chiffres : Manrope (les chiffres de Syne sont trop singuliers) */
.contact__list a, .contact__list p, .urgent__phone, .footer__cols a, .stats strong, .feature__count, .feature__count b, .loader__count, .step__n, .card__idx, .feature__list button .n { font-family: var(--sans); font-weight: 600; letter-spacing: -0.03em; }
.stats strong { font-weight: 600; letter-spacing: -0.04em; }

/* ───────── Réalisations : filtres sur fond sombre ───────── */
.refs__side { max-width: 460px; display: grid; gap: 22px; }
.filters--dark .filter { border-color: rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.85); }
.filters--dark .filter:hover { border-color: #fff; }
.filters--dark .filter.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.acc__item[hidden] { display: none; }

/* ───────── Votre projet en 3 questions ───────── */
.quiz { background: var(--accent); color: #fff; }
.quiz .eyebrow { color: #fff; }
.quiz .h2 em { color: var(--dark); }
.quiz__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.quiz__lead { margin: 28px 0 0; max-width: 420px; font-size: 18px; color: rgba(255, 255, 255, 0.88); }
.quiz__card { background: var(--dark); border-radius: calc(var(--radius) + 8px); padding: clamp(24px, 3.5vw, 48px); min-height: 440px; display: flex; flex-direction: column; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.45); }
.quiz__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.quiz__step { font: 600 12px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.quiz__back { background: none; border: 0; color: rgba(255, 255, 255, 0.6); font: 600 14px var(--sans); padding: 4px 0; }
.quiz__back:hover { color: #fff; }
.quiz__bar { height: 3px; background: rgba(255, 255, 255, 0.1); border-radius: 3px; overflow: hidden; margin-bottom: clamp(24px, 3vw, 36px); }
.quiz__bar span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 0.6s var(--ease); }
.quiz__body { flex: 1; display: flex; flex-direction: column; }
.quiz__q { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -0.005em; line-height: 1.1; margin: 0 0 24px; }
.quiz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz__opt {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.14); color: #fff; border-radius: 14px;
  padding: 18px 20px; font: 600 16px var(--sans); transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.quiz__opt i { font-style: normal; color: var(--accent); opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.3s var(--ease); }
.quiz__opt:hover { border-color: var(--accent); background: rgba(42, 74, 127, 0.08); transform: translateY(-2px); }
.quiz__opt:hover i { opacity: 1; transform: none; }
.quiz__opt.is-picked { background: var(--accent); border-color: var(--accent); }
.quiz__opt.is-picked i { color: #fff; opacity: 1; transform: none; }
.quiz__recap { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.quiz__recap li { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.quiz__refs { color: rgba(255, 255, 255, 0.7); margin: 0 0 28px; line-height: 1.6; }
.quiz__refs strong { color: #fff; }
.quiz__end { margin-top: auto; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.quiz .btn--dark { background: var(--accent); color: #fff; }
.quiz .btn--dark:hover { background: #fff; color: var(--ink); }
.quiz__restart { background: none; border: 0; color: rgba(255, 255, 255, 0.6); font: 600 14px var(--sans); text-decoration: underline; text-underline-offset: 4px; }
.quiz__restart:hover { color: #fff; }
@media (max-width: 900px) { .quiz__grid { grid-template-columns: 1fr; } .quiz__card { min-height: 0; } }
@media (max-width: 480px) { .quiz__opt { padding: 16px 14px; font-size: 15px; } .quiz__opt i { display: none; } }

/* ═════════ Fonctionnement : le chantier qui avance (croquis d'architecte) ═════════ */
#methode { --orange: var(--accent); --night: var(--dark); --paper: var(--bg-2); --paper-2: var(--bg); }
#methode .mt-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
#methode .mt-steps { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
#methode .mt-step { border-top: 1px solid var(--line); }
#methode .mt-step button { width: 100%; background: none; border: 0; color: rgba(22, 21, 19, 0.32); text-align: left; cursor: pointer; display: grid; grid-template-columns: 34px 1fr; align-items: baseline; padding: 14px 0; font: 500 clamp(19px, 2vw, 26px)/1.1 var(--display); letter-spacing: -0.005em; transition: color 0.4s; }
#methode .mt-step button:hover { color: rgba(22, 21, 19, 0.6); }
#methode .mt-step button:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
#methode .mt-step .n { font: 600 12px var(--sans); letter-spacing: 0.08em; color: rgba(22, 21, 19, 0.35); font-variant-numeric: tabular-nums; }
#methode .mt-step.is-on button { color: var(--ink); }
#methode .mt-step.is-on .n { color: var(--orange); }
#methode .mt-step__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); }
#methode .mt-step.is-on .mt-step__body { grid-template-rows: 1fr; }
#methode .mt-step__body > div { overflow: hidden; min-height: 0; padding-left: 34px; }
#methode .mt-step__body p { margin: 0 0 12px; color: var(--ink-2); font-size: 15px; max-width: 42ch; }
#methode .mt-step__bar { height: 2px; background: var(--line); margin-bottom: 14px; }
#methode .mt-step__bar i { display: block; height: 100%; width: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); }
#methode .mt-ctrl { display: flex; align-items: center; gap: 14px; margin-top: 18px; font: 600 13px var(--sans); color: var(--ink-2); }
#methode .mt-ctrl button { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 8px 14px; font: 600 13px var(--sans); cursor: pointer; color: var(--ink); }
#methode .mt-ctrl button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* La scène */
#methode .scene { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 60 / 40; max-width: 100%; background: var(--paper-2); border: 1px solid var(--line); transition: background-color 0.8s var(--ease); }
#methode .scene.is-dark { background-color: var(--night); border-color: transparent; }
#methode .scene::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px); background-size: 24px 24px; opacity: 0; transition: opacity 0.8s; }
#methode .scene.is-dark::before { opacity: 1; }
#methode .scene svg { position: absolute; inset: 0; width: 100%; height: 100%; }
#methode .chip { position: absolute; left: 14px; top: 14px; z-index: 3; font: 600 11px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: #fff; background: rgba(20, 35, 63, 0.6); backdrop-filter: blur(8px); padding: 7px 12px; border-radius: 999px; display: flex; gap: 8px; align-items: center; }
#methode .chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
#methode .scene:not(.is-dark) .chip { background: var(--ink); }

/* calques : chaque groupe s'affiche selon l'étape */
#methode .ly { opacity: 0; transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); }
#methode .ly.is-on { opacity: 1; }
#methode .wire * { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
#methode .wire .dim { stroke: rgba(255, 255, 255, 0.45); stroke-width: 1; }
#methode .wire text, #methode .mt-tags text, #methode .lbl { stroke: none; fill: rgba(255, 255, 255, 0.7); font: 600 10px var(--sans); letter-spacing: 0.14em; }
#methode .draw.is-on path, #methode .draw.is-on rect, #methode .draw.is-on line, #methode .draw.is-on polygon { stroke-dasharray: 1; stroke-dashoffset: 1; animation: mtDraw 1.1s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes mtDraw { to { stroke-dashoffset: 0; } }
#methode .laser { stroke: var(--orange) !important; stroke-width: 1.5 !important; stroke-dasharray: 4 4 !important; animation: none !important; }
#methode .laser-dot { fill: var(--orange); stroke: none !important; }
#methode .mt-tags circle { fill: var(--orange); stroke: none; }
#methode .mt-tags text.num { fill: #fff; font: 600 11px var(--sans); letter-spacing: 0; text-anchor: middle; }
#methode .mt-tags path { fill: none; stroke: var(--orange); stroke-width: 1.4; }
#methode .mt-tags .t { transform-box: fill-box; transform-origin: center; }
#methode .mt-tags.is-on .t { animation: mtPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both; animation-delay: calc(0.3s + var(--i) * 0.18s); }
@keyframes mtPop { from { transform: scale(0); opacity: 0; } }

/* devis (carte HTML au-dessus de la scène) */
#methode .devis { position: absolute; right: 3%; top: 26%; width: 38%; z-index: 2; background: #fbf8f3; color: var(--ink); border-radius: 8px; padding: 14px 16px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); transform: translateY(24px) rotate(2deg); opacity: 0; transition: opacity 0.6s var(--ease) 0.3s, transform 0.8s var(--ease) 0.3s; pointer-events: none; }
#methode .devis.is-on { opacity: 1; transform: rotate(2deg); }
#methode .devis .devis__h { margin: 0 0 8px; font: 500 13px var(--display); letter-spacing: 0.02em; display: flex; justify-content: space-between; }
#methode .devis .devis__h span { font: 600 9px var(--sans); letter-spacing: 0.14em; color: rgba(22, 21, 19, 0.5); }
#methode .devis li { list-style: none; display: flex; gap: 8px; align-items: center; font-size: clamp(10px, 1vw, 12.5px); padding: 5px 0; border-bottom: 1px dashed var(--line); }
#methode .devis ul { margin: 0; padding: 0; }
#methode .devis li b { width: 16px; height: 16px; border-radius: 50%; background: var(--orange); color: #fff; font: 600 9px var(--sans); display: grid; place-items: center; flex: none; }
#methode .devis p { margin: 8px 0 0; font: 600 9px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); }

/* pièce en clair */
#methode .ink * { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
#methode .work .lbl { fill: rgba(22, 21, 19, 0.55); }
#methode .work .paint { fill: #e9d6c4; stroke: none; }
#methode .work .roller { fill: var(--orange); stroke: none; }
#methode .work .handle { fill: none; stroke: var(--ink); stroke-width: 2; }
#methode .work .plank { fill: #c79c6e; stroke: #a67c52; stroke-width: 1; }
#methode .work .cable { fill: none; stroke: var(--orange); stroke-width: 2; stroke-dasharray: 6 4; }
#methode .work .box { fill: #fff; stroke: var(--ink); stroke-width: 1.5; }
#methode .work .ladder { fill: none; stroke: #8a8378; stroke-width: 2.4; }
#methode .work .paint-rect { transform-box: fill-box; transform-origin: left; transform: scaleX(0.1); transition: transform 2.4s var(--ease) 0.3s; }
#methode .work.is-on .paint-rect { transform: scaleX(1); }
#methode .work .roller-g { transition: transform 2.4s var(--ease) 0.3s; transform: translateX(-268px); }
#methode .work.is-on .roller-g { transform: translateX(0); }
#methode .work .planks { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0.2); transition: transform 2.2s var(--ease) 0.6s; }
#methode .work.is-on .planks { transform: scaleY(1); }
#methode .done .wall { fill: #e9d6c4; }
#methode .done .floor { fill: #c79c6e; }
#methode .done .glass { fill: #cfe0e6; }
#methode .done .sky { fill: #f6c9a8; }
#methode .done .sofa { fill: var(--orange); }
#methode .done .sofa-b { fill: #1b2c4d; }
#methode .done .wood { fill: #8b6a4d; }
#methode .done .leaf { fill: #6f8f64; }
#methode .done .rug { fill: #f3efe8; stroke: rgba(22, 21, 19, 0.2); }
#methode .done .frame { fill: #f3efe8; stroke: var(--ink); stroke-width: 2; }
#methode .done .art { fill: var(--orange); }
#methode .done .glow { fill: url(#glow); }
#methode .done .bulb { fill: #ffd79a; }
#methode .done .cord { stroke: var(--ink); stroke-width: 1.5; }
#methode .done .outline { fill: none; stroke: var(--ink); stroke-width: 2; }
#methode .done .fur { transform-box: fill-box; transform-origin: bottom; transform: translateY(12px); opacity: 0; transition: transform 0.7s var(--ease), opacity 0.5s; }
#methode .done.is-on .fur { transform: none; opacity: 1; transition-delay: calc(0.4s + var(--i) * 0.12s); }
#methode .stamp { position: absolute; right: 8%; top: 3%; z-index: 2; width: 18%; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--orange); color: var(--orange); display: grid; place-content: center; text-align: center; font: 500 clamp(11px, 1.3vw, 16px)/1.05 var(--display); text-transform: uppercase; opacity: 0; transform: rotate(-14deg) scale(1.8); background: rgba(246, 241, 231, 0.85); pointer-events: none; }
#methode .stamp::before { content: ""; position: absolute; inset: 5px; border: 1.5px solid var(--orange); border-radius: 50%; }
#methode .stamp small { font: 600 clamp(7px, 0.8vw, 9px) var(--sans); letter-spacing: 0.2em; margin-top: 4px; }
#methode .stamp.is-on { animation: stamp 0.45s cubic-bezier(0.5, 0, 0.75, 0) 1.4s both; }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-14deg) scale(1.8); } 80% { opacity: 1; transform: rotate(-14deg) scale(0.94); } 100% { opacity: 1; transform: rotate(-14deg) scale(1); } }


/* étapes 1 à 4 : tracé du plan ; étape 5 : croquis d'architecte (image) + annotations manuscrites */
#methode .draw.is-on path, #methode .draw.is-on polygon { stroke-dasharray: 1; stroke-dashoffset: 1; animation: mtDraw 1.1s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 70ms); }
#methode .chip, #methode .scene:not(.is-dark) .chip { background: var(--ink); }
#methode .work .paint-rect { transform-box: fill-box; transform-origin: left; transform: scaleX(0.1); transition: transform 2.4s var(--ease) 0.3s; }
#methode .work .roller-g { transition: transform 2.4s var(--ease) 0.3s; transform: translateX(-268px); }
#methode .work.is-on .roller-g { transform: none; }
#methode .work .planks { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0.2); transition: transform 2.2s var(--ease) 0.6s; }
#methode .work.is-on .planks { transform: scaleY(1); }
#methode .mt-sketch { position: absolute; inset: 0; margin: 0; z-index: 2; background: #fbf8f3; opacity: 0; transition: opacity 0.9s var(--ease); }
#methode .mt-sketch.is-on { opacity: 1; }
#methode .mt-sketch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 100% 0 0); }
#methode .mt-sketch.is-on img { animation: mtReveal 1.6s var(--ease) 0.1s forwards; }
@keyframes mtReveal { to { clip-path: inset(0 0 0 0); } }
#methode .mt-sketch svg { position: absolute; inset: 0; width: 100%; height: 100%; }
#methode .nt path { fill: none; stroke: #1c1b19; stroke-width: 0.9; }
#methode .nt circle { fill: #1c1b19; }
#methode .nt text, #methode .nt-title { font: 400 11px "Architects Daughter", "Comic Sans MS", cursive; fill: #1c1b19; letter-spacing: 0.03em; paint-order: stroke; stroke: #fbf8f3; stroke-width: 3px; stroke-linejoin: round; }
#methode .nt-title { font-size: 18px; letter-spacing: 0.1em; }
@media (max-width: 600px) { #methode .nt { display: none; } #methode .nt-title { font-size: 24px; } }
#methode .nt, #methode .nt-title { opacity: 0; transition: opacity 0.5s; }
#methode .mt-sketch.is-on .nt, #methode .mt-sketch.is-on .nt-title { opacity: 1; transition-delay: 1.5s; }
#methode .mt-sketch.is-on .nt:nth-of-type(2n) { transition-delay: 1.7s; }

@media (max-width: 860px) {
  #methode .mt-grid { grid-template-columns: 1fr; }
  #methode .scene { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
}

/* ═════════ Menu « Réalisations » déroulant ═════════ */
.mega-wrap { position: static; }
.mega__toggle { background: none; border: 0; padding: 0; font: inherit; color: inherit; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.mega__toggle span { font-size: 0.7em; transition: transform 0.3s var(--ease); }
.mega-wrap.is-open .mega__toggle span { transform: rotate(180deg); }
.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 5;
  background: var(--bg); color: var(--ink); border-top: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(22, 21, 19, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0.3s;
}
.mega-wrap.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { max-width: var(--max); margin: 0 auto; padding: 32px var(--gutter) 36px; display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.mega__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mega__cat { font: 600 12px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.mega__cat sup { color: var(--muted); letter-spacing: 0; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega ul a { display: block; padding: 5px 0; font: 600 15px var(--sans); color: var(--ink); transition: color 0.2s, transform 0.3s var(--ease); }
.mega ul a:hover, .mega ul a:focus-visible, .mega ul a[aria-current="page"] { color: var(--accent); transform: translateX(4px); }
.mega ul a::after { display: none; }
.mega__side { display: grid; gap: 14px; align-content: start; }
.mega__preview { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--bg-2); }
.mega__preview img { width: 100%; height: 100%; object-fit: cover; }
.mega__all { font: 600 14px var(--sans); color: var(--ink); }
.mega__all:hover { color: var(--accent); }
.mega__all::after { display: none; }
.header { position: fixed; }
.header__inner { position: static; }
@media (max-width: 1080px) { .mega__inner { grid-template-columns: 1fr; } .mega__side { display: none; } }
@media (max-width: 1180px) {
  .nav { overflow-y: auto; justify-content: flex-start; padding: 96px var(--gutter) 40px; font-size: 34px; gap: 10px; }
  .mega-wrap { width: 100%; }
  .mega__cols > * { min-width: 0; }
  .mega ul a { overflow-wrap: anywhere; }
  .mega__toggle { font: inherit; color: var(--ink); }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; display: none; }
  .mega-wrap.is-open .mega { display: block; }
  .mega__inner { padding: 12px 0 8px; gap: 16px; }
  .mega__cols { grid-template-columns: 1fr 1fr; gap: 16px; }
  .mega ul a { font-size: 14px; font-family: var(--sans); letter-spacing: 0; }
}

/* noms du bandeau : cliquables */
.band--names a { color: inherit; display: inline-flex; }
.band--names a:hover span { color: var(--accent); }
.quiz__refs a { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.acc__img { display: block; }

/* ═════════ Page d'un chantier ═════════ */
.pj-hero { position: relative; min-height: min(86svh, 820px); display: flex; align-items: flex-end; color: #fff; background: var(--dark); overflow: hidden; isolation: isolate; }
.pj-hero__media { position: absolute; inset: 0; z-index: -1; }
.pj-hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: pjZoom 2.2s var(--ease) forwards; }
@keyframes pjZoom { to { transform: scale(1); } }
.pj-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 35, 63, 0.92) 0%, rgba(20, 35, 63, 0.35) 55%, rgba(20, 35, 63, 0.5) 100%); }
.pj-hero__content { padding-top: 140px; padding-bottom: clamp(40px, 6vw, 72px); }
.pj-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 600 13px var(--sans); color: rgba(255, 255, 255, 0.65); margin-bottom: 28px; }
.pj-crumbs a:hover { color: #fff; }
.pj-crumbs span:last-child { color: #fff; }
.pj-hero__cat { margin: 0 0 16px; font: 600 12px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }
.pj-hero__cat span { background: var(--accent); color: #fff; padding: 6px 12px; border-radius: 999px; margin-right: 4px; }
.pj-hero__title { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 8vw, 120px); line-height: 0.92; letter-spacing: -0.005em; margin: 0 0 22px; text-wrap: balance; overflow-wrap: anywhere; }
.pj-hero__lead { margin: 0; max-width: 56ch; font-size: clamp(16px, 1.4vw, 20px); color: rgba(255, 255, 255, 0.82); }

.pj-body__grid { display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.pj-story { max-width: 68ch; }
.pj-story #pjStory p { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; margin: 0 0 20px; color: var(--ink); }
.pj-story #pjStory p:first-child::first-letter { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 3.2em; float: left; line-height: 0.8; margin: 6px 10px 0 0; }
.pj-works { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pj-works li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; }
.pj-cta { margin-top: 36px; }

.pj-gallery-sec { background: var(--bg-2); }
.pj-gallery { columns: 3 280px; column-gap: 16px; }
.pj-gallery.is-single { columns: 1; max-width: 980px; }
.pj-shot { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; background: var(--bg); border-radius: 14px; overflow: hidden; cursor: zoom-in; break-inside: avoid; }
.pj-shot img { width: 100%; height: auto; transition: transform 0.9s var(--ease); }
.pj-shot:hover img { transform: scale(1.04); }
.pj-shot:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.pj-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: clamp(56px, 8vw, 96px); }
.pj-nav__link { display: grid; gap: 8px; padding: 28px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); transition: background 0.3s, border-color 0.3s; min-width: 0; }
.pj-nav__link span { font: 600 12px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.pj-nav__link strong { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.6vw, 38px); letter-spacing: -0.005em; line-height: 1.05; overflow-wrap: anywhere; }
.pj-nav__link--next { text-align: right; }
.pj-nav__link:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--accent); }
.pj-more__head { align-items: center; }
.pj-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pj-card { display: grid; gap: 14px; color: #fff; }
.pj-card__media { aspect-ratio: 7 / 5; border-radius: var(--radius); overflow: hidden; background: var(--dark-2); display: block; }
.pj-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pj-card:hover .pj-card__media img { transform: scale(1.05); }
.pj-card__info { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pj-card__info strong { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: -0.005em; }
.pj-card__info em { font-style: normal; font: 600 11px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }

.lb { position: fixed; inset: 0; z-index: 300; background: rgba(20, 35, 63, 0.94); display: grid; place-items: center; padding: 60px 16px; }
.lb[hidden] { display: none; }
.lb img { max-width: min(1400px, 100%); max-height: 100%; object-fit: contain; border-radius: 8px; }
.lb__close, .lb__nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 20px; cursor: pointer; }
.lb__close { top: 16px; right: 16px; }
.lb__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, 0.7); font: 600 13px var(--sans); margin: 0; }

@media (max-width: 900px) {
  .pj-body__grid { grid-template-columns: 1fr; }
  .pj-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .pj-nav { grid-template-columns: 1fr; }
  .pj-nav__link--next { text-align: left; }
  .pj-cards { grid-template-columns: 1fr; }
}

/* ═════════ Conception sur mesure ═════════ */
.cs-hero { background: var(--dark); color: #fff; padding: 140px 0 clamp(56px, 8vw, 100px); position: relative; overflow: hidden; }
.cs-hero::before { content: ""; position: absolute; width: 50vw; height: 50vw; right: -12vw; top: -18vw; background: radial-gradient(circle, rgba(42, 74, 127, 0.22), transparent 60%); filter: blur(20px); }
.cs-hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.cs-kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 24px; font: 600 13px var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); padding: 8px 16px 8px 14px; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 999px; }
.cs-kicker .pulse, .cs-kicker .pulse::after { background: var(--accent); border-color: var(--accent); }
.cs-kicker .pulse::after { background: none; }
.cs-hero__title { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 4.4vw, 70px); line-height: 0.95; letter-spacing: -0.005em; margin: 0 0 26px; }
.cs-hero__title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.cs-hero__lead { margin: 0 0 32px; max-width: 48ch; font-size: clamp(16px, 1.3vw, 19px); color: rgba(255, 255, 255, 0.78); }
.cs-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cs-hero__sketch { margin: 0; position: relative; border-radius: 18px; overflow: hidden; background: #fbf8f3; transform: rotate(1.5deg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); }
@keyframes csReveal { to { clip-path: inset(0 0 0 0); } }
.cs-hero__sketch figcaption { position: absolute; left: 14px; bottom: 12px; font: 400 14px "Architects Daughter", "Comic Sans MS", cursive; color: var(--ink); background: rgba(251, 248, 243, 0.85); padding: 4px 10px; border-radius: 6px; }

.cs-duo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cs-card { border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(26px, 3.4vw, 44px); background: var(--bg); }
.cs-card--dark { background: var(--dark); color: #fff; border-color: transparent; }
.cs-card__icon { width: 64px; height: 64px; margin-bottom: 28px; }
.cs-card__icon path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cs-card__icon .o { stroke: var(--accent); }
.cs-card__role { margin: 0 0 8px; font: 600 12px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.cs-card h3 { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.05; letter-spacing: -0.005em; margin: 0 0 22px; }
.cs-card ul { list-style: none; margin: 0; padding: 0; }
.cs-card li { padding: 12px 0 12px 26px; border-top: 1px solid var(--line); position: relative; }
.cs-card--dark li { border-color: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.85); }
.cs-card li::before { content: ""; position: absolute; left: 0; top: 20px; width: 12px; height: 2px; background: var(--accent); }

.cs-made__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, 0.14); }
.cs-made__list li { display: flex; align-items: baseline; gap: 16px; padding: clamp(20px, 2.4vw, 32px) 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); font-family: var(--display); font-weight: 500; font-size: clamp(18px, 1.8vw, 26px); letter-spacing: -0.005em; }
.cs-made__list span { font: 600 12px var(--sans); color: var(--accent); }

.cs-steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cs-steps__list li { border-top: 2px solid var(--ink); padding-top: 22px; }
.cs-steps__n { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font: 600 16px var(--sans); }
.cs-steps__list h3 { font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -0.005em; margin: 26px 0 10px; }
.cs-steps__list p { margin: 0; color: var(--ink-2); }

.cs-why { background: var(--bg-2); }
.cs-why__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.cs-why__list { list-style: none; margin: 0; padding: 0; }
.cs-why__list li { padding: 22px 0; border-top: 1px solid var(--line); font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-2); }
.cs-why__list strong { display: block; color: var(--ink); font-family: var(--display); font-weight: 500; font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -0.005em; margin-bottom: 6px; }

.cs-cta { background: var(--accent); color: #fff; padding: clamp(56px, 8vw, 100px) 0; }
.cs-cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cs-cta__title { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(30px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.005em; }
.cs-cta__title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--dark); }
.cs-cta__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cs-cta .btn--dark:hover { background: #fff; color: var(--ink); }
.cs-cta__tel { font: 600 20px var(--sans); border-bottom: 1px solid rgba(255, 255, 255, 0.6); }

/* bandeau d'accueil vers la page */
.cs-teaser { background: var(--bg); padding: clamp(64px, 9vw, 120px) 0; }
.cs-teaser__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.cs-teaser__img { margin: 0; border-radius: 18px; overflow: hidden; transform: rotate(-1.2deg); box-shadow: 0 40px 70px -40px rgba(22, 21, 19, 0.5); background: #fbf8f3; }
.cs-teaser__img img { width: 100%; height: auto; display: block; }
.cs-teaser__text { display: grid; gap: 22px; justify-items: start; }
.cs-teaser__text .h2 { font-size: clamp(26px, 2.8vw, 42px); }
.cs-teaser__text p:not(.eyebrow) { margin: 0; color: var(--ink-2); max-width: 46ch; }
.nav a[aria-current="page"] { color: var(--accent); }

@media (max-width: 960px) {
  .cs-hero__grid, .cs-duo__grid, .cs-why__grid, .cs-teaser__inner { grid-template-columns: 1fr; }
  .cs-made__list { grid-template-columns: 1fr 1fr; }
  .cs-steps__list { grid-template-columns: 1fr 1fr; }
}
.cs-duo .section__head > div, .cs-made .section__head > div, .cs-steps .section__head > div, .cs-why__grid > *, .cs-teaser__text { min-width: 0; max-width: 100%; }
.cs-made .h2, .cs-steps .h2 { font-size: clamp(30px, 5vw, 76px); overflow-wrap: anywhere; }
.cs-duo .h2, .cs-why .h2 { font-size: clamp(30px, 5vw, 76px); overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .cs-made__list, .cs-steps__list { grid-template-columns: 1fr; }
  .cs-hero__sketch, .cs-teaser__img { transform: none; }
}

/* ═════════ Conception : animations (croquis, volume, calque, matières) ═════════ */
.csa { --paper: var(--bg); --sheet: #fbf8f3; --night: var(--dark); --orange: var(--accent); --hand: "Architects Daughter", "Comic Sans MS", cursive; }
.cs-hero__sketch.csa { transform: rotate(1.5deg); }
.cs-hero__sketch .stage { border: 0; border-radius: 0; }
.cs-anim { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(48px, 7vw, 88px); }
.cs-anim--rev { grid-template-columns: 1.2fr 0.8fr; }
.cs-anim--rev .cs-anim__text { order: 2; }
.cs-anim__text { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.cs-anim__text h3 { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -0.005em; line-height: 1.02; margin: 0; }
.cs-anim__text h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.cs-anim__text p { margin: 0; color: var(--ink-2); max-width: 44ch; }
.cs-anim__kicker { font: 600 12px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.cs-replay { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 8px 14px; font: 600 13px var(--sans); cursor: pointer; color: var(--ink); }
.cs-replay:hover { border-color: var(--ink); }
.cs-steps .cs-anim { margin-top: clamp(40px, 6vw, 72px); }
@media (max-width: 860px) { .cs-anim, .cs-anim--rev { grid-template-columns: 1fr; } .cs-anim--rev .cs-anim__text { order: 0; } }
@media (prefers-reduced-motion: reduce) { .csa *, .csa *::before, .csa *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; } }
.csa .stage { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 2; max-width: 100%; background: var(--sheet); border: 1px solid var(--line); }
.csa .stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.csa .stage--dark { background-color: var(--night); background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 22px 22px; border-color: transparent; }

/* 1 · Croquis qui se dessine */
.csa .sk path, .csa .sk polygon, .csa .sk line { fill: none; stroke: #1c1b19; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.csa .sk .thin { stroke-width: 0.9; opacity: 0.6; }
.csa .go .sk path, .csa .go .sk polygon, .csa .go .sk line { animation: csaDraw 0.9s var(--ease) forwards; animation-delay: calc(var(--i) * 0.11s); }
@keyframes csaDraw { to { stroke-dashoffset: 0; } }
.csa .wash { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; -webkit-mask-image: radial-gradient(circle at 50% 55%, #000 0%, transparent 0%); mask-image: radial-gradient(circle at 50% 55%, #000 0%, transparent 0%); }
.csa .go .wash { animation: csaWash 2.2s var(--ease) 1.4s forwards; }
.csa .go .sk { animation: csaFadeLines 1.6s ease 2.6s forwards; }
@keyframes csaFadeLines { to { opacity: 0; } }
@keyframes csaWash { 0% { opacity: 1; -webkit-mask-image: radial-gradient(circle at 50% 55%, #000 0%, transparent 1%); mask-image: radial-gradient(circle at 50% 55%, #000 0%, transparent 1%); } 100% { opacity: 1; -webkit-mask-image: radial-gradient(circle at 50% 55%, #000 70%, transparent 100%); mask-image: radial-gradient(circle at 50% 55%, #000 70%, transparent 100%); } }
.csa .hand-note { position: absolute; font: 400 clamp(11px, 1.3vw, 15px) var(--hand); color: #1c1b19; opacity: 0; transition: opacity 0.5s; background: rgba(251,248,243,.8); padding: 0 4px; border-radius: 3px; }
.csa .go .hand-note { opacity: 1; transition-delay: 3.9s; }

/* 2 · Plan → volume */
.csa .vol .wall { fill: #efe7da; stroke: #efe7da; stroke-width: 1; stroke-linejoin: round; }
.csa .vol .wall.side { fill: #ddd0bf; stroke: #ddd0bf; }
.csa .vol .floor { fill: #d8b48a; stroke: none; }
.csa .vol .door { fill: none; stroke: var(--orange); stroke-width: 1.4; }
.csa .vol .dim { stroke: rgba(22,21,19,.4); stroke-width: 1; fill: none; }
.csa .vol text { font: 400 12px var(--hand); fill: #1c1b19; }
.csa .vol .t-plan { transition: opacity 0.5s; }
.csa .stage-label { position: absolute; left: 14px; top: 12px; z-index: 2; font: 600 11px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: #fff; background: var(--ink); padding: 6px 12px; border-radius: 999px; display: flex; gap: 8px; align-items: center; }
.csa .stage-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

/* 3 · Calque */
.csa .calque { touch-action: pan-y; }
.csa .calque .layer { position: absolute; inset: 0; }
.csa .calque .over { clip-path: inset(0 0 0 var(--x, 50%)); background: rgba(251, 248, 243, 0.94); }
.csa .calque .over::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-35deg, transparent 0 14px, rgba(0,0,0,.018) 14px 15px); }
.csa .bp * { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.csa .bp .dim { stroke: rgba(255,255,255,.4); stroke-width: 1; }
.csa .bp .o { stroke: var(--orange); stroke-width: 1.5; }
.csa .bp text { stroke: none; fill: rgba(255,255,255,.7); font: 600 9px var(--sans); letter-spacing: .14em; }
.csa .id * { stroke: #1c1b19; stroke-width: 1.6; stroke-linejoin: round; }
.csa .id text { stroke: none; fill: #1c1b19; font: 400 12px var(--hand); }
.csa .handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: var(--orange); transform: translateX(-1px); pointer-events: none; }
.csa .handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 18px; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.csa .calque input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.csa .tag-l, .csa .tag-r { position: absolute; top: 12px; z-index: 2; font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; pointer-events: none; }
.csa .tag-l { left: 12px; background: rgba(255,255,255,.12); color: #fff; }
.csa .tag-r { right: 12px; background: var(--ink); color: #fff; }

/* 4 · Planche de tendances */
.csa .board { background: #f6f1ea; }
.csa .sw { position: absolute; border-radius: 6px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.35); opacity: 0; transform: translateY(-60px) rotate(var(--r)) scale(1.1); }
.csa .go .sw { animation: csaDrop 0.7s cubic-bezier(.34,1.3,.64,1) forwards; animation-delay: calc(0.25s + var(--i) * 0.28s); }
@keyframes csaDrop { to { opacity: 1; transform: rotate(var(--r)); } }
.csa .sw::after { content: ""; position: absolute; width: 46px; height: 16px; background: rgba(255, 244, 214, 0.75); top: -8px; left: 50%; transform: translateX(-50%) rotate(-4deg); }
.csa .sw figcaption { position: absolute; left: 0; right: 0; bottom: -26px; text-align: center; font: 400 clamp(11px, 1.2vw, 14px) var(--hand); color: #1c1b19; }
.csa .oak { background: repeating-linear-gradient(95deg, #c79a66 0 6px, #b98a57 6px 9px, #d3a874 9px 15px, #a97b4b 15px 17px); }
.csa .marble { background: radial-gradient(ellipse at 30% 30%, #fff 0 30%, transparent 60%), linear-gradient(125deg, #f2eee8 0 40%, #d9d2c8 41%, #f2eee8 43% 70%, #cfc6ba 71%, #f2eee8 73%); }
.csa .brass { background: linear-gradient(135deg, #8a6a2a, #e9c878 35%, #b58b3a 55%, #f3d892 70%, #8a6a2a); }
.csa .velvet { background: radial-gradient(circle at 35% 30%, #ff8a5a, #e0501a 45%, #b83a0d); }
.csa .linen { background: repeating-linear-gradient(0deg, #e9e2d6 0 2px, #ddd4c5 2px 3px), #e9e2d6; background-blend-mode: multiply; }
.csa .paint { background: #d9c7b3; }
.csa .stamp { position: absolute; right: 7%; bottom: 10%; width: 22%; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--orange); color: var(--orange); display: grid; place-content: center; text-align: center; font: 500 clamp(11px, 1.5vw, 17px)/1.05 var(--display); text-transform: uppercase; transform: rotate(-14deg) scale(1.8); opacity: 0; }
.csa .stamp::before { content: ""; position: absolute; inset: 5px; border: 1.5px solid var(--orange); border-radius: 50%; }
.csa .stamp small { font: 600 clamp(7px, .8vw, 9px) var(--sans); letter-spacing: .2em; margin-top: 4px; }
.csa .go .stamp { animation: csaStamp 0.45s cubic-bezier(.5,0,.75,0) 2.4s forwards; }
@keyframes csaStamp { 80% { opacity: 1; transform: rotate(-14deg) scale(.94); } 100% { opacity: 1; transform: rotate(-14deg) scale(1); } }
.csa .board-title { position: absolute; left: 5%; top: 6%; font: 400 clamp(16px, 2.2vw, 26px) var(--hand); color: #1c1b19; }


@media (max-width: 600px) { .csa .csa-long { display: none; } }
.csa .vol .wall-edge { fill: none; stroke: #1c1b19; stroke-width: 1.4; stroke-linecap: round; }

/* ═════════ Page Showroom ═════════ */
.sr-hero .cs-hero__title { font-size: clamp(32px, 4vw, 64px); }
.sr-wall { position: relative; min-width: 0; }
.sr-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 6px; background: #d9d2c6; border-radius: 16px; transform: rotate(-1.5deg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); perspective: 900px; }
.sr-tile { aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: pointer; perspective: 600px; opacity: 0; transform: translateY(-14px) scale(0.92); transition: opacity 0.5s calc(var(--i) * 60ms), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1.2) calc(var(--i) * 60ms); }
.sr-tiles.is-in .sr-tile { opacity: 1; transform: none; }
.sr-tile__in { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.8s cubic-bezier(0.6, 0, 0.2, 1); }
.sr-tile.is-flipped .sr-tile__in { transform: rotateY(180deg); }
.sr-tile__face { position: absolute; inset: 0; border-radius: 4px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.sr-tile__face--back { transform: rotateY(180deg); }
.sr-tile__face svg { display: block; width: 100%; height: 100%; }
.sr-tile:hover .sr-tile__face, .sr-tile:focus-visible .sr-tile__face { box-shadow: inset 0 0 0 3px var(--accent); }
.sr-wall__label { display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 0; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); font: 600 13px var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }
.sr-wall__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.sr-strip { background: var(--accent); color: #fff; }
.sr-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.sr-strip p { margin: 0; padding: 26px 20px; border-left: 1px solid rgba(255, 255, 255, 0.3); display: grid; gap: 4px; }
.sr-strip p:first-child { border-left: 0; padding-left: 0; }
.sr-strip strong { font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2vw, 28px); letter-spacing: -0.005em; }
.sr-strip span { font-size: 14px; color: rgba(255, 255, 255, 0.88); }

.sr-why__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.sr-why__text { min-width: 0; }
.sr-why__text .h2 { font-size: clamp(30px, 4vw, 60px); margin-bottom: 18px; overflow-wrap: anywhere; }
.sr-floor { position: relative; margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(22, 21, 19, 0.55); transform: rotate(-1deg); background: #6e4424; }
.sr-floor svg { display: block; width: 100%; height: auto; }
.sr-plank { opacity: 0; transform-box: fill-box; transform-origin: center; transform: translate(-10px, -18px) scale(1.06); transition: opacity 0.35s, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.sr-grain { opacity: 0; transition: opacity 0.4s 0.2s; }
.sr-plank.is-down { opacity: 1; transform: none; }
.sr-grain.is-down { opacity: 1; }
.sr-floor__count { position: absolute; left: 14px; bottom: 14px; margin: 0; padding: 7px 14px; border-radius: 999px; background: rgba(20, 35, 63, 0.78); color: #fff; font: 600 13px var(--sans); }
.sr-floor__count span { color: var(--accent); font-variant-numeric: tabular-nums; }
.sr-replay { position: absolute; right: 14px; bottom: 14px; }

.sr-cat__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sr-book { display: grid; gap: 16px; color: #fff; opacity: 0; transform: translateY(24px); transition: opacity 0.6s calc(var(--i) * 90ms), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--i) * 90ms); }
.sr-book.is-in { opacity: 1; transform: none; }
.sr-book__cover { position: relative; display: block; aspect-ratio: 212 / 300; border-radius: 6px 12px 12px 6px; overflow: hidden; background: #26241f; box-shadow: inset 6px 0 10px -6px rgba(0, 0, 0, 0.6), 0 30px 50px -30px rgba(0, 0, 0, 0.8); transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); transform-origin: left center; }
.sr-book:hover .sr-book__cover { transform: perspective(900px) rotateY(-14deg); }
.sr-book__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sr-book__fallback { display: none; position: absolute; inset: 0; place-items: center; padding: 16px; text-align: center; font-family: var(--display); font-weight: 500; font-size: clamp(16px, 2vw, 30px); letter-spacing: -0.005em; overflow-wrap: anywhere; background: repeating-linear-gradient(135deg, #2a2723 0 18px, #24211d 18px 36px); border-left: 8px solid var(--accent); }
.sr-book.no-img img { display: none; }
.sr-book.no-img .sr-book__fallback { display: grid; }
.sr-book__meta { display: flex; align-items: baseline; gap: 10px; }
.sr-book__meta strong { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: -0.005em; }
.sr-book__meta span { font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.sr-book__meta i { margin-left: auto; font-style: normal; color: var(--accent); }
.sr-book--wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 505px) 1fr; align-items: center; gap: 28px; padding-top: 12px; }
.sr-book--wide .sr-book__cover { aspect-ratio: 505 / 199; border-radius: 12px; background: #fff; }
.sr-book--wide .sr-book__cover img { object-fit: contain; }
.sr-book--wide:hover .sr-book__cover { transform: translateY(-4px); }
.sr-book--wide .sr-book__meta { flex-wrap: wrap; }

.sr-cat .section__aside { color: rgba(246, 241, 231, 0.68); }
.sr-visit__list { grid-template-columns: repeat(3, 1fr); }
.sr-info { background: var(--bg-2); }
.sr-info .showroom__info dd a { border-bottom: 1px solid var(--line); }

@media (max-width: 960px) {
  .sr-why__grid { grid-template-columns: 1fr; }
  .sr-cat__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sr-strip__grid { grid-template-columns: 1fr 1fr; }
  .sr-strip p:nth-child(3) { border-left: 0; padding-left: 0; }
  .sr-strip p:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.3); }
  .sr-book--wide { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sr-visit__list { grid-template-columns: 1fr; }
  .sr-tiles, .sr-floor { transform: none; }
  .sr-strip p { padding: 20px 12px; }
  .sr-cat__grid { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .sr-tile, .sr-book, .sr-plank, .sr-grain { transition: none; }
}

/* ───────── Logo EMBI (SVG, l'ombre suit la couleur du texte de l'en-tête) ───────── */
.header .logo { align-items: center; }
.logo__svg { display: block; height: 34px; width: auto; overflow: visible; }
@media (max-width: 560px) { .logo__svg { height: 28px; } }

/* ═════════ Appels à l'action ═════════ */
.hero__call { flex-basis: 100%; margin: 6px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.hero__call a { color: #fff; font-weight: 600; border-bottom: 1px solid var(--accent); }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-top: clamp(40px, 6vw, 72px); padding: clamp(26px, 3.4vw, 44px); border-radius: calc(var(--radius) + 4px); background: var(--bg-2); border: 1px solid var(--line); }
.cta-band--dark { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); }
.cta-band__title { margin: 0; min-width: 0; font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.8vw, 40px); line-height: 1.05; letter-spacing: -0.005em; overflow-wrap: anywhere; }
.cta-band__title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Barre flottante « Appeler / Devis gratuit » */
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: flex; gap: 10px; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity 0.35s var(--ease), transform 0.45s var(--ease); }
.fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fab a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 22px; border-radius: 999px; font: 600 15px var(--sans); box-shadow: 0 16px 40px -12px rgba(20, 35, 63, 0.45); transition: background 0.25s, color 0.25s, transform 0.25s; }
.fab a:hover { transform: translateY(-2px); }
.fab__tel { background: var(--ink); color: var(--bg); }
.fab__tel svg { width: 18px; height: 18px; flex-shrink: 0; fill: currentColor; }
.fab__tel span { display: none; }
.fab__devis { background: var(--accent); color: #fff; }
.fab__devis:hover { background: var(--ink); }
@media (min-width: 761px) { .fab__tel { width: 52px; padding: 0; } }
@media (max-width: 760px) {
  .fab { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .fab a { flex: 1; height: 50px; padding: 0 14px; }
  .fab__tel span { display: inline; }
  .fab__devis { flex: 1.4; }
}
@media (prefers-reduced-motion: reduce) { .fab { transition: none; } }

/* ═════════ Bandeau cookies ═════════ */
.ck { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 400; display: flex; justify-content: center; pointer-events: none; }
.ck__inner { pointer-events: auto; width: min(760px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--dark); color: #fff; border-radius: 18px; padding: clamp(20px, 3vw, 30px); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6); border: 1px solid rgba(255, 255, 255, 0.1); opacity: 0; transform: translateY(24px); transition: opacity 0.35s var(--ease), transform 0.45s var(--ease); }
.ck.is-open .ck__inner { opacity: 1; transform: none; }
.ck:not(.is-open) .ck__inner { pointer-events: none; } /* bandeau en train de se fermer : laisse passer les appuis */
.ck__title { margin: 0 0 8px; font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.005em; }
.ck__title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.ck__text { margin: 0 0 18px; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.78); }
.ck__text a { color: #fff; border-bottom: 1px solid var(--accent); }
.ck__details { display: none; margin: 0 0 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.ck.is-details .ck__details { display: block; }
.ck__cat { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); cursor: pointer; }
.ck__cat > span { flex: 1; display: grid; gap: 3px; }
.ck__cat strong { font-size: 15px; }
.ck__cat small { font-size: 13px; color: rgba(255, 255, 255, 0.65); }
.ck__cat input { position: absolute; opacity: 0; pointer-events: none; }
.ck__cat i { flex: none; width: 44px; height: 26px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); position: relative; transition: background 0.25s; }
.ck__cat i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform 0.25s var(--ease); }
.ck__cat input:checked + i { background: var(--accent); }
.ck__cat input:checked + i::after { transform: translateX(18px); }
.ck__cat input:focus-visible + i { outline: 2px solid #fff; outline-offset: 2px; }
.ck__cat.is-locked { cursor: default; opacity: 0.75; }
.ck__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ck__btn { flex: 1 1 auto; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; background: #fff; color: var(--ink); font: 600 14px var(--sans); cursor: pointer; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.ck__btn:hover { background: var(--accent); color: #fff; }
.ck__btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.ck__btn--ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: #fff; }
.ck [data-ck="save"] { display: none; }
.ck.is-details [data-ck="save"] { display: block; }
.ck.is-details [data-ck="custom"] { display: none; }
.has-cookie-banner .fab { opacity: 0 !important; pointer-events: none !important; }
@media (max-width: 560px) { .ck { left: 8px; right: 8px; bottom: 8px; } .ck__btn { flex-basis: calc(50% - 5px); } }
@media (prefers-reduced-motion: reduce) { .ck__inner { transition: none; } }

/* Carte Google Maps : affichée seulement après accord */
[data-consent-box] { position: relative; }
.consent-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center; background: var(--bg-2); color: var(--ink-2); font-size: 14px; }
.consent-ph strong { font-family: var(--display); font-weight: 500; font-size: 20px; color: var(--ink); }
[data-consent-box].is-granted .consent-ph { display: none; }

/* Liens bas de page : pages légales */
.footer__legal { flex-wrap: wrap; }
.footer__legal a, .footer__legal button { color: inherit; }
.footer__legal button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.footer__cols { grid-template-columns: repeat(4, 1fr); }
.footer__nav { display: grid; gap: 6px; align-content: start; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 900px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__cols { grid-template-columns: 1fr; } }

/* ═════════ Pages intérieures : en-tête de page ═════════ */
.page-hero { padding: clamp(130px, 16vw, 180px) 0 clamp(56px, 7vw, 90px); }
.page-hero__inner { position: relative; display: grid; gap: 22px; justify-items: start; }
.page-hero .pj-crumbs { margin: 0; }
.page-hero .cs-hero__title { margin: 0; max-width: 18ch; font-size: clamp(36px, 5.6vw, 88px); }
.page-hero .cs-hero__lead { margin: 0; max-width: 60ch; }
.page-hero + .section--dark, .page-hero + .contact { border-top: 1px solid rgba(255, 255, 255, 0.08); }

/* Accueil : les 4 pages à explorer */
.explore__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.explore__card { display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; padding: clamp(22px, 2.4vw, 32px); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: var(--bg); transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s; min-height: 260px; }
.explore__card:hover { background: var(--dark); color: #fff; border-color: var(--dark); transform: translateY(-4px); }
.explore__n { font: 600 12px var(--sans); color: var(--accent); letter-spacing: 0.1em; }
.explore__card strong { font-family: var(--display); font-weight: 500; font-size: clamp(20px, 1.7vw, 26px); letter-spacing: -0.005em; line-height: 1.05; overflow-wrap: anywhere; min-width: 0; }
.explore__card p { margin: 0; color: var(--ink-2); font-size: 15px; transition: color 0.35s; }
.explore__card:hover p { color: rgba(255, 255, 255, 0.75); }
.explore__go { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14px; }
.explore__go i { font-style: normal; color: var(--accent); transition: transform 0.35s var(--ease); }
.explore__card:hover .explore__go i { transform: translateX(6px); }
@media (max-width: 1000px) { .explore__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .explore__grid { grid-template-columns: 1fr; } .explore__card { min-height: 0; } }

/* Page chantier : sous-titre du récit */
.pj-story__h { margin: 0 0 18px; font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.005em; line-height: 1.1; }

/* ═════════ Pages légales ═════════ */
.legal__inner { max-width: 820px; }
.legal__updated { margin: 0 0 32px; font-size: 14px; color: var(--muted); }
.legal h2 { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.005em; line-height: 1.1; margin: 48px 0 16px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal a, .legal__link { color: var(--ink); border-bottom: 1px solid var(--accent); }
.legal__link { background: none; border-width: 0 0 1px; padding: 0; font: inherit; cursor: pointer; }
.legal__table { overflow-x: auto; margin: 8px 0 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.legal table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal th { background: var(--bg-2); font-weight: 600; }
.legal tr:last-child td { border-bottom: 0; }
mark.todo { background: #fff1a8; color: #5a4600; padding: 1px 6px; border-radius: 4px; font-weight: 600; }

/* ═════════ Site multipage : composants ajoutés ═════════ */
/* Animation d'intro : bouton « Passer » */
.loader__skip { position: absolute; top: calc(var(--gutter) + 4px); right: var(--gutter); z-index: 2; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.06); color: #fff; font: 600 14px var(--sans); cursor: pointer; transition: background 0.25s, border-color 0.25s; }
.loader__skip:hover, .loader__skip:focus-visible { background: var(--accent); border-color: var(--accent); outline: none; }

/* Bouton d'urgence : visible partout, compact sur mobile */
.header__urgent { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(192, 57, 43, 0.35); }
.header__urgent[aria-current="page"] { color: var(--accent); border-color: var(--accent); }
@media (max-width: 1080px) {
  .header__urgent { display: inline-flex; margin-left: auto; padding: 7px 12px; font-size: 13px; }
  .header__urgent-num { display: none; }
  .burger { margin-left: 8px; }
}
.urgent__actions { display: grid; gap: 12px; justify-items: start; }
.urgent__more { font-size: 14px; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, 0.5); }
.footer__urgent { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.footer__h { margin: 0 0 6px; font: 600 12px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(246, 241, 231, 0.45); }
.footer__col { display: grid; gap: 12px; align-content: start; }
.footer__col p { margin: 0; }
.footer__social a { text-decoration: underline; text-underline-offset: 3px; }

/* Cartes de chantier : titre en H3, variante sur fond clair */
.pj-card__t { margin: 0; font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: -0.005em; line-height: 1.1; }
.realisations-all .pj-card, .sector .pj-card { color: var(--ink); }
.realisations-all .pj-card__media { background: var(--bg-2); }
.pj-cards--featured { grid-template-columns: repeat(6, 1fr); }
.pj-cards--featured .pj-card { grid-column: span 2; }
.pj-cards--featured .pj-card:nth-child(-n + 2) { grid-column: span 3; }
.pj-cards--grid .pj-card[hidden] { display: none; }
.realisations-all .section__head { align-items: end; }
@media (max-width: 900px) { .pj-cards--featured .pj-card, .pj-cards--featured .pj-card:nth-child(-n + 2) { grid-column: span 3; } }
@media (max-width: 560px) { .pj-cards--featured { grid-template-columns: 1fr; } .pj-cards--featured .pj-card, .pj-cards--featured .pj-card:nth-child(-n + 2) { grid-column: auto; } }
.sector__others { margin: clamp(32px, 4vw, 48px) 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-weight: 600; }
.sector__others a:not(.btn) { border-bottom: 1px solid var(--accent); }
.feature__all { font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--accent); }

/* Cartes des secteurs */
.explore__t { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(18px, 1.45vw, 22px); letter-spacing: -0.005em; line-height: 1.05; min-width: 0; }

/* Méthode en bref / en détail */
.brief { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.brief__step { border-top: 2px solid var(--ink); padding-top: 18px; display: grid; gap: 10px; align-content: start; }
.brief__n { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font: 600 14px var(--sans); }
.brief__t { margin: 6px 0 0; font-family: var(--display); font-weight: 500; font-size: 19px; letter-spacing: -0.005em; line-height: 1.1; }
.brief__step p { margin: 0; color: var(--ink-2); font-size: 15px; }
.brief--detail { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
@media (max-width: 1000px) { .brief { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .brief { grid-template-columns: 1fr; } }

/* Pages secteur */
.sector__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.sector__text { min-width: 0; }
.sector__text .h2 { font-size: clamp(30px, 4vw, 60px); margin-bottom: 18px; overflow-wrap: anywhere; }
.sector__text p:not(.eyebrow) { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); margin: 0 0 16px; max-width: 60ch; }
.sector__works { padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: var(--bg-2); min-width: 0; }
.pj-works__h { margin: 0 0 14px; font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: -0.005em; }
.sector__more { display: inline-block; margin-top: 18px; font-weight: 600; border-bottom: 1px solid var(--accent); }
@media (max-width: 900px) { .sector__grid { grid-template-columns: 1fr; } }
/* Le chantier phare (carrousel à droite du texte) s'élargit vers la droite jusqu'à 16px du bord de l'écran, sur toutes les pages */
@media (min-width: 901px) { .sector .phare { margin-right: calc(-1 * var(--gutter) + 16px); } }
@media (min-width: 1361px) { .sector .phare { margin-right: calc((1360px - 100vw) / 2 - var(--gutter) + 16px); } }

/* Savoir-faire : corps de métier */
.trades__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.trade { display: grid; gap: 12px; align-content: start; padding: clamp(22px, 2.4vw, 30px); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: var(--bg); }
.trade__t { margin: 0; font-family: var(--display); font-weight: 500; font-size: 21px; letter-spacing: -0.005em; line-height: 1.1; }
.trade p { margin: 0; color: var(--ink-2); font-size: 15px; }
.trades .section__aside a { border-bottom: 1px solid var(--accent); }
@media (max-width: 1000px) { .trades__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .trades__grid { grid-template-columns: 1fr; } }

/* Page chantier */
.pj-result { margin: 18px 0 0; font-size: 17px; color: var(--ink-2); }
.pj-story__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pj-story__actions .pj-cta { margin: 0; }
.pj-hero__cat a { color: inherit; }

/* Formulaires : consentement, secours, anti-spam */
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: rgba(246, 241, 231, 0.75); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.consent a { color: #fff; border-bottom: 1px solid var(--accent); }
.consent.is-invalid { color: #f0a58f; }
.form__alt { margin: 0; font-size: 14px; color: rgba(246, 241, 231, 0.6); }
.form__alt a, .form__note a { color: #fff; border-bottom: 1px solid var(--accent); }
.form__hp { display: none !important; }
button[disabled] { opacity: 0.6; cursor: wait; }

/* Questionnaire : formulaire en étapes (sans JS, toutes les questions s'affichent) */
.quiz__set { border: 0; margin: 0 0 24px; padding: 0; min-width: 0; display: grid; gap: 16px; }
.quiz__set legend { padding: 0; margin-bottom: 16px; }
.js .quiz.is-stepping .quiz__set { display: none; margin: 0; }
.js .quiz.is-stepping .quiz__set.is-current { display: grid; animation: quizIn 0.5s var(--ease); }
@keyframes quizIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.quiz__opt { position: relative; cursor: pointer; }
.quiz__opt input { position: absolute; opacity: 0; pointer-events: none; }
.quiz__opt:has(input:checked) { background: var(--accent); border-color: var(--accent); }
.quiz__opt:has(input:focus-visible) { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.quiz__final .form__row { margin-top: 4px; }
.quiz__final .quiz__end { margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .js .quiz.is-stepping .quiz__set.is-current { animation: none; } }

/* Plan d'accès avant accord (Google Maps) */
.consent-ph { background: var(--bg-2) url(/assets/img/plan-acces.svg) center / cover no-repeat; }
.consent-ph > * { position: relative; }
.consent-ph::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(246, 241, 231, 0.96) 18%, rgba(246, 241, 231, 0.35) 60%, rgba(246, 241, 231, 0.1)); }
.consent-ph { align-content: end; padding-bottom: 28px; }
.realisations-top .pj-card { color: var(--ink); }
.realisations-top .pj-card__media { background: var(--bg-2); }
.section--tight { padding: clamp(28px, 4vw, 48px) 0; }
.section--tight .sector__others { margin: 0; }

/* Curseur personnalisé : invisible tant que la souris n'a pas bougé */
.cursor:not(.is-on) { opacity: 0; }

/* Petits écrans : l'en-tête tient sur 320 px (logo, urgence, menu) */
@media (max-width: 420px) {
  .header__inner { gap: 10px; }
  .logo__svg { height: 22px; }
  .header__urgent { padding: 6px 10px; font-size: 12px; gap: 6px; }
  .burger { width: 40px; margin-left: 2px; }
}
@media (max-width: 340px) { .logo__svg { height: 19px; } .header__urgent .pulse { display: none; } }

/* Questionnaire : ne déborde jamais de sa colonne */
.quiz__grid > *, .quiz__card, .quiz__body { min-width: 0; }
.quiz__card .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1100px) { .quiz__card .form__row { grid-template-columns: 1fr; } }
/* Menu mobile : les grands intitulés s'adaptent aux petits écrans (pas de débordement horizontal) */
@media (max-width: 1180px) {
  .nav { font-size: min(34px, 8.6vw); overflow-x: hidden; overflow-y: auto; max-width: 100vw; }
}
/* Pied de page : le grand logo et l'appel « Parlons-en » tiennent sur 320 px */
.footer__inner > * { min-width: 0; }
@media (max-width: 420px) {
  .logo--big { font-size: 21vw; }
  .footer__cta { font-size: 30px; }
  .footer__cols a { overflow-wrap: anywhere; }
}
/* Très petits écrans (320 px) : les colonnes ne s'élargissent jamais au-delà de l'écran */
.page-hero__inner { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 960px) {
  .pj-body__grid, .cs-teaser__inner, .showroom__grid, .promise, .sector__grid, .cs-hero__grid, .contact__grid, .intro__grid { grid-template-columns: minmax(0, 1fr); }
  .pj-body__grid > *, .cs-teaser__inner > *, .showroom__grid > *, .promise > *, .contact__grid > * { min-width: 0; }
}
@media (max-width: 400px) {
  h1, h2, h3, .h2 { overflow-wrap: break-word; hyphens: auto; }
  .page-hero .cs-hero__title { font-size: 32px; }
  .hero__title { font-size: 32px; }
  .contract__stamp { transform: scale(0.8); transform-origin: right top; }
}
@media (max-width: 420px) {
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .promise__title { font-size: 30px; }
  .promise__intro, .contract { min-width: 0; max-width: 100%; }
}
@media (max-width: 560px) {
  .explore__grid { grid-template-columns: minmax(0, 1fr); }
  .explore__card, .sr-book, .build, .build__house, .bp { min-width: 0; }
  .sr-book--wide { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 400px) {
  .cs-cta__title { font-size: 28px; }
  .build__chips { flex-wrap: wrap; }
}
/* filet de sécurité : aucune section ne crée de défilement horizontal */
main > section, main > div { overflow-x: clip; }
/* colonnes uniques : le contenu se plie à la largeur disponible au lieu de l'élargir */
.promise__intro, .cs-teaser__text, .cs-anim__text, .urgent__actions, .explore__card, .trade, .brief__step, .footer__col, .footer__nav { grid-template-columns: minmax(0, 1fr); }
.section__head > * { min-width: 0; }
.sr-book__meta { flex-wrap: wrap; min-width: 0; }
@media (max-width: 400px) { .sr-cat__grid { grid-template-columns: minmax(0, 1fr); } }

/* Mobile : l'en-tête (et le bouton du menu) reste toujours accessible au défilement */
@media (max-width: 1180px) {
  .header.is-hidden { transform: none; }
}

/* Menu mobile ouvert : l'en-tête ne doit pas « enfermer » le menu plein écran
   (le flou d'arrière-plan appliqué après défilement le réduisait à la hauteur de l'en-tête) */
@media (max-width: 1180px) {
  .header:has(.nav.is-open), .menu-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; transition: none; }
}

/* Mobile / tablette : lien vers la page de toutes les réalisations, en haut du menu déroulant */
.mega__all--mobile { display: none; }
@media (max-width: 1080px) { .mega__all--mobile { display: inline-flex; gap: 8px; font: 600 16px var(--sans); color: var(--accent); padding: 4px 0 8px; } }
/* Mobile : le titre « Nos chantiers signature » reste affiché (comme sur ordinateur) */
@media (max-width: 860px) { .feature__heading { display: block; margin: 0 0 10px; font-size: 22px; } }
/* Mobile : « Nos chantiers signature » tient dans l'écran, boutons au-dessus de la barre Appeler / Devis */
@media (max-width: 860px) {
  .feature__sticky { gap: 12px; padding-top: 76px; padding-bottom: 88px; }
  .feature__frame { height: 26svh; }
  .feature__list button { font-size: clamp(17px, 4.6vw, 24px); padding-top: 4px; padding-bottom: 4px; }
  .feature__meta { flex-wrap: wrap; gap: 12px 18px; }
}
@media (max-height: 640px) and (max-width: 860px) { .feature__frame { height: 20svh; } .feature__heading { display: none; } }
@media (max-width: 360px) { .feature__frame { height: 20svh; } .feature__list button { font-size: 16px; } .feature__count { display: none; } }

/* Menu mobile ouvert : apparence garantie sur tous les navigateurs (sans dépendre de :has) */
@media (max-width: 1180px) {
  .menu-open .header { color: var(--ink); background: transparent; box-shadow: none; }
  .menu-open .header .logo { color: var(--ink); }
  .menu-open .header .burger span { background: var(--ink); }
  .header__urgent { position: relative; z-index: 2; }
  .menu-open .header .header__urgent { color: #c0392b; border-color: rgba(192, 57, 43, 0.4); }
  .nav { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
}

/* Défilement vers un élément (liens d'ancre, focus clavier) : jamais caché sous l'en-tête ou la barre du bas */
html { scroll-padding-top: 96px; scroll-padding-bottom: 24px; }
@media (max-width: 760px) { html { scroll-padding-bottom: 90px; } }

/* iPhone : pas de zoom automatique quand on touche un champ (texte d'au moins 16 px) */
.field input, .field textarea, .form input, .form textarea { font-size: max(16px, 1em); }
/* Bandeau cookies : tient dans la partie réellement visible de l'écran (barre d'adresse mobile) */
.ck__inner { max-height: calc(100dvh - 32px); }
/* Pas de flash gris au toucher sur les éléments cliquables */
a, button, label, [role="button"] { -webkit-tap-highlight-color: transparent; }

/* Barre « Appeler / Devis » : seuls les deux boutons captent les appuis (l'espace entre eux laisse passer) */
.fab.is-on { pointer-events: none; }
.fab.is-on a { pointer-events: auto; }
/* Menu mobile : hauteur de la partie réellement visible (barres de Safari), marge pour la zone du bas de l'iPhone */
@media (max-width: 1180px) {
  .nav { bottom: auto; height: 100vh; height: 100dvh; padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
}
/* Mobile : barre compacte en bas à droite (ne recouvre plus la largeur de l'écran) */
@media (max-width: 760px) {
  .fab { left: auto; right: 12px; gap: 8px; }
  .fab a { flex: none; height: 48px; padding: 0 18px; }
  .fab__tel { width: 48px; padding: 0; }
  .fab__tel span { display: none; }
  .fab__devis { flex: none; }
}

/* ═════════════════════════════════════════════════════════
   THÈME « MAISON » (piste A) : bleu marine en dégradé sur fond crème,
   Cormorant Garamond + Jost, header en diaporama, secteurs en mosaïque.
   Les couleurs se règlent dans :root (haut du fichier).
   ═════════════════════════════════════════════════════════ */
body { font-weight: 400; }
em { font-weight: 400; }

/* Titres : serif fin, interlignage aéré */
.h2, .hero__title, .feature__heading, .footer__cta, .urgent__title, .cs-hero__title, .cs-cta__title, .promise__title, .pj-hero__title, .modal__title, .stats strong, .loader__count, .loader__logo {
  font-weight: 400;
  letter-spacing: 0;
}
.h2 { line-height: 1.02; }
.h2 em, .hero__title em { letter-spacing: 0; }

/* Petits titres : capitales espacées */
.eyebrow, .bands__label { font-weight: 500; letter-spacing: 0.24em; }

/* Boutons : rectangulaires, capitales espacées, marine uni */
.btn { border-radius: 0; text-transform: uppercase; letter-spacing: 0.16em; font-size: 13px; font-weight: 500; padding: 17px 28px; }
.btn--accent { background: var(--navy-grad); background-size: 160% 100%; background-position: 0 0; color: var(--on-dark); transition: transform 0.4s var(--ease), background-position 0.6s var(--ease), color 0.3s; }
.btn--accent:hover { background: var(--accent); color: #fff; }
.btn--dark { background: var(--dark); color: var(--on-dark); }
.btn--dark:hover { background: var(--accent); }
.btn--light:hover { background: #fff; color: var(--dark-2); }
.btn--outline-light { border-color: rgba(246, 241, 231, 0.55); }

/* Header */
.nav { font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.nav__cta { border-radius: 0; background: var(--navy-grad); color: var(--on-dark); padding: 13px 22px; }
.header.on-dark:not(.is-scrolled) .nav__cta { background: var(--on-dark); color: var(--dark-2); }
.header.is-scrolled { background: rgba(246, 241, 231, 0.55); backdrop-filter: blur(6px) saturate(1.2); -webkit-backdrop-filter: blur(6px) saturate(1.2); }
@media (max-width: 1180px) { .nav { text-transform: none; letter-spacing: 0; font-weight: 400; } }

/* Fonds sombres : dégradé marine */
.section--dark, .feature, .bands, .footer, .cs-hero, .pj-hero, .loader { background-color: var(--dark); }
.urgent, .cs-cta, .quiz, .sr-strip, .fab__devis { background: var(--navy-grad); }
.footer { background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 70%); }
.cs-hero { background: var(--navy-grad); }
.cs-hero::before { background: radial-gradient(circle, rgba(200, 180, 143, 0.16), transparent 60%); }

/* Sur fond sombre, le marine laisse place au bleu clair */
.section--dark .eyebrow, .section--dark .h2 em, .feature .eyebrow, .feature__heading em, .feature__list li.is-active .n, .feature__list li.is-active button,
.footer__cta em, .footer__cta span, .loader__logo i, .loader__count, .loader__caption span, .bands__label, .band--names a:hover span, .band--names span:hover,
.quiz__step, .quiz__opt i, .cs-hero .eyebrow, .cs-hero__title em, .pj-hero__title em, .urgent__kicker { color: var(--accent-2); }
.band--names i, .feature__rail span, .feature__img figcaption::before, .loader__skip:hover, .loader__skip:focus-visible, .quiz__bar span { background: var(--accent-2); border-color: var(--accent-2); }
.section--dark .btn--accent, .feature .btn--accent, .cs-hero .btn--accent, .pj-hero .btn--accent, .quiz .btn--accent, .footer .btn--accent { background: var(--on-dark); color: var(--dark-2); }
.section--dark .btn--accent:hover, .feature .btn--accent:hover, .cs-hero .btn--accent:hover, .pj-hero .btn--accent:hover, .quiz .btn--accent:hover, .footer .btn--accent:hover { background: #fff; color: var(--dark); }
.quiz .btn--dark { background: var(--on-dark); color: var(--dark-2); }
.quiz__opt.is-picked, .quiz__opt:has(input:checked) { background: var(--accent-2); border-color: var(--accent-2); color: var(--dark); }
.filters--dark .filter.is-active { background: var(--on-dark); border-color: var(--on-dark); color: var(--dark); }
.pj-hero__cat span { background: var(--on-dark); color: var(--dark-2); border-radius: 0; }
.urgent .btn, .cs-cta .btn--dark { background: var(--on-dark); color: var(--dark-2); }

/* ───────── Accueil · header en diaporama (fondu + zoom lent) ───────── */
.hero::before, .hero__badge { display: none; }
.hero { background: var(--dark); }
.hero__photo img, .is-loaded .hero__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: none; transition: none; filter: brightness(0.86) saturate(1.05); }
.hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-active { opacity: 1; z-index: 2; }
.hero__slide.is-leaving { opacity: 1; z-index: 1; transition: none; }
.is-loaded .hero__slide.is-active img, .is-loaded .hero__slide.is-leaving img { animation: heroZoom 9s linear forwards; }
@keyframes heroZoom { from { transform: scale(1.04); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
.hero__photo::after { z-index: 3; background: linear-gradient(180deg, rgba(20, 35, 63, 0.6) 0%, rgba(20, 35, 63, 0.08) 32%, rgba(20, 35, 63, 0.18) 58%, rgba(20, 35, 63, 0.86) 100%); }
.hero__kicker { padding: 0; border: 0; border-radius: 0; background: none; backdrop-filter: none; font-weight: 500; letter-spacing: 0.22em; font-size: 12px; color: rgba(246, 241, 231, 0.85); }
.hero__title { font-size: clamp(42px, 6.4vw, 104px); line-height: 1.02; }
.hero__title em { color: inherit; }
.hero__title .line { padding-bottom: 0.14em; margin-bottom: -0.14em; }
.hero__lead { color: rgba(246, 241, 231, 0.82); }
.hero__aside { position: absolute; z-index: 4; right: var(--gutter); top: 120px; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.hero__dots { display: flex; gap: 8px; }
.hero__dots span { display: block; width: 28px; height: 2px; background: rgba(246, 241, 231, 0.35); transition: background 0.6s; }
.hero__dots span.is-on { background: #fff; }
.hero__tag { position: static; padding: 0; border-radius: 0; background: none; backdrop-filter: none; font-size: 12px; font-weight: 500; letter-spacing: 0.2em; color: rgba(246, 241, 231, 0.88); }
@media (max-width: 960px) {
  .hero__aside { top: 92px; right: auto; left: var(--gutter); align-items: flex-start; }
  .hero__tag { font-size: 11px; }
}

/* ───────── Accueil · secteurs en mosaïque de photos ───────── */
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(48px, 6vw, 80px); }
.mosaic__item { display: block; color: inherit; min-width: 0; }
.mosaic__item--1 { grid-column: 1 / span 7; }
.mosaic__item--2 { grid-column: 9 / span 4; margin-top: clamp(80px, 14vw, 200px); }
.mosaic__item--3 { grid-column: 2 / span 4; }
.mosaic__item--4 { grid-column: 7 / span 6; margin-top: clamp(60px, 10vw, 140px); }
.mosaic__img { position: relative; margin: 0 0 22px; overflow: hidden; background: var(--bg-2); aspect-ratio: 4 / 5; }
.mosaic__item--1 .mosaic__img { aspect-ratio: 7 / 6; }
.mosaic__item--4 .mosaic__img { aspect-ratio: 6 / 5; }
.mosaic__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.mosaic__item:hover .mosaic__img img { transform: scale(1.045); }
.mosaic__img figcaption { position: absolute; left: 16px; bottom: 14px; font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 12px rgba(20, 35, 63, 0.6); }
.mosaic__n { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.mosaic__t { margin: 8px 0 6px; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3vw, 44px); line-height: 1.05; color: var(--dark-2); }
.mosaic__item p { margin: 0; max-width: 46ch; color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) {
  .mosaic__item--1, .mosaic__item--2, .mosaic__item--3, .mosaic__item--4 { grid-column: 1 / -1; margin-top: 0; }
  .mosaic__item .mosaic__img { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .hero__slide { transition: none; } }
.mega__toggle { text-transform: inherit; letter-spacing: inherit; }
.ck__inner { border-radius: 2px; background: var(--navy-grad); }
.ck__title em { color: var(--accent-2); }
.ck__btn { border-radius: 0; }
.ck__btn:hover { background: var(--accent-2); color: var(--dark); }
.nav { gap: 26px; letter-spacing: 0.12em; }
.nav a, .nav__cta, .mega__toggle { white-space: nowrap; }
@media (max-width: 1360px) and (min-width: 1181px) { .nav { gap: 16px; font-size: 12px; letter-spacing: 0.08em; } .header__urgent-num { display: none; } }
.section--dark .acc__item.is-open .acc__t, .section--dark .acc__item.is-open .acc__n, .section--dark .acc__item.is-open .acc__ar { color: var(--accent-2); }
.form .chips input:checked + span, .form .chips label:has(input:checked) span { background: var(--on-dark); border-color: var(--on-dark); color: var(--dark); }

/* ───────── Accueil · bandeau des logos des marques (gris, défilement lent) ───────── */
.logos { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); padding: clamp(40px, 5vw, 64px) 0; background: var(--bg); border-bottom: 1px solid var(--line); overflow: hidden; }
.logos__mark { flex: none; width: clamp(40px, 4vw, 64px); height: clamp(52px, 5vw, 78px); background: var(--navy-grad); }
.logos__viewport { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logos__track { display: flex; align-items: center; width: max-content; animation: logos 60s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos__dup { display: contents; }
@keyframes logos { to { transform: translateX(-50%); } }
.logos__item { display: flex; align-items: center; height: 64px; padding: 0 clamp(24px, 3.4vw, 52px); color: #8f8f8f; transition: color 0.35s, opacity 0.35s; }
.logos__item img { max-height: 54px; max-width: 170px; width: auto; filter: grayscale(1); opacity: 0.6; transition: filter 0.35s, opacity 0.35s; }
.logos__item:hover img { filter: none; opacity: 1; }
.logos__item:hover { color: var(--dark-2); }
.logos__item span { white-space: nowrap; line-height: 1; }
.logos__item--text:nth-child(4n + 1) span { font-family: var(--display); font-size: 34px; letter-spacing: 0.04em; text-transform: uppercase; }
.logos__item--text:nth-child(4n + 2) span { font-family: var(--sans); font-weight: 600; font-size: 28px; letter-spacing: -0.02em; }
.logos__item--text:nth-child(4n + 3) span { font-family: var(--display); font-style: italic; font-size: 36px; }
.logos__item--text:nth-child(4n + 4) span { font-family: var(--sans); font-weight: 300; font-size: 20px; letter-spacing: 0.32em; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) { .logos__track { animation: none; } .logos__viewport { overflow-x: auto; } }

/* ───────── Blocs photo + explication (titre marine en capitales, texte centré) ───────── */
.split__inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 7vw, 110px); align-items: center; }
.split--rev .split__inner { grid-template-columns: 0.85fr 1.15fr; }
.split--rev .split__img { order: 2; }
.split__img { margin: 0; overflow: hidden; aspect-ratio: 6 / 7; background: var(--bg-2); }
.split__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.split__img:hover img { transform: scale(1.03); }
.split__txt { max-width: 440px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.split__txt .eyebrow { justify-content: center; }
.split__txt .eyebrow::before { display: none; }
.split__title { margin: 0 0 22px; font-family: var(--sans); font-weight: 500; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.18; letter-spacing: 0.01em; text-transform: uppercase; color: var(--dark-2); }
.split__txt p:not(.eyebrow) { margin: 0 0 14px; font-size: 15.5px; line-height: 1.85; color: var(--ink-2); }
.split__txt .btn { margin-top: 18px; }
.stats--row { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(56px, 8vw, 110px); }
.stats strong { font-weight: 500; letter-spacing: 0; }
@media (max-width: 860px) {
  .split__inner, .split--rev .split__inner { grid-template-columns: minmax(0, 1fr); }
  .split--rev .split__img { order: 0; }
  .split__img { aspect-ratio: 4 / 3; }
  .stats--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ───────── Accueil · nos chantiers en cartes photo, bande décorative à gauche ───────── */
.works { padding-top: clamp(40px, 6vw, 80px); }
.works__inner { display: grid; grid-template-columns: clamp(56px, 6vw, 84px) minmax(0, 1fr); gap: clamp(20px, 3vw, 32px); }
.works__band {
  display: flex; justify-content: center; padding: 28px 0; min-height: 100%;
  background-color: var(--dark-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='70' viewBox='0 0 40 70'%3E%3Cpath d='M20 0 40 12v23L20 47 0 35V12zM20 47v23M0 35 20 23l20 12M20 0v23' fill='none' stroke='%239fb6dc' stroke-opacity='.35' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 40px 70px;
  transition: background-color 0.4s;
}
.works__band:hover { background-color: var(--accent); }
.works__band span { align-self: flex-start; position: sticky; top: 110px; writing-mode: vertical-rl; transform: rotate(180deg); background: var(--bg); color: var(--dark-2); padding: 18px 12px; font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; }
.works__head { max-width: 780px; margin: 0 0 clamp(36px, 5vw, 56px) auto; text-align: right; }
.works__title { margin: 0 0 16px; font-family: var(--sans); font-weight: 500; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.15; text-transform: uppercase; color: var(--dark-2); }
.works__head p { margin: 0; font-size: 15.5px; line-height: 1.85; color: var(--ink-2); }
.works__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(12px, 1.4vw, 20px); }
.works__card { display: flex; flex-direction: column; align-items: center; text-align: center; color: inherit; }
.works__img { position: relative; width: 100%; margin: 0 0 18px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.works__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.works__img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 28%; background: linear-gradient(to top, var(--bg) 0%, rgba(246, 241, 231, 0) 100%); pointer-events: none; }
.works__card:hover .works__img img { transform: scale(1.05); }
.works__t { margin: 0 0 4px; font-family: var(--sans); font-weight: 500; font-size: clamp(16px, 1.4vw, 20px); letter-spacing: 0.02em; text-transform: uppercase; color: var(--dark-2); }
.works__cat { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.works__card:hover .works__t { color: var(--accent); }
@media (max-width: 900px) { .works__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .works__inner { grid-template-columns: minmax(0, 1fr); }
  .works__band { order: 2; padding: 18px; min-height: 0; }
  .works__band span { position: static; writing-mode: horizontal-tb; transform: none; padding: 12px 18px; }
  .works__head { text-align: left; }
}

/* ═════════ Accueil court, façon Hôtel Panache ═════════ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pattern {
  background-color: #34507f;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='84' viewBox='0 0 48 84'%3E%3Cpath d='M24 0 48 14v28L24 56 0 42V14zM24 56v28M0 42l24-14 24 14M24 0v28M12 7v42M36 7v42' fill='none' stroke='%23dfe7f5' stroke-opacity='.55' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 48px 84px;
}

/* 1 · header : photo seule, menu transparent par-dessus, points centrés */
.hero--full { min-height: 100svh; align-items: stretch; }
.hero--full .hero__photo::after { background: linear-gradient(180deg, rgba(20, 35, 63, 0.55) 0%, rgba(20, 35, 63, 0) 22%, rgba(20, 35, 63, 0) 52%, rgba(20, 35, 63, 0.72) 100%), linear-gradient(90deg, rgba(20, 35, 63, 0.5) 0%, rgba(20, 35, 63, 0) 62%); }
.hero--full .hero__aside { top: auto; bottom: clamp(24px, 4vh, 44px); left: 50%; right: auto; transform: translateX(-50%); align-items: center; gap: 12px; }
.hero--full .hero__dots { gap: 10px; }
.hero--full .hero__dots span { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.85); background: transparent; }
.hero--full .hero__dots span.is-on { background: #fff; }
.hero--full .hero__tag { opacity: 1; transform: none; text-shadow: 0 1px 14px rgba(20, 35, 63, 0.6); }
.js .hero--full .hero__tag { opacity: 1; transform: none; }

/* sections étroites et centrées */
.pn { position: relative; padding: clamp(56px, 7vw, 96px) 0; }
.pn__wrap { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); }
.pn__mark { position: absolute; left: 0; top: clamp(56px, 7vw, 96px); width: clamp(28px, 2.6vw, 44px); height: 34px; background: var(--dark-2); }
.pn__title, .split__title, .works__title { font-family: var(--sans); font-weight: 500; text-transform: uppercase; color: var(--dark-2); letter-spacing: 0.01em; line-height: 1.18; }
.pn__title { margin: 0 0 14px; font-size: clamp(22px, 2vw, 28px); }

/* 2 · intro + carrousel */
.pn-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 6vw, 96px); align-items: start; }
.pn-intro p { margin: 0 0 10px; max-width: 62ch; font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }
.pn-intro__logo { display: block; width: clamp(140px, 14vw, 190px); color: var(--dark-2); padding-top: 6px; }
.pn-intro__logo svg { width: 100%; height: auto; display: block; }
.show { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) 17% clamp(52px, 5vw, 64px); gap: clamp(10px, 1.4vw, 18px); height: clamp(320px, 38vw, 470px); }
.show__main { position: relative; overflow: hidden; background: var(--bg-2); }
.show__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; pointer-events: none; }
.show__slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }
.show__slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 6s ease; }
.show__slide.is-active img { transform: scale(1.04); }
.show__cap { position: absolute; left: 0; right: 0; bottom: 56px; text-align: center; font-family: var(--sans); font-weight: 500; font-size: clamp(18px, 1.8vw, 24px); text-transform: uppercase; color: #fff; text-shadow: 0 1px 16px rgba(20, 35, 63, 0.65); padding: 0 16px; }
.show__dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 2px; }
.show__dots button { width: 24px; height: 28px; padding: 0; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
.show__dots button::before { content: ""; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid #fff; transition: background 0.3s; }
.show__dots button.is-on::before { background: #fff; }
.show__peek { position: relative; overflow: hidden; border: 0; padding: 0; background: var(--bg-2); cursor: pointer; }
.show__pimg { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; }
.show__pimg.is-active { opacity: 1; }
.show__pimg img { width: 100%; height: 100%; object-fit: cover; }
.show__peek:hover .show__pimg img { transform: scale(1.03); transition: transform 0.8s var(--ease); }
.show__band, .works__band { display: flex; justify-content: center; align-items: flex-start; padding: 22px 0; transition: filter 0.3s; }
.show__band:hover, .works__band:hover { filter: brightness(1.12); }
.show__band span, .works__band span { writing-mode: vertical-rl; transform: rotate(180deg); background: #fff; color: var(--dark-2); padding: 16px 11px; font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; }
.works__band span { position: sticky; top: 110px; }

/* 3 · secteurs */
.works__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.works__grid--4 .works__img { aspect-ratio: 3 / 4; }
.works__inner { grid-template-columns: clamp(52px, 5vw, 64px) minmax(0, 1fr); }
.works__head { max-width: 720px; }
.works__head p, .split__txt p:not(.eyebrow) { font-size: 14.5px; line-height: 1.9; }
.works__title { font-size: clamp(22px, 2vw, 28px); margin: 0 0 12px; }

/* 4 · photo + explication */
.pn.split .split__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); max-width: 900px; }
.pn.split .split__img { aspect-ratio: 5 / 6; }
.split__title { font-size: clamp(22px, 2vw, 28px); }

/* 5 · bande contact */
.pn-news { padding: clamp(36px, 4vw, 48px) var(--gutter); }
.pn-news__box { max-width: 660px; margin: 0 auto; background: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding: clamp(20px, 2.4vw, 28px) clamp(20px, 3vw, 44px); }
.pn-news__t { margin: 0; font-family: var(--sans); font-weight: 500; font-size: 16px; text-transform: uppercase; color: var(--dark-2); }
.pn-news__t span { color: var(--muted); font-weight: 300; margin: 0 4px; }
.pn-news__field { display: flex; flex: 1 1 220px; max-width: 280px; }
.pn-news__field input { flex: 1; min-width: 0; height: 40px; border: 1px solid var(--line); border-right: 0; padding: 0 12px; font: 400 13px var(--sans); color: var(--ink); background: #fff; }
.pn-news__field input:focus { outline: none; border-color: var(--accent); }
.pn-news__field button { width: 40px; height: 40px; border: 0; background: var(--dark-2); color: #fff; font-size: 18px; cursor: pointer; }
.pn-news__field button:hover { background: var(--accent); }

/* 6 · en images / Instagram */
.insta { padding-bottom: clamp(28px, 4vw, 48px); }
.insta__head { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.insta__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--dark-2); color: #fff; display: grid; place-items: center; }
.insta__icon svg { width: 22px; height: 22px; }
.insta__handle { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dark-2); white-space: nowrap; }
.insta__line { flex: 1; height: 1px; background: var(--dark-2); opacity: 0.6; margin: 0 8px; }
.insta__follow { font-weight: 500; font-size: 14px; text-transform: uppercase; color: var(--dark-2); white-space: nowrap; }
.insta__follow:hover { color: var(--accent); }
.insta__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.insta__pic { display: block; aspect-ratio: 1; overflow: hidden; background: var(--bg-2); }
.insta__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.insta__pic:hover img { transform: scale(1.05); }

/* 7 · logos : bandeau plus serré */
.logos { padding: clamp(24px, 3vw, 40px) 0; border-bottom: 0; }

@media (max-width: 860px) {
  .pn-intro { grid-template-columns: minmax(0, 1fr); }
  .pn-intro__logo { width: 130px; }
  .works__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pn.split .split__inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .show { grid-template-columns: minmax(0, 1fr); height: auto; }
  .show__main { aspect-ratio: 4 / 5; }
  .show__peek { display: none; }
  .show__band { padding: 14px; }
  .show__band span { writing-mode: horizontal-tb; transform: none; padding: 10px 16px; }
  .insta__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .insta__handle { display: none; }
  .pn__mark { display: none; }
}
@media (prefers-reduced-motion: reduce) { .show__slide, .show__pimg { transition: none; } }

/* Accueil : pied de page clair et compact, comme Panache */
body[data-page="accueil"] .footer { background: var(--bg-2); color: var(--dark-2); padding-top: clamp(40px, 5vw, 64px); border-top: 0; }
body[data-page="accueil"] .footer__cta, body[data-page="accueil"] #bigLogo { display: none; }
body[data-page="accueil"] .footer :is(p, a, span, nav) { color: var(--dark-2); }
body[data-page="accueil"] .footer .footer__h { color: var(--accent); }
body[data-page="accueil"] .footer :is(p, a) { font-size: 13.5px; }
body[data-page="accueil"] .footer a:hover { color: var(--accent); }
.pn-news__box { max-width: 780px; }
.logos__item--text:nth-child(4n + 1) span { font-size: 26px; }
.logos__item--text:nth-child(4n + 2) span { font-size: 23px; }
.logos__item--text:nth-child(4n + 3) span { font-size: 28px; }
.logos__item--text:nth-child(4n + 4) span { font-size: 16px; }
@media (max-width: 860px) { .pn-intro__logo { display: none; } }

/* ═════════ Menu toujours visible · accueil pleine largeur · décor « plan d'architecte » ═════════ */
/* le menu translucide reste affiché sur tout le parcours, sur toutes les pages */
.header.is-hidden { transform: none; }

/* accueil : les sections occupent toute la largeur de l'écran */
.pn__wrap { max-width: none; padding: 0 clamp(16px, 2.4vw, 40px); }
.works__inner.pn__wrap { padding-left: 0; }
.pn.split .split__inner { max-width: none; grid-template-columns: 1.1fr 0.9fr; }
.pn.split .split__img { aspect-ratio: 4 / 3; }
.split__txt { max-width: 520px; }
.works__head { max-width: 820px; }
.pn-news__box { max-width: 1100px; }

/* trame de plan : quadrillage fin + quadrillage majeur, sur le dégradé marine */
.pattern {
  background-color: var(--dark-2);
  background-image:
    linear-gradient(rgba(223, 231, 245, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(223, 231, 245, 0.16) 1px, transparent 1px),
    linear-gradient(rgba(223, 231, 245, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(223, 231, 245, 0.06) 1px, transparent 1px),
    var(--navy-grad);
  background-size: 96px 96px, 96px 96px, 16px 16px, 16px 16px, 100% 100%;
  background-position: -1px -1px;
}

/* bandes verticales : une cote d'architecte (trait, deux traits obliques, libellé) */
.show__band, .works__band { position: relative; align-items: center; padding: 0; filter: none; }
.show__band::before, .works__band::before {
  content: ""; position: absolute; top: 28px; bottom: 28px; left: 50%; width: 1px;
  background: rgba(246, 241, 231, 0.7);
}
.show__band::after, .works__band::after {
  content: ""; position: absolute; inset: 22px calc(50% - 7px); pointer-events: none;
  background:
    linear-gradient(135deg, transparent calc(50% - 0.75px), rgba(246, 241, 231, 0.9) calc(50% - 0.75px), rgba(246, 241, 231, 0.9) calc(50% + 0.75px), transparent calc(50% + 0.75px)) top / 14px 14px no-repeat,
    linear-gradient(135deg, transparent calc(50% - 0.75px), rgba(246, 241, 231, 0.9) calc(50% - 0.75px), rgba(246, 241, 231, 0.9) calc(50% + 0.75px), transparent calc(50% + 0.75px)) bottom / 14px 14px no-repeat;
}
.show__band span, .works__band span {
  position: relative; z-index: 1; background: var(--dark-2); color: var(--bg);
  padding: 14px 6px; font-size: 11px; letter-spacing: 0.24em; transition: color 0.3s;
}
.works__band span { position: sticky; top: 50vh; align-self: auto; }
.show__band:hover, .works__band:hover { filter: none; }
.show__band:hover span, .works__band:hover span { color: var(--accent-2); }

/* bande contact : le formulaire posé sur le plan, avec des repères d'angle */
.pn-news { padding: clamp(44px, 5vw, 64px) var(--gutter); }
.pn-news__box { position: relative; }
.pn-news__box::before {
  content: ""; position: absolute; inset: -12px; pointer-events: none;
  --c: rgba(246, 241, 231, 0.85);
  background:
    linear-gradient(var(--c), var(--c)) top left / 22px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top left / 1px 22px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 22px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 1px 22px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 22px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 1px 22px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 22px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 1px 22px no-repeat;
}
.pn__mark { background: var(--navy-grad); }

@media (max-width: 640px) {
  .show__band { padding: 18px 16px; }
  .show__band::before { top: 50%; bottom: auto; left: 16px; right: 16px; width: auto; height: 1px; }
  .show__band::after { inset: calc(50% - 7px) 10px; background-position: left, right; }
  .show__band span { position: static; padding: 6px 14px; }
}
@media (max-width: 560px) {
  .works__band { padding: 18px 16px; }
  .works__band::before { top: 50%; bottom: auto; left: 16px; right: 16px; width: auto; height: 1px; }
  .works__band::after { inset: calc(50% - 7px) 10px; background-position: left, right; }
  .works__band span { position: static; padding: 6px 14px; }
}
@media (max-width: 560px) {
  .works__inner.pn__wrap { padding-left: clamp(16px, 2.4vw, 40px); }
}
.pn--intro .pn__wrap { padding-left: calc(clamp(28px, 2.6vw, 44px) + clamp(16px, 2.4vw, 40px)); }
@media (max-width: 640px) { .pn--intro .pn__wrap { padding-left: clamp(16px, 2.4vw, 40px); } }
@media (max-width: 560px) { .works__inner { grid-template-columns: minmax(0, 1fr); } }

/* ───────── « Ils nous ont fait confiance » : titre au-dessus du bandeau des logos ───────── */
.logos { flex-direction: column; align-items: stretch; gap: clamp(18px, 2.4vw, 28px); }
.logos__head { display: flex; align-items: center; gap: clamp(14px, 2vw, 24px); padding-right: clamp(16px, 2.4vw, 40px); }
.logos__head .logos__mark { height: 34px; width: clamp(28px, 2.6vw, 44px); }
.logos__t { margin: 0; font-family: var(--sans); font-weight: 500; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: 0.04em; text-transform: uppercase; color: var(--dark-2); white-space: nowrap; }
.logos__line { flex: 1; height: 1px; background: var(--dark-2); opacity: 0.35; }

/* ═════════ Pages internes : légères et aérées, comme l'accueil ═════════ */
/* fonds clairs partout (plus de grands aplats marine), titres en capitales fines, beaucoup d'air */
:is(body:not([data-page="accueil"])) :is(.cs-hero, .section--dark, .feature, .bands, .refs, .sr-strip, .cs-made) {
  --on-dark: var(--ink);
  background: var(--bg); color: var(--ink);
}
body:not([data-page="accueil"]) :is(.section--dark, .feature, .bands, .sr-strip) { background: var(--bg-2); }
body:not([data-page="accueil"]) .cs-hero { padding: clamp(150px, 16vw, 200px) 0 clamp(48px, 6vw, 80px); }
body:not([data-page="accueil"]) .cs-hero::before { display: none; }
body:not([data-page="accueil"]) .cs-hero__title,
body:not([data-page="accueil"]) .page-hero .cs-hero__title {
  font-family: var(--sans); font-weight: 500; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.12;
  font-size: clamp(30px, 3.6vw, 52px); color: var(--dark-2); max-width: 22ch;
}
body:not([data-page="accueil"]) .cs-hero__title em { font-family: inherit; font-style: normal; font-weight: 300; color: var(--accent); }
body:not([data-page="accueil"]) .cs-hero__lead { color: var(--ink-2); font-size: 16px; line-height: 1.85; }
body:not([data-page="accueil"]) .cs-hero .eyebrow, body:not([data-page="accueil"]) :is(.section--dark, .feature, .bands, .refs) .eyebrow { color: var(--accent); }
body:not([data-page="accueil"]) .cs-hero :is(nav, .crumbs, .breadcrumb) a,
body:not([data-page="accueil"]) .cs-hero [aria-label*="Fil"] a { color: var(--muted); }
body:not([data-page="accueil"]) .cs-hero [aria-label*="Fil"], body:not([data-page="accueil"]) .cs-hero [aria-current="page"] { color: var(--dark-2); }

/* titres de section : capitales fines, plus petits */
body:not([data-page="accueil"]) .h2 {
  font-family: var(--sans); font-weight: 500; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.15;
  font-size: clamp(24px, 2.4vw, 34px); color: var(--dark-2);
}
body:not([data-page="accueil"]) .h2 em { font-family: inherit; font-style: normal; font-weight: 300; letter-spacing: 0.01em; color: var(--accent); }
body:not([data-page="accueil"]) .h2--xl { font-size: clamp(28px, 3vw, 44px); }

/* boutons et liens prévus pour un fond sombre → version claire */
body:not([data-page="accueil"]) .btn--outline-light { border-color: var(--dark-2); color: var(--dark-2); }
body:not([data-page="accueil"]) .btn--outline-light:hover { background: var(--dark-2); color: var(--bg); }
body:not([data-page="accueil"]) :is(.cs-hero, .section--dark, .feature, .refs) .btn--accent { background: var(--navy-grad); color: var(--bg); }
body:not([data-page="accueil"]) :is(.cs-hero, .section--dark, .feature, .refs) .btn--accent:hover { filter: brightness(1.15); }
body:not([data-page="accueil"]) :is(.section--dark, .feature, .bands, .refs, .sr-strip) :is(p, li, span, dd, dt, small) { color: inherit; }
body:not([data-page="accueil"]) :is(.section--dark, .refs) .section__aside { color: var(--ink-2); }
body:not([data-page="accueil"]) .sr-strip p { border-left-color: var(--line); }
body:not([data-page="accueil"]) .sr-strip span { color: var(--ink-2); }
body:not([data-page="accueil"]) .filters--dark .filter { color: var(--ink); border-color: var(--line); }
body:not([data-page="accueil"]) .filters--dark .filter.is-active { background: var(--dark-2); border-color: var(--dark-2); color: var(--bg); }
body:not([data-page="accueil"]) .section--dark .acc__item.is-open :is(.acc__t, .acc__n, .acc__ar) { color: var(--accent); }
body:not([data-page="accueil"]) .section { padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(64px, 8vw, 120px); }

/* formulaires sur fond clair (contact, tunnel) */
body:not([data-page="accueil"]) :is(.contact, .funnel) .field span, .funnel .field span { color: var(--muted); }
:is(.contact, .funnel) .field input, :is(.contact, .funnel) .field textarea { color: var(--ink); border-bottom-color: var(--line); background: transparent; }
:is(.contact, .funnel) .field input:focus, :is(.contact, .funnel) .field textarea:focus { border-color: var(--accent); }
:is(.contact, .funnel) .field textarea::placeholder { color: var(--muted); }
:is(.contact, .funnel) .consent { color: var(--ink-2); }
:is(.contact, .funnel) .consent a, :is(.contact, .funnel) :is(.form__alt, .form__note) a { color: var(--dark-2); border-bottom-color: var(--accent); }
:is(.contact, .funnel) .form__note { color: var(--accent); }
.contact .chips span { border-color: var(--line); color: var(--ink); }
.contact .chips input:checked + span, .contact .chips label:has(input:checked) span { background: var(--dark-2); border-color: var(--dark-2); color: var(--bg); }

/* ───────── Tunnel de conversion « Votre projet en 3 questions » ───────── */
.funnel { background: var(--bg-2); padding: clamp(64px, 8vw, 120px) clamp(16px, 2.4vw, 40px); }
.funnel__wrap { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.funnel__kicker { margin: 0 0 14px; font-size: 12px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.funnel__title { margin: 0 0 18px; font-family: var(--sans); font-weight: 500; text-transform: uppercase; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; color: var(--dark-2); }
.funnel__lead { margin: 0 0 28px; max-width: 46ch; font-size: 15px; line-height: 1.85; color: var(--ink-2); }
.funnel__next { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.funnel__next li { display: flex; align-items: center; gap: 14px; font-size: 14.5px; color: var(--ink); }
.funnel__next b { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--dark-2); font-weight: 500; font-size: 13px; color: var(--dark-2); }
.funnel__tel { margin: 0; font-size: 14px; color: var(--ink-2); }
.funnel__tel a { color: var(--dark-2); font-weight: 600; border-bottom: 1px solid var(--accent); }
.funnel .quiz__card { position: relative; background: #fff; color: var(--ink); border-radius: 0; box-shadow: 0 30px 60px -40px rgba(20, 35, 63, 0.35); min-height: 420px; }
.funnel .quiz__card::before {
  content: ""; position: absolute; inset: -12px; pointer-events: none; --c: var(--dark-2);
  background:
    linear-gradient(var(--c), var(--c)) top left / 22px 1px no-repeat, linear-gradient(var(--c), var(--c)) top left / 1px 22px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 22px 1px no-repeat, linear-gradient(var(--c), var(--c)) top right / 1px 22px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 22px 1px no-repeat, linear-gradient(var(--c), var(--c)) bottom left / 1px 22px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 22px 1px no-repeat, linear-gradient(var(--c), var(--c)) bottom right / 1px 22px no-repeat;
  opacity: 0.5;
}
.funnel .quiz__step { color: var(--accent); }
.funnel .quiz__back, .funnel .quiz__restart { color: var(--muted); }
.funnel .quiz__back:hover, .funnel .quiz__restart:hover { color: var(--dark-2); }
.funnel .quiz__bar { background: var(--bg-2); }
.funnel .quiz__bar span { background: var(--navy-grad); }
.funnel .quiz__q { font-family: var(--sans); font-weight: 500; text-transform: uppercase; font-size: clamp(17px, 1.6vw, 22px); letter-spacing: 0.02em; color: var(--dark-2); }
.funnel .quiz__opt { border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 0; }
.funnel .quiz__opt i { color: var(--accent); }
.funnel .quiz__opt:hover { border-color: var(--dark-2); background: #fff; }
.funnel .quiz__opt.is-picked, .funnel .quiz__opt:has(input:checked) { background: var(--dark-2); border-color: var(--dark-2); color: var(--bg); }
.funnel .quiz__opt.is-picked i, .funnel .quiz__opt:has(input:checked) i { color: var(--bg); }
.funnel .quiz__recap li { background: var(--bg); border-color: var(--line); color: var(--dark-2); border-radius: 0; }
.funnel .quiz__refs { color: var(--ink-2); }
.funnel .quiz__refs a, .funnel .quiz__refs strong { color: var(--dark-2); }
.js .funnel .quiz__set { display: none; margin: 0; }
.js .funnel .quiz__set.is-current { display: grid; animation: quizIn 0.5s var(--ease); }
@media (prefers-reduced-motion: reduce) { .js .funnel .quiz__set.is-current { animation: none; } }
@media (max-width: 860px) {
  .funnel__wrap { grid-template-columns: minmax(0, 1fr); }
  .funnel .quiz__card { min-height: 0; }
}
@media (max-width: 480px) { .funnel .quiz__opts { grid-template-columns: minmax(0, 1fr); } .funnel .quiz__card .form__row { grid-template-columns: minmax(0, 1fr); } }

/* pied de page : clair et compact sur toutes les pages (le tunnel remplace le grand appel « Parlons-en ») */
.footer { background: var(--bg-2); color: var(--dark-2); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.footer .footer__cta, .footer #bigLogo { display: none; }
.footer :is(p, a, span, nav) { color: var(--dark-2); }
.footer .footer__h { color: var(--accent); }
.footer :is(p, a) { font-size: 13.5px; }
.footer a:hover { color: var(--accent); }
.funnel + * , main > .funnel:last-child { border-bottom: 0; }

/* pages internes claires : textes prévus en blanc → marine */
body:not([data-page="accueil"]) .cs-hero .pj-crumbs { color: var(--muted); }
body:not([data-page="accueil"]) .cs-hero .pj-crumbs span:last-child { color: var(--dark-2); }
body:not([data-page="accueil"]) .cs-hero .pj-crumbs a:hover { color: var(--dark-2); }
body:not([data-page="accueil"]) .pj-card { color: var(--ink); }
body:not([data-page="accueil"]) .pj-card__t { font-family: var(--sans); font-weight: 500; text-transform: uppercase; font-size: 15px; letter-spacing: 0.04em; color: var(--dark-2); }
body:not([data-page="accueil"]) .pj-card em { color: var(--muted); }
body:not([data-page="accueil"]) :is(.acc__n, .acc__c, .acc__ar) { color: var(--muted); }
body:not([data-page="accueil"]) .acc__head:hover .acc__t { color: var(--accent); }
body:not([data-page="accueil"]) .acc__body p { color: var(--ink-2); }
body:not([data-page="accueil"]) .acc__item, body:not([data-page="accueil"]) .acc { border-color: var(--line); }
body:not([data-page="accueil"]) .band--trades { border-bottom-color: var(--line); }
body:not([data-page="accueil"]) .band--trades span { color: var(--dark-2); opacity: 0.55; }
body:not([data-page="accueil"]) .band--trades i { color: var(--accent); opacity: 0.5; }
body:not([data-page="accueil"]) .feature__heading { color: var(--dark-2); }
body:not([data-page="accueil"]) .feature__rail { background: var(--line); }
body:not([data-page="accueil"]) .feature__list button { color: var(--muted); }
body:not([data-page="accueil"]) :is(.feature__list li.is-active button, .feature__list button:hover, .feature__count b) { color: var(--dark-2); }
body:not([data-page="accueil"]) .feature__count { color: var(--muted); }
body:not([data-page="accueil"]) :is(.cs-made__list, .cs-made__list li) { border-color: var(--line); }
body:not([data-page="accueil"]) .page-hero + :is(.section--dark, .contact) { border-top: 1px solid var(--line); }
body:not([data-page="accueil"]) .acc__t { color: var(--dark-2); font-family: var(--sans); font-size: clamp(17px, 1.8vw, 24px); letter-spacing: 0.02em; }
body:not([data-page="accueil"]) .acc__item.is-open :is(.acc__t, .acc__n, .acc__ar) { color: var(--accent); }
body:not([data-page="accueil"]) .cs-kicker { color: var(--accent); }
body:not([data-page="accueil"]) .sr-book { color: var(--dark-2); }
body:not([data-page="accueil"]) .sr-book__meta span, body:not([data-page="accueil"]) .sr-cat .section__aside { color: var(--muted); }
/* formulaire de contact : carte blanche sur fond clair */
body:not([data-page="accueil"]) .contact .form { background: #fff; border: 0; border-radius: 0; box-shadow: 0 30px 60px -40px rgba(20, 35, 63, 0.35); }
body:not([data-page="accueil"]) .contact .form :is(.chips legend, .form__alt) { color: var(--muted); }
body:not([data-page="accueil"]) .contact .form .chips span { color: var(--ink); border-color: var(--line); }
body:not([data-page="accueil"]) .contact .form .chips input:checked + span, body:not([data-page="accueil"]) .contact .form .chips label:has(input:checked) span { background: var(--dark-2); border-color: var(--dark-2); color: var(--bg); }
body:not([data-page="accueil"]) .contact .form .btn--accent { background: var(--navy-grad); color: var(--bg); }
.nav__cta[aria-current="page"] { color: var(--bg); opacity: 1; }

/* ═════════ Nouvelle structure : menu Rénovation, prestations, FAQ, Le Mag ═════════ */
/* menu déroulant « Rénovation » (survol / clavier sur ordinateur, liste dépliée sur mobile) */
.dd { position: relative; }
.dd__t span { font-size: 0.7em; margin-left: 4px; display: inline-block; transition: transform 0.3s var(--ease); }
.dd__menu { position: absolute; top: calc(100% + 18px); left: -22px; min-width: 290px; display: grid; padding: 14px 0; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 24px 50px -30px rgba(20, 35, 63, 0.4); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s; z-index: 5; }
.dd__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.dd__menu a { padding: 10px 22px; color: var(--dark-2); font-size: 12px; letter-spacing: 0.12em; }
.dd__menu a::after { display: none; }
.dd__menu a:hover, .dd__menu a:focus-visible { color: var(--accent); background: var(--bg-2); }
.dd__menu a:nth-child(3) { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 4px; }
.dd:hover .dd__menu, .dd:focus-within .dd__menu { opacity: 1; visibility: visible; transform: none; }
.dd:hover .dd__t span, .dd:focus-within .dd__t span { transform: rotate(180deg); }
@media (max-width: 1180px) {
  .dd { display: grid; gap: 4px; }
  .dd__t span { display: none; }
  .dd__menu { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; padding: 0 0 0 14px; background: none; border: 0; box-shadow: none; }
  .dd__menu a { padding: 4px 0; font-size: 15px; color: inherit; opacity: 0.75; }
  .dd__menu a:nth-child(3) { border: 0; padding-bottom: 4px; margin: 0; }
}

/* grilles de prestations */
.svc__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc__item { padding: clamp(24px, 3vw, 40px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; align-content: start; gap: 10px; transition: background 0.3s; }
.svc__item:hover { background: #fff; }
.svc__n { font-size: 12px; font-weight: 500; letter-spacing: 0.2em; color: var(--accent); }
.svc__t { margin: 0; font-family: var(--sans); font-weight: 500; text-transform: uppercase; font-size: 16px; letter-spacing: 0.04em; color: var(--dark-2); }
.svc__item p { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
.svc__call { margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dark-2); }
.svc__call:hover { color: var(--accent); }
.svc__rge { margin-top: clamp(28px, 4vw, 44px); display: flex; gap: 24px; align-items: center; padding: 24px 28px; background: #fff; border-left: 3px solid var(--dark-2); }
.svc__rge strong { flex: none; width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid var(--dark-2); font-size: 15px; letter-spacing: 0.12em; color: var(--dark-2); }
.svc__rge p { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
@media (max-width: 900px) { .svc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svc__grid { grid-template-columns: minmax(0, 1fr); } .svc__rge { flex-direction: column; align-items: flex-start; } }

/* bons réflexes (urgence), engagements (équipe) */
.tips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.tips li { padding: 24px; background: var(--bg-2); font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
.tips strong { display: block; margin-bottom: 8px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dark-2); }
@media (max-width: 760px) { .tips { grid-template-columns: minmax(0, 1fr); } }
.team__list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; text-align: left; }
.team__list li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ink); }
.team__list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 7px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }

/* FAQ */
.faq__inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 500; font-size: 16px; color: var(--dark-2); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--accent); transition: transform 0.3s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin: 0 0 22px; max-width: 62ch; font-size: 15px; line-height: 1.85; color: var(--ink-2); }
@media (max-width: 860px) { .faq__inner { grid-template-columns: minmax(0, 1fr); } }

/* Le Mag */
.mag__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 44px); }
.mag__f { border: 1px solid var(--line); background: none; padding: 10px 18px; font: 500 12px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dark-2); cursor: pointer; }
.mag__f:hover { border-color: var(--dark-2); }
.mag__f.is-on { background: var(--dark-2); border-color: var(--dark-2); color: var(--bg); }
.mag-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(16px, 2vw, 28px); }
.mag-card { display: grid; align-content: start; gap: 10px; color: var(--ink); }
.mag-card[hidden] { display: none; }
.mag-card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); margin-bottom: 6px; }
.mag-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mag-card:hover .mag-card__img img { transform: scale(1.04); }
.mag-card__cat { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.mag-card__t { margin: 0; font-family: var(--sans); font-weight: 500; font-size: 17px; line-height: 1.35; text-transform: uppercase; letter-spacing: 0.02em; color: var(--dark-2); }
.mag-card:hover .mag-card__t { color: var(--accent); }
.mag-card__lead { font-size: 14px; line-height: 1.75; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 900px) { .mag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mag-grid { grid-template-columns: minmax(0, 1fr); } }

/* article */
.post__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 22px; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.post__hero .cs-hero__title { max-width: 26ch; }
.post__cover { margin: 0 auto; max-width: 1240px; padding: 0 clamp(16px, 2.4vw, 40px); }
.post__cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; display: block; }
.post__body { max-width: 720px; margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--gutter) clamp(24px, 3vw, 40px); }
.post__body h2 { margin: 2.2em 0 0.7em; font-family: var(--sans); font-weight: 500; text-transform: uppercase; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.25; letter-spacing: 0.02em; color: var(--dark-2); }
.post__body h2:first-child { margin-top: 0; }
.post__body p, .post__body li { font-size: 16.5px; line-height: 1.9; color: var(--ink-2); }
.post__body p { margin: 0 0 1.1em; }
.post__body ul { margin: 0 0 1.2em; padding-left: 1.2em; }
.post__body li { margin-bottom: 0.4em; }
.post__body li::marker { color: var(--accent); }
.post__proj { margin: 3em 0 0; padding-top: 2em; border-top: 1px solid var(--line); }
.post__proj .pj-card { max-width: 360px; }
.post__links { margin: 2.4em 0 0; display: grid; gap: 4px; }
.post__links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--dark-2); display: flex; justify-content: space-between; }
.post__links a:hover { color: var(--accent); }
.svc__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } @media (max-width: 560px) { .svc__grid--2 { grid-template-columns: minmax(0, 1fr); } }

/* Partie rénovation énergétique, dans la page rénovation intérieure */
.svc--energy { background: var(--bg-2); scroll-margin-top: 80px; }

/* Page en cours : trait sous le lien, lisible sur fond clair comme sur photo */
@media (min-width: 1181px) {
  .nav > a[aria-current="page"]:not(.nav__cta)::after, .dd__t[aria-current="page"]::after { transform: scaleX(1); }
  .header.on-dark:not(.is-scrolled) .nav a[aria-current="page"]:not(.nav__cta) { color: #fff; }
  .header.on-dark:not(.is-scrolled) .nav .dd__menu a[aria-current="page"] { color: var(--accent); } /* sous-menu sur fond clair */
}

/* Menu plein écran (mobile et tablette) : des intitulés lisibles */
@media (max-width: 1180px) {
  .nav { font-size: min(30px, 7.6vw); letter-spacing: 0; gap: 14px; }
  .nav > a, .dd__t, .mega__toggle { letter-spacing: 0; }
  .dd__menu a { font-size: 17px; letter-spacing: 0; }
}

/* « Du plan au volume » : mobilier qui monte avec les murs */
.csa .vol .furn { stroke: #1c1b19; stroke-width: 1.2; stroke-linejoin: round; }
.csa .vol .ftop.m-lit { fill: #fbf8f3; } .csa .vol .fside.m-lit { fill: #e3dacb; }
.csa .vol .ftop.m-bois { fill: #c79c6e; } .csa .vol .fside.m-bois { fill: #a47d59; }
.csa .vol .ftop.m-tissu { fill: #3a5584; } .csa .vol .fside.m-tissu { fill: #233e6b; }
.csa .vol .ftop.m-blanc { fill: #ffffff; } .csa .vol .fside.m-blanc { fill: #dfe4e6; }
.csa .vol .ftop.m-tapis { fill: #c8b48f; } .csa .vol .fside.m-tapis { fill: #b09a73; }
.csa .vol .ftop.m-laiton { fill: #e2c896; } .csa .vol .fside.m-laiton { fill: #c9a77a; }
.csa .vol .ftop.m-plante { fill: #8aa27a; } .csa .vol .fside.m-plante { fill: #6f8a61; }
.csa .vol .ftop.m-noir { fill: #3a3835; } .csa .vol .fside.m-noir { fill: #2a2825; }
.csa .vol .ftop.m-inox { fill: #e4e8ea; } .csa .vol .fside.m-inox { fill: #c9cfd3; }
.csa .vol .ftop.m-eau { fill: #b9d3df; } .csa .vol .fside.m-eau { fill: #9fbfcd; }
.csa .vol .f-y { filter: brightness(0.92); }

/* ───────── Direction artistique 2026-10 : titres serif, maquette en matières, rythme resserré ───────── */
:root { --sand-ink: #9a8257; }

/* 1 · Titres : serif élégante en casse normale, fin du titre en italique sable */
body:not([data-page="accueil"]) .h2,
body:not([data-page="accueil"]) .cs-hero__title,
body:not([data-page="accueil"]) .page-hero .cs-hero__title,
.pn__title, .split__title, .works__title, .funnel__title, .logos__t, .post__body h2 {
  font-family: var(--display); font-weight: 400; text-transform: none; letter-spacing: -0.01em; line-height: 1.04; color: var(--dark-2);
}
body:not([data-page="accueil"]) .h2 { font-size: clamp(34px, 3.6vw, 54px); }
body:not([data-page="accueil"]) .h2--xl { font-size: clamp(38px, 4.4vw, 64px); }
body:not([data-page="accueil"]) .cs-hero__title, body:not([data-page="accueil"]) .page-hero .cs-hero__title { font-size: clamp(42px, 5.4vw, 80px); max-width: 18ch; }
.pn__title, .split__title { font-size: clamp(32px, 3.2vw, 48px); }
.works__title { font-size: clamp(34px, 3.6vw, 54px); }
.funnel__title { font-size: clamp(34px, 3.4vw, 50px); }
.logos__t { font-size: clamp(24px, 2.2vw, 32px); }
.post__body h2 { font-size: clamp(26px, 2.4vw, 34px); }
body:not([data-page="accueil"]) .h2 em, body:not([data-page="accueil"]) .cs-hero__title em,
.pn__title em, .split__title em, .works__title em, .funnel__title em, .h2 em {
  font-family: var(--display); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--sand-ink);
}
.section--dark .h2 em, .bp .h2 em { color: var(--accent-2); }
/* petits titres de cartes : serif aussi, un cran plus grands */
.works__t, .svc__t, .mag-card__t, .pn-news__t, .funnel .quiz__q, .tips strong,
body:not([data-page="accueil"]) .pj-card__t {
  font-family: var(--display); font-weight: 500; text-transform: none; letter-spacing: 0; line-height: 1.15; color: var(--dark-2);
}
.works__t, body:not([data-page="accueil"]) .pj-card__t { font-size: clamp(20px, 1.7vw, 24px); }
.svc__t, .pn-news__t, .tips strong { font-size: 21px; }
.mag-card__t { font-size: 22px; line-height: 1.2; }
.funnel .quiz__q { font-size: clamp(22px, 2vw, 28px); }
.show__cap { font-family: var(--display); font-weight: 400; font-style: italic; text-transform: none; font-size: clamp(24px, 2.4vw, 34px); }

/* 2 · Maquette de la maison : pierre, bois, zinc, brique (au lieu du rose) */
.bz .face { fill: #ece4d6; stroke: var(--dark-2); stroke-width: 1.3; }
.bz .face--floor { fill: #d9c2a0; }
.bz .face--wall { fill: #e3d6c0; }
.bz .face--glass { fill: #a9c4d4; }
.bz .face--dark { fill: #b9b3a7; }
.bz .face--roof { fill: #74808d; }
.bz .face--brick { fill: #a85f45; }
.bz .edge, .bz .edge--accent { stroke: var(--dark-2); }
.bz.is-on .face { stroke: var(--accent); stroke-width: 1.8; }
.bz.is-on .face:not(.face--glass):not(.face--roof):not(.face--brick) { fill: #efe3cb; }
.bz.is-on .face--floor, .bz.is-on .face--wall, .bz.is-on .face--dark { fill: #dcc6a0; }
.bz.is-on .face--roof { fill: #8e9aa6; }
.build__house { background: #fbf8f3; }

/* 4 · Rythme : sections resserrées, fonds crème et sable en alternance */
.section { padding: clamp(64px, 8vw, 112px) 0; }
body:not([data-page="accueil"]) .section { padding-top: clamp(56px, 6.5vw, 96px); padding-bottom: clamp(56px, 6.5vw, 96px); }
.pn { padding: clamp(48px, 5.5vw, 80px) 0; }
body:not([data-page="accueil"]) main > section.section:nth-of-type(even):not(.section--dark):not(.section--tight) { background: var(--bg-2); }
body:not([data-page="accueil"]) main > section.section:nth-of-type(even) .build__house { background: var(--bg); }

/* 5 · Accueil : phrase d'accroche sur le diaporama */
.hero__claim { position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: clamp(40px, 8vh, 88px); margin: 0; color: var(--on-dark); max-width: 15ch;
  font-family: var(--display); font-weight: 400; font-size: clamp(44px, 6.6vw, 104px); line-height: 0.98; letter-spacing: -0.015em; text-shadow: 0 2px 30px rgba(20, 35, 63, 0.35); }
.hero__claim em { font-style: italic; color: var(--accent-2); }
.hero__claim small { display: block; margin-top: 18px; font: 500 12px var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: rgba(246, 241, 231, 0.85); text-shadow: none; }
.js .hero__claim { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease) 0.3s, transform 1s var(--ease) 0.3s; }
.js .is-loaded .hero__claim, .js.is-loaded .hero__claim, .is-loaded .hero__claim { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .hero__claim { opacity: 1; transform: none; } }

/* 6 · Logos clients : même police, même gris */
.logos .logos__item--text span, .logos .logos__item--text:nth-child(n) span { color: var(--dark-2); font-family: var(--sans); font-style: normal; font-weight: 500; font-size: clamp(15px, 1.3vw, 19px); letter-spacing: 0.24em; text-transform: uppercase; color: #8f8a80; }
.logos__item--text:hover span { color: var(--dark-2); }
/* boutons, filtres et pastilles : tous rectangulaires, comme les boutons */
.build__chip, .tags li, .mag__f, .sr-wall__label, .hero__tag span { border-radius: 2px; }
@media (max-width: 960px) { .hero__claim { bottom: 116px; } .hero__claim small { letter-spacing: 0.16em; font-size: 11px; } }

/* Animation de lancement aux couleurs du site : fond crème, plan doux, nom EMBI en marine */
.intro .loader, .loader { background: var(--bg); color: var(--dark); }
.plan-outer *, .plan-walls * { stroke: var(--dark); }
.plan-details * { stroke: rgba(20, 35, 63, 0.45); }
.plan-dims * { stroke: rgba(20, 35, 63, 0.3); }
.plan-labels text { fill: rgba(20, 35, 63, 0.45); }
.plan-name * { stroke: var(--dark); filter: none; }
.plan-columns circle { fill: var(--dark); }
.loader__caption { color: var(--dark); }
.loader__caption span, .loader__count { color: var(--sand-ink); }
.loader__skip { color: var(--dark); border-color: rgba(20, 35, 63, 0.3); background: transparent; }
.loader__skip:hover, .loader__skip:focus-visible { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }

/* ───────── FAQ par page (2026-10) : accordéon en bas de chaque page, avant le devis ───────── */
.faq__head { position: sticky; top: 120px; }
.faq__head .h2 { margin: 0; }
.faq__aside { margin: 22px 0 0; max-width: 34ch; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
.faq__aside a, .faq__item p a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-2); text-underline-offset: 3px; }
.faq__aside a:hover, .faq__item p a:hover { text-decoration-color: var(--accent); }
.faq__list { border-top-color: var(--accent-2); }
.faq__item summary { align-items: baseline; padding: 24px 0; font-family: var(--display); font-weight: 500; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.3; color: var(--ink); transition: color 0.25s var(--ease); }
.faq__item summary:hover { color: var(--accent); }
.faq__item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.faq__item summary::after { flex: none; font-family: var(--sans); font-weight: 300; font-size: 26px; color: var(--sand-ink, #9a8257); }
.faq__item p { margin-top: -6px; }
@media (max-width: 860px) { .faq__head { position: static; } .faq__aside { margin-top: 14px; } }

/* ───────── Nouveau menu (2026-10) : Rénovations, Nos réalisations, Le showroom, À propos, Urgences & dépannage, Contact, FAQ + bouton devis ───────── */
.header__cta { flex: none; display: inline-flex; align-items: center; padding: 13px 20px; background: var(--dark); color: var(--on-dark); font: 500 12px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; transition: background 0.3s, color 0.3s; }
.header__cta:hover, .header__cta:focus-visible { background: var(--accent); color: var(--on-dark); }
.header__cta[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent-2); }
.header.on-dark:not(.is-scrolled) .header__cta { background: var(--on-dark); color: var(--dark); }
.header.on-dark:not(.is-scrolled) .header__cta:hover { background: var(--accent-2); }
.dd { display: flex; align-items: center; gap: 2px; }
.dd__btn { display: inline-grid; place-items: center; width: 22px; height: 26px; padding: 0; background: none; border: 0; color: inherit; cursor: pointer; }
.dd__btn span { font-size: 9px; transition: transform 0.3s var(--ease); }
.dd__menu a:nth-child(3) { border-bottom: 0; padding-bottom: 10px; margin-bottom: 0; }
.dd__menu a[aria-current="page"] { color: var(--accent); }
.dd__call { display: flex !important; align-items: center; gap: 10px; margin-top: 6px; border-top: 1px solid var(--line); padding-top: 14px !important; color: #b3392b !important; }
.dd__call .pulse { flex: none; }
@media (min-width: 1181px) {
  .header__inner { gap: 24px; }
  .header__urgent { display: none; }
  .nav { gap: 16px; font-size: 12px; letter-spacing: 0.08em; }
  .header__inner { gap: 20px; }
  .dd__menu { left: -18px; }
  .dd.is-open .dd__menu { opacity: 1; visibility: visible; transform: none; }
  .dd:hover .dd__btn span, .dd:focus-within .dd__btn span, .dd.is-open .dd__btn span { transform: rotate(180deg); }
}
@media (max-width: 1360px) and (min-width: 1181px) {
  .header__inner { gap: 18px; }
  .nav { gap: 12px; font-size: 11.5px; letter-spacing: 0.05em; }
  .header__cta { padding: 12px 15px; font-size: 11.5px; letter-spacing: 0.08em; }
  .logo__svg { height: 24px; }
}
@media (max-width: 1180px) {
  .header__cta { position: relative; z-index: 2; margin-left: 10px; padding: 10px 14px; font-size: 11.5px; letter-spacing: 0.1em; }
  .header__urgent { margin-left: auto; }
  .burger { margin-left: 6px; }
  .nav { justify-content: flex-start; gap: 0; padding-top: 96px; font-size: min(28px, 7.2vw); }
  .nav > a, .nav > .dd { width: 100%; padding: 9px 0; border-bottom: 1px solid var(--line); }
  .nav > a::after, .dd__t::after { display: none; }
  .dd { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0; }
  .dd__btn { width: 44px; height: 44px; font-size: 18px; border: 1px solid var(--line); border-radius: 50%; }
  .dd__btn span { font-size: 12px; }
  .dd.is-open .dd__btn span { transform: rotate(180deg); }
  .dd__menu { grid-column: 1 / -1; display: none; padding: 6px 0 8px 16px; }
  .dd.is-open .dd__menu { display: grid; }
  .dd__menu a { padding: 7px 0; font: 400 16px var(--sans); letter-spacing: 0.02em; opacity: 1; color: var(--ink-2); }
  .dd__call { font-size: 15px !important; padding-top: 12px !important; }
  .menu-open .header .header__cta, .menu-open .header.on-dark:not(.is-scrolled) .header__cta { background: var(--dark); color: var(--on-dark); }
  .menu-open .header .header__urgent, .menu-open .header.on-dark:not(.is-scrolled) .header__urgent { color: #b3392b; }
}
@media (max-width: 600px) {
  .header__cta-l { display: none; }
  .header__cta { padding: 9px 12px; font-size: 11px; }
}
@media (max-width: 420px) {
  .header__cta { margin-left: 6px; padding: 8px 10px; letter-spacing: 0.08em; }
  .header__urgent-num { display: none; }
}
@media (max-width: 340px) { .header__urgent { display: none; } .header__cta { margin-left: auto; } }

/* Encadrés « à compléter » : infos à fournir par EMBI avant la mise en ligne */
.a-completer { margin: 32px 0 0; padding: 18px 22px; border: 1px dashed var(--accent-2); background: rgba(200, 180, 143, 0.12); font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.a-completer p { margin: 0; }
.a-completer__t { display: block; margin: 0 0 6px !important; font: 600 11px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--sand-ink, #9a8257); }
.a-completer--inline { margin: 4px 0 0; padding: 12px 14px; }

/* Urgences : lien vers la page de chaque métier, conseil + suite */
.svc__call--more { margin-top: 0; color: var(--muted); }
.tips--one { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tips--one a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .tips--one { grid-template-columns: 1fr; } }

/* Page FAQ : sommaire des thèmes + questions regroupées */
.faq-page__inner { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-page__toc { position: sticky; top: 120px; display: grid; gap: 10px; }
.faq-page__toc .eyebrow { margin-bottom: 6px; }
.faq-page__toc a { font-size: 14px; color: var(--ink-2); border-left: 1px solid var(--line); padding: 2px 0 2px 14px; transition: color 0.2s, border-color 0.2s; }
.faq-page__toc a:hover { color: var(--accent); border-color: var(--accent); }
.faq-page__themes { display: grid; gap: clamp(48px, 6vw, 80px); }
.faq-page__theme { scroll-margin-top: 110px; }
.faq-page__h { margin: 0 0 18px; font-size: clamp(28px, 3vw, 40px); }
@media (max-width: 860px) {
  .faq-page__inner { grid-template-columns: 1fr; }
  .faq-page__toc { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .faq-page__toc .eyebrow { width: 100%; }
  .faq-page__toc a { border: 1px solid var(--line); padding: 6px 12px; font-size: 13px; }
}

/* ───────── Logo « trait d'architecte » (piste 3) : cube et EMBI marine sur crème, blancs sur photo ou marine ;
   les coins du cadre restent dorés (or foncé sur fond clair, sable sur fond sombre) ───────── */
.logo__svg { height: 44px; }
@media (max-width: 560px) { .logo__svg { height: 38px; } }
@media (max-width: 420px) { .logo__svg { height: 34px; } }
@media (max-width: 340px) { .logo__svg { height: 30px; } }
.logo__frame { stroke: var(--logo-gold, #a68c6a); }
.header.on-dark:not(.is-scrolled) { --logo-gold: var(--accent-2); }
.header:has(.nav.is-open) .logo, .menu-open .header .logo { --logo-gold: #a68c6a; }
/* l'intro pose le logo exactement à la place de celui de l'en-tête (marge 18px, centré sur une ligne de 44px) */
.loader__brand { position: absolute; top: 18px; left: calc(max(0px, (100% - var(--max)) / 2) + var(--gutter)); z-index: 2; color: var(--dark); }
.loader__logo-svg { display: block; height: 44px; width: auto; overflow: visible; }
@media (max-width: 1360px) and (min-width: 1181px) { .loader__logo-svg { height: 38px; } }
@media (max-width: 560px) { .loader__brand { top: 21px; } .loader__logo-svg { height: 38px; } }
@media (max-width: 420px) { .loader__brand { top: 23px; } .loader__logo-svg { height: 34px; } }
@media (max-width: 340px) { .loader__brand { top: 25px; } .loader__logo-svg { height: 30px; } }

/* Nouveau menu + nouveau logo : sur les ordinateurs étroits, le logo se resserre pour laisser la place au menu */
@media (max-width: 1360px) and (min-width: 1181px) { .logo__svg { height: 38px; } }

/* Nos réalisations : noms des chantiers en marine (ils héritaient du blanc des anciennes sections sombres, illisibles sur le fond lin) */
body:not([data-page="accueil"]) .refs .acc__head .acc__t { color: var(--dark-2); }
body:not([data-page="accueil"]) .refs .acc__head :is(.acc__n, .acc__c) { color: var(--sand-ink, #9a8257); }
body:not([data-page="accueil"]) .refs .acc__head .acc__ar { color: var(--dark-2); }
body:not([data-page="accueil"]) .refs .acc__head:hover .acc__t, body:not([data-page="accueil"]) .refs .acc__item.is-open .acc__head :is(.acc__t, .acc__n, .acc__ar) { color: var(--accent); }

/* ───────── Accueil · Nos services : fiches façon plan posées sur une grande photo ───────── */
.hsvc { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 128px) 0; color: var(--dark); isolation: isolate; }
.hsvc__bg { position: absolute; inset: 0; margin: 0; z-index: -1; }
.hsvc__bg img { width: 100%; height: 100%; object-fit: cover; }
.hsvc__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 35, 63, 0.55), rgba(20, 35, 63, 0.25) 40%, rgba(20, 35, 63, 0.6)); }
.hsvc__title { color: var(--on-dark); text-align: center; margin: 0 0 clamp(32px, 4vw, 52px); }
.hsvc .hsvc__title em { color: var(--accent-2); }
.hsvc__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.hsvc__card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 2.4vw, 34px) clamp(20px, 2vw, 28px) clamp(22px, 2vw, 28px);
  background: rgba(247, 244, 238, 0.52); -webkit-backdrop-filter: blur(5px) saturate(1.1); backdrop-filter: blur(5px) saturate(1.1);
  border: 1px solid rgba(200, 180, 143, 0.55); transition-delay: var(--d, 0ms); }
/* repères d'angle, comme sur un tirage de plan */
.hsvc__card::before, .hsvc__card::after { content: ""; position: absolute; width: 14px; height: 14px; border: 0 solid var(--sand-ink); }
.hsvc__card::before { top: 8px; left: 8px; border-top-width: 1.5px; border-left-width: 1.5px; }
.hsvc__card::after { bottom: 8px; right: 8px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.hsvc__n { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--sand-ink); color: var(--sand-ink); font: 400 22px var(--display); font-style: italic; }
.hsvc__t { margin: 0; font: 500 clamp(22px, 1.8vw, 27px)/1.12 var(--display); color: var(--dark); }
.hsvc__card p { margin: 0; flex: 1; font-size: 14.5px; line-height: 1.7; color: var(--ink); }
.hsvc__go { align-self: flex-start; display: inline-flex; gap: 10px; align-items: center; margin-top: 6px; padding: 12px 18px; background: var(--dark); color: var(--on-dark); font: 500 12px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; transition: background 0.3s, gap 0.3s; }
.hsvc__go:hover, .hsvc__go:focus-visible { background: var(--accent); gap: 14px; }
@media (max-width: 1100px) { .hsvc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .hsvc__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scrollbar-width: none; }
  .hsvc__grid::-webkit-scrollbar { display: none; }
  .hsvc__card { scroll-snap-align: start; }
}

/* ───────── Bandeau cookies EMBI : « fiche de plan » crème en bas à droite (fond inchangé : consent.js) ───────── */
.ck { left: auto; right: 24px; bottom: 24px; justify-content: flex-end; }
.ck__inner { position: relative; width: min(460px, 100%); padding: 30px 30px 26px; background: var(--bg); color: var(--dark);
  border: 1px solid rgba(200, 180, 143, 0.7); border-radius: 0; box-shadow: 0 30px 70px -30px rgba(20, 35, 63, 0.45); }
.ck__inner::before, .ck__inner::after { content: ""; position: absolute; width: 14px; height: 14px; border: 0 solid var(--sand-ink); pointer-events: none; }
.ck__inner::before { top: 8px; left: 8px; border-top-width: 1.5px; border-left-width: 1.5px; }
.ck__inner::after { bottom: 8px; right: 8px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.ck__title { font: 400 28px/1.1 var(--display); color: var(--dark); }
.ck__title::before { content: "Plan n° 00 · Vos données"; display: block; margin-bottom: 10px; font: 600 10.5px var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--sand-ink); }
.ck__title em { font-family: var(--display); color: var(--sand-ink); }
.ck__text { font-size: 13.5px; color: var(--ink-2); }
.ck__text a { color: var(--dark); border-color: var(--sand-ink); }
.ck__details, .ck__cat { border-color: rgba(20, 35, 63, 0.12); }
.ck__cat small { color: var(--ink-2); }
.ck__cat i { background: rgba(20, 35, 63, 0.18); }
.ck__cat input:checked + i { background: var(--dark); }
.ck__cat input:focus-visible + i { outline-color: var(--dark); }
/* « Tout refuser » et « Tout accepter » au même niveau, « Personnaliser » en dessous */
.ck__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ck__btn { border-radius: 0; background: var(--dark); color: var(--on-dark); border-color: var(--dark); font: 500 12px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.ck__btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.ck__btn--ghost { grid-column: 1 / -1; order: 3; background: transparent; color: var(--dark); border-color: rgba(20, 35, 63, 0.25); }
.ck__btn--ghost:hover { background: rgba(20, 35, 63, 0.06); color: var(--dark); border-color: var(--dark); }
@media (max-width: 560px) { .ck { left: 8px; right: 8px; bottom: 8px; } .ck__inner { padding: 26px 22px 22px; } .ck__title { font-size: 25px; } }

/* ───────── Nos réalisations : une section par catégorie ───────── */
.acc-group + .acc-group { margin-top: clamp(40px, 5vw, 72px); }
.acc-group[hidden] { display: none; }
.acc-group__t { font-family: var(--display); font-weight: 500; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; margin: 0 0 clamp(14px, 1.6vw, 20px); color: var(--dark-2); }
.acc-group__t sup { font: 600 12px var(--sans); letter-spacing: 0.08em; color: var(--sand-ink, #9a8257); margin-left: 4px; vertical-align: super; }

/* Cartes photo (.works__grid) : rangée centrée quel que soit le nombre de cartes */
.works__grid { --cols: 3; --gx: clamp(12px, 1.4vw, 20px); display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(36px, 4vw, 56px) var(--gx); }
.works__grid > .works__card { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gx)) / var(--cols)); min-width: 0; }
.works__grid--4 { --cols: 4; }
@media (max-width: 900px) { .works__grid, .works__grid--4 { --cols: 2; } }
#types .sector__others { justify-content: center; }


/* En-tête des pages intérieures en pleine photo, comme l'accueil : photo de chantier, voile marine, texte clair */
body:not([data-page="accueil"]) .page-hero--photo { position: relative; overflow: hidden; color: #fff; background: var(--dark); min-height: min(78svh, 720px); display: flex; align-items: flex-end; }
.page-hero--photo > .container { width: 100%; }
.page-hero__photo { position: absolute; inset: 0; margin: 0; pointer-events: none; }
.page-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 35, 63, 0.6) 0%, rgba(20, 35, 63, 0.18) 26%, rgba(20, 35, 63, 0.3) 52%, rgba(20, 35, 63, 0.82) 100%), linear-gradient(90deg, rgba(20, 35, 63, 0.55) 0%, rgba(20, 35, 63, 0) 70%); }
.page-hero--photo .page-hero__inner { position: relative; z-index: 1; }
body:not([data-page="accueil"]) .page-hero--photo .cs-hero__title { color: #fff; text-shadow: 0 2px 24px rgba(20, 35, 63, 0.35); }
body:not([data-page="accueil"]) .page-hero--photo .cs-hero__title em { color: var(--accent-2); }
body:not([data-page="accueil"]) .page-hero--photo .cs-hero__lead, .page-hero--photo .post__meta { color: rgba(255, 255, 255, 0.88); }
body:not([data-page="accueil"]) .page-hero--photo [aria-label*="Fil"], body:not([data-page="accueil"]) .page-hero--photo [aria-label*="Fil"] a { color: rgba(255, 255, 255, 0.78); }
body:not([data-page="accueil"]) .page-hero--photo [aria-label*="Fil"] > span:last-child { color: #fff; }
.page-hero--photo .btn--accent { background: var(--on-dark); color: var(--dark-2); }
.page-hero--photo .btn--accent:hover { background: #fff; color: var(--dark); }
body:not([data-page="accueil"]) .page-hero--photo .btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, 0.7); }
body:not([data-page="accueil"]) .page-hero--photo .btn--outline-light:hover { background: #fff; color: var(--dark); }
body:not([data-page="accueil"]) .page-hero--photo .cs-kicker { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.page-hero--photo a:not(.btn) { color: inherit; }
@media (max-width: 760px) { body:not([data-page="accueil"]) .page-hero--photo { min-height: 0; } }

/* Accueil « Au cœur de Paris » : photo puis texte l'un sous l'autre sur mobile (la règle à 2 colonnes plus haut n'avait pas de version mobile) */
@media (max-width: 860px) { .pn.split .split__inner { grid-template-columns: minmax(0, 1fr); } }

/* ═════════ Pied de page marine avec le logo (2026-10) ═════════ */
.footer, body[data-page="accueil"] .footer { background: var(--dark); color: var(--on-dark); padding: clamp(56px, 7vw, 96px) 0 32px; border-top: 0; }
body .footer .footer__cta, body[data-page="accueil"] .footer .footer__cta { display: inline-flex; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.4vw, 48px); color: var(--on-dark); }
.footer .footer__cta em { color: var(--accent-2); font-style: italic; }
.footer .footer__cta span { color: var(--accent-2); }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: clamp(32px, 4vw, 48px); border-bottom: 1px solid rgba(247, 244, 238, 0.14); }
.footer__logo { display: inline-flex; color: var(--on-dark); }
.footer__logo-svg { width: clamp(180px, 18vw, 240px); height: auto; overflow: visible; }
.footer { --logo-gold: var(--accent-2); } /* coins du logo couleur sable sur le marine du pied de page */
.footer .footer__logo, body[data-page] .footer .footer__logo { color: var(--on-dark); } /* le logo en couleur pleine (les autres liens du pied de page sont adoucis) */
.footer :is(p, a, span, nav), body[data-page="accueil"] .footer :is(p, a, span, nav) { color: rgba(247, 244, 238, 0.78); }
.footer .footer__cta, .footer .footer__cta * { color: var(--on-dark); }
.footer .footer__cta em, .footer .footer__cta span { color: var(--accent-2); }
.footer .footer__h, body[data-page="accueil"] .footer .footer__h { color: var(--accent-2); }
.footer a:hover, body[data-page="accueil"] .footer a:hover { color: #fff; }
.footer .footer__urgent { color: #fff; }
.footer__legal { padding-top: 24px; border-top: 1px solid rgba(247, 244, 238, 0.14); }
.footer__legal, .footer__legal :is(span, a, button) { color: rgba(247, 244, 238, 0.55) !important; }

/* ═════════ Logos clients : une seule teinte, une seule hauteur, défilement lent (2026-10) ═════════ */
.logos__track { animation-duration: 90s; }
.logos__item { height: 56px; padding: 0 clamp(26px, 3.2vw, 48px); color: var(--dark-2); opacity: 0.45; transition: opacity 0.35s; }
.logos__item:hover { opacity: 0.9; color: var(--dark-2); }
.logos__item img, .logos__item:hover img { height: 30px; max-height: none; max-width: 140px; width: auto; object-fit: contain; filter: brightness(0); opacity: 1; }
.logos .logos__item--text span, .logos .logos__item--text:nth-child(n) span { color: var(--dark-2); font-family: var(--display); font-style: normal; font-weight: 500; font-size: 24px; letter-spacing: 0.14em; text-transform: uppercase; }

/* ═════════ Nos réalisations : mosaïque de photos, nom du chantier au survol (2026-10) ═════════ */
.ref-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.ref-tile[hidden] { display: none; }
.ref-tile a { position: relative; display: block; overflow: hidden; background: var(--bg-2); color: #fff; }
.ref-tile__img { margin: 0; aspect-ratio: 4 / 3; }
.ref-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ref-tile a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 35, 63, 0) 35%, rgba(20, 35, 63, 0.85) 100%); opacity: 0; transition: opacity 0.5s var(--ease); }
.ref-tile__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 4px; padding: clamp(16px, 1.8vw, 24px); opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.ref-tile__n { font: 500 11px var(--sans); letter-spacing: 0.2em; color: var(--accent-2); }
.ref-tile__t { font-family: var(--display); font-weight: 400; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.15; color: #fff; }
.ref-tile__c { font: italic 400 15px var(--display); color: rgba(255, 255, 255, 0.8); }
.ref-tile a:is(:hover, :focus-visible)::after, .ref-tile a:is(:hover, :focus-visible) .ref-tile__cap { opacity: 1; transform: none; }
.ref-tile a:hover .ref-tile__img img { transform: scale(1.05); }
@media (hover: none) { .ref-tile a::after, .ref-tile__cap { opacity: 1; transform: none; } }
@media (max-width: 900px) { .ref-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ref-grid { grid-template-columns: minmax(0, 1fr); } }
.acc-group + .acc-group { margin-top: clamp(36px, 4vw, 56px); }

/* Petit titre de section (« —— ») aligné comme le titre qu'il annonce */
.works__head .eyebrow { justify-content: flex-end; }
.split__txt .eyebrow { justify-content: center; }
.hsvc .eyebrow { justify-content: center; color: var(--on-dark); }
@media (max-width: 860px) { .works__head .eyebrow { justify-content: flex-start; } }

/* Nos services : pastilles 01 à 04 plus visibles (rond marine plein, chiffre sable, liseré sable) */
.hsvc .hsvc__n { width: 58px; height: 58px; background: var(--dark); border: 2px solid var(--accent-2); color: var(--accent-2); font: italic 500 24px var(--display); box-shadow: 0 6px 18px rgba(20, 35, 63, 0.25); }

/* Logos clients plus lisibles : teinte marine foncée, logos plus grands, tailles ajustées logo par logo */
.logos .logos__item { opacity: 0.85; height: 64px; }
.logos .logos__item:hover { opacity: 1; }
.logos .logos__item img, .logos .logos__item:hover img { height: 38px; max-width: 170px; filter: brightness(0); }
.logos .logos__item--text span, .logos .logos__item--text:nth-child(n) span { font-size: 26px; color: var(--dark); }
/* logos fins ou carrés : plus hauts pour garder la même présence visuelle */
.logos .logos__item--hotel-bienvenue img { height: 60px; }
.logos .logos__item--petite-mendigote img { height: 56px; max-width: 150px; }
/* Mojo : pastille ronde à fond blanc, on garde le dessin en niveaux de gris au lieu d'un disque plein */
.logos .logos__item--mojo-kitchen img, .logos .logos__item--mojo-kitchen:hover img { height: 66px; filter: grayscale(1) contrast(2.2) brightness(0.8); mix-blend-mode: multiply; }

/* Bande devis : « Devis gratuit » est un lien vers le formulaire */
body .pn-news .pn-news__link { white-space: nowrap; color: var(--accent); text-decoration: none; background: linear-gradient(var(--accent-2), var(--accent-2)) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .35s var(--ease), color .2s; }
body .pn-news .pn-news__link i { font-style: normal; display: inline-block; margin-left: 4px; transition: transform .3s var(--ease); }
body .pn-news .pn-news__link:hover { color: var(--dark); background-size: 100% 2px; }
body .pn-news .pn-news__link:hover i { transform: translateX(4px); }

/* ═════════ Mobile : même contenu et même rendu soigné que sur ordinateur ═════════ */
/* « Toutes les réalisations » : la bande verticale devient une barre horizontale, comme « Découvrir nos réalisations » */
@media (max-width: 560px) {
  .works__band span { writing-mode: horizontal-tb; transform: none; white-space: nowrap; }
}
/* Groupes de boutons (« Aussi », « Nos autres secteurs »…) : des rangées pleines au lieu d'un escalier */
@media (max-width: 560px) {
  .sector__others, #types .sector__others { justify-content: flex-start; }
  .sector__others .btn { flex: 1 1 auto; justify-content: center; text-align: center; }
}
/* Tableaux des mentions et de la confidentialité : une fiche par ligne, sans colonnes coupées */
@media (max-width: 640px) {
  .legal__table { overflow: visible; border: 0; }
  .legal table { min-width: 0; }
  .legal thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal table, .legal tbody, .legal tr, .legal td { display: block; width: 100%; }
  .legal tr { border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 14px; margin-bottom: 12px; }
  .legal td { border: 0; padding: 8px 0; }
  .legal td + td { border-top: 1px solid var(--line); }
  .legal td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; font: 500 11px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
}
/* Carte foncée « L'architecte d'intérieur » : le petit titre restait marine sur marine */
.cs-card--dark .cs-card__role { color: var(--accent-2); }

/* ═════════ Showroom : infos pratiques + carte « Autour du showroom » ═════════ */
.sr-acces { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.sr-acces .showroom__info { margin: 0; }
@media (max-width: 860px) { .sr-acces { grid-template-columns: minmax(0, 1fr); align-items: start; } }

.nd { position: relative; display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); height: min(660px, 82vh); margin-top: clamp(36px, 5vw, 64px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); color: var(--ink); }
.nd:not(.is-granted) { min-height: 420px; }
.nd:not(.is-granted) > :not(.consent-ph) { visibility: hidden; }
.nd__panel, .nd__details { grid-column: 1; grid-row: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 22px 20px 24px; border-right: 1px solid var(--line); background: var(--bg); }
.nd__map { grid-column: 2; grid-row: 1; min-height: 0; background: var(--bg-2); }
.nd__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.nd.nd--details .nd__panel { display: none; }
.nd--fallback { grid-template-columns: minmax(0, 1fr); }
.nd--fallback .nd__panel, .nd--fallback .nd__details { display: none !important; }
.nd--fallback .nd__map { grid-column: 1; }

.nd__title { margin: 0 0 14px; font-family: var(--display); font-size: 26px; font-weight: 500; line-height: 1.1; }
.nd__input { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); font: 16px var(--sans); }
.nd__input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.nd__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.nd__chips button { min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font: 500 14px var(--sans); cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.nd__chips button:hover { border-color: var(--accent); }
.nd__chips button[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.nd__hint { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.nd__results { list-style: none; margin: 8px 0 0; padding: 0; }
.nd__item { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.nd__pick { flex: 1; min-width: 0; display: grid; gap: 3px; padding: 14px 0; border: 0; background: none; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.nd__pick:hover .nd__name { color: var(--accent); }
.nd__name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.nd__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; font-size: 13px; color: var(--ink-2); }
.nd__meta a { color: var(--accent); border-bottom: 1px solid var(--line); }
.nd__stars { display: inline-flex; align-items: center; gap: 1px; }
.nd svg { width: 16px; height: 16px; flex-shrink: 0; fill: currentColor; }
.nd__stars svg { width: 14px; height: 14px; fill: #b8913a; }
.nd__thumb { flex-shrink: 0; width: 64px; height: 64px; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); cursor: pointer; }
.nd__thumb img { width: 100%; height: 100%; object-fit: cover; }
.nd__more { margin-top: 14px; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font: 500 14px var(--sans); cursor: pointer; }

.nd__back { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; margin: -6px 0 10px -4px; padding: 0 8px; border: 0; background: none; color: var(--accent); font: 600 14px var(--sans); cursor: pointer; }
.nd__dname { margin: 0 0 8px; font-family: var(--display); font-size: 28px; font-weight: 500; line-height: 1.1; }
.nd__details > .nd__meta { margin-bottom: 6px; }
.nd__walk { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 10px 12px; border-radius: var(--radius); background: var(--bg-2); font-size: 14px; font-weight: 600; }
.nd__contact { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; font-size: 14px; line-height: 1.45; }
.nd__contact li { display: flex; gap: 10px; align-items: flex-start; }
.nd__contact svg { margin-top: 2px; color: var(--accent); }
.nd__contact a { color: var(--accent); border-bottom: 1px solid var(--line); word-break: break-word; }
.nd__hours { display: grid; gap: 2px; }
.nd__hours b { display: inline-block; min-width: 76px; font-weight: 600; }
.nd__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 18px; }
.nd__photos .nd__thumb { width: 100%; height: auto; aspect-ratio: 1; }
.nd__reviews { margin-top: 20px; }
.nd__review { padding: 14px 0; border-top: 1px solid var(--line); }
.nd__who { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-weight: 600; font-size: 14px; }
.nd__avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--bg-2); }
.nd__rtext { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.nd__attr { margin: 16px 0 0; font-size: 12px; color: var(--muted); }
.nd__attr a { color: inherit; text-decoration: underline; }

.nd__photo { position: absolute; inset: 0; z-index: 5; display: grid; grid-template-rows: minmax(0, 1fr) auto; background: rgba(20, 35, 63, 0.96); color: var(--on-dark); }
.nd__photo img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.nd__photo-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; font-size: 12px; }
.nd__photo-bar a { color: inherit; text-decoration: underline; }
.nd__photo-close { min-height: 40px; padding: 0 16px; border: 1px solid rgba(247, 244, 238, 0.4); border-radius: 999px; background: transparent; color: inherit; font: 600 14px var(--sans); cursor: pointer; }

@media (max-width: 860px) {
  .nd { grid-template-columns: minmax(0, 1fr); grid-template-rows: 56svh auto; height: auto; }
  .nd__map { grid-column: 1; grid-row: 1; }
  .nd__panel, .nd__details { grid-row: 2; border-right: 0; border-top: 1px solid var(--line); overflow: visible; padding: 18px 16px 22px; }
  .nd--fallback { grid-template-rows: 56svh; }
  .nd__photo { position: fixed; z-index: 400; }
}
.nd__pac { display: block; width: 100%; color-scheme: light; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }

/* ───────── Carrousel de chantiers (pages Rénovation) ───────── */
.pj-cards--rail { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.pj-cards--rail::-webkit-scrollbar { display: none; }
.pj-cards--rail .pj-card { scroll-snap-align: start; min-width: 0; }
.rail__ctrl { display: flex; align-items: center; gap: 10px; }
.rail__btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: none; color: inherit; font-size: 18px; cursor: pointer; transition: background 0.3s, color 0.3s, opacity 0.3s; }
.rail__btn:hover:not(:disabled) { background: var(--ink); color: var(--bg); }
.rail__btn:disabled { opacity: 0.35; cursor: default; }
.rail--static .rail__btn { display: none; }
@media (max-width: 900px) { .pj-cards--rail { grid-template-columns: none; grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 600px) {
  .pj-cards--rail { grid-template-columns: none; grid-auto-columns: 82%; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .rail__ctrl { flex-wrap: wrap; }
}

/* ───────── Bandeaux d'appel à l'action en milieu de page (src/data/ctas.js) ───────── */
.cta-inline { padding-block: clamp(28px, 4vw, 56px); }
.cta-band--inline { margin-top: 0; }
.cta-band__copy { display: grid; gap: 10px; flex: 1 1 420px; min-width: 0; }
.cta-band__text { margin: 0; max-width: 56ch; color: var(--muted); }
.cta-band--inline .cta-band__actions { flex: 0 1 auto; align-items: center; }
.cta-band--post { margin: 2.4em 0; padding: clamp(22px, 3vw, 32px); }
.cta-band--post .cta-band__title { font-size: clamp(22px, 2.2vw, 30px); }
@media (max-width: 600px) { .cta-band--inline .cta-band__actions, .cta-band--inline .cta-band__actions .btn { width: 100%; justify-content: center; } }
.post__body .cta-band p { margin: 0; }
.post__body .cta-band__title { color: var(--ink); line-height: 1.1; }

/* En-tête : « Nous appeler » (numéro sur grand écran, bouton rond ailleurs) */
.header__tel { flex: none; display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 0 2px; font: 600 14px var(--sans); letter-spacing: 0.02em; white-space: nowrap; color: var(--ink); transition: color 0.3s; }
.header__tel svg { width: 17px; height: 17px; fill: currentColor; flex: none; }
.header__tel:hover, .header__tel:focus-visible { color: var(--accent); }
.header.on-dark:not(.is-scrolled) .header__tel { color: var(--on-dark); }
.header.on-dark:not(.is-scrolled) .header__tel:hover { color: var(--accent-2); }
.header__tel + .header__cta { margin-left: 0; }
@media (max-width: 1599px) {
  .header__tel { justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; }
  .header.on-dark:not(.is-scrolled) .header__tel { border-color: rgba(247, 244, 238, 0.45); }
  .header__tel-l { display: none; }
}
@media (max-width: 1180px) {
  .header__tel { position: relative; z-index: 2; margin-left: 8px; }
  .header__urgent + .header__tel { margin-left: 8px; }
  .header__tel + .header__cta { margin-left: 8px; }
  .menu-open .header .header__tel, .menu-open .header.on-dark:not(.is-scrolled) .header__tel { color: var(--ink); border-color: var(--line); }
}
@media (max-width: 420px) {
  .header__tel { width: 34px; height: 34px; margin-left: 6px; }
  .header__tel svg { width: 15px; height: 15px; }
  .header__urgent + .header__tel, .header__tel + .header__cta { margin-left: 6px; }
}

/* Rénovation énergétique : encadré « Respect du DPE » */
.svc__dpe { margin-top: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(22px, 3vw, 36px); background: #fff; border-left: 3px solid var(--accent); }
.svc__dpe-k { margin: 0 0 8px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.svc__dpe-t { margin: 0 0 12px; font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; }
.svc__dpe-text p:not(.svc__dpe-k) { margin: 0 0 12px; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
.svc__dpe-text p:last-child { margin-bottom: 0; }
.dpe { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.dpe li { display: grid; grid-template-columns: minmax(0, 1fr) 104px; align-items: center; gap: 10px; }
.dpe b { width: var(--w); min-width: 44px; padding: 6px 12px; color: #fff; font: 700 16px var(--sans); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); }
.dpe span { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.dpe__a b { background: #009c6d; } .dpe__b b { background: #52b153; } .dpe__c b { background: #a5cc74; color: var(--ink); }
.dpe__d b { background: #f4e70f; color: var(--ink); } .dpe__e b { background: #f0b40f; color: var(--ink); } .dpe__f b { background: #eb8235; } .dpe__g b { background: #d7221f; }
@media (max-width: 760px) { .svc__dpe { grid-template-columns: minmax(0, 1fr); } }

/* En-tête ordinateur : tout tient sur une ligne (menu + téléphone + devis) */
@media (min-width: 1181px) and (max-width: 1599px) { .header__cta-l { display: none; } }
@media (min-width: 1181px) and (max-width: 1360px) {
  .header__inner { gap: 14px; }
  .nav { gap: 10px; font-size: 11px; letter-spacing: 0.04em; }
  .dd__btn { width: 16px; }
  .header__tel { width: 36px; height: 36px; }
  .header__cta { padding: 11px 13px; font-size: 11px; letter-spacing: 0.06em; }
}
@media (max-width: 1180px) {
  .header__inner { gap: 8px; }
  .header__tel { margin-left: auto; } /* le bouton Urgence de l'en-tête a été retiré : le téléphone part à droite */
  .header__tel + .header__cta { margin-left: 0; }
  .burger { flex: none; margin-left: 2px; }
}
@media (max-width: 420px) { .header__inner { gap: 6px; } }
@media (min-width: 1600px) { .header__inner { max-width: 1600px; } }

/* Réalisations : filtres + toutes les cartes photo (nom du client dessous) */
.realisations-grid .filters { margin: 0 0 clamp(28px, 4vw, 44px); }
.works__grid--all .works__t { margin-bottom: 2px; }
@media (max-width: 760px) {
  .realisations-grid .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .realisations-grid .filters::-webkit-scrollbar { display: none; }
  .realisations-grid .filter { flex: none; white-space: nowrap; }
}

/* Rénovation intérieure : partie « Rénovation d'appartement complète » */
.apart__text { max-width: 760px; margin: 0 0 clamp(32px, 4vw, 48px); }
.apart__text p { font-size: 16px; line-height: 1.85; color: var(--ink-2); }

/* Pages secteur : le chantier phare (à droite du texte) */
.phare { display: block; align-self: start; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: box-shadow 0.4s var(--ease); }
.phare:hover { box-shadow: 0 24px 50px -30px rgba(20, 35, 63, 0.45); }
.phare__img { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.phare__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.phare:hover .phare__img img { transform: scale(1.04); }
.phare__body { padding: 22px 24px 24px; }
.phare__k { margin: 0 0 8px; font: 600 11px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.phare__t { margin: 0 0 14px; font: 500 clamp(24px, 2.2vw, 30px) / 1.1 var(--display); color: var(--dark-2); }
.phare__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin: 0 0 18px; }
.phare__facts dt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.phare__facts dd { margin: 3px 0 0; font-size: 14.5px; line-height: 1.4; }
.phare__go { font: 600 12.5px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid var(--accent); }

/* Pages secteur : « Nos prestations » */
.prest__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); border-top: 1px solid var(--line); }
.prest__list li { border-bottom: 1px solid var(--line); }
.prest__list a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline; padding: 20px 4px; color: var(--ink); }
.prest__n { font: 600 12px var(--sans); letter-spacing: 0.1em; color: var(--accent); }
.prest__list strong { font: 500 18px var(--sans); color: var(--dark-2); transition: color 0.25s; }
.prest__list i { font-style: normal; color: var(--accent); transition: transform 0.3s var(--ease); }
.prest__list small { grid-column: 2 / 3; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.prest__list a:hover strong { color: var(--accent); }
.prest__list a:hover i { transform: translateX(4px); }
@media (max-width: 760px) { .prest__list { grid-template-columns: minmax(0, 1fr); } }

/* Page chantier : le texte, et les photos du chantier qui défilent à côté */
.pj-body__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.pj-show { position: sticky; top: 110px; min-width: 0; }
.pj-show__frame { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); }
.pj-show__slide { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: zoom-in; opacity: 0; transition: opacity 0.9s var(--ease); }
.pj-show__slide.is-on { opacity: 1; z-index: 1; }
.pj-show__slide img { width: 100%; height: 100%; object-fit: cover; }
.pj-show__bar { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.pj-show__count { flex: none; font: 500 13px var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pj-show__count b { color: var(--dark-2); font-weight: 600; }
.pj-show__dots { flex: 1; min-width: 0; display: flex; gap: 6px; overflow: hidden; }
.pj-show__dots i { flex: 0 1 22px; min-width: 6px; height: 3px; background: var(--line); transition: background 0.3s; }
.pj-show__dots i.is-on { background: var(--accent); }
.pj-show__arrows { flex: none; display: flex; gap: 8px; }
.pj-show__arrows button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); font-size: 16px; cursor: pointer; transition: background 0.25s, color 0.25s; }
.pj-show__arrows button:hover { background: var(--dark); color: var(--on-dark); }
.pj-show__credit { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
.pj-works-line { margin: 4px 0 18px; font-size: 15.5px; line-height: 1.7; color: var(--ink-2); }
.pj-works-line strong { color: var(--dark-2); font-weight: 600; }
.pj-body__grid.is-noshow { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 900px) {
  .pj-body__grid { grid-template-columns: minmax(0, 1fr); }
  .pj-show { position: static; order: -1; }
}

/* Réalisations : photos qui défilent dans les cartes */
.works__img .works__alt { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease), transform 1.4s var(--ease); }
.works__img .works__alt.is-on { opacity: 1; }
.works__img::after { z-index: 1; }
.works__count { position: absolute; z-index: 2; top: 10px; right: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(20, 35, 63, 0.65); color: #fff; font: 600 11px var(--sans); font-variant-numeric: tabular-nums; }

/* Haut de page qui fait défiler des photos */
.page-hero__photo .page-hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s var(--ease); }
.page-hero__photo .page-hero__slide.is-on { opacity: 1; }
.page-hero__dots { position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 8px; pointer-events: none; }
.page-hero__dots i { width: 28px; height: 3px; background: rgba(255, 255, 255, 0.4); transition: background 0.4s; }
.page-hero__dots i.is-on { background: #fff; }

/* Pages secteur : les chantiers juste sous le haut de page (fond clair) */
.sector-chantiers .pj-card { color: var(--ink); }

/* Rénovation intérieure : partie appartement plus serrée */
.apart .section__head { margin-bottom: 18px; }
.apart__text { margin-bottom: clamp(24px, 3vw, 36px); }
.apart__text p { margin: 0 0 10px; font-size: 16.5px; }

/* Pages secteur : le chantier phare devient un carrousel (photo et textes changent ensemble) */
.phare { padding: 0; }
.phare:hover { box-shadow: none; }
.phare__stack { display: grid; }
.phare__slide { grid-area: 1 / 1; display: block; color: var(--ink); background: #fff; opacity: 0; visibility: hidden; transition: opacity 0.8s var(--ease), visibility 0s linear 0.8s; }
.phare__slide.is-on { opacity: 1; visibility: visible; transition: opacity 0.8s var(--ease), visibility 0s; }
.phare__slide:hover .phare__img img { transform: scale(1.04); }
.phare__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 24px 16px; background: #fff; border-top: 1px solid var(--line); }
.phare__dots { display: flex; gap: 6px; }
.phare__dots i { width: 22px; height: 3px; background: var(--line); transition: background 0.3s; }
.phare__dots i.is-on { background: var(--accent); }
.phare__arrows { display: flex; gap: 8px; }
.phare__arrows button { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: background 0.25s, color 0.25s; }
.phare__arrows button:hover { background: var(--dark); color: var(--on-dark); }
.pj-hero__media .page-hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s var(--ease); }
.pj-hero__media .page-hero__slide.is-on { opacity: 1; }
.pj-hero { position: relative; }
.pj-hero .page-hero__dots { z-index: 3; }

/* Vidéos des chantiers (scripts/videos, assets/js/videos.js) : posées sur la photo, elles apparaissent en fondu quand elles jouent */
.pj-hero__video, .pj-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); pointer-events: none; }
.pj-hero__video.is-on, .pj-video.is-on { opacity: 1; }
.pj-card__media, .phare__img { position: relative; }
.pj-card:hover .pj-video, .works__card:hover .works__img .pj-video { transform: scale(1.05); }
.phare__slide:hover .phare__img .pj-video { transform: scale(1.04); }
.pj-hero:has(.pj-hero__video.is-on) .page-hero__dots { opacity: 0; transition: opacity 0.6s var(--ease); }

/* ───── Formulaire de devis (Contact : particulier / professionnel) et demande d'intervention (Urgence) ───── */
.contact__grid:has(.cform) { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(40px, 6vw, 96px); }
.contact__grid:has(.cform) > div:first-child { position: sticky; top: 120px; }
.contact__steps { list-style: none; margin: 40px 0 0; padding: 26px 0 0; display: grid; gap: 14px; border-top: 1px solid var(--line); }
.contact__steps li { display: flex; align-items: center; gap: 14px; font-size: 14.5px; color: var(--ink); }
.contact__steps b { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--dark-2); font-weight: 500; font-size: 13px; color: var(--dark-2); }

.cform { background: #fff; box-shadow: 0 30px 60px -40px rgba(20, 35, 63, 0.35); padding: clamp(20px, 3.2vw, 44px); }
.cform__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: clamp(24px, 3vw, 36px); }
html:not(.js) .cform__tabs { display: none; }
.js .cform__form.is-off { display: none; }
.cform__tab { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 3px; align-items: center; text-align: left; padding: 16px 18px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.cform__tab:hover { border-color: var(--dark-2); }
.cform__tab svg { grid-row: span 2; width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.cform__tab b { font-weight: 500; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.3; }
.cform__tab small { font-size: 13px; line-height: 1.35; color: var(--muted); }
.cform__tab.is-on { background: var(--dark-2); border-color: var(--dark-2); color: var(--bg); }
.cform__tab.is-on small { color: rgba(247, 244, 238, 0.7); }
.cform__tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

body:not([data-page="accueil"]) .contact .cform .form { background: none; box-shadow: none; border: 0; padding: 0; }
.cform .form { gap: 26px; grid-template-columns: minmax(0, 1fr); }
:is(.cform, .uform) .form__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
:is(.cform, .uform) .field :is(input, select, textarea) { width: 100%; min-width: 0; }
.cform__block { display: grid; gap: 24px; min-width: 0; }
.cform__block + .cform__block { margin-top: 14px; }
.cform__h { display: flex; align-items: center; gap: 14px; margin: 0; font: 500 14px var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--dark-2); }
.cform__h::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cform__h span { font-weight: 600; font-size: 13px; letter-spacing: 0.04em; color: var(--sand-ink); }
:is(.cform, .uform) :is(.field span em, .chips legend em, .cform__req em) { font-style: normal; color: #b5482a; }
:is(.cform, .uform) .chips legend { color: var(--muted); }
:is(.cform, .uform) .chips legend small { margin-left: 6px; font-size: 11px; letter-spacing: 0.04em; text-transform: none; color: var(--muted); }
:is(.cform, .uform) .chips span { font-size: 13.5px; padding: 8px 15px; border-color: var(--line); color: var(--ink); }
:is(.cform, .uform) .chips label:hover span { border-color: var(--dark-2); }
:is(.cform, .uform) .chips input:checked + span { background: var(--dark-2); border-color: var(--dark-2); color: var(--bg); }
.chips__sub { flex-basis: 100%; margin: 6px 0 0; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sand-ink); }
.chips__sub:first-of-type { margin-top: 0; }
.chips--multi span::before { content: "+"; display: inline-block; width: 12px; margin-right: 5px; text-align: center; opacity: 0.55; }
.chips--multi input:checked + span::before { content: "✓"; opacity: 1; }
:is(.cform, .uform) .field input::placeholder { color: var(--muted); opacity: 0.75; }
:is(.cform, .uform) .field select { font: inherit; font-size: max(16px, 1em); color: var(--ink); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2316213a' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 2px center / 11px 8px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 26px 10px 0; appearance: none; -webkit-appearance: none; outline: none; cursor: pointer; }
:is(.cform, .uform) .field select:focus { border-color: var(--accent); }
:is(.cform, .uform) .field select:has(option[value=""]:checked) { color: var(--muted); }
.cform__file { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: center; padding: 18px 20px; border: 1px dashed rgba(22, 33, 58, 0.3); background: var(--bg); cursor: pointer; transition: border-color 0.3s, background 0.3s; }
.cform__file:hover, .cform__file:focus-within { border-color: var(--accent); }
.cform__file.is-filled { border-style: solid; border-color: var(--dark-2); background: #fff; }
.cform__file input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.cform__file svg { grid-row: span 2; width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.cform__file b { font-weight: 500; font-size: 15px; color: var(--ink); }
.cform__file small { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.cform__end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
:is(.cform, .uform) .cform__end .btn { margin: 0; }
.cform__req { margin: 0; font-size: 13px; color: var(--muted); }
.cform__after { margin: 0; padding: 14px 18px; font-size: 14px; line-height: 1.5; color: var(--ink-2); background: var(--bg); border-left: 2px solid var(--accent-2); }
:is(.cform, .uform) .consent { color: var(--ink-2); }
:is(.cform, .uform) .consent.is-invalid, :is(.cform, .uform) :is(.field, .chips).is-invalid > :is(span, legend) { color: #b5482a; }
:is(.cform, .uform) .chips.is-invalid span, .uform__demandes.is-invalid .uform__tile { border-color: #e07a5f; }
:is(.cform, .uform) .field.is-invalid :is(input, select, textarea) { border-color: #e07a5f; }
@media (max-width: 860px) { .contact__grid:has(.cform) { grid-template-columns: minmax(0, 1fr); } .contact__grid:has(.cform) > div:first-child { position: static; } }
@media (max-width: 560px) {
  .cform { padding: 22px 16px 26px; }
  .cform__tabs { gap: 8px; }
  .cform__tab { grid-template-columns: minmax(0, 1fr); padding: 14px 12px; row-gap: 6px; }
  .cform__tab svg { grid-row: auto; width: 26px; height: 26px; }
  .cform__tab b { font-size: 11.5px; letter-spacing: 0.1em; }
  .cform__tab small { font-size: 12px; }
  :is(.cform, .uform) .form__row { grid-template-columns: minmax(0, 1fr); }
  :is(.cform, .uform) .form__row--duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
}

/* demande d'intervention */
.uform__wrap { align-items: start; }
.uform__intro { position: sticky; top: 120px; }
.uform-sec .funnel__kicker { display: flex; align-items: center; gap: 10px; }
.uform__call { display: grid; gap: 6px; margin: 4px 0 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 600 clamp(28px, 3vw, 38px)/1 var(--sans); letter-spacing: -0.03em; color: var(--dark-2); transition: color 0.3s; }
.uform__call small { font: 500 11.5px var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.uform__call i { display: inline-block; font-style: normal; color: var(--accent); transition: transform 0.3s var(--ease); }
.uform__call:hover i { transform: translateX(6px); }
:is(.cform, .uform) .form__alt { color: var(--muted); }
.uform__hours, .uform__danger { margin: 16px 0 0; font-size: 14px; line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
.uform__hours a, .uform__danger a { color: var(--dark-2); font-weight: 600; border-bottom: 1px solid var(--accent); }
.uform__danger { margin-top: 8px; font-size: 13px; color: var(--muted); }
.funnel .quiz__card.uform { display: grid; gap: 26px; min-height: 0; align-content: start; }
.uform .form__row { gap: 22px; }
.uform__metiers { border: 0; margin: 0 0 -6px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--dark-2); }
.uform__metiers label { position: relative; }
.uform__metiers input { position: absolute; opacity: 0; }
.uform__metiers span { display: block; padding: 13px 8px; text-align: center; font-size: 12.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dark-2); cursor: pointer; transition: background 0.3s, color 0.3s; }
.uform__metiers label + label span { border-left: 1px solid var(--dark-2); }
.uform__metiers input:checked + span { background: var(--dark-2); color: var(--bg); }
.uform__metiers input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -4px; }
.uform__demandes { border: 0; margin: 0; padding: 0; min-width: 0; }
.uform__demandes[hidden] { display: none; }
.uform__rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.uform__tile { position: relative; display: grid; align-content: start; gap: 4px; padding: 16px 44px 16px 18px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; transition: background 0.3s, border-color 0.3s, color 0.3s; }
.uform__tile:hover { border-color: var(--dark-2); background: #fff; }
.uform__tile input { position: absolute; opacity: 0; pointer-events: none; }
.uform__tile b { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; color: var(--sand-ink); }
.uform__tile strong { font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.15; color: var(--dark-2); }
.uform__tile small { font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.uform__tile::after { content: ""; position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(22, 33, 58, 0.25); transition: all 0.3s; }
.uform__tile:has(input:checked) { background: var(--dark-2); border-color: var(--dark-2); }
.uform__tile:has(input:checked) :is(strong, small) { color: var(--bg); }
.uform__tile:has(input:checked) small { color: rgba(247, 244, 238, 0.72); }
.uform__tile:has(input:checked) b { color: var(--accent-2); }
.uform__tile:has(input:checked)::after { content: "✓"; display: grid; place-items: center; font-size: 12px; color: var(--dark-2); background: var(--accent-2); border-color: var(--accent-2); }
.uform__tile:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.uform__swipe { display: none; }
.uform__recap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 14px 18px 16px; background: var(--bg); border-left: 2px solid var(--accent-2); font-size: 13.5px; color: var(--dark-2); }
.uform__recap[hidden] { display: none; }
.uform__recap b { flex-basis: 100%; margin-bottom: 2px; font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.uform__recap span { padding: 5px 11px; background: #fff; border: 1px solid var(--line); line-height: 1.3; }
.uform__recap span:nth-of-type(2) { font-weight: 600; background: var(--dark-2); border-color: var(--dark-2); color: var(--bg); }
@media (max-width: 900px) { .uform__intro { position: static; } }
@media (max-width: 640px) {
  .uform__rail { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 24px; margin: 0 -24px; padding: 2px 24px 4px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .uform__rail::-webkit-scrollbar { display: none; }
  .uform__tile { flex: 0 0 72%; scroll-snap-align: start; min-height: 148px; }
  .uform__swipe { display: flex; justify-content: space-between; align-items: center; margin: 12px 0 0; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
  .uform__swipe span { font-weight: 600; letter-spacing: 0.08em; color: var(--dark-2); }
  .uform__swipe em { font-style: normal; }
  .uform__swipe i { display: inline-block; margin-left: 8px; font-style: normal; color: var(--accent); animation: uSwipe 1.6s var(--ease) infinite; }
  .uform__metiers span { padding: 12px 4px; font-size: 11px; letter-spacing: 0.08em; }
}
@keyframes uSwipe { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .uform__swipe i { animation: none; } }

/* ───────── Appels à l'action · premier pas (« Quel lieu voulez-vous transformer ? » en haut de page) ───────── */
.hq { margin-top: clamp(20px, 2.4vw, 30px); }
.hq__q { margin: 0 0 10px; font: 500 12px var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); }
.hq__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.hq__opt { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 2px; background: rgba(20, 35, 63, 0.28); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); color: #fff; font: 500 14px var(--sans); transition: background 0.25s, color 0.25s, border-color 0.25s; }
.hq__opt:hover, .hq__opt:focus-visible { background: var(--on-dark); border-color: var(--on-dark); color: var(--dark); }
.cs-hero:not(.page-hero--photo) .hq__q { color: var(--ink-2); }
.cs-hero:not(.page-hero--photo) .hq__opt { color: var(--ink); border-color: var(--line); background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.cs-hero:not(.page-hero--photo) .hq__opt:hover, .cs-hero:not(.page-hero--photo) .hq__opt:focus-visible { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
/* accueil : la question sous la phrase d'accroche, au-dessus des points du diaporama */
.hero__first { position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: clamp(104px, 13vh, 132px); pointer-events: none; }
.hero__first > * { pointer-events: auto; }
.hero__first .hero__claim { position: static; }
@media (max-width: 960px) { .hero__first { bottom: 104px; } .hq__opt { min-height: 36px; padding: 0 12px; font-size: 13px; } }

/* après la galerie d'un chantier */
.pj-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: clamp(28px, 3.4vw, 44px); padding: clamp(20px, 2.4vw, 28px) clamp(20px, 2.6vw, 34px); border: 1px solid var(--line); background: var(--bg); }
.pj-next__t { margin: 0; font-family: var(--display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; color: var(--dark); }
.pj-next__t em { color: var(--accent); }

/* à côté du questionnaire : quelques clients */
.funnel__trust { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.funnel__trust-t { margin: 0 0 14px; font: 500 11px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.funnel__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin: 0; padding: 0; list-style: none; }
.funnel__logos img { display: block; max-height: 26px; max-width: 110px; width: auto; filter: grayscale(1); opacity: 0.62; }

/* ───────── Rappel et guide (encart, assets/js/cta.js) ───────── */
.fab__rappel { background: var(--on-dark); color: var(--dark); border: 1px solid var(--line); }
.fab__rappel:hover { background: #fff; }
@media (max-width: 760px) {
  .fab { left: 12px; right: 12px; gap: 6px; }
  .fab a { flex: 1; height: 48px; padding: 0 10px; font-size: 13.5px; }
  .fab__tel { flex: none; width: 48px; }
  .fab__devis { flex: 1.25; }
}
.nudge { position: fixed; z-index: 120; right: 24px; bottom: 96px; width: min(380px, calc(100vw - 32px)); opacity: 0; transform: translateY(16px); transition: opacity 0.35s var(--ease), transform 0.45s var(--ease); }
.nudge.is-on { opacity: 1; transform: none; }
.nudge__card { position: relative; padding: 24px 24px 20px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(20, 35, 63, 0.45); }
.nudge__x { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border: 0; background: none; color: var(--ink-2); font-size: 15px; cursor: pointer; }
.nudge__x:hover { color: var(--dark); }
.nudge__f { display: grid; gap: 12px; }
.nudge__k { margin: 0; font: 500 11px var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--sand-ink, #9a8257); }
.nudge__t { margin: 0 24px 4px 0; font-family: var(--display); font-size: 25px; line-height: 1.12; color: var(--dark); }
.nudge__t em { color: var(--accent); }
.nudge__p { margin: 0; font-size: 14px; color: var(--ink-2); }
.nudge__field { display: grid; gap: 4px; font-size: 13px; color: var(--ink-2); }
.nudge__field input { height: 44px; padding: 0 12px; border: 1px solid var(--line); background: #fff; font: 400 15px var(--sans); color: var(--ink); }
.nudge__field input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.nudge__field.is-invalid input { border-color: #c0392b; }
.nudge__slots { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; border: 0; }
.nudge__slots legend { width: 100%; margin-bottom: 6px; font-size: 13px; color: var(--ink-2); }
.nudge__slots label { cursor: pointer; }
.nudge__slots input { position: absolute; opacity: 0; }
.nudge__slots span { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border: 1px solid var(--line); font-size: 13px; color: var(--ink); }
.nudge__slots input:checked + span { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.nudge__slots input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.nudge .consent { color: var(--ink-2); font-size: 12px; }
.nudge .consent a { color: var(--dark); }
.nudge .consent.is-invalid { color: #c0392b; }
.nudge .btn { justify-content: center; }
.nudge__note { margin: 10px 0 0; font-size: 13.5px; color: var(--ink); }
.nudge__note:empty { display: none; }
.nudge__note a { color: var(--accent); border-bottom: 1px solid currentColor; }
@media (max-width: 760px) { .nudge { right: 16px; left: 16px; width: auto; bottom: calc(76px + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: reduce) { .nudge { transition: none; } }

/* ───────── Logos clients sous le haut de page (accueil, pages pros) : une seule ligne compacte ───────── */
.logos.logos--top { flex-direction: row; align-items: center; gap: clamp(16px, 2.4vw, 32px); padding: clamp(16px, 2vw, 22px) 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.logos--top .logos__head { flex: none; padding: 0; gap: 14px; }
.logos--top .logos__head .logos__mark { height: 46px; width: clamp(20px, 2vw, 32px); }
.logos--top .logos__t { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); line-height: 1.5; white-space: normal; max-width: 12ch; }
.logos--top .logos__line { display: none; }
.logos--top .logos__item { height: 52px; }
.logos--top .logos__item img, .logos--top .logos__item:hover img { height: 30px; max-width: 140px; }
.logos--top .logos__item--hotel-bienvenue img { height: 46px; }
.logos--top .logos__item--petite-mendigote img { height: 42px; max-width: 120px; }
.logos--top .logos__item--mojo-kitchen img, .logos--top .logos__item--mojo-kitchen:hover img { height: 48px; }
.logos--top .logos__item--text span, .logos--top .logos__item--text:nth-child(n) span { font-size: 21px; }
/* accueil, ordinateur : la photo laisse dépasser le bandeau dès le premier écran */
@media (min-width: 961px) { body[data-page="accueil"] .hero--full { min-height: calc(100svh - 92px); } }
@media (max-width: 760px) {
  .logos.logos--top { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 0 10px; }
  .logos--top .logos__head { padding: 0 16px; }
  .logos--top .logos__head .logos__mark { display: none; }
  .logos--top .logos__t { max-width: none; font-size: 11px; }
}

/* ═════════ Pages métiers et zones d'intervention (2026-10) ═════════ */
.seo-duo { background: var(--bg-2); }
.seo-duo__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 80px); }
.seo-duo__grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.seo-duo__grid .eyebrow { margin: 0; }
.seo-duo__grid p { margin: 0; color: var(--ink-2); max-width: 56ch; }
.seo-duo__grid .btn { margin-top: auto; }
.h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; letter-spacing: -0.01em; color: var(--dark-2); }
.seo-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.seo-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 500 14px/1.2 var(--sans); color: var(--dark-2); transition: border-color 0.25s, background 0.25s, color 0.25s; }
.seo-links a:hover, .seo-links a:focus-visible { border-color: var(--accent); background: var(--accent); color: var(--on-dark); }
.seo-more { margin: 26px 0 0; color: var(--ink-2); }
.seo-more a { color: var(--accent); border-bottom: 1px solid currentColor; }
.svc__t a { color: inherit; }
.svc__t a:hover { color: var(--accent); }
.seo-group { margin: clamp(32px, 4vw, 48px) 0 16px; font: 600 12px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .seo-duo__grid { grid-template-columns: minmax(0, 1fr); } }

/* pied de page : métiers et zones */
.footer__seo { display: grid; gap: 14px; padding: 24px 0; border-top: 1px solid rgba(247, 244, 238, 0.14); font-size: 13px; line-height: 1.7; }
.footer__seo nav { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 14px; row-gap: 2px; }
.footer__seo .footer__h { margin: 0 6px 0 0; }
.footer .footer__seo a:not(.footer__h) { color: rgba(247, 244, 238, 0.6); }
.footer .footer__seo a:hover { color: #fff; }
/* une seule phrase sobre vers les zones d'intervention (pas de liste d'arrondissements sur les pages) */
.section.seo-zones:has(.seo-zones__line) { padding-block: clamp(36px, 5vw, 64px); }
.seo-zones__line { display: grid; gap: 10px; }
.seo-zones__line p { margin: 0; color: var(--ink-2); }
.seo-zones__line p:first-child { font: 400 clamp(22px, 2vw, 28px)/1.3 var(--display); color: var(--dark-2); }
.seo-zones__line p:first-child a { margin-left: 6px; font: 600 12px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid currentColor; white-space: nowrap; }
.seo-zones__line p:first-child a::after { content: " →"; }

/* ═════════ Fiche chantier : les plans de l'architecte (2026-10) ═════════ */
.pj-plans-sec { background: var(--bg); }
.pj-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.pj-plan { margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pj-plan__btn { display: block; width: 100%; padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: zoom-in; transition: border-color 0.25s, box-shadow 0.25s; }
.pj-plan__btn:hover, .pj-plan__btn:focus-visible { border-color: var(--accent); box-shadow: 0 10px 30px rgba(20, 35, 63, 0.08); }
.pj-plan__btn img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.pj-plan figcaption { font: 500 13px/1.4 var(--sans); letter-spacing: 0.04em; color: var(--ink-2); }
.lb.lb--plan img { background: #fff; padding: 12px; }
.lb img { max-height: calc(100vh - 120px); max-height: calc(100svh - 120px); width: auto; } /* l'image tient toujours dans l'écran (plans et photos en hauteur) */

/* ═════════ Fiche chantier : maquette 3D construite à partir des plans (assets/js/maquette.js) ═════════ */
.mq-sec { background: var(--bg-2); }
.mq__stage { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #ece6da; box-shadow: 0 30px 70px -30px rgba(20, 35, 63, 0.35); }
.mq__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mq__caption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 60px clamp(16px, 3vw, 32px) clamp(14px, 2.4vw, 26px); font: 400 15px/1.5 var(--sans); color: #fff; background: linear-gradient(to top, rgba(14, 22, 40, 0.72), rgba(14, 22, 40, 0)); pointer-events: none; }
.mq__caption b { display: block; margin-bottom: 2px; font: 500 clamp(22px, 2.4vw, 30px)/1.15 var(--display); letter-spacing: 0.01em; }
.mq__replay { position: absolute; top: 16px; right: 16px; padding: 10px 16px; border: 0; border-radius: 40px; background: rgba(255, 255, 255, 0.92); color: var(--ink); font: 500 13px var(--sans); letter-spacing: 0.04em; cursor: pointer; }
.mq__steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; } /* toutes les étapes de l'animation restent visibles, sur plusieurs lignes au besoin */
.mq__step { flex: none; display: inline-flex; align-items: baseline; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 40px; background: transparent; color: var(--ink-2); font: 500 13px var(--sans); letter-spacing: 0.03em; cursor: pointer; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.mq__step span { font-size: 11px; color: var(--muted); }
.mq__step.is-on { background: var(--dark); border-color: var(--dark); color: #fff; }
.mq__step.is-on span { color: var(--accent-2); }
@media (max-width: 700px) {
  .mq__stage { aspect-ratio: 4 / 5; }
  .mq__caption { font-size: 13px; }
}

/* ═════════ Conception sur mesure : « Architecture intérieure », les maquettes 3D de plusieurs chantiers (2026-11) ═════════ */
.ai-sec .section__head > div { min-width: 0; max-width: 100%; }
.ai-sec .h2 { font-size: clamp(30px, 5vw, 76px); overflow-wrap: anywhere; }
.ai-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.ai-tab { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-content: start; text-align: left; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--ink); cursor: pointer; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.ai-tab:hover { border-color: var(--ink-2); }
.ai-tab__n { grid-row: span 2; font: 500 11px/1.9 var(--sans); color: var(--muted); }
.ai-tab__t { font: 500 clamp(17px, 1.4vw, 20px)/1.2 var(--display); }
.ai-tab__m { margin-top: 4px; font: 400 12px/1.4 var(--sans); letter-spacing: 0.03em; color: var(--muted); }
.ai-tab[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: #fff; }
.ai-tab[aria-pressed="true"] .ai-tab__n { color: var(--accent-2); }
.ai-tab[aria-pressed="true"] .ai-tab__m { color: rgba(255, 255, 255, 0.65); }
.ai-panel { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: clamp(28px, 4vw, 48px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line); }
.ai-panel[hidden] { display: none; }
.ai-panel__text { display: grid; gap: 12px; justify-items: start; }
.ai-panel__text p { margin: 0; color: var(--ink-2); }
.ai-panel__k { font: 500 12px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted) !important; }
.ai-panel__t { margin: 0; font: 500 clamp(22px, 2vw, 28px)/1.15 var(--display); }
.ai-panel__layers { font-size: 14px; }
.ai-panel__text { position: sticky; top: 110px; }
.ai-plans__head { margin: 0 0 14px; font: 400 13px/1.4 var(--sans); letter-spacing: 0.04em; color: var(--muted); }
.ai-plans__head b { font-weight: 500; color: var(--ink); }
.ai-plans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 18px 14px; }
.ai-plan { display: flex; flex-direction: column; gap: 8px; width: 100%; height: 100%; padding: 0; border: 0; background: none; text-align: left; color: var(--ink-2); font: 400 13px/1.35 var(--sans); cursor: zoom-in; }
.ai-plan img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 6px; transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s; }
.ai-plan:hover img, .ai-plan:focus-visible img { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 16px 30px -18px rgba(20, 35, 63, 0.4); }
.ai-plan span { display: flex; gap: 8px; align-items: baseline; }
.ai-plan i { font-style: normal; font-size: 11px; color: var(--muted); }
@media (max-width: 960px) {
  .ai-tabs { display: flex; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; margin-inline: -16px; padding-inline: 16px; }
  .ai-tabs::-webkit-scrollbar { display: none; }
  .ai-tab { flex: none; width: min(64vw, 240px); scroll-snap-align: start; }
  .ai-panel { grid-template-columns: 1fr; }
  .ai-panel__text { position: static; }
}
@media (max-width: 560px) {
  .ai-plans { grid-template-columns: 1fr 1fr; gap: 14px 10px; }
}

/* Urgences : photos d'interventions (src/data/urgences.js → photos) */
.urg-photos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.urg-photos figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.urg-photos img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); background: var(--line); }
.urg-photos figcaption { color: var(--ink-2); font-size: 13px; line-height: 1.4; }
@media (max-width: 900px) { .urg-photos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .urg-photos { gap: 12px; } .urg-photos figcaption { font-size: 12px; } }

/* ═════════ Conception sur mesure : « Notre architecte » (Valeria Migliaccio) ═════════ */
.cs-card__more { display: inline-flex; gap: 8px; margin-top: 22px; font: 500 13px var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.cs-archi { background: var(--bg); }
.cs-archi .section__head > div { min-width: 0; max-width: 100%; }
.cs-archi .h2 { font-size: clamp(30px, 5vw, 76px); overflow-wrap: anywhere; }
.cs-archi__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.cs-archi__quote { position: relative; margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: clamp(32px, 5vw, 72px); border-radius: calc(var(--radius) + 4px); background: var(--dark); color: var(--on-dark); overflow: hidden; }
.cs-archi__quote::before { content: "«"; position: absolute; top: -0.18em; right: 0.08em; font: 400 clamp(180px, 22vw, 320px)/1 var(--display); color: rgba(200, 180, 143, 0.16); pointer-events: none; }
.cs-archi__quote blockquote { margin: 0; position: relative; }
.cs-archi__quote blockquote p { margin: 0; font: 500 clamp(30px, 3.6vw, 54px)/1.08 var(--display); letter-spacing: -0.01em; color: var(--on-dark) !important; }
.cs-archi__quote blockquote em { font-weight: 400; color: var(--accent-2); }
.cs-archi__quote figcaption { position: relative; display: grid; gap: 4px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.cs-archi__quote figcaption strong { font: 500 clamp(22px, 2vw, 28px)/1.1 var(--display); color: #fff; }
.cs-archi__quote figcaption span { font: 400 13px/1.5 var(--sans); letter-spacing: 0.03em; color: rgba(247, 244, 238, 0.7) !important; }
.cs-archi__facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cs-archi__facts > div { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: clamp(20px, 2.4vw, 32px); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: var(--bg-2); }
.cs-archi__facts dt { font: 500 clamp(44px, 5vw, 76px)/0.9 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.cs-archi__facts dt small { font-size: 0.4em; letter-spacing: 0; color: var(--accent); }
.cs-archi__facts dd { margin: 0; font: 400 14px/1.45 var(--sans); color: var(--ink-2); }
.cs-archi__sub { margin: clamp(56px, 7vw, 96px) 0 clamp(22px, 3vw, 36px); font: 500 clamp(26px, 3vw, 42px)/1.1 var(--display); letter-spacing: -0.005em; }
.cs-archi__sub em { font-weight: 400; color: var(--accent); }
.cs-archi__path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: p; }
.cs-archi__path li { position: relative; padding-top: 30px; border-top: 1px solid var(--ink); }
.cs-archi__path li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink); }
.cs-archi__path li:last-child::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px rgba(35, 62, 107, 0.15); }
.cs-archi__where { display: block; margin-bottom: 10px; font: 600 11px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.cs-archi__path h4, .cs-archi__vows h4 { margin: 0 0 8px; font: 500 clamp(21px, 1.8vw, 26px)/1.15 var(--display); }
.cs-archi__path p, .cs-archi__vows p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.cs-archi__vows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.cs-archi__vows li { padding: 28px clamp(16px, 2vw, 28px) 28px 0; border-bottom: 1px solid var(--line); }
.cs-archi__vows li + li { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.cs-archi__vows span { display: block; margin-bottom: 22px; font: 600 12px var(--sans); color: var(--accent); }
.cs-archi__end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin: clamp(40px, 5vw, 64px) 0 0; font: 500 clamp(26px, 3vw, 40px)/1.1 var(--display); }
.cs-archi__end em { font-weight: 400; color: var(--accent); }
@media (max-width: 960px) {
  .cs-archi__grid { grid-template-columns: 1fr; }
  .cs-archi__path { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .cs-archi__vows { grid-template-columns: 1fr 1fr; }
  .cs-archi__vows li:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .cs-archi__facts { gap: 12px; }
  .cs-archi__path { grid-template-columns: 1fr; padding-left: 6px; }
  .cs-archi__vows { grid-template-columns: 1fr; }
  .cs-archi__vows li, .cs-archi__vows li + li { padding: 22px 0; border-left: 0; }
}

/* Rénovation intérieure · partie énergétique : photos de chantier (services.js → energy.chantier) */
.svc__chantier { margin-top: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding: clamp(22px, 3vw, 36px); background: #fff; border-left: 3px solid var(--accent); }
.svc__chantier-text p:not(.svc__dpe-k) { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
.svc__chantier-photos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc__chantier-photos figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.svc__chantier-photos img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); background: var(--line); }
.svc__chantier-photos figcaption { font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.svc__chantier-photos figcaption span { display: block; margin-bottom: 4px; font: 600 11px var(--sans); color: var(--accent); }
@media (max-width: 960px) { .svc__chantier { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .svc__chantier-photos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -4px; }
  .svc__chantier-photos::-webkit-scrollbar { display: none; }
  .svc__chantier-photos li { flex: none; width: 72%; scroll-snap-align: start; }
}

/* ═════════ Architecture intérieure : « Votre architecte » (Valeria Migliaccio), en tête de la section (build.js → ARCHI_PORTRAIT) ═════════ */
.ai-archi { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); margin: 0 0 clamp(40px, 5vw, 64px); border-radius: calc(var(--radius) + 4px); background: var(--dark); color: var(--on-dark); overflow: hidden; }
.ai-archi::before { content: "«"; position: absolute; top: -0.2em; right: 0.06em; font: 400 clamp(200px, 24vw, 360px)/1 var(--display); color: rgba(200, 180, 143, 0.12); pointer-events: none; }
.ai-archi__id { position: relative; display: flex; flex-direction: column; gap: 18px; padding: clamp(28px, 4.5vw, 64px); border-right: 1px solid rgba(255, 255, 255, 0.12); background: linear-gradient(160deg, var(--dark-2), var(--dark)); }
.ai-archi__k { margin: 0; font: 600 11px var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-2); }
.ai-archi__name { margin: 0; font: 500 clamp(44px, 5.6vw, 84px)/0.95 var(--display); letter-spacing: -0.015em; color: #fff; }
.ai-archi__name em { display: block; font-weight: 400; color: var(--accent-2); }
.ai-archi__role { margin: 0; font: 400 13.5px/1.5 var(--sans); letter-spacing: 0.02em; color: rgba(247, 244, 238, 0.72) !important; }
.ai-archi__facts { margin: auto 0 0; padding-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.ai-archi__facts dt { font: 500 clamp(30px, 3vw, 44px)/1 var(--display); color: #fff; }
.ai-archi__facts dt small { font-size: 0.45em; color: var(--accent-2); }
.ai-archi__facts dd { margin: 6px 0 0; font: 400 12.5px/1.4 var(--sans); color: rgba(247, 244, 238, 0.7); }
.ai-archi__path { margin: 0; font: 500 11px/1.8 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(247, 244, 238, 0.6) !important; }
.ai-archi__path i { font-style: normal; color: var(--accent-2); padding: 0 4px; }
.ai-archi__word { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 4.5vw, 64px); }
.ai-archi__word p { margin: 0; font-size: 15.5px; line-height: 1.75; color: rgba(247, 244, 238, 0.82) !important; }
.ai-archi__word .ai-archi__lead { margin-bottom: 10px; font: 500 clamp(26px, 2.8vw, 40px)/1.12 var(--display); letter-spacing: -0.005em; color: #fff !important; }
.ai-archi__lead em { font-weight: 400; color: var(--accent-2); }
.ai-archi__word .ai-archi__sign { margin-top: 6px; font: italic 400 clamp(24px, 2.2vw, 30px)/1 var(--display); color: var(--accent-2) !important; }
.ai-archi__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 14px; }
.ai-archi__cta .btn--accent { background: var(--accent-2); border-color: var(--accent-2); color: var(--dark); }
.ai-archi__cta .btn--accent:hover { background: #fff; border-color: #fff; color: var(--dark); }
.ai-archi__more { font: 500 13px var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: #fff; text-decoration: none; border-bottom: 1px solid var(--accent-2); padding-bottom: 3px; }
@media (max-width: 960px) {
  .ai-archi { grid-template-columns: 1fr; }
  .ai-archi__id { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
}
@media (max-width: 560px) {
  .ai-archi__facts { gap: 8px; }
  .ai-archi__word p { font-size: 15px; }
}

/* Menu sur une seule ligne juste au-dessus du burger (rubrique « Architecture intérieure » ajoutée) */
@media (max-width: 1300px) and (min-width: 1181px) {
  .header__inner { gap: 14px; }
  .nav { gap: 9px; font-size: 11px; letter-spacing: 0.03em; }
  .dd__btn { width: 16px; }
  .header__cta { padding: 11px 12px; }
}
.ai-archi__photo { margin: 0 0 6px; width: clamp(140px, 13vw, 190px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--dark-2); box-shadow: 0 0 0 1px rgba(200, 180, 143, 0.5), 0 0 0 8px rgba(200, 180, 143, 0.08); }
.ai-archi__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Pied de page : crédit « Site réalisé par NextValueDigital » (sur sa propre ligne, centré sous les mentions) */
.footer__credit { flex-basis: 100%; text-align: center; font-size: 12px; letter-spacing: 0.04em; }
.footer__credit a { text-decoration: underline; text-underline-offset: 3px; }
.footer__credit a:hover { color: var(--accent-2) !important; }
