/* ============================================================
   Carte Membre — vc_membre_card.css
   ============================================================ */

/* --- Carte --- */
.mc-carte {
    display: flex;
    width: 280px;
    height: 280px;
    padding: 32px 24px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-shrink: 0;
    border-radius: 12px;
    background: #BBF9B5;
    text-align: center;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    cursor: pointer;
}

.mc-carte:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    background: #a8f4a1;
}

/* --- Icône / Image --- */
.mc-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease;
}

.mc-carte:hover .mc-icon {
    transform: scale(1.12);
}

.mc-icon img {
    width: auto;
    height: 59px;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* --- Titre --- */
.mc-nom {
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.35;
    margin: 0;
}

/* --- Bouton / Tag --- */
.mc-tag {
    display: inline-flex;
    height: 32px;
    padding: 2px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    border-radius: 16px;
    background: var(--Blanc, #FFF);
    font-size: 0.9rem;
    font-weight: 400;
    white-space: nowrap;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, color 0.2s ease;
}

.mc-tag:hover {
    background: #231F20;
    color: #fff;
}

/* --- Grille (bloc section complète optionnel) --- */
.mc-grille {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.mc-grille-titre {
    margin-bottom: 8px;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
}

/* --- Responsive --- */
@media (max-width: 1200px) {
    .mc-grille {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .mc-carte {
        width: 100%;
        height: auto;
        min-height: 220px;
    }
}
