.comite-wrap {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* Onglets */
.comite-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 2rem;
}

.comite-tab {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 99px;
    font-weight: 500;
    border: 1px solid var(--lidfsg-border);
    color: var(--lidfsg-muted);
    background: white;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

body .comite-wrap .comite-tab {
    background: white !important;
    color: var(--lidfsg-muted) !important;
    border-color: var(--lidfsg-border) !important;
}

body .comite-wrap .comite-tab:hover,
body .comite-wrap .comite-tab.is-active {
    background: var(--lidfsg-blue) !important;
    color: white !important;
    border-color: var(--lidfsg-blue) !important;
}

/* Panels */
.comite-panel {
    display: none;
}

.comite-panel.is-active {
    display: block;
}

/* Grille membres */
.comite-membres {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

/* Carte membre */
.comite-membre {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

.comite-membre__photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--lidfsg-light);
    box-shadow: 0 4px 14px rgba(0, 114, 187, 0.12);
    background: var(--lidfsg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.comite-membre__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comite-membre__initiale {
    font-family: var(--lidfsg-font-title);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    background: var(--lidfsg-blue);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.comite-membre__infos {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.comite-membre__nom {
    font-family: var(--lidfsg-font-title);
    font-size: 1rem;
    font-weight: 700;
    color: var(--lidfsg-blue);
    margin: 0;
}

.comite-membre__fonction {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    color: var(--lidfsg-muted);
    margin: 0;
    line-height: 1.4;
}

.comite-membre--hidden {
    display: none;
}

.comite-voir-plus {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 1.5rem auto 0;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--lidfsg-muted);
    background: white;
    border: 1px solid var(--lidfsg-border);
    border-radius: 99px;
    padding: 8px 14px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.comite-voir-plus,
.comite-wrap .comite-voir-plus {
    background: white !important;
    color: var(--lidfsg-muted) !important;
    border-color: var(--lidfsg-border) !important;
}

.comite-voir-plus:hover,
.comite-wrap .comite-voir-plus:hover {
    background: var(--lidfsg-blue) !important;
    color: white !important;
    border-color: var(--lidfsg-blue) !important;
}

.comite-voir-plus svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.comite-voir-plus.is-open svg {
    transform: rotate(180deg);
}

@media (max-width: 640px) {
    .comite-tabs {
        gap: 6px;
    }

    .comite-membre {
        flex: 0 0 160px;
    }

    .comite-membre__photo {
        width: 120px;
        height: 120px;
    }

    .comite-membre__nom {
        font-size: 1rem !important;
    }

    .comite-membre__fonction {
        font-size: 0.88rem;
    }
}

@media (max-width: 400px) {
    .comite-membres {
        gap: 1rem;
    }

    .comite-membre {
        flex: 0 0 145px;
    }

    .comite-membre__photo {
        width: 105px;
        height: 105px;
    }

    .comite-membre__nom {
        font-size: 0.95rem !important;
    }

    .comite-membre__fonction {
        font-size: 0.82rem;
    }
}
