@import url('https://fonts.googleapis.com/css2?family=Sofia+Sans:ital,wght@0,1..1000;1,1..1000&display=swap');

/* style du site */
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Sofia Sans", sans-serif;
}

html, body{
    overflow-x: hidden;
}

/* header */
header{
    border-bottom: 1px solid #dcdcdc;
}

.header{
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.logo img{
    width: 100px;
}

ul{
    list-style: none;
    display: flex;
}

ul li a{
    margin-right: 40px;
    text-decoration: none;
    color: #000000;
    font-size: 18px;
    font-weight: 700;
}

ul li a:hover{
    text-decoration: underline;
}

.menu-burger{
    display: none;
}

/* section acceuil */
.acceuil{
    display: flex;
    height: 90vh;
}

.acceuil-content{
    display: flex;
    width: 100%;
}

.acceuil-text{
    width: 50%;
    margin-left: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.acceuil-text h2{
    font-size: 35px;
    font-weight: 800;
    margin-bottom: 20px;
}

.acceuil-text p{
    font-size: 18px;
    margin-bottom: 30px;
}

.acceuil-btn{
    display: flex;
    gap: 20px;
}

.acceuil-btn .btn{
    text-decoration: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 700;
}

.btn-noir{
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #000000;
}

.btn-blanc{
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #000000;
}

.btn-noir:hover{
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #000000;
}

.btn-blanc:hover{
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #000000;
}

.acceuil-image{
    width: 50%;
}

.acceuil-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* inro aux prestations */
.intro{
   margin-top: 100px;
}

.intro-content{
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: auto;
    margin-bottom: 50px;
}

.intro-content p{
    text-align: right;
}

.intro h2{
    font-size: 35px;
    font-weight: 800;
}

.intro p{
    font-size: 18px;
}

.intro-image{
    margin: 30px auto 0 auto;
    width: 90%;
}

.intro-image img{
    width: 100%;
}

/* prestations */
.prestations h2{
    text-align: center;
    margin-top: 80px;
    margin-bottom: 50px;
    font-size: 35px;
    font-weight: 700;
}

.prestations-content{
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: auto;
}

.prestation{
    width: 30%;
    text-align: center;
}

.prestation img{
    width: 100%;
    margin-bottom: 20px;
}

.prestation h3{
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 10px;
}

.prestation p{
    font-size: 17px;
    margin-bottom: 20px;
}

.voir-plus-btn{
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.voir-plus-btn .fléche{
    margin-left: 5px;
    font-size: 20px;
    transition: margin-left 0.3s ease;
}

.voir-plus-btn:hover .fléche{
    margin-left: 10px;
}

/* projets */
.projets{
    padding: 80px 0;
    text-align: center;
}

.projets h2{
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 50px;
}

.projet-content{
    margin-bottom: 60px;
}

.projet-image{
    position: relative;
}

.projet-image img{
    width: 90%;
}

.projet-image:hover img{
    filter: brightness(50%);
}

.voir-projet{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    color: #000000;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.3s ease;

}

.voir-projet:hover{
    background-color: #000000;
    color: #ffffff;
}

.projet-image:hover .voir-projet{
    opacity: 1;
}

.projet-description{
    text-align: left;
    padding: 20px;
    margin-left: 50px;
}

.projet-description h4{
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 10px;
}

.projet-description p{
    font-size: 15px;
    margin-bottom: 20px;
}

.compétences{
    display: flex;
    gap: 10px;
}

.compétences-carré{
    background-color: #f0f0f0;
    padding: 5px 10px;
    font-size: 15px;
}

.voir-plus-btn2{
    margin-top: 30px;
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
}

.voir-plus-btn2:hover{
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #000000;
}

/* FAQ */
.faq{
    margin: 80px;
}

.faq a{
    color: #000000;
    text-decoration: none;
}

.faq a:hover{
    color: #8a8a8a;
}

.faq h2{
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

.faq-item{
    width: 80%;
    margin: auto;
    border: 1px solid #dddddd;
}

.faq-item:hover{
    border-color: #000000;
}

.faq-question{
    width: 100%;
    padding: 15px;
    border: none;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    cursor: pointer;
}

.faq-reponse{
    max-height: 0;
    overflow: hidden;
    padding: 0px 15px;
}

.faq-item.ouvert .faq-reponse{
    max-height: 300px;
}

.faq-reponse p{
    padding: 15px 0px;
    font-size: 15px;
    color: #666666;
}

/* footer */
footer{
    display: flex;
    justify-content: space-between;
    padding: 20px 10%;
    border-top: 1px solid #e0e0e0;
}

.footer-gauche{
    display: flex;
    gap: 15px;
}

.footer-gauche a{
    font-size: 15px;
    color: #666666;
    text-decoration: none;
}

.footer-gauche a:hover{
    text-decoration: underline;
    color: #000000;
}

footer p{
    font-size: 15px;
    color: #666666;
    text-align: center;
}

.footer-droite{
    display: flex;
    gap: 15px;
}

.footer-droite i{
    font-size: 20px;
    color: #666666;
}

.footer-droite i:hover{
    color: #000000;
}



/* ----------------------------------------------------------------------------------------------------------------------------- */



/* version mobile */
@media (max-width: 768px){
    /* header */
    .menu-burger{
        display: block;
        font-size: 30px;
        color: #000;
    }

    ul{
        display: none;
    }

    .menu-ouvert ul{
        display: block;
        background-color: #fff;
        padding: 20px;
        text-align: center;
        width: 100vw;
    }

    .menu-ouvert ul li{
        margin: 20px 0;
    }

    header .header{
        width: 100%;
        padding: 0 10px;
    }

    /* acceuil */
    .acceuil{
        flex-direction: column;
        height: auto;
    }

    .acceuil-content{
        flex-direction: column;
    }

    .acceuil-image{
        width: 100%;
    }

    .acceuil-text{
        width: 100%;
        margin-left: 0;
        padding: 20px;
        order: 2;
        text-align: center;
    }

    .acceuil-text h2{
        font-size: 30px;
    }

    .acceuil-btn{
        justify-content: center;
        gap: 15px;
    }

    /* intro préstations */
    .intro-content{
        flex-direction: column;
        text-align: center;
    }

    .intro-content h2{
        font-size: 30px;
    }

    .intro p{
        text-align: center;
        margin-top: 50px;
    }

    .intro-image{
        width: 100%;
    }

    /* préstations */
    .prestations-content{
        flex-direction: column;
    }

    .prestation{
        width: 100%;
        margin-bottom: 30px;
    }

    /* projets */
    .projet-content{
        display: flex;
        flex-direction: column;
    }

    .projet-description{
        margin-left: 0;
        text-align: center;
    }

    .compétences{
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .compétences-carré{
        padding: 5px 10px;
        font-size: 12px;
        max-width: 100px;
        text-align: center;
    }

    /* faq */
    .faq-item{
        width: 95%;
    }

    .faq{
        margin: 30px;
    }

    /* footer */
    footer{
        flex-direction: column;
    }

    .footer-gauche, .footer-droite{
        justify-content: center;
        gap: 15px;
        margin-bottom: 15px;
    }

    footer p{
        order: 3;
    }
}


/* ajouter 1-2 notes pour le rendu */