.bloc-home-slider {
    position: relative;
    margin-bottom: 92px;
}

/* Structure Flex du contenu interne */
.promo-content-wrapper {
    display: flex;
    gap: 30px;
    align-items: stretch;
    height: 100%; /* Important pour l'égalité des hauteurs */
}

/* --- Colonne Image --- */
.promo-col-image {
    flex: 1 1 733px; /* Basis de 733px, peut grandir et rétrécir */
    position: relative;
    min-height: 620px;
}

.image-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

/* Logo superposé Bottom-Right */
.overlay-logo-bottom-right {
    position: absolute;
    bottom: 18px; /* Déborde légèrement vers le bas */
    right: 30px;  /* Déborde légèrement vers la droite */
    width: 250px;  /* Ajustez la taille selon votre image */
    z-index: 10;
}

.overlay-logo-bottom-right img {
    width: 100%;
    height: auto;
    display: block;
}


/* --- Colonne Carte (Contenu) --- */
.promo-col-card {
    flex: 0 1 479px; /* Largeur fixe approx, ajustable */
    border-radius: 30px;
    padding: 0px 20px 80px 35px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    position: relative;
    /* Couleur de fond gérée en inline via PHP */
}

.promo-col-card .card-content {
    display: flex;
    flex-direction: column;
    gap: 90px;
}

.card-top-icon {
    position: absolute;
    top: 35px;
    right: 30px;
    width: 98px;
}

.card-top-icon img {
    width: 100%;
    height: auto;
}

.card-title {
    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 34px;
    line-height: 134%;
    text-transform: uppercase;
}

.card-title p {
    margin: 0;
}

.card-title strong{
    font-weight: 600;
}

/* Actions (Bouton + Nav) */
.card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    gap: 15px;
}

.btn-action {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 13px;
    width: 239px;
    height: 80px;
    background: #0084FF;
    border-radius: 20px;
    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 293%;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #FFFFFF;
    justify-content: space-evenly;
    text-decoration: none;
}

.btn-action:hover {
    border: 1px solid #C3C3C3 !important;
    background: #28439B !important;
    color: #fff;
}

.arrow-icon {
    margin-left: 8px;
    font-size: 1.2em;
}

/* Custom Nav Button (Rond blanc) */
.swiper-button-next-custom {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 13px;
    width: 49px;
    height: 56px;
    background: #FFFFFF;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.2s;
    position: absolute;
    right: 37px;
    bottom: 26px;
}

.swiper-button-next-custom:hover {
    transform: scale(1.1);
}

/* --- Styles des Dots (Pagination) --- */

.bloc-home-slider .swiper-pagination {
    position: absolute;
    bottom: 0px !important;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
    padding-bottom: 20px;
}

.bloc-home-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #cccccc;
    opacity: 1;
    margin: 0 6px !important;
    transition: all 0.3s ease;
}

.bloc-home-slider .swiper-pagination-bullet-active {
    background: #264598;
    width: 30px;
    border-radius: 10px;
}

/* --- Footer Info Variable --- */
.promo-footer-info {
    margin-top: 35px;
    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.04em;
    color: #000000;
    margin-left: 26px;
}

.promo-footer-info strong {
    font-weight: 700;
    display: block;
}

.promo-footer-info a {
    color: inherit;
    text-decoration: underline;
    font-weight: bold;
}

/* --- Responsive Mobile --- */
@media (max-width: 768px) {
    .promo-content-wrapper {
        flex-direction: column;
    }
    
    .promo-col-image {
        flex: 1 1 420px;
        position: relative;
        min-height: 420px;
    }
    
    .overlay-logo-bottom-right {
        width: 177px;
        bottom: 18px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .promo-col-card {
        flex: auto;
        padding: 37px 35px 20px;
    }

    .promo-footer-info,
    .card-top-icon {
        display: none;
    }

    .card-title {
        font-size: 32px;
        line-height: 123%;
    }

    .promo-col-card .card-content {
        gap: 21px;
    }

    /* --- CORRECTION DE L'ALIGNEMENT DES BOUTONS SUR MOBILE --- */
    .card-actions {
        display: flex;
        align-items: center;
        justify-content: space-between; 
        gap: 15px;
        width: 100%;
        margin-top: 0;
    }

    .btn-action {
        width: auto;
        flex: 1; /* Prend l'espace disponible */
        height: 80px;
        padding: 0 10px;
    }

    .swiper-button-next-custom {
        position: relative !important; /* Annule la position absolue */
        right: auto !important;
        bottom: auto !important;
        width: 70px !important; /* Ajusté pour correspondre à votre maquette */
        height: 80px;
        flex-shrink: 0;
        margin: 0;
    }

    /* --- CORRECTION DE LA PAGINATION --- */
    .bloc-home-slider .swiper-pagination {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        width: 100% !important;
        text-align: center !important;
        padding-bottom: 0px !important;
        margin-top: 10px !important;
    }
}