/* Styles modernes pour la page de détail d'une ville */

.city-container {
  padding-bottom: 3rem;
}

/* En-tête de ville modernisé sans fond */
.city-header.modern-header {
  background: none;
  color: var(--text-color);
  padding: 3.5rem 0 2rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: none;
}

.city-header.modern-header::before,
.city-header.modern-header::after {
  display: none; /* Supprime les effets de motif et de vague */
}

.city-header.modern-header .city-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: none;
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
  position: relative;
  color: var(--text-color);
  border-bottom: 4px solid var(--primary-color);
  display: inline-block;
  padding-bottom: 0.5rem;
}

.city-header.modern-header .city-subtitle {
  font-size: 1.3rem;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  position: relative;
  color: var(--text-color);
}

.city-header.modern-header .city-population {
  background-color: var(--primary-color);
  color: white;
  border-radius: 20px;
  padding: 1.5rem;
  display: inline-block;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  border: none;
}

/* Styles pour la description de la ville */
.city-description {
  background-color: rgba(0, 0, 0, 0.02);
  border-radius: 16px;
  padding: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-color);
  border-left: 4px solid var(--primary-color);
}

/* Style pour le contenu WYSIWYG */
.wysiwyg-content {
  line-height: 1.7;
}

.wysiwyg-content h1, 
.wysiwyg-content h2, 
.wysiwyg-content h3, 
.wysiwyg-content h4, 
.wysiwyg-content h5, 
.wysiwyg-content h6 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  color: var(--text-color);
}

.wysiwyg-content p {
  margin-bottom: 1rem;
}

.wysiwyg-content ul, 
.wysiwyg-content ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.wysiwyg-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
}

.wysiwyg-content a {
  color: var(--primary-color);
  text-decoration: none;

  transition: border-color 0.2s;
  font-size: 0.8em; /* Taille réduite */
  vertical-align: super; 
  
}


.wysiwyg-content a:hover {
  border-color: var(--primary-color);
}

.wysiwyg-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
  margin-left: 0;
  font-style: italic;
  color: #666;
}

/* Nouveau style moderne pour les icônes */
.city-info-icon.modern-icon {
  width: 50px;
  height: 50px;
  background: #f0f0f0; /* Couleur de fond neutre */
  border-radius: 50%; /* Forme circulaire */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: #4a90e2; /* Couleur moderne et apaisante */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre douce pour un effet de profondeur */
  transition: background-color 0.3s ease, color 0.3s ease; /* Transition pour un effet interactif */
}

.city-info-icon.modern-icon:hover {
  background: #4a90e2; /* Inversion des couleurs au survol */
  color: #fff; /* Texte blanc pour contraste */
}

/* Nouveau style pour le badge d'année */
.year-badge {
  background: #4a90e2; /* Couleur bleue moderne */
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 8px; /* Coins moins arrondis pour un look plus moderne */
  font-size: 0.9rem;
  font-weight: 500; /* Légèrement moins gras */
  box-shadow: none; /* Suppression de l'ombre */
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Effet de survol subtil */
.year-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Ajout d'un petit effet visuel */
.year-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0.1), rgba(255,255,255,0));
  pointer-events: none;
}

/* Ajout d'une petite icône */
.year-badge::after {
  content: "\f073"; /* Code FontAwesome pour l'icône de calendrier */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: 0.5rem;
  font-size: 0.8rem;
}

/* Le reste du CSS reste inchangé */
.city-population {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 1.5rem;
  display: inline-block;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.city-population:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.population-number {
  font-size: 2.8rem;
  font-weight: 700;
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.population-label {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.population-year {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Styles modernes pour la carte de population */
.population-card {
  background: linear-gradient(135deg, var(--primary-color), #2980b9);
  color: white;
  border-radius: 16px;
  padding: 1.2rem;
  display: inline-block;
  text-align: center;
  box-shadow: 0 8px 20px rgba(52, 152, 219, 0.2);
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
  max-width: 220px;
  margin-bottom: 1.5rem;
  transform: translateZ(0);
}

.population-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  z-index: 1;
  pointer-events: none;
}

.population-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(52, 152, 219, 0.3);
}

.population-card-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  margin-bottom: 0.3rem;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

.population-card-value {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  position: relative;
  z-index: 2;
  line-height: 1.1;
}

.population-card-year {
  font-size: 0.75rem;
  opacity: 0.8;
  font-style: italic;
  position: relative;
  z-index: 2;
}

/* Ajout d'une petite icône */
.population-card::after {
  content: "\f500"; /* Icône "users" de FontAwesome */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  bottom: -15px;
  right: -15px;
  font-size: 3.5rem;
  opacity: 0.1;
  color: white;
  z-index: 1;
}

.city-card {
  background-color: var(--background-color);
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.city-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.city-card-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(0, 0, 0, 0.02);
}

.city-card-header h2 {
  font-size: 1.6rem;
  margin: 0;
  color: var(--text-color);
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 600;
}

.city-card-header h2 i {
  margin-right: 1rem;
  color: var(--primary-color);
  font-size: 1.3rem;
}

.city-card-body {
  padding: 2rem;
}

.age-chart-container {
  height: 400px;
  position: relative;
}

.no-data-message {
  text-align: center;
  padding: 3rem 2rem;
  color: #6c757d;
  background-color: rgba(0, 0, 0, 0.02);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.no-data-message i {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--navbar-link-hover-color);
  opacity: 0.7;
}

.programs-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  max-height: 500px;
  overflow-y: auto;
  padding-right: 0.75rem;
}

.programs-list::-webkit-scrollbar {
  width: 6px;
}

.programs-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.programs-list::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}

.programs-list::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.program-item {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.program-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.program-item:hover {
  transform: translateY(-3px);
}

.program-image {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.program-image a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
}

.program-image a::after {
  content: "\f002"; /* Icône de loupe FontAwesome */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.program-image a:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.program-image a:hover img {
  transform: scale(1.05);
}

.program-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
  font-size: 2.5rem;
}

.program-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.program-title {
  font-size: 1.3rem;
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
  font-family: var(--font-heading);
}

.program-title a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.2s;
}

.program-title a:hover {
  color: var(--primary-color);
}

.program-developer, .program-delivery {
  font-size: 1rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.program-developer i, .program-delivery i {
  width: 20px;
  margin-right: 0.5rem;
  text-align: center;
  color: var(--navbar-link-hover-color);
}

.program-action {
  margin-top: auto;
  padding-top: 1rem;
}

.program-action .btn {
  border-radius: 30px;
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.program-action .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.city-info-content {
  padding: 1rem 0;
}

.city-info-stat {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.8rem;
  background-color: rgba(0, 0, 0, 0.02);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.city-info-stat:hover {
  transform: translateY(-3px);
  background-color: rgba(0, 0, 0, 0.03);
}

.city-info-text h4 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem 0;
  color: var(--text-color);
  font-family: var(--font-heading);
}

.city-info-text p {
  margin: 0;
  color: #6c757d;
  font-size: 1.1rem;
}

.city-info-placeholder {
  text-align: center;
  padding: 2.5rem 2rem;
  background-color: rgba(0, 0, 0, 0.02);
  border-radius: 16px;
  color: #6c757d;
}

/* Section de débogage */
.debug-info {
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.debug-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.debug-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.debug-list li:last-child {
  border-bottom: none;
}

/* Style élégant pour les liens de référence */
.reference-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-color);
  background-color: #f8f9fa;
  border-radius: 50%;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  top: -0.5em;
  margin: 0 1px;
  transition: all 0.25s ease;
}

.reference-link:hover {
  background-color: var(--navbar-link-hover-color);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(255, 64, 0, 0.2);
  border-color: var(--navbar-link-hover-color);
}

/* Animation subtile au survol */
@keyframes pulse {
  0% { transform: scale(1) translateY(-0.5em); }
  50% { transform: scale(1.1) translateY(-0.5em); }
  100% { transform: scale(1) translateY(-0.5em); }
}

.reference-link:hover {
  animation: pulse 0.5s ease;
}

/* Style pour la section des références */
.references-list {
  padding-left: 1.5rem;
  margin-bottom: 0;
}

.references-list li {
  margin-bottom: 0.75rem;
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.5;
}

.references-list li:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .city-header.modern-header {
    padding: 2.5rem 0 2rem;
  }
  
  .city-header.modern-header .city-title {
    font-size: 2.7rem;
  }
  
  .city-population {
    margin-top: 1rem;
  }
  
  .age-chart-container {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .city-header.modern-header {
    text-align: center;
    padding: 2rem 0 2rem;
  }
  
  .city-header.modern-header .city-title {
    font-size: 2.2rem;
  }
  
  .city-population {
    margin: 1.5rem auto 0;
  }
  
  .population-card {
    max-width: 180px;
    margin: 0 auto 1.5rem;
  }
  
  .program-image {
    width: 100px;
    height: 100px;
  }
  
  .city-info-stat {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .city-info-icon.modern-icon {
    margin-bottom: 1rem;
    margin-right: 0;
  }
  
  .reference-link {
    width: 14px;
    height: 14px;
    font-size: 0.65rem;
  }
}

@media (max-width: 576px) {
  .city-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .year-badge {
    align-self: flex-start;
  }
  
  .program-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
  
  .program-image {
    width: 140px;
    height: 140px;
  }
  
  .program-developer, .program-delivery {
    justify-content: center;
  }
}
/* Carte « Prix de l'immobilier » (lien vers la page prix dédiée DVF) */
.city-card--price .city-card-body { display: flex; flex-direction: column; gap: 0.75rem; }
.city-price-teaser { margin: 0; font-size: 1rem; line-height: 1.5; }
.city-price-teaser-link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    background: var(--vefa-accent, #ff4000);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.city-price-teaser-link:hover { transform: translateY(-2px); color: #fff; text-decoration: none; }

/* ===== Page commune unifiée — nouveaux blocs ===== */
.city-keyfacts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.25rem 0 0;
}
.city-keyfact {
    display: flex;
    flex-direction: column;
    padding: 0.7rem 1.1rem;
    border-radius: 12px;
    background: var(--vefa-surface, #fff);
    border: 1px solid var(--vefa-border, #e2e8f0);
    min-width: 120px;
}
.city-keyfact__value { font-size: 1.35rem; font-weight: 800; color: var(--vefa-accent, #ff4000); line-height: 1.1; }
.city-keyfact__label { font-size: 0.78rem; color: var(--vefa-text-muted, #475569); }

.city-detail-viz { margin: 0; }

.city-developers { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.75rem; }
.city-developer { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.85rem 1rem; border: 1px solid var(--vefa-border, #e2e8f0); border-radius: 12px; text-decoration: none; background: var(--vefa-surface, #fff); transition: transform .2s ease, border-color .2s ease; }
.city-developer:hover { transform: translateY(-2px); border-color: var(--vefa-accent, #ff4000); }
.city-developer__name { font-weight: 700; color: var(--vefa-text, #1e293b); }
.city-developer__meta { font-size: 0.8rem; color: var(--vefa-text-muted, #475569); }

.city-editorial { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.city-editorial__block h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.5rem; color: var(--vefa-text, #1e293b); }
.city-editorial__block h3 i { color: var(--vefa-accent, #ff4000); margin-right: 0.4rem; }

.city-articles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.75rem; }
.city-article { display: flex; flex-direction: column; gap: 0.35rem; padding: 0.85rem 1rem; border: 1px solid var(--vefa-border, #e2e8f0); border-radius: 12px; text-decoration: none; background: var(--vefa-surface, #fff); transition: transform .2s ease; }
.city-article:hover { transform: translateY(-2px); }
.city-article__cat { font-size: 0.72rem; text-transform: uppercase; letter-spacing: .03em; color: var(--vefa-primary, #3498db); font-weight: 700; }
.city-article__title { font-weight: 600; color: var(--vefa-text, #1e293b); line-height: 1.35; }

.city-faq__item { border-bottom: 1px solid var(--vefa-border, #e2e8f0); padding: 0.5rem 0; }
.city-faq__q { font-weight: 700; cursor: pointer; color: var(--vefa-text, #1e293b); }
.city-faq__a { margin-top: 0.5rem; color: var(--vefa-text-muted, #475569); line-height: 1.55; }

.city-neighbors { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.city-neighbor { padding: 0.4rem 0.9rem; border-radius: 999px; background: var(--vefa-surface-alt, #f1f5f9); border: 1px solid var(--vefa-border, #e2e8f0); text-decoration: none; color: var(--vefa-text, #1e293b); font-size: 0.85rem; }
.city-neighbor:hover { border-color: var(--vefa-accent, #ff4000); }
.city-neighbor--dept { font-weight: 700; color: var(--vefa-accent, #ff4000); }

/* ===== Bandeau hero commune (photo Wikimedia / carte OSM) ===== */
.city-hero-media {
    position: relative;
    width: 100%;
    max-height: 320px;
    overflow: hidden;
    border-radius: 0 0 16px 16px;
    margin-bottom: 1rem;
}
.city-hero-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}
.city-hero-credit {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-top-left-radius: 8px;
    max-width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (max-width: 768px) {
    .city-hero-media, .city-hero-img { max-height: 200px; height: 200px; }
}

/* ===== Hub « top villes » (/villes/) ===== */
.cities-hub { max-width: 1000px; margin: 0 auto; padding: 2rem 1rem 3rem; }
.cities-hub__hero { text-align: center; margin-bottom: 2.5rem; }
.cities-hub__hero h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; color: var(--vefa-text, #1e293b); margin: 0 0 .6rem; }
.cities-hub__hero p { color: var(--vefa-text-muted, #475569); max-width: 680px; margin: 0 auto; line-height: 1.55; }
.cities-rank { margin-bottom: 2.5rem; }
.cities-rank__title { font-size: 1.3rem; font-weight: 800; color: var(--vefa-text, #1e293b); margin: 0 0 1rem; }
.cities-rank__title i { color: var(--vefa-accent, #ff4000); margin-right: .5rem; }
.cities-rank__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: .6rem; }
.cities-rank__item { display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem; border: 1px solid var(--vefa-border, #e2e8f0); border-radius: 12px; background: var(--vefa-surface, #fff); }
.cities-rank__pos { font-weight: 800; color: var(--vefa-accent, #ff4000); min-width: 1.4rem; }
.cities-rank__city { flex: 1; text-decoration: none; color: var(--vefa-text, #1e293b); font-weight: 700; }
.cities-rank__city:hover { color: var(--vefa-accent, #ff4000); }
.cities-rank__name small { font-weight: 400; color: var(--vefa-text-muted, #475569); }
.cities-rank__metric { font-size: .85rem; color: var(--vefa-text-muted, #475569); white-space: nowrap; }
.cities-rank__price-link { font-size: .75rem; color: var(--vefa-primary, #3498db); text-decoration: none; border: 1px solid var(--vefa-border, #e2e8f0); border-radius: 999px; padding: .15rem .5rem; }
.cities-rank__price-link:hover { border-color: var(--vefa-primary, #3498db); }

/* ===== Refonte city_detail : layout unifié (tokens --vefa-*) ===== */
.city-detail__hero-body { padding-top: 1.5rem; padding-bottom: .5rem; }
.city-detail .city-title { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; color: var(--vefa-text, #1e293b); margin: 0 0 .4rem; }
.city-detail .city-subtitle { color: var(--vefa-text-muted, #475569); font-size: 1rem; margin: 0 0 1rem; }
.city-detail .city-subtitle i { color: var(--vefa-accent, #ff4000); }

.city-zone { margin: 2.2rem 0; }
.city-zone__title { font-size: 1.5rem; font-weight: 800; color: var(--vefa-text, #1e293b); margin: 0 0 1.1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--vefa-accent-soft, rgba(255,64,0,.12)); }
.city-zone__title i { color: var(--vefa-accent, #ff4000); margin-right: .5rem; }

/* Cartes unifiées sur tokens (override du legacy) */
.city-detail .city-card { background: var(--vefa-surface, #fff); border: 1px solid var(--vefa-border, #e2e8f0); border-radius: var(--vefa-radius, 14px); box-shadow: var(--vefa-shadow-sm, 0 1px 3px rgba(15,23,42,.06)); margin-bottom: 1.2rem; overflow: hidden; }
.city-detail .city-card-header { padding: 1rem 1.3rem .4rem; display: flex; align-items: center; justify-content: space-between; }
.city-detail .city-card-header h2, .city-detail .city-card-header h3 { font-size: 1.15rem; font-weight: 700; color: var(--vefa-text, #1e293b); margin: 0; }
.city-detail .city-card-header i { color: var(--vefa-accent, #ff4000); margin-right: .4rem; }
.city-detail .city-card-body { padding: 1rem 1.3rem 1.3rem; }
.city-card--price { border-color: var(--vefa-accent, #ff4000); background: var(--vefa-accent-soft, rgba(255,64,0,.05)); }
.city-card-cta { margin-top: 1rem; }
.city-viz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin: 1rem 0; }
.city-viz-grid .vefa-viz { margin: 0; }
.year-badge { font-size: .75rem; background: var(--vefa-surface-alt, #f1f5f9); color: var(--vefa-text-muted, #475569); padding: .15rem .6rem; border-radius: 999px; }
.no-data-message { color: var(--vefa-text-muted, #475569); text-align: center; padding: 1.5rem; }
.city-editorial__block h4 { font-size: 1rem; font-weight: 700; margin: 0 0 .4rem; color: var(--vefa-text, #1e293b); }
.city-editorial__block h4 i { color: var(--vefa-accent, #ff4000); margin-right: .35rem; }
.city-map { height: 360px; border-radius: var(--vefa-radius, 12px); z-index: 0; }
