/* Izivalo — Design System */
:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #e0e7ff;
  --success: #10b981;
  --success-light: #d1fae5;
  --danger: #ef4444;
  --danger-light: #fee2e2;
  --warning: #f59e0b;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg: 0 4px 24px rgba(0,0,0,.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-900);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  height: 60px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  text-decoration: none;
  letter-spacing: -.5px;
}

.logo:hover { text-decoration: none; }

.logo-v {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  width: 28px; height: 28px;
  border-radius: 6px;
  text-align: center;
  line-height: 28px;
  font-size: 18px;
  font-weight: 700;
  margin-right: 4px;
}

.site-nav { display: flex; gap: 8px; }

.nav-link {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  transition: background .15s;
}

.nav-link:hover { background: var(--gray-100); text-decoration: none; }

.nav-cta {
  background: #10b981;
  color: #fff;
  font-weight: 600;
}
.nav-cta:hover { background: #059669; color: #fff; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #f8f9ff 0%, #fff 60%);
  border-bottom: 1px solid var(--gray-200);
  padding: 64px 0 40px;
}

.hero-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 18px;
  color: var(--gray-500);
  margin-bottom: 32px;
}

/* Search */
.search-form { position: relative; max-width: 560px; margin-bottom: 24px; }

.search-row { display: flex; gap: 8px; }

.search-input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
  background: #fff;
}

.search-input:focus { border-color: var(--primary); }

.suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  overflow: hidden;
  display: none;
}

.suggestions.open { display: block; }

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--gray-900);
  border-bottom: 1px solid var(--gray-100);
  transition: background .1s;
}

.suggestion-item:hover { background: var(--gray-50); }
.suggestion-item:last-child { border-bottom: none; }

.sug-name { font-weight: 500; flex: 1; }
.sug-dept { font-size: 12px; color: var(--gray-500); background: var(--gray-100); padding: 2px 6px; border-radius: 4px; }
.sug-price { font-size: 13px; color: var(--primary); font-weight: 600; }

/* Quick links */
.quick-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.quick-label { font-size: 13px; color: var(--gray-500); }
.quick-link {
  padding: 5px 12px;
  background: var(--gray-100);
  border-radius: 20px;
  font-size: 13px;
  color: var(--gray-700);
  text-decoration: none;
  transition: background .15s;
}
.quick-link:hover { background: var(--primary-light); color: var(--primary); text-decoration: none; }

.hero-actions { margin-top: 16px; }

/* Buttons */
.btn-primary {
  padding: 12px 24px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover { background: var(--primary-dark); text-decoration: none; color: #fff; }

.btn-secondary {
  padding: 10px 20px;
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover { background: var(--primary-light); text-decoration: none; }

/* Stats bar */
.stats-bar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 0;
}

.stats-grid { display: flex; gap: 40px; flex-wrap: wrap; }

.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-value { font-size: 24px; font-weight: 700; color: var(--gray-900); }
.stat-label { font-size: 12px; color: var(--gray-500); text-transform: uppercase; letter-spacing: .5px; }

/* Features */
.features { padding: 60px 0; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.feature-card {
  padding: 28px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: box-shadow .2s;
}

.feature-card:hover { box-shadow: var(--shadow); }

.feature-icon { font-size: 32px; margin-bottom: 12px; }
.feature-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }

/* City page */
.city-header { padding: 32px 0 24px; border-bottom: 1px solid var(--gray-200); margin-bottom: 32px; }
.city-breadcrumb { font-size: 13px; color: var(--gray-500); margin-bottom: 8px; }
.city-breadcrumb a { color: var(--gray-500); }
.city-breadcrumb a:hover { color: var(--primary); }
.city-title { font-size: 32px; font-weight: 700; letter-spacing: -.5px; margin-bottom: 8px; }
.city-sub { font-size: 15px; color: var(--gray-500); }
.city-map-link { color: var(--primary); margin-left: 8px; }
.city-dept-link { color: var(--primary); }

/* Section */
.section { margin-bottom: 48px; }
.section-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.section-desc { font-size: 14px; color: var(--gray-500); margin-bottom: 16px; }

/* Price grid */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

@media (min-width: 640px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(5, 1fr); } }

.price-card {
  padding: 20px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: #fff;
}

.price-card-global {
  border-color: var(--primary);
  background: var(--primary-light);
}

.price-card-label { font-size: 12px; color: var(--gray-500); font-weight: 600; text-transform: uppercase; letter-spacing: .3px; margin-bottom: 8px; }
.price-card-value { font-size: 22px; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.price-card-value .unit { font-size: 14px; font-weight: 400; color: var(--gray-500); }
.price-card-count { font-size: 12px; color: var(--gray-500); }
.no-data { color: var(--gray-300); font-size: 20px; }

/* Evolution */
.evolution-grid { display: flex; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }

.evol-card {
  flex: 1; min-width: 120px;
  padding: 16px 20px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  text-align: center;
}

.evol-label { font-size: 12px; color: var(--gray-500); text-transform: uppercase; letter-spacing: .3px; margin-bottom: 6px; }
.evol-value { font-size: 24px; font-weight: 700; }
.evol-value.positive { color: var(--success); }
.evol-value.negative { color: var(--danger); }

/* Historical table */
.historical-table { overflow-x: auto; }
.historical-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.historical-table th { text-align: left; padding: 8px 12px; background: var(--gray-50); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .3px; border-bottom: 1px solid var(--gray-200); }
.historical-table td { padding: 8px 12px; border-bottom: 1px solid var(--gray-100); }
.historical-table tr:last-child td { border-bottom: none; }

/* ML form */
.ml-form-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
}

.ml-form { margin-bottom: 16px; }

.form-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }

.form-group { display: flex; flex-direction: column; gap: 4px; min-width: 140px; }
.form-group label { font-size: 12px; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: .3px; }

.form-select, .form-input {
  padding: 10px 12px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  outline: none;
  transition: border-color .15s;
}

.form-select:focus, .form-input:focus { border-color: var(--primary); }

/* ML result */
.ml-result {
  margin-top: 20px;
  padding: 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--gray-200);
}

.ml-result-main { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.ml-result-price { font-size: 32px; font-weight: 700; color: var(--gray-900); }
.ml-result-pm2 { font-size: 16px; color: var(--gray-500); }
.ml-result-range { font-size: 13px; color: var(--gray-500); margin-bottom: 8px; }
.ml-result-confidence { font-size: 13px; }
.conf-high { color: var(--success); font-weight: 600; }
.conf-medium { color: var(--warning); font-weight: 600; }
.conf-low { color: var(--danger); font-weight: 600; }
.ml-result-source { font-size: 12px; color: var(--gray-500); margin-top: 8px; }
.ml-result-error { color: var(--danger); font-size: 14px; }
.ml-result-warnings { margin-top: 8px; font-size: 12px; color: var(--warning); }

.ml-disclaimer {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 12px;
  font-style: italic;
}

/* Sales table */
.sales-table-wrap { overflow-x: auto; }
.sales-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sales-table th { text-align: left; padding: 8px 12px; background: var(--gray-50); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; border-bottom: 2px solid var(--gray-200); }
.sales-table td { padding: 10px 12px; border-bottom: 1px solid var(--gray-100); }
.sales-table tr:hover td { background: var(--gray-50); }

/* Badges */
.badge-neuf { background: var(--primary-light); color: var(--primary); font-size: 11px; font-weight: 600; padding: 2px 6px; border-radius: 4px; margin-left: 4px; }
.badge-ancien { background: var(--gray-100); color: var(--gray-500); font-size: 11px; font-weight: 600; padding: 2px 6px; border-radius: 4px; margin-left: 4px; }

/* Transaction */
.transaction-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 24px;
}

.tx-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 24px; }

@media (min-width: 640px) { .tx-grid { grid-template-columns: repeat(3, 1fr); } }

.tx-item { padding: 16px; background: #fff; border-radius: 8px; border: 1px solid var(--gray-200); }
.tx-highlight { border-color: var(--primary); background: var(--primary-light); }
.tx-label { font-size: 12px; color: var(--gray-500); font-weight: 600; text-transform: uppercase; letter-spacing: .3px; margin-bottom: 4px; }
.tx-value { font-size: 16px; font-weight: 500; }
.tx-price { font-size: 22px; font-weight: 700; color: var(--primary); }
.tx-actions { margin-top: 24px; }

/* Alert */
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.alert-error { background: var(--danger-light); color: var(--danger); border: 1px solid var(--danger); }

/* Footer */
.site-footer {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  padding: 24px 0;
  margin-top: 60px;
  font-size: 13px;
  color: var(--gray-500);
  text-align: center;
}

.footer-disclaimer { margin-top: 4px; font-size: 12px; }

.no-data-msg { color: var(--gray-500); font-size: 14px; padding: 20px 0; }

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

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

/* Bloc Projection */
.proj-toggle { display: flex; gap: 6px; margin-bottom: 16px; }
.proj-tab {
  padding: 6px 14px; border-radius: 20px; border: 1.5px solid var(--gray-200);
  background: #fff; font-size: 13px; font-weight: 500; cursor: pointer;
  color: var(--gray-600); transition: all .15s;
}
.proj-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.proj-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.proj-card {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 10px; padding: 16px 20px;
}
.proj-label { font-size: 12px; color: var(--gray-500); font-weight: 500; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em; }
.proj-price { font-size: 20px; font-weight: 700; color: var(--gray-900); }
.proj-price.no-data { font-size: 14px; color: var(--gray-400); font-weight: 400; }
.proj-var { font-size: 13px; font-weight: 600; margin-top: 4px; }
.proj-var.positive { color: #10b981; }
.proj-var.negative { color: #ef4444; }

/* Communes proches */
.nearby-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.nearby-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 10px; padding: 14px 16px;
  transition: border-color .15s, box-shadow .15s;
}
.nearby-card:hover { border-color: var(--primary); box-shadow: 0 2px 8px rgba(79,70,229,.1); }
.nearby-name { font-size: 14px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.nearby-rows { display: flex; flex-direction: column; gap: 5px; }
.nearby-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; font-size: 12px; }
.nearby-lbl { color: var(--gray-500); width: 80px; flex-shrink: 0; }
.nearby-val { font-weight: 600; color: var(--gray-800); }
.nearby-proj { color: var(--gray-400); }
.nearby-proj.positive { color: #10b981; }
.nearby-proj.negative { color: #ef4444; }

/* Tableau communes département */
.dept-table-wrap { overflow-x: auto; }
.dept-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dept-table thead th {
  text-align: left; padding: 9px 12px; background: var(--gray-50);
  border-bottom: 2px solid var(--gray-200); font-weight: 600;
  color: var(--gray-700); white-space: nowrap; user-select: none;
}
.dept-table thead th .sort-icon { color: var(--gray-400); font-size: 11px; margin-left: 3px; }
.dept-table thead th.sort-asc .sort-icon,
.dept-table thead th.sort-desc .sort-icon { color: var(--primary); }
.dept-table tbody tr { border-bottom: 1px solid var(--gray-100); }
.dept-table tbody tr:hover { background: var(--gray-50); }
.dept-table tbody td { padding: 8px 12px; color: var(--gray-800); white-space: nowrap; }
.dept-table tbody td a { color: var(--primary); font-weight: 500; text-decoration: none; }
.dept-table tbody td a:hover { text-decoration: underline; }
.dept-table .positive { color: #10b981; font-size: 11px; font-weight: 600; }
.dept-table .negative { color: #ef4444; font-size: 11px; font-weight: 600; }

/* Bloc Hero Estimation */
.estimation-hero {
  background: linear-gradient(135deg, #f8f7ff 0%, #eef2ff 100%);
  border: 1px solid #e0e7ff;
  border-radius: 16px;
  padding: 40px;
}
.estimation-hero-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: 12px;
}
.estimation-hero-sub {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 560px;
}
.btn-estimation-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .15s, transform .1s, box-shadow .15s;
  box-shadow: 0 4px 14px rgba(79,70,229,.3);
}
.btn-estimation-hero:hover {
  background: var(--primary-dark);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79,70,229,.4);
}
.estimation-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.estimation-step {
  background: #fff;
  border: 1px solid #e0e7ff;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(79,70,229,.06);
}
.estimation-step-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 20px;
}
.estimation-step-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}
.estimation-step-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}
.estimation-step-text {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.5;
}
.estimation-step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  margin-top: 10px;
}
.estimation-step-tag {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 20px;
}
.estimation-premium {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.estimation-premium-icon {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
}
.estimation-premium-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.estimation-premium-text {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}
.estimation-cta-footer {
  text-align: center;
  padding-top: 28px;
  border-top: 1px solid #e0e7ff;
}
.estimation-cta-footer p {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .estimation-steps { grid-template-columns: repeat(2, 1fr); }
  .estimation-hero { padding: 24px; }
  .estimation-hero-title { font-size: 22px; }
  .estimation-premium { flex-direction: column; gap: 12px; }
}

/* Responsive */
@media (max-width: 640px) {
  .hero-title { font-size: 28px; }
  .hero-sub { font-size: 15px; }
  .features-grid { grid-template-columns: 1fr; }
  .search-row { flex-direction: column; }
  .form-row { flex-direction: column; }
}

/* ── SEO landing pages (ville / département) ───────────────────────── */
.breadcrumb { font-size: 13px; color: var(--gray-500); margin: 16px 0 4px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb a { color: var(--gray-600); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--gray-800); font-weight: 600; }
.breadcrumb-sep { color: var(--gray-400); margin: 0 2px; }

.city-intro { font-size: 15px; line-height: 1.7; color: var(--gray-700); max-width: 820px; margin: 14px 0 4px; }
.city-intro strong { color: var(--gray-900); }
.section-intro { font-size: 14px; color: var(--gray-600); max-width: 760px; margin: -6px 0 16px; line-height: 1.6; }
.section-actions { margin-top: 14px; }

.city-map { width: 100%; height: 380px; border-radius: 12px; overflow: hidden; background: #eef2f7; border: 1px solid var(--gray-200); }
.citymap-fallback { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--gray-500); font-size: 14px; }

.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.faq-item { border: 1px solid var(--gray-200); border-radius: 10px; background: #fff; overflow: hidden; }
.faq-q { font-size: 15px; font-weight: 600; color: var(--gray-900); padding: 14px 18px; cursor: pointer; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; float: right; color: var(--gray-400); font-weight: 400; }
.faq-item[open] .faq-q::after { content: '−'; }
.faq-a { padding: 0 18px 14px; font-size: 14px; color: var(--gray-600); line-height: 1.6; }

.sim-cta-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.sim-cta-card { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--gray-200); border-radius: 10px; background: #fff; text-decoration: none; color: var(--gray-800); font-weight: 500; font-size: 14px; transition: border-color .15s, box-shadow .15s; }
.sim-cta-card:hover { border-color: var(--primary); box-shadow: 0 2px 8px rgba(37,99,235,.12); color: var(--primary); }
.sim-cta-ico { font-size: 18px; }

/* Accessibilité : contenu réservé aux lecteurs d'écran / SEO */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Légende prix sur la carte microzones (ville / département) */
.citymap-legend { position: absolute; bottom: 12px; right: 12px; z-index: 1000; background: #fff; border-radius: 10px; box-shadow: 0 4px 16px rgba(0,0,0,.14); padding: 10px 14px; min-width: 180px; }
.citymap-legend-title { font-size: 11px; font-weight: 600; color: var(--gray-500); text-transform: uppercase; margin-bottom: 6px; }
.citymap-legend-bar { width: 100%; height: 10px; border-radius: 5px; margin: 4px 0; background: linear-gradient(to right,#2563eb,#10b981,#f59e0b,#f97316,#ef4444); }
.citymap-legend-labels { display: flex; justify-content: space-between; font-size: 10px; color: var(--gray-500); }
