body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
header {
  position: relative; /* pour positionner le titre indépendamment */
}
.header h1 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #1976d2;
  color: white;
  text-align: center;
  padding: 4px 0;      /* très fin */
  font-size: 1rem;     /* texte légèrement réduit */
  font-weight: 500;    /* moins épais pour un rendu léger */
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  z-index: 1000;
}
#map {
  position: absolute;
  top: 28px; /* hauteur du bandeau réduite */
  bottom: 0;
  width: 100%;
}
.info.legend {
  background: white;
  padding: 8px;
  font-size: 12px;
  border-radius: 5px;
  line-height: 1.4em;
  box-shadow: 0 0 5px rgba(0,0,0,0.4);
}
.info.legend h4 {
  margin: 0 0 5px;
  font-size: 14px;
}
.seo-text {
  padding: 10px;
  font-size: 0.9rem;
  background: #f9f9f9;
  color: #333;
  margin-top: calc(100vh - 50px); /* apparaît sous la carte */
}
.filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 4px;
}
.filters select {
  padding: 3px 6px;
  font-size: 0.8rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}
.filter-label {
  font-weight: bold;
  font-size: 0.85rem;
  margin-right: 6px;
  display: flex;
  align-items: center;
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px; /* espace entre logo et texte */
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo {
    height: 40px;
    width: auto;
    max-width: 100%;
}
@media (max-width: 768px) {
    .logo {
        height: 30px; /* logo plus petit sur tablette */
    }
    .logo-container h1 {
        font-size: 1.2rem; /* réduire taille du texte */
    }
}
@media (max-width: 480px) {
    .logo {
        height: 24px; /* encore plus petit sur mobile */
    }
    .logo-container h1 {
        font-size: 1rem; /* réduire encore le texte */
    }
}
.leaflet-top.leaflet-left {
    top: 70px; /* ajuste la valeur selon la hauteur de ton logo/bandeau */
}
@media (max-width: 768px) {
    .leaflet-top.leaflet-left {
        top: 50px; /* un peu moins sur mobile */
    }
}