@font-face {
  font-family: montserrat;
  src: url(../font/montserrat/Montserrat-Black.ttf)format('truetype');
}
*{
    font-family: montserrat, Arial;
    font-size: 16px;
}
/* === SCROLLBAR MASQUÉE PAR DÉFAUT (mobile first) === */

/* Chrome, Safari, Edge */
::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Firefox */
html {
  scrollbar-width: none; /* cache la scrollbar */
  scroll-behavior: smooth;
  scroll-padding-top: 50px; /* hauteur de ton header */
}

/* Force la réserve d'espace pour éviter tout décalage de contenu */
body {
  overflow-y: scroll;
}

/* === SCROLLBAR RÉACTIVÉE SUR LES ÉCRANS ≥ 769px === */
@media screen and (min-width: 769px) {

  /* Chrome, Safari, Edge */
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }

  ::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
  }

  ::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
  }

  /* Firefox */
  html {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.1);
  }
}


body{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: linear-gradient(90deg, #F0F0F0, #969696, #747474);
  background-size: 300% 300%;
  animation: gradient 7s alternate infinite;
  will-change: background-position;
  overflow-x: hidden; /* évite tout débordement horizontal */
  position: relative; /* utile si tu utilises des z-index dans le contenu */
}

@keyframes gradient {
    0% {
        background-position: 0%;
    }
    100% {
        background-position: 100%;
    }
}

.titrecentre{
    text-align: center;
    text-shadow: 1px 1px 2px #000000a6;
}
button{
    background-color: #FF0C16;
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 900;
    color: #F0F0F0;
    cursor: pointer;
    box-shadow: 2px 2px 4px #000000a6;
}
button:hover{
    background-color: #aa090e;
    color: #cccaca;
}
button:active{
    box-shadow: inset 2px 2px 4px #000000a6;
}
header{
    position: fixed; /* reste collé en haut */
    top: 0;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    height: 50px;
    display: flex;
    align-items: center;
    transition: top 0.3s ease; /* animation fluide */
    z-index: 1000; /* au-dessus du contenu */
}
header img{
    width: auto;
    height: 40px;
    position: absolute;
    left: -10px;
}
.header-button{
    position: absolute;
    right: 20px;
    margin-top: -2px;
    margin-bottom: auto;
    font-size: 1.2rem;
}
.header-button button {
    line-height: 100%;
        @media screen and (max-width: 769px) {
                width: 40px;
                height: 40px;
                border-radius: 50%; /* garantit le rond parfait */
                text-align: center;
                font-size: 1.2rem; /* taille de l’emoji */
                line-height: 40px; /* centre verticalement l’emoji */
                padding: 0; /* supprime les éventuels paddings qui désalignent */
                display: inline-block; /* assure le centrage */
            }
}
header button span{
    display: none;
        @media screen and (min-width: 769px) {
            display: initial;
        }
}

.sectionlanding{
    height: 90vh;
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    padding-top: 50px;
        @media screen and (min-width: 769px) {
                margin-top: none;
            }
}
.sectionlanding-content{
    width: 95%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column-reverse;
    text-align: left;
    align-items: center;
    justify-content: space-evenly;
        @media screen and (min-width: 769px) {
                flex-direction: row;
                align-items: center;
                justify-content: space-evenly;
            }
}
.sectionlanding-content-text{
    width: 90%;
    background-color: #F0F0F0;
    padding: 12px 8px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
       @media screen and (min-width: 769px) {
                width: 40%;
                padding: 20px 12px 12px 12px;
            } 
}
h1{
    font-size: 1.562rem;
    color: #FF0C16;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    @media screen and (min-width: 769px) {
                font-size: 3.062rem;
            }   
}
.sectionlanding-content-text p{
    font-weight: 600;
    @media screen and (min-width: 769px) {
                font-size: 1.562rem;
                
            }
}
.sectionlanding-content-text span{
    font-style: italic;
    font-size: 0.812rem;
    @media screen and (min-width: 769px) {
                font-size: 1rem;
                
            }
}
.sectionlanding-content-text button{
    margin: 20px auto 8px auto;
}
.sectionlanding-content-img{
    width: 90%;
    contain: content;
       @media screen and (min-width: 769px) {
                width: 45%;
            } 
}
.sectionlanding-content-img img{
    width: 100%;
}


.bgblc{
    background-color: #F0F0F0;
    padding-top: 12px;
    padding-bottom: 12px;
    box-shadow: 
        0 -2px 4px #000000a6, /* ombre vers le haut */
        0 2px 4px #000000a6;  /* ombre vers le bas */
    @media screen and (min-width: 769px) {
                padding-top: 20px;
                padding-bottom: 20px;
            } 
}

.sectionpermis-content{
    display: flex;
    flex-wrap: wrap;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    @media screen and (min-width: 769px) {
                padding-top: 20px;
                justify-content: space-evenly;

            } 
}
.sectionpermis-content-block{
    @media screen and (min-width: 769px) {
                width: 45%;
            } 
}

h2{
    font-size: 1.250rem;
    color: #FF0C16;
    margin-bottom: 0;
    text-transform: uppercase;
    @media screen and (min-width: 769px) {
                font-size: 2.438rem;
            } 
}

.sectionpermis-content-block p{
    margin-top: 4px;
    font-weight: 500;
    font-size: 0.812rem;
    @media screen and (min-width: 769px) {
                font-weight: 500;
                font-size: 1rem;               
            } 
}


.sectionpresentation{
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.sectionpresentation-content{
    width: 100%;
    margin-top: 20px;
    @media screen and (min-width: 769px) {
        display: flex;
        align-items: center;
    }
}
.sectionpresentation-content-equipe{
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    @media screen and (min-width: 769px) {
                width: 50%;
                display: flex;
                justify-content: space-around;          
            } 
}
.sectionpresentation-content-equipe-membre{
    margin-bottom: 30px;
    @media screen and (min-width: 769px) {
                width: 30%;           
            } 
}
.sectionpresentation-content-equipe-membre img {
    width: 150px;
    box-shadow: 2px 2px 4px #000000a6;
}
.sectionpresentation-content-equipe-membre h4{
    margin: 4px auto 4px auto;
    font-size: 1.250rem;
}
.sectionpresentation-content-equipe-membre p{
    margin: 4px auto 4px auto;
    font-style: italic;
}

.sectionpresentation-content-equipe-membre .presindiv{
    text-align: left;
    font-style: normal;
}

.sectionpresentation-content-structure{
    @media screen and (min-width: 769px) {
                width: 50%;
                height: 100%;           
            } 
}
.sectionpresentation-content-structure p{
    
    font-weight: 600;
    @media screen and (min-width: 769px) {
        font-size: 1.250rem;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}

.sectiontemoignagefaq-content{
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    @media screen and (min-width: 769px) {
        display: flex;
        justify-content: space-around;
    }
}

.sectiontemoignagefaq-content h3{
    margin-bottom: 8px;
}
.sectiontemoignagefaq-content p{
    margin-top: 0;
}

.sectiontemoignagefaq-content-tem{
    margin-bottom: 20px;
    @media screen and (min-width: 769px) {
        width: 40%;
    }
}
.sectiontemoignagefaq-content-tem-untie, .sectiontemoignagefaq-content-faq-unite{
    margin-bottom: 20px;
}

.sectiontemoignagefaq-content-faq{
    @media screen and (min-width: 769px) {
        width: 40%;
    }
}

.sectioncontact-content{
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 20px;
}
.clickable-tel, .clickable-mail {
    cursor: pointer;       /* Indique que c’est cliquable */
    color: inherit;        /* Garde la couleur du texte */
    text-decoration: none; /* Pas de souligné par défaut */
}

.clickable-tel span, .clickable-mail span {
    text-decoration: underline; /* Garde le style normal */
}

.sectioncontact-content-infos{
    text-align: center;
    margin-bottom: 40px;
    @media screen and (min-width: 769px) {
        width: 60%;
        margin-left: auto;
        margin-right: auto;
        
        display: flex;
        justify-content: space-between;
    }
}

.sectioncontact-content-infos-bloc{
    @media screen and (min-width: 769px) {
        width: 30%;
    }
}

.sectioncontact-content-infos-form{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 12px;
    background-color: #f0f0f0aa;
    border-radius: 20px;
    box-shadow: 2px 2px 4px #000000a6;
    border: 1px solid #F0F0F0;
    position: relative;
    @media screen and (min-width: 769px) {
        width: 40%;
    }
}
.sectioncontact-content-infos-form form{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.sectioncontact-content-infos-form form label{
    display: flex;
    flex-direction: column;
    font-weight: 600;
    width: 90%;
    @media screen and (min-width: 769px) {
        width: 45%;
    }
}
.sectioncontact-content-infos-form form label:nth-child(5){
    @media screen and (min-width: 769px) {
        width: calc(90% + 8px);
    }
}
.sectioncontact-content-infos-form form input, .sectioncontact-content-infos-form form textarea{
    background-color: #F0F0F0;
    border: 1px solid #b3b3b3;
    border-radius: 12px;
    min-height: 30px;
    padding-left: 8px;
    font-style: italic;
}
.sectioncontact-content-infos-form form textarea{
    min-height: 90px;
    margin-bottom: 20px;
    padding-top: 4px;
}
#form-message{
    min-width: 100%;
    text-align: center;
}



footer{
    background-color: #FF0C16;
    color: #F0F0F0;
    margin-top: 80px;
}
.footer-container{
    width: 98%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
}
.footer-container a{
    color: #F0F0F0;
}
.footer-container-left{
    width: 40%;
    display: flex;
    justify-content: flex-start;
}
.footer-container-left p{
    display: flex;
    align-items: center;
    padding: 0;
}
.footer-container-left a{
    margin-right: 10px;
    margin-left: 10px;
    cursor: alias;
}
.footer-container-center{
    display: flex;
    flex-direction: column;
    width: 20%;
    justify-content: center;
    align-items: center;
}
.footer-container-right{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 40%;
}
.logo-footer{
    width: 40px;
}
.footer-container-right-logos a{
    text-decoration: none;
    cursor: alias;
}
.footer-container-right-mentions a img{
    width: 40px;

}
.footer-container-right-mentions{
    display: flex;
    gap: 20px;
    margin-left: 20px;
}

@media (max-width: 1000px) {
    .footer-container{
        flex-direction: column;
        align-items: center;
        margin-top: 8px;
        
    }
    .footer-container-left{
        width: 100%;
        justify-content: center;
        order: 2;
    }
    .footer-container-center{
        width: 100%;
        justify-content: center;
        order: 3;
    }
    .footer-container-right{
        width: 100%;
        justify-content: center;
        order: 1;
    }
  }
  @media (max-width: 400px){
    .footer-container-right{
        flex-direction: column;
    }
  }


  .popup-container {
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6); /* Fond sombre avec transparence */
  }
  
  .popup-content {
    background-color: #fefefe;
    margin: 15% auto; /* Position centrée */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Adapté à vos besoins */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  }
  .mentions-popup-content {
    background-color: #fefefe;
    margin: 3% auto; /* Décalage du haut */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Plus large pour contenir plus de texte */
    height: 80%; /* Hauteur fixe pour déclencher le défilement */
    overflow-y: auto; /* Active la barre de défilement verticale si nécessaire */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  }
  .popup-content p{
    width: 60%;
    margin-left: auto;
    margin-right: auto;
  }
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  @media (max-width: 1440px) {
    .popup-content p{
        width: 98%;
    }
  }

  .footer-infos {
    text-align: center;
    margin: 10px 0 0 0;
    padding-bottom: 4px;
    font-size: 0.845em;
}




.popup-message {
    position: fixed;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-size: 1.1em;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
}

.popup-message.visible {
    top: 20px;
    opacity: 1;
}

.popup-message.success {
    background: #28a745;
}

.popup-message.error {
    background: #d93025;
}