/* =====================================================================
   Chalet Rondin Concept — feuille de style
   Direction : architecture alpine contemporaine × nature du Verdon.
   Palette inspirée du mélèze de Sibérie : miel ambré, lin, vert sapin,
   noir charbon (clin d'œil au bois brûlé Yakisugi).
   ===================================================================== */

:root {
  /* Couleurs */
  --paper: #FAF7F1;          /* fond principal, blanc cassé */
  --linen: #F2ECE2;          /* lin, sections alternées */
  --sand: #E5D9C6;           /* filets, fonds d'images */
  --honey: #C58A43;          /* miel ambré (décor) */
  --honey-deep: #8A5A22;     /* miel foncé — texte sur fond clair (contraste 5:1) */
  --honey-light: #DDA963;    /* miel clair — texte sur fond sombre (contraste 5,5:1) */
  --fir: #1F3A2E;            /* vert sapin */
  --fir-deep: #15281F;
  --charcoal: #1B1A18;       /* noir charbon */
  --ink: #2A2724;            /* texte courant (contraste 13:1) */
  --muted: #5E5850;          /* texte secondaire (contraste 6:1) */
  --muted-light: rgba(242, 236, 226, .74);
  --line: rgba(27, 26, 24, .14);
  --line-light: rgba(242, 236, 226, .18);
  --log: #E9D3AF;            /* rondins du dessin */

  /* Typographie */
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-display: clamp(2.75rem, 1.35rem + 5.6vw, 7.25rem);
  --fs-h2: clamp(2.35rem, 1.5rem + 3.1vw, 4.6rem);
  --fs-h3: clamp(1.5rem, 1.25rem + .9vw, 2.125rem);
  --fs-statement: clamp(1.65rem, 1.1rem + 2.15vw, 3.15rem);
  --fs-lead: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-small: .875rem;

  /* Espacements */
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --gap: clamp(1rem, 2.2vw, 2rem);
  --section: clamp(5.5rem, 3.5rem + 8vw, 11rem);
  --maxw: 1440px;
  --header-h: 76px;

  /* Mouvement */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* Grain papier très léger, pour la matière */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, address { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: italic; }
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

::selection { background: var(--honey-light); color: var(--charcoal); }
:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: 1rem; z-index: 100;
  padding: .75rem 1rem; background: var(--charcoal); color: var(--paper);
  font-weight: 600; text-decoration: none; transform: translateY(-200%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }

/* ---------- Typographie ---------- */
.h2, .hero__title, .manifesto__statement, .pure__lines, .cta__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-optical-sizing: auto;
  text-wrap: balance;
}
.h2 { font-size: var(--fs-h2); line-height: 1.03; letter-spacing: -.02em; }
.h2 em, .cta__title em, .manifesto__statement em { color: var(--honey-deep); }
p { text-wrap: pretty; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .9rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow__num {
  display: inline-flex; align-items: center; gap: .9rem;
  font-family: var(--font-serif); font-size: 1.05rem; font-style: italic; font-weight: 400;
  letter-spacing: 0; text-transform: none; color: var(--honey-deep);
}
.eyebrow__num::after { content: ""; width: 2.25rem; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--light { color: rgba(250, 247, 241, .82); }
.eyebrow--light .eyebrow__num { color: var(--honey-light); }

/* ---------- Boutons & liens ---------- */
.btn {
  --btn-bg: var(--charcoal); --btn-fg: var(--paper); --btn-hover: var(--fir); --btn-fg-hover: var(--btn-fg); --btn-border: transparent;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 3.25rem; padding: .9rem 1.6rem;
  font-family: var(--font-sans); font-size: .9375rem; font-weight: 600; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-border);
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-hover);
  transform: scaleX(0); transform-origin: right center;
  transition: transform .6s var(--ease-out);
}
.btn:hover, .btn:focus-visible { color: var(--btn-fg-hover); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.btn svg { width: 1.15rem; height: 1.15rem; flex: none; transition: transform .5s var(--ease-out); }
.btn:hover svg[aria-hidden] { transform: translateX(3px); }
.btn--light { --btn-bg: var(--paper); --btn-fg: var(--charcoal); --btn-hover: var(--honey-light); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--paper); --btn-border: rgba(250, 247, 241, .55); --btn-hover: var(--paper); --btn-fg-hover: var(--charcoal); }
.btn--dark { --btn-bg: var(--charcoal); --btn-fg: var(--paper); --btn-hover: var(--fir); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--charcoal); --btn-border: rgba(27, 26, 24, .4); --btn-hover: var(--charcoal); --btn-fg-hover: var(--paper); }
.btn--sm { min-height: 2.75rem; padding: .65rem 1.2rem; font-size: .875rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem;
  padding-block: .4rem;
  font-size: .9375rem; font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .55s var(--ease-out);
}
.link-arrow svg { width: 1.1rem; height: 1.1rem; transition: transform .5s var(--ease-out); }
.link-arrow:hover { background-size: 35% 1px; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 70;
  color: var(--paper);
  transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), transform .6s var(--ease);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: var(--header-h); }
.site-header.is-solid {
  background: rgba(250, 247, 241, .92);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  backdrop-filter: saturate(1.3) blur(14px);
  color: var(--charcoal);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-101%); }
.site-header.is-hidden:focus-within { transform: none; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.brand__mark { width: 34px; height: 34px; }
.brand__name {
  display: flex; flex-direction: column; gap: .32rem;
  font-family: var(--font-serif); font-size: 1.2rem; font-weight: 400; line-height: 1; letter-spacing: -.01em;
}
.brand__sub { font-family: var(--font-sans); font-size: .56rem; font-weight: 600; letter-spacing: .46em; text-transform: uppercase; }

.nav__list { display: flex; gap: clamp(1.1rem, 1.9vw, 2.25rem); }
.nav__list a { position: relative; display: block; padding-block: .5rem; font-size: .9rem; font-weight: 500; text-decoration: none; }
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .25rem; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.site-header__actions { display: flex; align-items: center; gap: 1.25rem; }
.header-phone { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-phone svg { width: 1.05rem; height: 1.05rem; }
.btn--header { --btn-bg: var(--paper); --btn-fg: var(--charcoal); --btn-hover: var(--honey-light); }
.site-header.is-solid .btn--header { --btn-bg: var(--charcoal); --btn-fg: var(--paper); --btn-hover: var(--fir); }

.menu-toggle { display: none; align-items: center; gap: .75rem; min-height: 2.75rem; padding-inline: .25rem; font-size: .875rem; font-weight: 600; }
.menu-toggle__icon { position: relative; width: 26px; height: 12px; }
.menu-toggle__icon i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.menu-toggle__icon i:first-child { top: 1px; }
.menu-toggle__icon i:last-child { top: 9px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child { top: 5px; transform: rotate(-45deg); }

/* Menu mobile plein écran */
.mobile-menu {
  position: fixed; inset: 0; z-index: 65;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem;
  padding: calc(var(--header-h) + 2rem) var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  overflow-y: auto;
  background: var(--fir-deep); color: var(--paper);
  visibility: hidden; opacity: 0;
  transition: opacity .5s var(--ease), visibility 0s linear .5s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transition: opacity .5s var(--ease); }
.mobile-menu__list li { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.mobile-menu.is-open .mobile-menu__list li { opacity: 1; transform: none; transition-delay: calc(var(--i) * 60ms + 100ms); }
.mobile-menu__list a {
  display: flex; align-items: baseline; gap: 1rem; padding-block: .3rem;
  font-family: var(--font-serif); font-size: clamp(2.1rem, 8vw, 3.2rem); font-weight: 300; line-height: 1.2; text-decoration: none;
}
.mobile-menu__list span { font-family: var(--font-sans); font-size: .75rem; font-weight: 600; letter-spacing: .1em; color: var(--honey-light); }
.mobile-menu__foot { display: grid; gap: 1rem; justify-items: start; font-size: .875rem; color: var(--muted-light); }
.mobile-menu__tel { font-family: var(--font-serif); font-size: 1.6rem; color: var(--paper); text-decoration: none; }
html.menu-open { overflow: hidden; }
html.menu-open .site-header { background: transparent; color: var(--paper); box-shadow: none; transform: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.menu-open .btn--header { --btn-bg: var(--paper); --btn-fg: var(--charcoal); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-rows: 1fr auto;
  min-height: 100vh; min-height: 100svh;
  color: var(--paper); background: var(--charcoal);
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.parallax { position: absolute; inset: -11% 0; will-change: transform; }
.hero__media .parallax { inset: -2% 0 -16%; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 46%; }
.js .hero__img { transform: scale(1.08); animation: hero-zoom 2.8s var(--ease-out) .05s forwards; }
@keyframes hero-zoom { to { transform: scale(1); } }
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(17, 16, 14, .5) 0%, rgba(17, 16, 14, 0) 20%, rgba(17, 16, 14, 0) 38%, rgba(17, 16, 14, .5) 68%, rgba(17, 16, 14, .82) 100%),
    linear-gradient(90deg, rgba(17, 16, 14, .38) 0%, rgba(17, 16, 14, 0) 62%);
}
.hero__content { align-self: end; padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(2rem, 6vh, 4rem); }
.hero__eyebrow { margin-bottom: clamp(1.25rem, 3vh, 2rem); }
.hero__title { font-size: var(--fs-display); line-height: .98; letter-spacing: -.028em; max-width: 13ch; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .line > * { display: block; }
.hero__title em { font-weight: 300; }
.hero__lead { max-width: 33rem; margin-top: clamp(1.25rem, 3vh, 2rem); font-size: var(--fs-lead); color: rgba(250, 247, 241, .88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: clamp(1.75rem, 4vh, 2.5rem); }

.hero__foot-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-block: 1.15rem calc(1.15rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(250, 247, 241, .22);
  font-size: .8125rem; color: rgba(250, 247, 241, .78);
}
.scroll-cue { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; letter-spacing: .14em; text-transform: uppercase; font-size: .6875rem; font-weight: 600; }
.scroll-cue i { position: relative; width: 1px; height: 2.25rem; background: rgba(250, 247, 241, .25); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 45%; background: var(--paper); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(240%); } }

/* Entrée du hero */
.js .hero__title .line > * { transform: translateY(108%); animation: line-up 1.5s var(--ease-out) .25s forwards; }
.js .hero__title .line:nth-child(2) > * { animation-delay: .42s; }
@keyframes line-up { to { transform: none; } }
.js .hero__eyebrow, .js .hero__lead, .js .hero__actions, .js .hero__foot { opacity: 0; animation: fade-up 1.3s var(--ease-out) forwards; }
.js .hero__eyebrow { animation-delay: .1s; }
.js .hero__lead { animation-delay: .75s; }
.js .hero__actions { animation-delay: .9s; }
.js .hero__foot { animation-delay: 1.15s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Apparitions au défilement ---------- */
.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 30px, 0);
  transition: opacity 1.1s var(--ease), transform 1.2s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Rideau sur les photos : le découpage porte sur l'image, pas sur le cadre observé */
.js [data-reveal="img"] { opacity: 1; transform: none; background: transparent; }
.js [data-reveal="img"] img {
  clip-path: inset(100% 0 0 0); transform: scale(1.14);
  transition: clip-path 1.5s var(--ease-out), transform 2s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="img"].is-in img { clip-path: inset(0 0 0 0); transform: none; }

/* ---------- Manifeste + chiffres ---------- */
.manifesto { padding-bottom: calc(var(--section) * .55); }
.manifesto__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap); row-gap: clamp(2.5rem, 5vw, 4.5rem);
}
.manifesto__eyebrow { grid-column: 1 / 4; padding-top: 1.1rem; align-self: start; }
.manifesto__statement { grid-column: 4 / 13; font-size: var(--fs-statement); line-height: 1.17; letter-spacing: -.014em; }
.manifesto__figure { grid-column: 1 / 5; grid-row: 2 / 4; align-self: start; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.manifesto__figure img { width: 100%; height: 100%; object-fit: cover; }
.manifesto__body { grid-column: 6 / 11; grid-row: 2; display: grid; gap: 1.5rem; justify-items: start; color: var(--muted); font-size: 1.0625rem; }
.stats { grid-column: 6 / 13; grid-row: 3; align-self: end; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
.stat { display: grid; align-content: start; gap: .6rem; padding-block: 1.6rem 1.9rem; border-top: 1px solid var(--line); }
.stat__value {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: .1em .35rem;
  font-family: var(--font-serif); font-weight: 300; font-size: clamp(2.6rem, 1.8rem + 2.4vw, 4.1rem); line-height: 1; letter-spacing: -.03em; color: var(--charcoal);
}
.stat__value small { font-family: var(--font-sans); font-size: .9rem; font-weight: 600; letter-spacing: .02em; color: var(--honey-deep); }
.stat:last-child .stat__value { font-size: clamp(1.9rem, 1.3rem + 1.7vw, 2.9rem); letter-spacing: -.01em; }
.stat__label { max-width: 17rem; font-size: .875rem; line-height: 1.5; color: var(--muted); }

/* ---------- Le bois ---------- */
.wood__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.wood__media { grid-column: 1 / 7; position: relative; padding-bottom: 14%; margin-top: clamp(0rem, 5vw, 5rem); }
.wood__fig { overflow: hidden; background: var(--sand); }
.wood__fig img { width: 100%; height: 100%; object-fit: cover; }
.wood__fig--main { width: 80%; aspect-ratio: 4 / 5; }
.wood__fig--detail { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 1; outline: clamp(6px, 1vw, 12px) solid var(--paper); }
.wood__content { grid-column: 8 / 13; display: grid; gap: 1.4rem; color: var(--muted); }
.wood__content .h2 { margin-top: .5rem; color: var(--charcoal); }
.wood__content .lead { color: var(--ink); }
.wood__sign { font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; color: var(--honey-deep); }
.wood__props { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; margin-top: 1rem; border-top: 1px solid var(--line); }
.wood__props li { padding-block: 1rem; border-bottom: 1px solid var(--line); font-size: .875rem; line-height: 1.45; }
.wood__props strong { display: block; margin-bottom: .2rem; font-family: var(--font-serif); font-size: 1.15rem; font-weight: 400; color: var(--charcoal); }

/* ---------- Bandeau « Sans » ---------- */
.pure {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(6rem, 4rem + 9vw, 12rem);
  background: var(--charcoal); color: var(--paper);
}
.pure__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.pure__media img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.pure::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(27, 26, 24, .86) 0%, rgba(27, 26, 24, .55) 55%, rgba(27, 26, 24, .35) 100%); }
.pure__lines { display: flex; flex-direction: column; font-size: clamp(2.6rem, 1.2rem + 6.2vw, 8rem); line-height: 1.02; letter-spacing: -.03em; }
.pure__lines span:nth-child(2) { padding-left: .9em; font-style: italic; color: var(--honey-light); }
.pure__lines span:nth-child(3) { padding-left: 1.8em; }
.js .pure__lines span:nth-child(2) { --d: .12s; }
.js .pure__lines span:nth-child(3) { --d: .24s; }
.pure__note { max-width: 27rem; margin: clamp(2.5rem, 5vw, 4rem) 0 0 auto; color: rgba(250, 247, 241, .78); }

/* ---------- Du rêve à la clé : le chalet se construit ---------- */
.build { position: relative; background: var(--linen); }
.build__sticky { padding-block: var(--section); }
.build__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto 1fr;
  column-gap: var(--gap);
}
.build__head { grid-column: 1 / 6; grid-row: 1; display: grid; gap: 1.25rem; align-content: start; }
.build__steps { grid-column: 1 / 6; grid-row: 2; display: grid; gap: 1.75rem; margin-top: clamp(2rem, 4vh, 3rem); }
.build__foot { grid-column: 1 / 6; grid-row: 3; align-self: end; margin-top: 2rem; }
.build__stage { grid-column: 6 / 13; grid-row: 1 / 4; align-self: center; }

.build__step { display: grid; grid-template-columns: auto 1fr; column-gap: 1.1rem; row-gap: .5rem; align-items: baseline; }
.build__num { font-family: var(--font-serif); font-style: italic; font-size: 1.35rem; color: var(--honey-deep); }
.build__step h3 { font-family: var(--font-serif); font-size: var(--fs-h3); font-weight: 300; line-height: 1.1; letter-spacing: -.01em; color: var(--charcoal); }
.build__step p { grid-column: 2; max-width: 28rem; color: var(--muted); }

.build__ticks, .build__track { display: none; }
.build__tick { font-size: .75rem; font-weight: 600; letter-spacing: .08em; font-variant-numeric: tabular-nums; color: rgba(94, 88, 80, .55); transition: color .4s var(--ease); }
.build__tick.is-active { color: var(--honey-deep); }
.build__track { position: relative; height: 1px; margin: .7rem 0 1.75rem; background: var(--line); overflow: hidden; }
.build__bar { position: absolute; inset: 0; background: var(--honey-deep); transform: scaleX(0); transform-origin: left center; }

.build__stage {
  position: relative;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(138, 90, 34, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 90, 34, .07) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
  border: 1px solid var(--line);
}
.build__svg { width: 100%; height: auto; }
.build__status {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .8rem 1.1rem; border-top: 1px solid var(--line); background: var(--paper);
  font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.build__status [data-build-status] { color: var(--honey-deep); text-align: right; }

/* Dessin */
.bd-soft { fill: none; stroke: rgba(42, 39, 36, .34); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.bd-ink { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.bd-fir path { fill: var(--paper); stroke: rgba(42, 39, 36, .5); stroke-width: 1.1; stroke-linejoin: round; stroke-linecap: round; }
.bd-plan { fill: none; stroke: var(--honey-deep); stroke-width: 1.2; stroke-dasharray: 5 6; }
.bd-flag { fill: var(--honey); }
.bd-text { font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; fill: var(--honey-deep); }
.bd-dim { fill: none; stroke: var(--honey-deep); stroke-width: 1; }
.bd-draw { stroke-dasharray: 1 1; }
.bd-stamp { transform-box: fill-box; transform-origin: center; }
.bd-stamp circle { fill: none; stroke: var(--honey-deep); stroke-width: 1.6; }
.bd-stamp .bd-stamp__thin { stroke-width: .8; }
.bd-stamp text { font-family: var(--font-sans); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; fill: var(--honey-deep); }
.bd-plot { fill: var(--sand); stroke: var(--ink); stroke-width: 1.2; }
.bd-log { fill: var(--log); stroke: var(--ink); stroke-width: 1.3; }
.bd-grain { fill: none; stroke: rgba(138, 90, 34, .42); stroke-width: .9; stroke-linecap: round; }
.bd-ends circle { fill: #F3E4C8; stroke: var(--ink); stroke-width: 1.2; }
.bd-ends .bd-ring { fill: none; stroke: var(--honey-deep); stroke-width: .9; }
.bd-open { fill: var(--paper); stroke: var(--ink); stroke-width: 1.4; }
.bd-knob { fill: var(--ink); }
.bd-glass { fill: #E4E9E4; }
.bd-glow { fill: var(--honey-light); fill-opacity: .9; }
.bd-mullion { fill: none; stroke: var(--ink); stroke-width: 1.1; }
.bd-roof { fill: var(--charcoal); }
.bd-smoke { fill: none; stroke: rgba(42, 39, 36, .4); stroke-width: 1.4; stroke-linecap: round; }
.bd-conduit { fill: none; stroke: var(--honey); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0 10; }
.bd-nums text { font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: .04em; fill: var(--honey-deep); text-anchor: end; }
.build.is-done .bd-smoke { animation: smoke 4.2s ease-in-out infinite; }
.build.is-done .bd-smoke + .bd-smoke { animation-delay: 1.8s; }
@keyframes smoke { 0% { transform: translateY(8px); opacity: 0; } 35% { opacity: 1; } 100% { transform: translateY(-16px); opacity: 0; } }

/* Mode « vivant » : la section se fige et le dessin suit le défilement */
.build--live { height: 440vh; }
.build--live .build__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; align-items: center; padding-block: 2rem; overflow: hidden;
}
.build--live .build__grid { width: 100%; }
.build--live .build__steps { grid-template-areas: "step"; }
.build--live .build__step { grid-area: step; opacity: 0; transform: translateY(16px); visibility: hidden; transition: opacity .6s var(--ease), transform .7s var(--ease), visibility 0s linear .6s; }
.build--live .build__step.is-active { opacity: 1; transform: none; visibility: visible; transition: opacity .6s var(--ease) .08s, transform .7s var(--ease) .08s; }
.build--live .build__ticks { display: flex; justify-content: space-between; }
.build--live .build__track { display: block; }
.build--live .build__svg { max-height: calc(100svh - 9rem); }

/* ---------- Avantages ---------- */
.benefits__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.benefits__aside { grid-column: 1 / 6; position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; display: grid; gap: 1.25rem; }
.benefits__fig { margin-top: 1.5rem; overflow: hidden; aspect-ratio: 4 / 5; max-height: 58vh; background: var(--sand); }
.benefits__fig img { width: 100%; height: 100%; object-fit: cover; }
.benefits__list { grid-column: 7 / 13; border-top: 1px solid var(--line); }
.benefit { display: grid; grid-template-columns: 4.25rem 1fr; gap: 1rem; padding-block: clamp(1.75rem, 3vw, 2.6rem); border-bottom: 1px solid var(--line); }
.benefit__num { padding-top: .55rem; font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; color: var(--honey-deep); }
.benefit__title { margin-bottom: .7rem; font-family: var(--font-serif); font-size: var(--fs-h3); font-weight: 300; line-height: 1.1; letter-spacing: -.01em; color: var(--charcoal); transition: color .4s var(--ease); }
.benefit p { max-width: 31rem; color: var(--muted); }
.benefit:hover .benefit__title { color: var(--honey-deep); }

/* ---------- Collection ---------- */
.collection { position: relative; isolation: isolate; background: var(--fir-deep); color: var(--paper); }
.collection .h2 em { color: var(--honey-light); }
.collection__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 1.5rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.collection__head .eyebrow { grid-column: 1 / -1; }
.collection__head .h2 { grid-column: 1 / 8; }
.collection__intro { grid-column: 9 / 13; align-self: end; color: var(--muted-light); }
.collection__list { position: relative; z-index: 2; border-top: 1px solid var(--line-light); }
.model {
  display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) auto 2rem; grid-template-areas: "num name meta arrow";
  align-items: center; column-gap: 1.5rem;
  padding-block: clamp(.9rem, 1.6vw, 1.4rem);
  border-bottom: 1px solid var(--line-light);
  text-decoration: none;
}
.model__num { grid-area: num; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; color: var(--muted-light); font-variant-numeric: tabular-nums; }
.model__name {
  grid-area: name;
  font-family: var(--font-serif); font-weight: 300; font-size: clamp(2.3rem, 1.3rem + 3.9vw, 5.4rem); line-height: 1.02; letter-spacing: -.025em;
  transition: transform .7s var(--ease-out), color .4s var(--ease), opacity .4s var(--ease);
}
.model__meta { grid-area: meta; font-size: .875rem; letter-spacing: .04em; color: var(--muted-light); white-space: nowrap; }
.model__arrow { grid-area: arrow; justify-self: end; width: 1.5rem; height: 1.5rem; opacity: .45; transition: transform .6s var(--ease-out), opacity .4s var(--ease); }
.model__thumb { display: none; grid-area: thumb; width: 64px; aspect-ratio: 1; overflow: hidden; background: rgba(242, 236, 226, .08); }
.model__thumb img { width: 100%; height: 100%; object-fit: cover; }
.model:hover .model__name, .model:focus-visible .model__name { transform: translateX(1.1rem); color: var(--honey-light); font-style: italic; }
.model:hover .model__arrow, .model:focus-visible .model__arrow { opacity: 1; transform: translateX(.3rem); }
@media (hover: hover) {
  .collection__list:hover .model:not(:hover) .model__name { opacity: .4; }
}
.collection__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: clamp(2.5rem, 5vw, 4rem); color: var(--muted-light); }
.collection__preview {
  position: fixed; left: 0; top: 0; z-index: 1;
  width: clamp(220px, 21vw, 330px); aspect-ratio: 4 / 5; overflow: hidden;
  pointer-events: none; opacity: 0; scale: .9;
  transition: opacity .4s var(--ease), scale .7s var(--ease-out);
  will-change: transform;
}
.collection__preview.is-visible { opacity: 1; scale: 1; }
.collection__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: brightness(.82); transition: opacity .5s var(--ease); }
.collection__preview img.is-front { opacity: 1; }
@media (hover: none), (pointer: coarse) { .collection__preview { display: none; } }

/* ---------- Réalisations (mosaïque) ---------- */
.works__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 1.5rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.works__head .eyebrow { grid-column: 1 / -1; }
.works__head .h2 { grid-column: 1 / 7; }
.works__intro { grid-column: 8 / 12; color: var(--muted); }
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(5.5rem, 8.6vw, 9.25rem); gap: clamp(.75rem, 1.4vw, 1.25rem); }
.mosaic__item { position: relative; overflow: hidden; background: var(--sand); }
.mosaic__item--a { grid-column: 1 / 8; grid-row: span 4; }
.mosaic__item--b { grid-column: 8 / 13; grid-row: span 2; }
.mosaic__item--c { grid-column: 8 / 13; grid-row: span 2; }
.mosaic__item--d { grid-column: 1 / 5; grid-row: span 3; }
.mosaic__item--e { grid-column: 5 / 8; grid-row: span 3; }
.mosaic__item--f { grid-column: 8 / 13; grid-row: span 3; }
.mosaic__link { display: block; height: 100%; color: var(--paper); text-decoration: none; }
.mosaic__link img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.mosaic__link:hover img { transform: scale(1.045); }
.mosaic__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  padding: 3rem 1.25rem 1.1rem;
  background: linear-gradient(180deg, transparent, rgba(17, 16, 14, .66));
  font-size: .8125rem; color: rgba(250, 247, 241, .85);
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .6s var(--ease-out);
}
.mosaic__cap strong { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 400; color: var(--paper); }
.mosaic__link:hover .mosaic__cap, .mosaic__link:focus-visible .mosaic__cap { opacity: 1; transform: none; }
.mosaic__link:focus-visible { outline-offset: -3px; }
@media (hover: none) { .mosaic__cap { opacity: 1; transform: none; } }
.works__foot { margin-top: clamp(2rem, 4vw, 3rem); text-align: right; }

/* ---------- Showroom ---------- */
.showroom { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 92vh; padding-block: clamp(5rem, 10vw, 8rem); }
.showroom__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--fir); }
.showroom__media img { width: 100%; height: 100%; object-fit: cover; }
.showroom__inner { display: flex; justify-content: flex-end; }
.showroom__card {
  display: grid; gap: 1.25rem; justify-items: start;
  width: min(100%, 35rem); padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--paper); color: var(--muted);
  box-shadow: 0 40px 90px -50px rgba(17, 16, 14, .55);
}
.showroom__card .h2 { color: var(--charcoal); }
.facts { display: grid; gap: .8rem; width: 100%; padding-block: 1.1rem; border-block: 1px solid var(--line); font-size: .9375rem; color: var(--ink); }
.facts li { display: grid; grid-template-columns: 1.25rem 1fr; gap: .8rem; align-items: start; }
.facts svg { width: 1.2rem; height: 1.2rem; margin-top: .2rem; color: var(--honey-deep); }
.showroom__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: .5rem; color: var(--charcoal); }

/* ---------- Appel à l'action final ---------- */
.cta { background: var(--linen); }
.cta__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 3.5rem; align-items: center; }
.cta__text { grid-column: 1 / 8; display: grid; gap: 1.6rem; justify-items: start; }
.cta__title { font-size: clamp(3rem, 1.6rem + 5vw, 6.5rem); line-height: .98; letter-spacing: -.03em; color: var(--charcoal); }
.cta__text .lead { max-width: 34rem; color: var(--muted); }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.contact-card { grid-column: 9 / 13; padding: clamp(1.75rem, 3vw, 2.5rem); background: var(--paper); border: 1px solid var(--line); }
.contact-card__kicker { margin-bottom: 1.5rem; font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.contact-card__avatar {
  display: grid; place-items: center; width: 4.5rem; height: 4.5rem; margin-bottom: 1.1rem; overflow: hidden;
  border-radius: 50%; background: var(--fir); color: var(--honey-light);
  font-family: var(--font-serif); font-size: 1.45rem; font-style: italic;
}
.contact-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.contact-card__name { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 400; line-height: 1.15; color: var(--charcoal); }
.contact-card__role { margin-top: .2rem; font-size: .875rem; color: var(--muted); }
.contact-card__list { display: grid; gap: .9rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .9375rem; }
.contact-card__list li { display: grid; grid-template-columns: 1.25rem 1fr; gap: .8rem; align-items: start; }
.contact-card__list svg { width: 1.15rem; height: 1.15rem; margin-top: .2rem; color: var(--honey-deep); }
.contact-card__list a { text-decoration: none; overflow-wrap: anywhere; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .5s var(--ease-out); }
.contact-card__list a:hover { background-size: 100% 1px; }

/* ---------- Pied de page ---------- */
.site-footer { overflow: hidden; padding-top: clamp(4rem, 8vw, 7rem); background: var(--charcoal); color: rgba(250, 247, 241, .72); font-size: .9375rem; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.3fr; gap: 3rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
.footer__brand { display: grid; gap: 1.5rem; align-content: start; max-width: 25rem; }
.footer__brand .brand { color: var(--paper); }
.footer__parent a { color: var(--honey-light); }
.footer__title { margin-bottom: 1.25rem; font-family: var(--font-sans); font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--honey-light); }
.footer__col ul { display: grid; gap: .6rem; list-style: none; padding: 0; }
.footer__col a { text-decoration: none; transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: .25em; }
.footer__hours { margin-top: 1rem; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.5rem; border-top: 1px solid var(--line-light); font-size: .8125rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { color: var(--paper); text-decoration: underline; }
.footer__wordmark {
  margin-bottom: -.16em; padding-inline: var(--gutter);
  font-family: var(--font-serif); font-size: clamp(3rem, 9.4vw, 9.5rem); font-weight: 300; line-height: 1; letter-spacing: -.045em;
  white-space: nowrap; text-align: center; color: rgba(250, 247, 241, .07);
  user-select: none;
}

/* ---------- Bouton d'appel collant (mobile) ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; grid-template-columns: 1fr 1.35fr; gap: .5rem;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(250, 247, 241, .94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .55s var(--ease-out);
}
.callbar.is-visible { transform: none; }
.callbar__btn { display: flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3rem; font-size: .9375rem; font-weight: 600; text-decoration: none; }
.callbar__btn svg { width: 1.15rem; height: 1.15rem; }
.callbar__btn--call { background: var(--fir); color: var(--paper); }
.callbar__btn--quote { border: 1px solid rgba(27, 26, 24, .45); color: var(--charcoal); }
html.menu-open .callbar { transform: translateY(110%); }

/* ---------- Visionneuse ---------- */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 4.5rem 1rem; border: 0;
  background: rgba(17, 16, 14, .96); color: var(--paper);
}
.lightbox[open] { display: grid; place-items: center; animation: lb-in .45s var(--ease); }
.lightbox::backdrop { background: rgba(17, 16, 14, .5); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox__fig { display: grid; gap: 1rem; justify-items: center; max-width: min(100%, 1400px); }
.lightbox__fig img { width: auto; max-width: 100%; max-height: calc(100dvh - 11rem); object-fit: contain; }
.lightbox__fig figcaption { font-family: var(--font-serif); font-size: 1.1rem; font-style: italic; color: rgba(250, 247, 241, .82); text-align: center; }
.lightbox__count { position: absolute; left: 1.5rem; top: 1.5rem; font-size: .75rem; font-weight: 600; letter-spacing: .16em; color: rgba(250, 247, 241, .7); }
.lightbox__btn, .lightbox__close {
  position: absolute; display: grid; place-items: center; width: 3.25rem; height: 3.25rem;
  border: 1px solid rgba(250, 247, 241, .3); border-radius: 50%;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.lightbox__btn:hover, .lightbox__close:hover { background: rgba(250, 247, 241, .1); border-color: rgba(250, 247, 241, .7); }
.lightbox__btn svg, .lightbox__close svg { width: 1.3rem; height: 1.3rem; }
.lightbox__prev { left: 1.25rem; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 1.25rem; top: 50%; translate: 0 -50%; }
.lightbox__close { right: 1.25rem; top: 1.1rem; }
html.lightbox-open { overflow: hidden; }

/* ---------- Mode repérage photos (?reperes dans l'adresse) ---------- */
.show-slots [data-slot] { outline: 2px dashed #FF5A1F; outline-offset: -2px; }
.show-slots [data-slot]:not(.hero__media):not(.pure__media):not(.showroom__media) { position: relative; }
.show-slots [data-slot]::after {
  content: attr(data-slot) " · " attr(data-slot-label);
  position: absolute; left: .6rem; top: .6rem; z-index: 6; max-width: calc(100% - 1.2rem);
  padding: .35rem .55rem; background: #FF5A1F; color: #fff;
  font: 600 11px/1.35 var(--font-sans); letter-spacing: .02em; text-transform: none; font-style: normal;
}
.show-slots .hero__media::after, .show-slots .showroom__media::after { top: calc(var(--header-h) + 1rem); }
.show-slots .collection__list li::after { left: auto; right: 4rem; top: 50%; translate: 0 -50%; }
.show-slots .contact-card__avatar::after { left: 5.25rem; top: 1rem; white-space: nowrap; }
.slots-note {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 95; max-width: min(28rem, calc(100% - 2rem));
  padding: .9rem 1.1rem; background: #FF5A1F; color: #fff; font-size: .8125rem; line-height: 1.45;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.slots-note a { color: #fff; font-weight: 600; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1320px) {
  .header-phone { display: none; }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }

  .manifesto__eyebrow, .manifesto__statement, .manifesto__body, .manifesto__figure, .stats { grid-column: 1 / -1; grid-row: auto; }
  .manifesto__eyebrow { padding-top: 0; }
  .manifesto__figure { width: 78%; aspect-ratio: 4 / 4.6; }

  .wood__media, .wood__content { grid-column: 1 / -1; }
  .wood__media { margin-bottom: 3.5rem; }

  .build__head, .build__steps, .build__foot, .build__stage { grid-column: 1 / -1; grid-row: auto; }
  .build__grid { grid-template-rows: none; }
  .build__stage { margin-top: 2rem; order: 0; }
  .build__head { order: -2; }
  .build__stage { order: -1; }
  .build__foot { margin-top: 1.5rem; }

  .benefits__aside, .benefits__list { grid-column: 1 / -1; }
  .benefits__aside { position: static; margin-bottom: 2.5rem; }
  .benefits__fig { max-height: none; aspect-ratio: 16 / 11; }

  .collection__head .h2, .collection__intro { grid-column: 1 / -1; }
  .works__head .h2, .works__intro { grid-column: 1 / -1; }

  .cta__text, .contact-card { grid-column: 1 / -1; }
}

@media (max-width: 900px) and (min-height: 560px) {
  /* Mode vivant sur tablette / mobile : tout tient dans l'écran figé */
  .build--live { height: 400svh; }
  .build--live .build__sticky { padding-block: 1rem; align-items: stretch; }
  .build--live .build__grid { display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
  .build--live .build__head { gap: .5rem; }
  .build--live .build__head .h2 { font-size: clamp(2rem, 7vw, 2.8rem); }
  .build--live .build__stage { margin-top: .25rem; }
  .build--live .build__svg { max-height: 40svh; }
  .build--live .build__steps { margin-top: .25rem; }
  .build--live .build__step p { font-size: .95rem; line-height: 1.5; }
  .build--live .build__foot { margin-top: 0; }
  .build--live .build__foot .link-arrow { display: none; }
  .build--live .build__track { margin-bottom: 0; }
}

@media (max-width: 760px) {
  .btn--header { display: none; }

  /* Hero mobile : la photo occupe le haut de l'écran et se fond dans le noir charbon sous le texte,
     pour que le chalet reste visible */
  .hero__media .parallax {
    inset: -30% 0 25%;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  }
  .hero__img { object-position: 58% 50%; }
  .hero__title { max-width: 11ch; }
  .hero__eyebrow .hide-sm, .hero__lead, .hero__foot { display: none; }
  .hero__content { padding-bottom: calc(1.75rem + env(safe-area-inset-bottom)); }
  .hero__actions .btn { flex: 1 1 auto; }

  .stats { grid-template-columns: 1fr 1fr; }

  .wood__props { grid-template-columns: 1fr; }

  .pure__lines span:nth-child(2) { padding-left: .5em; }
  .pure__lines span:nth-child(3) { padding-left: 1em; }

  .bd-text { font-size: 19px; }
  .bd-stamp text { font-size: 13px; }
  .bd-nums { display: none; }

  .model { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name thumb" "meta thumb"; row-gap: .35rem; }
  .model__num, .model__arrow { display: none; }
  .model__thumb { display: block; }
  .model__meta { font-size: .8125rem; }
  .model:hover .model__name { transform: none; }

  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 31vw; grid-auto-flow: dense; }
  .mosaic__item--a { grid-column: 1 / -1; grid-row: span 2; }
  .mosaic__item--b, .mosaic__item--e, .mosaic__item--f { grid-column: auto; grid-row: span 2; }
  .mosaic__item--c, .mosaic__item--d { grid-column: auto; grid-row: span 1; }
  .mosaic__cap { padding: 2rem .8rem .7rem; flex-direction: column; align-items: flex-start; gap: .1rem; font-size: .75rem; }
  .mosaic__cap strong { font-size: 1rem; }
  .works__foot { text-align: left; }

  .showroom { display: block; min-height: 0; padding: 0 0 var(--section); background: var(--paper); }
  .showroom__media { position: relative; height: 64svh; }
  .showroom__inner { margin-top: -6rem; }
  .showroom__card { box-shadow: 0 30px 60px -40px rgba(17, 16, 14, .45); }

  .callbar { display: grid; }
  .site-footer { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
  .footer__top { grid-template-columns: 1fr; gap: 2.25rem; }

  .lightbox__prev, .lightbox__next { top: auto; bottom: 1.25rem; translate: none; }
  .lightbox__prev { left: calc(50% - 4rem); }
  .lightbox__next { right: calc(50% - 4rem); }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .stat__label { max-width: none; }
  .wood__fig--main { width: 86%; }
}

/* ---------- Mouvement réduit : les déplacements deviennent des fondus ----------
   (le dessin du chalet se construit toujours, en fondu ; ?animations force l'effet complet) */
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) { scroll-behavior: auto; }
  html.js:not(.force-motion) .hero__img { animation: none; transform: none; }
  html.js:not(.force-motion) .hero__title .line > * { transform: none; animation: fade-in 1.2s var(--ease) .2s both; }
  html.js:not(.force-motion) .hero__eyebrow,
  html.js:not(.force-motion) .hero__lead,
  html.js:not(.force-motion) .hero__actions,
  html.js:not(.force-motion) .hero__foot { animation-name: fade-in; }
  html.js:not(.force-motion) [data-reveal] { transform: none; transition: opacity .9s var(--ease); transition-delay: var(--d, 0s); }
  html.js:not(.force-motion) [data-reveal="img"] { opacity: 0; }
  html.js:not(.force-motion) [data-reveal="img"].is-in { opacity: 1; }
  html.js:not(.force-motion) [data-reveal="img"] img { clip-path: none; transform: none; transition: none; }
  html:not(.force-motion) .scroll-cue i::after { animation: none; }
  html:not(.force-motion) .build.is-done .bd-smoke { animation: none; }
  html:not(.force-motion) .build--live .build__step { transform: none; }
  html:not(.force-motion) .mobile-menu__list li { transform: none; }
  html:not(.force-motion) .model:hover .model__name,
  html:not(.force-motion) .model:focus-visible .model__name { transform: none; }
  html:not(.force-motion) .mosaic__link:hover img { transform: none; }
  html:not(.force-motion) .collection__preview { scale: 1; }
}
