body{
  font-family:  'Roboto', sans-serif;
  font-size: 15px;
  margin: 0px;
  padding: 0px;
 
}




h1{
  font-size: 35px;
  font-weight: normal;
  text-align: 0;
}

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-blog:hover{
  border-top: 5px solid #D9A066;
  background-color: RGBa(100, 150, 200, 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;}


    #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;
  }
  

  /* ==========================================================
   PAGE CATEGORIE RENOVATION
   (HERO + LISTE ARTICLES + BLOC SEO/CONVERSION)
========================================================== */

/* --------------------------
   HERO CATEGORIE
--------------------------- */
.blog-categories[aria-label*="rénovation"],
.blog-categories[aria-label*="Rénovation"]{
  max-width: 1100px;
  margin: 30px auto 10px;
  padding: 26px 22px;
  background: #f5f5f5;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  text-align: center;
}

.blog-categories h1{
  color: #D9A066;
  font-size: 2rem;
  margin: 0 0 12px;
  line-height: 1.2;
}

.blog-categories p{
  color: #424558;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 900px;
}

/* CTA centré sous le hero */
.blog-categories .blog-footer-cta{
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

/* --------------------------
   LISTE ARTICLES
--------------------------- */
.prestations.slide-in-text-1{
  max-width: 1100px;
  margin: 35px auto;
  padding: 20px;
}

.prestations.slide-in-text-1 > h2{
  text-align: center;
  color: #D9A066;
  font-size: 1.9rem;
  margin-bottom: 26px;
}

/* Grille responsive */
.prestations .sec{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

/* Carte article */
.prestations .service{
  background: #ffffff;
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.prestations .service:hover{
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

/* Badge catégorie cliquable */
.cat-badge{
  align-self: flex-start;
  margin-bottom: 12px;
}

.cat-badge a{
  color: #fff;
  text-decoration: none;
}

/* Titre article */
.prestations .service h3{
  font-size: 1.25rem;
  margin: 0 0 10px;
  line-height: 1.35;
  color: #424558;
}

.prestations .service h3 a{
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease;
}

.prestations .service h3 a:hover{
  color: #D9A066;
}

/* Texte */
.prestations .service p{
  font-size: 0.95rem;
  line-height: 1.6;
  color: #424558;
  margin: 0 0 18px;
}

/* Bouton Lire l’article en bas */
.prestations .cta-read{
  margin-top: auto;
  align-self: flex-start;
}

/* --------------------------
   BLOC SEO / CONVERSION
--------------------------- */
.blog-intro[aria-label*="rénovation"],
.blog-intro[aria-label*="Rénovation"]{
  max-width: 1100px;
  margin: 35px auto 50px;
  padding: 24px 22px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.blog-intro[aria-label*="rénovation"] h2,
.blog-intro[aria-label*="Rénovation"] h2{
  text-align: center;
  color: #D9A066;
  margin: 0 0 12px;
  font-size: 1.6rem;
}

.blog-intro[aria-label*="rénovation"] p,
.blog-intro[aria-label*="Rénovation"] p{
  
  line-height: 1.7;
  margin: 0;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

#filter-materiaux:checked ~ .filter-list .service:not([data-cat*="materiaux"]) {
  display: none;
}

#filter-renovation:checked ~ .filter-list .service:not([data-cat*="renovation"]) {
  display: none;
}


/* --------------------------
   RESPONSIVE
--------------------------- */
@media (max-width: 768px){
  .blog-categories h1{
    font-size: 1.6rem;
  }

  .prestations.slide-in-text-1 > h2{
    font-size: 1.6rem;
  }

  .prestations .service h3{
    font-size: 1.1rem;
  }

  .blog-categories,
  .prestations.slide-in-text-1,
  .blog-intro{
    padding: 16px 14px;
  }
}



/* CTA "Lire l’article" */


.cta-read {
  background-color: transparent;
  color: #4c6a64;
  border: 2px solid #4c6a64;
  box-shadow: none;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.25s ease;
  
}

.cta-read:hover {
  background-color: #4c6a64;
  color: #fff;
  transform: translateX(4px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.cta-read::after {
  content: "→";
  margin-left: 6px;
  transition: margin-left 0.25s ease;
}

.cta-read:hover::after {
  margin-left: 10px;
}

/* ==========================================================
   RESPONSIVE (MOBILE)
========================================================== */
@media screen and (max-width:780px) {
  header {
    flex-wrap: nowrap;
    justify-content: space-around;
    height: auto;
    min-height: 100px;
    padding: 0;
  }

  .contact-info {
    gap: 10px;
    font-size: 14px;
  }

  .phone-number {
    display: inline;
    font-size: 12px;
  }

  .request-quote {
    padding: 6px 12px;
    font-size: 12px;
  }

  .icons-header  {
    font-size: 22px;
    gap: 10px;
  }

  .icons-header a {
    font-size: 22px;
  }

  h1 {
    font-size: 28px;
    margin: 20px 0 0;
  }

  nav ul{
    display: flex;
    position: absolute;
    left: -100%;
    top: 5%;
    flex-direction: column;
    text-align: center;
    transition: 1s ease-in-out;
  }

  .menu-ind:hover,
  .menu-ent:hover,
  .menu-presta:hover,
  .menu-con:hover,
  .menu-blog:hover{
    border-top: 5px solid #fff;
    background-color: RGBa(255,255,255, 0.05);
  }
}
  


    @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 */
        }

      
        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: 35px;
             width: 100%;  
            height: 100%;    
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            z-index: 1000;
            backdrop-filter: blur(10px);
        }

#logo img {
  max-height: 80px; /* Réduit la taille du logo sur mobile */
}

        .active, .dot:hover {
            background-color: #4c6a68;
            
        }
        
    

.cta-button {
    font-size: 0.9rem;
    padding: 10px 15px;
}


.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 */
}

    }



    @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;
      }
    }