/* ================== 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: 11.5%;
    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;
    }

.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-principal1 {
    display: flex;
    justify-content: center;
    padding: 5vh 2vw;
    margin: 5vw;
    gap: 2vw;
}

.conteneur-principal {
    display: flex;
    flex-direction: row;
    gap: 11vw;
    flex-wrap: wrap;
    justify-content: center; /* MODIFICATION ICI : remplace space-between */
    width: 90vw;
}

.parent1, .parent2, .parent3, .parent4, .parent5 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 28vw;
    min-width: 250px;
    max-width: 350px;
    padding: 0;
    gap: 2vw;

}

.parent4{
    display: flex;
    justify-content: center ;
}

.h2b{
    font-family: 'Kaushan Script';
    color: #f3f2ef;
    font-size: 3vw;
}

.h2d{
    font-family: 'Kaushan Script';
    color: #b29e84;
    font-size: 3vw;
}


.parad {
    font-family: 'Alice', sans-serif;
    font-size: 1.75vw;
    color: #e6dca2;
    margin-bottom: 1.5vh;
}

.parab {
    font-family: 'Alice', sans-serif;
    font-size: 1.75vw;
    color: #f3f2ef;
    margin-bottom: 1.5vh;
}


.supd{
    font-family: 'Alice', sans-serif;
    font-size: 1.75vw;
    color: #e6dca2;
    margin-bottom: 1.5vh;
}

.supb{
    font-family: 'Alice', sans-serif;
    font-size: 1.75vw;
    color: #f3f2ef;
    margin-bottom: 1.5vh;
}

.parent1 img, .parent2 img, .parent3 img, .parent4 img, .parent5 img {
    width: 35vh;
    height: 40vh;
    gap: 2vw;
    object-fit: cover;
    margin-bottom: -5vh; /* 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);
}



h1{
    font-size: 3rem;
    color: #f3f2ef;
}

.titre{
    display: flex;
    justify-content: center;
}

img{
    gap: 2vw;
}


/* ============================================================
   RESPONSIVE MOBILE & TABLETTE (Max 1024px)
   ============================================================ */
@media screen and (max-width: 1024px) {

    /* --- 1. HEADER ET LOGO --- */
     .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: #253439;
        text-decoration: none;
        font-family: 'Lato', sans-serif;
        font-size: 1rem;
    }

    .logo {
        width: 80px;
        transform: none;
        margin-bottom: 0.75rem;
    }


    /* --- 3. RESTE DU HEADER --- */
    .Politique-de-confidentialité {
        justify-content: center;
        margin-right: 0;
        margin-top: 1rem;
        width: 100%;
        text-decoration: none;
    }
    
    .entete-couleur {
        display: none; /* Masque la barre de couleur vide sur mobile si inutile, sinon : justify-content: center; */
    }

    /* --- 4. TITRES --- */
    .titre h1 {
        font-size: 2rem;       /* Remplace les unités relatives */
        text-align: center;
        line-height: 1.2;
        padding: 0 10px;
        margin-top: 2rem;
    }

    /* --- 5. GRILLE ÉQUIPES (Passage en colonne) --- */
    .conteneur-principal1 {
        margin: 0;
        padding: 1rem 0;
    }

    .conteneur-principal {
        width: 100%;
        flex-direction: column; /* Les membres s'affichent les uns sous les autres */
        align-items: center;    /* Tout centré */
        gap: 4rem;              /* Gros espace entre chaque membre */
    }

    /* Configuration des cartes membres (parent1, parent2, etc.) */
    .parent1, .parent2, .parent3, .parent4, .parent5 {
        width: 90%;             /* Prend presque toute la largeur de l'écran */
        max-width: 400px;       /* Mais ne devient pas géant sur tablette */
        margin: 0 auto;
    }

    /* Images des membres */
    .parent1 img, .parent2 img, .parent3 img, .parent4 img {
        width: 100%;            /* L'image remplit la carte */
        height: auto;           /* Hauteur automatique pour ne pas déformer */
        margin-bottom: 1rem;
    }

    /* --- 6. TYPOGRAPHIE TEXTES (Correction des "vw" illisibles sur mobile) --- */
    .h2b, .h2d {
        font-size: 2.5rem;      /* Noms des coiffeurs bien visibles */
        margin-top: 0.5rem;
    }

    .parab, .parad, .supb, .supd {
        font-size: 1.1rem;      /* Texte de description lisible (env 16-18px) */
        line-height: 1.5;
        padding: 0 10px;        /* Petite marge interne pour que le texte ne touche pas les bords */
    }
}