/*Initialisation du projet */

*, *:before, *:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
    scroll-behavior: smooth;
}

/* Declaration des variables css */

html{
    --var-bgcolor: #3535d0;
    --var-secondaryColor : #5252f5;
    --var-bg-light : #f0f4ff;
    --var-bg-dark : #d3c9f3;
    --var-text-color-dark : #333;
}

body{
    font-family: "poppins", sans-serif;
    color: var(--var-text-color-dark);
    background: var(--var-bg-light);
    margin: 0 auto;
}

header{
    height : 4.7rem;
    background: var(--var-bg-light);
    padding: 0 2rem;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    position : sticky;
    top: 0;
    z-index: 1000;
}


.logo h1{
    transform: translateY(5px);
    font-size: 1.6rem;
    color: #3535d0;
}

.logo h2{
    font-size: 1.1rem;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 1rem;
}

ul li{
    font-size: 1.2rem;
}

ul li a{
    text-decoration: none;
    color: var(--var-text-color-dark);
    font-weight: 500;
    transition: 0.3s;
}

ul li a:hover{
    color: var(--var-secondaryColor);
}

.btn-connect , .btn-contact , .btn-Interested , .btn-voir-plus ,.btn-decouvrir ,.btn-information-contacter{
    background: var(--var-secondaryColor);
    color: var(--var-bg-light);
    border: none;
    padding: 0.7rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: 0.3s;
}

.btn-connect:hover ,.btn-information-contacter:hover{
    background: var(--var-bg-light);
    border: 1px solid var(--var-secondaryColor);
    color: var(--var-secondaryColor);
}

/* overlay */

.overlay{
    display: none;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100vh;
}

.open{
    display: block;
    position: fixed;
    top: 0;
    background: var(--var-bg-light);
    z-index:1000;
    animation: overlay .5s ease-in;
}

@keyframes overlay {
    from{

        transform: translateY(-100%);
    }
    to{
        transform: translateY(0);
    }
}

.nav-overlay-list{

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 100%;
}

.overlay-list-item{
    list-style: none;
    margin-top: 20px;
}

.overlay-list-link {
    font-size: 1.4rem;
}

.nav-overlay-list li:last-child{
    margin-top: 50px;
    cursor: pointer;
    user-select: auto;
}

.nav-overlay-list li:last-child a{
    font-size: 1.1rem;
    color: white;
}

/*menu humberger* */

header .menu-humberger{
    display: none;
    margin: 10px;
    width: 75px;
    height: 75px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    position: relative;
    right: -40px;
    background: var(--var-bg-light);
}


.container-ligne{
    width: 45px;
    height: 20px;
    position: absolute;
    top: 18px;
    left: 11px;
}

.container-ligne .ligne{
    position: absolute;
    width: 35px;
    border-radius: 10px;
    height: 3px;
    background: var(--var-secondaryColor);
    pointer-events: none;
}

.ligne:nth-child(1) ,.ligne:nth-child(3){
    transform: rotate(0deg);
    transition: transform 0.3s ease-in-out;
}

.container-ligne.active .ligne:nth-child(1){
    top: 15px;
    transform: rotate(45deg);
}

.container-ligne.active .ligne:nth-child(2){
    opacity: 0;
}

.container-ligne.active .ligne:nth-child(3){
    top: 15px;
    transform: rotate(-45deg);
}

.container-ligne .ligne:nth-child(1){
    top: 0;
}

.container-ligne .ligne:nth-child(2){
    top: 10px;
}

.container-ligne .ligne:nth-child(3){
    top: 20px;
}

/* Mise en forme de la section main */

main{
    padding: 2rem;
}

main .banniere{
    width: 100%;
    height: 70vh;
    border-radius: 0.5rem;
    padding: 1rem;
    background: linear-gradient(90deg, var(--var-bgcolor) 15%, #8e8eff 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

section .left, .right{
    flex: 1;

}

.left h1{
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    padding: 1rem 0;
}

section .left h2{
    font-size: 2.1rem;
    font-weight: 500;
    color: white;
}

section .left p{
    font-size: clamp(1.3rem, 2vw , 1rem);
    color: white;
    padding-bottom: 1.5rem;
}

section .btn-contact {
    margin-top: 1rem;
    margin-left: 150px;
    font-size: 1.2rem;
}

.btn-contact:hover , .btn-Interested:hover ,.btn-voir-plus:hover{
    background: white;
    color: var(--var-secondaryColor);
    border: 1px solid black;
}

section .right{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.right img{
    width: 600px;
    height: 600px;
    object-fit: cover;
    z-index: 100;
}


.effets{
    width: 100%;
    height: 100%;
    position: absolute;
}

.effets .cercle{
    height: 100px;
    width: 100px;
    border-radius: 50%;
    animation: animate 7s ease-in infinite;
}


.cercle:nth-child(1){
    background: linear-gradient(90deg, var(--var-bgcolor) 1%, var(--var-bg-light) 100%);
    position: absolute;
    right: 150px;
    animation-delay: 0.5s;
}

.cercle:nth-child(2){
    background: linear-gradient(90deg, var(--var-bgcolor) 15%, var(--var-bg-light) 100%);
    position: absolute;
    left: 120px;
    animation-delay: 1s;
}
.cercle:nth-child(3){
    background: linear-gradient(90deg, var(--var-bgcolor) 1%, var(--var-bg-light) 100%);
    position: absolute;
    bottom: 240px;
    right: 70px;
    animation-delay: 1.5s;
}

.cercle:nth-child(4){
     background: linear-gradient(90deg, var(--var-bgcolor) 15%, var(--var-bg-light) 100%);
     position: absolute;
     left: 50px;
 }

@keyframes animate {
    0%{
        transform: translateY(0);
        opacity: 0.3;
    }
    50%{
        transform: translateY(100%);
        opacity: 0.1;
    }
    100%{
        transform: translateY(0);
        opacity: 0.1;
    }
}

/* Mise en formation de la section information */

.information-4{
    height: 100vh;
    background-image: linear-gradient(10deg , #282828,rgba(0,0,0, .8) 40% , rgba(0,0,0,.7) 100%) ,url("./assets/agence-marketing-authentique-petite-jeune_23-2150167385.png");
    background-size: cover;
    background-position: top;
    margin-bottom: 5rem;
}

main .information-1 ,.information-2 , .information-3,.information-4 {
    padding: 0.5rem;
    height: 70vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

main .information-1 h1, .information-2 h1 , .information-3 h1, .information-4 h1 , .information-5 h1 ,.equipe h1{
    font-size: 2.5rem;
}

main .information-1 p , .information-2 p , .information-3 p ,.information-4 p ,.information-5 p, .equipe .p-equipe{
    width: 55%;
    font-size: 1.3rem;
    font-weight: 500;
    padding: 1rem 0;
}

.information-4 p, .information-4 h1 , .information-4 h2{
    color: white;
}

.information-4 h1{
    margin-top: 5rem;
}

.information-4, .information-3{
    margin-top: 10rem;
}

.information-4 p ,.information-5 p{
    width: 90%;
}

main .information-1 p span{
   color: var(--var-bgcolor);
}

/* Mise en page de la partie banniere-information" */

.banniere-information{
    width: 100%;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5rem 0;
}

.info-banniere {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 90%;
}

.info-banniere h1{
    font-size: 2.5rem;
    text-align: center;
}

.info-banniere p{
    font-size: 1.2rem;
}



/* Mise en page de la partie services */

main .services{
    margin-top: 2rem;
}

.services h1 ,.formations h1{
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 7rem;
    text-align: center;
}

.services .service-list{
  display: grid;
    grid-template-columns: repeat(5 , 1fr);
    gap: 1.5rem;
}

.service-list .card-service , .card-formation{
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    position: relative;
    transition: 0.3s ;
    height: 500px;
}

.card-service h2 {
    text-align: center;
    margin: 0.5rem 0;
}

.card-service:hover{
    border: 1px solid rgba(0,0,0, .1);
    box-shadow: 2px 2px 10px rgba(0,0,0, .2);
    background:  var(--var-bg-light);
    color: black;
}

.card-service .icon-service{
    position: absolute;
    top: -25px;
    background: var(--var-secondaryColor);
    color: white;
    padding: 0.7rem 1rem;
    border-radius: 0.5rem;
}

.card-service .card-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: start;
    gap: 1rem;
}



.p-content{
    height: 400px;
    overflow: hidden;

}

.card-content p{
    margin: 1rem 0;
    font-size: clamp(1.01rem, 2vw , 1rem);
    font-weight: 400;
}

.btn-voir-plus{
    transform: translateY(-80px);
}



main .information-2 p:nth-child(3){
    font-weight: 700;
}

/* mise en forme de la section formation */

main .formations{
    width: 70%;
    margin: 2rem auto;
}

main .formations-list{
    display: grid;
    grid-template-columns: repeat(4 , 1fr);
    gap: 1.5rem;

}


.card-content ul li{
    margin-top: 2px;
    font-size: 1rem;
    padding: 0 2px;
}

.card-formation{
    height: 600px;
}

.card-formation ul{
    position: relative;
    top: 20px;
}
.card-formation ul li{
   padding-top: 3px;
}

.card-formation .btn-Interested{
    position: absolute;
    bottom: 20px;
}

.information-5{
  display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 10rem;
}

.information-5 .info-5{
    display: block;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.info-5 span{
    color: var(--var-secondaryColor);
    font-weight: 800;
}

.info-5 p{
    width: 70%;
    margin: 2px auto;
}


.info-5 button{
    margin: 0.4rem;
}

/* Mise en forme de la partie Sliders */

.sliders{
    width: 100%;
    height: 70%;
    margin: 5rem auto;
    text-align: center;
    overflow: scroll;
}

.sliders h1{
    font-size: 3rem;
}

.sliders  .slides .slider-img{
    padding: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 15px;
}

.sliders  .slides img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.slides{
    position: relative;
    width: 70%;
    height: 600px;
    overflow: hidden;
    margin: 5rem auto;

}

.slide{
    position: absolute;
    left: calc(50% - 190px);
    width: 300px ;
    height: 450px;
    background-color: var(--var-secondaryColor);
    padding: 60px 20px;
    border-radius: 0.5rem;
    transition: 0.5s;
}

.slide:hover{
    scale: 1.1;
}

.slides h2{
    font-style: italic;
    padding: 0.5rem;
    font-size: 1.2rem;
    color: white;
}


.slides p{
    font-size: 1rem;
    color: white;
    margin-top: -1rem;
    text-align: center;
    font-style: italic;
}

.next ,.prev{
    position: absolute;
    top: 40%;
    left: 5px;
    color: var(--var-secondaryColor);
    background-color: transparent;
    font-size: xx-large;
    border: none;
    font-weight: bold;
}

.next{
    left: unset;
    right: 50px;
}


/* Mise en forme de la partie equipe */

.equipe{
    width: 100%;
    height: 100vh;
}

.equipe h1{
    text-align: center;
   padding: 2rem;
}

.equipe p {
    margin: 0 auto;
    width: 60%;
}

.profils{
    display: flex;
    justify-content: center;
    align-items: center;
}

.profil-card{
    position: relative;
    width: 260px;
    height: 260px;
    padding: 30px;
    margin: 5rem 1rem;
    border-radius: 50%;
    background: var(--var-secondaryColor);
    box-shadow: 0 0 22px var(--var-bg-light) ;
    transition: 0.4s;

}

.profil-card:hover{
    border-radius: 10px;
    height: 350px;
}

.img-profils{
    position: relative;
    width: 100%;
    height: 200px;
}

.img-profils img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: 0.3s;
}

.profil-card:hover img{
    border-radius: 10px;
    transform: translateY(-60px);
}

.caption{
    text-align: center;
    color: white;
    transform: translateY(-40px);
    opacity: 0;
}

.profil-card:hover  .caption{;
    opacity: 1;
}

.social-link-profil i{
    font-weight: bold;
    font-size: 1.3rem;
    color: white;
    margin-top: 1rem;
    margin-left: 5px;
    transition: 0.4s;
}

.social-link-profil i:hover{
    color: #a7a7d2;
}

/* Mise en forme de la partie Apropos */

main .apropos{
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    width: 100%;
}

.aprops-de-nous, .contact{
    flex: 1;
    border-radius: 5px;
    position: relative;
    padding: 1rem;
}

.aprops-de-nous{
    background: var(--var-secondaryColor);
}

.aprops-de-nous h1{
    color: white;
    text-align: center;
}

.contact{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.aprops-de-nous h1 , .contact h1{
    font-size: 2rem;
    font-weight: 900;
    margin-top: 100px;
}

.aprops-de-nous p{
    font-weight: 500;
    font-size: 1.1rem;
    margin: 2px 10px;
    padding: 1rem 0;
    color: white;
}

.contact form{
    width: 90%;
    margin-bottom: auto;
    display: flex;
    flex-direction: column;
    margin-top: 80px;
}

.contact form input , textarea{
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    margin-bottom: 1rem;
    outline: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: 0.3s;
}

.contact form textarea{
    height: 100px;
}

.contact form input:focus , textarea:focus{
    border: 1px solid var(--var-bgcolor);
}

.contact form button{
    background-color: var(--var-secondaryColor);
    color: #f0f4ff;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 0.3rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}

.contact form button:hover{
    background: white;
    color: var(--var-secondaryColor);
    border: 1px solid var(--var-secondaryColor);
    font-weight: 800;
}

/* footer */

footer{
    width: 100vw;
    height: 100vh;
    color: white;
    background: linear-gradient(360deg ,var(--var-secondaryColor), rgba(0, 0, 0, .50)),
    url("./assets/agence-marketing-authentique-petite-jeune_23-2150167385.png") no-repeat center center fixed;
    background-size: cover;
}

.footer-container{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 2rem auto;

    h2{
        font-size: 1.5rem;
    }

    hr{
        margin-top: 0.5rem;
    }

    ul{
        margin-top: 1.5rem;

        li{
            list-style: none;
            margin: 0.5em 0;
            font-size: 1.2rem;
        }

    }

    i{
        margin-right: 0.5rem;
        font-size: 1.5rem;
        color: #ffffff;
    }
}

.footer-container .p-footer{
    width: 50%;
    margin-top: 2rem;

    p{
        font-size: 1.2rem;
    }
}

.footer-container .footer-navigation{
    background: white;
    width: 80%;
    border-radius: 0.5rem;
    margin: 2rem;

    h2{
        color: black;
    }

    ul{
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin: 1rem auto;

        li{
            margin:0 5rem;
        }
    }


}

.footer-container .footer-info-coordonner{
    width: 80%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
   text-align: start;
    margin: 2rem;
    gap: 15px;
}

.footer-container .newlester{
    height: 150px;
    width: 80%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    background: rgba(0, 0, 0, .60);
    margin: 2rem;
    border-radius: 0.5rem;

    div{
        width: 100%;

        p{
            font-size: 1.3rem;
            margin-bottom: 1.5rem;
        }

        input{
            width: 35%;
            padding: 0.8rem 1rem;
            margin-bottom: 1.5rem;
            outline: none;
            border: none;
            border-radius: 5px;

        }

        button{
            padding: 0.8rem 1.2rem;
            border-radius: 5px;
        }
    }
}

.footer-container .copyright{
    height: 100px;
    width: 80%;
    margin-top: 2rem;

    p{
        margin-top: 2rem;
        align-items: center;
        text-align: center;
    }
}

/* reseaux */

.reseaux{
    position: fixed;
    right: 0;
    bottom: 50px;
    padding: 10px;
    border-radius: 0.5rem;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    z-index: 1001;
}

.reseaux .card-reseaux{
    transition: 0.3s;
}

.card-reseaux:hover , .card-reseaux i:hover{
    background: var(--var-secondaryColor);
    color: white;
}

.card-reseaux i{
    padding: 0.2rem;
    color: var(--var-secondaryColor);
    font-size: 1.1rem;
    font-weight: 500;
}


.card-reset{
    display: none;
    position: fixed;
    right: 0;
    bottom: 45px;
    padding: 10px;
    border-radius: 0.5rem;
    z-index: 1001;
    transition: all 0.5s linear;
    animation: resetAnimation 1s linear;
}

.card-reset .fa-chevron-circle-up{
    position: absolute;
    bottom: -45px;
    right: 5px;
    font-size: 2.5rem;
    color: var(--var-secondaryColor);
    border-radius: 0.2rem;
}

@keyframes resetAnimation {
    from{
        opacity: 0;
        bottom: 100px;
    }
    to{
        opacity: 1;
    }
}

.swiper {
    margin-top: 2rem;
    width: 800px;
    height: 300px;
    box-shadow: 1px 1px 1px rgba(0,0,0, .27), -1px -1px 1px rgba(0,0,0, .27) ;
    background-image: linear-gradient(30deg , #424141,rgba(0,0,0, .8) 40% , rgba(182, 179, 179, 0.27) 100%), url("./assets/profile-picture.jpeg");
    background-size: cover;
    background-position: top;
    color: white;
    border-radius: 0.5rem;
}

.swiper-wrapper div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

}

.swiper-slide i{
    font-size: 3.5rem;
    margin: 0.5rem;
}

.swiper-slide a{
    text-decoration: none;
    color: var(--var-secondaryColor);
    padding: 0.1rem 0.4rem;
    border-radius: 0.2rem;
    transition: 0.3s;
}

.swiper-slide a:hover{
    background: var(--var-secondaryColor);
    color: var(--var-bg-light);
}


.swiper-2 {
    margin: 3rem 0;
    width: 1600px;
    height: 450px;
    overflow: hidden;
}

.swiper-2 .swiper-slide{
    border: 1px solid var(--var-secondaryColor);
    border-radius: 0.5rem;
}






