/* Base reset et variables CSS */
:root {
  --primary-color: #8a4cff;
  --secondary-color: #ff8aff;
  --accent-color: #00d4ff;
  --background-dark: #0a0a0f;
  --background-darker: #050508;
  --text-primary: #ffffff;
  --text-secondary: #b8b8c8;
  --text-muted: #8a8a9a;
  --gradient-primary: linear-gradient(135deg, #8a4cff 0%, #ff8aff 100%);
  --gradient-secondary: linear-gradient(135deg, #00d4ff 0%, #8a4cff 100%);
  --gradient-dark: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
  --shadow-glow: 0 0 30px rgba(138, 76, 255, 0.3);
  --shadow-strong: 0 0 50px rgba(138, 76, 255, 0.5);
  --border-radius: 16px;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--background-dark);
  color: var(--text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: hidden;
  position: relative;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Background animé global */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(138, 76, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 138, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
  animation: backgroundShift 20s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes backgroundShift {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

a { 
  color: var(--primary-color); 
  text-decoration: none; 
  transition: var(--transition-smooth);
}

h1, h2, h3, h4 { 
  font-weight: 700; 
  font-family: 'Space Grotesk', sans-serif;
}

/* SOLUTION SIMPLE - UNE SEULE BARRE DE DÉFILEMENT */
html {
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
}

/* STYLE DE LA BARRE DE DÉFILEMENT PRINCIPALE */
/* Webkit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(10, 10, 15, 0.8);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #8a4cff 0%, #ff8aff 100%);
  border-radius: 10px;
  border: 2px solid rgba(10, 10, 15, 0.8);
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #9a5cff 0%, #ff9aff 100%);
  box-shadow: 0 0 20px rgba(138, 76, 255, 0.6);
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #8a4cff rgba(10, 10, 15, 0.8);
}

/* Optimisation du scroll pour les performances */

/* Transitions fluides pour tous les éléments - SUPPRIMÉES */
section {
  margin: 0;
  padding: 0;
}

/* Effets de parallax subtils pour les sections - SUPPRIMÉS */

/* Transitions de fond fluides - SUPPRIMÉES */

/* Effet de fondu entre sections - SUPPRIMÉ */

/* Classe visible supprimée */

/* ================================
   NAVBAR AVEC TRANSITIONS
=============================== */

.main-navigation {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(10px);
}

.navbar-scrolled {
  background: rgba(10, 10, 15, 0.95) !important;
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ================================
   TRANSITIONS DE COULEUR FLUIDES - SUPPRIMÉES
   (Causaient des écarts entre les sections et le footer)
=============================== */

/* ================================
   TRANSITIONS VISIBLES DE BACKGROUND
=============================== */

/* Transitions de fond avec animations visibles */
section {
  transition: all 0.8s ease-in-out;
  position: relative;
  overflow: hidden;
}

/* Animation de morphing des gradients */
@keyframes morphGradient {
  0% {
    background-position: 0% 0%, 100% 100%, 50% 50%;
  }
  25% {
    background-position: 100% 0%, 0% 100%, 25% 75%;
  }
  50% {
    background-position: 100% 100%, 0% 0%, 75% 25%;
  }
  75% {
    background-position: 0% 100%, 100% 0%, 50% 50%;
  }
  100% {
    background-position: 0% 0%, 100% 100%, 50% 50%;
  }
}

/* Animation de vague pour les backgrounds */
@keyframes waveEffect {
  0% {
    background-position: 0% 0%;
    filter: hue-rotate(0deg);
  }
  25% {
    background-position: 100% 0%;
    filter: hue-rotate(90deg);
  }
  50% {
    background-position: 100% 100%;
    filter: hue-rotate(180deg);
  }
  75% {
    background-position: 0% 100%;
    filter: hue-rotate(270deg);
  }
  100% {
    background-position: 0% 0%;
    filter: hue-rotate(360deg);
  }
}

/* Animation de pulsation des couleurs */
@keyframes colorPulse {
  0% {
    background-size: 100% 100%, 100% 100%;
    opacity: 0.8;
  }
  50% {
    background-size: 120% 120%, 80% 80%;
    opacity: 1;
  }
  100% {
    background-size: 100% 100%, 100% 100%;
    opacity: 0.8;
  }
}

/* Application des animations visibles */
.hero-redesigned {
  animation: morphGradient 25s ease-in-out infinite;
  background-size: 200% 200%, 150% 150%, 180% 180%;
}

.about-section {
  animation: waveEffect 30s linear infinite;
  background-size: 250% 250%;
}

.book-section {
  /* Animation supprimée pour éviter les conflits avec improved-design.css */
}

.team-section {
  animation: morphGradient 35s ease-in-out infinite;
  background-size: 200% 200%, 150% 150%, 180% 180%;
}

.contact-section {
  animation: waveEffect 28s linear infinite;
  background-size: 250% 250%;
}

/* Transitions d'éléments avec effets visibles */
.btn, .nav-link, .card, .team-member {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn:hover, .nav-link:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(138, 76, 255, 0.4);
}

.card:hover, .team-member:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 15px 35px rgba(138, 76, 255, 0.3);
}

/* Gradients de transition visibles entre sections */
.hero-redesigned::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(22, 33, 62, 0.6) 50%,
    rgba(22, 33, 62, 0.9) 100%
  );
  pointer-events: none;
  z-index: 5;
  animation: fadeInTransition 2s ease-out;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(
    to bottom,
    rgba(22, 33, 62, 0.9) 0%,
    rgba(22, 33, 62, 0.6) 50%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 5;
  animation: fadeInTransition 2s ease-out 0.3s both;
}

.about-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(26, 10, 46, 0.6) 50%,
    rgba(26, 10, 46, 0.9) 100%
  );
  pointer-events: none;
  z-index: 5;
  animation: fadeInTransition 2s ease-out 0.6s both;
}

/* Gradients de transition pour book-section supprimés pour éviter les conflits */

.team-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(
    to bottom,
    rgba(22, 33, 62, 0.9) 0%,
    rgba(22, 33, 62, 0.6) 50%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 5;
  animation: fadeInTransition 2s ease-out 1.5s both;
}

.team-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(26, 10, 46, 0.6) 50%,
    rgba(26, 10, 46, 0.9) 100%
  );
  pointer-events: none;
  z-index: 5;
  animation: fadeInTransition 2s ease-out 1.8s both;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(
    to bottom,
    rgba(26, 10, 46, 0.9) 0%,
    rgba(26, 10, 46, 0.6) 50%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 5;
  animation: fadeInTransition 2s ease-out 2.1s both;
}

/* Animation pour les transitions */
@keyframes fadeInTransition {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Styles pour les sections actives avec effets visibles */
.section-active {
  animation-duration: 15s !important;
  filter: brightness(1.1) saturate(1.2);
}

/* Effet de glow visible au scroll */
@keyframes visibleGlow {
  0%, 100% {
    box-shadow: 0 0 30px rgba(138, 76, 255, 0.2);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 0 60px rgba(138, 76, 255, 0.4);
    filter: brightness(1.1);
  }
}

.section-active {
  animation: visibleGlow 3s ease-in-out infinite;
}


/* Buttons modernisés */
.btn {
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn.ghost {
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  backdrop-filter: blur(10px);
}

.btn.ghost:hover {
  background: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

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

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

/* Header général */
.site-header { position: fixed; top:0; left:0; width:100%; z-index:20; backdrop-filter: blur(12px); background: rgba(15,14,20,0.75); }
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;        /* padding horizontal retiré */
  display: flex;
  justify-content: flex-start; /* logo à gauche */
  align-items: center;
  gap: 40px;              /* espace entre logo et navbar */
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: #8a4cff;
  letter-spacing: 2px;
  cursor: pointer;
  margin: 0;              /* aucun margin */
  flex-shrink: 0;         /* empêche le logo de rétrécir */
}

.nav {
  margin-left: auto;      /* pousse la nav complètement à droite */
}





/* --------------------------
   NAVBAR DESKTOP
-------------------------- */
.nav-list {
  display: flex;
  gap: 22px;                 /* espacement équilibré */
  list-style: none;
  margin: 0;
  padding: 0 30px 0 0;       /* décale légèrement vers la droite */
  align-items: center;       
  justify-content: flex-end; 
  text-transform: uppercase;
  white-space: nowrap;       /* empêche les retours à la ligne */
}

.nav-list li a {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;                 /* espace icône ↔ texte */
}

.nav-list li a i {
  font-size: 1.3rem;         
  display: flex;
  align-items: center;
}

/* Hover underline */
.nav-list li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: #8a4cff;
  border-radius: 1px;
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-list li a:hover::after { width: 100%; left: 0; }
.nav-list li a:hover {
  color: #8a4cff;
  background: rgba(138, 76, 255, 0.15);
}

/* Boutons */
.nav-list li .btn {
  padding: 8px 18px;
  border-radius: 12px;
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Ghost */
.nav-list li .btn.ghost {
  border: 1px solid #8a4cff;
  background: transparent;
  color: #fff;
}
.nav-list li .btn.ghost:hover {
  background: #8a4cff;
  color: #fff;
  transform: translateY(-2px);
}

/* Connect */
.nav-list li .btn.connect {
  border: 1px solid #8a4cff;
  background: #8a4cff;
  color: #fff;
}
.nav-list li .btn.connect:hover {
  background: transparent;
  color: #8a4cff;
  transform: translateY(-2px);
}

/* --------------------------
   MENU BURGER MOBILE
-------------------------- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 30;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

/* --------------------------
   MOBILE NAV
-------------------------- */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 70%;
  height: 100%;
  background: #0f0e14;
  z-index: 25;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  box-shadow: 4px 0 20px rgba(0,0,0,0.4);
  transition: all 0.35s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav.open { left: 0; }

#mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 30;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-transform: uppercase;
}

.mobile-nav ul li a {
  color: #fff;
  font-size: 1.25rem;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-nav ul li a i {
  font-size: 1.3rem;
  display: flex;
  align-items: center;
}

.mobile-nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: #8a4cff;
  border-radius: 1px;
  transition: width 0.3s ease;
}

.mobile-nav ul li a:hover::after { width: 100%; }
.mobile-nav ul li a:hover { color: #8a4cff; }

/* --------------------------
   RESPONSIVE
-------------------------- */
@media (max-width: 1024px) {
  .menu-toggle { display: flex; }
  .nav-list { display: none; }
}






/* ================================
   HERO SECTION 3D
=============================== */
.hero-3d {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: 
    linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%),
    radial-gradient(circle at 30% 20%, rgba(138, 76, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 138, 255, 0.1) 0%, transparent 50%);
}

/* Canvas 3D Background */
.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.6;
}

/* Particules flottantes */
.floating-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-color);
  animation: floatParticle 8s ease-in-out infinite;
}

.particle-1 { top: 20%; left: 10%; animation-delay: 0s; }
.particle-2 { top: 60%; left: 80%; animation-delay: 1s; }
.particle-3 { top: 80%; left: 20%; animation-delay: 2s; }
.particle-4 { top: 30%; left: 70%; animation-delay: 3s; }
.particle-5 { top: 70%; left: 60%; animation-delay: 4s; }
.particle-6 { top: 10%; left: 50%; animation-delay: 5s; }

@keyframes floatParticle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.7; }
  50% { transform: translateY(-30px) scale(1.2); opacity: 1; }
}

/* Grid overlay */
.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(138, 76, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 76, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  z-index: 1;
}

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

/* Contenu principal */
.hero-content-3d {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1400px;
  width: 100%;
  padding: 0 40px;
  align-items: center;
  position: relative;
  z-index: 10;
}

/* Section texte */
.hero-text-3d {
  display: flex;
  flex-direction: column;
  gap: 30px;
  animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
  0% { opacity: 0; transform: translateX(-50px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* Badge */
.hero-badge {
  position: relative;
  display: inline-block;
  width: fit-content;
}

.badge-text {
  background: var(--gradient-primary);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.badge-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  border-radius: 25px;
  filter: blur(15px);
  opacity: 0.6;
  z-index: 1;
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

/* Titre principal */
.hero-title-3d {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 0.9;
  margin: 0 0 2rem 0;
}

.title-line {
  display: block;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  animation: titleReveal 1.2s ease-out;
  text-align: left;
}

.title-line-1 { animation-delay: 0.2s; }
.title-line-2 { animation-delay: 0.4s; }

@keyframes titleReveal {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Description */
.hero-description-3d {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 500px;
  animation: fadeInUp 1s ease-out 0.6s both;
}

/* Actions */
.hero-actions-3d {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.btn-3d {
  position: relative;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

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

.btn-primary-3d:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.btn-secondary-3d {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  backdrop-filter: blur(10px);
}

.btn-secondary-3d:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.btn-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  border-radius: 50px;
  filter: blur(20px);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}

.btn-primary-3d:hover .btn-glow {
  opacity: 0.7;
}

/* Stats */
.hero-stats-3d {
  display: flex;
  gap: 40px;
  margin-top: 20px;
  animation: fadeInUp 1s ease-out 1s both;
}

.stat-item-3d {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Section visuelle */
.hero-visual-3d {
  position: relative;
  animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(50px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* Formes flottantes */
.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.1;
  animation: floatShape 6s ease-in-out infinite;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 20%;
  animation-delay: 2s;
}

.shape-3 {
  width: 60px;
  height: 60px;
  bottom: 30%;
  left: 30%;
  animation-delay: 4s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  top: 40%;
  right: 10%;
  animation-delay: 1s;
}

@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* Container vidéo */
.video-container-3d {
  position: relative;
  z-index: 2;
}

.video-frame-3d {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(138, 76, 255, 0.3);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: var(--transition-smooth);
}

.video-frame-3d:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
  box-shadow: 
    0 35px 70px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(138, 76, 255, 0.5);
}

.hero-video-3d {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.video-overlay-3d {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.video-frame-3d:hover .video-overlay-3d {
  opacity: 1;
}

.play-button-3d {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-glow);
}

.play-button-3d:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-strong);
}

.play-icon-3d {
  width: 0;
  height: 0;
  border-left: 25px solid white;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  margin-left: 5px;
}

/* Scroll indicator - MASQUÉ SUR MOBILE */
.scroll-indicator-3d {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  animation: bounce 2s infinite;
  z-index: 10;
}

/* MASQUER LE SCROLL INDICATOR SUR MOBILE - RÈGLE GLOBALE */
@media (max-width: 768px) {
  .scroll-indicator,
  .scroll-indicator-3d {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

@media (max-width: 480px) {
  .scroll-indicator,
  .scroll-indicator-3d {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* Masquage pour les appareils tactiles */
@media (pointer: coarse) {
  .scroll-indicator,
  .scroll-indicator-3d {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

.scroll-text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-line {
  width: 2px;
  height: 30px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.scroll-arrow {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--primary-color);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ================================
   OPTIMISATIONS RESPONSIVE
=============================== */

/* Tablette */
@media (max-width: 1024px) {
  .hero-content-3d {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
    padding: 0 20px;
  }
  
  .hero-stats-3d {
    justify-content: center;
  }
  
  .video-frame-3d {
    transform: none;
  }

  /* Réduire les animations sur tablette */
  .floating-particles .particle {
    display: none;
  }

  .floating-shapes .shape {
    opacity: 0.05;
  }
}

/* ================================
   HERO MOBILE-FIRST DESIGN
=============================== */

/* Base mobile-first */
.hero-3d {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 15px 30px;
  text-align: center;
  box-sizing: border-box;
  overflow: visible;
}

.hero-content-3d {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 0;
}

/* Badge mobile */
.hero-badge {
  margin: 5px auto 8px auto; /* Réduction des marges pour rapprocher du texte */
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-badge .badge-text {
  font-size: 0.8rem;
  padding: 8px 16px;
  background: rgba(138, 76, 255, 0.2);
  border: 1px solid rgba(138, 76, 255, 0.3);
  border-radius: 20px;
  color: #8a4cff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

/* Titre mobile */
.hero-title-3d {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 0 auto 15px auto;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, #ffffff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: left;
  width: 100%;
}

.title-line {
  display: block;
  text-align: left;
}

/* Description mobile */
.hero-description-3d {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 auto 20px auto;
  max-width: 380px;
  text-align: center;
  width: 100%;
}

/* Actions mobile */
.hero-actions-3d {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  width: 100%;
  max-width: 280px;
}

.btn-3d {
  width: 100%;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary-3d {
  background: linear-gradient(135deg, #8a4cff 0%, #ff8aff 100%);
  color: white;
  border: none;
}

.btn-primary-3d:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(138, 76, 255, 0.3);
}

.btn-secondary-3d {
  background: transparent;
  color: white;
  border: 2px solid rgba(138, 76, 255, 0.5);
}

.btn-secondary-3d:hover {
  background: rgba(138, 76, 255, 0.1);
  border-color: #8a4cff;
}

/* Stats mobile */
.hero-stats-3d {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  width: 100%;
  max-width: 300px;
  margin: 0 auto 20px auto;
}

.stat-item-3d {
  text-align: left;
  padding: 15px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(138, 76, 255, 0.2);
  backdrop-filter: blur(15px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #8a4cff;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Vidéo mobile */
.video-container-3d {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.video-frame-3d {
  width: 100%;
  height: 160px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(138, 76, 255, 0.3);
}

.hero-video-3d {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay-3d {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-container-3d:hover .video-overlay-3d {
  opacity: 1;
}

.play-button-3d {
  width: 60px;
  height: 60px;
  background: rgba(138, 76, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.play-button-3d:hover {
  transform: scale(1.1);
}

.play-icon-3d {
  width: 0;
  height: 0;
  border-left: 20px solid white;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

/* Masquer les éléments desktop */
.hero-canvas,
.floating-shapes,
.grid-overlay,
.scroll-indicator-3d {
  display: none;
}

/* Responsive pour tablettes */
@media (min-width: 768px) {
  .hero-3d {
    padding: 80px 40px 60px;
  }
  
  .hero-content-3d {
    gap: 40px;
    max-width: 1200px;
  }
  
  .hero-title-3d {
    font-size: 4rem;
  }
  
  .hero-description-3d {
    font-size: 1.2rem;
    max-width: 600px;
  }
  
  .hero-actions-3d {
    flex-direction: row;
    max-width: 400px;
    gap: 20px;
  }
  
  .btn-3d {
    width: auto;
    min-width: 160px;
  }
  
  .hero-stats-3d {
    max-width: 400px;
  }
  
  .video-container-3d {
    max-width: 400px;
  }
  
  .video-frame-3d {
    height: 220px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero-3d {
    flex-direction: row;
    align-items: center;
    padding: 0 40px;
  }
  
  .hero-content-3d {
    flex-direction: row;
    gap: 80px;
    text-align: left;
    align-items: center;
  }
  
  .hero-text-3d {
    flex: 1;
    text-align: left;
  }
  
  .hero-visual-3d {
    flex: 1;
    text-align: center;
  }
  
  .hero-title-3d {
    font-size: 5rem;
    text-align: left;
  }
  
  .hero-description-3d {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
  
  .hero-actions-3d {
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
  }
  
  .hero-stats-3d {
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
  }
  
  .video-container-3d {
    max-width: 500px;
  }
  
  .video-frame-3d {
    height: 280px;
  }
}

  /* Désactiver les effets 3D sur mobile pour les performances */
  .hero-canvas {
    display: none;
  }

  .floating-particles,
  .floating-shapes {
    display: none;
  }

  /* Réduire les animations complexes */
  .grid-overlay {
    animation: none;
  }

  /* Optimiser les backgrounds */
  .hero-3d {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
  }
}

/* Optimisations pour petits écrans */
@media (max-width: 480px) {
  .hero-3d {
    padding: 30px 12px 25px;
  }
  
  .hero-content-3d {
    gap: 20px;
  }
  
  .hero-title-3d {
    font-size: 2.3rem;
  }
  
  .hero-description-3d {
    font-size: 1rem;
    max-width: 320px;
  }
  
  .hero-stats-3d {
    max-width: 280px;
    gap: 12px;
  }
  
  .stat-item-3d {
    padding: 10px 6px;
  }
  
  .stat-number {
    font-size: 1.4rem;
  }
  
  .stat-label {
    font-size: 0.6rem;
  }
  
  .video-container-3d {
    max-width: 280px;
  }
  
  .video-frame-3d {
    height: 140px;
  }
}

/* Écrans très petits */
@media (max-width: 360px) {
  .hero-3d {
    padding: 25px 10px 20px;
  }
  
  .hero-content-3d {
    gap: 18px;
  }
  
  .hero-title-3d {
    font-size: 2rem;
  }
  
  .hero-description-3d {
    font-size: 0.95rem;
    max-width: 280px;
  }
  
  .hero-actions-3d {
    max-width: 250px;
    gap: 10px;
  }
  
  .hero-stats-3d {
    max-width: 250px;
    gap: 10px;
  }
  
  .video-container-3d {
    max-width: 250px;
  }
  
  .video-frame-3d {
    height: 120px;
  }
}

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

  /* Simplifier les animations */
  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* ================================
   OPTIMISATIONS PERFORMANCES
=============================== */

/* Réduire les animations pour les utilisateurs qui préfèrent moins de mouvement */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-canvas,
  .floating-particles,
  .floating-shapes {
    display: none;
  }
}

/* Optimisation pour les appareils avec peu de mémoire GPU */
@media (max-width: 768px) and (max-height: 1024px) {
  .hero-3d::before,
  .hero-3d::after,
  .videos-section::before,
  .videos-section::after,
  .about-section::before,
  .about-section::after,
  .team-section::before,
  .team-section::after,
  .contact-section::before,
  .contact-section::after,
  .site-footer::before,
  .site-footer::after {
    display: none;
  }
}

/* --------------------------
   ANCIEN HERO (à supprimer)
-------------------------- */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg, #0c0518 0%, #1a0333 40%, #050407 100%);
}

/* PARTICULES LÉGÈRES */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,0.03) 2px, transparent 2px),
    radial-gradient(rgba(255,255,255,0.04) 3px, transparent 3px);
  background-size: 20px 20px, 50px 50px, 80px 80px;
  animation: moveParticles 200s linear infinite;
  z-index: 0;
  pointer-events: none;
}

/* PARTICULES AU HOVER */
.hero.hover-active::before {
  background-image: 
    radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,0.04) 2px, transparent 2px),
    radial-gradient(rgba(255,255,255,0.05) 3px, transparent 3px);
}

/* LÉGERS RAYONS / NÉONS */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(160,127,255,0.04), transparent 60%),
              radial-gradient(circle at bottom right, rgba(100,200,255,0.02), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

/* ANIMATION PARTICULES */
@keyframes moveParticles {
  0% { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 2000px 2000px, 1000px 1000px, 500px 500px; }
}

/* Overlay et contenu */
.hero-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.hero-content {
  display: flex;
  gap: 10px;            /* petit écart réel entre les blocs */
  width: 100%;
  max-width: 1200px;    /* largeur totale réduite pour rapprocher les blocs */
  margin: 0 auto;       /* centre horizontalement le conteneur */
  justify-content: flex-start; /* tout collé à gauche */
  align-items: center;  /* centre verticalement la vidéo */
}

.hero-left {
  flex: 0.45;          /* réduit légèrement la largeur du bloc texte */
  max-width: 550px;    /* augmente un peu la taille totale */
}

.hero-right {
  flex: 0.55;          /* augmente la taille du bloc vidéo */
  max-width: 700px;    /* permet à la vidéo d'être plus grande */
  display: flex;
  justify-content: center; /* centre horizontalement la vidéo */
  align-items: center;     /* centre verticalement la vidéo */
}




.hero-text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Tout aligné dans le même bloc */
  gap: 8px;
  margin: 0 0 20px 0; /* Espace entre le bloc texte et les boutons */
}
.hero-title {
  font-size: 3.8rem;   /* Taille réduite */
  font-weight: 700;

  /* Dégradé violet → rose */
  background: linear-gradient(120deg, #8b62d1 0%, #c47fff 50%, #ff9ce5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Ajustements position */
  margin-left: -10px;   /* Légèrement vers la gauche */
  margin-top: 0.5em;    /* Légèrement vers le bas */
  
  text-shadow: none;    /* Aucun glow */
}



.hero-subtitle,
.hero-tagline {
  margin: 0;          /* Supprime marges par défaut */
  padding: 0;         /* Supprime padding éventuel */
  text-align: left;   /* Force alignement texte à gauche */
}


/* ===== BOUTONS ===== */
.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.btn.ghost {
  border: 2px solid #8b62d1;
  color: #b8a6f0;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
}

.btn.ghost:hover {
  background: rgba(139,98,209,0.1);
  box-shadow: 0 0 8px rgba(160,127,255,0.25);
}

.btn.primary {
  background: #8b62d1;
  color: #fff;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
}

.btn.primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 10px rgba(160,127,255,0.3);
}

/* ===== CARTES ===== */
.hero-card {
  background: rgba(30, 15, 60, 0.65);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(139, 98, 209, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  max-width: 420px;
  margin-bottom: 12px;
}

.hero-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(139, 98, 209, 0.35);
}


.hero-video {
  width: 100%;        /* prend tout l'espace disponible du bloc */
  max-width: 100%;    /* pas de limite stricte, utilise le bloc */
  max-height:100vh;    
  border-radius: 20px;
  object-fit: cover;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid rgba(160,127,255,0.3);
  box-shadow: 0 0 15px rgba(160,127,255,0.15);
}

.hero-video::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 25px;
  background: linear-gradient(45deg, #8b62d1, #4aa8ff, #8b62d1);
  background-size: 300% 300%;
  z-index: -1;
  filter: blur(8px);
  opacity: 0.5;
  animation: neonGlow 6s ease infinite;
  pointer-events: none;
}

.hero-video:hover {
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(160,127,255,0.2);
}

.hero-video:hover::before {
  opacity: 0.7;
}

/* ===== ANIMATION NÉON ===== */
@keyframes neonGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== RESPONSIVE ===== */
@media(max-width:1024px){
  .hero-content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .hero-left, .hero-right {
    flex: 1 1 100%;
    text-align: center;
    align-items: center; /* centre le contenu sur mobile */
  }

  .hero-text-block {
    align-items: center; /* centre le texte sur mobile */
  }

  .hero-title { font-size: 3.2rem; }
  .hero-subtitle { font-size: 1.6rem; }
  .hero-tagline { font-size: 1.1rem; }
  .hero-buttons { justify-content: center; }
  .hero-card { max-width: 90%; margin: 0 auto 12px auto; }
}




/* ================================
   SECTION ÉQUIPE MODERNISÉE - SUPPRIMÉE POUR ÉVITER LES CONFLITS
   Utilise maintenant team-revolutionary.css
=============================== */

/* Effets de fond animés */
.team-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    repeating-conic-gradient(
      from 0deg at 50% 50%,
      transparent 0deg,
      rgba(138, 76, 255, 0.02) 10deg,
      transparent 20deg
    );
  animation: rotateBackground 80s linear infinite; /* Plus lent */
  z-index: 0;
  will-change: transform; /* Optimisation GPU */
}

@keyframes rotateBackground {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.team-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(138, 76, 255, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 138, 255, 0.03) 0%, transparent 50%);
  animation: floatBackground 20s ease-in-out infinite; /* Plus lent */
  z-index: 0;
  will-change: transform; /* Optimisation GPU */
}

@keyframes floatBackground {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

/* CONTENEUR INTERNE */
.team-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  position: relative;
  z-index: 100;
}

/* Styles d'équipe supprimés - utilise team-revolutionary.css */

.team-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
  z-index: 10;
}

/* FORMES ANIMÉES */
.team-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 200%; height: 200%;
  background-image: 
    radial-gradient(circle, rgba(138,76,255,0.05) 10%, transparent 10%),
    radial-gradient(circle, rgba(138,76,255,0.05) 10%, transparent 10%);
  background-size: 100px 100px;
  pointer-events: none;
  z-index: 0;
  animation: moveShapes 150s linear infinite; /* Plus lent */
  will-change: background-position; /* Optimisation GPU */
}

@keyframes moveShapes {
  0% { background-position: 0 0, 50px 50px; }
  100% { background-position: 300px 300px, 350px 350px; }
}

/* TITRE DE SECTION */
.team-section h2 {
  font-size: 3.5rem;
  color: transparent;
  background: linear-gradient(90deg, #ff8aff, #8a4cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 50px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 0 15px rgba(138,76,255,0.25);
}

/* GRID DES MEMBRES */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: center;
}

/* CARTES MEMBRES CRÉATIVES */
.team-member {
  position: relative;
  background: linear-gradient(145deg, #1c0f2f 0%, #2b0f47 60%, #3c1f6d 100%);
  border-radius: 25px;
  padding: 0;
  text-align: center;
  width: 100%;
  max-width: 380px;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  overflow: hidden;
  border: 1px solid rgba(138,76,255,0.3);
  backdrop-filter: blur(10px);
}

.team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at top left, rgba(138,76,255,0.1), transparent 50%),
    radial-gradient(circle at bottom right, rgba(255,138,255,0.08), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.team-member:hover::before {
  opacity: 1;
}

.team-member:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 
    0 25px 50px rgba(138,76,255,0.4),
    0 0 40px rgba(138,76,255,0.3);
  border-color: rgba(138, 76, 255, 0.6);
}

/* Container d'image */
.member-image-container {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 25px 25px 0 0;
}

.member-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.team-member:hover .member-image-container img {
  transform: scale(1.1);
}

/* Overlay social */
.member-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.team-member:hover .member-overlay {
  opacity: 1;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition-smooth);
  font-size: 1.2rem;
}

.social-link:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

/* Informations du membre */
.member-info {
  position: relative;
  padding: 30px;
  z-index: 2;
}

.member-info h4 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 10px;
  font-weight: 700;
  position: relative;
  z-index: 10;
}

.member-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 15px 0 20px 0;
  font-size: 0.95rem;
  position: relative;
  z-index: 10;
}

/* Tags de compétences */
.member-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

.skill-tag {
  background: var(--gradient-primary);
  color: white;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Effet glow */
.member-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  border-radius: 25px;
  filter: blur(25px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.team-member:hover .member-glow {
  opacity: 0.2;
}

/* ROLE MEMBRE (style conservé) */
.team-member .role {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 25px;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 600;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(138,76,255,0.3);
  transition: var(--transition-smooth);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-member .role:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(138,76,255,0.5);
}


/* Responsive pour l'équipe */
@media (max-width: 1024px) {
  .team-grid {
    gap: 40px;
  }
  
  .team-member {
    max-width: 350px;
  }
  
  .member-image-container {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .team-header h2 {
    font-size: 2.5rem;
  }
  
  .team-subtitle {
    font-size: 1rem;
  }
  
  .team-grid {
    gap: 30px;
    flex-direction: column;
    align-items: center;
  }
  
  .team-member {
    max-width: 100%;
    width: 100%;
  }
  
  .member-image-container {
    height: 220px;
  }
  
  .member-info {
    padding: 25px;
  }
  
  .social-links {
    gap: 15px;
  }
  
  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .team-header h2 {
    font-size: 2rem;
  }
  
  .member-image-container {
    height: 200px;
  }
  
  .member-info {
    padding: 20px;
  }
  
  .member-skills {
    gap: 6px;
  }
  
  .skill-tag {
    font-size: 0.7rem;
    padding: 4px 10px;
  }
}




/* ================================
   ANIMATIONS AVANCÉES
=============================== */

/* Animations d'entrée */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInDown {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animations de hover */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(138, 76, 255, 0.3); }
  50% { box-shadow: 0 0 40px rgba(138, 76, 255, 0.6); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Animations de loading */
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Classes d'animation */
.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
  animation: fadeInRight 0.8s ease-out forwards;
}

.animate-scale-in {
  animation: scaleIn 0.6s ease-out forwards;
}

.animate-slide-in-down {
  animation: slideInDown 0.8s ease-out forwards;
}

/* Animations au scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Délais d'animation */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* Effets de hover avancés */
.hover-lift {
  transition: var(--transition-smooth);
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.hover-glow {
  transition: var(--transition-smooth);
}

.hover-glow:hover {
  box-shadow: var(--shadow-glow);
}

.hover-scale {
  transition: var(--transition-smooth);
}

.hover-scale:hover {
  transform: scale(1.05);
}

.hover-rotate {
  transition: var(--transition-smooth);
}

.hover-rotate:hover {
  transform: rotate(5deg);
}

/* --------------------------
   SECTION VIDÉOS - GRADIENT PLEINE LARGEUR
-------------------------- */
.videos-section {
  width: 100%;
  background: linear-gradient(135deg, #0c0518 0%, #1a0333 60%, #050407 100%);
  padding: 200px 0 80px;
  position: relative;
  color: #e0e0e0;
  box-sizing: border-box;
  z-index: 1;
  overflow: hidden;
}

/* LIGNES ANIMÉES MULTIDIRECTIONNELLES EN FOND */
.videos-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(90deg, rgba(138,76,255,0.05) 1px, transparent 1px),
    linear-gradient(45deg, rgba(138,76,255,0.03) 1px, transparent 1px),
    linear-gradient(135deg, rgba(138,76,255,0.04) 1px, transparent 1px);
  background-size: 50px 100%, 80px 80%, 120px 120%;
  z-index: 0;
  pointer-events: none;
  animation: moveLines 200s linear infinite;
}

.videos-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(138,76,255,0.03), transparent 60%),
              radial-gradient(circle at bottom right, rgba(138,76,255,0.02), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

/* Animation des lignes */
@keyframes moveLines {
  0% { background-position: 0 0, 0 0, 0 0; }
  50% { background-position: -500px 0, -800px 0, -1200px 0; }
  100% { background-position: 0 0, 0 0, 0 0; }
}

/* Centrer le contenu et limiter la largeur */
.video-intro.asymmetric,
.video-grid.immersive {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

/* --------------------------
   TITRE BOOK
-------------------------- */
.video-intro .section-title {
  font-size: 5rem;                 /* Taille plus grande */
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(90deg, #8a4cff, #ff8aff); /* Dégradé violet/rose */
  -webkit-background-clip: text;  /* Chrome, Safari */
  -webkit-text-fill-color: transparent; /* Chrome, Safari */
  background-clip: text;           /* Firefox */
  color: transparent;              /* Firefox fallback */
  display: inline-block;           /* Pour alignement avec le paragraphe */
  margin: 0 0 20px 0;              /* Aligne avec le paragraphe */
  letter-spacing: 1px;
}

.video-intro .intro-line-deco {
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #8a4cff, #ff8aff);
  margin-bottom: 20px;
}


/* --------------------------
   INTRO ASYMÉTRIQUE
-------------------------- */
.video-intro.asymmetric {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  align-items: flex-start;
  position: relative;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.section-subtitle {
  position: absolute;
  top: -40px;
  left: -5px;
  font-size: 1.8rem;
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.2s;
}

.intro-left {
  flex: 2;
  min-width: 280px;
}

/* ================================
   SECTION VIDÉOS MODERNISÉE
=============================== */
.videos-section {
  width: 100%;
  background: 
    linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%),
    radial-gradient(circle at 20% 30%, rgba(138, 76, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 138, 255, 0.08) 0%, transparent 50%);
  padding: 120px 0 80px;
  position: relative;
  color: var(--text-primary);
  box-sizing: border-box;
  z-index: 1;
  overflow: hidden;
}

/* Animations de fond avancées */
.videos-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 98px,
      rgba(138, 76, 255, 0.03) 100px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 98px,
      rgba(138, 76, 255, 0.03) 100px
    );
  animation: gridMove 30s linear infinite;
  z-index: 0;
}

.videos-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(138, 76, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 138, 255, 0.04) 0%, transparent 50%);
  animation: backgroundPulse 8s ease-in-out infinite;
  z-index: 0;
}

@keyframes backgroundPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.02); }
}

/* LIGNES ANIMÉES MULTIDIRECTIONNELLES EN FOND */
.videos-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(90deg, rgba(138,76,255,0.05) 1px, transparent 1px),
    linear-gradient(45deg, rgba(138,76,255,0.03) 1px, transparent 1px),
    linear-gradient(135deg, rgba(138,76,255,0.04) 1px, transparent 1px);
  background-size: 50px 100%, 80px 80%, 120px 120%;
  z-index: 0;
  pointer-events: none;
  animation: moveLines 200s linear infinite;
}

.videos-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(138,76,255,0.03), transparent 60%),
              radial-gradient(circle at bottom right, rgba(138,76,255,0.02), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

@keyframes moveLines {
  0% { background-position: 0 0, 0 0, 0 0; }
  50% { background-position: -500px 0, -800px 0, -1200px 0; }
  100% { background-position: 0 0, 0 0, 0 0; }
}

/* CONTENEUR CENTRAL */
.video-intro.asymmetric,
.video-grid.immersive {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 100;
}


.videos-section-title h2 {
  font-size: 3.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  letter-spacing: 1px;
}

.videos-section-title .section-line {
  width: 100px;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, #8a4cff, #ff8aff);
  margin: 0;
}

.videos-section-title .section-subtitle {
  font-size: 5rem; /* plus gros */
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(90deg, #8a4cff, #ff8aff);
  -webkit-background-clip: text; /* Chrome, Safari */
  -webkit-text-fill-color: transparent;
  background-clip: text; /* Firefox */
  color: transparent;
  display: inline-block; /* essentiel pour le dégradé */
  margin: 0 0 30px 0;
  letter-spacing: 1px;
}



/* --------------------------
   INTRO ASYMÉTRIQUE
-------------------------- */
.video-intro.asymmetric {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  align-items: flex-start;
  position: relative;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.section-subtitle {
  position: relative;
  top: 0;
  left: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 1;
  margin-bottom: 10px;
}

.intro-left {
  flex: 2;
  min-width: 280px;
}

.intro-right {
  flex: 1.8;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 250px;
  padding: 35px 30px;
  background: 
    linear-gradient(145deg, #0d0b14 0%, #1a0333 60%, #2c1a4d 100%),
    radial-gradient(circle at top left, rgba(138,76,255,0.08), transparent 50%),
    radial-gradient(circle at bottom right, rgba(255,138,255,0.06), transparent 50%);
  border-left: 6px solid #8a4cff;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(138,76,255,0.25);
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.4s;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.intro-right:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 40px rgba(138,76,255,0.35), 0 0 20px rgba(138,76,255,0.2) inset;
}

.intro-right::before {
  content: "";
  position: absolute;
  top: -60%; left: -60%;
  width: 220%;
  height: 220%;
  background: radial-gradient(circle at center, rgba(138,76,255,0.03), transparent 70%);
  animation: subtleMove 15s linear infinite;
}

.intro-right::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(138,76,255,0.05);
  border-radius: 50%;
  top: 10%;
  right: 15%;
  transform: rotate(15deg);
  filter: blur(6px);
  animation: floatCircle 18s ease-in-out infinite;
}

.intro-line-deco {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #8a4cff, #ff8aff);
  margin: 12px 0 25px;
  border-radius: 3px;
}

.lead {
  font-size: 1.25rem;
  color: #e0e0e0;
  line-height: 1.7;
  margin-bottom: 20px;
}

.lead-small {
  font-size: 1.05rem;
  color: #bbb;
  margin-top: 25px;
  line-height: 1.5;
}

.badge-frame {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.badge {
  background: linear-gradient(135deg, #8a4cff, #ff8aff);
  color: #fff;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  text-transform: uppercase;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.badge:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(138,76,255,0.25);
}

/* --------------------------
   GRILLE VIDÉOS IMMERSIVE
-------------------------- */
.video-grid.immersive {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px; 
  justify-items: center;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.6s;
}

.video-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 16/9;
  cursor: pointer;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  border: 2px solid rgba(138,76,255,0.5);
  background: #111;
  width: 100%;
  max-width: 550px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  box-shadow: 0 0 12px rgba(138,76,255,0.15);
}

.video-wrapper:hover {
  box-shadow: 0 0 30px rgba(138,76,255,0.4), 0 0 50px rgba(138,76,255,0.2);
  transform: scale(1.04);
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.video-wrapper:hover video {
  transform: scale(1.05);
  filter: brightness(1.08) contrast(1.05);
}

.video-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.3));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.video-wrapper:hover .video-overlay {
  opacity: 1;
}

.overlay-content h3 {
  color: #fff;
  font-size: 1.7rem;
  margin: 0 0 8px 0;
  line-height: 1.2;
  text-align: center;
}

.overlay-content p {
  color: #ccc;
  font-size: 1.05rem;
  margin: 0;
  text-align: center;
}

.play-icon {
  font-size: 2.8rem;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.9;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.video-wrapper:hover .play-icon {
  transform: translate(-50%, -50%) scale(1.3) rotate(5deg);
}

/* --------------------------
   ANIMATIONS GÉNÉRALES
-------------------------- */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

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

/* --------------------------
   RESPONSIVE : MOBILE 1 COLONNE
-------------------------- */
@media (max-width: 768px) {
  .video-grid.immersive {
    grid-template-columns: 1fr; /* 1 colonne verticale */
    gap: 20px;
  }

  .video-wrapper {
    width: 100%;
    max-width: none;
  }
}


/* ================================
   SECTION ABOUT FUTURISTE - VISIBLE
=============================== */
.about-section-futuristic {
  width: 100%;
  min-height: 100vh;
  padding: 120px 20px;
  background: 
    linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 40%, #16213e 100%),
    radial-gradient(circle at 20% 30%, rgba(138, 76, 255, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(255, 138, 255, 0.12) 0%, transparent 60%);
  color: var(--text-primary);
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 1;
}

/* Canvas 3D pour la section about */
.about-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2;
  pointer-events: none;
}

/* Particules vidéo flottantes */
.video-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.video-particle {
  position: absolute;
  font-size: 2rem;
  opacity: 0.6;
  animation: floatVideoParticle 12s ease-in-out infinite;
  filter: drop-shadow(0 0 10px var(--primary-color));
}

.video-particle.particle-1 { top: 15%; left: 10%; animation-delay: 0s; }
.video-particle.particle-2 { top: 70%; left: 85%; animation-delay: 2s; }
.video-particle.particle-3 { top: 80%; left: 25%; animation-delay: 4s; }
.video-particle.particle-4 { top: 30%; left: 75%; animation-delay: 6s; }
.video-particle.particle-5 { top: 60%; left: 50%; animation-delay: 8s; }
.video-particle.particle-6 { top: 10%; left: 60%; animation-delay: 10s; }

@keyframes floatVideoParticle {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0.6; }
  25% { transform: translateY(-20px) rotate(90deg) scale(1.1); opacity: 0.8; }
  50% { transform: translateY(-40px) rotate(180deg) scale(1.2); opacity: 1; }
  75% { transform: translateY(-20px) rotate(270deg) scale(1.1); opacity: 0.8; }
}

/* Grid futuriste */
.futuristic-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(138, 76, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 76, 255, 0.1) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridMoveFuturistic 30s linear infinite;
  z-index: 1;
}

@keyframes gridMoveFuturistic {
  0% { transform: translate(0, 0); }
  100% { transform: translate(80px, 80px); }
}

/* Conteneur principal */
.about-container-futuristic {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 100;
}

/* Header futuriste */
.about-header-futuristic {
  text-align: center;
  margin-bottom: 80px;
}

.section-badge {
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}

.badge-text {
  background: var(--gradient-primary);
  color: white;
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 20px rgba(138, 76, 255, 0.4);
}

.badge-pulse {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  border-radius: 30px;
  filter: blur(20px);
  opacity: 0.6;
  z-index: 1;
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

/* Titre futuriste */
.about-title-futuristic {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: 30px;
}

.title-word {
  display: inline-block;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  animation: titleRevealFuturistic 1.5s ease-out;
}

.title-word:nth-child(1) { animation-delay: 0.2s; }
.title-word:nth-child(2) { animation-delay: 0.4s; }
.title-word:nth-child(3) { animation-delay: 0.6s; }

@keyframes titleRevealFuturistic {
  0% { opacity: 0; transform: translateY(50px) rotateX(90deg); }
  100% { opacity: 1; transform: translateY(0) rotateX(0deg); }
}

.about-subtitle-futuristic {
  font-size: 1.3rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
  z-index: 10;
}

/* Contenu principal */
.about-content-futuristic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Colonne texte */
.about-text-column {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.text-block {
  position: relative;
  padding: 30px;
  background: 
    linear-gradient(145deg, rgba(138, 76, 255, 0.05) 0%, rgba(255, 138, 255, 0.03) 100%);
  border: 1px solid rgba(138, 76, 255, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.text-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(138, 76, 255, 0.2);
  border-color: rgba(138, 76, 255, 0.4);
}

.text-icon {
  font-size: 2rem;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 10px var(--primary-color));
}

.lead-futuristic,
.lead-small-futuristic {
  color: var(--text-primary);
  line-height: 1.7;
  margin: 0;
  position: relative;
  z-index: 10;
}

.lead-futuristic {
  font-size: 1.2rem;
}

.lead-small-futuristic {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* Points futuristes */
.futuristic-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.point-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(138, 76, 255, 0.05);
  border-radius: 15px;
  border-left: 4px solid var(--primary-color);
  transition: var(--transition-smooth);
}

.point-item:hover {
  background: rgba(138, 76, 255, 0.1);
  transform: translateX(10px);
}

.point-indicator {
  width: 12px;
  height: 12px;
  background: var(--gradient-primary);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(138, 76, 255, 0.6);
  animation: pulseIndicator 2s ease-in-out infinite;
}

@keyframes pulseIndicator {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.point-item span {
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
  z-index: 10;
}

/* Bouton futuriste */
.btn-futuristic {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 18px 35px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(138, 76, 255, 0.3);
}

.btn-futuristic:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(138, 76, 255, 0.5);
}

.btn-glow-futuristic {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  border-radius: 50px;
  filter: blur(25px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn-futuristic:hover .btn-glow-futuristic {
  opacity: 0.7;
}

.btn-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.btn-futuristic:hover .btn-arrow {
  transform: translateX(5px);
}

/* Colonne stats futuristes */
.about-stats-column {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats-container-futuristic {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.stat-card-futuristic {
  position: relative;
  padding: 30px;
  background: 
    linear-gradient(145deg, rgba(138, 76, 255, 0.08) 0%, rgba(255, 138, 255, 0.05) 100%);
  border: 1px solid rgba(138, 76, 255, 0.3);
  border-radius: 25px;
  backdrop-filter: blur(15px);
  transition: var(--transition-smooth);
  overflow: hidden;
}

.stat-card-futuristic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at top right, rgba(138, 76, 255, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.stat-card-futuristic:hover::before {
  opacity: 1;
}

.stat-card-futuristic:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 25px 50px rgba(138, 76, 255, 0.3),
    0 0 40px rgba(138, 76, 255, 0.2);
  border-color: rgba(138, 76, 255, 0.5);
}

.stat-card-wide {
  grid-column: 1 / -1;
}

/* Container icône */
.stat-icon-container {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(138, 76, 255, 0.4);
  z-index: 2;
}

.stat-icon-container i {
  font-size: 2rem;
  color: white;
  z-index: 2;
}

.stat-icon-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.6;
  z-index: 1;
  animation: pulseIconGlow 3s ease-in-out infinite;
}

@keyframes pulseIconGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

/* Contenu stats */
.stat-content {
  text-align: center;
  z-index: 2;
  position: relative;
}

.stat-number-futuristic {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label-futuristic {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Barre de progression */
.stat-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(138, 76, 255, 0.2);
  border-radius: 2px;
  margin-top: 20px;
  overflow: hidden;
}

.stat-progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
  width: 0;
  transition: width 2s ease-out;
  box-shadow: 0 0 10px rgba(138, 76, 255, 0.6);
}

.stat-card-futuristic:hover .stat-progress-fill {
  width: 100%;
}

/* Responsive pour la section about futuriste */
@media (max-width: 1024px) {
  .about-content-futuristic {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .about-header-futuristic {
    margin-bottom: 60px;
  }
  
  .video-particle {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .about-section-futuristic {
    padding: 80px 15px;
  }
  
  .about-title-futuristic {
    font-size: 2.5rem;
  }
  
  .text-block {
    padding: 20px;
  }
  
  .stat-card-futuristic {
    padding: 25px;
  }
  
  .stat-icon-container {
    width: 60px;
    height: 60px;
  }
  
  .stat-icon-container i {
    font-size: 1.5rem;
  }
  
  .stat-number-futuristic {
    font-size: 2.5rem;
  }
  
  .video-particles {
    display: none;
  }
  
  .futuristic-grid {
    opacity: 0.5;
  }
}

/* Effets de fond avancés */
.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 2px,
      rgba(138, 76, 255, 0.02) 4px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 2px,
      rgba(255, 138, 255, 0.015) 4px
    );
  animation: diagonalMove 40s linear infinite;
  z-index: 0;
}

@keyframes diagonalMove {
  0% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(10px) translateY(-10px); }
  50% { transform: translateX(20px) translateY(-20px); }
  75% { transform: translateX(10px) translateY(-10px); }
  100% { transform: translateX(0) translateY(0); }
}

.about-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 20%, rgba(138, 76, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 138, 255, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.02) 0%, transparent 70%);
  animation: pulseBackground 10s ease-in-out infinite;
  z-index: 0;
}

@keyframes pulseBackground {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.03); }
}

/* TRIANGLES ANIMÉS DERRIÈRE */
.about-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 200%; height: 200%;
  background-image:
    repeating-conic-gradient(from 0deg, rgba(138,76,255,0.02) 0deg 20deg, transparent 20deg 40deg),
    repeating-conic-gradient(from 15deg, rgba(138,76,255,0.015) 0deg 30deg, transparent 30deg 60deg),
    repeating-conic-gradient(from 30deg, rgba(138,76,255,0.01) 0deg 40deg, transparent 40deg 80deg);
  background-size: 40px 40px, 60px 60px, 100px 100px;
  pointer-events: none;
  z-index: 0;
  animation: moveTriangles 250s linear infinite;
}

/* PARTICULES LÉGÈRES */
.about-section::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 0;
  animation: floatParticles 100s linear infinite;
}

@keyframes moveTriangles {
  0% { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 500px 500px, 600px 600px, 800px 800px; }
}

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

/* INNER CONTENT */
.about-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

/* --------------------------
   TITRE ET SOUS-TITRE
-------------------------- */
.section-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 60px;
  margin-bottom: 50px;
  align-items: flex-start;
}

/* TITRE */
.section-header h2 {
  font-size: 3.2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
  background: linear-gradient(90deg, #ff8aff, #8a4cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
  text-shadow: 0 0 12px rgba(138,76,255,0.25);
}

/* LIGNE SOUS-TITRE */
.section-line {
  width: 90px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #8a4cff, #ff8aff);
  margin: 0;
}

/* SOUS-TITRE */
.section-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  margin: 0;
  line-height: 1.5;
}

/* --------------------------
   TITRE ENCADRÉ (texte du haut)
-------------------------- */
.values-title-wrapper {
  max-width: 800px;
  margin-left: auto;
  margin-right: 0;
  padding: 14px 18px;
  text-align: right;
  border-radius: 12px;
  position: relative;
  margin-bottom: 16px;
}

.values-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
  background: linear-gradient(90deg, #ff8aff, #8a4cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 0 12px rgba(138,76,255,0.25);
}

.values-intro-wrapper {
  max-width: 800px;
  margin-left: auto;
  margin-right: 0;
  padding: 12px 16px;
  text-align: right;
  border-radius: 10px;
  margin-bottom: 50px;
}

.values-intro {
  font-size: 1.15rem;
  font-weight: 500;
  color: #e0e0e0;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
  text-shadow: 0 0 8px rgba(138,76,255,0.15);
}

/* --------------------------
   CONTENU FLEX
-------------------------- */
.about-content {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
}

.about-left,
.about-right {
  flex: 1 1 45%;
  min-width: 280px;
  animation: fadeInUp 1s ease forwards;
}

.about-left .lead,
.about-left .lead-small,
.values-intro {
  text-align: left;
}

.about-points {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.about-points li {
  font-size: 1.1rem;
  margin-bottom: 12px;
  position: relative;
  padding-left: 28px;
  line-height: 1.6;
  transition: transform 0.3s, color 0.3s;
}

.about-points li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #8a4cff;
  font-size: 1.2rem;
}

.about-points li:hover {
  color: #fff;
  transform: translateX(5px);
}



.about-left .btn.primary {
  margin-top: 25px;
  background: linear-gradient(135deg, #8a4cff, #ff8aff);
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 25px;
  display: inline-block;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  text-align: center; /* texte centré dans le bouton */
}

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

/* --------------------------
   RESPONSIVE : CENTRÉ MOBILE
-------------------------- */
@media (max-width: 768px) {

  /* Section header centré */
  .section-header {
    align-items: center !important;
    text-align: center !important;
  }

  .section-header h2,
  .section-line,
  .section-subtitle {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  /* Values title et intro centrés */
  .values-title-wrapper,
  .values-intro-wrapper {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    max-width: 100% !important;
  }

  .values-title,
  .values-intro {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Contenu flex centré et en colonne */
  .about-content {
    flex-direction: column;
    align-items: center;
  }

  .about-left,
  .about-right {
    flex: 1 1 100%;
  }

  /* Points centrés */
  .about-left .lead,
  .about-left .lead-small,
  .about-points,
  .values-intro {
    text-align: center !important;
  }

  /* Centrer icônes et texte des points */
  .about-points li {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 0;
  }

  .about-points li::before {
    position: relative;
    left: 0;
    margin-right: 8px;
  }

  /* Bouton centré et texte centré */
  .about-left .btn.primary {
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center !important;
  }
}


/* CARTES DE STATS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 30px;
  justify-items: stretch; /* les cartes s'étirent pour occuper l'espace */
  margin-top: 50px;
  max-width: 900px; /* largeur totale centrée */
  margin-left: auto;
  margin-right: auto;
}

.stat-card {
  background: 
    linear-gradient(145deg, #0d0b14 0%, #1a0333 60%, #2c1a4d 100%),
    radial-gradient(circle at top left, rgba(138,76,255,0.05), transparent 50%),
    radial-gradient(circle at bottom right, rgba(255,138,255,0.03), transparent 50%);
  border-left: 5px solid #8a4cff;
  border-radius: 18px;
  padding: 30px 35px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  width: 100%;
}

/* Position et largeur de la 3ème carte */
.stat-card:nth-child(3) {
  grid-column: 1 / span 2; /* occupe les deux colonnes */
}

/* Icone dans la carte */
.stat-card i {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #8a4cff;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s;
}

.stat-card:hover i {
  transform: scale(1.3) rotate(10deg);
  color: #ff8aff;
}

/* Titre de la carte */
.stat-card h3 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #fff;
}

/* Texte de la carte */
.stat-card p {
  font-size: 1rem;
  color: #ccc;
}

/* Hover sur la carte */
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(138,76,255,0.3);
}


/* ================================
   SECTION VALEURS FUTURISTES - VISIBLE
=============================== */
.values-section-futuristic {
  width: 100%;
  min-height: 100vh;
  padding: 120px 20px;
  background: 
    linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 40%, #16213e 100%),
    radial-gradient(circle at 30% 20%, rgba(138, 76, 255, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(255, 138, 255, 0.12) 0%, transparent 60%);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  z-index: 1;
}

/* Background vidéo */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.video-overlay-futuristic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(138, 76, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 138, 255, 0.08) 0%, transparent 50%);
  animation: videoOverlayPulse 8s ease-in-out infinite;
}

@keyframes videoOverlayPulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

.values-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  pointer-events: none;
}

/* Éléments décoratifs */
.values-decorations {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.6;
}

.decoration-element {
  position: absolute;
  font-size: 3rem;
  opacity: 0.3;
  animation: floatDecoration 15s ease-in-out infinite;
  filter: drop-shadow(0 0 15px var(--primary-color));
}

.decoration-element.deco-1 { top: 10%; left: 5%; animation-delay: 0s; }
.decoration-element.deco-2 { top: 60%; right: 8%; animation-delay: 4s; }
.decoration-element.deco-3 { bottom: 20%; left: 15%; animation-delay: 8s; }
.decoration-element.deco-4 { top: 30%; right: 20%; animation-delay: 12s; }

@keyframes floatDecoration {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0.4; }
  25% { transform: translateY(-30px) rotate(90deg) scale(1.1); opacity: 0.6; }
  50% { transform: translateY(-60px) rotate(180deg) scale(1.2); opacity: 0.8; }
  75% { transform: translateY(-30px) rotate(270deg) scale(1.1); opacity: 0.6; }
}

/* Conteneur principal */
.values-container-futuristic {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 100;
}

/* Header futuriste */
.values-header-futuristic {
  text-align: center;
  margin-bottom: 80px;
}

.values-title-futuristic {
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: 30px;
}

.values-title-futuristic .title-word {
  display: inline-block;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  animation: titleRevealFuturistic 1.5s ease-out;
}

.values-title-futuristic .title-word:nth-child(1) { animation-delay: 0.2s; }
.values-title-futuristic .title-word:nth-child(2) { animation-delay: 0.4s; }

.values-intro-futuristic {
  font-size: 1.3rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
  z-index: 10;
}

/* Grid des cartes */
.values-grid-futuristic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

/* Cartes futuristes */
.value-card-futuristic {
  position: relative;
  background: 
    linear-gradient(145deg, rgba(138, 76, 255, 0.08) 0%, rgba(255, 138, 255, 0.05) 100%);
  border: 1px solid rgba(138, 76, 255, 0.3);
  border-radius: 25px;
  padding: 40px;
  backdrop-filter: blur(15px);
  transition: var(--transition-smooth);
  overflow: hidden;
  min-height: 400px;
}

.value-card-futuristic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at top right, rgba(138, 76, 255, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.value-card-futuristic:hover::before {
  opacity: 1;
}

.value-card-futuristic:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 
    0 30px 60px rgba(138, 76, 255, 0.3),
    0 0 50px rgba(138, 76, 255, 0.2);
  border-color: rgba(138, 76, 255, 0.5);
}

/* Header de carte */
.card-header-futuristic {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.card-icon-container {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(138, 76, 255, 0.4);
}

.card-icon {
  font-size: 2.5rem;
  z-index: 2;
  position: relative;
}

.icon-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.6;
  z-index: 1;
  animation: pulseIconGlow 3s ease-in-out infinite;
}

.card-number {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
}

/* Contenu de carte */
.card-content-futuristic {
  position: relative;
  z-index: 2;
}

.card-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 10;
}

.card-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 30px;
  font-size: 1.1rem;
  position: relative;
  z-index: 10;
}

/* Barre de progression */
.card-progress {
  margin-top: 30px;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(138, 76, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 3px;
  width: 0;
  transition: width 2s ease-out;
  box-shadow: 0 0 15px rgba(138, 76, 255, 0.6);
}

.value-card-futuristic:hover .progress-fill {
  width: var(--data-width, 100%);
}

/* Effet glow */
.card-glow-futuristic {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  border-radius: 25px;
  filter: blur(30px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.value-card-futuristic:hover .card-glow-futuristic {
  opacity: 0.2;
}

/* Responsive pour la section valeurs futuriste */
@media (max-width: 1024px) {
  .values-grid-futuristic {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }
  
  .values-header-futuristic {
    margin-bottom: 60px;
  }
  
  .decoration-element {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .values-section-futuristic {
    padding: 80px 15px;
  }
  
  .values-title-futuristic {
    font-size: 2.5rem;
  }
  
  .values-grid-futuristic {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .value-card-futuristic {
    padding: 30px;
    min-height: 350px;
  }
  
  .card-icon-container {
    width: 60px;
    height: 60px;
  }
  
  .card-icon {
    font-size: 2rem;
  }
  
  .card-number {
    font-size: 2.5rem;
  }
  
  .card-title {
    font-size: 1.5rem;
  }
  
  .decoration-element {
    display: none;
  }
  
  .values-canvas {
    opacity: 0.2;
  }
}

@media (max-width: 480px) {
  .values-title-futuristic {
    font-size: 2rem;
  }
  
  .value-card-futuristic {
    padding: 25px;
    min-height: 300px;
  }
  
  .card-icon-container {
    width: 50px;
    height: 50px;
  }
  
  .card-icon {
    font-size: 1.5rem;
  }
  
  .card-number {
    font-size: 2rem;
  }
  
  .card-title {
    font-size: 1.3rem;
  }
}

/* Effets de fond animés */
.values-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 2px,
      rgba(138, 76, 255, 0.02) 4px
    );
  animation: diagonalMove 40s linear infinite;
  z-index: 0;
}

.values-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 20%, rgba(138, 76, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 138, 255, 0.04) 0%, transparent 50%);
  animation: pulseBackground 12s ease-in-out infinite;
  z-index: 0;
}

/* Conteneur principal */
.values-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* --------------------------
   TITRE ENCADRÉ (texte du haut)
-------------------------- */
.values-title-wrapper {
  max-width: 800px;
  margin-left: auto;
  margin-right: 0;
  padding: 14px 18px;
  text-align: right;
  border-radius: 12px;
  position: relative;
  margin-bottom: 16px; /* espace entre le titre et l’intro */
}

/* TITRE */
.values-title {
  font-size: 2.4rem; /* un peu plus grand et percutant */
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
  background: linear-gradient(90deg, #ff8aff, #8a4cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 0 12px rgba(138,76,255,0.25);
}

/* INTRO ENCADRÉ (texte du haut) */
.values-intro-wrapper {
  max-width: 800px;
  margin-left: auto;
  margin-right: 0;
  padding: 12px 16px;
  text-align: right;
  border-radius: 10px;
  margin-bottom: 50px; /* <-- plus de marge avant les 3 cards */
}

/* INTRO TEXTE */
.values-intro {
  font-size: 1.15rem; /* légèrement plus grand et impactant */
  font-weight: 500;
  color: #e0e0e0;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
  text-shadow: 0 0 8px rgba(138,76,255,0.15);
}

/* --------------------------
   RESPONSIVE : CENTRÉ MOBILE
-------------------------- */
@media (max-width: 768px) {
  .values-title-wrapper,
  .values-intro-wrapper {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}


/* LISTE DE VALEURS */
.values-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* desktop : 3 colonnes */
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

/* CARTES CRÉATIVES */
.value-item {
  position: relative;
  background: 
    linear-gradient(145deg, #0d0b14 0%, #1a0333 60%, #2c1a4d 100%);
  border-radius: 20px;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: var(--transition-smooth);
  overflow: hidden;
  border: 1px solid rgba(138, 76, 255, 0.2);
  backdrop-filter: blur(10px);
}

.value-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at top left, rgba(138,76,255,0.1), transparent 50%),
    radial-gradient(circle at bottom right, rgba(255,138,255,0.08), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.value-item:hover::before {
  opacity: 1;
}

.value-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(138,76,255,0.3),
    0 0 30px rgba(138,76,255,0.2);
  border-color: rgba(138, 76, 255, 0.4);
}

/* Contenu interne de la carte */
.value-card-inner {
  position: relative;
  padding: 30px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Effet glow au hover */
.value-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  border-radius: 20px;
  filter: blur(20px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.value-item:hover .value-glow {
  opacity: 0.3;
}

.value-badge {
  font-size: 1.9rem;
  display: inline-block;
  margin-bottom: 10px;
  color: #8a4cff;
}

.value-body strong {
  display: block;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 6px;
}

.value-body p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
  margin: 0;
}

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

@keyframes animateZoom {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.animate-zoom {
  animation: animateZoom 0.6s ease forwards;
  animation-delay: var(--d);
  opacity: 0;
}

/* RESPONSIVE GRID */

/* Tablette : 2 colonnes */
@media (max-width: 1024px) {
  .values-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

/* Mobile : 1 colonne */
@media (max-width: 768px) {
  .values-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}



/* --------------------------
   ANIMATIONS
-------------------------- */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(25px); }
  100% { opacity: 1; transform: translateY(0); }
}

.animate-fade {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

/* --------------------------
   RESPONSIVE
-------------------------- */
@media (max-width: 1024px) {
  .about-content {
    flex-direction: column;
    gap: 40px;
  }

  .about-right {
    align-items: center;
  }

  .stats-grid {
    gap: 15px;
  }

  .section-header h2 {
    font-size: 2.4rem;
  }

  .stat-card {
    flex: 1 1 100%;
  }
}

@media (max-width: 600px) {
  .about-inner {
    padding: 0 20px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .about-left .lead {
    font-size: 1.1rem;
  }
}



.floating-wave {
  width: 90%;
  height: 160px; /* un peu moins haut */
  margin: 15px auto 0; /* légèrement plus bas que 5px */
  display: flex;
  justify-content: space-between;
  align-items: center; /* points centrés verticalement */
  position: relative;
}

.floating-wave .wave-point {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #8a4cff, #ff8aff);
  box-shadow: 0 0 10px #8a4cff, 0 0 6px #ff8aff;
  opacity: 0.5;
  animation: waveSine 4s infinite ease-in-out;
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

@keyframes waveSine {
  0%    { transform: translateY(0) scale(1); opacity: 0.5; }
  12.5% { transform: translateY(-35px) scale(1.1); opacity: 0.6; } /* légèrement moins haut */
  25%   { transform: translateY(0) scale(1); opacity: 0.5; }
  37.5% { transform: translateY(25px) scale(0.9); opacity: 0.55; }
  50%   { transform: translateY(0) scale(1); opacity: 0.5; }
  62.5% { transform: translateY(-35px) scale(1.1); opacity: 0.6; }
  75%   { transform: translateY(0) scale(1); opacity: 0.5; }
  87.5% { transform: translateY(25px) scale(0.9); opacity: 0.55; }
  100%  { transform: translateY(0) scale(1); opacity: 0.5; }
}

.floating-wave .wave-point:nth-child(1) { animation-delay: 0s; }
.floating-wave .wave-point:nth-child(2) { animation-delay: 0.2s; }
.floating-wave .wave-point:nth-child(3) { animation-delay: 0.4s; }
.floating-wave .wave-point:nth-child(4) { animation-delay: 0.6s; }
.floating-wave .wave-point:nth-child(5) { animation-delay: 0.8s; }
.floating-wave .wave-point:nth-child(6) { animation-delay: 1s; }
.floating-wave .wave-point:nth-child(7) { animation-delay: 1.2s; }
.floating-wave .wave-point:nth-child(8) { animation-delay: 1.4s; }
.floating-wave .wave-point:nth-child(9) { animation-delay: 1.6s; }
.floating-wave .wave-point:nth-child(10){ animation-delay: 1.8s; }

.floating-wave .wave-point:hover {
  transform: translateY(-50px) scale(1.5); /* hover légèrement moins haut */
  opacity: 1;
  box-shadow: 0 0 20px #8a4cff, 0 0 16px #ff8aff;
}


/* --- Toggle bouton --- */
.menu-toggle {
  display: none; /* caché par défaut, visible seulement sur mobile via media query */
  position: fixed;
  top: 25px;
  right: 25px;
  z-index: 2000;
  flex-direction: column;
  justify-content: space-between;
  width: 35px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 4px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.4s ease;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

/* --- Menu mobile full screen --- */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;        /* couvre toute la largeur */
  height: 100vh;       /* couvre toute la hauteur */
  background: linear-gradient(135deg, #1b0d3a, #3a0d4f);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  z-index: 1500;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateX(100%); /* commence hors écran à droite */
  text-align: center;
}

.mobile-nav.open {
  opacity: 1;
  transform: translateX(0); /* apparait à l’écran */
}

/* --- Bouton fermeture --- */
.mobile-nav-close {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 35px;
  height: 35px;
  cursor: pointer;
  z-index: 2000;
}

.mobile-nav-close::before,
.mobile-nav-close::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 4px;
  background: #fff;
  border-radius: 2px;
  top: 50%;
  left: 0;
}

.mobile-nav-close::before { transform: rotate(45deg); }
.mobile-nav-close::after { transform: rotate(-45deg); }

/* --- Menu items --- */
.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mobile-nav li {
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 15px 30px;
  background: rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.mobile-nav li:hover {
  background: rgba(139,98,209,0.2);
  border-color: rgba(139,98,209,0.6);
  box-shadow: 0 0 20px rgba(160,127,255,0.4);
}

.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 700;
  display: block;
}

/* --- Masquer nav desktop et afficher toggle sur mobile --- */
@media screen and (max-width: 992px) {
  .menu-toggle { display: flex; }
  .nav { display: none; }
}


/* ========== SECTION CLIENT - MODERNISÉ (Optimisé pour perf) ========== */

/* variables */
:root{
  --bg-900: #0f0313;
  --accent-1: #b06fcf;
  --accent-2: #8f4db8;
  --accent-3: #d5a0ff;
  --text: #e9e3ff;
  --muted: #cfc7e9;
  --glass: rgba(255,255,255,0.02);
  --card-border: rgba(176,111,207,0.10);
  --shadow-subtle: 0 12px 36px rgba(4,2,12,0.6);
}

/* base section */
.client-space{
  position:relative;
  padding:80px 20px;
  background: linear-gradient(180deg, rgba(8,3,20,0.98), rgba(16,4,36,0.98));
  color:var(--text);
  overflow:hidden;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* ----------------------
   Background animation (dark, slower, thicker lines)
-----------------------*/
.background-animation{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-image:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.02) 0 2px,  /* lignes plus larges */
      transparent 2px 60px),
    linear-gradient(120deg, rgba(176,111,207,0.015), rgba(143,77,184,0.01) 30%, transparent 70%);
  mix-blend-mode: screen;
  will-change: background-position, transform;
  animation: bgShift 40s linear infinite; /* plus lent */
  opacity:0.95;
}

.background-animation::after{
  content:"";
  position:absolute;
  right:-10%;
  top:-18%;
  width:60vmax;
  height:60vmax;
  background:
    radial-gradient(circle at 30% 30%, rgba(176,111,207,0.04), transparent 18%),
    radial-gradient(circle at 80% 80%, rgba(213,160,255,0.02), transparent 18%);
  filter: blur(16px);
  pointer-events:none;
  opacity:0.85;
  transform: translateZ(0);
}

@keyframes bgShift{
  0%{ background-position: 0 0; transform: translateX(-0.5%) }
  50%{ background-position: 700px 0; transform: translateX(0.7%) }
  100%{ background-position: 0 0; transform: translateX(-0.5%) }
}

@media (prefers-reduced-motion: reduce){
  .background-animation, .background-animation::after{ animation:none; transform:none; filter:none }
}

/* container & stacking */
.container.client-container{ position:relative; z-index:1; max-width:1200px; margin:0 auto; }
.client-content{ display:flex; flex-direction:column; gap:24px; align-items:stretch; }

/* header centered (fix) */
.client-header{ text-align:center; display:flex; flex-direction:column; gap:8px; align-items:center; }
.client-header .section-title{
  margin:0;
  padding:6px 14px;
  display:block;
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  text-transform:uppercase;
  letter-spacing:0.8px;
  background: linear-gradient(90deg,var(--accent-1),var(--accent-3),var(--accent-2));
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:transparent;
  box-shadow: 0 8px 28px rgba(143,77,184,0.12);
  border-radius:10px;
}
.client-header .section-description{
  margin:0;
  color:var(--muted);
  max-width:920px;
  font-size: clamp(0.95rem,1.3vw,1.08rem);
  line-height:1.55;
}

/* main layout - increase width of video region and spacing */
.client-main{
  display:flex;
  gap:40px; /* augmenté pour plus d'espace entre valeurs et vidéo */
  align-items:stretch;
  justify-content:space-between;
  flex-wrap:wrap;
}
.client-left{ flex:0 1 420px; min-width:260px; align-self:flex-start; }
.client-right{ flex:1 1 720px; min-width:320px; display:flex; align-items:center; justify-content:center; }

/* features - vertical stack but denser and visual */
.client-features{ display:flex; flex-direction:column; gap:14px; }

/* feature card (lightweight, visual) */
.feature{
  display:flex;
  gap:14px;
  padding:14px;
  border-radius:12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border:1px solid var(--card-border);
  box-shadow: var(--shadow-subtle);
  transition: transform .22s cubic-bezier(.2,.9,.3,1), border-color .22s;
  position:relative;
  overflow:visible;
}
.feature:hover{ transform:translateY(-6px); border-color: rgba(176,111,207,0.16); }

/* left accent bar */
.feature::before{
  content:""; position:absolute; left:0; top:0; bottom:0; width:6px; border-radius:12px 0 0 12px;
  background: linear-gradient(180deg,var(--accent-1),var(--accent-2));
}

/* icon */
.feature .icon{
  width:62px; height:62px; flex:0 0 62px; border-radius:10px;
  display:grid; place-items:center;
  background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.006));
  border:1px solid rgba(255,255,255,0.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.45);
  transition: transform .22s;
}
.feature:hover .icon{ transform: translateY(-4px) scale(1.02); }
.feature .icon img{ width:36px; height:36px; display:block; }

/* body of card */
.feature-body{ flex:1; min-width:0; }
.feature-body h3{ margin:0 0 6px; font-size:1.02rem; color:var(--text) }
.feature-body p{ margin:0; color:var(--muted); font-size:0.97rem; line-height:1.45 }

/* video wrapper - much wider, performant */
.video-wrapper{
  width:100%;
  max-width:1100px;
  border-radius:14px;
  overflow:hidden;
  position:relative;
  box-shadow: 0 28px 80px rgba(3,1,12,0.7);
  border:1px solid rgba(255,255,255,0.02);
  background: linear-gradient(180deg, rgba(12,4,28,0.9), rgba(18,6,40,0.86));
  transition: transform .22s;
  will-change: transform;
}
.video-wrapper video{ width:100%; height:auto; display:block; vertical-align:middle }

/* overlay play visual (non-interactive) */
.video-overlay{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; pointer-events:none }
.play-icon{
  width:82px; height:82px; border-radius:999px; display:grid; place-items:center;
  background: linear-gradient(135deg,var(--accent-1),var(--accent-2));
  box-shadow: 0 12px 36px rgba(143,77,184,0.22);
  transform: translateZ(0);
}
.play-icon::after{
  content:""; width:0; height:0; border-left:20px solid rgba(255,255,255,0.96); border-top:12px solid transparent; border-bottom:12px solid transparent; transform:translateX(3px);
}

/* cta */
.client-cta{ text-align:center; margin-top:18px }
.btn-primary{
  display:inline-block; padding:12px 34px; border-radius:26px; font-weight:700; text-decoration:none;
  background: linear-gradient(90deg,var(--accent-1),var(--accent-2)); color:#fff; box-shadow: 0 12px 40px rgba(143,77,184,0.22);
  transition: transform .16s;
}
.btn-primary:hover{ transform:translateY(-4px) }

/* responsive tweaks */
@media (max-width:991px){
  .client-main{ flex-direction:column; gap:20px; align-items:center }
  .client-right{ order:-1 } /* show video first on smaller screens */
  .video-wrapper{ max-width:920px }
  .feature{ padding:12px; border-radius:10px }
  .feature .icon{ width:56px; height:56px }
  .play-icon{ width:72px; height:72px }
}
@media (max-width:520px){
  .client-space{ padding:48px 14px }
  .client-header .section-title{ font-size:1.4rem }
  .feature .icon{ width:48px; height:48px }
  .mini-progress{ display:none } /* save vertical space on tiny screens */
}


/* ================================
   SECTION CONTACT MODERNISÉE
=============================== */
.contact-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: 
    linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%),
    radial-gradient(circle at 30% 20%, rgba(138, 76, 255, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(255, 138, 255, 0.1) 0%, transparent 60%);
  overflow: hidden;
  padding: 50px 20px;
}

/* Effets de fond animés */
.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 48px,
      rgba(138, 76, 255, 0.03) 50px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 48px,
      rgba(138, 76, 255, 0.03) 50px
    );
  animation: gridMove 40s linear infinite; /* Plus lent */
  z-index: 1;
  will-change: background-position; /* Optimisation GPU */
}

.contact-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(138, 76, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 138, 255, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.04) 0%, transparent 70%);
  animation: contactBackgroundPulse 15s ease-in-out infinite; /* Plus lent */
  z-index: 1;
  will-change: transform; /* Optimisation GPU */
}

@keyframes contactBackgroundPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.02); }
}

/* Conteneur des lignes néon */
.neon-lines-container {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Chaque ligne néon */
.neon-lines-container .neon-line {
  width: 2px;
  height: 200%; 
  background: linear-gradient(to bottom, #4b0082, #ff1493);
  opacity: 0.4; /* Réduire l'opacité */
  filter: blur(1px); /* Réduire le blur */
  animation: neonLines 50s linear infinite; /* Plus lent */
  will-change: transform; /* Optimisation GPU */
}

/* Décalage des lignes */
.neon-lines-container .neon-line:nth-child(1) { animation-delay: 0s; }
.neon-lines-container .neon-line:nth-child(2) { animation-delay: 3.5s; }
.neon-lines-container .neon-line:nth-child(3) { animation-delay: 7s; }
.neon-lines-container .neon-line:nth-child(4) { animation-delay: 10.5s; }
.neon-lines-container .neon-line:nth-child(5) { animation-delay: 14s; }
.neon-lines-container .neon-line:nth-child(6) { animation-delay: 17.5s; }
.neon-lines-container .neon-line:nth-child(7) { animation-delay: 21s; }
.neon-lines-container .neon-line:nth-child(8) { animation-delay: 24.5s; }
.neon-lines-container .neon-line:nth-child(9) { animation-delay: 28s; }
.neon-lines-container .neon-line:nth-child(10) { animation-delay: 31.5s; }

/* Animation fluide verticale sans saut */
@keyframes neonLines {
  0% { transform: translateY(-100%); }
  50% { transform: translateY(0%); }
  100% { transform: translateY(-100%); }
}

/* Bloc principal */
.contact-container {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 700px;
  text-align: center;
  color: #d8baff;
}

/* Titre centré avec dégradé bleu-violet → violet → rose vieilli */
.contact-container h1 {
  font-size: 3rem;
  margin-bottom: 40px;
  background: linear-gradient(90deg, #4b0082, #8a4cff, #c77aa3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}


/* Encadré amélioré avec glow subtil */
.contact-box {
  background: rgba(30, 0, 50, 0.9);
  padding: 50px 40px;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  box-shadow: 0 0 15px rgba(138, 76, 255, 0.3), 0 0 25px rgba(255, 20, 147, 0.2); /* glow plus subtil */
  backdrop-filter: blur(6px); /* Réduire le blur */
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Formulaire stylé */
.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(138, 76, 255, 0.15);
  box-shadow: 0 0 10px rgba(138, 76, 255, 0.4);
}

/* Section message plus grande */
.contact-form textarea {
  min-height: 150px; /* augmente la zone de texte */
  resize: vertical;
}

.contact-form button {
  padding: 15px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(45deg, #8a4cff, #ff1493);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 10px rgba(138, 76, 255, 0.3), 0 0 15px rgba(255, 20, 147, 0.2);
}

.contact-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(138, 76, 255, 0.5), 0 0 25px rgba(255, 20, 147, 0.3);
}

/* Infos de contact */
.contact-info {
  text-align: center;
  color: #d8baff;
}

.contact-info p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}


/* ================================
   FOOTER MODERNISÉ
=============================== */
.site-footer {
  background: 
    linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%),
    radial-gradient(circle at 30% 20%, rgba(138, 76, 255, 0.1) 0%, transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(255, 138, 255, 0.08) 0%, transparent 60%);
  color: var(--text-primary);
  text-align: center;
  padding: 20px 20px 40px; /* Réduire le padding-top pour coller à la section contact */
  margin: 0; /* Supprimer toute marge */
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(138, 76, 255, 0.2);
  box-shadow: 
    0 -5px 30px rgba(138, 76, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

/* Effets de fond animés */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 98px,
      rgba(138, 76, 255, 0.02) 100px
    );
  animation: footerGridMove 30s linear infinite;
  z-index: 0;
}

@keyframes footerGridMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(100px); }
}

.site-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(138, 76, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 138, 255, 0.04) 0%, transparent 50%);
  animation: footerPulse 12s ease-in-out infinite;
  z-index: 0;
}

@keyframes footerPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.02); }
}

/* Contenu du footer */
.footer-content p {
  margin: 10px 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* Liens du footer avec glow au hover violet */
.footer-content a {
  color: #c77aa3; /* rose vieilli */
  text-decoration: none;
  transition: all 0.3s;
}

.footer-content a:hover {
  color: #8a4cff; /* violet néon */
  text-shadow: 0 0 10px #8a4cff, 0 0 20px #8a4cff;
}

/* ================================
   BANNIÈRE COOKIES
=============================== */

/* Bannière principale */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(10, 10, 15, 0.98) 0%, rgba(26, 26, 46, 0.95) 100%);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(138, 76, 255, 0.3);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 25px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.cookie-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(138, 76, 255, 0.4);
  flex-shrink: 0;
}

.cookie-icon i {
  font-size: 1.5rem;
  color: white;
}

.cookie-text {
  flex: 1;
}

.cookie-text h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cookie-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 10px 0;
  max-width: 500px;
}

.cookie-links {
  margin: 10px 0 0 0 !important;
}

.cookie-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.cookie-link:hover {
  color: var(--secondary-color);
  border-bottom-color: var(--secondary-color);
  text-shadow: 0 0 8px rgba(255, 138, 255, 0.5);
}

.cookie-actions {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

/* Boutons cookies */
.cookie-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cookie-btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 8px 25px rgba(138, 76, 255, 0.3);
}

.cookie-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(138, 76, 255, 0.5);
}

.cookie-btn-secondary {
  background: rgba(138, 76, 255, 0.1);
  color: var(--text-primary);
  border: 1px solid rgba(138, 76, 255, 0.3);
}

.cookie-btn-secondary:hover {
  background: rgba(138, 76, 255, 0.2);
  border-color: rgba(138, 76, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(138, 76, 255, 0.2);
}

.cookie-btn i {
  font-size: 0.9rem;
}

/* Modal des paramètres */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  overflow-y: auto;
  min-height: 100vh;
}

.cookie-modal.show {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-content {
  background: linear-gradient(135deg, rgba(10, 10, 15, 0.98) 0%, rgba(26, 26, 46, 0.95) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(138, 76, 255, 0.3);
  border-radius: 25px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  min-height: 400px;
  overflow: visible !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  margin: auto;
  position: relative;
  z-index: 10002;
}

.cookie-modal.show .cookie-modal-content {
  transform: scale(1) translateY(0);
}

/* S'assurer que le modal est toujours visible */
.cookie-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  z-index: 10001 !important;
  overflow: visible !important;
  padding: 20px !important;
}

.cookie-modal.show {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10001 !important;
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 30px;
  border-bottom: 1px solid rgba(138, 76, 255, 0.2);
}

.cookie-modal-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.cookie-close-btn {
  width: 40px;
  height: 40px;
  background: rgba(138, 76, 255, 0.1);
  border: 1px solid rgba(138, 76, 255, 0.3);
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.cookie-close-btn:hover {
  background: rgba(138, 76, 255, 0.2);
  border-color: rgba(138, 76, 255, 0.5);
  transform: scale(1.1);
}

.cookie-modal-body {
  padding: 30px;
}

.cookie-category {
  margin-bottom: 25px;
  padding: 20px;
  background: rgba(138, 76, 255, 0.05);
  border: 1px solid rgba(138, 76, 255, 0.2);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.cookie-category:hover {
  background: rgba(138, 76, 255, 0.08);
  border-color: rgba(138, 76, 255, 0.3);
}

.cookie-category-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  flex-shrink: 0;
  margin-top: 2px;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(138, 76, 255, 0.3);
  border-radius: 26px;
  transition: all 0.3s ease;
  border: 1px solid rgba(138, 76, 255, 0.5);
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.cookie-switch input:checked + .cookie-slider {
  background: var(--gradient-primary);
  border-color: var(--primary-color);
}

.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(24px);
}

.cookie-switch input:disabled + .cookie-slider {
  background: rgba(138, 76, 255, 0.5);
  cursor: not-allowed;
}

.cookie-category-info {
  flex: 1;
}

.cookie-category-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cookie-category-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.cookie-modal-footer {
  padding: 25px 30px;
  border-top: 1px solid rgba(138, 76, 255, 0.2);
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-container {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
  
  .cookie-btn {
    flex: 1;
    justify-content: center;
    padding: 15px 20px;
  }
  
  .cookie-modal {
    padding: 20px 10px;
    align-items: flex-start;
    padding-top: 60px;
  }
  
  .cookie-modal-content {
    margin: 0;
    max-height: calc(100vh - 120px);
    width: calc(100% - 20px);
    border-radius: 20px;
  }
  
  .cookie-modal-header,
  .cookie-modal-body,
  .cookie-modal-footer {
    padding: 20px;
  }
  
  .cookie-category-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .cookie-switch {
    align-self: center;
  }
  
  .cookie-modal-footer {
    flex-direction: column;
  }
  
  .cookie-modal-footer .cookie-btn {
    width: 100%;
  }
}

/* Nouveau modal cookie - 100% refait */
#newCookieModal .modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

#newCookieModal .modal-container {
  background: linear-gradient(135deg, rgba(10, 10, 15, 0.98) 0%, rgba(26, 26, 46, 0.95) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(138, 76, 255, 0.3);
  border-radius: 25px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#newCookieModal .modal-header {
  padding: 25px 30px;
  border-bottom: 1px solid rgba(138, 76, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#newCookieModal .modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#newCookieModal .close-btn {
  width: 40px;
  height: 40px;
  background: rgba(138, 76, 255, 0.1);
  border: 1px solid rgba(138, 76, 255, 0.3);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

#newCookieModal .close-btn:hover {
  background: rgba(138, 76, 255, 0.2);
  border-color: rgba(138, 76, 255, 0.5);
}

#newCookieModal .modal-body {
  padding: 30px;
  flex: 1;
  overflow: visible !important;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

#newCookieModal .cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: rgba(138, 76, 255, 0.05);
  border: 1px solid rgba(138, 76, 255, 0.2);
  border-radius: 15px;
  transition: all 0.3s ease;
}

#newCookieModal .cookie-option:hover {
  background: rgba(138, 76, 255, 0.08);
  border-color: rgba(138, 76, 255, 0.3);
}

#newCookieModal .option-info h4 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

#newCookieModal .option-info p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  opacity: 0.8;
}

/* Switch toggle */
#newCookieModal .switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

#newCookieModal .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

#newCookieModal .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: .4s;
  border-radius: 34px;
  border: 1px solid rgba(138, 76, 255, 0.3);
}

#newCookieModal .slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

#newCookieModal input:checked + .slider {
  background-color: rgba(138, 76, 255, 0.8);
}

#newCookieModal input:focus + .slider {
  box-shadow: 0 0 1px rgba(138, 76, 255, 0.8);
}

#newCookieModal input:checked + .slider:before {
  transform: translateX(26px);
}

#newCookieModal .modal-footer {
  padding: 25px 30px;
  border-top: 1px solid rgba(138, 76, 255, 0.2);
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

#newCookieModal .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

#newCookieModal .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

#newCookieModal .btn-primary {
  background: linear-gradient(135deg, rgba(138, 76, 255, 0.8) 0%, rgba(76, 43, 255, 0.8) 100%);
  border: 1px solid rgba(138, 76, 255, 0.5);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

#newCookieModal .btn-primary:hover {
  background: linear-gradient(135deg, rgba(138, 76, 255, 1) 0%, rgba(76, 43, 255, 1) 100%);
  border-color: rgba(138, 76, 255, 0.8);
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .cookie-text h4 {
    font-size: 1.1rem;
  }
  
  .cookie-text p {
    font-size: 0.9rem;
  }
  
  .cookie-btn {
    font-size: 0.85rem;
    padding: 12px 16px;
  }
}

/* Bouton de réinitialisation des cookies dans le footer */
.cookie-reset-btn {
  background: rgba(138, 76, 255, 0.08);
  border: 1px solid rgba(138, 76, 255, 0.2);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: inherit;
}

.cookie-reset-btn:hover {
  color: var(--primary-color);
  background: rgba(138, 76, 255, 0.15);
  transform: translateY(-2px);
  border: 1px solid rgba(138, 76, 255, 0.4);
  box-shadow: 0 5px 15px rgba(138, 76, 255, 0.2);
}

.cookie-reset-btn i {
  font-size: 0.8rem;
}
