/***********************************************
 * ============= FOOTER STYLE ================
 ***********************************************/
 .site-footer {
  background-color: #2F1512;
  width: 100%;
}

footer p {
  color: rgb(251, 251, 251) !important;
}

#thankYouModal p {
  color: black !important; 
}

/* 
   1) On revient à space-between pour séparer
      le bloc GAUCHE (logo+texte) et le bloc DROIT (logos).
*/
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* le bloc gauche reste à gauche, le bloc droit à droite */
  align-items: center;
  gap: 20px;
}

/* 
   2) Par défaut (sur grand écran), le logo et le texte sont
      dans une ligne (align-items: center).
*/
.footer-left-block {
  display: flex;
  align-items: center;  /* le logo et le texte sont centrés verticalement */
  text-align: left;     /* le texte reste aligné à gauche */
}

/* Empêche un retour à la ligne pour "2025 Tous droits réservés" */
.no-wrap {
  white-space: nowrap;
}

/* Logo Edouargot avec effet hover */
.footer-logo-edouargot img {
  height: 70px;
  margin-right: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.footer-logo-edouargot img:hover {
  transform: scale(1.05);
}

/* Le texte (© Edouargot...) */
.footer-infos {
  font-size: 19px; /* Taille sur Desktop */
  margin: 0;
  padding: 0;
  white-space: normal;   /* Permet de revenir à la ligne automatiquement */
  word-wrap: break-word; /* Coupe un mot trop long si besoin */
}

.separator {
  color: black !important;
  text-decoration: none !important;
}

.separator:hover {
  text-decoration: none !important;
}


.footer-infos a {
  color: #E9C08F;           
  text-decoration: none; 
  margin: 0 3px;
}
.footer-infos a:hover {
  text-decoration: underline;
  text-decoration-color: black !important;
}

/***********************************************
 * ========== FOOTER LOGOS (DROIT) ==========
 ***********************************************/
.footer-logos-block {
  display: flex;
  align-items: center;
  margin: 10px;
}

.footer-logos-block img {
  height: 40px;
  transition: transform 0.3s ease;
  margin-right: 10px;
}
.footer-logos-block img:hover {
  transform: scale(1.05);
}
.footer-blason-occitanie img {
  height: 40px;
}

/***********************************************
 * ========== NEWSLETTER BLOCS ==========
 ***********************************************/
.newsletter-subscribe {
  margin: 20px auto;
  text-align: center;
  color: #fff;
  background-color: #3e1f1c;
  border: 1px solid #d09f61;
  border-radius: 8px;
  padding: 25px;
  width: 90%;
  max-width: 400px;
}

.newsletter-subscribe h3 {
  margin-bottom: 15px;
}

.newsletter-subscribe form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center; 
  gap: 16px;
  margin: 0 auto;
}

.newsletter-subscribe input[type="email"] {
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.newsletter-subscribe button[type="submit"] {
  background: #d09f61;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  position: relative;
  top: 5px;
}
.newsletter-subscribe button[type="submit"]:hover {
  background: #bf8f54;
}

/* Animation rebond du bouton “S'abonner” */
.bounce-subscribe {
  animation: bounceBtn 1.3s infinite alternate; 
}
@keyframes bounceBtn {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-3px); }
}

/* Modale “MERCI” */
.thank-you-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.thank-you-modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  width: 90%;
  max-width: 450px;   
  text-align: center;
  position: relative;
  box-sizing: border-box;
  max-height: 80vh;
  overflow-y: auto;
}
#closeThankYouModal {
  background: #d09f61;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px 15px;
  cursor: pointer;
  transition: background 0.2s ease;
}
#closeThankYouModal:hover {
  background: #bf8f54;
}

/* Canvas CONFETTI */
#confettiCanvas {
  pointer-events: none; 
  position: fixed;      
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9998;
}

/***********************************************
 * ========== FOOTER LOGOS CENTRAGE ==========
 ***********************************************/
.footer-logos-block {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;              
  margin: 20px auto;      
}

/******************************************************
 * Empêche la coupure de mots à l'intérieur des liens
 ******************************************************/
.footer-infos a {
  white-space: nowrap;
}

/******************************************************
 * ========== AFFICHAGE MOBILE : VERSION ÉTAGÉE ==========
 ******************************************************/
@media (max-width: 600px) {
  /* Sur mobile, on empile tout : 
     - le footer-inner passe en colonne
     - le bloc gauche (logo + texte) s’empile aussi  */
  .footer-inner {
    justify-content: center; /* tout centrer en colonne */
    flex-direction: column;
  }

  .footer-left-block {
    display: flex;
    flex-direction: column; 
    align-items: center;
    margin-bottom: 10px;
  }

  .footer-logo-edouargot img {
    margin: 0 0 10px 0; 
    display: block;
  }

  /* On réduit légèrement la taille du texte sur mobile 
     et le texte est maintenant centré pour la lisibilité. */
  .footer-infos {
    font-size: 16px;
    max-width: 300px;  
    margin: 0 auto;
    text-align: center; 
    line-height: 1.4;
    white-space: normal;
    word-wrap: break-word;
  }
}

.etoile-verte-icon {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  position: relative;
  top: -1px; /* Ajustez pour relever l'icône */
}

/* Icone mail escargot dans le lien contact */
.snailmail-icon {
  width: 26px;
  height: auto;
  vertical-align: middle;
  margin-left: 6px;

  /* Décalage vertical */
  position: relative;  
  top: -2px; /* Ajustez la valeur en fonction du rendu souhaité */
}


/* loupe png */
.loupe-icon {
width: 19px;  
height: auto;
vertical-align: middle;
margin-left: 6px;
}

/* Pour améliorer le rendu sur très petit écran */
@media (max-width: 576px) {
  .snailmail-icon {
    width: 20px;
  }
}

/* Styles pour le lien Facebook */
/* Lien global */
.facebook-link {
  display: inline-flex;   /* aligne texte et icône sur une même ligne */
  align-items: center;    /* aligne verticalement */
  gap: 8px;               /* espace entre texte et icône */
  text-decoration: none;
  margin: 0 5px;
}

.facebook-link:hover {
  opacity: 0.8;
}

/* Partie "Suivez-nous sur" : en bleu */
.facebook-part-1 {
  color: #1877f2;       /* Bleu Facebook */
  font-size: 18px;      /* Taille légèrement réduite (au lieu de ~16px) */
}

/* Partie "Facebook" : en blanc */
.facebook-part-2 {
  color: #ffffff;       
  font-size: 18px;      /* Même taille réduite pour être homogène */
}


/* Icône Facebook */
.facebook-icon {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  position: relative;    /* si vous voulez ajuster la hauteur */
  top: 0;                /* passez à -2px si vous voulez remonter l'icône */
}

