/**
 * Ecole du Bonheur - Main Stylesheet
 * Extracted from index.html embedded styles
 * Contains: variables, reset, components, layout, responsive, animations
 */
        /* ==================== VARIABLES ==================== */
        :root {
            /* Primary - Royal Blue Family */
            --primary: #4169E1;
            --primary-dark: #2D4BA8;
            --primary-darker: #1E3A8A;
            --primary-light: #7B93E8;
            --primary-ultra-light: #E8EEFF;

            /* Secondary - Golden Amber (used sparingly) */
            --secondary: #F5A623;
            --secondary-light: #FFD280;

            /* Accent - Cyan Blue (complements royal blue) */
            --accent: #0EA5E9;
            --accent-light: #BAE6FD;

            /* Success - Fresh Emerald */
            --success: #22C55E;
            --success-light: #BBF7D0;

            /* Section Colors */
            --color-maternelle: #10B981;
            --color-maternelle-dark: #059669;
            --color-primaire: #8B5CF6;
            --color-primaire-dark: #7C3AED;
            --color-commun: #EC4899;
            --color-commun-dark: #DB2777;

            /* Legacy - Soft Lavender */
            --maternelle: #8B5CF6;
            --maternelle-light: #EDE9FE;

            /* Neutrals */
            --dark: #1E293B;
            --light-bg: #F0F5FF;
            --cream-bg: #FAFBFF;
            --white: #FFFFFF;
            --text-dark: #1E293B;
            --text-medium: #475569;
            --text-light: #64748B;
            --border-light: #E2E8F0;

            /* Gradients */
            --gradient-primary: linear-gradient(135deg, #4169E1 0%, #7B93E8 100%);
            --gradient-primary-dark: linear-gradient(135deg, #2D4BA8 0%, #4169E1 100%);
            --gradient-deep: linear-gradient(135deg, #1E3A8A 0%, #3154B3 100%);
            --gradient-hero: linear-gradient(135deg, #F0F5FF 0%, #E8EEFF 50%, #DBEAFE 100%);
            --gradient-footer: linear-gradient(135deg, #3154B3 0%, #1E3A8A 100%);

            /* Shadows */
            --shadow-sm: 0 2px 8px rgba(30, 58, 138, 0.06);
            --shadow-md: 0 4px 20px rgba(30, 58, 138, 0.1);
            --shadow-lg: 0 12px 40px rgba(30, 58, 138, 0.15);
            --shadow-primary: 0 8px 30px rgba(65, 105, 225, 0.3);
            --shadow-accent: 0 8px 30px rgba(14, 165, 233, 0.2);

            /* Border Radius */
            --radius: 20px;
            --radius-sm: 12px;
            --radius-lg: 28px;
            --radius-full: 50px;

            /* Transitions */
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

            /* Rainbow Nav Colors (Soft/Muted) */
            --nav-accueil: #E88B7E;
            --nav-ecole: #E8A87C;
            --nav-infos: #D4B86A;
            --nav-agenda: #8BC48A;
            --nav-actualites: #6BBFB5;
            --nav-photos: #7CB8E8;
            --nav-partenaires: #8B7ED1;
            --nav-apeb: #A87ED1;
            --nav-shop: #D17EAC;
            --nav-contact: #D18B8B;
        }

        /* ==================== RESET & BASE ==================== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
            color: var(--text-dark);
            background-color: var(--light-bg);
            line-height: 1.7;
            overflow-x: hidden;
            font-weight: 500;
        }

        h1, h2, h3, h4, h5, h6, .logo, .footer-logo {
            font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
            font-weight: 800;
            letter-spacing: -0.02em;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }

        ul {
            list-style: none;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        ::selection {
            background: var(--primary-light);
            color: var(--white);
        }

        /* ==================== MOBILE-FIRST HEADER ==================== */
        .header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            box-shadow: var(--shadow-sm);
            padding: 0.875rem 1rem;
            border-bottom: 1px solid rgba(65, 105, 225, 0.08);
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.85rem;
            font-size: 1.6rem;
            font-weight: 800;
            color: var(--primary);
        }

        .logo-icon {
            width: 48px;
            height: 48px;
            background: var(--gradient-primary);
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.4rem;
        }

        /* Mobile Menu Button */
        .menu-toggle {
            width: 46px;
            height: 46px;
            background: var(--gradient-primary);
            border: none;
            border-radius: var(--radius-sm);
            color: white;
            font-size: 1.25rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition-bounce);
            box-shadow: var(--shadow-primary);
        }

        .menu-toggle:hover {
            transform: scale(1.08);
            box-shadow: 0 12px 35px rgba(65, 105, 225, 0.35);
        }

        /* Mobile Navigation */
        .nav-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: min(340px, 85vw);
            height: 100dvh; /* Dynamic viewport height for mobile browsers */
            height: 100vh; /* Fallback for older browsers */
            background: var(--white);
            box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
            padding: 1rem 1.25rem;
            padding-top: max(1rem, env(safe-area-inset-top));
            padding-bottom: max(1rem, env(safe-area-inset-bottom));
            padding-right: max(1.25rem, env(safe-area-inset-right));
            transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1001;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
        }

        @supports (height: 100dvh) {
            .nav-menu {
                height: 100dvh;
            }
        }

        .nav-menu.active {
            right: 0;
        }

        .nav-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.75rem;
            flex-shrink: 0;
        }

        .nav-menu-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--primary);
        }

        .nav-close {
            width: 40px;
            height: 40px;
            background: var(--light-bg);
            border: none;
            border-radius: 10px;
            font-size: 1.25rem;
            color: var(--text-dark);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
            flex-shrink: 0;
        }

        .nav-close:hover {
            background: var(--primary);
            color: white;
        }

        .nav-links {
            margin-top: 0;
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
            flex: 1;
        }

        /* Hide Priority+ "More" on mobile - use hamburger menu instead */
        .nav-more {
            display: none !important;
        }

        .nav-link {
            padding: 0.7rem 1rem;
            border-radius: 10px;
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--text-dark);
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .nav-link i {
            font-size: 1rem;
            color: var(--primary);
            width: 20px;
            text-align: center;
        }

        /* Rainbow Nav Icon Colors (Mobile) */
        .nav-link[data-nav="ecole"] i,
        .nav-dropdown-toggle[data-nav="ecole"] i:first-child { color: var(--nav-ecole); }
        .nav-link[data-nav="infos"] i,
        .nav-dropdown-toggle[data-nav="infos"] i:first-child { color: var(--nav-infos); }
        .nav-link[data-nav="agenda"] i { color: var(--nav-agenda); }
        .nav-link[data-nav="actualites"] i { color: var(--nav-actualites); }
        .nav-link[data-nav="photos"] i { color: var(--nav-photos); }
        .nav-link[data-nav="partenaires"] i,
        .nav-dropdown-toggle[data-nav="partenaires"] i:first-child { color: var(--nav-partenaires); }
        .nav-link[data-nav="apeb"] i { color: var(--nav-apeb); }
        .nav-link[data-nav="shop"] i { color: var(--nav-shop); }
        .nav-link[data-nav="contact"] i { color: var(--nav-contact); }

        .nav-link:hover,
        .nav-link:active {
            background: var(--light-bg);
            color: var(--primary);
            transform: translateX(3px);
        }

        .nav-cta {
            margin-top: auto;
            padding: 0.875rem 1.25rem;
            background: var(--primary);
            color: white !important;
            border-radius: 12px;
            text-align: center;
            font-weight: 700;
            box-shadow: var(--shadow-md);
            transition: var(--transition);
            flex-shrink: 0;
        }

        .nav-cta:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        /* Overlay */
        .nav-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(0, 0, 0, 0.5);
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
            z-index: 999;
        }

        .nav-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* ==================== HERO SECTION ==================== */
        .hero {
            margin-top: 72px;
            min-height: calc(80vh - 72px);
            min-height: calc(80svh - 72px);
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            padding: 2rem 1.5rem 5rem;
        }

        /* Background Video Layer */
        .hero-video {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            pointer-events: none;
            overflow: hidden;
        }

        .hero-video iframe {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100vw;
            height: 100vh;
            min-width: 177.77vh; /* 16:9 aspect ratio */
            min-height: 56.25vw;
            transform: translate(-50%, -50%);
            border: none;
        }

        .hero-video-thumb {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100vw;
            height: 100vh;
            min-width: 177.77vh;
            min-height: 56.25vw;
            transform: translate(-50%, -50%);
            object-fit: cover;
            z-index: 2;
            transition: opacity 1s ease;
        }

        .hero-video-thumb.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .hero-video-fade {
            position: absolute;
            inset: 0;
            background: #0a1628;
            opacity: 0;
            transition: opacity 0.6s ease;
            z-index: 1;
            pointer-events: none;
        }

        .hero-video-fade.active {
            opacity: 1;
        }

        /* Dark Overlay on Video */
        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            z-index: 1;
        }

        /* Gradient Overlay */
        .hero::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(
                135deg,
                rgba(30, 58, 138, 0.92) 0%,
                rgba(65, 105, 225, 0.85) 25%,
                rgba(65, 105, 225, 0.5) 40%,
                rgba(65, 105, 225, 0.15) 55%,
                transparent 70%
            );
            z-index: 1;
        }

        .hero-content {
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
            width: 100%;
        }

        .hero-text {
            text-align: center;
            flex: 1;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1.1rem;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: var(--radius-full);
            color: white;
            font-size: 0.8rem;
            font-weight: 700;
            margin-bottom: 1rem;
            border: 1px solid rgba(255, 255, 255, 0.25);
        }

        .hero-badge i {
            color: var(--secondary-light);
        }

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

        .hero h1 {
            font-size: 1.6rem;
            font-weight: 800;
            color: white;
            margin-bottom: 0.75rem;
            line-height: 1.3;
            text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
        }

        .hero-highlight {
            color: #FFE0FF;
            position: relative;
            display: inline-block;
        }

        .hero p {
            font-size: 0.9rem;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.95);
            margin-bottom: 1.25rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            text-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
        }

        .hero-buttons {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            max-width: 400px;
            margin: 0 auto;
        }

        /* Hero-specific button styles */
        .hero .btn {
            padding: 0.75rem 1.5rem;
            font-size: 0.9rem;
        }

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

        .hero .btn-primary:hover {
            background: var(--primary-ultra-light);
            color: var(--primary-dark);
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
        }

        .hero .btn-outline {
            background: transparent;
            color: white;
            border: 2px solid rgba(255, 255, 255, 0.5);
            box-shadow: none;
        }

        .hero .btn-outline:hover {
            background: rgba(255, 255, 255, 0.15);
            color: white;
            border-color: rgba(255, 255, 255, 0.8);
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }


        .btn {
            padding: 1rem 2rem;
            border-radius: var(--radius-sm);
            font-weight: 700;
            font-family: 'Plus Jakarta Sans', sans-serif;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            cursor: pointer;
            border: none;
            transition: var(--transition-bounce);
            font-size: 1rem;
            position: relative;
            overflow: hidden;
        }

        .btn-primary {
            background: var(--gradient-primary);
            color: white;
            box-shadow: var(--shadow-primary);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(65, 105, 225, 0.4);
        }

        .btn-primary:active {
            transform: translateY(-1px);
        }

        .btn-outline {
            background: white;
            color: var(--primary);
            border: 2px solid rgba(65, 105, 225, 0.2);
            box-shadow: var(--shadow-sm);
        }

        .btn-outline:hover {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
            transform: translateY(-2px);
            box-shadow: var(--shadow-primary);
        }

        /* ==================== FLOATING STATS ==================== */
        .floating-stats {
            margin: -3rem 1rem 0;
            position: relative;
            z-index: 10;
        }

        .stats-container {
            max-width: 1200px;
            margin: 0 auto;
            background: white;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-lg);
            padding: 1.5rem 1rem;
            display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;
            border: 1px solid var(--border-light);
        }

        .stat-card {
            text-align: center;
            position: relative;
        }

        .stat-card:not(:last-child)::after {
            content: '';
            position: absolute;
            bottom: -1rem;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 3px;
            background: var(--primary-ultra-light);
            border-radius: 2px;
        }

        @media (min-width: 768px) {
            .stat-card:not(:last-child)::after {
                display: none;
            }
        }

        .stat-icon {
            width: 44px;
            height: 44px;
            margin: 0 auto 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
        }

        .stat-icon.purple {
            color: var(--primary);
        }

        .stat-icon.pink {
            color: var(--primary-dark);
        }

        .stat-icon.yellow {
            color: var(--accent);
        }

        .stat-icon.green {
            color: var(--success);
        }

        .stat-subtitle {
            font-size: 0.75rem;
            color: var(--text-light);
            margin-top: 0.25rem;
            font-weight: 600;
        }

        .stat-subtitle .primaire {
            color: var(--color-primaire);
        }

        .stat-subtitle .maternelle {
            color: var(--color-maternelle);
        }

        .stat-number {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--dark);
            margin-bottom: 0.25rem;
            line-height: 1;
        }

        .stat-label {
            color: var(--text-medium);
            font-size: 0.8rem;
            font-weight: 600;
        }

        /* Clickable stat-card link styles */
        .stat-card-link {
            text-decoration: none;
            display: block;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            border-radius: 12px;
        }

        .stat-card-link:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }

        .stat-link-icon {
            font-size: 0.65rem;
            margin-left: 4px;
            opacity: 0.6;
            transition: opacity 0.2s ease;
        }

        .stat-card-link:hover .stat-link-icon {
            opacity: 1;
        }

        /* ==================== SECTIONS ==================== */
        .section {
            padding: 4rem 1rem;
            position: relative;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .section-header {
            text-align: center;
            margin-bottom: 3.5rem;
        }

        .section-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1.25rem;
            background: var(--primary-ultra-light);
            color: var(--primary);
            border-radius: var(--radius-full);
            font-size: 0.85rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 1.25rem;
            border: 1px solid rgba(65, 105, 225, 0.15);
        }

        .section-badge::before {
            content: '';
            width: 6px;
            height: 6px;
            background: var(--accent);
            border-radius: 50%;
        }

        .section-title {
            font-size: 2.25rem;
            font-weight: 800;
            color: var(--dark);
            margin-bottom: 1rem;
            line-height: 1.2;
        }

        .section-description {
            color: var(--text-medium);
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.7;
        }

        /* ==================== FEATURE CARDS ==================== */
        .feature-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .feature-card {
            background: white;
            border-radius: var(--radius);
            padding: 2rem;
            box-shadow: var(--shadow-sm);
            transition: var(--transition-bounce);
            border: 1px solid var(--border-light);
            position: relative;
            overflow: hidden;
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--gradient-primary);
            opacity: 0;
            transition: var(--transition);
        }

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

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

        .feature-icon {
            width: 72px;
            height: 72px;
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            margin-bottom: 1.5rem;
        }

        .feature-icon.gradient-1 {
            background: linear-gradient(135deg, var(--color-maternelle) 0%, var(--color-maternelle-dark) 100%);
            color: white;
            box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
        }

        .feature-icon.gradient-2 {
            background: linear-gradient(135deg, var(--color-primaire) 0%, var(--color-primaire-dark) 100%);
            color: white;
            box-shadow: 0 8px 20px rgba(139, 92, 246, 0.25);
        }

        .feature-icon.gradient-3 {
            background: var(--gradient-deep);
            color: white;
            box-shadow: 0 8px 20px rgba(30, 58, 138, 0.25);
        }

        .feature-title {
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--dark);
            margin-bottom: 0.75rem;
        }

        .feature-description {
            color: var(--text-medium);
            margin-bottom: 1.5rem;
            line-height: 1.7;
        }

        .feature-link {
            color: var(--primary);
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: var(--transition);
            font-family: 'Plus Jakarta Sans', sans-serif;
        }

        .feature-link:hover {
            gap: 0.85rem;
            color: var(--primary-dark);
        }

        /* ==================== PRESENTATION VIDEO SECTION ==================== */
        .presentation-section {
            background: linear-gradient(165deg, #1e3a8a 0%, #2a4fad 40%, #243d85 100%);
            position: relative;
            overflow: hidden;
            padding: 4rem 1.25rem;
        }

        .presentation-section::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -20%;
            width: 60%;
            height: 200%;
            background: radial-gradient(ellipse, rgba(123, 147, 232, 0.2) 0%, transparent 70%);
            pointer-events: none;
        }

        .presentation-section::after {
            content: '';
            position: absolute;
            bottom: -30%;
            right: -10%;
            width: 50%;
            height: 160%;
            background: radial-gradient(ellipse, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
            pointer-events: none;
        }

        .presentation-grid {
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            z-index: 1;
            gap: 2.5rem;
        }

        .presentation-header {
            text-align: center;
            max-width: 600px;
        }

        .presentation-video-wrapper {
            position: relative;
            width: 100%;
            max-width: 900px;
        }

        /* Ambient glow behind video */
        .presentation-video-wrapper::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80%;
            height: 80%;
            background: radial-gradient(ellipse, rgba(65, 105, 225, 0.35) 0%, transparent 70%);
            filter: blur(40px);
            pointer-events: none;
            z-index: 0;
        }

        .presentation-video {
            width: 100%;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow:
                0 0 0 1px rgba(255, 255, 255, 0.08),
                0 25px 60px rgba(0, 0, 0, 0.35),
                0 0 80px rgba(65, 105, 225, 0.2);
            background: #000;
            position: relative;
            z-index: 1;
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .presentation-video:hover {
            transform: scale(1.01);
            box-shadow:
                0 0 0 1px rgba(255, 255, 255, 0.12),
                0 30px 70px rgba(0, 0, 0, 0.4),
                0 0 100px rgba(65, 105, 225, 0.3);
        }

        .video-player {
            width: 100%;
            aspect-ratio: 16 / 9;
            display: block;
            border: none;
        }

        .presentation-content {
            text-align: center;
            max-width: 700px;
            padding: 0 1rem;
        }

        .presentation-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1.25rem;
            background: #F0F2F5;
            color: #d4e0ff;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: var(--radius-full);
            font-size: 0.85rem;
            font-weight: 700;
            margin-bottom: 1.25rem;
            backdrop-filter: blur(8px);
        }

        .presentation-badge i {
            color: var(--accent);
        }

        .presentation-title {
            font-size: 2rem;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        .presentation-text {
            font-size: 0.95rem;
            line-height: 1.75;
            color: rgba(255, 255, 255, 0.8);
            margin: 0;
        }

        .presentation-cta {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            max-width: 900px;
        }

        .presentation-btn {
            background: white !important;
            color: var(--primary) !important;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
            border: none !important;
        }

        .presentation-btn:hover {
            background: var(--primary-ultra-light) !important;
            color: var(--primary-dark) !important;
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
        }

        /* Presentation Logo */
        .presentation-logo {
            width: 8rem;
            height: auto;
            margin-bottom: 1rem;
        }

        /* ==================== LOGO SECTION ==================== */
        .logo-section {
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .logo-wrapper {
            text-align: center;
            width: 100%;
            display: flex;
            justify-content: center;
        }

        .school-logo {
            width: 26rem;
            height: auto;
            filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
            transition: transform 0.3s ease;
        }

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

        @media (min-width: 768px) {
            .school-logo {
                width: 38rem;
            }

            .presentation-logo {
                width: 12rem;
            }
        }

        /* ==================== QUICK ACCESS GRID ==================== */
        .quick-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }

        .quick-card {
            background: white;
            padding: 1.75rem 1.5rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow-sm);
            text-align: center;
            transition: var(--transition-bounce);
            cursor: pointer;
            border: 1px solid var(--border-light);
            position: relative;
            overflow: hidden;
        }

        .quick-card::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--gradient-primary);
            transform: scaleX(0);
            transition: var(--transition);
        }

        .quick-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-md);
            border-color: transparent;
        }

        .quick-card:hover::after {
            transform: scaleX(1);
        }

        .quick-icon {
            font-size: 2rem;
            margin-bottom: 0.85rem;
        }

        .quick-card:nth-child(1) .quick-icon {
            color: var(--primary);
        }

        .quick-card:nth-child(2) .quick-icon {
            color: var(--primary-dark);
        }

        .quick-card:nth-child(3) .quick-icon {
            color: var(--success);
        }

        .quick-card:nth-child(4) .quick-icon {
            color: var(--primary-light);
        }

        .quick-label {
            font-weight: 700;
            font-size: 0.95rem;
            color: var(--dark);
            font-family: 'Plus Jakarta Sans', sans-serif;
        }

        /* ==================== NEWS CARDS ==================== */
        .news-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .news-card {
            background: white;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: var(--transition-bounce);
            border: 1px solid var(--border-light);
        }

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

        .news-image {
            width: 100%;
            height: 220px;
            object-fit: cover;
            background: var(--light-bg);
            transition: var(--transition);
        }

        .news-card:hover .news-image {
            transform: scale(1.03);
        }

        .news-image-wrapper {
            overflow: hidden;
            position: relative;
        }

        .news-category-badge {
            position: absolute;
            top: 1rem;
            left: 1rem;
            padding: 0.3rem 0.85rem;
            border-radius: var(--radius-full);
            font-size: 0.75rem;
            font-weight: 700;
            font-family: 'Plus Jakarta Sans', sans-serif;
            color: white;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            z-index: 1;
        }

        .news-category-badge.primaire {
            background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
        }

        .news-category-badge.maternelle {
            background: linear-gradient(135deg, #10B981 0%, #059669 100%);
        }

        .news-category-badge.commun {
            background: linear-gradient(135deg, #EC4899 0%, #DB2777 100%);
        }

        .news-content {
            padding: 1.75rem;
        }

        .news-date {
            display: inline-block;
            padding: 0.35rem 0.85rem;
            background: var(--primary-ultra-light);
            color: var(--primary);
            border-radius: var(--radius-sm);
            font-size: 0.8rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .news-title {
            font-size: 1.25rem;
            font-weight: 800;
            color: var(--dark);
            margin-bottom: 0.75rem;
        }

        .news-description {
            color: var(--text-medium);
            margin-bottom: 1.25rem;
            line-height: 1.65;
        }

        .news-link {
            color: var(--primary);
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-family: 'Plus Jakarta Sans', sans-serif;
        }

        .news-link:hover {
            gap: 0.85rem;
            color: var(--primary-dark);
        }

        /* ==================== CTA SECTION ==================== */
        .cta-section {
            background: var(--gradient-primary);
            border-radius: var(--radius-lg);
            padding: 3.5rem 1.5rem;
            text-align: center;
            margin: 3rem 1rem;
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 400px;
            height: 400px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 50%;
            animation: float 8s ease-in-out infinite;
        }

        .cta-section::after {
            content: '';
            position: absolute;
            bottom: -40%;
            left: -15%;
            width: 300px;
            height: 300px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 50%;
            animation: float 10s ease-in-out infinite reverse;
        }

        .cta-content {
            position: relative;
            z-index: 2;
        }

        .cta-title {
            font-size: 2rem;
            font-weight: 800;
            color: white;
            margin-bottom: 1rem;
        }

        .cta-description {
            color: rgba(255, 255, 255, 0.92);
            margin-bottom: 2rem;
            font-size: 1.1rem;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }

        .btn-white {
            background: white;
            color: var(--primary);
            box-shadow: var(--shadow-md);
            font-family: 'Plus Jakarta Sans', sans-serif;
        }

        .btn-white:hover {
            background: var(--cream-bg);
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
        }

        /* ==================== FOOTER ==================== */
        .footer {
            background: var(--gradient-footer);
            color: white;
            padding: 4rem 1rem 1.5rem;
            position: relative;
            overflow: hidden;
        }

        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--primary-light) 100%);
        }

        .footer::after {
            content: '';
            position: absolute;
            top: -200px;
            right: -100px;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(65, 105, 225, 0.1) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .footer-brand {
            margin-bottom: 2rem;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-size: 1.5rem;
            font-weight: 800;
            margin-bottom: 1rem;
        }

        .footer-logo-icon {
            width: 50px;
            height: 50px;
            background: #F0F2F5;
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
        }

        .footer-description {
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 1.5rem;
        }

        .footer-address {
            margin-top: 1.5rem;
            padding-top: 1rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .address-title {
            color: var(--accent);
            font-weight: 700;
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
        }

        .footer-address p {
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 0.35rem;
            font-size: 0.85rem;
            line-height: 1.5;
        }

        .footer-address p i {
            width: 16px;
            color: var(--accent);
            margin-right: 0.5rem;
        }

        .footer-address a {
            color: rgba(255, 255, 255, 0.7);
            transition: var(--transition);
        }

        .footer-address a:hover {
            color: white;
        }

        .footer-contact {
            margin-top: 0.5rem;
        }

        .footer-contact p {
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
            line-height: 1.6;
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
        }

        .footer-contact p i {
            min-width: 18px;
            color: var(--accent);
            margin-top: 0.15rem;
            flex-shrink: 0;
        }

        .footer-contact a {
            color: rgba(255, 255, 255, 0.8);
            transition: var(--transition);
            word-break: break-word;
            flex: 1;
        }

        .footer-contact a:hover {
            color: white;
        }

        .footer-social {
            display: flex;
            gap: 0.75rem;
            margin-top: 1.5rem;
        }

        .social-link {
            width: 44px;
            height: 44px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition-bounce);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .social-link:hover {
            background: var(--accent);
            border-color: var(--accent);
            transform: translateY(-4px);
        }

        .footer-section {
            margin-bottom: 2rem;
        }

        .footer-title {
            font-size: 1rem;
            font-weight: 800;
            margin-bottom: 1.25rem;
            color: white;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            position: relative;
            display: inline-block;
        }

        .footer-maternelle .footer-title::after {
            background: var(--color-maternelle);
        }

        .footer-primaire .footer-title::after {
            background: var(--color-primaire);
        }

        .footer-title::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 24px;
            height: 3px;
            background: var(--accent);
            border-radius: 2px;
        }

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

        .footer-link {
            color: rgba(255, 255, 255, 0.75);
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 500;
        }

        .footer-link:hover {
            color: white;
            padding-left: 0.5rem;
        }

        .footer-link i {
            font-size: 0.85rem;
            color: var(--accent);
            width: 14px;
        }

        /* WordPress menu in footer columns */
        .footer-menu-links {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .footer-menu-links li {
            margin: 0;
            padding: 0;
        }

        .footer-menu-links a {
            color: rgba(255, 255, 255, 0.75);
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 500;
        }

        .footer-menu-links a:hover {
            color: white;
            padding-left: 0.5rem;
        }

        .footer-menu-links a i {
            font-size: 0.85rem;
            color: var(--accent);
            width: 14px;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            margin-top: 3rem;
            padding-top: 2rem;
            padding-bottom: 1rem;
            text-align: center;
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.9rem;
        }

        .footer-credit {
            margin-top: 0.5rem;
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.3);
        }

        /* ==================== TABLET (768px+) ==================== */
        @media (min-width: 768px) {
            .presentation-section {
                padding: 5rem 2rem;
            }

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


            .hero::after {
                background: linear-gradient(
                    115deg,
                    rgba(30, 58, 138, 0.92) 0%,
                    rgba(65, 105, 225, 0.85) 22%,
                    rgba(65, 105, 225, 0.5) 38%,
                    rgba(65, 105, 225, 0.15) 50%,
                    transparent 60%
                );
            }

            .hero-content {
                align-items: flex-start;
                gap: 3rem;
            }

            .hero-text {
                text-align: left;
                flex: 1;
                min-width: 0;
                max-width: 600px;
            }

            .hero-badge {
                margin-left: 0;
            }

            .hero p {
                font-size: 1.1rem;
                margin-left: 0;
                margin-right: 0;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .hero-buttons {
                flex-direction: row;
                max-width: none;
                justify-content: flex-start;
            }


            .floating-stats {
                margin: -5rem 1rem 0;
            }

            .stats-container {
                grid-template-columns: repeat(3, 1fr);
                padding: 2.5rem;
                gap: 2rem;
            }

            .stat-icon {
                width: 64px;
                height: 64px;
                margin: 0 auto 1rem;
                font-size: 2.25rem;
            }

            .stat-number {
                font-size: 2.25rem;
                margin-bottom: 0.35rem;
            }

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

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

            .quick-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 1.5rem;
            }

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

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

            .cta-section {
                padding: 4rem 2rem;
            }

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

            .footer-content {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 2rem;
            }
        }

        /* ==================== DESKTOP (1024px+) ==================== */
        @media (min-width: 1024px) {
            .header {
                padding: 0.875rem 2rem;
            }

            .presentation-section {
                padding: 6rem 2rem;
            }

            .presentation-grid {
                gap: 3rem;
            }


            .menu-toggle {
                display: none;
            }

            .nav-menu {
                position: static;
                width: auto;
                height: auto;
                background: transparent;
                box-shadow: none;
                padding: 0;
                display: flex;
                flex-direction: row;
                align-items: center;
                gap: 0.5rem;
                overflow: visible;
            }

            .nav-close,
            .nav-header {
                display: none;
            }

            .nav-links {
                flex-direction: row;
                margin-top: 0;
                gap: 0.25rem;
                flex-wrap: nowrap;
                flex: none;
            }

            .nav-more {
                flex-shrink: 0;
                display: none !important;
            }

            .nav-more.has-hidden-items {
                display: block !important;
            }

            .nav-link {
                padding: 0.6rem 0.85rem;
                font-size: 0.9rem;
                white-space: nowrap;
                border-radius: var(--radius-sm);
            }

            .nav-link:hover {
                transform: none;
                background: var(--primary-ultra-light);
                color: var(--primary);
            }

            /* Rainbow Nav Hover Colors (Desktop) */
            .nav-links > li > .nav-link[data-nav="ecole"]:hover,
            .nav-links > li > .nav-dropdown-toggle[data-nav="ecole"]:hover {
                background: rgba(255, 107, 53, 0.25);
                color: #FF6B35;
            }
            .nav-links > li > .nav-link[data-nav="infos"]:hover,
            .nav-links > li > .nav-dropdown-toggle[data-nav="infos"]:hover {
                background: rgba(245, 195, 59, 0.25);
                color: #D4A520;
            }
            .nav-links > li > .nav-link[data-nav="agenda"]:hover,
            .nav-links > li > .nav-dropdown-toggle[data-nav="agenda"]:hover {
                background: rgba(75, 191, 107, 0.25);
                color: #3AA55D;
            }
            .nav-links > li > .nav-link[data-nav="actualites"]:hover,
            .nav-links > li > .nav-dropdown-toggle[data-nav="actualites"]:hover {
                background: rgba(45, 184, 164, 0.25);
                color: #24A08E;
            }
            .nav-links > li > .nav-link[data-nav="photos"]:hover,
            .nav-links > li > .nav-dropdown-toggle[data-nav="photos"]:hover {
                background: rgba(66, 165, 245, 0.25);
                color: #2B8FE0;
            }
            .nav-links > li > .nav-link[data-nav="partenaires"]:hover,
            .nav-links > li > .nav-dropdown-toggle[data-nav="partenaires"]:hover {
                background: rgba(124, 92, 232, 0.25);
                color: #6A4BD4;
            }
            .nav-links > li > .nav-link[data-nav="apeb"]:hover,
            .nav-links > li > .nav-dropdown-toggle[data-nav="apeb"]:hover {
                background: rgba(168, 85, 247, 0.25);
                color: #9333EA;
            }
            .nav-links > li > .nav-link[data-nav="shop"]:hover,
            .nav-links > li > .nav-dropdown-toggle[data-nav="shop"]:hover {
                background: rgba(236, 72, 153, 0.25);
                color: #D63384;
            }
            .nav-links > li > .nav-link[data-nav="contact"]:hover,
            .nav-links > li > .nav-dropdown-toggle[data-nav="contact"]:hover {
                background: rgba(239, 82, 82, 0.25);
                color: #DC3545;
            }

            .nav-link i {
                display: none;
            }

            .nav-cta {
                margin-top: 0;
                padding: 0.75rem 1.25rem;
                margin-left: 0.5rem;
            }

            .nav-overlay {
                display: none;
            }

            .hero {
                padding: 5rem 3rem 6rem;
            }

            .hero-text {
                max-width: 650px;
            }

            .hero h1 {
                font-size: 3rem;
            }

            .section {
                padding: 5rem 2rem;
            }

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

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

            .footer {
                padding: 4rem 2rem 1.5rem;
            }

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

            .footer-brand {
                margin-bottom: 0;
            }

            .footer-section {
                margin-bottom: 0;
            }
        }

        /* ==================== LARGE DESKTOP (1440px+) ==================== */
        @media (min-width: 1440px) {
            .hero {
                padding: 6rem 4rem 7rem;
            }

            .hero-text {
                max-width: 700px;
            }

            .hero h1 {
                font-size: 3.5rem;
            }
        }

        /* ==================== DROPDOWN NAVIGATION ==================== */
        .nav-dropdown {
            position: relative;
        }

        .nav-dropdown-toggle {
            display: flex;
            align-items: center;
            gap: 0.35rem;
            cursor: pointer;
        }

        .nav-dropdown-toggle i.fa-chevron-down {
            font-size: 0.65rem;
            transition: transform 0.3s ease;
        }

        .nav-dropdown:hover .nav-dropdown-toggle i.fa-chevron-down {
            transform: rotate(180deg);
        }

        .nav-dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            min-width: 220px;
            background: var(--white);
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
            padding: 0.5rem;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1000;
        }

        .nav-dropdown:hover .nav-dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .nav-dropdown-menu .nav-link {
            padding: 0.6rem 1rem;
            font-size: 0.85rem;
            border-radius: 8px;
            white-space: nowrap;
        }

        .nav-dropdown-menu .nav-link:hover {
            background: var(--light-bg);
            color: var(--primary);
        }

        /* Sub-items in dropdown (indented) */
        .nav-dropdown-menu .nav-subitem {
            padding-left: 1.75rem;
            font-size: 0.8rem;
            color: var(--text-light);
            position: relative;
        }

        .nav-dropdown-menu .nav-subitem::before {
            content: '›';
            position: absolute;
            left: 0.75rem;
            color: var(--primary);
            font-weight: bold;
        }

        .nav-dropdown-menu .nav-subitem:hover {
            color: var(--primary);
        }

        /* Sub-sub-items in dropdown (collapsible, deeper indented) */
        .nav-subsubmenu { display: none; overflow: hidden; }
        .nav-subsubmenu.active { display: block; }
        .nav-subitem-toggle { cursor: pointer; }
        .nav-subitem-toggle i.fa-chevron-right { margin-left: 0.5rem; font-size: 0.6rem; transition: transform 0.2s ease; }
        .nav-subitem-toggle.active i.fa-chevron-right { transform: rotate(90deg); }
        .nav-dropdown-menu .nav-subsubitem { padding-left: 2.75rem; font-size: 0.75rem; color: var(--text-light); position: relative; opacity: 0.85; }
        .nav-dropdown-menu .nav-subsubitem::before { content: '–'; position: absolute; left: 1.75rem; color: var(--text-light); font-size: 0.7rem; }
        .nav-dropdown-menu .nav-subsubitem:hover { color: var(--primary); opacity: 1; }

        /* Mobile dropdown styles */
        @media (max-width: 1023px) {
            .nav-dropdown-menu {
                position: static;
                opacity: 1;
                visibility: visible;
                transform: none;
                box-shadow: none;
                padding: 0.5rem 0 0.5rem 0;
                margin-top: 0.5rem;
                margin-left: 1rem;
                background: transparent;
                display: none;
            }

            .nav-dropdown.active .nav-dropdown-menu {
                display: block;
            }

            .nav-dropdown-toggle {
                position: relative;
            }

            .nav-dropdown-toggle i.fa-chevron-down {
                margin-left: auto;
                padding: 0.5rem;
                font-size: 0.7rem;
            }

            .nav-dropdown.active .nav-dropdown-toggle i.fa-chevron-down {
                transform: rotate(180deg);
            }

            .nav-dropdown-menu .nav-link {
                padding: 0.6rem 1rem;
                font-size: 0.9rem;
            }

            /* Mobile sub-items */
            .nav-dropdown-menu .nav-subitem {
                padding-left: 1.5rem;
                font-size: 0.8rem;
                padding-top: 0.4rem;
                padding-bottom: 0.4rem;
            }

            .nav-dropdown-menu .nav-subitem::before {
                left: 0.5rem;
            }

            /* Mobile sub-sub-items */
            .nav-subsubmenu { margin-left: 0.5rem; }
            .nav-dropdown-menu .nav-subsubitem { padding-left: 2.25rem; font-size: 0.75rem; padding-top: 0.35rem; padding-bottom: 0.35rem; }
            .nav-dropdown-menu .nav-subsubitem::before { left: 1.25rem; }
        }

        /* ==================== PRIORITY+ NAVIGATION ==================== */
        .nav-more {
            position: relative;
            display: none;
        }

        .nav-more-btn {
            padding: 0.5rem 0.75rem;
            border-radius: 12px;
            font-weight: 600;
            color: var(--text-dark);
            background: transparent;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9rem;
            font-family: inherit;
            transition: var(--transition);
        }

        .nav-more-btn:hover {
            background: var(--light-bg);
            color: var(--primary);
        }

        .nav-more-btn i {
            font-size: 0.75rem;
            transition: transform 0.3s ease;
        }

        .nav-more.active .nav-more-btn i {
            transform: rotate(180deg);
        }

        .nav-more-dropdown {
            position: absolute;
            top: calc(100% + 0.5rem);
            right: 0;
            min-width: 220px;
            background: var(--white);
            border-radius: 16px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
            padding: 0.5rem;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1000;
        }

        .nav-more.active .nav-more-dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .nav-more-dropdown .nav-link {
            display: flex;
            padding: 0.75rem 1rem;
            border-radius: 10px;
            font-size: 0.9rem;
        }

        .nav-more-dropdown .nav-link i {
            display: inline-block !important;
            width: 20px;
            margin-right: 0.5rem;
            color: var(--primary);
        }

        .nav-more-dropdown .nav-link:hover {
            background: var(--light-bg);
            transform: none;
        }

        /* Hide items that overflow */
        .nav-links li.is-hidden {
            display: none !important;
        }

        /* Show more button when there are hidden items */
        .nav-more.has-hidden-items {
            display: block;
        }

/* ==================== LANGUAGE PILL TOGGLE ==================== */

/* Shared pill base */
.lang-pill {
    display: flex;
    align-items: center;
    background: #F0F2F5;
    border-radius: 50px;
    padding: 3px;
    gap: 0;
    flex-shrink: 0;
}

.lang-pill__item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 14px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    color: #64748B;
    line-height: 1;
}

.lang-pill__item:hover {
    color: var(--primary, #4169E1);
}

.lang-pill__item--active {
    background: #fff;
    color: var(--primary, #4169E1);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.lang-pill__item--active:hover {
    color: var(--primary, #4169E1);
}

/* Desktop pill — next to nav */
.lang-pill--desktop {
    margin-left: 12px;
}

/* Mobile pill — inside nav-header */
.lang-pill--mobile {
    display: none;
    margin-left: auto;
    margin-right: 8px;
}

/* Nav items hidden by Priority+ overflow */
.nav-links li.is-hidden {
    display: none !important;
}

/* Sub-menus inside the "Plus" dropdown */
.more-dropdown-parent {
    position: relative;
}

.more-parent-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
}

.more-chevron {
    font-size: 0.65em;
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.more-sub-open > .more-parent-toggle .more-chevron {
    transform: rotate(90deg);
}

.more-sub-menu {
    display: none;
    padding-left: 12px;
    border-left: 2px solid rgba(65, 105, 225, 0.2);
    margin: 4px 0 4px 8px;
}

.more-sub-open > .more-sub-menu {
    display: block;
}

.more-sub-menu a {
    display: block;
    padding: 6px 12px;
    color: var(--text-medium);
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.more-sub-menu a:hover {
    background: var(--primary-ultra-light);
    color: var(--primary);
}

@media (max-width: 900px) {
    .lang-pill--desktop {
        display: none;
    }
    .lang-pill--mobile {
        display: flex;
    }
}

/* ==================== SHOP CART BUTTON (header) ==================== */

.shop-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary, #4169E1);
    color: white;
    border-radius: 50%;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.shop-cart-btn:hover {
    background: var(--primary-dark, #2D4BA8);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(65, 105, 225, 0.35);
    color: white;
}
.shop-cart-btn--desktop {
    margin-left: 8px;
}
.shop-cart-btn--mobile {
    display: none;
    margin-left: auto;
    margin-right: 8px;
}

@media (max-width: 900px) {
    .shop-cart-btn--desktop {
        display: none;
    }
    .shop-cart-btn--mobile {
        display: inline-flex;
    }
}

/* ==================== PHASE 2: ACCESSIBILITY AND WP INTEGRATION ==================== */

/* ==================== ACCESSIBILITY: SKIP LINK ==================== */
/* Skip-to-content link (NAV-08) */
.skip-link.screen-reader-text {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link.screen-reader-text:focus {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: 0.5rem;
    width: auto;
    height: auto;
    overflow: visible;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    z-index: 9999;
    font-weight: 700;
}

/* ==================== WORDPRESS ADMIN BAR OFFSET ==================== */
/* WP adds margin-top:32px on <html> for admin bar — reset it since our header is fixed */
html.wp-toolbar {
    padding-top: 0 !important;
}
body.admin-bar .header {
    top: 32px;
}
@media screen and (max-width: 782px) {
    html.wp-toolbar {
        padding-top: 0 !important;
    }
    body.admin-bar .header {
        top: 0;
    }
    body.admin-bar .nav-menu {
        padding-top: calc(max(1rem, env(safe-area-inset-top)));
    }
}

/* ==================== ACTIVE PAGE STYLING ==================== */
/* WordPress current-menu-item class — CSS fallback for NAV-06 */
.nav-links li.current-menu-item > .nav-link,
.nav-links li.current-menu-ancestor > .nav-dropdown-toggle {
    background: var(--light-bg);
    color: var(--primary);
    font-weight: 700;
}

/* ==================== PAGE HEADER ==================== */
.page-header {
    margin-top: 72px;
    padding: 4rem 1rem 3.5rem;
    background: var(--gradient-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(65, 105, 225, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

/* Decorative quotes around title */
.page-title-quotes {
    display: inline-block;
}

.page-title-quotes::before {
    content: '❝';
    position: absolute;
    top: -0.4em;
    left: -0.6em;
    font-size: 1.3em;
    color: rgba(255, 140, 66, 0.45);
    line-height: 1;
}

.page-title-quotes::after {
    content: '❞';
    position: absolute;
    bottom: -0.5em;
    right: -0.6em;
    font-size: 1.3em;
    color: rgba(255, 140, 66, 0.45);
    line-height: 1;
}

.page-description {
    color: var(--text-medium);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

/* Page Header Color Variants */

/* École Hero - Solid orange with paper texture */
.page-header[data-color="ecole"] {
    background: #FF8C42;
    position: relative;
}

/* Paper texture overlay */
.page-header[data-color="ecole"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

/* Title frame container - hidden until rough.js draws */
.page-title-frame {
    position: relative;
    display: inline-block;
    background: transparent;
    padding: 1.5rem 2.5rem;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-title-frame.ready {
    opacity: 1;
}

/* Rough.js SVG frame overlay */
.rough-frame-svg {
    position: absolute;
    top: -10px;
    left: -10px;
    pointer-events: none;
    overflow: visible;
}

/* Description/subtitle text on école hero */
.page-header[data-color="ecole"] .page-description,
.page-header[data-color="ecole"] .page-subtitle {
    color: var(--dark);
    text-shadow: none;
    z-index: 2;
    margin-top: 1.5rem;
}

/* Page intro text between header and content */
.page-intro {
    text-align: center;
    padding: 2rem 1rem;
}

.page-intro-text {
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
}

.page-header[data-color="infos"] {
    background: #F5C33B;
    position: relative;
}

.page-header[data-color="agenda"] {
    background: #4BBF6B;
    position: relative;
}

.page-header[data-color="actualites"] {
    background: #2DB8A4;
    position: relative;
}

.page-header[data-color="photos"] {
    background: #42A5F5;
    position: relative;
}

.page-header[data-color="partenaires"] {
    background: #7C5CE8;
    position: relative;
}

.page-header[data-color="apeb"] {
    background: #A855F7;
    position: relative;
}

.page-header[data-color="shop"] {
    background: #EC4899;
    position: relative;
}

.page-header[data-color="contact"] {
    background: #EF5252;
    position: relative;
}

.page-header[data-color="accueil"] {
    background: var(--primary, #4169E1);
    position: relative;
}

/* Page header responsive */
@media (min-width: 768px) {
    .page-title { font-size: 3rem; }
}

@media (min-width: 1024px) {
    .page-header { padding: 5rem 2rem 4rem; }
}


/* ==================== PRIVACY POLICY ==================== */
.privacy-policy {
    color: #1E293B;
    line-height: 1.7;
}

.privacy-intro {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 3rem;
}

.privacy-intro p:last-child {
    margin-bottom: 0;
}

.privacy-section {
    margin-bottom: 2.75rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #E2E8F0;
}

.privacy-section:last-of-type {
    border-bottom: none;
}

.privacy-section h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-dark, #2D4BA8);
    margin: 0 0 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-ultra-light, #E8EEFF);
    display: inline-block;
}

.privacy-content {
    font-size: 1rem;
    color: #334155;
}

.privacy-content p {
    margin: 0 0 1rem;
}

.privacy-content strong {
    color: #1E293B;
    font-weight: 600;
}

.privacy-content ul,
.privacy-content ol {
    margin: 0.75rem 0 1.25rem 1.5rem;
    padding-left: 0.75rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
}

.privacy-content a {
    color: var(--primary, #4169E1);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.privacy-content a:hover {
    color: var(--primary-dark, #2D4BA8);
}

/* DPO contact card */
.privacy-dpo {
    list-style: none;
    margin: 0;
    padding: 1.25rem 1.5rem;
    background: var(--primary-ultra-light, #E8EEFF);
    border-radius: 12px;
    display: grid;
    gap: 0.6rem;
}

.privacy-dpo li {
    margin: 0;
    color: #1E293B;
}

.privacy-dpo strong {
    color: var(--primary-dark, #2D4BA8);
    font-weight: 600;
    margin-right: 0.4rem;
}

.privacy-dpo a {
    color: var(--primary, #4169E1);
    text-decoration: none;
    font-weight: 500;
}

.privacy-dpo a:hover {
    text-decoration: underline;
}

/* Last updated footer */
.privacy-updated {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E2E8F0;
    text-align: center;
    color: #94A3B8;
    font-size: 0.95rem;
}

@media (max-width: 640px) {
    .privacy-intro {
        padding: 1.25rem;
        font-size: 1rem;
    }
    .privacy-section h2 {
        font-size: 1.35rem;
    }
    .privacy-dpo {
        padding: 1rem 1.25rem;
    }
}
