/**
 * style.css — Bloc beebli/hero-content v2.2
 * Layout 2 colonnes : texte (gauche) + 3 phones (droite)
 * CTA button Figma: #373737, 490×69px, border-radius 10px, 30px
 */

/* ── Highlight (<mark>) : fond transparent, couleur texte seule ─── */
/* Permet d'utiliser le format "Surlignage" de Gutenberg pour changer
   la couleur d'un mot sans subir le fond jaune par défaut du navigateur. */
.beebli-hero-content mark,
.beebli-hero-content__richtext mark {
    background-color: transparent !important;
    color: inherit;
}

/* ── Grid 2 colonnes ────────────────────────── */
.beebli-hero-content__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__badge {
    display: block;
    width: clamp(120px, 18vw, 220px);
    height: auto;
    margin-bottom: clamp(16px, 2.5vw, 28px);
}

.beebli-hero-content__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__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 (Figma: #373737, 490×69, radius 10px, 30px) ── */
.beebli-hero-content__cta-wrap {
    display: flex;
    margin-bottom: 20px;
}

.beebli-hero-content__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__cta:hover,
.beebli-hero-content__cta:visited,
.beebli-hero-content__cta:active {
    background: #1d1d1f !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

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

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

/* ── Colonne droite : 3 téléphones ───────────── */
.beebli-hero-content__phones {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    position: relative;
    min-height: 400px;
}

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

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

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

/* Phone center — le plus grand, en avant */
.beebli-hero-content__phone--center {
    width: 220px;
    z-index: 3;
    margin-bottom: 0;
}

/* Phone left — plus petit, légèrement derrière et décalé */
.beebli-hero-content__phone--left {
    width: 190px;
    z-index: 2;
    margin-right: -30px;
    margin-bottom: 20px;
}

/* Phone right — plus petit, légèrement derrière et décalé */
.beebli-hero-content__phone--right {
    width: 190px;
    z-index: 1;
    margin-left: -30px;
    margin-bottom: 20px;
}

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

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

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

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

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

    /* Phones passent au-dessus du texte sur mobile */
    .beebli-hero-content__phones {
        order: -1;
        min-height: auto;
        justify-content: center;
    }

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

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

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

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

@media (max-width: 480px) {
    .beebli-hero-content__inner {
        padding: 24px 20px 12px;
        gap: 24px;
    }

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

    .beebli-hero-content__phone--center {
        width: 150px;
    }

    .beebli-hero-content__phone--left,
    .beebli-hero-content__phone--right {
        width: 125px;
        margin-bottom: 12px;
    }

    .beebli-hero-content__phone--left {
        margin-right: -20px;
    }

    .beebli-hero-content__phone--right {
        margin-left: -20px;
    }

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

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