:root {
  --red: #e0142a;
  --red-dark: #b01020;
  --orange: #f08a1a;
  --blue: #2f6fb8;
  --slate: #5d6b78;
  --navy: #121826;
  --ink: #1c2430;
  --muted: #5c6775;
  --line: #e6e1d8;
  --line-strong: #d4cdc3;
  --paper: #f6f2eb;
  --white: #fff;
  --shadow: 0 18px 50px rgba(18, 24, 38, .12);
  --radius: 18px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --content-inset: 6px;
  --site-chrome-height: 122px;
  --sticky-offset: calc(var(--site-chrome-height) + 16px);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html.sng-restore-scroll { overflow: hidden; }
html.sng-restore-scroll body { visibility: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 650; line-height: 1.15; margin: 0 0 .4em; }
h1 { font-size: clamp(2.1rem, 4vw, 3.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
p { margin: 0 0 1rem; }

.wrap { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 8px;
}
.skip-link:focus { left: 8px; background: #fff; padding: 8px 12px; z-index: 20; }

.topbar {
  position: relative;
  z-index: 45;
  background: var(--navy);
  color: #d7dde6;
  font-size: .82rem;
}
.topbar__inner, .site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.topbar__inner { min-height: 38px; }
.topbar p {
  margin: 0;
  padding-left: var(--content-inset);
  line-height: 1.2;
}
.topbar__links { display: flex; gap: 18px; align-items: center; }
.topbar a { color: #fff; text-decoration: none; }
.topbar__cta { color: #ffd7a8 !important; font-weight: 600; }
.topbar__drop {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.topbar__drop > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.topbar__drop > button::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
}
.topbar__drop.is-open > button::after {
  margin-top: 2px;
  transform: rotate(-135deg);
}
.topbar__drop > div {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 60;
}
.topbar__drop.is-open > div { display: grid; }
.topbar__drop a {
  color: var(--ink) !important;
  padding: 10px 12px;
  border-radius: 10px;
  white-space: nowrap;
}
.topbar__drop a strong { font-weight: 650; }
.topbar__drop-hint { display: none; }
.topbar__drop a:hover,
.topbar__drop a:focus-visible { background: var(--paper); }

.site-header-wrap {
  position: relative;
  background: transparent;
  border-bottom: 0;
}
.site-chrome {
  position: sticky;
  top: 0;
  z-index: 30;
}
.site-header {
  position: static;
  z-index: auto;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { position: relative; min-height: 72px; padding-block: 6px; }
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 4px 12px 4px var(--content-inset);
  margin-right: 4px;
}
.brand__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 132px;
  height: 48px;
  flex: 0 0 auto;
  padding: 0;
}
.brand__logo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 124px;
  max-height: 44px;
  object-fit: contain;
  object-position: left center;
}
.brand__logo--footer {
  filter: brightness(0) invert(1);
}
.brand--light {
  display: inline-flex;
  padding: 10px 12px 10px 0;
  margin-bottom: 8px;
}
.brand--light .brand__logo-wrap {
  width: 108px;
  height: 40px;
  padding: 4px 8px;
}
.brand--extensia { padding-right: 8px; }
.brand--extensia .brand__logo-wrap {
  width: 156px;
  height: 48px;
}
.brand--extensia .brand__logo {
  max-width: 148px;
  max-height: 44px;
}
.brand--pro { padding-right: 8px; }
.brand--pro .brand__logo-wrap {
  width: 132px;
  height: 48px;
}
.brand--pro .brand__logo {
  max-width: 124px;
  max-height: 44px;
}

.nav { display: flex; gap: 8px; align-items: center; }
.nav > a, .nav__drop > button {
  text-decoration: none; padding: 10px 12px; border-radius: 999px; background: none; border: 0; cursor: pointer;
}
.nav > a.is-active, .nav > a:hover, .nav__drop > button:hover { background: var(--paper); }
.nav__favorites { display: inline-flex; align-items: center; gap: 4px; }
.nav__fav-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1;
}
.nav__fav-count[hidden] { display: none; }
.nav__drop { position: relative; }
.nav__drop > div {
  display: none; position: absolute; top: 100%; left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; box-shadow: var(--shadow);
}
.nav__drop:hover > div, .nav__drop:focus-within > div { display: grid; }
.nav__drop a { display: block; padding: 10px 12px; text-decoration: none; border-radius: 10px; }
.nav__drop a:hover { background: var(--paper); }
.nav-toggle { display: none; }
.header-cta { white-space: nowrap; }
body.nav-open { overflow: hidden; }
body.nav-open .site-chrome { z-index: 500; }
body.nav-open .topbar,
body.nav-open .site-header-wrap,
body.nav-open main,
body.nav-open .hero {
  pointer-events: none;
}
body.nav-open .nav-panel.is-open {
  pointer-events: auto;
}

.nav-panel {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-width: 0;
  pointer-events: none;
}
.nav-panel .nav { pointer-events: auto; }
.nav-panel__backdrop,
.nav-panel__close,
.nav-panel__footer { display: none; }
.nav-panel__sheet {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

body.nav-open .search-card,
body.nav-open .search-field,
body.nav-open .search-types__panel,
body.nav-open .search-suggest {
  z-index: 1 !important;
}
body.nav-open .topbar__drop.is-open > div { display: none; }

@keyframes nav-panel-in {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes nav-panel-out {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.9); }
}
@keyframes nav-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes nav-backdrop-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 20px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; font-weight: 700;
}
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--white { background: #fff; color: var(--navy); }
.btn--ghost { background: transparent; border: 1px solid var(--line); }

.hero { position: relative; color: #fff; min-height: 52vh; display: grid; align-items: end; padding: 32px 0 28px; }
.hero:has(.search-field--city.is-open),
.hero:has(.search-field--types.is-open) { z-index: 50; }
/* L'image est posée en style inline depuis data/photos.php. */
.hero__media {
  position: absolute; inset: 0;
  overflow: hidden;
  background: #22303f center/cover no-repeat;
}
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(18, 24, 38, .52);
}
.hero__content { position: relative; z-index: 1; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 700; color: var(--orange); margin: 0 0 8px;
}
.hero .eyebrow { color: #ffd7a8; }
.lede { font-size: 1.15rem; max-width: 46ch; color: inherit; opacity: .92; }

.search-card {
  margin-top: 16px;
  background: #fff;
  color: var(--ink);
  border-radius: 22px;
  padding: 10px 10px 12px;
  box-shadow: var(--shadow);
  overflow: visible;
}
.hero__search { display: grid; gap: 0; margin-top: 16px; }
.hero__search-form.is-hidden { display: none; }
.search-resume {
  background: #fff;
  color: var(--ink);
  border-radius: 22px;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
}
.search-resume[hidden] { display: none !important; }
.search-resume__title {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.25;
  color: var(--ink);
}
.search-resume__summary {
  margin: 0 0 14px;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--muted);
}
.search-resume__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.search-resume__actions .btn {
  min-height: 46px;
  flex: 1 1 180px;
}
.search-resume__actions .btn--red { flex: 1 1 160px; }
.search-card__tabs { display: flex; gap: 6px; padding: 2px 4px 6px; }
.search-card__head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding: 2px 4px 6px;
}
.search-card__head-row .search-card__tabs { padding: 0; flex: 1 1 auto; }
.search-card__advanced {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 12px;
  font-size: .82rem;
  gap: 6px;
}
.search-card__advanced-fields {
  display: none;
}
.search-card__tabs a {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .92rem;
}
.search-card__tabs a.is-active { background: var(--navy); color: #fff; }
.search-card__grid {
  display: grid;
  grid-template-columns: minmax(190px, 1.1fr) minmax(248px, 1.55fr) repeat(3, minmax(100px, 1fr)) auto;
  gap: 6px;
  padding: 4px;
  align-items: stretch;
  overflow: visible;
}
.search-field {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 0;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.search-field--types { padding: 0; background: transparent; border: 0; min-height: 0; z-index: 40; }
.search-field--types.is-open { z-index: 80; }
.search-field__body {
  display: grid;
  gap: 1px;
  flex: 1;
  min-width: 0;
  align-content: center;
}
.search-field__head {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.search-field__head .ico {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
.search-types__panel {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 80;
  width: 400px;
  max-width: min(400px, calc(100vw - 48px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.search-types__hint { margin: 0 0 10px; font-size: .82rem; color: var(--muted); line-height: 1.35; }
.search-types__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.search-types__grid--rooms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.type-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer; background: #fff; font-weight: 600; font-size: .88rem;
  min-width: 0;
}
.type-chip span { flex: 1; min-width: 0; line-height: 1.25; }
.search-field__trigger {
  width: 100%;
  display: flex;
  align-items: stretch;
  min-height: 0;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
  text-align: left;
}
.search-field__label {
  font-size: .66rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-field__value {
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
}
.search-field input, .search-field select {
  width: 100%;
  min-height: 22px;
  border: 0;
  padding: 0;
  background: transparent;
  font-weight: 600;
  font-size: .88rem;
  line-height: 1.35;
}
.search-field input:focus, .search-field select:focus { outline: none; }
.type-chip:has(input:checked) { border-color: var(--red); background: #fff5f6; color: var(--red); }
.type-chip input { width: 16px; height: 16px; accent-color: var(--red); flex: 0 0 16px; }
.search-field--city { z-index: 45; padding-right: 4px; }
.search-field--city.is-open { z-index: 70; }
.search-field--city .search-field__body { flex: 1; min-width: 0; }
.search-field__actions {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  align-self: center;
  margin-right: 1px;
}
.search-field__geo,
.search-field__perimeter {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color .15s, background .15s;
}
.search-field__perimeter.is-active {
  width: auto;
  min-width: 32px;
  padding: 0 7px;
}
.search-field__geo .ico,
.search-field__perimeter .ico { width: 17px; height: 17px; flex: 0 0 auto; }
.search-field__geo:hover,
.search-field__geo.is-active,
.search-field__perimeter:hover,
.search-field__perimeter.is-active { color: var(--red); background: #fff5f6; }
.search-field__geo.is-loading { opacity: .45; pointer-events: none; }
.search-field__perimeter span {
  font-size: .68rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.search-field__perimeter span[hidden] { display: none !important; }
.search-field--radius select {
  width: 100%;
  cursor: pointer;
}
.search-field__geo-status {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 84;
  margin: 0;
  padding: 10px 12px;
  font-size: .82rem;
  line-height: 1.4;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.search-field__geo-status.is-error { color: #b91c3c; border-color: #fecdd3; background: #fff5f6; }
.search-field__geo-status strong { display: block; margin-bottom: 6px; font-size: .86rem; }
.geo-status__steps {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 4px;
  font-size: .8rem;
  line-height: 1.4;
}
.listings__summary { display: grid; gap: 4px; }
.listings__summary p { margin: 0; }
.listings__geo { margin: 0; font-size: .88rem; color: var(--muted); }

.perimeter-dialog {
  width: min(980px, calc(100vw - 24px));
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(18, 24, 38, .22);
}
.perimeter-dialog::backdrop { background: rgba(18, 24, 38, .48); }
.perimeter-dialog__layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  min-height: min(72vh, 620px);
}
.perimeter-dialog__panel {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 22px 20px 20px;
  background: #fff;
  border-right: 1px solid var(--line);
}
.perimeter-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.perimeter-dialog__head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.2;
}
.perimeter-dialog__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.perimeter-dialog__close:hover { background: var(--paper); color: var(--ink); }
.perimeter-dialog__field { display: grid; gap: 8px; }
.perimeter-dialog__field--city { position: relative; z-index: 20; }
.perimeter-dialog__field--city.is-open { z-index: 30; }
.autocomplete--perimeter {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 40;
}
.perimeter-dialog__label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.perimeter-dialog__input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.perimeter-dialog__input-wrap .ico { width: 18px; height: 18px; color: var(--red); flex: 0 0 auto; }
.perimeter-dialog__input-wrap input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-weight: 600;
  font-size: .92rem;
}
.perimeter-dialog__input-wrap input:focus { outline: none; }
.perimeter-dialog__locate {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.perimeter-dialog__locate:hover { color: var(--red); background: #fff5f6; }
.perimeter-dialog__locate .ico { width: 18px; height: 18px; }
.perimeter-dialog__radius {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}
.perimeter-dialog__radius input[type="range"] {
  width: 100%;
  accent-color: var(--red);
}
.perimeter-dialog__radius input[type="number"] {
  width: 64px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
}
.perimeter-dialog__label-compact,
.perimeter-dialog__btn-label-compact { display: none; }
.perimeter-dialog__hint {
  margin: 0;
  font-size: .82rem;
  line-height: 1.45;
  color: var(--muted);
}
.perimeter-dialog__actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}
.perimeter-dialog__submit { justify-content: center; gap: 0.35em; }
.perimeter-dialog__map-wrap {
  position: relative;
  min-height: 320px;
  background: var(--paper);
}
.perimeter-dialog__map {
  position: absolute;
  inset: 0;
}
.perimeter-dialog__map .leaflet-container { font-family: var(--font); background: #dce6ef; }
.perimeter-dialog__map .leaflet-overlay-pane svg { z-index: 650; }
.perimeter-dialog__map .leaflet-marker-pane { z-index: 700; }

@media (max-width: 760px) {
  .perimeter-dialog {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
  }
  .perimeter-dialog__layout {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
  }
  .perimeter-dialog__map-wrap {
    order: -1;
    flex: 1 1 auto;
    min-height: 0;
    border-bottom: 1px solid var(--line);
  }
  .perimeter-dialog__panel {
    flex: 0 0 auto;
    gap: 10px;
    padding: 10px 12px 12px;
    border-right: 0;
    border-bottom: 0;
    max-height: min(46vh, 360px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .perimeter-dialog__head h2 {
    font-size: 1.08rem;
  }
  .perimeter-dialog__close {
    width: 32px;
    height: 32px;
    font-size: 1.35rem;
  }
  .perimeter-dialog__field { gap: 5px; }
  .perimeter-dialog__label {
    font-size: .68rem;
    letter-spacing: .03em;
  }
  .perimeter-dialog__label-full,
  .perimeter-dialog__btn-label-full { display: none; }
  .perimeter-dialog__label-compact,
  .perimeter-dialog__btn-label-compact { display: inline; }
  .perimeter-dialog__input-wrap {
    min-height: 40px;
    padding: 0 8px;
    border-radius: 10px;
  }
  .perimeter-dialog__input-wrap input { font-size: .88rem; }
  .perimeter-dialog__locate {
    width: 30px;
    height: 30px;
  }
  .perimeter-dialog__radius {
    gap: 8px;
  }
  .perimeter-dialog__radius input[type="number"] {
    width: 52px;
    min-height: 36px;
    padding: 6px 8px;
    font-size: .9rem;
  }
  .perimeter-dialog__hint {
    display: none;
  }
  .perimeter-dialog__actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 8px;
    padding-top: 2px;
  }
  .perimeter-dialog__actions .btn {
    min-height: 42px;
    padding: 0 12px;
    font-size: .86rem;
  }
  .perimeter-dialog__actions .btn--ghost {
    padding: 0 10px;
    font-size: .82rem;
  }
}

.advanced-dialog {
  width: min(720px, calc(100vw - 24px));
  max-width: none;
  max-height: min(92vh, 820px);
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(18, 24, 38, .22);
}
.advanced-dialog::backdrop { background: rgba(18, 24, 38, .48); }
.advanced-dialog__panel {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  max-height: min(92vh, 820px);
  background: #fff;
}
.advanced-dialog__grabber {
  display: none;
  width: 100%;
  padding: 10px 0 2px;
  border: 0;
  background: #fff;
  cursor: pointer;
}
.advanced-dialog__grabber-bar {
  display: block;
  width: 44px;
  height: 5px;
  margin: 0 auto;
  border-radius: 999px;
  background: #cfd6df;
}
.advanced-dialog__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 16px 18px 10px;
  border-bottom: 1px solid var(--line);
}
.advanced-dialog__close-text {
  display: none;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
}
.advanced-dialog__head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.2;
  text-align: center;
}
.advanced-dialog__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.advanced-dialog__close:hover { background: var(--paper); color: var(--ink); }
.advanced-dialog__body {
  overflow: auto;
  padding: 12px 18px 16px;
  display: grid;
  gap: 18px;
}
.advanced-dialog__label {
  margin: 0 0 8px;
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink);
}
.advanced-dialog__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.advanced-chip {
  display: inline-flex;
  cursor: pointer;
}
.advanced-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.advanced-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 600;
  font-size: .88rem;
  background: #fff;
}
.advanced-chip:has(input:checked) span {
  border-color: var(--red);
  background: #fff5f6;
  color: var(--red);
}
.advanced-dialog__equip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.advanced-equip {
  display: flex;
  cursor: pointer;
}
.advanced-equip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.advanced-equip span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 600;
  font-size: .82rem;
  text-align: center;
  background: #fff;
}
.advanced-equip:has(input:checked) span {
  border-color: var(--red);
  background: #fff5f6;
  color: var(--red);
}
.advanced-dialog__range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.advanced-dialog__range input {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 600;
}
.advanced-dialog__dpe {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.advanced-dpe {
  cursor: pointer;
}
.advanced-dpe input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.advanced-dpe span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid var(--line);
  font-weight: 800;
  font-size: .82rem;
  background: #fff;
}
.advanced-dpe--a span { border-color: #059669; color: #059669; }
.advanced-dpe--b span { border-color: #16a34a; color: #16a34a; }
.advanced-dpe--c span { border-color: #65a30d; color: #65a30d; }
.advanced-dpe--d span { border-color: #eab308; color: #ca8a04; }
.advanced-dpe--e span { border-color: #f97316; color: #ea580c; }
.advanced-dpe--f span { border-color: #ef4444; color: #dc2626; }
.advanced-dpe--g span { border-color: #991b1b; color: #991b1b; }
.advanced-dpe:has(input:checked) span {
  color: #fff;
  border-color: transparent;
}
.advanced-dpe--a:has(input:checked) span { background: #059669; }
.advanced-dpe--b:has(input:checked) span { background: #16a34a; }
.advanced-dpe--c:has(input:checked) span { background: #65a30d; }
.advanced-dpe--d:has(input:checked) span { background: #ca8a04; }
.advanced-dpe--e:has(input:checked) span { background: #ea580c; }
.advanced-dpe--f:has(input:checked) span { background: #dc2626; }
.advanced-dpe--g:has(input:checked) span { background: #991b1b; }
.advanced-dialog__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.advanced-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: .88rem;
}
.advanced-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--red);
}
.advanced-dialog__actions {
  display: grid;
  gap: 10px;
  padding: 12px 18px 16px;
  border-top: 1px solid var(--line);
  background: #fff;
  position: sticky;
  bottom: 0;
  z-index: 2;
  box-shadow: 0 -10px 28px rgba(18, 24, 38, .08);
}
.advanced-dialog__actions-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}
.advanced-dialog__cancel { display: none; }
.advanced-dialog__submit { justify-content: center; gap: 0.35em; width: 100%; }

@media (min-width: 681px) {
  .advanced-dialog__actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    align-items: center;
  }
  .advanced-dialog__actions-row {
    display: contents;
  }
  .advanced-dialog__submit {
    grid-column: 2;
    grid-row: 1;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 680px) {
  .advanced-dialog {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 16px 16px 0 0;
    align-self: end;
  }
  .advanced-dialog__panel {
    height: 100%;
    max-height: 100dvh;
  }
  .advanced-dialog__grabber {
    display: block;
  }
  .advanced-dialog__close-text {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .advanced-dialog__head {
    padding: 4px 14px 10px;
  }
  .advanced-dialog__head h2 {
    font-size: 1.05rem;
  }
  .advanced-dialog__body {
    padding: 10px 14px 12px;
  }
  .advanced-dialog__equip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .advanced-dialog__actions {
    gap: 8px;
    padding: 12px 14px max(32px, calc(18px + env(safe-area-inset-bottom, 0px)));
  }
  .advanced-dialog__actions-row {
    gap: 8px;
  }
  .advanced-dialog__cancel {
    display: inline-flex;
  }
  .advanced-dialog__submit {
    min-height: 52px;
    font-size: 1rem;
  }
  .search-card__head-row {
    flex-direction: column;
    align-items: stretch;
  }
  .search-card__advanced {
    width: 100%;
    justify-content: center;
  }
}

.autocomplete {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 80;
  list-style: none; margin: 0; padding: 6px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  max-height: 260px; overflow: auto;
  isolation: isolate;
}
.search-card:has(.search-field--city.is-open) {
  position: relative;
  z-index: 1;
}
.search-card:has(.search-field--types.is-open) {
  position: relative;
  z-index: 1;
}
.autocomplete li {
  padding: 10px 12px; border-radius: 8px; cursor: pointer; font-weight: 600;
}
.autocomplete li.is-active,
.autocomplete li:hover { background: var(--paper); color: var(--red); }
.autocomplete__empty {
  padding: 10px 12px; color: var(--muted); font-size: .88rem; font-weight: 500; cursor: default;
}
.search-card__submit {
  align-self: stretch;
  gap: 8px;
  min-height: 0;
  padding-top: 10px;
  padding-bottom: 10px;
}

.stats { background: var(--navy); color: #fff; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 20px;
  padding: 28px 0;
}
.stat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.stat__icon { flex: 0 0 auto; line-height: 0; padding-top: 4px; }
.stat__icon .ico { display: block; width: 24px; height: 24px; color: #ffd7a8; }
.stat__content { display: grid; gap: 4px; min-width: 0; }
.stat__value {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.1;
  font-weight: 650;
}
.stat__label {
  opacity: .85;
  font-size: .92rem;
  line-height: 1.35;
}
.form label { display: grid; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea {
  width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 12px;
  padding: 0 12px; background: #fff; color: var(--ink);
}
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible {
  outline: none;
  border-color: #9aa3ad;
  box-shadow: 0 0 0 3px rgba(18, 24, 38, .07);
}
.form input::placeholder, .form textarea::placeholder { color: #7a8490; }
.form textarea { padding: 12px; resize: vertical; }
.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 28px 28px;
  box-shadow: 0 10px 28px rgba(18, 24, 38, .07);
}
.form-panel .section-title { margin-bottom: 20px; }

.ico { width: 22px; height: 22px; flex: 0 0 22px; color: var(--red); }
.ico--inline { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; margin-right: 4px; }
.btn .ico, .search-card__tabs .ico { color: currentColor; }
.service span { display: flex; align-items: center; gap: 8px; opacity: .85; font-weight: 700; margin-bottom: 28px; }
.service span .ico { color: #fff; width: 20px; height: 20px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px;
}
.feature-card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px;
}
.feature-card__icon .ico { width: 26px; height: 26px; color: #fff; }
.feature-card--red .feature-card__icon { background: var(--red); }
.feature-card--orange .feature-card__icon { background: var(--orange); }
.feature-card--blue .feature-card__icon { background: var(--blue); }
.feature-card--slate .feature-card__icon { background: var(--slate); }
.feature-card h3 { font-family: var(--font); font-size: 1.05rem; margin-bottom: 8px; }
.portal-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  text-decoration: none;
}
.portal-card:hover,
.portal-card:focus-visible {
  border-color: var(--red);
  box-shadow: var(--shadow);
}
.portal-card h2 {
  font-family: var(--font);
  font-size: 1.15rem;
  margin: 0 0 8px;
}
.portal-card p {
  flex: 1;
  margin: 0;
  color: var(--muted);
}
.portal-card__cta {
  margin-top: 18px;
  font-weight: 700;
  color: var(--red);
}
.page-hero--client { padding-bottom: 48px; }
.page-hero--client .eyebrow { color: var(--red); }
.page-hero--client .feature-grid { margin-top: 28px; }
.portal-help { margin: 24px 0 0; color: var(--muted); }

.service-intro .story-block__content { max-width: 70ch; margin-bottom: 28px; }
.story-block h2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.story-block h2 .ico { color: var(--red); flex: 0 0 24px; }
.prose-block { max-width: 760px; }
.prose-block h2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.prose-block h2 .ico { color: var(--red); }
.prose-block__lead { max-width: 68ch; margin: 0 0 24px; font-size: 1.05rem; }
.highlight-panel {
  background: var(--navy); color: #fff; border-radius: 22px; padding: 28px;
  display: grid; gap: 18px; align-content: start;
}
.highlight-panel--syndic { background: var(--navy); }
.highlight-panel--pro { background: var(--blue); }
.highlight-panel--vacances { background: var(--blue); }
.highlight-panel h3 { font-family: var(--font); font-size: 1.1rem; margin: 0 0 8px; color: #fff; }
.highlight-panel__stat { margin: 0; }
.highlight-panel__stat strong {
  display: block; font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1;
}
.highlight-panel__stat span { display: block; color: #d7dde6; margin-top: 4px; }
.highlight-panel__note { margin: 0; color: #ffd7a8; font-weight: 600; }
.highlight-panel .ticks--icons li { color: #fff; }
.highlight-panel .ico--inline { color: #ffd7a8; }
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partner-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px;
  border-top: 4px solid var(--line);
}
.partner-card__name {
  display: block; font-family: var(--display); font-size: 1.35rem; margin-bottom: 10px;
}
.partner-card--seloger { border-top-color: #c62828; }
.partner-card--seloger .partner-card__name { color: #c62828; }
.partner-card--leboncoin { border-top-color: #f56b2a; }
.partner-card--leboncoin .partner-card__name { color: #f56b2a; }
.partner-card--topannonces { border-top-color: var(--blue); }
.partner-card--topannonces .partner-card__name { color: var(--blue); }
.service-contact__lead { max-width: 42ch; }
.service-contact__lead h2 { font-family: var(--display); font-size: clamp(1.5rem, 2.5vw, 2rem); }
.service-contact__phone { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-weight: 600; }
.service-contact__phone span { color: var(--muted); font-weight: 500; }
.info-card h3 { font-family: var(--font); font-size: 1rem; margin: 0 0 4px; }

.page-hero--illustrated {
  background: var(--paper);
  padding: 40px 0 28px;
  border-bottom: 1px solid var(--line);
}

.page-hero--illustrated .eyebrow { color: var(--hero-accent, var(--red)); }
.page-hero--gestion { --hero-accent: var(--red); }
.page-hero--syndic { --hero-accent: var(--orange); }
.page-service--syndic .page-hero__media {
  background: linear-gradient(145deg, #ebe4d8, #d8cfc0);
  box-shadow: 0 16px 36px rgba(18, 24, 38, .1);
}
.page-service--syndic .page-hero__media img {
  filter: saturate(1.14) contrast(1.06) brightness(1.03);
  object-position: center 42%;
}
.page-service--syndic .media-figure img {
  filter: saturate(1.12) contrast(1.05) brightness(1.02);
}
.page-hero--vacances { --hero-accent: var(--blue); }
.page-hero--pro { --hero-accent: var(--blue); }
.page-hero--contact { --hero-accent: var(--red); }
.page-hero--estimation { --hero-accent: var(--orange); }
.page-hero--vendre { --hero-accent: var(--orange); }
.page-hero--financement { --hero-accent: var(--blue); }
.page-hero--patrimoine { --hero-accent: var(--slate); }
.page-hero--client { --hero-accent: var(--red); }
.page-hero--honoraires { --hero-accent: var(--slate); }

/* Hero de page avec photo : texte à gauche, photo à droite.
   Pas de voile ni de dégradé, la photo reste lisible telle quelle. */
.page-hero--photo .page-hero__inner > :first-child {
  padding-left: var(--content-inset);
}
.page-hero--photo .page-hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.page-hero--photo .lede {
  max-width: none;
  text-wrap: balance;
}
.page-hero--photo .page-hero__media {
  border-radius: 22px; overflow: hidden; background: #d9d3c8;
}
.page-hero--photo .page-hero__media img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
}

/* Photos éditoriales : cadrages réguliers, arrondi commun aux cartes,
   légende courte en capitales espacées. */
.media-figure { margin: 0; display: grid; gap: 10px; align-content: start; }
.media-figure img {
  display: block; width: 100%; object-fit: cover;
  border-radius: var(--radius); background: #d9d3c8;
}
.media-figure--portrait img { aspect-ratio: 4 / 5; }
.media-figure--wide img { aspect-ratio: 3 / 2; }
.media-figure figcaption {
  font-size: .72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted);
}
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.section-title { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-family: var(--font); }
.section-title .ico { color: var(--red); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.hero-badges span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.hero-actions .btn { gap: 8px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin: 8px 0 12px;
  font-weight: 700;
  text-decoration: none;
  color: var(--red);
  white-space: nowrap;
}
.back-link .ico { width: 18px; height: 18px; flex-shrink: 0; }
.info-cards { display: grid; gap: 12px; margin-bottom: 16px; }
.info-card {
  display: flex; gap: 14px; align-items: start;
  padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff;
}
.info-card h2 { font-family: var(--font); font-size: 1rem; margin-bottom: 4px; }
.info-card .ico { margin-top: 2px; }
.ticks--icons { list-style: none; padding: 0; }
.ticks--icons li { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.prose-ticks .ico { color: var(--red); flex: 0 0 20px; }
.extensia-hub { padding-top: 24px; }
.services--compact { grid-template-columns: repeat(4, 1fr); }
.service--current {
  border-top-color: var(--orange);
  box-shadow: var(--shadow);
  pointer-events: none;
}
.service--current h3 { color: var(--orange); }
.sticky-card h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-family: var(--font); font-size: 1.15rem; }
.sticky-card h2 .ico { width: 20px; height: 20px; }

.agency-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 14px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; background: #fff;
}
.agency-item:hover { border-color: var(--red); box-shadow: var(--shadow); }
.agency-item__icon {
  width: 42px; height: 42px; border-radius: 12px; background: #fff5f6;
  display: grid; place-items: center;
}
.agency-item__body { display: grid; gap: 2px; }
.agency-item__body span { color: var(--muted); font-size: .9rem; }
.agency-item__arrow { color: var(--red); font-weight: 700; }

.section { padding: 72px 0; }
.page-home .section--listings { padding: 40px 0 56px; }
.page-home .hero h1 { font-size: clamp(1.95rem, 3.4vw, 3rem); }
.page-home .hero .lede { font-size: 1.05rem; max-width: 42ch; }
.page-home .stats__grid { padding: 22px 0; }
.section--alt { background: var(--paper); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.center-title { text-align: center; margin-bottom: 28px; }
.link-more { font-weight: 700; color: var(--red); text-decoration: none; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.cards--4 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.cards--stack { grid-template-columns: 1fr; max-height: 720px; overflow: auto; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; min-height: 100%;
}
.card__media { position: relative; aspect-ratio: 4/3; background: #d9d3c8; display: block; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--slider { overflow: hidden; }
.card__slides {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.card__slides::-webkit-scrollbar { display: none; }
.card__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.card__slide img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.card__photo-status {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(18, 24, 38, .72);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  pointer-events: none;
}
.card__media--slider .badge,
.card__media--slider .fav { z-index: 3; }
.card__nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--navy);
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 2px 10px rgba(18, 24, 38, .16);
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity .15s ease, background .15s ease, color .15s ease;
}
.card__nav--prev { left: 10px; }
.card__nav--next { right: 10px; }
.card__nav .nav-chevron { width: 18px; height: 18px; }
.card__nav:hover,
.card__nav:focus-visible { background: #fff; color: var(--red); }
.card__nav[hidden] { display: none !important; }
@media (hover: hover) and (pointer: fine) {
  .card__nav:not([hidden]) { display: inline-flex; }
  .card__media--slider:not(:hover):not(:focus-within) .card__nav {
    opacity: 0;
    pointer-events: none;
  }
  .card__media--slider:hover .card__nav:not([hidden]),
  .card__media--slider:focus-within .card__nav:not([hidden]) {
    opacity: 1;
    pointer-events: auto;
  }
}
.card__placeholder { display: grid; place-items: center; height: 100%; color: var(--muted); }
.card--removed {
  filter: grayscale(1);
  opacity: .88;
}
.card--removed .card__body h3,
.card--removed .card__city { color: var(--muted); }
.card__media--removed {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #ece8e2, #d8d4cc);
  display: grid;
  place-items: center;
  min-height: 180px;
}
.card__removed-copy {
  text-align: center;
  padding: 16px;
}
.card__removed-label {
  margin: 0;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 650;
  color: #6b7280;
}
.card__removed-ref {
  margin: 6px 0 0;
  font-size: .82rem;
  color: #9ca3af;
}
.card__price--muted { color: var(--muted); font-weight: 600; }
.badge {
  position: absolute; top: 12px; left: 12px;
  background: #fff; color: var(--navy); font-size: .72rem; font-weight: 700;
  padding: 5px 9px; border-radius: 999px;
}
.badge--dark { left: auto; right: 48px; background: var(--navy); color: #fff; }
.fav {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: #fff; cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(18, 24, 38, .12);
  transition: color .15s ease, transform .15s ease;
}
.fav__icon {
  display: block;
  width: 18px;
  height: 18px;
  transform: translateY(-1px);
  flex: 0 0 auto;
}
.fav__icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
  transition: fill .15s ease, stroke .15s ease;
}
.fav:hover { transform: scale(1.05); }
.fav.is-on { color: var(--red); }
.fav.is-on .fav__icon path {
  fill: currentColor;
  stroke: none;
}

.nav-chevron {
  display: block;
  flex: 0 0 auto;
}

.favorites__grid { min-height: 120px; }
.favorites__empty { margin: 0 0 16px; }
.favorites__notice {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff4d6;
  color: var(--ink);
  font-size: .92rem;
}
.favorites__personal-link {
  margin: 0 0 16px;
  font-size: .92rem;
  font-weight: 600;
}
.favorites__personal-link a { text-decoration: none; color: var(--red); }
.favorites__personal-link a:hover { text-decoration: underline; }
.favorites__loading {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}
.favorites__hint {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: .85rem;
  max-width: 52ch;
}
.favorites__share {
  margin: 0 0 20px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.favorites__share-lead {
  margin: 0 0 10px;
  font-size: .92rem;
  color: var(--ink);
}
.favorites__share-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
}
.favorites__share-input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: .85rem;
  color: var(--muted);
  background: #f8f9fb;
}
.favorites__share-copy { flex: 0 0 auto; white-space: nowrap; }
.favorites__share-email { flex: 0 0 auto; white-space: nowrap; }
.favorites__share-done {
  margin: 10px 0 0;
  font-size: .85rem;
  font-weight: 600;
  color: #1a7f37;
}
.share-dialog {
  width: min(520px, calc(100vw - 24px));
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.share-dialog::backdrop { background: rgba(18, 24, 38, .42); }
.share-dialog__form { display: grid; gap: 16px; padding: 22px; margin: 0; }
.share-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.share-dialog__head h2 {
  margin: 0;
  font-family: var(--font);
  font-size: 1.15rem;
}
.share-dialog__close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f1f3f6;
  color: var(--navy);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.share-dialog__preview {
  margin: 0;
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.45;
}
.share-dialog__link-label {
  display: grid;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
}
.share-dialog__link-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  flex-wrap: wrap;
}
.share-dialog__link-input {
  flex: 1 1 180px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-size: .85rem;
  color: var(--muted);
  background: var(--paper);
}
.share-dialog__done {
  margin: -8px 0 0;
  font-size: .88rem;
  color: var(--muted);
}
.share-dialog__channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.share-dialog__channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 88px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
}
.share-dialog__channel .ico { width: 22px; height: 22px; color: var(--red); }
.share-dialog__channel:hover,
.share-dialog__channel:focus-visible {
  border-color: var(--red);
  box-shadow: var(--shadow);
}
.share-dialog__channel[data-share-native][hidden] { display: none; }
.favorites-email-dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(18, 24, 38, .22);
}
.favorites-email-dialog::backdrop { background: rgba(18, 24, 38, .45); }
.favorites-email-form { padding: 22px 22px 20px; }
.favorites-email-form label:not(.check) { margin-bottom: 14px; }
.favorites-email-form label.check { margin-top: 4px; margin-bottom: 14px; }
.favorites-email-dialog__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.favorites-email-dialog__head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
}
.favorites-email-dialog__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f1f3f6;
  color: var(--navy);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.favorites-email-dialog__lede {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}
.favorites-email-dialog__search {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8f9fb;
  color: var(--ink);
  font-size: .85rem;
  line-height: 1.45;
}
.favorites-email-dialog__feedback {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: .88rem;
}
.favorites-email-dialog__feedback.is-ok {
  background: #e8f5ec;
  color: #1a7f37;
}
.favorites-email-dialog__feedback.is-error {
  background: #fff4d6;
  color: var(--ink);
}
.favorites-email-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.card__body { padding: 14px 16px 18px; }
.card__price { color: var(--red); font-weight: 800; font-size: 1.05rem; margin: 0 0 4px; }
.card h3 { font-family: var(--font); font-size: 1rem; margin: 0 0 4px; }
.card h3 a { text-decoration: none; }
.card__city { color: var(--muted); font-size: .9rem; margin: 0 0 10px; }
.specs { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.specs li { background: var(--paper); padding: 4px 8px; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.specs--lg { margin: 16px 0 24px; }
.specs--lg li { padding: 8px 12px; }

.publisher-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, .08);
  font-size: .82rem;
  line-height: 1.3;
  min-width: 0;
}
.publisher-badge--sticky {
  margin-top: 0;
  padding: 10px 0 12px;
  border: 0;
  gap: 12px;
  font-size: .95rem;
}
.publisher-badge--sticky .publisher-badge__logo {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
  border-radius: 8px;
}
.publisher-badge--sticky .publisher-badge__logo--placeholder {
  font-size: 1.25rem;
}
.publisher-badge--sticky .publisher-badge__name {
  font-size: 1.05rem;
  font-weight: 800;
}
.publisher-badge__logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex: 0 0 32px;
  border-radius: 6px;
  background: #fff;
}
.publisher-badge__logo--placeholder {
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  color: var(--navy);
  background: var(--paper);
}
.publisher-badge__name {
  flex: 1 1 auto;
  font-weight: 700;
  color: var(--ink);
  min-width: 0;
}
.publisher-badge__phone {
  flex: 0 0 auto;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  white-space: nowrap;
}
.publisher-badge__phone:hover,
.publisher-badge__phone:focus-visible { text-decoration: underline; }
@media (max-width: 520px) {
  .publisher-badge { flex-wrap: wrap; }
  .publisher-badge__phone { width: 100%; padding-left: 40px; }
}

.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.services--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 75%;
  margin-inline: auto;
}
.services--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 50%;
  margin-inline: auto;
}
.service {
  display: block; text-decoration: none; padding: 22px; border-radius: 22px; min-height: 230px; color: #fff;
  background: var(--navy);
}
.service span { display: block; opacity: .6; font-weight: 700; margin-bottom: 40px; }
.service--red { background: var(--red); }
.service--orange { background: var(--orange); }
.service--blue { background: var(--blue); }
.service--slate { background: var(--slate); }

.cta-band { background: var(--red); color: #fff; }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 48px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.city-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.city-chips a {
  display: block; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: #fff;
}

.page-hero { padding: 48px 0 12px; background: var(--paper); }
.page-hero:has(.search-field--city.is-open),
.page-hero:has(.search-field--types.is-open) {
  position: relative;
  z-index: 50;
}
.page-hero--compact { background: #fff; padding: 24px 0 0; }
.page-favorites .page-hero--compact { padding: 20px 0 4px; }
.page-favorites .section.favorites { padding-top: 12px; padding-bottom: 56px; }
.page-listings .section.listings { padding-top: 16px; padding-bottom: 72px; }
.page-listings .page-hero--compact .search-card { margin-top: 12px; margin-bottom: 0; }
.page-listings .page-hero--listings-search.is-search-collapsed {
  padding: 12px 0 0;
}
.page-listings .page-hero--listings-search.is-search-collapsed .page-hero__intro {
  display: none;
}
.page-listings .page-hero--listings-search.is-search-expanded {
  padding: 16px 0 0;
}
.page-listings .page-hero--listings-search.is-search-expanded .page-hero__intro {
  margin-bottom: 4px;
}
.page-listings .page-hero--listings-search.is-search-collapsed + .section.listings {
  padding-top: 12px;
}
.page-listings .page-hero--listings-search.is-search-collapsed + .section.listings .listings__geo {
  display: none;
}
.search-wrap { display: grid; gap: 8px; }
.search-wrap__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}
.search-wrap__summary {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}
.search-wrap__mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--navy);
}
.search-wrap__mode .ico { width: 14px; height: 14px; }
.search-wrap__criteria {
  margin: 0;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-wrap__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.search-wrap__new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  font-size: .84rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
.search-wrap__toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  font-size: .84rem;
  white-space: nowrap;
}
.search-wrap__toggle .ico { width: 16px; height: 16px; }
.search-wrap__alert {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  color: var(--red);
}
.search-wrap__alert .ico { width: 18px; height: 18px; }
.search-wrap__alert:hover,
.search-wrap__alert:focus-visible {
  background: #fff5f6;
  color: var(--red);
}
.search-wrap__alert-label { font-size: .84rem; font-weight: 600; }
@media (max-width: 680px) {
  .search-wrap__alert-label { display: none; }
  .search-wrap__alert { padding: 0 10px; }
}
.search-wrap__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  margin-left: 2px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
}
.search-wrap.is-collapsed .search-wrap__form { display: none; }
.search-wrap.is-expanded .search-wrap__bar { display: none; }
.search-wrap__collapse {
  display: block;
  width: 100%;
  margin: 0;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.search-wrap__collapse:hover { color: var(--ink); }
.listings__toolbar, .listings__actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }

.search-alert-dialog {
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: auto;
}
.search-alert-dialog::backdrop { background: rgba(18, 24, 38, .45); }
.search-alert-dialog__form {
  display: grid;
  gap: 14px;
  padding: 22px;
  margin: 0;
}
.search-alert-dialog__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
}
.search-alert-dialog__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(224, 20, 42, .08);
  color: var(--red);
}
.search-alert-dialog__icon .ico { width: 20px; height: 20px; }
.search-alert-dialog__title {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 1.15rem;
}
.search-alert-dialog__lede {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}
.search-alert-dialog__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.search-alert-dialog__close:hover { background: var(--paper); color: var(--ink); }
.search-alert-dialog__summary {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: .92rem;
  line-height: 1.45;
}
.search-alert-dialog__summary-label {
  display: block;
  margin-bottom: 4px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.search-alert-dialog__field {
  display: grid;
  gap: 6px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
}
.search-alert-dialog__field input {
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.search-alert-dialog__consent span strong { font-weight: 650; }
.search-alert-dialog__feedback {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: .88rem;
}
.search-alert-dialog__feedback.is-ok { background: #e8f6ec; color: #17633a; }
.search-alert-dialog__feedback.is-error { background: #fff4d6; color: #7a4d00; }
.search-alert-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.search-alert-dialog__actions .btn--red { min-height: 46px; }

@media (max-width: 680px) {
  .page-listings .page-hero--listings-search.is-search-collapsed {
    padding: 16px 0 0;
  }
  .page-listings .page-hero--listings-search.is-search-collapsed + .section.listings {
    padding-top: 16px;
  }
  .page-listings .listings__toolbar {
    gap: 8px;
    margin-bottom: 8px;
  }
  .page-listings .listings__actions {
    gap: 10px;
  }
}
.view-toggle { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.view-toggle a { padding: 8px 14px; text-decoration: none; font-weight: 600; font-size: .88rem; color: var(--ink); }
.view-toggle a.is-active { background: var(--navy); color: #fff; }
.listings-sort-form { margin: 0; }
.listings-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
.listings-sort__label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--muted);
}
.listings-sort__control { position: relative; }
.listings-sort__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.listings-sort__value {
  display: grid;
  min-width: 0;
}
.listings-sort__measure,
.listings-sort__value [data-sort-summary] {
  grid-area: 1 / 1;
  white-space: nowrap;
}
.listings-sort__measure {
  visibility: hidden;
  pointer-events: none;
}
.listings-sort__toggle:hover,
.listings-sort__toggle:focus-visible {
  border-color: #c8c0b4;
  outline: none;
}
.listings-sort.is-open .listings-sort__toggle {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(18, 24, 38, .08);
}
.listings-sort__chevron {
  width: 16px;
  height: 16px;
  color: var(--muted);
  transform: rotate(180deg);
  transition: transform .15s ease;
}
.listings-sort.is-open .listings-sort__chevron { transform: rotate(0deg); }
.listings-sort__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 40;
  min-width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 10px 28px rgba(18, 24, 38, .08);
}
.listings-sort__option {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  font: inherit;
  font-weight: 600;
  font-size: .88rem;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
}
.listings-sort__option:hover,
.listings-sort__option:focus-visible {
  background: var(--paper);
  color: var(--red);
  outline: none;
}
.listings-sort__option.is-active {
  background: var(--navy);
  color: #fff;
}
.listings-sort__option.is-active:hover,
.listings-sort__option.is-active:focus-visible {
  background: var(--navy);
  color: #fff;
}
.listings__map { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; }
.listings__map--full { grid-template-columns: 1fr; }
.map {
  min-height: 520px; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); background: var(--paper);
}
.map--listings { min-height: min(68vh, 640px); }
.map--detail { min-height: 320px; margin-top: 12px; }

@media (max-width: 680px) {
  .page-listings--map .section.listings {
    padding-bottom: 20px;
  }
  .page-listings--map .listings__map--full {
    min-height: 0;
  }
  .page-listings--map .map--listings {
    min-height: calc(100dvh - 280px);
    height: calc(100dvh - 280px);
  }
  .page-listings--map .map--listings .leaflet-container {
    height: 100%;
    min-height: 100%;
  }
}
.map .leaflet-container { font-family: var(--font); background: var(--paper); }
.map .leaflet-tile-pane { filter: saturate(.9) contrast(.98); }
.map .leaflet-control-zoom {
  margin: 12px !important; border: 0; border-radius: 12px; overflow: hidden;
  box-shadow: 0 6px 20px rgba(18, 24, 38, .12);
}
.map .leaflet-control-zoom a {
  width: 36px; height: 36px; line-height: 36px; border: 0;
  background: #fff; color: var(--navy); font-size: 18px;
}
.map .leaflet-control-zoom a + a { border-top: 1px solid var(--line) !important; }
.map .leaflet-control-zoom a:hover { background: var(--paper); color: var(--red); }
.map .leaflet-control-attribution {
  margin: 0 !important; padding: 3px 8px; border-radius: 10px 0 0 0;
  background: rgba(255, 255, 255, .88); color: var(--muted); font-size: 10px;
}
.map .leaflet-control-attribution a { color: var(--muted); }

.sng-marker { background: none; border: 0; }
.sng-marker__dot {
  display: block; width: 18px; height: 18px; border-radius: 50%;
  background: var(--red); border: 3px solid #fff;
  box-shadow: 0 3px 12px rgba(18, 24, 38, .28);
  transition: transform .15s ease;
}
.sng-marker:hover .sng-marker__dot { transform: scale(1.12); }

.sng-cluster-wrap { background: none; border: 0; }
.sng-cluster {
  display: grid; place-items: center; width: 100%; height: 100%;
  border-radius: 50%; background: var(--red); color: #fff;
  font-weight: 700; font-size: .82rem; border: 3px solid #fff;
  box-shadow: 0 4px 16px rgba(18, 24, 38, .22);
}
.sng-cluster--md { font-size: .88rem; }
.sng-cluster--lg { font-size: .95rem; }

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large { background: transparent !important; }
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div { background: transparent !important; }

.leaflet-popup.sng-popup .leaflet-popup-content-wrapper {
  border-radius: 14px; box-shadow: var(--shadow); padding: 0;
}
.leaflet-popup.sng-popup .leaflet-popup-content { margin: 14px 16px; line-height: 1.45; }
.leaflet-popup.sng-popup--rich .leaflet-popup-content { margin: 0; }
.leaflet-popup.sng-popup .leaflet-popup-tip { background: #fff; box-shadow: none; }
.leaflet-popup.sng-popup--rich .leaflet-popup-close-button { display: none; }
.map-popup--rich {
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.map-popup--rich:hover .map-popup__title { color: var(--red); }
.map-popup__photo {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: #d9d3c8;
}
.map-popup__photo--empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 600;
}
.map-popup__body { display: block; padding: 12px 14px 14px; }
.map-popup__badge {
  display: inline-block;
  margin: 0 0 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--paper);
  font-size: .68rem;
  font-weight: 700;
  color: var(--navy);
}
.map-popup__title {
  display: block; margin: 0 0 4px; font-family: var(--display); font-size: 1rem; line-height: 1.25;
}
.map-popup__price { margin: 0 0 6px; color: var(--red); font-weight: 700; }
.map-popup__city { margin: 0 0 8px; color: var(--muted); font-size: .88rem; }
.map-popup__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}
.map-popup__specs li {
  background: var(--paper);
  padding: 3px 8px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
}
.map-popup__cta {
  display: inline-block;
  color: var(--navy);
  font-weight: 700;
  font-size: .88rem;
}
.map-popup__link { color: var(--navy); font-weight: 600; text-decoration: none; }
.map-popup__link:hover { color: var(--red); }
.listings__pager { margin-top: 28px; }
.pagination {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 8px 12px;
}
.pagination__pages { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; list-style: none; }
.pagination__page, .pagination__step, .pagination__gap {
  min-width: 44px; min-height: 44px; flex: 0 0 auto;
  text-decoration: none; border-radius: 12px; font-weight: 600;
}
.pagination__page, .pagination__gap { display: inline-grid; place-items: center; }
.pagination__page, .pagination__step { border: 1px solid var(--line); background: #fff; }
.pagination__step {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 0 16px; white-space: nowrap;
}
.pagination__page:hover, .pagination__step:hover { border-color: var(--red); color: var(--red); }
.pagination__page.is-active {
  background: var(--red); border-color: var(--red); color: #fff; cursor: default;
}
.pagination__step.is-disabled { color: var(--muted); opacity: .5; border-style: dashed; }
.pagination__step.is-disabled:hover { border-color: var(--line); color: var(--muted); }
.pagination__gap { border: 0; color: var(--muted); min-width: 20px; }
.pagination__status {
  flex-basis: 100%; text-align: center; margin: 4px 0 0;
  font-size: .85rem; color: var(--muted);
}

/* Mobile : « Voir plus » remplace les numéros, le bouton reste un lien
   vers la page suivante si le JS ne prend pas la main. */
.load-more { display: none; justify-items: center; gap: 12px; text-align: center; }
.load-more__status { margin: 0; font-size: .88rem; color: var(--muted); }
.load-more__btn { min-width: 240px; justify-content: center; }
.load-more__btn.is-loading { opacity: .6; pointer-events: none; }

.gallery { display: grid; gap: 10px; margin: 18px 0 28px; }
.gallery__main {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #d9d3c8;
  min-height: 0;
  aspect-ratio: 4 / 3;
  position: relative;
}
.gallery__zoom {
  display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative;
}
.gallery__nav {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, .9); color: var(--navy);
  cursor: pointer; box-shadow: 0 6px 20px rgba(18, 24, 38, .16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.gallery__nav .nav-chevron { width: 22px; height: 22px; }
.gallery__nav:hover,
.gallery__nav:focus-visible { background: #fff; }
.gallery__nav:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.gallery__nav--prev { left: 14px; }
.gallery__nav--next { right: 14px; }
.gallery__status {
  position: absolute; right: 14px; bottom: 14px; z-index: 3; margin: 0;
  padding: 6px 12px; border-radius: 999px; background: rgba(18, 24, 38, .72); color: #fff;
  font-size: .82rem; font-weight: 600; pointer-events: none;
}
.gallery__zoom::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18, 24, 38, .28), transparent 40%);
  opacity: 0; transition: opacity .2s ease;
  pointer-events: none;
}
.gallery__zoom:hover::after,
.gallery__zoom:focus-visible::after { opacity: 1; }
.gallery__zoom:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__thumbs {
  display: flex;
  gap: 8px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 4px;
}
.gallery__thumbs button {
  flex: 0 0 auto;
  border: 2px solid transparent;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  width: 108px;
  height: 81px;
  cursor: pointer;
  background: none;
  scroll-snap-align: start;
}
.gallery__thumbs .is-active { border-color: var(--red); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

.page-property .property {
  padding-inline: var(--content-inset);
  padding-bottom: 64px;
}
.page-property .back-link {
  margin: 0;
  min-height: 56px;
  padding-block: 0;
  align-items: center;
  font-size: 0.96rem;
  gap: 8px;
}
.page-property .back-link .ico {
  width: 18px;
  height: 18px;
}

@media (max-width: 680px) {
  .page-property .back-link {
    font-size: clamp(0.94rem, 4vw, 1.05rem);
  }
}
.page-property .crumbs { margin-top: 0; }
.page-property .property h2 {
  margin-top: 1.75rem;
  margin-bottom: .65rem;
}
.page-property .sticky-card h2 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}
.page-property .sticky-card {
  padding-top: 14px;
}
.page-property .sticky-card--no-form {
  padding-top: 18px;
}
.page-property .sticky-card--no-form .sticky-card__call {
  margin-bottom: 0;
}
.page-property .section--related { padding-top: 48px; padding-bottom: 72px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "bar"
    "stage"
    "thumbs";
  background: #fff;
  color: var(--ink);
  --lightbox-bar: 65px;
  --lightbox-thumbs: 100px;
  --lightbox-pad: 32px;
}
.lightbox[hidden] { display: none; }
.lightbox__bar {
  grid-area: bar;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.lightbox__back {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  flex: 0 0 auto;
}
.lightbox__back .nav-chevron { width: 20px; height: 20px; }
.lightbox__counter {
  margin: 0;
  flex: 1 1 auto;
  text-align: center;
  font-size: .95rem;
  font-weight: 600;
}
.lightbox__actions {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}
.lightbox__share,
.lightbox__fav,
.lightbox__close--desktop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  flex: 0 0 auto;
}
.lightbox__share .ico { width: 20px; height: 20px; }
.lightbox__fav { position: static; box-shadow: none; background: transparent; }
.lightbox__close--desktop {
  font-size: 1.6rem;
  line-height: 1;
}
.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lightbox__prev .nav-chevron,
.lightbox__next .nav-chevron { width: 22px; height: 22px; }
.lightbox__prev { left: -58px; }
.lightbox__next { right: -58px; }
.lightbox__prev[hidden],
.lightbox__next[hidden] { display: none; }
.lightbox__figure {
  grid-area: stage;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  min-width: 0;
  height: 100%;
  padding: 16px 72px;
  max-width: none;
  overflow: hidden;
}
.lightbox__stage {
  position: relative;
  flex: 0 0 auto;
  width: fit-content;
  max-width: 100%;
  max-height: 100%;
  line-height: 0;
}
.lightbox__img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, calc(100vw - 144px));
  max-height: calc(100vh - var(--lightbox-bar) - var(--lightbox-thumbs) - var(--lightbox-pad));
  object-fit: contain;
  border-radius: 8px;
  background: var(--paper);
}
.lightbox__status--desktop { display: none; }
.lightbox__thumbs {
  grid-area: thumbs;
  display: flex;
  gap: 10px;
  justify-content: center;
  overflow-x: auto;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: #fff;
  scroll-snap-type: x mandatory;
}
.lightbox__thumbs[hidden] { display: none; }
.lightbox__thumb {
  flex: 0 0 auto;
  width: 96px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: none;
  cursor: pointer;
  scroll-snap-align: center;
}
.lightbox__thumb.is-active { border-color: var(--red); }
.lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.property__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
  grid-template-areas:
    "gallery aside"
    "main aside";
  gap: 24px 32px;
  align-items: start;
}
.property__grid > .gallery { grid-area: gallery; margin: 0; }
.property__main { grid-area: main; min-width: 0; }
.property__grid > .sticky-card {
  grid-area: aside;
  align-self: start;
  height: auto;
}
.property__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: .2rem;
}
.property__title-row h1 {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}
.property__actions {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex: 0 0 auto;
}
.property__fav-btn,
.property__share {
  flex: 0 0 auto;
  gap: 8px;
  min-height: 42px;
  padding-inline: 14px;
  font-size: .92rem;
}
.property__fav-btn .fav__icon {
  width: 18px;
  height: 18px;
  transform: none;
}
.property__fav-btn.is-on {
  color: var(--red);
  border-color: rgba(185, 28, 60, .28);
  background: rgba(185, 28, 60, .06);
}
.property__fav-btn.is-on .fav__icon path {
  fill: currentColor;
  stroke: none;
}
.gallery__main .property__fav,
.card__placeholder.gallery__main .property__fav {
  z-index: 4;
  top: 14px;
  right: 14px;
}
.property__price { font-family: var(--display); font-size: 2rem; color: var(--red); margin: 8px 0 0; }
.prose :where(p, ul) { max-width: 68ch; }
.prose h2 { margin-top: 1.6em; }

.fee-highlight {
  display: grid; gap: 4px; max-width: 420px; margin: 0 0 1rem;
  padding: 18px 20px; border-radius: 16px; background: var(--white);
  border: 1px solid var(--line);
}
.fee-highlight__amount {
  margin: 0; font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--red);
}
.fee-table {
  display: grid; gap: 0; max-width: min(480px, 100%); margin: 0 0 1.2rem; padding: 0;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white);
  box-shadow: 0 1px 0 rgba(18, 24, 38, .04);
}
.fee-table div {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; align-items: baseline;
  padding: 10px 14px; border-top: 1px solid var(--line); background: var(--white);
}
.fee-table div:first-child { border-top: 0; }
.fee-table dt { margin: 0; font-weight: 600; font-size: .95rem; }
.fee-table dd { margin: 0; text-align: right; font-weight: 700; font-size: .95rem; }
.fee-table__note { display: block; margin-top: 2px; font-size: .75rem; font-weight: 500; color: var(--muted); text-align: right; }

.fee-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) min(320px, 30%); gap: 48px; align-items: start;
}
.fee-layout__aside { position: sticky; top: 92px; }

.fee-schedule { scroll-margin-top: 92px; }
.fee-schedule + .fee-schedule {
  margin-top: 3rem;
  padding-top: 2.4rem;
  border-top: 1px solid rgba(18, 24, 38, .1);
}
.fee-schedule__crosslink {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(18, 24, 38, .08);
  color: var(--muted);
}
.fee-schedule > h2 { margin-top: 0; }
.fee-schedule > h3 {
  margin-top: 1.8em;
  font-size: 1.05rem;
  color: var(--ink);
}
.fee-schedule__date {
  margin: -.4rem 0 1.4rem; font-size: .92rem; font-style: italic; color: var(--muted);
}
.fee-table--transaction { max-width: min(560px, 100%); }
.fee-table--transaction .fee-table__head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px;
  padding: 10px 14px; border-top: 3px solid var(--red);
  background: var(--white);
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--red);
}
.fee-table--transaction .fee-table__head + div { border-top: 0; }
.fee-highlight--inline { max-width: min(360px, 100%); margin-top: .4rem; }

.listings__note { margin: 0; font-size: .88rem; color: var(--muted); }
.listings__note a { color: var(--ink); font-weight: 600; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.facts div { background: var(--paper); border-radius: 12px; padding: 12px 14px; }
.facts dt { font-size: .78rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; }
.dpe { display: grid; gap: 14px; margin-bottom: 4px; }
.dpe__summary { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.dpe__charts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.dpe__charts img {
  display: block;
  width: min(200px, 100%);
  max-height: 220px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}
.dpe__letter {
  padding: 8px 12px;
  border-radius: 10px;
  color: #fff;
  font-weight: 800;
  font-size: .88rem;
  line-height: 1.25;
  display: grid;
}
.dpe__letter small { font-size: .74rem; font-weight: 500; opacity: .9; }
.dpe--A, .ges--A { background: #319834; } .dpe--B, .ges--B { background: #5fb03a; }
.dpe--C, .ges--C { background: #c5d029; color: #222; } .dpe--D, .ges--D { background: #f2cc0c; color: #222; }
.dpe--E, .ges--E { background: #f0a202; } .dpe--F, .ges--F { background: #e05a00; } .dpe--G, .ges--G { background: #c1121f; }
.legal-note {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 14px 0 0;
  max-width: 68ch;
}
.legal-note + .legal-note { margin-top: 8px; }
.dpe + .legal-note { margin-top: 18px; }
.property .map--detail { margin-top: 12px; }
.page-property .map--detail {
  position: relative;
  z-index: 0;
  isolation: isolate;
}
.page-property .map--detail .leaflet-pane { z-index: 1 !important; }
.page-property .map--detail .leaflet-tile-pane { z-index: 1 !important; }
.page-property .map--detail .leaflet-overlay-pane { z-index: 2 !important; }
.page-property .map--detail .leaflet-shadow-pane { z-index: 3 !important; }
.page-property .map--detail .leaflet-marker-pane { z-index: 4 !important; }
.page-property .map--detail .leaflet-tooltip-pane { z-index: 5 !important; }
.page-property .map--detail .leaflet-popup-pane { z-index: 6 !important; }
.page-property .map--detail .leaflet-control-container { z-index: 7 !important; }
.sticky-card {
  position: sticky;
  top: var(--sticky-offset);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px; padding: 16px 18px 18px; box-shadow: var(--shadow);
}
.sticky-card__ref {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
}
.sticky-card__agent {
  margin: 0 0 12px;
  line-height: 1.35;
}
.sticky-card__agent strong {
  display: block;
  font-size: 1rem;
}
.sticky-card__agent span {
  display: block;
  margin-top: 2px;
  font-size: .88rem;
  color: var(--muted);
}
.sticky-card__call {
  width: 100%;
  margin: 0 0 14px;
  gap: 10px;
  font-size: 1.02rem;
}
.sticky-card__call .ico { color: var(--red); }
.sticky-card__call.is-revealed {
  border-color: var(--red);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: .02em;
}
.sticky-card__or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .82rem;
}
.sticky-card__or::before,
.sticky-card__or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .88rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.45;
}
.form label.check input {
  width: auto;
  min-height: 0;
  margin-top: 3px;
  flex: 0 0 auto;
}
.form label.check span { flex: 1 1 auto; }
.form__footer {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.form__footer .check { margin: 0; }
.form__recaptcha {
  display: flex;
  justify-content: flex-start;
  overflow-x: auto;
}
.btn--block { width: 100%; justify-content: center; min-height: 50px; font-size: 1rem; }
.sticky-card .form { display: grid; gap: 12px; }
.sticky-card .form label:not(.check) { margin: 0; }
.sticky-card .form__footer { margin-top: 6px; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 12px 14px; border-radius: 12px; margin: 12px 0; }
.notice--ok { background: #e8f6ec; }
.notice--warn { background: #fff4d6; }
.empty { grid-column: 1 / -1; background: var(--paper); padding: 32px; border-radius: 16px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps article { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.ticks { padding-left: 18px; }
.agency-list { display: grid; gap: 10px; max-height: 720px; overflow: auto; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: .88rem; color: var(--muted); margin: 18px 0; }
.crumbs a { color: var(--ink); }

.site-footer { background: var(--navy); color: #d7dde6; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.footer-grid h2 { margin: 0; font-family: var(--font); font-size: .86rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.footer-grid a { display: block; text-decoration: none; margin: 6px 0; color: #d7dde6; }
.footer-grid p { margin: 6px 0; }
.footer-lead { max-width: 36ch; margin: 0 0 10px; }
.footer-contact { margin: 0; }
.footer-group { min-width: 0; }
.footer-group summary {
  list-style: none;
  cursor: default;
}
.footer-group summary::-webkit-details-marker { display: none; }
.footer-group__body--text p { margin: 0 0 8px; }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid #2a3342; margin-top: 32px; padding-top: 16px; font-size: .82rem; }
.footer-legal a { margin-right: 14px; color: #d7dde6; }

@media (min-width: 681px) {
  .footer-group .footer-group__body {
    display: block !important;
  }
  .footer-group summary {
    pointer-events: none;
    margin-bottom: 4px;
  }
}

@media (max-width: 680px) {
  .site-footer {
    padding: 28px 0 max(20px, env(safe-area-inset-bottom, 0px));
  }
  .footer-grid { gap: 0; }
  .footer-grid__brand {
    padding-bottom: 14px;
    margin-bottom: 2px;
    border-bottom: 1px solid #2a3342;
  }
  .footer-lead { display: none; }
  .brand--light { margin-bottom: 4px; padding-bottom: 0; }
  .footer-contact { font-size: .9rem; line-height: 1.5; }
  .footer-group { border-bottom: 1px solid #2a3342; }
  .footer-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    cursor: pointer;
  }
  .footer-group summary::after {
    content: '+';
    flex: 0 0 auto;
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1;
    color: #fff;
  }
  .footer-group[open] summary::after { content: '−'; }
  .footer-group__body { padding: 0 0 12px; }
  .footer-group__body a { margin: 3px 0; font-size: .88rem; }
  .footer-group__body--text p { font-size: .88rem; line-height: 1.45; }
  .footer-legal {
    margin-top: 18px;
    padding-top: 14px;
    flex-direction: column;
    gap: 10px;
    font-size: .78rem;
  }
  .footer-legal a { margin-right: 10px; }
}
.cookie-layer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100000;
  padding: 12px 16px max(12px, env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  transform: translateY(calc(100% + 16px));
  opacity: 0;
  transition: transform .38s cubic-bezier(.22, 1, .36, 1), opacity .28s ease;
}
.cookie-layer:not(.cookie-layer--hidden) {
  pointer-events: auto;
  transform: translateY(0);
  opacity: 1;
}
.cookie-layer--hidden { display: block !important; }
.cookie-layer--hidden:not(.cookie-layer--leaving) {
  visibility: hidden;
}
.cookie-layer--leaving {
  transform: translateY(calc(100% + 16px));
  opacity: 0;
  pointer-events: none;
}
.cookie {
  max-width: 1080px;
  margin: 0 auto;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(18, 24, 38, .08);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 10px 40px rgba(18, 24, 38, .14), 0 2px 8px rgba(18, 24, 38, .06);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px 18px;
  align-items: center;
  pointer-events: auto;
}
.cookie__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--red) 11%, #fff);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cookie__icon .ico { width: 22px; height: 22px; }
.cookie__body { min-width: 0; }
.cookie__title {
  margin: 0 0 2px;
  font-family: Fraunces, Georgia, serif;
  font-size: .98rem;
  font-weight: 650;
  line-height: 1.2;
  color: var(--ink);
}
.cookie__text {
  margin: 0;
  font-size: .82rem;
  line-height: 1.45;
  color: var(--muted);
}
.cookie__inline-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.cookie__inline-link:hover { color: var(--red); }
.cookie__actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.cookie__actions .btn {
  min-height: 40px;
  padding: 0 18px;
  font-size: .88rem;
  white-space: nowrap;
}
.cookie__actions .btn--ghost {
  color: var(--muted);
  border-color: var(--line);
}
.cookie__actions .btn--ghost:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--paper);
}
.scroll-top {
  position: fixed;
  right: 16px;
  bottom: max(20px, calc(16px + env(safe-area-inset-bottom, 0px)));
  z-index: 99990;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 8px 28px rgba(18, 24, 38, .18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}
.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover,
.scroll-top:focus-visible {
  background: #fff;
  color: var(--red);
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.scroll-top .ico { width: 20px; height: 20px; }
body:has(.cookie-layer:not(.cookie-layer--hidden):not(.cookie-layer--leaving)) .scroll-top {
  bottom: max(88px, calc(76px + env(safe-area-inset-bottom, 0px)));
}
@media (max-width: 720px) {
  .cookie {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }
  .cookie__icon { display: none; }
  .cookie__actions {
    width: 100%;
  }
  .cookie__actions .btn {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }
}

.quota-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.quota-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.quota-card__status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}
.quota-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--paper);
  font-size: .82rem;
  font-weight: 600;
}
.quota-pill--ok { background: #e8f6ec; color: #1b6b32; }
.quota-pill--warn { background: #fff4d6; color: #8a5a00; }
.quota-card__value {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 650;
  line-height: 1;
  margin: 0 0 6px;
  letter-spacing: -.03em;
}
.quota-card__value small {
  font-size: .42em;
  color: var(--muted);
  font-weight: 500;
}
.quota-card__caption {
  color: var(--muted);
  margin: 0 0 16px;
}
.quota-meter {
  height: 10px;
  border-radius: 999px;
  background: #ece7de;
  overflow: hidden;
}
.quota-meter span {
  display: block;
  height: 100%;
  background: #2f9e55;
  border-radius: inherit;
}
.quota-card--month { margin-bottom: 8px; }
.quota-card--low .quota-meter span { background: var(--orange); }
.quota-card--empty .quota-meter span { background: var(--red); }
.quota-card--unknown .quota-meter span { background: var(--navy); }
.quota-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
}
.quota-facts dt {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.quota-facts dd { margin: 2px 0 0; font-weight: 600; }
.quota-facts small { font-weight: 500; color: var(--muted); }

@media (min-width: 981px) {
  .site-header-wrap {
    position: relative;
  }
  .nav-panel {
    position: absolute;
    left: 50%;
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    width: max-content;
    flex: none;
    z-index: 2;
    pointer-events: none;
  }
  .nav-panel .nav {
    display: flex;
    pointer-events: auto;
  }
  .nav-panel__sheet {
    display: block;
    flex: none;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    transform: none;
    animation: none;
  }
}

@media (max-width: 980px) {
  :root {
    --site-chrome-height: 90px;
  }

  .search-card__grid, .cards, .cards--4, .services, .stats__grid, .split, .property__grid, .listings__map, .footer-grid, .steps, .form__row, .feature-grid, .partner-grid, .photo-strip, .fee-layout, .quota-grid {
    grid-template-columns: 1fr 1fr;
  }
  .services--3,
  .services--2 {
    max-width: none;
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid__brand { grid-column: 1 / -1; }
  .feature-grid--4 { grid-template-columns: 1fr 1fr; }
  .search-types__grid { grid-template-columns: 1fr; }
  .search-types__grid--rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-types__panel { width: 100%; max-width: none; }

  .topbar { font-size: .78rem; }
  .topbar__inner {
    min-height: 34px;
    gap: 12px;
    justify-content: flex-end;
  }
  .topbar p,
  .topbar__cta { display: none; }
  .topbar__links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
  .topbar a,
  .topbar__drop > button { white-space: nowrap; }
  .topbar__drop { position: static; }
  .topbar__drop > div {
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    width: auto;
    min-width: 0;
    padding: 8px;
    border-radius: 18px;
  }
  .topbar__drop a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    min-height: 64px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 1.12rem;
    white-space: normal;
  }
  .topbar__drop-hint {
    display: block;
    font-size: .88rem;
    font-weight: 500;
    color: var(--muted);
    line-height: 1.3;
  }

  .site-header { z-index: 40; }
  .site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 12px;
    min-height: 56px;
    padding-block: 0;
  }
  .brand {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
    margin: 0;
  }
  .brand__logo-wrap { width: 112px; height: 40px; }
  .brand__logo { max-width: 104px; max-height: 36px; }

  .nav-panel {
    display: none;
    flex: none;
  }

  .nav, .header-cta { display: none; }
  .nav-panel.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: 100%;
    z-index: 500;
    padding: 0;
    pointer-events: auto;
    overflow: hidden;
  }
  .nav-panel.is-open .nav-panel__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    border: 0;
    padding: 0;
    background: rgba(18, 24, 38, .68);
    cursor: pointer;
    animation: nav-backdrop-in .35s ease both;
  }
  .nav-panel.is-open .nav-panel__sheet {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;
    width: calc(100% - 24px);
    max-width: none;
    box-sizing: border-box;
    min-height: 0;
    max-height: min(calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 48px), 820px);
    margin: calc(env(safe-area-inset-top, 0px) + 30px) auto max(18px, env(safe-area-inset-bottom));
    padding: 52px 22px 16px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(18, 24, 38, .22);
    overflow: hidden;
    overscroll-behavior: contain;
    isolation: isolate;
    transform-origin: top right;
    animation: nav-panel-in .38s cubic-bezier(.32, .72, .24, 1) both;
  }
  .nav-panel.is-open.is-closing .nav-panel__sheet {
    animation: nav-panel-out .34s cubic-bezier(.4, 0, .68, .2) both;
  }
  .nav-panel.is-open.is-closing .nav-panel__backdrop {
    animation: nav-backdrop-out .34s ease both;
  }
  .nav-panel.is-open .nav-panel__close {
    display: grid;
    place-items: center;
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: #f1f3f6;
    color: var(--navy);
    cursor: pointer;
  }
  .nav-panel.is-open .nav-panel__close svg { width: 20px; height: 20px; }
  .nav-panel.is-open .nav-panel__footer {
    display: grid;
    gap: 16px;
    margin-top: auto;
    padding-top: 16px;
    flex: 0 0 auto;
  }
  .nav-panel__actions {
    display: grid;
    gap: 10px;
  }
  .nav-panel__cta { width: 100%; min-height: 50px; }
  .nav-panel__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: .82rem;
    color: var(--muted);
  }
  .nav-panel__legal a { text-decoration: none; }
  .nav-panel__legal a:hover,
  .nav-panel__legal a:focus-visible { color: var(--ink); }

  .nav.is-open {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    max-height: none;
    position: static;
    width: 100%;
  }
  .nav.is-open > a,
  .nav.is-open .nav__drop,
  .nav.is-open .nav__favorites {
    flex: 0 0 auto;
  }
  .nav.is-open > a,
  .nav.is-open .nav__drop > button,
  .nav.is-open .nav__favorites {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin: 0;
    text-align: left;
    justify-content: flex-start;
    align-items: center;
    border-radius: 0;
    padding: 12px 0;
    font-size: clamp(1.55rem, 7vw, 2.15rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--navy);
    background: transparent;
    overflow-x: hidden;
  }
  .nav.is-open > a.is-active,
  .nav.is-open .nav__drop > button.is-active { color: var(--red); }
  .nav.is-open .nav__drop {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    padding: 0;
    margin: 0;
  }
  .nav.is-open .nav__drop > button {
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
  }
  .nav.is-open .nav__drop > button::after {
    content: "";
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -4px;
  }
  .nav.is-open .nav__drop.is-open > button::after {
    margin-top: 4px;
    transform: rotate(-135deg);
  }
  .nav__drop:hover > div,
  .nav__drop:focus-within > div { display: none; }
  .nav.is-open .nav__drop:hover > div,
  .nav.is-open .nav__drop:focus-within > div { display: none; }
  .nav.is-open .nav__drop > div {
    display: none;
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    min-width: 0;
    max-width: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0 0 0 12px;
    background: transparent;
  }
  .nav.is-open .nav__drop.is-open > div {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 10px;
    margin-bottom: 2px;
  }
  .nav.is-open .nav__drop > div a {
    width: 100%;
    text-align: left;
    border-radius: 0;
    padding: 11px 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--muted);
  }
  .nav.is-open .nav__drop > div a:hover,
  .nav.is-open .nav__drop > div a:focus-visible { color: var(--navy); background: transparent; }
  .nav-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    justify-content: center;
    align-self: center;
    justify-self: end;
    height: 40px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    line-height: 1;
    font-weight: 700;
  }
  .nav-toggle__label { pointer-events: none; }

  @media (prefers-reduced-motion: reduce) {
    .nav-panel.is-open .nav-panel__sheet,
    .nav-panel.is-open .nav-panel__backdrop,
    .nav-panel.is-open.is-closing .nav-panel__sheet,
    .nav-panel.is-open.is-closing .nav-panel__backdrop {
      animation: none;
      opacity: 1;
      transform: none;
    }
  }
  .hero { min-height: 0; align-items: end; padding: 20px 0 18px; }
  .page-home .hero .eyebrow { display: none; }
  .page-home .hero h1 {
    font-size: clamp(1.65rem, 7vw, 2.05rem);
    margin-bottom: .3em;
  }
  .page-home .hero .lede {
    font-size: .92rem;
    line-height: 1.4;
    margin: 0 0 10px;
  }
  .page-home .hero {
    padding-bottom: max(32px, calc(16px + env(safe-area-inset-bottom, 0px)));
  }
  .page-home .hero__search { margin-top: 10px; }
  .page-home .hero__search .search-card { margin-top: 0; }
  .page-home .search-card { margin-top: 10px; }
  .page-hero--photo .page-hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .page-hero--photo .page-hero__media img { aspect-ratio: 16 / 9; }
}

@media (max-width: 680px) {
  .search-resume__actions {
    flex-direction: column;
  }
  .search-resume__actions .btn {
    width: 100%;
    flex: 1 1 auto;
  }
  .search-wrap__bar {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }
  .search-wrap__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .search-wrap__new,
  .search-wrap__toggle {
    width: 100%;
    justify-content: center;
  }
  .search-wrap__toggle-label { font-size: .82rem; }
  .search-card__grid, .cards, .services, .stats__grid, .split, .property__grid, .listings__map, .footer-grid, .steps, .form__row, .facts, .feature-grid, .partner-grid, .quota-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid--3, .feature-grid--4 { grid-template-columns: 1fr; }
  .page-property .property__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "gallery"
      "main"
      "aside";
    gap: 20px;
  }
  .property__title-row {
    flex-direction: column;
    align-items: stretch;
  }
  .property__actions {
    width: 100%;
  }
  .property__fav-btn,
  .property__share {
    flex: 1 1 0;
    justify-content: center;
  }
  .gallery__main .property__fav,
  .card__placeholder.gallery__main .property__fav {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }
  .page-property .gallery {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 0;
    gap: 0;
  }
  .gallery__main {
    min-height: 0;
    border-radius: 0;
    aspect-ratio: 4 / 3;
    background: #ece8e2;
  }
  .gallery__zoom {
    height: 100%;
    cursor: pointer;
  }
  .gallery__zoom::after { display: none; }
  .gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .gallery__thumbs { display: none; }
  .gallery__nav { width: 38px; height: 38px; }
  .gallery__nav .nav-chevron { width: 18px; height: 18px; }
  .gallery__nav--prev { left: 10px; }
  .gallery__nav--next { right: 10px; }
  .gallery__status { right: 10px; bottom: 10px; font-size: .78rem; padding: 5px 10px; }

  .lightbox {
    grid-template-columns: 1fr;
    grid-template-areas:
      "bar"
      "stage"
      "thumbs";
  }
  .lightbox__bar { padding: 10px 12px; }
  .lightbox__back {
    display: inline-flex;
  }
  .lightbox__close--desktop { display: none; }
  .lightbox__prev,
  .lightbox__next { display: none !important; }
  .lightbox__figure {
    height: auto;
    padding: 8px 0;
  }
  .lightbox__stage {
    display: block;
    width: 100%;
  }
  .lightbox__img {
    width: 100%;
    max-width: 100%;
    max-height: none;
    border-radius: 0;
    background: #fff;
  }
  .lightbox__thumbs {
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    -webkit-overflow-scrolling: touch;
  }
  .lightbox__thumb {
    width: 72px;
    height: 54px;
    border-radius: 10px;
  }

  .photo-strip { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: start; }
  .listings__pager.has-load-more .pagination { display: none; }
  .listings__pager.has-load-more .load-more { display: grid; }
  /* Vue carte : pas de chargement progressif possible, on garde les flèches
     et le compteur sans la rangée de numéros qui casse sur quatre lignes. */
  .listings__pager:not(.has-load-more) .pagination { justify-content: space-between; }
  .listings__pager:not(.has-load-more) .pagination__pages { display: none; }
  .quota-facts { grid-template-columns: 1fr 1fr; }
}
