/* Laya Office - feuille de style unique */

:root {
  --cream: #f6f1ea;
  --paper: #fbf8f3;
  --sand: #e9dfd1;
  --ink: #16130f;
  --espresso: #2a211b;
  --gold: #b08a5c;
  --gold-light: #c9a57a;
  --muted: #6f665c;
  --line: rgba(22, 19, 15, 0.11);
  --line-light: rgba(246, 241, 234, 0.16);
  --ok: #4f7a52;
  --warn: #b07a2a;
  --display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Allura", "Brush Script MT", cursive;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 24px 48px -28px rgba(22, 19, 15, 0.45);
  --shadow-soft: 0 12px 32px -18px rgba(22, 19, 15, 0.25);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 44px);
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.7 var(--body); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 880px; }
.narrow-left { max-width: 760px; }

/* ---------- Typographie ---------- */
.display, .h3, .hero__title, .page-hero__title, .banner__title, .brief__title, .space-card__title, .prof-cat__title { font-family: var(--display); font-weight: 600; letter-spacing: -0.005em; line-height: 1.04; margin: 0 0 0.45em; }
.display { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.display em, .page-hero__title em { font-style: italic; font-weight: 500; color: var(--gold); }
.display--light { color: var(--cream); }
.h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.h4 { font: 700 1.02rem/1.35 var(--body); margin: 0 0 0.4em; }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.18rem); color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.eyebrow--light { color: rgba(246, 241, 234, 0.85); }
.eyebrow--gold { color: var(--gold-light); }
.note { font-size: 0.82rem; color: var(--muted); margin-top: 1.1rem; }

.icon { width: 22px; height: 22px; flex: none; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 34px; height: 34px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 0.94rem; text-decoration: none; cursor: pointer; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.btn .icon { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(4px); }
.btn--primary { background: var(--ink); color: var(--cream); }
.btn--primary:hover { background: var(--espresso); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ghost-light { border-color: rgba(246, 241, 234, 0.55); color: var(--cream); }
.btn--ghost-light:hover { background: rgba(246, 241, 234, 0.12); border-color: var(--cream); }
.btn--pill { min-height: 46px; padding: 0 8px 0 22px; background: var(--cream); color: var(--ink); font-size: 0.88rem; }
.btn--pill .icon { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--gold); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.9rem; color: var(--espresso); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover { border-color: currentColor; }
.link-arrow:hover .icon { transform: translateX(3px); }

.btn-round { display: inline-flex; align-items: center; gap: 16px; color: var(--cream); text-decoration: none; font-weight: 600; }
.btn-round__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--cream); color: var(--ink); transition: transform 0.35s var(--ease), background 0.25s; }
.btn-round__icon .icon { width: 22px; height: 22px; }
.btn-round:hover .btn-round__icon { transform: rotate(-45deg); background: var(--gold-light); }
.btn-round__icon--lg { width: 84px; height: 84px; }

/* ---------- En-tête ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--cream); transition: color 0.35s; }
/* Fond flouté porté par un pseudo-élément : un backdrop-filter sur l'en-tête lui-même
   en ferait le bloc conteneur du menu mobile (position: fixed), qui s'écraserait à 72 px. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(251, 248, 243, 0.94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 10px 30px -24px rgba(0, 0, 0, 0.5); opacity: 0; transition: opacity 0.35s; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; transition: height 0.35s; }
.site-header.is-scrolled, body.nav-open .site-header { color: var(--ink); }
.site-header.is-scrolled::before, body.nav-open .site-header::before { opacity: 1; }
.site-header.is-scrolled .site-header__inner { height: 70px; }
.logo { display: block; flex: none; width: clamp(150px, 15vw, 186px); }
.logo img { width: 100%; height: auto; }
.logo__dark { display: none; }
.is-scrolled .logo__light, body.nav-open .logo__light { display: none; }
.is-scrolled .logo__dark, body.nav-open .logo__dark { display: block; }
.logo--footer .logo__light { display: block; }
.logo--footer .logo__dark { display: none; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav__list { display: flex; align-items: center; gap: 2px; }
.main-nav__list > li > a, .main-nav__list > li > button { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border: 0; background: none; font-size: 0.92rem; font-weight: 500; text-decoration: none; cursor: pointer; }
.main-nav__list > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.main-nav__list > li > a:hover::after, .main-nav__list > li > a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav__actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: grid; place-items: center; width: 42px; height: 42px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-decoration: none; border: 1px solid currentColor; border-radius: 50%; opacity: 0.85; }
.lang-switch:hover { opacity: 1; }
.is-scrolled .btn--pill { background: var(--ink); color: var(--cream); }

.has-mega { position: relative; }
.mega { position: absolute; left: 50%; top: calc(100% + 14px); transform: translate(-50%, 8px); width: min(900px, 92vw); padding: 30px; background: var(--paper); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s; }
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-bottom: 20px; }
.mega__title { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.mega li a { display: flex; align-items: center; gap: 10px; padding: 6px 0; text-decoration: none; font-size: 0.92rem; }
.mega li a .icon { color: var(--gold); }
.mega li a:hover { color: var(--gold); }
.has-mega button .icon { transition: transform 0.25s; }
.has-mega.is-open button .icon { transform: rotate(180deg); }

.burger { display: none; width: 46px; height: 46px; border: 1px solid currentColor; border-radius: 50%; background: none; cursor: pointer; position: relative; color: inherit; }
.burger span:not(.sr-only) { position: absolute; left: 13px; right: 13px; height: 1.6px; background: currentColor; transition: transform 0.25s, top 0.25s; }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1060px) {
  .burger { display: block; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 0; padding: 8px var(--gutter) 28px; background: var(--paper); color: var(--ink); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s, transform 0.25s, visibility 0.25s; }
  .is-scrolled .main-nav { top: 70px; }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav__list > li { border-bottom: 1px solid var(--line); }
  .main-nav__list > li > a, .main-nav__list > li > button { width: 100%; justify-content: space-between; padding: 18px 0; font-family: var(--display); font-size: 1.6rem; font-weight: 600; }
  .main-nav__list > li > a::after { display: none; }
  .mega { position: static; transform: none; width: auto; padding: 0 0 18px; box-shadow: none; display: none; opacity: 1; visibility: visible; background: none; }
  .has-mega.is-open .mega { display: block; transform: none; }
  .mega__grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .main-nav__actions { padding-top: 24px; justify-content: space-between; }
  .main-nav .btn--pill { background: var(--ink); color: var(--cream); }
  body.nav-open { overflow: hidden; }
}

/* ---------- Héros accueil ---------- */
.hero { position: relative; min-height: max(640px, 100svh); max-height: 980px; display: flex; color: var(--cream); background: var(--ink); overflow: hidden; isolation: isolate; }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.4s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.hero__slide.is-active img { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(16, 13, 10, 0.86) 0%, rgba(16, 13, 10, 0.55) 45%, rgba(16, 13, 10, 0.12) 75%), linear-gradient(0deg, rgba(16, 13, 10, 0.7) 0%, transparent 35%), linear-gradient(180deg, rgba(16, 13, 10, 0.55) 0%, transparent 22%); }
.hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) + 40px); padding-bottom: 150px; }
.hero__content { max-width: 640px; }
.hero__title { font-size: clamp(3rem, 7vw, 6rem); line-height: 0.98; margin-bottom: 0.4em; }
.hero__title::after { content: ""; display: block; width: 120px; height: 14px; margin-top: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14'%3E%3Cpath d='M2 10C30 2 70 1 118 6M14 12c26-4 52-5 80-3' fill='none' stroke='%23c9a57a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; }
.hero__lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); max-width: 48ch; color: rgba(246, 241, 234, 0.82); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; margin-top: 2.2rem; }
.hero__script { position: absolute; right: var(--gutter); top: 32%; margin: 0; font-family: var(--script); font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1; color: var(--cream); transform: rotate(-8deg); text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4); }
.hero__script::after { content: ""; display: block; width: 70%; height: 2px; margin: 10px 0 0 20%; background: var(--cream); border-radius: 2px; transform: rotate(-4deg); }
.hero__controls { position: absolute; right: var(--gutter); bottom: 150px; display: flex; align-items: center; gap: 16px; }
.hero__dots { display: flex; gap: 4px; }
.hero__dots button { border: 0; background: none; padding: 6px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; color: rgba(246, 241, 234, 0.55); cursor: pointer; }
.hero__dots button[aria-current="true"] { color: var(--cream); }
.hero__progress { position: relative; width: 120px; height: 1px; background: rgba(246, 241, 234, 0.3); overflow: hidden; }
.hero__progress i { position: absolute; inset: 0; background: var(--cream); transform: scaleX(0); transform-origin: left; }
.hero__progress i.is-running { transform: scaleX(1); transition: transform var(--slide-ms, 6500ms) linear; }
.hero__arrow { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(246, 241, 234, 0.4); background: none; color: var(--cream); cursor: pointer; transition: background 0.25s, border-color 0.25s; }
.hero__arrow:hover { background: rgba(246, 241, 234, 0.12); border-color: var(--cream); }
.hero__arrow .icon { width: 18px; height: 18px; }

/* ---------- Intro : atouts + carte « en bref » ---------- */
.intro { position: relative; z-index: 2; background: var(--cream); }
.intro__grid { display: grid; grid-template-columns: 1fr 440px; gap: 48px; align-items: start; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 0; padding: 44px 0; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; padding: 0 24px; border-left: 1px solid var(--line); }
.feature-item:nth-child(odd) { border-left: 0; padding-left: 0; }
.feature-item .icon { width: 30px; height: 30px; color: var(--espresso); flex: none; padding: 5px; border: 1px solid var(--line); border-radius: 50%; box-sizing: content-box; }
.feature-item strong { display: block; font-size: 0.9rem; line-height: 1.3; margin-bottom: 4px; }
.feature-item span { display: block; font-size: 0.8rem; color: var(--muted); line-height: 1.45; }
.brief { margin-top: -120px; padding: 34px 34px 30px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.brief__title { font-size: 2rem; }
.brief > p { color: var(--muted); font-size: 0.92rem; }
.brief__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.brief__stats dt { font-family: var(--display); font-size: 2.3rem; font-weight: 600; line-height: 1; color: var(--gold); }
.brief__stats dd { font-size: 0.74rem; color: var(--muted); margin-top: 6px; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(44px, 6vw, 76px) 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); color: var(--cream); }
.section--dark .lead { color: rgba(246, 241, 234, 0.72); }
.section-head { max-width: 760px; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head p:last-child { color: var(--muted); margin: 0; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.section-head--row .display { margin: 0; }
.headline { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(34px, 5vw, 60px); }
.headline .display { margin: 0; }
.headline__side p { color: var(--muted); margin-bottom: 1rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.split__media--tall img { aspect-ratio: 4 / 5; }
.split__media--plan img { aspect-ratio: auto; object-fit: contain; background: #fff; padding: 14px; }
.split__media figcaption, .plans figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 10px; }

.checklist { display: grid; gap: 12px; margin: 1.4rem 0 1.8rem; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { width: 20px; height: 20px; color: var(--gold); margin-top: 3px; }
.checklist--cols { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); column-gap: 32px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: repeat(2, minmax(200px, 1fr)); gap: 16px; height: clamp(460px, 48vw, 620px); }
.bento__main { position: relative; grid-row: 1 / span 2; border-radius: var(--radius); overflow: hidden; }
.bento__main > img, .bento__tile img { width: 100%; height: 100%; object-fit: cover; }
.bento__card { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 20px 22px; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: var(--radius-sm); }
.bento__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bento__price { margin: 0; font-family: var(--display); font-size: 1.9rem; font-weight: 600; line-height: 1; color: var(--gold); }
.bento__go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: #fff; transition: transform 0.3s var(--ease); }
.bento__go:hover { transform: rotate(45deg); }
.bento__go .icon { width: 18px; height: 18px; }
.bento__addr { margin: 8px 0 14px; font-size: 0.82rem; color: var(--muted); }
.bento__specs { display: flex; border-top: 1px solid var(--line); padding-top: 12px; }
.bento__specs li { flex: 1; text-align: center; border-left: 1px solid var(--line); line-height: 1.3; }
.bento__specs li:first-child { border-left: 0; text-align: left; }
.bento__specs strong { display: block; font-size: 0.95rem; }
.bento__specs span { font-size: 0.74rem; color: var(--muted); }
.bento__tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; }
.bento__tile img { transition: transform 0.8s var(--ease); }
.bento__tile:hover img { transform: scale(1.05); }
.bento__zoom { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--ink); }

/* ---------- Cartes d'espaces ---------- */
.space-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.space-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: var(--shadow-soft); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.space-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.space-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.space-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.space-card:hover .space-card__media img { transform: scale(1.05); }
.tag { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.94); font-size: 0.74rem; font-weight: 600; }
.space-card__body { padding: 20px 22px 22px; }
.space-card__title { font-size: 1.6rem; margin-bottom: 0.2em; }
.space-card__place { display: flex; align-items: center; gap: 6px; font-size: 0.86rem; color: var(--muted); margin-bottom: 14px; }
.space-card__specs { display: flex; flex-wrap: wrap; gap: 8px 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.82rem; }
.space-card__specs li { display: inline-flex; align-items: center; gap: 6px; }
.space-card__specs .icon { color: var(--gold); }

/* ---------- Programme (empilement des niveaux) ---------- */
.stack { display: grid; grid-template-columns: minmax(250px, 330px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.stack__levels { display: grid; gap: 6px; position: sticky; top: 96px; }
.stack__level { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; background: var(--cream); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; text-align: left; font-size: 0.92rem; font-weight: 500; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.25s var(--ease); }
.stack__level em { font-style: normal; font-size: 0.74rem; letter-spacing: 0.08em; color: var(--muted); }
.stack__level:hover { border-color: var(--gold); transform: translateX(4px); }
.stack__level[aria-selected="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.stack__level[aria-selected="true"] em { color: var(--gold-light); }
.stack__level--4 { margin: 0 18px; border-top: 3px solid var(--gold); }
.stack__level--0 { padding-block: 20px; background-image: repeating-linear-gradient(90deg, transparent 0 34px, rgba(176, 138, 92, 0.18) 34px 36px); }
.stack__level--mezz { padding-block: 9px; font-size: 0.85rem; }
.stack__level--b1, .stack__level--b2 { background: var(--sand); border-style: dashed; }
.stack__levels li:nth-child(7) { margin-top: 10px; padding-top: 10px; border-top: 2px solid var(--espresso); }
.stack__panel { display: grid; grid-template-columns: 1fr 220px; gap: 24px 32px; align-items: start; }
.stack__panel > .h3, .stack__panel > p, .stack__panel > .lot-grid { grid-column: 1; }
.stack__plan { grid-column: 2; grid-row: 1 / span 3; display: block; background: #fff; border-radius: var(--radius-sm); padding: 8px; box-shadow: var(--shadow-soft); transition: transform 0.3s var(--ease); }
.stack__plan:hover { transform: scale(1.02); }
.js .stack__panel[data-hidden] { display: none; }
.stack__parking { display: flex; gap: 12px; align-items: center; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--cream); }

/* ---------- Lots ---------- */
.lot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 14px; }
.lot-grid--4 { grid-template-columns: repeat(auto-fill, minmax(225px, 1fr)); }
.lot-card { display: flex; flex-direction: column; gap: 4px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease); }
.lot-card:hover { border-color: var(--gold); box-shadow: var(--shadow-soft); transform: translateY(-3px); }
.lot-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.lot-card__id { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; color: var(--gold); }
.lot-card__title { margin: 0; font-size: 0.84rem; color: var(--muted); }
.lot-card__area { margin: 0; font-family: var(--display); font-size: 2.3rem; font-weight: 600; line-height: 1.1; }
.lot-card__extra { margin: 0 0 12px; font-size: 0.84rem; color: var(--muted); min-height: 1.4em; }
.lot-card .link-arrow { margin-top: auto; align-self: flex-start; }
.lot-mini { padding: 14px 16px; background: var(--cream); border-radius: var(--radius-sm); font-size: 0.9rem; }
.lot-mini strong { display: block; font-size: 0.74rem; letter-spacing: 0.12em; color: var(--gold); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; }
.badge--available { background: rgba(79, 122, 82, 0.12); color: var(--ok); }
.badge--option { background: rgba(176, 122, 42, 0.14); color: var(--warn); }
.badge--sold { background: rgba(22, 19, 15, 0.08); color: var(--muted); text-decoration: line-through; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-size: 0.85rem; font-weight: 500; transition: background 0.2s, color 0.2s; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--gold); color: #fff; border-color: var(--gold); }
.table-wrap { position: relative; overflow-x: auto; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }
.lots-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.lots-table th, .lots-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.lots-table thead th { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.lots-table tbody th { font-weight: 700; letter-spacing: 0.08em; color: var(--gold); }
.lots-table tbody tr:last-child > * { border-bottom: 0; }
.lots-table tbody tr:hover { background: var(--paper); }
.lots-table tr[hidden] { display: none; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 430px)); gap: 32px; justify-content: center; }
.plans a { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; transition: box-shadow 0.25s; }
.plans a:hover { box-shadow: var(--shadow); }
.plans figcaption { text-align: center; font-weight: 600; color: var(--ink); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--cream); border-radius: var(--radius); padding: 30px 28px; }
.feature .icon { width: 30px; height: 30px; color: var(--gold); margin-bottom: 16px; }
.feature p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ---------- Histoire / vidéo ---------- */
.story { display: grid; grid-template-columns: 1fr 1.05fr; background: var(--cream); }
.story__media { position: relative; min-height: 520px; overflow: hidden; }
.story__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story__media::after { content: ""; position: absolute; inset: 0; background: rgba(16, 13, 10, 0.28); }
.play { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 14px; border: 0; background: none; color: #fff; cursor: pointer; font-weight: 600; }
.play__btn { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: rgba(22, 19, 15, 0.75); box-shadow: 0 0 0 0 rgba(246, 241, 234, 0.45); animation: pulse 2.4s infinite; transition: transform 0.3s var(--ease); }
.play:hover .play__btn { transform: scale(1.08); }
.play__btn .icon { width: 26px; height: 26px; margin-left: 4px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(246, 241, 234, 0.45); } 70% { box-shadow: 0 0 0 22px rgba(246, 241, 234, 0); } 100% { box-shadow: 0 0 0 0 rgba(246, 241, 234, 0); } }
.story__body { display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 88px); }
.story__text { max-width: 560px; }
.story .display { font-size: clamp(2rem, 3.4vw, 3rem); }
.story__text p { color: var(--muted); }
.story__text .btn { margin-top: 1rem; }
.story__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 30px; border-top: 1px solid var(--line); max-width: 560px; }
.story__stats div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.story__stats dt { font-family: var(--display); font-size: 2.8rem; font-weight: 600; line-height: 1; }
.story__stats dd { font-size: 0.82rem; color: var(--muted); margin-top: 6px; max-width: 14ch; }

/* ---------- Professions ---------- */
.dark-panel { padding: clamp(32px, 6vw, 72px); border-radius: calc(var(--radius) + 6px); background: var(--espresso) radial-gradient(120% 140% at 100% 0%, rgba(176, 138, 92, 0.22), transparent 55%); color: var(--cream); }
.dark-panel .display { color: var(--cream); }
.dark-panel .headline__side p { color: rgba(246, 241, 234, 0.7); }
.prof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.prof-cat__title { font-size: 1.6rem; color: var(--gold-light); }
.prof-links { border-top: 1px solid var(--line-light); }
.prof-links a { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-light); text-decoration: none; font-weight: 500; font-size: 0.94rem; transition: color 0.2s, padding 0.3s var(--ease); }
.prof-links a .icon:first-child { color: var(--gold-light); width: 20px; height: 20px; }
.prof-links a span { flex: 1; }
.prof-links .icon--arrow { width: 16px; height: 16px; opacity: 0; transform: translateX(-6px); transition: opacity 0.2s, transform 0.3s var(--ease); }
.prof-links a:hover { color: var(--gold-light); padding-left: 6px; }
.prof-links a:hover .icon--arrow { opacity: 1; transform: none; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 18px; }
.prof-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 30px 26px 26px; background: #fff; border-radius: var(--radius); text-decoration: none; box-shadow: var(--shadow-soft); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.prof-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.prof-card > .icon--lg { color: var(--gold); margin-bottom: 10px; }
.prof-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.prof-card__lots { margin-top: 14px; font-size: 0.78rem; font-weight: 600; color: var(--espresso); }
.prof-card .icon--arrow { position: absolute; right: 22px; top: 26px; width: 38px; height: 38px; padding: 10px; border-radius: 50%; background: var(--cream); transition: background 0.25s, color 0.25s, transform 0.3s var(--ease); }
.prof-card:hover .icon--arrow { background: var(--gold); color: #fff; transform: rotate(45deg); }

.pill-links { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: border-color 0.2s, background 0.2s; }
.pill-links a:hover { border-color: var(--gold); }
.pill-links .icon { width: 18px; height: 18px; color: var(--gold); }

.needs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.need { padding: 28px 24px; background: var(--cream); border-radius: var(--radius); }
.need__n { display: block; font-family: var(--display); font-size: 2.2rem; font-weight: 600; line-height: 1; color: var(--gold); margin-bottom: 14px; }
.need p { margin: 0; color: var(--muted); font-size: 0.93rem; }

.rooms { display: flex; flex-wrap: wrap; gap: 4px; margin: 1.4rem 0 0; padding: 4px; background: var(--espresso); border-radius: var(--radius-sm); }
.room { flex-basis: 110px; min-height: 78px; display: flex; align-items: flex-end; padding: 10px 12px; background: var(--paper); border-radius: 8px; font-size: 0.8rem; font-weight: 600; line-height: 1.3; }
.room:nth-child(3n + 2) { background: #fff; }
.room:nth-child(3n) { background: var(--sand); }
.benefits { margin-top: clamp(32px, 5vw, 56px); padding: clamp(26px, 4vw, 44px); background: var(--cream); border-radius: var(--radius); }
.cta-band { background: var(--gold); color: #fff; padding: 30px 0; }
.cta-band p { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 1.9rem); text-align: center; }

/* ---------- Bannière ---------- */
.banner { position: relative; min-height: 520px; display: flex; align-items: flex-end; color: var(--cream); overflow: hidden; isolation: isolate; }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16, 13, 10, 0.82), rgba(16, 13, 10, 0.25) 60%, rgba(16, 13, 10, 0.1)); }
.banner__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-top: 80px; padding-bottom: 80px; }
.banner__title { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 0.98; max-width: 11ch; }
.banner__inner p { max-width: 40ch; color: rgba(246, 241, 234, 0.82); margin: 0; }
.banner__cta { display: grid; justify-items: center; gap: 12px; color: var(--cream); text-decoration: none; font-weight: 600; text-align: center; }
.banner__cta:hover .btn-round__icon { transform: rotate(-45deg); background: var(--gold-light); }

/* ---------- Bandeau des pages internes ---------- */
.page-hero { position: relative; min-height: clamp(460px, 64vh, 640px); display: flex; align-items: flex-end; color: var(--cream); background: var(--ink); overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16, 13, 10, 0.88) 0%, rgba(16, 13, 10, 0.6) 50%, rgba(16, 13, 10, 0.25) 100%), linear-gradient(180deg, rgba(16, 13, 10, 0.6), transparent 30%); }
.page-hero--plain { min-height: 360px; }
.page-hero--plain::before { background: radial-gradient(120% 120% at 100% 0%, rgba(176, 138, 92, 0.25), transparent 60%); }
.page-hero__inner { padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero__title { font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.02; max-width: 20ch; }
.page-hero__lead { max-width: 62ch; font-size: clamp(1rem, 1.25vw, 1.12rem); color: rgba(246, 241, 234, 0.82); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.8rem; color: rgba(246, 241, 234, 0.65); margin-bottom: 1.6rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: 0.5; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--cream); text-decoration: underline; }

/* ---------- Emplacement ---------- */
.poi-list { margin: 1.2rem 0 1.8rem; border-top: 1px solid var(--line); }
.poi-list li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.poi-list strong { font-weight: 600; color: var(--gold); white-space: nowrap; }
.map-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; background: var(--cream); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: sepia(0.3) saturate(0.8) contrast(0.95); }
.address-block { display: flex; gap: 10px; align-items: center; font-weight: 600; }

/* Repères du quartier */
.landmarks { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(300px, 28vw, 380px); gap: 16px; }
.landmark--wide { grid-column: span 2; }
.landmark--wide .landmark__title { font-size: 2.3rem; }
.landmark--wide p { max-width: 52ch; }
.landmark { position: relative; border-radius: var(--radius); overflow: hidden; color: var(--cream); isolation: isolate; box-shadow: var(--shadow-soft); }
.landmark img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.landmark:hover img { transform: scale(1.06); }
.landmark::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 13, 10, 0) 30%, rgba(16, 13, 10, 0.88) 100%); }
.landmark__body { position: absolute; inset: auto 0 0 0; padding: 20px; }
.landmark__icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 12px; border-radius: 50%; background: rgba(246, 241, 234, 0.94); color: var(--espresso); }
.landmark--plain { background: var(--espresso) radial-gradient(120% 120% at 100% 0%, rgba(176, 138, 92, 0.35), transparent 60%); }
.landmark--plain::after { display: none; }
.landmark__bigicon { position: absolute; top: 22px; right: 22px; color: var(--gold-light); opacity: 0.35; }
.landmark__bigicon .icon { width: 120px; height: 120px; stroke-width: 1; }
.landmark--plan { background: #fff; }
.landmark--plan::after { background: linear-gradient(180deg, rgba(16, 13, 10, 0.05) 15%, rgba(16, 13, 10, 0.55) 55%, rgba(16, 13, 10, 0.94) 100%); }
.landmark--plan img { object-fit: cover; padding: 0; filter: saturate(0.9); }
.landmark__time { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(246, 241, 234, 0.94); color: var(--ink); font-size: 0.74rem; font-weight: 600; }
.landmark__title { font-family: var(--display); font-weight: 600; font-size: 1.75rem; line-height: 1.05; margin: 0 0 0.3em; }
.landmark p { margin: 0; font-size: 0.86rem; line-height: 1.5; color: rgba(246, 241, 234, 0.85); }
.connect-band { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 44px; align-items: center; margin-top: 18px; padding: 30px 34px; border-radius: var(--radius); background: var(--espresso) radial-gradient(120% 160% at 0% 0%, rgba(176, 138, 92, 0.25), transparent 55%); color: var(--cream); }
.connect-band__title { margin: 0; font-family: var(--display); font-size: 1.7rem; font-weight: 600; line-height: 1.1; color: var(--gold-light); max-width: 12ch; }
.connect-band__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 0 28px; }
.connect-band__list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-light); font-size: 0.86rem; }
.connect-band__list strong { font-weight: 600; color: var(--gold-light); white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq .display { margin-bottom: 0.7em; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.04rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { width: 34px; height: 34px; padding: 8px; border: 1px solid var(--line); border-radius: 50%; color: var(--espresso); transition: transform 0.3s var(--ease), background 0.2s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--gold); color: #fff; border-color: var(--gold); }
.faq__a { padding: 0 54px 22px 0; color: var(--muted); }

/* ---------- Formulaire ---------- */
.section--dark { background: var(--ink) radial-gradient(90% 120% at 0% 100%, rgba(176, 138, 92, 0.18), transparent 60%); }
.form-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-list { display: grid; gap: 16px; margin-top: 2rem; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .icon { width: 40px; height: 40px; padding: 10px; border-radius: 50%; border: 1px solid var(--line-light); color: var(--gold-light); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--gold-light); }
.lead-form { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 44px); }
.lead-form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.lead-form legend { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 10px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-radio { position: relative; }
.chip-radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip-radio span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.86rem; background: #fff; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.chip-radio input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip-radio input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 6px 0 16px; }
.field { display: grid; gap: 6px; font-size: 0.84rem; font-weight: 600; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-weight: 400; font-size: 1rem; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176, 138, 92, 0.2); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; color: var(--muted); margin-bottom: 18px; }
.consent input { margin-top: 3px; accent-color: var(--ink); width: 18px; height: 18px; flex: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.form-actions small { color: var(--muted); }
.form-status { margin: 14px 0 0; font-weight: 600; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-error { color: #a33b2b; }

/* ---------- Pied de page ---------- */
.site-footer { background: #100d0a; color: rgba(246, 241, 234, 0.72); padding: 72px 0 30px; font-size: 0.9rem; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: 44px; border-bottom: 1px solid var(--line-light); }
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.footer-brand p { margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-nav a { color: var(--cream); }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-light); }
.socials a:hover { border-color: var(--gold-light); color: var(--gold-light); }
.socials .icon { width: 18px; height: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; padding: 44px var(--gutter); }
.footer-title { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; }
.footer-prof ul { columns: 3; column-gap: 24px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--gold-light); margin-top: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 14px 32px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: 0.8rem; }
.footer-bottom p { margin: 0; }
.footer-disclaimer { max-width: 56ch; opacity: 0.7; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal li { margin: 0; }

.consent-banner { position: fixed; left: 20px; bottom: 20px; z-index: 60; max-width: 420px; padding: 18px 20px; background: var(--paper); color: var(--ink); border-radius: var(--radius-sm); box-shadow: var(--shadow); font-size: 0.86rem; }
.consent-banner[hidden] { display: none; }
.consent-banner p { margin: 0 0 12px; }
.consent-banner a { color: var(--gold); }
.consent-banner__actions { display: flex; gap: 8px; justify-content: flex-end; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.45); transition: transform 0.25s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float .icon { width: 30px; height: 30px; }

.prose h2 { margin-top: 1.8em; }
.prose a { color: var(--gold); }

/* ---------- Visionneuse & vidéo ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; background: rgba(16, 13, 10, 0.92); cursor: zoom-out; animation: fade 0.25s ease; }
.lightbox img, .lightbox video { max-height: 90vh; width: auto; max-width: 100%; border-radius: var(--radius-sm); }
.lightbox--plan img { background: #fff; padding: 10px; }
.lightbox video { width: min(1200px, 100%); background: #000; cursor: auto; }
.lightbox button { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--cream); font-size: 1.5rem; line-height: 1; cursor: pointer; }
@keyframes fade { from { opacity: 0; } }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .stack { grid-template-columns: minmax(230px, 280px) 1fr; }
  .stack__panel { grid-template-columns: 1fr; }
  .stack__plan { grid-column: 1; grid-row: auto; max-width: 240px; }
  .intro__grid { grid-template-columns: 1fr 380px; gap: 32px; }
}
@media (max-width: 1060px) {
  .prof-grid { grid-template-columns: repeat(2, 1fr); }
  .needs-grid { grid-template-columns: repeat(2, 1fr); }
  .space-grid { grid-template-columns: repeat(2, 1fr); }
  .space-grid > :last-child { grid-column: 1 / -1; }
  .space-grid > :last-child .space-card__media { aspect-ratio: 16 / 7; }
  .landmarks { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 320px; }
  .connect-band { grid-template-columns: 1fr; }
  .connect-band .btn { justify-self: start; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .split, .form-layout, .map-layout, .headline, .story { grid-template-columns: 1fr; }
  .headline { gap: 18px; }
  .intro__grid { grid-template-columns: 1fr; gap: 0; }
  .brief { order: -1; margin-top: -90px; }
  .features { padding: 36px 0 44px; }
  .hero__inner { padding-bottom: 170px; }
  .hero__script { top: auto; bottom: 200px; right: var(--gutter); font-size: 2.6rem; }
  .hero__controls { left: var(--gutter); right: auto; bottom: 110px; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .bento__main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 4.4; }
  .bento__tile { aspect-ratio: 4 / 3; }
  .story__media { min-height: 380px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .banner__inner { flex-direction: column; align-items: flex-start; }
  .banner__cta { grid-auto-flow: column; align-items: center; }
  .stack { grid-template-columns: 1fr; }
  .stack__levels { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-prof ul { columns: 2; }
}
@media (max-width: 640px) {
  .space-grid, .prof-grid, .needs-grid, .feature-grid, .form-grid, .plans { grid-template-columns: 1fr; }
  .space-grid > :last-child .space-card__media { aspect-ratio: 4 / 3; }
  .landmarks { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .landmark--wide { grid-column: auto; }
  .landmark--wide .landmark__title { font-size: 1.9rem; }
  .connect-band { padding: 24px 22px; }
  .connect-band__title { max-width: none; }
  .features { grid-template-columns: 1fr; gap: 20px; }
  .feature-item { border-left: 0; padding-left: 0; }
  .brief { padding: 26px 22px; }
  .brief__stats dt { font-size: 1.9rem; }
  .hero__title { font-size: clamp(2.6rem, 11vw, 3.4rem); }
  .hero::after { background: linear-gradient(180deg, rgba(16, 13, 10, 0.7) 0%, rgba(16, 13, 10, 0.45) 38%, rgba(16, 13, 10, 0.88) 100%); }
  .hero__script { display: none; }
  .hero__controls { bottom: 112px; }
  .hero__progress { width: 60px; }
  .hero__arrow { width: 44px; height: 44px; }
  .bento__card { left: 10px; right: 10px; bottom: 10px; padding: 16px; }
  .bento__price { font-size: 1.5rem; }
  .story__stats dt { font-size: 2.1rem; }
  .btn-row .btn { flex: 1 1 100%; }
  .main-nav__actions .btn--pill { flex: 1; justify-content: space-between; margin-left: 12px; }
  .stack__level--4 { margin: 0 10px; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .consent-banner { left: 12px; right: 12px; bottom: 76px; max-width: none; }
  .footer-prof ul { columns: 1; }
  .lots-table { min-width: 0; }
  .lots-table thead { display: none; }
  .lots-table tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .lots-table tbody tr[hidden] { display: none; }
  .lots-table tbody th, .lots-table tbody td { grid-column: 1 / -1; padding: 0; border: 0; }
  .lots-table tbody th { grid-column: 1; }
  .lots-table tbody td.lots-table__status { grid-column: 2; grid-row: 1; }
  .lots-table tbody td:last-child { margin-top: 6px; }
  .faq__a { padding-right: 0; }
}
