/* ===== RESET & VARIABLES ===== */
/*
   VARIABLES MODIFIABLES - Vous pouvez changer ces valeurs !
   Pour modifier : changez les valeurs ci-dessous et sauvegardez
*/

html {
    scroll-padding-top: 150px;
}

html:has(body.page-snap) {
    scroll-padding-top: 0;
    scroll-behavior: auto;
}

/* Garder la carte taille normale pour qu'elle s'affiche correctement */
.map-container, .map-container iframe {
    zoom: 1 !important;
    transform: none !important;
}
:root {
    /* Couleurs principales - Palette enrichie */
    --primary-color: #2563eb;        /* Bleu principal - gardé */
    --primary-dark: #1e40af;         /* Bleu foncé */
    --primary-light: #3b82f6;        /* Bleu clair */
    --secondary-color: #ff6b35;       /* Orange/Corail - nouveau */
    --secondary-dark: #e55a2b;       /* Orange foncé */
    --accent-color: #ffd60a;          /* Jaune doux - nouveau */
    --accent-light: #ffed4e;         /* Jaune clair */
    --success-color: #2d6a4f;        /* Vert forêt - nouveau */
    --success-light: #52b788;         /* Vert clair */
    
    /* Couleurs de texte */
    --text-dark: #1a1a1a;            /* Texte foncé plus doux */
    --text-medium: #4a5568;          /* Texte moyen */
    --text-light: #718096;            /* Texte clair */
    
    /* Couleurs de fond */
    --bg-light: #f8f9fa;             /* Fond plus doux */
    --bg-white: #ffffff;              /* Fond blanc */
    --bg-warm: #fef7f0;             /* Fond chaud */
    --bg-cool: #f0f9ff;             /* Fond froid */
    
    /* Gradients modernes */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #f59e0b 100%);
    --gradient-success: linear-gradient(135deg, #2d6a4f 0%, #52b788 100%);
    --gradient-accent: linear-gradient(135deg, #ffd60a 0%, #ff6b35 100%);
    --gradient-hero: linear-gradient(135deg, #2563eb 0%, #ff6b35 100%);
    --gradient-warm: linear-gradient(135deg, #fef7f0 0%, #f8f9fa 100%);
    --gradient-cool: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    
    /* Ombres colorées */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.2);
    --shadow-colored: 0 8px 24px rgba(37, 99, 235, 0.25);
    --shadow-secondary: 0 8px 24px rgba(255, 107, 53, 0.25);
    --shadow-success: 0 8px 24px rgba(45, 106, 79, 0.25);
    
    /* Transitions améliorées */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Bordures et coins */
    --border-radius-sm: 8px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 32px;
    
    /* Espacement */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.95) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(37, 99, 235, 0.08);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
    backdrop-filter: blur(25px);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    padding: 0.7rem 0;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    flex-wrap: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.logo-img {
    width: 4.25rem;
    height: 4.25rem;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    background: transparent;
}

.logo-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.logo h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
}

.logo:hover h2 {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo span {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.15rem;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    flex-shrink: 1;
}

.nav-item {
    position: relative;
}

.nav-item-row {
    display: contents;
}

.nav-submenu-toggle {
    display: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.88rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.7rem;
    border-radius: 10px;
    background: transparent;
    border: 1px solid transparent;
    white-space: nowrap;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-radius: 12px;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.2);
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-color: rgba(37, 99, 235, 0.2);
    font-weight: 600;
}

.nav-link.active::after {
    width: 80%;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.95) 100%);
    backdrop-filter: blur(20px);
    min-width: 220px;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-radius: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    border: 1px solid rgba(37, 99, 235, 0.1);
    overflow: hidden;
    padding: 0.5rem;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-item:last-child .dropdown-menu {
    left: auto;
    right: 0;
}

.dropdown-link {
    display: block;
    padding: 0.875rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.dropdown-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-link:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.dropdown-link:hover::before {
    left: 0;
}

/* Dropdown arrow indicator - REMOVED */
.nav-item > .nav-link::after {
    display: none;
}

.nav-item:hover > .nav-link::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    z-index: 1001;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.05);
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(37, 99, 235, 0.1);
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
/* Enable hardware acceleration for smooth animations */
.navbar, .hero-content, .value-card, .activity-card, .event-card {
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Écran ordinateur étroit : menu horizontal compact, pas le hamburger */
@media (max-width: 1200px) and (min-width: 769px) {
    .nav-link {
        font-size: 0.78rem;
        padding: 0.35rem 0.45rem;
        gap: 0.25rem;
    }

    .logo h2 {
        font-size: 1.2rem;
    }

    .logo-img {
        width: 3.5rem;
        height: 3.5rem;
    }

    .nav-menu {
        gap: 0;
    }
}

/* Smooth scrolling for better UX */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px; /* Account for fixed navbar */
}

/* Reduce paint on scroll */
body {
    will-change: scroll-position;
}

/* Optimize font loading */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Playfair+Display:wght@400;700&display=swap');

/* ===== RESPONSIVE NAVIGATION ===== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        height: 100dvh;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.95) 100%);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 5rem 1.25rem 2rem;
        box-shadow: -20px 0 40px rgba(37, 99, 235, 0.15);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1200;
        overflow-y: auto;
        pointer-events: auto;
        border-left: 1px solid rgba(37, 99, 235, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-item {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .nav-item-row {
        display: flex;
        align-items: stretch;
        gap: 0.4rem;
        margin-bottom: 0.35rem;
    }

    .nav-submenu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 48px;
        min-height: 48px;
        border: 1px solid rgba(27, 74, 107, 0.15);
        border-radius: 12px;
        background: rgba(27, 74, 107, 0.06);
        color: #1b4a6b;
        cursor: pointer;
        padding: 0;
    }

    .nav-submenu-arrow {
        display: block;
        width: 0.55rem;
        height: 0.55rem;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        margin-top: -4px;
        transition: transform 0.2s ease;
    }

    .nav-item.dropdown-open .nav-submenu-arrow {
        transform: rotate(225deg);
        margin-top: 4px;
    }
    
    .nav-link {
        width: auto;
        flex: 1;
        padding: 1rem 1.25rem;
        border-radius: 12px;
        font-size: 1rem;
        justify-content: flex-start;
        align-items: center;
        background: rgba(37, 99, 235, 0.02);
        border: 1px solid rgba(37, 99, 235, 0.08);
        margin-bottom: 0;
    }
    
    .nav-link:hover {
        transform: translateX(8px);
        background: rgba(37, 99, 235, 0.08);
    }
    
    .nav-link.active {
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
        border-color: rgba(37, 99, 235, 0.2);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        background: transparent;
        border: none;
        padding: 0 0 0 0.75rem;
        margin-top: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        pointer-events: none;
        transition: max-height 0.25s ease, opacity 0.2s ease;
    }

    .nav-item:hover .dropdown-menu {
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .nav-item.dropdown-open .dropdown-menu {
        max-height: 640px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        padding-bottom: 0.4rem;
    }
    
    .dropdown-link {
        padding: 0.75rem 1rem;
        margin-bottom: 0.25rem;
        background: rgba(37, 99, 235, 0.03);
        border: 1px solid rgba(37, 99, 235, 0.06);
        font-size: 0.95rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        pointer-events: auto;
    }
    
    .dropdown-link:hover {
        transform: translateX(8px);
        background: rgba(37, 99, 235, 0.08);
    }
    
    .nav-item > .nav-link::after {
        display: none;
    }
    
    .nav-item.dropdown-open > .nav-link::after {
        display: none;
    }
    
    .nav-wrapper {
        padding: 1rem 0;
    }
    
    .logo-img {
        width: 3.5rem;
        height: 3.5rem;
    }

    .logo h2 {
        font-size: 1.5rem;
    }
    
    .logo span {
        font-size: 0.85rem;
    }
    
    /* Improve mobile readability */
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .hero-title {
        line-height: 1.2;
        padding: 0 0.5rem;
    }
    
    .hero-subtitle {
        line-height: 1.5;
        padding: 0 0.5rem;
    }
    
    .btn {
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
        min-height: 48px; /* Touch target size */
    }
    
    /* Improve card spacing on mobile */
    .schedule-card, .activity-card, .event-card, .news-card, .resource-card {
        margin-bottom: 1.5rem;
    }
    
    .value-card, .team-card {
        margin-bottom: 1.5rem;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    height: var(--app-height, 100dvh);
    min-height: 0;
    max-height: 100vh;
    max-height: var(--app-height, 100dvh);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    margin-bottom: 0;
    box-sizing: border-box;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: calc(var(--navbar-height, 5.5rem) + 1rem) 1.5rem 4.5rem;
    max-width: 100%;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 4vw + 1rem, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw + 0.7rem, 1.3rem);
    margin-bottom: 1.5rem;
    font-weight: 300;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.4);
    opacity: 0.98;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTONS AMÉLIORÉS ===== */
.btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.1);
}

.btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--gradient-secondary);
    box-shadow: var(--shadow-secondary);
}

.btn-secondary:hover {
    box-shadow: var(--shadow-secondary);
}

.btn-success {
    background: var(--gradient-success);
    box-shadow: var(--shadow-success);
}

.btn-success:hover {
    box-shadow: var(--shadow-success);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-colored);
}

.scroll-indicator {
    position: absolute;
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

a.scroll-indicator {
    text-decoration: none;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    display: none;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 60px 0;
    background: var(--bg-light);
    position: relative;
    z-index: 1;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.gallery-date {
    font-size: 0.9rem;
    color: var(--text-light);
    display: block;
    margin-top: 0.5rem;
}

.video-item {
    position: relative;
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.video-thumbnail img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: var(--transition);
}

.video-thumbnail .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-thumbnail .play-button svg {
    width: 20px;
    height: 20px;
}

.video-thumbnail:hover .play-button {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.video-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ===== STYLES POUR LES SOUS-SECTIONS ===== */
.subsection-header {
    text-align: center;
    margin-bottom: 3rem;
}

.subsection-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.subsection-header h3::after {
    display: none;
}

.subsection-header p {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* ===== STYLES POUR LES TEXTES DE MESSAGES ===== */
.message-content {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    margin-top: 1rem;
}

.message-preview {
    max-height: 200px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
}

.message-preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(transparent, var(--bg-light));
    pointer-events: none;
}

.message-content p {
    line-height: 1.8;
    color: var(--text-dark);
    white-space: pre-wrap;
    font-size: 1rem;
    margin: 0;
}

.message-text-short {
    margin-bottom: 0;
}

.message-text-full {
    margin-bottom: 0;
}

.read-more-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.2);
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.read-less-toggle {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
}

.read-less-toggle:hover {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-color));
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
}

.message-card {
    transition: var(--transition);
}

.message-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.resource-date {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

/* ===== STYLES POUR LES CHANTS ===== */
.category-section {
    margin-bottom: 3rem;
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.songs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.song-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: var(--transition);
}

.song-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.song-content h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.song-artist {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-style: italic;
}

.song-lyrics {
    background: var(--bg-warm);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.lyrics-preview {
    max-height: 180px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
}

.lyrics-preview.is-expanded {
    max-height: none;
    overflow: visible;
}

.lyrics-preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 25px;
    background: linear-gradient(transparent, var(--bg-warm));
    pointer-events: none;
}

.lyrics-preview.is-expanded::after {
    display: none;
}

.lyrics-text-short {
    line-height: 1.6;
    color: var(--text-dark);
    white-space: pre-wrap;
    font-size: 0.95rem;
    margin: 0;
}

.lyrics-text-full {
    line-height: 1.6;
    color: var(--text-dark);
    white-space: pre-wrap;
    font-size: 0.95rem;
    margin: 0;
}

/* ===== LOADING MESSAGE ===== */
.loading-message {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
    font-style: italic;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-colored);
    border-color: var(--primary-color);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    padding: 1.5rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.value-icon svg {
    width: 40px;
    height: 40px;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.value-card h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.value-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.service-time {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== EVENTS SECTION ===== */
/* ===== SECTIONS AVEC BACKGROUNDS MODERNES ===== */
.about {
    padding: var(--spacing-xxl) 0;
    background: var(--gradient-warm);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(45, 106, 79, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.events {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-warm);
    position: relative;
    overflow: hidden;
}

.events::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 107, 53, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 75% 75%, rgba(45, 106, 79, 0.05) 0%, transparent 25%);
    pointer-events: none;
}

.resources {
    padding: var(--spacing-xxl) 0;
    background: var(--gradient-success);
    position: relative;
    overflow: hidden;
}

.resources::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, rgba(45, 106, 79, 0.02) 1px, transparent 1px),
        linear-gradient(rgba(45, 106, 79, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.contact {
    padding: var(--spacing-xxl) 0;
    background: var(--gradient-cool);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(37, 99, 235, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(255, 214, 10, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

/* Assurer que le contenu reste au-dessus des backgrounds */
.section-header, .activities-grid, .events-grid, .resources-grid, .contact-content {
    position: relative;
    z-index: 2;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* ===== CARDS MODERNES ===== */
.value-card, .activity-card, .event-card, .news-card, .resource-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--primary-color);
    text-align: center;
    margin: 0 auto;
    max-width: 100%;
    zoom: 1 !important;
    transform: none !important;
}

.value-card::before, .activity-card::before, .event-card::before, .news-card::before, .resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.value-card:hover, .activity-card:hover, .event-card:hover, .news-card:hover, .resource-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-colored);
    border-color: var(--primary-color);
}

.value-card:hover::before, .activity-card:hover::before, .event-card:hover::before, .news-card:hover::before, .resource-card:hover::before {
    transform: scaleX(1);
}

/* Variations de couleurs pour les cards */
.activity-card:nth-child(odd)::before {
    background: var(--gradient-secondary);
}

.activity-card:nth-child(even)::before {
    background: var(--gradient-success);
}

.event-card:nth-child(odd)::before {
    background: var(--gradient-accent);
}

.resource-card:nth-child(odd)::before {
    background: var(--gradient-secondary);
}

.resource-card:nth-child(even)::before {
    background: var(--gradient-success);
}

/* Icons améliorés */
.value-icon, .activity-icon, .event-icon, .resource-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.value-icon::before, .activity-icon::before, .event-icon::before, .resource-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: var(--transition-slow);
    opacity: 0;
}

.value-card:hover .value-icon::before, 
.activity-card:hover .activity-icon::before,
.event-card:hover .event-icon::before,
.resource-card:hover .resource-icon::before {
    opacity: 1;
    animation: shimmer 1s ease-in-out;
}

.value-card:hover .value-icon, 
.activity-card:hover .activity-icon,
.event-card:hover .event-icon,
.resource-card:hover .resource-icon {
    transform: scale(1.05) rotate(2deg);
    box-shadow: var(--shadow-lg);
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.event-image {
    text-align: center;
    margin: 1rem 0;
}

.event-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.event-date {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.event-day {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 1rem;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.event-content {
    padding: 2rem;
    flex: 1;
}

.event-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.event-location {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.event-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: var(--spacing-xxl) 0;
    background: var(--gradient-cool);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(37, 99, 235, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(255, 214, 10, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

.contact-content {
    display: block;
    width: 100%;
}

.contact-info {
    margin-bottom: 3rem;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    width: 100%;
}

.info-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--primary-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-colored);
    border-color: var(--primary-color);
}

.info-card:hover::before {
    transform: scaleX(1);
}

/* Variations de couleurs pour les badges */
.info-card:nth-child(2)::before {
    background: var(--gradient-secondary);
}

.info-card:nth-child(3)::before {
    background: var(--gradient-success);
}

.info-card:nth-child(4)::before {
    background: var(--gradient-accent);
}

.info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    padding: var(--spacing-sm);
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.info-card:nth-child(2) .info-icon {
    background: var(--gradient-secondary);
}

.info-card:nth-child(3) .info-icon {
    background: var(--gradient-success);
}

.info-card:nth-child(4) .info-icon {
    background: var(--gradient-accent);
}

.info-card:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.info-icon svg {
    width: 35px;
    height: 35px;
}

.info-card:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.info-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--bg-light);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.social-link img {
    width: 24px;
    height: 24px;
    display: block;
    filter: brightness(0) invert(1);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* ===== SCHEDULE SECTION ===== */
.schedule {
    padding: 20px 0;
    background: var(--bg-light);
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.schedule-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.schedule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.schedule-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-colored);
    border-color: var(--primary-color);
}

.schedule-card:hover::before {
    transform: scaleX(1);
}

.schedule-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    padding: 1.5rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

/* Couleurs différentes pour chaque horaire */
.schedule-card:nth-child(1) .schedule-icon {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.schedule-card:nth-child(2) .schedule-icon {
    background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
}

.schedule-icon svg {
    width: 40px;
    height: 40px;
}

.schedule-card:hover .schedule-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.schedule-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.schedule-time {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.schedule-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== NEWS SECTION ===== */
.news {
    padding: 20px 0;
    background: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-colored);
    border-color: var(--primary-color);
}

.news-card:hover::before {
    transform: scaleX(1);
}

.news-image {
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    height: 200px;
    margin-bottom: 1.5rem;
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-date {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.news-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.news-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Styles pour l'aperçu des actualités */
.news-preview {
    max-height: 120px;
    overflow: hidden;
    position: relative;
}

.news-text-short {
    margin: 0;
    line-height: 1.6;
}

.news-text-full {
    margin: 0;
    line-height: 1.6;
}

.read-more-toggle,
.read-less-toggle {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.read-more-toggle:hover,
.read-less-toggle:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.news-card[data-index] {
    transition: var(--transition);
}

.news-card[data-index]:hover {
    transform: translateY(-3px);
}

.news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.news-link:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

/* ===== ABOUT SECTION ENHANCEMENTS ===== */
.about-section {
    margin-bottom: 4rem;
    scroll-margin-top: 100px; /* Account for navbar + extra space */
}

.about-fold {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    margin-bottom: 1.15rem;
    overflow: hidden;
    scroll-margin-top: 110px;
}

.about-fold-header {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding-right: 0.75rem;
}

.about-fold-header .about-fold-toggle {
    flex: 1;
    min-width: 0;
}

.statuts-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.08);
    flex-shrink: 0;
    transition: var(--transition);
}

.statuts-download svg {
    width: 1.25rem;
    height: 1.25rem;
}

.statuts-download:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-1px);
}

.statuts-download-text {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

.about-fold-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.4rem 0.85rem;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
}

.about-fold-toggle .subsection-title {
    margin: 0;
    text-align: left;
    font-size: 1.45rem;
    width: auto;
}

.about-fold-arrow {
    width: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
    color: var(--primary-color);
    transition: transform 0.25s ease, color 0.25s ease;
}

.about-fold.is-open .about-fold-arrow {
    transform: rotate(180deg);
    color: var(--secondary-color);
}

.about-fold-body {
    max-height: 8.5rem;
    overflow: hidden;
    position: relative;
    padding: 0 1.4rem 1.2rem;
    transition: max-height 0.4s ease;
}

.about-fold:not(.is-open) .about-fold-body {
    pointer-events: none;
}

.about-fold:not(.is-open) .about-fold-body::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 78%);
    pointer-events: none;
}

.about-fold.is-open .about-fold-body {
    max-height: 400rem;
    padding-bottom: 1.75rem;
}

.about-fold-toggle:hover .about-fold-arrow {
    transform: translateY(2px);
}

.about-fold.is-open .about-fold-toggle:hover .about-fold-arrow {
    transform: rotate(180deg) translateY(-2px);
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #7b68ee 100%);
    color: white;
    padding: 0;
    padding-top: 70px;
    text-align: center;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(70px + 100px);
    position: relative;
}

.page-header .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 0;
    min-height: 100px;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-family: 'Playfair Display', serif;
    color: white;
    text-align: center;
    line-height: 1.2;
}

.page-header p {
    font-size: 1rem;
    opacity: 0.95;
    color: white;
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

/* ===== PAGE NAVIGATION (Internal) ===== */
.page-nav-static {
    background: #ffffff;
    border-bottom: 3px solid var(--primary-color);
    border-top: 1px solid rgba(37, 99, 235, 0.2);
    padding: 1.25rem 0;
    margin-top: 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    list-style: none;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.page-nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.page-nav-link:hover {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

.page-nav-link.active {
    color: white;
    background: var(--primary-color);
    font-weight: 700;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.page-nav-link.active::after {
    display: none;
}

.subsection-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

.subsection-title::after {
    display: none;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(37, 99, 235, 0.1);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-colored);
    border-color: var(--primary-color);
}

.team-card:hover::before {
    transform: scaleX(1);
}

.team-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    padding: 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.team-avatar svg {
    width: 50px;
    height: 50px;
}

.team-card:hover .team-avatar {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.team-card h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.team-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== ACTIVITIES SECTION ===== */
.activities {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-light);
    position: relative;
}

/* Forcer les tailles de police identiques aux autres pages */
.activities .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: inline-block;
    position: relative;
}

.activities .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.activities .container {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
}
.activities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.activity-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.activity-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-colored);
    border-color: var(--primary-color);
}

.activity-card:hover::before {
    transform: scaleX(1);
}

.activity-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    padding: 1.5rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

/* Couleurs différentes pour chaque activité */
#culte .activity-icon {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

#enfants .activity-icon {
    background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
}

#chorale .activity-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
}

#formation .activity-icon {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
}

#groupes .activity-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #eab308 100%);
}

#priere .activity-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

#milekla .activity-icon {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
}

.activity-icon svg {
    width: 40px;
    height: 40px;
}

.activity-card:hover .activity-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.activity-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.activity-time {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.activity-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    margin-top: 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    background: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-item p {
    padding: 1rem;
    text-align: center;
    color: var(--text-dark);
    font-weight: 500;
}

/* ===== RESOURCES SECTION ===== */
.resources {
    padding: 100px 0;
    background: linear-gradient(135deg, 
        #f8fafc 0%, 
        #e0f2fe 25%, 
        #f0f9ff 50%, 
        #e0f2fe 75%, 
        #f8fafc 100%
    );
    position: relative;
    overflow: hidden;
}

.resources::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(239, 68, 68, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.resources::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

/* Assurer que le contenu reste au-dessus des backgrounds */
.resources .container,
.resources .section-header,
.resources .subsection-header,
.resources .resources-grid,
.resources .songs-grid {
    position: relative;
    z-index: 2;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.resource-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
    background: rgba(255, 255, 255, 0.98);
}

.resource-card:hover::before {
    transform: scaleX(1);
}

/* Améliorer les sous-sections */
.subsection-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.subsection-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subsection-header h3::after {
    display: none;
}

.subsection-header p {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 1rem;
    opacity: 0.8;
}

/* Améliorer les cartes de messages et chants */
.message-card, .song-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.message-card:hover, .song-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    border-color: rgba(37, 99, 235, 0.3);
    background: rgba(255, 255, 255, 0.98);
}

/* Améliorer les contenus */
.message-content, .song-lyrics {
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

/* Améliorer les titres de catégories */
.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.resource-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    padding: 1.5rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.resource-icon svg {
    width: 40px;
    height: 40px;
}

.resource-card:hover .resource-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.resource-card h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.resource-card p {
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* ===== ACCORDION STYLES ===== */
.accordion-item {
    min-height: 120px;
    transition: var(--transition);
}

.activity-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    margin-bottom: 0;
    transition: var(--transition);
}

.activity-header:hover {
    background: var(--bg-warm);
    transform: translateY(-2px);
}

.activity-title-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}

.activity-title-container h3 {
    margin: 0;
    color: var(--text-dark);
}

.activity-title-container p {
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.accordion-arrow {
    width: 24px;
    height: 24px;
    transition: var(--transition);
    color: var(--primary-color);
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
    color: var(--secondary-color);
}

.activity-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 2rem;
}

.accordion-item.active .activity-content {
    max-height: 1000px;
    transition: max-height 0.3s ease-in;
    padding: 2rem;
}

/* Responsive pour les accordéons */
@media (max-width: 768px) {
    .activity-header {
        padding: 1rem;
    }
    
    .accordion-item {
        min-height: 100px;
    }
    
    .activity-title-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
.map-section {
    margin-top: 4rem;
}

.map-container {
    margin-top: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    width: 100%;
    height: 450px;
}

.map-container iframe {
    width: 100% !important;
    height: 450px !important;
    border: none !important;
    border-radius: var(--border-radius-lg) !important;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
}

.map-placeholder p {
    margin: 0.5rem 0;
}

.map-placeholder p:first-child {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ===== FORM MESSAGE ===== */
.form-message {
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    font-weight: 500;
    text-align: center;
    animation: slideIn 0.3s ease;
}

.form-message.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: 1px solid #10b981;
}

.form-message.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: 1px solid #ef4444;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== USEFUL LINKS SECTION ===== */
.useful-links {
    padding: 100px 0;
    background: var(--bg-light);
}

.links-content {
    max-width: 800px;
    margin: 0 auto;
}

.links-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--primary-color);
}

.links-card h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.links-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.churches-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.churches-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-dark);
}

.churches-list li::before {
    content: '⛪';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease;
}

@media (max-height: 520px) {
    .hero-content {
        padding: calc(var(--navbar-height, 4rem) + 0.5rem) 1rem 2.5rem;
    }

    .hero-title {
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        margin-bottom: 0.75rem;
    }

    .scroll-indicator {
        display: none;
    }
}

.page-snap [data-snap-panel]:not(.hero) {
    min-height: var(--app-height, 100dvh);
    height: var(--app-height, 100dvh);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: calc(var(--navbar-height, 5.5rem) + 0.75rem) !important;
    padding-bottom: 1.5rem !important;
    overflow: hidden;
}

.page-resources .resource-panel {
    padding-left: 0;
    padding-right: 0;
}

.page-snap [data-snap-panel]:not(.hero):not(.footer) {
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.page-snap [data-snap-panel]:not(.hero) > .container {
    width: 100%;
    margin-top: auto;
    margin-bottom: auto;
}

.page-home #presentation .section-header,
.page-home #schedule .section-header,
.page-home #news .section-header,
.page-resources .subsection-header {
    margin-bottom: 0.5rem;
}

.page-resources #chants .category-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.page-resources #chants .songs-grid {
    margin-top: 0.5rem;
    gap: 1.25rem;
    align-items: stretch;
}

.song-category {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: capitalize;
    color: var(--secondary-color, #7c3aed);
    margin: 0 0 0.35rem;
}

.page-resources #chants .song-card {
    padding: 1.1rem 1.25rem 1.2rem;
}

.page-resources #chants .song-content h4 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.page-resources #chants .song-artist {
    margin-bottom: 0.45rem;
}

.page-resources #chants .song-lyrics {
    padding: 0.7rem 0.8rem 0.85rem;
    margin-top: 0.45rem;
}

.page-resources #chants .lyrics-preview {
    max-height: 6.5rem;
}

.page-resources #chants .read-more-btn {
    margin-top: 0.65rem;
    padding: 0.55rem 1.2rem;
}

.page-home #presentation .about-text p {
    margin-bottom: 1rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .songs-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: min(100%, 280px);
        justify-content: center;
    }

    /* Responsive info grid */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-header {
        padding: 0;
        padding-top: 70px;
        margin-top: 0;
        min-height: calc(70px + 80px);
    }

    .page-header .container {
        padding: 1rem 0;
        min-height: 80px;
    }

    .page-header h1 {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }

    .page-header p {
        font-size: 0.85rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        flex-direction: column;
    }

    .event-date {
        min-width: 100%;
        padding: 1.5rem;
    }

    .schedule-grid,
    .news-grid,
    .activities-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .page-nav-static {
        padding: 0.75rem 0;
    }

    .page-nav-menu {
        gap: 1rem;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 20px;
    }

    .page-nav-menu::-webkit-scrollbar {
        display: none;
    }

    .page-nav-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        width: 90%;
        max-width: 320px;
    }
    
    .nav-link {
        font-size: 0.95rem;
        padding: 0.875rem 1.25rem;
    }
    
    .dropdown-link {
        font-size: 0.9rem;
        padding: 0.75rem 1.25rem;
    }
    
    .logo h2 {
        font-size: 1.4rem;
    }
    
    .logo span {
        font-size: 0.8rem;
    }
}

/* ===== ABOUT STATS STYLES ===== */
.about-stats {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    gap: 2rem;
    margin-bottom: 0;
}

.stat-item {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}

.stat-item p {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-medium);
    margin: 0;
    line-height: 1.4;
}

/* Responsive pour les stats */
@media (max-width: 768px) {
    .about-stats {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .stats-row {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0.75rem;
        justify-content: stretch;
    }
    
    .stat-item {
        flex: none;
        width: 100%;
        background: rgba(255, 255, 255, 0.8);
        padding: 0.85rem 1rem;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        gap: 1rem;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }
    
    .stat-item p {
        font-size: 0.75rem;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .stat-item h3 {
        font-size: 1.25rem;
        margin-bottom: 0;
    }
    
    .stat-item p {
        font-size: 0.8rem;
        text-align: right;
        margin: 0;
    }
}

