/* Franck Baroni — Immobilier d'exception
   Concept : « Maison de verre » — monochrome encre & papier, pleines pages photographiques,
   filets fins, serif didone pour la voix, sans géométrique pour l'information. */
:root {
  --paper: #F6F4EF;
  --paper-2: #ECE8E0;
  --ink: #2C2B28;
  --ink-2: #4E4B45;
  --mute: #726E66;
  --line: #DDD8CF;
  --night: #2B2926;
  --night-2: #34322E;
  --on-night: #EDEAE3;
  --on-night-mute: #BDB8AE;
  --brass: #96784C;

  --display: "EB Garamond", Garamond, "Times New Roman", Georgia, serif;
  --sans: "Nunito Sans", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
  --step-3: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem);
  --step-4: clamp(2.7rem, 1.6rem + 4.6vw, 5.6rem);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --header-h: 84px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.12; text-wrap: balance; letter-spacing: -0.005em; }
em, .it { font-style: italic; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

/* ---------- Mise en page ---------- */
.wrap {
  width: 100%; max-width: var(--max); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(72px, 10vw, 152px); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--paper2 { background: var(--paper-2); }
.section--night { background: var(--night); color: var(--on-night); }
.section--night .eyebrow, .section--night .muted { color: var(--on-night-mute); }
.section--night .rule { background: #45423D; }

.eyebrow {
  font-family: var(--sans); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute);
}
.muted { color: var(--mute); }
.lead { font-size: var(--step-1); line-height: 1.6; color: var(--ink-2); max-width: 38ch; }
.section--night .lead { color: var(--on-night); }
.prose { max-width: 64ch; display: grid; gap: 1.2em; color: var(--ink-2); }
.prose h2 { font-size: var(--step-2); color: var(--ink); margin-top: 1.2em; }
.prose h3 { font-size: var(--step-1); color: var(--ink); margin-top: .8em; }
.prose ul, .prose ol { margin: 0; padding-left: 1.2em; display: grid; gap: .5em; }
.prose strong { font-weight: 500; color: var(--ink); }
.prose blockquote { margin: .6em 0; padding-left: 1.4em; border-left: 1px solid var(--ink); font-family: var(--display); font-style: italic; font-size: var(--step-1); color: var(--ink); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.h-display { font-size: var(--step-4); line-height: 1.02; }
.h-1 { font-size: var(--step-3); }
.h-2 { font-size: var(--step-2); }
.h-3 { font-size: var(--step-1); line-height: 1.25; }

.split { display: grid; gap: clamp(32px, 6vw, 96px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; } .split--even { grid-template-columns: 1fr 1fr; } .split--rev { grid-template-columns: 7fr 5fr; } }
.split > * { min-width: 0; }
.stack { display: grid; gap: 24px; align-content: start; }
.stack--lg { gap: 40px; }
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 5vw, 72px); }

/* ---------- Boutons & liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px; padding: 0 30px; border: 1px solid currentColor;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  background: transparent; color: inherit; cursor: pointer; white-space: nowrap; transition: background .35s, color .35s, border-color .35s;
}
.btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--solid:hover { background: transparent; color: var(--ink); }
.on-dark .btn:hover, .section--night .btn:hover { background: var(--on-night); color: var(--night); border-color: var(--on-night); }
.on-dark .btn--solid, .section--night .btn--solid { background: var(--on-night); color: var(--night); border-color: var(--on-night); }
.on-dark .btn--solid:hover, .section--night .btn--solid:hover { background: transparent; color: var(--on-night); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .45s ease;
}
.link:hover { background-size: 30% 1px; }
.link { justify-self: start; width: fit-content; }
.link::after { content: "→"; font-family: var(--sans); letter-spacing: 0; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--paper); color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: background .4s, color .4s, border-color .4s;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: grid; gap: 2px; line-height: 1; }
.brand__name { font-family: var(--display); font-size: 1.4rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.brand__sub { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 1.6vw, 28px); }
.nav a { white-space: nowrap; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; padding-block: 8px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: currentColor; transition: right .4s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-tel { display: none; font-size: 0.74rem; letter-spacing: 0.14em; font-variant-numeric: tabular-nums; }
.header-cta { min-height: 42px; padding: 0 20px; }
.burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; background: none; border: 0; color: inherit; cursor: pointer; padding: 0; }
.burger span { display: block; width: 26px; height: 1px; background: currentColor; transition: transform .35s; }
@media (min-width: 1240px) {
  .nav { display: block; }
  .burger { display: none; }
}
@media (min-width: 1480px) { .header-tel { display: inline; white-space: nowrap; } }
@media (max-width: 560px) { .header-cta { display: none; } .brand__name { font-size: 1.1rem; } }

/* En-tête transparent sur héros */
.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; color: var(--on-night); border-color: rgba(255,255,255,.18); }
.has-hero .site-header .brand__sub { color: rgba(244,243,239,.72); }
.has-hero .site-header .btn:hover { background: var(--on-night); color: var(--night); border-color: var(--on-night); }
.has-hero.is-scrolled .site-header { background: var(--paper); color: var(--ink); border-color: var(--line); }
.has-hero.is-scrolled .site-header .brand__sub { color: var(--mute); }
.has-hero.is-scrolled .site-header .btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Menu plein écran */
.menu {
  position: fixed; inset: 0; z-index: 70; background: var(--night); color: var(--on-night);
  display: grid; grid-template-rows: auto 1fr auto;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
  opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s;
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu__top { display: flex; justify-content: space-between; align-items: center; height: var(--header-h); }
.menu__close { background: none; border: 0; color: inherit; font-size: 0.72rem; letter-spacing: .24em; text-transform: uppercase; cursor: pointer; min-height: 44px; font-family: var(--sans); }
.menu__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; align-content: center; }
.menu__list a { font-family: var(--display); font-size: clamp(2rem, 7vw, 3.4rem); line-height: 1.2; display: inline-block; transition: color .3s, transform .4s; }
.menu__list a:hover { color: var(--on-night-mute); transform: translateX(8px); }
.menu__foot { display: flex; flex-wrap: wrap; gap: 12px 32px; padding-block: 28px; font-size: .9rem; letter-spacing: .06em; color: var(--on-night-mute); border-top: 1px solid #45423D; }

/* ---------- Images & repli élégant ---------- */
.ph { position: relative; overflow: hidden; background: var(--paper-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.7,.2,1), opacity .6s; }
.ph.is-missing {
  background:
    radial-gradient(120% 90% at 20% 10%, #3A3834 0%, transparent 60%),
    radial-gradient(90% 70% at 90% 100%, #33302B 0%, transparent 65%),
    var(--night);
}
.ph.is-missing img { opacity: 0; }
.ph.is-missing::after {
  content: attr(data-label); position: absolute; inset: auto 0 0 0; padding: 18px 20px;
  font-family: var(--sans); font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(244,243,239,.55);
}
.ph.is-missing::before {
  content: "FB"; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--display); font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: .3em; color: rgba(244,243,239,.12);
}
a:hover .ph img, .card:hover .ph img { transform: scale(1.035); }
.ratio-portrait { aspect-ratio: 4 / 5; }
.ratio-land { aspect-ratio: 3 / 2; }
.ratio-wide { aspect-ratio: 16 / 9; }
.ratio-square { aspect-ratio: 1; }
[class*="ratio-"] { max-width: 100%; }

/* ---------- Héros ---------- */
.hero {
  position: relative; min-height: min(92vh, 900px); display: grid; align-items: end;
  color: var(--on-night); background: var(--night); isolation: isolate;
}
.hero .ph { position: absolute; inset: 0; z-index: -2; background: var(--night); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(36,34,31,.78) 0%, rgba(36,34,31,.5) 45%, rgba(36,34,31,.12) 80%), linear-gradient(180deg, rgba(36,34,31,.45) 0%, rgba(36,34,31,0) 30%, rgba(36,34,31,.55) 100%); }
.hero__inner { padding-top: calc(var(--header-h) + 64px); padding-bottom: clamp(48px, 7vw, 96px); display: grid; gap: 28px; }
.hero .eyebrow { color: rgba(244,243,239,.78); }
.hero h1 { max-width: 15ch; }
.hero__lead { max-width: 46ch; font-size: var(--step-1); line-height: 1.55; color: rgba(244,243,239,.88); }
.hero__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.25); font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(244,243,239,.7); }

.page-head { padding-top: clamp(64px, 9vw, 128px); padding-bottom: clamp(40px, 5vw, 72px); display: grid; gap: 24px; }
.page-head h1 { font-size: var(--step-4); max-width: 18ch; }
.page-head .lead { max-width: 52ch; }
.crumbs { font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }

/* ---------- Propriétés ---------- */
.feature { display: grid; gap: clamp(24px, 4vw, 64px); grid-template-columns: 1fr; align-items: end; }
@media (min-width: 960px) { .feature { grid-template-columns: 8fr 4fr; } }
.feature > * { min-width: 0; }
.feature__meta { display: grid; gap: 18px; padding-bottom: 8px; }
.specs { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.specs span + span::before { content: "·"; margin-right: 22px; color: var(--line); }

.grid { display: grid; gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); }
.card { display: grid; gap: 16px; align-content: start; color: inherit; }
.card > * { min-width: 0; }
.card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card__title { font-family: var(--display); font-weight: 500; font-size: 1.55rem; line-height: 1.2; }
.card__place { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.card__text { color: var(--ink-2); font-size: 1.02rem; }
.tag { display: inline-block; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.tag--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ph .tag { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--paper); border-color: var(--paper); color: var(--ink); }
.ph .tag--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ph .count { position: absolute; right: 16px; bottom: 16px; z-index: 2; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--paper); background: rgba(43,41,38,.55); padding: 6px 10px; }
button.ph { border: 0; padding: 0; cursor: zoom-in; width: 100%; display: block; font: inherit; }

.filters { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-bottom: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.filters button {
  background: none; border: 0; padding: 14px 0; margin-bottom: -1px; cursor: pointer; font-family: var(--sans);
  font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid transparent;
}
.filters button[aria-pressed="true"], .filters button:hover { color: var(--ink); border-color: var(--ink); }
.filters .n { font-variant-numeric: tabular-nums; margin-left: 6px; }

.sold-strip { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.ratio-sold { aspect-ratio: 940 / 788; max-width: 100%; }

/* ---------- Types de propriétés (liste) ---------- */
.types { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.types li { border-bottom: 1px solid var(--line); }
.types a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px 0; transition: padding .4s; }
.types a:hover { padding-left: 14px; }
.types .t { font-family: var(--display); font-size: clamp(1.35rem, 1rem + 1.2vw, 1.9rem); line-height: 1.15; }
.types .d { font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); text-align: right; }
@media (max-width: 560px) { .types .d { display: none; } }

/* ---------- Territoires ---------- */
.territories { display: grid; gap: 1px; background: #45423D; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); border: 1px solid #45423D; }
.territory { background: var(--night); padding: clamp(28px, 3vw, 44px); display: grid; gap: 16px; align-content: start; }
.territory h3 { font-size: var(--step-2); }
.territory ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--on-night-mute); font-size: .95rem; }

/* ---------- Atouts / piliers ---------- */
.pillars { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); border-top: 1px solid var(--line); }
.pillar { padding: 32px 28px 36px 0; display: grid; gap: 12px; align-content: start; border-bottom: 1px solid var(--line); }
.pillar h3 { font-size: 1.45rem; line-height: 1.2; }
.pillar p { color: var(--ink-2); font-size: .98rem; }
.section--night .pillars, .section--night .pillar { border-color: #45423D; }
.section--night .pillar p { color: var(--on-night-mute); }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--display); font-size: 1.3rem; color: var(--mute); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.3rem; margin-bottom: 6px; }
.steps p { color: var(--ink-2); font-size: .98rem; }

/* ---------- Citations ---------- */
.quotes { display: grid; gap: clamp(40px, 5vw, 80px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.quote { display: grid; gap: 22px; margin: 0; }
.quote p { font-family: var(--display); font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); line-height: 1.45; }
.quote p::before { content: "« "; } .quote p::after { content: " »"; }
.quote cite { font-style: normal; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }

/* ---------- Bande appel ---------- */
.cta-band { display: grid; gap: 28px; justify-items: start; }
.cta-band h2 { font-size: var(--step-3); max-width: 20ch; }

/* ---------- Journal ---------- */
.post-card { display: grid; gap: 18px; align-content: start; }
.post-card h3 { font-size: 1.45rem; line-height: 1.25; }
.post-card p { color: var(--ink-2); font-size: .98rem; }
.article { padding-bottom: clamp(64px, 8vw, 120px); }
.article__cover { margin-bottom: clamp(40px, 5vw, 72px); }
.article .prose { margin-inline: auto; font-size: 1.08rem; }
.article .prose > p:first-child { font-family: var(--display); font-size: var(--step-1); line-height: 1.5; color: var(--ink); }
.article__end { max-width: 64ch; margin: 64px auto 0; padding-top: 32px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 22px; }
.form .row { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-weight: 300; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid #BEBBB3; border-radius: 0; padding: 10px 0; min-height: 46px;
  transition: border-color .3s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 12px) 50%, calc(100% - 7px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 24px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--ink-2); }
.consent input { margin-top: 5px; accent-color: var(--ink); }
.form__status { font-size: .95rem; color: var(--ink-2); min-height: 1.6em; }
.form__status.ok { color: var(--ink); }
.hp { position: absolute; left: -9999px; }
.panel { background: var(--paper); padding: clamp(28px, 4vw, 56px); border: 1px solid var(--line); }

/* ---------- Calculateur ---------- */
.calc { display: grid; gap: 24px; }
.calc__out { display: grid; gap: 6px; padding-top: 22px; border-top: 1px solid var(--line); }
.calc__total { font-family: var(--display); font-size: var(--step-3); font-variant-numeric: tabular-nums; line-height: 1; }
.calc table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.calc td { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.calc td:last-child { text-align: right; color: var(--ink); }
.note { font-size: .84rem; color: var(--mute); line-height: 1.6; }

/* ---------- Coordonnées ---------- */
.contact-list { display: grid; gap: 26px; }
.contact-list dt { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 4px; }
.contact-list dd { margin: 0; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.copy { background: none; border: 0; padding: 0 0 0 10px; font: inherit; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); cursor: pointer; }
.copy:hover { color: var(--ink); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--night); color: var(--on-night); padding-top: clamp(64px, 8vw, 112px); padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }
.footer-top { display: grid; gap: 48px; grid-template-columns: 1fr; padding-bottom: 56px; border-bottom: 1px solid #45423D; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 4fr 8fr; } }
.footer-top > * { min-width: 0; }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-brand .brand__name { font-size: 1.6rem; }
.footer-brand p { color: var(--on-night-mute); max-width: 36ch; font-size: .95rem; }
.footer-cols { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.footer-cols h4 { font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-mute); margin-bottom: 16px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; }
.footer-cols a:hover { color: var(--on-night-mute); }
.footer-legal { padding-top: 32px; display: grid; gap: 14px; font-size: .86rem; color: var(--on-night-mute); line-height: 1.6; }
.footer-legal .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.social { display: flex; gap: 18px; }
.social a { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.social a:hover { color: var(--on-night-mute); }
.signature { filter: invert(1); max-width: 180px; opacity: .85; }
.signature-ink { max-width: 200px; }
.signature-ink.is-missing, .signature.is-missing { display: none; }

/* ---------- Visionneuse ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(30,29,27,.96); color: var(--on-night); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; height: 64px; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; }
.lightbox__bar button, .lightbox__nav button { background: none; border: 0; color: inherit; font: inherit; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; cursor: pointer; min-height: 44px; min-width: 44px; }
.lightbox__stage { display: grid; place-items: center; min-height: 0; padding: 0 max(16px, env(safe-area-inset-left, 0px)); }
.lightbox__stage .ph { width: min(100%, 1400px); height: 100%; max-height: 78vh; background: transparent; }
.lightbox__stage .ph img { object-fit: contain; }
.lightbox__nav { display: flex; justify-content: space-between; align-items: center; height: 64px; font-variant-numeric: tabular-nums; }

/* ---------- Apparition ---------- */
.reveal-ready .rv { transform: translateY(22px); transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.reveal-ready .rv.is-in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal-ready .rv { opacity: 1; transform: none; }
}

/* Utilitaires */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 64px; }
.center { text-align: center; justify-items: center; }
.small { font-size: .88rem; }
.num { font-variant-numeric: tabular-nums; }

.doc-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 6px; }

/* Logos RE/MAX : couleurs d'origine, toujours sur fond blanc (y compris dans le pied de page) */
.ph.logo { background: #FFFFFF; }
.ph.logo img { object-fit: contain; padding: 10%; transform: none !important; }
.ph.logo--wide { aspect-ratio: 3 / 1; max-width: 320px; }
.ph.logo.is-missing { display: none; }
.footer-remax { max-width: 240px; }
.footer-remax .ph.logo--wide { max-width: 240px; }
.footer-remax:has(.is-missing) { display: none; }

/* Parcours acheteur en cases : 1 case d'introduction + 7 étapes = 8 cases (4×2, 2×4, 1×8) */
.step-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: 1fr; }
@media (min-width: 640px) { .step-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .step-grid { grid-template-columns: repeat(4, 1fr); } }
.step-card { background: var(--paper); padding: clamp(26px, 2.6vw, 38px); display: grid; gap: 12px; align-content: start; min-width: 0; transition: background .4s; }
.step-card:hover { background: var(--paper-2); }
.step-card__n { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--brass); font-variant-numeric: lining-nums tabular-nums; }
.step-card h3 { font-size: 1.35rem; line-height: 1.2; }
.step-card p { color: var(--ink-2); font-size: 1rem; }
.step-card--intro { background: var(--night); color: var(--on-night); align-content: space-between; gap: 18px; }
.step-card--intro:hover { background: var(--night); }
.step-card--intro .eyebrow, .step-card--intro p { color: var(--on-night-mute); }

/* Types de propriétés en cases photo : 4×2, puis 2×4, puis 1 colonne */
.type-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(10px, 1.2vw, 16px); grid-template-columns: 1fr; }
@media (min-width: 560px) { .type-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .type-grid { grid-template-columns: repeat(4, 1fr); } }
.type-grid > li { min-width: 0; }
.type-tile { position: relative; display: block; overflow: hidden; color: var(--on-night); isolation: isolate; }
.type-tile .ph { aspect-ratio: 4 / 5; max-width: 100%; }
@media (max-width: 559px) { .type-tile .ph { aspect-ratio: 16 / 11; } }
.type-tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(36,34,31,0) 40%, rgba(36,34,31,.78) 100%); transition: background .5s; pointer-events: none; }
.type-tile:hover::after { background: linear-gradient(180deg, rgba(36,34,31,.1) 20%, rgba(36,34,31,.86) 100%); }
.type-tile__txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(18px, 1.8vw, 26px); display: grid; gap: 6px; }
.type-tile__d { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(237,234,227,.82); }
.type-tile__t { font-family: var(--display); font-size: clamp(1.3rem, 1rem + .7vw, 1.6rem); line-height: 1.15; text-wrap: balance; }
.type-tile__t::after { content: " →"; font-family: var(--sans); font-size: .9em; opacity: 0; transition: opacity .4s; }
.type-tile:hover .type-tile__t::after, .type-tile:focus-visible .type-tile__t::after { opacity: 1; }
.type-tile .ph.is-missing::after { display: none; }

/* 9 propriétés vendues : grille 3×3 (1 colonne sur petit téléphone) */
.sold-strip { grid-template-columns: 1fr; }
@media (min-width: 520px) { .sold-strip { grid-template-columns: repeat(3, 1fr); } }

/* Témoignage vedette : pleine largeur, au-dessus des deux autres */
.quote blockquote { margin: 0; display: grid; gap: .8em; }
.quote--feature { grid-column: 1 / -1; padding-bottom: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.quote--feature blockquote { max-width: 62ch; }
.quote--feature p { font-size: clamp(1.15rem, .95rem + .6vw, 1.45rem); }
.quote--feature p::before, .quote--feature p::after { content: none; }
.quote--feature p:first-child::before { content: "« "; }
.quote--feature p:last-child::after { content: " »"; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
