.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;
    }
}

/* =====================================================================
   ARROW variant — double-arrow chevron shape (clip-path SVG)
   ===================================================================== */

.bobex-cta-premium--arrow {
    /* Remove the default rounded-xl + overflow:hidden — the chevron handles shape */
    border-radius: 0;
    overflow: visible;
    box-shadow: none; /* drop-shadow applied via inline filter on the wrapper */
}

/* Mobile: stacked rounded-xl layout (no chevron) */
.bobex-cta-premium--arrow .bobex-cta-premium-arrow-mobile {
    display: block;
    border-radius: 12px;
    overflow: hidden;
}

/* Reuse existing mobile sub-element styles for arrow mobile */
.bobex-cta-premium--arrow .bobex-cta-premium-mobile-img {
    position: relative;
    height: 220px;
    display: block;
}

.bobex-cta-premium--arrow .bobex-cta-premium-mobile-content {
    background: #0D4785;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Desktop: chevron arrow */
.bobex-cta-premium-arrow-desktop {
    display: none;
}

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

    .bobex-cta-premium-arrow-desktop {
        display: block;
        position: relative;
        min-height: 180px;
    }
}

/* Left chevron: image (clip-path applied inline via PHP) */
.bobex-cta-premium-arrow-left-chevron {
    position: absolute;
    inset: 0;
}

.bobex-cta-premium-arrow-left-chevron img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right chevron: brand-blue gradient (clip-path applied inline via PHP) */
.bobex-cta-premium-arrow-right-chevron {
    position: absolute;
    inset: 0;
}

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

/* Content overlay: spacer (image side) + text (gradient side) */
.bobex-cta-premium-arrow-content {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 180px;
    z-index: 10;
}

.bobex-cta-premium-arrow-spacer {
    width: 55%;
    flex-shrink: 0;
}

.bobex-cta-premium-arrow-text {
    flex: 1;
    padding: 1.25rem 2.5rem 1.25rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/* =====================================================================
   STRIP variant — compact brand-blue strip (no image)
   ===================================================================== */

.bobex-cta-premium--strip {
    max-width: 42rem;       /* Tailwind max-w-2xl */
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(to right, #2878C8, #0D4785);
}

.bobex-cta-premium-strip-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    min-height: 80px;
}

@media (min-width: 768px) {
    .bobex-cta-premium-strip-inner {
        padding: 1rem 1.5rem;
        min-height: 96px;
        gap: 1rem;
    }
}

.bobex-cta-premium-strip-text {
    flex: 1;
    min-width: 0;
}

/* Strip title: smaller than the default (sm size) */
.bobex-cta-premium--strip .bobex-cta-premium-title {
    font-size: 0.875rem;
    margin: 0;
}

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

/* Subtitle: hidden below 640px */
.bobex-cta-premium-subtitle {
    color: rgba(255, 255, 255, 0.85);
    margin: 0.375rem 0 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    line-height: 1.3;
    display: none;
}

@media (min-width: 640px) {
    .bobex-cta-premium-subtitle {
        display: block;
        font-size: 0.8125rem;
    }
}

/* Small button for strip variants */
.bobex-cta-premium--strip .bobex-cta-premium-btn,
.bobex-cta-premium--usp-strip .bobex-cta-premium-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    flex-shrink: 0;
    white-space: nowrap;
}

@media (min-width: 640px) {
    .bobex-cta-premium--strip .bobex-cta-premium-btn,
    .bobex-cta-premium--usp-strip .bobex-cta-premium-btn {
        padding: 0.5rem 1.25rem;
    }
}

/* =====================================================================
   USP STRIP variant — strip with checklist (no image)
   ===================================================================== */

.bobex-cta-premium--usp-strip {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(to right, #2878C8, #0D4785);
}

.bobex-cta-premium-usp-strip-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

@media (min-width: 768px) {
    .bobex-cta-premium-usp-strip-inner {
        gap: 1.5rem;
        padding: 1.25rem;
    }
}

.bobex-cta-premium-usp-strip-left {
    flex: 1;
    min-width: 0;
}

.bobex-cta-premium--usp-strip .bobex-cta-premium-title {
    margin: 0 0 0.5rem;
    text-align: left;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .bobex-cta-premium--usp-strip .bobex-cta-premium-title {
        font-size: 1.125rem;
    }
}

.bobex-cta-premium-usp-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
}

@media (min-width: 768px) {
    .bobex-cta-premium-usp-list {
        gap: 0.25rem 1.25rem;
    }
}

.bobex-cta-premium-usp-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.3;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .bobex-cta-premium-usp-item {
        font-size: 0.875rem;
    }
}

.bobex-cta-premium-usp-item svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

@media (min-width: 768px) {
    .bobex-cta-premium-usp-item svg {
        width: 16px;
        height: 16px;
    }
}

/* =====================================================================
   USP CARDS variant — 3-column cards grid (no image)
   ===================================================================== */

.bobex-cta-premium--usp-cards {
    background: linear-gradient(to right, #2878C8, #0D4785);
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .bobex-cta-premium--usp-cards {
        padding: 2rem;
    }
}

.bobex-cta-premium--usp-cards .bobex-cta-premium-title {
    text-align: center;
    font-size: 1.25rem;
    margin: 0 0 1.5rem;
}

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

.bobex-cta-premium-usp-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .bobex-cta-premium-usp-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

.bobex-cta-premium-usp-card {
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .bobex-cta-premium-usp-card {
        padding: 1.25rem;
    }
}

.bobex-cta-premium-usp-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: #fff;
}

.bobex-cta-premium-usp-card-icon svg {
    width: 24px;
    height: 24px;
}

.bobex-cta-premium-usp-card-title {
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.25rem;
    font-size: 0.875rem;
    font-family: 'Montserrat', sans-serif;
}

@media (min-width: 768px) {
    .bobex-cta-premium-usp-card-title {
        font-size: 0.9375rem;
    }
}

.bobex-cta-premium-usp-card-subtitle {
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.4;
    font-family: 'Montserrat', sans-serif;
}

@media (min-width: 768px) {
    .bobex-cta-premium-usp-card-subtitle {
        font-size: 0.875rem;
    }
}

.bobex-cta-premium-usp-cards-btn {
    display: flex;
    justify-content: center;
}

