@import url("mainvariables.css");

        @media (prefers-color-scheme: dark) {
            :root { --text: #f0f0f0; --bg-light: #1a1a1a; }
            body { background: #121212; color: var(--text); }
        }

        body {
            margin: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--text);
            background: white;
            overflow-x: hidden;
        }

        /* --- HEADER & LOGO --- */
        header {
            background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../../lsg2.jpeg') center/cover no-repeat;
            color: white;
            text-align: center;
            padding: 180px 20px 100px;
            position: relative;
        }

        .logo {
            position: absolute;
            top: 20px;
            left: 20px;
            z-index: 110;
        }

        .logo img {
            background-color: var(--primary);
            border-radius: 50%;
            width: 100px;
            height: 100px;
            object-fit: contain;
            padding: 5px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
            border: 2px solid white;
        }

        h1 { font-size: 2.8rem; margin-bottom: 20px; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
        .subtitle { font-size: 1.4rem; max-width: 800px; margin: 0 auto; }

        /* --- NAVIGATION --- */
        nav {
            background: var(--primary);
            padding: 10px 0;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
            min-height: 60px;
            display: flex;
            align-items: center;
        }

        .nav-list {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            gap: 25px;
            width: 100%;
        }

        nav a {
            color: white;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            transition: color 0.3s;
        }

        nav a:hover { color: var(--accent); }

        /* --- MENU MOBILE --- */
        .menu-toggle {
            display: none; /* Caché sur PC */
            align-items: center;
            gap: 12px;
            cursor: pointer;
            padding: 5px 10px;
            margin-left: auto;
            color: white;
            user-select: none;
        }

        .hamburger-bars { display: flex; flex-direction: column; gap: 5px; }
        .bar { width: 25px; height: 3px; background-color: white; border-radius: 3px; transition: 0.3s; }

        @media (max-width: 768px) {
            .menu-toggle { display: flex; }
            
            .nav-list {
                display: none; /* Fermé par défaut */
                flex-direction: column;
                position: absolute;
                top: 60px;
                left: 0;
                background: var(--primary);
                width: 100%;
                padding: 2px 0;
                text-align: center;
                box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            }

            .nav-list.active { display: flex; }
            .nav-list li { margin: 2px 0; }

            /* Animation Croix */
            .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
            .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
            .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

            h1 { font-size: 1.8rem; }
            .logo img { width: 70px; height: 70px; }
        }

        /* --- CONTENU --- */
        main { max-width: 1200px; margin: 40px auto; padding: 0 20px; }
        h2 { text-align: center; color: var(--primary); font-size: 2.2rem; margin-bottom: 40px; }

        .benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
        .card {
            background: var(--primary);
            border-radius: 12px;
            padding: 30px;
            text-align: center;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
            border-top: 5px solid gray;
            transition: transform 0.3s;
        }
        .card:hover { transform: translateY(-10px); }

        .cta {
            text-align: center;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            padding: 60px 20px;
            border-radius: 12px;
            margin: 60px 0;
        }

        .btn {
            display: inline-block;
            background: white;
            color: var(--primary);
            padding: 15px 40px;
            font-size: 1.1rem;
            font-weight: bold;
            border-radius: 50px;
            text-decoration: none;
            transition: 0.3s;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        .btn:hover {
            background: color-mix(in oklch, var(--primary), white 90%);
            transform: scale(1.05);
        }

        .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; }
        .gallery img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; }

        footer { background: var(--primary); color: white; text-align: center; padding: 40px 20px; margin-top: 60px; }
        footer a { color: var(--accent); text-decoration: none; }
