.club-page {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.club-header h1 {
    font-size: clamp(2rem, 2vw + 1.5rem, 2.75rem);
    margin-bottom: 0.5rem;
}

.club-header .lead {
    max-width: 720px;
    color: #4a5568;
}

.club-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.club-section-header {
    max-width: 720px;
}

.members-divider {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: #334155;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.8rem;
}

.members-divider::before,
.members-divider::after {
    content: "";
    height: 1px;
    background: #cbd5e1;
    flex: 1;
}

.members-divider span {
    white-space: nowrap;
}

.club-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.club-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.club-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #f1f5f9;
}

.club-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.club-card-title {
    font-size: 1.1rem;
    margin: 0;
}

.club-card-meta {
    color: #475569;
    font-size: 0.95rem;
    margin: 0;
}

.empty-state {
    border: 2px dashed #cbd5f5;
    background: #f8fafc;
    border-radius: 16px;
    padding: 2rem;
    color: #64748b;
}

.club-stack {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.team-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    padding: 1.5rem;
}

.team-card-content {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 1.5rem;
    align-items: center;
}

.team-card-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.team-card-info h2 {
    margin: 0;
}

.team-card-info h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.team-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.75rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: #0f172a;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    width: fit-content;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
    color: #ffffff;
}

.team-card-photo {
    border-radius: 16px;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.team-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
    color: #334155;
}

.team-role {
    color: #64748b;
    font-size: 0.9rem;
}

.team-photo-placeholder {
    color: #475569;
    font-weight: 600;
    text-align: center;
}
/* Hover card */
.club-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.club-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

/* Zoom léger sur l’image */
.club-card img {
    transition: transform 0.35s ease;
}

.club-card:hover img {
    transform: scale(1.04);
}

@media (max-width: 575px) {
    .members-divider {
        font-size: 0.72rem;
        gap: 0.5rem;
    }

    .members-divider span {
        white-space: normal;
        text-align: center;
    }

    .club-card img {
        height: 180px;
    }

    .team-card-content {
        grid-template-columns: 1fr;
    }

    .team-card-photo {
        min-height: 180px;
        order: -1;
    }
}

.club-filters {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    padding: 1.25rem;
}

.club-filter-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.club-filter-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.club-check-option {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid #d6deeb;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    background: #f8fafc;
    font-size: 0.95rem;
}

.club-age-slider {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.club-age-slider input[type='range'] {
    width: 100%;
}

.club-age-values {
    color: #334155;
    font-weight: 500;
    display: inline-flex;
    gap: 0.35rem;
}

.club-empty-message {
    margin: 0;
    color: #64748b;
    font-weight: 500;
}
