/* ============================================================
 * bonus-v2.css — Page détail d'un bonus
 * ============================================================ */

/* ---- LAYOUT GÉNÉRAL ---- */
.bnd-page {
    padding-bottom: 32px;
}

/* ---- BREADCRUMB ---- */
.bnd-bread {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    padding: 10px 14px;
    font-size: 0.72rem;
    color: var(--text-secondary, #5a6874);
}
.bnd-bread a {
    color: var(--primary, #0066cc);
    text-decoration: none;
    font-weight: 500;
}
.bnd-bread a:hover { text-decoration: underline; }
.bnd-bread i.fa-chevron-right { font-size: 0.55rem; opacity: 0.6; }
.bnd-bread span { color: var(--text-secondary, #5a6874); }

/* ---- HERO BANNER ---- */
.bnd-hero {
    position: relative;
    margin: 0 12px 16px;
    border-radius: 18px;
    overflow: hidden;
    min-height: 180px;
}
.bnd-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
    z-index: 1;
}
.bnd-hero__content {
    position: relative;
    z-index: 2;
    padding: 16px 16px 20px;
    color: #fff;
}
.bnd-hero__top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.bnd-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(4px);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #fff;
}
.bnd-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(249,115,22,0.85);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
}
.bnd-hero__icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}
.bnd-hero__title {
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 6px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.bnd-hero__desc {
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.88);
    margin: 0 0 14px;
}

/* CTA HERO */
.bnd-hero__cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bnd-promo-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    border: 1px dashed rgba(255,255,255,0.5);
    backdrop-filter: blur(6px);
    border-radius: 10px;
    padding: 8px 12px;
    flex-wrap: wrap;
}
.bnd-promo-box__label {
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.bnd-promo-box__code {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #fff;
    flex: 1;
}
.bnd-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.22);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.bnd-copy-btn:hover {
    background: rgba(255,255,255,0.32);
}
.bnd-copy-btn.copied {
    background: rgba(34,197,94,0.4);
    border-color: rgba(34,197,94,0.6);
}
.bnd-claim-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    color: var(--primary, #0066cc);
    font-weight: 800;
    font-size: 0.88rem;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: all 0.2s;
}
.bnd-claim-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.bnd-claim-btn--full { width: 100%; box-sizing: border-box; }

/* ---- BLOC BOOKMAKER ---- */
.bnd-bk-card {
    margin: 0 12px 16px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border, #e2e8f0);
    background: var(--surface, #fff);
    display: flex;
    flex-direction: column;
}
.bnd-bk-card__visual {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bnd-bk-card__logo-text {
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.bnd-bk-card__body {
    padding: 12px 14px;
}
.bnd-bk-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}
.bnd-bk-card__name {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-main, #1e2a3e);
}
.bnd-bk-card__rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: color-mix(in srgb, #f59e0b 12%, transparent);
    color: #b45309;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}
.bnd-bk-card__rating i { color: #f59e0b; }
.bnd-bk-card__desc {
    font-size: 0.78rem;
    color: var(--text-secondary, #5a6874);
    line-height: 1.5;
    margin: 0 0 8px;
}
.bnd-bk-card__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary, #0066cc);
    text-decoration: none;
}
.bnd-bk-card__link:hover { text-decoration: underline; }

/* ---- SECTIONS GÉNÉRIQUES ---- */
.bnd-section {
    margin: 0 12px 16px;
    background: var(--surface, #fff);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 14px;
    padding: 14px;
}
.bnd-section__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-main, #1e2a3e);
    margin: 0 0 12px;
}
.bnd-section__title i {
    color: var(--primary, #0066cc);
    font-size: 0.85rem;
}

/* ---- ÉTAPES "COMMENT ÇA MARCHE" ---- */
.bnd-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.bnd-step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.bnd-step__num {
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary, #0066cc);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.bnd-step__icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: color-mix(in srgb, var(--primary, #0066cc) 10%, transparent);
    color: var(--primary, #0066cc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.bnd-step__body {
    flex: 1;
}
.bnd-step__body strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-main, #1e2a3e);
    margin-bottom: 2px;
}
.bnd-step__body p {
    font-size: 0.76rem;
    color: var(--text-secondary, #5a6874);
    line-height: 1.5;
    margin: 0;
}

/* ---- AVANTAGES / INCONVÉNIENTS ---- */
.bnd-pros-cons {
    display: flex;
    gap: 10px;
    padding: 14px;
}
.bnd-pros, .bnd-cons {
    flex: 1;
    min-width: 0;
}
.bnd-pros__title, .bnd-cons__title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    margin: 0 0 8px;
}
.bnd-pros__title { color: #16a34a; }
.bnd-cons__title { color: #dc2626; }
.bnd-pros ul, .bnd-cons ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.bnd-pros li, .bnd-cons li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.74rem;
    color: var(--text-secondary, #5a6874);
    line-height: 1.4;
}
.bnd-pros li i { color: #16a34a; margin-top: 2px; flex-shrink: 0; }
.bnd-cons li i { color: #dc2626; margin-top: 2px; flex-shrink: 0; }

/* ---- CONDITIONS GÉNÉRALES ---- */
.bnd-conditions {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.bnd-cond-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid var(--border, #e2e8f0);
    gap: 8px;
}
.bnd-cond-row:last-child { border-bottom: none; }
.bnd-cond-row__label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    color: var(--text-secondary, #5a6874);
    font-weight: 500;
}
.bnd-cond-row__label i {
    color: var(--primary, #0066cc);
    font-size: 0.75rem;
    width: 14px;
    text-align: center;
}
.bnd-cond-row__val {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-main, #1e2a3e);
    text-align: right;
    display: flex;
    align-items: center;
    gap: 6px;
}
.bnd-cond-code {
    font-family: monospace;
    letter-spacing: 0.8px;
    color: var(--primary, #0066cc);
}
.bnd-mini-copy {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary, #0066cc);
    font-size: 0.75rem;
    padding: 2px 4px;
    border-radius: 4px;
    transition: background 0.2s;
}
.bnd-mini-copy:hover {
    background: color-mix(in srgb, var(--primary, #0066cc) 10%, transparent);
}

/* ---- FAQ ACCORDÉON ---- */
.bnd-faq {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.bnd-acc {
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 10px;
    overflow: hidden;
}
.bnd-acc__btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 11px 13px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main, #1e2a3e);
    font-family: inherit;
}
.bnd-acc__ic {
    flex-shrink: 0;
    font-size: 0.7rem;
    color: var(--text-secondary, #5a6874);
    transition: transform 0.25s;
}
.bnd-acc.open .bnd-acc__ic {
    transform: rotate(180deg);
}
.bnd-acc__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.2s;
    font-size: 0.78rem;
    color: var(--text-secondary, #5a6874);
    line-height: 1.6;
    padding: 0 13px;
    background: color-mix(in srgb, var(--primary, #0066cc) 4%, transparent);
}
.bnd-acc.open .bnd-acc__body {
    max-height: 300px;
    padding: 10px 13px 12px;
}

/* ---- DISCLAIMER ---- */
.bnd-disclaimer {
    margin: 0 12px 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: color-mix(in srgb, #f59e0b 8%, transparent);
    border: 1px solid color-mix(in srgb, #f59e0b 25%, transparent);
    border-radius: 12px;
}
.bnd-disclaimer i {
    color: #d97706;
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
}
.bnd-disclaimer p {
    font-size: 0.72rem;
    color: var(--text-secondary, #5a6874);
    line-height: 1.5;
    margin: 0;
}

/* ---- CTA BAS DE PAGE ---- */
.bnd-bottom-cta {
    margin: 0 12px 12px;
}
.bnd-bottom-cta .bnd-claim-btn {
    background: var(--primary, #0066cc);
    color: #fff;
}

/* ---- RETOUR ---- */
.bnd-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 12px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary, #0066cc);
    text-decoration: none;
}
.bnd-back:hover { text-decoration: underline; }

/* ---- BONUS LIÉS (réutilise .bn-card du catalogue) ---- */
.bn-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bn-card {
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border, #e2e8f0);
    background: var(--surface, #fff);
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
}
.bn-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.bn-card__cover {
    width: 72px;
    min-height: 72px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
}
.bn-card__big-icon {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.85);
}
.bn-card__cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: rgba(0,0,0,0.25);
    border-radius: 999px;
    padding: 2px 7px;
    font-size: 0.58rem;
    font-weight: 700;
    color: #fff;
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}
.bn-card__body {
    flex: 1;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-width: 0;
}
.bn-card__bk {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--primary, #0066cc);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.bn-card__title {
    font-size: 0.83rem;
    font-weight: 800;
    color: var(--text-main, #1e2a3e);
    line-height: 1.25;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bn-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2px;
}
.bn-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.73rem;
    font-weight: 700;
    color: var(--primary, #0066cc);
}

/* ---- MODE SOMBRE ---- */
[data-theme="dark"] .bnd-bk-card,
[data-theme="dark"] .bnd-section,
[data-theme="dark"] .bnd-acc,
[data-theme="dark"] .bn-card {
    background: var(--surface, #1e293b);
    border-color: var(--border, #334155);
}
[data-theme="dark"] .bnd-acc__btn {
    color: var(--text-main, #f8fafc);
}
[data-theme="dark"] .bnd-cond-row {
    border-color: var(--border, #334155);
}
[data-theme="dark"] .bnd-disclaimer {
    background: color-mix(in srgb, #f59e0b 6%, transparent);
}
