/* =====================================================================
   Menuiserie sur mesure — feuille de styles du site public
   Palette : lin, plâtre, chêne, noyer, ébène. Typo : Libre Caslon Display + Hanken Grotesk.
   ===================================================================== */

:root {
  --lin: #eee9e1;
  --platre: #f8f6f2;
  --sable: #e2d9cb;
  --chene: #b48a5a;
  --chene-fonce: #8f6a42;
  --noyer: #4e3626;
  --noyer-fonce: #3a281c;
  --vert: #07880f;        /* vert du logo AZBEK CONCEPT */
  --vert-fonce: #056a0c;  /* boutons : contraste AA avec le texte clair */
  --vert-nuit: #04500a;
  --ebene: #1a1816;
  --encre: #2a2622;
  --pierre: #6f675d;
  --trait: rgba(42, 38, 34, .14);
  --ok: #3f6a4a;
  --err: #a2402b;

  --serif: 'Libre Caslon Display', 'Bodoni 72', Didot, Georgia, serif;
  --sans: 'Hanken Grotesk', 'Helvetica Neue', Arial, system-ui, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--lin); color: var(--encre);
  font: 400 1.0625rem/1.65 var(--sans); font-feature-settings: 'kern', 'liga';
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--noyer); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--vert); outline-offset: 3px; border-radius: 1px; }
::selection { background: var(--vert); color: #fff; }

.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ebene); color: var(--platre); padding: .6rem 1rem; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.muted { color: var(--pierre); }
.small { font-size: .9rem; }

/* ---------- Typographie ---------- */
.h1, .h2, .h3, .hero__title { font-family: var(--serif); font-weight: 400; color: var(--ebene); letter-spacing: -.005em; margin: 0 0 .5em; }
.h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.04; }
.h2 { font-size: clamp(1.85rem, 3.2vw, 2.75rem); line-height: 1.1; }
.h3 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; letter-spacing: .005em; margin-top: 1.8em; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.22rem); line-height: 1.6; max-width: 62ch; color: var(--encre); }
p { max-width: 70ch; }

/* ---------- Boutons ---------- */
.btn {
  --bg: transparent; --fg: var(--ebene); --bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.35rem; border: 1px solid var(--bd); border-radius: var(--radius);
  background: var(--bg); color: var(--fg); font-weight: 500; font-size: .98rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
}
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--hover, rgba(0,0,0,.08));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out);
}
.btn:hover::after { transform: scaleX(1); }
.btn:hover { color: var(--fg); }
.btn--primary { --bg: var(--vert-fonce); --fg: #fff; --hover: var(--vert-nuit); }
.btn--dark { --bg: var(--ebene); --fg: var(--platre); --hover: #000; }
.btn--light { --bg: var(--platre); --fg: var(--ebene); --hover: #fff; }
.btn--outline-light { --fg: var(--platre); --bd: rgba(248, 246, 242, .6); --hover: rgba(248, 246, 242, .12); }
.btn--ghost { --bd: rgba(26, 24, 22, .35); --hover: rgba(26, 24, 22, .06); }
.btn--text { padding-inline: .4rem; text-decoration: underline; text-underline-offset: .25em; --hover: transparent; }
.btn--wide { width: 100%; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: .55; cursor: not-allowed; }

.link-arrow { display: inline-flex; align-items: center; gap: .55rem; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: ''; width: 18px; height: 1px; background: currentColor; transition: width .35s var(--ease-out); }
.link-arrow:hover::after { width: 30px; }

.tag { display: inline-block; font-size: .78rem; font-weight: 500; padding: .18rem .55rem; border: 1px solid var(--trait); border-radius: 99px; color: var(--pierre); background: rgba(255,255,255,.4); vertical-align: middle; }
.tag--demo { border-style: dashed; }
.notice { border-left: 2px solid var(--vert); padding: .75rem 1rem; background: rgba(255,255,255,.45); color: var(--encre); font-size: .95rem; max-width: 70ch; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(238, 233, 225, .94); backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--trait);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), height .4s var(--ease);
}
.js.has-hero .site-header { position: fixed; inset: 0 0 auto 0; }
.js.has-hero .site-header:not(.is-scrolled):not(.is-open) { background: transparent; border-color: transparent; color: var(--platre); backdrop-filter: none; -webkit-backdrop-filter: none; }
.js.has-hero .site-header:not(.is-scrolled):not(.is-open) .nav__cta { --bg: rgba(248,246,242,.12); --fg: var(--platre); --bd: rgba(248,246,242,.55); }
.site-header.is-scrolled { --header-h: 64px; }
.site-header__inner { height: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; min-width: 0; max-width: 340px; }
.brand:hover { color: inherit; }
.brand__logo { height: 50px; width: auto; flex: none; transition: height .4s var(--ease); }
.is-scrolled .brand__logo { height: 42px; }
.brand__logo--light { display: none; }
.js.has-hero .site-header:not(.is-scrolled):not(.is-open) .brand__logo--dark { display: none; }
.js.has-hero .site-header:not(.is-scrolled):not(.is-open) .brand__logo--light { display: block; }
.nav__list { display: flex; gap: clamp(.9rem, 1.4vw, 1.5rem); list-style: none; margin: 0; padding: 0; }
.nav__list a, .nav__cta { white-space: nowrap; }
.nav__list a { position: relative; text-decoration: none; font-size: .95rem; font-weight: 500; padding: .4rem 0; }
.nav__list a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.nav__list a:hover::after, .nav__list a[aria-current='page']::after { transform: scaleX(1); transform-origin: left; }
.nav__list a:hover { color: inherit; }
.nav__cta { min-height: 42px; padding: .55rem 1.05rem; font-size: .92rem; flex: none; }
.nav { min-width: 0; }
.nav__cta-mobile, .menu-toggle { display: none; }

@media (max-width: 1099px) {
  .nav__cta { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -10px;
    background: none; border: 0; cursor: pointer; color: inherit;
  }
  .menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
  .menu-toggle__bars { position: relative; }
  .menu-toggle__bars::before, .menu-toggle__bars::after { content: ''; position: absolute; left: 0; }
  .menu-toggle__bars::before { top: -7px; } .menu-toggle__bars::after { top: 7px; }
  .is-open .menu-toggle__bars { background: transparent; }
  .is-open .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
  .is-open .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--lin); color: var(--ebene); visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility 0s .35s; overflow-y: auto; }
  .is-open .nav { visibility: visible; opacity: 1; transition: opacity .35s var(--ease); }
  .nav__list { flex-direction: column; gap: 0; padding: 1rem var(--gutter) 2rem; }
  .nav__list li { border-bottom: 1px solid var(--trait); }
  .nav__list a { display: block; padding: 1rem 0; font-family: var(--serif); font-size: 1.6rem; font-weight: 400; }
  .nav__list a::after { display: none; }
  .nav__cta-mobile { display: block; border: 0 !important; padding-top: 1.5rem; }
  .nav__cta-mobile .btn { font-family: var(--sans); font-size: 1rem; width: 100%; }
  html:not(.js) .nav { position: static; visibility: visible; opacity: 1; }
}
body.menu-open { overflow: hidden; }

/* ---------- Héros ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--platre); overflow: hidden; background: var(--noyer-fonce); }
.hero__media { position: absolute; inset: -4% 0 0 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform-origin: 60% 40%; }
.js .hero__media img { animation: slowzoom 22s var(--ease) both; }
@keyframes slowzoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,24,22,.45) 0%, rgba(26,24,22,0) 28%), linear-gradient(20deg, rgba(26,24,22,.86) 0%, rgba(26,24,22,.5) 38%, rgba(26,24,22,0) 70%); }
.hero__content { position: relative; padding-top: calc(var(--header-h) + 6rem); padding-bottom: clamp(3rem, 9vh, 6.5rem); }
.hero__title { color: var(--platre); font-size: clamp(2.7rem, 7vw, 6rem); line-height: 1; max-width: 14ch; margin-bottom: .35em; }
.hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 46ch; color: rgba(248,246,242,.9); margin: 0 0 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__note { position: absolute; right: var(--gutter); bottom: 1.2rem; font-size: .75rem; color: rgba(248,246,242,.7); }
.hero__cote { margin: 0 0 1.6rem; max-width: 560px; color: rgba(248,246,242,.8); }

/* Mot à mot du titre */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease-out) forwards; animation-delay: calc(.25s + var(--i) * 70ms); }
@keyframes rise { to { transform: none; } }
.js .hero__lead, .js .hero__actions { opacity: 0; transform: translateY(14px); animation: fadeup 1s var(--ease-out) forwards; }
.js .hero__lead { animation-delay: .95s; } .js .hero__actions { animation-delay: 1.1s; }
@keyframes fadeup { to { opacity: 1; transform: none; } }

/* ---------- Cote d'architecte (signature) ---------- */
.cote { display: flex; align-items: center; gap: 1rem; font-size: .82rem; letter-spacing: .02em; }
.cote__line { position: relative; flex: 1; height: 1px; background: currentColor; transform-origin: left; }
.cote__line::before, .cote__line::after { content: ''; position: absolute; top: -6px; width: 1px; height: 13px; background: currentColor; }
.cote__line::before { left: 0; } .cote__line::after { right: 0; }
.js .hero__cote .cote__line { transform: scaleX(0); animation: draw 1.4s var(--ease-out) .7s forwards; }
.js .hero__cote .cote__label { opacity: 0; animation: fadeup 1s var(--ease-out) 1.5s forwards; }
@keyframes draw { to { transform: scaleX(1); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(4rem, 8vw, 7rem); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section__head .h2 { margin: 0; }
.page-head { padding-block: clamp(3rem, 7vw, 6rem) clamp(1rem, 2vw, 2rem); }
.page-head--compact { padding-block: clamp(2rem, 4vw, 3.2rem) 0; }
.page-head--compact .h1 { font-size: clamp(2rem, 3.4vw, 3rem); }
.page-head .lead { margin-bottom: 1.2rem; }

.intro__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 1px solid var(--trait); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3.2rem 1fr; column-gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--trait); }
.steps li::before { content: counter(s); grid-row: span 2; font-family: var(--serif); font-size: 1.9rem; line-height: 1; color: var(--vert); }
.steps h3 { margin: 0 0 .2rem; font-size: 1.05rem; font-weight: 600; }
.steps p { margin: 0; color: var(--pierre); }

.services { background: var(--platre); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.4vw, 2rem) clamp(1rem, 2vw, 1.6rem); }
.service { text-decoration: none; display: block; }
.service:hover { color: inherit; }
.service__media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--sable); margin-bottom: 1rem; }
.service__media img, .card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.service:hover .service__media img, .card__link:hover .card__media img { transform: scale(1.045); }
.service__title { font-size: 1.05rem; font-weight: 600; margin: 0 0 .3rem; }
.service__text { margin: 0; color: var(--pierre); font-size: .96rem; }
.service:hover .service__title { text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }

/* ---------- Échantillons de panneaux ---------- */
.chip {
  position: relative; display: block; width: 84px; aspect-ratio: 1; border-radius: 1px;
  background-size: 260% auto; background-position: 30% 40%;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 14px 22px -14px rgba(42, 30, 18, .55), 0 2px 3px rgba(42, 30, 18, .12);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.chip__edge { position: absolute; left: 0; right: 0; bottom: -5px; height: 5px; filter: brightness(.78) saturate(.9); border-radius: 0 0 1px 1px; }
.chip--lg { width: 120px; }
.chip--xl { width: 100%; }
.swatch { display: inline-flex; flex-direction: column; gap: .2rem; text-decoration: none; }
.swatch .chip { margin-bottom: .75rem; }
.swatch:hover .chip, .mcard__link:hover .chip { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 22px 26px -16px rgba(42, 30, 18, .55), 0 2px 3px rgba(42, 30, 18, .12); }
.swatch__name { font-weight: 500; font-size: .95rem; line-height: 1.3; }
.swatch__ref { font-size: .8rem; color: var(--pierre); }
.swatch-row { list-style: none; padding: 0; margin: .6rem 0 0; display: flex; flex-wrap: wrap; gap: 1.4rem 1.2rem; }
.swatch-row .chip { width: 72px; }
.swatch-row .swatch { max-width: 96px; }

.materials-band { background: var(--sable); }
.materials-band__grid { display: grid; grid-template-columns: minmax(280px, 1fr) 1.6fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.materials-band__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.2rem 1.4rem; }
.materials-band__list .chip { width: 100%; }

/* ---------- Cartes ---------- */
.grid { display: grid; gap: clamp(2rem, 3vw, 2.8rem) clamp(1.2rem, 2.4vw, 2rem); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card__link { display: block; text-decoration: none; }
.card__link:hover { color: inherit; }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--sable); }
.card__body { padding-top: 1rem; }
.card__meta { margin: 0 0 .25rem; font-size: .85rem; color: var(--pierre); display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.card__title { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.15; margin: 0 0 .35rem; color: var(--ebene); }
.card__text { margin: 0 0 .6rem; color: var(--pierre); font-size: .97rem; }
.card__link:hover .card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }

.projects-band__grid { display: grid; grid-template-columns: 1.35fr 1fr; grid-auto-rows: auto; gap: clamp(2rem, 3vw, 2.8rem) clamp(1.2rem, 3vw, 2.6rem); }
.card--large { grid-row: span 2; }
.card--large .card__media { aspect-ratio: 4 / 3.2; }
.card--large .card__title { font-size: 2rem; }
.projects-band__grid > .card:not(.card--large) .card__media { aspect-ratio: 16 / 9; }

/* ---------- Appel final ---------- */
.cta-band { background: var(--ebene); color: var(--platre); padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: url('../img/textures/noyer-sm.webp') center / 640px; opacity: .14; mix-blend-mode: screen; }
.cta-band__inner { position: relative; }
.cta-band .h2 { color: var(--platre); font-size: clamp(2.2rem, 5vw, 4rem); }
.cta-band .lead { color: rgba(248,246,242,.82); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* ---------- Filtres ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; margin-bottom: 2.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--trait); }
.filters__chips { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.fchip { position: relative; }
.filters > * { min-width: 0; max-width: 100%; }
.fchip input { position: absolute; opacity: 0; pointer-events: none; }
.fchip span { display: inline-flex; align-items: center; min-height: 40px; padding: .4rem .95rem; border: 1px solid var(--trait); border-radius: 99px; font-size: .92rem; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.fchip span:hover { border-color: var(--encre); }
.fchip input:checked + span { background: var(--ebene); color: var(--platre); border-color: var(--ebene); }
.fchip input:focus-visible + span { outline: 2px solid var(--vert); outline-offset: 2px; }
.filters__search input, .field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1px solid rgba(42,38,34,.28); border-radius: var(--radius);
  background: var(--platre); transition: border-color .2s, box-shadow .2s;
}
.filters__search { min-width: min(320px, 100%); }
.field input:focus, .field select:focus, .field textarea:focus, .filters__search input:focus { border-color: var(--vert-fonce); box-shadow: 0 0 0 3px rgba(7,136,15,.18); outline: none; }
.filters--materials { align-items: end; justify-content: flex-start; }
.field--inline { flex: 1 1 160px; }
.field--grow { flex: 2 1 240px; }
.filters__count { margin: -1.4rem 0 1.6rem; font-size: .9rem; min-height: 1.4em; }
.empty { padding: 2rem 0; color: var(--pierre); }

/* ---------- Catalogue matériaux ---------- */
.materials-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 2.6rem 1.6rem; }
.mcard__link { display: flex; flex-direction: column; text-decoration: none; gap: .2rem; }
.mcard__link:hover { color: inherit; }
.mcard .chip { margin-bottom: 1rem; }
.mcard__name { font-weight: 600; }
.mcard__meta { font-size: .85rem; color: var(--pierre); }
.avail { font-size: .8rem; display: inline-flex; align-items: center; gap: .4rem; color: var(--pierre); }
.avail::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #b7a68c; }
.avail--disponible::before { background: var(--ok); }
.avail--indisponible::before { background: var(--err); }

.material-hero { position: relative; margin: 0; aspect-ratio: 1; background-size: cover; border-radius: 1px; box-shadow: 0 30px 50px -30px rgba(42,30,18,.6), 0 2px 4px rgba(42,30,18,.15); }
.material-hero__edge { position: absolute; left: 0; right: 0; bottom: -12px; height: 12px; filter: brightness(.75); }
.material-hero figcaption { position: absolute; left: 1rem; top: 1rem; }

/* ---------- Fiches détaillées ---------- */
.crumbs { display: flex; gap: .6rem; font-size: .88rem; color: var(--pierre); padding-top: 1.6rem; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.detail { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 5rem); padding-top: 1.6rem; padding-bottom: clamp(4rem, 8vw, 7rem); align-items: start; }
.detail__gallery { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.detail__info .h1 { font-size: clamp(2.1rem, 3.8vw, 3.2rem); }
.detail__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.specs { margin: 1.2rem 0; display: grid; border-top: 1px solid var(--trait); }
.specs > div { display: grid; grid-template-columns: minmax(130px, 34%) 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--trait); }
.specs dt { color: var(--pierre); font-size: .93rem; }
.specs dd { margin: 0; }
.ticks { padding: 0; list-style: none; margin: 1rem 0; }
.ticks li { position: relative; padding-left: 1.6rem; margin: .45rem 0; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .78em; width: .9rem; height: 1px; background: var(--chene-fonce); }
.link-list { list-style: none; padding: 0; margin: .5rem 0; }
.link-list li { padding: .4rem 0; }

.gallery__main { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--sable); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease); }
.gallery__main img.is-fading { opacity: 0; }
.gallery__main figcaption { position: absolute; left: .9rem; bottom: .9rem; }
.gallery__thumbs { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .6rem; }
.gallery__thumbs a { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); opacity: .6; transition: opacity .3s; outline-offset: 2px; }
.gallery__thumbs a:hover, .gallery__thumbs a[aria-current='true'] { opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__empty { aspect-ratio: 16/10; display: grid; place-items: center; background: var(--sable); color: var(--pierre); }

/* ---------- À propos / contact ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.about__media { position: relative; margin: 0; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius); }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__media figcaption { position: absolute; left: .9rem; bottom: .9rem; }
.about__text .h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-top: 1.4em; }
.about__text .h2:first-child { margin-top: 0; }
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact__list { margin: 0; display: grid; border-top: 1px solid var(--trait); }
.contact__list > div { display: grid; grid-template-columns: 180px 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--trait); align-items: center; }
.contact__list dt { color: var(--pierre); }
.contact__list dd { margin: 0; font-size: 1.15rem; }
.contact__cta { background: var(--platre); padding: clamp(1.5rem, 3vw, 2.4rem); }
.contact__cta .h3 { margin-top: 0; }

/* ---------- Formulaire ---------- */
.quote { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.quote__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); background: var(--platre); padding: clamp(1.3rem, 3vw, 2rem); }
.quote__aside .h3 { margin-top: 0; }
.form { display: grid; gap: 1.2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: grid; gap: .4rem; align-content: start; }
.field > span { font-weight: 500; font-size: .95rem; }
.field em { font-style: normal; font-weight: 400; color: var(--pierre); font-size: .85rem; margin-left: .35rem; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field [aria-invalid='true'] { border-color: var(--err); }
.field__error { color: var(--err); font-size: .88rem; }
.form-error { color: var(--err); border-left: 2px solid var(--err); padding: .7rem 1rem; background: rgba(162,64,43,.06); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--vert-fonce); }
.config-recap { background: var(--platre); padding: 1.2rem 1.4rem; border-left: 2px solid var(--chene); }
.config-recap .h3 { margin-top: 0; }
.upload { display: inline-flex; align-items: center; min-height: 48px; padding: .6rem 1rem; border: 1px dashed rgba(42,38,34,.4); border-radius: var(--radius); cursor: pointer; background: var(--platre); }
.upload input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.upload:focus-within { outline: 2px solid var(--vert); outline-offset: 2px; }
.upload__list { list-style: none; padding: 0; margin: .4rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.upload__list li { position: relative; width: 76px; height: 76px; }
.upload__list img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.upload__list button { position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--ebene); color: #fff; cursor: pointer; font-size: 1rem; line-height: 1; }
.upload__list .is-pending img { opacity: .4; }

/* ---------- Récapitulatif ---------- */
.summary { margin: 0; display: grid; }
.summary > div { display: grid; grid-template-columns: minmax(110px, 40%) 1fr; gap: .8rem; padding: .55rem 0; border-bottom: 1px solid var(--trait); font-size: .95rem; }
.summary dt { color: var(--pierre); }
.summary dd { margin: 0; }

/* ---------- Configurateur ---------- */
.configurator {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); grid-template-areas: 'stage panel' 'stage summary';
  gap: 1.6rem clamp(1.6rem, 4vw, 3.5rem); padding-top: 2rem; padding-bottom: clamp(4rem, 8vw, 7rem); align-items: start;
}
.configurator__stage { grid-area: stage; position: sticky; top: calc(var(--header-h) + 1rem); z-index: 2; }
.configurator__panel { grid-area: panel; display: grid; gap: .6rem; }
.configurator__summary { grid-area: summary; background: var(--platre); padding: clamp(1.2rem, 2.5vw, 1.8rem); }
.configurator__summary .h3 { margin-top: 0; }
.stage { position: relative; aspect-ratio: 1000 / 640; background: #ece6dc; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -40px rgba(42,30,18,.5); --cfg-wall: #e6dfd3; }
.stage__layer { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); }
.stage__layer.is-current { opacity: 1; }
.stage__layer svg { width: 100%; height: 100%; }
.stage__legend { margin: .7rem 0 0; }
.stage__flags { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .4rem; }
.cfg-mini { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--trait); }
.cfg-mini__text { margin: 0; display: grid; font-size: .93rem; min-width: 0; }
.cfg-mini .btn { flex: none; }
.cfg-mini__price { color: var(--pierre); font-size: .85rem; }
.cfg-group { border: 0; padding: 1.1rem 0 1.3rem; margin: 0; border-bottom: 1px solid var(--trait); min-width: 0; }
.cfg-group legend { font-weight: 600; font-size: 1rem; padding: 0; margin-bottom: .8rem; float: left; width: 100%; }
.cfg-group legend + * { clear: both; }
.cfg-group__value { font-weight: 400; color: var(--pierre); margin-left: .4rem; font-size: .92rem; }
.cfg-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.cfg-opt { position: relative; }
.cfg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.cfg-opt span { display: inline-flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 44px; padding: .45rem .9rem; border: 1px solid var(--trait); border-radius: var(--radius); background: var(--platre); cursor: pointer; font-size: .93rem; line-height: 1.3; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.cfg-opt span:hover { border-color: var(--encre); }
.cfg-opt input:checked + span { border-color: var(--ebene); box-shadow: inset 0 0 0 1px var(--ebene); background: #fff; }
.cfg-opt input:focus-visible + span { outline: 2px solid var(--vert); outline-offset: 2px; }
.cfg-opt input:disabled + span { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.cfg-opt small { display: block; color: var(--pierre); font-size: .78rem; }
.cfg-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: .9rem .6rem; }
.cfg-swatch { position: relative; display: grid; gap: .35rem; cursor: pointer; font-size: .74rem; line-height: 1.2; text-align: center; color: var(--pierre); }
.cfg-swatch input { position: absolute; opacity: 0; pointer-events: none; }
.cfg-swatch .chip { width: 100%; }
.cfg-swatch input:checked ~ .chip { outline: 2px solid var(--ebene); outline-offset: 3px; }
.cfg-swatch input:focus-visible ~ .chip { outline: 2px solid var(--vert); outline-offset: 3px; }
.cfg-swatch input:checked ~ .cfg-swatch__name { color: var(--ebene); font-weight: 600; }
.cfg-dim { display: grid; grid-template-columns: 1fr 96px; gap: .3rem 1rem; align-items: center; margin-bottom: .9rem; }
.cfg-dim label { grid-column: 1 / -1; font-size: .93rem; display: flex; justify-content: space-between; }
.cfg-dim input[type='range'] { width: 100%; accent-color: var(--vert-fonce); height: 32px; }
.cfg-dim__num { display: flex; align-items: center; gap: .3rem; }
.cfg-dim__num input { width: 100%; min-height: 40px; padding: .35rem .5rem; border: 1px solid rgba(42,38,34,.28); border-radius: var(--radius); background: var(--platre); text-align: right; }
.cfg-dim__num input[aria-invalid='true'] { border-color: var(--err); }
.cfg-dim__err { grid-column: 1 / -1; color: var(--err); font-size: .85rem; }
.summary__price { margin: 1rem 0 .2rem; }
.summary__status { margin: 0 0 1rem; color: var(--pierre); font-size: .93rem; }
.summary__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.flag { font-size: .78rem; padding: .2rem .55rem; border: 1px dashed var(--chene-fonce); color: var(--noyer); border-radius: 99px; }

/* ---------- WhatsApp flottant ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ebene); color: var(--platre); box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); transition: transform .3s var(--ease-out); }
.wa-float:hover { transform: translateY(-3px); color: var(--platre); }
.wa-float svg { width: 26px; height: 26px; }
.page-configurator .wa-float { display: none; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ebene); color: rgba(248,246,242,.86); padding-top: 4rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .muted { color: rgba(248,246,242,.55); }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer__brand { margin: 0 0 .9rem; }
.site-footer__brand img { height: 64px; width: auto; }
.site-footer__links { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2rem; }
.site-footer__links li { padding: .3rem 0; break-inside: avoid; }
.site-footer__contact { font-style: normal; display: grid; gap: .5rem; align-content: start; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem; border-top: 1px solid rgba(248,246,242,.12); padding-block: 1.4rem 2rem; font-size: .85rem; }

/* ---------- Apparitions au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* Le masque est porté par l'image (l'observateur d'intersection ignore un conteneur entièrement masqué). */
.js .reveal-img img { clip-path: inset(0 0 100% 0); transform: scale(1.1); transition: clip-path 1.1s var(--ease-out) var(--d, 0s), transform 1.6s var(--ease-out) var(--d, 0s); }
.js .reveal-img.is-in img { clip-path: inset(0 0 0 0); transform: none; }
.js .card__link:hover .reveal-img.is-in img, .js .service:hover .reveal-img.is-in img { transform: scale(1.045); transition: transform 1.1s var(--ease-out); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .materials-band__grid { grid-template-columns: 1fr; }
  .configurator { grid-template-columns: 1fr; grid-template-areas: 'stage' 'panel' 'summary'; }
  .configurator__stage { top: var(--header-h); background: var(--lin); padding-block: .6rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); border-bottom: 1px solid var(--trait); }
  .stage__legend, .stage__flags { display: none; }
  .cfg-mini { margin-top: .5rem; padding-top: .5rem; }
  .cfg-mini .btn { min-height: 40px; padding: .45rem .8rem; font-size: .88rem; }
  .cfg-mini__text { font-size: .82rem; line-height: 1.4; }
  .cfg-mini__price { display: none; }
}
@media (max-width: 900px) {
  .intro__grid, .detail, .about, .contact, .quote, .projects-band__grid { grid-template-columns: 1fr; }
  .detail__gallery, .quote__aside { position: static; }
  .card--large { grid-row: auto; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .services__grid, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .materials-band__list { grid-template-columns: repeat(2, 1fr); }
  .materials-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .form__row { grid-template-columns: 1fr; }
  .contact__list > div { grid-template-columns: 1fr; gap: .2rem; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__shade { background: linear-gradient(0deg, rgba(26,24,22,.92) 0%, rgba(26,24,22,.7) 50%, rgba(26,24,22,.35) 100%); }
  .hero__media img { object-position: 22% 40%; }
  .cfg-mini .btn { white-space: nowrap; }
  .hero__note { display: none; }
  .filters { flex-direction: column; align-items: stretch; }
  .filters__chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: .3rem; scrollbar-width: none; }
  .fchip span { white-space: nowrap; }
  .specs > div, .summary > div { grid-template-columns: 1fr; gap: .1rem; }
  .configurator__stage .stage { aspect-ratio: 1000 / 600; }
  .summary__actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-split] .w > span, .js .hero__lead, .js .hero__actions, .js .hero__cote .cote__line, .js .hero__cote .cote__label { transform: none !important; opacity: 1 !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal-img img, .js .hero__media img { transform: none !important; clip-path: none !important; }
}

@media print {
  .site-header, .site-footer, .wa-float, .hero__actions, .detail__actions { display: none !important; }
  body { background: #fff; }
}

/* =====================================================================
   Cinéma : rideau, poussière de bois, grain, photos noir et blanc
   ===================================================================== */

/* Transitions douces entre les pages (navigateurs compatibles) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .32s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* Rideau d'ouverture : une fois par visite, se lève seul, cliquable pour passer */
.curtain { display: none; }
.has-intro .curtain {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 200; background: #0f0e0d; color: var(--platre); cursor: pointer;
  animation: curtain-out 1.1s cubic-bezier(.76, 0, .24, 1) 1.55s forwards;
}
.curtain-skip .curtain { animation-duration: .6s; animation-delay: 0s; }
.curtain__inner { display: grid; justify-items: center; gap: 1.1rem; }
.curtain img { width: min(280px, 62vw); height: auto; opacity: 0; transform: translateY(12px) scale(.98); animation: fadeup 1s var(--ease-out) .15s forwards; }
.curtain__line { width: min(280px, 62vw); height: 1px; background: rgba(248,246,242,.55); transform: scaleX(0); transform-origin: left; animation: draw 1.2s var(--ease-out) .35s forwards; }
.curtain__label { font-size: .85rem; letter-spacing: .04em; color: rgba(248,246,242,.7); opacity: 0; animation: fadeup .8s var(--ease-out) .7s forwards; }
@keyframes curtain-out { to { transform: translateY(-100%); visibility: hidden; } }
/* Le titre du héros attend la levée du rideau */
.js.has-intro [data-split] .w > span { animation-delay: calc(2s + var(--i) * 70ms); }
.js.has-intro .hero__lead { animation-delay: 2.6s; }
.js.has-intro .hero__actions { animation-delay: 2.75s; }
.js.has-intro .hero__cote .cote__line { animation-delay: 2.3s; }
.js.has-intro .hero__cote .cote__label { animation-delay: 3s; }
.js.has-intro.curtain-skip [data-split] .w > span { animation-delay: calc(.4s + var(--i) * 70ms); }
.js.has-intro.curtain-skip .hero__lead, .js.has-intro.curtain-skip .hero__actions, .js.has-intro.curtain-skip .hero__cote .cote__label { animation-delay: 1s; }

/* Mots du titre : montée avec mise au point */
.js [data-split] .w > span { filter: blur(8px); }
@keyframes rise { to { transform: none; filter: none; } }

/* Poussière de bois (canvas) et grain de pellicule */
.dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.hero__content { z-index: 2; }
.grain {
  position: absolute; inset: -60%; z-index: 1; pointer-events: none; opacity: .08; mix-blend-mode: overlay;
  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");
  animation: grain .9s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); }
}
.cta-band .dust { z-index: 0; }
.cta-band__inner { z-index: 1; }
.puff-layer { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 70; }

/* Barre de progression de lecture */
.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 60; background: var(--vert); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* Photos en noir et blanc, couleur au clic */
.bw { cursor: pointer; }
.bw:not(.hero__media):not(.bp-hero__media) { position: relative; }
.js .bw img { filter: grayscale(1) contrast(1.08) brightness(.93); transition: filter .9s var(--ease), transform 1.1s var(--ease-out), clip-path 1.1s var(--ease-out); }
.js .bw.is-color img { filter: none; }
.bw__veil {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  -webkit-backdrop-filter: grayscale(1) contrast(1.08) brightness(.93); backdrop-filter: grayscale(1) contrast(1.08) brightness(.93);
  -webkit-mask-image: radial-gradient(circle at var(--x) var(--y), transparent var(--r), #000 calc(var(--r) + 50px));
  mask-image: radial-gradient(circle at var(--x) var(--y), transparent var(--r), #000 calc(var(--r) + 50px));
}
.bw__hint {
  position: absolute; right: .8rem; bottom: .8rem; z-index: 3; display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .75rem; border: 0; border-radius: 99px; background: rgba(15, 14, 13, .62); color: #fff;
  font: 500 .78rem/1.2 var(--sans); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease); pointer-events: none;
}
button.bw__hint { cursor: pointer; pointer-events: auto; }
.bw__hint svg { width: 16px; height: 16px; flex: none; }
.bw:hover .bw__hint, .card__link:hover .bw__hint, .card__link:focus-visible .bw__hint, .service:hover .bw__hint, .bw__hint:focus-visible, button.bw__hint { opacity: 1; transform: none; }
.bw.is-color .bw__hint, .bw.is-color ~ .bw__hint { opacity: 0 !important; pointer-events: none; transform: translateY(6px); }
.bw__hint--hero { top: calc(var(--header-h) + 1rem); bottom: auto; right: var(--gutter); background: rgba(248, 246, 242, .14); border: 1px solid rgba(248, 246, 242, .35); padding: .5rem .9rem; animation: hint-pulse 2.6s var(--ease) 3.4s 3; }
@keyframes hint-pulse { 50% { background: rgba(248, 246, 242, .28); } }
.hero { cursor: pointer; }
.hero .btn, .hero a { cursor: pointer; }
@media (hover: none) { .bw__hint { opacity: 1; transform: none; } }
.gallery__thumbs img { filter: grayscale(1); transition: filter .4s var(--ease); }
.gallery__thumbs a:hover img, .gallery__thumbs a[aria-current='true'] img { filter: grayscale(.2); }

@media (prefers-reduced-motion: reduce) {
  .has-intro .curtain, .dust, .grain, .puff-layer { display: none !important; }
  .js [data-split] .w > span { filter: none; }
}

/* =====================================================================
   Production en série pour le bâtiment
   ===================================================================== */
.serie-band { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--ebene); color: var(--platre); }
.serie-band__media { position: relative; min-height: 420px; overflow: hidden; }
.serie-band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.serie-band__text { padding: clamp(3rem, 7vw, 6rem) var(--gutter); display: grid; align-content: center; gap: 1.2rem; max-width: 640px; }
.serie-band .h2 { color: var(--platre); margin: 0; }
.serie-band .lead { color: rgba(248,246,242,.82); margin: 0; }
.serie-band__list { list-style: none; margin: .4rem 0; padding: 0; border-top: 1px solid rgba(248,246,242,.18); }
.serie-band__list li { display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: baseline; padding: .8rem 0; border-bottom: 1px solid rgba(248,246,242,.18); }
.serie-band__list strong { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; min-width: 7.5rem; color: #fff; }
.serie-band__list span { color: rgba(248,246,242,.72); }
.serie-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .6rem; }

.bp-hero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; color: var(--platre); overflow: hidden; background: var(--noyer-fonce); }
.bp-hero__media { position: absolute; inset: 0; }
.bp-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.js .bp-hero__media img { animation: slowzoom 22s var(--ease) both; }
.bp-hero__content { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 5rem); padding-bottom: clamp(3rem, 8vh, 5.5rem); }
.bp-hero .h1 { color: var(--platre); font-size: clamp(2.4rem, 5.6vw, 4.8rem); max-width: 15ch; }
.bp-hero .lead { color: rgba(248,246,242,.88); margin-bottom: 2rem; }
.bp-hero .hero__actions { opacity: 1; transform: none; animation: none; }
.audience { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.audience li { display: grid; gap: .4rem; padding-top: 1rem; border-top: 2px solid var(--vert); }
.audience strong { font-weight: 600; }
.audience span { color: var(--pierre); font-size: .96rem; }
.bp-brief { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; background: var(--platre); padding-block: clamp(2rem, 4vw, 3rem); }
.bp-brief__cta { display: grid; gap: .8rem; }
.client-type { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.client-type legend { font-weight: 500; font-size: .95rem; margin-bottom: .5rem; padding: 0; width: 100%; }
.a-pill--b { background: #dcebdf; color: #285036; }
@media (max-width: 1100px) { .audience { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .serie-band, .bp-brief { grid-template-columns: 1fr; }
  .serie-band__media { min-height: 260px; }
}
@media (max-width: 640px) {
  .audience { grid-template-columns: 1fr; }
  .serie-band__actions .btn { flex: 1 1 100%; }
  .client-type .fchip span { white-space: normal; }
}

/* Réseaux sociaux */
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.social__link { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; color: inherit; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease-out); }
.social__link svg { width: 20px; height: 20px; }
a.social__link:hover { background: var(--vert); border-color: var(--vert); color: #fff; transform: translateY(-2px); }
.social__link.is-pending { opacity: .38; cursor: default; }
.site-footer__social { margin-top: 1.4rem; color: rgba(248,246,242,.85); }
.site-footer .social__link:hover { text-decoration: none; }
.contact__side { display: grid; gap: 1.5rem; align-content: start; }
.contact__social { color: var(--ebene); }
.contact__social .h3 { margin-top: 0; }

/* =====================================================================
   Collection de plans
   ===================================================================== */
.plans-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.8rem, 3vw, 2.6rem); }
.plan-card__link { display: block; text-decoration: none; }
.plan-card__link:hover { color: inherit; }
.plan-card__sheet { background: #f7f4ec; box-shadow: 0 1px 2px rgba(42,30,18,.12), 0 18px 30px -22px rgba(42,30,18,.5); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.plan-card__sheet svg { width: 100%; height: auto; display: block; }
.plan-card__link:hover .plan-card__sheet { transform: translateY(-4px) rotate(-.3deg); box-shadow: 0 1px 2px rgba(42,30,18,.12), 0 28px 40px -24px rgba(42,30,18,.55); }
.plan-card__body { padding-top: 1rem; }
.plan-card__title { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin: 0 0 .2rem; color: var(--ebene); }
.plan-card__dims { margin: 0; color: var(--pierre); font-variant-numeric: tabular-nums; }
.plan-detail { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: clamp(1.6rem, 4vw, 3.5rem); padding-top: 1.6rem; padding-bottom: clamp(4rem, 8vw, 6rem); align-items: start; }
.plan-detail__sheet { background: #f7f4ec; box-shadow: 0 1px 2px rgba(42,30,18,.12), 0 24px 40px -26px rgba(42,30,18,.55); overflow-x: auto; }
.plan-detail__sheet svg { width: 100%; min-width: 640px; height: auto; display: block; }
.plan-detail__nav { display: grid; gap: .4rem; margin-top: 2rem; font-size: .93rem; }
.view-toggle { display: inline-flex; border: 1px solid var(--trait); border-radius: 99px; padding: 3px; margin-bottom: .8rem; background: var(--platre); }
.view-toggle__btn { border: 0; background: transparent; padding: .45rem 1rem; border-radius: 99px; cursor: pointer; font-weight: 500; font-size: .9rem; min-height: 38px; }
.view-toggle__btn[aria-pressed='true'] { background: var(--ebene); color: var(--platre); }
.stage--plan { aspect-ratio: 1400 / 990; background: #f7f4ec; }
@media (max-width: 900px) { .plan-detail { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .plans-grid { grid-template-columns: 1fr; } }
@media print {
  .page-plan .crumbs, .page-plan .plan-detail__info, .page-plan .read-progress { display: none !important; }
  .page-plan .plan-detail { display: block; padding: 0; }
  .page-plan .plan-detail__sheet { box-shadow: none; }
  .page-plan .plan-detail__sheet svg { min-width: 0; }
  @page { size: A4 landscape; margin: 8mm; }
}

/* Gestion des réalisations (version HTML) */
.gestion { display: grid; gap: 1.4rem; }
.g-steps { margin: 0; padding-left: 1.3rem; display: grid; gap: .8rem; max-width: 75ch; }
.g-steps span { display: block; color: var(--pierre); font-size: .93rem; margin-top: .2rem; }
.g-row { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-top: .6rem; }
.g-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; border-top: 1px solid var(--trait); padding-top: 1.4rem; }
.g-head .h2 { margin: 0; }
.g-status { min-height: 1.4em; margin: 0; padding: .6rem .9rem; border-left: 2px solid transparent; }
.g-status:empty { padding: 0; }
.g-status--ok { border-color: var(--vert); background: rgba(7,136,15,.06); }
.g-status--warn { border-color: #b08d57; background: rgba(176,141,87,.1); }
.g-status--err { border-color: var(--err); background: rgba(162,64,43,.06); color: var(--err); }
.g-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.g-item { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 1rem; align-items: center; background: var(--platre); padding: .7rem; }
.g-item__txt { display: grid; gap: .2rem; min-width: 0; }
.g-item__txt small { color: var(--pierre); }
.g-item__tools { display: flex; flex-wrap: wrap; gap: .3rem; justify-content: end; }
.g-item__tools .btn { min-height: 38px; padding: .35rem .7rem; font-size: .88rem; }
.g-thumb { display: block; width: 88px; aspect-ratio: 16 / 10; background: var(--sable) center / cover; }
.g-thumb--lg { width: 150px; }
.g-empty { color: var(--pierre); padding: 1rem 0; }
.g-danger { color: var(--err) !important; }
.g-form { background: var(--platre); padding: clamp(1.2rem, 3vw, 2rem); }
.g-form .h2 { margin-top: 0; }
.g-pub { align-self: end; padding-bottom: .8rem; }
.g-matset { border: 0; padding: 0; margin: 0; }
.g-matset legend { font-weight: 500; font-size: .95rem; margin-bottom: .5rem; }
.g-mats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .5rem; }
.g-mat { display: flex; align-items: center; gap: .5rem; font-size: .88rem; cursor: pointer; }
.g-mat .chip { width: 28px; flex: none; }
.g-mat input { accent-color: var(--vert-fonce); }
.g-photos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .8rem; }
.g-photos li { display: grid; gap: .2rem; }
.g-photos .btn { min-height: 32px; padding: .2rem .4rem; font-size: .82rem; justify-content: start; }
@media (max-width: 700px) {
  .g-item { grid-template-columns: 72px minmax(0, 1fr); }
  .g-item__tools { grid-column: 1 / -1; justify-content: start; }
  .g-thumb { width: 72px; }
}

/* Jeu « Devinez le bois » */
.jeu { display: grid; gap: 1.4rem; }
.jeu__levels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; max-width: 820px; }
.jeu__level { display: grid; gap: .4rem; text-align: left; padding: 1.4rem 1.5rem; border: 1px solid var(--trait); background: var(--platre); cursor: pointer; font: inherit; color: inherit; border-radius: var(--radius); transition: border-color .25s, transform .3s var(--ease-out), box-shadow .3s; }
.jeu__level strong { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; color: var(--ebene); }
.jeu__level span { color: var(--pierre); }
.jeu__level:hover { border-color: var(--vert); transform: translateY(-3px); box-shadow: 0 16px 28px -22px rgba(42,30,18,.5); }
.jeu__top { display: flex; justify-content: space-between; font-weight: 500; font-variant-numeric: tabular-nums; }
.jeu__bar { height: 3px; background: var(--trait); overflow: hidden; }
.jeu__bar span { display: block; height: 100%; background: var(--vert); transform-origin: left; transition: transform .5s var(--ease-out); }
.jeu__board { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr); gap: clamp(1.4rem, 4vw, 3rem); align-items: start; }
.jeu__panel { position: relative; aspect-ratio: 4 / 3; background-color: #ccc; background-position: var(--px, 50%) var(--py, 50%); border-radius: 2px;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 30px 50px -30px rgba(42,30,18,.65), 0 3px 6px rgba(42,30,18,.15); }
.jeu__panel::after { content: ''; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: var(--edge, #999); filter: brightness(.75); }
.jeu__panel.is-in { animation: jeu-in .8s var(--ease-out); }
@keyframes jeu-in { from { opacity: 0; transform: translateY(16px) rotate(-1.2deg) scale(.97); } }
.jeu__choices { display: grid; gap: .6rem; margin: .6rem 0 1rem; }
.jeu__choice { min-height: 52px; padding: .7rem 1rem; text-align: left; border: 1px solid rgba(42,38,34,.3); background: var(--platre); font: inherit; font-weight: 500; cursor: pointer; border-radius: var(--radius); transition: border-color .2s, background-color .2s; }
.jeu__choice:hover:not(:disabled) { border-color: var(--ebene); background: #fff; }
.jeu__choice:disabled { cursor: default; opacity: .6; }
.jeu__choice.is-right { opacity: 1; border-color: var(--vert); background: rgba(7,136,15,.1); box-shadow: inset 0 0 0 1px var(--vert); }
.jeu__choice.is-wrong { opacity: 1; border-color: var(--err); background: rgba(162,64,43,.08); }
.jeu__feedback { border-left: 2px solid var(--vert); padding: .8rem 1rem; background: var(--platre); }
.jeu__feedback.is-bad { border-color: var(--err); }
.jeu__verdict { font-weight: 600; margin: 0 0 .4rem; }
.jeu__final { font-family: var(--serif); font-size: clamp(4rem, 12vw, 7rem); line-height: 1; margin: 0; color: var(--vert-fonce); font-variant-numeric: tabular-nums; }
.jeu__end .h2 { margin: .2rem 0; }
.jeu__recap { list-style: none; padding: 0; margin: .8rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .8rem; }
.jeu__recap a { display: grid; grid-template-columns: 40px 1fr; gap: .6rem; align-items: center; text-decoration: none; padding: .4rem; border: 1px solid var(--trait); }
.jeu__recap .chip { width: 40px; }
.jeu__recap .is-good a { border-color: var(--vert); }
.jeu__recap .is-bad a { border-color: rgba(162,64,43,.5); }
@media (max-width: 800px) { .jeu__board, .jeu__levels { grid-template-columns: 1fr; } }

/* Sélecteur de langue (version HTML) */
.lang-switch { display: flex; gap: .15rem; }
.lang-switch:empty { display: none; }
.lang-switch a { display: inline-grid; place-items: center; min-width: 34px; min-height: 34px; padding: 0 .3rem; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-decoration: none; border-radius: 99px; opacity: .65; }
.lang-switch a:hover { opacity: 1; }
.lang-switch a[aria-current='true'] { opacity: 1; box-shadow: inset 0 0 0 1px currentColor; }
.nav__lang { display: none !important; }
@media (max-width: 1099px) {
  .site-header__inner > .lang-switch { margin-left: auto; gap: 0; }
  .site-header__inner > .lang-switch a { min-width: 32px; min-height: 40px; font-size: .78rem; }
  .nav__lang a { font-family: var(--sans); font-size: 1rem; min-width: 48px; min-height: 44px; padding: 0; }
}

/* ===================================================================== */
/* Accueil en scènes (public/js/story.js, src/views/story.js)             */
/* --in : 1 → 0 à l'entrée, --out : 0 → 1 à la sortie, --d : profondeur    */
/* ===================================================================== */
.story { position: relative; background: #0d1110; }
.story__stage { position: relative; }
.st-scene {
  position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; color: var(--ebene);
  --ground: calc(max(100vw / 1600, 100svh / 900) * 140);
}
.st-scene--dark { color: var(--platre); }
.st-art { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.st-bg { position: absolute; inset: 0; }
.st-bg svg { width: 100%; height: 100%; max-width: none; }
.st-obj { position: absolute; left: 50%; bottom: var(--ground); width: var(--ow, 50vw); transform-origin: 50% 100%; }
.st-obj svg { width: 100%; height: auto; max-width: none; overflow: visible; }
.st-obj--atelier { --ow: min(56vw, 860px, 88svh); }
.st-obj--kitchen { --ow: min(46vw, 780px, 60svh); }
.st-obj--building { --ow: min(36vw, 560px, 56svh); }
.st-obj--crane { --ow: min(17vw, 260px); --ox: min(30vw, 470px); }
.st-obj--truck { --ow: min(21vw, 320px); --ox: max(-34vw, -520px); bottom: calc(var(--ground) - min(1.6vw, 24px)); }
.st-obj--wardrobe { --ow: min(23vw, 350px, 36svh); --ox: min(22vw, 330px); }

/* Mouvements : calculés depuis --in / --out et la profondeur --d */
.st-l {
  --fade: calc(var(--in) * var(--kf, 1));
  --rise: calc(var(--in) * var(--k, 1));
  opacity: calc(1 - var(--fade) * (1.9 - var(--d)) - var(--out) * (1.6 - var(--d) * .5));
  transform: translate3d(0, calc(var(--rise) * var(--d) * 72svh - var(--out) * var(--d) * 14svh), 0) scale(calc(1 + var(--out) * .06));
  will-change: transform, opacity;
}
.st-bg--sky { opacity: calc(1 - var(--fade) * 1.85); transform: scale(calc(1 + var(--out) * .04 + var(--fade) * .06)); }
.st-obj { opacity: calc(1 - var(--fade) * .55 - var(--out) * 2.1); transform: translate3d(calc(-50% + var(--ox, 0px)), calc(var(--rise) * var(--d) * 72svh - var(--out) * var(--d) * 14svh), 0) scale(calc(1 + var(--out) * .06)); }
.st-dust { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; opacity: calc(1 - var(--in) * 2 - var(--out) * 1.6); }

/* Vague granuleuse : la scène « Grands projets » monte d'un bloc */
.st-scene--wave { overflow: visible; transform: translate3d(0, calc(var(--in) * 100%), 0); --k: .22; --kf: 0; }
.st-wave { position: absolute; left: 0; bottom: calc(100% - 2px); width: 100%; height: clamp(70px, 11vw, 170px); max-width: none; z-index: 1; pointer-events: none; }

/* Textes */
.st-copy {
  position: relative; z-index: 2; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); grid-template-rows: auto auto 1fr; gap: .4rem clamp(2rem, 5vw, 5rem);
  align-content: start;
  padding-top: calc(var(--header-h) + clamp(1.2rem, 6vh, 4rem)); padding-bottom: clamp(2rem, 7vh, 4.5rem);
  pointer-events: none;
}
.st-copy a, .st-copy button, .st-copy .st-card, .st-copy .st-form { pointer-events: auto; }
.st-eyebrow { grid-column: 1; margin: 0; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--vert-fonce); font-weight: 600; }
.st-scene--dark .st-eyebrow { color: #7ddc86; }
.st-title { grid-column: 1; margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 4.7vw, 4.7rem); line-height: 1.02; letter-spacing: -.01em; max-width: 15ch; color: inherit; }
.st-side { grid-column: 2; grid-row: 1 / span 2; align-self: start; padding-top: .3rem; }
.st-side p { margin: 0 0 1.4rem; font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.6; max-width: 34ch; }
.st-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.stw { display: inline-block; }

.story--live .stw {
  --wi: min(1, calc(var(--in) * (2.6 + var(--w) * .2)));
  opacity: calc(1 - var(--wi) * 1.15 - var(--out) * 2.6);
  transform: translate3d(0, calc(var(--wi) * 46px - var(--out) * 34px), 0);
  filter: blur(calc((var(--wi) + var(--out)) * 9px));
}
.story--live .st-eyebrow, .story--live .st-side, .story--live .st-chips, .story--live .st-form__note, .story--live .st-form .st-actions {
  --pi: min(1, calc(var(--in) * 3));
  opacity: calc(1 - var(--pi) - var(--out) * 2.4);
  transform: translate3d(0, calc(var(--pi) * 30px - var(--out) * 24px), 0);
}

.story--live .st-form { --fi: min(1, calc(var(--in) * 2.6)); opacity: calc(1 - var(--fi) - var(--out) * 2.4); transform: translate3d(0, calc(var(--fi) * 60px), 0) scale(calc(1 - var(--fi) * .04)); }

/* Cartes de la méthode */
.st-cards { grid-column: 1 / -1; align-self: end; list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
.st-card {
  position: relative; min-height: 15rem; padding: 1.4rem 1.4rem 1.6rem; cursor: pointer;
  background: rgba(248, 246, 242, .05); border: 1px solid rgba(248, 246, 242, .08);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .6s var(--ease), border-color .6s var(--ease);
}
.story--live .st-card {
  --ci: min(1, calc(var(--in) * (2.4 + var(--c) * .5)));
  opacity: calc(1 - var(--ci) - var(--out) * 2.2);
  transform: translate3d(0, calc(var(--ci) * 90px - var(--out) * 40px), 0);
}
.st-card.is-active { background: #0b4f22; border-color: #12722f; }
.st-card__num { display: block; font-family: var(--serif); font-size: 2.2rem; line-height: 1; opacity: .6; }
.st-card__img { position: absolute; top: -1.4rem; right: 1rem; width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid #0b4f22; opacity: 0; transform: scale(.5) rotate(-25deg); transition: opacity .5s var(--ease), transform .7s var(--ease-out); }
.st-card.is-active .st-card__img { opacity: 1; transform: none; }
.st-card__title { margin: 1.1rem 0 .5rem; font-family: var(--sans); font-size: 1.12rem; font-weight: 600; color: inherit; }
.st-card__text { margin: 0; font-size: .95rem; line-height: 1.55; color: rgba(248, 246, 242, .82); max-height: 0; opacity: 0; overflow: hidden; transition: opacity .5s var(--ease), max-height .6s var(--ease); }
.st-card.is-active .st-card__text { max-height: 9em; opacity: 1; }
.st-arrows { display: flex; gap: .4rem; }
.st-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(248, 246, 242, .35); background: transparent; color: inherit; font-size: 1.1rem; cursor: pointer; transition: background-color .3s, border-color .3s; }
.st-arrow:hover, .st-arrow:focus-visible { background: rgba(248, 246, 242, .12); border-color: rgba(248, 246, 242, .7); }

/* Votre projet */
.st-form {
  grid-column: 1; grid-row: 1 / span 3; align-self: center; max-width: 34rem;
  background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  padding: clamp(1.4rem, 3vw, 2.6rem); box-shadow: 0 30px 80px -40px rgba(26, 24, 22, .45);
}
.st-form .st-title { font-size: clamp(2rem, 3.6vw, 3.4rem); margin: .3rem 0 0; }
.st-chips { list-style: none; margin: 1.4rem 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.st-chip { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1.05rem; border: 1px solid var(--trait); border-radius: 999px; background: #fff; text-decoration: none; font-size: .95rem; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease-out); }
.st-chip:hover, .st-chip:focus-visible { background: var(--vert-fonce); border-color: var(--vert-fonce); color: #fff; transform: translateY(-2px); }
.st-form__note { margin: 0 0 1.3rem; color: var(--pierre); font-size: .95rem; }

/* Navigation, progression, indication */
.story__nav, .story__bar, .story__hint { display: none; }
.story__note { position: absolute; right: var(--gutter); bottom: 1rem; z-index: 4; font-size: .72rem; opacity: .65; color: var(--platre); }
.story--live .story__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.story--live .st-scene { position: absolute; inset: 0; min-height: 0; }
.story--live .st-scene.is-off { visibility: hidden; }
.story--live .story__nav { display: flex; position: absolute; z-index: 5; right: var(--gutter); top: 50%; transform: translateY(-50%); flex-direction: column; gap: .85rem; color: var(--ebene); transition: color .6s; }
.story--live[data-tone="dark"] .story__nav { color: var(--platre); }
.story--live[data-tone="light"] .story__note { color: var(--ebene); }
.story__dot { position: relative; display: block; width: 12px; height: 12px; border: 1.5px solid currentColor; border-radius: 50%; opacity: .55; transition: opacity .3s, background-color .3s, transform .3s var(--ease-out); }
.story__dot::after { content: ''; position: absolute; inset: -16px; }
.story__dot span { position: absolute; right: 22px; top: 50%; transform: translate(6px, -50%); white-space: nowrap; font-size: .8rem; letter-spacing: .04em; opacity: 0; transition: opacity .3s, transform .3s var(--ease-out); pointer-events: none; }
.story__dot:hover, .story__dot:focus-visible, .story__dot[aria-current] { opacity: 1; }
.story__dot[aria-current] { background: currentColor; transform: scale(1.15); }
.story__dot:hover span, .story__dot:focus-visible span, .story__dot[aria-current] span { opacity: 1; transform: translate(0, -50%); }
.story--live .story__bar { display: block; position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(127, 127, 127, .2); }
.story__bar span { display: block; height: 100%; background: var(--vert); transform: scaleX(0); transform-origin: 0 50%; }
.story--live .story__hint { display: flex; align-items: center; gap: .7rem; position: absolute; z-index: 5; left: var(--gutter); bottom: 1.4rem; margin: 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--platre); opacity: .85; transition: opacity .5s; }
.story--live.is-started .story__hint { opacity: 0; }
.story__mouse { width: 20px; height: 32px; border: 1.5px solid currentColor; border-radius: 12px; position: relative; }
.story__mouse::after { content: ''; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: currentColor; animation: story-wheel 1.8s var(--ease) infinite; }
@keyframes story-wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(9px); opacity: 0; } 100% { opacity: 0; } }

/* Sans pilotage (sans JavaScript, mouvement réduit) : scènes empilées, tout visible */
.story:not(.story--live) .st-scene { --in: 0 !important; --out: 0 !important; }

@media (max-width: 760px) {
  .st-copy { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: .5rem; padding-top: calc(var(--header-h) + 1rem); padding-bottom: 2.4rem; }
  .st-side { grid-column: 1; grid-row: auto; padding-top: .4rem; }
  .st-side p { font-size: .98rem; margin-bottom: 1rem; }
  .st-title { font-size: clamp(2.1rem, 9.6vw, 3rem); }
  .st-obj--atelier { --ow: 100vw; }
  .st-obj--kitchen { --ow: 104vw; }
  .st-obj--building { --ow: 86vw; }
  .st-obj--crane, .st-obj--truck { display: none; }
  .st-obj--wardrobe { --ow: 46vw; --ox: 22vw; }
  .st-cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: 1rem; padding-top: 1.6rem; scrollbar-width: none; }
  .st-card { scroll-snap-align: start; min-height: 12.5rem; }
  .st-form { grid-row: auto; align-self: start; }
  .story__dot span { display: none; }
  .story--live .story__nav { gap: .7rem; right: 10px; }
  .story__dot { width: 9px; height: 9px; }
  .story--live .story__hint { display: none; }
}
.intro__grid--solo { grid-template-columns: minmax(0, 1fr); max-width: 60rem; }

/* ---------- Ouverture : vidéo de l'atelier + « BIENVENUE » ---------- */
.st-bg--video { background: #03080a; }
.st-video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.js .st-video__shade { opacity: .45; transition: opacity 1.6s var(--ease); }
.js .story.is-welcome .st-video__shade { opacity: 1; }
.st-video__shade { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(3, 8, 10, .35), rgba(3, 8, 10, .78)), linear-gradient(180deg, rgba(3, 8, 10, .6) 0%, rgba(3, 8, 10, 0) 30%, rgba(3, 8, 10, .55) 100%); }
.st-copy--welcome { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding-top: var(--header-h); }
.st-welcome { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; width: 100%; max-width: 70rem; pointer-events: auto; }
.st-welcome .st-eyebrow { grid-column: auto; max-width: none; }
.st-welcome__title { margin: 0; font-family: var(--sans); font-weight: 800; font-size: clamp(2.5rem, 10.4vw, 11rem); line-height: .92; letter-spacing: .06em; color: #fff; text-shadow: 0 0 34px rgba(45, 255, 116, .35), 0 0 90px rgba(70, 227, 255, .25); }
.st-welcome__word { display: inline-block; white-space: nowrap; }
.stl { display: inline-block; }
.st-welcome__sub { margin: 0; font-family: var(--serif); font-size: clamp(1.2rem, 2.4vw, 2rem); color: rgba(248, 246, 242, .92); max-width: 38ch; }
.st-welcome .st-actions { justify-content: center; margin-top: .4rem; }

/* animation (seulement avec JavaScript ; « mouvement réduit » : affiché d'emblée) */
.js .story .stl { opacity: 0; transform: translate3d(0, .4em, 0) scale(.85); filter: blur(14px); }
.story.is-welcome .stl { animation: welcome-letter 1.15s var(--ease-out) forwards; animation-delay: calc(var(--i) * 75ms); }
@keyframes welcome-letter {
  0% { opacity: 0; transform: translate3d(0, .4em, 0) scale(.85); filter: blur(14px); }
  60% { opacity: 1; text-shadow: 0 0 60px rgba(45, 255, 116, .9); }
  100% { opacity: 1; transform: none; filter: blur(0); }
}
.story.is-welcome .st-welcome__title { animation: welcome-glow 4s ease-in-out 1.6s infinite; }
@keyframes welcome-glow { 50% { text-shadow: 0 0 46px rgba(45, 255, 116, .55), 0 0 120px rgba(70, 227, 255, .35); } }
.js .story .st-welcome > :not(.st-welcome__title) { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .9s var(--ease) 1s, transform .9s var(--ease-out) 1s; }
.js .story.is-welcome .st-welcome > :not(.st-welcome__title) { opacity: 1; transform: none; }
.js .story.is-welcome .st-welcome > .st-eyebrow { transition-delay: .2s; }
.story--live .st-welcome { opacity: calc(1 - var(--out) * 2.2); transform: translate3d(0, calc(var(--out) * -50px), 0) scale(calc(1 - var(--out) * .06)); }
.st-scene--dark .st-welcome .st-eyebrow { color: #7ddc86; }

.st-video-toggle { position: absolute; z-index: 5; right: var(--gutter); bottom: 2.6rem; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(248, 246, 242, .45); background: rgba(3, 8, 10, .35); color: var(--platre); cursor: pointer; display: grid; place-items: center; }
.st-video-toggle:hover, .st-video-toggle:focus-visible { background: rgba(248, 246, 242, .14); }
.st-video-toggle__icon { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.st-video-toggle.is-paused .st-video-toggle__icon { width: 0; height: 0; border-left: 12px solid currentColor; border-right: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
@media (max-width: 760px) {
  .st-copy--welcome { padding-top: calc(var(--header-h) + 1rem); }
  .st-welcome__title { letter-spacing: .03em; }
  .st-video-toggle { bottom: 1.4rem; }
}

/* ---------- Questions fréquentes ---------- */
.faq__group { margin: 2.4rem 0 .8rem; }
.faq__group:first-child { margin-top: 0; }
.faq__item { border-top: 1px solid var(--trait); }
.faq__item:last-of-type { border-bottom: 1px solid var(--trait); }
.faq__item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; font-weight: 600; font-size: 1.05rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; flex: none; font-size: 1.4rem; line-height: 1; color: var(--vert-fonce); transition: transform .3s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:focus-visible { outline: 2px solid var(--vert); outline-offset: 4px; }
.faq__item p { margin: 0 0 1.2rem; max-width: 62ch; color: var(--pierre); }
.faq__cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2.4rem; }

/* ---------- En-tête : recherche et « Ma sélection » ---------- */
.hd-icon { position: relative; flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; text-decoration: none; transition: background-color .25s; }
.hd-icon:hover, .hd-icon:focus-visible { background: rgba(127, 127, 127, .14); }
.hd-icon svg { width: 21px; height: 21px; }
.hd-fav__count { position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--vert-fonce); color: #fff; font-size: .68rem; font-weight: 700; line-height: 17px; text-align: center; }
.site-header__inner { gap: clamp(.6rem, 1.2vw, 1.5rem); }
.site-header__inner > .hd-icon + .hd-icon { margin-left: -.5rem; }

/* ---------- Fenêtre de recherche ---------- */
.search { position: fixed; inset: 0; z-index: 90; background: rgba(13, 17, 16, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: flex; justify-content: center; align-items: flex-start; padding: clamp(1rem, 9vh, 7rem) var(--gutter) 1rem; }
.search[hidden] { display: none !important; }
body.search-open { overflow: hidden; }
.search__panel { width: min(720px, 100%); max-height: calc(100svh - 2rem); display: flex; flex-direction: column; background: var(--platre); color: var(--encre); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); animation: search-in .35s var(--ease-out); }
@keyframes search-in { from { opacity: 0; transform: translateY(-14px) scale(.98); } }
.search__form { display: flex; align-items: center; gap: .7rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--trait); }
.search__form svg { width: 22px; height: 22px; flex: none; color: var(--pierre); }
.search__form input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1.15rem; padding: .5rem 0; color: inherit; }
.search__form input:focus { outline: none; }
.search__panel:focus-within { outline: 2px solid var(--vert); outline-offset: -2px; }
.search__close { flex: none; border: 1px solid var(--trait); background: transparent; border-radius: 4px; padding: .3rem .55rem; font: inherit; font-size: .75rem; color: var(--pierre); cursor: pointer; min-height: 32px; }
.search__status { margin: 0; padding: .8rem 1.1rem 0; font-size: .9rem; color: var(--pierre); }
.search__sugg { border: 1px solid var(--trait); background: #fff; border-radius: 99px; padding: .3rem .8rem; margin: .2rem .1rem; font: inherit; font-size: .88rem; cursor: pointer; min-height: 34px; }
.search__sugg:hover, .search__sugg:focus-visible { border-color: var(--vert-fonce); color: var(--vert-fonce); }
.search__results { list-style: none; margin: 0; padding: .5rem .5rem .8rem; overflow-y: auto; }
.search__hit { display: flex; align-items: center; gap: .9rem; padding: .55rem .6rem; text-decoration: none; border-radius: 4px; }
.search__hit:hover, .search__hit:focus-visible, .search__hit.is-sel { background: rgba(7, 136, 15, .08); }
.search__hit img, .search__swatch, .search__icon { width: 56px; height: 56px; flex: none; object-fit: cover; border-radius: 3px; }
.search__icon { display: grid; place-items: center; background: var(--sable); font-family: var(--serif); font-size: 1.4rem; color: var(--noyer); }
.search__hit > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.search__kind { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--vert-fonce); font-weight: 600; }
.search__title { font-weight: 600; }
.search__desc { font-size: .88rem; color: var(--pierre); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Cœur « Ma sélection » ---------- */
.card, .mcard { position: relative; }
.fav { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(248, 246, 242, .92); color: var(--ebene); cursor: pointer; box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .35); transition: transform .25s var(--ease-out), color .25s, background-color .25s; }
.card > .fav, .mcard > .fav { position: absolute; top: .7rem; right: .7rem; z-index: 3; }
.mcard > .fav { top: .5rem; right: .5rem; width: 38px; height: 38px; }
.fav svg { width: 20px; height: 20px; fill: transparent; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; transition: fill .25s; }
.fav:hover, .fav:focus-visible { transform: scale(1.08); }
.fav[aria-pressed="true"] { color: #c2361f; }
.fav[aria-pressed="true"] svg { fill: currentColor; }
.fav.is-pop svg { animation: fav-pop .45s var(--ease-out); }
@keyframes fav-pop { 40% { transform: scale(1.35); } }
.fav--label { width: auto; height: auto; min-height: 44px; padding: .55rem 1rem; gap: .5rem; grid-auto-flow: column; border-radius: 99px; background: transparent; box-shadow: inset 0 0 0 1px var(--trait); font: inherit; font-size: .92rem; }
.fav--label:hover, .fav--label:focus-visible { transform: none; box-shadow: inset 0 0 0 1px currentColor; }

/* ---------- Page « Ma sélection » ---------- */
.sel { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: .6rem; }
.sel__item { display: flex; align-items: center; gap: 1rem; padding: .7rem; background: #fff; border: 1px solid var(--trait); }
.sel__item img, .sel__swatch { width: 72px; height: 72px; flex: none; object-fit: cover; border-radius: 3px; }
.sel__item > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sel__title { font-weight: 600; font-size: 1.05rem; }
.sel__remove { border: 0; background: transparent; color: var(--pierre); cursor: pointer; font: inherit; font-size: .88rem; min-height: 44px; padding: 0 .6rem; text-decoration: underline; text-underline-offset: .2em; }
.sel__empty { padding: 1.4rem 0; }
.sel__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.4rem; }

/* ---------- Bouton « Demander un devis » compact sur mobile ---------- */
.m-cta { display: none; }
@media (max-width: 760px) {
  .m-cta { display: inline-flex; align-items: center; position: fixed; left: 16px; bottom: 18px; z-index: 39; min-height: 48px; padding: 0 1.2rem; border-radius: 99px; background: var(--vert-fonce); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .35s, transform .35s var(--ease-out); }
  .m-cta.is-visible { opacity: 1; transform: none; pointer-events: auto; }
  .search { padding-top: .6rem; }
  .search__form input { font-size: 1rem; }
}
@media (max-width: 420px) {
  .hd-icon { width: 36px; height: 36px; }
  .site-header__inner > .lang-switch a { min-width: 28px; }
}
@media print { .fav, .m-cta, .hd-icon { display: none !important; } }
/* En-tête : version resserrée entre la tablette et les grands écrans (place pour la recherche et la sélection) */
@media (min-width: 1100px) {
  .nav__list { gap: clamp(.7rem, 1.05vw, 1.1rem); }
  .nav__list a { font-size: .9rem; }
  .brand__logo { height: 44px; }
  .site-header__inner > .lang-switch a { min-width: 28px; padding: 0 .15rem; }
  .nav__cta { padding: .5rem .85rem; font-size: .88rem; }
}

/* ---------- Par pièce ---------- */
.rooms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.4rem); }
.room-tile { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; color: #fff; text-decoration: none; background: var(--noyer-fonce); }
.room-tile__media, .room-tile__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.room-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 24, 22, 0) 45%, rgba(26, 24, 22, .78)); }
.room-tile__label { position: absolute; z-index: 1; left: 1.2rem; bottom: 1rem; font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.room-tile:hover img, .room-tile:focus-visible img { transform: scale(1.05); }
.room-tile:focus-visible { outline: 3px solid var(--vert); outline-offset: 3px; }
.room-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; padding-block: 1rem clamp(2rem, 5vw, 3.5rem); }
.room-hero__media { aspect-ratio: 4 / 3; overflow: hidden; }
.room-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.room-tips { list-style: none; counter-reset: tip; margin: 1.4rem 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.room-tips li { counter-increment: tip; padding: 1.4rem 1.3rem; background: #fff; border-top: 3px solid var(--vert-fonce); }
.room-tips li::before { content: '0' counter(tip); display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--vert-fonce); margin-bottom: .4rem; }
.room-tips h3 { margin: 0 0 .4rem; font-size: 1.08rem; font-family: var(--sans); font-weight: 600; }
.room-tips p { margin: 0; color: var(--pierre); font-size: .97rem; }
.room-chips { list-style: none; margin: .8rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 900px) { .rooms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .room-hero { grid-template-columns: 1fr; } .room-hero__media { order: -1; } }
@media (max-width: 560px) { .rooms-grid { grid-template-columns: 1fr; } }

/* ---------- Avis clients ---------- */
.reviews__list { list-style: none; margin: 1.6rem 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 1rem; }
.review { display: flex; flex-direction: column; gap: .7rem; padding: 1.6rem 1.5rem; background: #fff; border: 1px solid var(--trait); }
.review__stars { margin: 0; color: #c98a1a; letter-spacing: .12em; font-size: 1.05rem; }
.review__stars span { color: var(--sable); }
.review__text { margin: 0; flex: 1; }
.review__text p { margin: 0; font-family: var(--serif); font-size: 1.18rem; line-height: 1.5; }
.review__text p::before { content: '« '; } .review__text p::after { content: ' »'; }
.review__who { margin: 0; font-size: .92rem; color: var(--pierre); }
.review__who strong { color: var(--encre); }
.g-head--reviews { margin-top: 3rem; }

/* =====================================================================
   Fond photo du site (diaporama en fondu) + curseur marteau
   ===================================================================== */
html { background: var(--lin); }
body { background: transparent; }
.site-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: var(--lin); }
/* Le contenu passe toujours au-dessus du fond photo (évite un défaut d'affichage de certaines cartes graphiques) */
main, .site-footer { position: relative; z-index: 1; }
.site-bg__slide {
  position: absolute; inset: -4%; background: center / cover no-repeat;
  opacity: 0; animation: bgFade 32s infinite, bgZoom 32s infinite linear;
}
/* Fond : la 1re photo tout de suite, les 3 autres seulement une fois la page affichée (classe ajoutée par site.js) */
.site-bg__slide:nth-child(1) { background-image: url('../img/fond/fond-1.webp'); animation-delay: 0s; }
.site-bg__slide:nth-child(2) { animation-delay: 8s; }
.site-bg__slide:nth-child(3) { animation-delay: 16s; }
.site-bg__slide:nth-child(4) { animation-delay: 24s; background-position: center 70%; }
.bg-ready .site-bg__slide:nth-child(2) { background-image: url('../img/fond/fond-2.webp'); }
.bg-ready .site-bg__slide:nth-child(3) { background-image: url('../img/fond/fond-3.webp'); }
.bg-ready .site-bg__slide:nth-child(4) { background-image: url('../img/fond/fond-4.webp'); }
@media (max-width: 820px) {
  .site-bg__slide:nth-child(1) { background-image: url('../img/fond/fond-1-sm.webp'); }
  .bg-ready .site-bg__slide:nth-child(2) { background-image: url('../img/fond/fond-2-sm.webp'); }
  .bg-ready .site-bg__slide:nth-child(3) { background-image: url('../img/fond/fond-3-sm.webp'); }
  .bg-ready .site-bg__slide:nth-child(4) { background-image: url('../img/fond/fond-4-sm.webp'); }
}
.site-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(238, 233, 225, .55) 0%, rgba(238, 233, 225, .68) 45%, rgba(238, 233, 225, .80) 100%);
}
@keyframes bgFade { 0% { opacity: 0; } 6% { opacity: 1; } 25% { opacity: 1; } 31% { opacity: 0; } 100% { opacity: 0; } }
@keyframes bgZoom { 0% { transform: scale(1); } 31% { transform: scale(1.06); } 100% { transform: scale(1.06); } }
.site-bg__slide:first-child { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .site-bg__slide { animation: none; opacity: 0; }
  .site-bg__slide:first-child { opacity: 1; }
}
/* Les bandes claires laissent voir la photo à travers un léger voile */
.services { background: rgba(248, 246, 242, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.materials-band { background: rgba(226, 217, 203, .66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media print { .site-bg { display: none; } }

/* Curseur marteau : au repos la tête est levée, au clic elle frappe le point visé */
@media (hover: hover) and (pointer: fine) {
  html, html * { cursor: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgdmlld0JveD0iMCAwIDQ4IDQ4Ij48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNi44MCAtNC45Nikgcm90YXRlKC0zOSAyNCA0NSkgdHJhbnNsYXRlKDI0IDQ1KSBzY2FsZSgwLjgpIHRyYW5zbGF0ZSgtMjQgLTQ1KSI+PHJlY3QgeD0iMjEiIHk9IjE2IiB3aWR0aD0iNiIgaGVpZ2h0PSIzMCIgcng9IjIuNiIgZmlsbD0iI2E4NzQzZiIgc3Ryb2tlPSIjMmExYTBlIiBzdHJva2Utd2lkdGg9IjEuNiIvPgo8cGF0aCBkPSJNMjIuNiAyMHYxNSIgc3Ryb2tlPSIjZDZhNTZiIiBzdHJva2Utd2lkdGg9IjEuMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+CjxyZWN0IHg9IjIwLjUiIHk9IjM2IiB3aWR0aD0iNyIgaGVpZ2h0PSIxMCIgcng9IjIuNCIgZmlsbD0iIzNhMjgxYyIgc3Ryb2tlPSIjMWExMjA4IiBzdHJva2Utd2lkdGg9IjEuNCIvPgo8cGF0aCBkPSJNOCA3aDIxbDkgMi41IDQgNS02LTEuNS03IC41djRIOHoiIGZpbGw9IiM4YjkwOTYiIHN0cm9rZT0iIzFkMWYyMiIgc3Ryb2tlLXdpZHRoPSIxLjYiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPHJlY3QgeD0iNCIgeT0iNS41IiB3aWR0aD0iNSIgaGVpZ2h0PSIxMyIgcng9IjEuMiIgZmlsbD0iIzVkNjM2YSIgc3Ryb2tlPSIjMWQxZjIyIiBzdHJva2Utd2lkdGg9IjEuNiIvPgo8cGF0aCBkPSJNMTAgOS41aDE3IiBzdHJva2U9IiNkOWRkZTIiIHN0cm9rZS13aWR0aD0iMS40IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48L2c+PC9zdmc+') 10 38, pointer !important; }
  html.is-hitting, html.is-hitting * { cursor: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgdmlld0JveD0iMCAwIDQ4IDQ4Ij48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNi44MCAtNC45Nikgcm90YXRlKC01NSAyNCA0NSkgdHJhbnNsYXRlKDI0IDQ1KSBzY2FsZSgwLjgpIHRyYW5zbGF0ZSgtMjQgLTQ1KSI+PHJlY3QgeD0iMjEiIHk9IjE2IiB3aWR0aD0iNiIgaGVpZ2h0PSIzMCIgcng9IjIuNiIgZmlsbD0iI2E4NzQzZiIgc3Ryb2tlPSIjMmExYTBlIiBzdHJva2Utd2lkdGg9IjEuNiIvPgo8cGF0aCBkPSJNMjIuNiAyMHYxNSIgc3Ryb2tlPSIjZDZhNTZiIiBzdHJva2Utd2lkdGg9IjEuMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+CjxyZWN0IHg9IjIwLjUiIHk9IjM2IiB3aWR0aD0iNyIgaGVpZ2h0PSIxMCIgcng9IjIuNCIgZmlsbD0iIzNhMjgxYyIgc3Ryb2tlPSIjMWExMjA4IiBzdHJva2Utd2lkdGg9IjEuNCIvPgo8cGF0aCBkPSJNOCA3aDIxbDkgMi41IDQgNS02LTEuNS03IC41djRIOHoiIGZpbGw9IiM4YjkwOTYiIHN0cm9rZT0iIzFkMWYyMiIgc3Ryb2tlLXdpZHRoPSIxLjYiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPHJlY3QgeD0iNCIgeT0iNS41IiB3aWR0aD0iNSIgaGVpZ2h0PSIxMyIgcng9IjEuMiIgZmlsbD0iIzVkNjM2YSIgc3Ryb2tlPSIjMWQxZjIyIiBzdHJva2Utd2lkdGg9IjEuNiIvPgo8cGF0aCBkPSJNMTAgOS41aDE3IiBzdHJva2U9IiNkOWRkZTIiIHN0cm9rZS13aWR0aD0iMS40IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48L2c+PGcgc3Ryb2tlPSIjZjJiMzNkIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PHBhdGggZD0iTTcgMzRsLTMtNCIvPjxwYXRoIGQ9Ik0xNCA0MGw1IDEiLz48cGF0aCBkPSJNNiAzOWwtNCAxIi8+PHBhdGggZD0iTTEzIDM1bDMtNCIvPjwvZz48L3N2Zz4=') 10 38, pointer !important; }
  input:not([type]), input[type='text'], input[type='email'], input[type='tel'], input[type='search'],
  input[type='number'], input[type='url'], input[type='password'], textarea, [contenteditable='true'] { cursor: text !important; }
}
.hit-fx { position: fixed; left: 0; top: 0; width: 0; height: 0; z-index: 9999; pointer-events: none; }
.hit-fx__ring {
  position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%;
  border: 3px solid rgba(143, 106, 66, .85); animation: hitRing .45s var(--ease-out) forwards;
}
.hit-fx__dent {
  position: absolute; left: -5px; top: -3px; width: 10px; height: 6px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(58, 40, 28, .55), rgba(58, 40, 28, 0) 70%);
  animation: hitDent .9s ease-out forwards;
}
.hit-fx__chip {
  position: absolute; left: -2px; top: -1px; width: 7px; height: 3.5px; border-radius: 1px; background: var(--c, #b48a5a); box-shadow: 0 0 0 .5px rgba(26,18,8,.35);
  animation: hitChip .55s cubic-bezier(.2, .7, .4, 1) forwards;
}
@keyframes hitRing { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
@keyframes hitDent { 0% { opacity: 1; transform: scale(.6); } 30% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
@keyframes hitChip {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; }
}

/* =====================================================================
   Pied de page compact (sans redite du menu) + bandeau d'appel clair
   ===================================================================== */
.site-footer { padding-top: 2.4rem; font-size: .92rem; }
.site-footer__grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.6rem 2.5rem; padding-bottom: 1.8rem; align-items: start;
}
.site-footer__brand { margin: 0 0 .5rem; }
.site-footer__brand img { height: 46px; }
.site-footer__grid p.muted { margin: .15rem 0; }
.site-footer__social { margin-top: .9rem; }
.site-footer__social .social__link { width: 34px; height: 34px; }
.site-footer__links { columns: 1; }
.site-footer__links li { padding: .18rem 0; }
.site-footer__contact { gap: .35rem; }
.site-footer__legal { padding-block: 1rem 1.3rem; font-size: .78rem; }
@media (max-width: 1280px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .site-footer { padding-top: 1.8rem; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 1.1rem; padding-bottom: 1.2rem; }
  .site-footer__links { display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; }
  .site-footer__brand img { height: 40px; }
  .site-footer__legal { flex-direction: column; gap: .3rem; }
}

/* Le bandeau « Parlez-nous de votre projet » n'est plus un deuxième bloc noir :
   il redevient une section claire posée sur la photo de fond. */
.cta-band {
  background: rgba(248, 246, 242, .72); color: var(--encre);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--trait);
}
.cta-band::before, .cta-band .dust { display: none; }
.cta-band .h2 { color: var(--ebene); font-size: clamp(1.9rem, 4vw, 3rem); }
.cta-band .lead { color: var(--pierre); }
.cta-band .btn--light { --bg: var(--vert-fonce); --fg: #fff; --hover: rgba(255, 255, 255, .14); }
.cta-band .btn--outline-light { --fg: var(--ebene); --bd: rgba(42, 38, 34, .45); --hover: rgba(42, 38, 34, .08); }

/* =====================================================================
   En-tête : langue en menu déroulant (« Français ▾ ») à droite de la recherche et du cœur
   ===================================================================== */
.lang-dd { position: relative; display: block; flex: none; }
.lang-dd__btn {
  display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; padding: 0 .55rem;
  border: 0; border-radius: 99px; background: transparent; color: inherit; font: inherit; font-size: .92rem; font-weight: 500; white-space: nowrap;
  transition: background-color .25s;
}
.lang-dd__btn:hover, .lang-dd.is-open .lang-dd__btn { background: rgba(127, 127, 127, .14); }
.lang-dd__btn svg { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.lang-dd.is-open .lang-dd__btn svg { transform: rotate(180deg); }
.lang-dd__short { display: none; }
.lang-dd__menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 170px; margin: 0; padding: .35rem; list-style: none;
  background: var(--platre); color: var(--encre); border: 1px solid var(--trait); border-radius: 6px;
  box-shadow: 0 18px 40px -16px rgba(26, 24, 22, .35); animation: ddIn .2s var(--ease-out);
}
@keyframes ddIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.lang-dd__menu a {
  display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border-radius: 4px;
  text-decoration: none; font-size: .93rem; color: inherit; opacity: 1; min-width: 0; min-height: 0; box-shadow: none;
}
.lang-dd__menu a:hover { background: var(--lin); color: inherit; }
.lang-dd__menu a[aria-current='true'] { font-weight: 600; box-shadow: none; }
.lang-dd__menu a[aria-current='true']::after { content: '✓'; margin-left: auto; color: var(--vert-fonce); }
.lang-dd__code { display: inline-grid; place-items: center; width: 26px; height: 20px; border: 1px solid var(--trait); border-radius: 3px; font-size: .68rem; font-weight: 700; letter-spacing: .04em; color: var(--pierre); }
/* Ordre : … menu | recherche | cœur collé | langue | devis */
.site-header__inner > .hd-fav { margin-left: -.55rem; }
.site-header__inner > .lang-dd { margin-left: -.2rem; }
@media (min-width: 1100px) {
  .site-header__inner > .lang-switch.lang-dd a { min-width: 0; padding: .55rem .7rem; }
}
@media (max-width: 1099px) {
  .site-header__inner > .lang-dd { margin-left: auto; }
  .site-header__inner > .lang-dd { margin-left: -.2rem; }
}
@media (max-width: 640px) {
  .lang-dd__full { display: none; }
  .lang-dd__short { display: inline; font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
  .lang-dd__btn { padding: 0 .35rem; gap: .2rem; }
}

/* Avis : message d'attente tant qu'aucun avis n'est publié */
.reviews { background: rgba(248, 246, 242, .55); }
.reviews__empty { margin: 1.4rem 0 .8rem; padding: 1.3rem 1.5rem; max-width: 640px; background: var(--platre); border-left: 2px solid var(--chene); font-family: var(--serif); font-size: 1.15rem; }

/* =====================================================================
   Pied de page selon la maquette : vidéo pub, liens à droite, horaires alignés, bande déroulante
   ===================================================================== */
.site-footer__grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-areas: "brand links" "brand contact";
  gap: 1.4rem clamp(2rem, 6vw, 5rem); align-items: start;
}
.site-footer__grid > div:first-child { grid-area: brand; grid-column: auto; }
.site-footer__grid > nav { grid-area: links; padding-top: 2.2rem; }
.site-footer__grid > .site-footer__contact { grid-area: contact; align-self: end; }
.site-footer__links { display: grid; gap: .1rem; font-size: 1.02rem; }

.site-footer__contact { gap: .6rem; font-size: 1.02rem; }
.ft-hours { display: grid; grid-template-columns: auto auto auto; column-gap: 1.1rem; row-gap: .35rem; justify-content: start; }
.ft-hours__label { grid-column: 1; grid-row: 1 / span 2; }
.ft-hours__day { grid-column: 2; text-align: right; }
.ft-hours__time { grid-column: 3; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Bande déroulante */
.site-footer__legal { align-items: center; flex-wrap: nowrap; gap: 1.2rem 2rem; }
.site-footer__legal > span:first-child { flex: none; }
.ft-ticker {
  position: relative; flex: 1; min-width: 0; overflow: hidden; border: 1px solid rgba(248, 246, 242, .28); border-radius: 3px;
  padding: .6rem 0; color: var(--platre); font-size: .95rem; letter-spacing: .02em;
}
.ft-ticker::before, .ft-ticker::after { content: ''; position: absolute; top: 0; bottom: 0; width: 56px; z-index: 1; pointer-events: none; }
.ft-ticker::before { left: 0; background: linear-gradient(90deg, var(--ebene), rgba(26, 24, 22, 0)); }
.ft-ticker::after { right: 0; background: linear-gradient(270deg, var(--ebene), rgba(26, 24, 22, 0)); }
.ft-ticker__track { display: flex; width: max-content; animation: ftTicker 42s linear infinite; }
.ft-ticker:hover .ft-ticker__track { animation-play-state: paused; }
.ft-ticker__group { display: flex; align-items: center; flex: none; }
.ft-ticker__group span { white-space: nowrap; padding: 0 1.3rem; }
.ft-ticker__group i { width: 7px; height: 7px; background: var(--vert); transform: rotate(45deg); flex: none; }
@keyframes ftTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ft-ticker__track { animation-duration: 120s; } }

@media (max-width: 1280px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .site-footer__grid > :first-child { grid-column: auto; }
}
@media (max-width: 760px) {
  .site-footer__grid { grid-template-columns: 1fr; grid-template-areas: "brand" "links" "contact"; }
  .site-footer__grid > nav { padding-top: 0; }
  .site-footer__links { display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; }
  .site-footer__legal { flex-direction: column; align-items: stretch; flex-wrap: wrap; }
  .site-footer__legal > span:first-child { order: 2; }
}

/* Menu mobile : le flou de l'en-tête empêchait le panneau du menu de s'ouvrir sur toute la hauteur */
@media (max-width: 1099px) {
  .site-header.is-open { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--lin); }
}

/* En-tête complet dès 1100 px (écrans d'ordinateur avec mise à l'échelle Windows 125 % / 150 %) : version resserrée */
@media (min-width: 1100px) and (max-width: 1399px) {
  .site-header__inner { gap: .7rem; }
  .brand__logo { height: 38px; }
  .is-scrolled .brand__logo { height: 34px; }
  .nav__list { gap: .75rem; }
  .nav__list a { font-size: .84rem; }
  .hd-icon { width: 34px; height: 34px; }
  .hd-icon svg { width: 19px; height: 19px; }
  .lang-dd__btn { font-size: .84rem; padding: 0 .4rem; }
  .nav__cta { padding: .45rem .7rem; font-size: .82rem; min-height: 38px; }
}
@media (min-width: 1100px) and (max-width: 1239px) {
  .lang-dd__full { display: none; }
  .lang-dd__short { display: inline; font-weight: 600; letter-spacing: .04em; }
  .nav__list { gap: .6rem; }
  .nav__list a { font-size: .8rem; }
}
