/**
 * Widget Cartes bénéfices icônes
 * Selector: .cfc
 * Vars : --cfc-card-bg (#fff), --cfc-icon (#002f87),
 *        --cfc-title (#002f87), --cfc-text (#54627F)
 */

.cfc {
    --cfc-card-bg: #ffffff;
    --cfc-icon: #002f87;
    --cfc-title: #002f87;
    --cfc-text: #54627F;
    font-family: 'Gotham', 'Montserrat', sans-serif;
}

.cfc__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.cfc__card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--cfc-card-bg);
    border-radius: 8px;
    padding: 24px 22px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cfc__card:hover {
    transform: scale(1.04) translateY(-3px);
}

.cfc__icon {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--cfc-icon);
    font-size: 34px;
    line-height: 1;
    margin-bottom: 4px;
}

.cfc__icon i {
    line-height: 1;
}

.cfc__icon img {
    width: 34px;
    height: 34px;
    display: block;
}

.cfc__title {
    margin: 0;
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--cfc-title);
}

.cfc__description {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--cfc-text);
}

/* Fallback responsive si l'utilisateur n'a pas utilisé les colonnes responsive
   du contrôle (rare - le contrôle Elementor gère desktop/tablet/mobile). */
@media (max-width: 991px) {
    .cfc__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .cfc__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cfc__card {
        padding: 20px 18px;
    }
}