body{
  font-family:  'Roboto', sans-serif;
  font-size: 15px;
  margin: 0px;
  padding: 0px;

}

h1{
  font-size: 35px;
  font-weight: normal;
  text-align: 0;
  color: #D9A066;
}



header{
  height: 80px;
  background-color:#D9A066; /* Harmonisé avec la barre de navigation */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  color: #424558; /* Texte blanc pour contraste */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-bottom: 2px solid #424558;
}

/* Section Contact Info */
.contact-info {
display: flex;
align-items: center;
gap: 15px; /* Uniformise l'espace entre les éléments */
}

.phone-icon {
display: flex;
justify-content: center;
align-items: center;
width: 40px;
height: 40px;
border-radius: 50%;
background-color: #4c6a64; /* Couleur verte harmonisée */
color: #FFF;
font-size: 18px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.phone-number {
font-weight: bold;
font-size: 16px;
color: #424558;
display: inline-block;
transition: transform 0.3s ease, color 0.3s ease;
}

.phone-number a{text-decoration: none;
}

.phone-number:hover {
transform: scale(1.1); /* Grossissement à 110% */

}

.request-quote {
background-color: #4c6a64;
padding: 8px 16px;
border-radius: 20px;
font-size: 14px;
font-weight: bold;
transition: background-color 0.3s ease;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.request-quote a {
color: #FFF;
text-decoration: none;
}

.request-quote:hover {
background-color: #3a7;
}

/* Réseaux Sociaux */
.icons-header {
display: flex;
gap: 20px;
color: #424558;
}

.icons-header a {
font-size: 20px;
color: #FFF;
transition: color 0.3s ease;
}

.icons-header a:hover {
color: #FFD700; /* Couleur dorée au survol */
text-shadow: 0 0 5px #FFD700; /* Effet lumineux */
}





/* *******************************FOOTER**************************** */


.footer-content > div {
margin: 10px 0; /* Espacement entre les blocs */
}

footer a {
text-decoration: none;
color: #FFF;
}


footer {
background:#4c6a64;
color: #FFF;
padding: 20px 0;
font-family: Arial, sans-serif;
border-top: 2px solid #AAA;
box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.5); 
}

.footer-content {
display: flex;
  flex-wrap: wrap; /* Les sections s'empilent sur les petits écrans */
  justify-content: space-around; /* Espacement égal sur les grands écrans */
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
}

.contact-info-footer{
display: flex;
  flex-direction: column; /* Les éléments s'empilent verticalement */
  align-items: center;
  margin-bottom: 15px;
}

.contact-info-footer a {
margin: 5px 0; /* Ajout d'une marge entre les liens */
display: block;
}


.contact-info-footer,.follow-us,.hours{
margin: 10px;
text-align: center; /* Centrer le contenu */

}

.contact-info-footer a, .copyright a {

text-decoration: none;
transition: color 0.3s;
color: #FFF;
}

.copyright a:hover {
color:  #FFD700;
}

.phone-number {
color: #FFF; /* Blanc */
font-weight: bold;
transition: transform 0.3s ease;
}

.follow-us strong {
margin-bottom: 15px; 
display: block;
}
.footer-icons a {
color: #FFF;
font-size: 1.5rem;
margin: 0 10px;
transition: transform 0.3s ease;
}

.footer-icons a:hover {
transform: scale(1.2); /* Zoom à 120% au survol */
color:  #FFD700
}


.hours {
font-size: 0.9rem;
}

.hours strong {
display: block;
margin-bottom: 5px;
}

.copyright {
text-align: center;
font-size: 0.8rem;
border-top: 1px solid #AAA;
padding-top: 10px;
margin-top: 10px;
width: 100%; /* S'étend sur toute la largeur */
box-sizing: border-box; /* Inclut le padding dans la largeur totale */
}



/* ******************************ICONES***************************** */



.icons {
  display: flex;

}

.icons-header{
  display: flex;
  margin-right: 30px;
}



.icons-header a {
  margin-left:10px;
  text-decoration: none;
  color: #000;
  transition: transform 0.3s ease;
  font-size: 32px;
}



.icons-header a:hover {
  transform: scale(1.2);
  color: #2a034e;
}

  /* ************************BARRE DE NAVIGATION****************************** */

  #logo img {
    width: auto; /* Adjust the width as needed */
    max-height: 100px;
    position: relative;
    right: 29px;
}

nav{
    width: 100%;
    height: 100px;
    background-color: #4c6a64;
    display: flex;
    align-items: center;
}
nav ul{
    margin: 0px;
    padding: 0px;
}

nav li{
    list-style: none;
    float: left;
}

nav a{
    display: inline-block;
    text-decoration: none;
    padding: 20px 30px;
    color: #FFF;
    text-transform: uppercase;
    font-size: 15px;
}


.table{
    display: table;
    margin: 0 auto;
}

.menu-ind:hover{
    border-top: 5px solid #D9A066;
    background-color: RGBa(64, 200, 130, 0.15);
}
.menu-ent:hover{
    border-top:5px solid#D9A066 ;
    background-color:RGBa(241, 211,79, 0.15) ;
}
.menu-presta:hover{
    border-top: 5px solid #D9A066;
    background-color: RGBa(000, 112, 192, 0.15);
}




.menu-con:hover{
    border-top: 5px solid #D9A066;
    background-color: RGBa(228, 77,38, 0.15);
}

nav li:hover a{
    padding: 15px 30px 20px 30px;
}


/* *******************************BOUTON RESPONSIVE MENU**************************** */

#menu-btn {
    display: none;
}

@keyframes topBar_open {
    0% {
      transform: translateY(0px) rotate(0deg);
      width: 60px;
    }
    10% {
      transform: translateY(-8px) rotate(0deg);
      width: 60px;
    }
    50% {
      transform: translateY(25px) rotate(45deg);
      width: 84px;
    }
    75% {
      transform: translateY(12px) rotate(45deg);
      width: 84px;
    }
    100% {
      transform: translateY(17px) rotate(45deg);
      width: 84px;
    }
  }
  @keyframes bottomBar_open {
    0% {
      transform: translateY(0px) rotate(0deg);
      width: 60px;
    }
    10% {
      transform: translateY(-8px) rotate(0deg);
      width: 60px;
    }
    60% {
      transform: translateY(0px) rotate(-45deg);
      width: 84px;
    }
    75% {
      transform: translateY(-10px) rotate(-45deg);
      width: 84px;
    }
    100% {
      transform: translateY(-8px) rotate(-45deg);
      width: 84px;
    }
  }
  @keyframes menuLabel_open {
    0% {
      transform: translateY(0px);
      opacity: 1;
    }
    25% {
      transform: translateY(-18px);
    }
    45% {
      transform: translateY(44px);
      opacity: 1;
    }
    48% {
      transform: translateY(50px);
      opacity: 0;
    }
    100% {
      transform: translateY(30px);
      opacity: 0;
    }
  }
  @keyframes topBar_close {
    0% {
      transform: translateY(17px) rotate(45deg);
      width: 84px;
    }
    35% {
      transform: translateY(-8px) rotate(-4deg);
      width: 60px;
    }
    53% {
      transform: translateY(10px) rotate(3deg);
      width: 60px;
    }
    70% {
      transform: translateY(-6px) rotate(0deg);
      width: 60px;
    }
    100% {
      transform: translateY(-2px) rotate(0deg);
      width: 60px;
    }
  }
  @keyframes bottomBar_close {
    0% {
      transform: translateY(-8px) rotate(-45deg);
      width: 84px;
    }
    35% {
      transform: translateY(-18px) rotate(6deg);
      width: 60px;
    }
    53% {
      transform: translateY(0px) rotate(-3deg);
      width: 60px;
    }
    68% {
      transform: translateY(-7px) rotate(0deg);
      width: 60px;
    }
    100% {
      transform: translateY(0px) rotate(0deg);
      width: 60px;
    }
  }
  @keyframes menuLabel_close {
    0% {
      transform: translateY(30px);
      opacity: 0;
    }
    5% {
      transform: translateY(25px);
      opacity: 1;
    }
    25% {
      transform: translateY(-30px);
      opacity: 1;
    }
    37% {
      transform: translateY(-22px);
      opacity: 1;
    }
    45% {
      transform: translateY(-22px);
      opacity: 1;
    }
    58% {
      transform: translateY(8px) rotate(-10deg);
      opacity: 1;
    }
    83% {
      transform: translateY(-6px) rotate(0deg);
      opacity: 1;
    }
    100% {
      transform: translateY(0px);
      opacity: 1;
    }
  }
  
  

  #menu-btn:before, #menu-btn:after {
    content: "";
    width: 100%;
    height: 8px;
    background-color: #FFF;
    display: block;
    position: absolute;
    border-radius: 20px;
     z-index: 1001; 
  }
  #menu-btn:before {
    transform-origin: left center;
    
  }
  #menu-btn:after {
    right: 0;
    top: 25px;
    transform-origin: right center;
    
  }
  #menu-btn .text {
    color: #FFF;
    font-family: "Candal", sans-serif;
    display: block;
    position: absolute;
    bottom: 0;
    font-size: 17px;
    letter-spacing: 2.5px;
  }
  #menu-btn:hover {
    cursor: pointer;
  }
  #menu-btn.open:before {
    animation: topBar_open 1s ease-in-out;
    animation-fill-mode: forwards;
  }
  #menu-btn.open:after {
    animation: bottomBar_open 1s ease-in-out;
    animation-fill-mode: forwards;
  }
  #menu-btn.open .text {
    animation: menuLabel_open 1s ease-in;
    animation-fill-mode: forwards;
  }
  #menu-btn.close:before {
    animation: topBar_close 1s ease-in-out;
    animation-fill-mode: forwards;
  }
  #menu-btn.close:after {
    animation: bottomBar_close 1s ease-in-out;
    animation-fill-mode: forwards;
  }
  #menu-btn.close .text {
    animation: menuLabel_close 1s ease-in;
    animation-fill-mode: forwards;}



  
    @media screen and (max-width:780px) {
      header {
        flex-wrap: nowrap; /* Forcer l'alignement horizontal */
        justify-content: space-around; /* Espaces équilibrés */
        height: auto; min-height: 100px; /* Ajuster la hauteur automatiquement */
        padding: 0;
    }

    .contact-info {
        gap: 10px; /* Réduire l'espacement pour mobile */
        font-size: 14px; /* Taille de texte plus petite */
    }

    .phone-number {
        display: inline; /* Assurez-vous que le numéro s'affiche bien */
        font-size: 12px;
    }

    .request-quote {
        padding: 6px 12px; /* Réduire les marges */
        font-size: 12px;
    }

    .icons-header  {
      font-size: 22px; /* Icônes légèrement plus petites */
      gap: 10px;
     
  }

    .icons-header a {
        font-size: 22px; /* Icônes légèrement plus petites */
    }

        body{
            font-size: 13px;
        }
        h1 {
            font-size: 28px;
            margin: 20px 0 0;
        }
    
        
        nav ul{
            display: flex;
            position: absolute;
            left: -100%;
            top: 5%;
            flex-direction: column;
            /* width: 100%; */
             text-align: center;
            transition: 1s ease-in-out; 
            
        }

        .menu-ind:hover{
            border-top: 5px solid #fff;
            background-color: RGBa(255,255,255, 0.05);
        }
        .menu-ent:hover{
            border-top:5px solid#FFF ;
            background-color:RGBa(255,255,255, 0.05) ;
        }
        .menu-presta:hover{
            border-top: 5px solid #fff;
            background-color: RGBa(255,255,255, 0.05);
        }
        .menu-con:hover{
            border-top: 5px solid #fff;
            background-color: RGBa(255,255,255,0.05)}
    
        nav li {
            padding: 3px 0;
        }
    
        #menu-btn {
            display: block;
            position: relative;
            margin: 20px auto 0;
            text-align: center;
            width: 60px;
            height: 65px;
            
        }
        

        #navbar.navbar.active {
            
             position: absolute; 
            left: 0;
            margin-top: 17px;
             width: 100%;  
            height: 100%;    
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            z-index: 1000;
            backdrop-filter: blur(10px);
        }

        .active, .dot:hover {
            background-color: #4c6a68;
            
        }

        #logo img {
          max-height: 80px; /* Réduit la taille du logo sur mobile */
      }

        .footer-content {
          flex-direction: column; /* Les éléments passent en colonne */
          align-items: center; /* Centre les éléments */
          text-align: center; /* Aligne le texte au centre */
        }
        
        .footer-content > div {
          margin-bottom: 20px; /* Ajoute de l'espace entre les blocs */
          width: 100%; /* Les blocs prennent toute la largeur */
        }
        
        .footer-icons {
          margin: 10px 0; /* Ajoute de l'espace autour des icônes */
        }
        
        .follow-us, .hours, .contact-info-footer {
          margin-bottom: 20px; /* Un peu plus de marge entre les sections */
        }
    
      }
    
        
      

/* *********************************L'ENTREPRISE ********************************** */

/* Section entreprise - version ordinateur */
.l-entreprise {
  display: flex;
  flex-direction: row; /* Disposition en ligne pour les grands écrans */
  justify-content: space-between;
  padding: 20px;
  gap: 10px; /* Espace entre l'image et le texte */
}

/* Image - version ordinateur */
.image-l-entreprise {
  flex: 1;
  max-width: 35%; /* L'image occupe 50% de la largeur */
}

.image-l-entreprise img {
  width: 100%; /* L'image prend toute la largeur disponible dans son conteneur */
  height: auto;
  border-radius: 10px; /* Coins arrondis */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Ajoute une ombre subtile */
}


.slide-in-text {
  opacity: 0;
  transform: translateX(-100%); /* Hors de l'écran à gauche */
  transition: transform 1.5s ease-out, opacity 0.6s ease-out;
}


/* When the element becomes visible */
.slide-in-text.visible {
  opacity: 1;
  transform: translateX(0); /* Revient à sa position normale */
}

/* Texte - version ordinateur */
.texte-présentation {
  flex: 1;
  max-width: 50%; /* Le texte occupe les 50% restants */
  text-align: justify; /* Justifie le texte pour une présentation propre */
  line-height: 1.8; /* Lisibilité améliorée */
}

.texte-présentation h2 {
  font-size: 1.8rem; /* Taille de titre adaptée pour les écrans larges */
  margin: 20px 0 10px;
  color: #424558;
  border-bottom: 2px solid #D9A066
}

.texte-présentation p {
  font-size: 1rem;
  color: #424558;
  margin-bottom: 15px;
}

#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #4c6a68;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#back-to-top:hover {
  background-color: #D9A066;
  transform: scale(1.1);
}

#back-to-top i {
  pointer-events: none; /* Désactive les interactions avec l'icône */
}

/* Afficher le bouton uniquement lorsque l'utilisateur descend */
#back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Responsive - version mobile */
@media (max-width: 768px) {
  .l-entreprise {
      flex-direction: column; /* Les éléments s'empilent en colonne */
      align-items: center;
      padding: 15px;
  }

  .image-l-entreprise {
      max-width: 70%;
      margin-bottom: 20px; /* Ajoute un espace en bas pour séparer l'image du texte */
  }

  .texte-présentation {
      max-width: 100%; /* Texte prend toute la largeur */
  }

  .texte-présentation h2 {
      font-size: 1.5rem; /* Taille réduite pour les petits écrans */
  }

  .texte-présentation p {
      font-size: 0.95rem;
  }
}


@media (min-width: 375px) {
  p {
    font-size: 16px  !important; 
    line-height: 1.6  !important;
    margin-bottom: 1rem  !important;
  }

  li {
    font-size: 16px  !important; 
    line-height: 1.6  !important;
    margin-bottom: 1rem  !important;
  }
}

@media (min-width: 768px) {
  p {
    font-size: 18px; 
    line-height: 1.8;
    margin-bottom: 1rem;
  }
  li {
    font-size: 16px  !important; 
    line-height: 1.6  !important;
    margin-bottom: 1rem  !important;
  }
}