:root {
    --bm-prestations-maxw: 1200px;
    --bm-prestations-pad-desktop: 120px;
    --bm-prestations-pad-tablet: 60px;
    --bm-prestations-pad-mobile: 24px;
    --bm-prestations-title-fs: clamp(22px, 3vw, 32px);
    --bm-prestations-heading-fs: clamp(16px, 1.7vw, 18px);
    --bm-prestations-text-fs: clamp(14px, 1.35vw, 16px);
}

/* Section background a bit lighter to feel like its own block */
.services-prestations {
    padding-block: clamp(40px, 7vw, 72px);
    background: #f5f6f8;
}

/* Inner layout with responsive side “margins” */
.services-prestations-inner {
    max-width: var(--bm-prestations-maxw);
    margin-inline: auto;
    padding-inline: clamp(var(--bm-prestations-pad-mobile),
            5vw,
            var(--bm-prestations-pad-desktop));
}

/* Title */
.services-prestations-title {
    margin: 0 0 clamp(24px, 4vw, 32px);
    font-size: var(--bm-prestations-title-fs);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Grid */
.services-prestations-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 32px) clamp(32px, 4vw, 40px);
}

/* Elevated cards */
.services-prestations-item {
    position: relative;
    background: #ffffff;
    padding: 20px 22px 22px;
    box-shadow:
        0 18px 30px rgba(0, 0, 0, 0.06),
        0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

/* Icon wrapper + SVG */
.services-prestations-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(20, 84, 129, 0.07);
    color: #013E75;
    margin-bottom: 12px;
}

.services-prestations-svg {
    width: 26px;
    height: 26px;
    display: block;
}

/* Heading + text */
.services-prestations-heading {
    margin: 0 0 4px;
    font-size: var(--bm-prestations-heading-fs);
    font-weight: 700;
}

.services-prestations-text {
    margin: 0;
    font-size: var(--bm-prestations-text-fs);
    line-height: 1.6;
}

/* Reveal helper, scoped */
.services-prestations .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.services-prestations .reveal:not(.is-in) {
    opacity: 0;
    transform: translateY(8px);
}

/* Responsive adjustments */
@media (max-width: 960px) {
    .services-prestations-inner {
        padding-inline: clamp(var(--bm-prestations-pad-mobile),
                4vw,
                var(--bm-prestations-pad-tablet));
    }

    .services-prestations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .services-prestations-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}