.header {
            background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
            padding: 1rem;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: fixed;
            width: 100%;
            top: 0;
            left: 0;
            z-index: 1000;
            transition: all 0.3s ease;
        }

        /* Ajout d'un padding-top au body pour compenser le header fixe */
        body {
            margin: 0;
            padding-top: 80px;
            font-family: sans-serif;
        }

        /* Effet de réduction du header au scroll */
        .header.scrolled {
            padding: 0.5rem;
            background: rgba(102, 126, 234, 0.95);
            backdrop-filter: blur(5px);
        }

        .header.scrolled .logo-placeholder {
            transform: scale(0.9);
        }
        
        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .logo-placeholder {
            width: 120px;
            height: 40px;
            background: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.2em;
            color: #764ba2;
            border-radius: 8px;
            transition: transform 0.3s;
        }

        .logo-placeholder:hover {
            transform: translateY(-2px);
        }

        .header-links {
            display: flex;
            gap: 2rem;
        }

        .header-links a {
            color: #fff;
            text-decoration: none;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            transition: all 0.3s;
        }

        .logout-btn {
            color: #fff;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 0.5rem 1rem;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .logout-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }

        .social-icons {
            display: flex;
            gap: 1rem;
        }

        .icon-social {
            width: 32px;
            height: 32px;
            transition: all 0.3s;
        }

        .icon-social:hover {
            transform: scale(1.1) rotate(-5deg);
            filter: brightness(1.2);
        }

        .burger-menu {
            display: none;
            flex-direction: column;
            gap: 6px;
            cursor: pointer;
            padding: 12px;
            z-index: 1001;
            transition: all 0.3s ease;
        }

        .burger-line {
            width: 24px;
            height: 2px;
            background: #fff;
            transition: 0.3s ease;
        }

        @media (max-width: 768px) {
    .burger-menu {
        display: flex;
        margin-right: 20px;
    }

    .header-links {
        display: none !important;
    }

    .header-links.active {
        display: flex !important;
    }

    .header-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #764ba2;
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        z-index: 100;
    }

    .header-links.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }

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

    .header-links a,
    .logout-btn {
        padding: 0.8rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        text-align: left;
    }

    .social-icons {
        display: none;
    }

    .header-container {
        justify-content: space-between;
    }
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}
.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}