/* ===== Team / Trombinoscope ===== */
.team-section {
    background: var(--bg-alt);
}

.team-group-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin: 48px 0 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-light);
}

.team-group-title:first-of-type {
    margin-top: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 16px;
}

.team-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 16px;
    overflow: hidden;
    border: 3px solid var(--primary-light);
    box-shadow: 0 4px 12px rgba(99, 41, 187, 0.15);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.team-role {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.role-bureau {
    background: var(--primary-light);
    color: var(--primary);
}

.role-titulaire {
    background: #e0f5e4;
    color: var(--accent);
}

.role-suppleant {
    background: #e0f5f7;
    color: var(--blue);
}

.team-card p {
    color: var(--text-light);
    font-size: 0.85rem;
}
