:root{
    --color1: rgb(210,92,46)
}
@media (max-width:1024px){
    #header-contact{
      display: none;
    }
    #logo{
        width: 100px;
    }
    h1{
        width: 100%;
    }
    .menu-burger{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height:40px;
        width: 85px;
        position: absolute;
        top: 20px;
        right: 50px;
       
       
    }
    .menu-burger span{
        width: 100%;
        background-color: var(--color1);
        height: 10px;
        
        border: 2px solid black;
        padding: 5px 0;
        border-radius: 10px;
        margin: 2px 0;
    }
    .menu_mobile{
        margin-top: 100px;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* background-color: green; */
    }
    .link a{
        color: white;
   
    }
    .link{
       
        background-color: var(--color1);
        padding: 10px;
        font-size: 2.2rem;
        width: 175px;
        /* border: 2px solid black; */
        text-align: center;
        color: white;
        margin: 35px 0;
        padding: 10px 35px;
        
        border-radius: 15px;
    }
    .contact{
        /* background-color: red; */
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 30px;
        
    }
    .contact p{
        margin: 10px 0;
    }

    .social_media{
        margin: 40px  auto;
        display: flex;
        justify-content: space-around;
        width: 80% ;
    }

    #offert{
        display: flex;
        flex-direction: column;
    }
    #description{
        padding: 40px 100px;
    }
    .titre_zone{
        font-size: 3.2rem;
    }

    #type-services{
        display: grid;
        grid-template-columns: 50% 50%;
        width: 80%;
        gap: 15px;
    }

    #notre-entreprise{
        width: 80%;
    }
        

    #images_galerie{
       display: flex;
       flex-direction: column;
    }
    
    #zone_icone{
        display: none;
    }
    #paragraph{
        width: 100%;
    }


    
}






@media (max-width:880px){
    h1{
        font-size: 2.2rem;
    }

    #grand-icones article{
        width: 60%;
    }
    .icones-grand{
        width: 100px;
        height: 100px;

    }
    .titre_zone{
        font-size: 2.2rem;
        letter-spacing: 0;
    }

    #type-services{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    #description-text p {
        font-size: 1.6rem;
    }
    #block_images{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 50%;
    }
    #icone_et_texte{
        display: flex;
        flex-direction: row;
    }
    #info_footer{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
    }
    hr{
        display: none;
    }
     /* Le slider horizontal */
    #images_galerie{
        display: flex !important;
        flex-direction: row !important;

        overflow-x: auto !important;   /* on garde la barre horizontale */
        overflow-y: hidden !important;

        
        padding: 20px 0;
        gap: 20px;

        scroll-snap-type: x mandatory;  
        -webkit-overflow-scrolling: touch;
    }

    /* On NE supprime PAS la scrollbar ici */

    /* Style plus propre de la barre de défilement */
    #images_galerie::-webkit-scrollbar {
        height: 8px;
    }
    #images_galerie::-webkit-scrollbar-track {
        background: #ddd;
        border-radius: 10px;
    }
    #images_galerie::-webkit-scrollbar-thumb {
        background: #999;
        border-radius: 10px;
    }

    /* Les images centrées */
    #images_galerie .image-galerie{
        flex: 0 0 85%;
        max-width: 85%;
        height: 250px;

        object-fit: cover;
        border-radius: 14px;

        scroll-snap-align: center;
        box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    }

    /* Annulation de la grille desktop */
    #images_galerie img{
        grid-column: unset !important;
        grid-row: unset !important;
    }
    

}







@media (max-width: 600px){

    #description{
        width: 100%;
        padding: 0;
        height: 500px;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
   
    }
    #description p{
        font-size: 1.6rem;
    }
    
    #offert div {
        display: flex;
        align-items: center;
    }
    #offert div  p{
        font-size: 1.8rem;

    }
    h1{
        font-size: 1.8rem;
        width: 80%;
    }
    #grand-icones article{
        width: 90%;
        display: flex;
        justify-content: space-between;
       
    }
    .icones-grand{
        width: 70px;
        height: 70px;
    }

    .description_intervention{
        font-size: 1.4rem;
    }
    #description-text{
        font-size: 1.4rem;
    }
    
    footer{
        display: flex;
        flex-direction: column;
    }
    
    #icone_et_texte{
        margin: 0 auto;
        width: 80% ;
        display: flex;
        flex-direction: column;
    }
    #block_images{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }#info_footer{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }
    .social_media img{
        width: 50px;
    }
 
}
    



@media (max-width:375px){

 



    .menu-burger{
        height: 15px;
        width: 60px;
        position: absolute;
        top: 10px;
    
    }
    
        #logo{
            margin-top: 5px;
            width: 85px;
        }
        h1{
            font-size: 1.2rem;
            width: 90%;
            padding-left: 30px;
        }
        #description{
            height:300px ;
        }
        #description p{
            font-size: 1.1rem;
        }
        #landing-page p{
            padding-left: 30px;
        }
        #offert{
            min-height: 150px;
        }
        #offert div p{
            font-size: 1.3rem;
        }
        .icone_valider{
            width: 35px;
        }
        .small-text{
            font-size: 0.9rem;
        }
    
        .menu_mobile{
            margin-top:55px;
        }
    
        .link{
            font-size: 1.4rem;
            padding: 8px 10px;
            margin: 15px 0;
        }
    
        .contact{
            margin-top: 5px;
        }
    
    
        .menu-burger.open span:nth-child(1) {
      transform: translateY(14px) rotate(51deg);
    }
    
    .menu-burger.open span:nth-child(3) {
      transform: translateY(-21px) rotate(310deg);
    }
    .titre_zone{
        font-size: 1.8rem;
        letter-spacing: 0;
    }
    
    }
    
    
    

       

/* contact et devis */
@media (max-width: 1024px) {
  .contact-devis {
    width: 92%;
    max-width: 900px;
    margin: 40px auto;
  }

  .contact-devis .contact-card {
    padding: 22px;
    border-radius: 16px;
  }

  .contact-devis .contact-grid {
    gap: 16px;
  }

  .contact-devis input,
  .contact-devis textarea {
    padding: 13px 13px;
    border-radius: 12px;
  }

  .contact-devis textarea {
    min-height: 160px;
  }
}

/* Petite tablette / grand mobile (<= 880px) */
@media (max-width: 880px) {
  .contact-devis {
    width: 94%;
    max-width: 820px;
    margin: 35px auto;
  }

  /* On passe en 1 colonne pour plus de confort */
  .contact-devis .contact-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-devis .contact-field.is-full {
    grid-column: auto; /* inutile en 1 colonne, mais évite les surprises */
  }

  .contact-devis .contact-actions {
    justify-content: stretch;
  }

  .contact-devis button,
  .contact-devis .contact-btn {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
  }
}

/* Mobile (<= 600px) */
@media (max-width: 600px) {
  .contact-devis {
    width: 94%;
    margin: 28px auto;
  }

  .contact-devis .contact-card {
    padding: 16px;
    border-radius: 14px;
  }

  .contact-devis .contact-title {
    font-size: 1.35rem;
  }

  .contact-devis .contact-subtitle {
    font-size: 0.95rem;
    margin-bottom: 16px;
  }

  .contact-devis label {
    font-size: 0.92rem;
  }

  .contact-devis input,
  .contact-devis textarea {
    font-size: 1rem;
    padding: 12px 12px;
    border-radius: 12px;
  }

  .contact-devis textarea {
    min-height: 150px;
  }

  /* Focus un peu plus léger sur mobile (plus propre visuellement) */
  .contact-devis input:focus,
  .contact-devis textarea:focus {
    box-shadow: 0 0 0 4px rgba(39, 92, 65, 0.20);
    transform: none; /* évite les "sauts" sur mobile */
  }
}

/* Petit mobile (<= 375px) */
@media (max-width: 375px) {
  .contact-devis {
    width: 96%;
    margin: 20px auto;
  }

  .contact-devis .contact-card {
    padding: 14px;
  }

  .contact-devis .contact-title {
    font-size: 1.2rem;
  }

  .contact-devis input,
  .contact-devis textarea {
    padding: 11px 11px;
  }

  .contact-devis button,
  .contact-devis .contact-btn {
    padding: 13px 16px;
  }
}


























