/* ==========================================
   THEME SOMBRE ÉLÉGANT
   Variables & Reset
   ========================================== */
:root {
    --forest-green: #2d5016;
    --forest-light: #4a7c2c;
    --forest-bright: #5a9c3c;
    --earth-brown: #6b5b4a;
    --cream: #2a2a2a;
    --white: #ffffff;
    --gray-light: #1a1a1a;
    --gray: #9ca3af;
    --gray-dark: #e5e7eb;
    --accent: #ff6b35;
    --accent-light: #ff8555;
    --blue-sky: #3b82f6;
    --yellow-sun: #fbbf24;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-strong: rgba(0, 0, 0, 0.5);
    --shadow-colored: rgba(42, 80, 22, 0.4);
    --bg-primary: #1f1f1f;
    --bg-secondary: #2a2a2a;
    --bg-tertiary: #353535;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--bg-primary);
}

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

/* ==========================================
   Header & Navigation
   ========================================== */
.header {
    background: var(--bg-secondary);
    box-shadow: 0 4px 20px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--forest-green);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo h1 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo img {
    height: 50px;
    margin-right: 15px;
}

.btn-header-inscription {
    padding: 8px 20px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--forest-bright);
}

/* ==========================================
   Section Infos Pratiques
   ========================================== */

.section-infos {
    padding: 80px 20px;
    background: var(--bg-dark);
}

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

.info-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid var(--border-color);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--forest-bright);
}

.info-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    filter: brightness(1.2);
}

.info-card h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 10px 0;
}

.info-card p strong {
    color: var(--text-primary);
    font-size: 1.1rem;
}

.info-detail {
    color: var(--forest-bright) !important;
    font-style: italic;
    font-size: 0.95rem;
}

.info-link {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--forest-green), var(--forest-bright));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.info-link:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
}

@media (max-width: 768px) {
    .infos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-card {
        padding: 30px 20px;
    }
    
    .info-icon {
        font-size: 3rem;
    }
}

/* Tampon inscription */
.stamp-inscription {
    position: absolute;
    top: 80px;
    right: 20px;
    width: 180px;
    height: 180px;
    z-index: 50;
    animation: stampAppear 0.5s ease-out;
}

@keyframes stampAppear {
    from {
        opacity: 0;
        transform: scale(0) rotate(-20deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(-15deg);
    }
}

.stamp-content {
    width: 100%;
    height: 100%;
    border: 6px solid #ff5252;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(30, 30, 30, 0.95);
    box-shadow: 0 4px 15px rgba(255, 82, 82, 0.4);
    transform: rotate(-15deg);
    padding: 10px;
    position: relative;
    overflow: hidden;
}

.stamp-content::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 2px solid #ff5252;
    border-radius: 5px;
    opacity: 0.5;
}

.stamp-content::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 82, 82, 0.05) 10px,
        rgba(255, 82, 82, 0.05) 20px
    );
}

.stamp-line {
    font-family: 'Courier New', monospace;
    font-weight: 900;
    color: #ff5252;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 1px;
    z-index: 1;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.stamp-main {
    font-size: 1rem;
    margin: 5px 0;
}

@media (max-width: 768px) {
    .stamp-inscription {
        width: 140px;
        height: 140px;
        top: 70px;
        right: 10px;
    }
    
    .stamp-content {
        border: 5px solid #ff5252;
    }
    
    .stamp-line {
        font-size: 0.6rem;
    }
    
    .stamp-main {
        font-size: 0.85rem;
    }
    
    .logo img {
        height: 35px !important;
        margin-right: 10px !important;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .stamp-inscription {
        width: 110px;
        height: 110px;
        top: 60px;
        right: 5px;
    }
    
    .stamp-content {
        border: 4px solid #ff5252;
        padding: 5px;
    }
    
    .stamp-line {
        font-size: 0.5rem;
    }
    
    .stamp-main {
        font-size: 0.7rem;
    }
    
    .logo img {
        height: 28px !important;
        margin-right: 8px !important;
    }
    
    .logo h1 {
        font-size: 1rem;
    }
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    height: 650px;
    background: linear-gradient(135deg, #0f1a0f 0%, var(--bg-primary) 50%, var(--bg-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-media.active {
    opacity: 1;
}

.hero-video {
    object-fit: cover;
}

.hero-image {
    background-size: cover;
    background-position: center;
}

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

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.hero h2 {
    font-size: 3.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6), 0 0 30px rgba(90, 156, 60, 0.3);
    animation: fadeInDown 1s ease-out;
    letter-spacing: -1px;
}

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

.hero-subtitle {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #a8e063;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    font-weight: 600;
    line-height: 1.8;
}

.hero-tagline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-style: italic;
}

.hero-location {
    display: inline-block;
    background: rgba(42, 42, 42, 0.95);
    color: #a8e063;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 3px solid #a8e063;
    box-shadow: 0 8px 25px rgba(168, 224, 99, 0.3);
    backdrop-filter: blur(10px);
    animation: pulse 2s ease-in-out infinite;
}

.location-icon {
    font-size: 1.3rem;
    margin-right: 8px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   Buttons
   ========================================== */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

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

.btn-primary:hover {
    background: linear-gradient(135deg, #e55a28 0%, var(--accent) 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

.btn-highlight {
    background: linear-gradient(135deg, #a8e063 0%, #56ab2f 100%);
    box-shadow: 0 4px 20px rgba(168, 224, 99, 0.5);
    animation: pulse-glow 2s ease-in-out infinite;
    font-size: 1.05em;
}

.btn-highlight:hover {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);
    box-shadow: 0 8px 30px rgba(168, 224, 99, 0.7);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(168, 224, 99, 0.5);
    }
    50% {
        box-shadow: 0 4px 30px rgba(168, 224, 99, 0.8);
    }
}

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

.btn-secondary:hover {
    background-color: var(--forest-bright);
    color: var(--white);
}

/* ==========================================
   Sections
   ========================================== */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--forest-bright), transparent);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

/* ==========================================
   Distances Section
   ========================================== */
.distances {
    background: var(--bg-primary);
    position: relative;
}

.distances::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--forest-green), var(--forest-bright), var(--forest-green));
}

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

.distance-card {
    background-color: var(--bg-secondary);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow), 0 0 0 1px rgba(90, 156, 60, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border-top: 3px solid var(--forest-green);
}

.distance-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px var(--shadow-colored), 0 0 0 2px var(--forest-bright);
}

.distance-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(90, 156, 60, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.distance-card:hover::after {
    opacity: 1;
}

.distance-card.featured {
    border: 3px solid var(--accent);
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--accent), #ff8c42);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); box-shadow: 0 8px 30px rgba(168, 224, 99, 0.6); }
}

.distance-header {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--forest-light) 50%, var(--forest-bright) 100%);
    color: var(--white);
    padding: 35px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.distance-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

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

.distance-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.distance-km {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.distance-trace-image {
    width: 100%;
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
    overflow: hidden;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #404040;
    border-bottom: 1px solid #404040;
}

.distance-trace-image img {
    width: 100% !important;
    height: 200px !important;
    max-width: 100%;
    max-height: 200px !important;
    min-height: 200px !important;
    object-fit: cover;
    object-position: center;
    display: block;
}

.distance-body {
    padding: 30px;
}

.distance-features {
    list-style: none;
    margin-bottom: 20px;
}

.distance-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-tertiary);
    color: var(--gray-dark);
}

.distance-features li:last-child {
    border-bottom: none;
}

.icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

.distance-description {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.distance-footer {
    padding: 0 30px 30px;
    text-align: center;
}

/* ==========================================
   Partenaires Section
   ========================================== */
.partenaires {
    background: var(--bg-secondary);
    position: relative;
}

.partenaires::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--forest-green), transparent);
}

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

.partenaire-card {
    background: var(--bg-tertiary);
    border: 3px solid transparent;
    background-clip: padding-box;
    border-radius: 15px;
    padding: 35px;
    text-align: center;
    transition: all 0.4s ease;
    text-decoration: none;
    color: var(--gray-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 15px var(--shadow);
}

.partenaire-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 15px;
    padding: 3px;
    background: linear-gradient(135deg, var(--forest-green), var(--forest-bright));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.partenaire-card:hover {
    background: var(--bg-secondary);
    box-shadow: 0 12px 30px var(--shadow-colored);
    transform: translateY(-8px) scale(1.03);
}

.partenaire-logo {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background-color: var(--white);
    border-radius: 10px;
    padding: 15px;
}

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

.partenaire-name {
    font-weight: 600;
    color: var(--gray-dark);
}

/* ==========================================
   Résultats Section
   ========================================== */
.resultats {
    background: var(--bg-primary);
    position: relative;
}

.resultats::before {
    content: '🏆';
    position: absolute;
    top: 60px;
    right: 10%;
    font-size: 8rem;
    opacity: 0.03;
    animation: float 6s ease-in-out infinite;
}

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

.resultats-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 14px 35px;
    background: var(--bg-secondary);
    border: 3px solid var(--bg-tertiary);
    border-radius: 35px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-dark);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 10px var(--shadow);
}

.tab-btn:hover {
    border-color: var(--forest-green);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow-colored);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--forest-green), var(--forest-bright));
    color: var(--white);
    border-color: var(--forest-green);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px var(--shadow-colored);
}

.resultats-year {
    display: none;
}

.resultats-year.active {
    display: block;
}

.resultats-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--bg-secondary);
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 6px 20px var(--shadow);
    border-left: 5px solid var(--forest-green);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(90, 156, 60, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-colored);
    border-left-color: var(--forest-bright);
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--forest-bright);
    margin-bottom: 10px;
}

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

.podium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.podium-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 20px var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--yellow-sun);
    position: relative;
    overflow: hidden;
}

.podium-card::before {
    content: '🏃';
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 4rem;
    opacity: 0.05;
}

.podium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-colored);
}

.podium-card h4 {
    color: var(--forest-bright);
    margin-bottom: 15px;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--bg-tertiary);
    padding-bottom: 10px;
}

.podium-list {
    list-style: none;
    margin-bottom: 15px;
}

.podium-list li {
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--gray-dark);
}

.gpx-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--forest-bright);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.gpx-link:hover {
    color: var(--forest-light);
}

.resultats-message {
    text-align: center;
    padding: 40px;
    background-color: var(--bg-secondary);
    border-radius: 10px;
    color: var(--gray);
    font-style: italic;
}

/* ==========================================
   Bénévoles Section
   ========================================== */
.benevoles {
    background: var(--bg-secondary);
    position: relative;
}

.benevoles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.benevoles-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray);
}

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

.benevole-mission {
    background: var(--bg-tertiary);
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px var(--shadow);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.benevole-mission::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(90, 156, 60, 0.1), transparent 30%);
    animation: rotate 8s linear infinite;
    opacity: 0;
}

.benevole-mission:hover::before {
    opacity: 1;
}

.benevole-mission:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 30px var(--shadow-colored);
    border-color: var(--forest-green);
}

.mission-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: all 0.3s ease;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.benevole-mission:hover .mission-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.4));
}

.benevole-mission h3 {
    color: var(--forest-bright);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.benevole-mission p {
    color: var(--gray);
    font-size: 0.95rem;
}

.benevoles-cta {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--forest-light) 50%, var(--forest-bright) 100%);
    color: var(--white);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px var(--shadow-colored);
    position: relative;
    overflow: hidden;
}

.benevoles-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: rotate 15s linear infinite;
}

.benevoles-cta::after {
    content: '🤝';
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 6rem;
    opacity: 0.1;
}

.benevoles-cta h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.benevoles-cta p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

.benevoles-cta .btn-primary {
    background-color: var(--white);
    color: var(--forest-green);
}

.benevoles-cta .btn-primary:hover {
    background-color: var(--gray-light);
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background-color: var(--bg-secondary);
    color: var(--white);
    padding: 50px 0 20px;
    border-top: 3px solid var(--forest-green);
}

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

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

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--forest-bright);
}

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

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        display: none;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .distance-grid,
    .partenaires-grid,
    .benevoles-grid,
    .podium-grid {
        grid-template-columns: 1fr;
    }
    
    .resultats-tabs {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .section {
        padding: 50px 0;
    }
}

/* ==========================================
   Compte à rebours
   ========================================== */
.countdown-section {
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    padding: 60px 0;
    text-align: center;
    border-top: 2px solid var(--forest-green);
    border-bottom: 2px solid var(--forest-green);
}

.countdown-title {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.box-rebours {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.box_jour,
.box_heure,
.box_minute,
.box_seconde {
    background: var(--bg-tertiary);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    min-width: 120px;
    transition: all 0.3s ease;
    border: 2px solid var(--forest-green);
}

.box_jour:hover,
.box_heure:hover,
.box_minute:hover,
.box_seconde:hover {
    transform: translateY(-5px);
    background: var(--bg-secondary);
    box-shadow: 0 10px 30px var(--shadow-colored);
    border-color: var(--forest-bright);
}

#jour,
#heure,
#minute,
#seconde {
    background: linear-gradient(135deg, var(--forest-green), var(--forest-bright));
    padding: 15px 25px;
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 900;
    border-radius: 10px;
    display: block;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

#jour_label,
#heure_label,
#minute_label,
#seconde_label {
    font-size: 1.2rem;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .countdown-title {
        font-size: 1.5rem;
    }
    
    .box-rebours {
        gap: 15px;
    }
    
    .box_jour,
    .box_heure,
    .box_minute,
    .box_seconde {
        min-width: 90px;
        padding: 15px;
    }
    
    #jour,
    #heure,
    #minute,
    #seconde {
        font-size: 2.5rem;
        padding: 10px 15px;
    }
    
    #jour_label,
    #heure_label,
    #minute_label,
    #seconde_label {
        font-size: 1rem;
    }
}
