.nox-dvf {
  --nox-dvf-app-bg: #ffffff;
  --nox-dvf-filter-bg: #f5f5f2;
  --nox-dvf-panel-bg: #ffffff;
  --nox-dvf-card: #ffffff;
  --nox-dvf-title-color: #19211e;
  --nox-dvf-text: #19211e;
  --nox-dvf-muted: #68716d;
  --nox-dvf-line: #dde3df;
  --nox-dvf-accent: #315f4e;
  --nox-dvf-accent-soft: #e8f0ed;
  --nox-dvf-button-bg: #19211e;
  --nox-dvf-button-text: #ffffff;
  --nox-dvf-danger: #8f2c2c;
  --nox-dvf-radius: 0px;
  --nox-dvf-font-family: inherit;
  --nox-dvf-title-size-desktop: 52px;
  --nox-dvf-title-size-tablet: 42px;
  --nox-dvf-title-size-mobile: 30px;
  --nox-dvf-text-size-desktop: 16px;
  --nox-dvf-text-size-tablet: 16px;
  --nox-dvf-text-size-mobile: 15px;
  --nox-dvf-title-size: var(--nox-dvf-title-size-desktop);
  --nox-dvf-text-size: var(--nox-dvf-text-size-desktop);
  --nox-dvf-text-xxs: max(9px, calc(var(--nox-dvf-text-size) - 6px));
  --nox-dvf-text-xs: max(10px, calc(var(--nox-dvf-text-size) - 5px));
  --nox-dvf-text-sm: max(11px, calc(var(--nox-dvf-text-size) - 4px));
  --nox-dvf-text-md: max(12px, calc(var(--nox-dvf-text-size) - 2px));
  --nox-dvf-text-lg: calc(var(--nox-dvf-text-size) + 1px);
  --nox-dvf-text-xl: calc(var(--nox-dvf-text-size) + 4px);
  --nox-dvf-map-height-desktop: 680px;
  --nox-dvf-map-height-tablet: 560px;
  --nox-dvf-map-height-mobile: 420px;
  --nox-dvf-map-height: var(--nox-dvf-map-height-desktop);
  --nox-dvf-map-note-height: 50px;
  --nox-dvf-map-column: 1.75fr;
  --nox-dvf-list-column: 1fr;
  --nox-dvf-padding-desktop: 0px;
  --nox-dvf-padding-tablet: 0px;
  --nox-dvf-padding-mobile: 0px;
  --nox-dvf-padding: var(--nox-dvf-padding-desktop);
  background: var(--nox-dvf-app-bg);
  border-radius: var(--nox-dvf-radius);
  color: var(--nox-dvf-text);
  font-family: var(--nox-dvf-font-family);
  font-size: var(--nox-dvf-text-size);
  margin-inline: auto;
  padding: var(--nox-dvf-padding);
  width: 100%;
}

.nox-dvf *,
.nox-dvf *::before,
.nox-dvf *::after {
  box-sizing: border-box;
}

.nox-dvf [hidden] {
  display: none !important;
}

.nox-dvf-visually-hidden {
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  overflow: hidden !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

.nox-dvf button,
.nox-dvf input,
.nox-dvf select {
  font-family: inherit;
}

.nox-dvf__header {
  align-items: flex-end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.nox-dvf__heading {
  min-width: 0;
}

.nox-dvf__eyebrow {
  color: var(--nox-dvf-accent);
  font-size: var(--nox-dvf-text-sm);
  font-weight: 750;
  letter-spacing: 0.1em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.nox-dvf__title {
  color: var(--nox-dvf-title-color);
  font-size: var(--nox-dvf-title-size);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0;
}

.nox-dvf__intro {
  color: var(--nox-dvf-muted);
  font-size: var(--nox-dvf-text-size);
  line-height: 1.6;
  margin: 13px 0 0;
  max-width: 780px;
}

.nox-dvf__status {
  background: var(--nox-dvf-accent-soft);
  background: color-mix(in srgb, var(--nox-dvf-accent) 11%, white);
  border: 1px solid color-mix(in srgb, var(--nox-dvf-accent) 17%, white);
  border-radius: 999px;
  color: var(--nox-dvf-accent);
  flex: 0 0 auto;
  font-size: var(--nox-dvf-text-sm);
  font-weight: 750;
  line-height: 1.25;
  max-width: 280px;
  padding: 9px 13px;
  text-align: center;
}

.nox-dvf__stats {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
}

.nox-dvf-stat {
  align-items: baseline;
  background: var(--nox-dvf-card);
  border: 1px solid var(--nox-dvf-line);
  border-radius: max(0px, calc(var(--nox-dvf-radius) - 6px));
  display: flex;
  gap: 8px;
  min-width: 0;
  padding: 12px 14px;
}

.nox-dvf-stat strong {
  color: var(--nox-dvf-accent);
  font-size: var(--nox-dvf-text-xl);
  letter-spacing: -0.025em;
  line-height: 1;
}

.nox-dvf-stat span {
  color: var(--nox-dvf-muted);
  font-size: var(--nox-dvf-text-xs);
  line-height: 1.25;
}

.nox-dvf__filters {
  align-items: end;
  background: var(--nox-dvf-filter-bg);
  border: 1px solid var(--nox-dvf-line);
  border-radius: var(--nox-dvf-radius);
  display: grid;
  gap: 13px;
  grid-template-columns: minmax(130px, 0.65fr) minmax(165px, 0.85fr) minmax(240px, 1.55fr) auto;
  margin-bottom: 18px;
  padding: 15px;
}

.nox-dvf__field {
  display: grid;
  gap: 7px;
  margin: 0;
  min-width: 0;
}

.nox-dvf__field > span {
  color: var(--nox-dvf-muted);
  font-size: var(--nox-dvf-text-xs);
  font-weight: 750;
  letter-spacing: 0.025em;
}

.nox-dvf .nox-dvf__field select,
.nox-dvf .nox-dvf__field input {
  appearance: none;
  background-color: var(--nox-dvf-card);
  border: 1px solid var(--nox-dvf-line);
  border-radius: max(0px, calc(var(--nox-dvf-radius) - 9px));
  box-shadow: none;
  color: var(--nox-dvf-text);
  font-size: var(--nox-dvf-text-md);
  height: 46px;
  line-height: 1;
  margin: 0;
  min-width: 0;
  outline: none;
  padding: 0 13px;
  width: 100%;
}

.nox-dvf .nox-dvf__field select {
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 17px) 20px,
    calc(100% - 12px) 20px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  padding-right: 34px;
}

.nox-dvf .nox-dvf__field select:focus,
.nox-dvf .nox-dvf__field input:focus,
.nox-dvf .nox-dvf__reset:focus-visible,
.nox-dvf .nox-dvf-card:focus-visible,
.nox-dvf .nox-dvf__more:focus-visible,
.nox-dvf .nox-dvf__empty button:focus-visible {
  border-color: var(--nox-dvf-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--nox-dvf-accent) 22%, transparent);
  outline: 0;
}

.nox-dvf .nox-dvf__reset {
  appearance: none;
  background: var(--nox-dvf-button-bg);
  border: 1px solid var(--nox-dvf-button-bg);
  border-radius: max(0px, calc(var(--nox-dvf-radius) - 9px));
  box-shadow: none;
  color: var(--nox-dvf-button-text);
  cursor: pointer;
  font-size: var(--nox-dvf-text-md);
  font-weight: 750;
  height: 46px;
  line-height: 1;
  margin: 0;
  padding: 0 17px;
  text-decoration: none;
  white-space: nowrap;
}

.nox-dvf .nox-dvf__reset:hover {
  background: var(--nox-dvf-accent);
  border-color: var(--nox-dvf-accent);
  color: #ffffff;
}

.nox-dvf__layout {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, var(--nox-dvf-map-column)) minmax(330px, var(--nox-dvf-list-column));
}

.nox-dvf--map-right .nox-dvf__layout {
  grid-template-columns: minmax(330px, var(--nox-dvf-list-column)) minmax(0, var(--nox-dvf-map-column));
}

.nox-dvf--map-right .nox-dvf__map-wrap {
  order: 2;
}

.nox-dvf--map-right .nox-dvf__panel {
  order: 1;
}

.nox-dvf__map-wrap,
.nox-dvf__panel {
  background: var(--nox-dvf-panel-bg);
  border: 1px solid var(--nox-dvf-line);
  border-radius: var(--nox-dvf-radius);
  min-width: 0;
  overflow: hidden;
}

.nox-dvf__map-wrap {
  display: flex;
  flex-direction: column;
}

.nox-dvf__map {
  background: var(--nox-dvf-filter-bg);
  height: var(--nox-dvf-map-height);
  min-height: 300px;
  width: 100%;
  z-index: 1;
}

.nox-dvf__map-note {
  align-items: center;
  background: var(--nox-dvf-panel-bg);
  color: var(--nox-dvf-muted);
  display: flex;
  font-size: var(--nox-dvf-text-xs);
  line-height: 1.4;
  margin: 0;
  min-height: var(--nox-dvf-map-note-height);
  padding: 10px 14px;
}

.nox-dvf__panel {
  display: flex;
  flex-direction: column;
  height: calc(var(--nox-dvf-map-height) + var(--nox-dvf-map-note-height));
}

.nox-dvf__panel-head {
  align-items: baseline;
  background: var(--nox-dvf-panel-bg);
  border-bottom: 1px solid var(--nox-dvf-line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-height: 58px;
  padding: 17px 18px;
}

.nox-dvf__panel-head strong {
  color: var(--nox-dvf-title-color);
  font-size: var(--nox-dvf-text-md);
}

.nox-dvf__panel-head span {
  color: var(--nox-dvf-muted);
  font-size: var(--nox-dvf-text-xs);
  text-align: right;
}

.nox-dvf__results {
  background: var(--nox-dvf-panel-bg);
  display: grid;
  gap: 10px;
  overflow-y: auto;
  padding: 12px;
  scrollbar-gutter: stable;
}

.nox-dvf .nox-dvf-card {
  appearance: none;
  background: var(--nox-dvf-card);
  border: 1px solid var(--nox-dvf-line);
  border-radius: max(0px, calc(var(--nox-dvf-radius) - 5px));
  box-shadow: none;
  color: var(--nox-dvf-text);
  cursor: pointer;
  display: grid;
  gap: 7px;
  line-height: 1.35;
  margin: 0;
  padding: 14px;
  text-align: left;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

.nox-dvf .nox-dvf-card:hover,
.nox-dvf .nox-dvf-card.is-selected {
  background: var(--nox-dvf-card);
  border-color: var(--nox-dvf-accent);
  box-shadow: 0 10px 28px rgba(25, 33, 30, 0.08);
  color: var(--nox-dvf-text);
  transform: translateY(-1px);
}

.nox-dvf-card__topline {
  align-items: baseline;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.nox-dvf-card__topline strong {
  color: var(--nox-dvf-title-color);
  font-size: var(--nox-dvf-text-lg);
  letter-spacing: -0.02em;
}

.nox-dvf-card__topline time {
  color: var(--nox-dvf-muted);
  flex: 0 0 auto;
  font-size: var(--nox-dvf-text-xs);
}

.nox-dvf-card__type {
  color: var(--nox-dvf-accent);
  font-size: var(--nox-dvf-text-xs);
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.nox-dvf-card__address {
  color: var(--nox-dvf-title-color);
  font-size: var(--nox-dvf-text-md);
  font-weight: 680;
  line-height: 1.38;
}

.nox-dvf-card__details {
  color: var(--nox-dvf-muted);
  font-size: var(--nox-dvf-text-sm);
  line-height: 1.45;
}

.nox-dvf-card__complex {
  color: var(--nox-dvf-muted);
  font-size: var(--nox-dvf-text-xxs);
  font-style: italic;
}

.nox-dvf-card__action {
  color: var(--nox-dvf-accent);
  font-size: var(--nox-dvf-text-xs);
  font-weight: 780;
  margin-top: 2px;
}

.nox-dvf-card__action--muted {
  color: var(--nox-dvf-muted);
}

.nox-dvf .nox-dvf__more {
  appearance: none;
  background: var(--nox-dvf-filter-bg);
  border: 1px dashed var(--nox-dvf-line);
  border-radius: max(0px, calc(var(--nox-dvf-radius) - 7px));
  box-shadow: none;
  color: var(--nox-dvf-text);
  cursor: pointer;
  display: grid;
  font-size: var(--nox-dvf-text-sm);
  font-weight: 740;
  gap: 3px;
  line-height: 1.35;
  margin: 0;
  padding: 12px 14px;
  text-align: center;
  width: 100%;
}

.nox-dvf .nox-dvf__more:hover {
  background: color-mix(in srgb, var(--nox-dvf-accent) 10%, var(--nox-dvf-card));
  border-color: var(--nox-dvf-accent);
  color: var(--nox-dvf-accent);
}

.nox-dvf__more small {
  color: var(--nox-dvf-muted);
  font-size: var(--nox-dvf-text-xxs);
  font-weight: 500;
}

.nox-dvf__empty {
  align-items: center;
  color: var(--nox-dvf-muted);
  display: flex;
  flex-direction: column;
  gap: 7px;
  justify-content: center;
  min-height: 250px;
  padding: 24px;
  text-align: center;
}

.nox-dvf__empty strong {
  color: var(--nox-dvf-title-color);
}

.nox-dvf__empty span {
  font-size: var(--nox-dvf-text-sm);
  line-height: 1.45;
}

.nox-dvf__empty--error strong {
  color: var(--nox-dvf-danger);
}

.nox-dvf .nox-dvf__empty button {
  appearance: none;
  background: var(--nox-dvf-button-bg);
  border: 1px solid var(--nox-dvf-button-bg);
  border-radius: max(0px, calc(var(--nox-dvf-radius) - 10px));
  color: var(--nox-dvf-button-text);
  cursor: pointer;
  font-size: var(--nox-dvf-text-sm);
  font-weight: 700;
  margin-top: 5px;
  padding: 9px 14px;
}

.nox-dvf__footer {
  color: var(--nox-dvf-muted);
  font-size: var(--nox-dvf-text-xs);
  line-height: 1.52;
  margin-top: 14px;
}

.nox-dvf__footer p {
  margin: 3px 0;
}

.nox-dvf__footer a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.nox-dvf-popup {
  color: var(--nox-dvf-text);
  display: grid;
  font-family: var(--nox-dvf-font-family);
  gap: 8px;
  min-width: 220px;
}

.nox-dvf-popup__transaction {
  display: grid;
  gap: 4px;
}

.nox-dvf-popup__transaction > strong {
  color: var(--nox-dvf-title-color);
  font-size: var(--nox-dvf-text-lg);
}

.nox-dvf-popup__transaction > span,
.nox-dvf-popup__transaction > time,
.nox-dvf-popup__transaction > small {
  line-height: 1.35;
}

.nox-dvf-popup__transaction > time,
.nox-dvf-popup__transaction > small {
  color: var(--nox-dvf-muted);
  font-size: var(--nox-dvf-text-sm);
}

.nox-dvf-popup--group > strong {
  color: var(--nox-dvf-title-color);
  font-size: var(--nox-dvf-text-md);
}

.nox-dvf-popup__row {
  align-items: baseline;
  border-top: 1px solid var(--nox-dvf-line);
  display: grid;
  gap: 3px 8px;
  grid-template-columns: auto 1fr;
  padding-top: 7px;
}

.nox-dvf-popup__row span {
  color: var(--nox-dvf-muted);
  font-size: var(--nox-dvf-text-xs);
}

.nox-dvf-popup__row b {
  font-size: var(--nox-dvf-text-sm);
  text-align: right;
}

.nox-dvf-popup__row small {
  color: var(--nox-dvf-accent);
  font-size: var(--nox-dvf-text-xxs);
  grid-column: 1 / -1;
}

.nox-dvf-cluster-anchor {
  background: transparent;
  border: 0;
}

.nox-dvf-cluster,
.nox-dvf-google-marker {
  align-items: center;
  background: var(--nox-dvf-accent);
  border: 3px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 5px 14px rgba(25, 33, 30, 0.24);
  color: #ffffff;
  display: flex;
  font-size: var(--nox-dvf-text-xs);
  font-weight: 800;
  height: 36px;
  justify-content: center;
  line-height: 1;
  min-width: 36px;
  padding: 0 8px;
  transform: translateY(-2px);
}

.nox-dvf-google-marker--single {
  height: 20px;
  min-width: 20px;
  padding: 0;
  width: 20px;
}

.nox-dvf .leaflet-control-attribution {
  font-size: 9px;
}

.nox-dvf .leaflet-popup-content-wrapper,
.nox-dvf .leaflet-popup-tip {
  color: var(--nox-dvf-text);
}

.nox-dvf .leaflet-interactive {
  fill: var(--nox-dvf-accent);
  stroke: var(--nox-dvf-accent);
}

.nox-dvf .leaflet-control-zoom a {
  color: var(--nox-dvf-text);
  text-decoration: none;
}

.nox-dvf .gm-style,
.nox-dvf .gm-style .gm-style-iw-c,
.nox-dvf .gm-style .gm-style-iw-d {
  font-family: var(--nox-dvf-font-family);
}

.nox-dvf .gm-style .gm-style-iw-c {
  color: var(--nox-dvf-text);
  max-width: 360px !important;
}

@media (max-width: 1080px) {
  .nox-dvf__filters {
    grid-template-columns: 1fr 1fr;
  }

  .nox-dvf__field--search {
    grid-column: 1 / -1;
  }

  .nox-dvf .nox-dvf__reset {
    justify-self: start;
  }
}

@media (max-width: 960px) {
  .nox-dvf {
    --nox-dvf-title-size: var(--nox-dvf-title-size-tablet);
    --nox-dvf-text-size: var(--nox-dvf-text-size-tablet);
    --nox-dvf-map-height: var(--nox-dvf-map-height-tablet);
    --nox-dvf-padding: var(--nox-dvf-padding-tablet);
  }

  .nox-dvf--map-right .nox-dvf__layout,
  .nox-dvf__layout {
    grid-template-columns: 1fr;
  }

  .nox-dvf--map-right .nox-dvf__map-wrap,
  .nox-dvf__map-wrap {
    order: 1;
  }

  .nox-dvf--map-right .nox-dvf__panel,
  .nox-dvf__panel {
    height: auto;
    max-height: none;
    order: 2;
  }

  .nox-dvf__results {
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 767px) {
  .nox-dvf {
    --nox-dvf-title-size: var(--nox-dvf-title-size-mobile);
    --nox-dvf-text-size: var(--nox-dvf-text-size-mobile);
    --nox-dvf-map-height: var(--nox-dvf-map-height-mobile);
    --nox-dvf-padding: var(--nox-dvf-padding-mobile);
  }

  .nox-dvf__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .nox-dvf__status {
    max-width: 100%;
    text-align: left;
  }

  .nox-dvf__stats {
    grid-template-columns: 1fr 1fr;
  }

  .nox-dvf-stat {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 11px 12px;
  }

  .nox-dvf__filters {
    grid-template-columns: 1fr;
    padding: 13px;
  }

  .nox-dvf__field--search {
    grid-column: auto;
  }

  .nox-dvf .nox-dvf__reset {
    justify-self: stretch;
    width: 100%;
  }

  .nox-dvf__map-note {
    font-size: var(--nox-dvf-text-xxs);
  }

  .nox-dvf-card__topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
}

@media (max-width: 420px) {
  .nox-dvf__stats {
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nox-dvf-card {
    transition: none;
  }
}

/* 1.2.1 — géométrie carrée sur l'ensemble de l'affichage public. */
.nox-dvf,
.nox-dvf .nox-dvf__status,
.nox-dvf .nox-dvf-stat,
.nox-dvf .nox-dvf__filters,
.nox-dvf .nox-dvf__field input,
.nox-dvf .nox-dvf__field select,
.nox-dvf .nox-dvf__reset,
.nox-dvf .nox-dvf__map-wrap,
.nox-dvf .nox-dvf__panel,
.nox-dvf .nox-dvf-card,
.nox-dvf .nox-dvf__more,
.nox-dvf .nox-dvf__empty,
.nox-dvf .nox-dvf__empty button,
.nox-dvf .nox-dvf-leaflet-marker,
.nox-dvf .nox-dvf-cluster,
.nox-dvf .nox-dvf-google-marker,
.nox-dvf .leaflet-control,
.nox-dvf .leaflet-control-layers,
.nox-dvf .leaflet-control-zoom,
.nox-dvf .leaflet-control-zoom a,
.nox-dvf .leaflet-popup-content-wrapper,
.nox-dvf .leaflet-popup-tip,
.nox-dvf .leaflet-bar,
.nox-dvf .leaflet-bar a,
.nox-dvf .leaflet-tooltip,
.nox-dvf .gm-style button,
.nox-dvf .gm-style .gm-style-iw-c,
.nox-dvf .gm-style .gm-style-iw-d,
.nox-dvf .gm-style .gm-style-mtc button,
.nox-dvf .gm-style .gm-control-active,
.nox-dvf .gm-style .gm-svpc,
.nox-dvf .gm-style .gm-fullscreen-control,
.nox-dvf .gm-style .gmnoprint > div {
  border-radius: 0 !important;
}

.nox-dvf {
  --nox-dvf-radius: 0px !important;
}

.nox-dvf-leaflet-marker {
  align-items: center;
  background: var(--nox-dvf-accent);
  border: 3px solid #ffffff;
  box-shadow: 0 5px 14px rgba(25, 33, 30, 0.24);
  color: #ffffff;
  display: flex;
  font-size: var(--nox-dvf-text-xs);
  font-weight: 800;
  height: 36px;
  justify-content: center;
  line-height: 1;
  width: 36px;
}

.nox-dvf-leaflet-marker--single {
  border-width: 2px;
  height: 18px;
  width: 18px;
}

/* Les contrôles de formulaire conservent leur forme fonctionnelle. */
.nox-dvf input[type="radio"] {
  border-radius: 50% !important;
}

.nox-dvf input[type="checkbox"] {
  border-radius: 0 !important;
}
