/* ============================================================
   Récompenses & Parrainages  page-recompenses.php
   assets/css/components/recompenses.css
   ============================================================ */

.bcc-recompenses {
    background: var(--bcc-background, #F9F8F5);
    padding-bottom: 5rem;
}

.bcc-recompenses__inner {
    max-width: 48rem;
    margin: 0 auto;
    padding: 4rem 1.25rem 0;
}

/* Titre + sous-titre */
.bcc-recompenses__title {
    font-family: var(--bcc-font-serif, 'Playfair Display', serif);
    font-size: 1.875rem; /* Lovable: text-3xl */
    font-weight: 700;
    color: var(--bcc-foreground, #1E2D26);
    margin: 0 0 0.5rem;
}

.bcc-recompenses__subtitle {
    font-family: var(--bcc-font-sans, 'DM Sans', sans-serif);
    font-size: 1rem; /* Lovable: text-base / text-muted-foreground */
    color: var(--bcc-muted-foreground, #677E73);
    margin: 0 0 2.5rem;
    line-height: 1.6;
}

/* Bandeau création de compte */
.bcc-recompenses__signup-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(141,202,201,0.15);
    border: 1px solid rgba(141,202,201,0.3);
    border-radius: 1rem;
    padding: 1.25rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.bcc-recompenses__signup-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(141,202,201,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bcc-recompenses__signup-text { flex: 1; min-width: 200px; }

.bcc-recompenses__signup-title {
    font-family: var(--bcc-font-sans, 'DM Sans', sans-serif);
    font-size: 0.875rem; /* Lovable: text-sm */
    font-weight: 600;
    color: var(--bcc-foreground, #1E2D26);
    margin: 0 0 0.25rem;
}

.bcc-recompenses__signup-desc {
    font-family: var(--bcc-font-sans, 'DM Sans', sans-serif);
    font-size: 0.75rem; /* Lovable: text-xs */
    color: var(--bcc-muted-foreground, #677E73);
    margin: 0;
    line-height: 1.5;
}

.bcc-recompenses__signup-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 999px;
    background: var(--bcc-conseil, #DA053A) !important;
    color: #fff !important;
    font-family: var(--bcc-font-sans, 'DM Sans', sans-serif);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.bcc-recompenses__signup-btn:hover { opacity: 0.9; }

/* Sections */
.bcc-recompenses__sections {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Card */
.bcc-rec-card {
    background: #F5F3EF;
    border: 1px solid rgba(13,73,89,0.08);
    border-radius: 1rem;
    padding: 1.5rem;
}

/* Premier card : fond blanc */

.bcc-rec-card__header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.bcc-rec-card__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bcc-rec-card__icon--rose { background: rgba(218,5,58,0.1); }
.bcc-rec-card__icon--teal { background: rgba(141,202,201,0.2); }
.bcc-rec-card__icon--gold { background: rgba(255,215,0,0.15); }

.bcc-rec-card__title {
    font-family: var(--bcc-font-serif, 'Playfair Display', serif); /* Lovable: h2 hereda font-display */
    font-size: 1.25rem; /* Lovable: text-xl = 20px */
    font-weight: 600;
    color: var(--bcc-foreground, #1E2D26);
    margin: 0 0 0.375rem;
}

.bcc-rec-card__desc {
    font-family: var(--bcc-font-sans, 'DM Sans', sans-serif);
    font-size: 0.875rem;
    color: var(--bcc-muted-foreground, #677E73);
    margin: 0;
    line-height: 1.6;
}

/* Badge Prochainement */
.bcc-rec-soon {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(13,73,89,0.04);
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    margin-top: 0.75rem;
}

.bcc-rec-soon__badge {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    background: rgba(13,73,89,0.1);
    color: var(--bcc-brand-teal, #0C4859);
    font-family: var(--bcc-font-sans, 'DM Sans', sans-serif);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.bcc-rec-soon__text {
    font-family: var(--bcc-font-sans, 'DM Sans', sans-serif);
    font-size: 0.8125rem;
    color: var(--bcc-muted-foreground, #677E73);
    margin: 0;
    line-height: 1.5;
}

/* Grid de conversion points */
.bcc-rec-points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.bcc-rec-points-tier {
    background: rgba(141,202,201,0.12);
    border-radius: 0.75rem;
    padding: 0.875rem;
    text-align: center;
}

.bcc-rec-points-tier__pts {
    font-family: var(--bcc-font-sans, 'DM Sans', sans-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--bcc-foreground, #1E2D26);
    margin: 0;
}

.bcc-rec-points-tier__label {
    font-family: var(--bcc-font-sans, 'DM Sans', sans-serif);
    font-size: 0.75rem;
    color: var(--bcc-muted-foreground, #677E73);
    margin: 0 0 0.5rem;
}

.bcc-rec-points-tier__sep {
    height: 1px;
    background: rgba(13,73,89,0.1);
    margin: 0.5rem 0;
}

.bcc-rec-points-tier__reward {
    font-family: var(--bcc-font-sans, 'DM Sans', sans-serif);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--bcc-conseil, #DA053A);
    margin: 0;
}

.bcc-rec-points-tier__reward-label {
    font-family: var(--bcc-font-sans, 'DM Sans', sans-serif);
    font-size: 0.6875rem;
    color: var(--bcc-muted-foreground, #677E73);
    margin: 0;
}

/* Liste des méthodes pour gagner des points */
.bcc-rec-methods {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bcc-rec-method {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: rgba(238,236,232,0.4); /* Lovable: #EEECE866 */
    border: 1px solid rgba(13,73,89,0.06);
}

.bcc-rec-method__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(13,73,89,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bcc-rec-method__text { flex: 1; min-width: 0; }

.bcc-rec-method__label {
    font-family: var(--bcc-font-sans, 'DM Sans', sans-serif);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--bcc-foreground, #1E2D26);
    margin: 0;
}

.bcc-rec-method__desc {
    font-family: var(--bcc-font-sans, 'DM Sans', sans-serif);
    font-size: 0.75rem; /* Lovable: text-xs */
    color: var(--bcc-muted-foreground, #677E73);
    margin: 0;
    line-height: 1.4;
}

.bcc-rec-method__pts {
    flex-shrink: 0;
    font-family: var(--bcc-font-sans, 'DM Sans', sans-serif);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--bcc-brand-teal, #0C4859);
    background: rgba(255,215,0,0.2);
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    white-space: nowrap;
}

/* ── Notice Pro/Dist — fidélité non disponible ──────────────── */
.bcc-recompenses__pro-notice {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #f0f7ff;
    border: 1px solid #b8d4f0;
    border-left: 4px solid #1D6FA4;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}
.bcc-recompenses__pro-notice-icon {
    flex-shrink: 0;
    color: #1D6FA4;
    margin-top: 2px;
}
.bcc-recompenses__pro-notice-body { flex: 1; }
.bcc-recompenses__pro-notice-title {
    font-weight: 600;
    color: #0C4859;
    margin: 0 0 .375rem;
}
.bcc-recompenses__pro-notice-desc {
    font-size: .875rem;
    color: #52514e;
    margin: 0 0 .75rem;
}
.bcc-recompenses__pro-notice-cta {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    font-size: .875rem;
    font-weight: 600;
    color: #DA053A;
    text-decoration: none;
    transition: opacity .15s;
}
.bcc-recompenses__pro-notice-cta:hover { opacity: .8; }

/* CTA que reemplaza el antiguo "Prochainement" en parrainage y puntos */
.bcc-rec-cta { margin-top: 1rem; display: flex; }
