@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;
}

/* contact */
.contact{
    display: flex;
    height: 80vh;
    padding: 60px;
    gap: 60px;
    align-items: center;
    justify-content: center;
}

.carte{
    flex: 1;
    max-width: 450px;
    height: 450px;
}

.formulaire-contact{
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 500px;
}

.titre{
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000000;
}

.formulaire{
    display: flex;
    flex-direction: column;
}

.case{
    position: relative;
    margin-bottom: 20px;
}

.case input,
.case textarea{
    width: 100%;
    padding: 8px 0px;
    font-size: 15px;
    color: #000000;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #ccc;
    outline: none;
    transition: border-color 0.3s;
}

.case .ligne{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000000;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.case input:focus + .ligne,
.case textarea:focus + .ligne{
    transform: scaleX(1);
}

.envoye{
    text-decoration: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 700;
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    cursor: pointer;
}

.envoye:hover{
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #000000;
}

/* 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;
    }

    /* contact */
    .contact{
        display: block;
        padding: 20px;
        height: auto;
        gap: 20px;
    }

    .carte{
        max-width: 100%;
        height: 300px;
    }

    .formulaire-contact{
        max-width: 100%;
        padding: 0 10px;
        margin-top: 20px; /* Espace ajouté entre la carte et le formulaire */
    }

    .titre{
        font-size: 22px;
        text-align: center;
    }

    .case input,
    .case textarea{
        font-size: 16px;
    }

    .envoye{
        padding: 12px 20px;
        font-size: 16px;
        text-align: center;
    }

    /* 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 */