*{
    padding: 0;
    margin: 0;
    font-family: "Outfit";
    scrollbar-width: none;
}

body {
    position: relative;
    overflow-x: hidden;
}


*::-webkit-scrollbar {
    display: none;
}

::-webkit-scrollbar {
    display: none;
}


/**********************************HEADER*****************************************/
header div#barre_contact{
    padding: 0;
    margin: 0;
    display: flex;
    height: 4.5vh;
    overflow: hidden;
    align-items: center; 
    background-color: #343434;
}

header div#barre_contact p {
    position: absolute;
    width: 100%;
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
    color: white;
    top: 3px;
  font-size: smaller;
  }
  
  #second-p {
    transform: translateY(100%);
  }
  
  .show {
    opacity: 1 !important;
  }
  
  .animate-from-bottom {
    transform: translateY(0) !important;
  }


header section{
    position: fixed;
    top: 4.5vh;
    left: 0;
    width: 100%;
    height: 15vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    border-bottom: 1px solid #ccc; /* Bordure légère */
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    transition: .3s ease;
}

.scrolled_header {
    background-color: rgba(255, 255, 255, 0.9); /* Fond blanc après le scroll */
    transition: .3s ease;

}

.scrolled_logo{
    background: url("../gallery/logoExpertiseActive.png") no-repeat;
    transition: .3s ease;
}

header section .a_logo{
    font-size: 32px;
    color: black;
    text-decoration: none;
    font-weight: 700;
    margin-left: 30px;
    height: 78px;
    background: url("../gallery/logoExpertiseActive2.png") no-repeat;
    background-size: cover;
    display: flex;
    width: 153px;
    transition: .3s ease;

}

header section .navbar .a1{
    font-size: 19px;
  color: white;
  text-decoration: none;
  margin-left: 3px;
  margin-right: 20px;
  position: relative;
  transition: .2s ease;
  text-transform: uppercase;
  align-items: center;
  display: flex;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

header section .navbar .a1::before{
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 4px;
    background: rgb(20, 102, 184) ;
    transition: .3s ease;
    border-radius: 10px;
}

header section .navbar .a1:hover::before{
    width: 100%;
    z-index: 2;
}

header section .navbar .a1:hover{
    color: rgb(20, 102, 184)  !important;
    transition: .3s ease;
}


.visible_sous_menu{
    display: flex !important;
}

.container13_1:hover{
    display: flex !important;
}

header section .navbar .a1_1{
    font-size: 1.2vw;
    color: black;
    font-weight: 500;
    text-decoration: none;
    margin-left: 30px;
    margin-right: 20px;
    position: relative;
    transition: .2s ease;
}

header section .navbar .a1_1::before{
    content: '';
    position: absolute;
    background-color: rgb(20, 102, 184);
    top: 100%;
    left: 0;
    width: 0;
    height: 4px;
    transition: .3s ease;
    border-radius: 10px;
}

header section .navbar .a1_1:hover::before{
    width: 100%;
    z-index: 2;

}

header section .navbar .a1_1:hover{
    color: rgb(20, 102, 184) ;
    transition: .3s ease;
}






/* Conteneur du menu déroulant */
.menu-deroulant {
    position: relative;
}

/* Sous-menu caché par défaut */
.sous-menu {
    display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ccc;
  flex-direction: column;
  z-index: 200;
}

/* Liens du sous-menu */
.sous-menu .a1_1 {
    padding: 10px 20px;
    display: block;
    white-space: nowrap;
    color: black;
    transition: .3s ease;
    margin: 0 !important;
}

/* Effet hover sur les sous-liens */
.sous-menu .a1_1:hover {
    background: rgba(20,102,184,0.1);
    color: rgb(20, 102, 184);
}

/* Affichage du sous-menu au survol */
.menu-deroulant:hover .sous-menu {
    display: flex;
}



header section img{
    margin-left: 30px;
    height: 15vh;
    width: calc(15vh * 1.3);
    background-color:white;
}



/***********TRUCS GENERAUX***********/
.separation_bloc_blanc_gris{
    width: 100vw;
    height: 30vh;
    background: url("../gallery/transition_bloc_blanc_bloc_gris.png");
    background-position: center;
    background-size: cover;
}

.separation_bloc_gris_blanc{
    width: 100vw;
    height: 30vh;
    background: url("../gallery/transition_bloc_gris_bloc_blanc.png");
    background-position: center;
    background-size: cover;
}

.separation_pic{
    width: 30vw;
    height: 10vh;
    background: url("../gallery/transition_pic.png") no-repeat;
    background-position: center;
    background-size: contain;
    position: absolute;
    bottom: 1vh;
}

.container_fixe{
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: url("../gallery/a32e0a57-a624-42ed-89f0-b141398ba80d.png");
    background-position: center;
    background-size: cover;
    z-index: -1;
}








/*****************IMAGE INTRO PAGE******************/



.overlay2_1{
    display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
}

.overlay2_1 h1{
    color: white;
    text-transform: uppercase;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    font-size: 3vw;
    letter-spacing: 2px;
    font-weight: 800;
    font-style: normal;
    margin-left: 5vw;
}

.overlay2_1 p{
    color: white;
    margin-top: 5vh;
    line-height: 1.8;
    font-size: 1.5vw;
    letter-spacing: 1px;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    width: 83%;
    margin-left: 5vw;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}













/******************QUALIOPI********************/
.slide3 {
      width: 100vw;
      height: 50vh;
      background-color: #f7f7fb;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 10vw;
}

.slide3 img {
      width: calc(18vw * 1.3);
      height: 18vw;
      background-color:white;
}

.slide3 .textes {
      display:flex;
      flex-direction :column;
      width: 60%;
      gap: 5vh;
}

.slide3 .textes p {
      font-size: 1.2vw;
      color: black;
}











/************newsletter************/
.container18{
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: #f0f0f2;
    justify-content: center;
    position: relative;
}

.container18 h1{
    text-transform: uppercase;
  font-size: 18px;
  font-weight: lighter;
  display: inline-block;
  transform: scaleY(1.1);
    margin-top: 10vh;
}

.container18 form{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
}

.container18 form input{
    width: 27rem;
  height: 2rem;
  padding-left: 10px;
}

.container18 form button{
    width: 8rem;
  height: 2rem;
  border: none;
  margin-top: 1rem;
  background-color: rgb(20, 102, 184) ;
  color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  text-decoration: none;
  transition: all .3s ease;
  margin-bottom: 20vh;
}

.container18 form button:hover{
    cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
  transition: all .3s ease;
}







/*****************************FOOTER*******************************/

.menu_footer{
    list-style-type: none;
    overflow: hidden;
    text-align: center;
    padding-top: 45px;
    background-color: #232323;
    padding-bottom: 45px;
    display: flex;
}

.menu_footer li.rubrique{
    flex: 1;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.menu_footer li.rubrique a{
    display: block;
    text-decoration: none;
    padding-bottom: 10px;
    color: white;
    font-weight: bolder;
    text-align: justify;
    padding-left: 4px;
    font-size: 18px;
    letter-spacing: .05em;
}

.menu_footer li.rubrique ul{
    list-style-type: none;
}

.menu_footer li.sous-rubrique a{
    display: inline-block;
    text-decoration: none;
    padding: 4px;
    color: white;
    font-size: 13px;
    font-size: 14px;
    transition: all .3s ease-in-out;
    font-weight: 300;
}

.menu_footer li.sous-rubrique a::before{
    content: '';
    position: relative;
    top: 100%;
    left: 0;
    width: 0px;
    height: 4px;
    background: rgb(20, 102, 184) ;
    transition: .3s ease;
    border-radius: 10px;
    display: block;
}

.menu_footer li.sous-rubrique a:hover::before{
    width: 100%;
}

.menu_footer li.sous-rubrique a:hover{
    color: rgba(20, 102, 184, 0.8) ;
}

.menu_footer li.rubrique h1{
    font-size: 22px;
    text-align: center;
    color: rgb(20, 102, 184) ;
}

.menu_footer li.sous-rubrique p{
    text-align: center;
  color: white;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}


.menu_footer li.sous-rubrique i{
    font-size: 30px;
    margin: 27px;
    margin-bottom: 0px;
    transition: 0.2s ease;
}

.menu_footer li.sous-rubrique i:hover{
    color: rgb(20, 102, 184) ;
    transition: 0.3s ease;
}


.menu_footer li.rubrique ul li{
    padding-top: 40px ;
}

.container4{
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container4 p{
    color: white;
    font-size: 1vw;
    line-height: 7vh;
  font-weight: 300;
}

/************ barre clair du bas ************/

.barre_du_bas_footer{
    background-color: #343434;
    text-align: center;
    height: 3vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.barre_du_bas_footer p{
    color: white;
    font-weight: 300;
    letter-spacing: 1.5px;
    font-size: 11px;
    text-align: center;
}

@media (orientation: portrait) {
    header div#barre_contact {
        height: 4.5vw !important;
    }
    
    header div#barre_contact p{
        font-size :1.2vh !important;
    }
    
    header div#barre_contact p i{
        font-size: 1.2vh !important;
        color: white !important;
    }
    
    header section {
        top: 4.5vw;
        height: 15vw !important;
    }
    
    header section .a_logo {
        text-underline-offset: 1vw !important;
    }
    
    .navbar{
            gap: 2rem !important;
    }
    
    .navbar .a1{
            font-size :.9vh !important;
            font-weight :700 !important;
    }
    
    header section .navbar a.a1[href="accueil.html"] {
        display: none !important;
    }
    
    header section .navbar .a1_1 {
        font-size :1vh;
    }
    
    header section img {
        height: 15vw !important;
        width: calc(15vw * 1.3) !important;
    }
    
    .separation_bloc_blanc_gris, .separation_bloc_gris_blanc{
        height: 30vw !important;
    }
    
    .slide3 {
        width: 100vw !important;
        height: 50vw !important;
    }
    
    .slide3 .textes {
        gap: 5vw !important;
    }
    
    .slide3 .textes h1{
        font-size: 2vh !important;
    }
    
    .slide3 .textes p {
        font-size: 1.2vh !important;
    }
    
    .menu_footer {
        height: auto !important;
    }
    
    .menu_footer li.rubrique h1 {
        font-size: 1.4vh !important;
    }
    
    .menu_footer li.sous-rubrique p {
        font-size: 1.1vh !important;
    }
    
    .menu_footer li.sous-rubrique a {
        font-size: 1.2vh;
        text-align: center !important;
    }
    
    .container4 p {
        font-size: 1.2vh !important;
        line-height: 5vw !important;
    }
    
    .barre_du_bas_footer p {
        font-size: 1.2vh !important;
    }
}