/* ============================================
   VARIABLES & RESET
   ============================================ */
:root {
    --primary-yellow: #FBE83D;
    --primary-orange: #EF900F;
    --gray: #B1B1B1;
    --white: #FFFFFF;
    --black: #1a1a1a;
    --text-dark: #2c2c2c;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.section {
    padding: 100px 0;
    position: relative;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    width: 100%;
    box-sizing: border-box;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-orange);
    line-height: 1;
}

.logo-subtitle {
    font-size: 12px;
    color: var(--gray);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-left: 5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--primary-orange));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-orange);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-donate-btn {
    background: linear-gradient(135deg, var(--primary-yellow), var(--primary-orange));
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 144, 15, 0.3);
    font-size: 14px;
}

.nav-donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 144, 15, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    box-sizing: border-box;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}
.hero-slider {
    perspective: 1200px;
    transform-style: preserve-3d;
  }
  
  .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
  
    transform: translate3d(12%, 0, -120px) scale(1.08) rotateY(-12deg);
    filter: blur(10px) saturate(1.2);
  
    transition:
      transform 1s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
      filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  
    pointer-events: none;
    transform-style: preserve-3d;
  }
  
  .hero-slide.active {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotateY(0deg);
    filter: blur(0) saturate(1);
    pointer-events: auto;
    z-index: 2;
  }
  
  .hero-slide.prev {
    opacity: 0;
    transform: translate3d(-14%, 0, -180px) scale(0.92) rotateY(10deg);
    filter: blur(12px) saturate(0.9);
    z-index: 1;
  }
  
  .hero-slide.next {
    opacity: 0;
    transform: translate3d(14%, 0, -180px) scale(1.12) rotateY(-10deg);
    filter: blur(12px) saturate(1.3);
    z-index: 1;
  }
  
  .hero-slide.active,
  .hero-slide.prev,
  .hero-slide.next {
    will-change: transform, opacity, filter;
  }
  
/* 
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    will-change: transform, opacity;
}

.hero-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
    z-index: 1;
}

.hero-slide.prev {
    transform: translateX(-100%) scale(0.95);
    z-index: 0;
}

.hero-slide.next {
    transform: translateX(100%) scale(0.95);
    z-index: 0;
} */
 .hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100%) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

/* Remettre ces 3 blocs (ils ne doivent PAS être commentés) */
.hero-slide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
  z-index: 1;
}

.hero-slide.prev {
  opacity: 0;
  transform: translateX(-100%) scale(0.95);
  z-index: 0;
}

.hero-slide.next {
  opacity: 0;
  transform: translateX(100%) scale(0.95);
  z-index: 0;
}

/* will-change seulement sur les 3 utiles */
.hero-slide.active,
.hero-slide.prev,
.hero-slide.next {
  will-change: transform, opacity;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
  }
  
  .hero-slide.active,
  .hero-slide.prev,
  .hero-slide.next {
    will-change: transform, opacity;
  }
  
.hero-slide-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Animation parallaxe subtile uniquement sur le slide actif */
}

.hero-slide.active .hero-slide-image {
    animation: parallaxFloat 15s ease-in-out infinite;
}

@keyframes parallaxFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(-2%, -1%, 0) scale(1.05);
    }
}

@keyframes parallaxFloatMobile {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(-1%, -0.5%, 0) scale(1.02);
    }
}

.hero-slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
    pointer-events: none;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slider-btn svg {
    width: 24px;
    height: 24px;
}

.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--white);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(251, 232, 61, 0.7), rgba(239, 144, 15, 0.6));
    z-index: -1;
}

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

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 30px;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.title-line {
    display: block;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

.title-line.animated {
    opacity: 1;
    animation: none;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.title-line:nth-child(3) {
    animation-delay: 0.6s;
}

.title-line.highlight {
    background: linear-gradient(135deg, var(--white), var(--primary-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
    animation-fill-mode: forwards;
    font-weight: 300;
    line-height: 1.6;
}

.hero-subtitle.animated {
    opacity: 1;
    animation: none;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
    animation-fill-mode: forwards;
}

.hero-buttons.animated {
    opacity: 1;
    animation: none;
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 16px;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-orange);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-orange);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--primary-orange));
    color: var(--white);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-dark);
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   OBJECTIFS SECTION
   ============================================ */
.objectifs {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.objectifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.objectif-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.objectif-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--primary-orange));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.objectif-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--primary-orange));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--white);
}

.card-icon svg {
    width: 35px;
    height: 35px;
}

.objectif-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

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

.parallax-image {
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.parallax-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* ============================================
   VISION SECTION
   ============================================ */
.vision {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    position: relative;
}

.vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.vision-text {
    position: relative;
    z-index: 2;
}

.vision-description {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.9;
    margin-bottom: 20px;
}

.vision-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
}

.vision-media {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.media-container {
    position: relative;
    width: 100%;
    height: 500px;
}

.vision-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(251, 232, 61, 0.3), rgba(239, 144, 15, 0.3));
}

/* ============================================
   MISSION SECTION
   ============================================ */
.mission {
    background: var(--white);
}

.mission-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 50px;
}

.mission-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-yellow), var(--primary-orange));
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    padding-left: 60px;
}

.timeline-marker {
    position: absolute;
    left: -30px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-orange);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px var(--primary-yellow);
}

.timeline-content {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.timeline-image {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.timeline-content:hover .timeline-image img {
    transform: scale(1.1);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.timeline-content p {
    color: var(--gray);
    line-height: 1.8;
}

/* ============================================
   DÉFIS SECTION
   ============================================ */
.defis {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.defis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.defi-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.defi-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(251, 232, 61, 0.1), transparent);
    transition: all 0.4s ease;
}

.defi-card:hover::before {
    top: -30%;
    right: -30%;
}

.defi-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.defi-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-orange);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    right: 20px;
    font-family: 'Playfair Display', serif;
}

.defi-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.defi-card p {
    color: var(--gray);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.defis-video {
    margin-top: 60px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
}

.defis-video-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.defis-image-background {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
}

.fallback-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(251, 232, 61, 0.7), rgba(239, 144, 15, 0.6));
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(251, 232, 61, 0.7), rgba(239, 144, 15, 0.7));
}

.video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
}

.video-content h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.video-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-cta {
    background: var(--white);
    color: var(--primary-orange);
    padding: 18px 50px;
    font-size: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

/* ============================================
   GALERIE SECTION
   ============================================ */
.galerie {
    background: var(--white);
}

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.galerie-item {
    position: relative;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.galerie-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.galerie-item:hover img {
    transform: scale(1.2);
}

.galerie-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(251, 232, 61, 0.9), rgba(239, 144, 15, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.galerie-item:hover .galerie-overlay {
    opacity: 1;
}

.galerie-overlay span {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================
   MEMBRES SECTION
   ============================================ */
.membres {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.membres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.membre-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    text-align: center;
}

.membre-card:hover {
    transform: translateY(-15px) rotate(2deg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.membre-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.membre-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(251, 232, 61, 0.3), rgba(239, 144, 15, 0.3));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.membre-card:hover .membre-image::after {
    opacity: 1;
}

.membre-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.membre-card:hover .membre-image img {
    transform: scale(1.2);
}

.membre-info {
    padding: 25px;
}

.membre-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.membre-info p {
    color: var(--primary-orange);
    font-weight: 500;
    font-size: 0.9rem;
}

/* ============================================
   CTA DONATION SECTION
   ============================================ */
.cta-donation {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-yellow), var(--primary-orange));
    z-index: 0;
}

.cta-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    color: var(--white);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--primary-orange));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.info-icon svg {
    width: 30px;
    height: 30px;
}

.info-text h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.info-text a,
.info-text p {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-text a:hover {
    color: var(--primary-orange);
}

.contact-form-container {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(239, 144, 15, 0.1);
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--gray);
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

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

.footer-section ul li a:hover {
    color: var(--primary-yellow);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-link:hover {
    color: var(--primary-yellow);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
}

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

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

[data-aos] {
    opacity: 0;
    transition: all 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

[data-aos="flip-left"] {
    transform: perspective(1000px) rotateY(-90deg);
}

[data-aos="flip-left"].aos-animate {
    transform: perspective(1000px) rotateY(0);
}

/* ============================================
   SCROLL PROGRESS & SCROLL TO TOP
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--primary-orange));
    z-index: 9999;
    transition: width 0.1s ease;
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--primary-orange));
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(239, 144, 15, 0.3);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 30px rgba(239, 144, 15, 0.4);
}

.nav-link.active {
    color: var(--primary-orange);
}

.nav-link.active::after {
    width: 100%;
}

/* ============================================
   LOADING MESSAGE
   ============================================ */
.loading-message {
    text-align: center;
    padding: 40px;
    color: var(--gray);
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

/* ============================================
   RESPONSIVE - MOBILE FIRST APPROACH
   ============================================ */

/* Base Mobile Styles - Tous les éléments sont optimisés pour mobile par défaut */
* {
    -webkit-tap-highlight-color: transparent;
}

img, video {
    max-width: 100%;
    height: auto;
}

/* Tablette Portrait (max-width: 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 25px;
    }

    .section {
        padding: 80px 0;
    }

    .objectifs-grid,
    .defis-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

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

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

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

/* Tablette (max-width: 968px) */
@media (max-width: 968px) {
    .nav-container {
        padding: 0 20px;
        height: 70px;
    }

    .nav-menu {
        position: fixed;
        left: -100% !important;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 40px 0;
        gap: 20px;
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0 !important;
    }

    .nav-donate-btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }

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

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

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

    .hero {
        height: 100vh;
        min-height: 600px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 3rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section {
        padding: 70px 0;
    }

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

    .vision-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mission-timeline {
        padding-left: 30px;
    }

    .timeline-item {
        padding-left: 40px;
    }

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

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

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

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

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

/* Mobile (max-width: 768px) - PRIORITÉ MOBILE */
@media (max-width: 768px) {
    /* Fix global pour éviter les décalages */
    html, body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        position: relative;
    }

    * {
        max-width: 100%;
    }

    /* Navbar Mobile */
    .nav-container {
        padding: 0 15px !important;
        height: 65px;
        flex-wrap: nowrap;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .navbar {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
    }

    .logo-text {
        font-size: 22px !important;
    }

    .logo-subtitle {
        font-size: 9px !important;
        margin-left: 3px;
    }

    .logo-image {
        height: 40px !important;
    }

    .nav-menu {
        top: 65px;
        padding: 25px 0;
        max-height: calc(100vh - 65px);
        overflow-y: auto;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        left: -100% !important;
        right: 0 !important;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0 !important;
    }

    .nav-menu li {
        margin: 0;
        padding: 0;
    }

    .nav-link {
        display: block;
        padding: 15px 20px;
        font-size: 16px;
    }

    .hamburger {
        display: flex !important;
        z-index: 1001;
    }

    /* Hero Mobile */
    .hero {
        height: 100vh;
        min-height: 500px;
        max-height: 100vh;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        overflow: hidden;
        position: relative;
    }

    .hero-slider-container {
        height: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        box-sizing: border-box;
        overflow: hidden !important;
        position: absolute !important;
    }

    .hero-slider {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        box-sizing: border-box;
        overflow: hidden !important;
        position: relative !important;
    }

    .hero-slide {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        height: 100% !important;
        overflow: hidden !important;
        /* Utiliser la nouvelle animation parallaxe */
        transform: translateX(100%) scale(0.95) !important;
    }

    .hero-slide.active {
        transform: translateX(0) scale(1) !important;
    }

    .hero-slide.prev {
        transform: translateX(-100%) scale(0.95) !important;
    }

    .hero-slide.next {
        transform: translateX(100%) scale(0.95) !important;
    }

    .hero-slide-image {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        box-sizing: border-box;
        overflow: hidden !important;
        /* Ajuster pour mieux voir les images en mobile */
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        /* Ajuster pour mieux voir les images en mobile */
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        /* Réduire l'animation parallaxe en mobile pour éviter les coupures */
    }

    .hero-slide.active .hero-slide-image {
        animation: parallaxFloatMobile 20s ease-in-out infinite;
    }

    .hero-content {
        padding: 0 20px !important;
        text-align: center;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        margin: 0 auto;
    }

    .hero-text {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .hero-title {
        font-size: clamp(2.2rem, 10vw, 3.5rem) !important;
        margin-bottom: 20px;
        line-height: 1.2;
        text-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
    }

    .title-line {
        display: block;
        margin-bottom: 5px;
    }

    .hero-subtitle {
        font-size: clamp(1.1rem, 4vw, 1.4rem) !important;
        margin-bottom: 30px;
        line-height: 1.7;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        font-weight: 400;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
    }

    .btn {
        width: 100% !important;
        max-width: 100% !important;
        padding: 14px 24px !important;
        font-size: 15px !important;
        text-align: center;
    }

    .hero-slider-controls {
        padding: 0 15px;
    }

    .slider-btn {
        width: 40px !important;
        height: 40px !important;
    }

    .slider-btn svg {
        width: 18px !important;
        height: 18px !important;
    }

    .hero-slider-dots {
        bottom: 15px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: auto !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .slider-dot {
        width: 8px !important;
        height: 8px !important;
    }

    .scroll-indicator {
        bottom: 20px;
        display: none; /* Masquer sur mobile */
    }

    /* Sections générales */
    .section {
        padding: 50px 0 !important;
    }

    .section-header {
        margin-bottom: 40px !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        text-align: center;
    }

    .section-tag {
        font-size: 10px !important;
        padding: 6px 15px !important;
        margin-bottom: 15px;
    }

    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.2rem) !important;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .section-description {
        font-size: clamp(0.95rem, 3vw, 1.1rem) !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .container {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto;
        box-sizing: border-box;
    }

    /* Fix pour toutes les sections */
    .section {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Objectifs Mobile */
    .objectifs-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
    }

    .objectif-card {
        padding: 25px 20px !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .card-icon {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 20px;
    }

    .card-icon svg {
        width: 30px !important;
        height: 30px !important;
    }

    .objectif-card h3 {
        font-size: 1.3rem !important;
        margin-bottom: 12px;
    }

    .objectif-card p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .parallax-image {
        display: none; /* Masquer sur mobile */
    }

    /* Vision Mobile */
    .vision-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
    }

    .vision-text {
        order: 2;
    }

    .vision-media {
        order: 1;
    }

    .media-container {
        height: 300px !important;
    }

    .vision-stats {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        margin-top: 30px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding: 0;
    }

    .stat-item {
        padding: 20px 15px !important;
    }

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

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

    /* Mission Mobile */
    .mission-timeline {
        padding-left: 20px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box;
        margin: 0 auto;
    }

    .mission-timeline::before {
        left: 10px;
    }

    .timeline-item {
        padding-left: 35px !important;
        margin-bottom: 40px;
    }

    .timeline-marker {
        left: -25px;
        width: 16px !important;
        height: 16px !important;
    }

    .timeline-content {
        padding: 20px !important;
    }

    .timeline-image {
        height: 200px !important;
        margin-bottom: 15px;
    }

    .timeline-content h3 {
        font-size: 1.3rem !important;
        margin-bottom: 12px;
    }

    .timeline-content p {
        font-size: 0.95rem;
    }

    /* Défis Mobile */
    .defis-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-bottom: 40px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding: 0;
    }

    .defi-card {
        padding: 25px 20px !important;
    }

    .defi-number {
        font-size: 3rem !important;
        top: 5px;
        right: 15px;
    }

    .defi-card h3 {
        font-size: 1.2rem !important;
        margin-bottom: 12px;
    }

    .defi-card p {
        font-size: 0.95rem;
    }

    .defis-video {
        margin-top: 40px;
    }

    .video-wrapper {
        height: 350px !important;
    }

    .video-content h3 {
        font-size: 1.8rem !important;
        margin-bottom: 12px;
    }

    .video-content p {
        font-size: 1rem !important;
        margin-bottom: 20px;
    }

    .btn-cta {
        padding: 14px 30px !important;
        font-size: 16px !important;
    }

    /* Galerie Mobile */
    .galerie-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
    }

    .galerie-item {
        height: 280px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    /* Membres Mobile */
    .membres-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
    }

    .membre-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .membre-image {
        height: 280px !important;
    }

    .membre-info {
        padding: 20px !important;
    }

    .membre-info h3 {
        font-size: 1.2rem !important;
    }

    .membre-info p {
        font-size: 0.9rem;
    }

    /* Contact Mobile */
    .contact-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
    }

    .contact-info {
        gap: 20px;
    }

    .info-item {
        padding: 20px !important;
        flex-direction: column;
        text-align: center;
    }

    .info-icon {
        width: 50px !important;
        height: 50px !important;
        margin: 0 auto 15px;
    }

    .info-text h3 {
        font-size: 1.1rem !important;
    }

    .contact-form-container {
        padding: 25px 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .contact-form {
        gap: 15px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 15px !important;
        font-size: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .form-group textarea {
        min-height: 120px !important;
    }

    /* Footer Mobile */
    .footer {
        padding: 40px 0 15px !important;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

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

    .footer-section h3 {
        font-size: 1.1rem !important;
        margin-bottom: 15px;
    }

    /* Actions Réalisées Mobile */
    .projets-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
    }

    .projet-card {
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .projet-image {
        height: 250px !important;
    }

    .projet-content {
        padding: 20px !important;
    }

    .projet-content h3 {
        font-size: 1.2rem !important;
    }

    .projet-content p {
        font-size: 0.95rem;
    }

    .projet-modal-content {
        max-width: 95% !important;
        padding: 15px !important;
        margin: 10px;
    }

    .projet-modal-header h2 {
        font-size: 1.4rem !important;
    }

    .projet-media-carousel {
        height: 300px !important;
    }

    /* Custom Sections Mobile */
    .custom-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .timeline-item {
        flex-direction: column;
    }

    /* CTA Donation Mobile */
    .cta-donation {
        padding: 60px 0 !important;
    }

    .cta-content h2 {
        font-size: clamp(1.5rem, 6vw, 2rem) !important;
    }

    .cta-content p {
        font-size: 1rem !important;
        margin-bottom: 30px;
    }
}

/* Mobile très petit (max-width: 480px) */
@media (max-width: 480px) {
    /* Fix global pour éviter les décalages */
    html, body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* Navbar très petit */
    .nav-container {
        height: 60px !important;
        padding: 0 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .logo-text {
        font-size: 20px !important;
    }

    .logo-subtitle {
        font-size: 8px !important;
    }

    .logo-image {
        height: 35px !important;
    }

    .nav-menu {
        top: 60px !important;
        padding: 20px 0 !important;
        left: -100% !important;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0 !important;
    }

    .nav-link {
        padding: 12px 15px !important;
        font-size: 15px !important;
    }

    .hamburger span {
        width: 22px !important;
        height: 2.5px !important;
    }

    /* Hero très petit */
    .hero {
        min-height: 450px !important;
        height: 100vh !important;
        overflow: hidden !important;
    }

    .hero-slider-container {
        height: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .hero-slide {
        width: 100% !important;
        height: 100% !important;
        overflow: hidden !important;
    }

    .hero-slide-image {
        width: 100% !important;
        height: 100% !important;
        background-size: cover !important;
        background-position: center center !important;
        /* S'assurer que l'image ne se coupe pas */
        object-fit: cover !important;
    }

    .hero-slide.active .hero-slide-image {
        animation: parallaxFloatMobile 20s ease-in-out infinite;
    }

    .hero-content {
        padding: 0 15px !important;
    }

    .hero-title {
        font-size: clamp(1.8rem, 9vw, 2.5rem) !important;
        margin-bottom: 15px;
        text-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
    }

    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.3rem) !important;
        margin-bottom: 25px;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
        font-weight: 400;
    }

    .hero-buttons {
        gap: 10px;
    }

    .btn {
        padding: 12px 20px !important;
        font-size: 14px !important;
    }

    .slider-btn {
        width: 35px !important;
        height: 35px !important;
    }

    .slider-btn svg {
        width: 16px !important;
        height: 16px !important;
    }

    .slider-dot {
        width: 7px !important;
        height: 7px !important;
    }

    /* Sections très petit */
    .section {
        padding: 40px 0 !important;
    }

    .section-header {
        margin-bottom: 30px !important;
    }

    .section-tag {
        font-size: 9px !important;
        padding: 5px 12px !important;
    }

    .section-title {
        font-size: clamp(1.5rem, 6vw, 1.9rem) !important;
    }

    .section-description {
        font-size: clamp(0.9rem, 3vw, 1rem) !important;
    }

    .container {
        padding: 0 12px !important;
    }

    /* Cards très petit */
    .objectif-card,
    .defi-card,
    .membre-card {
        padding: 20px 15px !important;
    }

    .card-icon {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 15px;
    }

    .card-icon svg {
        width: 25px !important;
        height: 25px !important;
    }

    .objectif-card h3,
    .defi-card h3 {
        font-size: 1.15rem !important;
    }

    .objectif-card p,
    .defi-card p {
        font-size: 0.9rem;
    }

    /* Vision très petit */
    .media-container {
        height: 250px !important;
    }

    .stat-item {
        padding: 15px 12px !important;
    }

    .stat-number {
        font-size: 1.8rem !important;
    }

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

    /* Mission très petit */
    .mission-timeline {
        padding-left: 15px !important;
    }

    .timeline-item {
        padding-left: 30px !important;
        margin-bottom: 30px;
    }

    .timeline-marker {
        width: 14px !important;
        height: 14px !important;
        left: -22px;
    }

    .timeline-content {
        padding: 18px !important;
    }

    .timeline-image {
        height: 180px !important;
    }

    .timeline-content h3 {
        font-size: 1.15rem !important;
    }

    /* Défis très petit */
    .defi-number {
        font-size: 2.5rem !important;
    }

    .video-wrapper {
        height: 300px !important;
    }

    .video-content h3 {
        font-size: 1.5rem !important;
    }

    .video-content p {
        font-size: 0.95rem !important;
    }

    /* Galerie très petit */
    .galerie-item {
        height: 250px !important;
    }

    /* Membres très petit */
    .membre-image {
        height: 250px !important;
    }

    .membre-info {
        padding: 18px !important;
    }

    /* Contact très petit */
    .info-item {
        padding: 18px !important;
    }

    .info-icon {
        width: 45px !important;
        height: 45px !important;
    }

    .contact-form-container {
        padding: 20px 15px !important;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px !important;
        font-size: 14px !important;
    }

    /* Footer très petit */
    .footer {
        padding: 35px 0 12px !important;
    }

    .footer-content {
        gap: 25px !important;
    }

    /* Modales très petit */
    .projet-modal-content {
        max-width: 98% !important;
        padding: 12px !important;
        margin: 5px;
    }

    .projet-modal-header h2 {
        font-size: 1.3rem !important;
    }

    .projet-media-carousel {
        height: 250px !important;
    }
}

/* ============================================
   SECTIONS PERSONNALISÉES
   ============================================ */

/* Section Actions Réalisées */
.custom-actions {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.custom-actions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(251, 232, 61, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(239, 144, 15, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.custom-actions .section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.custom-actions .section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #FBE83D 0%, #EF900F 100%);
    color: #fff;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.custom-actions .section-title {
    font-size: 3rem;
    color: #EF900F;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
}

.custom-actions .section-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.projets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 35px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.projet-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
}

.projet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(251, 232, 61, 0.05) 0%, rgba(239, 144, 15, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.projet-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 40px rgba(239, 144, 15, 0.2);
    border-color: #EF900F;
}

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

.projet-image {
    width: 100%;
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.projet-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    transition: opacity 0.3s ease;
}

.projet-card:hover .projet-image::after {
    opacity: 0;
}

.projet-content {
    padding: 25px;
}

.projet-content h3 {
    font-size: 1.5rem;
    color: #EF900F;
    margin-bottom: 10px;
    font-weight: 700;
}

.projet-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.projet-meta {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.media-count {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #B1B1B1;
    font-size: 0.9rem;
}

.media-count i {
    color: #EF900F;
}

/* Modale de projet */
.projet-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.projet-modal.active {
    opacity: 1;
    visibility: visible;
}

.projet-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.projet-modal-content {
    position: relative;
    background: #fff;
    border-radius: 15px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10001;
    padding: 30px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.projet-modal.active .projet-modal-content {
    transform: scale(1);
}

.projet-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #EF900F;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 10002;
}

.projet-modal-close:hover {
    background: #FBE83D;
}

.projet-modal-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #FBE83D;
}

.projet-modal-header h2 {
    color: #EF900F;
    font-size: 2rem;
    margin-bottom: 10px;
}

.projet-modal-header p {
    color: #666;
    line-height: 1.6;
}

.projet-modal-body {
    margin-top: 30px;
}

.media-section {
    margin-bottom: 40px;
}

.media-section h3 {
    color: #EF900F;
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.media-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/9;
    background: #000;
}

.media-item img,
.media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-item:hover .media-overlay {
    opacity: 1;
}

.media-overlay i {
    color: #fff;
    font-size: 2rem;
}

/* Visualiseur de média */
.media-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10003;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.media-viewer.active {
    opacity: 1;
    visibility: visible;
}

.media-viewer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.media-viewer-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    z-index: 10004;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.media-viewer.active .media-viewer-content {
    transform: scale(1);
}

.media-viewer-content img,
.media-viewer-content video {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
}

.media-viewer-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: #EF900F;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.media-viewer-close:hover {
    background: #FBE83D;
}

/* Autres sections personnalisées */
.custom-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.custom-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.custom-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.custom-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.custom-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.custom-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.custom-stats {
    background: linear-gradient(135deg, #FBE83D 0%, #EF900F 100%);
    padding: 80px 0;
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.custom-timeline {
    padding: 80px 0;
}

.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-date {
    font-weight: 700;
    color: #EF900F;
    font-size: 1.2rem;
    min-width: 120px;
}

.timeline-content h3 {
    color: #EF900F;
    margin-bottom: 10px;
}

.custom-cta {
    background: linear-gradient(135deg, #FBE83D 0%, #EF900F 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .projets-grid {
        grid-template-columns: 1fr;
    }
    
    .media-grid {
        grid-template-columns: 1fr;
    }
    
    .projet-modal-content {
        max-width: 95%;
        padding: 20px;
    }
    
    .custom-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
    }
}
