/**
 * ==========================================================================
 * DESIGN SYSTEM & SECTION BONUS (RESSOURCES COMPLÉMENTAIRES)
 * Identité visuelle : Doré & Ambre Chaleureux (#D97706, #B45309, #F59E0B)
 * Responsive : 360px -> 1440px+ | Zero Horizontal Overflow
 * ==========================================================================
 */

:root {
  --bonus-gold-primary: #D97706;
  --bonus-gold-vibrant: #F59E0B;
  --bonus-gold-dark: #B45309;
  --bonus-gold-deep: #78350F;
  --bonus-gold-light: #FBBF24;
  --bonus-gold-soft: #FFFDF7;
  --bonus-gold-subtle: #FEF3C7;
  --bonus-border: #FCD34D;
  --bonus-border-subtle: #FDE68A;
  --bonus-glow: rgba(217, 119, 6, 0.14);
  --bonus-shadow: 0 10px 25px -5px rgba(217, 119, 6, 0.08), 0 8px 10px -6px rgba(217, 119, 6, 0.04);
}

/* --------------------------------------------------------------------------
   1. SECTION PRINCIPALE DES BONUS
   -------------------------------------------------------------------------- */
.bonus-section {
  padding: clamp(64px, 8vw, 110px) 0;
  background-color: var(--bg-surface, #F8FAFC);
  border-top: 1px solid var(--border-subtle, #E2E8F0);
  border-bottom: 1px solid var(--border-subtle, #E2E8F0);
  position: relative;
  overflow: hidden;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* SÉCURITÉ D'AFFICHAGE ABSOLUE POUR TOUS LES ÉLÉMENTS DE LA SECTION BONUS */
.bonus-section [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.bonus-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.bonus-section .container {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   2. HEADER DE LA SECTION BONUS
   -------------------------------------------------------------------------- */
.bonus-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto clamp(40px, 6vw, 64px) auto;
}

.bonus-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  color: var(--bonus-gold-deep);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 9999px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.1);
}

.bonus-gift-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px auto;
  width: 96px;
  height: 96px;
  border-radius: 26px;
  background: linear-gradient(135deg, #FFFFFF 0%, #FEF3C7 100%);
  border: 2px solid var(--bonus-border);
  box-shadow: 0 14px 30px rgba(217, 119, 6, 0.15);
  position: relative;
  animation: bonusGiftFloat 5s ease-in-out infinite;
}

.bonus-gift-wrapper::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 32px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
  z-index: -1;
}

.bonus-gift-icon {
  font-size: 3.2rem;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(217, 119, 6, 0.2));
}

@keyframes bonusGiftFloat {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.03);
  }
}

.bonus-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: #0F172A;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.bonus-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 600;
  color: var(--bonus-gold-deep);
  line-height: 1.5;
  max-width: 760px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   3. SECTION VALEUR : APPRENDRE, C'EST BIEN. PRATIQUER, C'EST ENCORE MIEUX
   -------------------------------------------------------------------------- */
.bonus-value-block {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle, #E2E8F0);
  border-radius: var(--radius-xl, 20px);
  padding: clamp(28px, 5vw, 44px);
  margin-bottom: clamp(48px, 6vw, 72px);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  text-align: center;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.bonus-value-phrase {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 900;
  color: #0F172A;
  margin-bottom: 12px;
  line-height: 1.3;
}

.bonus-value-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 8px;
}

.bonus-value-highlight {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bonus-gold-deep);
  background: var(--bonus-gold-subtle);
  padding: 10px 20px;
  border-radius: 9999px;
  display: inline-block;
  margin-top: 10px;
  border: 1px solid var(--bonus-border-subtle);
}

/* --------------------------------------------------------------------------
   4. GRILLE DES 5 CARTES DE BONUS
   -------------------------------------------------------------------------- */
.bonus-grid-wrap {
  margin-bottom: clamp(48px, 6vw, 72px);
}

.bonus-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 680px) {
  .bonus-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .bonus-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bonus-card-item {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle, #E2E8F0);
  border-radius: var(--radius-xl, 20px);
  padding: clamp(24px, 4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.bonus-card-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #F59E0B, #FBBF24);
  opacity: 0.8;
}

.bonus-card-item:hover {
  transform: translateY(-2px);
  border-color: #CBD5E1;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

/* Carte Bonus 05 : Vedette pleine largeur */
.bonus-card-item.bonus-card-featured {
  grid-column: 1 / -1;
  background: #FFFFFF;
  border: 2px solid #FEF08A;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.07);
}

.bonus-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bonus-card-badge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--bonus-gold-deep);
  background: var(--bonus-gold-subtle);
  border: 1px solid var(--bonus-border);
  padding: 4px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.bonus-card-icon {
  font-size: 2.2rem;
  line-height: 1;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--bonus-gold-subtle);
  border: 1px solid var(--bonus-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bonus-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: #0F172A;
  margin: 0;
  line-height: 1.3;
}

.bonus-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Liste des points du bonus */
.bonus-points-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 540px) {
  .bonus-points-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bonus-point-item {
  font-size: 0.86rem;
  font-weight: 700;
  color: #1E293B;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFDF7;
  border: 1px solid var(--bonus-border-subtle);
  padding: 8px 12px;
  border-radius: 8px;
}

.bonus-point-check {
  color: var(--bonus-gold-primary);
  font-weight: 900;
  font-size: 0.95rem;
}

/* Petite illustration de feuille d'exercice pour Bonus 01 */
.bonus-sheet-illustration {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.bonus-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 6px;
}

.bonus-sheet-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: #475569;
  letter-spacing: 0.04em;
}

.bonus-sheet-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bonus-sheet-line {
  height: 6px;
  background: #E2E8F0;
  border-radius: 3px;
}

.bonus-sheet-line.w80 { width: 80%; }
.bonus-sheet-line.w60 { width: 60%; }
.bonus-sheet-line.w90 { width: 90%; }
.bonus-sheet-line.w50 { width: 50%; }

/* Représentation visuelle des 5 logiciels reliés pour Bonus 05 */
.bonus-suite-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 8px;
}

@media (min-width: 768px) {
  .bonus-suite-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.bonus-suite-card {
  background: #FFFFFF;
  border: 1px solid var(--bonus-border-subtle);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.bonus-suite-card:hover {
  transform: translateY(-2px);
  border-color: var(--bonus-gold-primary);
}

.bonus-suite-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.bonus-suite-name {
  font-size: 0.84rem;
  font-weight: 800;
  color: #0F172A;
}

.bonus-suite-role {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   5. SECTION "POURQUOI CES BONUS ?" (3 ÉTAPES)
   -------------------------------------------------------------------------- */
.bonus-why-wrap {
  margin-bottom: clamp(48px, 6vw, 72px);
}

.bonus-why-card {
  background: #FFFFFF;
  border: 1px solid var(--bonus-border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 48px);
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.05);
}

.bonus-subheading {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(24px, 4vw, 36px) auto;
}

.bonus-subheading-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--bonus-gold-deep);
  background: var(--bonus-gold-subtle);
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.bonus-subheading-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 900;
  color: #0F172A;
  line-height: 1.25;
  margin-bottom: 12px;
}

.bonus-subheading-desc {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.bonus-why-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .bonus-why-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bonus-why-step-card {
  background: var(--bonus-gold-soft);
  border: 1px solid var(--bonus-border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.bonus-why-step-num {
  font-size: 0.8125rem;
  font-weight: 900;
  color: #FFFFFF;
  background: var(--bonus-gold-primary);
  padding: 4px 12px;
  border-radius: 9999px;
}

.bonus-why-step-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  color: #0F172A;
  margin: 0;
}

.bonus-why-step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* --------------------------------------------------------------------------
   6. SECTION VALEUR DES 5 LOGICIELS + BONUS
   -------------------------------------------------------------------------- */
.bonus-synergy-wrap {
  margin-bottom: clamp(48px, 6vw, 72px);
}

.bonus-synergy-box {
  background: linear-gradient(135deg, #FFFDF7 0%, #FEF3C7 50%, #FFFBEB 100%);
  border: 2px solid var(--bonus-border);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 44px);
  text-align: center;
  box-shadow: 0 12px 32px rgba(217, 119, 6, 0.08);
}

.bonus-synergy-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 24px auto;
  max-width: 900px;
}

.bonus-synergy-pill {
  background: #FFFFFF;
  border: 1px solid var(--bonus-border-subtle);
  padding: 10px 18px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.bonus-synergy-pill-title {
  font-weight: 800;
  font-size: 0.92rem;
  color: #0F172A;
}

.bonus-synergy-pill-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.bonus-synergy-plus {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--bonus-gold-primary);
}

.bonus-synergy-result {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bonus-gold-primary);
  color: #FFFFFF;
  padding: 12px 28px;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.25);
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   7. BLOC "UNE FORMATION PENSÉE COMME UN ENSEMBLE"
   -------------------------------------------------------------------------- */
.bonus-all-inclusive-wrap {
  margin-bottom: clamp(48px, 6vw, 72px);
}

.bonus-all-inclusive-card {
  background: #0F172A;
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 54px);
  text-align: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.bonus-all-inclusive-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #F59E0B, #D97706, #FBBF24);
}

.bonus-all-inclusive-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.bonus-all-inclusive-text {
  font-size: 1.05rem;
  color: #CBD5E1;
  max-width: 720px;
  margin: 0 auto 26px auto;
  line-height: 1.65;
}

.bonus-all-inclusive-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  max-width: 820px;
  margin: 0 auto;
}

.bonus-inclusive-pill {
  background: #1E293B;
  border: 1px solid #334155;
  color: #F8FAFC;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.bonus-inclusive-plus {
  color: #F59E0B;
  font-weight: 900;
}

/* --------------------------------------------------------------------------
   8. CTA OFFICIEL DE LA SECTION BONUS
   -------------------------------------------------------------------------- */
.bonus-cta-wrap {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.bonus-cta-lead {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: #0F172A;
  margin-bottom: 14px;
}

.bonus-btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bonus-gold-vibrant) 0%, var(--bonus-gold-primary) 100%) !important;
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  padding: clamp(16px, 3vw, 22px) clamp(28px, 5vw, 48px);
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(217, 119, 6, 0.35);
  transition: all 0.25s ease;
  border: none;
}

.bonus-btn-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 38px rgba(217, 119, 6, 0.45);
}

.bonus-btn-cta-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bonus-cta-subtext {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--bonus-gold-deep);
  margin-top: 12px;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   9. SECTION ATTENTION À L'OFFRE / TRANSITION VERS LA FAQ
   -------------------------------------------------------------------------- */
.bonus-transition-faq-wrap {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 40px);
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.bonus-transition-faq-title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 900;
  color: #0F172A;
  margin-bottom: 10px;
}

.bonus-transition-faq-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 20px auto;
  line-height: 1.6;
}

.btn-transition-faq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0F172A;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.2);
  transition: all 0.22s ease;
}

.btn-transition-faq:hover {
  background: #1E293B;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.3);
}

/* --------------------------------------------------------------------------
   10. ACCESSIBILITÉ & PRÉFÉRENCES DE MOUVEMENT
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .bonus-gift-wrapper {
    animation: none !important;
  }
  .bonus-card-item,
  .bonus-suite-card,
  .bonus-btn-cta,
  .btn-transition-faq {
    transition: none !important;
    transform: none !important;
  }
}
