/* ===========================
   PAGE ÉQUIPE
   =========================== */

.equipe-page {
    padding: 80px 0 60px;
    color: #ffffff;
    font-family: "Arial, Helvetica, sans-serif", sans-serif;
    text-align: left;
    min-height: calc(100vh - 140px);
}

.equipe-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Bloc haut : titre + zombie */
.equipe-header-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 80px;
}

.equipe-title-left {
    flex: 1 1 50%;
}

.equipe-title {
    font-family: 'lulo-clean-w01-one-bold', sans-serif;
    font-size: 28px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin: 0 0 8px;
    line-height: 1.1;
}

.equipe-title .subtitle {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    line-height: 1.1;
    margin: 0 0 25px;
    text-align: left;
}

.equipe-intro {
    max-width: 420px;
    line-height: 1.6;
    font-size: 14px;
    color: #d6e2f2;
}

.equipe-img-right {
    flex: 1 1 50%;
    display: flex;
    justify-content: flex-end;
}

.equipe-img-right img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

/* SECTION FRED : LIGNE 1 (photo + bio) */
.equipe-fred-section {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
}

/* Colonne photo */
.fred-photo {
    flex: 0 0 220px;
}

.fred-photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

/* Colonne texte (bio) */
.fred-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
    color: #d6e2f2;
}

.fred-title {
    font-family: 'lulo-clean-w01-one-bold', sans-serif;
    font-size: 22px;
    letter-spacing: 0.25em;
    margin: 0 0 3px;
    line-height: 1.1;
    text-align: left;
    color: #ffffff;
}

.fred-subtitle {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    margin: 0 0 25px;
    text-align: left;
    color: #b8b8c7;
}

/* LIGNE 2 : TEXTE SOUS LA PHOTO, LARGEUR COMPLÈTE */
.fred-bottom-full {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
    color: #d6e2f2;
}

.fred-bottom-full p {
    margin-bottom: 15px;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

/* Tablettes */
@media (max-width: 1024px) {
    .equipe-page {
        padding: 60px 0 40px;
    }
    
    .equipe-container {
        padding: 0 15px;
    }
    
    .equipe-header-block {
        gap: 30px;
        margin-bottom: 60px;
    }
    
    .equipe-fred-section {
        gap: 30px;
    }
    
    .fred-photo {
        flex: 0 0 200px;
    }
}

/* Mobiles paysage */
@media (max-width: 768px) {
    .equipe-page {
        padding: 50px 0 30px;
    }
    
    .equipe-container {
        padding: 0 12px;
    }
    
    /* IMAGE EN HAUT, TEXTE EN DESSOUS */
    .equipe-header-block {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        margin-bottom: 40px;
        text-align: center;
    }

    /* image en premier */
    .equipe-img-right {
        order: 1;
        justify-content: center;
        width: 100%;
    }

    .equipe-img-right img {
        max-width: 80%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    /* bloc titre + texte en dessous de l’image */
    .equipe-title-left {
        order: 2;
        width: 100%;
    }

    .equipe-title-left,
    .equipe-title,
    .equipe-title .subtitle {
        text-align: center;
    }
    
    .equipe-intro {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }
    
    /* le reste ne bouge pas */
    .equipe-fred-section {
        flex-direction: column;
        gap: 25px;
        margin-bottom: 15px;
    }
    
    .fred-photo {
        flex: none;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .fred-text {
        text-align: center;
    }
    
    .fred-title {
        text-align: center;
    }
    
    .fred-subtitle {
        text-align: center;
    }
    
    .fred-bottom-full {
        text-align: center;
    }
}


/* Mobiles portrait */
@media (max-width: 480px) {
    .equipe-page {
        padding: 40px 0 20px;
    }
    
    .equipe-container {
        padding: 0 10px;
    }
    
    .equipe-header-block {
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .equipe-title {
        font-size: 24px;
        letter-spacing: 0.2em;
    }
    
    .equipe-title .subtitle {
        font-size: 11px;
        margin-bottom: 20px;
    }
    
    .equipe-intro {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .equipe-img-right img {
        max-width: 90%;
    }
    
    .equipe-fred-section {
        gap: 20px;
    }
    
    .fred-photo {
        max-width: 200px;
    }
    
    .fred-title {
        font-size: 20px;
        letter-spacing: 0.2em;
    }
    
    .fred-subtitle {
        font-size: 11px;
        margin-bottom: 20px;
    }
    
    .fred-text,
    .fred-bottom-full {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .page-copyright {
        margin-top: 30px;
        padding-top: 15px;
        font-size: 11px;
    }
}

/* Très petits écrans */
@media (max-width: 360px) {
    .equipe-title {
        font-size: 22px;
    }
    
    .equipe-title .subtitle {
        font-size: 10px;
    }
    
    .equipe-intro {
        font-size: 12px;
    }
    
    .fred-photo {
        max-width: 180px;
    }
    
    .fred-title {
        font-size: 18px;
    }
    
    .fred-text,
    .fred-bottom-full {
        font-size: 12px;
    }
}

/* Animation pour l'apparition du contenu */
.equipe-header-block,
.equipe-fred-section,
.fred-bottom-full {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
