/* ================== STYLE GLOBAL ================== */
body {
    background-color: #253439;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

* {
    transition: all 0.3s ease;
}

/* ================== EN-TÊTE ================== */
.header-acceuil {
    background-color: #f3f2ef;
    border-bottom: 1px solid #7c898b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1rem 2rem;
}

.logo {
    width: clamp(60px, 8vw, 120px);
    height: auto;
    display: block;
    z-index: 10;
    transform: translateY(10%);
}

/* ================== NAVIGATION ================== */
nav {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 3em;
    padding-right: 2rem;
    border-bottom: 1px solid #7c898b;
    padding-bottom: 1em;
    margin-top: -2vw;
}

nav a {
    color: #253439;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    font-size: 1.2em;
}

.page{
    color: #b29e84;
}

nav a {
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -4px;
    background: #253439; /* couleur normale */
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
    background: #253439;
}

/* Lien actif (.page) */
nav a.page {
    color: #b29e84; /* texte blanc */
}

nav a.page::after {
    background: #b29e84; /* ligne blanche pour le lien actif */
}


/* ================== COULEUR D’ENTÊTE ================== */
.entete-couleur {
    background-color: #f3f2ef;
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 7vw; 
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: #253439;
}

/* ================== CORPS DE PAGE ================== */

.h1contact{
    font-family: 'Bebas Neue', sans-serif;
    color: #f3f2ef; 
    display: flex;
    justify-content: center;
    font-size: 2vw;   
}

.pcontact{
    color: #f3f2ef;
    font-family: 'Lato', sans-serif;
    text-align : center;
    font-size: 1vw;
}

.bouton-form{
    display: flex;
    justify-content: center;
}

.bouton-form button{
    background-color: #7c898b;
    color: #f3f2ef;
    font-size: 1vw;
    font-family: 'alice', sans-serif;
    border: none;
    padding: 1vw;
    padding-left: 2vw;
    padding-right : 2vw;
    margin-top : 2vw;
    border-radius: 0.3vw;
    transition: 0.3s ease;
}

button:hover {
    background-color: #b29e84;
    color: #253439;
    transform: translateY(-2px);
}

footer{
    display: flex;
    justify-content: flex-end;
}

.politique-de-confidentialité{
    font-family: 'Alice', sans-serif;
    color: #f3f2ef;
    padding-right: 2%;
    padding-top: 3.5%;
    padding-bottom: 2%;
}

/* ================== RESPONSIVE ================== */

/* TABLETTES */
@media (max-width: 1024px) {
    nav {
        justify-content: center;
        margin-top: 0;
        gap: 2em;
    }

    .h1contact {
        font-size: 3vw;
        text-align: center;
    }

    .pcontact {
        font-size: 1.5vw;
        padding: 0 5vw;
    }

    .bouton-form button {
        font-size: 1.3vw;
        padding: 1.2vw 2.5vw;
    }
}

/* MOBILES */
@media (max-width: 600px) {
    .header-acceuil {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
    }

    nav {
        flex-direction: column;
        align-items: center;
        border: none;
        gap: 1em;
        padding: 0;
        margin: 0;
    }

    nav a {
        font-size: 1em;
    }

    .logo {
        width: 80px;
        transform: none;
        margin-bottom: 1rem;
    }

    .h1contact {
        font-size: 6vw;
        text-align: center;
        margin: 2vw 0;
    }

    .pcontact {
        font-size: 3.8vw;
        padding: 0 8vw;
        line-height: 1.5;
    }

    .bouton-form button {
        font-size: 3.5vw;
        padding: 2.5vw 5vw;
        margin-top: 5vw;
    }

    footer {
        justify-content: center;
        padding: 6vw 0;
    }

    .politique-de-confidentialité {
        font-size: 3vw;
        padding: 0;
        text-align: center;
    }
}
