:root {
            --primary: #d0106e;
            --primary-dark: #9c0a53;
            --error-red: #ff3333;
            --success-green: #00c853;
            --warning-yellow: #ffc107;
            --text: #000000;
            --bg: #ffffff;
            --neon-glow: 0 0 10px rgba(208, 16, 110, 0.7), 0 0 20px rgba(208, 16, 110, 0.4);
            --soft-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
        }

        body {
            background-color: var(--bg);
            color: var(--text);
            overflow-x: hidden;
            line-height: 1.6;
        }

        /* Barre de progression fixe en haut */
        .progress-bar-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 6px;
            background: rgba(0, 0, 0, 0.1);
            z-index: 1000;
            display: none;
        }

        .progress-bar {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, var(--success-green), #00e676);
            transition: width 0.5s cubic-bezier(0.65, 0, 0.35, 1);
            position: relative;
            overflow: hidden;
        }

        .progress-bar::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, 
                            rgba(255,255,255,0.2) 0%, 
                            rgba(255,255,255,0.5) 50%, 
                            rgba(255,255,255,0.2) 100%);
            animation: shine 2s infinite;
        }

        /* Section Hero */
        .hero {
            position: relative;
            background: 
                radial-gradient(ellipse at 20% 20%, rgba(208, 16, 110, 0.15) 0%, transparent 40%),
                radial-gradient(ellipse at 80% 80%, rgba(208, 16, 110, 0.1) 0%, transparent 45%),
                linear-gradient(135deg, #000000 0%, #1a0010 100%);
            color: white;
            padding: 8rem 0 10rem;
            text-align: center;
            overflow: hidden;
            min-height: 100vh;
            display: flex;
            align-items: center;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: 
                radial-gradient(circle at 30% 30%, rgba(208, 16, 110, 0.15) 0%, transparent 20%),
                radial-gradient(circle at 70% 70%, rgba(208, 16, 110, 0.1) 0%, transparent 25%);
            animation: pulse 15s infinite alternate;
            z-index: 0;
        }

        @keyframes pulse {
            0% { transform: scale(0.9); opacity: 0.5; }
            100% { transform: scale(1.1); opacity: 0.8; }
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        h1 {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 2rem;
            background: linear-gradient(90deg, #ffffff, #ffcce0);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s 0.3s cubic-bezier(0.33, 1, 0.68, 1) forwards;
        }

        .subtitle {
            font-size: clamp(1rem, 2vw, 1.25rem);
            line-height: 1.6;
            max-width: 800px;
            margin: 0 auto 3rem;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s 0.6s cubic-bezier(0.33, 1, 0.68, 1) forwards;
        }

        .subtitle ul {
            text-align: left;
            display: inline-block;
            margin: 1.5rem 0;
            list-style-type: none;
        }

        .subtitle li {
            position: relative;
            padding-left: 1.8rem;
            margin-bottom: 0.8rem;
        }

        .subtitle li::before {
            content: '✗';
            position: absolute;
            left: 0;
            color: var(--error-red);
            font-weight: bold;
            font-size: 1.2em;
        }

        .highlight {
            font-weight: 700;
            color: var(--error-red);
            display: inline-block;
            margin-top: 1.5rem;
            font-size: 1.1em;
            text-shadow: 0 0 8px rgba(255, 51, 51, 0.4);
        }

        .btn {
            display: inline-block;
            background: var(--primary);
            color: white;
            padding: 1rem 2.5rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            font-size: 1.1rem;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: none;
            cursor: pointer;
            box-shadow: var(--neon-glow);
            position: relative;
            overflow: hidden;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s 0.9s cubic-bezier(0.33, 1, 0.68, 1) forwards;
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 0 20px rgba(208, 16, 110, 0.6), 0 5px 30px rgba(208, 16, 110, 0.4);
            background: var(--primary-dark);
        }

        .btn::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                          rgba(255,255,255,0.2) 0%, 
                          rgba(255,255,255,0) 50%, 
                          rgba(255,255,255,0.2) 100%);
            transform: translateX(-100%);
        }

        .btn:hover::after {
            animation: shine 1.5s infinite;
        }

        /* Section Quiz - initialement cachée */
        .quiz-section {
            position: relative;
            background: 
                radial-gradient(ellipse at 20% 80%, rgba(208, 16, 110, 0.15) 0%, transparent 40%),
                radial-gradient(ellipse at 80% 20%, rgba(208, 16, 110, 0.1) 0%, transparent 45%),
                linear-gradient(135deg, #000000 0%, #1a0010 100%);
            color: white;
            padding: 6rem 0 2rem; /* Espace réduit en bas */
            overflow: hidden;
            display: none; /* Cachée par défaut */
        }

        .container {
            max-width: 900px;
            margin: 0 auto;
            padding: 0 2rem;
            position: relative;
            z-index: 2;
        }

        .section-title {
            text-align: center;
            font-size: clamp(1.8rem, 4vw, 2.5rem);
            margin-bottom: 3rem;
            background: linear-gradient(90deg, #ffffff, #ffd6e7);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            opacity: 0;
            animation: fadeInUp 1s 0.2s cubic-bezier(0.33, 1, 0.68, 1) forwards;
        }

        .quiz-card {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 2.5rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transform-style: preserve-3d;
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s 0.4s cubic-bezier(0.33, 1, 0.68, 1) forwards;
            margin-bottom: 2rem; /* Espace réduit */
        }

        .quiz-card:hover {
            transform: translateY(-5px) rotateX(1deg) rotateY(1deg);
            box-shadow: 0 15px 40px rgba(208, 16, 110, 0.3);
        }

        .question {
            margin-bottom: 2.5rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            opacity: 0;
            transform: translateY(20px);
        }

        .question.active {
            animation: fadeInUp 0.6s forwards;
        }

        .question h3 {
            font-size: 1.3rem;
            margin-bottom: 1.5rem;
            font-weight: 600;
            color: white;
            display: flex;
            align-items: center;
        }

        .question h3::before {
            content: '';
            display: inline-block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--primary);
            margin-right: 12px;
            box-shadow: var(--neon-glow);
        }

        .options {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
        }

        .option {
            display: flex;
            align-items: center;
            padding: 1.2rem 1.5rem;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            border: 1px solid rgba(255, 255, 255, 0.05);
            position: relative;
            overflow: hidden;
        }

        .option:hover {
            transform: translateY(-3px);
            background: rgba(255, 255, 255, 0.15);
            border-color: rgba(208, 16, 110, 0.3);
        }

        .option.selected {
            background: rgba(208, 16, 110, 0.2);
            border-color: var(--primary);
            box-shadow: inset 0 0 0 2px var(--primary);
        }

        .option input {
            appearance: none;
            width: 20px;
            height: 20px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            margin-right: 15px;
            transition: all 0.2s ease;
        }

        .option input:checked {
            border-color: var(--primary);
            background-color: var(--primary);
            box-shadow: inset 0 0 0 3px white, var(--neon-glow);
        }

        .submit-btn {
            display: block;
            background: var(--primary);
            color: white;
            padding: 1.2rem 3rem;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1.1rem;
            margin: 3rem auto 0;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: none;
            cursor: pointer;
            box-shadow: var(--neon-glow);
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 1s 0.8s cubic-bezier(0.33, 1, 0.68, 1) forwards;
        }

        .submit-btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 35px rgba(208, 16, 110, 0.6);
            background: var(--primary-dark);
        }

        .result-container {
            display: none;
            text-align: center;
            padding: 3rem;
            border-radius: 20px;
            margin-top: 2rem;
            background: rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(10px);
            animation: fadeIn 0.8s cubic-bezier(0.33, 1, 0.68, 1);
        }

        .score-display {
            font-size: 4rem;
            font-weight: 800;
            margin: 1rem 0;
            background: linear-gradient(135deg, var(--primary), #ff6b9e);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .progress-container {
            width: 100%;
            height: 10px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 5px;
            margin: 2rem 0;
            overflow: hidden;
        }

        .progress-bar-quiz {
            height: 100%;
            background: linear-gradient(90deg, var(--primary), #ff6b9e);
            width: 0%;
            transition: width 1.5s cubic-bezier(0.65, 0, 0.35, 1);
            position: relative;
        }

        .progress-bar-quiz::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, 
                            rgba(255,255,255,0.1) 0%, 
                            rgba(255,255,255,0.3) 50%, 
                            rgba(255,255,255,0.1) 100%);
            animation: shine 2s infinite;
        }

        .bad { color: #ff5252; }
        .medium { color: #ffc107; }
        .good { color: #4caf50; }

        @keyframes fadeInUp {
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: scale(0.95); }
            to { opacity: 1; transform: scale(1); }
        }

        @keyframes shine {
            100% { transform: translateX(100%); }
        }

        @media (max-width: 768px) {
            .hero {
                padding: 6rem 0 8rem;
                min-height: 90vh;
            }
            
            .quiz-section {
                padding: 4rem 0 2rem;
            }
            
            .quiz-card {
                padding: 1.5rem;
            }
            
            .options {
                grid-template-columns: 1fr;
            }
            
            .section-title {
                margin-bottom: 2rem;
            }
            
            .submit-btn {
                padding: 1rem 2.5rem;
                width: 100%;
            }
        }
        .highlight-red {
            color: #ff2e63; /* Rouge vif */
            font-weight: 700;
            position: relative;
        }

        .highlight-red::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -2px;
            width: 100%;
            height: 2px;
            background-color: #ff2e63;
        }
        .cta-btn-final {
            display: none; /* caché par défaut */
            margin-top: 2.5rem;
            padding: 1.2rem 2.5rem;
            background: linear-gradient(90deg, var(--primary), #ff6b9e);
            color: white;
            font-size: 1.15rem;
            font-weight: 700;
            border-radius: 50px;
            text-decoration: none;
            box-shadow: 0 0 18px rgba(208, 16, 110, 0.4);
            transition: all 0.3s ease-in-out;
            position: relative;
            overflow: hidden;
        }

        .cta-btn-final:hover {
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 0 25px rgba(208, 16, 110, 0.6), 0 8px 30px rgba(208, 16, 110, 0.3);
            background: linear-gradient(90deg, var(--primary-dark), #ff2e63);
        }