/* ============================================================
  Main Stylesheet
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ============================================================
   1. VARIABLES CSS (Design Tokens)
   ============================================================ */
:root {
  /* Couleurs principales */
  --color-primary: #10542d;
  --color-primary-dark: #1cab6f;
  --color-primary-light: #56f08c;
  --color-secondary: #2B7A78;
  --color-secondary-dark: #1F5C5A;
  --color-secondary-light: #3AAFA9;
  --color-accent: #61f481da;
  --color-accent-light: #8af7b8;

  /* Fonds */
  --bg-light: #FDF8F4;
  --bg-cream: #FFF5EB;
  --bg-dark: #1A1A2E;
  --bg-dark-alt: #16213E;
  --bg-white: #FFFFFF;
  --bg-gray: #F7F7F7;

  /* Textes */
  --text-dark: #2D2D2D;
  --text-medium: #5A5A5A;
  --text-light: #F5F5F5;
  --text-muted: #8A8A8A;

  /* Typographie */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Tailles de texte */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Espacements */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Bordures */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Ombres */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 30px rgba(43, 232, 128, 0.3);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

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

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================================
   3. TYPOGRAPHIE
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--text-dark);
  font-weight: 700;
}

h1 {
  font-size: var(--text-5xl);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

h5 {
  font-size: var(--text-xl);
}

h6 {
  font-size: var(--text-lg);
}

p {
  margin-bottom: var(--space-md);
  color: var(--text-medium);
}

.text-accent {
  color: var(--color-primary);
}

.text-secondary {
  color: var(--color-secondary);
}

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

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

.section--dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--text-light);
}

.section--dark p {
  color: rgba(255, 255, 255, 0.75);
}

.section--cream {
  background-color: var(--bg-cream);
}

.section--gray {
  background-color: var(--bg-gray);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
  position: relative;
  display: inline-block;
}

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

.section-header .subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 600px;
  margin: var(--space-lg) auto 0;
}

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

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

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

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

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ============================================================
   5. BOUTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}

.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 ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(43, 232, 128, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(43, 232, 103, 0.45);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(43, 122, 120, 0.35);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(43, 122, 120, 0.45);
}

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

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

.btn-outline-white {
  border: 2px solid white;
  color: white;
  background: transparent;
}

.btn-outline-white:hover {
  background: white;
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: var(--text-lg);
}

.btn-sm {
  padding: 0.6rem 1.5rem;
  font-size: var(--text-sm);
}

.btn-icon {
  font-size: 1.2em;
}

/* ============================================================
   6. HEADER & NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: all var(--transition-base);
  background: transparent;
}

.header.scrolled {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-sm) 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: white;
  z-index: 1001;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  color: white;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(43, 232, 109, 0.3);
}

.logo span {
  color: var(--color-accent);
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: var(--text-sm);
  padding: var(--space-sm) 0;
  position: relative;
  transition: color var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: var(--space-md);
}

.nav-cta .btn {
  padding: 0.7rem 1.5rem;
  font-size: var(--text-sm);
}

/* Menu burger mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
  padding: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition-base);
}

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

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

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

/* ============================================================
   7. HERO SECTIONS
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: brightness(0.7);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(26, 26, 46, 0.6) 0%,
      rgba(26, 26, 46, 0.3) 40%,
      rgba(26, 26, 46, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: var(--space-3xl) var(--space-xl);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(43, 232, 68, 0.2);
  border: 1px solid rgba(43, 232, 65, 0.4);
  color: var(--color-accent);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-xl);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: fadeInDown 0.8s ease;
}

.hero h1 {
  font-size: var(--text-6xl);
  color: white;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease 0.2s both;
  line-height: 1.1;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.8s ease 0.4s both;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

/* Hero page intérieure (plus petit) */
.hero-inner {
  min-height: 50vh;
  padding-top: var(--header-height);
}

.hero-inner .hero-content {
  padding: var(--space-2xl) var(--space-xl);
}

.hero-inner h1 {
  font-size: var(--text-5xl);
}

/* Vague de séparation */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  z-index: 3;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   8. CARDS
   ============================================================ */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
}

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

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.card-image-wrapper {
  overflow: hidden;
  position: relative;
}

.card-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--color-primary);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.card-body {
  padding: var(--space-lg);
}

.card-body h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
  transition: color var(--transition-fast);
}

.card:hover .card-body h3 {
  color: var(--color-primary);
}

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

.card-footer {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-link {
  color: var(--color-primary);
  font-weight: 600;
  font-size: var(--text-sm);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  transition: gap var(--transition-fast);
}

.card-link:hover {
  gap: var(--space-sm);
}

/* Card Mission / Feature */
.card-feature {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.card-feature .card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, rgba(232, 116, 43, 0.1), rgba(244, 162, 97, 0.1));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all var(--transition-base);
}

.card-feature:hover .card-icon {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  transform: scale(1.1) rotate(5deg);
}

.card-feature:hover .card-icon span {
  filter: brightness(10);
}

.card-feature h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

/* ============================================================
   9. COMPTEURS ANIMÉS
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat-item {
  padding: var(--space-xl);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.section--dark .stat-number {
  color: var(--color-accent);
}

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

.section--dark .stat-label {
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   10. TIMELINE (À propos)
   ============================================================ */
.timeline {
  position: relative;
  padding: var(--space-xl) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-full);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 30px);
  padding-bottom: var(--space-3xl);
  position: relative;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 30px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--color-primary);
  border: 4px solid var(--bg-light);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(232, 116, 43, 0.2);
}

.timeline-content {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  max-width: 450px;
  position: relative;
}

.timeline-year {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: white;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.timeline-content h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.timeline-content p {
  font-size: var(--text-sm);
  margin-bottom: 0;
}

/* ============================================================
   11. ÉQUIPE (À propos)
   ============================================================ */
.team-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

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

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(232, 116, 43, 0.2);
}

.team-card h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
}

.team-card .role {
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 600;
}

/* ============================================================
   12. VALEURS (À propos)
   ============================================================ */
.value-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border-left: 4px solid transparent;
}

.value-card:hover {
  border-left-color: var(--color-primary);
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(232, 116, 43, 0.1), rgba(244, 162, 97, 0.1));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.value-card h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
}

.value-card p {
  font-size: var(--text-sm);
  margin-bottom: 0;
}

/* ============================================================
   13. FILTRES (Activités)
   ============================================================ */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-2xl);
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-medium);
  background: var(--bg-white);
  border: 2px solid rgba(0, 0, 0, 0.08);
  transition: all var(--transition-base);
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(43, 232, 90, 0.3);
}

/* ============================================================
   14. BARRE DE PROGRESSION (Détails activité)
   ============================================================ */
.progress-section {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  margin: var(--space-xl) 0;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}

.progress-label {
  font-weight: 600;
  color: var(--text-dark);
}

.progress-value {
  font-weight: 700;
  color: var(--color-primary);
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: rgba(232, 116, 43, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-full);
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-full);
  animation: progressPulse 2s ease infinite;
}

.progress-stats {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ============================================================
   15. GALERIE PHOTOS (Détails activité)
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: '🔍';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 2rem;
  transition: transform var(--transition-base);
  z-index: 2;
}

.gallery-item:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 1;
}

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

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  font-size: var(--text-3xl);
  color: white;
  cursor: pointer;
  transition: transform var(--transition-fast);
  z-index: 10001;
  background: rgba(255, 255, 255, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* ============================================================
   16. FORMULAIRES (Contact, Dons)
   ============================================================ */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-dark);
  font-size: var(--text-sm);
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  transition: all var(--transition-fast);
  background: var(--bg-white);
  color: var(--text-dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(43, 232, 103, 0.1);
}

.form-control::placeholder {
  color: var(--text-muted);
}

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

.form-error {
  color: #e74c3c;
  font-size: var(--text-xs);
  margin-top: var(--space-xs);
  display: none;
}

.form-group.error .form-control {
  border-color: #e74c3c;
}

.form-group.error .form-error {
  display: block;
}

.form-success {
  background: rgba(43, 122, 120, 0.1);
  border: 1px solid var(--color-secondary);
  color: var(--color-secondary-dark);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  text-align: center;
  display: none;
  font-weight: 600;
}

.form-success.show {
  display: block;
  animation: fadeInUp 0.5s ease;
}

/* ============================================================
   17. CONTACT INFO
   ============================================================ */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

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

.contact-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
}

.contact-item h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-xs);
}

.contact-item p {
  font-size: var(--text-sm);
  margin-bottom: 0;
}

/* ============================================================
   18. PAGE DE DONS
   ============================================================ */
.donation-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.amount-btn {
  padding: var(--space-lg);
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
  background: var(--bg-white);
}

.amount-btn:hover,
.amount-btn.active {
  border-color: var(--color-primary);
  background: rgba(232, 116, 43, 0.05);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.amount-btn.active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: white;
}

.amount-btn .amount {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  display: block;
  margin-bottom: var(--space-xs);
}

.amount-btn.active .amount {
  color: white;
}

.amount-btn .currency {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.amount-btn.active .currency {
  color: rgba(255, 255, 255, 0.8);
}

.custom-amount {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.custom-amount input {
  width: 200px;
  padding: 0.9rem 1.2rem;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: var(--text-xl);
  font-weight: 600;
  font-family: var(--font-heading);
}

.custom-amount input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(232, 116, 43, 0.1);
}

.impact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.impact-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-primary);
  transition: all var(--transition-base);
}

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

.impact-card .impact-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.impact-card .impact-amount {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.impact-card p {
  font-size: var(--text-sm);
  margin-bottom: 0;
}

/* ============================================================
   19. TÉMOIGNAGES / CARROUSEL
   ============================================================ */
.testimonials-carousel {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-slide {
  text-align: center;
  padding: var(--space-2xl);
  display: none;
  animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-quote {
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  position: relative;
}

.section--dark .testimonial-quote {
  color: var(--text-light);
}

.testimonial-quote::before {
  content: '"';
  font-size: 5rem;
  color: var(--color-primary);
  opacity: 0.3;
  position: absolute;
  top: -30px;
  left: -10px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-author {
  font-weight: 700;
  color: var(--color-primary);
  font-size: var(--text-base);
}

.testimonial-role {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.section--dark .testimonial-role {
  color: rgba(255, 255, 255, 0.5);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(232, 116, 43, 0.2);
  cursor: pointer;
  transition: all var(--transition-base);
}

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

/* ============================================================
   20. CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  padding: var(--space-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.cta-banner h2 {
  color: white;
  font-size: var(--text-4xl);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 2;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  position: relative;
  z-index: 2;
}

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

/* ============================================================
   21. PARTENAIRES
   ============================================================ */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  justify-content: center;
  align-items: center;
}

.partner-logo {
  padding: var(--space-lg) var(--space-xl);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-muted);
  font-size: var(--text-lg);
}

.partner-logo:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  color: var(--color-primary);
}

/* ============================================================
   22. ACTIONS MAP SECTION
   ============================================================ */
.action-zone {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border-left: 4px solid var(--color-secondary);
}

.action-zone:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--color-primary);
}

.action-zone-icon {
  flex-shrink: 0;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.action-zone h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
}

.action-zone p {
  font-size: var(--text-sm);
  margin-bottom: 0;
}

/* ============================================================
   23. PAGES LÉGALES
   ============================================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-toc {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-2xl);
  box-shadow: var(--shadow-sm);
}

.legal-toc h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
}

.legal-toc ol {
  list-style: decimal;
  padding-left: var(--space-xl);
}

.legal-toc li {
  margin-bottom: var(--space-sm);
}

.legal-toc a {
  color: var(--color-primary);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.legal-toc a:hover {
  color: var(--color-primary-dark);
}

.legal-section {
  margin-bottom: var(--space-2xl);
}

.legal-section h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
  padding-top: var(--space-md);
}

.legal-section h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.legal-section p,
.legal-section li {
  color: var(--text-medium);
  line-height: 1.8;
}

.legal-section ul {
  list-style: disc;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
}

/* ============================================================
   24. FOOTER
   ============================================================ */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: var(--space-4xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  margin-bottom: var(--space-md);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 320px;
}

.footer h4 {
  color: white;
  font-size: var(--text-base);
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-sm);
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-primary);
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  padding: var(--space-xs) 0;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: white;
  padding-left: var(--space-sm);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.footer-social a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-base);
}

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

.footer-bottom {
  padding: var(--space-xl) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--color-primary);
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

/* ============================================================
   25. ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@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);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes progressPulse {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Classe pour les éléments animés au scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Délais pour effets en cascade */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

/* ============================================================
   26. RESPONSIVE DESIGN
   ============================================================ */

/* Tablette large */
@media (max-width: 1024px) {
  :root {
    --text-6xl: 3rem;
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .donation-amounts {
    grid-template-columns: repeat(2, 1fr);
  }

  .impact-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 70px;
    padding-right: 0;
    justify-content: flex-start;
  }

  .timeline-dot {
    left: 30px;
  }
}

/* Tablette */
@media (max-width: 768px) {
  :root {
    --text-6xl: 2.5rem;
    --text-5xl: 2rem;
    --text-4xl: 1.75rem;
    --text-3xl: 1.5rem;
  }

  .container {
    padding: 0 var(--space-md);
  }

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

  /* Navigation mobile */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--bg-dark);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xl);
    padding: var(--space-2xl);
    transition: right var(--transition-base);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: var(--text-lg);
  }

  .nav-cta {
    margin-left: 0;
  }

  .menu-toggle {
    display: flex;
  }

  /* Mobile overlay */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
  }

  .nav-overlay.active {
    display: block;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-inner {
    min-height: 40vh;
  }

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

  .footer h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }

  .impact-cards {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 480px) {
  :root {
    --text-6xl: 2rem;
    --text-5xl: 1.75rem;
    --text-4xl: 1.5rem;
  }

  .hero {
    min-height: 90vh;
  }

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

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .stat-number {
    font-size: var(--text-4xl);
  }

  .donation-amounts {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

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

  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 55px;
  }

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

  .timeline-dot {
    left: 20px;
    width: 16px;
    height: 16px;
  }
}

/* ============================================================
   27. WAVE SEPARATOR
   ============================================================ */
.wave-separator {
  position: relative;
  height: 80px;
  overflow: hidden;
}

.wave-separator svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: auto;
}

/* ============================================================
   28. BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-md);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb .separator {
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   29. MAP PLACEHOLDER
   ============================================================ */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   30. TRUST BADGES (Dons)
   ============================================================ */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}

.trust-badge {
  text-align: center;
  opacity: 0.7;
  transition: opacity var(--transition-base);
}

.trust-badge:hover {
  opacity: 1;
}

.trust-badge .badge-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.trust-badge span {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   31. SCROLLBAR CUSTOM
   ============================================================ */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-dark);
}

/* ============================================================
   32. BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(43, 232, 128, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(43, 232, 122, 0.45);
}

/* ============================================================
   33. ACTIVITY DETAIL SPECIFIC
   ============================================================ */
.activity-detail-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.activity-detail-main h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.activity-detail-main p {
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.activity-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-xl));
}

.sidebar-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-lg);
}

.sidebar-card h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  font-size: var(--text-sm);
}

.info-row .label {
  color: var(--text-muted);
}

.info-row .value {
  font-weight: 600;
  color: var(--text-dark);
}

.objectives-list {
  list-style: none;
  padding: 0;
}

.objectives-list li {
  padding: var(--space-sm) 0;
  padding-left: var(--space-lg);
  position: relative;
  font-size: var(--text-sm);
  color: var(--text-medium);
}

.objectives-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-weight: 700;
}

/* ============================================================
   34. RESPONSIVE FIX ACTIVITY DETAIL
   ============================================================ */
@media (max-width: 768px) {
  .activity-detail-content {
    grid-template-columns: 1fr;
  }

  .activity-sidebar {
    position: static;
  }
}