/* ============================================
   PAGE REFERENCES - Filtres et cartes
   ============================================ */

:root {
    --luxe: #3498db;
    --pulp: #99D2D6;
    --um: #0D80F6;
    --content: #F6D800;
}

/* ============================================
   FILTRE MENU
   ============================================ */
.filter-menu {
    display: flex;
    gap: 1.5rem;
    row-gap: 0.5rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #3498db #f0f0f0;
}

.filter-menu::-webkit-scrollbar {
    height: 6px;
}

.filter-menu::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.filter-menu::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 3px;
}

.filter-menu::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}

.filter-btn {
    font-family: Worksans, Arial, sans-serif;
    padding: 0.5rem 0 0;
    color: #afafaf;
    border-bottom: 1px solid #afafaf;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    background: none;
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    white-space: normal;
    line-height: 1.2;
}

.filter-btn span {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
}

.filter-btn:hover {
    color: #102128;
    border-bottom: 1px solid #102128;
}

.filter-btn.active {
    color: #102128;
    border-bottom: 1px solid #102128;
}

/* ============================================
   CARDS CONTAINER
   ============================================ */
.cards-container {
    position: relative;
    column-count: 3;
    column-gap: 1.5rem;
    padding-bottom: 2rem;
}

.card {
    display: inline-block;
    width: 100%;
    background-color: #fff;
    margin-bottom: 1.5rem;
    break-inside: avoid;
    overflow: hidden;
    opacity: 0;
    cursor: pointer;
}

.card.hidden {
    display: none;
}

.card-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

.card-content {
    padding: 1.5rem 0 2rem;
    width: 80%;
}

.card-title {
    margin: 0 0 1rem;
    color: #102128;
    font-family: Nohemi semi bold, Arial, sans-serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 115%;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    font-family: Nohemi, Arial, sans-serif;
    display: inline-block;
    padding: 0.35rem 0.75rem 0.2rem;
    border-radius: 2rem;
    border: 1px solid #afafaf;
    color: #afafaf;
    font-size: 1rem;
    line-height: 100%;
    font-weight: 500;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .cards-container {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .cards-container {
        column-count: 1;
    }

    .filter-menu {
        padding: 1rem;
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 991px) {
    /* Désactiver clic sur S du menu sticky mobile */
    .menu-form-sticky .navbar-brand {
        pointer-events: none !important;
        cursor: default !important;
    }
}
