/* ============================================================
   GOLDEOR — Section Bonus
   bonus.css
   ============================================================ */

.bonus {
  position: relative;
}

.bonus__header {
  text-align: center;
  margin-bottom: 56px;
}

.bonus__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  background: var(--heading-silver);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bonus__title em {
  font-style: normal;
  background: linear-gradient(135deg, #F5C88A 0%, #ECA0C0 35%, #C4A8E8 65%, #A0B8F0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bonus__subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Grille bonus ─────────────────────────────────────────── */

.bonus__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── Carte ────────────────────────────────────────────────── */

.bonus__card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;

  transition:
    transform   0.42s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow  0.42s ease;
}

/* Bordure argentée shiny — style logos */
.bonus__card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.70) 0%, rgba(200,200,230,0.25) 25%,
    rgba(120,120,160,0.08) 50%, rgba(200,200,230,0.20) 75%,
    rgba(255,255,255,0.65) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

/* Aurora chaude en haut de la carte */
.bonus__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 210px;
  background: radial-gradient(
    ellipse 80% 65% at 50% -10%,
    rgba(220, 140, 20, 0.50) 0%,
    rgba(180, 70, 10, 0.22) 55%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Tous les enfants directs au-dessus */
.bonus__card > * {
  position: relative;
  z-index: 2;
}

.bonus__card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 168, 76, 0.20);
  background: rgba(255, 255, 255, 0.05);
}

/* ── Badge "OFFERT" ───────────────────────────────────────── */

.bonus__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: linear-gradient(135deg,
    #FFE066 0%,
    #FFA500 35%,
    #FF7A00 60%,
    #FFD700 100%
  );
  background-size: 200% 200%;
  animation: badge-shimmer 3s ease-in-out infinite;
  color: #1a0800;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow:
    0 0 0 1px rgba(255, 230,  80, 0.70),
    0 0 8px  rgba(255, 160,   0, 0.55),
    0 0 18px rgba(255, 120,   0, 0.30),
    inset 0 1px 0 rgba(255, 255, 200, 0.65);
}

@keyframes badge-shimmer {
  0%   { background-position:   0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}

/* ── Orb (zone icône + anneaux ripple) ────────────────────── */

.bonus__card-orb {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px auto 20px;
}

/* Anneaux concentriques statiques */
.bonus__card-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.20);
  pointer-events: none;
}

.bonus__card-ring--1 {
  width: 90px;
  height: 90px;
  border-color: rgba(201, 168, 76, 0.28);
}

.bonus__card-ring--2 {
  width: 126px;
  height: 126px;
}

/* Icône glassmorphisme */
.bonus__card-icon-wrap {
  position: relative;
  z-index: 2;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(30, 22, 8, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(201, 168, 76, 0.40);
  box-shadow:
    0 0 24px rgba(201, 168, 76, 0.22),
    inset 0  1px 0 rgba(255, 240, 140, 0.30),
    inset 0 -1px 0 rgba(0,   0,   0,   0.40);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bonus__card-icon {
  font-size: 28px;
  line-height: 1;
}

/* ── Textes des cartes ────────────────────────────────────── */

.bonus__card-value {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  opacity: 0.85;
}

.bonus__card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 10px;
}

.bonus__card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

/* ══════════════════════════════════════════════════════════
   TOTAL VALEUR — style "Critical Thinking" card
   ══════════════════════════════════════════════════════════ */

.bonus__total {
  margin-top: 40px;
  text-align: center;
  padding: 0 0 36px;
  position: relative;
  border-radius: var(--border-radius-card);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 6px 28px rgba(0, 0, 0, 0.40);
}

/* Bordure argentée shiny — même style que logos__card */
.bonus__total::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.70)  0%,
    rgba(200, 200, 230, 0.25) 25%,
    rgba(120, 120, 160, 0.08) 50%,
    rgba(200, 200, 230, 0.20) 75%,
    rgba(255, 255, 255, 0.65) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

.bonus__total::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.55) 30%,
    rgba(255, 255, 255, 0.55) 70%,
    transparent
  );
  pointer-events: none;
  z-index: 0;
}

.bonus__total > * {
  position: relative;
  z-index: 2;
}

/* ── Zone visuelle (frames + coffre) ─────────────────────── */

.bonus__total-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 210px;
  margin-bottom: 28px;
}

/* Grille de points — masquée */
.bonus__total-dots {
  display: none;
  position: absolute;
  top: 16px;
  bottom: 16px;
  width: calc(50% - 96px);
  background-image: radial-gradient(circle, rgba(160, 180, 255, 0.28) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
  pointer-events: none;
  z-index: 1;
}

.bonus__total-dots--l {
  left: 0;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0.80) 0%, transparent 100%);
          mask-image: linear-gradient(to right, rgba(0,0,0,0.80) 0%, transparent 100%);
}

.bonus__total-dots--r {
  right: 0;
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.80) 0%, transparent 100%);
          mask-image: linear-gradient(to left, rgba(0,0,0,0.80) 0%, transparent 100%);
}

/* ── Cadres imbriqués ─────────────────────────────────────── */

.btf {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.btf-4 {
  width: 184px;
  height: 184px;
  border-radius: 28px;
  background: rgba(13, 11, 18, 0.90);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    inset 0 2px 6px rgba(255, 255, 255, 0.04),
    0 8px 36px rgba(0, 0, 0, 0.80),
    0 0 64px rgba(80, 50, 160, 0.10);
}

.btf-3 {
  width: 140px;
  height: 140px;
  border-radius: 20px;
  background: rgba(9, 7, 14, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.03),
    0 4px 20px rgba(0, 0, 0, 0.75);
}

.btf-2 {
  width: 102px;
  height: 102px;
  border-radius: 14px;
  background: rgba(7, 5, 10, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow:
    inset 0 1px 3px rgba(255, 255, 255, 0.02),
    0 4px 14px rgba(0, 0, 0, 0.80);
}

.btf-1 {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  background: rgba(5, 4, 8, 0.99);
  border: 1px solid rgba(201, 168, 76, 0.22);
  box-shadow:
    0 0 24px rgba(0, 0, 0, 0.90),
    inset 0 0 16px rgba(0, 0, 0, 0.60),
    0 0 14px rgba(201, 168, 76, 0.12);
}

/* Coffre-fort SVG */
.bonus__total-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
}

/* ── Textes du total ──────────────────────────────────────── */

.bonus__total-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bonus__total-value {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

/* ── Avant / Aujourd'hui ─────────────────────────────────── */

.bonus__card-time {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
}

.bonus__card-time-before {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.bonus__card-time-before strong {
  color: rgba(255, 255, 255, 0.55);
}

.bonus__card-time-today {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.bonus__card-time-today strong {
  color: rgba(255, 255, 255, 0.55);
}

/* Prix final — gradient cyan-purple, grande taille */
.bonus__total-price {
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #F5C88A 0%, #ECA0C0 35%, #C4A8E8 65%, #A0B8F0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bonus__total-note {
  font-size: 16px;
  font-weight: 700;
  padding: 0 24px;
  background: linear-gradient(135deg, #F5C88A 0%, #ECA0C0 35%, #C4A8E8 65%, #A0B8F0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 1024px) {
  .bonus__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .bonus__grid {
    grid-template-columns: 1fr;
  }

  .btf-4 { width: 160px; height: 160px; border-radius: 24px; }
  .btf-3 { width: 120px; height: 120px; border-radius: 17px; }
  .btf-2 { width:  86px; height:  86px; border-radius: 12px; }
  .btf-1 { width:  58px; height:  58px; border-radius:  8px; }
  .bonus__total-icon { width: 44px; height: 44px; }
}
