/* ================== 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: 0.1vw 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: 3vw;
    padding-right: 2vw;
    border-bottom: 0.1vw solid #7c898b;
    padding-bottom: 1vw;
    margin-top: -2vw;
}

nav a {
    color: #253439;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
}

.page {
    color: #b29e84;
}

nav a {
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0.15vw;
    left: 0;
    bottom: -0.4vw;
    background: #253439;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
    background: #253439;
}

nav a.page {
    color: #b29e84;
}

nav a.page::after {
    background: #b29e84;
}

/* ================== 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: clamp(2rem, 3vw, 3.5rem);
    color: #253439;
}

/* ================== CORPS DE PAGE ================== */
.h1rdv {
    display: flex;
    justify-content: center;
}

h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.5rem, 2.75vw, 3rem);
    color: #f3f2ef;
}

.prdv {
    display: flex;
    text-align: center;
    padding-left: 15%;
    padding-right: 15%;
}

p {
    color: #f3f2ef;
    font-size: 1.1rem;
}

/* ================== BLOCS SALONS ================== */
.conteneur1 {
    display: flex;
    justify-content: center;
    padding: 5vh 2vw;
    margin: 5vw;
}

.conteneur-rdv {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3vw;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-left: 7vw;
    padding-right: 7vw;
}

.les-sorinières-rdv, .boufféré-rdv, .chantonnay-rdv {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: clamp(260px, 22vw, 340px); /* légèrement plus large */
}

.les-sorinières-rdv img, .boufféré-rdv img, .chantonnay-rdv img {
    width: 100%;
    height: clamp(260px, 22vw, 340px); /* images agrandies et proportionnelles */
    object-fit: cover;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    border-bottom-left-radius: 0.8vw;
    border-bottom-right-radius: 0.8vw;
    border: 0.25vw solid #7c898b;
    box-shadow: 0 0.4vw 1vw rgba(0, 0, 0, 0.4);
}

/* Les boutons suivent exactement la largeur de l’image */
.les-sorinières-rdv button,
.boufféré-rdv button,
.chantonnay-rdv button {
    background-color: #7c898b;
    color: #f3f2ef;
    font-family: 'Alice', sans-serif;
    border: none;
    padding: 0.9rem 1rem;
    width: 100%; /* même largeur que l’image */
    text-transform: uppercase;
    font-size: clamp(0.9rem, 1vw, 1.1rem);
    font-weight: bold;
    border-radius: 0 0 0.8vw 0.8vw; /* suit la forme de la carte */
    margin-top: 1rem;
    cursor: pointer;
    transition: 0.3s ease;
}

.les-sorinières-rdv button:hover,
.boufféré-rdv button:hover,
.chantonnay-rdv button:hover {
    background-color: #b29e84;
    color: #253439;
    transform: translateY(-0.2vw);
}

/* =================== FOOTER ================== */
footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 3.5%;
    padding-bottom: 2%;
    padding-right: 2%;
}

.politique-de-confidentialité {
    color: #b29e84;
    font-size: 1rem;
}


/* ================== RESPONSIVE ================== */

/* ================== TABLETTES ================== */
@media (max-width: 1024px) {
    nav {
        justify-content: center;
        margin-top: 0;
        gap: 2em;
    }

    h1 {
        font-size: 3.5vw;
        text-align: center;
        color: #fffdf5;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
        letter-spacing: 0.05em;
    }

    .prdv {
        padding-left: 10%;
        padding-right: 10%;
    }

    .conteneur-rdv {
        justify-content: center;
        gap: 4vw;
        padding-left: 5vw;
        padding-right: 5vw;
    }

    .les-sorinières-rdv, .boufféré-rdv, .chantonnay-rdv {
        width: 38vw;
    }

    .les-sorinières-rdv img, .boufféré-rdv img, .chantonnay-rdv img {
        width: 100%;
        aspect-ratio: 1 / 1.1; /* forme uniforme */
        object-fit: cover;
        border-top-left-radius: 140px;
        border-top-right-radius: 140px;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
        border: 3px solid #7c898b;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    }

    .les-sorinières-rdv button, .boufféré-rdv button, .chantonnay-rdv button {
        font-size: 1em;
        padding: 1em;
    }

    footer {
        justify-content: center;
        padding-top: 3%;
        padding-bottom: 3%;
    }
}

/* ================== MOBILES ================== */
@media (max-width: 600px) {
    .header-acceuil {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
    }

    .logo {
        width: 80px;
        transform: none;
        margin-bottom: 0.75rem;
    }

    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;
    }

    h1 {
        font-size: 7vw;
        text-align: center;
        padding: 0 5%;
        color: #fffaf0;
        text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.9);
        letter-spacing: 0.05em;
        font-weight: 600;
    }

    .prdv {
        flex-direction: column;
        text-align: center;
        padding-left: 7%;
        padding-right: 7%;
        font-size: 0.95rem;
        color: #f6f4f1;
    }

    .conteneur-rdv {
        flex-direction: column;
        align-items: center;
        gap: 8vw;
        padding: 0 5vw;
    }

    .les-sorinières-rdv, .boufféré-rdv, .chantonnay-rdv {
        width: 85vw;
        max-width: 420px;
    }

    .les-sorinières-rdv img, .boufféré-rdv img, .chantonnay-rdv img {
        width: 100%;
        aspect-ratio: 1 / 1.1; /* même forme pour toutes */
        object-fit: cover;
        border-top-left-radius: 140px;
        border-top-right-radius: 140px;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
        border: 3px solid #7c898b;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    }

    .les-sorinières-rdv button, .boufféré-rdv button, .chantonnay-rdv button {
        font-size: 1em;
        padding: 1em;
        width: 100%;
    }

    footer {
        justify-content: center;
        text-align: center;
        padding: 2rem 0;
    }

    .politique-de-confidentialité {
        font-size: 0.9em;
        text-decoration: none;
        color: #b29e84;
    }
}


