
/* ==============================
   CINÉFLOW - PAGE ÉQUIPE
============================== */

.team-page {
    width: min(1150px, 92%);
    margin: 0 auto;
    padding: 90px 0 70px;
}

.team-hero {
    text-align: center;
    margin-bottom: 65px;
}

.team-hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -2px;
    margin: 22px 0 14px;
}

.team-hero p,
.team-cta p {
    color: #a1a1aa;
    font-size: 1rem;
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.team-card {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 34px 18px 30px;
    background: linear-gradient(145deg, #191919, #101010);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    transition: transform 0.3s ease, border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.team-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 15%;
    width: 70%;
    height: 2px;
    background: #e63946;
    opacity: 0.8;
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(230, 57, 70, 0.65);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.12);
}

.team-avatar {
    width: 125px;
    height: 125px;
    margin: 0 auto 24px;
    padding: 4px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff5964, #9f101b);
    box-shadow: 0 0 25px rgba(230, 57, 70, 0.2);
}

.team-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #171717;
}

.team-role {
    display: inline-block;
    color: #ff5964;
    background: rgba(230, 57, 70, 0.10);
    border: 1px solid rgba(230, 57, 70, 0.25);
    border-radius: 30px;
    padding: 6px 12px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.team-card h2 {
    color: #fff;
    font-size: 1.45rem;
    margin: 16px 0 5px;
}

.team-username {
    color: #929292;
    font-size: 0.9rem;
    margin: 0;
}

.team-cta {
    margin-top: 75px;
    padding: 45px 25px;
    text-align: center;
    background: linear-gradient(135deg, #211012, #151515);
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 20px;
}

.team-cta h2 {
    color: #fff;
    font-size: clamp(1.6rem, 4vw, 2.3rem);
    margin: 0 0 12px;
}

.team-cta p {
    margin-bottom: 25px;
}

/* Tablettes */
@media (max-width: 950px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobiles */
@media (max-width: 520px) {
    .team-page {
        padding-top: 60px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 340px;
        margin: 0 auto;
    }

    .team-card {
        padding: 28px 18px;
    }

    .team-avatar {
        width: 110px;
        height: 110px;
    }

    .team-cta {
        margin-top: 50px;
        padding: 35px 20px;
    }
}
