:root {
  --hero-height: 88px;
  --text: #18181a;
  --ink: #2d2d2d;
  --muted: #707070;
  --line: #e0e0e0;
  --surface: #ffffff;
  --soft: #f6f6f6;
  --soft-alt: #f3f3f3;
  --accent: #cd3b2e;
  --accent-dark: #9f2b22;
  --cloud: #a21724;
  --slate: #565556;
  --green: #3b7d64;
  --blue: #6e7d87;
  --shadow: 0 10px 28px rgba(24, 24, 26, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: Barlow, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  position: relative;
  height: var(--hero-height);
  min-height: var(--hero-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px clamp(16px, 4vw, 40px);
  background:
    linear-gradient(180deg, rgba(24, 24, 26, 0.08), rgba(24, 24, 26, 0.45)),
    url("assets/header-low-poly-red.svg") center/cover;
  color: #fff;
}

.hero-actions {
  position: static;
  order: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-left: 0;
  flex: 0 0 auto;
}

.hero-contact-cta,
.hero-sell-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: #fff;
  background: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(24, 24, 26, 0.22);
  transform: none;
}

.hero-contact-cta.is-active,
.hero-sell-cta.is-active {
  color: #18181a;
  background: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}

.sold-page .hero-contact-cta[href*="biens-vendus"] {
  color: #18181a;
  background: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}

.hero-social-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(24, 24, 26, 0.22);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-social-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.hero-social-icon:hover {
  color: #fff;
  opacity: 0.86;
  transform: translateY(-1px);
}

.hero-social-facebook {
  background: #1877f2;
}

.hero-social-instagram {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 75%, #515bd4 100%);
}

.hero-social-linkedin {
  background: #0a66c2;
}

.mobile-label {
  display: none;
}

.hero-copy {
  order: 1;
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
  margin-right: auto;
}

.hero-brandline {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-start;
  width: fit-content;
}

.hero-brand-social {
  display: none;
}

.hero-logo {
  display: block;
  width: 84px;
  height: auto;
  flex: 0 0 auto;
  padding: 7px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(24, 24, 26, 0.2);
}

@media (max-width: 1635px) {
  .hero {
    height: auto;
    min-height: var(--hero-height);
    flex-wrap: wrap;
  }

  .hero-copy {
    flex: 1 1 100%;
    width: 100%;
    order: 1;
  }

  .hero-actions {
    width: 100%;
    order: 2;
    justify-content: flex-start;
    margin-left: 0;
  }
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffffff;
}

.hero h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.05;
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-copy h2 {
  margin: 0;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p:not(.eyebrow),
.contact-copy p {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.6;
}

.search-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  min-height: 0;
  margin-bottom: 12px;
  overflow: visible;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
}

.search-panel-title {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

label {
  display: grid;
  gap: 4px;
}

.search-panel label {
  position: relative;
  padding: 7px 9px;
  background: #fff;
}

.city-token-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-height: 30px;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.search-panel .commune-radius-field {
  grid-column: auto;
}

.commune-radius-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.search-panel .city-token-wrap,
.search-panel select,
.search-panel input[type="number"] {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.search-panel .city-token-wrap:focus-within,
.search-panel select:focus-visible,
.search-panel input[type="number"]:focus-visible {
  border-color: rgba(205, 59, 46, 0.45);
  box-shadow: 0 0 0 2px rgba(205, 59, 46, 0.12);
  outline: 0;
}

.city-tokens {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.city-token {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(205, 59, 46, 0.14);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
}

.city-token-label {
  line-height: 1;
}

.city-token-remove {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.city-token-remove:hover,
.city-token-remove:focus-visible {
  opacity: 0.75;
}

.city-token-input {
  flex: 1 1 120px;
  min-width: 110px;
  border: 0;
  outline: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.2;
  box-shadow: none;
  font-weight: 700;
}

.city-filter-mobile {
  display: none;
}

.city-suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 9px;
  right: 9px;
  z-index: 15;
  margin: 4px 0 0;
  padding: 6px;
  list-style: none;
  max-height: 220px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid rgba(110, 125, 135, 0.24);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(24, 24, 26, 0.14);
}

.city-suggestions.is-open {
  display: block;
}

.city-suggestion {
  padding: 7px 9px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.search-panel label span {
  font-size: 11px;
}

.radius-slider-field {
  grid-column: 1 / -1;
}

.radius-slider-field > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 13px;
  color: #2b2f33;
  text-transform: none;
}

#radiusValue {
  color: #0f4f86;
  font-weight: 700;
}

#radiusFilter {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: #ccd1d8;
  border-radius: 999px;
  border: 0;
  padding: 0;
  outline: 0;
}

#radiusFilter::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0f4f86;
  border: 0;
  cursor: pointer;
}

#radiusFilter::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0f4f86;
  border: 0;
  cursor: pointer;
}

#radiusFilter::-moz-range-track {
  height: 4px;
  background: #ccd1d8;
  border-radius: 999px;
}

.radius-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: #7a7f86;
  font-size: 11px;
}

@media (max-width: 700px) {
  .commune-radius-row {
    grid-template-columns: 1fr;
  }

  .city-token-wrap,
  .city-suggestions {
    display: none !important;
  }

  .city-filter-mobile {
    display: block;
    min-height: 34px;
    width: 100%;
  }
}

.city-suggestion:hover,
.city-suggestion[aria-selected="true"] {
  color: var(--accent-dark);
  background: rgba(205, 59, 46, 0.1);
}

label span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

select,
input,
textarea {
  width: 100%;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  font-weight: 600;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  border: 0;
  min-height: 22px;
  padding: 0 24px 0 0;
  font-size: 12px;
}

input,
textarea {
  padding: 14px;
}

textarea {
  resize: vertical;
}

.split-view {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(560px, 46%);
  height: calc(100vh - var(--hero-height));
  height: calc(100dvh - var(--hero-height));
  max-height: calc(100dvh - var(--hero-height));
  min-height: 0;
  align-items: stretch;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.listing-pane {
  grid-column: 2;
  grid-row: 1;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  padding: 18px clamp(16px, 2.4vw, 28px) 24px;
  border-left: 1px solid var(--line);
  background: #fff;
  scroll-behavior: smooth;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: 26px;
}

.sort-menu {
  position: relative;
  flex: 0 0 auto;
  color: var(--slate);
  font-weight: 700;
}

.sort-trigger {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 5px;
  padding: 0;
  color: var(--slate);
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.sort-trigger strong {
  color: var(--text);
  font-weight: 900;
}

.sort-trigger span {
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateY(3px) rotate(45deg);
}

.sort-menu.open .sort-trigger span {
  transform: translateY(-2px) rotate(225deg);
}

.sort-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 700;
  display: none;
  width: min(280px, calc(100vw - 36px));
  padding: 14px 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px rgba(24, 24, 26, 0.16);
}

.sort-menu.open .sort-options {
  display: grid;
}

.sort-options button {
  min-height: 48px;
  padding: 0 24px;
  color: var(--slate);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.sort-options button:hover,
.sort-options button:focus-visible {
  color: var(--text);
  background: var(--soft);
}

.sort-options button[aria-selected="true"] {
  color: var(--text);
  font-weight: 900;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
}

.load-more-button {
  grid-column: 1 / -1;
  min-height: 46px;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.load-more-button:hover,
.load-more-button:focus-visible {
  background: var(--accent-dark);
}

.property-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.property-card:hover,
.property-card.active {
  border-color: rgba(205, 59, 46, 0.55);
  box-shadow: 0 8px 22px rgba(24, 24, 26, 0.1);
}

.property-card:hover {
  transform: translateY(-1px);
}

.property-card.active {
  transform: none;
}

.property-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: 270px;
  min-height: 270px;
  padding: 12px 16px 0;
  object-fit: contain;
  object-position: center center;
  background: #fff;
}

.card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto;
  grid-template-areas:
    "title title"
    "desc desc"
    "price cta"
    "city city";
  align-items: end;
  gap: 6px;
  padding: 10px 16px 12px;
}

.card-top,
.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.badge {
  padding: 4px 8px;
  color: var(--accent-dark);
  background: rgba(205, 59, 46, 0.1);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.reference {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.price {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  font-weight: 800;
}

.price-line {
  grid-area: price;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.price-extra {
  min-width: 0;
  color: var(--slate);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.type-logo {
  display: inline-grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  color: #fff;
  background: var(--type-color, var(--accent-dark));
  border-radius: 999px;
}

.type-logo-appartement {
  --type-color: #2f6f9f;
}

.type-logo-maison {
  --type-color: #2f7d5b;
}

.type-logo-garage {
  --type-color: #6b5b95;
}

.type-logo-local {
  --type-color: #b64b2a;
}

.type-logo-immeuble {
  --type-color: #3f4f5f;
}

.type-logo-terrain {
  --type-color: #8b7d2a;
}

.type-logo svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.property-card h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
  min-height: 40px;
}

.property-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.meta-row {
  grid-area: meta;
  min-width: 0;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px 8px;
  color: var(--slate);
  font-size: 11px;
  font-weight: 700;
}

.card-title {
  grid-area: title;
}

.card-description,
.card-city {
  grid-column: 1 / -1;
}

.card-description {
  grid-area: desc;
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.card-city {
  grid-area: city;
  margin-top: 2px;
}

.mobile-view-button {
  display: none;
  min-height: 42px;
  margin-top: 4px;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.detail-link,
.popup-detail-link,
.popup-price-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  color: #fff;
  background: var(--accent);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.popup-price-button {
  width: 100%;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.detail-link {
  grid-area: cta;
  justify-self: end;
  align-self: end;
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}

.popup-detail-link {
  min-height: 32px;
  margin-top: 10px;
}

.popup-price-button {
  min-height: 32px;
  margin-top: 8px;
  background: var(--cloud);
}

.leaflet-container .popup-detail-link,
.leaflet-container .popup-detail-link:visited {
  color: #fff;
}

.leaflet-container .popup-detail-link:hover,
.leaflet-container .popup-price-button:hover {
  color: #fff;
  background: var(--cloud);
  text-decoration: none;
}

.leaflet-container .popup-price-button:hover {
  background: var(--accent);
}

.leaflet-control-layers {
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(24, 24, 26, 0.14);
  font-family: Barlow, system-ui, sans-serif;
  font-weight: 700;
}

.leaflet-control-layers-expanded {
  padding: 10px 12px;
}

.leaflet-control-layers label {
  display: block;
  margin: 0;
  color: var(--text);
  font-size: 13px;
}

.leaflet-control-layers label span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: none;
}

.leaflet-control-layers-selector {
  width: auto;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--accent);
}

.leaflet-control-layers-toggle {
  width: 36px;
  height: 36px;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 16px 12px;
  background-image:
    linear-gradient(#7e7e7e, #7e7e7e),
    linear-gradient(#7e7e7e, #7e7e7e),
    linear-gradient(#7e7e7e, #7e7e7e);
  background-position:
    center 11px,
    center 17px,
    center 23px;
  background-size:
    16px 2px,
    12px 2px,
    8px 2px;
  border-radius: 8px;
}

.map-pane {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  top: auto;
  min-height: 0;
  height: 100%;
}

.map-help {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 500;
  max-width: 280px;
  padding: 12px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(24, 24, 26, 0.14);
  font-size: 13px;
  font-weight: 700;
}

.map-shell {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #26282a;
}

.map-list-button,
.map-geolocate-button {
  position: absolute;
  left: 16px;
  z-index: 520;
  display: none;
  min-height: 36px;
  padding: 0 12px;
  color: #fff;
  background: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(24, 24, 26, 0.2);
}

.map-list-button {
  top: 16px;
}

.map-geolocate-button {
  top: 66px;
  right: 1px;
  left: auto;
  width: 48px;
  min-height: 48px;
  padding: 0;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(24, 24, 26, 0.14);
}

.map-geolocate-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #2f2f2f;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-geolocate-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.map-geolocate-button.is-loading svg {
  animation: map-geolocate-spin 0.8s linear infinite;
}

@media (max-width: 700px) {
  .map-list-button {
    top: auto;
    bottom: 16px;
    left: 16px;
  }
}

@keyframes map-geolocate-spin {
  to {
    transform: rotate(360deg);
  }
}

.price-marker {
  display: inline-flex;
  min-width: 62px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1px;
  padding: 4px 6px;
  color: var(--text);
  background: #fff;
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(30, 24, 20, 0.22);
  font-family: Barlow, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.price-marker .type-logo {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: #fff;
  background: var(--type-color, var(--accent-dark));
}

.price-marker .type-logo svg {
  width: 9px;
  height: 9px;
}

.price-marker.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 12px 24px rgba(162, 23, 36, 0.3);
  transform: scale(1.06);
}

.price-marker.active .type-logo {
  color: #fff;
  background: rgba(255, 255, 255, 0.24);
}

.map-cloud {
  display: grid;
  place-items: center;
  gap: 1px;
  padding: 6px 10px;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 18px 36px rgba(24, 24, 26, 0.28);
  font-family: Barlow, system-ui, sans-serif;
  cursor: pointer;
}

.department-cloud {
  width: auto;
  min-width: 70px;
  max-width: 90px;
  min-height: 60px;
  padding: 6px 8px;
  background: var(--accent-dark);
}

.city-cloud {
  min-width: 92px;
  min-height: 42px;
  background: var(--cloud);
}

.map-cloud strong,
.map-cloud span {
  display: block;
  line-height: 1;
}

.map-cloud strong {
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
}

.map-cloud strong {
  font-size: 13px;
  font-weight: 800;
}

.map-cloud span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 700;
}

.map-cloud:hover {
  background: var(--accent);
}

.leaflet-div-icon {
  background: transparent;
  border: 0;
}

.leaflet-popup-content-wrapper {
  border-radius: 10px;
  box-shadow: 0 14px 32px rgba(24, 24, 26, 0.2);
}

.map-popup {
  min-width: 190px;
  font-family: Barlow, system-ui, sans-serif;
}

.map-popup strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 15px;
}

.map-popup span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: clamp(28px, 6vw, 80px);
  padding: 86px clamp(18px, 5vw, 56px);
  background: var(--soft);
  color: var(--text);
}

.contact-copy p {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.consent-toggle {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
}

.consent-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.toggle-control {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
  background: var(--line);
  border: 1px solid #d7dde8;
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.toggle-control::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  content: "";
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(17, 24, 39, 0.18);
  transition: transform 0.2s ease;
}

.consent-toggle input:checked + .toggle-control {
  background: var(--accent);
  border-color: var(--accent);
}

.consent-toggle input:checked + .toggle-control::after {
  transform: translateX(20px);
}

.consent-toggle input:focus-visible + .toggle-control {
  outline: 3px solid rgba(34, 197, 94, 0.24);
  outline-offset: 3px;
}

.toggle-text {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-transform: none;
}

.consent-privacy-note {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
}

.contact-form button {
  justify-self: end;
  width: fit-content;
  padding: 0 24px;
  min-height: 52px;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

.about-section {
  position: relative;
  overflow: hidden;
  padding: 96px clamp(18px, 5vw, 64px);
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(205, 59, 46, 0.08), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
}

.about-section::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(24, 24, 26, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 24, 26, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 62%);
}

.about-header,
.about-grid {
  position: relative;
  z-index: 1;
}

.about-header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  column-gap: clamp(24px, 5vw, 72px);
  row-gap: 16px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 34px;
  min-height: clamp(360px, 42vw, 520px);
  padding: clamp(28px, 5vw, 54px);
  overflow: hidden;
  border: 1px solid rgba(24, 24, 26, 0.12);
  border-radius: 8px;
}

.about-header::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(12, 12, 14, 0.78), rgba(12, 12, 14, 0.42) 52%, rgba(12, 12, 14, 0.18)),
    linear-gradient(180deg, rgba(12, 12, 14, 0.18), rgba(12, 12, 14, 0.48));
}

.about-header .eyebrow,
.about-header h2,
.about-header p {
  position: relative;
  z-index: 2;
}

.about-header .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -12px;
  color: #fff;
}

.about-header h2 {
  margin: 0;
  max-width: 720px;
  color: #fff;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.88;
}

.about-header p {
  max-width: 480px;
  margin: 0;
  color: #fff;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 700;
  line-height: 1.55;
}

.about-header-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

.about-header-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.about-card {
  grid-column: 1 / -1;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(24, 24, 26, 0.11);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(24, 24, 26, 0.08);
  backdrop-filter: blur(14px);
}

.about-card-large,
.about-conclusion {
  grid-column: 1 / -1;
}

.about-card h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.03;
}

.about-card h4 {
  margin: 22px 0 10px;
  color: var(--accent-dark);
  font-size: 17px;
  line-height: 1.25;
}

.about-card p,
.about-card li,
.about-card dd {
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.58;
}

.about-card p {
  margin: 0 0 14px;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.about-card ul {
  display: grid;
  gap: 7px;
  margin: 0 0 14px;
  padding-left: 0;
  list-style: none;
}

.about-card li {
  position: relative;
  padding-left: 18px;
}

.about-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--accent);
  border-radius: 50%;
  transform: translateY(-50%);
}

.about-card a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-highlight {
  align-content: start;
  grid-column: 1 / -1;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
    var(--accent);
  border-color: var(--accent);
  box-shadow: 0 24px 60px rgba(205, 59, 46, 0.25);
}

.about-highlight h3,
.about-highlight .about-rank,
.about-highlight p,
.about-highlight li {
  color: #fff;
}

.about-highlight li::before {
  background: #fff;
}

.about-rank {
  color: var(--accent-dark);
  font-size: clamp(20px, 2.3vw, 32px);
  font-weight: 800;
  line-height: 1.12;
}

.about-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.about-columns > div {
  padding: 16px;
  background: #18181a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.about-columns h4 {
  margin-top: 0;
  color: #fff;
}

.about-columns li {
  color: rgba(255, 255, 255, 0.76);
}

.about-columns li::before {
  background: var(--accent);
}

.about-values {
  display: grid;
  gap: 12px;
  margin: 0;
}

.about-values div {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.about-values dt {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.about-values dd {
  margin: 4px 0 0;
}

.about-portals {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: center;
  grid-column: 1 / -1;
  background:
    linear-gradient(135deg, rgba(24, 24, 26, 0.96), rgba(24, 24, 26, 0.9)),
    #18181a;
  border-color: rgba(255, 255, 255, 0.08);
}

.about-portals h3 {
  color: #fff;
}

.about-portals p {
  color: rgba(255, 255, 255, 0.74);
}

.portal-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.portal-logo {
  display: grid;
  min-height: 118px;
  align-content: center;
  justify-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portal-logo:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

.portal-logo span {
  color: var(--ink);
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.portal-logo small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.portal-logo-seloger span {
  color: #e30613;
}

.portal-logo-leboncoin {
  background: #ff6e14;
}

.portal-logo-leboncoin span {
  color: #fff;
  font-size: clamp(19px, 1.8vw, 27px);
  font-weight: 800;
}

.portal-logo-lefigaro span {
  color: #1f3f77;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.about-conclusion {
  position: relative;
  min-height: clamp(360px, 36vw, 480px);
  overflow: hidden;
  background: #18181a;
  border-color: #18181a;
  box-shadow: 0 28px 70px rgba(24, 24, 26, 0.22);
}

.about-conclusion::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(12, 12, 14, 0.82), rgba(12, 12, 14, 0.5) 58%, rgba(12, 12, 14, 0.18)),
    linear-gradient(180deg, rgba(12, 12, 14, 0.12), rgba(12, 12, 14, 0.48));
}

.about-conclusion > *:not(.about-conclusion-image) {
  position: relative;
  z-index: 2;
}

.about-conclusion-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

.about-conclusion-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-conclusion h3,
.about-conclusion h4,
.about-conclusion .about-rank {
  color: #fff;
}

.about-conclusion p {
  color: rgba(255, 255, 255, 0.78);
}

.about-conclusion a {
  color: #fff;
}

.detail-page {
  background: var(--soft);
}

.detail-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 54px;
}

.detail-back {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  width: fit-content;
  margin: 0 auto 18px;
  text-align: center;
  color: var(--accent-dark);
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.detail-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 20px;
}

.detail-gallery {
  display: grid;
  gap: 10px;
  padding: 10px;
  background: #fff;
}

.detail-photo-button {
  display: block;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.detail-photo-button:hover img {
  transform: scale(1.03);
}

.detail-main-photo {
  position: relative;
  overflow: hidden;
  background: #f3f4f6;
  border-radius: 8px;
}

.detail-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  background: rgba(17, 24, 39, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.22);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 160ms ease, transform 160ms ease;
}

.detail-gallery-arrow:hover,
.detail-gallery-arrow:focus-visible {
  background: rgba(17, 24, 39, 0.84);
  transform: translateY(-50%) scale(1.04);
}

.detail-gallery-arrow span {
  display: block;
  margin-top: -3px;
  font-size: 38px;
  line-height: 1;
}

.detail-gallery-arrow-prev {
  left: 18px;
}

.detail-gallery-arrow-next {
  right: 18px;
}

.detail-landscape-play {
  position: absolute;
  top: calc(12px + env(safe-area-inset-top));
  right: calc(12px + env(safe-area-inset-right));
  z-index: 3;
  display: none;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  color: #fff;
  background: rgba(17, 24, 39, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.24);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.detail-landscape-play svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

.detail-landscape-pause {
  position: absolute;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 4;
  display: none;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  color: #fff;
  background: rgba(17, 24, 39, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.26);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.detail-landscape-pause svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

.detail-landscape-exit {
  position: absolute;
  top: calc(12px + env(safe-area-inset-top));
  right: calc(12px + env(safe-area-inset-right));
  z-index: 4;
  display: none;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  color: #fff;
  background: rgba(17, 24, 39, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.26);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.detail-landscape-exit svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

.detail-main-photo:fullscreen {
  display: grid;
  width: 100vw;
  height: 100vh;
  place-items: center;
  background: #111;
  border-radius: 0;
}

.detail-main-photo:fullscreen .detail-gallery-main {
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  object-fit: contain;
  border-radius: 0;
}

.detail-main-photo:fullscreen .detail-landscape-exit {
  display: inline-flex;
}

.detail-main-photo:fullscreen .detail-landscape-pause:not([hidden]) {
  display: inline-flex;
}

.detail-photo-button.active {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.detail-gallery-main,
.detail-gallery-grid img {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 180ms ease;
}

.detail-gallery-main {
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

.detail-gallery-grid img {
  object-fit: cover;
}

.detail-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.detail-gallery-grid .detail-photo-button,
.detail-gallery-grid img {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.detail-gallery-grid .detail-photo-button,
.detail-gallery-grid img {
  border-radius: 8px;
}

.detail-content {
  display: grid;
  gap: 28px;
  padding: clamp(8px, 4vw, 8px);
}

.detail-content-heading {
  padding-bottom: 18px;
}

.detail-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.detail-title-block {
  min-width: 0;
}

.detail-city-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid rgba(24, 24, 26, 0.12);
  border-radius: 8px;
  color: #18181a;
  background: #fff;
  box-shadow: 0 10px 24px rgba(24, 24, 26, 0.08);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.detail-city-link:hover,
.detail-city-link:focus-visible {
  color: #fff;
  background: #18181a;
  outline: none;
}

.detail-heading h1 {
  margin: 10px 0 0;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.18;
  text-transform: uppercase;
  text-align: left;
  overflow-wrap: anywhere;
}

.detail-status-pill {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 7px 12px;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.sold-detail-page .detail-price-pill {
  background: var(--accent);
}

.detail-heading p,
.detail-content section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.detail-location-section {
  display: grid;
  gap: 12px;
}

.detail-location-map-shell {
  position: relative;
  min-height: 460px;
  background: #f3f4f6;
  border-radius: 8px;
}

.detail-location-map {
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
  background: #f3f4f6;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-map-fullscreen {
  position: absolute;
  z-index: 700;
  top: 12px;
  right: 12px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(24, 24, 26, 0.12);
  border-radius: 8px;
  color: #18181a;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(24, 24, 26, 0.16);
  cursor: pointer;
}

.detail-map-fullscreen svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.detail-map-fullscreen:hover,
.detail-map-fullscreen:focus-visible {
  color: #fff;
  background: #18181a;
  outline: none;
}

.detail-location-map-shell:fullscreen {
  width: 100vw;
  height: 100vh;
  padding: 0;
  background: #f3f4f6;
}

.detail-location-map-shell:fullscreen .detail-location-map {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
}

.detail-school-marker {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(24, 24, 26, 0.24);
  font-size: 13px;
  font-weight: 900;
}

.detail-school-marker-maternelle {
  background: #e83e8c;
}

.detail-school-marker-elementaire,
.detail-school-marker-ecole {
  background: var(--green);
}

.detail-school-marker-college {
  background: #2563eb;
}

.detail-school-marker-lycee {
  background: #7c3aed;
}

.detail-school-marker svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.detail-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 10px 0 18px;
  padding: 9px 10px;
  color: #18181a;
  background: #fff;
  border: 1px solid rgba(24, 24, 26, 0.1);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.detail-map-legend span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}

.detail-map-legend-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(24, 24, 26, 0.12);
}

.detail-map-legend-line {
  display: inline-block;
  width: 18px;
  height: 4px;
  background: #e11d48;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(24, 24, 26, 0.1);
}

.detail-school-popup {
  display: grid;
  gap: 4px;
  min-width: 160px;
}

.detail-school-popup strong {
  color: var(--text);
  font-size: 14px;
}

.detail-school-popup span,
.detail-school-popup small {
  color: var(--muted);
  font-size: 12px;
}

.detail-reference {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.detail-stats-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
}

.detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.detail-stats-left {
  display: grid;
  justify-content: flex-start;
  justify-items: start;
}

.detail-video-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.detail-video-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  margin-top: 0;
  padding: 0 14px 0 12px;
  color: var(--text);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition: border-color 160ms ease, color 160ms ease;
}

.detail-video-link::before {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.detail-video-link-tour::before {
  content: "↻";
  font-size: 13px;
}

.detail-video-link-video::before {
  content: "▶";
  font-size: 9px;
  padding-left: 1px;
}

.detail-video-link-carousel::before {
  content: "";
  background:
    linear-gradient(#fff 0 0) 8px 6px / 8px 6px no-repeat,
    linear-gradient(#fff 0 0) 5px 9px / 8px 6px no-repeat,
    var(--accent);
}

.detail-video-link:hover,
.detail-video-link:focus-visible {
  color: var(--accent-dark);
  border-color: rgba(205, 59, 46, 0.35);
}

.detail-stats-right {
  justify-content: flex-end;
  padding-top: 6px;
}

.detail-stats span {
  padding: 10px 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.detail-stats .detail-price-pill {
  color: var(--accent-dark);
  background: #fff4f3;
  border-color: rgba(205, 59, 46, 0.28);
  font-size: clamp(18px, 2.4vw, 30px);
  line-height: 1;
}

.detail-stats .detail-ref-pill {
  font-size: 32px;
  line-height: 1;
}

.detail-inline-price {
  justify-self: end;
  color: var(--accent-dark);
  font-size: clamp(22px, 3vw, 34px);
  white-space: nowrap;
}

.detail-content section h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.detail-dpe-unavailable p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.detail-diagnostics {
  display: block;
  width: 100%;
  max-width: none;
}

.dpe-card {
  width: 100%;
  padding: clamp(18px, 3vw, 34px);
  background: #f4f6fa;
  border: 1px solid rgba(205, 59, 46, 0.45);
  border-radius: 8px;
  box-shadow: 0 0 0 3px rgba(205, 59, 46, 0.06);
}

.dpe-card-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.dpe-card-heading h2 {
  margin: 0;
  color: var(--slate);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 900;
}

.dpe-card-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.dpe-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 7vw, 96px);
  align-items: start;
}

.dpe-column {
  display: grid;
  justify-items: center;
  text-align: center;
}

.dpe-column h2 {
  margin: 0;
  color: #5d6370;
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 900;
}

.dpe-link {
  margin-top: 2px;
  color: #002f76;
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
}

.dpe-scale {
  --dpe-cell: 36px;
  --dpe-gap: 4px;
  --dpe-pointer-left: calc(var(--active-index) * (var(--dpe-cell) + var(--dpe-gap)) + (var(--dpe-cell) / 2));
  position: relative;
  width: calc((var(--dpe-cell) * 7) + (var(--dpe-gap) * 6));
  margin-top: 26px;
  padding-bottom: 72px;
}

.dpe-letters {
  display: grid;
  grid-template-columns: repeat(7, var(--dpe-cell));
  gap: var(--dpe-gap);
}

.dpe-letter {
  display: grid;
  height: 36px;
  place-items: center;
  color: #fff;
  background: var(--dpe-color);
  font-size: 19px;
  font-weight: 900;
}

.dpe-letter.is-active {
  transform: translateY(2px);
}

.dpe-pointer {
  position: absolute;
  top: 36px;
  left: var(--dpe-pointer-left);
  width: 38px;
  height: 42px;
  background: var(--dpe-active-color, #75b95b);
  clip-path: polygon(0 0, 100% 0, 100% 58%, 50% 100%, 0 58%);
  transform: translateX(-50%);
}

.dpe-scale-energy {
  --dpe-active-color: #75b95b;
}

.dpe-scale-climate {
  --dpe-active-color: #a8d7f4;
}

.dpe-scale .dpe-letter.is-active {
  background: var(--dpe-active-color, var(--dpe-color));
}

.dpe-value {
  position: absolute;
  top: 82px;
  left: var(--dpe-pointer-left);
  color: #5d6370;
  font-size: 17px;
  font-weight: 900;
  transform: translateX(-50%);
}

.dpe-unit {
  position: absolute;
  top: 104px;
  left: var(--dpe-pointer-left);
  width: 110px;
  color: #5d6370;
  font-size: 12px;
  line-height: 1.2;
  transform: translateX(-50%);
}

.dpe-risk {
  margin: 26px 0 0;
  color: #8a849d;
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
}

.dpe-risk a {
  color: inherit;
  text-decoration: underline;
}

.diagnostic-figure {
  --diagnostic-row-height: 45px;
  --diagnostic-row-start: 18px;
  position: relative;
  min-height: 404px;
  padding: 4px 0 18px 168px;
}

.detail-diagnostics .diagnostic-best,
.detail-diagnostics .diagnostic-worst {
  margin: 0;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.detail-diagnostics .diagnostic-best {
  color: #009d78;
}

.detail-diagnostics .diagnostic-worst {
  color: #df1f1f;
}

.diagnostic-measure {
  position: absolute;
  top: calc(var(--diagnostic-row-start) + (var(--active-index) * var(--diagnostic-row-height)));
  left: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 154px;
  background: #fff;
  border: 2px solid #111;
  border-radius: 10px;
  transform: translateY(-8px);
}

.diagnostic-measure div {
  display: grid;
  min-height: 56px;
  align-content: end;
  gap: 3px;
  padding: 6px;
}

.diagnostic-measure div + div {
  border-left: 2px solid #111;
}

.diagnostic-measure strong {
  align-self: start;
  color: #111;
  font-size: 10px;
  line-height: 1.2;
}

.diagnostic-measure span {
  align-self: start;
  color: #999;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
}

.diagnostic-measure b {
  color: #111;
  font-size: 14px;
  line-height: 1;
}

.diagnostic-measure small {
  color: #111;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
}

.diagnostic-scale {
  display: grid;
  gap: 5px;
  margin-top: 10px;
}

.diagnostic-line {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
}

.diagnostic-line.active {
  position: relative;
  z-index: 2;
}

.diagnostic-bar {
  position: relative;
  display: inline-flex;
  width: var(--bar-width);
  min-height: 40px;
  align-items: center;
  padding-left: 10px;
  color: #fff;
  background: transparent;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  z-index: 1;
  overflow: visible;
  isolation: isolate;
}

.diagnostic-bar::after {
  position: absolute;
  inset: 0;
  background: var(--bar-color);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
  content: "";
  z-index: -1;
}

.diagnostic-line:nth-child(4) .diagnostic-bar {
  color: var(--slate);
}

.diagnostic-line.active .diagnostic-bar {
  border: 0;
  outline: 0;
  filter: none;
}

.diagnostic-line.active .diagnostic-bar::before {
  position: absolute;
  inset: -3px;
  background: #111;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
  content: "";
  pointer-events: none;
  z-index: -2;
}

.diagnostic-line strong {
  display: none;
  color: var(--slate);
  font-size: 12px;
  white-space: nowrap;
}

.diagnostic-line small {
  display: none;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.diagnostic-passoire {
  position: absolute;
  top: 276px;
  left: 100px;
  width: 56px;
  min-height: 84px;
  padding-right: 6px;
  color: #999;
  border-right: 2px solid #999;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  text-align: right;
}

.detail-diagnostics .diagnostic-worst {
  margin-top: 8px;
}

.ges-figure {
  width: 100%;
  margin-top: 0;
  padding: 12px 14px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.ges-figure h3 {
  margin: 0;
  color: #111;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
}

.ges-top,
.ges-bottom {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
}

.ges-top {
  color: #7aa9cf;
}

.ges-bottom {
  color: #2f2641;
}

.ges-scale {
  display: grid;
  gap: 3px;
  margin-top: 4px;
}

.ges-line {
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 10px;
}

.ges-bar {
  display: inline-flex;
  width: var(--bar-width);
  min-height: 34px;
  align-items: center;
  padding-left: 9px;
  color: #f7f8fb;
  background: var(--bar-color);
  border-radius: 0 999px 999px 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.ges-line.active .ges-bar {
  color: #fff;
  outline: 2px solid #111;
  outline-offset: -1px;
}

.ges-line strong {
  color: #111;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.ges-line small {
  font-size: 9px;
  font-weight: 900;
}

.dpe-modal[hidden] {
  display: none;
}

.dpe-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
}

.dpe-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 32, 0.62);
}

.dpe-modal-dialog {
  position: relative;
  width: min(100%, 1080px);
  max-height: min(92vh, 760px);
  overflow: auto;
  padding: clamp(18px, 3vw, 30px);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.dpe-modal-dialog h2 {
  margin: 0 48px 22px 0;
  color: #111;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 900;
  line-height: 1.05;
}

.dpe-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--slate);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.dpe-modal-close:hover,
.dpe-modal-close:focus-visible {
  color: #fff;
  background: var(--accent-dark);
  outline: none;
}

.dpe-modal-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}

.dpe-modal .ges-figure {
  margin-top: 22px;
}

.dpe-modal-open {
  overflow: hidden;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.detail-share-group {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.detail-share-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.detail-agent-contact,
.detail-dpe-button,
.detail-share-button,
.detail-error a {
  display: inline-flex;
  width: fit-content;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.detail-dpe-button {
  color: var(--accent-dark);
  background: #fff;
  border: 1px solid rgba(205, 59, 46, 0.28);
}

.detail-dpe-button:hover,
.detail-dpe-button:focus-visible {
  color: #fff;
  background: var(--accent-dark);
  outline: none;
}

.detail-share-button {
  width: 44px;
  min-height: 44px;
  padding: 0;
  color: var(--accent-dark);
  background: #fff;
  border: 1px solid rgba(205, 59, 46, 0.28);
}

.detail-share-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.detail-share-facebook {
  color: #1877f2;
  border-color: rgba(24, 119, 242, 0.32);
}

.detail-share-x {
  color: #111;
  border-color: rgba(17, 17, 17, 0.22);
}

.detail-share-instagram {
  color: #c13584;
  border-color: rgba(193, 53, 132, 0.32);
}

.detail-share-native {
  display: none;
  color: var(--accent-dark);
}

.detail-share-button:hover,
.detail-share-button:focus-visible {
  color: #fff;
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.detail-share-status {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.detail-signature-preview {
  max-width: 980px;
  padding: 10px;
  background: #f9fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-signature-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.detail-agent-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  min-height: 360px;
  padding: clamp(24px, 4vw, 46px);
  background:
    linear-gradient(90deg, var(--accent) 0 14px, transparent 14px),
    var(--soft);
  border-radius: 8px;
}

.detail-agent-photo {
  display: grid;
  width: 190px;
  height: 190px;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
  border: 6px solid var(--accent);
  border-radius: 50%;
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
}

.detail-agent-photo.has-photo {
  display: block;
  height: auto;
  overflow: visible;
  background: transparent;
  border-radius: 8px;
}

.detail-agent-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.detail-agent-photo.photo-missing::before {
  content: attr(data-initials);
}

.detail-agent-info {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.detail-agent-kicker {
  color: var(--accent);
  font-size: 20px;
  font-weight: 900;
}

.detail-agent-info strong {
  color: var(--text);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}

.detail-agent-info p {
  margin: 0;
  color: var(--slate);
  font-size: 22px;
  font-weight: 800;
}

.detail-agent-info dl {
  display: grid;
  gap: 6px;
  margin: 8px 0 0;
}

.detail-agent-info dl div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
}

.detail-agent-info dt,
.detail-agent-info dd {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.detail-agent-info dt {
  color: var(--accent-dark);
}

.detail-agent-info dd {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--text);
}

.detail-agent-footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
}

.detail-contact-form {
  margin-top: 14px;
  box-shadow: none;
}

.detail-loading,
.detail-error {
  padding: 34px;
}

@media (max-width: 920px) {
  .search-panel,
  .split-view,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .about-header,
  .about-portals,
  .about-columns {
    grid-template-columns: 1fr;
  }

  .about-header {
    align-items: start;
  }

  .about-header .eyebrow {
    margin-bottom: 0;
  }

  .about-card {
    grid-column: 1 / -1;
  }

  .search-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-view {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .listing-pane {
    grid-column: auto;
    grid-row: auto;
    height: auto;
    overflow-y: visible;
    border-left: 0;
  }

  .mobile-view-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .map-list-button,
  .map-geolocate-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    height: auto;
    min-height: var(--hero-height);
    flex-wrap: wrap;
  }

  .hero-copy {
    flex: 1 1 100%;
    width: 100%;
    order: 1;
  }

  .hero-actions {
    width: 100%;
    order: 2;
    justify-content: flex-start;
    margin-left: 0;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .detail-diagnostics {
    max-width: none;
  }

  .dpe-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .dpe-modal-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .dpe-modal-dialog {
    max-height: 94vh;
    padding: 18px 12px;
  }

  .dpe-scale {
    --dpe-cell: 34px;
    --dpe-gap: 3px;
  }

  .dpe-card {
    padding: 18px 12px;
  }

  .dpe-risk {
    font-size: 13px;
  }

  .diagnostic-figure {
    min-height: 0;
    padding-left: 0;
  }

  .diagnostic-best,
  .diagnostic-worst,
  .diagnostic-scale,
  .diagnostic-measure {
    position: static;
  }

  .diagnostic-measure {
    width: min(100%, 340px);
    margin-top: 18px;
  }

  .diagnostic-bar {
    width: min(var(--bar-width), calc(100vw - 120px));
  }

  .diagnostic-passoire {
    display: none;
  }

  .ges-figure {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
  }

  .ges-figure h3 {
    font-size: 17px;
  }

  .ges-top,
  .ges-bottom {
    font-size: 14px;
  }

  .ges-bar {
    min-height: 38px;
    padding-left: 10px;
    font-size: 30px;
  }

  .ges-line strong {
    font-size: 28px;
  }

  .ges-line small {
    font-size: 20px;
  }

  .map-pane {
    grid-column: auto;
    grid-row: auto;
    position: relative;
    top: auto;
    height: 520px;
    order: -1;
  }

  .map-help {
    display: none;
  }

  .leaflet-control-layers-expanded {
    max-width: calc(100vw - 28px);
    padding: 8px 10px;
  }

  .leaflet-control-layers label {
    font-size: 12px;
  }

  .leaflet-control-layers label span {
    gap: 6px;
    font-size: 12px;
    line-height: 1.1;
  }

  .leaflet-control-layers:not(.leaflet-control-layers-expanded) {
    width: 38px;
    height: 38px;
  }

  .leaflet-control-layers-toggle {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 560px) {
  .cookie-banner {
    right: 10px;
    bottom: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: calc(100vw - 20px);
    padding: 14px;
  }

  .cookie-banner-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-banner button {
    width: 100%;
    padding: 0 12px;
  }

  .about-section {
    padding: 54px 16px;
  }

  .about-header {
    gap: 16px;
    padding-bottom: 24px;
    text-align: left;
  }

  .about-header h2 {
    font-size: 30px;
    line-height: 1.05;
  }

  .about-header p,
  .about-card p,
  .about-card li,
  .about-card dd {
    font-size: 15px;
  }

  .about-card {
    padding: 18px;
    box-shadow: 0 10px 28px rgba(24, 24, 26, 0.08);
  }

  .portal-logos {
    grid-template-columns: 1fr;
  }

  .portal-logo {
    min-height: 88px;
  }

  .detail-shell {
    width: 100%;
    padding: 16px 0 40px;
  }

  .detail-back {
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
  }

  .detail-card {
    border-radius: 0;
    padding: 12px;
  }

  .detail-content,
  .detail-content-heading {
    padding-left: 0;
    padding-right: 0;
  }

  .detail-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-city-link {
    align-self: flex-start;
  }

  .detail-share-group {
    align-items: flex-end;
    display: grid;
    grid-template-columns: auto repeat(4, 38px);
    gap: 4px;
  }

  .detail-share-native {
    display: inline-flex;
  }

  .detail-share-button {
    width: 38px;
    min-height: 38px;
    padding: 0;
  }

  .detail-share-status {
    grid-column: 1 / -1;
    min-height: 0;
    font-size: 12px;
    text-align: right;
  }

  .detail-location-map-shell,
  .detail-location-map {
    min-height: 360px;
  }

  .hero-actions {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    order: 3;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .hero-actions::-webkit-scrollbar {
    display: none;
  }

  .hero-contact-cta,
  .hero-sell-cta {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 9px;
    font-size: 12px;
    white-space: nowrap;
  }

  .sold-page .hero-contact-cta[href*="biens-vendus"] {
    color: #18181a !important;
    background: #fff !important;
    border-color: rgba(255, 255, 255, 0.72) !important;
  }

  .desktop-label {
    display: none;
  }

  .mobile-label {
    display: inline;
  }

  .hero {
    gap: 5px;
    height: auto;
    min-height: 82px;
    padding-block: 8px;
    flex-wrap: wrap;
  }

  .hero h1 {
    font-size: 15px;
    line-height: 1.05;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .contact-copy h2 {
    font-size: 22px;
  }

  .hero-brandline {
    gap: 8px;
    width: 100%;
  }

  .hero-brandline > div:not(.hero-brand-social) {
    min-width: 0;
  }

  .hero-actions > .hero-social-icon {
    display: none;
  }

  .hero-brand-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .hero-brand-social .hero-social-icon {
    width: 30px;
    height: 30px;
    box-shadow: 0 8px 16px rgba(24, 24, 26, 0.18);
  }

  .hero-brand-social .hero-social-icon svg {
    width: 16px;
    height: 16px;
  }

  .hero-logo {
    width: 42px;
    padding: 5px;
    border-radius: 10px;
  }

  .hero .eyebrow {
    margin-bottom: 2px;
    font-size: 10px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .card-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "price"
      "desc"
      "city"
      "cta"
      "mapcta";
    align-items: stretch;
    gap: 10px;
    padding: 12px;
  }

  .property-card {
    border-color: rgba(205, 59, 46, 0.24);
  }

  .property-card img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    padding: 10px 10px 0;
    object-fit: cover;
    border-radius: 16px;
  }

  .property-card h3 {
    min-height: 0;
    font-size: 15px;
    line-height: 1.22;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .price-line {
    align-items: flex-start;
  }

  .price {
    font-size: 15px;
    line-height: 1.2;
  }

  .card-description {
    font-size: 12px;
    line-height: 1.4;
    -webkit-line-clamp: 3;
  }

  .card-city {
    font-size: 12px;
  }

  .detail-link {
    grid-area: cta;
    justify-self: stretch;
    width: 100%;
    min-height: 42px;
    padding: 0 18px;
    font-size: 14px;
  }

  .mobile-view-button {
    grid-area: mapcta;
    width: 100%;
    min-height: 42px;
    margin-top: 0;
    font-size: 0;
  }

  .mobile-view-button::after {
    content: "Voir carte";
    font-size: 14px;
    font-weight: 800;
  }

  .sort-menu {
    width: 100%;
  }

  .sort-options {
    left: 0;
    right: auto;
    width: min(280px, 100%);
  }

  .price-marker {
    min-width: 58px;
    font-size: 11px;
  }

  .map-cloud {
    min-width: 112px;
    min-height: 54px;
  }

  .detail-stats-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .detail-inline-price {
    justify-self: start;
    white-space: normal;
  }

  .detail-gallery-main {
    aspect-ratio: 4 / 3;
    min-height: 0;
    border-radius: 8px;
  }

  .detail-gallery-arrow {
    width: 38px;
    height: 38px;
  }

  .detail-gallery-arrow span {
    font-size: 32px;
  }

  .detail-gallery-arrow-prev {
    left: 10px;
  }

  .detail-gallery-arrow-next {
    right: 10px;
  }

  .detail-landscape-play {
    display: flex;
    position: static;
    width: fit-content;
    margin: 8px auto 0;
  }

  .detail-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-gallery-grid .detail-photo-button,
  .detail-gallery-grid img {
    aspect-ratio: 16 / 9;
    min-height: 0;
    border-radius: 8px;
  }

  .detail-agent-card {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
    padding: 24px 18px;
    text-align: center;
  }

  .detail-agent-photo {
    width: 150px;
    height: 150px;
    font-size: 44px;
  }

  .detail-agent-photo.has-photo {
    height: auto;
  }

  .detail-agent-info dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }`n  .detail-agent-footer {
    align-items: center;
    flex-direction: column;
    font-size: 15px;
  }
}

footer {
  padding: 20px;
  text-align: center;
  background: var(--soft);
  border-top: 1px solid var(--line);
}

footer a {
  color: var(--muted);
  font-size: 14px;
}

footer a:hover {
  color: var(--accent);
}

.footer-social {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0;
}

.footer-social-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #fff;
  border-radius: 50%;
  vertical-align: middle;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-social-icon:hover {
  color: #fff;
  opacity: 0.84;
  transform: translateY(-1px);
}

.footer-social-facebook {
  background: #1877f2;
}

.footer-social-instagram {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 75%, #515bd4 100%);
}

@media (max-width: 700px) {
  .footer-social {
    justify-content: center;
  }
}

.footer-legal {
  color: var(--muted);
  font-size: 14px;
}

.footer-credit {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.footer-credit a {
  font-size: inherit;
}

.reviews-page {
  background: var(--soft);
  overflow-x: hidden;
}

.reviews-section {
  min-height: calc(100vh - var(--hero-height) - 61px);
  max-width: 100%;
  overflow-x: hidden;
  padding: clamp(42px, 8vw, 90px) clamp(18px, 5vw, 56px);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.94), rgba(246, 246, 246, 0.94)),
    repeating-linear-gradient(135deg, rgba(24, 24, 26, 0.035) 0 1px, transparent 1px 28px);
}

.reviews-shell {
  display: grid;
  gap: 28px;
  width: min(920px, 100%);
  min-width: 0;
  margin: 0 auto;
}

.reviews-header {
  display: grid;
  gap: 12px;
  min-width: 0;
  text-align: center;
}

.reviews-header h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.reviews-header p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.reviews-widget-list {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}

.review-source {
  display: block;
  min-width: 0;
}

.review-source:has(> .reviews-widget:only-child) {
  display: block;
}

.review-source-copy,
.reviews-widget {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  height: 268px;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.review-source-copy {
  display: none;
  align-items: flex-start;
}

.review-source-label {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.review-source-copy h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
}

.review-source-copy p:not(.review-source-label) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
}

.reviews-widget iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 188px;
  max-width: 100%;
  pointer-events: none;
}

.reviews-widget a,
.reviews-widget .ma-widget-feedback {
  position: relative;
  z-index: 1;
}

.review-rating-card {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  width: min(306px, 100%);
  min-width: 0;
  height: 110px;
  padding: 14px 24px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  pointer-events: none;
}

.review-rating-brand {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.review-brand-logo {
  display: block;
  width: auto;
  max-width: 240px;
  height: 92px;
  object-fit: contain;
  flex: 0 0 96px;
}

.review-brand-logo-google {
  height: 76px;
}

.review-brand-logo-meilleurs-agents {
  height: 82px;
}

.review-brand-logo-opinion-system {
  height: 86px;
  max-width: 245px;
}

.review-brand-logo-pages-jaunes {
  height: 82px;
  max-width: 230px;
}

.review-rating-card-google .review-rating-brand {
  color: #4285f4;
}

.review-rating-card-pages-jaunes {
  text-decoration: none;
}

.review-rating-card-meilleurs-agents .review-rating-brand {
  color: #00a082;
}

.review-stars {
  color: #f6c21a;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.review-score {
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.review-count {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.review-rating-card-widget {
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.review-rating-card-meilleurs-widget {
  justify-content: center;
}

.review-rating-text {
  display: none;
}

.reviews-widget-large {
  height: 268px;
  min-height: 0;
  overflow: hidden;
}

.reviews-widget-large .ma-widget-feedback {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  transform: scale(0.74);
  transform-origin: center center;
}

.opinion-reviews {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.opinion-reviews-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.opinion-reviews-heading h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
}

.opinion-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px 28px;
}

.reviews-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: fit-content;
  min-height: 44px;
  padding: 0 18px;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(205, 59, 46, 0.22);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.reviews-contact-button:hover,
.reviews-contact-button:focus-visible {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.reviews-contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: clamp(28px, 6vw, 72px);
  padding: 76px clamp(18px, 5vw, 56px);
  background: var(--soft);
  color: var(--text);
}

.reviews-contact-form {
  align-self: start;
}

.captcha-field input {
  max-width: 180px;
}

.captcha-field > span {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: none;
}

.sell-captcha-field {
  display: grid;
  gap: 8px;
}

.opinion-review-card {
  position: relative;
  min-height: 250px;
  min-width: 0;
  padding: 24px 24px 114px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(24, 24, 26, 0.06);
  overflow: visible;
}

.opinion-review-negotiator-block {
  position: absolute;
  right: -18px;
  bottom: -26px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 24px);
}

.opinion-review-negotiator-name {
  max-width: 180px;
  padding: 8px 12px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(24, 24, 26, 0.1);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  text-align: right;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.opinion-review-negotiator {
  display: block;
  flex: 0 0 auto;
  width: 74px;
  height: 74px;
  padding: 5px;
  overflow: hidden;
  background: #fff;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(24, 24, 26, 0.18);
}

.opinion-review-negotiator img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  border-radius: 50%;
}

.opinion-review-card-header {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.opinion-review-card p {
  margin: 0;
  color: var(--text);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .reviews-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .reviews-widget-list {
    grid-template-columns: 1fr;
  }

  .review-source {
    grid-template-columns: 1fr;
  }

  .opinion-reviews {
    padding: 18px;
    overflow: hidden;
  }

  .opinion-review-grid {
    grid-template-columns: 1fr;
  }

  .opinion-reviews-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .opinion-reviews-heading .reviews-contact-button {
    align-self: center;
  }

  .reviews-contact-section {
    grid-template-columns: 1fr;
    padding: 56px 18px;
  }

  .opinion-review-card {
    display: grid;
    gap: 16px;
    min-height: 0;
    padding: 18px;
    overflow: hidden;
  }

  .opinion-review-negotiator-block {
    position: static;
    justify-self: end;
    gap: 8px;
    max-width: 100%;
    order: 2;
  }

  .opinion-review-negotiator-name {
    max-width: min(170px, calc(100vw - 126px));
    font-size: 12px;
    text-align: right;
  }

  .opinion-review-negotiator {
    width: 50px;
    height: 50px;
    padding: 3px;
    border-width: 2px;
  }
}

.cookie-banner {
  position: fixed;
  right: clamp(12px, 3vw, 28px);
  bottom: clamp(12px, 3vw, 28px);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(720px, calc(100vw - 24px));
  padding: 16px;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(24, 24, 26, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(24, 24, 26, 0.22);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-content {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.cookie-banner-content p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.cookie-banner-content a {
  width: fit-content;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.cookie-banner button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.cookie-secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.cookie-primary {
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
}

.legal-notices {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.legal-notices h1 {
  color: var(--ink);
  margin-bottom: 40px;
  text-align: center;
}

.legal-notices h2 {
  color: var(--accent);
  margin-top: 30px;
  margin-bottom: 10px;
}

.legal-notices p {
  line-height: 1.6;
  margin-bottom: 20px;
}

.privacy-policy {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.privacy-policy h1 {
  color: var(--ink);
  margin-bottom: 40px;
  text-align: center;
}

.privacy-policy h2 {
  color: var(--accent);
  margin-top: 30px;
  margin-bottom: 10px;
}

.privacy-policy h3 {
  color: var(--accent-dark);
  margin-top: 20px;
  margin-bottom: 8px;
}

.privacy-policy p {
  line-height: 1.6;
  margin-bottom: 20px;
}

.privacy-policy ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.privacy-policy li {
  line-height: 1.6;
  margin-bottom: 8px;
}

.mediation {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.mediation h1 {
  color: var(--ink);
  margin-bottom: 40px;
  text-align: center;
}

.mediation p {
  line-height: 1.6;
  margin-bottom: 20px;
}

.mediation ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.mediation li {
  line-height: 1.6;
  margin-bottom: 8px;
}

.mediation a {
  color: var(--accent);
  text-decoration: underline;
}

.mediation a:hover {
  color: var(--accent-dark);
}

.mediation-logo {
  display: block;
  max-width: 320px;
  width: 100%;
  margin: 0 auto 30px;
}

.legal-back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  margin-bottom: 22px;
  color: #fff;
  background: var(--accent);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.legal-back-button:hover {
  background: var(--accent-dark);
}

.legal-link {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 700;
}

.legal-link:hover {
  color: var(--accent-dark);
}

/* Vendre son bien */
.sell-main {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 255, 255, 0.9), rgba(248, 248, 248, 0.92) 35%, rgba(241, 241, 241, 0.96) 100%),
    linear-gradient(125deg, rgba(0, 0, 0, 0.02) 25%, transparent 25%) 0 0/40px 40px,
    linear-gradient(315deg, rgba(0, 0, 0, 0.02) 25%, transparent 25%) 0 0/40px 40px;
}

.sell-main .hero {
  margin-bottom: 0;
}

.sell-section {
  padding: clamp(22px, 5vw, 54px) 16px 30px;
}

.sell-shell {
  width: min(980px, 100%);
  margin: 0 auto;
}

.sell-form {
  display: block;
}

.sell-step {
  display: none;
}

.sell-step.is-active {
  display: block;
}

.sell-header {
  text-align: center;
  margin-bottom: 26px;
}

.sell-header h2 {
  margin: 0;
  color: #565556;
  font-size: clamp(31px, 3vw, 47px);
  line-height: 1.07;
  text-transform: uppercase;
}

.sell-divider {
  display: block;
  width: 100px;
  height: 5px;
  margin: 16px auto 0;
  background: var(--accent);
}

.sell-header p {
  max-width: 650px;
  margin: 24px auto 0;
  color: #6f6f6f;
  font-size: 19px;
  font-style: italic;
  line-height: 1.3;
}

.sell-property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.sell-property-card {
  position: relative;
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 148px;
  padding: 18px 14px;
  color: #6e7d87;
  background: #f9f9f9;
  border: 1px solid #dadada;
  border-radius: 6px;
  box-shadow: 0 7px 17px rgba(24, 24, 26, 0.09);
  cursor: pointer;
  font: inherit;
  text-transform: uppercase;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.sell-property-card:hover {
  transform: translateY(-2px);
}

.sell-property-card.is-selected {
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(205, 59, 46, 0.2);
}

.sell-property-card.is-selected::after {
  content: "?";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #ca2222;
  border-radius: 4px;
  font-weight: 900;
}

.sell-icon {
  font-size: 41px;
  line-height: 1;
}

.sell-card-label {
  color: #7a7a7a;
  font-size: 17px;
  font-weight: 700;
}

.sell-address-label {
  margin-bottom: 8px;
  color: #6e7d87;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
}

.sell-address-wrap {
  position: relative;
  margin-bottom: 20px;
}

.sell-address-input {
  padding-right: 44px;
  border: 1px solid #7b8a95;
}

.sell-address-pin {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  pointer-events: none;
}

.sell-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.sell-progress {
  margin: 0;
  color: #9c9c9c;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
}

.sell-progress span {
  color: #d84a3b;
  font-weight: 800;
}

.sell-next,
.sell-prev,
.sell-submit {
  min-height: 48px;
  padding: 0 26px;
  border-radius: 5px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.sell-next,
.sell-submit {
  color: #fff;
  background: #0f0f10;
}

.sell-submit {
  background: var(--accent);
}

.sell-prev {
  color: #2c2c2c;
  background: #fff;
  border-color: #bbb;
}

.sell-contact-fields {
  display: grid;
  gap: 10px;
  width: min(740px, 100%);
  margin: 0 auto;
}

.sell-contact-fields input,
.sell-contact-fields textarea {
  border: 1px solid #7b8a95;
  font-size: 18px;
}

.sell-consent {
  width: min(740px, 100%);
  margin: 15px auto 0;
}

.sell-consent .toggle-text {
  font-size: 15px;
}

.sell-actions-step-2 {
  margin-top: 20px;
  justify-content: space-between;
  gap: 14px;
}

#sellFormStatus {
  max-width: 740px;
  margin: 14px auto 0;
  font-size: 15px;
  font-weight: 700;
}

#sellFormStatus[data-state="success"] {
  color: var(--green);
}

#sellFormStatus[data-state="error"] {
  color: #c3271f;
}

@media (max-width: 900px) {
  .sell-header h2 {
    font-size: clamp(23px, 4.3vw, 31px);
  }

  .sell-header p,
  .sell-contact-fields input,
  .sell-contact-fields textarea,
  .sell-consent .toggle-text,
  .sell-progress,
  .sell-next,
  .sell-prev,
  .sell-submit {
    font-size: 16px;
  }

  .sell-property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sell-actions,
  .sell-actions-step-2 {
    flex-direction: column;
  }

  .sell-next,
  .sell-prev,
  .sell-submit {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .sell-property-grid {
    grid-template-columns: 1fr;
  }
}

/* Modernisation page vente */
.sell-main {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(246, 247, 248, 0.92)),
    repeating-linear-gradient(135deg, rgba(24, 24, 26, 0.035) 0 1px, transparent 1px 28px);
}

.sell-section {
  padding: 42px 18px 42px;
}

.sell-shell {
  width: min(1040px, 100%);
}

.sell-header {
  margin-bottom: 28px;
}

.sell-kicker {
  width: fit-content;
  margin: 0 auto 12px;
  padding: 7px 12px;
  color: var(--accent);
  background: rgba(205, 59, 46, 0.1);
  border: 1px solid rgba(205, 59, 46, 0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.sell-header h2 {
  color: #202124;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: 0;
}

.sell-divider {
  width: 72px;
  height: 4px;
  border-radius: 999px;
}

.sell-header p:not(.sell-kicker) {
  max-width: 620px;
  color: #696969;
  font-size: 17px;
}

.sell-property-grid {
  gap: 14px;
  margin-bottom: 22px;
}

.sell-property-card {
  min-height: 150px;
  align-content: center;
  gap: 8px;
  background: #f8f8f8;
  border: 1px solid rgba(110, 125, 135, 0.12);
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(24, 24, 26, 0.09);
}

.sell-property-card:hover,
.sell-property-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(205, 59, 46, 0.48);
  box-shadow: 0 16px 34px rgba(24, 24, 26, 0.12);
  outline: 0;
}

.sell-property-card.is-selected {
  color: #6f8290;
  background: #f8f8f8;
  border-color: var(--accent);
  box-shadow: 0 18px 38px rgba(205, 59, 46, 0.18);
}

.sell-property-card.is-selected::after {
  content: "";
  top: 10px;
  right: 10px;
  background: var(--accent);
}

.sell-property-card.is-selected::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 17px;
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  z-index: 1;
}

.sell-icon {
  display: block;
  width: 72px;
  height: 72px;
  color: #6f8290;
}

.sell-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.sell-card-label {
  position: relative;
  color: #777;
  font-size: 13px;
  letter-spacing: 0;
  font-weight: 800;
}

.sell-address-label {
  display: block;
  width: min(760px, 100%);
  margin: 0 auto 8px;
  color: #555f66;
  font-size: 13px;
}

.sell-address-wrap {
  width: min(760px, 100%);
  margin: 0 auto 22px;
}

.sell-address-input {
  min-height: 54px;
  padding: 14px 54px 14px 16px;
  border: 1px solid rgba(110, 125, 135, 0.48);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(24, 24, 26, 0.06);
}

.sell-address-input:focus,
.sell-contact-fields input:focus,
.sell-contact-fields textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(205, 59, 46, 0.14);
}

.sell-address-pin {
  right: 18px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent);
  border-radius: 50% 50% 50% 0;
  transform: translateY(-62%) rotate(-45deg);
}

.sell-address-pin::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.sell-address-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  display: none;
  max-height: 260px;
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(110, 125, 135, 0.24);
  border-radius: 8px;
  box-shadow: 0 22px 50px rgba(24, 24, 26, 0.18);
}

.sell-address-suggestions.is-open {
  display: block;
}

.sell-address-suggestion {
  padding: 12px 13px;
  color: #2c2c2c;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.sell-address-suggestion:hover,
.sell-address-suggestion[aria-selected="true"] {
  color: var(--accent-dark);
  background: rgba(205, 59, 46, 0.1);
}

.sell-next,
.sell-prev,
.sell-submit {
  border-radius: 8px;
  box-shadow: 0 12px 22px rgba(24, 24, 26, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.sell-next:hover,
.sell-prev:hover,
.sell-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(24, 24, 26, 0.16);
}

.sell-next {
  background: #18181a;
}

.sell-submit {
  background: var(--accent);
}

.sell-contact-fields input,
.sell-contact-fields textarea {
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(24, 24, 26, 0.05);
}

@media (max-width: 900px) {
  .sell-section {
    padding-top: 28px;
  }

  .sell-header h2 {
    font-size: 27px;
  }

  .sell-property-card {
    min-height: 128px;
  }
}
