/*FOOTER*/

.containerfooter {
  /* Le conteneur ne gère plus le flex, mais le .row le fera */
  width: 100%;
  padding: 2% 2% 2% 2%;
}

.row {
  display: flex; /* Utilisation de Flexbox pour gérer les colonnes */
  flex-wrap: wrap; /* Permet aux colonnes de passer à la ligne */
  margin-top: 0px;
  margin-bottom: 0px;
  width: 100%;
  justify-content: space-between; /* Par défaut, utilise space-between */
}

ul {
  list-style: none;
}

.footer {
  position: relative;
  border-top: 1px solid #457949;
  background-color: #0E100F;
}

.footer-col {
  font-family: 'Montserrat', sans-serif;
  /* Par défaut pour mobile, chaque colonne prend 100% de la largeur */
  width: 100%; 
}

/* --- Media Queries pour le Responsive --- */

/* 1. Grand Écran (Desktop, à partir de 1025px) : Largeur dynamique */
@media screen and (min-width: 1025px) {
  .row {
    justify-content: flex-start; /* Aligne au début pour gérer l'espacement avec 'gap' */
    gap: 3%; /* Ajoute un espacement entre les colonnes */
  }

  .footer-col {
    /* Définit une base de largeur pour que chaque colonne ne prenne que l'espace nécessaire à son contenu */
    width: auto;
    /* Propriété de base pour Flexbox : ne grandit pas (0), peut rétrécir (1), base sur la taille du contenu (auto) */
    flex: 0 1 auto; 
  }

  /* Colonne 1 : Contacts (doit s'étirer pour prendre l'espace restant) */
  .row .footer-col:nth-child(1) {
    flex: 1 1 auto; /* Prend plus d'espace si disponible */
    min-width: 90px; /* Assure une taille minimale */
  }
  
  /* Colonnes 2, 3, 4 : Mentions, Politique, CGV (contenu minimal, ne doit pas s'étirer) */
  .row .footer-col:nth-child(2),
  .row .footer-col:nth-child(3),
  .row .footer-col:nth-child(4) {
    flex: 0 1 auto; /* Ne grandit pas, s'adapte au contenu */
    min-width: 120px; 
  }

  /* Colonne 5 : Réseaux sociaux (largeur fixe selon le nombre d'icônes) */
  .row .footer-col:nth-child(5) {
    flex: 0 0 200px; /* Ne grandit ni ne rétrécit, largeur fixe */
  }
}

/* 2. Tablette (entre 768px et 1024px) : 3 colonnes */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .footer-col {
    /* 3 colonnes: ~33.33% */
    width: 32%; 
    margin-bottom: 20px;
  }
  /* Force la dernière colonne (sociaux) à prendre une ligne entière */
  .footer-col:last-child {
      width: 100%;
      text-align: center;
  }
  .footer-col ul {
    text-align: center;
  }
}

/* 3. Mobile (jusqu'à 767px) : 1 colonne */
@media screen and (max-width: 767px) {
  .row {
      /* Centre le contenu en mode colonne */
      justify-content: center;
      text-align: center;
  }
  .footer-col {
    /* 100% pour une colonne pleine largeur */
    width: 100%;
    margin-bottom: 20px;
    padding-left: 0; 
  }
  .footer-col ul {
    padding-left: 0;
  }
  .footer-col ul li a {
    /* Pour centrer les liens si le texte est court */
    display: inline-block; 
  }
  .footer-col ul li a:hover{
    padding-left: 0; /* Désactiver l'effet de décalage sur mobile */
  }
}

/* Styles pour les liens et réseaux sociaux */

.footer-col ul {
  padding-left: 0px;
}

.footer-col ul li a {
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  white-space: nowrap; /* Empêche les liens de se couper */
  opacity : 50%;
}

.footer-col ul li a:hover {
  color: #ffffff;
  padding-left: 8px;
}

.footer-col .social-links {
    /* Pour mieux gérer l'alignement centré sur mobile */
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-col .social-links a {
  display: flex;
  margin: 0 10px 10px 0;
  text-align: left;
  border-radius: 50%;
  transition: all 0.5s ease;
  color: white;
  opacity: 50%;
  font-size: 14px;

}
.footer-col .social-links a img {
    /* Assurer que les images des icônes rentrent dans le cercle */
    width: 100%; 
    height: 100%;
    object-fit: contain;
}
.footer-col .social-links a:hover {
  color: #282828;
  background-color: #F2EFE8;
}

 
.copyright-container{
  background-color: #0E100F;
  padding:15px;
  text-align: center;
  border-top:1px;
  border-bottom:1px;
  border-right:0px;
  border-left:0px;
}

.copyright-text{
  color:#ffffff;
  font-size: 12px;
  text-align: center;
  opacity: 50%;
}

.copyright-container a{
  color:#ffffff;
  font-size: 14px;
  text-align: center;
  opacity: 50%;
}


.contactme{
  padding-left:5%;
  padding-right:5%;
  border-top:1px solid #0E100F;
  padding-top:60px;
  padding-bottom:80px;

}

.contactp{
  font-family: 'Montserrat';
  font-size:40px;
  color:#0E100F;
  font-weight: 300;
  word-wrap: break-word;
  padding-bottom:50px;
  text-align: center;
  margin-bottom:20px;

}

.contactprojet{
  font-family: 'Montserrat';
  font-size:25px;
  color:#0E100F;
  font-weight: 300;
  word-wrap: break-word;
  padding-bottom:0px;
  text-align: center;
  margin-bottom:10px;

}
.contactprojetp{
  font-family: 'Montserrat';
  font-size:16px;
  color:#0E100F;
  font-weight: 300;
  word-wrap: break-word;
  padding-bottom:0px;
  text-align: center;
  margin-bottom:30px;

}
.button-containercontact {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  align-items:center;
}
@media (max-width: 630px) {
  .button-containercontact {
    flex-direction: column;
    gap: 10px;
  }
}
.image-carousel {
  position: relative;
  width: 200px;
  height: 267px;
  margin: 30px auto;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.1s ease-in-out;
}

.carousel-image.active {
  opacity: 1;
}

@media screen and (max-width: 768px) {
  .image-carousel {
    width: 150px;
    height: 200px;
  }
}
.mailcontact {
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  position: relative;
  background: #0E100F;
  border: 1px solid #0E100F;
  align-items: center;
  font-size: 16px;
  margin-top: 10px;
  border-radius: 50px;
  width: 200px;
  font-weight: 300;

}

.mailcontact a{
  text-align: center;
  margin: 0px 0px;
}

.mailcontact:hover {
  background-color: #F2EFE8;
  color:#0E100F;
  border: 1px solid #0E100F;

}


.mailcontact img {
  margin-left: 5px; /* Espacement entre le texte et l'image */
  transition: transform 0.2s ease; /* Effet de transition */
  width: 15%;
  align-items: center;

}

/* Effet de mouvement lors du survol */
.mailcontact:hover img {
  transform: translateX(3px); /* Translation de l'image vers la droite */
}

.contactrdv {
  padding: 10px 20px;
  background-color: #457949;
  color: black;
  text-decoration: none;
  position: relative;
  background: #457949;
  border: 1px solid #0E100F;
  align-items: center;
  font-size: 16px;
  margin-top: 10px;
  border-radius: 50px;
  width: 230px;
  font-weight: 300;}

  .contactrdv:hover {
    background-color: #F2EFE8;
    color:#0E100F;
    border: 1px solid #0E100F;
  
  }
  

.contactrdv img {
  margin-left: 5px; /* Espacement entre le texte et l'image */
  transition: transform 0.2s ease; /* Effet de transition */
  width: 15%;
  align-items: center;

}

/* Effet de mouvement lors du survol */
.contactrdv:hover img {
  transform: translateX(3px); /* Translation de l'image vers la droite */
}

.contactp:after {
  content: "* ";
  color:#F591E7;
  font-family: 'Montserrat';
  font-size: 40px;
  font-weight: 900;
  padding-left:20px;
}

@keyframes rotate {
  from {
      transform: rotate(0deg);
  }
  to {
      transform: rotate(360deg);
  }
}

.contactp:after {
  display: inline-block;
  animation: rotate 10s linear infinite; /* Changer la durée de l'animation selon vos préférences */
}

@media screen and (max-width: 1195px) {
  .contactme{
    padding-top:80px;
  }
  .contactp{
    font-size:35px;
    padding-bottom:0px;
  }
  .contactprojet{
    font-size:25px;
}
}
@media screen and (max-width: 1075px) {

  .decocontact{
    padding-left:0px;
    font-size: 45px;

  }
}

@media screen and (max-width: 900px) {
  .contactp{
    font-size:30px;
  }
  .contactprojet{
    font-size:25px;
}
}


@media screen and (max-width: 720px) {
  .contactp{
    font-size:30px;
  }
  .contactprojet{
    font-size:25px;
}

}

@media screen and (max-width: 630px) {
  .contactp{
    font-size:25px;
  }
  .contactprojet{
    font-size:20px;
}

}

@media screen and (max-width: 560px) {
  .contactp{
    font-size:25px;
  }
  .contactprojet{
    font-size:20px;
}
}

@media screen and (max-width: 400px) {
  .contactp{
    font-size:25px;
  }
  .contactprojet{
    font-size:20px;
}
}


.buttonyellowcontact{
  display: inline-flex;              /* pour aligner texte + image */
  padding: 8px 24px;                /* espace intérieur */
  color: #0E100F;
  text-decoration: none;
  position: relative;
  background: #F5FF7D;
  border: 1px solid #0E100F;
  align-items: center;
  font-size: 16px;
  margin-top:8px;
  border-radius: 50px;
  font-weight: 300;
  margin-right:24px ;
}



.buttonyellowcontact img {
  margin-left: 5px; /* Espacement entre le texte et l'image */
  transition: transform 0.2s ease; /* Effet de transition */
  width: 16px;      /* taille icône */
  height: 16px;  align-items: center;
    object-fit: contain;


}

/* Effet de mouvement lors du survol */
.buttonyellowcontact:hover img {
  transform: translateX(3px); /* Translation de l'image vers la droite */
}

/* Effet de mouvement lors du survol */
.buttonyellowcontact:hover {
  transform: translateX(3px); /* Translation de l'image vers la droite */
}


.heartline{
  position: relative;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap:20px;
  padding-top: 15px;
  padding-bottom: 10px;
  border-top:1px solid #0E100F;
}
/*FIN FOOTER*/
/*SCROLL*/
#scrollto_top {
  position: fixed;
  width: 25px;
  height: 25px;
  bottom: 50px;
  right: 30px;

}
#scrollto_top img {
  width: 25px;
}
/*FIN SCROLL*/