.bobex-cta-premium {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin: 2.5rem 0;
    font-family: 'Montserrat', sans-serif;
}

.bobex-cta-premium--split .bobex-cta-premium-mobile-img {
    position: relative;
    height: 220px;
    display: block;
}

@media (min-width: 768px) {
    .bobex-cta-premium--split .bobex-cta-premium-mobile-img {
        display: none;
    }
}

.bobex-cta-premium--split .bobex-cta-premium-mobile-img img,
.bobex-cta-premium-desktop-img-wrap img,
.bobex-cta-premium-hero-bg-img,
.bobex-cta-premium-split-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bobex-cta-premium-mobile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(40, 120, 200, 0.4), rgba(40, 120, 200, 0.6), #0D4785);
}

/* display flex + align-items center pour que le bouton garde sa taille naturelle (centré) */
.bobex-cta-premium-mobile-content {
    background: #0D4785;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .bobex-cta-premium-mobile-content {
        display: none;
    }
}

.bobex-cta-premium-desktop {
    display: none;
}

@media (min-width: 768px) {
    .bobex-cta-premium--split .bobex-cta-premium-desktop {
        display: flex;
        flex-direction: row;
        min-height: 260px;
        position: relative;
    }
}

.bobex-cta-premium-desktop-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #2878C8, #0D4785);
}

.bobex-cta-premium-desktop-img-wrap {
    position: relative;
    width: 50%;
    overflow: hidden;
}

.bobex-cta-premium-desktop-img-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, transparent, #1b60a7);
}

.bobex-cta-premium-desktop-img-fade-band {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 10rem;
    background: linear-gradient(to right, transparent, #1b60a7);
}

/* align-items: flex-start évite que le bouton (inline-flex) s'étire à 100% par défaut flex stretch */
.bobex-cta-premium-desktop-content {
    position: relative;
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.bobex-cta-premium--hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 220px;
}

@media (min-width: 640px) {
    .bobex-cta-premium--hero {
        min-height: 260px;
    }
}


.bobex-cta-premium-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(40, 120, 200, 0.85), rgba(13, 71, 133, 0.95));
}

.bobex-cta-premium-hero-content {
    position: relative;
    z-index: 1;
    padding: 1.75rem 1.25rem;
    max-width: 32rem;
}

@media (min-width: 640px) {
    .bobex-cta-premium-hero-content {
        padding: 2.25rem 2rem;
    }
}

.bobex-cta-premium-title {
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem;
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
}

@media (min-width: 640px) {
    .bobex-cta-premium-title {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) {
    .bobex-cta-premium-desktop-content .bobex-cta-premium-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
}

.bobex-cta-premium-text {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 1.25rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .bobex-cta-premium-text {
        font-size: 0.9375rem;
    }
}

.bobex-cta-premium-text strong {
    font-weight: 600;
    color: #fff;
}

.bobex-cta-premium-text a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bobex-cta-premium-text a:hover {
    color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
    .bobex-cta-premium-desktop-content .bobex-cta-premium-text {
        max-width: 32rem;
        margin-bottom: 1.25rem;
    }
}

.bobex-cta-premium-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #e55a2b, #e13c0e);
    color: #fff;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(225, 60, 14, 0.4);
    font-family: 'Montserrat', sans-serif;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

@media (min-width: 640px) {
    .bobex-cta-premium-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

.bobex-cta-premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 60, 14, 0.5);
}

@media (prefers-reduced-motion: reduce) {
    .bobex-cta-premium-btn {
        transition: none;
    }

    .bobex-cta-premium-btn:hover {
        transform: none;
    }
}
