/* ============================
   Variables globales modernisées
============================ */

/* Styles pour l'indicateur de chargement */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    text-align: center;
    padding: 2rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--bg-secondary);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
}

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

/* Correction des erreurs de syntaxe pour line-clamp avec support complet */
.line-clamp-1,
.line-clamp-2,
.line-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.line-clamp-1 {
    -webkit-line-clamp: 1;
    line-clamp: 1;
    max-height: 1.5em;
}

.line-clamp-2 {
    -webkit-line-clamp: 2;
    line-clamp: 2;
    max-height: 3em;
}

.line-clamp-3 {
    -webkit-line-clamp: 3;
    line-clamp: 3;
    max-height: 4.5em;
}
:root {
  /* Couleurs principales avec gradients */
  --primary-dark: #0f172a;
  --primary: #1e40af;
  --primary-light: #3b82f6;
  --secondary: #06b6d4;
  --secondary-light: #67e8f9;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --danger: #ef4444;
  --success: #10b981;
  
  /* Backgrounds */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-dark: #0f172a;
  --bg-glass: rgba(255, 255, 255, 0.1);
  
  /* Texte */
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  
  /* Ombres modernes */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);
  
  /* Transitions fluides */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Border radius moderne */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  
  /* Espacements */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
}

/* ============================
   Reset & Base modernisé
============================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-normal);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================
   Animations avancées
============================ */
@keyframes fadeInUp {
  from { 
    opacity: 0; 
    transform: translateY(40px) scale(0.98); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
}

@keyframes fadeInDown {
  from { 
    opacity: 0; 
    transform: translateY(-40px) scale(0.98); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
}

@keyframes fadeInLeft {
  from { 
    opacity: 0; 
    transform: translateX(-60px) rotateY(-15deg); 
  }
  to { 
    opacity: 1; 
    transform: translateX(0) rotateY(0); 
  }
}

@keyframes fadeInRight {
  from { 
    opacity: 0; 
    transform: translateX(60px) rotateY(15deg); 
  }
  to { 
    opacity: 1; 
    transform: translateX(0) rotateY(0); 
  }
}

@keyframes scaleIn {
  from { 
    opacity: 0; 
    transform: scale(0.8) rotate(-5deg); 
  }
  to { 
    opacity: 1; 
    transform: scale(1) rotate(0); 
  }
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); opacity: 0.8; }
  70% { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1); opacity: 1; }
}

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

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

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.3); }
  50% { box-shadow: 0 0 30px rgba(59, 130, 246, 0.6); }
}

/* Classes d'animation */
.fade-in-up { animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }
.fade-in-down { animation: fadeInDown 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }
.fade-in-left { animation: fadeInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }
.fade-in-right { animation: fadeInRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }
.scale-in { animation: scaleIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) both; }
.bounce-in { animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) both; }
.slide-in-top { animation: slideInFromTop 0.6s ease-out both; }
.pulse { animation: pulse 2s ease-in-out infinite; }
.float { animation: float 3s ease-in-out infinite; }
.glow { animation: glow 2s ease-in-out infinite; }

/* Délais d'animation progressifs */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* ============================
   Header moderne avec glassmorphism
============================ */
.header {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  animation: slideInFromTop 0.8s ease-out;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.8), transparent);
}

.header .logo a {
  display: flex;
  align-items: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  transition: var(--transition-normal);
}

.header .logo a:hover {
  transform: scale(1.05);
}

.header .logo-img {
  height: 45px;
  margin-right: 12px;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.header .logo a:hover .logo-img {
  transform: rotate(5deg);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  position: relative;
  transition: var(--transition-normal);
}

.main-nav a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition-normal);
}

.main-nav a:hover::before,
.main-nav a.active::before {
  opacity: 1;
  transform: scale(1);
}

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

/* ============================
   Boutons modernes avec effets
============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  text-transform: capitalize;
  letter-spacing: 0.025em;
}

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

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: white;
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.donate-btn {
  background: linear-gradient(135deg, var(--danger), #dc2626);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.donate-btn:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-xl);
}

.donate-btn::after {
  content: '❤️';
  position: absolute;
  right: 1rem;
  opacity: 0;
  transform: scale(0);
  transition: var(--transition-normal);
}

.donate-btn:hover::after {
  opacity: 1;
  transform: scale(1);
  animation: pulse 1.5s ease-in-out infinite;
}

/* ============================
   Hero section spectaculaire
============================ */
.hero {
  background: 
    linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 64, 175, 0.8)),
    radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.2) 0%, transparent 50%),
    url("../img/hero-bg.jpg") center/cover;
  color: white;
  text-align: center;
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.1) 100%);
  animation: float 6s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
  background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease-out 0.2s both;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons .btn {
  transform: translateY(20px);
  opacity: 0;
  animation: bounceIn 0.8s ease-out 0.6s both;
}

.hero-buttons .btn:nth-child(2) {
  animation-delay: 0.8s;
}

/* Particules flottantes */
.hero::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  top: 20%;
  right: 10%;
  animation: float 4s ease-in-out infinite reverse;
}

/* ============================
   Sections avec design moderne
============================ */
section {
  padding: 5rem 2rem;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================
   About section avec layout moderne
============================ */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.about-text {
  position: relative;
}

.about-text h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.about-text ul {
  margin: 1.5rem 0;
  padding-left: 0;
}

.about-text li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.about-text li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: bold;
  font-size: 1.1rem;
}

.about-image {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: var(--transition-normal);
}

.about-image:hover {
  transform: scale(1.02) rotate(1deg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-2xl);
  transition: var(--transition-slow);
}

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

.about-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-xl);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  animation: bounceIn 1s ease-out 0.5s both;
}

/* ============================
   Stats avec animations
============================ */
.stats {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 4rem 1rem;
  position: relative;
  overflow: hidden;
}

.stats .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  z-index: -1;
  opacity: 0;
  transition: all 0.4s ease;
}

.stat-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.12);
}

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

.stat-item i {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  color: var(--accent);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.stat-item:hover i {
  background: var(--accent);
  color: white;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0.5rem 0 0.3rem;
  background: linear-gradient(90deg, #fff, var(--secondary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  line-height: 1.2;
}

.stat-item p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  font-weight: 500;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.stats::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0) 70%);
  animation: rotate 20s linear infinite;
  z-index: 1;
  opacity: 0.7;
}

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

/* ===================
   Responsive Styles
   =================== */

/* Tablettes */
@media (max-width: 1024px) {
  .stats .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .stat-item {
    padding: 2rem 1rem;
    min-height: 200px;
  }
  
  .stat-item h3 {
    font-size: 2.2rem;
  }
  
  .stat-item i {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
}

/* Mobiles */
@media (max-width: 640px) {
  .stats {
    padding: 3rem 0.5rem;
  }
  
  .stats .container {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 1.25rem;
    padding: 0 1rem;
  }
  
  .stat-item {
    padding: 1.75rem 1rem;
    min-height: 180px;
    border-radius: var(--radius-lg);
  }
  
  .stat-item h3 {
    font-size: 2rem;
  }
  
  .stat-item p {
    font-size: 1rem;
  }
  
  .stat-item i {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
}

/* Très petits écrans */
@media (max-width: 360px) {
  .stat-item {
    padding: 1.5rem 0.75rem;
    min-height: 160px;
  }
  
  .stat-item h3 {
    font-size: 1.75rem;
  }
  
  .stat-item i {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

/* ===========================
   POPUP DE PROFIL
   Styles pour la fenêtre modale d'affichage des profils détaillés
============================ */

/* Animation d'entrée */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Animation de sortie */
@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* Animation de montée du contenu */
@keyframes slideUp {
  from { 
    transform: translateY(30px);
    opacity: 0;
  }
  to { 
    transform: translateY(0);
    opacity: 1;
  }
}

/* Animation des éléments d'information */
@keyframes fadeInUp {
  from { 
    transform: translateY(15px);
    opacity: 0;
  }
  to { 
    transform: translateY(0);
    opacity: 1;
  }
}

/* Conteneur principal de la popup */
.popup {
  /* Positionnement et dimensions */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  
  /* Style visuel */
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  
  /* Disposition */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  overflow-y: auto;
  
  /* Animation */
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, backdrop-filter;
}

/* État actif de la popup */
.popup.active {
  opacity: 1;
  visibility: visible;
  animation: fadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* ===========================
   CONTENU DE LA POPUP
   Styles pour le conteneur principal de la popup
   =========================== */
.popup-content {
  /* DIMENSIONS */
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  
  /* STYLE VISUEL */
  background: rgba(23, 23, 26, 0.98);
  border-radius: 20px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  
  /* DISPOSITION */
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 3rem;
  overflow-y: auto;
  
  /* ANIMATION */
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, box-shadow;
  
  /* Effet de profondeur */
  perspective: 1000px;
  transform-style: preserve-3d;
}

/* État actif avec animation en cascade */
.popup.active .popup-content {
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

/* Animation en cascade pour les éléments enfants */
.popup.active .popup-header {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.popup.active .popup-avatar {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.popup.active .popup-info h2 {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.popup.active .popup-info .role {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.popup.active .popup-social {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.popup.active .popup-bio {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

/* Bouton de fermeture amélioré */
.popup-close {
  /* Positionnement */
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  
  /* Dimensions */
  width: 44px;
  height: 44px;
  
  /* Style visuel */
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  
  /* Disposition */
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Texte */
  font-size: 1.3rem;
  
  /* Interaction */
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  
  /* Animation d'entrée */
  opacity: 0;
  transform: scale(0.8) rotate(-90deg);
  animation: fadeIn 0.3s ease-out 0.3s forwards;
}

.popup-close:hover, 
.popup-close:focus {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.15);
}

.popup-close:active {
  transform: scale(0.95) rotate(90deg);
  transition: transform 0.1s ease;
}

/* ===========================
   EN-TÊTE DE LA POPUP
   Styles pour la section supérieure de la popup
   =========================== */
.popup-header {
  /* DISPOSITION */
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

/* ===========================
   PHOTO DE PROFIL
   =========================== */
.popup-avatar {
  /* DIMENSIONS */
  width: 160px;
  height: 160px;
  min-width: 160px;
  
  /* STYLE VISUEL */
  border-radius: 18px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  
  /* EFFET DE SURVOL */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: subpixel-antialiased;
  
  /* Animation d'entrée */
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.popup-avatar:hover {
  transform: translateY(-5px) scale(1.02) rotateY(5deg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ===========================
   ZONE D'INFORMATIONS
   =========================== */
.popup-info {
  flex: 1;
  position: relative;
}

/* Titre du membre */
.popup-info h2 {
  margin: 0 0 0.5rem 0;
  color: white;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.9));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

/* Rôle du membre */
.popup-info p.role {
  color: var(--primary);
  font-size: 1.1rem;
  margin: 0 0 1.5rem 0;
  font-weight: 500;
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 30px;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Effet de surbrillance au survol */
.popup-info p.role::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.popup-info p.role:hover::after {
  left: 100%;
}

/* ===========================
   CORPS DE LA POPUP
   =========================== */
.popup-body {
  flex: 1;
  padding: 1.5rem 0;
  color: #f1f1f1;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* Biographie */
.popup-bio {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.9;
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
  max-width: 90%;
}

/* Paragraphes dans la biographie */
.popup-bio p {
  margin-bottom: 1.2rem;
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.popup-bio p:hover {
  border-left-color: var(--primary);
  padding-left: 1.8rem;
}

/* ===========================
   RÉSEAUX SOCIAUX
   =========================== */
.popup-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.45s forwards;
}

.popup-social a {
  /* DIMENSIONS */
  --size: 44px;
  width: var(--size);
  height: var(--size);
  
  /* STYLE VISUEL */
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  
  /* DISPOSITION */
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* TEXTE */
  font-size: 1.1rem;
  text-decoration: none;
  
  /* ANIMATION */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateZ(0) scale(1);
  backface-visibility: hidden;
  -webkit-font-smoothing: subpixel-antialiased;
  position: relative;
  overflow: hidden;
  
  /* Animation d'entrée pour chaque icône */
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Délai d'animation pour chaque icône de réseau social */
.popup-social a:nth-child(1) { animation-delay: 0.5s; }
.popup-social a:nth-child(2) { animation-delay: 0.55s; }
.popup-social a:nth-child(3) { animation-delay: 0.6s; }
.popup-social a:nth-child(4) { animation-delay: 0.65s; }
.popup-social a:nth-child(5) { animation-delay: 0.7s; }

/* Effet de vague au survol */
.popup-social a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease-out, height 0.6s ease-out, opacity 0.6s ease-out;
  opacity: 0;
  z-index: 0;
}

.popup-social a:hover::before {
  width: 100%;
  height: 100%;
  opacity: 1;
}

.popup-social a i {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.popup-social a:hover i {
  transform: scale(1.2);
}

/* Couleurs spécifiques pour chaque réseau social avec effets de survol */
.popup-social a[href*="twitter"] { 
  --hover-color: #1DA1F2;
  color: #1DA1F2;
  background: rgba(29, 161, 242, 0.08);
  border-color: rgba(29, 161, 242, 0.2);
}

.popup-social a[href*="facebook"] { 
  --hover-color: #4267B2;
  color: #4267B2;
  background: rgba(66, 103, 178, 0.08);
  border-color: rgba(66, 103, 178, 0.2);
}

.popup-social a[href*="instagram"] { 
  --hover-color: #E1306C;
  color: #E1306C;
  background: linear-gradient(45deg, rgba(225, 48, 108, 0.08), rgba(253, 29, 29, 0.08), rgba(255, 159, 0, 0.08));
  border-color: rgba(225, 48, 108, 0.2);
}

.popup-social a[href*="linkedin"] { 
  --hover-color: #0077B5;
  color: #0077B5;
  background: rgba(0, 119, 181, 0.08);
  border-color: rgba(0, 119, 181, 0.2);
}

.popup-social a[href*="youtube"] { 
  --hover-color: #FF0000;
  color: #FF0000;
  background: rgba(255, 0, 0, 0.08);
  border-color: rgba(255, 0, 0, 0.2);
}

.popup-social a:hover {
  background: var(--hover-color, var(--primary));
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: transparent;
}

/* ===========================
   RÉACTIVITÉ
   =========================== */

/* ANIMATIONS DE SORTIE */
.popup.closing {
  animation: fadeOut 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.popup.closing .popup-content {
  animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) reverse forwards;
}

/* RESPONSIVE - Tablettes */
@media (max-width: 992px) {
  .popup-content {
    padding: 2rem;
    max-width: 95%;
  }
  
  .popup-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .popup-avatar {
    margin-bottom: 1.5rem;
    width: 140px;
    height: 140px;
    min-width: 140px;
  }
  
  .popup-info {
    text-align: center;
  }
  
  .popup-social {
    justify-content: center;
  }
  
  .popup-info h2 {
    font-size: 1.8rem;
  }
  
  .popup-info p.role {
    font-size: 1rem;
  }
  
  .popup-bio {
    font-size: 1rem;
    line-height: 1.7;
  }
}

/* RESPONSIVE - Mobiles */
/* Mobiles */
@media (max-width: 576px) {
  .popup {
    padding: 0.5rem;
  }
  
  .popup-content {
    padding: 1.25rem;
  }
  
  .popup-avatar {
    width: 120px;
    height: 120px;
  }
  
  .popup-info h2 {
    font-size: 1.5rem;
  }
  
  .popup-body {
    padding: 1rem 0;
    font-size: 0.95rem;
  }
}
  
  .member-social {
    justify-content: center;
  }
  
  .member-meta p {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .member-meta strong {
    margin-bottom: 0.25rem;
  }


/* ============================
   Section Statistiques Améliorée
============================ */
.stats {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgwLCAxMDUsIDI0MCwgMC4wNSkiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjcGF0dGVybikiLz48L3N2Zz4=');
  opacity: 0.6;
}

.stats .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.stat-item {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-xl);
  text-align: center;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(99, 179, 237, 0.15);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-light), var(--secondary));
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.stat-item i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  transition: var(--transition-normal);
}

.stat-item:hover i {
  background: var(--primary);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.stat-item h3 {
  font-size: 3rem;
  margin: 1rem 0 0.5rem;
  color: var(--primary-dark);
  font-weight: 800;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.stat-item p {
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============================
   Cards modernes avec glassmorphism
============================ */
.news-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
  position: relative;
}

.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  opacity: 0;
  transition: var(--transition-normal);
}

.news-card:hover::before {
  opacity: 1;
}

.news-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.news-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  animation: scaleIn 0.5s ease-out 0.3s both;
}

.news-content {
  padding: 1.5rem;
}

.news-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: white;
  line-height: 1.4;
}

/* Style pour le contenu des actualités */
.news-content p,
.news-content p * {
  color: white !important;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.read-more {
  color: white;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-normal);
}

.read-more:hover {
  color: var(--secondary);
  transform: translateX(3px);
}

.read-more::after {
  content: '→';
  transition: var(--transition-normal);
}

.read-more:hover::after {
  transform: translateX(3px);
}

/* ============================
   CTA section impressionnante
============================ */
.cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  text-align: center;
  border-radius: var(--radius-2xl);
  padding: 4rem 2rem;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.3) 0%, transparent 50%);
  animation: float 8s ease-in-out infinite;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  color: white;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================
   Footer moderne
============================ */
.footer {
  background: linear-gradient(135deg, var(--bg-dark), #1e293b);
  color: white;
  padding: 4rem 2rem 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--secondary-light);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  color: white;
  font-size: 1.2rem;
  transition: var(--transition-normal);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px) rotate(5deg);
  box-shadow: var(--shadow-lg);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ============================
   Responsive Design
============================ */
/* ============================
   Section Actualités
============================ */
.news-section {
  background-color: var(--bg-secondary);
  padding: 6rem 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.news-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.news-image {
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-content {
  padding: 1.5rem;
}

.news-date {
  display: block;
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.news-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.news-excerpt {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

/* ============================
   Section Témoignages
============================ */
.testimonials {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.03), rgba(30, 64, 175, 0.05));
}

.testimonial-slider {
  margin-top: 3rem;
  position: relative;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  margin: 1rem;
  position: relative;
}

.testimonial-content {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 2rem;
}

.testimonial-content::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -1rem;
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.2;
  font-family: serif;
  line-height: 1;
}

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

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
  border: 3px solid var(--primary-light);
}

.testimonial-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.testimonial-info p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ============================
   Responsive Design
============================ */
@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-image {
    order: -1;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 6rem 1rem;
    min-height: 80vh;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card {
    padding: 2rem 1.5rem;
  }
  
}

@media (max-width: 480px) {
  .stats {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
}

/* ============================
   Styles pour la navigation
============================ */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin: 0;
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 0.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid transparent;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}

.nav-links a.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.4);
  border-color: rgba(255, 255, 255, 0.1);
}

.nav-links a i {
  font-size: 1.1em;
  transition: var(--transition-normal);
}

.nav-links a:hover i {
  transform: scale(1.1);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--primary-light);
  border-radius: 3px;
  transition: var(--transition-normal);
  opacity: 0.8;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 80%;
  opacity: 1;
}

/* Amélioration pour les écrans mobiles */
@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 1000;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links a {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1.5rem;
  }
}

/* Styles pour le bouton de menu mobile */
.mobile-menu-btn {
  display: none;
  position: relative;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  outline: none;
}

.mobile-menu-btn span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.mobile-menu-btn span:nth-child(1) {
  top: 0px;
  transform-origin: left center;
}

.mobile-menu-btn span:nth-child(2) {
  top: 10px;
  transform-origin: left center;
}

.mobile-menu-btn span:nth-child(3) {
  top: 20px;
  transform-origin: left center;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg);
  top: -3px;
  left: 5px;
}

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

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 21px;
  left: 5px;
}

/* Overlay du menu mobile */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1024px) {
  .mobile-menu-btn {
    display: block;
  }
}

/* Styles pour la section héros */
.hero {
  text-align: center;
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

/* Styles pour les boutons de la section héros */
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Styles pour les cartes d'actualités */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.news-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.news-image {
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  padding: 1.5rem;
}

.news-date {
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.news-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.news-excerpt {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

/* Styles pour le pied de page */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-normal);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition-normal);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Styles pour les boutons */
.donate-btn, .discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-normal);
  margin: 0 0.5rem;
  min-width: 140px;
  justify-content: center;
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.donate-btn {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #fff;
  border: 2px solid var(--accent);
}

.donate-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.discord-btn {
  background: #7289da;
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition-normal);
}

.discord-btn:hover {
  background: #5b6eae;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(114, 137, 218, 0.3);
}

/* ============================
   Styles pour la page Actualités
============================ */
.filters {
  background-color: var(--bg-light);
  padding: 2rem 0;
  margin-bottom: 3rem;
}

.filters-container {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.search-box {
  display: flex;
  margin-bottom: 1.5rem;
}

.search-box input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  font-size: 1rem;
  transition: var(--transition-normal);
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-box button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  cursor: pointer;
  transition: var(--transition-normal);
}

.search-box button:hover {
  background: var(--primary-dark);
}

.filter-options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-options select {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: white;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-normal);
}

.filter-options select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Grille d'actualités */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.news-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  border: 1px solid var(--border-color);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.news-image {
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  padding: 1.5rem;
}

.news-category {
  display: inline-block;
  background: var(--primary-light);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.news-date {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: block;
}

.news-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: white;
  line-height: 1.4;
}

.news-excerpt {
  color: white;
  margin-bottom: 1.25rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.news-read-more {
  color: white;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-normal);
}

.news-read-more:hover {
  color: white;
  gap: 0.75rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.pagination a, 
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: white;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.pagination a:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.pagination .active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ============================
   Styles pour la page Équipe
============================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.team-member {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  text-align: center;
  border: 1px solid var(--border-color);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 2rem auto 1.5rem;
  border: 3px solid var(--primary-light);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: 0 1.5rem 2rem;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.team-position {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.team-bio {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.team-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--text-primary);
  transition: var(--transition-normal);
}

.team-social a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* ============================
   Styles pour la page Recrutement
============================ */
.recruitment-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.recruitment-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.recruitment-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

/* Styles pour le formulaire de recrutement */
.recruitment-form {
  background: white;
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  margin: 4rem 0;
  border: 1px solid var(--border-color);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.recruitment-form .section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.recruitment-form h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.recruitment-form p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.form-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: var(--transition-normal);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Style pour le champ de fichier */
.file-upload {
  padding: 1.5rem;
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: var(--transition-normal);
}

.file-upload:hover {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.05);
}

.file-upload input[type="file"] {
  display: none;
}

.file-upload label {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  color: var(--text-secondary);
}

.file-upload i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

/* Style pour les cases à cocher */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

.checkbox-group a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

/* Bouton de soumission */
.form-actions {
  text-align: center;
  margin-top: 2.5rem;
}

.form-actions .btn {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2);
}

/* Section FAQ */
.faq-section {
  background-color: var(--bg-secondary);
  padding: 5rem 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  transition: var(--transition-normal);
}

.faq-item.active .faq-question {
  background: var(--primary);
  color: white;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: inherit;
}

.faq-question i {
  transition: transform 0.3s ease;
  margin-left: 1rem;
  font-size: 0.9rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: white;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Styles responsifs */
@media (max-width: 768px) {
  .recruitment-form {
    padding: 1.5rem;
  }
  
  .form-row {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .recruitment-form h2 {
    font-size: 1.8rem;
  }
}

.step-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  margin: 1rem;
  position: relative;
  border: 1px solid var(--border-color);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.step-description {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

.recruitment-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  margin: 3rem 0;
  border: 1px solid var(--border-color);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: var(--transition-normal);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* ============================
   Styles pour la page Don
============================ */
.donation-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.donation-option {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.donation-option:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.donation-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1rem 0;
}

.donation-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.donation-features {
  text-align: left;
  margin-bottom: 2rem;
}

.donation-features li {
  margin-bottom: 0.75rem;
  padding-left: 1.75rem;
  position: relative;
  color: var(--text-primary);
}

.donation-features li:before {
  content: '✓';
  color: var(--success);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Formulaire de don */
.donation-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  margin: 3rem 0;
  border: 1px solid var(--border-color);
}

.payment-methods {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.payment-method {
  flex: 1;
  min-width: 100px;
  text-align: center;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-normal);
}

.payment-method:hover,
.payment-method.active {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.05);
}

.payment-method i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

/* ============================
   Styles pour la page Article
============================ */
.article-container {
  padding: 4rem 0;
  background-color: var(--bg-light);
}

.article-content {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.article-header {
  padding: 2.5rem 3rem 0;
  margin-bottom: 2rem;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.article .news-meta {
  margin: 1.5rem 0 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.news-author {
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
}

.news-author .author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--primary-light);
}

.news-author .author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-author .author-info {
  display: flex;
  color: white;
  flex-direction: column;
  line-height: 1.3;
}

.news-author .author-name {
  font-weight: 600 !important;
  color: white !important;
}

.news-author .author-role {
  font-size: 0.75rem;
  color: white;
  background: var(--primary-light);
  padding: 0.1rem 0.5rem;
  border-radius: 10px;
  display: inline-block;
  margin-top: 0.1rem;
  font-weight: 500;
}

.news-date {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.article-meta {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-category {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-date:before {
  content: '•';
  color: var(--text-muted);
}

.article-content h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

/* Styles pour l'auteur de l'article */
.article-author {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.article-author:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.article-author .author-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--primary-light);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-author .author-avatar:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.article-author .author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-author .author-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.article-author .author-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.article-author .author-role {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  margin-top: 0.25rem;
  text-transform: capitalize;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  align-self: flex-start;
}

.article-author .author-role:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Styles responsifs pour l'auteur */
@media (max-width: 768px) {
  .article-author {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1rem;
  }
  
  .article-author .author-avatar {
    width: 80px;
    height: 80px;
    margin-bottom: 0.5rem;
  }
  
  .article-author .author-info {
    align-items: center;
  }
  
  .article-author .author-role {
    align-self: center;
  }
}

/* Style principal pour l'image de l'article */
.article-image {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  margin: 2rem 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.article-image:hover {
  box-shadow: var(--shadow-lg);
}

.article-image img {
  width: 100%;
  height: 100%;
  max-height: 600px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.article-image:hover img {
  transform: scale(1.02);
}

/* Style pour les images dans le contenu de l'article */
.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
  display: block;
}

/* Responsive des images */
@media (max-width: 900px) {
  .article-image {
    max-height: 600px;
    margin: 1.5rem 0;
    border-radius: var(--radius-md);
  }
  
  .article-image img {
    max-height: 600px;
  }
}

.article-body {
  padding: 0 3rem 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  margin: 2.5rem 0 1.5rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.article-body h2 {
  font-size: 1.8rem;
}

.article-body h3 {
  font-size: 1.5rem;
}

.article-body h4 {
  font-size: 1.25rem;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 2rem 0;
}

.article-body blockquote {
  border-left: 4px solid var(--primary);
  padding: 1rem 0 1rem 2rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-secondary);
  background: var(--bg-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 3rem 2rem;
  border-bottom: 1px solid var(--border-color);
}

.article-tag {
  display: inline-block;
  background: var(--bg-light);
  color: var(--text-primary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  transition: var(--transition-normal);
  text-decoration: none;
}

.article-tag:hover {
  background: var(--primary);
  color: white;
}

.article-share {
  padding: 2rem 3rem;
  border-bottom: 1px solid var(--border-color);
}

.article-share h3 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.share-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: white;
  font-size: 1.1rem;
  transition: var(--transition-normal);
}

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

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.email { background: var(--text-muted); }

/* Articles similaires */
.related-articles {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
}

.related-articles h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: var(--text-primary);
}

/* ============================
   Articles similaires
============================ */
.related-articles {
  margin: 4rem 0;
  position: relative;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.related-articles-nav {
  display: flex;
  gap: 0.5rem;
}

.nav-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-secondary);
}

.nav-arrow:hover:not(:disabled) {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.nav-arrow:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
  min-height: 300px;
}

.article-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.article-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.5rem;
}

.article-category {
  color: var(--primary);
  font-weight: 600;
}

.article-title {
  font-size: 1.25rem;
  margin: 0.5rem 0;
  line-height: 1.4;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 2.8em; /* Fallback pour les navigateurs qui ne supportent pas line-clamp */
}

.article-excerpt {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0.5rem 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  max-height: 4.2em; /* Fallback pour les navigateurs qui ne supportent pas line-clamp */
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition-fast);
}

.read-more:hover {
  color: var(--primary-dark);
  gap: 0.5rem;
}

/* Squelettes de chargement */
.skeleton-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  animation: pulse 2s infinite;
  height: 100%;
}

.skeleton-image {
  width: 100%;
  height: 180px;
  background: var(--bg-secondary);
}

.skeleton-content {
  padding: 1.5rem;
}

.skeleton-line {
  height: 1rem;
  background: var(--bg-secondary);
  margin-bottom: 0.75rem;
  border-radius: 0.25rem;
}

.skeleton-line.short {
  width: 40%;
}

.skeleton-line.medium {
  width: 70%;
}

.skeleton-line.long {
  width: 100%;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Animation de chargement */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.article-card {
  animation: fadeIn 0.5s ease-out forwards;
  opacity: 0;
}

.article-card:nth-child(1) { animation-delay: 0.1s; }
.article-card:nth-child(2) { animation-delay: 0.2s; }
.article-card:nth-child(3) { animation-delay: 0.3s; }
.article-card:nth-child(4) { animation-delay: 0.4s; }

.related-article {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  border: 1px solid var(--border-color);
}

.related-article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.related-article-image {
  height: 180px;
  overflow: hidden;
}

.related-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.related-article:hover .related-article-image img {
  transform: scale(1.05);
}

.related-article-content {
  padding: 1.5rem;
}

.related-article-date {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: block;
}

.related-article-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  line-height: 1.4;
}

.related-article-link {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-normal);
}

.related-article-link:hover {
  color: var(--primary-dark);
  gap: 0.75rem;
}

/* Mode Sombre */
@media (prefers-color-scheme: dark) {
  .article-content,
  .related-article {
    background: var(--bg-secondary);
    border-color: var(--border-color-dark);
  }
  
  .article-body,
  .article-content h1,
  .author-name,
  .related-article-title {
    color: var(--text-primary);
  }
  
  .article-meta,
  .author-role,
  .related-article-date {
    color: var(--text-secondary);
  }
  
  .article-tag {
    background: var(--bg-dark);
    color: var(--text-primary);
  }
  
  .article-tag:hover {
    background: var(--primary);
    color: white;
  }
  
  .article-body blockquote {
    background: var(--bg-dark);
    border-left-color: var(--primary);
    color: var(--text-secondary);
  }
}

/* ============================
   Styles pour la page Recrutement
============================ */
.recruitment-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1rem;
}

.recruitment-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  counter-reset: step-counter;
}

.step {
  position: relative;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition-normal);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.step::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.step h3 {
  margin: 1.5rem 0 1rem;
  color: var(--text-primary);
  font-size: 1.3rem;
}

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

.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 5rem 1rem;
  text-align: center;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/pattern.png') center/cover;
  opacity: 0.1;
  pointer-events: none;
}

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

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: white;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-normal);
  font-size: 1rem;
  gap: 0.5rem;
}

.cta-btn i {
  font-size: 1.1em;
}

.cta-btn.primary {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-btn.primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.cta-btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}

/* Mode Sombre */
@media (prefers-color-scheme: dark) {
  .step {
    background: var(--bg-secondary);
    border-color: var(--border-color-dark);
  }
  
  .step h3 {
    color: var(--text-primary);
  }
  
  .step p {
    color: var(--text-secondary);
  }
}

/* ============================
   Styles pour la page de Don
============================ */
.donation-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 6rem 1rem;
  text-align: center;
  margin-bottom: 4rem;
}

.donation-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: white;
}

.donation-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

.donation-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.donation-option {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.donation-option:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.donation-option i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.donation-option h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.donation-option p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  min-height: 3.5rem;
}

.amount-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.amount-option {
  padding: 0.6rem 1.2rem;
  border: 2px solid var(--primary);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-normal);
  font-weight: 500;
  background: transparent;
  color: var(--primary);
}

.amount-option:hover,
.amount-option.active {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.custom-amount {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  margin: 1rem 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: var(--transition-normal);
  text-align: center;
}

.custom-amount:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.btn-donate {
  display: inline-block;
  width: 100%;
  padding: 1rem 2rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  text-align: center;
  margin-top: 1rem;
}

.btn-donate:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.donation-impact {
  background: var(--bg-light);
  padding: 5rem 0;
  margin: 5rem 0;
  position: relative;
  overflow: hidden;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.impact-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  transition: var(--transition-normal);
  border: 1px solid var(--border-color);
}

.impact-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.impact-item i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.impact-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

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

.donation-faq {
  margin: 5rem 0;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-primary);
  transition: var(--transition-normal);
}

.faq-item:not(:last-child) {
  margin-bottom: 1rem;
}

.faq-question {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: var(--transition-normal);
}

.faq-question:hover {
  background: var(--bg-secondary);
}

.faq-question i {
  transition: var(--transition-normal);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-slow);
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 1000px;
}

/* Mode Sombre */
@media (prefers-color-scheme: dark) {
  .donation-option,
  .impact-item {
    background: var(--bg-secondary);
    border-color: var(--border-color-dark);
  }
  
  .donation-option h3,
  .impact-item h3 {
    color: var(--text-primary);
  }
  
  .custom-amount {
    background: var(--bg-secondary);
    border-color: var(--border-color-dark);
    color: var(--text-primary);
  }
  
  .faq-item,
  .faq-question {
    background: var(--bg-secondary);
    border-color: var(--border-color-dark);
  }
  
  .faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
  }
}

/* Mode Sombre
============================ */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-light: #64748b;
  }
  
  body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
  }
  
  .news-card,
  .testimonial-card,
  .stat-item {
    background-color: var(--bg-secondary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  }
  
  .news-title,
  .testimonial-info h4 {
    color: var(--text-primary);
  }
  
  .news-excerpt,
  .news-date,
  .testimonial-content,
  .testimonial-info p {
    color: var(--text-secondary);
  }
  
  .cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
  }
  
  .footer {
    background: linear-gradient(135deg, #0f172a, #1e1e2f);
  }
}

/* ============================
   Section Équipe - Mise à jour
============================ */
.team {
  padding: 80px 20px;
  background: var(--background);
  position: relative;
  overflow: hidden;
}

.team::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  z-index: 0;
  border-bottom-left-radius: 50% 20%;
  border-bottom-right-radius: 50% 20%;
}

.team .container {
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  position: relative;
}

.section-header h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-color);
}

.section-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-top: 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
  align-items: stretch;
}

.team-member {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 0;
}

.team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

.member-avatar {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  display: block;
}

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

.member-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.member-name {
  font-weight: 600;
  color: var(--text-primary);
}

.member-role {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 15px;
  display: block;
}

.member-bio {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 10px 0 15px;
  flex-grow: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  max-height: 7.5em; /* Fallback pour les navigateurs qui ne supportent pas line-clamp */
}

.team-social {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.team-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--light-bg);
  color: var(--primary);
  transition: all 0.3s ease;
}

.team-social a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* Style pour le bouton Voir plus */
.btn-view-more {
  display: inline-block;
  padding: 8px 20px;
  background: var(--primary);
  color: white;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-top: 10px;
}

.btn-view-more:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Style pour les badges de statut */
.member-status {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent-color);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.member-status.online {
  background: #10b981; /* Vert pour en ligne */
}

.member-status.offline {
  background: #6b7280; /* Gris pour hors ligne */
}

/* Style pour le message "Aucun membre" */
.no-members {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  background: var(--bg-secondary);
  border-radius: 15px;
  margin: 2rem 0;
}

.no-members i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
  opacity: 0.8;
}

.no-members h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.no-members p {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* Style pour le fond de la section */
.team::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: var(--light-bg);
  z-index: 0;
  clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
}

/* Style pour la section CTA */
.cta-section {
  padding: 60px 0;
  background: var(--light-bg);
  position: relative;
  z-index: 1;
  margin-top: 80px;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 50px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
}

.cta-content h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.cta-content p {
  color: var(--text-dark);
  font-size: 1.1rem;
  margin-bottom: 25px;
}

/* Style pour le mode sombre */
@media (prefers-color-scheme: dark) {
  .team::before {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  }
  
  .section-header h2 {
    color: white;
  }
  
  .section-header p {
    color: rgba(255, 255, 255, 0.8);
  }
  
  .member-info {
    background: var(--bg-secondary);
  }
  
  .member-name {
    color: white;
  }
  
  .member-role {
    color: var(--primary-light);
  }
  
  .member-bio {
    color: var(--text-secondary);
  }
  
  .team-social a {
    background: var(--bg-primary);
    color: var(--primary-light);
  }
  
  .team-social a:hover {
    background: var(--primary);
    color: white;
  }
  
  .cta-content {
    background: var(--bg-secondary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }
  
  .cta-content h3 {
    color: white;
  }
  
  .cta-content p {
    color: var(--text-secondary);
  }
}

/* ====================================
   POPUP DE PROFIL
   ==================================== */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: #1e1e1e;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    color: #fff;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.popup-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* ====================================
   POPUP DE PROFIL - STYLE SITE
   ==================================== */
@keyframes popIn {
    0% { 
        opacity: 0; 
        transform: scale(0.95) translateY(20px);
    }
    100% { 
        opacity: 1; 
        transform: scale(1) translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none; /* Changé de flex à none */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1rem;
    visibility: hidden;
}

.popup.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.popup-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.popup.active .popup-container {
    animation: popIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 1;
    transform: translateY(0);
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.popup-close:hover {
    background: var(--primary);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.popup-header {
    padding: 3rem 2rem 2rem;
    position: relative;
    text-align: center;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.2) 0%, rgba(15, 23, 42, 0.4) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.popup-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.popup-avatar-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.popup-avatar-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 4px;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(30, 64, 175, 0); }
    100% { box-shadow: 0 0 0 0 rgba(30, 64, 175, 0); }
}

.popup-avatar-frame:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.4);
}

.popup-avatar {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.9);
    background: var(--bg-secondary);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-avatar-frame:hover .popup-avatar {
    transform: scale(0.95);
    border-color: white;
}

.popup-avatar-frame:hover .popup-avatar img {
    transform: scale(1.05);
}

.popup-titles {
    margin-top: 1.5rem;
    animation: fadeIn 0.6s ease-out 0.4s both;
}

.popup-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: white;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.popup-role {
    font-size: 1.2rem;
    color: var(--secondary-light);
    margin: 0;
    font-weight: 500;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.popup-body {
    padding: 2rem;
    background: rgba(15, 23, 42, 0.6);
    overflow-y: auto;
    max-height: 50vh;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Style de base pour les sections de la popup */
.popup-section {
    margin-bottom: 2rem;
    animation: fadeIn 0.6s ease-out 0.5s both;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.3), rgba(15, 23, 42, 0.5));
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* Effet de bordure animée */
.popup-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.popup-section:hover::before {
    transform: scaleX(1);
}

/* Style spécifique pour la section À propos */
#popupBio {
    background: linear-gradient(135deg, rgba(0, 58, 167, 0.1), rgba(15, 23, 42, 0.4));
    border: 1px solid rgba(0, 58, 167, 0.2);
}

#popupBio .section-header {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

#popupBio .section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 3px;
}

#popupBio .section-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#popupBio .section-header i {
    color: var(--primary);
    font-size: 1.2em;
    background: rgba(0, 58, 167, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 58, 167, 0.3);
    transition: all 0.3s ease;
}

#popupBio .section-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1.05rem;
    position: relative;
    padding: 0.5rem 0;
}

#popupBio .section-content::first-letter {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--primary);
    float: left;
    line-height: 0.8;
    margin: 0.1em 0.1em 0 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Animation pour le contenu */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.popup-section .section-content {
    animation: slideInFromRight 0.6s ease-out 0.7s both;
}

.popup-section:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.section-header h3 i {
    margin-right: 10px;
    color: var(--secondary);
    font-size: 1.2em;
}

.section-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
}

.popup-footer {
    padding: 1.5rem 2rem;
    background: rgba(15, 23, 42, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    animation: fadeIn 0.6s ease-out 0.6s both;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.popup-date {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.popup-date i {
    color: var(--secondary);
    font-size: 1em;
}

/* Animation pour les éléments de contenu */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Effet de flottement pour l'avatar */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

/* Effet de lueur */
@keyframes glow {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

/* Responsive */
@media (max-width: 640px) {
    .popup-container {
        width: 95%;
        max-height: 90vh;
    }
    
    .popup-header {
        padding: 2.5rem 1.5rem 1.5rem;
    }
    
    .popup-avatar-container {
        width: 130px;
        height: 130px;
    }
    
    .popup-title {
        font-size: 1.6rem;
    }
    
    .popup-role {
        font-size: 1.1rem;
    }
    
    .popup-body {
        padding: 1.5rem;
    }
    
    .popup-section {
        padding: 1.25rem;
    }
}

/* Animation pour le chargement de l'image */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.popup-avatar.loading {
    background: linear-gradient(90deg, rgba(30, 41, 59, 0.5) 25%, rgba(51, 65, 85, 0.5) 50%, rgba(30, 41, 59, 0.5) 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite linear;
}

.popup-avatar.loading img {
    opacity: 0;
}

/* Effet de flou au survol */
.popup-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1), transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.popup-container:hover::before {
    opacity: 1;
}

/* Animation de particules */
@keyframes floatParticle {
    0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) translateX(20px) rotate(360deg); opacity: 0; }
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    animation: floatParticle 3s ease-in-out infinite;
}

.popup-title {
    font-size: 1.8rem;
    margin: 0.5rem 0;
    color: #fff;
}

.popup-role {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.popup-body {
    padding: 0 1rem 1.5rem;
    line-height: 1.6;
    color: #e2e8f0;
}

.popup-section {
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
    border-radius: 8px;
}

.popup-section:last-child {
    margin-bottom: 0;
}

.popup-section h3 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.popup-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .popup-content {
        padding: 1.5rem;
    }
    
    .popup-avatar {
        width: 100px;
        height: 100px;
    }
    
    .popup-title {
        font-size: 1.5rem;
    }
}

.popup-social a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Styles de la popup nettoyés et optimisés */

.bio-section {
  margin-bottom: 25px;
}

.bio-section:last-child {
  margin-bottom: 0;
}

.bio-section h4 {
  margin: 0 0 10px 0;
  color: #2d3748;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 8px;
}

.bio-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.bio-section p {
  margin: 0 0 15px 0;
  font-size: 1rem;
  line-height: 1.7;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.skill-tag {
  background: #e2e8f0;
  color: #4a5568;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.skill-tag:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* Bouton de fermeture */
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f8fafc;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.close-btn:hover {
  background: var(--primary);
  color: white;
  transform: rotate(90deg);
}

/* Responsive */
@media (max-width: 768px) {
  .popup-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 20px;
  }
  
  .popup-avatar {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
  }
  
  .popup-social {
    justify-content: center;
  }
  
  .popup-body {
    padding: 20px;
  }
  
  .popup-info h2 {
    font-size: 1.5rem;
  }
  
  .popup-info > p {
    font-size: 1rem;
  }
  
  .bio-section h4 {
    font-size: 1rem;
  }
  
  .bio-section p {
    font-size: 0.95rem;
  }
}

/* Popup */
.bio-popup {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeInUp 0.5s ease;
}

.bio-content {
  background: white;
  padding: 20px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  position: relative;
  animation: scaleIn 0.5s ease;
}

.close-btn {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--accent-color);
}

.bio-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.bio-header img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
}

.bio-body p {
  margin-bottom: 10px;
}

/* ============================
   Styles améliorés pour la page de dons
   Partie 1: Bannière et statistiques
============================ */
/* Bannière héro améliorée */
.donation-hero {
  position: relative;
  padding: 6rem 0 8rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
  overflow: hidden;
}

.donation-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.donation-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.donation-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  font-weight: 400;
}

.donation-impact-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.donation-impact-badge i {
  margin-right: 0.75rem;
  font-size: 1.5rem;
  color: #ff6b6b;
}

.donation-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.donation-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 100px;
}

.donation-wave .shape-fill {
  fill: #FFFFFF;
}

/* Statistiques améliorées */
.donation-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 200px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 500;
}

/* Section utilisation des dons améliorée */
.donation-usage {
  padding: 6rem 0;
  background-color: var(--bg-secondary);
}

.usage-breakdown {
  display: flex;
  gap: 3rem;
  margin: 4rem 0;
  align-items: center;
}

.usage-chart {
  flex: 1;
  max-width: 400px;
}

.chart-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}

.usage-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.usage-item {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.usage-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.usage-color {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.usage-text h4 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.usage-text p {
  margin: 0 0 1.5rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 1rem;
  position: relative;
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 4px;
  position: relative;
  transition: width 1s ease-in-out;
}

.progress::after {
  content: attr(style);
  position: absolute;
  right: 10px;
  top: -25px;
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
}

/* Rapport annuel */
.annual-report {
  display: flex;
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 4rem;
}

.report-content {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.report-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.report-content p {
  margin-bottom: 2rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.report-image {
  flex: 1;
  background: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.report-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.report-image img:hover {
  transform: scale(1.02);
}

/* Options de don améliorées */
.donation-options-section {
  padding: 6rem 0;
  background: rgb(2, 4, 31);
  position: relative;
  overflow: hidden;
}

.donation-options-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgwLDAsMCwwLjAxKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==') repeat;
  opacity: 0.03;
  z-index: 0;
}

.donation-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}

.donation-option {
  background: rgba(10, 8, 44, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.donation-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.donation-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}

.donation-option:hover::before {
  opacity: 1;
}

.donation-option-badge {
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--primary);
  color: white;
  padding: 0.25rem 2.5rem;
  transform: rotate(45deg);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 2;
  width: 150px;
  text-align: center;
  right: -45px;
  top: 25px;
}

.donation-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: rgb(6, 0, 29);
  font-size: 1.8rem;
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
}

.donation-option:hover .donation-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.donation-option-header h3 {
  font-size: 1.5rem;
  margin: 1rem 0 0.5rem;
  color: var(--text-primary);
  text-align: center;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.donation-option-header h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.donation-option:hover .donation-option-header h3::after {
  width: 60%;
}

.donation-amounts {
  margin: 2.5rem 0;
  position: relative;
  z-index: 1;
}

.donation-amounts::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(99, 102, 241, 0) 100%);
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.donation-option:hover .donation-amounts::before {
  opacity: 1;
}

.amount-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.amount-option {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.amount-option:hover {
  border-color: var(--primary-light);
  background: rgba(59, 130, 246, 0.05);
}

.amount-option.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.amount-option.active .amount,
.amount-option.active .tax-info {
  color: white;
}

.amount {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.per-month {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.8;
}

.tax-info {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  display: block;
  line-height: 1.3;
}

.custom-amount-container {
  position: relative;
  margin-bottom: 1.5rem;
}

.custom-amount {
  width: 100%;
  padding: 0.85rem 1.25rem 0.85rem 2.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.custom-amount:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.currency {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  color: var(--text-secondary);
}

.per-month-input {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.btn-donate {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 600;
  color: white;
  background: var(--primary);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
}

.btn-donate i {
  font-size: 1.1em;
}

.btn-donate:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.donation-security {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  gap: 0.5rem;
}

.donation-security i {
  color: #10b981;
}

.donation-benefits {
  margin: 1.5rem 0;
  background: rgba(59, 130, 246, 0.05);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px dashed var(--primary-light);
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.benefit-item:last-child {
  margin-bottom: 0;
}

.benefit-item i {
  color: var(--primary);
  margin-top: 0.2rem;
  font-size: 0.9rem;
}

.benefit-item span {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.other-options {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.other-option {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.other-option:hover {
  transform: translateX(5px);
  background: var(--bg-tertiary);
}

.other-option-icon {
  width: 40px;
  height: 40px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.other-option-icon i {
  color: var(--primary);
  font-size: 1.1rem;
}

.other-option-content h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: var(--text-primary);
}

.other-option-content p {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.other-option-content .btn-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s ease;
}

.other-option-content .btn-text i {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.other-option-content .btn-text:hover {
  color: var(--primary-dark);
}

.other-option-content .btn-text:hover i {
  transform: translateX(3px);
}

.other-option-content .small {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-bottom: 0;
}

.tax-info-box {
  display: flex;
  background: #f8fafc;
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 3rem;
  border: 1px solid var(--border-color);
  gap: 1.5rem;
  align-items: flex-start;
}

.tax-info-icon {
  width: 50px;
  height: 50px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tax-info-icon i {
  color: var(--primary);
  font-size: 1.5rem;
}

.tax-info-content h4 {
  margin: 0 0 0.75rem;
  color: var(--text-primary);
  font-size: 1.25rem;
}

.tax-info-content p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.tax-info-content p:last-child {
  margin-bottom: 0;
}

.tax-info-content p strong {
  color: var(--text-primary);
}

/* Section impact des dons */
.donation-impact {
  padding: 6rem 0;
  background-color: var(--bg-secondary);
}

.impact-timeline {
  position: relative;
  max-width: 800px;
  margin: 4rem auto 0;
  padding: 0 2rem;
}

.timeline-progress {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--border-color);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  z-index: 2;
}

.timeline-dot {
  color: white;
  width: 60px;
  height: 60px;
  background: rgb(11, 2, 46);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.timeline-dot i {
  color: white;
  font-size: 1.5rem;
}

.timeline-content {
  color: white;
  background: rgb(5, 2, 31);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  width: calc(50% - 40px);
  margin-left: auto;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 0;
  margin-right: auto;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
  margin: 0 0 1rem;
  color: rgba(64, 131, 255, 0.822);
  font-size: 1.4rem;
  white-space: nowrap;
}

.timeline-content p {
  margin: 0 0 1.5rem;
  color: rgb(44, 108, 168);
  line-height: 1.6;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 1rem;
  position: relative;
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 4px;
  position: relative;
  transition: width 1s ease-in-out;
}

.progress::after {
  content: attr(style);
  position: absolute;
  right: 10px;
  top: -25px;
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.progress-bar span {
  display: block;
  font-size: 0.8rem;
  color: rgb(44, 108, 168);
  margin-top: 0.5rem;
  text-align: right;
}

.impact-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem;
}

.impact-stat {
  text-align: center;
  flex: 1;
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Témoignages */
.testimonials {
  margin-top: 6rem;
  text-align: center;
}

.testimonials h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  margin: 0 1rem;
  transition: all 0.3s ease;
}

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

.testimonial-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-content p::before,
.testimonial-content p::after {
  content: '"';
  font-size: 3rem;
  color: var(--primary-light);
  font-family: Georgia, serif;
  line-height: 1;
  position: absolute;
  opacity: 0.3;
}

.testimonial-content p::before {
  top: -15px;
  left: -20px;
}

.testimonial-content p::after {
  bottom: -30px;
  right: -10px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-light);
}

.author-info {
  text-align: left;
}

.author-info h4 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.author-role {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  gap: 1rem;
}

.testimonial-prev,
.testimonial-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
  margin: 0 1rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* FAQ */
.donation-faq {
  padding: 6rem 0;
  background: white;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.faq-item {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 1.5rem;
  background: var(--bg-secondary);
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}

.faq-question:hover {
  background: var(--bg-tertiary);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
}

.faq-answer.show {
  padding: 1.5rem;
  max-height: 500px;
  opacity: 1;
}

.faq-answer p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-toggle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 1rem;
  transition: all 0.2s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
  background: var(--primary-dark);
}

/* Responsive */
@media (max-width: 1024px) {
  .usage-breakdown {
    flex-direction: column;
  }
  
  .usage-chart {
    max-width: 100%;
    margin-bottom: 2rem;
  }
  
  .timeline-content {
    width: calc(100% - 100px);
    margin-left: 60px !important;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 60px !important;
  }
}

@media (max-width: 768px) {
  .donation-hero h1 {
    font-size: 2.5rem;
  }
  
  .donation-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .stat-item {
    width: 100%;
  }
  
  .amount-options {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .annual-report {
    flex-direction: column;
  }
  
  .report-content {
    padding: 2rem;
  }
  
  .report-image {
    padding: 2rem;
  }
  
  .donation-options {
    grid-template-columns: 1fr;
  }
  
  .donation-option.featured {
    transform: none;
  }
  
  .donation-option.featured:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 576px) {
  .donation-hero h1 {
    font-size: 2rem;
  }
  
  .donation-subtitle {
    font-size: 1.2rem;
  }
  
  .amount-options {
    grid-template-columns: 1fr;
  }
  
  .tax-info-box {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .tax-info-icon {
    margin: 0 auto;
  }
  
  .impact-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* Animation des nombres */
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-count {
  animation: countUp 0.6s ease-out forwards;
}

/* ===========================================
   STYLES RESPONSIVES ET MENU BURGER
   =========================================== */

/* Animation d'apparition des sections au scroll */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation du menu burger */
@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

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

/* Classe pour l'animation d'apparition */
.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Menu Burger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
  position: relative;
  transition: all 0.3s ease;
  outline: none;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
  will-change: transform, opacity;
}

.menu-toggle:hover span {
  background-color: var(--primary);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Menu mobile */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: var(--background);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  padding: 90px 25px 30px;
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  will-change: transform;
  border-left: 1px solid rgba(0, 0, 0, 0.05);
  visibility: hidden;
  opacity: 0;
}

.mobile-menu.active {
  transform: translateX(-100%);
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
  visibility: visible;
  opacity: 1;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: var(--primary);
}

/* Overlay du menu */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  z-index: 900;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, visibility;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Styles pour les sections qui apparaissent au scroll */
.section-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================================
   MEDIA QUERIES - TABLETTE (max-width: 1024px)
   =========================================== */
@media (max-width: 1024px) {
  /* Ajustements généraux */
  html {
    font-size: 15px;
  }
  
  .container {
    padding: 0 25px;
    max-width: 100%;
  }

  /* Header */
  .header {
    padding: 12px 0;
    position: relative;
    background: var(--background);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }
  
  .header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }
  
  .logo img {
    height: 40px;
    width: auto;
  }

  /* Hero */
  .hero-content {
    padding: 100px 0;
  }

  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  /* Grilles */
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Cartes */
  .card {
    margin-bottom: 20px;
  }

  /* Sections */
  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
}

/* =========================================
   MEDIA QUERIES - MOBILE (max-width: 768px)
   ========================================= */
@media (max-width: 768px) {
  /* Ajustements de base */
  html {
    font-size: 14px;
  }
  
  .container {
    padding: 0 15px;
  }
  /* Typographie */
  h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.4rem;
  }

  p {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* Header */
  .header {
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 800;
    background: var(--background);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  }

  .logo img {
    height: 36px;
    width: auto;
  }
  
  .logo span {
    font-size: 1.4rem;
  }

  /* Hero */
  .hero {
    text-align: center;
    padding: 70px 0 50px;
  }

  .hero-content {
    padding: 0;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  /* Grilles */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  /* Cartes */
  .card {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  }

  /* Cartes */
  .card {
    padding: 20px;
  }

  /* Sections */
  section {
    padding: 50px 0;
  }

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

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  /* Formulaire de contact */
  .contact-form {
    padding: 20px;
  }

  .form-group {
    margin-bottom: 15px;
  }

  /* Boutons */
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Petits mobiles */
@media (max-width: 480px) {
  html {
    font-size: 13px;
  }
  
  .container {
    padding: 0 12px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 6px;
  }
  
  /* Ajustements du menu mobile */
  .mobile-menu {
    width: 90%;
    padding: 80px 20px 30px;
  }
  
  .mobile-nav a {
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .mobile-nav a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
  }
  
  /* Amélioration de l'accessibilité au clavier */
  button:focus, a:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
  }
}
