/***********************************************
 * ============== HEADER MODAL ================
 * (Pour “Prévision !” dans le header)
 ***********************************************/
 .header-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.7);
}

/* Cadre du modal, fond dégradé */
.header-modal-content {
  background: linear-gradient(135deg, #6C9F42 0%, #9EDDEB 45%, #FFA14F 90%);
  margin: 15% auto;
  padding: 20px;
  width: 300px;
  border-radius: 8px;
  position: relative;
  text-align: center;
  font-family: 'Roboto', Arial, sans-serif;
}

.header-modal-content h2,
.header-modal-content p {
  color: #fff;
  margin: 10px 0;
  font-size: 1rem;
}

/* Bouton de fermeture (croix), en blanc */
.header-close {
  position: absolute;
  top: 8px;
  right: 12px;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  user-select: none;
  background: none;
  border: none;
}

.header-close:hover {
  opacity: 0.7;
}

/* Loader (cercle tournant) */
.header-loader {
  width: 64px;
  height: 64px;
  margin: 20px auto;
  border: 8px solid #f3f3f3;
  border-top: 8px solid #fff;
  border-radius: 50%;
  animation: swirl 1s linear infinite;
}

@keyframes swirl {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/***********************************************
 * =========== BOUTON "SCROLL TO TOP" ==========
 ***********************************************/

/* Défilement doux (optionnel) */
html {
  scroll-behavior: smooth;
}

/* Le bouton : 50x50 par exemple, ou 60x60.
   Fond blanc très translucide => 0.2 => moins gênant. */
#scrollToTopButton {
  display: block;
  position: fixed;
  right: 20px;
  bottom: 20px;

  width: 60px;
  height: 60px;
  border: none;
  border-radius: 6px;
  outline: none;

  /* Fond très translucide (0.2) pour moins gêner */
  background-color: rgba(255,255,255,0.2);

  /* Masqué tant qu'on n'a pas scrolled > 20px */
  opacity: 0;
  visibility: hidden;

  z-index: 999999;
  cursor: pointer;

  /* Transition pour opacité + survol */
  transition: 
    opacity 0.5s,
    visibility 0.5s,
    background-color 0.3s;
}

#scrollToTopButton img {
  width: 140%;
  height: auto;
  display: block;

  /* Décale l’image vers la gauche de 20% de son conteneur */
  margin-left: -20%;
}

/* Survol : on l'éclaircit un peu, mais toujours très discret */
#scrollToTopButton:hover {
  background-color: rgba(255,255,255,0.3);
}


   /***********************************************
   (Le reste de ton CSS éventuel)
***********************************************/