/**
 * style.css — beebli/summary-cta
 * Section "En résumé" : 2 colonnes — texte gauche + image device droite.
 * Titre gros, liste checkmarks, phrase motivation bold, CTA jaune, tags.
 * Fond gris clair (#f5f5f5).
 */

/* ── Section ────────────────────────────────── */
.beebli-summary-cta {
    background: #f5f5f5;
    padding: 80px 40px 64px;
    overflow: hidden;
}

/* ── Layout 2 colonnes ──────────────────────── */
.beebli-summary-cta__layout {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.beebli-summary-cta__content {
    flex: 1;
    min-width: 0;
}

/* ── Image device à droite ──────────────────── */
.beebli-summary-cta__device {
    flex-shrink: 0;
    width: 540px;
    position: relative;
    align-self: center;
}

.beebli-summary-cta__device img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── Titre ───────────────────────────────────── */
.beebli-summary-cta__title {
    font-size: 52px;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.15;
    margin: 0 0 36px;
}

/* ── Liste features ──────────────────────────── */
.beebli-summary-cta__list {
    list-style: none;
    padding: 0;
    margin: 0 0 48px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.beebli-summary-cta__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 20px;
    font-weight: 500;
    color: #373737;
    line-height: 1.45;
}

.beebli-summary-cta__item--highlight {
    color: #F5A623;
    font-weight: 700;
}

/* Checkmark SVG orange */
.beebli-summary-cta__check {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25 25'%3E%3Ccircle cx='12.5' cy='12.5' r='11.5' fill='none' stroke='%23F5A623' stroke-width='1.8'/%3E%3Cpath d='M7 12.5l4 4 7-7' stroke='%23F5A623' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

/* ── Phrase motivation ───────────────────────── */
.beebli-summary-cta__motivation {
    font-size: 34px;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0 0 48px;
}

/* ── CTA ─────────────────────────────────────── */
.beebli-summary-cta__cta {
    display: inline-block;
    background: #FFDE01;
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 800;
    padding: 18px 72px;
    border-radius: 100px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    margin-bottom: 28px;
}

.beebli-summary-cta__cta:hover {
    transform: scale(1.04);
    opacity: 0.9;
}

/* ── Tags ────────────────────────────────────── */
.beebli-summary-cta__tags {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 8px;
}

.beebli-summary-cta__tag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #555;
}

/* Icône headphone pour livres audio */
.beebli-summary-cta__tag-icon--audio {
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5A623' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18v-6a9 9 0 0118 0v6'/%3E%3Cpath d='M21 19a2 2 0 01-2 2h-1a2 2 0 01-2-2v-3a2 2 0 012-2h3zM3 19a2 2 0 002 2h1a2 2 0 002-2v-3a2 2 0 00-2-2H3z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

/* Icône book pour livres numériques */
.beebli-summary-cta__tag-icon--book {
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5A623' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 014 4v14a3 3 0 00-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 00-4 4v14a3 3 0 013-3h7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1024px) {
    .beebli-summary-cta__device {
        width: 340px;
    }
}

@media (max-width: 768px) {
    .beebli-summary-cta__layout {
        flex-direction: column;
    }

    .beebli-summary-cta__device {
        width: 280px;
        margin: 0 auto;
        order: -1;
    }

    .beebli-summary-cta__device img {
        transform: rotate(0deg);
        margin-top: 0;
    }

    .beebli-summary-cta__title {
        font-size: 36px;
    }

    .beebli-summary-cta__item {
        font-size: 17px;
    }

    .beebli-summary-cta__motivation {
        font-size: 26px;
    }

    .beebli-summary-cta {
        padding: 60px 24px 48px;
    }
}

@media (max-width: 480px) {
    .beebli-summary-cta__title {
        font-size: 26px;
    }

    .beebli-summary-cta__motivation {
        font-size: 20px;
    }

    .beebli-summary-cta__item {
        font-size: 15px;
    }

    .beebli-summary-cta__cta {
        padding: 14px 40px;
        font-size: 16px;
        width: 100%;
    }

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

    .beebli-summary-cta__device {
        display: none;
    }

    .beebli-summary-cta {
        padding: 40px 20px 36px;
    }
}