/* =========================================================
   Orée Immobilier - design system
   Radius rule: buttons & chips = pill, cards & media = 18px, inputs = 12px
   One accent: deep teal-green. Theme: auto + manual toggle.
   ========================================================= */

:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #e9ebf0;
  --ink: #12141c;
  --ink-2: #3c4252;
  --muted: #5c6272;
  --line: rgba(18, 20, 28, 0.1);
  --accent: #0f2d7a;
  --accent-vif: #0f4c81;
  --accent-deep: #0d3b66;
  --aqua: #6fd3c7;
  --aqua-pale: #e0f5f2;
  --peche: #ffc49b;
  --accent-ink: #ffffff;
  --accent-soft: rgba(15, 45, 122, 0.08);
  --shadow: 0 1px 2px rgba(20, 26, 56, 0.05), 0 12px 40px -12px rgba(20, 26, 56, 0.18);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-line: rgba(255, 255, 255, 0.5);
  --r-card: 18px;
  --r-input: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist", ui-sans-serif, system-ui, sans-serif; /* une seule police : Geist, chiffres tabulaires */
  --container: 1360px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0f15; --surface: #151822; --surface-2: #1c202c; --ink: #e8eaf0; --ink-2: #c3c7d3;
    --muted: #9a9fae; --line: rgba(232, 234, 240, 0.1); --accent: #6fd3c7; --accent-ink: #0d1330;
    --accent-soft: rgba(111, 211, 199, 0.12); --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 48px -16px rgba(0,0,0,.6);
    --glass: rgba(21, 24, 34, 0.7); --glass-line: rgba(255, 255, 255, 0.08); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d0f15; --surface: #151822; --surface-2: #1c202c; --ink: #e8eaf0; --ink-2: #c3c7d3;
  --muted: #9a9fae; --line: rgba(232, 234, 240, 0.1); --accent: #6fd3c7; --accent-ink: #0d1330;
  --accent-soft: rgba(111, 211, 199, 0.12); --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 48px -16px rgba(0,0,0,.6);
  --glass: rgba(21, 24, 34, 0.7); --glass-line: rgba(255, 255, 255, 0.08); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tight { padding: clamp(48px, 7vw, 88px) 0; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; text-wrap: balance; }
.display { font-size: clamp(2.6rem, 6.2vw, 5.4rem); letter-spacing: -0.05em; line-height: 1; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -0.025em; line-height: 1.15; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-2); max-width: 58ch; line-height: 1.55; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
em.soft { font-style: italic; color: var(--muted); font-weight: 400; }
p { margin: 0; }
.stack > * + * { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font-weight: 500; font-size: 15px; letter-spacing: -0.01em;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s, border-color .25s, box-shadow .25s;
}
.btn:active { transform: scale(0.98); }
.btn i { font-size: 18px; transition: transform .35s var(--ease); }
.btn:hover i.ph-arrow-right, .btn:hover i.ph-arrow-up-right { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { box-shadow: 0 10px 30px -10px var(--accent); }
.btn-ghost { border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: rgba(255,255,255,.94); color: #12141c; }
.btn-light:hover { background: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.45); color: #fff; background: rgba(0,0,0,.18); backdrop-filter: blur(10px); }
.btn-outline-light:hover { border-color: #fff; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow i { transition: transform .3s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 12px 0; transition: padding .3s var(--ease); }
.nav-shell {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; padding: 0 10px 0 22px;
  border-radius: 999px; background: transparent; border: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s, box-shadow .35s;
}
.site-header.is-scrolled .nav-shell, .site-header.is-solid .nav-shell {
  background: var(--glass); border-color: var(--glass-line); box-shadow: var(--shadow);
  backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%);
}
.site-header.on-dark:not(.is-scrolled) { color: #fff; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 20px; letter-spacing: -0.04em; }
.logo-mark { width: 26px; height: 26px; border-radius: 50% 50% 4px 50%; background: var(--accent); position: relative; flex: none; }
.on-dark:not(.is-scrolled) .logo-mark { background: #fff; }
.logo-mark::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--bg); }
.on-dark:not(.is-scrolled) .logo-mark::after { background: #2a2f3d; }
.logo small { font-weight: 400; color: inherit; opacity: .6; font-size: 13px; letter-spacing: 0; margin-left: 2px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 450; transition: background-color .2s; }
.nav-links a:hover { background: var(--accent-soft); }
.on-dark:not(.is-scrolled) .nav-links a:hover { background: rgba(255,255,255,.14); }
.nav-links a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }
.on-dark:not(.is-scrolled) .nav-links a[aria-current="page"] { background: #fff; color: #12141c; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; transition: background-color .2s, transform .2s; }
.icon-btn:hover { background: var(--accent-soft); }
.icon-btn:active { transform: scale(.95); }
.icon-btn i { font-size: 19px; }
.on-dark:not(.is-scrolled) .icon-btn { border-color: rgba(255,255,255,.35); }
.menu-toggle { display: none; }
.on-dark:not(.is-scrolled) .btn-primary { background: #fff; color: #12141c; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--bg); padding: 96px var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 6px; opacity: 0; pointer-events: none; transform: translateY(-12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: none; }
.mobile-menu a.m-link { font-size: 34px; letter-spacing: -0.04em; padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.mobile-menu .close { position: absolute; top: 22px; right: var(--gutter); }

@media (max-width: 1080px) {
  .nav-links, .nav-actions .btn { display: none; }
  .menu-toggle { display: grid; }
}

/* ---------- Hero (home) ---------- */
.hero { padding: 12px; }
.hero-frame {
  position: relative; min-height: calc(100dvh - 24px); border-radius: 28px; overflow: hidden; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate;
}
.hero-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); animation: heroZoom 2.4s var(--ease) forwards; }
.hero-frame::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,10,20,.45) 0%, rgba(8,10,20,0) 28%, rgba(8,10,20,.1) 55%, rgba(8,10,20,.72) 100%); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-content { padding: 0 clamp(20px, 4vw, 56px) clamp(24px, 4vw, 48px); display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: end; }
.hero-content h1 { max-width: 12ch; }
.hero-sub { font-size: clamp(1rem, 1.3vw, 1.15rem); opacity: .88; max-width: 42ch; margin-top: 22px; }

.search-panel {
  border-radius: 22px; padding: 10px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: none;
}
.search-tabs { display: flex; gap: 4px; padding: 4px; }
.search-tabs button { border: 0; background: transparent; color: #fff; padding: 8px 16px; border-radius: 999px; cursor: pointer; font-size: 14px; opacity: .8; transition: background-color .25s, opacity .25s; }
.search-tabs button[aria-selected="true"] { background: rgba(255,255,255,.95); color: #12141c; opacity: 1; }
.search-fields { margin-top: 8px; background: rgba(255,255,255,.96); color: #12141c; border-radius: 16px; display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; align-items: center; padding: 6px; }
.search-fields label { display: block; padding: 8px 14px; border-right: 1px solid rgba(18,20,28,.1); }
.search-fields label:nth-child(3) { border-right: 0; }
.search-fields label > span { display: block; font-size: 11.5px; color: #5c6272; font-weight: 500; }
.search-fields select, .search-fields input { width: 100%; border: 0; background: transparent; padding: 2px 0; font-size: 15px; outline: none; color: #12141c; appearance: none; }
.search-fields .btn { height: 52px; padding: 0 22px; background: #0f2d7a; color: #fff; }
@media (prefers-reduced-transparency: reduce) { .search-panel { background: rgba(21,24,34,.92); backdrop-filter: none; } }

@media (max-width: 960px) {
  .hero-content { grid-template-columns: 1fr; }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .search-fields label:nth-child(1) { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid rgba(18,20,28,.1); }
  .search-fields label:nth-child(2) { border-right: 1px solid rgba(18,20,28,.1); }
  .search-fields .btn { grid-column: 1 / -1; margin-top: 6px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 132px 0 clamp(40px, 6vw, 72px); }
.page-hero .grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.page-hero .lead { margin-top: 24px; }
.page-hero-media { margin-top: clamp(36px, 5vw, 56px); border-radius: var(--r-card); overflow: hidden; aspect-ratio: 21 / 9; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .page-hero .grid { grid-template-columns: 1fr; gap: 24px; } .page-hero-media { aspect-ratio: 4 / 3; } }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 32px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { display: block; font-weight: 300; font-variant-numeric: tabular-nums; font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.04em; line-height: 1; }
.stat span { display: block; margin-top: 12px; color: var(--muted); font-size: 14.5px; max-width: 22ch; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } .stat { padding-bottom: 24px; } }

/* ---------- Section head ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .lead { margin-top: 16px; }
@media (max-width: 760px) { .section-head { flex-direction: column; align-items: start; } }

/* ---------- Listing card ---------- */
.listing { position: relative; display: flex; flex-direction: column; gap: 16px; }
.listing-media { position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.listing-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.listing:hover .listing-media img { transform: scale(1.05); }
.fav { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer; background: rgba(255,255,255,.9); color: #12141c; backdrop-filter: blur(8px); transition: transform .3s var(--ease); z-index: 2; }
.fav:hover { transform: scale(1.08); }
.fav i { font-size: 19px; }
.fav[aria-pressed="true"] i { color: #c2413b; }
.listing-body { display: grid; gap: 6px; }
.listing-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.listing-title { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; }
.listing-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.listing-price { font-family: var(--mono); font-size: 15px; white-space: nowrap; }
.listing-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 14px; }
.listing-meta span { display: inline-flex; align-items: center; gap: 6px; }
.listing-meta i { font-size: 16px; }
.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 12.5px; background: var(--accent-soft); color: var(--accent); font-weight: 500; }
.chip-neutral { background: var(--surface-2); color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

/* Horizontal rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 31%, 440px); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-controls { display: flex; gap: 8px; }

/* ---------- Bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(250px, auto); gap: 16px; }
.tile { position: relative; border-radius: var(--r-card); overflow: hidden; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--ease); isolation: isolate; }
.tile:hover { transform: translateY(-4px); }
.tile h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.tile p { color: var(--ink-2); max-width: 36ch; margin-top: 10px; }
.tile .go { align-self: flex-start; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); transition: transform .4s var(--ease); }
.tile:hover .go { transform: rotate(-45deg); }
.tile-photo { color: #fff; border: 0; }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tile-photo:hover img { transform: scale(1.04); }
.tile-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,10,20,.05) 30%, rgba(8,10,20,.75)); }
.tile-photo p { color: rgba(255,255,255,.85); }
.tile-photo .go { background: #fff; color: #12141c; }
.tile-accent { background: var(--accent); color: var(--accent-ink); border: 0; }
.tile-accent p { color: inherit; opacity: .85; }
.tile-accent .go { background: var(--accent-ink); color: var(--accent); }
.t-a { grid-column: span 7; grid-row: span 2; }
.t-b { grid-column: span 5; }
.t-c { grid-column: span 5; }
.t-third { grid-column: span 4; min-height: 300px; }
.t-d { grid-column: span 12; min-height: 220px; flex-direction: row; align-items: end; }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } .t-a, .t-b, .t-c, .t-d, .t-third { grid-column: auto; grid-row: auto; min-height: 280px; } .t-a { min-height: 420px; } .t-d { flex-direction: column; align-items: start; gap: 20px; } }

/* ---------- Feature split (image + panel) ---------- */
.feature-band { position: relative; border-radius: 28px; overflow: hidden; min-height: 620px; display: flex; align-items: end; padding: clamp(16px, 3vw, 32px); isolation: isolate; }
.feature-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.feature-card { max-width: 520px; background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); border-radius: 22px; padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }
.feature-card .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; padding: 20px 0; border-block: 1px solid var(--line); }
.feature-card .facts b { display: block; font-family: var(--mono); font-weight: 400; font-size: 22px; letter-spacing: -0.03em; }
.feature-card .facts span { font-size: 13px; color: var(--muted); }

/* ---------- Steps (sticky split) ---------- */
.split-sticky { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-sticky .sticky { position: sticky; top: 120px; }
.steps { display: grid; gap: 12px; counter-reset: step; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 28px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.step-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.step-icon i { font-size: 24px; }
.step h3 { font-size: 20px; letter-spacing: -0.02em; }
.step p { color: var(--ink-2); margin-top: 6px; }
@media (max-width: 860px) { .split-sticky { grid-template-columns: 1fr; } .split-sticky .sticky { position: static; } .step { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.quote { border-radius: var(--r-card); padding: clamp(28px, 4vw, 44px); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.quote blockquote { margin: 0; font-size: clamp(1.25rem, 2.1vw, 1.75rem); letter-spacing: -0.025em; line-height: 1.3; }
.quote.small blockquote { font-size: clamp(1.1rem, 1.5vw, 1.3rem); }
.quote figcaption { display: flex; align-items: center; gap: 14px; font-size: 14.5px; }
.quote figcaption b { display: block; font-weight: 500; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 600; font-size: 15px; }
.quote-stack { display: grid; gap: 16px; }
.stars { display: flex; gap: 2px; color: var(--accent); }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- CTA panel ---------- */
.cta-panel { border-radius: 28px; background: var(--accent); color: var(--accent-ink); padding: clamp(36px, 6vw, 80px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; position: relative; overflow: hidden; }
.cta-panel::after { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 65%); pointer-events: none; }
.cta-panel p { opacity: .85; margin-top: 18px; max-width: 46ch; }
.cta-panel .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cta-panel .btn-invert { background: var(--accent-ink); color: var(--accent); }
.cta-panel .btn-invert-ghost { border-color: currentColor; color: inherit; opacity: .9; }
@media (max-width: 860px) { .cta-panel { grid-template-columns: 1fr; } .cta-panel .actions { justify-content: flex-start; } }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 32px; border-top: 1px solid var(--line); margin-top: clamp(48px, 8vw, 96px); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; }
.footer-grid h4 { font-size: 13px; letter-spacing: .02em; font-weight: 500; color: var(--muted); margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer-grid a:hover { color: var(--accent); }
.footer-word { font-size: clamp(4rem, 15vw, 13rem); font-weight: 600; letter-spacing: -0.07em; line-height: .8; margin-top: 64px; color: var(--surface-2); user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); margin-top: 28px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Packs (vendre) ---------- */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.pack { border-radius: var(--r-card); padding: 32px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 24px; position: relative; }
.pack.highlight { background: var(--ink); color: var(--bg); border-color: transparent; transform: translateY(-12px); }
.pack.highlight .muted, .pack.highlight li { color: color-mix(in srgb, var(--bg) 78%, transparent); }
.pack.highlight li i { color: var(--bg); }
.pack.highlight .btn-primary { background: var(--bg); color: var(--ink); }
.pack-name { display: flex; justify-content: space-between; align-items: center; }
.pack-name h3 { font-size: 26px; }
.pack-price b { font-weight: 300; font-variant-numeric: tabular-nums; font-size: 44px; letter-spacing: -0.05em; }
.pack ul { list-style: none; margin: 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 15px; color: var(--ink-2); flex: 1; }
.pack.highlight ul { border-color: rgba(255,255,255,.12); }
.pack li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.pack li i { color: var(--accent); font-size: 18px; margin-top: 2px; }
.pack li.off { opacity: .45; }
.pack li.off i { color: inherit; }
@media (max-width: 960px) { .packs { grid-template-columns: 1fr; } .pack.highlight { transform: none; } }

/* Reasons grid (2 col numbers) */
.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.reason { padding: 36px 36px 36px 0; display: grid; grid-template-columns: 56px 1fr; gap: 18px; }
.reason:nth-child(even) { padding-left: 36px; border-left: 1px solid var(--line); }
.reason:nth-child(n+3) { border-top: 1px solid var(--line); }
.reason i { font-size: 30px; color: var(--accent); }
.reason h3 { font-size: 21px; letter-spacing: -0.02em; }
.reason p { color: var(--ink-2); margin-top: 8px; max-width: 46ch; }
@media (max-width: 760px) { .reasons { grid-template-columns: 1fr; } .reason, .reason:nth-child(even) { padding: 28px 0; border-left: 0; } .reason + .reason { border-top: 1px solid var(--line); } }

/* ---------- Forms ---------- */
.form-card { border-radius: 24px; background: var(--surface); border: 1px solid var(--line); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; }
.field .help { font-size: 13px; color: var(--muted); }
.field .err { font-size: 13px; color: #b3261e; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b3261e; }
:root[data-theme="dark"] .field .err { color: #f2a19b; }
.input, .field input, .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 16px; border-radius: var(--r-input); border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; appearance: none;
}
.field textarea { height: auto; min-height: 130px; padding: 14px 16px; resize: vertical; }
.field select, select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235c6272' stroke-width='1.6'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .85; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg { position: relative; }
.seg input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.seg label { height: 42px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; font-size: 14.5px; font-weight: 450; transition: all .2s; }
.seg input:checked + label { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.seg input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-success { display: none; text-align: center; padding: 40px 12px; }
.form-success i { font-size: 48px; color: var(--accent); }
.form-success h3 { margin-top: 16px; font-size: 26px; }
.form-success p { color: var(--ink-2); margin: 10px auto 0; max-width: 40ch; }
form.sent .form-body { display: none; }
form.sent .form-success { display: block; }
.btn.loading { pointer-events: none; opacity: .75; }
.btn.loading i { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Acheter: filters ---------- */
.filters-bar { position: sticky; top: 92px; z-index: 20; padding: 10px; border-radius: 22px; background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%); box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; gap: 8px; align-items: end; }
.filters-bar .field label { font-size: 12px; color: var(--muted); padding-left: 4px; font-weight: 500; }
.filters-bar .field select, .filters-bar .field input { height: 46px; background: var(--surface); }
.filters-bar .field { gap: 4px; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 36px 0 24px; }
.results-head .count { font-size: 15px; color: var(--muted); }
.results-head .count b { color: var(--ink); font-weight: 500; }
.type-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.type-pills button { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 14px; transition: all .2s; }
.type-pills button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.grid-listings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 80px 20px; border: 1px dashed var(--line); border-radius: var(--r-card); }
.empty i { font-size: 40px; color: var(--accent); }
.empty h3 { margin-top: 14px; font-size: 22px; }
.empty p { color: var(--muted); margin: 8px auto 20px; max-width: 42ch; }
.skeleton .listing-media, .skeleton .sk-line { background: linear-gradient(90deg, var(--surface-2) 0%, var(--surface) 50%, var(--surface-2) 100%); background-size: 200% 100%; animation: shimmer 1.3s infinite; }
.sk-line { height: 14px; border-radius: 6px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.alert-box { margin-top: 64px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 28px; border-radius: var(--r-card); background: var(--accent-soft); }
.alert-box i { font-size: 32px; color: var(--accent); }
@media (max-width: 1080px) { .filters-bar { grid-template-columns: repeat(3, 1fr); position: static; } .filters-bar .btn { grid-column: 1 / -1; } .grid-listings { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .filters-bar { grid-template-columns: 1fr 1fr; } .grid-listings { grid-template-columns: 1fr; } .alert-box { grid-template-columns: 1fr; } }

/* ---------- Projets neufs ---------- */
.project { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 56px); padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--line); }
.project:nth-child(even) .project-media { order: 2; }
.project-media { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; min-height: 520px; }
.project-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-card); }
.project-media img:first-child { grid-row: span 2; }
.project-status { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.project h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.project .city { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); margin-top: 10px; }
.project .pitch { color: var(--ink-2); margin-top: 18px; max-width: 52ch; }
.project-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; }
.project-kpis b { display: block; font-family: var(--mono); font-weight: 400; font-size: 24px; letter-spacing: -0.03em; }
.project-kpis span { font-size: 13.5px; color: var(--muted); }
.lots { margin-top: 8px; border-radius: var(--r-card); border: 1px solid var(--line); overflow: hidden; background: var(--surface); }
.lots-head, .lot { display: grid; grid-template-columns: .8fr .7fr .8fr .8fr 1.4fr 1.2fr .9fr; gap: 8px; padding: 13px 18px; align-items: center; font-size: 14px; }
.lots-head { font-size: 12px; color: var(--muted); font-weight: 500; background: var(--surface-2); }
.lot + .lot { border-top: 1px solid var(--line); }
.lot .price { font-family: var(--mono); white-space: nowrap; }
.lot .st { font-size: 12.5px; font-weight: 500; }
.lot .st.ok { color: var(--accent); }
.lot .st.res { color: var(--muted); }
.lot.is-reserved { opacity: .6; }
.project-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.project-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
@media (max-width: 960px) {
  .project { grid-template-columns: 1fr; }
  .project:nth-child(even) .project-media { order: 0; }
  .project-media { min-height: 360px; }
  .lots-head { display: none; }
  .lot { grid-template-columns: 1fr 1fr; row-gap: 4px; }
  .lot > :nth-child(5), .lot > :nth-child(3) { display: none; }
}

/* ---------- Immeuble ---------- */
.checklist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.check-group { border-radius: var(--r-card); padding: 28px; background: var(--surface); border: 1px solid var(--line); }
.check-group h3 { font-size: 19px; letter-spacing: -0.02em; display: flex; gap: 10px; align-items: center; }
.check-group h3 i { color: var(--accent); font-size: 22px; }
.check-group ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; color: var(--ink-2); font-size: 15px; }
.check-group li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.check-group li i { color: var(--accent); margin-top: 4px; }
.methods { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.method { border-radius: var(--r-card); padding: 32px; border: 1px solid var(--line); background: var(--surface); grid-column: span 4; }
.method.wide { grid-column: span 8; background: var(--ink); color: var(--bg); border: 0; }
.method.wide p { color: color-mix(in srgb, var(--bg) 75%, transparent); }
.method .formula { font-family: var(--mono); font-size: clamp(1rem, 1.6vw, 1.25rem); margin: 22px 0; padding: 18px 20px; border-radius: 12px; background: color-mix(in srgb, var(--bg) 8%, transparent); border: 1px solid rgba(255,255,255,.12); }
.method h3 { font-size: 22px; letter-spacing: -0.02em; }
.method p { color: var(--ink-2); margin-top: 10px; }
.method.photo { padding: 0; overflow: hidden; }
.method.photo img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.calc-out { border-radius: var(--r-card); background: var(--accent); color: var(--accent-ink); padding: 32px; }
.calc-out b { font-family: var(--mono); font-weight: 400; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.04em; display: block; margin-top: 6px; }
.calc-out .row { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.18); font-size: 15px; margin-top: 12px; }
.range { width: 100%; accent-color: var(--accent); }
@media (max-width: 960px) { .checklist { grid-template-columns: 1fr; } .method, .method.wide { grid-column: 1 / -1; } .calc { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); padding: 0 24px; transition: background-color .2s; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; font-weight: 500; font-size: 17px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { transition: transform .35s var(--ease); font-size: 20px; flex: none; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 70ch; }

/* ---------- À propos ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member-photo { aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; background: var(--surface-2); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .6s var(--ease), transform 1s var(--ease); }
.member:hover .member-photo img { filter: grayscale(0); transform: scale(1.03); }
.member h3 { font-size: 19px; letter-spacing: -0.02em; margin-top: 18px; }
.member .role { color: var(--accent); font-size: 14px; margin-top: 4px; }
.member p { color: var(--ink-2); font-size: 14.5px; margin-top: 10px; }
.member a { display: inline-flex; gap: 6px; align-items: center; margin-top: 12px; font-size: 14px; font-family: var(--mono); }
.team .member:nth-child(even) { margin-top: 56px; }
@media (max-width: 960px) { .team { grid-template-columns: 1fr 1fr; } .team .member:nth-child(even) { margin-top: 32px; } }
@media (max-width: 520px) { .team { grid-template-columns: 1fr; } .team .member:nth-child(even) { margin-top: 0; } }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.milestone { padding: 28px 24px 0 0; position: relative; }
.milestone::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.milestone b { font-weight: 300; font-variant-numeric: tabular-nums; font-size: 28px; letter-spacing: -0.04em; }
.milestone h3 { font-size: 18px; margin-top: 10px; letter-spacing: -0.02em; }
.milestone p { color: var(--ink-2); font-size: 15px; margin-top: 8px; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr 1fr; row-gap: 32px; } }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.story-media { position: relative; }
.story-media img { border-radius: var(--r-card); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story-media img.inset { position: absolute; width: 46%; aspect-ratio: 1; right: -24px; bottom: -32px; border: 6px solid var(--bg); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story-media img.inset { right: 12px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.c-card { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 22px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); align-items: center; transition: border-color .2s; }
a.c-card:hover { border-color: var(--accent); }
.c-card .step-icon { width: 48px; height: 48px; }
.c-card span { font-size: 13px; color: var(--muted); display: block; }
.c-card b { font-weight: 500; font-size: 16.5px; }
.map { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); height: 260px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6); }
.hours { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; font-size: 15px; }
.hours span:nth-child(even) { font-family: var(--mono); font-size: 14px; color: var(--ink-2); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

/* Split media */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split img { border-radius: var(--r-card); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Marquee (one per site: home) */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -0.03em; color: var(--muted); }
.marquee-track span { display: inline-flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee-track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .reveal.in { opacity: 1; transform: none; }
  .hero-reveal { opacity: 0; transform: translateY(24px); animation: heroIn 1.1s var(--ease) forwards; animation-delay: calc(.25s + var(--i, 0) * 120ms); }
  @keyframes heroIn { to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-frame > img { transform: none; }
}

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 70; background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-size: 14.5px; display: flex; gap: 10px; align-items: center; transition: all .35s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.pack-price span { margin-left: 6px; }
@media (max-width: 960px) {
  .hero-frame::before { background: linear-gradient(180deg, rgba(8,10,20,.5) 0%, rgba(8,10,20,.15) 22%, rgba(8,10,20,.55) 45%, rgba(8,10,20,.85) 100%); }
  .hero-frame > img { object-position: 62% center; }
}

/* ---------- Wayne content adaptations ---------- */
.logo { letter-spacing: -0.05em; font-size: 22px; }
.project-media.single { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.project-media.single img:first-child { grid-row: auto; }
.project-media.double { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; }
.project-media.double img:first-child { grid-row: auto; }
.lots-head, .lot { grid-template-columns: 1.1fr .8fr .9fr 1fr .9fr; }
.timeline.three { grid-template-columns: repeat(3, 1fr); }
.checklist.two { grid-template-columns: repeat(2, 1fr); }
.check-group p { color: var(--ink-2); margin-top: 14px; font-size: 15px; }
@media (max-width: 960px) {
  .lot { grid-template-columns: 1fr 1fr; }
  .lot > :nth-child(3), .lot > :nth-child(5) { display: inline; }
  .checklist.two { grid-template-columns: 1fr; }
}
@media (max-width: 860px) { .timeline.three { grid-template-columns: 1fr; row-gap: 32px; } }
.pack ul { align-content: start; }

/* Accent surfaces: always calm navy (light & dark) */
:root { --accent-surface: #0f2d7a; --accent-surface-ink: #ffffff; }
:root[data-theme="dark"] { --accent-surface: #0d3b66; --accent-surface-ink: #e8eaf0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --accent-surface: #0d3b66; --accent-surface-ink: #e8eaf0; } }
.tile-accent, .cta-panel, .calc-out { background: var(--accent-surface); color: var(--accent-surface-ink); }
.tile-accent .go { background: var(--accent-surface-ink); color: var(--accent-surface); }
.cta-panel .btn-invert { background: var(--accent-surface-ink); color: var(--accent-surface); }

/* ---------- Hero centré + barre d'estimation ---------- */
.hero-centered { justify-content: center; }
.hero-centered::before { background:
  radial-gradient(ellipse 70% 60% at 50% 52%, rgba(8,10,20,.48) 0%, rgba(8,10,20,.18) 70%, rgba(8,10,20,0) 100%),
  linear-gradient(180deg, rgba(8,10,20,.42) 0%, rgba(8,10,20,.08) 30%, rgba(8,10,20,.12) 70%, rgba(8,10,20,.45) 100%); }
.hero-centered .hero-content { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 0; padding: 96px clamp(20px, 4vw, 56px) 72px; }
.hero-centered .hero-content h1 { max-width: 14ch; text-shadow: 0 2px 30px rgba(8,10,20,.25); }
.hero-centered .hero-sub { margin-left: auto; margin-right: auto; max-width: 62ch; text-wrap: balance; text-shadow: 0 1px 16px rgba(8,10,20,.35); }
.estimate-bar {
  margin-top: 36px; width: min(620px, 100%); display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 22px;
  border-radius: 999px; background: rgba(255,255,255,.96); color: #12141c; text-align: left;
  box-shadow: 0 20px 60px -20px rgba(8,10,20,.6), inset 0 0 0 1px rgba(255,255,255,.5);
}
.estimate-bar > i { font-size: 20px; color: #0f2d7a; flex: none; }
.estimate-bar input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 16px; padding: 12px 4px; outline: none; color: #12141c; }
.estimate-bar input::placeholder { color: #5c6272; }
.estimate-bar:focus-within { box-shadow: 0 20px 60px -20px rgba(8,10,20,.6), 0 0 0 4px rgba(169,184,238,.55); }
.estimate-bar .btn { height: 52px; padding: 0 24px; background: #0f2d7a; color: #fff; flex: none; }
.estimate-bar .btn:hover { box-shadow: 0 10px 30px -10px #0f2d7a; }
@media (max-width: 600px) {
  .estimate-bar { flex-wrap: wrap; border-radius: 22px; padding: 8px 8px 8px 18px; }
  .estimate-bar input { flex-basis: calc(100% - 40px); }
  .estimate-bar .btn { width: 100%; }
}
@media (max-width: 960px) { .hero-centered::before { background: linear-gradient(180deg, rgba(8,10,20,.5) 0%, rgba(8,10,20,.35) 40%, rgba(8,10,20,.55) 100%); } }
@media (max-width: 960px) { .hero-centered > img { object-position: 22% center; } }

/* ---------- Bascule Grille / Carte ---------- */
.view-toggle { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.view-toggle button { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-size: 14px; color: var(--ink-2); transition: background-color .2s, color .2s; }
.view-toggle button i { font-size: 16px; }
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* ---------- Carte swisstopo ---------- */
.map-view { position: relative; height: min(76vh, 780px); min-height: 460px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); isolation: isolate; }
.map-view[hidden] { display: none; }
#map { position: absolute; inset: 0; background: #1c202c; font-family: var(--font); }
.map-note { position: absolute; left: 16px; bottom: 16px; z-index: 500; margin: 0; padding: 8px 14px; border-radius: 999px; font-size: 13px; color: #12141c; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); pointer-events: none; }
.map-empty { position: absolute; inset: 0; z-index: 500; display: grid; place-content: center; justify-items: center; gap: 10px; color: #fff; background: rgba(8,10,20,.45); font-size: 16px; }
.map-empty[hidden] { display: none; }
.map-empty i { font-size: 34px; }
.leaflet-control-zoom { border: 0 !important; margin: 0 16px 16px 0 !important; border-radius: 999px; overflow: hidden; box-shadow: 0 8px 24px -8px rgba(8,10,20,.5); }
.leaflet-control-zoom a { width: 40px !important; height: 40px !important; line-height: 40px !important; color: #12141c !important; background: rgba(255,255,255,.94) !important; border: 0 !important; font-size: 18px !important; }
.leaflet-control-attribution { border-radius: 10px 0 0 0; font-size: 11px; background: rgba(255,255,255,.75) !important; }
.pin-wrap { background: none; border: 0; }
.pin { position: absolute; left: 0; top: 0; transform: translate(calc(-50% + var(--dx, 0px)), calc(-100% - 6px + var(--dy, 0px))); transition: transform .3s var(--ease); display: flex; flex-direction: column; align-items: center; }
.pin-price { position: relative; display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; white-space: nowrap; font: 500 13px/1 var(--mono); letter-spacing: -0.02em; color: #12141c; background: #fff; box-shadow: 0 6px 18px -6px rgba(8,10,20,.6), 0 0 0 1px rgba(18,20,28,.06); transition: transform .25s var(--ease), background-color .2s, color .2s; cursor: pointer; }
.pin-price::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.pin-wrap:hover .pin-price, .pin.open .pin-price { background: #0f2d7a; color: #fff; transform: scale(1.06); }
.pin-card { position: absolute; bottom: calc(100% + 12px); left: 50%; width: 270px; display: block; border-radius: 18px; overflow: hidden; background: #fff; color: #12141c; text-decoration: none; box-shadow: 0 24px 60px -16px rgba(8,10,20,.7); opacity: 0; pointer-events: none; transform: translate(-50%, 8px) scale(.94); transform-origin: 50% 100%; transition: opacity .28s var(--ease), transform .35s var(--ease); }
.pin.open .pin-card { opacity: 1; pointer-events: auto; transform: translate(-50%, 0) scale(1); }
.pin-card img { width: 100%; height: 150px; object-fit: cover; display: block; }
.pin-body { display: grid; gap: 4px; padding: 12px 14px 14px; }
.pin-body b { font-weight: 500; font-size: 14.5px; line-height: 1.3; letter-spacing: -0.01em; }
.pin-body span { font-size: 12.5px; color: #5c6272; }
.pin-body strong { font: 500 14px var(--mono); color: #0f2d7a; margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { .pin-card, .pin-price { transition: none; } }
@media (max-width: 640px) { .map-view { height: 70vh; border-radius: 18px; } .pin-card { width: 230px; } .map-note { right: 16px; text-align: center; border-radius: 12px; } }

/* ---------- Annonce ---------- */
.bien-price { font: 300 clamp(1.8rem, 3.4vw, 2.8rem)/1 var(--font); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { #bien .page-hero .grid > :last-child { justify-self: start !important; text-align: left !important; } #bien .page-hero .grid > :last-child > div { justify-content: flex-start !important; } }

/* ---------- Sélection accueil : grille ---------- */
.featured-more { display: flex; justify-content: center; margin-top: 48px; }

.grid-listings[hidden] { display: none; }
/* En vue carte, la barre de filtres ne recouvre pas la carte */
body[data-page="acheter"]:has(#map-view:not([hidden])) .filters-bar { position: static; }
.pin-anchor { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px #0f2d7a, 0 2px 6px rgba(8,10,20,.5); }
.pin.shifted .pin-price::after { display: none; }
.map-note { top: 16px; bottom: auto; }
.results-head > div:last-child { flex-wrap: wrap; }
@media (max-width: 640px) { .results-head > div:last-child { width: 100%; } .results-head .count { flex-basis: 100%; } }

/* Sélection accueil : 4 tuiles par ligne, plus compactes */
.featured-grid { grid-template-columns: repeat(4, 1fr); gap: 36px 20px; }
.featured-grid .listing { gap: 12px; }
.featured-grid .listing-media { aspect-ratio: 4 / 3; border-radius: 16px; }
.featured-grid .listing-title { font-size: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.featured-grid .listing-meta { font-size: 13px; gap: 4px 12px; }
.featured-grid .listing-price { font-size: 13.5px; }
.featured-grid .listing-top .muted { font-size: 13.5px !important; }
.featured-grid .chip { height: 24px; font-size: 12px; padding: 0 10px; }
.featured-grid .fav { width: 36px; height: 36px; top: 10px; right: 10px; }
.featured-grid .fav i { font-size: 17px; }
@media (max-width: 1080px) { .featured-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .featured-grid { grid-template-columns: 1fr; } .featured-grid > :nth-child(n+5) { display: none; } }

/* ---------- Promotions : carrousel avec panneau verre dépoli (tiers gauche) ---------- */
.promo-band { position: relative; height: clamp(560px, 46vw, 660px); border-radius: 28px; overflow: hidden; isolation: isolate; outline: none; background: var(--surface-2); }
.promo-band:focus-visible { box-shadow: 0 0 0 3px var(--accent); }
.promo-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .8s var(--ease), transform 1.6s var(--ease); z-index: -1; }
.promo-slides img.on { opacity: 1; transform: none; }
.promo-panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: max(34%, 400px); padding: clamp(28px, 3vw, 44px);
  display: flex; flex-direction: column;
  background: linear-gradient(160deg, rgba(255,255,255,.72), rgba(255,255,255,.56));
  border-right: 1px solid rgba(255,255,255,.55);
  backdrop-filter: blur(26px) saturate(160%); -webkit-backdrop-filter: blur(26px) saturate(160%);
  box-shadow: inset -1px 0 0 rgba(255,255,255,.25), 18px 0 50px -30px rgba(8,10,20,.45);
  color: #12141c;
}
:root[data-theme="dark"] .promo-panel { background: linear-gradient(160deg, rgba(21,24,34,.74), rgba(21,24,34,.6)); border-right-color: rgba(255,255,255,.08); color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .promo-panel { background: linear-gradient(160deg, rgba(21,24,34,.74), rgba(21,24,34,.6)); border-right-color: rgba(255,255,255,.08); color: var(--ink); } }
@media (prefers-reduced-transparency: reduce) { .promo-panel { background: var(--surface); backdrop-filter: none; } }
.promo-inner { display: flex; flex-direction: column; gap: 24px; height: 100%; }
.promo-inner.swap { animation: promoIn .55s var(--ease); }
@keyframes promoIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.promo-top { display: grid; gap: 14px; }
.promo-logo { height: 58px; width: auto; max-width: 240px; object-fit: contain; object-position: left center; margin-top: 8px; }
.promo-wordmark { font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1.02; margin-top: 8px; }
:root[data-theme="dark"] .promo-logo.tone-dark { filter: brightness(0) invert(1); }
:root:not([data-theme="dark"]) .promo-logo.tone-light { filter: brightness(0); opacity: .85; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .promo-logo.tone-dark { filter: brightness(0) invert(1); }
  :root:not([data-theme="light"]) .promo-logo.tone-light { filter: none; opacity: 1; }
}
.promo-city { display: flex; align-items: center; gap: 6px; font-size: 14px; color: inherit; opacity: .7; }
.promo-pitch { font-size: 15px; line-height: 1.55; opacity: .85; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.promo-kpis { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 12px; padding: 18px 0; border-block: 1px solid rgba(18,20,28,.12); margin-top: auto; }
:root[data-theme="dark"] .promo-kpis { border-color: rgba(255,255,255,.1); }
.promo-kpis b { display: block; font-weight: 400; font-size: 22px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.promo-kpis span { font-size: 12.5px; opacity: .65; }
.promo-bottom { display: grid; gap: 14px; }
.promo-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.promo-actions .btn { height: 46px; padding: 0 18px; font-size: 14px; }
.promo-actions .btn-ghost { border-color: rgba(18,20,28,.18); color: inherit; }
:root[data-theme="dark"] .promo-actions .btn-ghost { border-color: rgba(255,255,255,.18); }
.promo-advisor { font-size: 13px; opacity: .65; }
.promo-nav { position: absolute; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(8,10,20,.35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.18); }
.promo-arrow { width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(255,255,255,.95); color: #12141c; transition: transform .25s var(--ease), background-color .2s; }
.promo-arrow:hover { transform: scale(1.06); background: #fff; }
.promo-arrow:active { transform: scale(.96); }
.promo-arrow i { font-size: 18px; }
.promo-count { color: #fff; font-size: 13px; padding: 0 8px; letter-spacing: .04em; }
@media (max-width: 860px) {
  .promo-band { height: auto; display: flex; flex-direction: column; }
  .promo-slides { position: relative; height: 300px; }
  .promo-panel { position: relative; width: auto; border-right: 0; background: var(--surface); color: var(--ink); backdrop-filter: none; box-shadow: none; }
  :root[data-theme="dark"] .promo-panel { background: var(--surface); }
  .promo-nav { top: 244px; bottom: auto; right: 12px; }
  .promo-kpis { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Avis : marquee deux rangées (adapté du composant 21st marquee-01) ---------- */
.rating-badge { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14.5px; transition: border-color .2s; }
.rating-badge:hover { border-color: var(--accent); }
.rating-badge b { font-weight: 600; }
.reviews-marquee { position: relative; display: grid; gap: 16px; overflow: hidden; padding: 4px 0; }
.reviews-marquee::before, .reviews-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 18%; z-index: 2; pointer-events: none; }
.reviews-marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.reviews-marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.rm-row { display: flex; width: max-content; --rm-duration: 55s; }
.rm-track { display: flex; gap: 16px; padding-right: 16px; animation: rmScroll var(--rm-duration) linear infinite; }
.rm-row.reverse .rm-track { animation-direction: reverse; }
.rm-row:hover .rm-track { animation-play-state: paused; }
@keyframes rmScroll { to { transform: translateX(-100%); } }
.review-card { margin: 0; width: 360px; flex: none; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; transition: border-color .2s, transform .3s var(--ease); }
.review-card:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); transform: translateY(-2px); }
.review-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.review-head b { display: block; font-weight: 500; font-size: 15px; }
.review-head small { display: block; font-size: 12.5px; color: var(--muted); }
.review-head .stars { font-size: 13px; }
.review-card blockquote { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.review-card:hover blockquote { -webkit-line-clamp: unset; }
@media (max-width: 640px) { .review-card { width: 290px; } .reviews-marquee::before, .reviews-marquee::after { width: 10%; } }
@media (prefers-reduced-motion: reduce) { .rm-row { width: auto; overflow-x: auto; } .rm-track { animation: none; } .rm-track[aria-hidden] { display: none; } }
.promo-features { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.promo-features li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; opacity: .85; }
.promo-features i { color: var(--accent); margin-top: 3px; }
.promo-pitch { -webkit-line-clamp: 3; }
@media (max-height: 760px) and (min-width: 861px) { .promo-features li:nth-child(n+3) { display: none; } }
@media (min-width: 861px) { .promo-band { height: clamp(620px, 50vw, 720px); } .promo-logo { height: 50px; } .promo-inner { gap: 20px; } }
.promo-wordmark { font-size: clamp(1.8rem, 2.5vw, 2.3rem); margin-top: 4px; }

/* Une seule police sur tout le site : les anciens éléments "mono" passent en Geist, chiffres à largeur fixe */
.mono, .listing-price, .lot .price, .pin-price, .pin-body strong, .promo-count, .stat b, .member a, .c-card b { font-family: var(--font); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.promo-count { letter-spacing: 0; }

/* Logo : "immobilier" sur la même ligne de base que "Wayne" */
.logo { align-items: baseline; }
.logo { gap: 0; }
/* "immobilier" : même taille que "Wayne" (même hauteur de lettres), graisse plus fine, plus proche */
.logo small { font-size: 1em; font-weight: 400; letter-spacing: -0.03em; margin-left: .2em; }

/* ---------- Promotions : coverflow 3D, cartes 16/9 ---------- */
.fan { --card-w: min(780px, 58vw); outline: none; }
.fan:focus-visible .fan-dots button[aria-current="true"] { outline: 2px solid var(--accent); outline-offset: 3px; }
.fan-stage { position: relative; overflow: hidden; padding: 40px 0 96px; margin: 0 calc(50% - 50vw) -56px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; outline: none; }
.fan-stage.dragging { cursor: grabbing; }
.fan-track { position: relative; height: calc(var(--card-w) * 9 / 16); transform-style: preserve-3d; }
.fan-card {
  position: absolute; top: 0; left: 50%; width: var(--card-w); aspect-ratio: 16 / 9;
  border-radius: 24px; overflow: hidden; isolation: isolate; background: var(--surface-2); -webkit-mask-image: -webkit-radial-gradient(white, black); transform-style: flat;
  box-shadow: 0 30px 60px -28px rgba(8,10,20,.55); will-change: transform, opacity; cursor: inherit;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.fan-card > img.fan-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; -webkit-user-drag: none; pointer-events: none; }
.fan-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 6px; }
.fan-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform .25s var(--ease), border-color .2s; }
.fan-arrow:hover { transform: scale(1.06); border-color: var(--accent); }
.fan-arrow:active { transform: scale(.96); }
.fan-arrow i { font-size: 18px; }
.fan-dots { display: flex; gap: 6px; }
.fan-dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: width .3s var(--ease), background-color .3s; }
.fan-dots button:hover { background: var(--muted); }
.fan-dots button[aria-current="true"] { width: 26px; background: var(--accent); }
@media (max-width: 760px) {
  .fan { --card-w: 78vw; }
  .fan-card { aspect-ratio: 4 / 5; }
  .fan-track { height: calc(var(--card-w) * 5 / 4); }
    }
.logo { font-size: 19px; }

/* ---------- Cartes : photo nette en haut, bande logo + infos en dessous ---------- */
.fan { --band: 104px; }
.fan-track { height: calc(var(--card-w) * 9 / 16 + var(--band)); }
.fan-card { aspect-ratio: auto; height: calc(var(--card-w) * 9 / 16 + var(--band)); display: flex; flex-direction: column; background: var(--surface); }
.fan-media { position: relative; flex: 1; min-height: 0; }
.fan-card .fan-media > img.fan-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; -webkit-user-drag: none; pointer-events: none; }
.fan-info { height: var(--band); flex: none; display: flex; align-items: center; gap: 28px; padding: 0 28px; background: var(--surface); color: var(--ink); border-top: 1px solid var(--line); }
.fan-mark { --s: 1; flex: none; width: auto; height: calc(50px * var(--s)); max-width: 170px; object-fit: contain; filter: brightness(0); }
.fan-mark.keep { filter: none; }
:root[data-theme="dark"] .fan-mark:not(.keep) { filter: brightness(0) invert(1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fan-mark:not(.keep) { filter: brightness(0) invert(1); } }
.fan-facts { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 1px solid var(--line); display: flex; gap: 26px; flex: 1; min-width: 0; overflow: hidden; font-size: 14.5px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }
.fan-facts span { display: block; font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.fan-btn { flex: none; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 20px; border-radius: 999px; color: #fff; background: var(--accent); font-size: 14px; font-weight: 500; letter-spacing: -0.01em; transition: transform .25s var(--ease), opacity .4s var(--ease); }
.fan-btn:hover { transform: translateY(-1px); }
.fan-btn i { font-size: 16px; transition: transform .3s var(--ease); }
.fan-btn:hover i { transform: translateX(3px); }
.fan-card:not(.is-active) .fan-btn { opacity: 0; pointer-events: none; }
.fan-nav { position: relative; z-index: 5; }
.fan-card { container-type: inline-size; }
@container (max-width: 840px) { .fan-facts li:nth-child(4) { display: none; } .fan-info { gap: 20px; } .fan-facts { gap: 18px; padding-left: 20px; } }
@container (max-width: 600px) and (min-width: 400px) { .fan-facts li:nth-child(3) { display: none; } }
@container (max-width: 399px) { .fan-facts li:nth-child(3) { display: none; } }
@media (max-width: 760px) {
  .fan { --band: 186px; }
  .fan-track, .fan-card { height: calc(var(--card-w) * 3 / 4 + var(--band)); }
  .fan-info { flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; padding: 14px 18px 16px; }
  .fan-mark { height: calc(30px * var(--s)); max-width: 140px; }
  .fan-facts { flex: none; width: 100%; padding: 0; border-left: 0; gap: 16px; font-size: 13.5px; }
  .fan-facts span { font-size: 10.5px; margin-bottom: 2px; }
  .fan-btn { width: 100%; justify-content: center; height: 40px; font-size: 13.5px; }
}

/* Tuiles photo : bouton flèche en verre dépoli transparent (comme le bouton des promotions) */
.tile-photo .go { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.38); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 8px 24px -10px rgba(8,10,20,.5); transition: transform .4s var(--ease), background-color .25s; }
.tile-photo:hover .go { background: rgba(255,255,255,.24); }
@media (prefers-reduced-transparency: reduce) { .tile-photo .go { background: rgba(8,10,20,.6); backdrop-filter: none; } }

/* ---------- Projets neufs, version B : grille de cartes + panneau de détail ---------- */
.pn-section { padding: 8px 0 clamp(56px, 8vw, 96px); }
.pn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.pn-card { all: unset; box-sizing: border-box; display: flex; flex-direction: column; cursor: pointer; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); container-type: inline-size; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.pn-card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(20,26,56,.05), 0 24px 60px -20px rgba(20,26,56,.3); }
.pn-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.pn-big { grid-column: 1 / -1; }
.pn-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.pn-big .pn-media { aspect-ratio: 21 / 9; }
.pn-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pn-card:hover .pn-media img { transform: scale(1.035); }
.pn-status { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.9); color: var(--ink); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pn-info { display: flex; align-items: center; gap: 22px; padding: 20px 22px; border-top: 1px solid var(--line); }
.pn-logo { --s: 1; flex: none; height: calc(42px * var(--s)); width: auto; max-width: 150px; object-fit: contain; filter: brightness(0); }
.pn-logo.keep { filter: none; }
:root[data-theme="dark"] .pn-logo:not(.keep) { filter: brightness(0) invert(1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pn-logo:not(.keep) { filter: brightness(0) invert(1); } }
.pn-facts { flex: 1; min-width: 0; display: flex; gap: 22px; padding-left: 22px; border-left: 1px solid var(--line); font-size: 14.5px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; }
.pn-facts small { display: block; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 3px; }
.pn-go { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 17px; transition: transform .4s var(--ease); }
.pn-card:hover .pn-go { transform: rotate(45deg); }
@container (max-width: 640px) { .pn-facts > span:nth-child(4) { display: none; } }
@container (max-width: 520px) { .pn-facts > span:nth-child(3) { display: none; } .pn-info { gap: 16px; padding: 16px 18px; } .pn-facts { gap: 16px; padding-left: 16px; } .pn-logo { height: calc(34px * var(--s)); max-width: 120px; } }
@container (max-width: 300px) { .pn-facts > span:nth-child(2) { display: none; } }
@media (max-width: 760px) { .pn-grid { grid-template-columns: 1fr; } .pn-big .pn-media { aspect-ratio: 16 / 10; } }

/* Panneau de détail : glisse depuis la droite */
.pn-panel { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(620px, 100vw); max-width: none; height: 100dvh; max-height: none; padding: 0; border: 0; background: var(--bg); color: var(--ink); box-shadow: -30px 0 80px -30px rgba(8,10,20,.45); overflow: hidden; }
.pn-panel[open] { animation: pn-in .5s var(--ease); }
.pn-panel::backdrop { background: rgba(8,10,20,.42); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: pn-fade .4s ease; }
@keyframes pn-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pn-fade { from { opacity: 0; } }
.pn-panel-body { height: 100%; overflow-y: auto; padding: 20px clamp(20px, 4vw, 36px) 40px; overscroll-behavior: contain; }
.pn-close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.85); color: #12141c; display: grid; place-items: center; cursor: pointer; font-size: 18px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pn-p-media { display: grid; gap: 8px; margin: 0 calc(-1 * clamp(20px, 4vw, 36px)) 24px; margin-top: -20px; }
.pn-p-media img { width: 100%; height: 100%; object-fit: cover; }
.pn-p-media.n1 img { aspect-ratio: 16 / 10; }
.pn-p-media.n2 { grid-template-columns: 2fr 1fr; } .pn-p-media.n2 img { aspect-ratio: auto; height: 300px; }
.pn-p-media.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 150px 150px; } .pn-p-media.n3 img:first-child { grid-row: span 2; }
.pn-p-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.pn-p-head .project-status { margin: 0; }
.pn-logo-lg { height: calc(56px * var(--s)); max-width: 220px; }
.pn-city { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); }
.pn-pitch { color: var(--ink-2); margin: 14px 0 0; }
.pn-panel .project-kpis { margin: 24px 0; }
.pn-lots { border-radius: var(--r-card); border: 1px solid var(--line); overflow: hidden; background: var(--surface); margin-bottom: 24px; }
.pn-lot { display: grid; grid-template-columns: 1.1fr .8fr .9fr 1fr; gap: 8px; padding: 12px 16px; font-size: 14px; align-items: center; }
.pn-lot + .pn-lot { border-top: 1px solid var(--line); }
.pn-lot-head { font-size: 12px; color: var(--muted); font-weight: 500; background: var(--surface-2); }
.pn-lot .price { font-variant-numeric: tabular-nums; text-align: right; } .pn-lot-head span:last-child { text-align: right; }
@media (prefers-reduced-motion: reduce) { .pn-panel[open], .pn-panel::backdrop { animation: none; } }

/* ---------- Chiffres : cartes qui s'ouvrent (accueil) ---------- */
.facts-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3vw, 40px); }
.facts-head .h2 { max-width: 20ch; }
.facts-head .accent { color: var(--accent); }
.facts-since { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.facts-grid { display: flex; gap: clamp(8px, 1vw, 14px); }
.fact-card { position: relative; flex: 1 1 0; min-width: 0; height: clamp(250px, 21vw, 320px); border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: flex-grow .7s var(--ease), height .7s var(--ease), box-shadow .5s var(--ease); }
.fact-card.is-open { flex-grow: 2.4; box-shadow: var(--shadow); }
.fact { all: unset; box-sizing: border-box; position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(18px, 1.8vw, 28px); cursor: pointer; color: var(--ink); }
.fact:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); border-radius: 24px; }
.fact-card:has([data-tone="night"]) { background: var(--accent); border-color: var(--accent); }
.fact[data-tone="night"] { color: #fff; }
.fact[data-tone="night"]:focus-visible { box-shadow: inset 0 0 0 2px #fff; }
.fact-card:has([data-tone="soft"]) { background: var(--surface-2); }
.fact-top { display: flex; justify-content: space-between; align-items: center; }
.fact-title { font-size: 14px; font-weight: 500; letter-spacing: -0.005em; }
.fact-plus { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid currentColor; opacity: .35; transition: transform .5s var(--ease), opacity .3s; }
.fact-plus::before, .fact-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.fact-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.fact-card:hover .fact-plus { opacity: .7; }
.fact-card.is-open .fact-plus { transform: rotate(45deg); opacity: 0; }
.fact-reading { display: block; width: 100%; transition: width .7s var(--ease); }
.fact-card.is-open .fact-reading { width: 50%; }
.fact-value { display: block; white-space: nowrap; font-size: clamp(3rem, 5.6vw, 5.4rem); font-weight: 400; letter-spacing: -0.055em; line-height: .95; font-variant-numeric: tabular-nums; }
.fact-value b { font-weight: inherit; }
.fact-value small { font-size: .4em; letter-spacing: -0.02em; margin-left: .08em; }
.fact-note { display: block; margin-top: 12px; max-width: 20ch; font-size: clamp(13.5px, 1.05vw, 16px); line-height: 1.3; opacity: .75; }
/* barre de progression du défilement automatique */
.fact-bar { position: absolute; left: clamp(18px, 1.8vw, 28px); right: clamp(18px, 1.8vw, 28px); bottom: 12px; height: 2px; border-radius: 2px; background: currentColor; opacity: 0; transform-origin: left; transform: scaleX(0); }
.facts-grid.is-auto .fact-card.is-open .fact-bar { opacity: .35; animation: fact-bar 6s linear forwards; }
@keyframes fact-bar { to { transform: scaleX(1); } }
.fact-card.is-open .fact-bar { right: calc(48% + clamp(18px, 1.8vw, 28px)); }
/* détail, à droite de la carte ouverte */
.fact-detail { position: absolute; z-index: 2; top: 8px; right: 8px; bottom: 8px; width: 46%; margin: 0; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; opacity: 0; transform: translateX(16px) scale(.98); pointer-events: none; transition: opacity .25s, transform .25s; }
.fact-detail[hidden] { display: flex; }
.fact-card.is-open .fact-detail { opacity: 1; transform: none; pointer-events: auto; transition: opacity .5s .25s, transform .7s .2s var(--ease); }
.fact-detail p { margin: 0; }
.fact-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.fact-card.is-open .fact-photo img { transform: none; }
.fact-photo p { position: relative; padding: 40px 16px 14px; color: rgba(255,255,255,.8); font-size: 12.5px; line-height: 1.35; background: linear-gradient(transparent, rgba(8,10,20,.7)); }
.fact-photo strong { display: block; color: #fff; font-weight: 500; font-size: 14px; }
.fact-copy { justify-content: center; padding: clamp(16px, 1.6vw, 24px); background: var(--surface-2); color: var(--ink); }
.fact-card:has([data-tone="soft"]) .fact-copy { background: var(--surface); }
.fact-quote { font-size: clamp(18px, 1.55vw, 26px); line-height: 1.15; letter-spacing: -0.03em; }
.fact-credit { margin-top: 14px !important; font-size: 12px; color: var(--muted); }
.fact-stars { display: flex; gap: 2px; color: #e3a008; font-size: 15px; margin-bottom: 12px; }
.fact-map { align-items: center; justify-content: center; padding: 12px; background: var(--surface); }
.fact-map img { width: 100%; height: 80%; object-fit: contain; }
.fact-map p { font-size: 12px; color: var(--muted); text-align: center; }
.fact-map small { display: block; font-size: 10px; opacity: .8; }
:root[data-theme="dark"] .fact-map img { filter: invert(.88) hue-rotate(180deg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fact-map img { filter: invert(.88) hue-rotate(180deg); } }
/* tablette et mobile : cartes empilées qui s'ouvrent vers le bas */
@media (max-width: 860px) {
  .facts-head { flex-direction: column; align-items: flex-start; }
  .facts-grid { flex-direction: column; }
  .fact-card { flex: none; height: 116px; }
  .fact-card.is-open { height: 372px; }
  .fact { justify-content: flex-start; gap: 12px; }
  .fact-reading, .fact-card.is-open .fact-reading { display: flex; align-items: baseline; gap: 14px; width: 100%; }
  .fact-value { font-size: 2.6rem; }
  .fact-note { margin-top: 0; }
  .fact-detail { top: auto; left: 8px; right: 8px; width: auto; height: 220px; transform: translateY(12px); }
  .fact-card.is-open .fact-bar { right: clamp(18px, 1.8vw, 28px); bottom: 236px; }
}
@media (prefers-reduced-motion: reduce) { .fact-card, .fact-reading, .fact-detail, .fact-photo img { transition: none !important; } .facts-grid .fact-bar { display: none; } }



/* ---------- En-tête de page uniforme : titre sur 2 lignes, texte de 3 lignes, 2 boutons ---------- */
.page-hero.ph-std { padding: 132px 0 clamp(36px, 5vw, 56px); }
.page-hero.ph-std .grid { grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.ph-title { font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: 1; letter-spacing: -0.05em; margin-top: 0; white-space: nowrap; }
.page-hero.ph-std .lead { margin-top: 0; max-width: 46ch; }
.ph-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.page-hero.ph-std .page-hero-media { margin-top: clamp(32px, 4vw, 48px); }
.ph-filters { margin-top: 0; margin-bottom: 24px; scroll-margin-top: 100px; }
@media (max-width: 860px) {
  .page-hero.ph-std { padding-top: 112px; }
  .page-hero.ph-std .grid { grid-template-columns: 1fr; gap: 20px; }
  .ph-title { white-space: normal; font-size: clamp(2.4rem, 10vw, 3.2rem); }
}

/* ---------- Projets neufs, version C : liste + carte satellite ---------- */
.pc-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.pc-list { display: grid; gap: 10px; }
.pc-row { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 30px 132px minmax(0, 1fr) 42px; align-items: center; gap: 18px; padding: 12px 16px 12px 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease); }
.pc-row:hover, .pc-row.is-hot { border-color: var(--accent); box-shadow: var(--shadow); transform: translateX(4px); }
.pc-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.pc-num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 500; background: var(--accent-soft); color: var(--accent); font-variant-numeric: tabular-nums; transition: background-color .3s, color .3s; }
.pc-row:hover .pc-num, .pc-row.is-hot .pc-num { background: var(--accent); color: #fff; }
.pc-thumb { display: block; width: 132px; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; }
.pc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pc-row:hover .pc-thumb img { transform: scale(1.06); }
.pc-body { display: grid; gap: 6px; min-width: 0; }
.pc-logo { height: calc(30px * var(--s)); max-width: 150px; justify-self: start; }
.pc-meta { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.pc-dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.pc-status { color: var(--accent); font-weight: 500; }
.pc-facts { font-size: 14px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-facts b { font-weight: 500; color: var(--ink); }
.pc-map-box { position: sticky; top: 96px; }
.pc-map { height: calc(100vh - 120px); min-height: 520px; max-height: 860px; border-radius: 24px; overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow); }
.pc-marker { background: none; border: 0; }
.pc-pin { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 0; height: 36px; min-width: 36px; padding: 0; border-radius: 999px; background: #fff; color: var(--accent); box-shadow: 0 6px 18px -6px rgba(8,10,20,.55); white-space: nowrap; cursor: pointer; transition: background-color .3s, color .3s, padding .4s var(--ease), gap .4s var(--ease); }
.pc-pin b { width: 36px; height: 36px; display: grid; place-items: center; font-size: 14px; font-weight: 600; flex: none; }
.pc-pin-name { max-width: 0; overflow: hidden; font-size: 13.5px; font-weight: 500; transition: max-width .5s var(--ease); }
.pc-pin::after { content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 2px solid #fff; opacity: .55; animation: pc-pulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes pc-pulse { from { transform: scale(.9); opacity: .6; } to { transform: scale(1.5); opacity: 0; } }
.pc-marker.is-hot .pc-pin, .pc-pin:hover { background: var(--accent); color: #fff; padding-right: 14px; }
.pc-marker.is-hot .pc-pin-name, .pc-pin:hover .pc-pin-name { max-width: 220px; }
@media (max-width: 960px) {
  .pc-wrap { grid-template-columns: 1fr; }
  .pc-map-box { position: relative; top: 0; order: -1; }
  .pc-map { height: 340px; min-height: 0; }
}
@media (max-width: 560px) {
  .pc-row { grid-template-columns: 26px 92px minmax(0, 1fr); gap: 12px; padding: 10px; }
  .pc-row .pn-go { display: none; }
  .pc-thumb { width: 92px; }
  .pc-facts { white-space: normal; }
  .pc-num { width: 26px; height: 26px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .pc-pin::after { animation: none; } }

/* ---------- Offres de vente : éventail 3D, Professionnelle au centre en bleu Wayne ---------- */
.offers-section { padding-top: clamp(48px, 6vw, 80px); }
.offers-head { text-align: center; max-width: 760px; margin: 0 auto clamp(48px, 6vw, 72px); }
.offers-head .eyebrow { color: var(--accent); }
.offers-head .lead { margin: 18px auto 0; }
.offers { display: grid; grid-template-columns: 1fr 1.04fr 1fr; align-items: stretch; perspective: 1600px; max-width: 1160px; margin: 0 auto; }
.offer { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3vw, 44px); border-radius: 32px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); transform-style: preserve-3d; transition: transform 1.4s cubic-bezier(.16, 1.12, .3, 1), opacity .6s ease, box-shadow .6s var(--ease); }
/* position de départ, avant l'entrée à l'écran */
.offers:not(.is-in) .offer { opacity: 0; transform: translateY(50px); }
.offers.is-in .offer-left { transform: translateX(28px) translateZ(-40px) rotateY(9deg) scale(.95); transform-origin: right center; }
.offers.is-in .offer-right { transform: translateX(-28px) translateZ(-40px) rotateY(-9deg) scale(.95); transform-origin: left center; }
.offers.is-in .offer-main { transform: translateY(-22px); }
.offers.is-in .offer-side:hover { transform: translateX(0) translateZ(0) rotateY(0) scale(.97); z-index: 3; box-shadow: var(--shadow); }
.offer-side { margin: 28px 0; z-index: 1; background: linear-gradient(180deg, #fff 0%, #f6f7fb 100%); }
.offer-main { z-index: 2; background: radial-gradient(120% 60% at 100% 0%, #3f53a3 0%, rgba(63, 83, 163, 0) 55%), linear-gradient(170deg, #2f3f82 0%, #0f2d7a 50%, #222f66 100%); border-color: transparent; color: #fff; box-shadow: 0 40px 80px -36px rgba(31, 42, 92, .8); }
.offer-badge { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 20px; border-radius: 999px; background: #fff; color: var(--accent); font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 10px 24px -12px rgba(31, 42, 92, .5); white-space: nowrap; }
.offer-badge i { font-size: 13px; }
.offer-mark { display: block; width: 58px; height: 34px; margin-bottom: 22px; background: currentColor; -webkit-mask: url(../img/logos/wayne-symbole.svg) center / contain no-repeat; mask: url(../img/logos/wayne-symbole.svg) center / contain no-repeat; }
.offer-side .offer-mark { color: var(--accent); }
.offer h3 { font-size: clamp(1.6rem, 2.2vw, 2rem); font-weight: 500; letter-spacing: -0.035em; color: inherit; }
.offer-side h3 { color: var(--accent); }
.offer-price { margin: 26px 0 26px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.offer-main .offer-price { border-color: rgba(255, 255, 255, .18); }
.offer-price small { display: block; font-size: 15px; color: var(--accent); margin-bottom: 6px; }
.offer-main .offer-price small { color: #6fd3c7; }
.offer-price b { display: flex; align-items: baseline; gap: 10px; font-weight: 400; font-size: clamp(2rem, 2.6vw, 2.5rem); letter-spacing: -0.04em; line-height: 1; color: inherit; font-variant-numeric: tabular-nums; }
.offer-side .offer-price b { color: var(--accent); }
.offer-left .offer-price b { font-size: clamp(3rem, 4.6vw, 4.2rem); letter-spacing: -0.055em; }
.offer-price em { font-style: normal; font-size: 22px; letter-spacing: -0.01em; }
.offer ul { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 14px; align-content: start; flex: 1; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.offer-main ul { color: rgba(255, 255, 255, .9); }
.offer li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.offer li i { font-size: 18px; margin-top: 2px; color: var(--accent); }
.offer-main li i { color: #6fd3c7; }
.offer li.plus { font-weight: 500; color: var(--accent); }
.offer-main li.plus { color: #fff; }
.offer-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 60px; border-radius: 999px; font-size: 15px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: #fff; border: 1.5px solid var(--accent); transition: transform .3s var(--ease), background-color .3s, color .3s, box-shadow .3s; }
.offer-btn i { font-size: 17px; transition: transform .3s var(--ease); }
.offer-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(31, 42, 92, .7); }
.offer-btn:hover i { transform: translateX(4px); }
.offer-main .offer-btn { background: transparent; border-color: rgba(255, 255, 255, .85); color: #fff; }
.offer-main .offer-btn:hover { background: #fff; color: var(--accent); }
:root[data-theme="dark"] .offer-side { background: var(--surface); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .offer-side { background: var(--surface); } }
@media (max-width: 960px) {
  .offers { grid-template-columns: 1fr; gap: 28px; perspective: none; max-width: 560px; }
  .offers.is-in .offer-left, .offers.is-in .offer-right, .offers.is-in .offer-main, .offers.is-in .offer-side:hover { transform: none; }
  .offer-side { margin: 0; }
  .offer-main { order: -1; margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) { .offer { transition: none; } .offers:not(.is-in) .offer { opacity: 1; transform: none; } }

/* ---------- Services en verre (test, accueil) : une photo en fond, tuiles en verre poli ----------
   Interrupteur dans index.html : <body data-services="verre"> ou "photos" (tuiles d'avant). */
body:not([data-services="verre"]) .services-glass { display: none; }
body[data-services="verre"] .services-photos { display: none; }
.services-glass { position: relative; isolation: isolate; overflow: hidden; margin: 0 12px clamp(56px, 7vw, 96px); border-radius: 28px; color: #fff; background: #10162f; }
.sg-photo { position: absolute; inset: -4%; z-index: -2; }
.sg-photo img { width: 100%; height: 100%; object-fit: cover; transform: translate(var(--lx, 0px), var(--ly, 0px)) scale(1.03); transition: transform 1.6s cubic-bezier(.16, 1, .3, 1); }
.sg-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 14, 34, .55) 0%, rgba(10, 14, 34, .1) 38%, rgba(10, 14, 34, .25) 62%, rgba(10, 14, 34, .6) 100%); }
.sg-inner { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(72px, 9vw, 140px); padding-top: clamp(44px, 5vw, 68px); padding-bottom: clamp(24px, 3vw, 36px); }
.sg-head { text-shadow: 0 2px 24px rgba(0, 0, 0, .3); }
.sg-head .eyebrow { color: rgba(255, 255, 255, .8); }
.sg-head .h2 { color: #fff; max-width: 18ch; }
.sg-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sg-tile { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 200px; padding: 20px; border-radius: 22px; color: #fff; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .26);
  background: linear-gradient(150deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .07) 38%, rgba(255, 255, 255, .03) 64%, rgba(255, 255, 255, .12)), rgba(14, 18, 40, .2);
  -webkit-backdrop-filter: blur(18px) saturate(165%); backdrop-filter: blur(18px) saturate(165%);
  box-shadow: inset 1.5px 1.5px 0 rgba(255, 255, 255, .5), inset -1px -1px 0 rgba(255, 255, 255, .12), inset 0 16px 36px -18px rgba(255, 255, 255, .25), 0 24px 60px -28px rgba(0, 0, 0, .7);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .3);
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), background-color .4s, border-color .4s; }
.sg-tile::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 40% at 15% 0%, rgba(255, 255, 255, .3), transparent 70%); }
.sg-tile::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 50%; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .18) 50%, transparent); transform: translateX(-160%) skewX(-18deg); }
.sg-tile:hover { transform: translateY(-6px); background-color: rgba(15, 45, 122, .35); border-color: rgba(255, 255, 255, .45); }
.sg-tile:hover::after { animation: sg-shine 1s cubic-bezier(.22, 1, .36, 1); }
@keyframes sg-shine { to { transform: translateX(330%) skewX(-18deg); } }
.sg-tile:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.sg-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 21px; margin-bottom: auto; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .24); }
.sg-tile h3 { margin-top: 28px; font-size: 1.45rem; font-weight: 500; letter-spacing: -0.03em; color: #fff; }
.sg-tile p { margin: 0; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .86); }
.sg-go { position: absolute; top: 20px; right: 20px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--accent); font-size: 16px; text-shadow: none; transform: scale(.85); opacity: .9; transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.sg-tile:hover .sg-go { transform: scale(1) rotate(45deg); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .sg-tile { background: rgba(14, 18, 40, .78); } }
@media (prefers-reduced-transparency: reduce) { .sg-tile { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(14, 18, 40, .85); } }
@media (max-width: 1000px) { .sg-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sg-inner { gap: 90px; } }
@media (max-width: 560px) { .services-glass { margin: 0 8px 56px; border-radius: 24px; } .sg-tiles { grid-template-columns: 1fr; } .sg-tile { min-height: 0; } .sg-tile h3 { margin-top: 18px; } .sg-inner { gap: 48px; } }
@media (prefers-reduced-motion: reduce) { .sg-tile, .sg-photo img { transition: none; } .sg-tile:hover::after { animation: none; } }

/* ---------- Carte du contact, minimaliste aux couleurs Wayne ---------- */
.c-map { position: relative; height: 320px; border-radius: 24px; background: #e9ebf0; isolation: isolate; }
#c-map { position: absolute; inset: 0; background: #e9ebf0; }
/* fond swisstopo gris, éclairci et teinté bleu Wayne */
#c-map .leaflet-tile-pane { filter: grayscale(1) brightness(1.04) contrast(1.05); }
#c-map::after { content: ""; position: absolute; inset: 0; z-index: 399; pointer-events: none; background: #0f2d7a; mix-blend-mode: color; opacity: .55; }
#c-map .leaflet-control-attribution { background: rgba(255,255,255,.7); font-size: 10px; border-radius: 8px 0 0 0; color: var(--muted); }
#c-map .leaflet-control-attribution a { color: inherit; }
#c-map .leaflet-control-zoom { border: 0; box-shadow: var(--shadow); border-radius: 12px; overflow: hidden; }
#c-map .leaflet-control-zoom a { color: var(--accent); border-color: var(--line); }
.c-marker { background: none; border: 0; }
.c-pin { position: absolute; left: 0; top: 0; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; }
.c-pin-badge { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px 0 8px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; box-shadow: 0 14px 30px -12px rgba(31, 42, 92, .75); }
.c-pin-logo { width: 32px; height: 32px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.c-pin-logo span { width: 20px; height: 12px; background: var(--accent); -webkit-mask: url(../img/logos/wayne-symbole.svg) center / contain no-repeat; mask: url(../img/logos/wayne-symbole.svg) center / contain no-repeat; }
.c-pin-tip { width: 2px; height: 14px; background: var(--accent); }
.c-pin-dot { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.c-pin-dot::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--accent); opacity: .5; animation: c-pulse 2.2s ease-out infinite; }
@keyframes c-pulse { from { transform: scale(.4); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
.c-map-link { position: absolute; left: 14px; bottom: 14px; z-index: 500; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; color: var(--accent); font-size: 13.5px; font-weight: 500; box-shadow: var(--shadow); }
.c-map-link:hover i { transform: translate(2px, -2px); }
.c-map-link i { transition: transform .3s var(--ease); }
@media (prefers-reduced-motion: reduce) { .c-pin-dot::after { animation: none; } }

/* ---------- Biens en vedette : une ligne qui défile à l'horizontale (accueil) ---------- */
.featured-grid.featured-row { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 0; scrollbar-width: none; padding-bottom: 6px; cursor: grab; }
.featured-row::-webkit-scrollbar { display: none; }
.featured-row > * { scroll-snap-align: start; min-width: 0; }
.featured-row.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.featured-row.is-dragging a { pointer-events: none; }
.featured-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 16px; }
.fr-head { align-items: flex-end; }
.fr-arrows { display: flex; gap: 10px; }
.fr-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; font-size: 18px; transition: transform .25s var(--ease), border-color .2s, opacity .2s; }
.fr-arrow:hover { border-color: var(--accent); transform: scale(1.06); }
.fr-arrow:disabled { opacity: .35; cursor: default; transform: none; }
@media (max-width: 1100px) { .featured-grid.featured-row { grid-auto-columns: calc((100% - 2 * 20px) / 3); } }
@media (max-width: 760px) { .featured-grid.featured-row { grid-auto-columns: 78%; gap: 14px; } .fr-arrows { display: none; } }
.featured-row .reveal { opacity: 1 !important; transform: none !important; }

/* ---------- Projets neufs : fenêtre centrée (remplace le panneau de droite) ---------- */
.pn-panel { inset: 0; margin: auto; width: min(1120px, calc(100vw - 32px)); height: min(820px, calc(100dvh - 48px)); border-radius: 28px; box-shadow: 0 40px 120px -30px rgba(8, 10, 20, .6); background: var(--bg); }
.pn-panel[open] { animation: pn-pop .55s cubic-bezier(.16, 1, .3, 1); }
@keyframes pn-pop { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
.pn-panel::backdrop { background: rgba(8, 10, 20, .35); -webkit-backdrop-filter: blur(14px) saturate(120%); backdrop-filter: blur(14px) saturate(120%); }
.pn-panel-body { display: grid; grid-template-columns: 1.05fr 1fr; padding: 0; overflow: hidden; height: 100%; }
.pn-panel .pn-p-media { position: relative; margin: 0; height: 100%; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; gap: 6px; padding: 10px; }
.pn-panel .pn-p-media img { border-radius: 20px; height: 100%; aspect-ratio: auto; }
.pn-panel .pn-p-media.n1 { grid-template-columns: 1fr; }
.pn-panel .pn-p-media.n2 { grid-template-columns: 1fr; grid-template-rows: 2fr 1fr; } .pn-panel .pn-p-media.n2 img { height: 100%; }
.pn-panel .pn-p-media.n3 { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; } .pn-panel .pn-p-media.n3 img:first-child { grid-column: span 2; grid-row: auto; }
.pn-p-status { position: absolute; top: 24px; left: 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.pn-p-status .chip { background: rgba(255, 255, 255, .92); color: var(--ink); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pn-p-info { overflow-y: auto; overscroll-behavior: contain; padding: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 40px) 36px; }
.pn-panel .pn-p-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding-right: 44px; }
.pn-panel .pn-p-head .pn-city { margin: 0; }
.pn-panel .project-kpis { margin: 22px 0 26px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pn-panel .project-kpis b { color: var(--accent); }
.pn-p-h { margin: 0 0 12px; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pn-feats { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; font-size: 14.5px; color: var(--ink-2); }
.pn-feats li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; }
.pn-feats i { color: var(--accent); margin-top: 3px; }
.pn-p-empty { margin: 0 0 24px; padding: 16px 18px; border-radius: 16px; background: var(--accent-soft); color: var(--ink-2); font-size: 14.5px; }
.pn-p-actions { flex-wrap: wrap; }
.pn-close { top: 20px; right: 20px; background: var(--surface); border-color: var(--line); color: var(--ink); box-shadow: var(--shadow); }
@media (max-width: 860px) {
  .pn-panel { width: calc(100vw - 16px); height: calc(100dvh - 16px); border-radius: 24px; }
  .pn-panel-body { display: block; overflow-y: auto; }
  .pn-panel .pn-p-media { height: auto; aspect-ratio: 4 / 3; }
  .pn-p-info { overflow: visible; }
  .pn-feats { grid-template-columns: 1fr; }
  .pn-close { position: fixed; top: 18px; right: 18px; }
}
@media (prefers-reduced-motion: reduce) { .pn-panel[open] { animation: none; } }
/* Fenêtre des promotions : photo principale en 4/3, les autres en vignettes dessous */
.pn-panel { height: auto; max-height: calc(100dvh - 48px); }
.pn-panel-body { height: auto; max-height: calc(100dvh - 48px); align-items: start; }
.pn-panel .pn-p-media, .pn-panel .pn-p-media.n1, .pn-panel .pn-p-media.n2, .pn-panel .pn-p-media.n3 { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: none; align-content: start; }
.pn-panel .pn-p-media img, .pn-panel .pn-p-media.n2 img { height: auto; aspect-ratio: 4 / 3; }
.pn-panel .pn-p-media img:first-child { grid-column: 1 / -1; }
.pn-panel .pn-p-media.n2 img:nth-child(2) { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
.pn-p-info { max-height: calc(100dvh - 48px); }
@media (max-width: 860px) { .pn-panel .pn-p-media { aspect-ratio: auto; } .pn-p-info { max-height: none; } }
.pn-panel .pn-p-media.n1 { align-self: center; }

/* ---------- Fenêtre des promotions, version stylée : photo 4/3 + bloc dossier à gauche, infos à droite ---------- */
.pn-panel { width: min(1100px, calc(100vw - 32px)); height: auto; max-height: calc(100dvh - 40px); overflow: hidden; }
.pn-panel-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; max-height: calc(100dvh - 40px); height: auto; overflow-y: auto; overscroll-behavior: contain; padding: 0; align-items: start; }
.pm-left { position: sticky; top: 0; display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.pm-photo { position: relative; margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.pm-main { width: 100%; height: 100%; object-fit: cover; transition: opacity .18s ease, transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.pm-main.is-fading { opacity: 0; }
.pm-photo:hover .pm-main { transform: scale(1.03); }
.pm-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(8, 10, 20, .35) 0%, rgba(8, 10, 20, 0) 30%, rgba(8, 10, 20, 0) 65%, rgba(8, 10, 20, .45) 100%); }
.pm-chips { position: absolute; top: 14px; left: 14px; z-index: 1; display: flex; gap: 6px; flex-wrap: wrap; }
.pm-chip { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: #fff; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.pm-thumbs { position: absolute; left: 14px; bottom: 14px; z-index: 1; display: flex; gap: 6px; }
.pm-thumb { all: unset; width: 58px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; cursor: pointer; border: 2px solid rgba(255, 255, 255, .45); opacity: .75; transition: opacity .2s, border-color .2s, transform .3s cubic-bezier(.16, 1, .3, 1); }
.pm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pm-thumb:hover { opacity: 1; transform: translateY(-2px); }
.pm-thumb.is-on { opacity: 1; border-color: #fff; }
.pm-thumb:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.pm-dossier { border-radius: 22px; padding: 20px; color: #fff; background: radial-gradient(120% 90% at 100% 0%, #4a5fb0 0%, rgba(74, 95, 176, 0) 55%), linear-gradient(160deg, #31428a 0%, #0f2d7a 50%, #1f2a5c 100%); box-shadow: 0 24px 50px -28px rgba(31, 42, 92, .8); }
.pm-kpis { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.pm-kpis b { display: block; font-size: 1.7rem; font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.pm-kpis span { display: block; margin-top: 4px; font-size: 12.5px; color: rgba(255, 255, 255, .72); }
.pm-cta { display: flex; align-items: center; justify-content: center; gap: 10px; height: 50px; border-radius: 999px; background: #fff; color: var(--accent); font-weight: 500; font-size: 15px; transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s; }
.pm-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }
.pm-cta i { transition: transform .3s; }
.pm-cta:hover i { transform: translateX(4px); }
.pm-links { display: flex; gap: 8px; margin-top: 8px; }
.pm-links a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 999px; font-size: 14px; color: #fff; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); transition: background-color .25s; white-space: nowrap; }
.pm-links a:hover { background: rgba(255, 255, 255, .18); }
.pm-advisor { margin: 14px 0 0; font-size: 13px; color: rgba(255, 255, 255, .75); display: flex; align-items: center; gap: 6px; }
.pm-advisor b { color: #fff; font-weight: 500; }
.pm-right { padding: clamp(24px, 3vw, 40px) clamp(22px, 3vw, 40px) 32px clamp(16px, 2vw, 28px); }
.pm-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-right: 48px; margin-bottom: 18px; }
.pm-city { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.pm-pitch { margin: 0 0 24px; font-size: 1.02rem; line-height: 1.6; color: var(--ink-2); }
.pm-h { margin: 0 0 12px; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pm-feats { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pm-feats li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); line-height: 1.3; }
.pm-feats i { color: var(--accent); font-size: 14px; }
.pm-lots { border-radius: 18px; border: 1px solid var(--line); overflow: hidden; background: var(--surface); }
.pm-lot { display: grid; grid-template-columns: 1.3fr .7fr .9fr 1fr; gap: 8px; align-items: center; padding: 13px 16px; font-size: 14px; color: var(--ink); transition: background-color .2s; }
.pm-lot + .pm-lot { border-top: 1px solid var(--line); }
a.pm-lot:hover { background: var(--accent-soft); }
.pm-lot-head { font-size: 11.5px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
.pm-lot .price { text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; color: var(--accent); }
.pm-lot-head span:last-child { text-align: right; }
.pm-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #1f9d55; margin-right: 8px; box-shadow: 0 0 0 3px rgba(31, 157, 85, .15); vertical-align: 1px; }
.pm-empty { margin: 0; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 860px) {
  .pn-panel { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .pn-panel-body { display: block; max-height: calc(100dvh - 16px); }
  .pm-left { position: static; }
  .pm-right { padding: 8px 20px 28px; }
  .pm-head { padding-right: 0; }
}
/* Bloc dossier : un très gros chiffre (lots disponibles) et des petits, pour le contraste */
.pm-kpis { grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 22px; row-gap: 10px; align-items: end; }
.pm-kpis > div:first-child { grid-row: span 2; display: flex; align-items: flex-end; gap: 10px; }
.pm-kpis > div:first-child b { font-size: clamp(4.2rem, 7vw, 5.6rem); font-weight: 400; letter-spacing: -0.06em; line-height: .82; }
.pm-kpis > div:first-child span { margin: 0 0 6px; max-width: 9ch; font-size: 13px; line-height: 1.3; color: rgba(255, 255, 255, .8); }
.pm-kpis > div:not(:first-child) { display: flex; align-items: baseline; gap: 6px; justify-self: end; }
.pm-kpis > div:not(:first-child) b { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; }
.pm-kpis > div:not(:first-child) span { margin: 0; font-size: 12px; color: rgba(255, 255, 255, .65); text-transform: uppercase; letter-spacing: .06em; }
.pn-panel { height: fit-content; }

/* ---------- Fenêtre des promotions : style suisse strict (gros chiffres noirs, filets fins, pas de couleur de fond) ---------- */
.pm-dossier { background: none; box-shadow: none; color: var(--ink); border-radius: 0; padding: 18px 4px 0; border-top: 1px solid var(--ink); }
.pm-kpis, .pm-kpis > div:first-child, .pm-kpis > div:not(:first-child) { all: unset; }
.pm-kpis { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.pm-kpis > div { display: block !important; padding: 0 12px; border-left: 1px solid var(--line); }
.pm-kpis > div:first-child { padding-left: 0; border-left: 0; }
.pm-kpis b, .pm-kpis > div:first-child b, .pm-kpis > div:not(:first-child) b { display: block; font-size: clamp(2.6rem, 4vw, 3.6rem); font-weight: 400; letter-spacing: -0.06em; line-height: .9; color: var(--ink); white-space: nowrap; }
.pm-kpis span, .pm-kpis > div:first-child span, .pm-kpis > div:not(:first-child) span { display: block; margin: 10px 0 0; max-width: none; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); line-height: 1.35; }
.pm-cta { background: var(--ink); color: var(--bg); height: 52px; border-radius: 999px; box-shadow: none; }
.pm-cta:hover { box-shadow: none; background: var(--accent); color: #fff; }
.pm-links { gap: 0; margin-top: 6px; border-bottom: 1px solid var(--line); }
.pm-links a { height: 48px; justify-content: flex-start; padding: 0; border: 0; border-radius: 0; background: none; color: var(--ink); font-size: 14px; }
.pm-links a + a { padding-left: 14px; border-left: 1px solid var(--line); }
.pm-links a:hover { background: none; color: var(--accent); }
.pm-advisor { color: var(--muted); margin-top: 12px; }
.pm-advisor b { color: var(--ink); }
.pm-city { background: none; padding: 0; height: auto; color: var(--muted); font-weight: 400; }
.pm-pitch { color: var(--ink); }
.pm-h { color: var(--ink); padding-bottom: 10px; margin-bottom: 0; border-bottom: 1px solid var(--ink); }
.pm-feats { display: block; margin-bottom: 28px; }
.pm-feats li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; padding: 11px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; color: var(--ink); font-size: 14.5px; }
.pm-feats i { color: var(--ink); margin-top: 2px; }
.pm-lots { border: 0; border-radius: 0; background: none; }
.pm-lot { padding: 12px 0; border-bottom: 1px solid var(--line); }
.pm-lot + .pm-lot { border-top: 0; }
.pm-lot-head { background: none; padding-top: 10px; }
.pm-lot .price { color: var(--ink); }
a.pm-lot:hover { background: none; color: var(--accent); }
a.pm-lot:hover .price { color: var(--accent); }
.pm-dot { width: 7px; height: 7px; box-shadow: none; }
.pm-empty { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; padding: 12px 0; color: var(--ink); }
.pm-chip { background: rgba(255, 255, 255, .92); color: var(--ink); border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.pm-photo { border-radius: 18px; }
.pm-kpis { grid-template-columns: .8fr 1.1fr 1fr; }
.pm-kpis > div:not(:first-child) b { font-size: clamp(1.6rem, 2.2vw, 2rem) !important; letter-spacing: -0.04em; line-height: 1; padding-top: calc(clamp(2.6rem, 4vw, 3.6rem) * .9 - clamp(1.6rem, 2.2vw, 2rem)); }

/* =====================================================================
   SYSTÈME GRAPHIQUE WAYNE (1.12.2026)
   Une seule source de vérité. Toute nouvelle section suit ces règles.
   Voir charte.html pour la démonstration vivante.
   ---------------------------------------------------------------------
   1. Grille     : conteneur 1360 px, 12 colonnes, gouttière 24 px.
   2. Rythme     : sections 120 / 88 / 56 px (grand, normal, serré).
   3. Typo       : Geist seule. Titre de page (2 lignes), titre de section,
                   sous-titre, texte, étiquette en capitales.
   4. Chiffres   : style suisse, gros chiffre noir + étiquette en capitales.
   5. Arrondis   : 28 cadres pleine largeur et fenêtres, 20 cartes et images,
                   12 champs, pilule pour boutons, onglets et puces.
   6. Couleur    : encre, fond, surface, bleu Wayne, bleu clair. Rien d'autre
                   (sauf le point vert « disponible »).
   7. Verre      : 2 niveaux, uniquement au-dessus d'une photo ou d'une vidéo.
   8. Images     : une grande image par section au plus ; 4/3, 16/9 ou 21/9.
   9. Filets     : 1 px gris entre les lignes, 1 px encre au-dessus des données.
  10. Mouvement  : 3 durées (0,25 / 0,5 / 0,9 s), une seule courbe, apparition
                   au défilement, rotation auto 6 s avec barre de progression.
   ===================================================================== */
:root {
  --grid-cols: 12;
  --g: 24px;
  --s-xl: clamp(80px, 9vw, 120px);
  --s-lg: clamp(64px, 7vw, 88px);
  --s-md: clamp(40px, 5vw, 56px);
  --r-frame: 28px;
  --r-card: 20px;
  --r-ctrl: 12px;
  --r-pill: 999px;
  --t-fast: .25s;
  --t-mid: .5s;
  --t-slow: .9s;
  --light: #6fd3c7;
  --ok: #1f9d55;
  --glass-photo: rgba(255, 255, 255, .14);
  --glass-photo-line: rgba(255, 255, 255, .32);
  --glass-light: rgba(255, 255, 255, .72);
  --glass-light-line: rgba(255, 255, 255, .5);
}
/* Grille */
.grid-12 { display: grid; grid-template-columns: repeat(var(--grid-cols), minmax(0, 1fr)); gap: var(--g); }
.col-4 { grid-column: span 4; } .col-5 { grid-column: span 5; } .col-6 { grid-column: span 6; } .col-7 { grid-column: span 7; } .col-8 { grid-column: span 8; } .col-12 { grid-column: 1 / -1; }
@media (max-width: 860px) { .grid-12 > * { grid-column: 1 / -1; } }
/* Rythme des sections */
.section { padding: var(--s-xl) 0; }
.section-tight { padding: var(--s-md) 0; }
/* Typo : échelle unique */
.display { font-size: clamp(2.6rem, 6.2vw, 5.4rem); font-weight: 400; letter-spacing: -0.05em; line-height: 1; }
.h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; }
.h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.55; color: var(--ink-2); max-width: 56ch; }
.label, .eyebrow { display: inline-block; font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.eyebrow { margin-bottom: 16px; }
/* Chiffres suisses */
.num { display: block; font-weight: 400; letter-spacing: -0.06em; line-height: .9; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.num-xl { font-size: clamp(3.4rem, 6vw, 5.4rem); }
.num-l { font-size: clamp(2.4rem, 4vw, 3.4rem); }
.num-m { font-size: clamp(1.6rem, 2.2vw, 2rem); letter-spacing: -0.04em; line-height: 1; }
.num + .label { margin-top: 10px; }
.figures { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.figures > div { padding: 18px 16px 0; }
.figures > div:first-child { padding-left: 0; }
/* Filets */
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.rule-ink { border: 0; border-top: 1px solid var(--ink); margin: 0; }
/* Arrondis */
.frame { border-radius: var(--r-frame); overflow: hidden; }
.chip, .btn, .type-pills button, .tab--link { border-radius: var(--r-pill); }
input, select, textarea { border-radius: var(--r-ctrl); }
/* Verre : uniquement au-dessus d'une photo ou d'une vidéo */
.glass { background: var(--glass-photo); border: 1px solid var(--glass-photo-line); color: #fff; -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); box-shadow: none; }
.glass-light { background: var(--glass-light); border: 1px solid var(--glass-light-line); color: var(--ink); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); }
@media (prefers-reduced-transparency: reduce) { .glass { background: rgba(10, 14, 34, .82); } .glass-light { background: var(--surface); } }
/* Images */
.img-43 { aspect-ratio: 4 / 3; } .img-169 { aspect-ratio: 16 / 9; } .img-219 { aspect-ratio: 21 / 9; }
.img-43, .img-169, .img-219 { width: 100%; object-fit: cover; border-radius: var(--r-card); }
/* Mouvement */
.lift { transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease); }
.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.progress { height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.progress > i { display: block; height: 100%; background: var(--accent); transform-origin: left; }
/* Fenêtre des promotions : « Site de la promotion » et « Demande de dossier » au même niveau */
.pm-ctas { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.pm-ctas .pm-cta { height: 50px; padding: 0 14px; font-size: 14px; white-space: nowrap; }
.pm-cta-site { background: var(--accent); color: #fff; }
.pm-cta-site:hover { background: var(--ink); color: var(--bg); }
@media (max-width: 520px) { .pm-ctas { grid-auto-flow: row; } }

/* Logos de promotion en couleur (2.12.2026) : keep = couleurs d'origine, dk = trop foncé pour le thème sombre, on le passe en blanc */
:root[data-theme="dark"] .pn-logo.dk, :root[data-theme="dark"] .fan-mark.dk { filter: brightness(0) invert(1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pn-logo.dk, :root:not([data-theme="light"]) .fan-mark.dk { filter: brightness(0) invert(1); } }

/* En-têtes de page : les deux boutons restent côte à côte sur grand écran */
@media (min-width: 961px) { .ph-std .ph-actions { flex-wrap: nowrap; } .ph-std .ph-actions .btn { white-space: nowrap; } }

/* ---------- Logo Wayne actuel (3.12) : symbole + WAYNE, fichier officiel 02_Wayne/horizontal.
   Posé en masque : il prend la couleur du texte autour (noir, blanc sur photo, clair en mode sombre). ---------- */
.logo.wl { display: inline-flex; align-items: center; gap: 0; color: inherit; }
.wl-h { display: block; height: 20px; aspect-ratio: 479.91 / 94.99; background: currentColor; -webkit-mask: url(../img/logos/wayne/horizontal.svg) center / contain no-repeat; mask: url(../img/logos/wayne/horizontal.svg) center / contain no-repeat; }
.wl-foot .wl-h { height: 26px; }
@media (max-width: 640px) { .wl-h { height: 17px; } .wl-foot .wl-h { height: 22px; } }
.c-pin-logo span { -webkit-mask-image: url(../img/logos/wayne/symbole.svg) !important; mask-image: url(../img/logos/wayne/symbole.svg) !important; }
