/**
 * Bloc Chiffres Clés - Styles
 */

.bloc-chiffres-cles {
    padding: 60px 0;
    position: relative;
    background-color: #ffffff;
    position: relative;
    &::after{
        content: '';
        width: 100vw!important;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        background-image: url('../../images/background/zigzag.svg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
}

.bloc-chiffres-cles__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
    color: #000000;
    margin-bottom: 20px;
    text-align: left;
    margin-top: 0!important;

}

.bloc-chiffres-cles__content {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.7;
    color: #000000;
    margin-bottom: 40px;
    max-width: 100%;
}

.bloc-chiffres-cles__slider {
    position: relative;
    margin-top: 40px;
    z-index: 4;
}

/* Slider Slick */
.chiffres-slider {
    position: relative;
}

.chiffres-slide {
    padding: 0 15px;
}

.chiffres-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    position: relative;
    gap: 11px;
}

.chiffres-card__bar {
    width: 11px;
    height: 25px;
    background-color: #be0000;
    flex-shrink: 0;
}

.chiffres-card__icon {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chiffres-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.chiffres-card__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    padding: 0 0 9px 0;
}

.chiffres-card__exergue {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
    color: #be0000;
    text-align: center;
    word-wrap: break-word;
}

.chiffres-card__subtext {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.6;
    color: #000000;
    text-align: center;
    word-wrap: break-word;
}

/* Navigation du slider */
.chiffres-slider-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.chiffres-slider-nav.hidden {
    display: none !important;
}

.chiffres-slider-prev,
.chiffres-slider-next {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: opacity 0.3s ease;
}

.chiffres-slider-prev:hover,
.chiffres-slider-next:hover {
    opacity: 0.7;
}

.chiffres-slider-prev img,
.chiffres-slider-next img {
    width: 20px;
    height: 20px;
}

.chiffres-slider-prev img {
    transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 768px) {
    .bloc-chiffres-cles {
        padding: 40px 0;
    }
    
    .bloc-chiffres-cles__title {
        font-size: 6vw;
        margin-bottom: 15px;
    }
    
    .bloc-chiffres-cles__content {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .chiffres-card {
        height: auto;
        min-height: 180px;
        padding: 15px;
    }
    
    .chiffres-card__exergue {
        font-size: 6vw;
    }
    
    .chiffres-card__subtext {
        font-size: 14px;
    }
    
    .chiffres-slider-nav {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .bloc-chiffres-cles__title {
        font-size: 8vw;
    }
    
    .chiffres-card__exergue {
        font-size: 8vw;
    }
    
    .chiffres-card {
        min-height: 160px;
        padding: 10px;
    }
}

/* Styles Slick personnalisés */
.chiffres-slider .slick-dots {
    display: none !important;
}

.chiffres-slider .slick-arrow {
    display: none !important;
}

/* Assurer que le slider est visible */
.chiffres-slider.slick-initialized {
    display: block !important;
}

.chiffres-slider.slick-initialized .chiffres-slide {
    display: block !important;
}

/* Animation d'apparition */
.chiffres-card {
    /* opacity: 0; */
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.chiffres-card.slick-active {
    opacity: 1;
    transform: translateY(0);
}

/* Hover effects */
.chiffres-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.chiffres-card:hover .chiffres-card__bar {
    background-color: #a00000;
    transition: background-color 0.3s ease;
}
