/* ============================================
   MODERN ENHANCEMENT - Excellence Hosting
   À charger APRÈS bundle.css
   ============================================ */

/* :: VARIABLES MODERNES SUPPLÉMENTAIRES :: */
:root {
  /* Harmonisation avec About */
  --semi-dark-modern: rgba(15, 23, 42, 0.8);
  --semi-dark-2-modern: rgba(15, 23, 42, 0.9);
  --semi-dark-3-modern: #0f172a;
}

/* ============================================
   BACKGROUND GLOBAL AVEC SECTIONS VISIBLES
   ============================================ */

/* :: BACKGROUND GLOBAL SUR BODY :: */
body.dark-theme {
  position: relative;
  background: linear-gradient(180deg, 
    #0a0e27 0%,
    #0f172a 20%,
    #1a1b2e 40%,
    #141526 60%,
    #0f172a 80%,
    #0a0e27 100%
  ) !important;
  background-attachment: fixed !important;
  min-height: 100vh;
}

/* Retire le scrolling-bg si présent */
body.scrolling-bg {
  background-attachment: fixed !important;
}

/* :: EFFETS DÉCORATIFS GLOBAUX :: */
body.dark-theme::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 10%, rgba(0, 96, 254, 0.15) 0%, transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(96, 165, 250, 0.10) 0%, transparent 35%),
    radial-gradient(circle at 30% 60%, rgba(139, 92, 246, 0.08) 0%, transparent 30%),
    radial-gradient(circle at 70% 80%, rgba(0, 96, 254, 0.12) 0%, transparent 35%);
  pointer-events: none;
  z-index: 0;
}

/* :: UNIQUEMENT LES .section :: */
.section-sep {
  position: relative;
  background: transparent !important;
  border: none;
  margin: 0;
  overflow: hidden;
}

/* :: OVERLAY ALTERNÉ AUTOMATIQUE :: */
/* Sections paires (2, 4, 6...) = plus sombres */
.section-sep:nth-of-type(even)::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
  z-index: 0;
}

/* Sections impaires (1, 3, 5...) = plus claires */
.section-sep:nth-of-type(odd)::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
  z-index: 0;
}

/* :: LIGNE LUMINEUSE EN HAUT DE CHAQUE .section :: */
.section-sep::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 96, 254, 0.6), transparent);
  z-index: 1;
  display: block !important;
}

/* :: CONTENU AU-DESSUS :: */
.section-sep > .container,
main,
header,
footer {
  position: relative;
  z-index: 2;
}

/* ============================================
   HARMONISATION GLOBALE DES TITRES
   ============================================ */

/* :: KICKER / BADGE :: */
.title-5,
.about-kicker,
.se-kicker {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(0, 96, 254, 0.1);
  border: 1px solid rgba(0, 96, 254, 0.3);
  border-radius: 30px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.title-5:hover,
.about-kicker:hover,
.se-kicker:hover {
  background: rgba(0, 96, 254, 0.15);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* :: TITRE PRINCIPAL (TITLE-1) :: */
.title-1,
.about-title,
.se-title-1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--primary) 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* :: SOUS-TITRE (TITLE-2) :: */
.about-subtitle,
.se-title-2 {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto 20px;
}

/* :: PARA-1 :: */
.para-1 {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
}

.para-2 {
  font-size: clamp(1rem, 2vw, 0.9rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
}

/* :: GRADIENT TEXT :: */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* :: HEADERS DE SECTIONS :: */
.se-head {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

/* ============================================
   CARTES MODERNES - FONCTIONNENT PARTOUT
   ============================================ */

.modern-card,
.box.modern-card,
.modern-card .box,
.info-card,
.affiliate-benefit-card {
  position: relative !important;
  overflow: hidden !important;
  backdrop-filter: blur(20px) !important;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  border-radius: 10px !important;
}

.modern-card::before,
.box.modern-card::before,
.info-card::before,
.affiliate-benefit-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 4px !important;
  background: linear-gradient(90deg, var(--primary), #60a5fa) !important;
  transform: scaleX(0) !important;
  transform-origin: left !important;
  transition: transform 0.5s ease !important;
  z-index: 1 !important;
}

.modern-card:hover,
.box.modern-card:hover,
.info-card:hover,
.affiliate-benefit-card:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(0, 96, 254, 0.3) !important;
  box-shadow: 0 20px 60px rgba(0, 96, 254, 0.2) !important;
}

.modern-card:hover::before,
.box.modern-card:hover::before,
.info-card:hover::before,
.affiliate-benefit-card:hover::before {
  transform: scaleX(1) !important;
}

/* :: ITEMS (TEAM SECTION) :: */
.se-iv .item,
.se-vii .item{
  position: relative;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 10px;
}

.se-iv .item:hover,
.se-vii .item:hover{
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 96, 254, 0.2);
}

.se-iv .item .avatar,
.se-vii .item .avatar,
.avatar {
  transition: all 0.4s ease;
}

.se-iv .item:hover .avatar,
.se-vii .item:hover .avatar,
.avatar {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 96, 254, 0.6);
}

/* ============================================
   HEADER HERO MODERNE
   ============================================ */
.title-1,
.about-title,
.se-title-1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--primary) 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.title-3,
.se-title-3 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--primary) 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* Retire le ::before pour éviter conflit avec body::before */
.header::before,
.about-hero::before {
  display: none;
}

/* ============================================
   BOUTONS MODERNES
   ============================================ */

.btn-fill-primary {
  position: relative;
  overflow: hidden;
}

.btn-fill-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-fill-primary:hover::before {
  width: 300px;
  height: 300px;
}

/* ============================================
   GRILLES MODERNES
   ============================================ */

.info-cards,
.modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* ============================================
   PROGRAMME AFFILIATION
   ============================================ */

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.commission-rate {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin: 10px 0;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  box-shadow: 0 4px 15px rgba(0, 96, 254, 0.4);
}

/* Tiers de commission */
.tier-card {
  background: var(--semi-dark);
  border: 2px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
  padding: 20px;
}

.tier-card:hover {
  transform: scale(1.05);
}

.tier-card.bronze:hover { 
  border-color: #cd7f32; 
  box-shadow: 0 10px 30px rgba(205, 127, 50, 0.3);
}

.tier-card.silver:hover { 
  border-color: #c0c0c0; 
  box-shadow: 0 10px 30px rgba(192, 192, 192, 0.3);
}

.tier-card.gold:hover { 
  border-color: #ffd700; 
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3); 
}

.tier-commission {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin: 10px 0;
}

/* ============================================
   ACCORDION / FAQ
   ============================================ */

.accordion-item {
  background: var(--semi-dark);
  border: 1px solid var(--border);
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
}

.accordion-button {
  background: transparent;
  color: #ffffff;
  font-weight: 600;
  padding: 20px;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  color: #ffffff;
}

.accordion-button:focus {
  box-shadow: none;
  outline: none;
}

.accordion-collapse {
  overflow: hidden;
  transition: height 0.3s ease;
}

.accordion-body {
  color: rgba(255, 255, 255, 0.8);
  padding: 20px;
  line-height: 1.7;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-slide,
.fade-slide-left,
.fade-slide-right {
  animation: fadeSlideUp 0.8s ease-out;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
  .header,
  .about-hero {
   padding: 160px 0 60px;
  }
}

@media (max-width: 768px) {
  body.dark-theme {
    background: linear-gradient(180deg, 
      #0a0e27 0%,
      #0f172a 25%,
      #1a1b2e 50%,
      #141526 75%,
      #0a0e27 100%
    ) !important;
  }

  .section-sep::after {
    background: rgba(0, 0, 0, 0.15) !important;
  }

  .section-sep::before {
    width: 100px;
  }

  .title-5,
  .about-kicker,
  .se-kicker {
    font-size: 0.75rem;
    padding: 6px 16px;
    margin-bottom: 20px;
  }

  .title-1,
  .about-title,
  .se-title-1 {
    font-size: 1.8rem;
  }

  .title-2,
  .about-subtitle,
  .se-title-2 {
    font-size: 0.95rem;
  }

  .se-head {
    margin-bottom: 40px;
  }

  .info-cards,
  .modern-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .title-1,
  .about-title,
  .se-title-1 {
    font-size: 1.5rem;
  }
}

/* ============================================
   UTILITIES SUPPLÉMENTAIRES
   ============================================ */

.bg-gradient {
  background: linear-gradient(135deg, var(--semi-dark-3) 0%, var(--semi-dark-2) 100%);
}

.font-500 { font-weight: 500; }
.font-600 { font-weight: 600; }
.font-700 { font-weight: 700; }

.small { font-size: 0.9rem; }
.tiny { font-size: 0.8rem; }

.text-muted {
  color: rgba(255, 255, 255, 0.6);
}
/* ===========================
   TEAM SECTION
   =========================== */

.se-vii {
  padding: 100px 0 !important;
}

.se-vii .se-head {
  margin-bottom: 60px !important;
}

.se-vii .item {
  padding: 30px 20px !important;
  background: var(--semi-dark) !important;
  border: 1px solid var(--border) !important;
  border-radius: 16px !important;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  margin-bottom: 30px !important;
}

.se-vii .item:hover {
  transform: translateY(-10px) !important;
  background: var(--semi-dark-2) !important;
  border-color: rgba(0, 96, 254, 0.3) !important;
  box-shadow: 0 20px 60px rgba(0, 96, 254, 0.2) !important;
}

.se-vii .avatar {
  width: 150px !important;
  height: 150px !important;
  border-radius: 50% !important;
  margin-bottom: 20px !important;
  border: 4px solid rgba(0, 96, 254, 0.3) !important;
  transition: all 0.4s ease !important;
  object-fit: cover !important;
}

.se-vii .item:hover .avatar {
  border-color: var(--primary) !important;
  box-shadow: 0 0 30px rgba(0, 96, 254, 0.6) !important;
}

.se-vii .name {
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 8px !important;
}

.se-vii .job {
  font-size: 1rem !important;
  color: rgba(255, 255, 255, 0.6) !important;
  font-weight: 400 !important;
}

.se-vii a .snake {
  color: var(--primary) !important;
  font-size: 0.9rem !important;
  margin-bottom: 10px !important;
  text-decoration: underline !important;
  transition: color 0.3s ease !important;
}

.se-vii a:hover .snake {
  color: #60a5fa !important;
}

.contact-form{
  background-color: var(--semi-dark);
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px;
  margin-bottom: 20px;
  box-shadow: 0 0 30px rgba(0, 96, 254, 0.6) !important;
}