/* =====================================================================
   NEW WAY IMMOBILIER — Feuille de style
   ===================================================================== */

:root {
  --ivory: #F8F7F4;
  --ivory-2: #F1EEE8;
  --ink: #20211F;
  --ink-2: #3A3B38;
  --muted: #6E6D68;
  --sand: #D9CBB8;
  --sand-2: #E9E1D5;
  --gold: #B49A70;
  --gold-d: #96805A;
  --line: rgba(32, 33, 31, .12);
  --line-light: rgba(248, 247, 244, .22);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--sand); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--ivory); padding: 10px 16px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-d);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.light { color: var(--sand); }

h1, h2, h3, .serif {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.05;
  margin: 0;
}
.h-display { font-size: clamp(46px, 7.4vw, 108px); line-height: .98; letter-spacing: -.02em; }
.h-section { font-size: clamp(36px, 4.6vw, 64px); }
.h-section em, .h-display em { font-style: italic; color: var(--gold); }
.lead { font-size: clamp(16px, 1.4vw, 18.5px); color: var(--muted); max-width: 560px; }
p { margin: 0 0 1em; }

.section { padding: clamp(80px, 11vw, 160px) 0; }
[id] { scroll-margin-top: 64px; }
.section-head {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head .h-section { margin-top: 20px; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--ivory); --bd: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  border-radius: var(--radius);
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--gold); transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease);
}
.btn:hover::after { transform: scaleY(1); }
.btn:hover { border-color: var(--gold); color: var(--ivory); }
.btn svg { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-ghost { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn-light { --bg: var(--ivory); --fg: var(--ink); --bd: var(--ivory); }
.btn-outline-light { --bg: transparent; --fg: var(--ivory); --bd: rgba(248,247,244,.55); }
.btn-gold { --bg: var(--gold); --fg: var(--ivory); --bd: var(--gold); }
.btn-gold::after { background: var(--ink); }
.btn-gold:hover { border-color: var(--ink); }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid var(--line);
  transition: border-color .4s, gap .4s var(--ease);
}
.link-arrow:hover { border-color: var(--gold); gap: 18px; }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--ivory);
  transition: background .5s var(--ease), color .5s var(--ease), box-shadow .5s, height .4s var(--ease);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.site-header.is-solid,
.site-header.is-static {
  background: rgba(248, 247, 244, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-solid { height: 72px; }

.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark { width: 34px; height: 34px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong {
  font-family: var(--serif); font-weight: 500; font-size: 23px; letter-spacing: .14em;
}
.logo-text span {
  font-size: 8.5px; font-weight: 600; letter-spacing: .48em; margin-top: 5px; opacity: .75;
}

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: clamp(18px, 2.4vw, 38px); list-style: none; margin: 0; padding: 0; }
.main-nav a {
  position: relative; font-size: 13px; font-weight: 500; letter-spacing: .06em;
  padding: 8px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-cta { min-height: 44px; padding: 0 20px; font-size: 11.5px; }
.site-header:not(.is-solid):not(.is-static) .header-cta { --bg: transparent; --fg: var(--ivory); --bd: rgba(248,247,244,.6); }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  align-items: center; justify-content: center; position: relative; z-index: 120;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 24px; height: 1.5px; background: currentColor; position: relative;
  transition: transform .45s var(--ease), background .3s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 110;
  background: var(--ink); color: var(--ivory);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.nav-open .mobile-nav { opacity: 1; visibility: visible; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li {
  border-bottom: 1px solid var(--line-light);
  transform: translateY(16px); opacity: 0;
  transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.nav-open .mobile-nav li { transform: none; opacity: 1; }
.nav-open .mobile-nav li:nth-child(2) { transition-delay: .04s; }
.nav-open .mobile-nav li:nth-child(3) { transition-delay: .08s; }
.nav-open .mobile-nav li:nth-child(4) { transition-delay: .12s; }
.nav-open .mobile-nav li:nth-child(5) { transition-delay: .16s; }
.nav-open .mobile-nav li:nth-child(6) { transition-delay: .2s; }
.mobile-nav a.m-link {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--serif); font-size: clamp(30px, 8vw, 44px); padding: 14px 0;
}
.mobile-nav a.m-link small { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--sand); }
.mobile-nav .m-foot { display: grid; gap: 18px; font-size: 14px; color: var(--sand); }
.nav-open .site-header { z-index: 130; color: var(--ivory); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav-open { overflow: hidden; }

@media (max-width: 1080px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--ivory); overflow: hidden; isolation: isolate;
}
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }
.hero-media { position: absolute; inset: 0; z-index: -2; will-change: transform; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
  transform: scale(1.22); animation: heroZoom 2.4s cubic-bezier(.16,1,.3,1) .15s forwards;
}
@keyframes heroZoom { to { transform: scale(1.04); } }

/* Rideau d'ouverture : un voile ivoire qui se lève sur la photo */
.hero-curtain {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: var(--ivory);
  clip-path: inset(0 0 0 0);
  animation: curtainUp 1.15s cubic-bezier(.77,0,.18,1) .1s forwards;
}
.hero-curtain::after {
  content: "NEW WAY"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--serif); font-size: clamp(28px, 4vw, 48px); letter-spacing: .3em; color: var(--ink);
  animation: curtainWord .9s var(--ease) both;
}
@keyframes curtainUp { to { clip-path: inset(0 0 100% 0); } }
body[data-header="transparent"] .site-header { animation: headerIn .9s var(--ease) 1.05s both; }
@keyframes headerIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes curtainWord { from { opacity: 0; letter-spacing: .6em; } to { opacity: 1; letter-spacing: .3em; } }

/* Ombre progressive au défilement (pilotée par --shade, 0 → 1) */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: #141513; opacity: calc(var(--shade, 0) * .55);
}
.hero-inner { will-change: transform, opacity; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,21,19,.55) 0%, rgba(20,21,19,0) 28%),
    linear-gradient(90deg, rgba(20,21,19,.55) 0%, rgba(20,21,19,0) 65%),
    linear-gradient(0deg, rgba(20,21,19,.78) 0%, rgba(20,21,19,.25) 52%, rgba(20,21,19,.05) 100%);
}
.hero-inner { padding-top: calc(var(--header-h) + 60px); padding-bottom: 48px; }
.hero h1 { max-width: 12ch; margin: 22px 0 26px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero h1 em { color: var(--sand); }
.hero h1 .line > span {
  display: block; transform: translateY(105%);
  animation: lineUp 1.3s cubic-bezier(.16,1,.3,1) .85s forwards;
}
.hero h1 .line:nth-child(2) > span { animation-delay: .97s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 1.09s; }
@keyframes lineUp { to { transform: none; } }
.hero .lead { color: rgba(248,247,244,.82); max-width: 520px; }
.hero-fade { opacity: 0; transform: translateY(14px); animation: fadeUp 1s var(--ease) .8s forwards; }
.hero-fade.d2 { animation-delay: 1.2s; }
.hero-fade.d3 { animation-delay: 1.4s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-meta {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
  color: rgba(248,247,244,.6); display: flex; gap: 18px; align-items: center;
}
.hero-meta::after { content: ""; width: 1px; height: 64px; background: rgba(248,247,244,.4); }
@media (max-width: 900px) { .hero-meta { display: none; } }

/* ---------- Search ---------- */
.search {
  position: relative; z-index: 3;
  background: var(--ivory); color: var(--ink);
  display: grid;
  grid-template-columns: auto 1.1fr 1.1fr .9fr .9fr auto;
  align-items: stretch;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.35);
  margin-top: 56px;
}
.search-tabs { display: flex; flex-direction: column; justify-content: center; padding: 10px; gap: 4px; border-right: 1px solid var(--line); }
.search-tabs label { position: relative; }
.search-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.search-tabs span {
  display: block; padding: 8px 18px; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); cursor: pointer; transition: background .3s, color .3s;
}
.search-tabs input:checked + span { background: var(--ink); color: var(--ivory); }
.search-tabs input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.field { position: relative; padding: 18px 22px 16px; border-right: 1px solid var(--line); min-width: 0; }
.field label {
  display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-d); margin-bottom: 4px;
}
.field select, .field input {
  width: 100%; border: 0; background: transparent; padding: 4px 0; font-size: 15px; font-weight: 500;
  appearance: none; -webkit-appearance: none; border-radius: 0; outline: none;
}
.field select { padding-right: 20px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%2320211F' stroke-width='1.3'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right center;
}
.field input::placeholder { color: #9C9A93; }
.field:focus-within { background: var(--ivory-2); }
.search .btn { min-height: 100%; padding: 0 34px; border-radius: 0; }
@media (max-width: 1080px) {
  .search { grid-template-columns: 1fr 1fr; }
  .search-tabs { grid-column: 1 / -1; flex-direction: row; border-right: 0; border-bottom: 1px solid var(--line); }
  .search-tabs label { flex: 1; text-align: center; }
  .field { border-bottom: 1px solid var(--line); }
  .field:nth-of-type(even) { border-right: 0; }
  .search .btn { grid-column: 1 / -1; min-height: 58px; }
}
@media (max-width: 560px) {
  .search { grid-template-columns: 1fr; margin-top: 36px; }
  .field { border-right: 0; }
}

/* ---------- Marquee zones ---------- */
.zones-band { border-bottom: 1px solid var(--line); overflow: hidden; background: var(--ivory); }
.zones-track {
  display: flex; gap: 56px; width: max-content; padding: 26px 0;
  animation: marquee 48s linear infinite;
}
.zones-track span {
  font-family: var(--serif); font-size: clamp(22px, 2.4vw, 32px); font-style: italic; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 56px; white-space: nowrap;
}
.zones-track span::after { content: "✦"; font-style: normal; font-size: 12px; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro ---------- */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.intro-figure { position: relative; }
.intro-figure .img-a { aspect-ratio: 4/5; object-fit: cover; width: 82%; }
.intro-figure .img-b {
  position: absolute; right: 0; bottom: -10%; width: 46%; aspect-ratio: 3/4; object-fit: cover;
  border: 10px solid var(--ivory);
}
.intro-figure figcaption {
  position: absolute; left: 0; bottom: -46px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.intro-text .h-section { margin: 20px 0 28px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 44px 0; padding-top: 32px; border-top: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(36px, 3.6vw, 52px); font-weight: 400; line-height: 1; }
.stat span { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; }
  .intro-figure { margin-bottom: 60px; }
}

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 18px; border: 1px solid var(--line); border-radius: 40px;
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  transition: background .35s var(--ease), color .35s, border-color .35s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.chip .count { font-size: 11px; opacity: .6; }
.filters-sep { width: 1px; background: var(--line); margin: 6px 6px; }
@media (max-width: 760px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 10px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
}

/* ---------- Listing cards ---------- */
.grid-listings {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px);
}
@media (max-width: 1080px) { .grid-listings { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-listings { grid-template-columns: 1fr; } }

.card { position: relative; display: flex; flex-direction: column; }
.card-media { position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--sand-2); }
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease), filter .8s;
}
.card:hover .card-media img { transform: scale(1.06); }
.card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,21,19,.45), transparent 45%);
  opacity: .8; transition: opacity .6s;
}
.badges { position: absolute; top: 16px; left: 16px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  display: inline-block; padding: 7px 12px; font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  background: var(--ivory); color: var(--ink);
}
.badge.location { background: var(--ink); color: var(--ivory); }
.badge.demo { background: transparent; color: var(--ivory); border: 1px solid rgba(248,247,244,.6); }
.card-price {
  position: absolute; left: 20px; bottom: 18px; z-index: 2; color: var(--ivory);
  font-family: var(--serif); font-size: 28px; line-height: 1;
}
.card-price small { font-family: var(--sans); font-size: 12px; opacity: .8; letter-spacing: .04em; }
.card-view {
  position: absolute; right: 18px; bottom: 16px; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; background: var(--ivory); color: var(--ink);
  display: grid; place-items: center;
  transform: scale(.6); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.card-view svg { width: 18px; height: 18px; }
.card:hover .card-view, .card:focus-within .card-view { transform: none; opacity: 1; }
.card-body { padding: 22px 2px 0; }
.card-loc { font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); display: flex; align-items: center; gap: 8px; }
.card-loc svg { width: 13px; height: 13px; }
.card-title { font-family: var(--serif); font-size: clamp(24px, 2vw, 29px); margin: 10px 0 16px; line-height: 1.12; }
.card-title a::before { content: ""; position: absolute; inset: 0; z-index: 3; }
.card-specs {
  display: flex; gap: 0; border-top: 1px solid var(--line); padding-top: 14px;
  font-size: 13px; color: var(--muted);
}
.card-specs li { display: flex; align-items: center; gap: 7px; padding-right: 16px; margin-right: 16px; border-right: 1px solid var(--line); }
.card-specs li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.card-specs svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.card-specs, .spec-list, .feature-list { list-style: none; margin: 0; padding: 0; }
.card-cta { margin-top: 18px; position: relative; z-index: 4; align-self: flex-start; }

.empty-state {
  grid-column: 1 / -1; text-align: center; padding: 80px 20px; border: 1px dashed var(--line);
}
.empty-state h3 { font-size: 32px; margin-bottom: 10px; }
.empty-state p { color: var(--muted); }

.demo-note {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 48px; padding: 18px 22px; background: var(--sand-2); font-size: 13.5px; color: var(--ink-2);
}
.demo-note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--gold-d); }

/* fade for filtered items */
.card.is-entering { animation: cardIn .7s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Categories ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cat {
  position: relative; background: var(--ivory); padding: 34px 28px 30px; min-height: 230px;
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease);
}
.cat::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.cat:hover { color: var(--ivory); }
.cat:hover::before { transform: none; }
.cat-num { font-size: 12px; letter-spacing: .2em; color: var(--gold); }
.cat h3 { font-size: 30px; margin-top: 50px; }
.cat p { font-size: 13.5px; color: var(--muted); margin: 8px 0 0; transition: color .5s; }
.cat:hover p { color: var(--sand); }
.cat > svg { position: absolute; top: 30px; right: 26px; width: 20px; height: 20px; transition: transform .5s var(--ease); }
.cat:hover > svg { transform: rotate(-45deg); color: var(--gold); }
@media (max-width: 960px) { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cats { grid-template-columns: 1fr; } .cat { min-height: 180px; } .cat h3 { margin-top: 28px; } }

/* ---------- Why ---------- */
.why { background: var(--ink); color: var(--ivory); position: relative; overflow: hidden; }
.why .lead { color: rgba(248,247,244,.66); }
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light);
}
.why-item { padding: 44px 36px 44px 0; border-bottom: 1px solid var(--line-light); }
.why-item + .why-item { padding-left: 36px; border-left: 1px solid var(--line-light); }
.why-item:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.why-item svg { width: 38px; height: 38px; color: var(--gold); stroke-width: 1.1; }
.why-item h3 { font-size: 28px; margin: 28px 0 12px; }
.why-item p { color: rgba(248,247,244,.62); font-size: 14.5px; margin: 0; }
.why-item .num { float: right; font-size: 11px; letter-spacing: .2em; color: rgba(248,247,244,.4); }
.why-quote { display: flex; flex-direction: column; justify-content: center; padding: 44px 0 44px 36px; border-left: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.why-quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.2; color: var(--sand); }
@media (max-width: 960px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-item, .why-item + .why-item, .why-quote { padding: 36px 28px; border-left: 0; }
  .why-item:nth-child(odd), .why-quote:nth-child(odd) { padding-left: 0; }
  .why-item:nth-child(even), .why-quote:nth-child(even) { border-left: 1px solid var(--line-light); }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-item, .why-item + .why-item, .why-quote, .why-item:nth-child(even), .why-quote:nth-child(even) { padding: 32px 0; border-left: 0; }
}

/* ---------- Sell / services split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 640px; }
.split-media { position: relative; overflow: hidden; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-body { background: var(--sand-2); padding: clamp(56px, 8vw, 120px) clamp(28px, 6vw, 100px); display: flex; flex-direction: column; justify-content: center; }
.split-body .h-section { margin: 20px 0 24px; }
.steps { list-style: none; margin: 32px 0 40px; padding: 0; counter-reset: s; }
.steps li {
  counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 10px;
  padding: 18px 0; border-top: 1px solid rgba(32,33,31,.14);
}
.steps li::before { content: "0" counter(s); font-family: var(--serif); font-size: 22px; color: var(--gold-d); line-height: 1.2; }
.steps strong { display: block; font-weight: 600; font-size: 15px; }
.steps span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-media { min-height: 380px; } }

/* ---------- Agencies ---------- */
.agencies { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.agency { border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.agency-map { aspect-ratio: 16/9; background: var(--sand-2); position: relative; overflow: hidden; }
.agency-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(.92) sepia(.12); transition: filter .8s; }
.agency:hover .agency-map iframe { filter: none; }
.agency-body { padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 22px; flex: 1; }
.agency-body h3 { font-size: clamp(30px, 2.6vw, 38px); }
.agency-tag { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-d); font-weight: 600; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14.5px; }
.info-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.info-list svg { width: 17px; height: 17px; color: var(--gold); margin-top: 3px; }
.info-list a:hover { color: var(--gold-d); }
.info-list .na { color: var(--muted); font-style: italic; }
.agency-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.agency-actions .btn { flex: 1; min-width: 180px; }
@media (max-width: 860px) { .agencies { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); }
.contact-aside .h-section { margin: 20px 0 24px; }
.contact-lines { margin-top: 40px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-line {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
  transition: padding .45s var(--ease), color .3s;
}
a.contact-line:hover { padding-left: 10px; color: var(--gold-d); }
.contact-line small { display: block; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-line strong { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.contact-line svg { width: 18px; height: 18px; flex-shrink: 0; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 28px; }
.form .full { grid-column: 1 / -1; }
.input { position: relative; }
.input input, .input textarea, .input select {
  width: 100%; border: 0; border-bottom: 1px solid rgba(32,33,31,.25); background: transparent;
  padding: 26px 0 10px; font-size: 16px; border-radius: 0; outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .4s;
}
.input textarea { resize: vertical; min-height: 130px; }
.input label {
  position: absolute; left: 0; top: 26px; font-size: 15px; color: var(--muted); pointer-events: none;
  transition: transform .35s var(--ease), font-size .35s, color .35s, top .35s var(--ease);
}
.input input:focus, .input textarea:focus, .input select:focus { border-color: var(--ink); }
.input input:focus + label, .input input:not(:placeholder-shown) + label,
.input textarea:focus + label, .input textarea:not(:placeholder-shown) + label,
.input.static label {
  top: 0; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); font-weight: 600;
}
.input .line { position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.input input:focus ~ .line, .input textarea:focus ~ .line { transform: scaleX(1); }
.input.invalid input, .input.invalid textarea { border-color: #A2493A; }
.input .err { display: none; font-size: 12px; color: #A2493A; margin-top: 6px; }
.input.invalid .err { display: block; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-row label { position: relative; }
.choice-row input { position: absolute; opacity: 0; }
.choice-row span { display: inline-flex; min-height: 40px; align-items: center; padding: 0 18px; border: 1px solid var(--line); border-radius: 40px; font-size: 13px; cursor: pointer; transition: all .3s; }
.choice-row input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.choice-row input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form-legend { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); font-weight: 600; margin-bottom: 12px; display: block; }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.form-foot p { font-size: 12.5px; color: var(--muted); margin: 0; max-width: 340px; }
.form-status { font-size: 14px; color: var(--gold-d); min-height: 1.4em; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

.map-full { height: clamp(320px, 40vw, 480px); position: relative; background: var(--sand-2); }
.map-full iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(.9) sepia(.15); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: var(--ivory); text-align: center; overflow: hidden; isolation: isolate; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: rgba(20,21,19,.62); z-index: -1; }
.cta-band .h-section { max-width: 16ch; margin: 22px auto 36px; }
.cta-band .actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--sand); padding: clamp(70px, 8vw, 110px) 0 32px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line-light); }
.footer-brand .logo { color: var(--ivory); }
.footer-brand p { margin: 24px 0 0; max-width: 300px; color: rgba(217,203,184,.75); }
.site-footer h4 { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 6px 0 22px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { transition: color .3s; }
.site-footer a:hover { color: var(--ivory); }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a {
  width: 44px; height: 44px; border: 1px solid var(--line-light); border-radius: 50%;
  display: grid; place-items: center; transition: background .4s, border-color .4s, color .4s;
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--ivory); }
.socials svg { width: 17px; height: 17px; }
.footer-word {
  font-family: var(--serif); font-size: clamp(64px, 15vw, 230px); line-height: .85; letter-spacing: .04em;
  color: rgba(217,203,184,.08); text-align: center; margin: 40px 0 20px; user-select: none; white-space: nowrap;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: rgba(217,203,184,.6); }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: var(--ink); color: var(--ivory);
  display: grid; place-items: center; box-shadow: 0 16px 34px -12px rgba(0,0,0,.45);
  transition: transform .5s var(--ease), background .4s;
}
.wa-float:hover { transform: translateY(-4px); background: var(--gold); }
.wa-float svg { width: 24px; height: 24px; }

/* ---------- Page header (inner pages) ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(50px, 7vw, 100px)) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(44px, 6vw, 88px); margin: 20px 0 18px; }
.breadcrumb { display: flex; gap: 10px; font-size: 12px; letter-spacing: .1em; color: var(--muted); flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span[aria-hidden] { color: var(--gold); }

/* Catalog toolbar */
.toolbar { display: grid; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.toolbar-row { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.toolbar-fields { display: flex; flex-wrap: wrap; gap: 12px; }
.mini-field { display: flex; flex-direction: column; gap: 4px; }
.mini-field label { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); font-weight: 600; }
.mini-field select, .mini-field input {
  min-height: 42px; border: 1px solid var(--line); background: #fff; padding: 0 14px; font-size: 14px; border-radius: var(--radius); min-width: 150px; outline: none;
}
.mini-field select:focus, .mini-field input:focus { border-color: var(--ink); }
.result-count { font-size: 13px; color: var(--muted); }
.result-count strong { color: var(--ink); font-weight: 600; }
.reset-link { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.reset-link:hover { border-color: var(--gold); }
@media (max-width: 560px) { .mini-field { flex: 1 1 calc(50% - 6px); } .mini-field select, .mini-field input { min-width: 0; width: 100%; } }

/* ---------- Property detail ---------- */
.prop-head { padding: calc(var(--header-h) + 40px) 0 32px; }
.prop-title-row { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; margin-top: 26px; }
.prop-title-row h1 { font-size: clamp(40px, 5.2vw, 76px); margin-top: 14px; }
.prop-price { text-align: right; }
.prop-price .val { font-family: var(--serif); font-size: clamp(34px, 3.6vw, 52px); line-height: 1; }
.prop-price small { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
@media (max-width: 760px) { .prop-title-row { grid-template-columns: 1fr; } .prop-price { text-align: left; } }

.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: clamp(360px, 56vw, 680px); }
.gallery button { position: relative; overflow: hidden; background: var(--sand-2); }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
.gallery button:first-child { grid-row: 1 / -1; }
.gallery.n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.gallery.n2 { grid-template-rows: 1fr; }
.gallery .more {
  position: absolute; right: 16px; bottom: 16px; background: var(--ivory); color: var(--ink);
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; padding: 10px 14px;
  display: inline-flex; gap: 8px; align-items: center;
}
.gallery .more svg { width: 14px; height: 14px; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 520px; }
  .gallery button:first-child { grid-column: 1 / -1; grid-row: auto; }
  .gallery.n2 { grid-template-rows: 2fr 1fr; }
  .gallery.n2 button:nth-child(2) { grid-column: 1 / -1; }
}

.prop-layout { display: grid; grid-template-columns: 1fr 400px; gap: clamp(40px, 6vw, 96px); padding: clamp(56px, 7vw, 96px) 0; align-items: start; }
.prop-main h2 { font-size: clamp(30px, 3vw, 42px); margin-bottom: 22px; }
.prop-block { padding: 44px 0; border-top: 1px solid var(--line); }
.prop-block:first-child { padding-top: 0; border-top: 0; }
.prop-desc { font-size: 17px; color: var(--ink-2); max-width: 680px; }
.spec-list { display: grid; grid-template-columns: repeat(3, 1fr); padding: 1px 0 0 1px; }
.spec-list li { border: 1px solid var(--line); margin: -1px 0 0 -1px; padding: 22px 22px; display: flex; flex-direction: column; gap: 6px; }
.spec-list small { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.spec-list small svg { width: 15px; height: 15px; color: var(--gold); }
.spec-list strong { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.spec-list strong.na { font-family: var(--sans); font-size: 14px; color: var(--muted); font-style: italic; font-weight: 400; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; }
.feature-list li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.feature-list li::before { content: ""; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); flex-shrink: 0; }
.prop-map { aspect-ratio: 16/8; position: relative; background: var(--sand-2); margin-top: 20px; }
.prop-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(.12); }
.muted-note { color: var(--muted); font-style: italic; font-size: 15px; }
@media (max-width: 1000px) { .prop-layout { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .spec-list { grid-template-columns: 1fr 1fr; } .feature-list { grid-template-columns: 1fr; } }

.prop-aside { position: sticky; top: 100px; }
.enquiry { background: #fff; border: 1px solid var(--line); padding: 34px; }
.enquiry .ref { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.enquiry h3 { font-size: 30px; margin: 10px 0 8px; }
.enquiry p { font-size: 14px; color: var(--muted); }
.enquiry .stack { display: grid; gap: 10px; margin-top: 22px; }
.enquiry .phones { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; }
.enquiry .phones a { display: flex; justify-content: space-between; }
.enquiry .phones a:hover { color: var(--gold-d); }
.btn-wa { --bg: #20211F; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(16,17,15,.96); color: var(--ivory);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(92vw, 1500px); max-height: 82vh; object-fit: contain; }
.lb-btn { position: absolute; width: 54px; height: 54px; border: 1px solid var(--line-light); border-radius: 50%; display: grid; place-items: center; transition: background .3s; }
.lb-btn:hover { background: rgba(248,247,244,.1); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-size: 12px; letter-spacing: .2em; }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 250; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20,21,19,.6); }
.modal-panel {
  position: relative; background: var(--ivory); width: min(560px, 100%); max-height: calc(100vh - 40px); overflow: auto;
  padding: clamp(28px, 5vw, 48px); transform: translateY(20px); transition: transform .5s var(--ease);
}
.modal.open .modal-panel { transform: none; }
.modal-panel h3 { font-size: 36px; margin: 12px 0 8px; }
.modal-panel > p { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; display: grid; place-items: center; }
.modal-close svg { width: 20px; height: 20px; }
.modal .form { grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 500px) { .modal .form { grid-template-columns: 1fr; } }

/* Legal */
.legal { max-width: 780px; }
.legal h2 { font-size: 32px; margin: 48px 0 14px; }
.legal p, .legal li { color: var(--ink-2); }
.legal .todo { background: var(--sand-2); padding: 2px 6px; }

/* ---------- Sections numérotées ---------- */
.eyebrow b { font-weight: 700; color: var(--ink); letter-spacing: .1em; }
.eyebrow.light b { color: var(--ivory); }

/* ---------- Header : téléphone ---------- */
.header-phone { font-size: 13px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; opacity: .9; }
.header-phone:hover { color: var(--gold); }
@media (max-width: 1280px) { .header-phone { display: none; } }

/* ---------- Hero : coordonnées ---------- */
.hero-coords { margin: 28px 0 0; font-family: var(--serif); font-style: italic; font-size: 15px; letter-spacing: .06em; color: rgba(248,247,244,.62); }

/* ---------- Cartes numérotées + grille décalée ---------- */
.card-no { margin-left: auto; font-family: var(--serif); font-style: italic; font-size: 14px; letter-spacing: .02em; text-transform: none; color: var(--muted); font-weight: 400; }
@media (min-width: 1081px) {
  .grid-listings.stagger .card:nth-child(3n+2) { margin-top: 72px; }
  .grid-listings.stagger .card:nth-child(3n+2):only-child { margin-top: 0; }
}

/* ---------- Expertise ---------- */
.svc-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 56px 1fr 28px; gap: 16px; align-items: start;
  padding: 26px 4px; border-bottom: 1px solid var(--line);
  transition: padding .5s var(--ease), color .4s;
}
.svc-n { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--gold-d); padding-top: 10px; }
.svc-t { display: block; font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); line-height: 1.1; transition: color .4s; }
.svc-d { display: block; max-height: 0; overflow: hidden; opacity: 0; margin-top: 0; font-size: 14.5px; color: var(--muted); max-width: 520px; transition: max-height .6s var(--ease), opacity .5s, margin .5s var(--ease); }
.svc > svg { width: 22px; height: 22px; margin-top: 14px; transition: transform .5s var(--ease), color .4s; }
.svc.is-active, .svc:hover, .svc:focus-visible { padding-left: 14px; }
.svc.is-active .svc-t { color: var(--gold-d); font-style: italic; }
.svc.is-active .svc-d { max-height: 90px; opacity: 1; margin-top: 10px; }
.svc.is-active > svg { transform: rotate(-45deg); color: var(--gold); }
.svc-figure { position: sticky; top: 110px; margin: 0; }
.svc-media { aspect-ratio: 4/5; overflow: hidden; background: var(--sand-2); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
.svc-figure figcaption { display: flex; justify-content: space-between; margin-top: 14px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.svc-figure figcaption em { font-family: var(--serif); font-size: 18px; letter-spacing: 0; text-transform: none; color: var(--ink); }
@media (max-width: 900px) {
  .svc-layout { grid-template-columns: 1fr; }
  .svc-figure { display: none; }
  .svc-d { max-height: none; opacity: 1; margin-top: 8px; }
}

/* ---------- Territoire ---------- */
.territory { background: var(--ink); color: var(--ivory); }
.territory .lead { color: rgba(248,247,244,.66); }
.terr-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.terr-visual { position: relative; min-height: 520px; overflow: hidden; background: #2b2c29; }
.terr-visual iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.85) sepia(.15); }
.terr-card {
  position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 24px 26px;
  background: rgba(32,33,31,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line-light);
}
.terr-kicker { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.terr-card h3 { font-size: clamp(32px, 3vw, 44px); margin: 8px 0 8px; font-style: italic; }
.terr-card p { color: rgba(248,247,244,.7); font-size: 14.5px; margin-bottom: 16px; }
.terr-card .link-arrow { border-color: var(--line-light); color: var(--ivory); }
.terr-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); align-self: center; }
.terr-item {
  width: 100%; display: grid; grid-template-columns: 48px 1fr auto; align-items: baseline; gap: 12px;
  padding: 18px 4px; border-bottom: 1px solid var(--line-light); text-align: left;
  color: rgba(248,247,244,.5); transition: color .4s, padding .5s var(--ease);
}
.terr-n { font-size: 12px; letter-spacing: .14em; }
.terr-z { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; }
.terr-c { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.terr-item:hover, .terr-item[aria-pressed="true"] { color: var(--ivory); }
.terr-item[aria-pressed="true"] { padding-left: 14px; }
.terr-item[aria-pressed="true"] .terr-z { font-style: italic; color: var(--sand); }
.terr-item[aria-pressed="true"] .terr-n, .terr-item[aria-pressed="true"] .terr-c { color: var(--gold); }
@media (max-width: 900px) {
  .terr-layout { grid-template-columns: 1fr; }
  .terr-visual { min-height: 420px; order: 2; }
}

/* ---------- Biens sans photo : composition typographique ---------- */
.card-media.ph { --ph-bg: var(--ink); --ph-fg: var(--ivory); --ph-acc: var(--gold); background: var(--ph-bg); color: var(--ph-fg); }
.card-media.ph.tone-1 { --ph-bg: var(--sand); --ph-fg: var(--ink); --ph-acc: var(--gold-d); }
.card-media.ph.tone-2 { --ph-bg: #2E302C; --ph-fg: var(--sand); --ph-acc: var(--gold); }
.card-media.ph::after { background: linear-gradient(0deg, rgba(20,21,19,.35), transparent 40%); }
.card-media.ph.tone-1::after { background: linear-gradient(0deg, rgba(20,21,19,.28), transparent 40%); }
.ph-inner {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 26px 28px 70px; overflow: hidden;
  transition: transform 1.4s var(--ease);
}
.card:hover .ph-inner { transform: scale(1.03); }
.ph-arch {
  position: absolute; right: -14%; bottom: -6%; width: 78%; height: auto; color: var(--ph-acc); opacity: .55;
  transition: transform 1.4s var(--ease), opacity .8s;
}
.card:hover .ph-arch { transform: translateY(-8px); opacity: .8; }
.ph-kicker { position: relative; font-size: 10.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--ph-acc); }
.ph-typo { position: relative; font-family: var(--serif); font-style: italic; font-size: clamp(64px, 7vw, 104px); line-height: .95; letter-spacing: -.02em; margin: 10px 0 14px; }
.ph-meta { position: relative; font-size: 13px; letter-spacing: .04em; opacity: .8; max-width: 70%; }
.ph-ref { position: absolute; top: 22px; right: 24px; font-family: var(--serif); font-style: italic; font-size: 15px; opacity: .6; }
.card-media.ph .card-price { color: var(--ivory); }
.card-media.ph.tone-1 .card-price { color: var(--ink); }
.card-media.ph.tone-1 .badge.vente { background: var(--ink); color: var(--ivory); }

/* Page détail sans photo */
.card-media.prop-visual { position: relative; aspect-ratio: auto; width: 100%; height: clamp(360px, 46vw, 560px); overflow: hidden; }
.prop-visual .ph-inner { padding: clamp(28px, 5vw, 72px); padding-bottom: 90px; }
.prop-visual .ph-typo { font-size: clamp(96px, 14vw, 220px); }
.prop-visual .ph-arch { width: 42%; right: 4%; bottom: -4%; }
.prop-visual .ph-ref { top: 30px; right: 36px; }
.prop-visual-note {
  position: absolute; left: clamp(28px, 5vw, 72px); bottom: 26px; z-index: 2; margin: 0;
  font-size: 12.5px; letter-spacing: .06em; color: inherit; opacity: .85;
}
.prop-visual-note a { border-bottom: 1px solid currentColor; }
.prop-visual-note a:hover { color: var(--gold); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal-img { overflow: hidden; }
.reveal-img img { transform: scale(1.12); transition: transform 1.8s var(--ease); }
.reveal-img.in img { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .hero-fade, .hero h1 .line > span { opacity: 1; transform: none; }
  .zones-track { animation: none; }
}
