/* SECTION PHOTOS ÉQUIPES - LABELS RÉDUITS */
.teams-photos-section {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
    text-align: center;
}

.teams-photos-section h2 {
    color: var(--violet, #6B2D8F);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.photo-box {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.photo-box:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.photo-box:hover .team-photo {
    transform: scale(1.1);
}

.photo-label {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(107,45,143,0.95), rgba(255,255,255,0.9));
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.25);
    white-space: nowrap;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .photos-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .photos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .teams-photos-section h2 {
        font-size: 2rem;
    }
    
    .photo-label {
        font-size: 1rem;
        padding: 6px 16px;
        bottom: 12px;
    }
}

.categories-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 1rem;
}

.cat-col {
    flex: 1 1 30%;
    min-width: 140px;
    text-align: center;
}

@media (max-width: 768px) {
    .cat-col {
        flex: 1 1 45%;
    }
}
