/* ==========================================================================
   HDFI — Villas acier · Guadeloupe
   Charte : bleu roi HDFI (carte de visite) + bleu ciel + anthracite des panneaux
   ========================================================================== */
:root {
  --navy-950: #030918;
  --navy-900: #060d24;
  --navy-800: #0b1738;
  --navy-700: #12245a;
  --royal: #1d43a8;
  --royal-deep: #0f2a78;
  --sky: #4d95d6;
  --sky-2: #8cc4ff;
  --ice: #eef3f8;
  --paper: #eeece7;
  --ink: #0b1220;
  --ink-2: #3c4658;
  --steel: #c3ccd4;
  --anth: #121519;
  --anth-2: #1b1f24;
  --foam: #e9be4f;
  --wa: #25d366;
  --wa-deep: #0f8a46;
  --text: #f2f6fb;
  --muted: #9db0cf;

  --f-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --f-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-serif: 'Instrument Serif', Georgia, serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;

  --gutter: clamp(18px, 4vw, 64px);
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--navy-900);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; }
::selection { background: var(--sky); color: var(--navy-900); }

.label {
  margin: 0 0 1.4rem;
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sky);
}
.h2 {
  margin: 0 0 1.4rem;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(3rem, 6.4vw, 6.6rem);
  line-height: .9;
  text-transform: uppercase;
  letter-spacing: -.005em;
}
.h2 em { display: block; font-size: .78em; line-height: 1; color: var(--sky-2); margin-top: .12em; }
.body { margin: 0 0 2rem; max-width: 30rem; font-size: 1.12rem; color: var(--muted); }

/* ---------- Boutons ---------- */
.btn {
  --h: 58px;
  position: relative;
  display: inline-flex; align-items: center; gap: .7rem;
  height: var(--h); padding: 0 1.6rem;
  border-radius: 999px; border: 0;
  font-family: var(--f-body); font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  cursor: pointer; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
  will-change: transform;
}
.btn .ico { width: 22px; height: 22px; flex: none; }
.btn--wa { background: var(--wa); color: #04210f; box-shadow: 0 10px 40px -10px rgba(37, 211, 102, .65); }
.btn--wa:hover { background: #3ee07a; box-shadow: 0 14px 50px -8px rgba(37, 211, 102, .85); }
.btn--ghost { background: rgba(255, 255, 255, .06); color: var(--text); box-shadow: inset 0 0 0 1px rgba(140, 196, 255, .35); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(140, 196, 255, .14); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark .ico { color: var(--wa); }
.btn--dark:hover { background: var(--royal); }
.btn--sm { --h: 44px; padding: 0 1.1rem; font-size: .92rem; }
.btn--sm .ico { width: 19px; height: 19px; }
.btn--xl { --h: 76px; padding: 0 2.3rem; font-size: 1.22rem; }
.btn--xl .ico { width: 26px; height: 26px; }
.ico--down { transform: rotate(90deg); }
.btn span { position: relative; }

/* ---------- Préchargement ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-content: center; gap: 2.2rem;
  background: var(--navy-900);
  background-image:
    linear-gradient(rgba(77, 149, 214, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 149, 214, .08) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center;
}
.loader__plan { width: min(520px, 80vw); overflow: visible; }
.loader__plan .ln { fill: none; stroke: var(--sky-2); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(140, 196, 255, .55)); }
.loader__plan .ln--dim { stroke: var(--sky); stroke-width: 1; opacity: .7; }
.loader__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 2rem; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.loader__brand { font-family: var(--f-display); font-weight: 900; font-size: 1.6rem; letter-spacing: .04em; color: #fff; }
.loader__count b { font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }

/* ---------- Grain & curseur ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
.cursor { position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none; mix-blend-mode: difference; opacity: 0; }
.cursor i { position: absolute; width: 34px; height: 34px; margin: -17px; border-radius: 50%; border: 1.5px solid #fff; transition: transform .35s var(--ease), background .35s; }
.cursor::after { content: ''; position: absolute; width: 4px; height: 4px; margin: -2px; border-radius: 50%; background: #fff; }
.cursor.is-hover i { transform: scale(1.9); background: rgba(255, 255, 255, .9); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 0 var(--gutter);
  transition: background .4s, transform .5s var(--ease);
}
.nav.is-solid { background: rgba(6, 13, 36, .72); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(140, 196, 255, .12); }
.nav.is-light { background: rgba(238, 236, 231, .8); color: var(--ink); box-shadow: 0 1px 0 rgba(11, 18, 32, .08); }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand__mark { width: 34px; height: 34px; color: var(--sky-2); }
.nav.is-light .brand__mark { color: var(--royal); }
.brand__name { font-family: var(--f-display); font-weight: 900; font-size: 1.75rem; letter-spacing: .03em; line-height: 1; }
.brand__full { font-family: var(--f-mono); font-size: .58rem; line-height: 1.25; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-left: .7rem; border-left: 1px solid rgba(140, 196, 255, .3); }
.nav.is-light .brand__full { color: var(--ink-2); }
.nav__links { display: flex; gap: 2.2rem; margin-left: auto; }
.nav__links a { position: relative; font-size: .92rem; font-weight: 500; opacity: .85; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ==========================================================================
   01 · Construction 3D
   ========================================================================== */
.build { position: relative; height: 100vh; height: 100svh; }
.build__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--navy-900); }
.build__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.build__fallback { position: absolute; inset: 0; display: none; }
.build__fallback img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); }
.no-webgl .build__fallback { display: block; }
.build__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 9, 24, .6) 0%, rgba(3, 9, 24, .25) 28%, rgba(3, 9, 24, 0) 48%),
    linear-gradient(0deg, rgba(3, 9, 24, .62) 0%, rgba(3, 9, 24, 0) 32%),
    linear-gradient(180deg, rgba(3, 9, 24, .45) 0%, rgba(3, 9, 24, 0) 14%);
}
.build__tags { position: absolute; inset: 0; pointer-events: none; }
.tag { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity; }
.tag__dot { position: absolute; width: 11px; height: 11px; margin: -5.5px; border-radius: 50%; background: var(--sky-2); box-shadow: 0 0 0 5px rgba(140, 196, 255, .22), 0 0 18px rgba(140, 196, 255, .9); }
.tag__dot::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid rgba(140, 196, 255, .6); animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.tag__line { position: absolute; left: 0; top: 0; width: 62px; height: 1px; background: linear-gradient(90deg, var(--sky-2), rgba(140, 196, 255, .2)); transform-origin: 0 0; transform: rotate(-38deg); }
.tag--left .tag__line { transform: rotate(-142deg); }
.tag--left .tag__txt { left: auto; right: 48px; }
.tag__txt { position: absolute; left: 48px; top: -62px; white-space: nowrap; padding: .45rem .75rem; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(3, 9, 24, .72); border: 1px solid rgba(140, 196, 255, .45); backdrop-filter: blur(6px); }

.hero {
  position: absolute; left: var(--gutter); bottom: clamp(56px, 11vh, 120px);
  max-width: min(60rem, 62vw);
}
.hero__eyebrow { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.6rem; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sky-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37, 211, 102, .2); animation: blink 2.4s infinite; flex: none; }
@keyframes blink { 50% { opacity: .35; } }
.hero__title { margin: 0 0 1.6rem; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(3.2rem, 5.5vw, 7.2rem); line-height: .88; letter-spacing: -.005em; }
.hero__title .line { display: block; white-space: nowrap; }
.hero__serif { display: block; margin-top: .14em; font-size: .4em; line-height: 1; color: var(--sky-2); }
.hero__lead { margin: 0 0 2.2rem; max-width: 31rem; font-size: 1.12rem; color: #c9d6ea; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hud { position: absolute; left: var(--gutter); bottom: clamp(56px, 11vh, 120px); max-width: min(34rem, 52vw); opacity: 0; visibility: hidden; }
.hud__step { display: flex; align-items: baseline; gap: .6rem; margin-bottom: .6rem; }
.hud__num { font-family: var(--f-display); font-weight: 900; font-size: clamp(4rem, 8vw, 8rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--sky-2); }
.hud__of { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .14em; color: var(--muted); }
.hud__title { margin: 0 0 .9rem; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.8rem, 5.6vw, 6rem); line-height: .9; text-shadow: 0 2px 30px rgba(3, 9, 24, .5); }
.hud__text { margin: 0; max-width: 27rem; font-size: 1.08rem; color: #dbe5f3; text-shadow: 0 1px 14px rgba(3, 9, 24, .8); }
.hud .split-line { overflow: hidden; }

.hud-photo { position: absolute; right: calc(var(--gutter) + 150px); bottom: clamp(56px, 11vh, 120px); margin: 0; width: clamp(190px, 17vw, 290px); opacity: 0; visibility: hidden; }
.hud-photo__frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-800); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(140, 196, 255, .35); }
.hud-photo__frame img { width: 100%; height: 100%; object-fit: cover; }
.hud-photo__frame::after { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(255, 255, 255, .35); pointer-events: none; }
.hud-photo figcaption { display: flex; flex-direction: column; gap: .25rem; margin-top: .8rem; }
.hud-photo__tag { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--wa); }
.hud-photo__tag::before { content: '● '; }
.hud-photo__cap { font-size: .88rem; color: #dbe5f3; text-shadow: 0 1px 12px rgba(3, 9, 24, .9); }

.gauge { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; justify-items: end; gap: .5rem; opacity: 0; visibility: hidden; }
.gauge__label { text-shadow: 0 1px 8px rgba(3, 9, 24, .9); font-family: var(--f-mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.gauge__val { text-shadow: 0 2px 16px rgba(3, 9, 24, .7); font-family: var(--f-display); font-weight: 800; font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.gauge__val b { font-weight: 800; }
.gauge__rail { position: relative; width: 2px; height: 34vh; background: rgba(140, 196, 255, .2); margin: .4rem 0; }
.gauge__fill { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; background: linear-gradient(0deg, var(--sky), var(--sky-2)); transform-origin: bottom; transform: scaleY(0); box-shadow: 0 0 14px rgba(140, 196, 255, .8); }
.gauge__steps { position: absolute; right: 14px; top: calc(.62rem + 2.6rem + 1.4rem); height: 34vh; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column-reverse; justify-content: space-between; }
.gauge__steps li { text-shadow: 0 1px 8px rgba(3, 9, 24, .9); font-family: var(--f-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(157, 176, 207, .55); text-align: right; transition: color .4s, transform .4s var(--ease); white-space: nowrap; }
.gauge__steps li.is-done { color: rgba(220, 232, 248, .8); }
.gauge__steps li.is-on { color: #fff; transform: translateX(-6px); }
.gauge__steps li.is-on::after { content: ' —'; color: var(--sky-2); }

.finale { position: absolute; left: 50%; top: calc(var(--nav-h) + 1vh); bottom: clamp(40px, 8vh, 90px); transform: translateX(-50%); width: min(92vw, 60rem); display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center; opacity: 0; visibility: hidden; }
.finale__eyebrow { margin: 0 0 1rem; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #ffd4a8; }
.finale__title { margin: 0; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(3.8rem, 9vw, 9.5rem); line-height: .85; text-shadow: 0 4px 60px rgba(3, 9, 24, .5); }
.finale__title em { display: block; font-size: .5em; color: #ffd4a8; }

.scroll-cue { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: .9rem; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.scroll-cue span { writing-mode: vertical-rl; }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--sky-2), transparent); transform-origin: top; animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.build__note { position: absolute; left: var(--gutter); bottom: 20px; margin: 0; font-family: var(--f-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(157, 176, 207, .7); }

/* ---------- Bandeau ---------- */
.marquee { position: relative; padding: clamp(40px, 7vw, 90px) 0; background: var(--navy-950); overflow: hidden; border-top: 1px solid rgba(140, 196, 255, .1); }
.marquee__row { display: flex; white-space: nowrap; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(4rem, 12.5vw, 13rem); line-height: .92; will-change: transform; }
.marquee__row span { display: inline-block; padding-right: .3em; }
.marquee__row i { font-style: normal; color: var(--royal); font-size: .5em; vertical-align: .35em; padding: 0 .25em; }
.marquee__row--outline { color: transparent; -webkit-text-stroke: 1.5px var(--sky); }
.marquee__row--outline i { color: var(--sky); -webkit-text-stroke: 0; }

/* ==========================================================================
   02 · Le vrai chantier
   ========================================================================== */
.chantier { position: relative; background: var(--paper); color: var(--ink); }
.chantier__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.chantier__pin::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(29, 67, 168, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(29, 67, 168, .07) 1px, transparent 1px);
  background-size: 48px 48px;
}
.chantier__track { position: relative; display: flex; align-items: center; gap: clamp(40px, 6vw, 110px); padding: var(--nav-h) var(--gutter) 0; width: max-content; will-change: transform; }
.chantier .label { color: var(--royal); }
.chantier .h2 em { color: var(--royal); }
.chantier .body { color: var(--ink-2); }
.chantier__intro { width: min(32rem, 84vw); flex: none; }
.chantier__hint { display: inline-flex; align-items: center; gap: .6rem; margin: 0; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--royal); }
.chantier__hint .ico { width: 20px; height: 20px; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }

.shot { position: relative; flex: none; margin: 0; transform: translateY(-4vh); }
.shot--low { transform: translateY(7vh); }
.shot__frame { position: relative; height: min(56vh, 520px); aspect-ratio: 4 / 3; overflow: hidden; background: #d9d6cf; box-shadow: 0 40px 70px -40px rgba(11, 18, 32, .55); }
.shot--low .shot__frame { height: min(44vh, 420px); }
.shot--big .shot__frame { height: min(66vh, 620px); }
.shot__frame img { position: absolute; inset: 0 -12%; width: 124%; max-width: none; height: 100%; object-fit: cover; will-change: transform; }
.shot__n { position: absolute; left: -.08em; top: -.62em; z-index: 2; font-family: var(--f-display); font-weight: 900; font-size: clamp(5rem, 9vw, 9rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--royal); pointer-events: none; }
.shot figcaption { display: flex; align-items: baseline; gap: 1rem; margin-top: 1rem; }
.shot figcaption b { font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; text-transform: uppercase; letter-spacing: .01em; }
.shot figcaption span { font-size: .95rem; color: var(--ink-2); }
.chantier__end { flex: none; width: min(30rem, 80vw); padding-right: 8vw; }
.chantier__big { margin: 0 0 2rem; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.8rem, 5vw, 5rem); line-height: .92; text-transform: uppercase; }
.chantier__big em { display: block; color: var(--royal); font-size: .82em; }
.chantier__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px; height: 2px; background: rgba(11, 18, 32, .1); }
.chantier__progress i { position: absolute; inset: 0; background: var(--royal); transform-origin: left; transform: scaleX(0); }

/* ==========================================================================
   En vidéo (Sun Voltaïk Energy)
   ========================================================================== */
.film { position: relative; padding: clamp(80px, 14vh, 160px) var(--gutter) clamp(80px, 14vh, 160px); background: var(--navy-950); overflow: hidden; }
.film::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 50% 70%, rgba(233, 190, 79, .12), transparent 70%); }
.film__head { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 4vw; margin-bottom: clamp(36px, 6vh, 70px); }
.film .label { color: var(--foam); }
.film .h2 { margin: 0; }
.film .h2 em { color: var(--foam); }
.film .body { margin: 0; color: var(--muted); }
.film__frame { position: relative; aspect-ratio: 16 / 9; margin: 0 calc(var(--gutter) * -1); background: #000; overflow: hidden; will-change: clip-path; }
.film__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film__play { position: absolute; inset: 0; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: #fff; }
.film__play img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.film__play::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3, 9, 24, .75) 0%, rgba(3, 9, 24, .1) 45%, rgba(3, 9, 24, .25) 100%); transition: background .5s; }
.film__play:hover::after { background: linear-gradient(0deg, rgba(3, 9, 24, .6) 0%, rgba(3, 9, 24, 0) 45%, rgba(3, 9, 24, .1) 100%); }
.film__btn { position: absolute; left: 50%; top: 50%; z-index: 2; display: grid; place-items: center; width: clamp(78px, 9vw, 120px); aspect-ratio: 1; border-radius: 50%; background: var(--foam); color: var(--ink); transform: translate(-50%, -50%); box-shadow: 0 0 0 14px rgba(233, 190, 79, .18), 0 30px 60px -20px rgba(0, 0, 0, .7); transition: transform .5s var(--ease), box-shadow .5s; }
.film__btn svg { width: 36%; height: 36%; margin-left: 8%; }
.film__btn::after { content: ''; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(233, 190, 79, .6); animation: ping 2.2s var(--ease) infinite; }
.film__play:hover .film__btn { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 0 22px rgba(233, 190, 79, .22), 0 30px 60px -20px rgba(0, 0, 0, .7); }
.film__cap { position: absolute; left: var(--gutter); bottom: clamp(20px, 4vh, 44px); z-index: 2; display: grid; gap: .3rem; text-align: left; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #dbe5f3; }
.film__cap b { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.6rem); letter-spacing: 0; color: #fff; }

/* ==========================================================================
   03 · La paroi
   ========================================================================== */
.paroi { position: relative; background: var(--anth); overflow: hidden; }
.paroi::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 70% at 25% 55%, rgba(29, 67, 168, .35), transparent 70%); }
.paroi__pin { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 4vw; padding: calc(var(--nav-h) + 3vh) var(--gutter) 6vh; }
.paroi__visual { position: relative; height: min(76vh, 680px); }
.panel3d { position: absolute; inset: 0; perspective: 1600px; display: grid; place-items: center; }
.panel3d__obj { position: relative; width: clamp(200px, 22vw, 320px); height: clamp(300px, 34vw, 470px); transform-style: preserve-3d; transform: rotateX(12deg) rotateY(-38deg); }
.layer { position: absolute; inset: 0; transform-style: preserve-3d; }
.layer--outer { background: repeating-linear-gradient(90deg, #2a2e34 0 22px, #3a3f46 22px 25px, #1d2025 25px 27px, #2a2e34 27px 48px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); transform: translateZ(24px); }
.layer--outer::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .14), transparent 45%); }
.layer--foam { transform: translateZ(0); }
.layer--foam span { position: absolute; inset: 0; background: #e2b545; box-shadow: inset 0 0 0 1px rgba(150, 105, 20, .35); }
.layer--inner { background: linear-gradient(160deg, #ffffff, #dfe4e8); transform: translateZ(-24px); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.layer--stud { transform: translateZ(-60px); display: flex; justify-content: space-between; padding: 0 6%; }
.layer--stud i { width: 16%; height: 112%; margin-top: -6%; background: linear-gradient(90deg, #9aa5af, #e3e9ee 40%, #aeb8c1 70%, #8d98a2); box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.callouts { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.callout { position: absolute; display: flex; align-items: center; gap: .6rem; padding: .3rem .7rem .3rem .3rem; border-radius: 999px; background: rgba(18, 21, 25, .78); backdrop-filter: blur(4px); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #dfe7f2; opacity: 0; }
.callout b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--sky); color: var(--sky-2); font-weight: 500; font-size: .66rem; }
.callout--1 { left: 0; top: 6%; }
.callout--2 { left: 40%; top: 0; }
.callout--3 { right: 0; top: 30%; }
.callout--4 { right: 4%; bottom: 4%; }
.paroi .h2 em { color: var(--foam); }
.paroi .label { color: var(--foam); }
.specs { margin: 0 0 2.4rem; padding: 0; list-style: none; display: grid; gap: 0; }
.specs li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.05rem 0; border-top: 1px solid rgba(255, 255, 255, .1); opacity: .35; transition: opacity .5s var(--ease); }
.specs li.is-on { opacity: 1; }
.specs li > b { font-family: var(--f-mono); font-weight: 500; font-size: .78rem; color: var(--foam); padding-top: .25rem; }
.specs h3 { margin: 0 0 .2rem; font-family: var(--f-display); font-weight: 800; font-size: 1.65rem; text-transform: uppercase; letter-spacing: .01em; line-height: 1; }
.specs p { margin: 0; color: var(--muted); font-size: 1rem; }
.stats { display: flex; gap: clamp(2rem, 5vw, 4.5rem); }
.stat { display: flex; flex-wrap: wrap; align-items: flex-start; }
.stat__num { font-family: var(--f-display); font-weight: 900; font-size: clamp(4rem, 7vw, 6.5rem); line-height: .85; font-variant-numeric: tabular-nums; }
.stat__unit { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1; color: var(--foam); margin-left: .15em; }
.stat p { flex-basis: 100%; margin: .6rem 0 0; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ==========================================================================
   04 · Sur mesure (planche à dessin)
   ========================================================================== */
.mesure {
  position: relative; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 4vw;
  min-height: 100vh; padding: calc(var(--nav-h) + 6vh) var(--gutter) 10vh;
  background-color: var(--royal-deep);
  background-image:
    linear-gradient(rgba(140, 196, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 196, 255, .12) 1px, transparent 1px),
    linear-gradient(rgba(140, 196, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 196, 255, .05) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  overflow: hidden;
}
.mesure .label { color: var(--sky-2); }
.mesure .body { color: #c3d4ee; }
.mesure__board { position: relative; height: min(78vh, 680px); }
.mesure__plan { position: absolute; inset: 6% 2% 6% 4%; width: 94%; height: 88%; object-fit: contain; filter: invert(1) sepia(1) saturate(4) hue-rotate(175deg) brightness(1.15); mix-blend-mode: screen; opacity: .45; }
.print { position: absolute; margin: 0; width: 47%; padding: 8px 8px 34px; background: #f7f7f4; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); will-change: transform; }
.print img { width: 100%; aspect-ratio: 541 / 295; object-fit: cover; }
.print figcaption { position: absolute; left: 10px; bottom: 9px; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: #445066; }
.print--1 { left: 0; top: 4%; }
.print--2 { right: 0; top: 10%; }
.print--3 { left: 4%; bottom: 8%; }
.print--4 { right: 3%; bottom: 2%; }

/* ==========================================================================
   05 · Appel final
   ========================================================================== */
.cta { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: end; overflow: hidden; }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 40%; will-change: transform; }
.cta__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 9, 24, .2) 0%, rgba(3, 9, 24, .38) 45%, rgba(3, 9, 24, .92) 100%), linear-gradient(90deg, rgba(3, 9, 24, .62), transparent 65%); }
.cta__inner { position: relative; padding: 0 var(--gutter) clamp(60px, 12vh, 140px); max-width: 70rem; }
.cta .label { color: var(--wa); }
.cta__title { margin: 0 0 1.6rem; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(3.6rem, 8.6vw, 9.4rem); line-height: .86; }
.cta__title em { display: block; color: var(--sky-2); font-size: .62em; line-height: 1.05; }
.cta .body { color: #d0dbec; }
.cta__num { margin: 1.4rem 0 0; font-family: var(--f-mono); font-size: .8rem; letter-spacing: .14em; color: var(--muted); }
.cta__num span { color: #fff; }

/* ==========================================================================
   05 · Les prix (catalogue façon carte de prix + terrain à Sainte-Rose)
   ========================================================================== */
.prix { position: relative; padding: calc(var(--nav-h) + 8vh) var(--gutter) clamp(70px, 12vh, 130px); background: #f4f2ed; color: var(--ink); overflow: hidden; }
.prix::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(29, 67, 168, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(29, 67, 168, .05) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(180deg, #000 0%, transparent 70%); }
.prix .label { color: var(--royal); }
.prix .h2 { margin: 0; }
.prix .h2 em { color: var(--royal); }
.prix .body { color: var(--ink-2); margin: 0; }
.prix__head { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 4vw; margin-bottom: clamp(40px, 7vh, 80px); }
.prix__grid { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr); gap: clamp(28px, 4.5vw, 80px); align-items: start; }

.models { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid rgba(11, 18, 32, .14); }
.model {
  position: relative; display: grid; grid-template-columns: 2.6rem 1fr auto; column-gap: 1rem; row-gap: .15rem; align-items: baseline;
  width: 100%; padding: 1.15rem .9rem 1.15rem 0; border: 0; border-top: 1px solid rgba(11, 18, 32, .14); background: none; text-align: left; cursor: pointer;
  transition: background .4s var(--ease), padding .5s var(--ease);
}
.model::before { content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--royal); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.model:hover, .model.is-on { background: rgba(29, 67, 168, .045); }
.model.is-on { padding-left: .9rem; }
.model.is-on::before { transform: scaleX(1); }
.model:focus-visible { outline: 2px solid var(--royal); outline-offset: 2px; }
.model__n { font-family: var(--f-mono); font-size: .72rem; color: var(--royal); }
.model__name { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.9rem, 2.8vw, 2.7rem); line-height: 1; text-transform: uppercase; transition: color .4s; }
.model.is-on .model__name { color: var(--royal); }
.model__price { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.25rem, 1.8vw, 1.7rem); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.model__meta { grid-column: 2 / -1; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #6b7487; }

.showroom { position: sticky; top: calc(var(--nav-h) + 3vh); }
.showroom__stage { position: relative; aspect-ratio: 1400 / 770; overflow: hidden; background: #dcd9d2; box-shadow: 0 50px 80px -50px rgba(11, 18, 32, .6); }
.showroom__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; visibility: hidden; will-change: transform, clip-path; }
.showroom__badge { position: absolute; left: 14px; top: 14px; z-index: 3; padding: .35rem .7rem; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: rgba(11, 18, 32, .6); backdrop-filter: blur(6px); }
.showroom__variants { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: flex; padding: 4px; border-radius: 999px; background: rgba(11, 18, 32, .62); backdrop-filter: blur(8px); }
.showroom__variants[hidden] { display: none; }
.showroom__variants button { padding: .55rem 1rem; border: 0; border-radius: 999px; background: none; color: #dfe7f2; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background .35s, color .35s; }
.showroom__variants button.is-on { background: #fff; color: var(--ink); }
.showroom__info { padding-top: 1.6rem; }
.showroom__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; padding-bottom: 1.2rem; border-bottom: 1px solid rgba(11, 18, 32, .14); }
.showroom__kicker { margin: 0 0 .5rem; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--royal); }
.showroom__name { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(2.6rem, 4.6vw, 4.6rem); line-height: .85; text-transform: uppercase; }
.showroom__price { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(2.2rem, 4vw, 4.2rem); line-height: .85; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--royal); }
.showroom__price small, .lot-card__price small { font-size: .55em; margin-left: .12em; }
.showroom__body { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem 3rem; padding: 1.4rem 0 1.8rem; }
.showroom__surf { display: grid; gap: .9rem; margin: 0; }
.showroom__surf dt, .lot-card__facts dt { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: #6b7487; }
.showroom__surf dd { margin: .15rem 0 0; font-family: var(--f-display); font-weight: 800; font-size: 1.9rem; line-height: 1; }
.showroom__feat { margin: 0; padding: 0; list-style: none; display: grid; gap: .7rem; align-content: start; }
.showroom__feat li { position: relative; padding-left: 1.6rem; color: var(--ink-2); }
.showroom__feat li::before { content: ''; position: absolute; left: 0; top: .55em; width: .8rem; height: .45rem; border-left: 2px solid var(--royal); border-bottom: 2px solid var(--royal); transform: rotate(-45deg) translateY(-50%); }
.prix__note { position: relative; margin: 2.2rem 0 0; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: #7a8294; }

/* ==========================================================================
   06 · Nos projets (terrain + villa)
   ========================================================================== */
.projets { position: relative; padding: clamp(80px, 14vh, 150px) var(--gutter) clamp(70px, 12vh, 130px); background: var(--navy-900); color: var(--text); overflow: hidden; }
.projets::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 50% at 20% 30%, rgba(29, 67, 168, .45), transparent 70%), radial-gradient(40% 40% at 85% 85%, rgba(37, 211, 102, .07), transparent 70%); }
.projets .label { color: var(--wa); }
.projets .body { color: var(--muted); margin: 0; }
.projets__head { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; align-items: end; gap: 4vw; margin-bottom: clamp(36px, 6vh, 64px); }
.projets__head .h2 { margin: 0; }
.projets__head .h2 em { color: var(--sky-2); }
.projets__tabs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(140, 196, 255, .18); margin-bottom: clamp(44px, 8vh, 90px); }
.projet { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; row-gap: .35rem; align-content: start; padding: 1.5rem 1.4rem 1.6rem 0; border: 0; border-right: 1px solid rgba(140, 196, 255, .12); background: none; color: var(--text); text-align: left; cursor: pointer; transition: background .45s var(--ease); }
.projet:last-child { border-right: 0; }
.projet + .projet { padding-left: 1.4rem; }
.projet::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--wa); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.projet:hover { background: rgba(140, 196, 255, .04); }
.projet.is-on::before { transform: scaleX(1); }
.projet:focus-visible { outline: 2px solid var(--wa); outline-offset: -2px; }
.projet__n { grid-row: span 3; font-family: var(--f-mono); font-size: .72rem; color: var(--muted); padding-top: .45rem; }
.projet__name { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.6rem); line-height: .95; text-transform: uppercase; color: rgba(242, 246, 251, .55); transition: color .4s; }
.projet.is-on .projet__name, .projet:hover .projet__name { color: #fff; }
.projet__meta { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.projet__price { font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; color: rgba(37, 211, 102, .7); transition: color .4s; }
.projet.is-on .projet__price { color: var(--wa); }

.terrain { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "intro card" "map map"; gap: clamp(28px, 4vw, 64px) clamp(28px, 5vw, 90px); align-items: end; }
.terrain__intro { grid-area: intro; position: relative; }
.terrain__copy { grid-area: card; position: relative; }
.terrain .body { margin-bottom: 1.8rem; }
.terrain__title { margin: 0 0 1rem; font-family: var(--f-display); font-weight: 900; font-size: clamp(2.8rem, 5vw, 5.4rem); line-height: .88; text-transform: uppercase; }
.terrain__title em { display: block; color: var(--sky-2); font-size: .7em; }
.terrain__title.is-long .terrain__commune { font-size: .72em; }
.terrain__place { display: inline-flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.terrain__place small { padding: .45rem .75rem; border: 1px solid rgba(140, 196, 255, .4); font-family: var(--f-mono); font-size: .7rem; font-weight: 500; letter-spacing: .16em; color: var(--sky-2); white-space: nowrap; }
.terrain__place small[hidden], .lots[hidden], .terrain__views[hidden], .terrain__badge[hidden] { display: none; }

.terrain__map { grid-area: map; position: relative; aspect-ratio: 2400 / 934; max-height: 78vh; overflow: hidden; background: var(--navy-950); box-shadow: 0 0 0 1px rgba(140, 196, 255, .25), 0 50px 90px -40px rgba(0, 0, 0, .8); }
.terrain__stage { position: absolute; inset: 0; }
.terrain__layer { position: absolute; inset: 0; overflow: hidden; will-change: clip-path; }
.terrain__layer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.terrain__pins { position: absolute; inset: 0; pointer-events: none; }
.terrain__views { position: absolute; left: 14px; top: 14px; z-index: 4; display: flex; padding: 4px; border-radius: 999px; background: rgba(3, 9, 24, .72); backdrop-filter: blur(8px); box-shadow: 0 0 0 1px rgba(140, 196, 255, .2); }
.terrain__views button { padding: .55rem 1rem; border: 0; border-radius: 999px; background: none; color: #dfe7f2; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background .35s, color .35s; }
.terrain__views button.is-on { background: #fff; color: var(--ink); }
.terrain__badge { position: absolute; left: 14px; bottom: 14px; z-index: 4; padding: .45rem .8rem; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(3, 9, 24, .72); backdrop-filter: blur(6px); box-shadow: 0 0 0 1px rgba(140, 196, 255, .25); }

.pin { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: .55rem; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; }
.pin--left { flex-direction: row-reverse; }
.pin i { position: relative; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .25); flex: none; }
.pin.is-on i { background: var(--wa); box-shadow: 0 0 0 6px rgba(37, 211, 102, .3); }
.pin.is-on i::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--wa); animation: ping 1.8s var(--ease) infinite; }
.pin span { display: grid; padding: .4rem .7rem; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(3, 9, 24, .78); backdrop-filter: blur(6px); white-space: nowrap; text-align: left; }
.pin span small { font-family: var(--f-display); font-size: 1.05rem; font-weight: 800; letter-spacing: 0; text-transform: none; }
.pin.is-on span { background: var(--wa); color: #04210f; }

/* Plan des lots dessiné (façon plan d'architecte) */
.terrain__layer--plan { background: radial-gradient(80% 90% at 40% 50%, #0d1d47, var(--navy-950)); }
.terrain__scroll { position: absolute; inset: 0; overflow: hidden; }
.plan { display: block; width: 100%; height: 100%; }
.plan__route { stroke: rgba(140, 196, 255, .35); stroke-width: 2; }
.plan__route--dash { stroke-dasharray: 14 12; stroke: rgba(140, 196, 255, .22); }
.plan__parcel { fill: rgba(140, 196, 255, .04); stroke: #8cc4ff; stroke-width: 2.5; stroke-linejoin: round; }
.plan__voirie { fill: rgba(140, 196, 255, .1); stroke: rgba(140, 196, 255, .45); stroke-width: 1.5; }
.plan__voirietxt { fill: rgba(220, 232, 248, .7); font-family: var(--f-mono); font-size: 15px; letter-spacing: .3em; text-anchor: middle; }
.plan__lot { cursor: pointer; outline: none; }
.plan__lot polygon { stroke-width: 2; stroke-linejoin: round; transition: fill .45s var(--ease), stroke .45s, stroke-width .45s; }
.plan__lot.is-libre polygon { fill: rgba(37, 211, 102, .12); stroke: rgba(37, 211, 102, .75); }
.plan__lot.is-libre:hover polygon { fill: rgba(37, 211, 102, .22); }
.plan__lot.is-reserve polygon { fill: url(#plan-hatch); stroke: rgba(157, 176, 207, .45); }
.plan__lot.is-reserve:hover polygon { stroke: rgba(220, 232, 248, .8); }
.plan__lot.is-on polygon { stroke-width: 4; }
.plan__lot.is-libre.is-on polygon { fill: rgba(37, 211, 102, .32); stroke: #25d366; filter: drop-shadow(0 0 10px rgba(37, 211, 102, .6)); }
.plan__lot.is-reserve.is-on polygon { stroke: #dfe7f2; }
.plan__lot:focus-visible polygon { stroke: #fff; stroke-width: 4; }
.plan__lot text { text-anchor: middle; pointer-events: none; }
.plan__n { fill: rgba(220, 232, 248, .85); font-family: var(--f-mono); font-size: 16px; letter-spacing: .2em; }
.plan__st { fill: #fff; font-family: var(--f-display); font-weight: 800; font-size: 30px; }
.plan__lot.is-libre .plan__st { fill: #5ef09a; }
.plan__lot.is-reserve .plan__st { fill: rgba(220, 232, 248, .75); font-size: 24px; letter-spacing: .04em; text-transform: uppercase; }
.plan__m2 { fill: rgba(157, 176, 207, .9); font-family: var(--f-mono); font-size: 15px; letter-spacing: .1em; }
.plan__nord circle { fill: rgba(3, 9, 24, .6); stroke: rgba(140, 196, 255, .5); stroke-width: 1.5; }
.plan__nord path { fill: #8cc4ff; }
.plan__nord text { fill: #8cc4ff; font-family: var(--f-mono); font-size: 16px; text-anchor: middle; }

.lots { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: .6rem; }
.lot { display: grid; gap: .25rem; align-content: start; padding: .85rem .9rem; border: 1px solid rgba(140, 196, 255, .25); background: rgba(255, 255, 255, .03); color: var(--text); text-align: left; cursor: pointer; transition: background .4s, border-color .4s, opacity .4s; }
.lot b { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; line-height: 1; }
.lot span { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lot:hover { background: rgba(140, 196, 255, .08); }
.lot.is-reserve { opacity: .55; border-style: dashed; }
.lot.is-reserve:hover, .lot.is-reserve.is-on { opacity: .9; }
.lot.is-on { border-color: var(--wa); background: rgba(37, 211, 102, .1); }
.lot.is-reserve.is-on { border-color: #dfe7f2; background: rgba(255, 255, 255, .06); }
.lot.is-on b { color: var(--wa); }
.lot.is-reserve.is-on b { color: #fff; }
.lot-card__kicker { margin: 0 0 .5rem; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sky-2); }
.lot-card__label { margin: 0 0 .35rem; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lot-card__price { margin: 0 0 1.4rem; font-family: var(--f-display); font-weight: 900; font-size: clamp(3rem, 5.4vw, 5.6rem); line-height: .85; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lot-card__price.is-text { font-size: clamp(2.4rem, 4.2vw, 4.2rem); color: rgba(242, 246, 251, .85); }
.lot-card__facts { display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; margin: 0 0 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(140, 196, 255, .18); }
.lot-card__facts dt { color: var(--muted); }
.lot-card__facts dd { margin: .2rem 0 0; font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; line-height: 1; }
.projets__note { position: relative; margin: 1.6rem 0 0; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(157, 176, 207, .7); }

/* ---------- Pied de page ---------- */
.footer { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 3rem; align-items: center; padding: 42px var(--gutter) 110px; background: var(--navy-950); color: var(--muted); font-size: .88rem; border-top: 1px solid rgba(140, 196, 255, .1); }
.footer__brand { display: flex; align-items: center; gap: .8rem; color: #fff; }
.footer__brand div { display: grid; line-height: 1.2; }
.footer__brand b { font-family: var(--f-display); font-weight: 900; font-size: 1.4rem; letter-spacing: .03em; }
.footer__brand span { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.footer__info { margin: 0; }
.footer__links { margin: 0; display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; }
.footer__links a { color: var(--sky-2); }
.footer__copy { grid-column: 1 / -1; margin: 0; padding-top: 1.4rem; border-top: 1px solid rgba(140, 196, 255, .08); font-size: .78rem; }
.footer__copy a { color: var(--sky-2); }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Bulle WhatsApp ---------- */
.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.wa-bubble { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 14px 34px -8px rgba(18, 140, 75, .7); transform: scale(0); transition: box-shadow .3s; }
.wa-bubble svg { width: 33px; height: 33px; position: relative; z-index: 1; }
.wa-bubble::before, .wa-bubble::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.6s var(--ease) infinite; }
.wa-bubble::after { animation-delay: 1.3s; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.75); opacity: 0; } }
.wa-bubble:hover { box-shadow: 0 18px 44px -6px rgba(18, 140, 75, .95); }
.wa-bubble__badge { position: absolute; top: -2px; right: -2px; z-index: 2; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #ff3b30; color: #fff; font-size: .72rem; font-weight: 600; border: 2px solid var(--navy-900); transform: scale(0); transition: transform .4s var(--ease); }
.wa-float.has-msg .wa-bubble__badge { transform: scale(1); }
.wa-card { width: min(320px, calc(100vw - 36px)); border-radius: 18px; overflow: hidden; background: #fff; color: #111b21; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .55); transform-origin: bottom right; opacity: 0; transform: translateY(16px) scale(.92); pointer-events: none; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.wa-float.is-open .wa-card { opacity: 1; transform: none; pointer-events: auto; }
.wa-card__head { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; background: #075e54; color: #fff; }
.wa-card__head div { display: grid; line-height: 1.2; flex: 1; }
.wa-card__head b { font-size: .95rem; }
.wa-card__head span { font-size: .75rem; opacity: .8; }
.wa-card__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--royal); color: #fff; flex: none; }
.wa-card__avatar svg { width: 24px; height: 24px; }
.wa-card__close { width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.2rem; line-height: 1; cursor: pointer; }
.wa-card__body { padding: 1.1rem 1rem 1.2rem; background-color: #efe7dd; background-image: radial-gradient(rgba(0, 0, 0, .05) 1px, transparent 1px); background-size: 14px 14px; }
.wa-msg { position: relative; display: inline-block; max-width: 92%; padding: .65rem .85rem; border-radius: 0 12px 12px 12px; background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); font-size: .93rem; line-height: 1.4; }
.wa-msg::before { content: ''; position: absolute; left: -8px; top: 0; border: 8px solid transparent; border-top-color: #fff; border-right-color: #fff; border-width: 0 8px 10px 0; }
.wa-text { margin: 0; display: none; }
.wa-typing { display: inline-flex; gap: 4px; padding: .3rem .2rem; }
.wa-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa6ac; animation: typing 1.2s infinite; }
.wa-typing i:nth-child(2) { animation-delay: .15s; }
.wa-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.wa-float.is-typed .wa-typing { display: none; }
.wa-float.is-typed .wa-text { display: block; }
.wa-card__cta { display: flex; align-items: center; justify-content: center; gap: .55rem; margin: 0; padding: .95rem 1rem; background: var(--wa); color: #04210f; font-weight: 600; }
.wa-card__cta .ico { width: 20px; height: 20px; }

/* ---------- Mentions légales ---------- */
.legal { width: min(560px, calc(100vw - 32px)); max-height: 80vh; padding: 2rem 2rem 1.4rem; border: 0; border-radius: 16px; background: var(--navy-800); color: var(--text); box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .7); }
.legal::backdrop { background: rgba(3, 9, 24, .7); backdrop-filter: blur(4px); }
.legal h2 { margin: 0 0 1rem; font-family: var(--f-display); font-weight: 800; font-size: 2rem; text-transform: uppercase; }
.legal p { margin: 0 0 .8rem; font-size: .9rem; color: #c9d6ea; }
.legal__close { position: absolute; right: 14px; top: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); font-size: 1.3rem; cursor: pointer; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .brand__full { display: none; }
  .paroi__pin, .mesure { grid-template-columns: 1fr; }
  .paroi__visual { height: 62vh; order: 0; }
  .mesure__board { height: 64vh; }
  .prix__head, .prix__grid, .terrain, .film__head, .projets__head { grid-template-columns: 1fr; }
  .terrain { grid-template-areas: "intro" "map" "card"; align-items: start; }
  .showroom { position: relative; top: 0; }
}
@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; }
  .btn { --h: 52px; padding: 0 1.25rem; }
  .btn--xl { --h: 62px; font-size: 1.05rem; padding: 0 1.5rem; }
  .btn--sm span { display: none; }
  .btn--sm { width: 44px; padding: 0; justify-content: center; }
  .build__scrim { background: linear-gradient(0deg, rgba(3, 9, 24, .92) 0%, rgba(3, 9, 24, .55) 38%, rgba(3, 9, 24, 0) 62%), linear-gradient(180deg, rgba(3, 9, 24, .6) 0%, rgba(3, 9, 24, 0) 16%); }
  .hero { left: var(--gutter); right: var(--gutter); bottom: 92px; max-width: none; }
  .hud { left: var(--gutter); right: 84px; bottom: 40px; max-width: none; }
  .hero__title { font-size: clamp(2.6rem, 12.6vw, 4.6rem); }
  .hero__lead { font-size: 1rem; margin-bottom: 1.6rem; }
  .hero__eyebrow { font-size: .62rem; margin-bottom: 1.1rem; }
  .hud__num { font-size: 3.6rem; }
  .hud__title { font-size: clamp(2.4rem, 12vw, 3.4rem); }
  .hud__text { font-size: .98rem; }
  .hud-photo { right: var(--gutter); left: auto; bottom: auto; top: calc(var(--nav-h) + 12px); width: 38vw; }
  .hud-photo figcaption { display: none; }
  .gauge { right: auto; left: var(--gutter); top: calc(var(--nav-h) + 14px); transform: none; justify-items: start; }
  .gauge__rail, .gauge__steps { display: none; }
  .gauge__val { font-size: 2rem; }
  .finale { top: calc(var(--nav-h) + 2vh); }
  .scroll-cue { display: none; }
  .build__note { left: var(--gutter); right: auto; bottom: 12px; font-size: .52rem; }
  .shot__frame, .shot--low .shot__frame, .shot--big .shot__frame { height: auto; width: 84vw; }
  .shot--low .shot__frame { width: 74vw; }
  .shot--big .shot__frame { width: 88vw; }
  .shot__n { font-size: 4.6rem; }
  .wa-card { width: min(280px, calc(100vw - 36px)); }
  .prix { padding-top: calc(var(--nav-h) + 4vh); }
  .models { display: flex; gap: .5rem; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) .6rem; border: 0; scrollbar-width: none; }
  .models::-webkit-scrollbar { display: none; }
  .models li { flex: none; scroll-snap-align: start; }
  .model { grid-template-columns: auto; padding: .8rem 1rem; border: 1px solid rgba(11, 18, 32, .16); border-radius: 999px; row-gap: .1rem; }
  .model.is-on { padding-left: 1rem; background: var(--ink); color: #fff; border-color: var(--ink); }
  .model.is-on .model__name { color: #fff; }
  .model::before, .model__n, .model__meta { display: none; }
  .model__name { font-size: 1.25rem; }
  .model__price { font-size: .95rem; font-family: var(--f-mono); font-weight: 500; }
  .showroom__top { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .showroom__body { grid-template-columns: 1fr; }
  .showroom__surf { grid-template-columns: 1fr 1fr; }
  .showroom__cta { width: 100%; justify-content: center; }
  .lots { gap: .4rem; }
  .projets__tabs { grid-template-columns: 1fr; border-top: 0; }
  .projet, .projet + .projet { padding: 1rem 0; border-right: 0; border-top: 1px solid rgba(140, 196, 255, .14); row-gap: .25rem; }
  .projet__name { font-size: 1.45rem; }
  .projet__price { font-size: 1.05rem; }
  .terrain__layer--plan .terrain__scroll { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .terrain__layer--plan .terrain__scroll::-webkit-scrollbar { display: none; }
  .terrain__layer--plan .plan { width: 220%; }
  .terrain__views button { padding: .45rem .7rem; font-size: .58rem; }
  .terrain__badge { font-size: .56rem; }
  .lot { padding: .7rem .6rem; }
  .lot span { display: none; }
  .lot { padding: .65rem .3rem; text-align: center; }
  .lot b { font-size: 1.05rem; }
  .pin span { display: none; }
  .terrain__map { margin: 0 calc(var(--gutter) * -1); }
  .film__frame { margin: 0 calc(var(--gutter) * -1); }
  .showroom__variants button { padding: .45rem .7rem; font-size: .58rem; }
  .pin.is-on span { display: grid; }
  .lot-card__cta { width: 100%; justify-content: center; }
  .shot figcaption { flex-direction: column; gap: .2rem; }
  .paroi__visual { height: 52vh; }
  .callout { font-size: .58rem; }
  .callout b { width: 24px; height: 24px; }
  .stats { gap: 2.4rem; }
  .print { width: 62%; }
  .print--2 { top: 22%; }
  .print--3 { bottom: 16%; }
  .footer { grid-template-columns: 1fr; }
  .footer__links { align-items: flex-start; }
  .wa-bubble { width: 58px; height: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .wa-bubble::before, .wa-bubble::after, .tag__dot::after, .scroll-cue i { animation: none; }
}
