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

:root {
    /* Dark Theme Colors */
    --bg-primary: #0A0A0A;
    --bg-secondary: #121212;
    --bg-tertiary: #1A1A1A;
    --bg-elevated: #252525;
    
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;
    --text-tertiary: #888888;
    
    --gold-primary: #D4AF37;
    --gold-light: #F4E4C1;
    --gold-dark: #B8941E;
    --gold-glow: rgba(212, 175, 55, 0.3);
    
    --border-color: rgba(212, 175, 55, 0.2);
    --border-hover: rgba(212, 175, 55, 0.4);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Cormorant', serif;
    --font-heading: 'Cormorant', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-gold: 0 4px 30px rgba(212, 175, 55, 0.4);
}

/* Light Theme - Beige Soft */
body.light-theme {
    --bg-primary: #FAF7F2;
    --bg-secondary: #F5F0E8;
    --bg-tertiary: #EFE8DC;
    --bg-elevated: #FFFDF9;
    
    --text-primary: #2C2416;
    --text-secondary: #5C5144;
    --text-tertiary: #847969;
    
    --border-color: rgba(212, 175, 55, 0.25);
    --border-hover: rgba(212, 175, 55, 0.45);
    
    --shadow-sm: 0 2px 8px rgba(44, 36, 22, 0.06);
    --shadow-md: 0 4px 16px rgba(44, 36, 22, 0.08);
    --shadow-lg: 0 8px 32px rgba(44, 36, 22, 0.12);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.7;
    background: var(--bg-primary);
    overflow-x: hidden;
    cursor: none;
    transition: background-color 0.4s ease, color 0.4s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

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

/* ===========================
   Firefly Sparkles - Optimized
   =========================== */
.sparkles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, var(--gold-primary) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    animation: sparkleFloat linear infinite;
    filter: blur(0.5px);
    box-shadow: 
        0 0 4px rgba(212, 175, 55, 0.8),
        0 0 8px rgba(212, 175, 55, 0.4);
}

.sparkle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    opacity: 0.6;
}

.sparkle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    width: 8px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    opacity: 0.6;
}

/* Different sparkle sizes */
.sparkle.small {
    width: 2px;
    height: 2px;
}

.sparkle.small::before,
.sparkle.small::after {
    width: 4px;
}

.sparkle.medium {
    width: 3px;
    height: 3px;
}

.sparkle.medium::before,
.sparkle.medium::after {
    width: 6px;
}

.sparkle.large {
    width: 5px;
    height: 5px;
}

.sparkle.large::before,
.sparkle.large::after {
    width: 10px;
}

/* Firefly effect - pulsating sparkles that stay in place */
@keyframes fireflyGlow {
    0%, 100% {
        opacity: 0.2;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes fireflyFloat {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(15px, -15px);
    }
    50% {
        transform: translate(-10px, 10px);
    }
    75% {
        transform: translate(10px, 15px);
    }
}

.sparkle {
    animation: fireflyGlow ease-in-out infinite, fireflyFloat ease-in-out infinite;
}

.sparkle.twinkle {
    animation: fireflyGlow 3s ease-in-out infinite, fireflyFloat 8s ease-in-out infinite;
}

/* Hide sparkles on mobile to improve performance */
@media (max-width: 768px) {
    .sparkles-container {
        display: none;
    }
}

/* ===========================
   Custom Cursor
   =========================== */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--gold-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.15s ease, opacity 0.15s ease;
    mix-blend-mode: difference;
    opacity: 0;
}

.cursor-trail {
    width: 40px;
    height: 40px;
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease, opacity 0.2s ease, width 0.3s ease, height 0.3s ease;
    opacity: 0;
}

body:hover .cursor-dot,
body:hover .cursor-trail {
    opacity: 1;
}

a:hover ~ .cursor-trail,
button:hover ~ .cursor-trail,
.gallery-item:hover ~ .cursor-trail {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-primary);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

body.light-theme .navbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.05em;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4)) 
            drop-shadow(0 0 16px rgba(212, 175, 55, 0.2));
    transition: filter 0.3s ease;
}

.logo-image:hover {
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.6)) 
            drop-shadow(0 0 24px rgba(212, 175, 55, 0.3));
}

.logo-subtitle {
    font-size: 0.65rem;
    color: var(--text-tertiary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
}

.nav-actions {
    display: none; /* Caché sur desktop, visible sur mobile */
    align-items: center;
    gap: 1rem;
}

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

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    box-shadow: var(--shadow-gold);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-primary);
}

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

.btn-donate {
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-gold);
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 35px rgba(212, 175, 55, 0.6);
}

/* Theme Toggle */
.theme-toggle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--bg-elevated);
    cursor: none;
    position: relative;
    transition: all var(--transition-base);
    overflow: hidden;
}

.theme-toggle:hover {
    border-color: var(--gold-primary);
    transform: scale(1.05);
}

.theme-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold-primary);
    transition: all var(--transition-base);
}

body.light-theme .theme-icon {
    background: transparent;
    box-shadow: inset -8px -8px 0 var(--gold-primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: none;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--gold-primary);
    transition: all var(--transition-base);
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    margin-top: 100px;
    object-fit: cover;
    object-position: center;
}

.hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-size: 1.2rem;
    font-weight: 500;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.6) 100%);
    z-index: 2;
}

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

.hero-text {
    animation: fadeInUp 1s ease-out;
    margin-top: 28rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 9vw, 7rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.title-line {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    text-align: center;
    width: 100%;
    filter: drop-shadow(0 0 30px var(--gold-glow));
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: var(--gold-light);
    letter-spacing: 6px;
    font-weight: 500;
    margin-bottom: 3rem;
    text-transform: uppercase;
    text-align: center;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 8rem;
}

.btn-primary {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-gold);
    border: none;
    cursor: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(212, 175, 55, 0.7);
}

.btn-secondary {
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    border: 2px solid var(--gold-primary);
    transition: all var(--transition-base);
    cursor: none;
}

.btn-secondary:hover {
    background: var(--gold-primary);
    color: var(--bg-primary);
    box-shadow: var(--shadow-gold);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold-light);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: float 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--gold-primary);
    position: relative;
    box-shadow: var(--shadow-gold);
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--gold-primary);
    border-bottom: 2px solid var(--gold-primary);
    transform: translateX(-50%) rotate(45deg);
}

/* ===========================
   Section Styles
   =========================== */
.section-apropos,
.section-events,
.section-values,
.section-gallery,
.section-contact {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-apropos {
    background: var(--bg-secondary);
}

.section-events {
    background: var(--bg-primary);
}

.section-values {
    background: var(--bg-tertiary);
}

.section-gallery {
    background: var(--bg-primary);
    overflow: visible;
}

.section-contact {
    background: var(--bg-secondary);
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-header.centered {
    text-align: center;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.section-tag.light {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-light);
}

/* Light theme - make light tags more readable */
body.light-theme .section-tag.light {
    background: rgba(212, 175, 55, 0.25);
    color: var(--gold-dark);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-header.centered .section-title {
    text-align: center;
}

.section-title.centered-title {
    text-align: center;
}

.section-title.light {
    color: var(--text-primary);
}

.section-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

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

/* ===========================
   À Propos Section
   =========================== */
.apropos-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.apropos-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-tertiary) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-size: 1rem;
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.image-placeholder:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-gold);
}

.image-placeholder.dark {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-elevated) 100%);
}

.image-decoration {
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    border-radius: 20px;
    z-index: 1;
    opacity: 0.15;
}

.lead-text {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

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

/* Notre Histoire */
.apropos-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin: 4rem 0;
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}

.story-content {
    order: 1;
}

.story-image {
    position: relative;
    order: 2;
}

.story-photo {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 20px;
    display: block;
}

.story-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    position: relative;
}

.story-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-primary) 0%, transparent 100%);
}

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

/* Notre Mission */
.apropos-mission {
    margin: 4rem 0;
    padding: 4rem;
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-tertiary) 100%);
    border-radius: 24px;
    border: 1px solid var(--border-color);
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mission-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.mission-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -0.5rem;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--gold-primary) 50%, transparent 100%);
}

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

.apropos-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.btn-text {
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
    cursor: none;
}

.btn-text:hover {
    gap: 1rem;
}

/* ===========================
   Événements Section
   =========================== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
}

.event-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    overflow: visible;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    cursor: none;
    position: relative;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3),
                0 10px 30px rgba(212, 175, 55, 0.2),
                0 0 20px rgba(212, 175, 55, 0.15),
                var(--shadow-lg);
    border-color: var(--gold-primary);
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
}

.event-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.event-image {
    position: relative;
    overflow: hidden;
}

.event-card:not(.featured) .event-image {
    aspect-ratio: 16/10;
}

.event-card.featured .event-image {
    min-height: 300px;
}

.event-image .image-placeholder {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
}

.event-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    display: block;
}

/* Event card sparkles on hover */
.event-card-sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, var(--gold-primary) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100;
    opacity: 0;
    filter: blur(0.5px);
    box-shadow: 
        0 0 6px rgba(212, 175, 55, 1),
        0 0 12px rgba(212, 175, 55, 0.6),
        0 0 18px rgba(212, 175, 55, 0.3);
}

.event-card-sparkle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    opacity: 0.8;
}

.event-card-sparkle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    width: 10px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    opacity: 0.8;
}

@keyframes eventSparkleFloat {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }
    20% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--sparkle-x, 0), var(--sparkle-y, -50px)) scale(0.5);
    }
}

.event-card-sparkle {
    animation: eventSparkleFloat 1.5s ease-out forwards;
}

/* Different sparkle sizes for event cards */
.event-card-sparkle.small {
    width: 4px;
    height: 4px;
}

.event-card-sparkle.small::before,
.event-card-sparkle.small::after {
    width: 6px;
}

.event-card-sparkle.medium {
    width: 5px;
    height: 5px;
}

.event-card-sparkle.medium::before,
.event-card-sparkle.medium::after {
    width: 8px;
}

.event-card-sparkle.large {
    width: 7px;
    height: 7px;
}

.event-card-sparkle.large::before,
.event-card-sparkle.large::after {
    width: 12px;
}

.event-tag {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    color: var(--bg-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: var(--shadow-gold);
}

.event-content {
    padding: 1.5rem;
}

.event-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.event-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.event-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.highlight-item {
    padding: 0.6rem 1.2rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-base);
}

.highlight-item:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

.event-meta span {
    padding: 0.4rem 1rem;
    background: var(--bg-tertiary);
    border-radius: 50px;
}

.events-cta {
    text-align: center;
    padding: 3rem;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

.events-cta p {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

/* ===========================
   Valeurs Section
   =========================== */
.values-content {
    display: grid;
    gap: 4rem;
}

.values-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.values-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
}

.value-item {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(212, 175, 55, 0.03);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    cursor: none;
}

.value-item:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: var(--gold-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.value-item h4 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--gold-light);
    letter-spacing: -0.02em;
}

.value-item p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Fix for light theme - values text readability */
body.light-theme .value-item h4 {
    color: var(--gold-dark);
}

body.light-theme .value-item p {
    color: var(--text-primary);
}

/* ===========================
   Événements en Cours Section
   =========================== */
.section-current-events {
    background: var(--bg-secondary);
    padding: var(--spacing-xl) 0;
}

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

.current-event-card {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.current-event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
    z-index: 1;
}

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

.current-event-card:hover::before {
    opacity: 1;
}

.current-event-card.featured {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.02) 100%);
    border: 2px solid var(--gold-primary);
}

.current-event-card.featured::before {
    opacity: 1;
    width: 5px;
}

/* Événements passés - Style grisé */
.current-event-card.past {
    opacity: 0.6;
    filter: grayscale(0.3);
}

.current-event-card.past:hover {
    opacity: 0.7;
    filter: grayscale(0.2);
}

.current-event-card.past .event-date {
    background: linear-gradient(135deg, #666 0%, #555 100%);
}

.current-event-card.past .event-status {
    background: rgba(100, 100, 100, 0.2);
    color: #888;
    border-color: rgba(100, 100, 100, 0.3);
}

.current-event-card.past h3,
.current-event-card.past p,
.current-event-card.past .event-location {
    color: var(--text-tertiary);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
    padding: 1rem;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-gold);
}

.date-day {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--bg-primary);
    line-height: 1;
}

.date-month {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bg-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

.date-year {
    font-size: 0.75rem;
    color: rgba(26, 26, 26, 0.8);
    margin-top: 0.25rem;
}

.current-event-content {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.current-event-content h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.current-event-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.event-status {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.event-status.featured {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    color: var(--bg-primary);
    border: none;
}

.event-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-tertiary);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.event-location span {
    font-weight: 500;
}

.event-register-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-gold);
    position: relative;
    z-index: 10;
    cursor: pointer;
}

.event-register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

/* ===========================
   Gallery Section - Stacked Photos Style
   =========================== */
.gallery-grid {
    position: relative;
    min-height: 1750px;
    padding: 4rem 0;
    margin-bottom: 4rem;
}

.gallery-item {
    position: absolute;
    width: 280px;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: visible;
    cursor: pointer;
    transition: transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 8px solid var(--bg-primary);
}

body.light-theme .gallery-item {
    border-color: #FAFAFA;
}

/* Scattered positioning - like photos on a table */
.gallery-item[data-index="0"] { 
    top: 20px; 
    left: 3%; 
    transform: rotate(-6deg); 
    z-index: 8;
}

.gallery-item[data-index="1"] { 
    top: 80px; 
    left: 38%; 
    transform: rotate(5deg); 
    z-index: 7;
}

.gallery-item[data-index="2"] { 
    top: 20px; 
    left: 62%; 
    transform: rotate(-3deg); 
    z-index: 9;
}

.gallery-item[data-index="3"] { 
    top: 350px; 
    left: 55%; 
    transform: rotate(5deg); 
    z-index: 6;
}

.gallery-item[data-index="4"] { 
    top: 380px; 
    left: 8%; 
    transform: rotate(4deg); 
    z-index: 5;
}

.gallery-item[data-index="5"] { 
    top: 370px; 
    left: 30%; 
    transform: rotate(-6deg); 
    z-index: 4;
}

.gallery-item[data-index="6"] { 
    top: 670px; 
    left: 4%; 
    transform: rotate(7deg); 
    z-index: 7;
}

.gallery-item[data-index="7"] { 
    top: 700px; 
    left: 42%; 
    transform: rotate(-4deg); 
    z-index: 3;
}

.gallery-item[data-index="8"] { 
    top: 650px; 
    left: 66%; 
    transform: rotate(-7deg); 
    z-index: 6;
}

.gallery-item[data-index="9"] { 
    top: 1020px; 
    left: 52%; 
    transform: rotate(6deg); 
    z-index: 8;
}

.gallery-item[data-index="10"] { 
    top: 1000px; 
    left: 8%; 
    transform: rotate(-5deg); 
    z-index: 5;
}

.gallery-item[data-index="11"] { 
    top: 1050px; 
    left: 30%; 
    transform: rotate(8deg); 
    z-index: 4;
}

.gallery-item[data-index="12"] { 
    top: 1360px; 
    left: 5%; 
    transform: rotate(-5deg); 
    z-index: 7;
}

.gallery-item[data-index="13"] { 
    top: 1350px; 
    left: 35%; 
    transform: rotate(6deg); 
    z-index: 9;
}

.gallery-item[data-index="14"] { 
    top: 1380px; 
    left: 68%; 
    transform: rotate(-4deg); 
    z-index: 6;
}

/* Large gallery items for emphasis */
.gallery-item.large {
    width: 360px;
}

.gallery-item.large .gallery-image {
    aspect-ratio: 16/11;
}

.gallery-item:hover {
    transform: scale(1.05) rotate(0deg) !important;
    z-index: 100 !important;
}

.gallery-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


/* Gallery Modal */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.gallery-modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.modal-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: var(--shadow-gold);
}

.modal-caption {
    text-align: center;
    max-width: 600px;
}

.modal-caption h3 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

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

.modal-close,
.modal-nav {
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    color: var(--gold-primary);
    cursor: none;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    font-size: 2rem;
}

.modal-close:hover {
    background: var(--gold-primary);
    color: var(--bg-primary);
    transform: rotate(90deg);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    font-size: 2.5rem;
}

.modal-prev {
    left: 2rem;
}

.modal-next {
    right: 2rem;
}

.modal-nav:hover {
    background: var(--gold-primary);
    color: var(--bg-primary);
    transform: translateY(-50%) scale(1.1);
}

/* ===========================
   Instagram Section
   =========================== */
.section-instagram {
    background: var(--bg-secondary);
    padding: var(--spacing-xl) 0;
}

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

/* SnapWidget Instagram Feed Styles */
.snapwidget-widget {
    width: 100%;
    min-height: 600px;
    border-radius: 16px;
    overflow: hidden;
}

.instagram-config-message,
.instagram-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: var(--bg-secondary);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.instagram-config-message h3 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.instagram-config-message ol {
    text-align: left;
    max-width: 550px;
    margin: 0 auto 2rem;
    color: var(--text-secondary);
    line-height: 2;
    font-size: 0.95rem;
}

.instagram-config-message ol a {
    color: var(--gold);
    text-decoration: underline;
}

.instagram-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
}

.instagram-post {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.instagram-post:hover {
    transform: translateY(-8px);
    border-color: var(--gold-primary);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
}

.instagram-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.instagram-image .image-placeholder {
    width: 100%;
    height: 100%;
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.9) 0%, rgba(184, 134, 11, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.instagram-post:hover .instagram-overlay {
    opacity: 1;
}

.instagram-icon {
    width: 48px;
    height: 48px;
    stroke-width: 2;
    color: var(--bg-primary);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.instagram-cta {
    text-align: center;
    margin-top: 2rem;
}

.instagram-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.instagram-cta .btn-primary svg {
    stroke-width: 2;
}

/* ===========================
   Team Page
   =========================== */
.hero-team {
    background: linear-gradient(135deg, var(--bg-primary) 0%, #1a1410 100%);
    min-height: 50vh;
}

.section-team {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

/* Team Slideshow */
.team-slideshow-container {
    position: relative;
    margin-top: 4rem;
    overflow: hidden;
}

.team-slideshow {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 2rem;
}

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

.team-member {
    background: var(--bg-secondary);
    border-radius: 24px;
    overflow: hidden;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    display: flex;
    flex-direction: row;
    min-width: 100%;
    flex-shrink: 0;
    opacity: 1;
    align-items: center;
    max-height: 450px;
}

.team-slideshow .team-member {
    min-width: 100%;
}

.team-member:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.15);
}

.team-member.featured {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .team-member.featured {
        grid-column: span 1;
    }
    
    .team-member {
        flex-direction: column;
        max-height: none;
    }
}

.member-image {
    position: relative;
    width: 30%;
    height: 100%;
    min-height: 450px;
    overflow: hidden;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .member-image {
        width: 35%;
    }
}

@media (max-width: 768px) {
    .member-image {
        width: 100%;
        min-height: 300px;
        height: auto;
    }
}

.member-image .image-placeholder {
    width: 100%;
    height: 100%;
    transition: transform var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.team-member:hover .member-image .image-placeholder {
    transform: scale(1.05);
}

.member-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
    color: var(--bg-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.member-info {
    padding: 3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 450px;
}

@media (max-width: 1024px) {
    .member-info {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .member-info {
        max-height: none;
        overflow-y: visible;
        padding: 2rem;
    }
}

.member-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.member-role {
    font-size: 1rem;
    color: var(--gold-primary);
    font-weight: 500;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
}

.member-bio {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    flex: 1;
    text-align: justify;
    text-justify: inter-word;
}

.member-contact {
    margin-top: auto;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold-primary);
    border-radius: 50px;
    color: var(--gold-primary);
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-base);
}

.contact-link:hover {
    background: var(--gold-primary);
    color: var(--bg-primary);
    transform: translateX(4px);
}

.contact-link svg {
    stroke-width: 2;
}

/* Join Team Section */
.section-join-team {
    background: var(--bg-secondary);
    padding: var(--spacing-xl) 0;
}

.join-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.join-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.join-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    text-align: justify;
    text-justify: inter-word;
}

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

/* Slideshow Controls */
.slideshow-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 10;
    backdrop-filter: blur(10px);
}

.slideshow-control:hover {
    background: var(--gold-primary);
    transform: translateY(-50%) scale(1.1);
}

.slideshow-control svg {
    color: var(--gold-primary);
    transition: color var(--transition-base);
}

.slideshow-control:hover svg {
    color: var(--bg-primary);
}

.slideshow-control.prev {
    left: -25px;
}

.slideshow-control.next {
    right: -25px;
}

@media (max-width: 768px) {
    .slideshow-control {
        width: 40px;
        height: 40px;
    }
    
    .slideshow-control.prev {
        left: 10px;
    }
    
    .slideshow-control.next {
        right: 10px;
    }
}

/* Slideshow Dots */
.slideshow-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3rem;
}

.slideshow-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    border: 2px solid var(--gold-primary);
    cursor: pointer;
    transition: all var(--transition-base);
}

.slideshow-dot:hover {
    background: rgba(212, 175, 55, 0.6);
    transform: scale(1.2);
}

.slideshow-dot.active {
    background: var(--gold-primary);
    width: 32px;
    border-radius: 6px;
}

/* ===========================
   Contact Section
   =========================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.2rem;
    background: rgba(212, 175, 55, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all var(--transition-base);
}

.contact-item:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: var(--border-hover);
}

.contact-label {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.contact-item a,
.contact-item span {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-base);
    cursor: none;
}

.contact-item a:hover {
    color: var(--gold-primary);
}

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

.social-link {
    padding: 0.75rem 1.5rem;
    background: var(--gold-primary);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-base);
    cursor: none;
}

.social-link:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* Action Cards Grid */
.action-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.action-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all var(--transition-base);
}

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

.action-card.featured {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, var(--bg-secondary) 100%);
    border-color: var(--gold-primary);
}

.action-card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.action-card-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.action-card-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: center;
}

/* Action Steps */
.action-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.action-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-content {
    flex: 1;
}

.step-content strong {
    color: var(--text-primary);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.step-content a {
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 600;
}

.step-content a:hover {
    text-decoration: underline;
}

/* Donation Options */
.donation-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.donation-option {
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.donation-option strong {
    color: var(--text-primary);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.donation-option p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0.5rem 0;
}

.donation-option > a:not(.btn-primary) {
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 600;
}

.donation-option .btn-primary {
    margin-top: 1rem;
    width: 100%;
    display: block;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    padding: 1rem 1.5rem;
}

/* Partnership Benefits */
.partnership-benefits,
.partnership-forms {
    margin-bottom: 2rem;
}

.partnership-benefits h4,
.partnership-forms h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.benefits-list li {
    color: var(--text-secondary);
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.benefits-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-size: 1.5rem;
    line-height: 1;
}

/* Action Card Footer */
.action-card-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.action-card-footer .btn-secondary {
    margin-bottom: 1.5rem;
}

.action-quote {
    color: var(--gold-primary);
    font-style: italic;
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

/* Contact Info Section */
.contact-info-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    margin-top: 5rem;
}

.contact-info-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.contact-info-card h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.contact-form-wrapper h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.contact-form-wrapper {
    background: var(--bg-tertiary);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    margin-left: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-base);
    background: var(--bg-secondary);
    color: var(--text-primary);
}

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

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

.full-width {
    width: 100%;
}

/* Form Messages */
.form-message {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-align: center;
    animation: fadeInUp 0.3s ease-out;
}

.form-message-success {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.form-message-error {
    background: rgba(244, 67, 54, 0.15);
    color: #F44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.form-message-info {
    background: rgba(33, 150, 243, 0.15);
    color: #2196F3;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.form-group input:disabled,
.form-group select:disabled,
.form-group textarea:disabled,
button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===========================
   Page Initiatives Styles
   =========================== */
.initiatives-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-primary);
    padding-top: 0;
    margin: 0;
}

.initiatives-hero .hero-background {
    margin-top: 70px;
}

.initiatives-hero .hero-content {
    padding-top: 0;
    padding-bottom: 0;
}

.section-intro {
    padding: 2rem 0;
    background: var(--bg-primary);
    margin-top: 0;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-lead {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.intro-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.9;
}

.section-humanitarian {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.initiatives-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.initiative-card {
    background: var(--bg-primary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

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

.initiative-card.large {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
}

.initiative-image {
    position: relative;
    min-height: 400px;
}

/* Ensure initiative photos fill frames without distortion */
.initiative-image .initiative-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.initiative-image .image-placeholder {
    width: 100%;
    height: 100%;
}

.initiative-year {
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--bg-primary);
    box-shadow: var(--shadow-gold);
}

.initiative-content {
    padding: 3rem;
}

.initiative-content h3 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

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

.initiative-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.initiative-stats .stat {
    text-align: center;
}

.initiative-stats .stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 0.5rem;
}

.initiative-stats .stat-label {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.initiative-note {
    font-style: italic;
    color: var(--text-tertiary);
    font-size: 0.95rem !important;
}

.initiative-highlight {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-left: 4px solid var(--gold-primary);
    border-radius: 0 10px 10px 0;
    font-weight: 500;
}

.section-cultural {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
}

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

.cultural-card {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.cultural-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-primary);
}

.cultural-icon {
    margin-bottom: 2rem;
}

.cultural-icon .icon-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-size: 1rem;
}

/* Cultural images keep same framing */
.cultural-icon .cultural-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}

.cultural-content h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

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

.cultural-quote {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--gold-primary);
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    border-top: 2px solid rgba(212, 175, 55, 0.3);
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.section-gala {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.gala-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: center;
}

.gala-text {
    padding: 2rem 0;
}

.gala-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.gala-quote {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--gold-primary);
    text-align: center;
    margin: 2.5rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
    border-radius: 15px;
}

.gala-image .image-placeholder {
    aspect-ratio: 4/5;
}

/* Gala image framed consistently */
.gala-image .gala-photo {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.section-community {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.community-content {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.community-image .image-placeholder {
    aspect-ratio: 1/1;
    border-radius: 20px;
}

/* Community image square crop */
.community-image .community-photo {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.community-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.action-item {
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.action-item:hover {
    border-color: var(--gold-primary);
    transform: translateY(-3px);
}

.action-item h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.action-item p {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    line-height: 1.6;
}

.community-quote {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--gold-primary);
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    border-left: 4px solid var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
    border-radius: 0 15px 15px 0;
}

.section-final-cta {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-primary) 100%);
}

.final-cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.final-cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.final-cta-content p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-style: italic;
}

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

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo .logo-text {
    font-size: 2.2rem;
}

.footer-brand .logo .logo-subtitle {
    font-size: 0.75rem;
}

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

.footer-tagline {
    color: var(--gold-light) !important;
    font-weight: 600;
    margin-top: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gold-light);
    letter-spacing: -0.01em;
}

/* Fix for light theme - footer titles readability */
body.light-theme .footer-links h4 {
    color: var(--gold-dark);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-base);
    cursor: none;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.footer-legal-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color var(--transition-base);
}

.footer-legal-link:hover {
    color: var(--gold-primary);
}

.footer-separator {
    color: var(--text-tertiary);
    margin: 0 0.25rem;
}

/* Icône flottante pour le bouton Soutenir sur mobile */
.floating-donate-btn {
    display: none;
}

@media (max-width: 768px) {
    .floating-donate-btn {
        display: flex;
        position: fixed;
        bottom: 2rem;
        right: 2rem;
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
        z-index: 998;
        text-decoration: none;
        transition: all var(--transition-base);
        font-size: 1.2rem;
        color: var(--bg-primary);
        font-weight: 700;
    }
    
    .floating-donate-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 12px 32px rgba(212, 175, 55, 0.6);
    }
    
    .floating-donate-btn:active {
        transform: scale(0.95);
    }
}

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

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

/* ===========================
   Carousel Indicators & Helpers
   =========================== */
.carousel-hint {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-top: 1rem;
    display: none;
}

@media (max-width: 768px) {
    .carousel-hint {
        display: block;
    }
    
    /* Indicateur visuel de scroll */
    .events-grid::after,
    .current-events-grid::after,
    .values-grid::after,
    .gallery-grid::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 40px;
        background: linear-gradient(to left, var(--bg-primary), transparent);
        pointer-events: none;
        opacity: 0.8;
    }
    
    .section-events .events-grid::after {
        background: linear-gradient(to left, var(--bg-secondary), transparent);
    }
    
    .section-values .values-grid::after {
        background: linear-gradient(to left, var(--bg-tertiary), transparent);
    }
    
    .section-gallery .gallery-grid::after {
        background: linear-gradient(to left, var(--bg-primary), transparent);
    }
}

/* Carousel dots indicators */
.carousel-dots {
    display: none;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .carousel-dots {
        display: flex;
    }
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-tertiary);
    opacity: 0.3;
    transition: all var(--transition-base);
}

.carousel-dot.active {
    background: var(--gold-primary);
    opacity: 1;
    width: 24px;
    border-radius: 4px;
}

/* ===========================
   Touch Optimizations
   =========================== */
@media (hover: none) and (pointer: coarse) {
    /* Optimizations pour écrans tactiles */
    a, button, .nav-link, .btn-primary, .btn-secondary, .gallery-item, .event-card {
        -webkit-tap-highlight-color: rgba(212, 175, 55, 0.2);
    }
    
    /* Taille minimale des zones tactiles (44x44px recommandé) */
    .nav-link,
    .btn-primary,
    .btn-secondary,
    .mobile-menu-btn,
    .theme-toggle {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Suppression du hover sur tactile */
    .cursor-dot,
    .cursor-trail,
    #cursorCanvas {
        display: none !important;
    }
    
    body {
        cursor: auto !important;
    }
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
    .apropos-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* Action Cards tablette */
    .action-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
    
    .contact-info-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .event-card.featured {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-item {
        width: 240px;
        transition: none;
    }
    
    .gallery-item.large {
        width: 320px;
    }
    
    .gallery-item:hover {
        transform: none !important;
    }
    
    /* Initiatives responsive */
    .initiative-card.large,
    .gala-content,
    .community-content {
        grid-template-columns: 1fr;
    }
    
    .cultural-grid {
        grid-template-columns: 1fr;
    }
    
    .community-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }
    
    .cursor-dot,
    .cursor-trail,
    #cursorCanvas {
        display: none;
    }
    
    /* Désactiver les effets hover sur mobile pour les éléments non-interactifs */
    .event-card:hover,
    .current-event-card:hover,
    .value-item:hover,
    .gallery-item:hover,
    .initiative-card:hover,
    .cultural-card:hover,
    .action-card:hover,
    .contact-item:hover,
    .instagram-post:hover,
    .team-member:hover,
    .footer-links a:hover {
        transform: none !important;
        box-shadow: inherit !important;
        border-color: inherit !important;
        background: inherit !important;
        color: inherit !important;
    }
    
    /* Navigation mobile optimisée */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .nav-content {
        padding: 0.8rem 0;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .logo-subtitle {
        font-size: 0.6rem;
    }
    
    /* Masquer les boutons dans nav-links sur mobile */
    .nav-links .theme-toggle,
    .nav-links .btn-donate {
        display: none;
    }
    
    .mobile-menu-btn {
        order: 3;
    }
    
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        order: 2;
    }
    
    .nav-links {
        order: 3;
    }
    
    .btn-donate {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    .theme-toggle {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-primary);
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        transition: left 0.3s ease;
        border-top: 1px solid var(--border-color);
        z-index: 999;
        order: 3;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 1rem 2rem;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }
    
    /* Icône flottante pour le bouton Soutenir sur mobile */
    .floating-donate-btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        cursor: pointer;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Hero mobile optimisé - Image complètement visible */
    .hero {
        min-height: auto;
        padding-top: 70px;
        display: flex;
        flex-direction: column;
    }
    
    .hero-background {
        position: relative;
        height: auto;
        /* min-height: 50vh; */
        order: 1;
    }
    
    .hero-image {
        position: relative;
        width: 100%;
        height: auto;
        /* min-height: 50vh; */
        margin-top: 0;
        object-fit: contain;
        object-position: center top;
    }
    
    .hero-overlay {
        display: none;
    }
    
    .hero-content {
        order: 2;
        padding-top: 2rem;
        padding-bottom: 3rem;
       
    }
    
    .hero-title {
        font-size: clamp(2rem, 10vw, 3.5rem);
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: clamp(0.85rem, 3vw, 1rem);
        letter-spacing: 3px;
        margin-bottom: 2rem;
        color: var(--gold-primary);
    }
    
    .hero-text {
        margin-top: 0;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-bottom: 6rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
    
    /* Sections spacing - OPTIMISÉ POUR RÉDUIRE LE SCROLL */
    .section-about, .section-events, .section-current-events, .section-values, .section-gallery {
        padding: 2.5rem 0 !important;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }
    
    .section-description {
        font-size: 0.95rem;
    }
    
    .scroll-indicator {
        bottom: 1.5rem;
        font-size: 0.75rem;
    }
    
    /* Sections spacing mobile */
    .section-apropos,
    .section-events,
    .section-values,
    .section-current-events,
    .section-gallery,
    .section-contact {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-tag {
        font-size: 0.75rem;
        padding: 0.4rem 1.2rem;
        margin-bottom: 1rem;
    }
    
    .section-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
        margin-bottom: 1rem;
    }
    
    /* Réduction spécifique des titres demandés */
    #instagram .section-title,
    #contact .section-title {
        font-size: clamp(3rem, 8vw, 2.25rem);
    }
    
    .section-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* À propos mobile */
    .apropos-content {
        gap: 2rem;
    }
    
    .apropos-story {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin: 3rem 0;
        padding: 3rem 0;
    }
    
    .story-content {
        order: 2;
    }
    
    .story-image {
        order: 1;
    }
    
    .story-title,
    .mission-title {
        font-size: 2rem;
    }
    
    .apropos-mission {
        padding: 3rem 2rem;
        margin: 3rem 0;
    }
    
    .lead-text {
        font-size: 1.15rem;
    }
    
    .apropos-text p,
    .story-text,
    .mission-text {
        font-size: 0.95rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem 0;
        margin: 2rem 0;
    }
    
    .apropos-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .apropos-cta .btn-primary,
    .apropos-cta .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    /* Événements mobile - CAROUSEL */
    .events-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 1rem 0;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    
    .events-grid::-webkit-scrollbar {
        display: none;
    }
    
    .event-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        margin-bottom: 0;
    }
    
    .event-card.featured {
        flex: 0 0 85%;
        display: block;
    }
    
    .event-title {
        font-size: 1.5rem;
    }
    
    .event-description {
        font-size: 0.95rem;
    }
    
    /* Événements en cours mobile - CAROUSEL */
    .current-events-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding: 1rem 0;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    
    .current-events-grid::-webkit-scrollbar {
        display: none;
    }
    
    .current-event-card {
        flex: 0 0 80%;
        scroll-snap-align: center;
        padding: 1.2rem;
    }
    
    .event-card {
        padding: 1rem;
    }
    
    .event-content {
        padding: 1rem;
    }
    
    .event-card.featured .event-image {
        min-height: 250px;
    }
    
    .initiative-content {
        padding: 1.5rem !important;
    }
    
    .current-event-card.featured {
        flex: 0 0 85%;
    }
    
    .current-event-content h3 {
        font-size: 1.4rem;
    }
    
    .current-event-content p {
        font-size: 0.9rem;
    }
    
    /* Valeurs mobile - CAROUSEL */
    .values-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding: 1rem 0;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    
    .values-grid::-webkit-scrollbar {
        display: none;
    }
    
    .value-item {
        flex: 0 0 75%;
        scroll-snap-align: center;
        padding: 2rem 1.5rem;
    }
    
    .value-item h4 {
        font-size: 1.6rem;
    }
    
    /* Galerie mobile - Mur de photos centré en grille */
    .gallery-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        min-height: auto !important;
        padding: 1rem 0 !important;
        max-width: 600px;
        margin: 0 auto;
        overflow: visible !important;
    }
    
    .gallery-grid::-webkit-scrollbar {
        display: none;
    }
    
    .gallery-item {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        transition: none;
        height: auto;
        background: transparent;
        border: 8px solid var(--bg-primary);
    }
    
    .gallery-item.large {
        grid-column: span 2;
    }
    
    body.light-theme .gallery-item {
        border-color: #FAFAFA;
    }
    
    .gallery-item:hover {
        transform: none !important;
    }
    
    .gallery-item:active {
        transform: scale(0.98) !important;
    }
    
    /* Ajustement des images pour conserver leurs proportions naturelles sur mobile */
    .gallery-item .gallery-image {
        position: relative;
        width: 100%;
        height: auto;
        aspect-ratio: auto !important;
        min-height: auto;
        overflow: hidden;
    }
    
    .gallery-item .gallery-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
    }
    
    .gallery-caption {
        opacity: 1;
        transform: translateY(0);
        background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, transparent 100%);
    }
    
    /* Instagram mobile - CAROUSEL */
    .instagram-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding: 1rem 0;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        grid-template-columns: none;
    }
    
    .instagram-grid::-webkit-scrollbar {
        display: none;
    }
    
    .instagram-post {
        flex: 0 0 75%;
        scroll-snap-align: center;
    }
    
    .instagram-overlay {
        opacity: 0.15;
    }
    
    .instagram-post:active .instagram-overlay {
        opacity: 1;
    }
    
    /* Action Cards mobile */
    .action-cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 3rem 0;
    }
    
    .action-card {
        padding: 2rem;
    }
    
    .action-card-icon {
        font-size: 2.5rem;
    }
    
    .action-card-title {
        font-size: 1.6rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .donation-option {
        padding: 1.2rem;
    }
    
    .donation-option .btn-primary {
        width: 100%;
        text-align: center;
    }
    
    /* Contact mobile */
    .contact-info-section {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-top: 3rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
        margin-left: 0;
    }
    
    .contact-info-card {
        padding: 2rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.9rem;
        font-size: 0.95rem;
    }
    
    /* Team page mobile */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-slideshow-container {
        margin-top: 2rem;
    }
    
    .member-name {
        font-size: 1.5rem;
    }
    
    .member-role {
        font-size: 0.9rem;
    }
    
    .member-bio {
        font-size: 0.95rem;
    }
    
    .join-content h2 {
        font-size: 2rem;
    }
    
    .join-content p {
        font-size: 1rem;
    }
    
    .join-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .join-cta .btn-primary,
    .join-cta .btn-secondary {
        width: 100%;
    }
    
    /* Footer mobile */
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-brand .logo .logo-text {
        font-size: 2rem;
    }
    
    .footer-links {
        text-align: center;
    }
    
    /* Modal mobile */
    .modal-close,
    .modal-nav {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    .modal-prev {
        left: 1rem;
    }
    
    .modal-next {
        right: 1rem;
    }
    
    /* Initiatives page mobile - Image complètement visible */
    .initiatives-hero {
        min-height: auto;
        display: flex;
        flex-direction: column;
        padding-top: 0;
        margin-top: 0;
    }
    
    .initiatives-hero .hero-background {
        position: relative;
        height: auto;
        order: 1;
        margin-top: 70px;
    }
    
    .initiatives-hero .hero-image {
        position: relative;
        width: 100%;
        height: auto;
        margin-top: 0;
        object-fit: contain;
        object-position: center top;
    }
    
    .initiatives-hero .hero-overlay {
        display: none;
    }
    
    .initiatives-hero .hero-content {
        order: 2;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        margin-top: 0;
    }
    
    .initiatives-hero .hero-subtitle {
        color: var(--gold-primary);
    }
    
    .section-intro {
        padding-top: 0;
        margin-top: 0;
    }
    
    .intro-lead {
        font-size: 1.2rem;
    }
    
    .intro-text {
        font-size: 0.95rem;
    }
    
    .initiative-card.large {
        grid-template-columns: 1fr;
    }
    
    .initiative-image {
        min-height: 250px;
    }
    
    .initiative-content {
        padding: 2rem 1.5rem;
    }
    
    .initiative-content h3 {
        font-size: 1.8rem;
    }
    
    .cultural-card {
        padding: 2rem 1.5rem;
    }
    
    .cultural-content h3 {
        font-size: 1.6rem;
    }
    
    .community-actions {
        gap: 1rem;
    }
    
    .action-item {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    /* Hero très petit écran */
    .hero {
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 12vw, 2.5rem);
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }
    
    .hero-text {
        margin-top: 8rem;
    }
    
    /* Sections très petit écran */
    .section-apropos,
    .section-events,
    .section-values,
    .section-current-events,
    .section-gallery,
    .section-contact {
        padding: 2.5rem 0;
    }
    
    
    .section-description {
        font-size: 0.95rem;
    }
    
    /* À propos très petit écran */
    .apropos-story {
        gap: 2rem;
        margin: 2rem 0;
        padding: 2rem 0;
    }
    
    .story-title,
    .mission-title {
        font-size: 1.8rem;
    }
    
    .apropos-mission {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Navigation très petit écran */
    .logo-text {
        font-size: 1.6rem;
    }
    
    .logo-image {
        height: 35px;
    }
    
    .logo-subtitle {
        font-size: 0.55rem;
    }
    
    /* Boutons très petit écran */
    .btn-primary,
    .btn-secondary {
        padding: 0.85rem 1.8rem;
        font-size: 0.95rem;
    }
    
    /* Events très petit écran */
    .event-title {
        font-size: 1.3rem;
    }
    
    .event-date {
        width: 70px;
        padding: 0.8rem;
    }
    
    .date-day {
        font-size: 1.6rem;
    }
    
    .date-month {
        font-size: 0.75rem;
    }
    
    /* Gallery très petit écran */
    .gallery-item {
        border-width: 6px;
    }
    
    /* Contact très petit écran */
    .contact-form-wrapper {
        padding: 1.2rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Stats très petit écran */
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Footer très petit écran */
    .footer-brand .logo .logo-text {
        font-size: 1.8rem;
    }
    
    .footer-links h4 {
        font-size: 1.1rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
}

/* Media query pour petits mobiles en paysage */
@media (max-width: 768px) and (max-height: 500px) {
    .hero {
        min-height: auto;
        padding: 8rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: auto;
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .scroll-indicator {
        display: none;
    }
}
