/**
 * style.css — beebli/christmas-offer v2
 * Maquette Figma : fond orange, titre aligné gauche, 2 cartes (blanc + sombre),
 * features dans sous-bloc coloré, footer texte grand.
 */

/* ── Section ────────────────────────────────── */
.beebli-christmas-offer {
    padding: 80px 40px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ── Titre "Offre spéciale Noël" ────────────── */
.beebli-christmas-offer__title {
    font-size: 41px;
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 28px;
    text-align: left;
}

.beebli-christmas-offer__title-dark {
    color: #373737;
}

.beebli-christmas-offer__title-yellow {
    color: #FFDE01;
}

/* ── Sous-titre bold ────────────────────────── */
.beebli-christmas-offer__subtitle {
    font-size: 24px;
    font-weight: 800;
    color: #373737;
    line-height: 1.35;
    margin: 0 0 20px;
    text-align: left;
}

/* ── Paragraphe descriptif ──────────────────── */
.beebli-christmas-offer__description {
    font-size: 17px;
    font-weight: 400;
    color: #373737;
    line-height: 1.65;
    margin: 0 0 48px;
    text-align: left;
    max-width: 720px;
}

.beebli-christmas-offer__description strong {
    font-weight: 800;
}

/* ── Grille cartes ──────────────────────────── */
.beebli-christmas-offer__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 64px;
}

/* 3 cartes : forcer 3 colonnes */
.beebli-christmas-offer__cards--3 {
    grid-template-columns: repeat(3, 1fr);
}

/* ── Carte générique ────────────────────────── */
.beebli-christmas-offer__card {
    border-radius: 16px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    border: 2px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.beebli-christmas-offer__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

/* Carte — blanc */
.beebli-christmas-offer__card--light {
    background: #ffffff;
    color: #373737;
    border-color: rgba(0, 0, 0, 0.08);
}

/* Carte — dégradé orange (mise en avant, pour pages sans fond orange) */
.beebli-christmas-offer__card--highlight {
    background: linear-gradient(180deg, #FFDE01 0%, #FFA200 100%);
    color: #373737;
    border-color: rgba(0, 0, 0, 0.06);
}

.beebli-christmas-offer__card--highlight .beebli-christmas-offer__card-desc {
    color: #373737;
    opacity: 0.85;
}

.beebli-christmas-offer__card--highlight .beebli-christmas-offer__features-box {
    background: rgba(255, 255, 255, 0.45);
}

.beebli-christmas-offer__card--highlight .beebli-christmas-offer__cta {
    background: #373737;
    color: #FFDE01;
}

/* Carte — blanc avec bordure dorée (mise en avant, pour pages sans fond orange) */
.beebli-christmas-offer__card--featured {
    background: #ffffff;
    color: #373737;
    border: 3px solid #373737;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.beebli-christmas-offer__card--featured::before {
    content: '★ Recommandé';
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: #373737;
    color: #FFDE01;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 100px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Carte — orange clair (fond pâle, pour page à fond orange) */
.beebli-christmas-offer__card--light-orange {
    background: #FFE8A0;
    color: #373737;
    border: 2px solid rgba(0, 0, 0, 0.12);
}

.beebli-christmas-offer__card--light-orange .beebli-christmas-offer__features-box {
    background: rgba(255, 255, 255, 0.45);
}

.beebli-christmas-offer__card--light-orange .beebli-christmas-offer__cta {
    background: #373737;
    color: #FFDE01;
}

/* Carte — sombre */
.beebli-christmas-offer__card--dark {
    background: #2d2d2f;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.08);
}

/* ── Nom de l'offre ─────────────────────────── */
.beebli-christmas-offer__card-name {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px;
    line-height: 1.25;
}

/* ── Description offre ──────────────────────── */
.beebli-christmas-offer__card-desc {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 0 24px;
    opacity: 0.80;
    white-space: pre-line;
}

/* ── Sous-bloc features ─────────────────────── */
.beebli-christmas-offer__features-box {
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 28px;
    flex-grow: 1;
}

/* Features box dans carte blanche → fond jaune pâle */
.beebli-christmas-offer__card--light .beebli-christmas-offer__features-box {
    background: rgba(255, 222, 1, 0.20);
}

/* Features box dans carte sombre → fond gris plus clair */
.beebli-christmas-offer__card--dark .beebli-christmas-offer__features-box {
    background: rgba(255, 255, 255, 0.08);
}

.beebli-christmas-offer__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.beebli-christmas-offer__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

/* Checkmark SVG orange */
.beebli-christmas-offer__check {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    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;
}

/* ── CTA bouton ─────────────────────────────── */
.beebli-christmas-offer__cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px 24px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    background: #FFDE01;
    color: #1a1a1a;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-sizing: border-box;
    margin-top: auto;
}

.beebli-christmas-offer__cta:hover {
    opacity: 0.88;
    transform: scale(1.02);
}

/* ── Footer légal ───────────────────────────── */
.beebli-christmas-offer__footer {
    text-align: left;
    max-width: 800px;
}

.beebli-christmas-offer__footer p {
    font-size: 20px;
    color: #373737;
    line-height: 1.65;
    margin: 0;
}

.beebli-christmas-offer__footer strong {
    font-weight: 800;
}

/* ── Responsive ─────────────────────────────── */
@media (max-width: 900px) {
    .beebli-christmas-offer__cards,
    .beebli-christmas-offer__cards--3 {
        grid-template-columns: 1fr;
    }

    .beebli-christmas-offer__title {
        font-size: 32px;
    }

    .beebli-christmas-offer__subtitle {
        font-size: 20px;
    }
}

@media (max-width: 640px) {
    .beebli-christmas-offer {
        padding: 60px 20px;
    }

    .beebli-christmas-offer__title {
        font-size: 28px;
    }

    .beebli-christmas-offer__description {
        font-size: 15px;
    }

    .beebli-christmas-offer__footer p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .beebli-christmas-offer {
        padding: 40px 16px;
    }

    .beebli-christmas-offer__title {
        font-size: 22px;
    }

    .beebli-christmas-offer__subtitle {
        font-size: 16px;
    }

    .beebli-christmas-offer__description {
        font-size: 14px;
    }

    .beebli-christmas-offer__footer p {
        font-size: 14px;
    }
}