/* ================== STYLE GLOBAL ================== */
body {
    background-color: #253439;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ================== 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%);
}

* {
    transition: all 0.3s ease;
}

/* ================== 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;
    }

.Politique-de-confidentialité{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
    justify-content: flex-end;
    margin-right: 1vw;
    
}

.politique-de-confidentialité{
    color: #101f24;
}


/* ================== CORPS DE PAGE ================== */
.conteneur {
    display: flex;
    justify-content: center;
    padding: 5vh 2vw;
    margin: 5vw;
}

.dispo-horizon {
    display: flex;
    flex-direction: row;
    gap: 2vw;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 90vw;
}

.les-sorinières, .boufféré, .chantonnay {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 28vw;
    min-width: 250px;
    max-width: 350px;
    padding: 0;

}

.les-sorinières p, .boufféré p, .chantonnay p {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2em;
    color: #e6dca2;
    margin-bottom: 1.5vh;
    text-transform: uppercase;
}

.les-sorinières img, .boufféré img, .chantonnay img {
    width: 55vh;
    height: 60vh;
    
    object-fit: cover;
    margin-bottom: 1vh; /* Marge pour séparer de manière nette le bouton */
    border: 0.3vw solid #7c898b;
    border-radius: 2.8vw; /* Coins arrondis complets */
    box-shadow: 0 0.5vh 1vh rgba(0, 0, 0, 0.4);
}

.les-sorinières button, .boufféré button, .chantonnay button {
    background-color: #7c898b;
    color: #f3f2ef;
    font-family: 'Alice', sans-serif;
    border: none;
    padding: 1.5vh 0;
    width: 100%;
    font-size: 1em;
    font-weight: bold;
    border-radius: 0.3vw; /* Coins arrondis complets */
    margin-top: 2vw;
    z-index: 2;
    /* Styles pour l'encadrement propre du bouton */
    box-shadow: 0 0.5vh 1vh rgba(0, 0, 0, 0.4);
    transition: 0.3s ease;
}

button:hover {
    background-color: #b29e84;
    color: #253439;
    transform: translateY(-2px);
}



/* ================== RESPONSIVE ================== */

/* ================== TABLETTES ================== */
@media (max-width: 1024px) {
    nav {
        justify-content: center;
        margin-top: 0;
        gap: 2em;
    }

    .dispo-horizon {
        flex-direction: column;
        align-items: center;
        gap: 5vw;
    }

    .les-sorinières, .boufféré, .chantonnay {
        width: 70vw;
    }

    .les-sorinières img, .boufféré img, .chantonnay img {
        width: 65vw;
        height: auto;
    }

    .les-sorinières p, .boufféré p, .chantonnay p {
        font-size: 1.8em;
    }

    .les-sorinières button, .boufféré button, .chantonnay button {
        font-size: 1em;
        padding: 1em;
    }
}

/* ================== MOBILES ================== */
@media (max-width: 600px) {
    .header-acceuil {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
    }

    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 0.5rem;
        border: none;
        margin: 0;
        padding: 0;
    }

    nav a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.6rem 0;
        color: #b29e84;
        text-decoration: none;
        font-family: 'Bebas Neue', sans-serif;
        font-size: 1rem;
    }

    .logo {
        width: 80px;
        transform: none;
        margin-bottom: 0.75rem;
    }

    .dispo-horizon {
        flex-direction: column;
        align-items: center;
        gap: 6vw;
    }

    .les-sorinières, .boufféré, .chantonnay {
        width: 85vw;
        max-width: 500px;
    }

    .les-sorinières img, .boufféré img, .chantonnay img {
        width: 80vw;
        height: auto;
    }

    .les-sorinières p, .boufféré p, .chantonnay p {
        font-size: 1.3em;
    }

    .les-sorinières button, .boufféré button, .chantonnay button {
        font-size: 1em;
        padding: 1em;
    }

    .Politique-de-confidentialité {
        justify-content: center;
        margin: 1.5rem auto 0;
        width: 100%;
        text-align: center;
    }

    .politique-de-confidentialité {
        font-size: 0.9em;
        color: #101f24;
        text-decoration: none;
    }
}
