/* ==========================================================================
   Mood · pages d'arrivée (bureaux + salle)
   Système Mood : canvas crème, encre chaude, accent de verticale
   (terracotta pour office, vert pour meeting). Fraunces pour la voix,
   Inter pour l'information, JetBrains Mono pour les calculs.
   Mise en page : éditoriale, une colonne de lecture, max 1200 px.
   ========================================================================== */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-var.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic-var.woff2") format("woff2"); font-weight: 400 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-var.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }

:root {
  /* surfaces */
  --canvas: #FBF8F4;
  --paper: #F6F1E9;
  --surface: #F1EBE2;
  --line: #E7DFD4;
  --line-strong: #D8CDBF;
  --white: #FFFFFF;
  /* encre */
  --ink: #1F1B16;
  --ink-2: #3A332C;
  --ink-3: #6B6259;
  --ink-4: #9A9087;
  --on-ink: #FBF8F4;
  --on-ink-2: #CFC6BA;
  /* accents de verticale (relevés sur les fichiers logo) */
  --terracotta: #C85D2D;
  --terracotta-deep: #A84B22;
  --terracotta-wash: #FBF0EA;
  --meeting: #1F4D3F;
  --meeting-wash: #E6EEEA;
  /* sémantique */
  --ok: #2F6F4E;
  --ok-wash: #E6F0EA;
  --info: #2B5C8A;
  --info-wash: #E7EEF5;
  /* accent courant de la page */
  --accent: var(--terracotta);
  --accent-wash: var(--terracotta-wash);
  --cta: var(--terracotta);
  --cta-hover: var(--terracotta-deep);
  /* typo */
  --f-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  /* formes */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;
  --shadow-card: 0 2px 8px rgba(61, 42, 28, .06), 0 1px 2px rgba(61, 42, 28, .04);
  --shadow-float: 0 14px 36px rgba(61, 42, 28, .14), 0 2px 6px rgba(61, 42, 28, .06);
  /* grille */
  --wrap: 1200px;
  --gutter: clamp(16px, 4.2vw, 40px);
  --header-h: 68px;
  --section: clamp(64px, 9vw, 112px);
  color-scheme: light;
}
.page-meeting { --accent: var(--meeting); --accent-wash: var(--meeting-wash); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink-2);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
p, h1, h2, h3, h4, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--ink);
  font-weight: 450;
  line-height: 1.06;
  letter-spacing: -.018em;
  text-wrap: balance;
  font-optical-sizing: auto;
}
sup { font-size: .6em; line-height: 0; vertical-align: .5em; margin-left: .02em; font-feature-settings: normal; letter-spacing: 0; text-transform: none; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-fill { fill: currentColor; stroke: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: var(--r-sm);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- typographie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.h-section { font-size: clamp(32px, 4.4vw, 52px); }
.h-sub { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; line-height: 1.55; }
.dot-end { color: var(--accent); }
.link {
  color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 1.5px; text-underline-offset: 3px; font-weight: 500;
}
.link:hover { text-decoration-thickness: 2.5px; }

/* ---------- boutons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px; border-radius: var(--r-pill);
  font: 600 16px/1.1 var(--f-body); text-decoration: none; text-align: center;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn .ic { width: 20px; height: 20px; }
/* CTA de conversion : terracotta, libellé en gros caractères gras */
.btn-cta { background: var(--cta); color: #fff; font-size: 19px; font-weight: 700; letter-spacing: -.005em; }
.btn-cta:hover { background: var(--cta-hover); }
.btn-ink { background: var(--ink); color: var(--on-ink); }
.btn-ink:hover { background: #000; }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-light:hover { border-color: var(--ink-3); }
.btn-sm { --h: 44px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-text {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; color: var(--ink); text-decoration: none; border: 0; background: none; padding: 0; cursor: pointer;
}
.btn-text .ic { transition: transform .2s ease; }
.btn-text:hover .ic { transform: translateY(2px); }

/* ---------- en-tête ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: rgba(251, 248, 244, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; border-radius: 6px; }
/* Logo officiel : le fichier PNG est affiché tel quel, seules ses marges sont masquées */
.logo-clip {
  --s: .29;
  display: block; position: relative; overflow: hidden;
  width: calc((var(--w) + 12) * var(--s) * 1px);
  height: calc((var(--h) + 12) * var(--s) * 1px);
}
.logo-clip img {
  position: absolute; max-width: none; height: auto;
  width: calc(var(--iw) * var(--s) * 1px);
  left: calc((var(--x) - 6) * var(--s) * -1px);
  top: calc((var(--y) - 6) * var(--s) * -1px);
}
.logo-blend img { mix-blend-mode: multiply; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px;
  text-decoration: none; font-weight: 600; color: var(--ink); border-radius: var(--r-pill);
}
.header-phone:hover { background: var(--surface); }
.header-phone .ic { width: 18px; height: 18px; }
.header-cta { --h: 46px; font-size: 19px; padding: 0 20px; }
@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .logo-clip { --s: .25; }
  .header-cta { display: none; }
}
@media (max-width: 420px) {
  .header-phone .phone-num { display: none; }
  .header-phone { width: 44px; justify-content: center; padding: 0; border: 1.5px solid var(--line-strong); }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(24px, 4vw, 56px) clamp(48px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 64px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -.025em; font-weight: 420; }
.hero .lead { max-width: 52ch; }
.price-block { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 6px 16px; padding-top: 4px; }
.price-main { display: flex; align-items: baseline; gap: 10px; color: var(--ink); }
.price-main .from { font: 500 15px/1 var(--f-body); color: var(--ink-3); }
.price-main .amount { font: 450 clamp(40px, 4.4vw, 54px)/1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.price-main .unit { font: 600 15px/1.2 var(--f-body); color: var(--ink-2); }
.price-note { font-size: 14px; color: var(--ink-3); padding-bottom: 6px; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; padding-top: 6px; }
.fact { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.fact .ic { color: var(--accent); width: 20px; height: 20px; }
.hero-call { font-size: 14px; color: var(--ink-3); }
.hero-call a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line-strong); }

.hero-media { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #d9cfc3; aspect-ratio: 5 / 4.4; box-shadow: var(--shadow-float); }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media video { opacity: 0; transition: opacity .6s ease; }
.hero-media.is-playing video { opacity: 1; }
.media-caption {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 84px);
  background: rgba(31, 27, 22, .72); color: var(--on-ink);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 8px 14px; border-radius: var(--r-pill); font-size: 13px; font-weight: 500; line-height: 1.3;
}
.media-caption::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.page-meeting .media-caption::before { background: #8FC2AE; }
.media-btn {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(251, 248, 244, .92); color: var(--ink);
}
.media-btn .ic { width: 18px; height: 18px; }
.media-btn[hidden] { display: none; }
.media-tour {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 10px;
  border-radius: var(--r-pill); border: 0; cursor: pointer;
  background: rgba(251, 248, 244, .94); color: var(--ink); font: 600 14px/1 var(--f-body);
}
.media-tour .play { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; }
.media-tour .play .ic { width: 12px; height: 12px; margin-left: 2px; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-media { aspect-ratio: 16 / 11; }
}
@media (max-width: 560px) {
  .hero-ctas .btn-cta { width: 100%; }
  .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 14px; }
  .fact { font-size: 14px; }
}

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.section-paper { background: var(--paper); }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head .lead { margin-top: 2px; }
.update-note { font: 500 13px/1.4 var(--f-mono); color: var(--ink-3); letter-spacing: .01em; }

/* ---------- bureaux disponibles ---------- */
.lots-layout { display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.floors { position: sticky; top: calc(var(--header-h) + 24px); }
.floors-title { font: 600 12px/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.building { border: 1.5px solid var(--ink); border-radius: 2px; background: var(--white); position: relative; }
.building::before {
  /* toit en mansarde */
  content: ""; position: absolute; left: 10%; right: 10%; top: -16px; height: 15px;
  border: 1.5px solid var(--ink); border-bottom: 0; border-radius: 4px 4px 0 0; background: var(--paper);
}
.floor { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-4); }
.floor:last-child { border-bottom: 0; }
.floor .f-num { font: 500 13px/1 var(--f-mono); width: 30px; flex: none; color: var(--ink-3); }
.floor-link {
  width: 100%; display: flex; align-items: center; gap: 10px; min-height: 40px; margin: 0 -10px; padding: 0 10px;
  border: 0; background: var(--accent-wash); color: var(--ink); text-align: left; cursor: pointer; font: 600 13px/1.2 var(--f-body);
  width: calc(100% + 20px);
}
.floor-link .f-num { color: var(--accent); font-weight: 500; }
.floor-link .f-dot { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.floor-link .f-dot.later { background: var(--info); }
.floor-link:hover, .floor-link.is-current { background: var(--accent); color: #fff; }
.floor-link:hover .f-num, .floor-link.is-current .f-num { color: #fff; }
.floor.ground { background: var(--paper); color: var(--ink-3); font-size: 12px; }
.street { margin-top: 10px; display: flex; justify-content: space-between; font: 500 11px/1.3 var(--f-mono); color: var(--ink-3); letter-spacing: .02em; }
.floors-legend { margin-top: 18px; display: grid; gap: 6px; font-size: 12px; color: var(--ink-3); }
.floors-legend span { display: inline-flex; align-items: center; gap: 8px; }
.floors-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

.lot-list { display: grid; gap: clamp(40px, 5vw, 64px); min-width: 0; }
.lot { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(22px, 3vw, 40px); align-items: start; scroll-margin-top: calc(var(--header-h) + 24px); }
.lot + .lot { padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.lot-info { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding-top: 4px; }
.lot-head { display: grid; gap: 8px; }
.lot h3 { font-size: clamp(28px, 2.8vw, 36px); }
.lot-meta { font: 500 15px/1.4 var(--f-body); color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.lot-meta span + span::before { content: "·"; margin-right: 14px; color: var(--ink-4); }
.lot-desc { color: var(--ink-2); }
.lot-incl { font-size: 14px; color: var(--ink-3); display: flex; gap: 8px; align-items: flex-start; }
.lot-incl .ic { width: 18px; height: 18px; color: var(--ok); margin-top: 2px; }
.lot-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 14px 0 2px; border-top: 1px solid var(--line); }
.lot-price .amount { font: 650 26px/1.1 var(--f-body); color: var(--ink); letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.lot-price .unit { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.lot-price .terms { font-size: 14px; color: var(--ink-3); }
.lot-ctas { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px; width: fit-content;
  padding: 5px 11px; border-radius: var(--r-pill); font: 600 13px/1.2 var(--f-body);
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-ok { background: var(--ok-wash); color: var(--ok); }
.badge-later { background: var(--info-wash); color: var(--info); }

/* galerie dans une carte */
.gallery { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--surface); isolation: isolate; }
.g-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; aspect-ratio: 3 / 2; overscroll-behavior-x: contain;
}
.g-track::-webkit-scrollbar { display: none; }
.g-slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; border: 0; padding: 0; margin: 0; background: none; cursor: zoom-in; }
.g-slide img { width: 100%; height: 100%; object-fit: cover; }
.g-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: rgba(251, 248, 244, .94); color: var(--ink); box-shadow: var(--shadow-card);
  transition: opacity .2s ease;
}
.g-nav[disabled] { opacity: 0; pointer-events: none; }
.g-prev { left: 12px; }
.g-next { right: 12px; }
.g-count {
  position: absolute; right: 12px; bottom: 12px; z-index: 2; pointer-events: none;
  background: rgba(31, 27, 22, .7); color: var(--on-ink); padding: 5px 10px; border-radius: var(--r-pill);
  font: 500 12px/1 var(--f-mono);
}
.g-video {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px 0 8px;
  border-radius: var(--r-pill); border: 0; cursor: pointer; background: rgba(251, 248, 244, .94); color: var(--ink);
  font: 600 13px/1 var(--f-body);
}
.g-video .play { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; }
.g-video .play .ic { width: 11px; height: 11px; margin-left: 2px; }
@media (hover: hover) {
  .g-nav { opacity: 0; }
  .gallery:hover .g-nav:not([disabled]), .g-nav:focus-visible { opacity: 1; }
}

@media (max-width: 1080px) {
  .lots-layout { grid-template-columns: minmax(0, 1fr); }
  .floors { display: none; }
}
@media (max-width: 760px) {
  .lot { grid-template-columns: minmax(0, 1fr); }
  .lot-ctas .btn { flex: 1 1 auto; }
}

/* ---------- inclus ---------- */
.incl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.incl { background: var(--canvas); padding: 24px 22px 26px; display: grid; gap: 10px; align-content: start; }
.section-paper .incl { background: var(--paper); }
.incl .ic { width: 26px; height: 26px; color: var(--accent); stroke-width: 1.5; }
.incl h3 { font: 600 16px/1.3 var(--f-body); letter-spacing: 0; color: var(--ink); }
.incl p { font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.options-line { margin-top: 22px; font-size: 14px; color: var(--ink-3); }
.options-line strong { color: var(--ink-2); font-weight: 600; }
@media (max-width: 960px) { .incl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .incl { padding: 18px 16px 20px; } }

/* ---------- le calcul ---------- */
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.calc-card { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.calc-mood { background: var(--ink); color: var(--on-ink-2); }
.calc-mood h3, .calc-mood .calc-total { color: var(--on-ink); }
.calc-lease { background: var(--white); border: 1px solid var(--line); }
.calc-kicker { font: 600 12px/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.calc-mood .calc-kicker { color: #E9A47F; }
.calc-lease .calc-kicker { color: var(--ink-3); }
.calc-card h3 { font-size: clamp(24px, 2.4vw, 30px); }
.calc-lines { display: grid; gap: 0; font: 400 15px/1.5 var(--f-mono); font-variant-numeric: tabular-nums; }
.calc-line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px dashed currentColor; border-color: rgba(127, 116, 104, .35); }
.calc-line:last-child { border-bottom: 0; }
.calc-line .op { min-width: 0; }
.calc-line { flex-wrap: wrap; row-gap: 2px; }
.calc-line .res { white-space: nowrap; font-weight: 500; margin-left: auto; }
@media (max-width: 520px) { .calc-lines, .calc-ratio { font-size: 13.5px; } }
.calc-total { font: 500 clamp(30px, 3.4vw, 42px)/1.05 var(--f-display); letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.calc-total small { display: block; font: 500 14px/1.4 var(--f-body); letter-spacing: 0; margin-top: 6px; color: inherit; opacity: .8; }
.calc-lease .calc-total { color: var(--ink); }
.calc-ratio { padding-top: 14px; border-top: 1px dashed rgba(127, 116, 104, .35); font: 400 14px/1.5 var(--f-mono); font-variant-numeric: tabular-nums; }
.calc-ratio-label { font: 600 11px/1.3 var(--f-body); letter-spacing: .12em; text-transform: uppercase; opacity: .75; margin-bottom: 2px; }
.calc-ratio .calc-line { padding: 4px 0 0; border: 0; }
.calc-mood .calc-ratio .res { color: var(--on-ink); }
.calc-lease .calc-ratio .res { color: var(--ink); }
.calc-notes { display: grid; gap: 10px; font-size: 14px; line-height: 1.55; }
.calc-notes li { display: flex; gap: 10px; align-items: flex-start; }
.calc-notes .ic { width: 18px; height: 18px; margin-top: 2px; }
.calc-mood .calc-notes .ic { color: #9AD1B5; }
.calc-lease .calc-notes .ic { color: var(--ink-4); }
.calc-foot { margin-top: 20px; font-size: 13px; color: var(--ink-3); max-width: 80ch; }
@media (max-width: 860px) { .calc-grid { grid-template-columns: minmax(0, 1fr); } }

.mid-cta { margin-top: clamp(32px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

/* ---------- adresse ---------- */
.address-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.address-copy { display: grid; gap: 22px; min-width: 0; }
.stations { display: grid; gap: 0; border-top: 1px solid var(--line); }
.station { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.station .m { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; font: 700 14px/1 var(--f-body); }
.station strong { display: block; color: var(--ink); font-weight: 600; }
.station .lines { font-size: 14px; color: var(--ink-3); }
.station .walk { font: 500 14px/1.2 var(--f-mono); color: var(--ink); white-space: nowrap; }
.map-card { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #F3EEE6; }
.map-svg { width: 100%; height: auto; }
.map-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; background: var(--white); border-top: 1px solid var(--line); font-size: 14px; }
.photo-strip { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.photo-strip figure { display: grid; gap: 10px; min-width: 0; }
.photo-strip .ph { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); border: 0; padding: 0; cursor: zoom-in; width: 100%; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-strip .ph:hover img { transform: scale(1.03); }
.photo-strip figcaption { font-size: 14px; color: var(--ink-3); }
@media (max-width: 960px) {
  .address-grid { grid-template-columns: minmax(0, 1fr); }
  .photo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* SVG du plan (couleurs reprises des jetons) */
.m-bg { fill: #F3EEE6; }
.m-park { fill: #DCE5D6; }
.m-block { fill: #E9E2D6; }
.m-casing { stroke: #E2D9CC; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.m-casing.m-major { stroke-width: 16; }
.m-casing.m-minor { stroke-width: 10; }
.m-street { stroke: #FFFFFF; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.m-street.m-major { stroke-width: 13; }
.m-street.m-minor { stroke-width: 7; }
.m-chabanais { stroke: var(--terracotta); stroke-width: 8; fill: none; stroke-linecap: round; }
.page-meeting .m-chabanais { stroke: var(--meeting); }
.m-label, .m-land, .m-st, .m-st-sub, .m-home-t, .m-home-s { paint-order: stroke; stroke: #F3EEE6; stroke-width: 4px; stroke-linejoin: round; }
.m-label { font: 500 12px var(--f-body); fill: #6B6259; letter-spacing: .02em; }
.m-label-sm { font-size: 11px; }
.m-land { font: italic 400 15px var(--f-display); fill: #5E7A5A; }
.m-land-sm { font-size: 13px; }
.m-walk { stroke: #1F1B16; stroke-width: 1.6; stroke-dasharray: 3 4; opacity: .5; }
.m-station circle { fill: #1F1B16; }
.m-m { font: 700 14px var(--f-body); fill: #FBF8F4; }
.m-st { font: 600 17px var(--f-body); fill: #1F1B16; }
.m-st-sub { font: 500 13px var(--f-body); fill: #6B6259; }
.m-home-halo { fill: var(--accent); opacity: .18; }
.m-home-dot { fill: var(--accent); stroke: #fff; stroke-width: 3; }
.m-home-t { font: 500 18px var(--f-display); fill: #1F1B16; }
.m-home-s { font: 500 13px var(--f-body); fill: #6B6259; }
.m-scale line { stroke: #6B6259; stroke-width: 1.5; }
.m-scale text, .m-north text { font: 600 11px var(--f-body); fill: #6B6259; }
.m-north path { fill: #6B6259; }
.m-attr { font: 400 10px var(--f-body); fill: #9A9087; }
@media (max-width: 560px) { .m-label-sm, .m-scale, .m-north { display: none; } }

/* ---------- déroulé ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { display: grid; gap: 12px; align-content: start; padding-top: 18px; border-top: 1.5px solid var(--ink); }
.step-n { font: 400 15px/1 var(--f-mono); color: var(--accent); }
.step h3 { font-size: 21px; line-height: 1.2; }
.step p { font-size: 15px; color: var(--ink-3); }
.conditions { margin-top: clamp(32px, 4vw, 48px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); padding: clamp(22px, 3vw, 32px); display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
.conditions h3 { font-size: 22px; }
.cond-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; }
.cond { display: grid; gap: 4px; }
.cond dt { font: 600 12px/1.3 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.cond dd { font: 500 16px/1.4 var(--f-body); color: var(--ink); }
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .conditions { grid-template-columns: minmax(0, 1fr); }
  .cond-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .cond-list { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- tarifs salle ---------- */
.tarif-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tarif { border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tarif.is-feature { background: var(--meeting); border-color: var(--meeting); color: #D7E5DE; }
.tarif.is-feature h3, .tarif.is-feature .t-amount { color: #fff; }
.tarif h3 { font: 600 13px/1.3 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.tarif.is-feature h3 { color: #A9D3C1; }
.t-amount { font: 450 44px/1 var(--f-display); color: var(--ink); letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.t-amount small { font: 600 15px/1 var(--f-body); letter-spacing: 0; margin-left: 4px; }
.t-sub { font-size: 15px; }
.t-rows { display: grid; gap: 10px; margin-top: 4px; }
.t-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.18); font-size: 15px; }
.t-row strong { color: #fff; font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tarif-cond { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: var(--ink-3); }
.tarif-cond span { display: inline-flex; gap: 8px; align-items: center; }
.tarif-cond .ic { width: 18px; height: 18px; color: var(--ok); }
@media (max-width: 900px) { .tarif-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- salle : galerie + équipement ---------- */
.room-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.room-grid .gallery .g-track { aspect-ratio: 4 / 3; }
.equip { display: grid; gap: 0; border-top: 1px solid var(--line); }
.equip li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.equip .ic { width: 22px; height: 22px; color: var(--accent); margin-top: 1px; }
.equip strong { display: block; color: var(--ink); font-weight: 600; }
.equip span { font-size: 14px; color: var(--ink-3); }
.honest { margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.plan-thumb { margin-top: 20px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--white); cursor: zoom-in; padding: 0; width: 100%; }
.plan-thumb img { width: 100%; }
@media (max-width: 900px) { .room-grid { grid-template-columns: minmax(0, 1fr); } }

.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.use { padding: 24px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.use .ic { width: 26px; height: 26px; color: var(--accent); stroke-width: 1.5; }
.use h3 { font-size: 22px; line-height: 1.2; }
.use p { font-size: 15px; color: var(--ink-3); }
.uses-note { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
@media (max-width: 900px) { .uses { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.faq-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font: 500 18px/1.35 var(--f-display); color: var(--ink); letter-spacing: -.005em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-strong); position: relative; transition: transform .2s ease, background-color .2s ease; }
.faq-item summary .pm::before, .faq-item summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; background: var(--ink); transform: translate(-50%, -50%); }
.faq-item summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.faq-item[open] summary .pm { background: var(--ink); border-color: var(--ink); }
.faq-item[open] summary .pm::before, .faq-item[open] summary .pm::after { background: var(--on-ink); }
.faq-item[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item .answer { padding: 0 44px 22px 0; color: var(--ink-2); max-width: 64ch; }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-aside { position: static; }
}

/* ---------- contact + pied (bloc encre) ---------- */
.dark { background: var(--ink); color: var(--on-ink-2); }
.dark h2, .dark h3 { color: var(--on-ink); }
.dark .eyebrow { color: var(--on-ink-2); }
.dark .eyebrow::before { background: #E9A47F; }
.page-meeting .dark .eyebrow::before { background: #8FC2AE; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4.5vw, 72px); align-items: start; }
.contact-copy { display: grid; gap: 22px; min-width: 0; }
.contact-copy .lead { color: var(--on-ink-2); }
.contact-lines { display: grid; gap: 0; border-top: 1px solid rgba(251, 248, 244, .14); }
.contact-line { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(251, 248, 244, .14); text-decoration: none; color: var(--on-ink); }
.contact-line .ic { width: 22px; height: 22px; color: #E9A47F; }
.page-meeting .contact-line .ic { color: #8FC2AE; }
.contact-line .big { font: 450 clamp(26px, 3vw, 34px)/1.1 var(--f-display); letter-spacing: -.01em; font-variant-numeric: lining-nums; }
.contact-line .label { display: block; font-size: 13px; color: var(--on-ink-2); }
a.contact-line:hover .big, a.contact-line:hover .val { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.contact-line .val { font-weight: 600; font-size: 17px; }
.promise { display: inline-flex; gap: 10px; align-items: center; font-size: 15px; color: var(--on-ink); }
.promise .ic { color: #9AD1B5; }

.form-card { background: var(--canvas); color: var(--ink-2); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.form-card h3 { font-size: 26px; margin-bottom: 4px; color: var(--ink); }
.form-intro { font-size: 15px; color: var(--ink-3); margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 14px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .field .legend { font: 600 14px/1.3 var(--f-body); color: var(--ink); }
.field .opt { font-weight: 400; color: var(--ink-3); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--line-strong); background: var(--white); color: var(--ink);
  font: 400 16px/1.4 var(--f-body); transition: border-color .15s ease, box-shadow .15s ease;
}
.textarea { min-height: 96px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231F1B16' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(31, 27, 22, .12); }
.field.has-error .input, .field.has-error .select { border-color: #A8341B; }
.field-error { font-size: 13px; color: #A8341B; min-height: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.chips legend { padding: 0; margin-bottom: 9px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  display: inline-block; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); white-space: nowrap;
  border: 1.5px solid var(--line-strong); background: var(--white); font: 500 15px/41px var(--f-body); color: var(--ink);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.chip input:hover + span { border-color: var(--ink-3); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: 13px; color: var(--ink-3); line-height: 1.5; }
.form-legal a { color: var(--ink-2); }
.form-submit { display: grid; gap: 12px; margin-top: 6px; }
.form-submit .btn-cta { width: 100%; --h: 56px; }
.btn-cta[aria-busy="true"] { opacity: .75; cursor: progress; }
.form-status { border-radius: 12px; padding: 14px 16px; font-size: 15px; line-height: 1.5; }
.form-status[hidden] { display: none; }
.form-status.ok { background: var(--ok-wash); color: #1E4D35; }
.form-status.err { background: #F8E7E1; color: #7A2A12; }
.form-status strong { display: block; font-size: 16px; margin-bottom: 2px; }
.nojs-thanks { display: none; margin-bottom: 16px; }
.nojs-thanks:target { display: block; }
.form-done .form-grid, .form-done .form-submit .btn-cta { display: none; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

.site-footer { padding-block: 44px calc(44px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(251, 248, 244, .14); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 40px; align-items: start; }
.footer-grid p { color: var(--on-ink-2); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a, .footer-links button { color: var(--on-ink); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font: 500 14px/1.6 var(--f-body); }
.footer-links a:hover, .footer-links button:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { font-size: 13px; color: #9C9387; margin-top: 6px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- barre d'action mobile ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: none; gap: 8px; align-items: center;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(251, 248, 244, .97); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform: translateY(110%); transition: transform .25s ease;
}
.mobile-bar.is-visible { transform: translateY(0); }
.mobile-bar .call { width: 54px; min-width: 54px; height: 54px; padding: 0; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--white); color: var(--ink); display: grid; place-items: center; }
.mobile-bar .call .ic { width: 22px; height: 22px; }
.mobile-bar .btn-cta { flex: 1 1 auto; --h: 54px; padding: 0 12px; }
@media (max-width: 900px) { .mobile-bar { display: flex; } body { padding-bottom: 0; } .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- visionneuse photo + vidéo ---------- */
dialog.viewer {
  width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: 0;
  background: rgba(20, 17, 13, .96); color: var(--on-ink); overflow: hidden;
}
dialog.viewer::backdrop { background: rgba(20, 17, 13, .9); }
.viewer-stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 64px 16px 84px; }
.viewer-stage img, .viewer-stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 6px; object-fit: contain; touch-action: pan-y; }
.viewer-stage video { width: min(1200px, 100%); aspect-ratio: 16 / 9; background: #000; }
.viewer-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: center; gap: 14px; padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--on-ink-2); text-align: center; }
.viewer-count { font: 500 13px/1 var(--f-mono); color: var(--on-ink); }
.viewer-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(251, 248, 244, .12); color: var(--on-ink); display: grid; place-items: center;
  transition: background-color .2s ease;
}
.viewer-btn:hover { background: rgba(251, 248, 244, .24); }
.viewer-close { top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; }
.viewer-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.viewer-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .viewer-prev, .viewer-next { top: auto; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); transform: none; } }

/* ---------- bandeau cookies ---------- */
.consent {
  position: fixed; z-index: 60; left: 16px; bottom: 16px; width: min(440px, calc(100vw - 32px));
  background: var(--white); color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-float); padding: 20px; display: grid; gap: 12px;
  margin-bottom: env(safe-area-inset-bottom, 0px);
}
.consent[hidden] { display: none; }
.consent h2 { font: 600 16px/1.3 var(--f-body); letter-spacing: 0; color: var(--ink); }
.consent p { font-size: 14px; line-height: 1.5; }
.consent a { color: var(--ink); }
.consent-opts { display: grid; gap: 10px; }
.consent-opts[hidden] { display: none; }
.consent-opts label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; cursor: pointer; }
.consent-opts input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--ink); flex: none; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent-actions .btn { --h: 44px; padding: 0 14px; font-size: 14px; }
.consent-wide, .consent-link { grid-column: 1 / -1; }
.consent-link { justify-self: center; background: none; border: 0; padding: 6px 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.consent-link:hover { color: var(--ink); }
@media (min-width: 900px) { .consent { left: auto; right: 16px; } }
.consent-preview { font: 500 12px/1.4 var(--f-mono); color: var(--ink-3); }
@media (max-width: 520px) { .consent { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 16px; } }
body.consent-open .mobile-bar { transform: translateY(110%); }

/* ---------- page légale ---------- */
.legal { padding-block: 40px 96px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 12px; }
.legal h2 { font-size: 26px; margin: 44px 0 12px; }
.legal p, .legal li { max-width: 72ch; }
.legal p + p { margin-top: 10px; }
.legal ul { margin-top: 10px; display: grid; gap: 6px; }
.legal li { padding-left: 18px; position: relative; }
.legal li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ==========================================================================
   Site moodgroup.fr : navigation, wordmark Mood. du Group, page d'accueil
   ========================================================================== */

/* wordmark Mood. (fichier officiel transparent, marges masquées) */
.logo-group { --s: .24; }
.brand .lg-ink { display: none; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.main-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-pill);
  font: 500 15px/1 var(--f-body); color: inherit; text-decoration: none; white-space: nowrap;
}
.main-nav a:hover { background: rgba(127, 116, 104, .14); }
.footer-mark { display: flex; align-items: flex-end; gap: 9px; }
.footer-mark .logo-group { --s: .2; }
.lockup-group { font: 600 11px/1 var(--f-body); letter-spacing: .28em; text-transform: uppercase; color: var(--on-ink-2); padding-bottom: 1px; }
@media (max-width: 900px) {
  .main-nav { display: none; }
  .logo-group { --s: .21; }
}

/* en-tête de l'accueil : transparent sur le film, puis crème au défilement */
.page-home .site-header {
  position: fixed; top: 0; left: 0; right: 0;
  background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none;
  color: var(--on-ink);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.page-home .site-header::before {
  content: ""; position: absolute; inset: 0 0 -56px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(20, 17, 13, .62) 0%, rgba(20, 17, 13, .32) 55%, rgba(20, 17, 13, 0) 100%);
  transition: opacity .25s ease;
}
.page-home .site-header.is-scrolled {
  background: rgba(251, 248, 244, .95); color: var(--ink);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
}
.page-home .site-header.is-scrolled::before { opacity: 0; }
.page-home .site-header.is-scrolled .brand .lg-cream { display: none; }
.page-home .site-header.is-scrolled .brand .lg-ink { display: block; }
.page-home .header-phone { color: inherit; }
.page-home .site-header:not(.is-scrolled) .header-phone:hover,
.page-home .site-header:not(.is-scrolled) .main-nav a:hover { background: rgba(251, 248, 244, .16); }
.page-home .site-header:not(.is-scrolled) :focus-visible { outline-color: #fff; }
@media (max-width: 420px) {
  .page-home .site-header:not(.is-scrolled) .header-phone { border-color: rgba(251, 248, 244, .6); }
}

/* héros : film de marque plein cadre */
.brand-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh; max-height: 1100px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: #2A241E; color: var(--on-ink);
}
.bh-media { position: absolute; inset: 0; z-index: -1; }
.bh-media img, .bh-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bh-media video { opacity: 0; transition: opacity .8s ease; }
.brand-hero.is-playing .bh-media video { opacity: 1; }
.bh-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(20, 17, 13, .82) 0%, rgba(20, 17, 13, .5) 34%, rgba(20, 17, 13, .1) 66%, rgba(20, 17, 13, 0) 100%),
    linear-gradient(to right, rgba(20, 17, 13, .5) 0%, rgba(20, 17, 13, 0) 62%);
}
.bh-content { position: relative; width: 100%; display: grid; gap: 20px; padding-top: calc(var(--header-h) + 40px); padding-bottom: 104px; }
.bh-content > * { max-width: 760px; }
.brand-hero .eyebrow { color: rgba(251, 248, 244, .82); }
.brand-hero h1 { color: #fff; font-size: clamp(42px, 6.2vw, 86px); line-height: 1; letter-spacing: -.028em; font-weight: 420; max-width: 15ch; }
.brand-hero .lead { color: rgba(251, 248, 244, .88); max-width: 56ch; }
.bh-call { font-size: 14px; color: rgba(251, 248, 244, .78); }
.bh-call a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(251, 248, 244, .5); }
.btn-on-dark { background: rgba(251, 248, 244, .1); color: #fff; border-color: rgba(251, 248, 244, .6); }
.btn-on-dark:hover { background: rgba(251, 248, 244, .2); border-color: #fff; }
.brand-hero :focus-visible { outline-color: #fff; }
.bh-bar { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; pointer-events: none; }
.bh-bar > * { pointer-events: auto; }
.bh-bar .media-caption, .bh-bar .media-btn { position: static; }
.bh-bar .media-caption { max-width: calc(100% - 60px); }
@media (max-width: 760px) {
  .bh-content { gap: 16px; padding-bottom: 92px; }
  .brand-hero .hero-ctas .btn { width: 100%; }
}

/* bandeau de preuves */
.proof { background: var(--paper); border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof-item { padding: 26px 22px; display: grid; gap: 4px; align-content: start; border-left: 1px solid var(--line); min-width: 0; }
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-num { font: 450 clamp(24px, 2.4vw, 32px)/1.08 var(--f-display); color: var(--ink); letter-spacing: -.015em; font-variant-numeric: lining-nums; }
.proof-num small { font-size: .6em; color: var(--ink-3); letter-spacing: 0; }
.proof-label { font-size: 14px; line-height: 1.45; color: var(--ink-3); }
@media (max-width: 860px) {
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-item { padding: 20px 16px; }
  .proof-item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .proof-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* les deux offres */
.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.offer { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-rows: auto 1fr; box-shadow: var(--shadow-card); min-width: 0; }
.offer-meeting { --accent: var(--meeting); --accent-wash: var(--meeting-wash); }
.offer-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.offer-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.offer:hover .offer-media img { transform: scale(1.03); }
.offer-body { padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.offer h3 { font-size: clamp(26px, 2.6vw, 32px); }
.offer-logo { min-height: 40px; display: flex; align-items: flex-start; }
.offer-text { color: var(--ink-2); }
.offer-price { width: 100%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.offer-price .amount { font: 650 22px/1.2 var(--f-body); color: var(--ink); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.offer-price .unit { font-size: 14px; color: var(--ink-3); }
.offer-cta { margin-top: auto; }
@media (max-width: 860px) { .offer-grid { grid-template-columns: minmax(0, 1fr); } }

/* l'immeuble, version accueil */
.home-building { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: clamp(28px, 5vw, 72px); align-items: start; }
.floors-home { position: static; }
.building-lg .floor, .building-lg .floor-link { min-height: 46px; font-size: 14px; }
.building-lg .floor-link { text-decoration: none; }
.floor-split { gap: 0; padding-right: 0; }
.floor-split .floor-link { flex: 1 1 auto; width: auto; margin-right: 0; }
.floor-salle {
  align-self: stretch; display: flex; align-items: center; gap: 8px; padding: 0 14px;
  background: var(--meeting-wash); color: var(--meeting); border-left: 1px solid var(--line);
  font: 600 13px/1.2 var(--f-body); text-decoration: none;
}
.floor-salle:hover { background: var(--meeting); color: #fff; }
.floor-salle .f-dot, .f-dot.meet { width: 8px; height: 8px; border-radius: 50%; background: var(--meeting); flex: none; }
.floor-salle:hover .f-dot { background: #fff; }
@media (max-width: 960px) {
  .home-building { grid-template-columns: minmax(0, 1fr); }
  .floors-home { display: block; max-width: 420px; }
}

/* histoire */
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tl-item { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 1.5px solid var(--ink); min-width: 0; }
.tl-year { font: 450 clamp(34px, 3.6vw, 46px)/1 var(--f-display); color: var(--accent); letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.tl-item h3 { font-size: 22px; line-height: 1.2; }
.tl-item p { font-size: 15px; color: var(--ink-3); }
@media (max-width: 860px) { .timeline { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* avis */
.reviews-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.rating { display: grid; gap: 12px; justify-items: start; }
.rating-num { font: 450 clamp(68px, 8vw, 104px)/.9 var(--f-display); color: var(--ink); letter-spacing: -.035em; font-variant-numeric: lining-nums; }
.rating-num span { font-size: .36em; letter-spacing: 0; color: var(--ink-3); margin-left: 4px; }
.rating-label { font-size: 15px; color: var(--ink-3); }
.stars { position: relative; display: inline-block; line-height: 0; }
.stars-row { display: flex; gap: 4px; }
.stars svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.stars-bg { color: var(--line-strong); }
.stars-fg { position: absolute; left: 0; top: 0; bottom: 0; width: 115px; overflow: hidden; color: var(--terracotta); }
.quote { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 18px; box-shadow: var(--shadow-card); }
.quote blockquote { margin: 0; }
.quote blockquote p { font: italic 400 clamp(24px, 2.6vw, 32px)/1.3 var(--f-display); color: var(--ink); letter-spacing: -.01em; }
.quote figcaption { display: grid; gap: 2px; font-size: 15px; }
.quote figcaption strong { color: var(--ink); font-weight: 600; }
.quote figcaption span { color: var(--ink-3); }
@media (max-width: 860px) { .reviews-grid { grid-template-columns: minmax(0, 1fr); } }

/* contact : les deux portes d'entrée */
.route-card { background: var(--canvas); color: var(--ink-2); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.route-card h3 { font-size: 26px; color: var(--ink); margin-bottom: 4px; }
.route {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 16px;
  padding: 18px 20px; border-radius: var(--r-md); border: 1.5px solid var(--line-strong); background: var(--white);
  color: var(--ink); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.route:hover { border-color: var(--ink); box-shadow: var(--shadow-card); }
.route-logo { grid-column: 1; }
.route-logo .logo-clip { --s: .22; }
.route strong { grid-column: 1; font: 600 17px/1.3 var(--f-body); }
.route .sub { grid-column: 1; font-size: 14px; color: var(--ink-3); }
.route > .ic { grid-column: 2; grid-row: 1 / span 3; width: 22px; height: 22px; color: var(--terracotta); transition: transform .2s ease; }
.route-meeting > .ic { color: var(--meeting); }
.route:hover > .ic { transform: translateX(3px); }

/* barre mobile à deux boutons (accueil) */
.mobile-bar .btn-ink { flex: 1 1 auto; --h: 54px; padding: 0 12px; font-size: 17px; }
.page-home .mobile-bar .btn-cta { font-size: 17px; }

/* ---------- impression ---------- */
@media print {
  .site-header, .mobile-bar, .consent, .hero-media video, .bh-media video, .bh-bar, .g-nav, .media-btn { display: none !important; }
  body { background: #fff; }
}
