*{
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .3rem 1rem;
}
.menu{
    display:flex;
    list-style: none;
    font-weight: 600;
    gap: 1.5rem;

    @media (max-width:850px) {
        /* transform: translateX(15rem); */
        position: absolute;
        top: 0;
        right: -15rem;
        bottom: 0;
        background-color: #158ae2;
        flex-direction: column;
        padding: 4rem 3rem;
        color: white;
        transition: .4s ease;
        z-index: 8;

        &.active {
            transform: unset;
            right: 0;
        }
    }
}
.menu a{
    color: #000;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 30px;
    position: relative; text-decoration: none;
    transition: color #158ae2;

    @media (max-width:850px) {
        color: white;
    }
}
.menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%; 
    height: 2px; 
    background: #158ae2;
    transform: scaleX(0); transform-origin: right;
    transition: transform .4s ease;
}
.menu a:hover {
    color: #158ae2;

    @media (max-width:850px) {
        color: unset;
    }
}
.menu a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


header label {
    position: absolute;
    /* transform: translateX(80rem); */
    right: -5rem;
    color: black;
    font-weight: 700;
    font-size: 1.5rem;
    transition: .4s ease;
    cursor: pointer;

    &.barres {
        @media (max-width:850px) {
            position: unset;
            /* transform: unset; */
            right: unset;

            &:active {
                /* transform: scale(3, 3); */
                right: unset;
            }
        }
    }

    &.croix {
        color: white;

        @media (max-width:850px) {
            &.active {
                right: 1rem;
                z-index: 110;
                transition: .4s ease;
                transform: unset;
                font-size: 1.2rem;
            }
        }
    }
}

.logo img{
    width: 50%;
    
}

.banniere{
    background-repeat: no-repeat;
    background-image: url("20250629_222137_0000.png");
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.4rem;
    padding: 0 50% 0 3rem;
    text-align: justify;
    color: white;

    @media (max-width:850px) {
        padding: 0 30% 0 3rem;
    }
    @media (max-width:558px) {
        padding: 0 20% 0 3rem;
    }
    @media (max-width:481px) {
        padding: 0 10% 0 3rem;
    }
}

main .btn.banniere_inscription{
    border: none;
    background-color: #158ae2;
}
main .btn.banniere_inscription:hover{
    border: none;
    background-color: #ffffff;
    color: #158ae2;
}
main .btn.banniere_pdd {
    border: 1px solid #fff;
}
main .btn.banniere_pdd:hover {
    border: 1px solid #158ae2;
}

/* .ban2{
  
      position: absolute;
      top: 70%;
      left: 35%;
      transform: translate(-50%, -50%);
      cursor: pointer;
      font-size: 16px;
      color: #000;
} */

.banniere .titre {
    font-size: 2.5rem;
    font-weight: bold;
}

.banniere .paragraphe {
    
}

.banniere-btn {
      /* position: absolute;
      top: 83%;
      left: 17.4%;
      transform: translate(-50%, -50%); */
}
.btn{
    padding: 3%;
    font-size: 16px;
    font-weight: bold;
    color: #FFF;
    text-decoration: none;
    display: inline-block;
    padding: 12px 34px ;
    background-color:transparent ;
    cursor: pointer;
    transition: .2s ease;
    /* margin: 30px 0px; */
    /* border-radius: 1ch; */
}
main .btn:hover{
    background-color: #158ae2;
    color: #ffffff;
}

.grille{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.temoignage {
    background-color: rgb(253, 253, 253);
    min-height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.element_grille {
    /* width: 280px; */
    padding: 20px 15px;
    background-color: white;
    box-shadow: 0px 4px 8px rgba(0, 0,0, 0.1);
    transition: .5s ease;
    overflow: visible;
    position: relative;
    margin: auto auto auto auto;
}

.element_grille:hover {
    transform: translateY(-6px);
    /* width: 350px;
    padding: 20px 15px;
    background-color: white;
    box-shadow: 0px 4px 8px rgba(0, 0,0, 0.1); */
}

.text_element_grille{
    text-align: justify;
    
}

.info-commentaire{
    display: flex;
    margin-top: 8px;
    justify-content: center;
    justify-items: center;
}

.info-commentaire .img{
    border-radius: 50%;
    background-color: #777474;
    width: 35px;
    height: 35px; 
}

.info-commentaire .nom{
    padding-left: 5%;
    font-size: 1em;
    padding-top: 3%;
    font-weight: 550;
}

.nos_services {
    /* background-color: #ddd; */
    padding: 3rem 0;
    align-items: center;
    text-align: center;
}

.nos_services .grille {
    align-items: center;
}

.nos_services .element_grille {
    padding: .3rem .3rem 20px .3rem ;
    border-radius: .4rem;
}

.nos_services .element_grille div.img {
    height: 15rem;
    width: 100%;
    background-color: #158ae2;
    border-radius: .4rem;
}

.nos_services .epp-text {
    padding: 2rem 15% 0 15%;
}

.nos_services .epp {
    align-items: center;
    background-color: #158ae2;
    border: none;
    margin: 2rem 0 0 0;
    border: 1px solid #158ae2;
}  
.nos_services .epp:hover {
    color: #158ae2;
    background-color: #ffffff;
    border: 1px solid #158ae2;

}  
.titresection{
    text-align: center;
    padding: 20px;
    font-size: 1.5em;
    font-weight: bold;
}
.grande_image{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap:20px;
    padding: 0 20px;
}
.grande_image img{
    width: 100%;
    object-fit: cover;
    box-sizing: border-box;
    /* border-radius: 20px; */

}

.grande_video{
    padding: 20px;
    
}
.grande_video video{
    /* border-radius: 20px; */
    width:100% ;

    &::-webkit-media-controls-panel {
        display: none;
    }
}

/*Footer*/
 
footer {
      background-color: #111827;
      color: #ffffff;
    }

    .footer-main {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 2rem;
      padding: 3rem;
    }

    .footer-section {
      display: flex;
      flex-direction: column;
    }

    .footer-section h4 {
      margin-bottom: 1rem;
      font-size: 1.1rem;
      color: #ffffff;
    }

    .footer-section a {
      color: #ffffff;
      text-decoration: none;
      margin: 0.3rem 0;
      transition: color 0.3s;
    }

    .footer-section a:hover {
      color: #007BFF;
    }

    .footer-section p {
      margin: 0.3rem 0;
    }

    .footer-section iframe {
      width: 100%;
      height: 180px;
      border: none;
      border-radius: 4px;
    }

    .footer-copyright {
      background-color: #000;
      color: #fff;
      text-align: center;
      padding: 1rem;
      font-size: 0.9rem;
    }
    .footer-section {
  display: flex;
  flex-direction: column;
  height: 100%; /* Ajouté */
}

.footer-section iframe {
  flex-grow: 1; /* Ajouté */
  width: 100%;
  border: none;
  border-radius: 4px;
}
 
 