body{
    margin: 0;
    padding: 0;
}

.logo_klf{
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.klf_titre_photo{
    margin-top: 35px;
}

.klf_titre h3{
    text-align: center;
    color: #0223bd;
    font-family: 'Poppins', sans-serif;
    font-size: 50px;
    font-weight: 700;
    letter-spacing: 2px;
}

.klf_photo{
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.klf_card{
    border: 2px solid #0223bd;
    width: 114px;
    height: 40px;
    border-radius: 8px;

    /* Centrer le texte */
    display: flex;
    align-items: center;
    justify-content: center;

    color: #4e5659;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;

    /* Style */
    background: #fff;
    box-shadow: 0 4px 12px rgba(2, 35, 189, 0.15);

    /* Animation légère */
    transition: 0.3s ease;
}

/* Effet hover */
.klf_card:hover{
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(2, 35, 189, 0.25);
}
.klf_card{
    cursor: pointer;
}

.active-card{
    background: #0223bd;
    color: white;
}

/* Conteneur du carousel */
.carousel{
    width: 80%;
    max-width: 750px;
    margin: 50px auto;
    border-radius: 10px;
    overflow: visible; /* important */
    box-shadow: 0 15px 30px rgba(8, 40, 185, 0.25);
    position: relative;
}

/* Taille des images */
.carousel-item img{
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

/* Boutons PREV & NEXT */
.carousel .carousel-control-prev,
.carousel .carousel-control-next{
    width: 55px;
    height: 55px;
    background: #0223bd;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* Position extérieure */
.carousel .carousel-control-prev{
    left: -80px;
}

.carousel .carousel-control-next{
    right: -80px;
}

/* Icônes blanches */
.carousel-control-prev i,
.carousel-control-next i{
    color: white;
    font-size: 18px;
    margin-bottom: 5px;
}

/* Hover */
.carousel .carousel-control-prev:hover,
.carousel .carousel-control-next:hover{
    background: #00198a;
}

/* Message quand il n y a pas de contenu */
.no-content{
    text-align: center;
    font-size: 20px;
    font-family: 'Poppins', sans-serif;
    color: #888;
    padding: 80px 20px;
}

/* Bouton de téléchargement de fichier */

.btn-download{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.btn-download a {
    gap: 10px;
    text-decoration: none;
    background-color: #0223bd;
    color: white;
    font-family: 'Poppins', sans-serif;
    width: fit-content;
    height: auto;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    padding: 15px 35px;
    align-items: center;
    transition: 0.3s ease;
}
.btn-download a:hover{
    transform: translateY(-3px);
    color: white;
}

.btn-download a.disabled {
    opacity: 0.55;
    pointer-events: none;
    cursor: default;
}

@media (max-width: 992px) {

    .klf_titre h3{
        font-size: 38px;
    }

    .klf_photo{
        flex-wrap: wrap;
        gap: 15px;
    }

    .carousel{
        width: 90%;
    }

    /* boutons plus proches */
    .carousel .carousel-control-prev{
        left: -40px;
    }

    .carousel .carousel-control-next{
        right: -40px;
    }
}
@media (max-width: 768px) {

    .klf_titre h3{
        font-size: 28px;
    }

    .klf_photo{
        flex-direction: column;
        align-items: center;
    }

    .klf_card{
        width: 140px;
    }

    .carousel{
        width: 95%;
    }

    /* IMPORTANT : boutons passent dans le cadre */
    .carousel .carousel-control-prev{
        left: 10px;
    }

    .carousel .carousel-control-next{
        right: 10px;
    }
}

@media (max-width: 480px) {

    .klf_titre h3{
        font-size: 22px;
    }

    .klf_card{
        width: 100%;
        max-width: 200px;
        font-size: 14px;
    }

    .carousel{
        width: 90%;
        margin: 30px auto;
    }

    .btn-download a{
        width: 100%;
        max-width: 200px;
    }

    /* boutons plus petits */
    .carousel .carousel-control-prev,
    .carousel .carousel-control-next{
        width: 40px;
        height: 40px;
    }

    .btn-download a{
        font-size: 13px;
        padding: 15px 2px;
    }
}