/* ========================================
   SKILLS DZ — Main Styles
   ======================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #0B1331;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

:root {
  --brand-navy: #0B1331;
  --brand-blue: #1E5BFF;
  --brand-cyan: #00C4FF;
  --ink-muted: #64748b;
  --surface-soft: #F3F5F9;
  --radius-lg: 24px;
  --shadow-soft: 0 18px 60px rgba(11,19,49,0.12);
}

::selection { background: rgba(0,196,255,0.22); color: var(--brand-navy); }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(0,196,255,0.45);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 8px;
  transform: translateY(-140%);
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 10px;
  background: #0B1331;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.skip-link:focus {
  transform: translateY(0);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

/* Container */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Text Gradient */
.text-gradient {
  background: linear-gradient(135deg, #1E5BFF, #00C4FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Kicker */
.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #00C4FF;
  margin-bottom: 8px;
}
.kicker--light { color: #00C4FF; }

/* Section */
.section { padding: 100px 0; }
.section--white { background: #ffffff; }
.section--gray { background: #F3F5F9; }
.section--dark { background: #0B1331; color: white; }
.section--gradient {
  background: linear-gradient(180deg, #0B1331 0%, #1E5BFF 100%);
  color: white;
}

.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-title { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.section-title--light { color: white; }
.section-subtitle { font-size: 18px; color: #64748b; line-height: 1.7; }
.section-subtitle--light { color: rgba(255,255,255,0.7); }

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,0.84);
  backdrop-filter: blur(22px) saturate(1.35);
  border-bottom: 1px solid rgba(11,19,49,0.07);
  transition: all 0.3s ease;
}
.header.is-scrolled { box-shadow: 0 12px 36px rgba(11,19,49,0.08); }

.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

.logo { text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo__img { height: 40px; width: auto; border-radius: 8px; }
.logo__text {
  font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 800; color: #0B1331;
}
.logo__accent { color: #1E5BFF; }
.logo--light { color: white; }
.logo--light .logo__accent { color: #00C4FF; }

.nav { display: flex; gap: 32px; }
.nav__link {
  text-decoration: none; color: #64748b; font-weight: 600;
  transition: color 0.2s ease; font-size: 14px;
  position: relative;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -8px;
  height: 2px; border-radius: 2px; background: linear-gradient(90deg,#1E5BFF,#00C4FF);
  transition: right 0.2s ease;
}
.nav__link:hover::after { right: 0; }
.nav__link:hover { color: #1E5BFF; }

.head-actions { display: flex; align-items: center; gap: 12px; }

.hamburger { display: none; background: none; border: none; cursor: pointer; color: #0B1331; }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 12px;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  border: none; outline: none;
  min-height: 44px;
}
.btn svg { width: 18px; height: 18px; }

.btn--accent {
  background: linear-gradient(135deg, #1E5BFF, #00C4FF);
  color: white;
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,91,255,0.3); }

.btn--ghost {
  background: transparent; color: #0B1331;
  border: 1px solid #e5e7eb;
}
.btn--ghost:hover { background: #F3F5F9; }

.btn--glass {
  background: rgba(255,255,255,0.1); color: white;
  backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2);
}
.btn--glass:hover { background: rgba(255,255,255,0.2); }

.btn--outline {
  background: transparent; color: #0B1331;
  border: 2px solid #0B1331;
}
.btn--outline:hover { background: #0B1331; color: white; }

.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--block { display: flex; justify-content: center; width: 100%; }

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative; padding: 152px 0 108px;
  background:
    linear-gradient(135deg, rgba(11,19,49,0.98) 0%, rgba(30,91,255,0.94) 100%),
    radial-gradient(circle at 10% 20%, rgba(0,196,255,0.32), transparent 35%);
  color: white; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.08));
  pointer-events: none;
}

.hero__bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 30% 50%, rgba(0,196,255,0.15) 0%, transparent 50%),
                     radial-gradient(circle at 70% 30%, rgba(0,196,255,0.1) 0%, transparent 50%);
}

.hero__particles {
  position: absolute; inset: 0;
}

.hero__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; position: relative; z-index: 1;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,196,255,0.14); border: 1px solid rgba(0,196,255,0.32);
  border-radius: 9999px; padding: 8px 16px;
  font-size: 13px; font-weight: 500; color: #00C4FF;
  margin-bottom: 24px;
  box-shadow: 0 8px 28px rgba(0,196,255,0.12);
}
.hero__badge svg { width: 16px; height: 16px; }

.hero h1 { font-size: clamp(40px, 5.7vw, 70px); margin-bottom: 22px; letter-spacing: -1.8px; }

.hero__subtitle {
  font-size: 18px; color: rgba(255,255,255,0.82);
  margin-bottom: 32px; line-height: 1.7; max-width: 500px;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero__stats { display: flex; gap: 48px; }
.hero__stat { text-align: center; padding: 12px 0; }
.hero__stat-num {
  display: block; font-family: 'Poppins', sans-serif;
  font-size: 36px; font-weight: 800;
}
.hero__stat-label { font-size: 14px; color: rgba(255,255,255,0.7); }

/* Hero Visual */
.hero__visual { position: relative; height: 400px; }

.hero__card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px); border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.18);
  color: white; font-weight: 500;
  box-shadow: 0 18px 45px rgba(0,0,0,0.18);
}

.hero__card--float { animation: float 6s ease-in-out infinite; }
.hero__card--1 { top: 5%; left: 10%; animation-delay: 0s; }
.hero__card--2 { top: 35%; right: 5%; animation-delay: 1s; }
.hero__card--3 { bottom: 30%; left: 5%; animation-delay: 2s; }
.hero__card--4 { bottom: 5%; right: 15%; animation-delay: 3s; }

.hero__card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.hero__card-icon svg { width: 24px; height: 24px; color: white; }
.hero__card-title { font-size: 14px; font-weight: 700; }
.hero__card-sub { font-size: 12px; color: rgba(255,255,255,0.7); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* ========================================
   HERO PANDA MASCOT
   ======================================== */
.hero-panda {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 260px; height: 320px;
  z-index: 2;
  animation: pandaFloat 4s ease-in-out infinite;
}

.hero-panda__svg {
  width: 100%; height: 100%;
  border-radius: 20px;
  object-fit: cover;
  object-position: top right;
  filter: drop-shadow(0 24px 50px rgba(0,0,0,0.36));
}

.level-card, .point-card, .agent-card, .formation-card, .faq details {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.level-card:hover, .point-card:hover, .agent-card:hover, .formation-card:hover, .faq details:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.formation-card, .agent-card, .level-card, .point-card {
  border-radius: var(--radius-lg);
}

.formation-card { overflow: hidden; }
.formation-card__footer .btn, .agent-card .btn { width: 100%; justify-content: center; }

.hero-panda__glow {
  position: absolute; inset: -40px;
  background: radial-gradient(circle, rgba(0,196,255,0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: pandaGlow 3s ease-in-out infinite;
  pointer-events: none;
}

.hero-panda__speech {
  position: absolute;
  top: -30px; left: 50%;
  transform: translateX(-50%);
  background: white;
  color: #0B1331;
  padding: 10px 18px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  animation: speechBounce 3s ease-in-out infinite;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.hero-panda__speech::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: white;
}

@keyframes pandaFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-14px); }
}

@keyframes pandaGlow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes speechBounce {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
  50% { transform: translateX(-50%) translateY(-6px) scale(1.04); }
}

/* ========================================
   LEVELS SHOWCASE
   ======================================== */
.levels-showcase {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-bottom: 60px;
}

.level-card {
  text-align: center; padding: 32px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  transition: all 0.3s ease;
}
.level-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.08);
}

.level-card__icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.level-card__icon svg { width: 28px; height: 28px; color: white; }
.level-card__level { font-size: 12px; color: #00C4FF; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.level-card__name { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 700; color: white; margin: 4px 0; }
.level-card__xp { font-size: 13px; color: rgba(255,255,255,0.6); }

/* ========================================
   POINTS GRID
   ======================================== */
.points-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}

.point-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; transition: all 0.2s ease;
}
.point-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(0,196,255,0.3);
}

.point-card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(0,196,255,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.point-card__icon svg { width: 24px; height: 24px; color: #00C4FF; }

.point-card__info { flex: 1; }
.point-card__info h4 { font-size: 14px; font-weight: 600; color: white; margin-bottom: 2px; }
.point-card__info p { font-size: 12px; color: rgba(255,255,255,0.6); }

.point-card__value {
  font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 800;
  color: #00C4FF;
}

/* ========================================
   AGENTS GRID
   ======================================== */
.agents-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-bottom: 60px;
}

.agent-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 32px;
  text-align: center; transition: all 0.3s ease;
}
.agent-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(0,196,255,0.3);
}

.agent-card__avatar { position: relative; margin-bottom: 20px; display: inline-block; }

.agent-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.agent-avatar svg { width: 36px; height: 36px; color: white; }

.agent-status {
  position: absolute; bottom: 4px; right: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  border: 3px solid #0B1331;
}
.agent-status--online { background: #00d68f; }

.agent-card__name {
  font-family: 'Poppins', sans-serif; font-size: 20px;
  font-weight: 700; color: white; margin-bottom: 8px;
}

.agent-card__desc {
  font-size: 14px; color: rgba(255,255,255,0.7);
  line-height: 1.6; margin-bottom: 16px;
}

.agent-card__skills { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.agent-skill {
  padding: 4px 12px; background: rgba(0,196,255,0.15);
  border-radius: 20px; font-size: 11px; font-weight: 500; color: #00C4FF;
}

.agent-card__stats {
  display: flex; justify-content: center; gap: 20px;
  margin-bottom: 20px; padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.agent-stat {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: rgba(255,255,255,0.6);
}
.agent-stat svg { width: 14px; height: 14px; }

/* ========================================
   HOW IT WORKS
   ======================================== */
.how-it-works {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 40px;
}

.how-it-works__title {
  font-family: 'Poppins', sans-serif; font-size: 24px;
  font-weight: 700; color: white; text-align: center; margin-bottom: 32px;
}

.how-it-works__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}

.how-step { text-align: center; }

.how-step__num {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #1E5BFF, #00C4FF);
  color: white; display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 700;
  margin: 0 auto 12px;
}

.how-step h4 { font-size: 14px; font-weight: 600; color: white; margin-bottom: 4px; }
.how-step p { font-size: 12px; color: rgba(255,255,255,0.6); }

/* ========================================
   FORMATIONS
   ======================================== */
.formations-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.formations-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.formations-filter {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #0B1331;
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.formations-filter:hover {
  transform: translateY(-1px);
  border-color: rgba(30,91,255,0.25);
  box-shadow: 0 10px 24px rgba(11,19,49,0.08);
}

.formations-filter.is-active {
  background: linear-gradient(135deg, #1E5BFF, #00C4FF);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(30,91,255,0.24);
}

.formations-toolbar__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #64748b;
  font-size: 14px;
}

.formations-count {
  font-weight: 600;
  color: #0B1331;
}

.formations-load-more {
  white-space: nowrap;
}

.formations-pagination {
  display: flex;
  align-items: center;
  gap: 12px;
}

.formations-page-btn {
  white-space: nowrap;
}

.formations-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.formations-page-info {
  min-width: 92px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
}

.formations-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

.formation-card {
  background: white; border: 1px solid #e5e7eb;
  border-radius: 20px; padding: 32px;
  position: relative; transition: all 0.3s ease;
  overflow: hidden;
}
.formation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.formation-card__ribbon {
  position: absolute; top: 16px; right: -30px;
  background: linear-gradient(135deg, #1E5BFF, #00C4FF);
  color: white; padding: 4px 40px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  transform: rotate(45deg);
}
.formation-card__ribbon--full { background: linear-gradient(135deg, #ffb547, #ff8c00); }

.formation-card__header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }

.formation-card__emoji { font-size: 40px; }

.formation-card__xp {
  padding: 4px 12px; background: rgba(0,196,255,0.1);
  border-radius: 20px; font-size: 12px; font-weight: 700; color: #1E5BFF;
}

.formation-card__title {
  font-size: 20px; margin-bottom: 8px; color: #0B1331;
}

.formation-card__desc {
  font-size: 14px; color: #64748b; line-height: 1.6; margin-bottom: 16px;
}

.formation-card__meta {
  display: flex; gap: 16px; margin-bottom: 16px;
  font-size: 13px; color: #64748b;
}
.formation-card__meta span { display: flex; align-items: center; gap: 4px; }
.formation-card__meta svg { width: 14px; height: 14px; }

.formation-card__slots { margin-bottom: 16px; }

.slots-bar { height: 6px; background: #F3F5F9; border-radius: 10px; overflow: hidden; margin-bottom: 6px; }
.slots-fill { height: 100%; background: linear-gradient(90deg, #1E5BFF, #00C4FF); border-radius: 10px; }
.slots-bar--full { background: #fff3e0; }
.slots-fill--full { background: linear-gradient(90deg, #ffb547, #ff8c00); }
.slots-text { font-size: 12px; color: #64748b; }
.slots-text--full { color: #ffb547; font-weight: 600; }

.formation-card__price { margin-bottom: 20px; font-size: 14px; color: #64748b; }
.formation-card__price .price {
  font-family: 'Poppins', sans-serif; font-size: 28px; font-weight: 800; color: #0B1331;
}

/* ========================================
   PARRAINAGE
   ======================================== */
.parrainage-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-bottom: 48px;
}

.parrainage-step { text-align: center; }

.parrainage-step__num {
  width: 48px; height: 48px; border-radius: 50%;
  background: #00C4FF; color: #0B1331;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 18px;
  margin: 0 auto 16px;
}

.parrainage-step__icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.parrainage-step__icon svg { width: 36px; height: 36px; color: #00C4FF; }

.parrainage-step h3 { font-size: 20px; color: white; margin-bottom: 8px; }
.parrainage-step p { font-size: 14px; color: rgba(255,255,255,0.7); }

.parrainage-cta { text-align: center; }

/* ========================================
   FAQ
   ======================================== */
.faq { max-width: 800px; margin: 0 auto; }

.faq details {
  border: 1px solid #e5e7eb; border-radius: 12px;
  margin-bottom: 12px; overflow: hidden;
}

.faq summary {
  padding: 20px 24px; font-weight: 600; cursor: pointer;
  list-style: none; display: flex; align-items: center;
  justify-content: space-between; transition: background 0.2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 20px; color: #1E5BFF;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { background: #F3F5F9; }

.faq details p {
  padding: 0 24px 20px; color: #64748b; line-height: 1.7;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  position: relative;
  overflow: hidden;
  color: white;
  padding: 96px 0 28px;
  background:
    radial-gradient(circle at 15% 20%, rgba(0,196,255,0.18), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(255,255,255,0.08), transparent 24%),
    linear-gradient(135deg, #07102A 0%, #0B1331 42%, #1E5BFF 100%);
}

.footer::before,
.footer::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.footer::before {
  inset: -180px auto auto -140px;
  width: 420px;
  height: 420px;
  background: rgba(0,196,255,0.14);
  filter: blur(18px);
}

.footer::after {
  inset: auto -120px -160px auto;
  width: 360px;
  height: 360px;
  background: rgba(255,255,255,0.06);
  filter: blur(22px);
}

.footer__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
  opacity: 0.7;
  animation: footerFloat 9s ease-in-out infinite;
}

.footer__glow--a {
  top: 12%;
  left: 8%;
  width: 88px;
  height: 88px;
  background: rgba(0,196,255,0.18);
}

.footer__glow--b {
  right: 10%;
  bottom: 16%;
  width: 110px;
  height: 110px;
  background: rgba(255,255,255,0.08);
  animation-delay: -3s;
}

@keyframes footerFloat {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-14px) translateX(8px); }
}

.footer__top {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 44px;
  position: relative;
  z-index: 1;
}

.footer__hero,
.footer__visual,
.footer__grid,
.footer__copy {
  position: relative;
  z-index: 1;
}

.footer__hero {
  max-width: 680px;
}

.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(0,196,255,0.28);
  color: #7fe8ff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  backdrop-filter: blur(14px);
}

.footer__badge svg { width: 16px; height: 16px; }

.footer__hero h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.96;
  letter-spacing: -1.6px;
  margin-bottom: 18px;
}

.footer__hero h2 span {
  color: #00C4FF;
}

.footer__hero p {
  max-width: 560px;
  color: rgba(255,255,255,0.74);
  font-size: 18px;
  line-height: 1.75;
}

.footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.footer__stats {
  display: flex;
  gap: 18px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.footer__stat {
  min-width: 130px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.12);
}

.footer__stat strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.footer__stat span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.68);
}

.footer__visual {
  min-height: 340px;
  border-radius: 32px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(22px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.18);
}

.footer__visual-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(18px);
  color: white;
  box-shadow: 0 18px 45px rgba(0,0,0,0.15);
}

.footer__visual-card strong,
.footer__visual-card p,
.footer__visual-card span { display: block; }

.footer__visual-card--top {
  top: 18px;
  left: 18px;
  right: 18px;
  justify-content: space-between;
}

.footer__visual-card--mid {
  top: 128px;
  left: 32px;
  max-width: 240px;
}

.footer__visual-card--bottom {
  right: 28px;
  bottom: 28px;
  max-width: 220px;
}

.footer__visual-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.75);
  margin-bottom: 6px;
}

.footer__visual-card strong { font-size: 18px; font-family: 'Poppins', sans-serif; }
.footer__visual-card p { font-size: 13px; color: rgba(255,255,255,0.72); }

.footer__visual-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1E5BFF, #00C4FF);
  color: white;
  flex-shrink: 0;
}

.footer__visual-icon--alt {
  background: linear-gradient(135deg, #8B5CF6, #00C4FF);
}

.footer__visual-icon svg { width: 22px; height: 22px; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 30px 0 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer__brand p {
  color: rgba(255,255,255,0.65);
  margin: 16px 0;
  font-size: 14px;
  line-height: 1.7;
}

.footer__logo { margin-bottom: 8px; }

.socials { display: flex; gap: 12px; flex-wrap: wrap; }
.socials a {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  color: white;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.socials a:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.14);
}
.socials svg,
.socials img { width: 18px; height: 18px; display: block; }

.footer__whatsapp-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__whatsapp-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.footer__whatsapp-label svg { width: 16px; height: 16px; }

.footer__whatsapp-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__whatsapp-list a {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.84);
  font-size: 13px;
}

.footer__whatsapp-list a:hover {
  color: white;
  background: rgba(0,196,255,0.18);
  transform: translateX(2px);
}

.footer__links h3 {
  font-size: 16px;
  margin-bottom: 16px;
  color: white;
}

.footer__links ul { list-style: none; }
.footer__links li { margin-bottom: 12px; }
.footer__links a {
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer__links a:hover {
  color: #7fe8ff;
  transform: translateX(2px);
}
.footer__links svg { width: 16px; height: 16px; flex-shrink: 0; }

.footer__copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  font-size: 13px;
  color: rgba(255,255,255,0.42);
}

.footer__copy span {
  color: rgba(255,255,255,0.62);
}

/* ========================================
   WHATSAPP FLOAT
   ======================================== */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 60px; height: 60px; background: #25d366;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(37,211,102,0.4); z-index: 40;
  transition: all 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__visual { display: block; height: 300px; max-width: 520px; margin: -16px auto 0; }
  .hero-panda { width: 210px; height: 250px; }
  .hero__card { padding: 12px 14px; }
  .hero__card--1 { left: 2%; top: 8%; }
  .hero__card--2 { right: 0; top: 32%; }
  .hero__card--3 { left: 0; bottom: 22%; }
  .hero__card--4 { right: 8%; bottom: 2%; }
  .levels-showcase { grid-template-columns: repeat(2, 1fr); }
  .points-grid { grid-template-columns: repeat(2, 1fr); }
  .agents-grid { grid-template-columns: 1fr; }
  .how-it-works__grid { grid-template-columns: repeat(2, 1fr); }
  .formations-grid { grid-template-columns: 1fr; }
  .formations-toolbar__meta { width: 100%; justify-content: space-between; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__visual { min-height: 300px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .header__inner { height: 64px; }
  .nav { display: none; }
  .hamburger { display: block; }
  .head-actions .btn { display: none; }
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 36px; }
  .section-subtitle { font-size: 16px; }
  .hero { padding: 112px 0 72px; }
  .hero h1 { letter-spacing: -1px; }
  .hero__subtitle { font-size: 16px; margin-left: auto; margin-right: auto; }
  .hero__stats { gap: 0; justify-content: space-between; padding: 14px; border: 1px solid rgba(255,255,255,0.12); border-radius: 20px; background: rgba(255,255,255,0.07); }
  .hero__stat { flex: 1; }
  .hero__stat-num { font-size: 28px; }
  .hero__stat-label { font-size: 12px; }
  .hero__visual { height: 250px; }
  .hero__card { display: none; }
  .hero-panda { width: 190px; height: 230px; }
  .parrainage-grid { grid-template-columns: 1fr; }
  .formations-toolbar { align-items: stretch; }
  .formations-toolbar__meta { width: 100%; flex-direction: column; align-items: stretch; }
  .formations-count { text-align: center; }
  .formations-pagination { width: 100%; flex-direction: column; }
  .formations-page-btn { width: 100%; justify-content: center; }
  .formations-page-info { width: 100%; }
  .footer { padding: 72px 0 24px; }
  .footer__hero h2 { letter-spacing: -1px; }
  .footer__hero p { font-size: 16px; }
  .footer__actions { flex-direction: column; }
  .footer__actions .btn { width: 100%; justify-content: center; }
  .footer__stats { gap: 12px; }
  .footer__stat { flex: 1 1 0; min-width: 0; }
  .footer__visual { min-height: 280px; padding: 20px; }
  .footer__visual-card--mid { top: 108px; left: 18px; }
  .footer__visual-card--bottom { right: 18px; bottom: 18px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__copy { flex-direction: column; align-items: flex-start; }
  .footer__inner { gap: 24px; }
  @media (hover: hover) {
    .formation-card:hover, .level-card:hover, .point-card:hover, .agent-card:hover, .faq details:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-soft);
    }
  }
}

@media (max-width: 480px) {
  .hero { padding: 120px 0 60px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .levels-showcase { grid-template-columns: 1fr; }
  .points-grid { grid-template-columns: 1fr; }
  .socials { flex-wrap: wrap; }
  .footer__links a { line-height: 1.45; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .agent-card { padding: 24px; }
  .formation-card { padding: 24px; }
  .how-it-works { padding: 28px 20px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__visual { min-height: 250px; }
  .footer__visual-card {
    position: static;
    width: 100%;
    max-width: none;
    margin-bottom: 12px;
  }
}

@media (max-width: 360px) {
  .container { padding: 0 12px; }
  .section { padding: 48px 0; }
  .agent-card, .formation-card { padding: 20px; }
  .hero { padding: 100px 0 48px; }
  .hero h1 { font-size: 28px; }
  .hero__subtitle { font-size: 14px; }
  .hero__stat-num { font-size: 24px; }
  .whatsapp-float { width: 48px; height: 48px; bottom: 14px; right: 14px; }
  .footer__stat strong { font-size: 24px; }
  .footer__hero h2 { font-size: 32px; }
  .footer__visual { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
