/**
 * PRÉSENTATION PAGE - STYLES
 */

/* ===== VARIABLES (héritées de index-styles.css) ===== */
:root {
  /* Palette Formation - GitHub Dark / Gaming */
  --bg-dark: #0D1117;
  --bg-darker: #010409;
  --text-light: #E6EDF3;
  --accent-gold: #FFD700;
  --accent-green: #00FF7F;
  --accent-orange: #FF6B35;
  --accent-purple: #BB86FC;
  --accent-red: #FF4444;
  --border-subtle: rgba(255,255,255,0.1);

  /* Alias pour compatibilité */
  --primary: #BB86FC;
  --primary-dark: #9965d4;
  --secondary: #00FF7F;
  --dark: #0D1117;
  --dark-light: #1e293b;
  --gray: #8b949e;
  --gray-light: #c9d1d9;
  --white: #E6EDF3;
  --accent: #FFD700;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.5);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.6);
}

/* HERO */
.presentation-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  padding: 10rem 2rem 6rem;
  color: var(--white);
  overflow: hidden;
}

/* Vidéo en arrière-plan */
.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

/* Overlay pour assombrir la vidéo */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.75) 50%, rgba(51, 65, 85, 0.85) 100%);
  z-index: 1;
}

.presentation-hero .container {
  position: relative;
  z-index: 2;
}

.presentation-hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--dark);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.presentation-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  opacity: 0.95;
  margin-bottom: 2rem;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* PROOF SECTION */
.proof-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  padding: 6rem 2rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.proof-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.proof-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-purple);
}

.proof-image {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-orange) 100%);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proof-placeholder {
  font-size: 4rem;
  opacity: 0.5;
}

.proof-content {
  padding: 2rem;
}

.proof-content h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.proof-content p {
  color: var(--gray-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.proof-badge {
  display: inline-block;
  background: var(--accent-gold);
  color: var(--bg-darker);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* OPPORTUNITY */
.opportunity {
  background: var(--bg-dark);
  padding: 6rem 2rem;
}

.opportunity-content {
  max-width: 1200px;
  margin: 0 auto;
}

.opportunity-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.opportunity-block.reverse {
  grid-template-columns: 1fr 1fr;
}

.opportunity-block.reverse .opportunity-visual {
  order: 2;
}

.opportunity-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.opportunity-text p {
  color: var(--gray-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  margin: 2rem 0;
}

.feature-list li {
  padding: 0.75rem 0;
  color: var(--text-light);
  font-size: 1.1rem;
}

.highlight-box {
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid var(--accent-gold);
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 2rem;
  border-left: 4px solid var(--accent-gold);
  color: var(--text-light);
}

/* DUAL TEAM DIAGRAM */
.dual-team-diagram {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-orange) 100%);
  padding: 3rem;
  border-radius: 16px;
  color: var(--text-light);
  text-align: center;
  border: 1px solid var(--border-subtle);
}

.diagram-center {
  background: var(--accent-gold);
  color: var(--bg-darker);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 2rem;
  box-shadow: var(--shadow-lg);
}

.diagram-branches {
  display: flex;
  gap: 2rem;
  justify-content: space-around;
}

.branch {
  flex: 1;
}

.branch-label {
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.branch-members {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.member {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid var(--white);
}

/* REVENUE TABLE */
.revenue-table {
  margin: 2rem 0;
}

.revenue-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.revenue-row:hover {
  transform: translateX(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-purple);
}

.revenue-row.highlight {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px solid #fbbf24;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.rank-badge {
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.rank-badge.silver {
  background: linear-gradient(135deg, #e4e4e7 0%, #a1a1aa 100%);
  color: #18181b;
  border: 3px solid #52525b;
  box-shadow: 0 2px 10px rgba(161, 161, 170, 0.4);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

.rank-badge.gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1a1a1a;
  border: 3px solid #b45309;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.5);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.rank-badge.platinum {
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
  color: #ffffff;
  border: 3px solid #6d28d9;
  box-shadow: 0 2px 10px rgba(139, 92, 246, 0.5);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.rank-badge.titanium {
  background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
  color: #ffffff;
  border: 3px solid #475569;
  box-shadow: 0 2px 10px rgba(100, 116, 139, 0.5);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.rank-badge.jade {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  color: #ffffff;
  border: 3px solid #16a34a;
  box-shadow: 0 2px 10px rgba(34, 197, 94, 0.5);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.rank-badge.pearl {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  color: #1f2937;
  border: 3px solid #9ca3af;
  box-shadow: 0 2px 10px rgba(229, 231, 235, 0.5);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

.rank-badge.emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: 3px solid #047857;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.5);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.rank-badge.ruby {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  border: 3px solid #b91c1c;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.5);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.rank-badge.sapphire {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  border: 3px solid #1d4ed8;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.5);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.rank-badge.diamond {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  border: 3px solid #1e40af;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.rank-badge.black-diamond {
  background: linear-gradient(135deg, #27272a 0%, #18181b 100%);
  color: #ffffff;
  border: 3px solid #fbbf24;
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.6);
  font-weight: 900;
}

.rank-badge.royal {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
  border: 3px solid #fbbf24;
  box-shadow: 0 0 20px rgba(234, 179, 8, 0.5);
  font-weight: 900;
}

.rank-badge.black-royal {
  background: linear-gradient(135deg, #18181b 0%, #000000 100%);
  color: #ffffff;
  border: 4px solid #facc15;
  box-shadow: 0 0 30px rgba(250, 204, 21, 0.8), inset 0 0 20px rgba(254, 240, 138, 0.1);
  font-weight: 900;
  letter-spacing: 0.5px;
}

.revenue-amount {
  font-size: 1.6rem;
  font-weight: 800;
  color: #059669;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.revenue-note {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 1.5rem;
}

/* REVENUE CHART */
.revenue-chart {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 3rem;
  border-radius: 16px;
  color: var(--white);
}

.chart-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.chart-bars {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  height: 250px;
  margin-bottom: 1rem;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.5) 0%, rgba(59, 130, 246, 0.8) 100%);
  border-radius: 8px 8px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.chart-bar:hover {
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.8) 0%, rgba(59, 130, 246, 1) 100%);
}

.chart-bar.active {
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
}

.chart-bar span {
  font-size: 0.85rem;
  font-weight: 600;
}

.chart-label {
  text-align: center;
  opacity: 0.8;
  font-size: 0.9rem;
}

/* TRAINING MODULES */
.training-modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin: 3rem 0;
}

.training-module-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.training-module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--module-color, #1e90ff);
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px var(--module-color);
}

.training-module-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--module-color, #1e90ff);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--module-color);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
}

.training-module-card:hover::before {
  height: 100%;
  opacity: 0.08;
}

/* Couleurs par module */
.training-module-card.module-1 {
  --module-color: #FFD700;
}

.training-module-card.module-2 {
  --module-color: #FF6B35;
}

.training-module-card.module-3 {
  --module-color: #1e90ff;
}

.training-module-card.module-4 {
  --module-color: #00ff88;
}

.training-module-card.module-5 {
  --module-color: #BB86FC;
}

.training-module-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  z-index: 0;
}

.training-module-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.training-module-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  line-height: 1.3;
}

.training-module-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.training-module-topics {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

.training-module-topics li {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.6rem 0;
  padding-left: 1.8rem;
  position: relative;
  line-height: 1.5;
}

.training-module-topics li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--module-color, #1e90ff);
  font-weight: 900;
  font-size: 1.2rem;
}

/* Responsive pour les modules */
@media (max-width: 768px) {
  .training-modules-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .training-module-card {
    padding: 1.5rem;
  }

  .training-module-number {
    font-size: 2rem;
  }

  .training-module-title {
    font-size: 1.2rem;
  }
}

/* FAQ */
.faq {
  background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  padding: 6rem 2rem;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-purple);
}

.faq-question {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question h3 {
  font-size: 1.2rem;
  color: var(--text-light);
}

.faq-toggle {
  font-size: 2rem;
  font-weight: 300;
  color: var(--accent-purple);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--accent-gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 2rem 1.5rem;
}

.faq-answer p {
  color: var(--gray-light);
  line-height: 1.7;
}

/* FINAL CTA */
.final-cta {
  background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 50%, var(--accent-purple) 100%);
  padding: 6rem 2rem;
  color: var(--text-light);
}

.cta-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta-box h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-box > p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 3rem;
}

.cta-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  margin-bottom: 3rem;
  backdrop-filter: blur(10px);
}

.cta-form h3 {
  color: var(--text-light);
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.capture-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-input {
  padding: 1.25rem 1.5rem;
  border: 2px solid var(--border-subtle);
  border-radius: 12px;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  transition: all 0.3s ease;
}

.form-input::placeholder {
  color: var(--gray);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(187, 134, 252, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.form-note {
  color: var(--gray-light);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.social-proof {
  text-align: center;
}

.proof-avatars {
  display: flex;
  justify-content: center;
  gap: -10px;
  margin-bottom: 1rem;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 3px solid var(--white);
  margin-left: -10px;
}

.avatar:first-child {
  margin-left: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .opportunity-block,
  .opportunity-block.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .opportunity-block.reverse .opportunity-visual {
    order: 0;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .revenue-row {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .cta-form {
    padding: 2rem;
  }
}
