/* ==========================================================
   KDM BAT — Page Notre Équipe
   À charger APRÈS css/styles.css
   ========================================================== */

/* ---------- Blocs ---------- */
.team-block {
    margin-bottom: 2.5rem;
}

.team-block:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .team-block {
        margin-bottom: 3.5rem;
    }
}

.team-subhead {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.team-subhead h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #FFFFFF;
}

@media (min-width: 768px) {
    .team-subhead h3 {
        font-size: 1.5rem;
    }
}

.team-count {
    margin-left: auto;
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Les cartes gardent la classe .member-card (animation d'apparition) :
   on neutralise ici son style d'origine */
.team-page .lead-card,
.team-page .crew-card {
    display: flex;
    gap: 1rem;
    padding: 0;
    background: none;
    border-left: none;
    transform: none;
}

/* ---------- Encadrement ---------- */
.team-leads {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .team-leads {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

.team-page .lead-card {
    align-items: flex-start;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.06);
    border-top: 3px solid var(--red);
    transition: background-color 0.2s ease;
}

@media (min-width: 768px) {
    .team-page .lead-card {
        flex-direction: column;
        gap: 1.1rem;
        padding: 1.75rem 1.5rem;
    }
}

.team-page .lead-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lead-avatar {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .lead-avatar {
        width: 68px;
        height: 68px;
        font-size: 1.4rem;
    }
}

.lead-role {
    font-family: 'Oswald', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #E74C3C;
    margin-bottom: 0.2rem;
}

.lead-info h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.2;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.lead-info h4 span {
    font-weight: 700;
}

@media (min-width: 768px) {
    .lead-info h4 {
        font-size: 1.35rem;
    }
}

.lead-desc {
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-muted);
}

/* ---------- Équipe de pose ---------- */
.team-crew {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .team-crew {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
}

@media (min-width: 1024px) {
    .team-crew {
        grid-template-columns: repeat(5, 1fr);
    }
}

.team-page .crew-card {
    align-items: center;
    gap: 0.7rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.team-page .crew-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--red);
}

.crew-avatar {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(192, 57, 43, 0.18);
    border: 1px solid rgba(231, 76, 60, 0.55);
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
}

.crew-info {
    min-width: 0;
}

.crew-info h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.25;
    color: #FFFFFF;
}

.crew-info h4 span {
    display: block;
    font-weight: 700;
    letter-spacing: 0.02em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.crew-info p {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}
