/* ==========================================
   NEOMA ALUMNI - STYLES.CSS CLEAN
   Version optimisée - 18 Oct 2025 v9.10
   ========================================== */

/* ========================================
   1. VARIABLES
   ======================================== */
:root {
  /* Colors */
  --violet: #562C80;
  --indigo: #5b3dbb;
  --blue: #1E3A8A;
  --dark: #0f172a;
  --muted: #64748b;
  --paper: #ffffff;
  --bg: #f8fafc;
  
  /* Gradients */
  --gradient: linear-gradient(135deg, #562C80 0%, #5b3dbb 50%, #1E3A8A 100%);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(86, 44, 128, 0.08);
  --shadow-md: 0 8px 24px rgba(86, 44, 128, 0.12);
  --shadow-lg: 0 16px 48px rgba(86, 44, 128, 0.16);
  
  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;

  /* Layout */
  --header-h: 102px;
  --container-max: 1400px;
}

/* ========================================
   2. RESET & BASE
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
  overflow-x: hidden; /* ← ANTI-SCROLL GLOBAL */
}

/* ========================================
   3. TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: clamp(24px, 3.5vw, 36px); }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Violet pour Alumni uniquement */
.gradient-text-violet {
  background: linear-gradient(135deg, #562C80 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Fix violet qui disparaît après i18n */
.hero-title .gradient-text-violet,
span.gradient-text-violet[data-i18n],
span.gradient-text-violet {
  background: linear-gradient(135deg, #562C80 0%, #7c3aed 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
}

/* ========================================
   4. LAYOUT
   ======================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

section {
  padding: 80px 0;
}

#pricing {
  scroll-margin-top: 100px;
}

/* ========================================
   5. BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  text-align: center;
  min-height: 48px;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: white;
  color: var(--indigo);
  border: 2px solid var(--indigo);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
  background: var(--indigo);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(86, 44, 128, 0.3);
}

.btn-small {
  padding: 12px 24px;
  font-size: 14px;
  min-height: 44px;
}

/* ========================================
   6. HEADER - ULTRA STABLE AVEC POSITION ABSOLUE
   ======================================== */

/* Container principal */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--paper);
  border-bottom: 1px solid #eef2f7;
  box-shadow: 0 6px 20px rgba(86, 44, 128, 0.06);
  backdrop-filter: saturate(120%) blur(6px);
  height: 102px;
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(86, 44, 128, 0.10);
  border-bottom-color: transparent;
}

/* Grid simplifié : juste logo + spacer + actions */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative; /* ← Pour le positionnement absolu de FR/EN */
}

/* ========================================
   COLONNE 1 : LOGO
   ======================================== */
.header-col-logo {
  width: 220px;
  display: flex;
  align-items: center;
  flex-shrink: 0; /* ← Ne jamais rétrécir */
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  height: 76px;
}

.brand-logo {
  height: 76px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ========================================
   COLONNE 2 : LANGUE (POSITION ABSOLUE)
   ======================================== */
.header-col-lang {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.lang-switcher {
  display: flex;
  gap: 4px;
  background: #f8fafc;
  padding: 4px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* ← Petite ombre pour visibilité */
}

.lang-btn {
  width: 58px; /* ← Augmenté de 48px pour faire de la place au flag */
  height: 38px;
  padding: 0 8px; /* ← Ajouté padding horizontal */
  border: none;
  background: transparent;
  color: #64748b;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px; /* ← Espace entre flag et texte */
}

.lang-btn .flag-icon {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.lang-btn:hover {
  background: rgba(91, 61, 187, 0.1);
  color: #5b3dbb;
}

.lang-btn.active {
  background: linear-gradient(135deg, #562C80 0%, #5b3dbb 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(86, 44, 128, 0.2);
}

/* ========================================
   COLONNE 3 : ACTIONS
   ======================================== */
.header-col-actions {
  width: 380px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-shrink: 0; /* ← Ne jamais rétrécir */
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-join {
  width: 110px;
  justify-content: center;
}

.btn-request {
  width: 165px;
  justify-content: center;
  white-space: nowrap;
}

.site-header .btn {
  height: 42px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

/* ========================================
   RESPONSIVE - LARGE (1200px - 1400px)
   ======================================== */
@media (max-width: 1200px) {
  .header-col-logo {
    width: 200px;
  }
  
  .header-col-actions {
    width: 340px;
  }
  
  .btn-join {
    width: 100px;
  }
  
  .btn-request {
    width: 150px;
  }
}

/* ========================================
   RESPONSIVE - TABLET (768px - 1024px)
   ======================================== */
@media (max-width: 1024px) {
  .site-header {
    height: 90px;
  }
  
  .header-col-logo {
    width: 180px;
  }
  
  .header-col-actions {
    width: 300px;
  }
  
  .brand,
  .brand-logo {
    height: 70px;
  }
  
  .btn-join {
    width: 90px;
  }
  
  .btn-request {
    width: 140px;
    font-size: 13px;
  }

  .site-header .btn {
    height: 40px;
    font-size: 13px;
  }
}

/* ========================================
   RESPONSIVE - MOBILE (< 768px)
   ======================================== */
@media (max-width: 768px) {
  :root {
    --header-h: 82px;
  }
  
  .site-header {
    height: 82px;
  }
  
  .header-inner {
    padding: 0 10px; /* ← RÉDUIT de 12px */
  }
  
  .header-col-logo {
    width: 140px; /* ← RÉDUIT */
  }
  
  .header-col-actions {
    width: 210px; /* ← RÉDUIT */
  }
  
  .brand,
  .brand-logo {
    height: 60px; /* ← RÉDUIT */
  }
  
  .lang-switcher {
    padding: 3px;
    gap: 2px; /* ← RÉDUIT */
  }
  
  .lang-btn {
    width: 44px; /* ← RÉDUIT */
    height: 30px; /* ← RÉDUIT */
    gap: 3px;
    font-size: 10px; /* ← RÉDUIT */
    padding: 0 4px; /* ← RÉDUIT */
  }
  
  .lang-btn .flag-icon {
    width: 14px; /* ← RÉDUIT */
    height: 10px; /* ← RÉDUIT */
  }
  
  .btn-join {
    width: 70px; /* ← RÉDUIT */
    font-size: 11px; /* ← RÉDUIT */
  }
  
  .btn-request {
    width: 115px; /* ← RÉDUIT */
    font-size: 10px; /* ← RÉDUIT */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .site-header .btn {
    height: 34px; /* ← RÉDUIT */
    padding: 0 8px; /* ← RÉDUIT */
  }
  
  /* Forcer retour à la ligne sur "Testez avant d'adhérer" */
  .hero h1 br.mobile-only {
    display: block;
  }
}

/* Sur desktop, cacher le br */
.hero h1 br.mobile-only {
  display: none;
}

/* ========================================
   RESPONSIVE - TRÈS PETIT (< 400px)
   ======================================== */
@media (max-width: 400px) {
  .header-inner {
    padding: 0 8px; /* ← ENCORE PLUS COMPACT */
  }
  
  .header-col-logo {
    width: 125px; /* ← Plus petit logo */
  }
  
  .header-col-actions {
    width: 195px; /* ← Actions plus compactes */
  }
  
  .brand,
  .brand-logo {
    height: 55px; /* ← Logo encore plus petit */
  }
  
  .lang-btn {
    width: 40px; /* ← Très compact */
    height: 28px;
    font-size: 9px;
    padding: 0 3px;
  }
  
  .lang-btn .flag-icon {
    width: 12px;
    height: 9px;
  }
  
  .btn-join {
    width: 65px;
    font-size: 10px;
  }
  
  .btn-request {
    width: 105px;
    font-size: 9px;
  }
  
  .site-header .btn {
    height: 32px;
    padding: 0 6px;
  }
}

/* ========================================
   6B. MOBILE BURGER MENU
   ======================================== */

/* Burger button (mobile uniquement) */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.burger-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--indigo);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger-btn:hover span {
  background: var(--violet);
}

/* Menu overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: white;
  z-index: 1002;
  transition: right 0.3s ease;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.mobile-menu.is-open {
  right: 0;
}

.mobile-menu-inner {
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Header du menu */
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f1f5f9;
}

.mobile-menu-logo {
  height: 50px;
  width: auto;
}

.close-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: #f8fafc;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: var(--indigo);
  color: white;
}

/* Navigation */
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Langue mobile */
.mobile-lang-switcher {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 2px solid #f1f5f9;
}

.mobile-lang-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid #e2e8f0;
  background: #f8fafc; /* ← Fond gris léger par défaut */
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #64748b; /* ← Texte gris */
  transition: all 0.2s ease;
  width: 100%;
  text-align: left;
}

.mobile-lang-btn .flag-icon {
  width: 24px;
  height: 18px;
  object-fit: cover;
  border-radius: 3px;
}

.mobile-lang-btn:hover {
  background: #f1f5f9;
  border-color: #c4b5fd;
}

.mobile-lang-btn.active {
  background: white; /* ← BLANC pour l'actif */
  color: #562C80; /* ← Texte violet */
  border-color: #562C80; /* ← Bordure violette épaisse */
  border-width: 2px;
  font-weight: 700; /* ← Plus gras */
  box-shadow: 0 2px 8px rgba(86, 44, 128, 0.15); /* ← Petite ombre */
}

/* Links */
.mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: center;
}

.mobile-menu-link.primary {
  background: linear-gradient(135deg, #562C80 0%, #5b3dbb 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(86, 44, 128, 0.2);
}

.mobile-menu-link.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(86, 44, 128, 0.3);
}

.mobile-menu-link.secondary {
  background: white;
  color: var(--indigo);
  border: 2px solid var(--indigo);
}

.mobile-menu-link.secondary:hover {
  background: var(--indigo);
  color: white;
}

/* Backdrop */
.mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Responsive */
@media (max-width: 768px) {
  /* Masquer desktop, afficher burger */
  .header-desktop {
    display: none !important;
  }
  
  .burger-btn {
    display: flex;
  }
  
  /* Empêcher scroll body quand menu ouvert */
  body.menu-open {
    overflow: hidden;
  }
}

@media (min-width: 769px) {
  /* Desktop: masquer burger et menu mobile */
  .burger-btn,
  .mobile-menu,
  .mobile-menu-backdrop {
    display: none !important;
  }
  
  .header-desktop {
    display: flex !important;
  }
}

/* ========================================
   7. HERO SECTION
   ======================================== */
.hero {
  padding: 120px 0 80px;
  background: 
    radial-gradient(circle at 30% 20%, rgba(91, 61, 187, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(30, 58, 138, 0.06) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero-lead {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.payment-note {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

/* ========================================
   8. STATS CARD
   ======================================== */
.stats-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #f1f5f9;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stat {
  text-align: center;
  padding: 20px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  transition: transform 0.3s ease;
}

.stat:hover {
  transform: translateY(-4px);
}

.stat-number {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
  font-family: 'Space Grotesk', sans-serif;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========================================
   9. SECTION HEADERS
   ======================================== */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 56px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
}

/* ========================================
   10. VIDEO SECTION
   ======================================== */
.video-section {
  padding: 60px 0;
  background: white;
}

.video-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.video-section .section-title,
.video-section .section-subtitle {
  text-align: center;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 16px;
}

.video-container:hover {
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
  transition: all 0.3s ease;
}

/* ========================================
   11. PILLAR SECTIONS
   ======================================== */
.pillar-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 500px;
}

.pillar-section.reverse {
  direction: rtl;
}

.pillar-section.reverse > * {
  direction: ltr;
}

.pillar-image {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.pillar-content {
  padding: 80px 60px;
  background: white;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pillar-number {
  font-size: 14px;
  font-weight: 800;
  color: var(--indigo);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.pillar-title {
  margin-bottom: 20px;
  font-family: 'Space Grotesk', sans-serif;
}

.pillar-description {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 32px;
}

.pillar-features {
  list-style: none;
  margin-bottom: 32px;
}

.pillar-features li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--dark);
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
}

.pillar-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--indigo);
  font-weight: 700;
  font-size: 18px;
}

.pillar-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.pillar-stat {
  display: inline-block;
  padding: 16px 24px;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: var(--radius-sm);
  border: 1px solid #f1f5f9;
}

.pillar-stat-number {
  font-size: 32px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: 'Space Grotesk', sans-serif;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.pillar-stat-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pillar-expand-btn {
  display: none;
}

/* ========================================
   12. TESTIMONIALS
   ======================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.testimonial {
  background: white;
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid #f1f5f9;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark);
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
}

.testimonial-quote::before {
  content: '"';
  font-size: 48px;
  color: var(--indigo);
  opacity: 0.2;
  position: absolute;
  left: -12px;
  top: -16px;
  font-family: Georgia, serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
}

.author-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--dark);
}

.author-role {
  font-size: 13px;
  color: var(--muted);
}

.testimonials-wrapper {
  position: relative;
  margin-bottom: 40px;
}

.testimonials-nav {
  display: none;
}

/* ========================================
   13. CTA SECTIONS
   ======================================== */
.cta-after-section {
  text-align: center;
  padding: 48px 32px 32px;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: var(--radius-lg);
  border: 1px solid #f1f5f9;
  margin-top: 0;
}

.cta-after-section h3 {
  font-size: 42px;
  margin-bottom: 20px;
  color: var(--dark);
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
}

.cta-after-section p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

section#contact {
  padding: 0;
}

.cta-banner {
  background: var(--gradient);
  color: white;
  padding: 64px 48px;
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 48px 0;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  margin-bottom: 16px;
  color: white;
}

.cta-banner p {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn {
  background: white;
  color: var(--indigo);
  font-weight: 800;
}

.cta-banner .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.3);
}

/* ========================================
   14. PRICING SECTION
   ======================================== */
.pricing-section {
  padding: 20px 20px 100px;
  background: white;
}

.pricing-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.pricing-header {
  text-align: center;
  margin-bottom: 50px;
}

.pricing-header h2 {
  font-size: 48px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
}

.pricing-header p {
  font-size: 20px;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Toggle Diplômé/Étudiant */
.status-toggle-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.status-toggle {
  display: inline-flex;
  background: #f1f5f9;
  border-radius: 12px;
  padding: 6px;
  gap: 6px;
}

.status-toggle button {
  padding: 12px 32px;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.status-toggle button.active {
  background: white;
  color: #562C80;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  width: 100%;
  max-width: 100%;
}

/* Price Cards */
.price-card {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 40px 32px;
  position: relative;
  transition: all 0.3s ease;
  display: none;
}

.price-card.visible {
  display: block;
}

.price-card:hover {
  border-color: #562C80;
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(86, 44, 128, 0.15);
}

.price-card.featured {
  border-color: #562C80;
  border-width: 3px;
  box-shadow: 0 12px 32px rgba(86, 44, 128, 0.12);
}

.price-card .badge-top {
  position: absolute;
  top: -14px; /* ← AJUSTÉ pour éviter coupure */
  right: 24px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 10; /* ← Assure visibilité */
  white-space: nowrap;
}

.price-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.price-card .subtitle {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 24px;
  min-height: 60px;
  line-height: 1.5;
  display: flex;
  align-items: center;
}

.price-card .price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.price-card .price .amount {
  font-size: 48px;
  font-weight: 800;
  color: #0f172a;
}

.price-card .price .currency {
  font-size: 24px;
  color: #64748b;
  font-weight: 600;
}

.savings-badge {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  margin-left: 8px;
}

.price-card .price-note {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 32px;
}

.price-card .cta-button {
  display: block;
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #562C80 0%, #5b3dbb 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 28px;
  text-align: center;
}

.price-card .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(86, 44, 128, 0.3);
}

/* Payment Toggle */
.payment-toggle-wrapper {
  margin-bottom: 28px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.payment-toggle-label {
  font-size: 14px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  text-align: center;
}

.payment-toggle {
  display: flex;
  background: white;
  border-radius: 8px;
  padding: 3px;
  gap: 3px;
  border: 1px solid #e2e8f0;
}

.payment-toggle button {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.payment-toggle button .main-text {
  font-size: 24px;
  font-weight: 700;
}

.payment-toggle button .sub-text {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
}

.payment-toggle button.active {
  background: linear-gradient(135deg, #562C80 0%, #5b3dbb 100%);
  color: white;
}

.payment-toggle button.active .sub-text {
  color: rgba(255,255,255,0.8);
}

/* Features List */
.price-card .features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.price-card .features li {
  padding: 12px 0;
  color: #334155;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #f1f5f9;
  line-height: 1.4;
}

.price-card .features li:last-child {
  border-bottom: none;
}

.price-card .features li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #d1fae5;
  color: #059669;
  border-radius: 50%;
  font-weight: 900;
  font-size: 12px;
  flex-shrink: 0;
}

/* Info Box */
.info-box {
  background: #ecfdf5; /* ← VERT unifié */
  border: 1px solid #10b981;
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 20px;
  font-size: 14px;
  color: #065f46; /* ← Texte vert foncé */
  line-height: 1.4;
  min-height: 60px; /* ← Alignement */
  display: flex;
  align-items: center;
}

/* ========================================
   15. ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease-out;
}

/* ========================================
   16. RESPONSIVE - TABLET
   ======================================== */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .pillar-content {
    padding: 60px 40px;
  }
}

/* ========================================
   17. RESPONSIVE - MOBILE
   ======================================== */
@media (max-width: 768px) {
  :root {
    --header-h: 82px;
  }
  
  /* Container */
  .container {
    padding: 0 16px;
  }
  
  section {
    padding: 60px 0;
  }
  
  /* Header */
  .site-header {
    height: 82px;
  }
  
  .brand-logo {
    height: 66px;
  }
  
  .site-header .btn {
    padding: 10px 14px;
    font-size: 14px;
    min-height: 42px;
  }
  
  /* Hero */
  .hero {
    padding: 90px 0 70px; /* ← AUGMENTÉ bottom */
  }
  
  .hero h1 {
    font-size: 24px; /* ← Encore plus petit */
    line-height: 1.3;
    word-break: break-word; /* ← Force le retour à la ligne */
    overflow-wrap: break-word;
    max-width: 100%; /* ← Contient le texte */
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cta-group .btn {
    width: 100%;
  }
  
  /* Stats */
  .stats-card {
    padding: 32px 16px; /* ← Réduit padding horizontal */
    margin-bottom: 30px; /* ← AUGMENTÉ */
    max-width: 100%; /* ← Force la largeur */
    overflow: hidden; /* ← Empêche débordement */
  }
  
  .stats-grid {
    gap: 16px; /* ← Réduit gap */
    padding: 0 4px; /* ← Ajoute padding interne */
  }
  
  .stat {
    padding: 16px 8px; /* ← Réduit padding des stats */
    min-width: 0; /* ← Permet rétrécissement */
  }
  
  .stat-label {
    font-size: 11px; /* ← Réduit taille labels */
    word-break: break-word;
    hyphens: auto; /* ← Césure automatique */
  }
  
  /* Pillars */
  .pillar-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .pillar-section.reverse {
    direction: ltr;
  }
  
  .pillar-image {
    min-height: 280px;
    order: -1;
  }
  
  .pillar-content {
    padding: 36px 24px;
  }
  
  .pillar-expand-btn {
    display: inline-block;
    background: linear-gradient(135deg, #f8f7fc 0%, #ede9fe 100%);
    border: 2px solid var(--indigo);
    border-radius: 8px;
    color: var(--indigo);
    font-weight: 700;
    font-size: 14px;
    padding: 12px 20px;
    margin: 16px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
  }
  
  .pillar-features {
    display: none;
    margin-top: 16px;
  }
  
  .pillar-content.is-expanded .pillar-features {
    display: block;
  }
  
  .pillar-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  /* Testimonials */
  .testimonials-grid {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 0 16px;
    margin: 0 -16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .testimonials-grid::-webkit-scrollbar {
    display: none;
  }
  
  .testimonial {
    flex: 0 0 85%;
    scroll-snap-align: center;
    padding: 24px 20px;
  }
  
  .testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
  }
  
  .testimonial-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--indigo);
    color: var(--indigo);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    min-height: 48px;
    min-width: 48px;
  }
  
  .testimonial-nav-btn:hover {
    background: var(--indigo);
    color: white;
  }
  
  /* Pricing */
  .pricing-section {
    padding: 80px 12px 60px; /* ← Augmente padding-top de 60px à 80px */
    overflow-x: hidden; /* ← ANTI-SCROLL */
  }
  
  .pricing-container {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .pricing-header h2 {
    font-size: 32px; /* ← RÉDUIT */
    line-height: 1.3;
    margin-top: 0; /* ← Assure pas de marge négative */
    padding-top: 0;
  }
  
  .pricing-header p {
    font-size: 16px; /* ← RÉDUIT */
  }
  
  .status-toggle button {
    padding: 8px 16px; /* ← RÉDUIT */
    font-size: 14px; /* ← RÉDUIT */
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 40px; /* ← Plus d'espace */
    width: 100%;
    overflow: visible; /* ← Permet débordement */
    padding-top: 24px; /* ← Espace en haut */
  }
  
  .price-card {
    padding: 28px 20px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: visible; /* ← CRUCIAL: permet badge de dépasser */
    margin-top: 20px; /* ← Espace pour le badge */
  }
  
  .price-card * {
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .price-card .badge-top {
    top: -14px; /* ← Bien au-dessus */
    right: 16px;
    padding: 5px 12px;
    font-size: 10px;
    z-index: 100; /* ← Z-index très élevé */
  }
  
  .price-card .features li {
    font-size: 14px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .payment-toggle button .sub-text {
    font-size: 11px;
  }
  
  /* CTA */
  .cta-after-section {
    padding: 36px 24px;
  }
  
  .cta-banner {
    padding: 48px 24px;
  }
  
  /* Video */
  .video-wrapper {
    padding: 0 16px;
  }
  
  .video-container {
    border-radius: 12px;
  }
}

/* ========================================
   18. UTILITIES
   ======================================== */
.text-center { text-align: center; }
.hidden { display: none !important; }

/* Anti-overflow */
@media (max-width: 768px) {
  h1, h2, h3, h4, h5, h6, p, span, div, a, li {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* FIX FOUC - Cacher pendant chargement i18n */
[data-i18n].i18n-loading {
  opacity: 0;
  transition: opacity 0.2s ease-in;
}

[data-i18n].i18n-loaded {
  opacity: 1;
}

/* Skeleton loader pendant chargement */
[data-i18n].i18n-loading::before {
  content: '';
  display: inline-block;
  width: 100%;
  height: 1em;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

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

.btn.i18n-loading::before,
.stat-number.i18n-loading::before,
.stat-label.i18n-loading::before {
  display: none;
}