/* 
   1) → Imports Google Fonts + Font Awesome.
   - Great Vibes & Roboto pour les polices
   - Font Awesome 6 pour les icônes
*/
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Roboto:wght@400;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css');

/* 2) → Styles généraux de la page */
body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 18px; /* on augmente la taille globale du texte */
  background: rgb(45,113,126);
  background: linear-gradient(90deg, rgba(45,113,126,1) 35%, rgba(35,57,18,1) 100%);
  text-align: center;
}

/* 3) → Titre calligraphique */
h1 {
  margin: 20px 0;
  color: #feffc8;
  position: relative;
  font-family: 'Great Vibes', cursive; /* Police calligraphique */
  font-size: 48px; /* Titre plus imposant */
  line-height: 1.2; /* Ajuste l'espacement vertical */
}

.departement  {
  font-family: 'Great Vibes', cursive; /* Police calligraphique */
  font-size: 38px; /* Titre plus imposant */
  font-weight: bold;
}

/* → Icône Font Awesome devant le h1 */
h1::before {
  content: "\f73d"; /* Ex : fa-cloud-sun-rain : code Unicode = f73d */
  font-family: "Font Awesome 6 Free"; 
  font-weight: 900; /* pour les icônes 'solid' */
  display: inline-block;
  font-size: 1.4em; 
  /* Ajuste la taille */
  margin-right: 8px; 
  vertical-align: middle;
}

/* 4) → La carte Leaflet */
#map {
  height: 76vh;
  width: 90%;
  margin: auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 5) → Boutons plus grands */
button {
  margin: 20px;
  padding: 14px 14px 14px 38px;  /* on augmente un peu */
  font-size: 18px;     /* cohérent avec le body */
  background-color: #233912;
  color: #feffc8;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  font-family: inherit; /* reste sur Roboto */
}

button:hover {
  background-color: #feffc8;
  color: #233912;
}

/* → Icône Font Awesome dans le bouton */
button::before {
  content: "\f071"; /* Ex : fa-cloud (Unicode = f0c2) */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  display: inline-block;
  font-size: 1.2em;
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
}

/* 6) → Infobulles & alertes */
.vigilance-record {
  display: flex;
  align-items: center;
  margin: 8px 0;
  font-family: inherit; /* Roboto */
  font-size: 16px; /* un peu plus grand que par défaut */
}

.vigilance-record .icon {
  width: 64px;
  height: 64px;
  margin-right: 8px;
}

.vigilance-record .phenomenon {
  font-weight: bold;
  margin-right: 6px;
  color: #333;
}

.vigilance-record .time {
  color: #666;
  font-size: 0.95em; /* légèrement plus petit, mais reste lisible */
}

/* 7) → Optionnel : si tu as un conteneur 
   .my-popup-content que tu animes, tu peux
   ajuster la police ou la taille ici aussi.
*/
.my-popup-content {
  font-size: 18px; /* cohérent avec body */
  font-family: inherit;
}
