/* METHODEA - Styles principaux */
/* Variables CSS - Design Apple/Google Inspired - Modern Edition */
:root {
  /* === PALETTE PRINCIPALE PROFESSIONNELLE === */
  --primary: #FF4B00;           /* Orange METHODEA */
  --primary-light: #FF6B2A;
  --primary-dark: #E64100;

  --accent: #1976D2;            /* Bleu professionnel (logo) */
  --accent-light: #42A5F5;
  --accent-dark: #1565C0;

  /* === COULEURS SYSTÈME === */
  --success: #4CAF50;
  --warning: #FFD700;
  --error: #DC3545;
  
  /* === NEUTRES PROFESSIONNELS === */
  --text-primary: #111111;
  --text-secondary: #666666;
  --background: #FFFFFF;
  --background-light: #F9F9F9;
  --white: #FFFFFF;

  /* Rétrocompatibilité */
  --dark: var(--text-primary);
  --dark-soft: #333333;
  --light: var(--background-light);
  --light-soft: #F5F5F5;
  
  /* Échelle de gris moderne */
  --gray-50: #F9F9F9;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-300: #DDDDDD;
  --gray-400: #999999;
  --gray-500: #666666;
  --gray-600: #555555;
  --gray-700: #333333;
  --gray-800: #222222;
  --gray-900: #111111;
  
  /* Couleurs orange étendues */
  --orange-50: #FFF5F0;
  --orange-100: #FFE5D6;
  --orange-200: #FFD0B3;
  --orange-300: #FFAA80;
  --orange-400: #FF7A40;
  --orange-500: #FF4B00;
  --orange-600: #E64100;
  --orange-700: #CC3A00;
  --orange-800: #AA3000;
  --orange-900: #882600;
  
  /* Couleurs supplémentaires MyStudies */
  --secondary: #E91E63;         /* Rose/rouge vif */
  --tertiary: #00AEEF;          /* Bleu turquoise */

  /* Gradients conservés pour cas spéciaux uniquement */
  --gradient-subtle: linear-gradient(135deg, #FFF5F0 0%, #FFE5D6 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
  
  /* Transitions modernes */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --transition-spring: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Ombres modernes */
  --shadow-soft: 0 2px 8px rgba(255, 75, 0, 0.12);
  --shadow-medium: 0 4px 16px rgba(255, 75, 0, 0.15);
  --shadow-large: 0 8px 32px rgba(255, 75, 0, 0.18);
  --shadow-neon: 0 0 20px rgba(255, 75, 0, 0.4), 0 4px 16px rgba(255, 75, 0, 0.2);
  
  /* Effets modernes */
  --blur-glass: blur(24px) saturate(180%);
  --blur-backdrop: blur(16px) saturate(120%);
}

/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  overflow-x: hidden;
  background: var(--background);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: var(--blur-backdrop);
  -webkit-backdrop-filter: var(--blur-backdrop);
  z-index: 1000;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  border-bottom: 1px solid rgba(25, 118, 210, 0.08);
}

nav.scrolled {
  box-shadow: var(--shadow-medium);
  background: rgba(248, 250, 252, 0.98);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  position: relative;
}


@keyframes glow {
  0%,
  100% {
    filter: brightness(1);
    transform: scale(1);
  }
  50% {
    filter: brightness(1.2);
    transform: scale(1.02);
  }
}

/* Styles pour le contenu du logo */
.logo .logo-by-text {
  color: var(--gray-700) !important;
  font-weight: 600 !important;
}

.logo .logo-subtitle {
  color: var(--accent) !important;
  font-weight: 700 !important;
}

.nav-links {
  display: flex;

  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 3px;
  background: var(--gradient);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.nav-links a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.cta-nav {
  background: var(--primary);
  color: white !important;
  padding: 0.75rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 75, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.cta-nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s ease;
}

.cta-nav:hover::before {
  left: 100%;
}

.cta-nav:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 35px rgba(255, 75, 0, 0.45);
  background: var(--primary-dark);
}

/* Menu mobile */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  z-index: 1001;
  transition: var(--transition-smooth);
}

.mobile-menu-toggle:hover {
  transform: scale(1.1);
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: white;
  z-index: 999;
  padding: 100px 2rem 2rem;
  animation: slideInMobile 0.3s ease;
}

@keyframes slideInMobile {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 1rem 0;
  font-size: 1.2rem;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1px solid var(--light);
  transition: all 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--primary);
  padding-left: 1rem;
}

/* Hero Section */
.hero {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
  background: white;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}



.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.hero-visual {
  position: relative;
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* Boutons */
.btn-primary {
  background: #FF4B00;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 10px 40px rgba(255, 75, 0, 0.3);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 100px;
  background: var(--gradient-vibrant);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 0 40px rgba(233, 30, 99, 0.8), 0 20px 50px rgba(255, 75, 0, 0.4);
  filter: brightness(1.1);
}

.btn-primary:hover::after {
  opacity: 1;
  animation: rotate-glow 3s linear infinite;
}

.btn-secondary {
  background: transparent;
  color: #E91E63;
  padding: 1rem 2.5rem;
  border: 2px solid #E91E63;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  transition: left 0.3s ease;
  z-index: -1;
}

.btn-secondary:hover::before {
  left: 0;
}

.btn-secondary:hover {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 35px rgba(233, 30, 99, 0.35);
}

/* Statistiques - Design moderne et premium */
.stats-container {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid #E3F2FD;
  box-shadow: 0 4px 12px rgba(13, 71, 161, 0.08);
  transition: var(--transition-smooth);
}

/* Animation supprimée pour simplifier */
.stats-container::after {
  display: none;
}

@keyframes rotate-glow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.stats-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: white;
  border-radius: 16px 16px 0 0;
}

.stats-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(13, 71, 161, 0.12);
  border-color: #BBDEFB;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat {
  text-align: center;
  padding: 1rem;
  border-radius: 12px;
  transition: var(--transition-smooth);
  position: relative;
  background: #FAFAFA;
  border: none;
}

/* Animation supprimée pour simplifier */
.stat::before {
  display: none;
}

.stat:hover {
  background: #F0F7FF;
  transform: translateY(-2px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.25rem;
  position: relative;
}

.stat-number::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat:hover .stat-number::after {
  opacity: 1;
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 0.25rem;
  line-height: 1.2;
}

.stat:hover .stat-label {
  color: var(--accent);
}

/* Icônes des stats - Design simple et professionnel */
.stat-icon {
  width: 40px;
  height: 40px;
  background: #E3F2FD;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  transition: var(--transition-smooth);
}

.stat-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
}

.stat:hover .stat-icon {
  background: #BBDEFB;
  transform: scale(1.05);
}

.stat:hover .stat-icon svg {
  fill: #0D47A1;
}

@keyframes icon-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Certificat humain */
.human-certificate {
  background: var(--gradient-success);
  color: white;
  padding: 0.75rem 1.5rem;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
}

/* En-têtes de section */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

/* Classes de base pour les titres animés */
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 1;
  transform: translateY(0);
  transition: var(--transition-smooth);
}

/* Animation préparée - appliquée seulement par JavaScript */
.section-title.animate-ready {
  opacity: 0;
  transform: translateY(40px);
}

/* Animation trigger classes */
.title-animate-reveal {
  animation: titleReveal 1.2s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
}

.title-animate-slide {
  animation: titleSlideIn 1s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
}

.title-animate-fade {
  animation: titleFadeUp 0.8s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
}

.title-animate-glow {
  animation: titleReveal 1.2s cubic-bezier(0.4, 0.0, 0.2, 1) forwards,
             titleGlow 3s ease-in-out infinite 1.2s;
}

/* Titres spécifiques avec animations personnalisées */
.hero-title {
  position: relative;
  overflow: hidden;
}



/* Animation en cascade pour les mots */
.title-cascade .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px) rotateX(90deg);
  transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.title-cascade.animate .word {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
}

.title-cascade.animate .word:nth-child(1) { transition-delay: 0s; }
.title-cascade.animate .word:nth-child(2) { transition-delay: 0.1s; }
.title-cascade.animate .word:nth-child(3) { transition-delay: 0.2s; }
.title-cascade.animate .word:nth-child(4) { transition-delay: 0.3s; }
.title-cascade.animate .word:nth-child(5) { transition-delay: 0.4s; }
.title-cascade.animate .word:nth-child(6) { transition-delay: 0.5s; }

/* Animation de typing pour certains titres */
.title-typing {
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
}

.title-typing.animate {
  animation: titleTypewriter 2s steps(40, end) forwards;
}

.title-typing::after {
  content: '|';
  position: absolute;
  right: 0;
  color: var(--primary);
  /* Animation distracting removed */
}


/* Performance et accessibilité */
@media (prefers-reduced-motion: reduce) {
  .section-title,
  .hero-title,
  .title-cascade .word,
  .title-typing {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  
  .hero-title::after {
    display: none;
  }
}

/* Optimisations mobile pour les animations */
@media (max-width: 768px) {
  .title-cascade .word {
    transform: translateY(30px);
  }
  
  @keyframes titleReveal {
    0% {
      opacity: 0;
      transform: translateY(30px) scale(0.9);
      filter: blur(5px);
    }
    100% {
      opacity: 1;
      transform: translateY(0) scale(1);
      filter: blur(0);
    }
  }
  
  @keyframes titleSlideIn {
    0% {
      opacity: 0;
      transform: translateX(-40px);
      filter: blur(4px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
      filter: blur(0);
    }
  }
}

/* Section Book moderne */
.book-promotion {
  background: white;
  padding: 4rem 2rem;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
}

.book-promotion::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 45deg, transparent, rgba(25, 118, 210, 0.08), transparent, rgba(0, 188, 212, 0.06), transparent);
  animation: rotate-glow 20s linear infinite;
  z-index: -1;
}

.book-promotion::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.5);
  z-index: 0;
  pointer-events: none;
}

.book-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.book-content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
  justify-content: center;
}

.book-image-container {
  flex: 0 0 300px;
  text-align: center;
  position: relative;
}

.book-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-large);
  transition: var(--transition-bounce);
  position: relative;
}

.book-image:hover {
  transform: translateY(-10px) scale(1.05) rotateY(5deg);
  box-shadow: 0 20px 60px rgba(25, 118, 210, 0.3);
}

.book-image-container::after {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: var(--gradient-vibrant);
  border-radius: 25px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
  filter: blur(20px);
}

.book-image-container:hover::after {
  opacity: 0.4;
}

.book-text-content {
  flex: 1;
  min-width: 320px;
}

.book-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: var(--blur-backdrop);
  -webkit-backdrop-filter: var(--blur-backdrop);
  padding: 3rem;
  border-radius: 25px;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(25, 118, 210, 0.1);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.book-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
}

.book-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-large);
  background: rgba(255, 255, 255, 0.95);
}

.book-badge {
  background: var(--gradient);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-soft);
  /* Animation pulse removed for professional look */
}

.book-title {
  color: var(--dark);
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 800;
  line-height: 1.2;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.book-author {
  color: var(--gray-600);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.book-description {
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.book-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.book-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue-50);
  padding: 0.75rem 1.25rem;
  border-radius: 15px;
  border: 1px solid var(--blue-200);
  transition: var(--transition-smooth);
}

.book-feature:hover {
  background: var(--blue-100);
  transform: translateY(-2px);
}

.book-feature-icon {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
}

.book-feature-text {
  color: var(--dark);
  font-weight: 500;
  font-size: 0.95rem;
}

.book-cta-button {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 1.25rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--shadow-medium);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.book-cta-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.book-cta-button:hover::before {
  width: 400px;
  height: 400px;
}

.book-cta-button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-large);
  background: var(--primary-dark);
}

/* États de chargement et fallback */
.section-title.loading {
  opacity: 0.3;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
}

/* Amélioration des performances avec will-change */
.section-title,
.hero-title,
.title-cascade .word {
  will-change: transform, opacity, filter;
}

.section-title.animated,
.hero-title.animated,
.title-cascade.animated .word {
  will-change: auto;
}

/* Animations modernes pour les titres - Style Apple/Google */
@keyframes titleReveal {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.8);
    filter: blur(10px);
  }
  60% {
    opacity: 0.8;
    transform: translateY(-10px) scale(1.02);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes titleSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-80px);
    filter: blur(8px);
  }
  70% {
    opacity: 0.9;
    transform: translateX(10px);
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

@keyframes titleFadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
    letter-spacing: 0.1em;
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: normal;
    filter: blur(0);
  }
}

@keyframes titleTypewriter {
  0% {
    width: 0;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    width: 100%;
    opacity: 1;
  }
}

@keyframes titleGlow {
  0%, 100% {
    text-shadow: 0 0 5px rgba(25, 118, 210, 0.3);
  }
  50% {
    text-shadow: 0 0 20px rgba(25, 118, 210, 0.6), 0 0 30px rgba(59, 130, 246, 0.4);
  }
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  line-height: 1.8;
}

/* Section Expertise */
.expertise {
  padding: 5rem 2rem;
  background: white;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--accent-dark);
}

.expertise::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(233, 30, 99, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
  animation: floating-orbs 20s ease-in-out infinite;
  z-index: -1;
}

@keyframes floating-orbs {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

.expertise > * {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  padding: 2.5rem;
  border-radius: 25px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  transform: translateY(0);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(233, 30, 99, 0.1), transparent);
  transition: left 0.8s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.service-card:hover::before {
  opacity: 0.05;
}

.service-card:hover {
  transform: translateY(-15px) scale(1.05) rotateX(5deg);
  box-shadow: 0 20px 60px rgba(233, 30, 99, 0.4), 0 0 20px rgba(233, 30, 99, 0.3);
  border-color: rgba(233, 30, 99, 0.5);
  background: rgba(255, 255, 255, 0.2);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: #FF4B00;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 2rem;
  box-shadow: 0 4px 16px rgba(255, 75, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
}

.service-icon::after {
  content: '';
  position: absolute;
  inset: -3px;
  background: rgba(255, 75, 0, 0.2);
  border-radius: 25px;
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.3s ease;
  z-index: -1;
}

.service-card:hover .service-icon {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(255, 75, 0, 0.4);
}

.service-card:hover .service-icon::after {
  opacity: 0.8;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: 700;
}

.service-card p {
  color: var(--gray-500);
  line-height: 1.8;
}

/* Section Roadmap */
.roadmap {
  padding: 5rem 2rem;
  background: white;
  position: relative;
  overflow: hidden;
}

.roadmap::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg at 50% 50%, transparent, rgba(233, 30, 99, 0.1), transparent, rgba(139, 92, 246, 0.1), transparent);
  animation: rotate-glow 25s linear infinite;
  z-index: -1;
}

.roadmap::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 0;
  pointer-events: none;
}

.roadmap > * {
  position: relative;
  z-index: 1;
}

.roadmap-timeline {
  max-width: 1200px;
  margin: 0 auto;

  position: relative;
}

.roadmap-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--gradient);

  opacity: 0.3;
}

.roadmap-item {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
}

.roadmap-item:nth-child(even) {
  flex-direction: row-reverse;
}

.roadmap-content {
  flex: 1;
  padding: 2rem;
  padding-bottom: 5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border-radius: 25px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin: 0 2rem;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.roadmap-content::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-vibrant);
  border-radius: 25px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.roadmap-content:hover {
  transform: translateY(-8px) scale(1.03) rotateY(5deg);
  box-shadow: 0 20px 60px rgba(233, 30, 99, 0.4);
  background: rgba(255, 255, 255, 0.25);
}

.roadmap-content:hover::after {
  opacity: 0.3;
}

.roadmap-dot {
  width: 40px;
  height: 40px;
  background: #FF4B00;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(255, 75, 0, 0.3);
  position: absolute;
  left: 50%;
  bottom: 15px;
  transform: translateX(-50%);
  z-index: 2;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 10px 30px rgba(255, 75, 0, 0.3);
  }
  50% {
    box-shadow: 0 10px 40px rgba(255, 75, 0, 0.5);
  }
}

.roadmap-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-weight: 700;
}

.roadmap-content p {
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.roadmap-duration {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: white;
  border-radius: 100px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Section Quiz */
.quiz-section {
  padding: 5rem 2rem;
  background: white;
  border-top: 3px solid var(--accent-teal);
}

.quiz-container {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  padding: 3rem;
  border-radius: 35px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
  border: 2px solid rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
}

.quiz-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 45deg, transparent, rgba(233, 30, 99, 0.1), transparent);
  animation: rotate-glow 20s linear infinite;
  z-index: -1;
}

.quiz-header {
  text-align: center;
  margin-bottom: 3rem;
}

.quiz-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.quiz-progress {
  background: white;
  height: 10px;
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.quiz-progress-bar {
  height: 100%;
  background: var(--gradient);
  transition: width 0.5s ease;
  border-radius: 100px;
}

.quiz-question {
  margin-bottom: 2rem;
}

.quiz-question h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quiz-option {
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(226, 232, 240, 0.3);
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-bounce);
  font-size: 1.05rem;
  position: relative;
  overflow: hidden;
}

.quiz-option::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(233, 30, 99, 0.2), transparent);
  transition: left 0.6s ease;
  transform: translateY(-50%);
}

.quiz-option:hover::before {
  left: 100%;
}

.quiz-option:hover {
  border-color: rgba(233, 30, 99, 0.6);
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(12px) scale(1.03) rotateZ(1deg);
  box-shadow: 0 10px 30px rgba(233, 30, 99, 0.3);
}

.quiz-option.selected {
  border-color: var(--primary);
  background: rgba(255, 75, 0, 0.1);
}

.quiz-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.quiz-btn {
  padding: 1rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quiz-btn-next {
  background: var(--gradient);
  color: white;
}

.quiz-btn-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 75, 0, 0.3);
}

.quiz-results {
  text-align: center;
  padding: 2rem;
}

.quiz-score {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

/* Section Formules */
.formulas {
  padding: 5rem 2rem;
  background: white;
  position: relative;
  overflow: hidden;
}

.formulas::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: conic-gradient(from 180deg, transparent, rgba(249, 115, 22, 0.1), transparent, rgba(233, 30, 99, 0.1), transparent);
  animation: rotate-glow 30s linear infinite;
  z-index: -1;
}

.formulas::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  z-index: 0;
  pointer-events: none;
}

.formulas > * {
  position: relative;
  z-index: 1;
}

.formulas-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2.5rem;
}

.formula-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border-radius: 35px;
  padding: 3rem;
  position: relative;
  transition: var(--transition-bounce);
  border: 2px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.formula-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(233, 30, 99, 0.1), transparent);
  animation: rotate-glow 15s linear infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.formula-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient);
}

.formula-card:hover {
  transform: translateY(-15px) scale(1.05) rotateZ(2deg);
  box-shadow: 0 20px 60px rgba(233, 30, 99, 0.4), 0 0 40px rgba(233, 30, 99, 0.3);
  border-color: rgba(233, 30, 99, 0.6);
  background: rgba(255, 255, 255, 0.2);
}

.formula-card:hover::after {
  opacity: 1;
}

.formula-card.popular {
  transform: scale(1.05);
  box-shadow: 0 25px 70px rgba(255, 75, 0, 0.2);
  border-color: var(--primary);
  animation: highlight 3s ease-in-out infinite;
}

@keyframes highlight {
  0%, 100% {
    box-shadow: 0 25px 70px rgba(255, 75, 0, 0.2);
  }
  50% {
    box-shadow: 0 30px 80px rgba(255, 75, 0, 0.3);
  }
}

.popular-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient-sky);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 100px;
  font-size: 0.85rem;
  /* Animation pulse removed for professional look */
  font-weight: 700;
  /* Animation pulse removed for professional look */
}

@keyframes pulse-badge {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.08) rotate(5deg);
  }
}

.formula-name {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.formula-price {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.formula-subtitle {
  color: var(--gray-500);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.payment-options {
  background: white;
  padding: 1rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  text-align: center;
}

.payment-options strong {
  color: var(--success);
  font-size: 1.1rem;
}

.formula-features {
  list-style: none;
  margin-bottom: 2rem;
}

.formula-features li {
  padding: 0.75rem 0;
  display: flex;
  align-items: flex-start;
  color: var(--gray-600);
  font-size: 1.05rem;
}

.formula-features li::before {
  content: "✓";
  margin-right: 1rem;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--success);
}

.formula-cta {
  background: var(--gradient);
  color: white;
  padding: 1rem 2rem;
  border-radius: 100px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  display: block;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.formula-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.formula-cta:hover::before {
  width: 400px;
  height: 400px;
}

.formula-cta:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 50px rgba(255, 75, 0, 0.4);
  filter: brightness(1.1);
}

/* Section Consultation CTA */
.consultation-cta {
  padding: 5rem 2rem;
  background: var(--accent);
  text-align: center;
  color: white;
  position: relative;
}





.consultation-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.consultation-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

.consultation-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.consultation-button {
  background: white;
  color: var(--accent);
  padding: 1.25rem 3rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}


.consultation-button:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  background: #f5f5f5;
  color: #1565C0;
}

/* Section Témoignages - Design moderne */
.testimonials {
  padding: 80px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.testimonials-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  padding: 0 20px;
}

.testimonials .testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.testimonials .testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.testimonials .testimonial-quote {
  font-size: 16px;
  line-height: 1.8;
  color: #1f2937;
  margin-bottom: 24px;
  font-weight: 400;
  position: relative;
  padding-left: 24px;
}

.testimonials .testimonial-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -8px;
  font-size: 48px;
  color: #FF4B00;
  opacity: 0.2;
  font-weight: 900;
}

.testimonials .testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid #f3f4f6;
}

.testimonials .author-avatar {
  background: linear-gradient(135deg, #FF4B00 0%, #ff6b35 100%);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 75, 0, 0.3);
}

.testimonials .author-info {
  flex: 1;
}

.testimonials .author-name {
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
  font-size: 16px;
}

.testimonials .author-role {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 6px;
}

.testimonials .rating {
  color: #fbbf24;
  font-size: 14px;
  letter-spacing: 2px;
}

/* Section Trust Badges */
.trust-badges {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.7) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 3rem 2rem;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.trust-badges::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 270deg, transparent, rgba(20, 184, 166, 0.1), transparent);
  animation: rotate-glow 12s linear infinite;
  z-index: -1;
}

.trust-badges::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
}

.badges-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.badge::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-vibrant);
  border-radius: 20px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.badge:hover {
  transform: translateY(-12px) scale(1.08) rotateZ(3deg);
  box-shadow: 0 15px 40px rgba(233, 30, 99, 0.3);
}

.badge:hover::after {
  opacity: 0.3;
}

.badge-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 5px 20px rgba(255, 75, 0, 0.2);
  font-weight: bold;
  transition: var(--transition-smooth);
}

.badge:hover .badge-icon {
  transform: rotate(360deg);
  box-shadow: 0 8px 30px rgba(255, 75, 0, 0.35);
}

.badge-icon.human-badge {
  background: var(--success);
}

.badge-content {
  text-align: left;
}

.badge-title {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.badge-subtitle {
  color: var(--gray-500);
  font-size: 0.95rem;
}

/* Popup CTA */
.popup-cta {
  display: none;
  position: fixed !important;
  bottom: 100px;
  right: 30px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(13, 71, 161, 0.2);
  border: 2px solid rgba(25, 118, 210, 0.3);
  max-width: 350px;
  z-index: 9999;
  overflow: hidden;
}


.popup-cta::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-success);
  border-radius: 25px;
  opacity: 0.3;
  z-index: -1;
  /* Animation supprimée */
}


.popup-cta.active {
  display: block !important;
  position: fixed !important;
  bottom: 100px !important;
  right: 30px !important;
  z-index: 9999 !important;
}

/* Bouton fermeture amélioré */
.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  color: #64748b;
  z-index: 999;
  transition: all 0.3s ease;
  /* Amélioration de l'accessibilité */
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.popup-close:hover,
.popup-close:focus {
  background: #ef4444;
  color: white;
  transform: rotate(90deg) scale(1.1);
  outline: none;
}

.popup-close:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.popup-header {
  margin-bottom: 1rem;
}

.popup-title {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.popup-subtitle {
  color: var(--gray-500);
  font-size: 1rem;
}

.popup-body {
  margin-bottom: 1.5rem;
}

.popup-body p {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.popup-highlight {
  background: white;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.popup-highlight strong {
  color: var(--primary);
}

.popup-cta-button {
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  display: block;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(255, 75, 0, 0.3);
}

.popup-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(255, 75, 0, 0.4);
  background: var(--primary-dark);
}

/* Bouton WhatsApp flottant gauche */
.whatsapp-button-left {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  animation: pulse-whatsapp 2s ease-in-out infinite;
}

@keyframes pulse-whatsapp {
  0%, 100% {
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 15px 50px rgba(37, 211, 102, 0.6);
    transform: scale(1.05);
  }
}

.whatsapp-button-left:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 50px rgba(37, 211, 102, 0.5);
  background: linear-gradient(135deg, #128c7e, #25d366);
}

.whatsapp-button-left svg {
  width: 35px;
  height: 35px;
  fill: white;
}

/* Styles pour pages spécialisées - Navigation */
.back-btn {
  background: #FF4B00;
  color: white;
  border: 2px solid #FF4B00;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.back-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 75, 0, 0.3);
  background: #ff5a10;
  border-color: #ff5a10;
}

/* Navigation Breadcrumb pour pages spécialisées */
.breadcrumb-nav {
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 75, 0, 0.1);
  margin-top: 80px;
}

.breadcrumb-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.breadcrumb {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
  content: '→';
  margin-left: 0.5rem;
  color: var(--gray-500);
  font-weight: 500;
}

.breadcrumb-item a {
  text-decoration: none;
  color: var(--gray-500);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
}

.breadcrumb-item a:hover {
  color: var(--primary);
  background: rgba(255, 75, 0, 0.1);
}

.breadcrumb-item:last-child a,
.breadcrumb-item.active span {
  color: var(--primary);
  font-weight: 600;
}

/* Footer pour pages spécialisées - Styles alternatifs */
.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.footer-brand {
  text-align: left;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--gray-300);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.5rem 0;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-links a:hover {
  color: white;
  transform: translateY(-2px);
}

/* Footer principal - Styles pour index.html */
footer {
  background: linear-gradient(180deg, var(--dark) 0%, #0a0e1a 100%);
  color: white;
  padding: 4rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(255, 75, 0, 0.1) 0%,
    transparent 70%
  );
  animation: float-footer 20s ease-in-out infinite;
}

@keyframes float-footer {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(100px, 50px);
  }
}

.footer-main {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.footer-brand {
  grid-column: 1;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.footer-description {
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: white;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: var(--gray-300);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-section ul li a:hover {
  color: var(--primary);
  padding-left: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
}

/* Modal - Design moderne et premium */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: var(--blur-backdrop);
  -webkit-backdrop-filter: var(--blur-backdrop);
}


.modal-content {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 1.5rem;
  border-radius: 20px;
  width: 90%;
  max-width: 450px;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideIn 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
  box-shadow: 0 25px 80px rgba(25, 118, 210, 0.2), 0 0 40px rgba(25, 118, 210, 0.1);
  border: 2px solid rgba(25, 118, 210, 0.1);
  position: relative;
}

.modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient);
  border-radius: 28px 28px 0 0;
}

.modal-content::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(25, 118, 210, 0.05), transparent);
  animation: rotate-glow 20s linear infinite;
  z-index: -1;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%) scale(0.9);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(0);
  }
}

.modal-close {
  position: absolute;
  right: 24px;
  top: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(25, 118, 210, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-bounce);
  font-size: 20px;
  color: var(--gray-600);
  box-shadow: var(--shadow-soft);
  z-index: 10;
}

.modal-close:hover {
  background: var(--error);
  color: white;
  transform: rotate(90deg) scale(1.1);
  border-color: var(--error);
  box-shadow: 0 8px 25px rgba(244, 67, 54, 0.4);
}

.modal-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.modal-header::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.modal-subtitle {
  color: var(--gray-500);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

/* Formulaires - Design moderne */
.form-group {
  margin-bottom: 1rem;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  position: relative;
}

.form-group label::after {
  content: '*';
  color: var(--error);
  margin-left: 4px;
  font-size: 1.1rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: inherit;
  position: relative;
}

.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  resize: vertical;
  min-height: 70px;
  max-height: 100px;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(25, 118, 210, 0.15), var(--shadow-soft);
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--primary-light);
  transform: translateY(-1px);
}

.form-submit {
  background: var(--gradient);
  color: white;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-bounce);
  width: 100%;
  margin-top: 0.5rem;
  box-shadow: var(--shadow-medium);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 1rem;
}

.form-submit::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.form-submit:hover::before {
  width: 400px;
  height: 400px;
}

.form-submit:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-large);
  filter: brightness(1.1);
}

.form-submit:active {
  transform: translateY(-2px) scale(0.98);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .roadmap-timeline::before {
    left: 20px;
  }

  .roadmap-item {
    flex-direction: row !important;
    padding-left: 60px;
  }

  .roadmap-dot {
    left: 20px;
  }

  .roadmap-content {
    margin: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-text h1 {
    font-size: clamp(2rem, 7vw, 2.5rem);
  }

  .hero-text p {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 320px;
    text-align: center;
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .formulas-container {
    grid-template-columns: 1fr;
  }

  .badges-container {
    flex-direction: column;
  }

  /* Popup mobile améliorée */
  .popup-cta {
    bottom: 20px;
    right: 20px;
    left: 20px;
    max-width: none;
    width: auto;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    /* S'assurer que toute la popup est visible */
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    /* Éviter les conflits avec d'autres éléments */
    position: fixed;
    z-index: 9999;
  }

  .popup-title {
    font-size: 1.3rem !important;
    margin-bottom: 0.3rem;
  }

  .popup-subtitle {
    font-size: 0.9rem !important;
  }

  .popup-body {
    margin-bottom: 1rem;
  }

  .popup-body p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .popup-body ul li {
    padding: 0.3rem 0;
    font-size: 0.9rem;
  }

  .popup-cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  /* Amélioration du bouton fermeture sur mobile */
  .popup-close {
    top: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    font-size: 20px;
    /* Zone de touch plus grande pour mobile */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  /* Zone de touch élargie invisible pour mobile */
  .popup-close::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    z-index: -1;
  }

  .whatsapp-button-left {
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
  }
  
  .whatsapp-button-left svg {
    width: 30px;
    height: 30px;
  }

  .modal-content {
    width: 95%;
    max-height: 85vh;
    padding: 1.5rem;
    border-radius: 16px;
  }
  
  .modal-title {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
  }
  
  .modal-close {
    width: 40px;
    height: 40px;
    right: 20px;
    top: 20px;
  }
  
  /* Book section responsive */
  .book-promotion {
    padding: 3rem 1rem;
  }
  
  .book-content-wrapper {
    gap: 2rem;
  }
  
  .book-image-container {
    flex: 0 0 250px;
  }
  
  .book-card {
    padding: 2rem;
  }
  
  .book-title {
    font-size: 1.8rem;
  }
  
  .book-features {
    flex-direction: column;
  }
}


@media (max-width: 480px) {
  .nav-container {
    padding: 1rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .hero-content {
    padding: 2rem 1rem;
  }

  .hero-text h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .expertise,
  .roadmap,
  .quiz-section,
  .formulas,
  .testimonials {
    padding: 3rem 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .consultation-cta {
    padding: 3rem 1rem;
  }

  .service-card,
  .testimonial-card {
    padding: 2rem;
  }

  .quiz-container {
    padding: 2rem;
  }

  .formula-card {
    padding: 2rem;
  }

  .stats-container {
    padding: 1.5rem;
  }

  .stat {
    padding: 0.75rem;
  }
  
  .stat-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .modal-content {
    padding: 1.25rem;
    width: 95%;
    max-height: 85vh;
    border-radius: 12px;
  }

  .modal-title {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
  }

  .modal-subtitle {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .form-group {
    margin-bottom: 0.75rem;
  }

  .form-group input,
  .form-group select {
    padding: 0.625rem 0.875rem;
    font-size: 0.9rem;
    border-radius: 10px;
  }

  .form-group textarea {
    min-height: 60px;
    max-height: 90px;
    padding: 0.625rem 0.875rem;
    border-radius: 10px;
  }
  
  .form-submit {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* Floating Action Button Styles */
.fab-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999 !important;
}

.fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #FF4B00;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(255, 75, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 10000 !important;
}

@keyframes fab-pulse {
  0%, 100% {
    box-shadow: var(--shadow-neon);
  }
  50% {
    box-shadow: 0 0 40px rgba(233, 30, 99, 0.8), 0 8px 20px rgba(255, 75, 0, 0.3);
  }
}

.fab:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 24px rgba(255, 75, 0, 0.4);
}

.fab-icon, .fab-close {
  width: 24px;
  height: 24px;
  fill: white;
  color: white;
  transition: all 0.3s ease;
}

.fab-close {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.fab-menu {
  position: absolute;
  bottom: 70px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: all 0.3s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 9998 !important;
}

.fab-menu:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}

.fab-item {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  transform: scale(0.8);
}

.fab-menu:not(.hidden) .fab-item {
  transform: scale(1);
}

.fab-item:hover {
  transform: scale(1.1) translateY(-2px);
}

.fab-item svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.fab-item.phone-fab {
  background: linear-gradient(135deg, #27ae60, #2ecc71) !important;
}

.fab-item.whatsapp-fab {
  background: linear-gradient(135deg, #25d366, #128c7e) !important;
}


.hidden {
  display: none !important;
}

/* === STYLES SPÉCIFIQUES PAGES === */
/* Styles pour toutes les pages spécialisées (TFE, MASTER, DSCG, CAFERUIS) */
.specific-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.specific-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.specific-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #FF4B00;
    display: block;
}

.specific-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.3;
}

.specific-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Page-specific backgrounds optimized for professional appearance */
.page-tfe body {
    background: var(--background);
}

.page-master body {
    background: var(--background);
}

.page-dscg body {
    background: var(--background);
}

.page-caferuis body {
    background: var(--background);
}

/* === STYLES SPÉCIFIQUES PROGRAMME - Copie exacte Roadmap === */
.program-section {
    padding: 5rem 2rem;
    background: white;
    position: relative;
    overflow: hidden;
}

.program-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, transparent, rgba(255, 75, 0, 0.1), transparent, rgba(255, 107, 53, 0.1), transparent);
    animation: rotate-glow 25s linear infinite;
    z-index: -1;
}

.program-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 0;
    pointer-events: none;
}

.program-section > * {
    position: relative;
    z-index: 1;
}

.program-timeline {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.program-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(135deg, #FF4B00 0%, #ff6b35 50%, #FF4B00 100%);
    opacity: 0.3;
}

.program-item {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.program-item:nth-child(even) {
    flex-direction: row-reverse;
}

.program-content {
    flex: 1;
    padding: 2rem;
    padding-bottom: 5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 25px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    margin: 0 2rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.program-content::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #FF4B00, #ff6b35, #FF4B00);
    border-radius: 25px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.program-content:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.program-content:hover::after {
    opacity: 0;
}

.program-dot {
    width: 40px;
    height: 40px;
    background: #FF4B00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(255, 75, 0, 0.3);
    position: absolute;
    left: 50%;
    bottom: 15px;
    transform: translateX(-50%);
    z-index: 10;
    border: 3px solid white;
}

.program-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: #FF4B00;
    font-weight: 700;
}

.program-content p {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.program-duration {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: white;
    color: #FF4B00;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 1rem;
    border: 2px solid #FF4B00;
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
}

.program-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.program-features li {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.5;
}

.program-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #FF4B00;
    font-weight: 700;
    font-size: 1.2rem;
}

.program-duration {
    background: rgba(255, 75, 0, 0.1);
    color: #FF4B00;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    border: 1px solid rgba(255, 75, 0, 0.2);
}

/* === STYLES SPÉCIFIQUES GRILLE - STYLE SIMPLE === */
.specifics-section {
    padding: 5rem 2rem;
    background: #FAFBFC;
}

.specifics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* === STYLES CTA SECTION - STYLE PROFESSIONNEL === */
.cta-section {
    background: var(--accent);
    padding: 4rem 2rem;
    text-align: center;
    color: white;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-button {
    background: white;
    color: var(--accent);
    padding: 1rem 2.5rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    color: var(--accent);
}

/* === STYLES SPECIALTIES SECTION === */
.specialties-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.specialties-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.specialty-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.specialty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF4B00, #ff6b35);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.specialty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.specialty-card:hover::before {
    transform: scaleX(1);
}

.specialty-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    background: linear-gradient(135deg, rgba(255, 75, 0, 0.1), rgba(255, 107, 53, 0.1));
    border-radius: 20px;
}

.specialty-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.specialty-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #6b7280;
}

/* === STYLES TESTIMONIALS PROFESSIONNELS - Design moderne === */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.testimonials-section .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonials-section .testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.testimonials-section .testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.testimonials-section .testimonial-quote {
    font-size: 16px;
    line-height: 1.8;
    color: #1f2937;
    margin-bottom: 24px;
    font-weight: 400;
    position: relative;
    padding-left: 24px;
}

.testimonials-section .testimonial-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -8px;
    font-size: 48px;
    color: #FF4B00;
    opacity: 0.2;
    font-weight: 900;
}

.testimonials-section .testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
}

.testimonials-section .author-avatar {
    background: linear-gradient(135deg, #FF4B00 0%, #ff6b35 100%);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 75, 0, 0.3);
}

.testimonials-section .author-info {
    flex: 1;
}

.testimonials-section .author-name {
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
    font-size: 16px;
}

.testimonials-section .author-role {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 6px;
}

.testimonials-section .rating {
    color: #fbbf24;
    font-size: 14px;
    letter-spacing: 2px;
}

/* === RESPONSIVE DESIGN PAGES SPÉCIFIQUES === */
@media (max-width: 768px) {
  /* Timeline responsive - aligné avec roadmap */
  .program-timeline::before {
    left: 20px;
  }

  .program-item {
    flex-direction: row !important;
    padding-left: 60px;
  }

  .program-dot {
    left: auto;
    right: 20px;
    bottom: 10px;
    transform: none;
  }

  .program-content {
    margin: 0;
    padding-bottom: 4rem;
  }

  .program-duration {
    bottom: 1rem;
    right: 1rem;
    font-size: 0.8rem;
  }

  /* Sections responsive */
  .program-section,
  .specifics-section,
  .specialties-section,
  .testimonials-section,
  .cta-section {
    padding: 3rem 1rem;
  }

  .specialties-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .specialty-card {
    padding: 2rem;
  }

  .specialty-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 2rem;
  }

  /* Grilles responsive */
  .specifics-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* CTA responsive */
  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-button {
    padding: 1rem 2rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .program-item,
  .specific-card {
    padding: 1.5rem;
  }

  .specific-icon {
    font-size: 2.5rem;
  }

  .program-content h3 {
    font-size: 1.1rem;
  }

  .cta-content h2 {
    font-size: 1.6rem;
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .fab-container {
    bottom: 20px;
    right: 20px;
  }

  .fab {
    width: 55px;
    height: 55px;
  }
  
  .fab-item {
    width: 45px;
    height: 45px;
  }
  
  .fab-item svg {
    width: 20px;
    height: 20px;
  }
}
