:root {
  color-scheme: light;
  --ink: #17191f;
  --muted: #62676f;
  --line: #d9dbd2;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --soft: #eef2ec;
  --gold: #a9894b;
  --garnet: #792f42;
  --teal: #176b67;
  --navy: #25344d;
  --success: #1f7a4d;
  --danger: #a13c35;
  --shadow: 0 18px 48px rgba(23, 25, 31, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(238, 242, 236, 0.72), rgba(251, 250, 246, 0.96) 34rem),
    var(--paper);
  color: var(--ink);
}

.top-contact-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(13rem, 1fr) auto auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.55rem clamp(0.85rem, 3vw, 1.6rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(23, 25, 31, 0.94);
  color: #fff;
  box-shadow: 0 14px 34px rgba(23, 25, 31, 0.18);
  backdrop-filter: blur(16px);
}

.top-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  min-width: 0;
  color: #fff;
  text-decoration: none;
}

.top-brand img {
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  border-radius: 5px;
  object-fit: cover;
  background: #17191f;
}

.top-brand span {
  display: grid;
  gap: 0.04rem;
  min-width: 0;
}

.top-brand strong {
  font-size: 0.92rem;
  font-weight: 950;
  text-transform: uppercase;
}

.top-brand small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.top-mail {
  justify-self: center;
  min-width: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 850;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.top-intro {
  justify-self: center;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.top-call {
  min-height: 2.45rem;
  padding: 0.58rem 0.78rem;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 0.8fr);
  min-height: 30rem;
  background:
    radial-gradient(circle at 12% 12%, rgba(169, 137, 75, 0.18), transparent 28%),
    linear-gradient(135deg, #17191f 0%, #25344d 54%, #176b67 100%);
  color: #fff;
  overflow: hidden;
}

.brand-block {
  align-self: end;
  padding: clamp(2rem, 5vw, 5rem);
  z-index: 1;
}

.agency-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  margin-bottom: 1.25rem;
  color: #fff;
  text-decoration: none;
}

.agency-logo img {
  width: 5.15rem;
  height: 5.15rem;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  background: #17191f;
  box-shadow: inset 0 0 0 1px rgba(169, 137, 75, 0.45), 0 18px 44px rgba(0, 0, 0, 0.2);
}

.agency-logo-text {
  display: grid;
  gap: 0.16rem;
  color: #fff;
}

.agency-logo-text strong {
  display: block;
  font-size: 1.06rem;
  font-weight: 950;
  text-transform: uppercase;
}

.agency-logo-text small {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.kicker,
.status-label {
  margin: 0 0 0.5rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-block h1,
.command-panel h2,
.request-heading h2,
.contacts-toolbar h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.brand-block h1 {
  max-width: 13ch;
  font-size: clamp(2.7rem, 7vw, 5.7rem);
}

.headline-copy {
  max-width: 42rem;
  margin: 1.25rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
  line-height: 1.65;
}

.advisor-line {
  margin: -0.4rem 0 1.35rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.98rem;
  font-weight: 850;
}

.region-panel {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
}

.region-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 25, 31, 0.92), rgba(23, 25, 31, 0.08) 45%),
    linear-gradient(180deg, rgba(23, 25, 31, 0.04), rgba(23, 25, 31, 0.5));
}

.region-panel img {
  width: 100%;
  height: 100%;
  min-height: 30rem;
  object-fit: cover;
  display: block;
}

.region-signature {
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 1;
  display: grid;
  gap: 0.15rem;
  max-width: 18rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(23, 25, 31, 0.54);
  color: #fff;
  padding: 0.9rem 1rem;
  backdrop-filter: blur(10px);
}

.region-signature span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.region-signature strong {
  font-size: 1rem;
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: -3.5rem auto 4rem;
  position: relative;
  z-index: 2;
}

.command-panel,
.request-section,
.contacts-section {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(217, 219, 210, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.command-panel {
  padding: 1.25rem;
}

.commercial-alert {
  display: grid;
  grid-template-columns: minmax(12rem, 0.48fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin: 1rem 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(169, 137, 75, 0.34);
  border-bottom: 1px solid rgba(169, 137, 75, 0.34);
}

.commercial-alert h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.commercial-alert p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.55;
}

.agency-proof {
  position: relative;
  display: block;
  min-height: 21rem;
  margin: 1.2rem 0;
  overflow: hidden;
  border: 1px solid rgba(217, 219, 210, 0.95);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(23, 25, 31, 0.94), rgba(23, 25, 31, 0.72) 52%, rgba(23, 25, 31, 0.18)),
    url("assets/brand/agence-3a.jpg") center / cover no-repeat;
  color: #fff;
  box-shadow: var(--shadow);
}

.agency-proof::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 82% 24%, rgba(255, 255, 255, 0.16), transparent 18rem);
  pointer-events: none;
}

.agency-proof-content {
  position: relative;
  z-index: 1;
  max-width: 39rem;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.agency-proof-content h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.agency-proof-content p:not(.status-label) {
  margin: 1rem 0 1.25rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.62;
}

.agency-proof-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.panel-heading,
.request-heading,
.contacts-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.command-panel h2,
.request-heading h2,
.contacts-toolbar h2 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.result-count {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.15rem;
}

.filter-submit {
  align-self: end;
  min-height: 2.8rem;
}

.filter-submit.is-pending {
  border-color: rgba(169, 137, 75, 0.72);
  box-shadow: 0 0 0 3px rgba(169, 137, 75, 0.14);
}

label {
  display: grid;
  gap: 0.42rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  min-height: 2.8rem;
  padding: 0.72rem 0.78rem;
}

textarea {
  resize: vertical;
  min-height: 5.4rem;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(23, 107, 103, 0.24);
  outline-offset: 2px;
}

.view-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.tab-button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  min-height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 0.72rem 0.92rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.icon-button span:last-child,
.tab-button {
  min-width: 0;
}

.tab-button:hover,
.icon-button:hover {
  transform: translateY(-1px);
  border-color: rgba(23, 25, 31, 0.28);
}

.tab-button.active,
.icon-button.primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.icon {
  width: 1.08rem;
  height: 1.08rem;
  flex: 0 0 auto;
}

.view-section {
  display: none;
  margin-top: 1.1rem;
}

.view-section.active {
  display: block;
}

.recommendation-bar {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.1rem 0 0.85rem;
}

.recommendation-pill {
  flex: 0 0 auto;
  border: 1px solid rgba(23, 107, 103, 0.2);
  background: rgba(23, 107, 103, 0.08);
  color: var(--teal);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  font-size: 0.84rem;
  font-weight: 900;
}

.program-list {
  display: grid;
  gap: 1rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.intro-card {
  display: grid;
  grid-template-columns: minmax(10rem, 0.62fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.9rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(23, 25, 31, 0.08);
}

.intro-media {
  min-height: 13rem;
  border-radius: 6px;
  overflow: hidden;
  background: var(--soft);
}

.intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.intro-card h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.intro-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.85rem 0;
}

.intro-metrics span {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  border: 1px solid rgba(217, 219, 210, 0.92);
  border-radius: 999px;
  background: #f7f7f3;
  color: var(--ink);
  padding: 0.36rem 0.58rem;
  font-size: 0.78rem;
  font-weight: 900;
}

.intro-metrics .price-pill {
  display: inline-grid;
  gap: 0.12rem;
  border-color: rgba(121, 47, 66, 0.28);
  background: rgba(121, 47, 66, 0.09);
  color: var(--garnet);
}

.price-pill strong,
.price-pill small {
  display: block;
}

.price-pill small,
.metric small,
.map-detail-meta small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.25;
}

.detail-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: center;
}

.program-card {
  display: grid;
  grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1fr);
  gap: 1.2rem;
  padding: 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(23, 25, 31, 0.08);
}

.media-column {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.program-media {
  position: relative;
  min-height: 18rem;
  overflow: hidden;
  border-radius: 6px;
  background: var(--soft);
}

.program-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}

.gallery-strip a {
  display: block;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--soft);
}

.gallery-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.badge-row {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  border-radius: 999px;
  padding: 0.38rem 0.62rem;
  background: var(--soft);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 900;
}

.badge.warning {
  background: rgba(121, 47, 66, 0.11);
  color: var(--garnet);
}

.program-card h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.4rem, 2vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.address-line,
.muted {
  color: var(--muted);
}

.address-line {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
  font-weight: 700;
}

.price-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1rem 0;
}

.metric {
  border-left: 3px solid var(--gold);
  padding: 0.15rem 0 0.15rem 0.72rem;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin-top: 0.18rem;
  font-size: 1rem;
}

.metric small {
  display: block;
  margin-top: 0.2rem;
}

.price-metric {
  border-left-color: var(--garnet);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0 0 1rem;
}

.facts-grid div {
  background: #f7f7f3;
  border: 1px solid rgba(217, 219, 210, 0.88);
  border-radius: 6px;
  padding: 0.72rem;
}

.facts-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.facts-grid strong {
  display: block;
  margin-top: 0.24rem;
  line-height: 1.3;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0.95rem 0;
}

.content-block h4,
.announcement h4,
.section-mini-heading h4,
.nearby-block h4 {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--garnet);
}

.lot-section,
.nearby-block,
.technical-sheet {
  margin: 1rem 0;
}

.section-mini-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.55rem;
}

.section-mini-heading span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.lot-table {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.lot-row {
  display: grid;
  grid-template-columns: 0.75fr 0.45fr 0.7fr 1.55fr 0.7fr;
  gap: 0.65rem;
  align-items: center;
  padding: 0.72rem;
  border-top: 1px solid rgba(217, 219, 210, 0.82);
}

.lot-row:first-child {
  border-top: 0;
}

.lot-head {
  background: #f1f3ed;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lot-row span {
  min-width: 0;
}

.lot-row small {
  display: block;
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}

.lot-disclaimer {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.45;
}

mark {
  border-radius: 999px;
  background: rgba(23, 107, 103, 0.1);
  color: var(--teal);
  padding: 0.28rem 0.48rem;
  font-weight: 900;
}

.text-link {
  color: var(--teal);
  font-weight: 900;
}

.technical-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.technical-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 0.9rem;
}

.technical-card h5 {
  margin: 0 0 0.55rem;
  color: var(--navy);
  font-size: 0.95rem;
}

.technical-card ul {
  margin: 0;
  padding-left: 1.05rem;
  line-height: 1.5;
}

.mini-action {
  min-height: 2.25rem;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 900;
}

.nearby-block {
  border-left: 3px solid var(--teal);
  padding-left: 0.9rem;
}

.nearby-block ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink);
  line-height: 1.55;
}

.content-block ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink);
  line-height: 1.55;
}

.announcement {
  background: #f5f7f2;
  border: 1px solid rgba(217, 219, 210, 0.9);
  border-radius: 6px;
  padding: 0.95rem;
  margin: 1rem 0;
}

.announcement p {
  margin: 0;
  line-height: 1.62;
}

.doc-row,
.card-actions,
.form-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  align-items: center;
}

.doc-button {
  min-height: 2.45rem;
  border: 1px solid rgba(23, 25, 31, 0.16);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 0.58rem 0.7rem;
  font-weight: 900;
  text-decoration: none;
}

.doc-button.disabled {
  color: #8a8e93;
  background: #f3f3f1;
  cursor: not-allowed;
}

.card-actions {
  margin-top: 1rem;
}

.map-showcase-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin: 0 0 1rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(217, 219, 210, 0.9);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(23, 25, 31, 0.98), rgba(37, 52, 77, 0.94)),
    var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.map-showcase-heading h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
}

.map-showcase-heading p {
  margin: 0;
}

.map-showcase-heading > p {
  max-width: 24rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  line-height: 1.45;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(21rem, 0.52fr);
  gap: 1rem;
  align-items: stretch;
}

.map-canvas,
.map-details {
  border: 1px solid rgba(217, 219, 210, 0.92);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(23, 25, 31, 0.14);
}

.map-canvas {
  position: relative;
  min-height: 38rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(13, 24, 34, 0.98), rgba(36, 44, 55, 0.98)),
    #101821;
  isolation: isolate;
}

.map-canvas::before {
  content: "";
  position: absolute;
  inset: 1rem;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  pointer-events: none;
}

.map-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 74% 32%, rgba(255, 220, 156, 0.16), transparent 19rem),
    linear-gradient(90deg, rgba(6, 10, 16, 0.36), transparent 42%, rgba(6, 10, 16, 0.22)),
    linear-gradient(180deg, rgba(6, 10, 16, 0.08), rgba(6, 10, 16, 0.34));
  opacity: 1;
  pointer-events: none;
}

.map-premium-label {
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  z-index: 5;
  display: grid;
  gap: 0.08rem;
  padding: 0.72rem 0.86rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(23, 25, 31, 0.78);
  color: #fff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.map-premium-label span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.map-premium-label strong {
  font-size: 0.9rem;
  line-height: 1.1;
}

.map-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 8px;
  background: #101821;
}

.satellite-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.08) brightness(0.78);
  transform: scale(1.01);
}

.map-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 33%, rgba(255, 216, 142, 0.12), transparent 18rem),
    radial-gradient(circle at 20% 20%, rgba(55, 97, 124, 0.14), transparent 17rem),
    linear-gradient(180deg, rgba(6, 10, 16, 0.08), rgba(6, 10, 16, 0.26));
  pointer-events: none;
}

.coast-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.2));
}

.sea-shape {
  fill: #173d55;
}

.land-shape {
  fill: #ece5d4;
}

.coast-line {
  fill: none;
  stroke: rgba(236, 228, 204, 0.88);
  stroke-width: 5;
  stroke-linecap: round;
}

.road {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.main-road {
  stroke: rgba(121, 47, 66, 0.72);
  stroke-width: 4;
}

.secondary-road {
  stroke: rgba(169, 137, 75, 0.64);
  stroke-width: 3;
  stroke-dasharray: 8 9;
}

.forest {
  fill: rgba(23, 107, 103, 0.18);
}

.muted-forest {
  fill: rgba(23, 107, 103, 0.12);
}

.urban-core {
  fill: rgba(121, 47, 66, 0.16);
  stroke: rgba(121, 47, 66, 0.42);
  stroke-width: 2;
}

.urban-ring {
  fill: none;
  stroke: rgba(169, 137, 75, 0.55);
  stroke-width: 3;
  stroke-dasharray: 10 10;
}

.map-label {
  fill: rgba(23, 25, 31, 0.66);
  font-size: 20px;
  font-weight: 900;
}

.sea-label {
  fill: rgba(255, 255, 255, 0.58);
  font-size: 25px;
}

.muted-label {
  fill: rgba(23, 25, 31, 0.38);
  font-size: 17px;
}

.map-marker {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  z-index: 6;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  min-width: 8.4rem;
  min-height: 3.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.68rem;
  box-shadow: 0 18px 38px rgba(23, 25, 31, 0.24);
  white-space: nowrap;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.marker-dot {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(121, 47, 66, 0.1);
  color: var(--garnet);
}

.marker-dot .icon {
  width: 1rem;
  height: 1rem;
}

.marker-text {
  display: grid;
  gap: 0.05rem;
  line-height: 1.05;
  text-align: left;
}

.marker-text small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  max-width: 7.2rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.map-marker.active {
  border-color: rgba(255, 255, 255, 0.5);
  background: linear-gradient(135deg, var(--ink), #2d2630);
  color: #fff;
  transform: translate(-50%, -50%) scale(1.03);
  box-shadow: 0 20px 44px rgba(121, 47, 66, 0.36);
}

.map-marker.active .marker-dot {
  background: rgba(169, 137, 75, 0.24);
  color: #f2deb0;
}

.map-marker.active .marker-text small {
  color: rgba(255, 255, 255, 0.68);
}

.map-details {
  padding: 1.05rem;
  background:
    linear-gradient(180deg, #fff, #f7f7f3);
}

.map-details h3 {
  margin: 0 0 0.55rem;
  font-size: 1.35rem;
}

.map-detail-card {
  display: grid;
  gap: 0.85rem;
}

.map-detail-hero {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--ink);
}

.map-detail-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  opacity: 0.94;
}

.map-detail-hero span {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  max-width: calc(100% - 1.5rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(23, 25, 31, 0.78);
  color: #fff;
  padding: 0.38rem 0.58rem;
  font-size: 0.78rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.map-detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.map-detail-meta div {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.7rem;
  background: #f8f8f4;
}

.map-detail-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.map-detail-meta strong {
  display: block;
  margin-top: 0.2rem;
}

.map-detail-meta small {
  display: block;
  margin-top: 0.2rem;
}

.map-program-rail {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.95rem;
}

.map-program-choice {
  width: 100%;
  border: 1px solid rgba(217, 219, 210, 0.95);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 0.72rem 0.78rem;
  text-align: left;
  box-shadow: 0 10px 22px rgba(23, 25, 31, 0.06);
}

.map-program-choice span,
.map-program-choice small {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.map-program-choice strong {
  display: block;
  margin: 0.18rem 0;
  font-size: 0.95rem;
}

.map-program-choice.active {
  border-color: rgba(121, 47, 66, 0.32);
  background: #fbf7f1;
  box-shadow: inset 3px 0 0 var(--garnet), 0 10px 22px rgba(23, 25, 31, 0.08);
}

.request-section {
  margin-top: 1rem;
  padding: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 250, 246, 0.96));
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.hidden-field {
  display: none;
}

.full-span {
  grid-column: 1 / -1;
}

.segmented {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.segmented legend {
  width: 100%;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.segmented label {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--ink);
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented span {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.65rem 1rem;
  font-weight: 900;
  background: #fff;
}

.segmented input:checked + span {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.consent {
  display: flex;
  align-items: start;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 780;
  line-height: 1.35;
}

.consent input {
  width: 1.1rem;
  min-height: 1.1rem;
  margin-top: 0.12rem;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.35;
}

.form-status[data-tone="success"] {
  color: var(--success);
}

.form-status[data-tone="error"] {
  color: var(--muted);
}

.form-status[data-tone="pending"] {
  color: var(--navy);
}

.lead-form.is-sending button[type="submit"] {
  opacity: 0.72;
  cursor: wait;
}

.contacts-section {
  padding: 1.25rem;
}

.lead-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.lead-item {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.9rem;
  background: #fff;
}

.lead-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.lead-meta {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 5.4rem;
  transform: translateX(-50%) translateY(120%);
  max-width: min(32rem, calc(100% - 2rem));
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
  z-index: 10;
}

.floating-call-button {
  position: fixed;
  right: clamp(0.75rem, 3vw, 1.5rem);
  bottom: clamp(0.75rem, 3vw, 1.5rem);
  z-index: 25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.52rem;
  min-height: 3.05rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--garnet), #17191f);
  color: #fff;
  padding: 0.86rem 1.08rem;
  font-weight: 950;
  box-shadow: 0 18px 46px rgba(23, 25, 31, 0.28);
  transition: transform 160ms ease;
}

.floating-call-button:hover {
  transform: translateY(-1px);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.empty-state {
  border: 1px dashed rgba(23, 25, 31, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  padding: 2rem;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.pro-only {
  display: none;
}

body.pro-mode .pro-only {
  display: inline-flex;
}

body.pro-mode section.pro-only {
  display: none;
}

body.pro-mode section.pro-only.active {
  display: block;
}

.thanks-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 12%, rgba(169, 137, 75, 0.22), transparent 24rem),
    linear-gradient(135deg, #17191f 0%, #25344d 52%, #176b67 100%);
  color: #fff;
}

.thanks-shell {
  display: grid;
  align-content: center;
  gap: 1.4rem;
  min-height: 100vh;
  width: min(720px, calc(100% - 2rem));
  margin: 0 auto;
}

.thanks-panel {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: clamp(1.25rem, 5vw, 2.4rem);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.thanks-panel h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.thanks-panel p:not(.status-label) {
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.6;
}

@media (max-width: 920px) {
  .top-contact-bar {
    grid-template-columns: 1fr auto;
  }

  .top-mail,
  .top-intro {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr;
  }

  .region-panel {
    min-height: 16rem;
  }

  .region-panel img {
    min-height: 18rem;
  }

  .brand-block h1 {
    max-width: 11ch;
  }

  .agency-proof {
    min-height: 19rem;
    background:
      linear-gradient(180deg, rgba(23, 25, 31, 0.9), rgba(23, 25, 31, 0.74)),
      url("assets/brand/agence-3a.jpg") center / cover no-repeat;
  }

  main {
    margin-top: -2rem;
  }

  .filters,
  .commercial-alert,
  .intro-grid,
  .intro-card,
  .program-card,
  .map-layout,
  .lead-form,
  .content-grid {
    grid-template-columns: 1fr;
  }

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

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

  .lot-row {
    grid-template-columns: 1fr 1fr;
  }

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

  .lot-head {
    display: none;
  }

  .program-media {
    min-height: 15rem;
  }

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

  .map-marker {
    min-width: 6.2rem;
    padding: 0.48rem 0.58rem;
  }

  .marker-text small {
    max-width: 5rem;
  }
}

@media (max-width: 560px) {
  .top-contact-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
    padding: 0.48rem 0.72rem;
  }

  .top-brand {
    justify-content: flex-start;
  }

  .top-brand img {
    width: 1.9rem;
    height: 1.9rem;
  }

  .top-brand strong {
    font-size: 0.78rem;
  }

  .top-brand small {
    font-size: 0.64rem;
  }

  .top-intro,
  .top-mail {
    display: none;
  }

  .top-call {
    width: auto;
    min-width: 2.35rem;
    min-height: 2.35rem;
    padding: 0.52rem;
  }

  .top-call span:last-child {
    display: none;
  }

  .brand-block {
    padding: 2rem 1rem 2.4rem;
  }

  .brand-block h1 {
    font-size: 2.55rem;
  }

  .headline-copy {
    font-size: 1rem;
  }

  .agency-logo {
    align-items: center;
  }

  .agency-logo img {
    width: 4.5rem;
    height: 4.5rem;
  }

  .agency-logo-text strong {
    font-size: 0.98rem;
  }

  .agency-proof-content {
    padding: 1rem;
  }

  main,
  .site-footer {
    width: min(100% - 1rem, 1180px);
  }

  .panel-heading,
  .request-heading,
  .contacts-toolbar {
    align-items: start;
    flex-direction: column;
  }

  .command-panel,
  .request-section,
  .contacts-section,
  .intro-card,
  .program-card {
    padding: 0.85rem;
  }

  .tab-button,
  .icon-button,
  .doc-button {
    width: 100%;
  }

  .price-strip {
    grid-template-columns: 1fr;
  }

  .floating-call-button {
    right: 0.72rem;
    bottom: calc(0.72rem + env(safe-area-inset-bottom));
    left: auto;
    width: auto;
    max-width: calc(100% - 1.44rem);
    min-height: 2.85rem;
    border-radius: 999px;
    padding: 0.74rem 0.92rem;
    font-size: 0.86rem;
  }

  .contact-actions,
  .agency-proof-actions,
  .doc-row,
  .card-actions,
  .form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding-bottom: 4.6rem;
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .map-canvas {
    min-height: 30rem;
  }

  .map-premium-label {
    top: 0.65rem;
    left: 0.65rem;
    padding: 0.55rem 0.62rem;
  }

  .map-marker {
    min-width: 7.35rem;
    min-height: 2.55rem;
    gap: 0.36rem;
    padding: 0.38rem 0.48rem;
    white-space: normal;
  }

  .marker-dot {
    width: 1.55rem;
    height: 1.55rem;
  }

  .marker-dot .icon {
    width: 0.82rem;
    height: 0.82rem;
  }

  .marker-text {
    display: grid;
    min-width: 0;
  }

  .marker-text strong,
  .marker-text small {
    max-width: 4.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .marker-text strong {
    font-size: 0.67rem;
  }

  .marker-text small {
    font-size: 0.56rem;
  }

  .map-marker[data-map-id="boulogne-parc-saint-martin"] {
    transform: translate(-18%, -124%);
  }

  .map-marker[data-map-id="le-touquet-aljo"] {
    transform: translate(-92%, 10%);
  }

  .map-marker[data-map-id="cucq-rosalie"] {
    transform: translate(-6%, -112%);
  }

  .map-marker[data-map-id="dunkerque-hoya"] {
    transform: translate(-32%, -126%);
  }

  .map-marker[data-map-id="marquette-arti"] {
    transform: translate(-42%, -50%);
  }

  .facts-grid,
  .gallery-strip {
    grid-template-columns: 1fr 1fr;
  }
}
