/* ===============================
   PC HEADER - DESIGN OPTIMISÉ POUR DESKTOP
   =============================== */

/* Header PC - Masqué sur mobile */
@media (max-width: 1023px) {
    .pc-header {
        display: none !important;
    }
}

/* Header PC - Visible uniquement sur desktop */
@media (min-width: 1024px) {
    .pc-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        background: rgba(102, 126, 234, 0.9) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-bottom: 1px solid rgba(102, 126, 234, 0.1) !important;
        box-shadow: 0 2px 20px rgba(102, 126, 234, 0.08) !important;
        height: 70px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
    }
    
    .pc-header-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 100%;
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 24px;
    }
    
    /* Logo PC */
    .pc-logo {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-shrink: 0;
    }
    
    .pc-logo-icon {
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, #667eea, #764ba2);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }
    
    .pc-logo-icon svg {
        width: 20px;
        height: 20px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2.5;
    }
    
    .pc-logo-text h1 {
        font-size: 1.5rem;
        font-weight: 700;
        color: #2d3748;
        margin: 0;
        line-height: 1.2;
    }
    
    .pc-logo-subtitle {
        font-size: 0.75rem;
        color: #718096;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    /* Navigation PC */
    .pc-nav {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1;
        justify-content: center;
        margin: 0 40px;
    }
    
    .pc-nav-item {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 12px 20px;
        border: none;
        background: transparent;
        border-radius: 12px;
        color: #718096;
        font-size: 0.9rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        position: relative;
        white-space: nowrap;
    }
    
    .pc-nav-item:hover {
        background: rgba(102, 126, 234, 0.08);
        color: #667eea;
        transform: translateY(-1px);
    }
    
    .pc-nav-item.active {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }
    
    .pc-nav-item.active:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
    }
    
    .pc-nav-item svg {
        width: 18px;
        height: 18px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
        flex-shrink: 0;
    }
    
    .pc-nav-item span {
        font-weight: 500;
    }
    
    /* Actions header PC */
    .pc-header-actions {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-shrink: 0;
    }
    
    .pc-settings-btn {
        width: 44px;
        height: 44px;
        border: none;
        background: rgba(102, 126, 234, 0.1);
        border-radius: 12px;
        color: #667eea;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
    }
    
    .pc-settings-btn:hover {
        background: rgba(102, 126, 234, 0.15);
        color: #5a67d8;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    }
    
    .pc-settings-btn svg {
        width: 20px;
        height: 20px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
    }
    
    /* Ajustement du contenu pour le header PC */
    .content {
        padding-top: calc(70px + 24px);
        padding-bottom: 24px;
    }
    
    /* Animation d'entrée */
    .pc-header {
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            transform: translateY(-100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    /* Responsive pour très grands écrans */
    @media (min-width: 1600px) {
        .pc-header-content {
            padding: 0 40px;
        }
        
        .pc-nav {
            margin: 0 60px;
        }
        
        .pc-nav-item {
            padding: 14px 24px;
            font-size: 1rem;
        }
    }
    
    /* Responsive pour écrans moyens */
    @media (min-width: 1024px) and (max-width: 1200px) {
        .pc-header-content {
            padding: 0 20px;
        }
        
        .pc-nav {
            margin: 0 20px;
        }
        
        .pc-nav-item {
            padding: 10px 16px;
            font-size: 0.85rem;
        }
        
        .pc-nav-item span {
            display: none;
        }
        
        .pc-nav-item svg {
            width: 20px;
            height: 20px;
        }
    }
}
