/* =============================================================================
   Kantaoui Immo — feuille de style unique
   Direction : « Riviera du Sahel » — encre marine, sable, corail (couleur du logo),
   arches méditerranéennes, typographie Instrument Serif + Manrope.
   ============================================================================= */

/* ---------- Jetons ---------- */
:root {
  --ink: #0f2230;
  --ink-2: #1c3546;
  --ink-3: #4a5f6d;
  --sand: #f4eee4;
  --sand-2: #ebe2d4;
  --shell: #fbf8f3;
  --white: #fff;
  --coral: #d94f55;
  --coral-2: #b93c43;
  --coral-soft: #f6dcd8;
  --sea: #2c6c84;
  --gold: #b9965f;
  --wa: #1fa855;
  --line: rgba(15, 34, 48, .12);
  --line-2: rgba(15, 34, 48, .2);
  --line-light: rgba(255, 255, 255, .18);

  --serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --arch: 999px 999px 18px 18px;
  --shadow: 0 1px 2px rgba(15, 34, 48, .06), 0 12px 32px -12px rgba(15, 34, 48, .22);
  --shadow-lg: 0 30px 80px -30px rgba(15, 34, 48, .45);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --hd: 84px;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1360px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 16px); }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--ink);
  background: var(--shell); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, video, svg, picture { display: block; max-width: 100%; }
img { 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; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--coral); color: #fff; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .3s; }
.skip:focus { top: 16px; }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--xs { width: 14px; height: 14px; }
.ico--sm { width: 17px; height: 17px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: clamp(72px, 10vw, 140px); }
.sec--tight { padding-block: clamp(40px, 6vw, 72px); }
.muted { color: var(--ink-3); font-size: .94em; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.22rem); line-height: 1.6; color: var(--ink-2); }

/* ---------- Typographie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--coral); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: var(--coral); }
.eyebrow .ico { margin-right: -2px; }
.h2, .phero__title, .hero__title, .bien__title, .ft__big {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.02;
}
.h2 { font-size: clamp(2.3rem, 5vw, 4.4rem); }
.h2 em, .hero__title em, .phero__title em, .ft__big em, .bien__title em { font-style: italic; color: var(--coral); }
.h2--light { color: #fff; }
.h2--light em { color: #ffb4a8; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.1; }
.prose p + p { margin-top: 1em; }
.prose h2:not(.h2) { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; margin: 1.6em 0 .5em; }
.prose ul { list-style: disc; padding-left: 1.2em; margin-top: .6em; }
.prose a { color: var(--coral-2); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  margin-top: 1.6em; padding: 28px 32px; border-radius: var(--r); background: var(--sand);
  font-family: var(--serif); font-size: 1.5rem; line-height: 1.3; position: relative;
}
.prose blockquote .ico { width: 34px; height: 34px; color: var(--coral); margin-bottom: 10px; }

/* Découpage des titres en mots animés (kt.js) */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.sw__i { display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease); transition-delay: calc(var(--w, 0) * 55ms + var(--d, 0ms)); }
.is-in .sw__i, .sw.is-in .sw__i { transform: none; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --fill: var(--coral);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px; background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .93rem; letter-spacing: .01em; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .4s, color .4s; white-space: nowrap; will-change: transform;
}
.btn::before {
  content: ""; position: absolute; left: var(--x, 50%); top: var(--y, 50%); width: 250%; aspect-ratio: 1;
  border-radius: 50%; background: var(--fill); transform: translate(-50%, -50%) scale(0); transition: transform .7s var(--ease); z-index: -1;
}
.btn:hover::before { transform: translate(-50%, -50%) scale(1); }
.btn:active { transform: scale(.97); }
.btn .ico { transition: transform .5s var(--ease); }
.btn:hover .ico:last-child:not(:first-child) { transform: translateX(4px); }
.btn__t { position: relative; display: inline-block; overflow: hidden; height: 1.4em; line-height: 1.4em; }
.btn__in { display: block; text-shadow: 0 1.4em 0 currentColor; transition: transform .55s var(--ease); }
.btn:hover .btn__in { transform: translateY(-1.4em); }
.btn--coral { --bg: var(--coral); --fill: var(--ink); }
.btn--ink { --bg: var(--ink); --fill: var(--coral); }
.btn--light { --bg: #fff; --fg: var(--ink); --fill: var(--sand); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --fill: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { color: #fff; }
.btn--ghost-light { --bg: rgba(255, 255, 255, .08); --fg: #fff; --fill: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost-light:hover { color: var(--ink); }
.btn--wa { --bg: var(--wa); --fill: #168a44; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .86rem; }
.btn--full { width: 100%; }

.round {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-2); transition: background .35s, color .35s, transform .4s var(--ease);
}
.round:hover { background: var(--ink); color: #fff; }
.round:disabled { opacity: .35; pointer-events: none; }
.round--sm { width: 40px; height: 40px; }
.round--light { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.round--light:hover { background: #fff; color: var(--ink); }
.round--wa { background: var(--wa); color: #fff; box-shadow: none; }

.link-line { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; position: relative; padding-bottom: 6px; }
.link-line::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px; background: currentColor; transform-origin: right; transition: transform .6s var(--ease); }
.link-line:hover::after { transform: scaleX(0); transform-origin: right; animation: line-in .6s .25s var(--ease) forwards; }
@keyframes line-in { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }
.link-line .ico { transition: transform .5s var(--ease); }
.link-line:hover .ico { transform: translateX(5px); }
.link-line--sm { font-size: .85rem; }

.chip {
  display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: #fff; color: var(--ink);
}
.chip--vente { background: var(--ink); color: #fff; }
.chip--location { background: var(--sea); color: #fff; }
.chip--vacances { background: var(--gold); color: #fff; }
.chip--label { background: var(--coral-soft); color: var(--coral-2); }
.badge {
  position: absolute; top: -4px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px;
  background: var(--coral); color: #fff; font-size: .68rem; font-weight: 700; display: grid; place-items: center; line-height: 1;
}
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pill { padding: 10px 18px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); font-size: .88rem; transition: background .3s, color .3s, box-shadow .3s; }
.pill:hover { background: var(--ink); color: #fff; box-shadow: none; }

/* ---------- Barre de progression de lecture ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; background: var(--coral); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* =============================================================================
   EN-TÊTE
   ============================================================================= */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hd); color: var(--ink);
  background: rgba(251, 248, 243, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line); transition: transform .6s var(--ease), background .4s, color .4s, box-shadow .4s, height .4s;
}
.hd--over:not(.is-scrolled):not(.is-open) { background: transparent; color: #fff; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hd--over:not(.is-scrolled)::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(rgba(8, 20, 29, .55), transparent); pointer-events: none; z-index: -1; }
.hd.is-hidden { transform: translateY(-105%); }
.hd.is-scrolled { --hd: 70px; }
body:not(.p-home) main { padding-top: 0; }
.hd__bar { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 46px; height: 32px; transition: transform .7s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-4deg) scale(1.05); }
/* Logo original de l'agence (symbole #i-logo) */
.brand__logo { display: block; width: 250px; height: 62px; fill: currentColor; transition: transform .6s var(--ease); }
.brand:hover .brand__logo { transform: scale(1.03); }
.hd.is-scrolled .brand__logo { width: 220px; height: 55px; }
.ft .brand__logo { width: 280px; height: 70px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__txt b { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; letter-spacing: -.01em; }
.brand__txt i { font-style: normal; font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .7; margin-top: 4px; }
.brand--light { color: #fff; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 99px; font-weight: 600; font-size: .92rem; position: relative; transition: background .3s; }
.nav__link span { position: relative; }
.nav__link span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--coral); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__link:hover span::after, .nav__link.is-current span::after { transform: scaleX(1); transform-origin: left; }
.nav__link .ico { transition: transform .4s var(--ease); opacity: .7; }
.has-mega:hover .nav__link .ico, .has-mega:focus-within .nav__link .ico { transform: rotate(180deg); }

.mega {
  position: absolute; top: 100%; left: 50%; padding-top: 14px; transform: translateX(-50%) translateY(10px);
  opacity: 0; visibility: hidden; transition: opacity .35s, transform .5s var(--ease), visibility .35s; color: var(--ink);
}
.has-mega:hover > .mega, .has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: translateX(-50%); }
.mega__in { display: flex; gap: 14px; padding: 14px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.mega__links { min-width: 230px; padding: 6px; }
.mega__links--2 { columns: 2; min-width: 420px; column-gap: 8px; }
.mega__links a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 11px 14px; border-radius: 12px; font-weight: 600; font-size: .92rem; break-inside: avoid; transition: background .3s, color .3s, padding .4s var(--ease); }
.mega__links a .ico { width: 16px; opacity: 0; transform: translateX(-8px); transition: .4s var(--ease); }
.mega__links a:hover { background: var(--sand); padding-left: 20px; }
.mega__links a:hover .ico { opacity: 1; transform: none; color: var(--coral); }
.mega__card { position: relative; width: 220px; border-radius: 14px; overflow: hidden; }
.mega__card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mega__card:hover img { transform: scale(1.08); }
.mega__card span { position: absolute; inset: auto 0 0; padding: 40px 16px 14px; color: #fff; font-weight: 700; font-size: .88rem; background: linear-gradient(transparent, rgba(8, 20, 29, .75)); display: flex; align-items: center; gap: 6px; }

.hd__tools { display: flex; align-items: center; gap: 8px; }
.hd__icon { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background .3s; }
.hd__icon:hover { background: rgba(127, 127, 127, .14); }
.hd__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .88rem; padding: 0 10px; white-space: nowrap; }
.dvz { position: relative; }
.dvz__btn { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border-radius: 99px; font-weight: 700; font-size: .8rem; letter-spacing: .06em; box-shadow: inset 0 0 0 1px currentColor; opacity: .85; }
.dvz__list { position: absolute; right: 0; top: calc(100% + 10px); background: #fff; color: var(--ink); border-radius: 14px; padding: 6px; box-shadow: var(--shadow-lg); min-width: 130px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .3s var(--ease); }
.dvz.is-open .dvz__list { opacity: 1; visibility: visible; transform: none; }
.dvz__list button { width: 100%; display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 10px; font-weight: 600; font-size: .88rem; }
.dvz__list button:hover, .dvz__list [aria-current] { background: var(--sand); }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; position: relative; }
.burger i { position: absolute; left: 12px; right: 12px; height: 1.6px; background: currentColor; transition: transform .5s var(--ease), width .4s; }
.burger i:first-child { top: 18px; }
.burger i:last-child { top: 26px; right: 18px; }
.is-open .burger i:first-child { transform: translateY(4px) rotate(45deg); }
.is-open .burger i:last-child { transform: translateY(-4px) rotate(-45deg); right: 12px; }

.drawer {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff; padding: calc(var(--hd) + 20px) var(--gutter) 30px;
  clip-path: circle(0% at calc(100% - 44px) 42px); visibility: hidden; transition: clip-path .9s var(--ease-io), visibility .9s; overflow-y: auto;
}
.drawer.is-open { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; }
.drawer__in { display: flex; flex-direction: column; gap: 34px; min-height: 100%; }
.drawer__nav a { display: block; overflow: hidden; font-family: var(--serif); font-size: clamp(2.4rem, 10vw, 3.4rem); line-height: 1.08; }
.drawer__nav a span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease); transition-delay: calc(.25s + var(--i) * 60ms); }
.drawer.is-open .drawer__nav a span { transform: none; }
.drawer__places { display: flex; flex-wrap: wrap; gap: 8px; }
.drawer__places .eyebrow { width: 100%; margin-bottom: 4px; }
.drawer__places a { padding: 8px 14px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line-light); font-size: .88rem; }
.drawer__foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.drawer__dvz { display: flex; gap: 4px; margin-left: auto; }
.drawer__dvz button { padding: 6px 10px; border-radius: 8px; font-size: .78rem; font-weight: 700; opacity: .6; }
.drawer__dvz [aria-current] { opacity: 1; background: rgba(255, 255, 255, .12); }
body.menu-open { overflow: hidden; }
.hd.is-open { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hd.is-open .hd__cta, .hd.is-open .hd__icon, .hd.is-open .dvz { visibility: hidden; }

/* =============================================================================
   SLIDER D'ACCUEIL
   ============================================================================= */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; max-height: 1100px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: var(--ink); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; clip-path: circle(0% at 50% 100%); z-index: 1; }
.hero__slide picture, .hero__slide img, .hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__slide img { transform: scale(1.14); }
.hero__slide.is-on { clip-path: circle(150% at 50% 100%); z-index: 3; transition: clip-path 1.6s var(--ease-io); }
.hero__slide.is-on img { transform: scale(1); transition: transform 9s cubic-bezier(.2, .6, .3, 1); }
.hero__slide.is-prev { clip-path: circle(150% at 50% 100%); z-index: 2; }
.hero__slide.is-prev img { transform: scale(1.04); transition: transform 1.6s var(--ease-io); }
.hero__slide:first-child.is-on:not(.was-on) { transition: none; }
.hero__veil { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(8, 20, 29, .45) 0%, rgba(8, 20, 29, 0) 28%, rgba(8, 20, 29, .1) 52%, rgba(8, 20, 29, .78) 100%),
  radial-gradient(ellipse at 20% 80%, rgba(8, 20, 29, .45), transparent 60%); }
.hero__content { padding-top: calc(var(--hd) + 2vh); padding-bottom: 2.4vh; }
.hero__eyebrow { margin-bottom: 1.6vh; }
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(217, 79, 85, .6); animation: pulse 2.4s infinite; }
.hero__eyebrow::before { display: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(217, 79, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 79, 85, 0); } }
.hero__title { font-size: clamp(2.4rem, min(5.6vw, 8.2vh), 6.6rem); max-width: 15ch; line-height: .96; text-wrap: balance; }
.hero__title em { color: #ffc2b6; }
.hero__lead { max-width: 640px; margin-top: 1.8vh; font-size: clamp(.95rem, min(1.2vw, 2vh), 1.1rem); line-height: 1.55; color: rgba(255, 255, 255, .86); opacity: 0; transform: translateY(16px); animation: up 1s .9s var(--ease) forwards; }
@keyframes up { to { opacity: 1; transform: none; } }

.finder {
  margin-top: 2.6vh; max-width: 980px; padding: 10px; border-radius: 26px; color: var(--ink);
  background: rgba(255, 255, 255, .14); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); opacity: 0; transform: translateY(24px); animation: up 1s 1.1s var(--ease) forwards;
}
.finder__tabs { position: relative; display: inline-flex; gap: 0; padding: 4px; margin: 2px 2px 10px; border-radius: 99px; background: rgba(8, 20, 29, .35); }
.finder__tab { position: relative; z-index: 1; cursor: pointer; }
.finder__tab input { position: absolute; opacity: 0; pointer-events: none; }
.finder__tab span { display: block; padding: 9px 20px; border-radius: 99px; color: #fff; font-weight: 700; font-size: .86rem; transition: color .4s; }
.finder__tab input:checked + span { color: var(--ink); }
.finder__tab input:focus-visible + span { outline: 2px solid #fff; }
.finder__ink { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 99px; background: #fff; transition: transform .55s var(--ease), width .55s var(--ease); }
.finder__row { display: grid; grid-template-columns: 1fr 1.3fr 1fr .8fr auto; gap: 6px; background: #fff; border-radius: 20px; padding: 6px; }
.finder__f { display: flex; flex-direction: column; padding: 8px 16px; border-radius: 14px; cursor: pointer; transition: background .3s; position: relative; }
.finder__f + .finder__f::before { content: ""; position: absolute; left: -3px; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.finder__f:hover { background: var(--sand); }
.finder__f > span { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.finder__f select { border: 0; background: transparent; padding: 2px 0 0; font-weight: 600; font-size: .98rem; appearance: none; -webkit-appearance: none; cursor: pointer; outline: none; width: 100%; text-overflow: ellipsis; }
.finder__go { min-height: 58px; border-radius: 16px; padding: 0 30px; }

.hero__ui { display: flex; align-items: flex-end; gap: 30px; padding-bottom: 2.6vh; }
/* Écrans peu hauts : la bannière reste entière, le texte d'introduction s'efface */
@media (max-height: 720px) and (min-width: 761px) { .hero__lead { display: none; } .finder__tabs { margin-bottom: 6px; } .finder__f { padding: 5px 16px; } .finder__go { min-height: 50px; } }
.hero__dots { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.hero__dots button { width: 100%; text-align: left; color: rgba(255, 255, 255, .6); display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: end; transition: color .4s; }
.hero__dots [aria-current] { color: #fff; }
.hero__num { font-family: var(--serif); font-size: 1.5rem; line-height: 1; }
.hero__place { font-size: .74rem; line-height: 1.3; letter-spacing: .04em; }
.hero__place b { display: block; font-size: .86rem; letter-spacing: 0; }
.hero__bar { grid-column: 1 / -1; display: block; height: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; border-radius: 2px; margin-top: 8px; }
.hero__bar i { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dots [aria-current] .hero__bar i { animation: bar var(--dur, 7s) linear forwards; }
.hero.is-paused .hero__dots [aria-current] .hero__bar i { animation-play-state: paused; }
@keyframes bar { to { transform: scaleX(1); } }
.hero__scroll { width: 30px; height: 50px; border-radius: 99px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); position: relative; flex: none; }
.hero__scroll span { position: absolute; left: 50%; top: 10px; width: 3px; height: 9px; margin-left: -1.5px; border-radius: 3px; background: #fff; animation: wheel 2s infinite var(--ease); }
@keyframes wheel { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(18px); opacity: 0; } }
@supports (animation-timeline: scroll()) {
  .hero__content, .hero__ui { animation: hero-out linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
  @keyframes hero-out { to { transform: translateY(-80px); opacity: 0; } }
}

/* ---------- En-têtes de section ---------- */
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: clamp(36px, 5vw, 60px); flex-wrap: wrap; }
.sec__head .h2 { max-width: 16ch; }
.sec__head--center { flex-direction: column; align-items: center; text-align: center; }
.sec__head--center .h2 { max-width: 20ch; }
.sec__lead { max-width: 560px; color: var(--ink-3); }

/* ---------- Onglets ---------- */
.tabs { position: relative; display: inline-flex; padding: 5px; border-radius: 99px; background: var(--sand); }
.tabs button { position: relative; z-index: 1; padding: 11px 20px; border-radius: 99px; font-weight: 700; font-size: .88rem; color: var(--ink-3); transition: color .4s; }
.tabs button[aria-selected="true"] { color: #fff; }
.tabs sup { font-size: .68em; opacity: .7; margin-left: 2px; }
.tabs__ink { position: absolute; top: 5px; bottom: 5px; left: 0; border-radius: 99px; background: var(--ink); transition: transform .55s var(--ease), width .55s var(--ease); }

/* ---------- Rail de cartes ---------- */
.rail__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 27vw, 380px); gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 6px max(var(--gutter), calc((100vw - var(--max)) / 2)) 24px; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
  cursor: grab;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail__track.is-drag a { pointer-events: none; }
.rail__track > * { scroll-snap-align: start; }
.rail__more {
  display: flex; flex-direction: column; justify-content: space-between; padding: 30px; border-radius: var(--r-lg);
  background: var(--ink); color: #fff; min-height: 100%; transition: background .5s;
}
.rail__more:hover { background: var(--coral); }
.rail__more-n { font-family: var(--serif); font-size: 5rem; line-height: 1; }
.rail__more span:not(.rail__more-n) { font-size: 1.2rem; font-weight: 600; }
.rail__more .ico { width: 46px; height: 46px; align-self: flex-end; transition: transform .6s var(--ease); }
.rail__more:hover .ico { transform: rotate(45deg); }
.rail__nav { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.rail__progress { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; margin-right: 14px; }
.rail__progress i { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(var(--rp, .15)); transition: transform .3s; }

/* =============================================================================
   CARTES DE BIENS
   ============================================================================= */
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; box-shadow: 0 1px 0 var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; background: var(--sand-2); margin: 8px 8px 0; border-radius: 20px; }
.card__img, .card__img2 { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity .8s var(--ease), clip-path .9s var(--ease-io); }
.card__img2 { clip-path: inset(0 0 0 100%); }
.card:hover .card__img { transform: scale(1.06); }
.card:hover .card__img2.is-ready { clip-path: inset(0 0 0 0); }
.card__media .chip { position: absolute; left: 14px; top: 14px; z-index: 2; }
.card__labels { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: flex; gap: 6px; }
.card__labels i { font-style: normal; font-size: .7rem; font-weight: 700; padding: 5px 10px; border-radius: 99px; background: rgba(255, 255, 255, .92); color: var(--coral-2); }
.card__tools { position: absolute; right: 18px; top: 18px; z-index: 3; display: flex; flex-direction: column; gap: 8px; }
.tool { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: var(--ink); backdrop-filter: blur(6px); transition: transform .4s var(--ease), background .3s, color .3s; box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .35); }
.tool .ico { width: 18px; height: 18px; }
.tool:hover { transform: scale(1.1); }
.tool.is-on { background: var(--coral); color: #fff; }
.tool.is-on .ico { fill: currentColor; }
/* Référence du bien, en bas à droite de la photo */
.card__ref { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 5px 10px; border-radius: 99px; background: rgba(15, 34, 48, .72); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .04em; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tool.is-pop { animation: pop .6s var(--ease); }
@keyframes pop { 40% { transform: scale(1.35); } }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 22px 20px; flex: 1; }
.card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.card__lieu { display: inline-flex; align-items: center; gap: 4px; text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__title { font-family: var(--serif); font-weight: 400; font-size: 1.42rem; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-lg); }
.card__specs { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .86rem; color: var(--ink-2); }
.card__specs li { display: inline-flex; align-items: center; gap: 6px; }
.card__specs .ico { color: var(--ink-3); }
.card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.price b { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1; letter-spacing: -.01em; }
.price small { font-size: .8rem; font-weight: 700; color: var(--ink-3); }
.price--ask { font-size: 1.2rem !important; color: var(--ink-3); }
.card__go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .4s, color .4s, transform .6s var(--ease); }
.card:hover .card__go { background: var(--coral); color: #fff; box-shadow: none; transform: rotate(45deg); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(18px, 2vw, 28px); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
/* Affichage en liste */
.grid.is-list { grid-template-columns: 1fr; }
.grid.is-list .card { flex-direction: row; }
.grid.is-list .card__media { width: min(42%, 420px); flex: none; margin: 8px; aspect-ratio: auto; min-height: 240px; }
.grid.is-list .card__body { padding: 26px 30px 26px 14px; }
.grid.is-list .card__title { font-size: 1.9rem; }
.grid.is-list .card__tools { right: auto; left: calc(min(42%, 420px) - 42px); flex-direction: row; }
.grid.is-loading { opacity: .4; pointer-events: none; transition: opacity .25s; }

/* =============================================================================
   ACCUEIL — sections
   ============================================================================= */
/* L'agence */
.about { background: var(--sand); position: relative; overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__visual { position: relative; }
.arch { border-radius: var(--arch); overflow: hidden; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--lg { aspect-ratio: 3 / 4; max-width: 520px; }
.about__badge {
  position: absolute; right: 0; bottom: 10%; width: 190px; aspect-ratio: 1; border-radius: 50%; background: var(--coral); color: #fff;
  display: grid; place-content: center; text-align: center; padding: 20px; font-size: .78rem; line-height: 1.35; box-shadow: var(--shadow-lg);
}
.about__year { font-family: var(--serif); font-size: 3.4rem; line-height: 1; }
.about__txt .h2 { margin-bottom: 26px; max-width: 14ch; }
.about__txt p + p { margin-top: 14px; color: var(--ink-3); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0 30px; padding-top: 28px; border-top: 1px solid var(--line-2); }
.stats dt { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; color: var(--ink); }
.stats dd { font-size: .86rem; color: var(--ink-3); margin-top: 6px; }

/* Quartiers */
.places__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.place { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; color: #fff; min-height: 300px; isolation: isolate; grid-column: span 4; }
.place--0 { grid-column: span 5; grid-row: span 2; border-radius: 260px 260px var(--r-lg) var(--r-lg); }
.place--1 { grid-column: span 4; }
.place--2 { grid-column: span 3; }
.place--3, .place--4 { grid-column: span 3.5; }
.place--3 { grid-column: span 4; }
.place--4 { grid-column: span 3; }
.place--5 { grid-column: span 6; }
.place--6 { grid-column: span 6; }
.place__img { position: absolute; inset: 0; z-index: -1; }
.place__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.place::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(8, 20, 29, .78)); transition: opacity .6s; }
.place:hover .place__img img { transform: scale(1.08); }
.place__txt { position: absolute; left: 24px; bottom: 22px; right: 80px; display: flex; flex-direction: column; }
.place__txt b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.4vw, 2.3rem); line-height: 1.05; }
.place__txt small { font-size: .82rem; opacity: .85; margin-top: 4px; }
.place__go { position: absolute; right: 20px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); transition: background .4s, color .4s, transform .6s var(--ease); }
.place:hover .place__go { background: #fff; color: var(--ink); transform: rotate(45deg); }

/* Catégories : image qui suit la souris */
.cats { position: relative; }
.cats__list { border-top: 1px solid var(--line-2); }
.cats__row { display: grid; grid-template-columns: 70px 1fr auto 60px; align-items: center; gap: 20px; padding: clamp(20px, 3vw, 34px) 0; border-bottom: 1px solid var(--line-2); position: relative; z-index: 2; transition: padding .6s var(--ease), color .4s; }
.cats__n { font-size: .82rem; font-weight: 700; color: var(--ink-3); }
.cats__name { font-family: var(--serif); font-size: clamp(2rem, 5.4vw, 4.6rem); line-height: 1; transition: transform .7s var(--ease), font-style .3s; }
.cats__count { font-size: .9rem; font-weight: 600; color: var(--ink-3); }
.cats__go { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: .5s var(--ease); }
.cats__row:hover .cats__name { transform: translateX(24px); font-style: italic; color: var(--coral); }
.cats__row:hover .cats__go { background: var(--ink); color: #fff; transform: rotate(-45deg); }
.cats__float { position: fixed; left: 0; top: 0; width: 300px; aspect-ratio: 4 / 3; border-radius: 160px 160px 18px 18px; overflow: hidden; pointer-events: none; z-index: 1; opacity: 0; transform: translate3d(var(--fx, 0), var(--fy, 0), 0) scale(.7) rotate(var(--fr, 0deg)); transition: opacity .4s, transform .6s var(--ease); }
.cats__float.is-on { opacity: 1; transform: translate3d(var(--fx, 0), var(--fy, 0), 0) scale(1) rotate(var(--fr, 0deg)); }
.cats__float img { width: 100%; height: 100%; object-fit: cover; }

/* Vacances */
.vac { position: relative; min-height: min(88vh, 860px); display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; }
.vac__img { position: absolute; inset: -12% 0; z-index: -2; }
.vac__img img { width: 100%; height: 100%; object-fit: cover; }
.vac::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 20, 29, .78) 0%, rgba(8, 20, 29, .25) 70%); }
.vac__in .h2 { max-width: 12ch; margin-bottom: 20px; }
.vac__in > p:not(.eyebrow) { max-width: 520px; color: rgba(255, 255, 255, .86); }
.vac__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Services */
.services__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
.svc { padding: 34px 28px 30px; border-right: 1px solid var(--line); position: relative; display: flex; flex-direction: column; gap: 12px; transition: background .5s; }
.svc:last-child { border-right: 0; }
.svc:hover { background: var(--sand); }
.svc__n { font-size: .78rem; font-weight: 700; color: var(--coral); }
.svc__ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); transition: background .5s, color .5s, transform .7s var(--ease); }
.svc__ico .ico { width: 28px; height: 28px; }
.svc:hover .svc__ico { background: var(--ink); color: #fff; transform: rotate(-10deg) scale(1.05); }
.svc h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1; margin-top: 10px; }
.svc p { color: var(--ink-3); font-size: .93rem; flex: 1; }

/* =============================================================================
   BANNIÈRES DE PAGE + FIL D'ARIANE
   ============================================================================= */
.phero { position: relative; min-height: clamp(420px, 62vh, 620px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; background: var(--ink); }
.phero--sm { min-height: clamp(320px, 42vh, 420px); }
.phero__img { position: absolute; inset: 0; z-index: -2; }
.phero__img img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 1.8s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.18); } to { transform: scale(1); } }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 20, 29, .55), rgba(8, 20, 29, .1) 40%, rgba(8, 20, 29, .72)); }
.phero__in { padding-top: calc(var(--hd) + 40px); padding-bottom: clamp(36px, 5vw, 64px); }
.phero__title { font-size: clamp(2.6rem, 6.6vw, 6rem); max-width: 16ch; line-height: .98; }
.phero__title em { color: #ffc2b6; }
.phero__lead { max-width: 620px; margin-top: 18px; color: rgba(255, 255, 255, .86); font-size: 1.06rem; }
@supports (animation-timeline: view()) {
  .phero__img img { animation: kenburns 1.8s var(--ease) both, drift linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 70vh; }
  @keyframes drift { to { transform: translateY(18%) scale(1.06); } }
}
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .82rem; margin-bottom: 22px; opacity: .85; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs i { font-style: normal; opacity: .5; }

/* =============================================================================
   LISTE DES BIENS : filtres, affichages, pagination
   ============================================================================= */
.filters { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: top .6s var(--ease); }
body:has(.hd:not(.is-hidden)) .filters { top: var(--hd); }
.hd.is-scrolled ~ main .filters { top: 70px; }
body:has(.hd.is-hidden) .filters { top: 0; }
.filters__bar { display: flex; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 10px; }
.filters__open { display: none; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 99px; font-weight: 700; box-shadow: inset 0 0 0 1px var(--line-2); position: relative; }
.filters__open .badge { position: static; margin-left: 4px; }
.filters__fields { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; width: 100%; }
.filters__head { display: none; }
.fld { display: flex; flex-direction: column; gap: 4px; min-width: 150px; flex: 1 1 150px; }
.fld--wide { flex-basis: 220px; }
.fld > span, .fld legend { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 0 4px; }
.fld select, .fld input {
  height: 46px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; font-weight: 600; font-size: .9rem;
  appearance: none; -webkit-appearance: none; outline: none; transition: border-color .3s, box-shadow .3s; width: 100%;
}
.fld select, .sort select, .in--select select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2230' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
.fld select:focus, .fld input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(15, 34, 48, .08); }
.fld--chips { border: 0; padding: 0; margin: 0; flex: 0 1 auto; min-width: 0; }
.chips { display: flex; gap: 4px; padding: 4px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; height: 46px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: grid; place-items: center; height: 36px; min-width: 40px; padding: 0 10px; border-radius: 10px; font-weight: 700; font-size: .84rem; transition: background .3s, color .3s; }
.chips input:checked + span { background: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--coral); }
.more { position: relative; flex: 0 0 auto; }
.more summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; font-weight: 700; font-size: .86rem; cursor: pointer; }
.more summary::-webkit-details-marker { display: none; }
.more[open] summary { background: var(--ink); color: #fff; border-color: var(--ink); }
.more__in { position: absolute; right: 0; top: calc(100% + 10px); width: 340px; padding: 18px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); display: grid; gap: 12px; z-index: 5; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.checks legend { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; padding: 0; }
.check { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: .86rem; font-weight: 600; cursor: pointer; transition: background .3s; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check > span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .3s; }
.check > span .ico { opacity: 0; transform: scale(.5); transition: .3s var(--ease); color: #fff; }
.check input:checked + span { background: var(--coral); box-shadow: none; }
.check input:checked + span .ico { opacity: 1; transform: none; }
.check:has(input:checked) { background: var(--coral-soft); }
.filters__actions { display: none; gap: 10px; }
.filters__sub { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; }
.filters__total { margin-right: auto; font-size: .9rem; color: var(--ink-3); }
.filters__total b { color: var(--ink); font-size: 1.05rem; }
.sort select { height: 40px; border: 0; background-color: transparent; font-weight: 700; font-size: .86rem; appearance: none; -webkit-appearance: none; padding: 0 30px 0 8px; cursor: pointer; }
.views { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--sand); }
.views button { width: 38px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--ink-3); transition: background .3s, color .3s; }
.views button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -3px rgba(0, 0, 0, .2); }

.results { padding-top: 34px; padding-bottom: 40px; min-height: 50vh; }
.results__more { display: flex; justify-content: center; margin-top: 44px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 30px; }
.pager__n, .pager__arw { min-width: 46px; height: 46px; padding: 0 8px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .9rem; transition: background .3s, color .3s; }
.pager__n:hover, .pager__arw:hover { background: var(--sand); }
.pager__n.is-current { background: var(--ink); color: #fff; }
.pager__gap { padding: 0 4px; color: var(--ink-3); }
.js .results .pager { display: none; }

.empty { text-align: center; max-width: 520px; margin: 30px auto; padding: 50px 30px; border-radius: var(--r-lg); background: var(--sand); }
.empty__mark { width: 70px; height: 50px; margin: 0 auto 18px; fill: none; stroke: var(--coral); stroke-width: 1.4; }
.empty__mark { --m2: var(--ink); }
.empty h2 { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.1; }
.empty p { color: var(--ink-3); margin-top: 10px; }
.empty__btns { display: flex; justify-content: center; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.intro__txt { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.3; max-width: 30ch; }
.seo-links { border-top: 1px solid var(--line); }

/* Carte Leaflet */
.leaflet-container { font-family: var(--sans) !important; }
.kt-pin { background: var(--coral); color: #fff; border-radius: 99px; padding: 5px 10px; font-weight: 700; font-size: 12px; white-space: nowrap; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5); transform: translate(-50%, -100%); position: relative; width: max-content !important; height: auto !important; }
.kt-pin::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: var(--coral); }
.kt-pin:hover { background: var(--ink); z-index: 1000 !important; }
.kt-pop { width: 230px; }
.kt-pop img { width: 100%; height: 130px; object-fit: cover; border-radius: 10px; margin-bottom: 8px; }
.kt-pop b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.15rem; line-height: 1.15; color: var(--ink); }
.kt-pop span { font-size: .8rem; color: var(--ink-3); }
.kt-pop strong { display: block; color: var(--coral-2); margin-top: 4px; }
.leaflet-popup-content-wrapper { border-radius: 16px !important; }
.mappage { padding-top: calc(var(--hd) + 30px); }
.mappage__head { padding-bottom: 20px; }
.mappage__map { height: calc(100svh - var(--hd) - 150px); min-height: 480px; }

/* =============================================================================
   FICHE BIEN
   ============================================================================= */
.bien__head { padding-top: calc(var(--hd) + 30px); }
.bien__head .crumbs { color: var(--ink-3); margin-bottom: 0; }
.bien__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }

/* Flèches : bien précédent / suivant */
.pnav { display: flex; gap: 8px; flex: none; }
.pnav__btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 700; font-size: .86rem; transition: background .35s, color .35s, box-shadow .35s; }
.pnav__btn--next { flex-direction: row-reverse; }
.pnav__btn .ico { transition: transform .5s var(--ease); }
.pnav__btn:hover { background: var(--ink); color: #fff; box-shadow: none; }
.pnav__btn--prev:hover .ico { transform: translateX(-4px); }
.pnav__btn--next:hover .ico { transform: translateX(4px); }
.pnav__btn.is-off { opacity: .3; }
.pnav__peek {
  position: absolute; top: calc(100% + 12px); width: 300px; display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center;
  padding: 10px; background: #fff; color: var(--ink); border-radius: 18px; box-shadow: var(--shadow-lg); z-index: 20;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s, transform .5s var(--ease), visibility .3s; pointer-events: none;
}
.pnav__btn--prev .pnav__peek { left: 0; }
.pnav__btn--next .pnav__peek { right: 0; }
.pnav__btn:hover .pnav__peek, .pnav__btn:focus-visible .pnav__peek { opacity: 1; visibility: visible; transform: none; }
.pnav__peek img { width: 96px; height: 76px; object-fit: cover; border-radius: 12px; }
.pnav__peek small { display: block; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); }
.pnav__peek b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--serif); font-weight: 400; font-size: 1.05rem; line-height: 1.15; }
.pnav__peek i { font-style: normal; font-size: .8rem; color: var(--ink-3); }

.pnext { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 30px; }
.pnext__card { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center; padding: 12px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.pnext__card--next { grid-template-columns: 1fr 150px; text-align: right; }
.pnext__card--next .pnext__img { order: 2; }
.pnext__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pnext__img { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; }
.pnext__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pnext__card:hover .pnext__img img { transform: scale(1.08); }
.pnext__txt small { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); }
.pnext__card--next .pnext__txt small { flex-direction: row-reverse; }
.pnext__txt b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.15; margin: 6px 0; }
.pnext__txt i { font-style: normal; font-size: .86rem; color: var(--ink-3); }
.bien__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 26px; }
.bien__titles { flex: 1 1 560px; }
.bien__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.bien__ref { font-size: .8rem; font-weight: 700; color: var(--ink-3); margin-left: 6px; }
.bien__title { font-size: clamp(2.2rem, 4.6vw, 4.2rem); max-width: 22ch; }
.bien__loc { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; color: var(--ink-2); }
.bien__loc a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.bien__loc a:hover { text-decoration-color: var(--coral); }
.bien__pricebox { text-align: right; }
.bien__price b { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; }
.bien__price small { font-weight: 700; color: var(--ink-3); }
.bien__actions { display: flex; gap: 8px; margin-top: 14px; justify-content: flex-end; flex-wrap: wrap; }
.pillbtn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 700; font-size: .84rem; transition: background .3s, color .3s, box-shadow .3s; }
.pillbtn:hover { background: var(--ink); color: #fff; box-shadow: none; }
.pillbtn.is-on { background: var(--coral); color: #fff; box-shadow: none; }
.pillbtn.is-on .ico { fill: currentColor; }

.gal { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; height: min(68vh, 640px); position: relative; }
.gal__item { position: relative; overflow: hidden; border-radius: 14px; background: var(--sand-2); }
.gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.gal__item:hover img { transform: scale(1.05); }
.gal__item--0 { grid-row: span 2; border-radius: 240px 14px 14px 14px; }
.gal[data-count="1"] { grid-template-columns: 1fr; }
.gal[data-count="1"] .gal__item--0 { border-radius: 24px; }
.gal[data-count="2"] { grid-template-columns: 2fr 1fr; }
.gal[data-count="2"] .gal__item--1 { grid-row: span 2; }
.gal[data-count="3"] .gal__item--1, .gal[data-count="3"] .gal__item--2 { grid-column: span 2; }
.gal[data-count="4"] .gal__item--3 { grid-column: span 2; }
.gal__all { position: absolute; right: 18px; bottom: 18px; box-shadow: var(--shadow); }
.gal__item { clip-path: inset(0 0 100% 0 round 14px); animation: unveil 1.2s var(--ease-io) forwards; animation-delay: calc(var(--n, 0) * 90ms + 150ms); }
.gal__item--0 { --n: 0; } .gal__item--1 { --n: 1; } .gal__item--2 { --n: 2; } .gal__item--3 { --n: 3; } .gal__item--4 { --n: 4; }
@keyframes unveil { to { clip-path: inset(0 0 0 0 round 14px); } }
.swipe { display: none; position: relative; }
.swipe__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.swipe__track::-webkit-scrollbar { display: none; }
.swipe__item { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 3; }
.swipe__item img { width: 100%; height: 100%; object-fit: cover; }
.swipe__count { position: absolute; right: 14px; bottom: 14px; padding: 6px 12px; border-radius: 99px; background: rgba(8, 20, 29, .6); color: #fff; font-size: .8rem; font-weight: 700; backdrop-filter: blur(6px); }

.bien__body { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: clamp(30px, 5vw, 80px); padding-top: 50px; padding-bottom: 40px; align-items: start; }
.specs { display: flex; flex-wrap: wrap; background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.specs li { flex: 1 1 170px; display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff; box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); }
.specs .ico { width: 26px; height: 26px; color: var(--coral); }
.specs small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.specs b { font-size: 1.05rem; }
.block { padding-top: 46px; margin-top: 46px; border-top: 1px solid var(--line); }
.specs + .block { border-top: 0; margin-top: 0; }
.block__t { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1.1; margin-bottom: 20px; }
.desc { position: relative; color: var(--ink-2); }
.desc.is-clamped { max-height: 300px; overflow: hidden; }
.desc.is-clamped::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(rgba(251, 248, 243, 0), var(--shell)); }
.desc__more { margin-top: 14px; }
.desc__more.is-open .ico { transform: rotate(180deg); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; background: var(--sand); font-weight: 600; font-size: .9rem; }
.tags .ico { color: var(--coral); }
.amen { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.amen__g h3 { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); margin-bottom: 10px; }
.amen__g li { padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.frame { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink); cursor: pointer; }
.frame--360 { aspect-ratio: 16 / 10; }
.frame img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform 1.2s var(--ease), opacity .5s; }
.frame:hover img { transform: scale(1.04); opacity: .6; }
.frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.frame__play { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); transition: transform .6s var(--ease); }
.frame__play .ico { width: 40px; height: 40px; }
.frame__play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); animation: ring 2.2s infinite var(--ease); }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.frame:hover .frame__play { transform: scale(1.08); }
.minimap { height: 360px; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); margin-top: 14px; }
.cal { background: #fff; border-radius: var(--r); padding: 14px; }
.credit__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.credit__in { display: grid; gap: 20px; }
.range span { display: flex; justify-content: space-between; font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.range output { font-weight: 700; color: var(--coral-2); }
.range input { width: 100%; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--coral) var(--v, 50%), var(--sand-2) var(--v, 50%)); outline: none; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--coral); cursor: pointer; transition: transform .3s; }
.range input::-webkit-slider-thumb:hover { transform: scale(1.2); }
.range input::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--coral); }
.credit__out { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.credit__out small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; font-weight: 700; }
.credit__out b { font-family: var(--serif); font-weight: 400; font-size: 3rem; line-height: 1; }
.credit__out .muted { color: rgba(255, 255, 255, .6); font-size: .8rem; margin-top: auto; }

.bien__aside { position: sticky; top: calc(var(--hd) + 20px); }
.agent { background: #fff; border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.agent__who { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.agent__mark { width: 54px; height: 54px; padding: 12px 9px; border-radius: 50%; background: var(--sand); }
.agent__mark { --m2: var(--ink); }
.agent__who b { display: block; font-size: .98rem; }
.agent__who span { font-size: .82rem; color: var(--ink-3); }
.agent__q { font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; margin: 18px 0 14px; }
.agent__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.mbar { display: none; }

/* Visionneuse */
.lb { position: fixed; inset: 0; z-index: 300; background: #0a141c; display: flex; flex-direction: column; align-items: center; padding: 64px 84px 14px; opacity: 0; transition: opacity .4s; }
.lb.is-on { opacity: 1; }
/* Image entière : bornée par la taille de l'écran (moins la place des boutons et des vignettes) */
.lb__fig { flex: 1 1 auto; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; }
.lb__fig img { display: block; width: auto; height: auto; max-width: min(100%, 1600px); max-height: calc(100vh - 160px); max-height: calc(100svh - 160px); object-fit: contain; border-radius: 10px; animation: lbin .6s var(--ease); }
@keyframes lbin { from { opacity: 0; transform: scale(.96); } }
.lb__close { position: absolute; right: 20px; top: 18px; }
.lb__count { position: absolute; left: 24px; top: 26px; color: #fff; font-weight: 700; font-size: .9rem; }
.lb__nav { position: absolute; top: 50%; margin-top: -26px; }
.lb__nav--prev { left: 18px; } .lb__nav--next { right: 18px; }
.lb__thumbs { display: flex; gap: 6px; overflow-x: auto; max-width: 100%; padding: 14px 0 4px; scrollbar-width: none; }
.lb__thumbs button { flex: none; width: 74px; height: 54px; border-radius: 8px; overflow: hidden; opacity: .45; transition: opacity .3s; }
.lb__thumbs button[aria-current] { opacity: 1; box-shadow: 0 0 0 2px var(--coral); }
.lb__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* =============================================================================
   FORMULAIRES
   ============================================================================= */
/* minmax(0, 1fr) : aucun élément (reCAPTCHA de 304 px, indicatif téléphonique) ne peut élargir le formulaire */
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
.form > *, .form__2 > *, .form__3 > * { min-width: 0; }
.in input, .in select, .in textarea, .in--tel .iti { max-width: 100%; }
.form--card { background: #fff; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form--card .h3 { margin-bottom: 8px; }
.form__2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form__3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.form__auto { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.in { position: relative; display: block; }
.in input, .in select, .in textarea {
  width: 100%; height: 58px; padding: 22px 16px 6px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--shell);
  font-weight: 600; font-size: .95rem; outline: none; transition: border-color .3s, background .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.in textarea { height: auto; min-height: 140px; resize: vertical; padding-top: 28px; }
.in > span { position: absolute; left: 17px; top: 19px; font-size: .92rem; color: var(--ink-3); pointer-events: none; transition: transform .35s var(--ease), font-size .35s, color .3s; transform-origin: 0 0; }
.in input:focus, .in select:focus, .in textarea:focus { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(15, 34, 48, .07); }
.in input:focus + span, .in input:not(:placeholder-shown) + span, .in textarea:focus + span, .in textarea:not(:placeholder-shown) + span, .in--select > span, .in--tel > span {
  transform: translateY(-11px); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.in.is-bad input, .in.is-bad textarea { border-color: var(--coral); background: #fff7f6; }
.in--tel .iti { width: 100%; }
.in--tel .iti input { padding-left: 90px !important; }
.in--tel > span { left: 92px; }
.iti__country-list { z-index: 400 !important; border-radius: 12px; }
.captcha:empty { display: none; }
/* reCAPTCHA (largeur fixe de Google) : centré, et réduit sur les écrans étroits */
.captcha { display: flex; justify-content: center; min-width: 0; overflow: visible; }
.captcha > div { flex: none; }
@media (max-width: 400px) {
  .agent, .form--card { padding: 20px 16px; }
  .captcha > div { transform: scale(.88); transform-origin: center top; margin-bottom: -10px; }
}
.form__err { color: var(--coral-2); font-weight: 600; font-size: .9rem; background: #fff1ef; padding: 10px 14px; border-radius: 10px; }
.form__ok { color: #156b3a; font-weight: 600; background: #e8f6ee; padding: 14px; border-radius: 12px; }
.form .btn[aria-busy="true"] { pointer-events: none; opacity: .7; }
.seg { border: 0; padding: 0; margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 6px; }
.seg legend { width: 100%; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; padding: 0; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 10px 16px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 600; font-size: .88rem; transition: .3s; }
.seg input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.checks--inline { margin: 4px 0; }

/* ---------- Contact, proposer, agence ---------- */
.contact__grid, .propose__grid, .story__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__info .h2 { margin-bottom: 30px; }
.cinfo { display: grid; gap: 6px; }
.cinfo li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cinfo__ico { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--coral); flex: none; }
.cinfo small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.cinfo a, .cinfo span:not(.cinfo__ico):not(.muted) { display: block; font-weight: 600; }
.cinfo a:hover { color: var(--coral-2); }
.contact__quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.mapframe { height: 480px; background: var(--sand); }
.mapframe iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.steps { counter-reset: s; display: grid; gap: 0; margin-top: 30px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 60px 1fr; gap: 4px 10px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); grid-row: span 2; font-family: var(--serif); font-size: 2.2rem; color: var(--coral); line-height: 1; }
.steps b { font-size: 1.08rem; }
.steps span { color: var(--ink-3); font-size: .93rem; }
.story__visual { position: relative; }
.story__small { position: absolute; right: -4%; bottom: -8%; width: 46%; border-radius: 50%; overflow: hidden; aspect-ratio: 1; border: 8px solid var(--shell); box-shadow: var(--shadow-lg); }
.story__small img { width: 100%; height: 100%; object-fit: cover; }
.story__txt .h2 { margin-bottom: 26px; }
.band { background: var(--ink); color: #fff; }
.stats--band { grid-template-columns: repeat(4, 1fr); border: 0; margin: 0; padding: 0; }
.stats--band dt { color: #fff; }
.stats--band dd { color: rgba(255, 255, 255, .65); }
/* Comparateur : colonnes de largeur fixe, défilement horizontal avec flèches, critères figés */
.cmp__bar { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; flex-wrap: wrap; }
.cmp__count { font-size: .95rem; color: var(--ink-3); }
.cmp__count b { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; color: var(--ink); margin-right: 4px; }
.cmp__nav { display: flex; align-items: center; gap: 10px; margin-left: auto; min-width: 280px; }
.cmp__nav[hidden] { display: none !important; }
.cmp__progress { flex: 1; }
.cmp { position: relative; overflow-x: auto; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); scroll-behavior: smooth; scrollbar-width: thin; overscroll-behavior-x: contain; }
.cmp__t { border-collapse: separate; border-spacing: 0; table-layout: fixed; width: calc(200px + var(--n) * 270px); min-width: 100%; }
.cmp__lab { width: 200px; }
.cmp__col { width: 270px; }
.cmp__t th, .cmp__t td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .92rem; }
.cmp__t td + td, .cmp__t th + th, .cmp__t th + td { border-left: 1px solid var(--line); }
.cmp__t thead th { position: relative; padding-top: 18px; padding-bottom: 20px; }
.cmp__t tbody th, .cmp__corner { position: sticky; left: 0; z-index: 2; background: #fff; box-shadow: 8px 0 16px -12px rgba(15, 34, 48, .3); }
.cmp__t tbody th { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.cmp__t tbody tr:hover td, .cmp__t tbody tr:hover th { background: var(--shell); }
.cmp__t tbody tr:last-child td, .cmp__t tbody tr:last-child th { border-bottom: 0; }
.cmp__card { display: block; }
.cmp__img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--sand-2); margin-bottom: 12px; }
.cmp__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cmp__card:hover .cmp__img img { transform: scale(1.06); }
.cmp__img .chip { position: absolute; left: 10px; top: 10px; height: 24px; font-size: .66rem; }
.cmp__card > b { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.3em; margin-bottom: 8px; }
.cmp__card:hover > b { color: var(--coral-2); }
.cmp__card .price b { font-size: 1.45rem; }
.cmp__rm { position: absolute; right: 30px; top: 28px; z-index: 1; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .4); transition: background .3s, color .3s, transform .4s var(--ease); }
.cmp__rm:hover { background: var(--coral); color: #fff; transform: rotate(90deg); }
@media (max-width: 760px) {
  .cmp__t { width: calc(120px + var(--n) * 220px); }
  .cmp__lab { width: 120px; }
  .cmp__col { width: 220px; }
  .cmp__t th, .cmp__t td { padding: 12px 14px; }
  .cmp__nav { min-width: 0; width: 100%; }
}
.legal { padding-top: calc(var(--hd) + 40px); padding-bottom: 80px; max-width: 900px; }
.legal .h2 { margin-bottom: 20px; }
.nf { position: relative; min-height: 86vh; display: flex; align-items: center; color: #fff; isolation: isolate; overflow: hidden; }
.nf__img { position: absolute; inset: 0; z-index: -2; }
.nf__img img { width: 100%; height: 100%; object-fit: cover; }
.nf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8, 20, 29, .6); }
.nf__code { font-family: var(--serif); font-size: clamp(7rem, 22vw, 16rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .7); }
.nf__in > p:not(.nf__code) { max-width: 460px; margin-top: 14px; color: rgba(255, 255, 255, .85); }
.nf__btns { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }

/* =============================================================================
   PIED DE PAGE
   ============================================================================= */
.ft { background: var(--ink); color: rgba(255, 255, 255, .8); overflow: hidden; position: relative; }
.ft__cta { padding-top: clamp(80px, 11vw, 150px); padding-bottom: clamp(60px, 8vw, 100px); border-bottom: 1px solid var(--line-light); }
.ft__big { color: #fff; font-size: clamp(2.8rem, 8vw, 7.4rem); max-width: 14ch; }
.ft__big em { color: #ffb4a8; }
.ft__cta-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.ft__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.3fr; gap: 40px; padding-top: 70px; padding-bottom: 40px; }
.ft__col { display: flex; flex-direction: column; gap: 10px; font-size: .92rem; }
.ft__col h3 { color: #fff; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 8px; }
.ft__col > a { width: fit-content; position: relative; transition: color .3s; }
.ft__col > a:hover { color: #fff; }
.ft__about p { max-width: 360px; margin-top: 14px; line-height: 1.7; }
.ft__social { display: flex; gap: 8px; margin-top: 18px; }
.ft__social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-light); transition: background .3s, color .3s, transform .5s var(--ease); }
.ft__social a:hover { background: var(--coral); color: #fff; box-shadow: none; transform: translateY(-3px); }
.ft__contact a { display: flex; gap: 12px; align-items: flex-start; }
.ft__contact .ico { margin-top: 3px; color: var(--coral); }
.ft__word { font-family: var(--serif); font-size: clamp(5rem, 19vw, 19rem); line-height: .8; white-space: nowrap; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .14); user-select: none; padding: 20px 0 0; margin-bottom: -.12em; }
.ft__word span { display: inline-block; }
@supports (animation-timeline: view()) {
  .ft__word span { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
  @keyframes rise { from { transform: translateY(40%); opacity: 0; } }
}
.ft__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--line-light); font-size: .82rem; position: relative; background: var(--ink); }
.ft__bottom p:last-child { display: flex; flex-wrap: wrap; gap: 18px; }
.ft__bottom a:hover { color: #fff; }

.dock { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: flex; flex-direction: column; gap: 10px; }
.dock__btn { position: relative; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45); transition: transform .5s var(--ease); }
.dock__btn:hover { transform: scale(1.08) rotate(-6deg); }
.dock__btn .ico { width: 24px; height: 24px; }
.dock__btn--cmp { background: var(--ink); }
.dock__btn--fav { background: #fff; color: var(--coral); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .35), inset 0 0 0 1px var(--line); }
.dock__btn--fav .ico { transition: transform .5s var(--ease); }
.dock__btn--fav:hover .ico { transform: scale(1.15); }
.dock__btn--fav:has(.badge:not([hidden])) .ico { fill: currentColor; }
.dock__btn .badge { top: -3px; right: -3px; border: 2px solid #fff; height: 21px; }
.dock__btn { margin-left: auto; }

/* Bouton Contact flottant + panneau de tous les contacts de l'agence */
.cdock { position: relative; }
.dock__btn--contact { width: 60px; height: 60px; background: var(--coral); isolation: isolate; }
.dock__btn--contact::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--coral); z-index: -1; animation: ring 2.6s infinite; }
.dock__btn--contact .ico { width: 26px; height: 26px; }
.dock__i { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .5s var(--ease), opacity .3s; }
.dock__i--on .ico { animation: ringing 3.2s 2s infinite; }
@keyframes ringing { 0%, 12%, 100% { transform: none; } 2%, 6%, 10% { transform: rotate(-14deg); } 4%, 8% { transform: rotate(14deg); } }
.dock__i--off { opacity: 0; transform: rotate(-90deg) scale(.6); }
.cdock.is-open .dock__i--on { opacity: 0; transform: rotate(90deg) scale(.6); }
.cdock.is-open .dock__i--off { opacity: 1; transform: none; }
.cdock.is-open .dock__btn--contact { background: var(--ink); }
.cdock.is-open .dock__btn--contact::before { animation: none; opacity: 0; }
.cpanel {
  position: absolute; right: 0; bottom: calc(100% + 14px); width: 330px; max-height: calc(100svh - 120px); overflow-y: auto;
  background: #fff; color: var(--ink); border-radius: 24px; padding: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  transform-origin: calc(100% - 30px) calc(100% + 30px); transform: scale(.4) translateY(30px); opacity: 0; transition: transform .55s var(--ease), opacity .3s;
}
.cdock.is-open .cpanel { transform: none; opacity: 1; }
.cpanel__head { display: flex; align-items: center; gap: 12px; padding: 4px 4px 14px; border-bottom: 1px solid var(--line); }
.cpanel__mark { width: 48px; height: 48px; padding: 11px 8px; border-radius: 50%; background: var(--sand); --m2: var(--ink); flex: none; }
.cpanel__head b { display: block; font-size: .95rem; line-height: 1.2; }
.cpanel__head span { font-size: .78rem; color: var(--wa); font-weight: 600; }
.cpanel__head span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--wa); margin-right: 6px; vertical-align: 1px; }
.cpanel__t { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin: 14px 6px 6px; }
.cpanel__row { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; transition: background .3s; }
.cpanel__row:hover { background: var(--sand); }
.cpanel__row b { display: block; font-size: .92rem; line-height: 1.25; }
.cpanel__row small { display: block; font-size: .76rem; color: var(--ink-3); line-height: 1.3; }
.cpanel__ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--ink); flex: none; transition: transform .4s var(--ease); }
.cpanel__row:hover .cpanel__ico { transform: scale(1.1) rotate(-8deg); }
.cpanel__ico .ico { width: 19px; height: 19px; }
.cpanel__ico--tel { background: var(--coral); color: #fff; }
.cpanel__ico--wa { background: var(--wa); color: #fff; }
.cpanel__ico--msg { background: #0866ff; color: #fff; }
.cpanel__foot { display: flex; align-items: center; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.cpanel__foot > a:not(.cpanel__more) { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .3s, color .3s; }
.cpanel__foot > a:not(.cpanel__more):hover { background: var(--ink); color: #fff; box-shadow: none; }
.cpanel__more { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .84rem; }
.cpanel__more .ico { width: 16px; transition: transform .4s var(--ease); }
.cpanel__more:hover .ico { transform: translateX(4px); }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 400; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 16px; background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 99px; font-size: .9rem; font-weight: 600; box-shadow: var(--shadow-lg); transition: transform .6s var(--ease); max-width: calc(100vw - 32px); }
.toast.is-on { transform: translate(-50%, 0); }
.toast a { color: #ffb4a8; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.cookie { position: fixed; left: 18px; bottom: 18px; z-index: 390; width: min(420px, calc(100vw - 36px)); background: #fff; border-radius: var(--r); padding: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); transform: translateY(130%); transition: transform .7s var(--ease); }
.cookie.is-on { transform: none; }
.cookie b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.cookie p { font-size: .86rem; color: var(--ink-3); margin: 6px 0 14px; }
.cookie a { text-decoration: underline; }
.cookie div { display: flex; gap: 8px; }

/* =============================================================================
   ANIMATIONS AU DÉFILEMENT (classes posées par kt.js)
   ============================================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="card"] { transform: translateY(60px) scale(.97); }
.js [data-reveal="card"] .card__media, .js [data-reveal="card"].place { clip-path: inset(18% 0 0 0 round 20px); transition: clip-path 1.3s var(--ease-io); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal="card"].is-in .card__media, .js [data-reveal="card"].place.is-in { clip-path: inset(0 0 0 0 round 20px); }
.js [data-reveal="card"].place.place--0.is-in { clip-path: inset(0 0 0 0 round 260px 260px 28px 28px); }
/* Arche : le masque est posé sur l'image (un bloc entièrement masqué ne serait jamais détecté comme visible) */
.js [data-reveal="arch"] { opacity: 1; }
.js [data-reveal="arch"] img { clip-path: inset(100% 0 0 0); transform: scale(1.25); transition: clip-path 1.6s var(--ease-io), transform 2.2s var(--ease); }
.js [data-reveal="arch"].is-in img { clip-path: inset(0 0 0 0); transform: scale(1); }
.js [data-reveal="pop"] { transform: scale(.4) rotate(-20deg); transition-duration: 1s, 1.2s; transition-delay: .5s; }
.js [data-reveal="pop"].is-in { transform: none; }
.js [data-reveal="wipe"] { opacity: 1; transform: none; clip-path: inset(0 8% 0 8% round 40px); transition: clip-path 1.6s var(--ease-io); }
.js [data-reveal="wipe"].is-in { clip-path: inset(0 0 0 0 round 0); }
.specs li { transition-delay: calc(var(--i) * 50ms); }

/* Transition entre les pages (navigateurs compatibles) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .45s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 1440px) {
  .hd__phone span { display: none; }
  .hd__phone { padding: 0; width: 44px; height: 44px; justify-content: center; border-radius: 50%; }
}
@media (max-width: 1180px) {
  .nav__link { padding: 0 10px; }
  .ft__grid { grid-template-columns: 1fr 1fr; }
  .services__list { grid-template-columns: 1fr 1fr; }
  .svc:nth-child(2) { border-right: 0; }
  .svc:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 1020px) {
  :root { --hd: 72px; }
  .nav, .hd__phone, .dvz { display: none; }
  .burger { display: block; }
  .hd__tools { margin-left: auto; }
  .finder__row { grid-template-columns: 1fr 1fr; }
  .finder__go { grid-column: 1 / -1; }
  .finder__f:nth-child(3)::before { display: none; }
  .hero__dots { grid-template-columns: repeat(5, auto); gap: 10px; }
  .hero__place { display: none; }
  .about__grid, .contact__grid, .propose__grid, .story__grid { grid-template-columns: minmax(0, 1fr); }
  .about__visual { max-width: 520px; }
  .places__grid { grid-template-columns: repeat(2, 1fr); }
  .place, .place--0, .place--1, .place--2, .place--3, .place--4, .place--5, .place--6 { grid-column: span 1; grid-row: auto; min-height: 260px; }
  .place--0 { grid-column: span 2; min-height: 380px; }
  /* minmax(0, 1fr) : la colonne ne s'élargit plus pour contenir le reCAPTCHA (304 px fixes) */
  .bien__body { grid-template-columns: minmax(0, 1fr); }
  .bien__aside { width: 100%; max-width: 520px; margin-inline: auto; }
  .bien__aside { position: static; }
  .filters__open { display: inline-flex; }
  /* Le flou d'arrière-plan enfermait le panneau plein écran dans la barre : supprimé sur mobile,
     et la barre passe au-dessus de l'en-tête quand les filtres sont ouverts */
  .filters { background: var(--shell); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .filters.is-open { z-index: 260; }
  .filters__fields {
    position: fixed; inset: 0; z-index: 210; background: var(--shell); flex-direction: column; flex-wrap: nowrap; align-items: stretch;
    padding: 20px var(--gutter) 100px; overflow-y: auto; transform: translateY(100%); transition: transform .7s var(--ease); visibility: hidden;
  }
  .filters.is-open .filters__fields { transform: none; visibility: visible; }
  .filters__head { display: flex; justify-content: space-between; align-items: center; font-family: var(--serif); font-size: 1.8rem; }
  .fld { flex: 0 0 auto; }
  .more__in { position: static; width: auto; box-shadow: none; padding: 14px 0 0; background: transparent; }
  .more summary { width: 100%; }
  .filters__actions { display: grid; grid-template-columns: 1fr 2fr; position: fixed; left: 0; right: 0; bottom: 0; padding: 14px var(--gutter); background: #fff; border-top: 1px solid var(--line); }
  .filters__bar { padding-top: 10px; }
  .gal { display: none; }
  .bien__bar { flex-direction: column-reverse; align-items: stretch; }
  .pnav { justify-content: space-between; }
  .pnav__peek { display: none; }
  .pnext { grid-template-columns: 1fr; }
  .pnext__card, .pnext__card--next { grid-template-columns: 96px 1fr; text-align: left; }
  .pnext__card--next .pnext__img { order: 0; }
  .pnext__card--next .pnext__txt small { flex-direction: row; }
  .pnext__txt b { font-size: 1.2rem; }
  .swipe { display: block; margin-top: 4px; }
  .bien__pricebox { text-align: left; }
  .bien__actions { justify-content: flex-start; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; display: flex; align-items: center; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .mbar .price { margin-right: auto; }
  .mbar .price b { font-size: 1.5rem; }
  .p-detailbien .dock { display: none; }
  .p-detailbien .ft { padding-bottom: 70px; }
  .stats--band { grid-template-columns: 1fr 1fr; gap: 30px; }
  .cats__float { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .brand__logo, .hd.is-scrolled .brand__logo { width: 168px; height: 42px; }
  .brand__txt b { font-size: 1.5rem; }
  .brand__mark { width: 40px; }
  .hd__cta { display: none; }
  .hero { height: auto; min-height: 100svh; max-height: none; }
  .hero__content { padding-bottom: 20px; }
  .hero__title { font-size: clamp(2.6rem, 12.5vw, 3.6rem); }
  .finder { padding: 8px; border-radius: 22px; }
  .finder__row { grid-template-columns: 1fr; }
  .finder__f + .finder__f::before { display: none; }
  .finder__f { padding: 8px 12px; }
  .finder__tab span { padding: 8px 14px; }
  .hero__ui { padding-bottom: 20px; }
  .hero__scroll { display: none; }
  .hero__num { font-size: 1.1rem; }
  .sec__head { align-items: flex-start; }
  /* Onglets : trois parts égales qui tiennent dans l'écran (plus de barre de défilement) */
  .tabs { display: flex; width: 100%; overflow: hidden; }
  .tabs button { flex: 1 1 0; min-width: 0; padding: 10px 4px; white-space: nowrap; font-size: .82rem; }
  .tabs sup { font-size: .62em; }
  .rail__track { grid-auto-columns: 82%; gap: 14px; }
  .rail__nav .round { display: none; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .stats dt { font-size: 2.1rem; }
  .about__badge { width: 140px; right: -4px; }
  .about__year { font-size: 2.4rem; }
  .places__grid { grid-template-columns: 1fr; }
  .place--0 { grid-column: auto; min-height: 420px; }
  .cats__row { grid-template-columns: 36px 1fr 46px; }
  .cats__count { display: none; }
  .cats__go { width: 46px; height: 46px; }
  .services__list { grid-template-columns: 1fr; }
  .svc { border-right: 0; border-top: 1px solid var(--line); }
  .ft__grid { grid-template-columns: 1fr; gap: 34px; }
  .form__2, .form__3, .credit__grid { grid-template-columns: 1fr; }
  .grid.is-list .card { flex-direction: column; }
  .grid.is-list .card__media { width: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .grid.is-list .card__tools { left: auto; right: 18px; flex-direction: column; }
  .views button[data-view="list"] { display: none; }
  .cpanel { width: calc(100vw - 36px); }
  .lb { padding: 56px 0 10px; }
  .lb__fig img { max-width: 100vw; max-height: calc(100svh - 140px); border-radius: 0; }
  .lb__nav { display: none; }
  .vac { min-height: 76vh; }
  .story__small { width: 40%; right: 0; }
}

/* Moins d'animations si l'utilisateur le demande */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal] * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .sw__i { transform: none !important; }
}

/* =============================================================================
   CHOIX MULTIPLE DES LIEUX (délégations + localités)
   ============================================================================= */
.lx { position: relative; }
.lx__btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; height: 46px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; font-weight: 600; font-size: .9rem; text-align: left; transition: border-color .3s, box-shadow .3s; }
.lx__btn .ico { transition: transform .4s var(--ease); flex: none; }
.lx.is-open .lx__btn { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(15, 34, 48, .08); }
.lx.is-open .lx__btn .ico { transform: rotate(180deg); }
.lx__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-3); }
.lx__label.is-set { color: var(--ink); }
.lx__pop {
  position: absolute; left: 0; top: calc(100% + 8px); z-index: 60; width: max(100%, 340px); background: #fff; color: var(--ink);
  border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: flex; flex-direction: column; max-height: min(460px, 70vh);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s, transform .45s var(--ease), visibility .3s;
}
.lx--up .lx__pop { top: auto; bottom: calc(100% + 14px); transform: translateY(-8px); max-height: min(420px, 60vh); }
.lx.is-open .lx__pop { opacity: 1; visibility: visible; transform: none; }
.lx__search { display: flex; align-items: center; gap: 8px; margin: 10px; padding: 0 12px; border-radius: 12px; background: var(--sand); color: var(--ink-3); flex: none; }
.lx__search input { flex: 1; height: 42px; border: 0; background: transparent; outline: none; font-weight: 600; font-size: .9rem; color: var(--ink); min-width: 0; }
.lx__list { overflow-y: auto; padding: 0 6px 6px; overscroll-behavior: contain; }
.lx__g + .lx__g { border-top: 1px solid var(--line); }
.lx__opt { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; cursor: pointer; transition: background .2s; }
.lx__opt:hover { background: var(--shell); }
.lx__opt input { position: absolute; opacity: 0; pointer-events: none; }
.lx__box { width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--line-2); display: grid; place-items: center; flex: none; transition: background .2s, box-shadow .2s; }
.lx__box .ico { color: #fff; opacity: 0; transform: scale(.5); transition: .25s var(--ease); }
.lx__opt input:checked + .lx__box { background: var(--coral); box-shadow: none; }
.lx__opt input:checked + .lx__box .ico { opacity: 1; transform: none; }
.lx__opt input:focus-visible + .lx__box { outline: 2px solid var(--coral); outline-offset: 2px; }
.lx__name { flex: 1; font-size: .9rem; line-height: 1.25; }
.lx__name em { display: block; font-style: normal; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.lx__opt--g .lx__name { font-weight: 700; }
.lx__opt small { font-size: .74rem; font-weight: 700; color: var(--ink-3); background: var(--sand); padding: 2px 8px; border-radius: 99px; }
.lx__subs { padding-left: 22px; }
.lx__g.is-all .lx__opt--l { opacity: .55; }
.lx__g.is-all .lx__opt--l .lx__box { background: var(--coral-soft); box-shadow: none; }
.lx__g.is-all .lx__opt--l .lx__box .ico { opacity: 1; transform: none; color: var(--coral); }
.lx__none { padding: 18px; text-align: center; color: var(--ink-3); font-size: .9rem; }
.lx__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--line); flex: none; }
/* Dans le moteur de l'accueil : même allure que les autres champs */
.finder__f--lx .lx__btn { height: auto; padding: 2px 0 0; border: 0; border-radius: 0; background: transparent; font-size: .98rem; box-shadow: none; }
.finder__f--lx .lx__label { color: var(--ink); }
.finder__f--lx .lx__pop { left: -16px; }
.hero { overflow: visible; }
.hero__media, .hero__veil { overflow: hidden; }
@media (max-width: 1020px) {
  .filters .lx__pop { position: static; width: auto; max-height: 50vh; margin-top: 8px; box-shadow: none; display: none; opacity: 1; visibility: visible; transform: none; }
  .filters .lx.is-open .lx__pop { display: flex; }
}
@media (max-width: 760px) {
  .lx--up .lx__pop { width: calc(100vw - 2 * var(--gutter) - 16px); }
}

/* Portrait de la fondatrice dans l'arche */
.arch img.arch__portrait { object-position: 50% 18%; }
.dock__btn.is-pop { animation: pop .7s var(--ease); }

/* Comparateur : meilleure valeur de chaque ligne */
.cmp__t td.is-best, .cmp__t tbody tr:hover td.is-best { background: #fdeeed; color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--coral); }
.cmp__best { display: flex; align-items: center; gap: 5px; margin-top: 6px; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-2); }
.cmp__best .ico { width: 12px; height: 12px; stroke-width: 2.4; }

/* Carte : regroupement des biens proches + mention des positions approximatives */
.kt-cluster { display: grid; place-content: center; text-align: center; width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 0 0 6px rgba(15, 34, 48, .18), 0 10px 24px -8px rgba(0, 0, 0, .5); transform: translate(-50%, -50%); line-height: 1; transition: background .3s, transform .3s; }
.kt-cluster b { font-size: 1rem; }
.kt-cluster small { font-size: .56rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .75; margin-top: 2px; }
.kt-cluster--lg { width: 64px; height: 64px; background: var(--coral); box-shadow: 0 0 0 7px rgba(217, 79, 85, .22), 0 10px 24px -8px rgba(0, 0, 0, .5); }
.kt-cluster:hover { transform: translate(-50%, -50%) scale(1.08); }
.leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow { transition: transform .3s ease-out, opacity .3s ease-in; }

/* Champ Référence du moteur de l'accueil */
.finder__f input { border: 0; background: transparent; padding: 2px 0 0; font-weight: 600; font-size: .98rem; outline: none; width: 100%; min-width: 0; color: var(--ink); }
.finder__f input::placeholder { color: var(--ink-3); font-weight: 500; opacity: .7; }
.finder__f:focus-within { background: var(--sand); }
@media (max-width: 1200px) and (min-width: 1021px) { .finder__row { grid-template-columns: 1fr 1.2fr 1fr .9fr; } .finder__go { grid-column: 1 / -1; } }
.fld--ref { flex: 0 1 140px; min-width: 120px; }
@media (max-width: 1020px) { .fld--ref { flex: 0 0 auto; min-width: 0; } }
