.fms-stats-section {
    padding: 90px 20px;
    background: #ffffff;
}

.fms-stats-grid {
    max-width: 1250px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    background: linear-gradient(135deg, #16324f, #234e70);
    padding: 50px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    position: relative;
}

.fms-stats-grid::before {
    content: "CHIFFRES CLÉS";
    position: absolute;
    top: -22px;
    left: 40px;
    background: #ffffff;
    color: #16324f;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    letter-spacing: 1px;
}

.fms-stat-card {
    background: rgba(255,255,255,0.95);
    padding: 40px 20px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.fms-stat-card:hover {
    transform: translateY(-6px);
}

.fms-stat-number {
    display: block;
    font-size: 3.2rem;
    font-weight: 700;
    color: #16324f;
    margin-bottom: 12px;
}

.fms-stat-card p {
    margin: 0;
    font-size: 1rem;
    color: #4a6572;
    font-weight: 500;
}

@media (max-width: 992px) {
    .fms-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 35px;
    }
}

@media (max-width: 600px) {
    .fms-stats-grid {
        grid-template-columns: 1fr;
        padding: 25px;
    }

    .fms-stats-grid::before {
        left: 20px;
        top: -18px;
        font-size: 12px;
    }
}


/* Home stats positioned close to the slide */
.fms-hero + .fms-stats-section,
.fms-hero-slider + .fms-stats-section {
    background: #ffffff;
    margin-top: 0;
    padding: 0 20px;
    position: relative;
    z-index: 6;
}

.fms-hero + .fms-stats-section .fms-stats-grid,
.fms-hero-slider + .fms-stats-section .fms-stats-grid {
    margin: -42px auto 0;
    max-width: 1060px;
    box-shadow: 0 18px 42px rgba(16,42,67,.18);
}

.fms-stats-section + .fms-institutional-section {
    padding-top: 92px;
}

@media (max-width: 760px) {
    .fms-hero + .fms-stats-section .fms-stats-grid,
    .fms-hero-slider + .fms-stats-section .fms-stats-grid {
        margin-top: 0;
    }

    .fms-stats-section + .fms-institutional-section {
        padding-top: 62px;
    }
}


/* Institutional intro + key figures */
.fms-hero + .fms-stats-section,
.fms-hero-slider + .fms-stats-section,
.fms-stats-section {
    background: linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
    margin-top: 0;
    padding: 0 20px 72px;
    position: relative;
    z-index: 6;
}

.fms-stats-panel {
    background: #ffffff;
    border: 1px solid #d9e2ec;
    box-shadow: 0 22px 46px rgba(16,42,67,.16);
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr);
    margin: -48px auto 0;
    max-width: 1180px;
    padding: 42px;
    position: relative;
}

.fms-stats-panel::before {
    background: #234e70;
    content: '';
    height: 5px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.fms-stats-intro {
    align-self: center;
    border-right: 1px solid #d9e2ec;
    padding-right: 34px;
}

.fms-stats-kicker {
    color: #567086;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.fms-stats-intro h2 {
    color: #16324f;
    font-size: clamp(1.85rem, 3vw, 2.65rem);
    line-height: 1.08;
    margin: 0 0 18px;
}

.fms-stats-intro p:not(.fms-stats-kicker) {
    color: #3e5367;
    font-size: 1.04rem;
    line-height: 1.78;
    margin: 0;
}

.fms-stats-panel .fms-stats-grid {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    max-width: none;
    padding: 0;
}

.fms-stats-panel .fms-stats-grid::before {
    content: none;
}

.fms-stats-panel .fms-stat-card {
    background: #f7f9fb;
    border: 1px solid #d9e2ec;
    border-radius: 0;
    box-shadow: none;
    min-height: 132px;
    padding: 26px 20px;
    text-align: left;
    transition: border-color .2s ease, background .2s ease;
}

.fms-stats-panel .fms-stat-card:hover {
    background: #ffffff;
    border-color: #b9c8d6;
    transform: none;
}

.fms-stats-panel .fms-stat-number {
    color: #16324f;
    font-size: clamp(2.15rem, 4vw, 3rem);
    line-height: 1;
    margin-bottom: 10px;
}

.fms-stats-panel .fms-stat-card p {
    color: #526d7a;
    font-size: .94rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.fms-stats-section + .fms-institutional-section {
    padding-top: 78px;
}

@media (max-width: 920px) {
    .fms-stats-panel {
        grid-template-columns: 1fr;
        margin-top: -24px;
        padding: 34px 28px;
    }

    .fms-stats-intro {
        border-right: 0;
        border-bottom: 1px solid #d9e2ec;
        padding: 0 0 28px;
    }
}

@media (max-width: 560px) {
    .fms-stats-panel {
        margin-top: 0;
        padding: 28px 22px;
    }

    .fms-stats-panel .fms-stats-grid {
        grid-template-columns: 1fr;
    }
}


/* Horizontal intro + key figures refinement */
.fms-stats-panel {
    display: block;
    margin-top: -42px;
    padding: 38px 42px 42px;
}

.fms-stats-intro {
    border-bottom: 1px solid #d9e2ec;
    border-right: 0;
    margin: 0 0 30px;
    max-width: 920px;
    padding: 0 0 26px;
}

.fms-stats-intro h2 {
    max-width: 760px;
}

.fms-stats-intro p:not(.fms-stats-kicker) {
    max-width: 880px;
}

.fms-stats-panel .fms-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fms-stats-panel .fms-stat-card {
    min-height: 124px;
    text-align: center;
}

@media (max-width: 920px) {
    .fms-stats-panel .fms-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .fms-stats-panel .fms-stats-grid {
        grid-template-columns: 1fr;
    }
}


/* Premium institutional stats block */
.fms-stats-section {
    background:
        linear-gradient(180deg, #ffffff 0%, #f4f7fa 100%);
    padding-bottom: 84px;
}

.fms-stats-panel {
    background:
        linear-gradient(90deg, rgba(35,78,112,.06) 0 1px, transparent 1px) 34px 0 / 1px 100% no-repeat,
        linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
    border: 1px solid #d6e0e8;
    box-shadow: 0 26px 60px rgba(16,42,67,.16);
    overflow: hidden;
    padding: 0;
}

.fms-stats-panel::before {
    background: linear-gradient(90deg, #16324f 0%, #234e70 68%, #7d9bb4 100%);
    height: 6px;
}

.fms-stats-intro {
    background: #ffffff;
    border-bottom: 1px solid #d9e2ec;
    margin: 0;
    max-width: none;
    padding: 40px 46px 34px 58px;
    position: relative;
}

.fms-stats-intro::before {
    background: #234e70;
    content: '';
    height: calc(100% - 76px);
    left: 34px;
    position: absolute;
    top: 42px;
    width: 3px;
}

.fms-stats-kicker {
    color: #234e70;
    margin-bottom: 14px;
}

.fms-stats-intro h2 {
    color: #102a43;
    font-size: clamp(2rem, 3.4vw, 3rem);
    letter-spacing: 0;
    max-width: 820px;
}

.fms-stats-intro p:not(.fms-stats-kicker) {
    color: #425c70;
    font-size: 1.08rem;
    line-height: 1.82;
    max-width: 980px;
}

.fms-stats-panel .fms-stats-grid {
    background: #f8fafc;
    gap: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fms-stats-panel .fms-stat-card {
    background: transparent;
    border: 0;
    border-right: 1px solid #d9e2ec;
    min-height: 154px;
    padding: 34px 24px 30px;
    position: relative;
    text-align: center;
}

.fms-stats-panel .fms-stat-card:last-child {
    border-right: 0;
}

.fms-stats-panel .fms-stat-card::after {
    background: #234e70;
    bottom: 0;
    content: '';
    height: 3px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    transition: width .2s ease;
    width: 0;
}

.fms-stats-panel .fms-stat-card:hover {
    background: #ffffff;
    border-color: #d9e2ec;
}

.fms-stats-panel .fms-stat-card:hover::after {
    width: 52px;
}

.fms-stats-panel .fms-stat-number {
    color: #16324f;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.7rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 12px;
}

.fms-stats-panel .fms-stat-card p {
    color: #526d7a;
    font-size: .82rem;
    letter-spacing: .09em;
    line-height: 1.45;
}

@media (max-width: 920px) {
    .fms-stats-intro {
        padding: 34px 30px 30px 44px;
    }

    .fms-stats-intro::before {
        left: 24px;
    }

    .fms-stats-panel .fms-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fms-stats-panel .fms-stat-card:nth-child(2) {
        border-right: 0;
    }

    .fms-stats-panel .fms-stat-card:nth-child(-n+2) {
        border-bottom: 1px solid #d9e2ec;
    }
}

@media (max-width: 560px) {
    .fms-stats-panel .fms-stats-grid {
        grid-template-columns: 1fr;
    }

    .fms-stats-panel .fms-stat-card,
    .fms-stats-panel .fms-stat-card:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid #d9e2ec;
    }

    .fms-stats-panel .fms-stat-card:last-child {
        border-bottom: 0;
    }
}


/* Institutional color accents */
.fms-stats-panel {
    background:
        linear-gradient(90deg, rgba(192,151,73,.18) 0 1px, transparent 1px) 34px 0 / 1px 100% no-repeat,
        linear-gradient(135deg, rgba(35,78,112,.08) 0%, rgba(255,255,255,0) 38%),
        linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}

.fms-stats-panel::before {
    background: linear-gradient(90deg, #16324f 0%, #234e70 54%, #c09749 100%);
}

.fms-stats-intro::before {
    background: linear-gradient(180deg, #234e70 0%, #c09749 100%);
}

.fms-stats-kicker {
    color: #8a6425;
}

.fms-stats-panel .fms-stats-grid {
    background: linear-gradient(135deg, #f7f9fb 0%, #eef4f8 100%);
}

.fms-stats-panel .fms-stat-card:nth-child(1) {
    background: linear-gradient(180deg, rgba(35,78,112,.1), rgba(255,255,255,0));
}

.fms-stats-panel .fms-stat-card:nth-child(2) {
    background: linear-gradient(180deg, rgba(192,151,73,.12), rgba(255,255,255,0));
}

.fms-stats-panel .fms-stat-card:nth-child(3) {
    background: linear-gradient(180deg, rgba(22,50,79,.08), rgba(255,255,255,0));
}

.fms-stats-panel .fms-stat-card:nth-child(4) {
    background: linear-gradient(180deg, rgba(86,112,134,.12), rgba(255,255,255,0));
}

.fms-stats-panel .fms-stat-number {
    color: #102a43;
}

.fms-stats-panel .fms-stat-card:nth-child(2) .fms-stat-number,
.fms-stats-panel .fms-stat-card:hover .fms-stat-number {
    color: #8a6425;
}

.fms-stats-panel .fms-stat-card::after {
    background: linear-gradient(90deg, #234e70, #c09749);
}


/* Uniform institutional cards */
.fms-stats-kicker {
    color: #234e70;
}

.fms-stats-panel .fms-stat-card,
.fms-stats-panel .fms-stat-card:nth-child(1),
.fms-stats-panel .fms-stat-card:nth-child(2),
.fms-stats-panel .fms-stat-card:nth-child(3),
.fms-stats-panel .fms-stat-card:nth-child(4) {
    background:
        linear-gradient(180deg, rgba(35,78,112,.08), rgba(255,255,255,0) 58%),
        #f8fafc;
}

.fms-stats-panel .fms-stat-number,
.fms-stats-panel .fms-stat-card:nth-child(2) .fms-stat-number {
    color: #16324f;
}

.fms-stats-panel .fms-stat-card {
    transition: background .22s ease, box-shadow .22s ease, transform .22s ease;
}

.fms-stats-panel .fms-stat-card:hover {
    background:
        linear-gradient(180deg, rgba(35,78,112,.13), rgba(255,255,255,0) 64%),
        #ffffff;
    box-shadow: inset 0 0 0 1px rgba(35,78,112,.18), 0 12px 24px rgba(16,42,67,.1);
    transform: translateY(-3px);
}

.fms-stats-panel .fms-stat-card:hover .fms-stat-number {
    color: #16324f;
}

.fms-stats-panel .fms-stat-card::after {
    background: #234e70;
}
