/**
 * style.css — Bloc beebli/hero-content-promo v1.0
 * Variante du hero-content avec badge promotionnel au-dessus des téléphones.
 */

.beebli-hero-content-promo mark,
.beebli-hero-content-promo__richtext mark {
    background-color: transparent !important;
    color: inherit;
}

/* ── Grid 2 colonnes ────────────────────────── */
.beebli-hero-content-promo__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 80px 40px;
}

/* ── Colonne gauche : texte ──────────────────── */
.beebli-hero-content-promo__badge {
    display: block;
    width: clamp(120px, 18vw, 220px);
    height: auto;
    margin-bottom: clamp(16px, 2.5vw, 28px);
}

.beebli-hero-content-promo--no-badge .beebli-hero-content-promo__badge {
    display: none;
}

.beebli-hero-content-promo__richtext h1,
.beebli-hero-content-promo__richtext p {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.beebli-hero-content-promo__richtext h1 {
    font-size: clamp(30px, 4.2vw, 52px);
    font-weight: 800;
    line-height: 1.2;
    color: #202b37;
    margin: 0 0 clamp(16px, 2vw, 24px) 0;
}

.beebli-hero-content-promo__richtext p {
    font-size: clamp(16px, 1.8vw, 22px);
    line-height: 1.45;
    font-weight: 400;
    color: #202b37;
    max-width: 550px;
    margin: 0 0 clamp(20px, 2.5vw, 32px) 0;
}

/* ── CTA Button ── */
.beebli-hero-content-promo__cta-wrap {
    display: flex;
    margin-bottom: 20px;
}

.beebli-hero-content-promo__cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: #373737 !important;
    color: #ffffff !important;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    padding: 0 36px;
    height: 52px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
    border: none !important;
}

.beebli-hero-content-promo__cta:hover,
.beebli-hero-content-promo__cta:visited,
.beebli-hero-content-promo__cta:active {
    background: #1d1d1f !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

/* ── Labels ──────────────────────────────────── */
.beebli-hero-content-promo__labels {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-top: 0;
}

.beebli-hero-content-promo__label {
    color: #202b37;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

/* ── Colonne droite : badge promo + téléphones ── */
.beebli-hero-content-promo__right-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* ── Carte promo ─────────────────────────────── */
.beebli-hero-content-promo__promo-badge {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 454px;
    margin: 0;
    background: #ffffff;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 32px 28px;
    box-sizing: border-box;
    box-shadow: 0 8px 22px -14px rgba(25, 24, 51, .4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Header row : pill + validity */
.beebli-hero-content-promo__badge-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* Pill "OFFRE D'ÉTÉ" */
.beebli-hero-content-promo__badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFDE01;
    color: #202b37;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    flex-shrink: 0;
}

/* Badge validité "Valable jusqu'au..." */
.beebli-hero-content-promo__validity {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    white-space: nowrap;
}

/* Liste des puces */
.beebli-hero-content-promo__badge-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.beebli-hero-content-promo__badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 800;
    color: #202b37;
    line-height: 1.25;
}

.beebli-hero-content-promo__badge-item svg {
    flex-shrink: 0;
}

/* Séparateur */
.beebli-hero-content-promo__badge-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

/* Prix barré dans les puces */
.beebli-hero-content-promo__badge-item .prix-barre {
    display: inline;
    text-decoration: line-through;
    opacity: 0.5;
}

/* Footer */
.beebli-hero-content-promo__badge-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.4;
}

.beebli-hero-content-promo__phones {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    position: relative;
    min-height: 400px;
    order: 1;
}

.beebli-hero-content-promo__promo-badge {
    order: 2;
}


.beebli-hero-content-promo__phone {
    position: relative;
    flex-shrink: 0;
}

.beebli-hero-content-promo__phone-frame {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.beebli-hero-content-promo__phone-screen {
    position: absolute;
    top: 2.8%;
    left: 5.5%;
    width: 89%;
    height: 94.5%;
    object-fit: cover;
    border-radius: 28px;
    z-index: 1;
}

.beebli-hero-content-promo__phone--center {
    width: 220px;
    z-index: 3;
    margin-bottom: 0;
}

.beebli-hero-content-promo__phone--left {
    width: 190px;
    z-index: 2;
    margin-right: -30px;
    margin-bottom: 20px;
}

.beebli-hero-content-promo__phone--right {
    width: 190px;
    z-index: 1;
    margin-left: -30px;
    margin-bottom: 20px;
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 1100px) {
    .beebli-hero-content-promo__inner {
        padding: 40px 40px 20px;
        gap: 24px;
    }

    .beebli-hero-content-promo__cta {
        font-size: 18px;
        height: 48px;
        padding: 0 28px;
    }

    .beebli-hero-content-promo__phone--center {
        width: 180px;
    }

    .beebli-hero-content-promo__phone--left,
    .beebli-hero-content-promo__phone--right {
        width: 155px;
    }
}

@media (max-width: 768px) {
    .beebli-hero-content-promo__inner {
        grid-template-columns: 1fr;
        padding: 32px 24px 16px;
        gap: 32px;
    }

    /* Colonne droite (badge + phones) passe au-dessus du texte sur mobile */
    .beebli-hero-content-promo__right-col {
        order: -1;
    }

    .beebli-hero-content-promo__phones {
        min-height: auto;
        justify-content: center;
        order: 2;
    }

    .beebli-hero-content-promo__promo-badge {
        order: 1;
    }

    .beebli-hero-content-promo__cta {
        font-size: 16px;
        height: 44px;
        width: 100%;
    }

    .beebli-hero-content-promo__phone--center {
        width: 180px;
    }

    .beebli-hero-content-promo__phone--left,
    .beebli-hero-content-promo__phone--right {
        width: 150px;
    }

    .beebli-hero-content-promo__phone-screen {
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .beebli-hero-content-promo__phones {
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }

    .beebli-hero-content-promo__phone--center {
        width: 130px;
        z-index: 3;
    }

    .beebli-hero-content-promo__phone--left {
        width: 110px;
        margin-right: -15px;
        z-index: 2;
    }

    .beebli-hero-content-promo__phone--right {
        width: 110px;
        margin-left: -15px;
        z-index: 1;
    }

    .beebli-hero-content-promo__phone-screen {
        border-radius: 14px;
    }

    .beebli-hero-content-promo__inner {
        padding: 16px 20px 12px;
        gap: 12px;
    }

    .beebli-hero-content-promo__richtext h1 {
        font-size: 30px;
    }

    .beebli-hero-content-promo__richtext p {
        font-size: 15px;
    }

    .beebli-hero-content-promo__cta {
        font-size: 16px;
        height: 48px;
    }

    .beebli-hero-content-promo__phone-screen {
        border-radius: 16px;
    }

    .beebli-hero-content-promo__labels {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
