/* ================================================================
           GALERIE PAGE - DIAPORAMA MODIFIÉ
           ================================================================ */
           .galerie-page {
            background: var(--surface-cream);
        }

        .galerie-hero {
            padding: 140px var(--space-md) var(--space-lg);
            text-align: center;
            background: var(--court-green);
            position: relative;
        }

        .galerie-hero::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--court-green-dark), var(--ball-yellow), var(--court-green-dark));
        }

        .galerie-title {
            font-family: var(--font-display);
            font-size: clamp(3rem, 10vw, 5rem);
            font-weight: 400;
            color: var(--surface-white);
            margin-bottom: var(--space-xs);
        }

        .galerie-subtitle {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.7);
            font-weight: 400;
        }

        .galerie-main {
            padding: var(--space-xl) var(--space-md);
            max-width: 1400px;
            margin: 0 auto;
            min-height: 80vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .slideshow-container {
            position: relative;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            background: var(--surface-white);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-lg);
            overflow: hidden;
        }

        .slide {
            display: none;
            position: relative;
            width: 100%;
            animation: slideIn 0.6s var(--ease-out);
        }

        .slide.active {
            display: block;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* Image en format complet */
        .slide img {
            width: 100%;
            height: auto;
            display: block;
            cursor: zoom-in;
            transition: transform 0.3s ease;
        }

        .slide img:hover {
            transform: scale(1.02);
        }

        .slide-caption {
            padding: var(--space-lg) var(--space-md);
            background: var(--surface-white);
            text-align: center;
        }

        .slide-caption h3 {
            font-family: var(--font-display);
            font-size: 2rem;
            font-weight: 600;
            color: var(--court-green);
            margin-bottom: var(--space-sm);
        }

        .slide-caption p {
            font-size: 1.05rem;
            line-height: 1.8;
            color: var(--text-body);
            max-width: 700px;
            margin: 0 auto;
        }

        /* Navigation Buttons */
        .prev,
        .next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.9);
            color: var(--court-green);
            border: none;
            font-size: 2rem;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            cursor: pointer;
            transition: all var(--duration-fast) ease;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow-md);
            z-index: 10;
        }

        .prev {
            left: var(--space-md);
        }

        .next {
            right: var(--space-md);
        }

        .prev:hover,
        .next:hover {
            background: var(--court-green);
            color: var(--surface-white);
            transform: translateY(-50%) scale(1.1);
            box-shadow: var(--shadow-glow);
        }

        .slide-indicators {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 10;
            background: rgba(255, 255, 255, 0.9);
            padding: 10px 20px;
            border-radius: var(--radius-full);
            box-shadow: var(--shadow-sm);
        }

        .indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--text-subtle);
            cursor: pointer;
            transition: all var(--duration-fast) ease;
            border: 2px solid transparent;
        }

        .indicator:hover {
            background: var(--court-green-light);
            transform: scale(1.2);
        }

        .indicator.active {
            background: var(--court-green);
            transform: scale(1.3);
            border-color: var(--ball-yellow);
        }

        .slide-counter {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(27, 77, 62, 0.9);
            color: var(--surface-white);
            padding: 8px 16px;
            border-radius: var(--radius-full);
            font-family: var(--font-body);
            font-size: 0.9rem;
            font-weight: 600;
            letter-spacing: 0.05em;
            box-shadow: var(--shadow-md);
            z-index: 10;
        }

        .slide-counter .current-slide {
            color: var(--ball-yellow);
            font-size: 1.1rem;
        }

        /* ================================================================
           LIGHTBOX - AFFICHAGE PLEIN ÉCRAN
           ================================================================ */
        .lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 9999;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.3s ease;
        }

        .lightbox.active {
            display: flex;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .lightbox-content {
            position: relative;
            max-width: 95%;
            max-height: 95%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .lightbox-image {
            max-width: 100%;
            max-height: 90vh;
            object-fit: contain;
            border-radius: var(--radius-md);
            box-shadow: 0 0 100px rgba(0, 0, 0, 0.8);
            animation: zoomIn 0.4s var(--ease-out);
        }

        @keyframes zoomIn {
            from {
                opacity: 0;
                transform: scale(0.8);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .lightbox-close {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.9);
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: var(--court-green);
            transition: all 0.3s ease;
            z-index: 10001;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        }

        .lightbox-close:hover {
            background: var(--court-green);
            color: white;
            transform: rotate(90deg) scale(1.1);
        }

        .lightbox-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
            color: white;
            padding: 40px 20px 20px;
            text-align: center;
        }

        .lightbox-caption h3 {
            font-family: var(--font-display);
            font-size: 1.8rem;
            color: var(--ball-yellow);
            margin-bottom: 10px;
        }

        .lightbox-caption p {
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.9);
            max-width: 800px;
            margin: 0 auto;
        }

        /* Navigation dans le lightbox */
        .lightbox-prev,
        .lightbox-next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.9);
            color: var(--court-green);
            border: none;
            font-size: 2.5rem;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        }

        .lightbox-prev {
            left: 30px;
        }

        .lightbox-next {
            right: 30px;
        }

        .lightbox-prev:hover,
        .lightbox-next:hover {
            background: var(--court-green);
            color: white;
            transform: translateY(-50%) scale(1.1);
        }

        /* ================================================================
           RESPONSIVE
           ================================================================ */
        @media (max-width: 900px) {
            .galerie-main {
                padding: var(--space-lg) var(--space-sm);
            }

            .slide-caption {
                padding: var(--space-md);
            }

            .slide-caption h3 {
                font-size: 1.6rem;
            }

            .slide-caption p {
                font-size: 1rem;
            }

            .prev,
            .next {
                width: 50px;
                height: 50px;
                font-size: 1.5rem;
            }

            .lightbox-prev,
            .lightbox-next {
                width: 50px;
                height: 50px;
                font-size: 2rem;
            }

            .lightbox-prev {
                left: 15px;
            }

            .lightbox-next {
                right: 15px;
            }
        }

        @media (max-width: 600px) {
            .galerie-hero {
                padding: 120px var(--space-sm) var(--space-md);
            }

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

            .galerie-main {
                padding: var(--space-md) var(--space-xs);
                min-height: auto;
            }

            .slideshow-container {
                border-radius: var(--radius-md);
            }

            .slide-caption {
                padding: var(--space-md) var(--space-sm);
            }

            .slide-caption h3 {
                font-size: 1.4rem;
                margin-bottom: var(--space-xs);
            }

            .slide-caption p {
                font-size: 0.9rem;
                line-height: 1.6;
            }

            .prev,
            .next {
                width: 40px;
                height: 40px;
                font-size: 1.2rem;
            }

            .slide-indicators {
                bottom: 10px;
                padding: 8px 12px;
                gap: 8px;
            }

            .indicator {
                width: 10px;
                height: 10px;
            }

            .slide-counter {
                top: 10px;
                right: 10px;
                padding: 6px 12px;
                font-size: 0.8rem;
            }

            .lightbox-close {
                top: 10px;
                right: 10px;
                width: 40px;
                height: 40px;
                font-size: 1.5rem;
            }

            .lightbox-prev,
            .lightbox-next {
                width: 40px;
                height: 40px;
                font-size: 1.5rem;
            }

            .lightbox-prev {
                left: 10px;
            }

            .lightbox-next {
                right: 10px;
            }

            .lightbox-caption h3 {
                font-size: 1.3rem;
            }

            .lightbox-caption p {
                font-size: 0.85rem;
            }
        }