@media screen and (min-width:1025px) {
  .no-display-comp{
display: none;
  }
  
}
/* Responsive Menu et Header */
@media screen and (max-width: 1024px) {
  .no-display-tab{
    display: none;
  }
  .principalMenu {
      padding: 10px 30px;
      background-color: rgba(0, 0, 0, 0.3);
      margin-bottom: 20px;
      justify-content: space-between !important;
      position: fixed;
      top: 0;
      z-index: 110;
      box-sizing: border-box;
  }

  .principalMenu.scrolled {
  background-color: var(--bleu); /* couleur après scroll */
}

  .icon-top-header{
    display: block;
}

.logoHeader{
    order: 2;
}

.menu-toggle{
    order: 1;
}

.phone-icon{
    order: 3;
}


  .logoHeader img {
      width: 300px;
  } 

  .headertopinfo_elements {
      justify-content: center;
      padding-right: 0;
  }
  
  /* Home presentation responsive */
  .home-presentation {
      padding: 0 40px;
      box-sizing: border-box;
  }
  
  .home-presentation-title {
      font-size: 2.8rem;
      margin-bottom: 80px;
  }
  
  /* Expertise responsive */
  .expertises {
      flex-wrap: wrap;
      gap: 40px;
      /* top: -100px; */
      top: -50px;
  }
  
  .expertises_content {
      flex-wrap: wrap;
      justify-content: center;
    background-color: white;
    padding: 20px 40px;
  }

  .expertises_video iframe{
        width: 100%;
        aspect-ratio: 16 / 9;
  }
  
  /* Methode responsive */
  .methode {
      flex-direction: column;
  }
  
  .methode_content {
      width: 90%;
      padding: 40px;
  }
  
  .methode_image {
      width: 100%;
  }
  
  /* Qui sommes nous responsive */
  .quisommesnous {
      flex-direction: column;
  }
  
  .quisommesnous_content {
      width: 90%;
      padding: 40px;
  }
  
  .quisommesnous_image {
      width: 100%;
  }
  
  /* Chiffres clés responsive */
  .container_chiffres_cles {
      gap: 60px;
  }
  
  /* Témoignages responsive */
  .testimonial-splide .slide {
      flex-direction: column;
      gap: 10px;
      margin: 10px;
      box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  }
  
  .testidroite {
      border-left: none;
      padding-left: 10px;
      padding-right: 10px;
  }

  .testi_gauche {
    padding-left: 10px;
    padding-right: 10px;
    }

    .avis-container{
      padding: 0 50px;
    }
  
  /* Contact section responsive */
  .section_contact {
      flex-direction: column;
  }
  
  .partiegauche {
      width: 100%;
      padding: 40px;
  }
  
  .partiedroite {
      width: 100%;
      padding-left: 0;
  }
  
    .partiegauche .personContainer{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* gap: 30px; */
  }
  
  .partiegauche .personContainer .person{
    border: none;
    justify-content: center;
    width: 100%;
  }

  .partiegauche .personContainer .numMailIn{
    width: 100%;
    flex-direction: row;
  }

  .contact-page .partiegauche .personContainer .person {
    align-items: center;
    text-align: center;
  }

  .contact-page .partiegauche_text .mail-tel{
    width: 100%;
  }
  /* Newsletter responsive */
  .container_newsletter {
      flex-direction: column;
      padding: 0px;
      align-items: center;
      gap: 40px;
  }

  .partiegauche_newsletter{
    padding-bottom: 15px;
  }

  .partiedroite_newsletter{
    width: 100%;
    background-color: var(--bleu);
    padding: 30px 0;
  }
  
  
  .partiedroite_newsletter h2{
    margin: 0 auto 20px;
  }

  /* FAQ responsive */
  .section_faq_home {
      flex-direction: column;
  }
  
  .container_faq_home {
      width: 100%;
  }
  
  .sectionfaq_image {
      width: 100%;
  }

  .contact-page .partiegauche{
    box-sizing: border-box;
  }
  .partiedroite .wpcf7, .contact-page .partiedroite .wpcf7{
    margin: 20px;
  }

  .nos-realisations .surtitle,
  .nos-realisations .rea-text-container,
  .nos-realisations .realisations{
    padding: 0;
  }

  .nos-realisations .surtitle,
  .nos-realisations h2{
    text-align: center;
    width: 100%;
  }

  .nos-realisations .categories{
    width: 100%;
  }

  .nos-realisations .rea-text-container{
    flex-direction: column;
    margin-bottom: 10px;
  }

    .nos-realisations .button{
    padding: 15px 60px 0;
  }


    /* Footer */
    .footer {
      flex-direction: column;
      align-items: center;
  }
  
  .footer-plan-du-site {
      flex-direction: column;
      gap: 20px;
  }
  
  .footer-informations {
      width: 90%;
  }
  
  .footer-copyright {
      flex-direction: column;
      gap: 20px;
  }

  .footer-copyright .cgv {
    gap: 10px;
  }
  .footer-copyright a{
    font-size: 10px;
  }

    /* Contact */
    .contact-page .section_contact{
      flex-direction: column;
    }
    .partiegauche {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    
    .partiegauche h2 {
        font-size: 1.6rem;
    }
    .partiedroite .form_text p{
      text-align: center;
      font-size: 15px;
    }
    
    .partiedroite .form-row p {
        flex-direction: column;
        gap: 0;
    }
  
    .contact-page .partiegauche{
      padding: 50px 20px;
      gap: 15px;
    }
  
    .contact-page .section_reseaux h2 {
      font-size: 30px;
      width: 70%;
    }
  
    .contact-page .partiegauche_text {
      flex-direction: column;
      gap: 30px;
    }
    
    .contact-page .partiegauche_text .adresse {
      padding-top: 5px;
      padding-bottom: 5px;
      padding-left: 10px;
      width: fit-content;
      align-self: center;
    }
  
    .contact-page .partiegauche_text .mail-tel{
      border: none;
      padding-left: 0;
  
    }
    .contact-page .partiegauche_text .mail {
      margin-top: 0px;
    }
  
  
    .contact-page .partiegauche_text .tel {
      margin: 0 auto;
      text-decoration: underline;
      border: white solid 1px;
      padding: 10px;
    }
  
    #map-phone{
      display: block;
      width: 100%;
  
      height: 200px;
    }
  
}

@media screen and (max-width: 768px) {
  /* .headertopinfo_elements {
      flex-direction: column;
      gap: 15px;
  } */

  .principalMenu {
      padding: 20px;
      
  }

  .logoHeader img {
      width: 200px;
  }

  /* Style du menu mobile */
  /* .main-menu {
      padding: 80px 0px;
  } */

  .main-menu ul {
      width: 100%;
  }

  .main-menu ul li {
      margin: 15px 0;
      width: 100%;
      text-align: center;
  }

  .main-menu ul li a {
      padding: 10px 0;
      display: block;
      width: max-content;
      margin: 0 auto;
      font-size: 22px !important;
  }
  .closemainmenu{
    position: unset;
  }

  /* Style du bouton toggle en mobile */
  .menu-toggle {
      padding: 10px;
      z-index: 1001;
  }

  .menu-toggle span {
      font-size: 14px;
  }

  .menu-toggle svg {
      width: 24px;
      height: 24px;
  }
  
  /* Home presentation responsive */
  .home-presentation-title {
      font-size: 2.2rem;
      margin-bottom: 50px;
  }
  
  .home-presentation-cta .btn-primary {
      padding: 15px 40px;
      font-size: 0.8rem;
  }
  
  /* Expertises */
  .expertises {
      top: -50px;
  }
  
  .expertises_content {
      gap: 10px;
  }
  
  /* Nos produits */
  .nos_produits_titre h2 {
      font-size: 2.4rem;
  }
  
  /* Methode */
  .methode_content h2 {
      font-size: 2.2rem;
  }
  
  /* Qui sommes nous */
  .quisommesnous_content h2 {
      font-size: 2.2rem;
  }
  
  /* Chiffres clés */
  .container_chiffres_cles {
      padding: 50px 0;
  }
  
  .chiffre_chiffres_cles {
      font-size: 3.5em;
  }
  
  /* Témoignages */
  .section_testimonials .testimonials_titre {
      font-size: 2.2rem;
  }
  
  .testimonial-splide .slide-title {
      font-size: 1.6rem;
  }
  
  /* Articles */
  .dernieres_articles h2 {
      font-size: 2.2rem;
  }
  
  /* Contact */
  .partiegauche h2 {
      font-size: 2rem;
  }
  
  .partiedroite .wpcf7 {
      margin: 20px;
  }


  /* Newsletter */
  .newsletter_input {
      width: 100%;
  }

  .nos-realisations .realisations .realisation.active{
    grid-template-columns: repeat(2, 1fr);
  }

  .nos-realisations .realisations .realisation.active .img3{
    grid-row-start: span 2 / span 2;
  }

  .nos-realisations .realisations .realisation.active .img4{
    grid-column-start: auto;
    grid-row-start: auto;
  }
  
  .nos-realisations .realisations .realisation.active .img5 {
    grid-column-start: auto;
    grid-row-start: span 2 / span 2;
  }

}

@media screen and (max-width: 480px) {
    .no-display-phone{
        display: none;
    }

    .principalMenu {
      padding: 10px 15px;
      margin-bottom: 0px;
  }

    .icon-top-header{
        display: block;
    }

    .logoHeader{
        order: 2;
    }

    .menu-toggle{
        order: 1;
    }

    .phone-icon{
        order: 3;
    }

    .logoHeader img {
        width: 200px;
    }

    .menu-toggle span {
        font-size: 12px;
    }

    .menu-toggle svg {
        width: 30px;
        height: 30px;
    }

  /* Ajustements du menu en très petit écran */
  /* .main-menu {
      padding: 60px 0px;
  } */

  .main-menu ul li a {
      font-size: 20px;
  }
  
  /* Home presentation responsive */
  .home-presentation {
      padding: 65px 20px 0;
      margin-bottom: 50px;
  }

  .home-presentation-content{
    margin: 0 auto;
  }
  
  .home-presentation-tagline {
      font-size: 1rem;
      text-align: center;
  }
  
  .home-presentation-title,
  .contact-question-title {
      font-size: 33px;
      text-align: center;
      margin-bottom: 40px;
  }
  
  .home-presentation-cta{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    width: 100%;
  }
  
  .home-presentation-cta .btn-primary {
      padding: 15px;
      font-size: 0.75rem;
      width: 60%;
      text-align: center;
  }

  .decouvrir-video{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background-color: #1b2640ae;
    width: 60%;
    color: white;
    font-weight: 500;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 13px;
  }

  .decouvrir-video .video-icon{
    height: 35px;
  }
  /* Expertises */
  .expertises {
      top: 0;
      padding: 0px;
  }
  
  .expertises_content {
      flex-direction: row;
      flex-wrap: nowrap;
      padding: 20px 0;
  }
  
  .expertises_separator {
      display: none;
  }

  .expertises_item img{
    width: 30px;
  }

  .expertises_item div{
    font-size: 10px;
  }

  /* Nos produits */
  .nos_produits{
    background-color: #F6F7F9;
  }

  .nos_produits_titre{
    padding: 50px 20px 30px;
  }

  .nos_produits_titre h2 {
      font-size: 1.8rem;
  }
  
  .nos_produits_surtitle {
      font-size: 1rem;
  }
  
  .prduitsacf{
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
  }

  .prduitsacf .produit{
    height: 140px;
  }

  .prduitsacf .produit_titre{
    font-size: 1.2rem;
  }

  .prduitsacf .produit_titre_container img{
    width: 70px;
  }
  /* Methode */
  .methode_content {
      padding: 40px 20px 20px;
  }
  
  .methode_content h2 {
      font-size: 1.8rem;
  }

  .methode_surtitle,
  .methode_content h2,
  .methode_text{
    text-align: center;
  }

  .methode .trace{
    top: -25px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  
  /* Qui sommes nous */
  .quisommesnous_content {
      padding: 40px 20px 20px;
      text-align: center;
  }
  
  .quisommesnous_content h2 {
      font-size: 1.8rem;
  }

  .quisommesnous .trace{
    top: 245px;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .trace img{
   width: 40px;
  }
  
  /* Chiffres clés */
  .container_chiffres_cles {
      padding: 30px 0;
      gap: 30px;
  }
  
  .chiffre_chiffres_cles {
      font-size: 2.5em;
  }
  
  /* Témoignages */
  .section_testimonials .testimonials_titre {
      font-size: 1.8rem;
  }

  .testimonial-splide .fleche{
    width: 100px;
  }

  .section_testimonials .splide__arrow{
    top: 110%;
  }
  
  /* Articles */
  .dernieres_articles{
    padding-top: 40px;
  }
  .dernieres_articles h2 {
      font-size: 1.8rem;
  }

  .dernieres_articles .fleche{
    width: 100px;
  }

  .page-rea .nos-realisations .realisations .realisation.active .img {
    width: calc((100% - 15px) / 2);
    height: 150px;
  }
  

  /* FAQ */
  .container_faq_home .section_faq h3 {
      font-size: 1.8rem;
  }
  
  /* Footer */
  .footer-logo{
    width: 130px;
  }

  .footer, 
  .footer-infomations, 
  .footer-suivre{
    width: 100%;
  }

  .footer-container-width{
    max-width: 85% !important;
    width: 85%;
    margin: 10px auto !important;
  }

  .footer-menu, .footer-livraison, .footer-contact, .footer-cgv {
      margin: 10px 0;
      border-left: none;
      padding-left: 0;
      /* text-align: center; */
  }

  .news-text-btn-container{
    background-color: #142038;
    padding: 20px 0;
  }
  
  .footer-text-adresse {
      padding-left: 5px;
      /* text-align: center; */
  }

  .footer-suivre{
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .footer-menu .icon{
    justify-content: center;
    align-items: center;
  }

  .footer-copyright{
    flex-direction: column-reverse;
    text-align: center;
    padding: 30px 0;
  }

  .footer .cgv{
    font-size: 10px;
    gap: 10px;
  }
}

/* Animation plus fluide pour le menu */
.main-menu {
  transition: opacity 0.3s ease, visibility 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #1B2640; /* Couleur bleu foncé comme sur l'image */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

/* Empêcher le scroll sur iOS */
body.menu-open {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Amélioration de l'accessibilité */
.menu-toggle:focus {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.main-menu a:focus {
  outline: 2px solid var(--orange);
  outline-offset: -2px;
}

/* Animation du menu plus fluide */
.main-menu.active {
  /*animation: fadeIn 0.3s ease forwards;*/
  opacity: 1;
  visibility: visible;
}

@keyframes fadeIn {
  from {
      opacity: 0;
      visibility: hidden;
  }
  to {
      opacity: 1;
      visibility: visible;
  }
}

/* Amélioration de l'interaction tactile */
@media (hover: none) {
  .menu-toggle,
  .main-menu a {
      -webkit-tap-highlight-color: transparent;
  }
}