/* Styles de base (pour les grands écrans) */
.home_banner {
    display: flex;
    width: 100%;
    justify-content: center;
}

.home_banner_sz {
    display: block;
    width: 100%;
    height: 768px; /* Hauteur pour les grands écrans */
    overflow: hidden;
}

.home_banner_sz .slick-list,
.home_banner_sz .slick-track {
    height: 100%;
}

.home_banner_si {
    display: block;
    width: 100%;
    height: 100%;
}

.home_banner_si_flex {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: row; /* Disposition horizontale */
    align-items: center;
    justify-content: center;
    text-align: left;
    background-size: cover;
    background-position: center;
}

.home_banner_si_cmd {
    display: flex;
    width: 80px;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.home_banner_si_cmd img {
    display: block;
    width: 36px;
    height: auto;
    cursor: pointer;
}

.home_banner_si_txt {
    display: flex;
    width: calc(100% - 160px); /* Largeur ajustée pour les grands écrans */
    max-width: 1280px;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.home_banner_si_txt_category {
    display: flex;
    width: min-content;
    background: #FFFFFF;
    border-radius: 4px;
    padding: 8px 12px;
    color: #C80023;
    line-height: 1;
    font-family: "Poppins", serif;
    font-weight: 600;
    font-style: normal;
    font-size: 14px;
    text-transform: uppercase;
}

.home_banner_si_txt_title {
    display: block;
    width: 100%;
    margin: 20px 0;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: "IBM Plex Sans", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 80px; /* Taille de police pour les grands écrans */
    line-height: 1.25;
    text-transform: uppercase;
}

.home_banner_si_txt_btn {
    display: flex;
    width: 100%;
    justify-content: flex-start;
}

.home_banner_si_txt_btn a {
    display: flex;
    background: #C80023;
    border-radius: 40px;
    padding: 20px 26px; /* Padding pour les grands écrans */
    color: #FFFFFF;
    line-height: 1;
    font-family: "IBM Plex Sans", serif;
    font-weight: 600;
    font-style: normal;
    font-size: 20px; /* Taille de police pour les grands écrans */
    text-transform: uppercase;
    text-decoration: none;
    transition: all 345ms ease;
}

.home_banner_si_txt_btn a span:nth-child(1) svg .a,
.home_banner_si_txt_btn a span:nth-child(1) svg .b {
    stroke: #FFFFFF !important;
}

.home_banner_si_txt_btn a span:nth-child(2) {
    margin-left: 12px;
}

.home_banner_si_txt_btn a:hover {
    background: #FFFFFF;
    color: #C80023;
    text-decoration: none;
    transition: all 345ms ease;
}

.home_banner_si_txt_btn a:hover span:nth-child(1) svg .a,
.home_banner_si_txt_btn a:hover span:nth-child(1) svg .b {
    stroke: #C80023 !important;
}

/* Styles pour les tablettes (max-width: 1024px) */
@media (max-width: 1024px) {
    .home_banner_sz {
        height: 500px; /* Hauteur réduite pour les tablettes */
    }

    .home_banner_si_txt_title {
        font-size: 60px; /* Taille de police réduite pour les tablettes */
    }

    .home_banner_si_txt_btn a {
        padding: 15px 20px; /* Padding réduit pour les tablettes */
        font-size: 16px; /* Taille de police réduite pour les tablettes */
    }
}

/* Styles pour les mobiles (max-width: 768px) */
@media (max-width: 768px) {
    home_banner_sz {
        height: auto; /* Hauteur automatique pour les mobiles */
        min-height: 300px; /* Hauteur minimale pour les mobiles */
    }

    .home_banner_si_flex {
        flex-direction: column; /* Disposition verticale pour les mobiles */
        text-align: center;
    }

    .home_banner_si_cmd {
        display: none; /* Masquer les flèches sur les mobiles */
    }

    .home_banner_si_txt {
        width: calc(100% - 20px); /* Pleine largeur pour les mobiles */
        align-items: center; /* Centrer le texte sur les mobiles */
    }

    .home_banner_si_txt_title {
        font-size: 40px; /* Taille de police réduite pour les mobiles */
    }

    .home_banner_si_txt_btn {
        justify-content: center; /* Centrer le bouton sur les mobiles */
    }
}

/* Styles pour les petits mobiles (max-width: 480px) */
@media (max-width: 480px) {
    .home_banner_si_txt_title {
        font-size: 32px; /* Taille de police encore plus petite pour les petits mobiles */
    }

    .home_banner_si_txt_btn a {
        padding: 12px 18px; /* Padding réduit pour les petits mobiles */
        font-size: 14px; /* Taille de police réduite pour les petits mobiles */
    }
}
