/* ==========================================================================
   Les Samaritains (LSM) - Premium Design System
   Modern, accessible, and performant
   ========================================================================== */

/* ==========================================================================
   1. Custom Properties (Design Tokens)
   ========================================================================== */

:root {
  /* Brand Colors - Red Theme */
  --red-50: #fef2f2;
  --red-100: #fee2e2;
  --red-200: #fecaca;
  --red-300: #fca5a5;
  --red-400: #f87171;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --red-700: #b91c1c;
  --red-800: #991b1b;
  --red-900: #7f1d1d;

  /* Accent - Warm Gold */
  --gold-400: #fbbf24;
  --gold-500: #f59e0b;
  --gold-600: #d97706;

  /* Neutrals */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* Semantic Colors */
  --color-primary: var(--red-600);
  --color-primary-hover: var(--red-700);
  --color-primary-light: var(--red-500);
  --color-accent: var(--gold-500);
  --color-accent-hover: var(--gold-600);
  --color-surface: var(--slate-50);
  --color-surface-elevated: #fff;
  --color-text: var(--slate-800);
  --color-text-muted: var(--slate-500);
  --color-border: var(--slate-200);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--red-500) 0%, var(--red-700) 100%);
  --gradient-dark: linear-gradient(135deg, var(--slate-800) 0%, var(--slate-900) 100%);
  --gradient-hero: linear-gradient(135deg, var(--red-600) 0%, var(--red-800) 50%, var(--slate-900) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-sans);

  /* Font Sizes - Fluid Typography */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
  --text-5xl: clamp(3rem, 2rem + 5vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-glow: 0 0 40px rgb(239 68 68 / 0.3);
  --shadow-card: 0 0 0 1px var(--color-border), var(--shadow-lg);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;

  /* Z-Index Scale */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

::selection {
  background: var(--red-200);
  color: var(--red-900);
}

/* ==========================================================================
   3. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   4. Layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-8);
  }
}

.section {
  padding: var(--space-20) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-24) 0;
  }
}

/* ==========================================================================
   5. Header & Navigation
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  padding: var(--space-4) 0;
  background: transparent;
  transition: all var(--duration-normal) var(--ease-out);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid var(--color-border);
}

.header.scrolled .nav-link {
  color: var(--color-text);
}

.header.scrolled .logo-text {
  color: var(--color-text);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  transition: transform var(--duration-fast) var(--ease-out);
}

.logo:hover {
  transform: scale(1.02);
}

.logo-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  color: #fff;
  transition: color var(--duration-normal) var(--ease-out);
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-1);
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  position: relative;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  transform: translateX(-50%);
  transition: width var(--duration-fast) var(--ease-out);
}

.nav-link:hover::after {
  width: calc(100% - var(--space-8));
}

.nav-link:hover {
  color: #fff;
}

.header.scrolled .nav-link:hover {
  color: var(--color-primary);
  background: var(--red-50);
}

.header.scrolled .nav-link::after {
  background: var(--color-primary);
}

/* Nav Right (Language + CTA) */
.nav-right {
  display: none;
  align-items: center;
  gap: var(--space-4);
}

@media (min-width: 1024px) {
  .nav-right {
    display: flex;
  }
}

/* Language Switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
}

.lang-switch:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.header.scrolled .lang-switch {
  color: var(--color-text);
  background: var(--color-surface-elevated);
  border-color: var(--color-border);
}

.header.scrolled .lang-switch:hover {
  color: var(--color-primary);
  background: var(--red-50);
  border-color: var(--color-primary);
}

/* CTA Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgb(245 158 11 / 0.4);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgb(245 158 11 / 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  color: #fff;
}

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

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease-out);
}

.header.scrolled .mobile-menu-btn {
  color: var(--color-text);
}

/* Mobile Navigation */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  z-index: var(--z-modal-backdrop);
  transition: all var(--duration-normal) var(--ease-out);
}

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

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--color-surface-elevated);
  z-index: var(--z-modal);
  transform: translateX(100%);
  transition: transform var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  font-size: 1.5rem;
  transition: all var(--duration-fast) var(--ease-out);
}

.mobile-nav-close:hover {
  background: var(--red-50);
  color: var(--color-primary);
}

.mobile-nav-links {
  padding: var(--space-4);
  flex: 1;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-lg);
  transition: all var(--duration-fast) var(--ease-out);
}

.mobile-nav-link:hover {
  background: var(--red-50);
  color: var(--color-primary);
}

.mobile-nav-footer {
  padding: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.mobile-nav-footer .btn {
  width: 100%;
}

/* ==========================================================================
   6. Hero Section
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245,158,11,0.1) 0%, transparent 40%),
    radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 30%);
  pointer-events: none;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  animation: float 20s infinite ease-in-out;
}

.hero-shape:nth-child(1) {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.hero-shape:nth-child(2) {
  width: 400px;
  height: 400px;
  bottom: -150px;
  left: -100px;
  animation-delay: -5s;
}

.hero-shape:nth-child(3) {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 10%;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(20px, -20px) rotate(5deg); }
  50% { transform: translate(-10px, 20px) rotate(-5deg); }
  75% { transform: translate(-20px, -10px) rotate(3deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-20) var(--space-6);
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  margin-bottom: var(--space-6);
  animation: fadeInDown 0.8s var(--ease-out) forwards;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-size: var(--text-5xl);
  color: #fff;
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s var(--ease-out) 0.2s forwards;
  opacity: 0;
}

.hero-title-accent {
  color: var(--color-accent);
}

.hero-description {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto var(--space-10);
  line-height: 1.7;
  animation: fadeInUp 0.8s var(--ease-out) 0.4s forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  animation: fadeInUp 0.8s var(--ease-out) 0.6s forwards;
  opacity: 0;
}

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

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

.scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-xs);
  animation: bounce 2s infinite;
}

.scroll-indicator-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid currentColor;
  border-radius: var(--radius-full);
  position: relative;
}

.scroll-indicator-mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: currentColor;
  border-radius: var(--radius-full);
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}

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

@keyframes scrollWheel {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 20px; }
}

/* ==========================================================================
   7. Section Headers
   ========================================================================== */

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-16);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: var(--red-50);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: var(--text-4xl);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section-description {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   8. Mission Section
   ========================================================================== */

.mission {
  background: var(--color-surface);
}

.mission-grid {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .mission-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.mission-content h2 {
  font-size: var(--text-3xl);
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.mission-content p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  line-height: 1.8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.stat-card {
  padding: var(--space-6);
  background: var(--color-surface-elevated);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
}

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

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.mission-image {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.mission-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%);
  z-index: 1;
}

.mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

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

/* ==========================================================================
   9. Actions Section
   ========================================================================== */

.actions {
  background: var(--color-surface-elevated);
}

.actions-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .actions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.action-card {
  position: relative;
  padding: var(--space-8);
  background: var(--color-surface);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
  transition: all var(--duration-normal) var(--ease-out);
  overflow: hidden;
}

.action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out);
}

.action-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

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

.action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--red-50);
  border-radius: var(--radius-xl);
  font-size: 2rem;
  margin-bottom: var(--space-5);
  transition: all var(--duration-normal) var(--ease-out);
}

.action-card:hover .action-icon {
  background: var(--gradient-primary);
  transform: scale(1.1) rotate(-5deg);
}

.action-card h3 {
  font-size: var(--text-xl);
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.action-card p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   10. Team Section
   ========================================================================== */

.team {
  background: var(--color-surface);
}

.team-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-card {
  background: var(--color-surface-elevated);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--duration-normal) var(--ease-out);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.team-avatar {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--red-100) 0%, var(--red-50) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.team-avatar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.team-card:hover .team-avatar::before {
  opacity: 0.1;
}

.team-info {
  padding: var(--space-6);
  text-align: center;
}

.team-info h3 {
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.team-role {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.team-info p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   11. Contact Section
   ========================================================================== */

.contact {
  background: var(--gradient-hero);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 0% 100%, rgba(255,255,255,0.05) 0%, transparent 50%),
    radial-gradient(circle at 100% 0%, rgba(245,158,11,0.1) 0%, transparent 40%);
  pointer-events: none;
}

.contact .section-header {
  position: relative;
  z-index: 1;
}

.contact .section-label {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.contact .section-title {
  color: #fff;
}

.contact .section-description {
  color: rgba(255, 255, 255, 0.8);
}

.contact-grid {
  display: grid;
  gap: var(--space-12);
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.contact-form-card {
  background: var(--gradient-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-2);
  color: rgba(255, 255, 255, 0.9);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: var(--text-base);
  color: #fff;
  transition: all var(--duration-fast) var(--ease-out);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-3) center;
  background-size: 20px;
}

.form-select option {
  background: var(--slate-800);
  color: #fff;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

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

.form-submit {
  width: 100%;
  padding: var(--space-4);
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all var(--duration-fast) var(--ease-out);
}

.form-submit:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.contact-info h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.contact-info > p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  transition: all var(--duration-fast) var(--ease-out);
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.contact-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  font-size: 1.25rem;
}

.contact-item-text {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.9);
}

.volunteer-cta {
  padding: var(--space-6);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-xl);
}

.volunteer-cta h4 {
  font-size: var(--text-lg);
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.volunteer-cta p {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   12. Donation Section
   ========================================================================== */

.donation {
  background: var(--color-surface);
}

.donation-card {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-10);
  background: var(--color-surface-elevated);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.donation-icon {
  font-size: 3rem;
  margin-bottom: var(--space-4);
}

.donation-card h3 {
  font-size: var(--text-2xl);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.donation-card > p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.donation-info {
  padding: var(--space-6);
  background: var(--red-50);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-lg);
  text-align: left;
  margin-bottom: var(--space-6);
}

.donation-info p {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.7;
}

.donation-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: italic;
}

/* ==========================================================================
   13. Footer
   ========================================================================== */

.footer {
  background: var(--gradient-dark);
  color: #fff;
  padding: var(--space-12) 0;
}

.footer-content {
  text-align: center;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}

.footer-text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
}

.footer-heart {
  color: var(--color-primary);
  animation: heartbeat 1.5s infinite;
}

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

/* ==========================================================================
   14. Loading Screen
   ========================================================================== */

.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--gradient-hero);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  z-index: 9999;
  transition: opacity var(--duration-slow) var(--ease-out);
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.loading-text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
}

/* ==========================================================================
   15. Reveal Animations
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   16. Action & News Page Specific
   ========================================================================== */

.page-hero {
  padding: calc(80px + var(--space-16)) 0 var(--space-16);
  background: var(--gradient-primary);
  color: #fff;
  text-align: center;
}

.page-hero h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.page-hero p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
}

.story-section {
  padding: var(--space-20) 0;
}

.story-grid {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.story-content h2 {
  font-size: var(--text-2xl);
  color: var(--color-primary);
  margin-bottom: var(--space-6);
}

.story-content p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.story-image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.story-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.challenge-card {
  background: var(--gradient-primary);
  color: #fff;
  padding: var(--space-10);
  border-radius: var(--radius-2xl);
  text-align: center;
  margin-bottom: var(--space-16);
}

.challenge-card .action-icon {
  background: rgba(255, 255, 255, 0.2);
  margin: 0 auto var(--space-6);
}

.challenge-card h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.challenge-card p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.challenge-card a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.challenge-card a:hover {
  color: var(--gold-400);
}

/* News Page */
.news-section {
  padding: var(--space-16) 0 var(--space-20);
}

/* Featured Article */
.article-featured {
  display: grid;
  gap: var(--space-10);
  padding: var(--space-8);
  background: var(--color-surface-elevated);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card);
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .article-featured {
    grid-template-columns: 1fr 1fr;
    padding: var(--space-10);
  }
}

.article-featured-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

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

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

.article-featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-featured-content h2 {
  font-size: var(--text-2xl);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.article-featured-content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

/* Article Date */
.article-date {
  display: inline-block;
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: var(--space-3);
}

/* Article Grid */
.article-grid {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-16);
}

@media (min-width: 640px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .article-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Article Card (for grid) */
.article-card {
  position: relative;
  background: var(--color-surface-elevated);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: all var(--duration-normal) var(--ease-out);
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.article-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

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

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

.article-card-content {
  padding: var(--space-6);
}

.article-card-content h3 {
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.article-card-content p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.article-link {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  transition: all var(--duration-fast) var(--ease-out);
}

.article-link:hover {
  color: var(--red-700);
  transform: translateX(4px);
}

/* News CTA */
.news-cta {
  text-align: center;
  padding: var(--space-12);
  background: var(--gradient-primary);
  border-radius: var(--radius-2xl);
  color: #fff;
}

.news-cta h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.news-cta p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}

.news-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

.news-cta .btn-primary {
  background: #fff;
  color: var(--color-primary);
}

.news-cta .btn-primary:hover {
  background: var(--color-accent);
  color: var(--color-text);
}

.news-cta .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.news-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* Upcoming Articles */
.article-card-upcoming {
  border: 2px dashed var(--color-primary);
  background: linear-gradient(135deg, var(--red-50) 0%, var(--color-surface-elevated) 100%);
}

.article-card-upcoming::before {
  content: 'À venir';
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: var(--gradient-primary);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  z-index: 10;
}

.article-date-upcoming {
  color: var(--color-accent) !important;
  background: rgba(245, 158, 11, 0.1);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-md);
}

/* ==========================================================================
   17. Utilities & Print
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media print {
  .header,
  .loading-screen,
  .mobile-nav,
  .mobile-nav-overlay,
  .scroll-indicator {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .hero {
    background: #fff;
    color: #000;
    min-height: auto;
    padding: 2rem 0;
  }
}
