:root {
    --primary: #000080;
    --sidebar-bg: #ffffff;
    --main-bg: #f0f4f8;
    --text-main: #1a202c;
    --text-muted: #718096;
    --border: #e2e8f0;
    --sidebar-width: 250px;
    --sidebar-collapsed-width: 70px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --clr-blue: #3b82f6;
    --clr-green: #10b981;
    --clr-orange: #f59e0b;
    --clr-purple: #8b5cf6;
    --clr-red: #ef4444;
    --clr-cyan: #06b6d4;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: var(--main-bg); color: var(--text-main); transition: var(--transition); }

.app-layout { display: flex; min-height: 100vh; }

/* Sidebar Limpa */
.sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 20px 15px;
    position: fixed;
    height: 100vh;
    z-index: 1000;
    transition: width var(--transition);
}

body.sidebar-collapsed .sidebar { width: var(--sidebar-collapsed-width); }
body.sidebar-collapsed .nav-text { display: none; }

.sidebar-header { 
    display: flex; 
    justify-content: center; 
    margin-bottom: 30px; 
    padding-bottom: 15px; 
    border-bottom: 1px solid #f1f5f9; 
}

.toggle-sidebar {
    background: #f8fafc; border: 1px solid var(--border); color: var(--primary); cursor: pointer;
    width: 40px; height: 40px; border-radius: 8px; transition: 0.2s;
}

.sidebar-nav { display: flex; flex-direction: column; gap: 10px; }
.nav-item {
    display: flex; align-items: center; gap: 15px; padding: 12px;
    text-decoration: none; color: var(--text-muted); font-weight: 600; border-radius: 10px; transition: 0.2s;
}
.nav-item i { font-size: 1.1rem; width: 24px; text-align: center; }
.nav-item.active { background: #eef2ff; color: var(--primary); }

/* Assinatura JLSOFT: Garantido no Canto Inferior DIREITO */
.brand-signature {
    position: fixed;
    bottom: 25px;
    right: 25px; /* Define o lado direito */
    left: auto;  /* Garante que não puxe para a esquerda */
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Alinha o texto à direita da imagem */
    gap: 4px;
    pointer-events: none;
}




/* Assinatura JLSOFT no Canto Inferior Direito */
/* ... (mantenha o restante do código anterior) ... */

/* Assinatura JLSOFT no Canto Inferior Direito */
.brand-signature {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1100;
    pointer-events: none;
}

.brand-img {
    max-width: 150px; /* Tamanho mantido grande e colorido */
    opacity: 1;
    filter: none;
    transition: 0.3s ease-in-out;
}

/* Removido o estilo do slogan para limpar o CSS */

/* Removido o estilo do slogan para limpar o CSS */

.brand-slogan {
    font-size: 0.75rem; /* Fonte um pouco maior para acompanhar o logo */
    font-weight: 700;
    color: var(--primary); /* Slogan agora usa o azul marinho da marca */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Área de Conteúdo */
.content-area { 
    margin-left: var(--sidebar-width); 
    flex: 1; 
    padding: 30px 40px; 
    transition: margin var(--transition);
}
body.sidebar-collapsed .content-area { margin-left: var(--sidebar-collapsed-width); }

.content-header {
    background: linear-gradient(135deg, #000080 0%, #1e40af 100%);
    padding: 35px 45px; border-radius: 16px; margin-bottom: 30px; color: white;
    box-shadow: 0 10px 20px rgba(0,0,128,0.08);
}

.content-header h1 { font-size: 2rem; font-weight: 800; margin-bottom: 5px; }
.client-tag { display: flex; align-items: center; gap: 8px; font-size: 1rem; opacity: 0.85; }

/* Cards Grid */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, 240px); gap: 15px; }
.nav-card {
    text-decoration: none; background: #ffffff; padding: 12px 15px; border-radius: 12px;
    border: 1px solid var(--border); display: flex; align-items: center;
    transition: all 0.25s ease; height: 70px; width: 240px;
}

.icon-wrapper { 
    width: 38px; height: 38px; border-radius: 10px; display: flex; 
    align-items: center; justify-content: center; font-size: 1.1rem; margin-right: 12px; flex-shrink: 0; 
}

.nav-card h3 { font-size: 0.85rem; font-weight: 700; color: #2d3748; flex: 1; }
.launch-icon { font-size: 0.75rem; color: #cbd5e1; opacity: 0.6; }

/* Cores dos Cards Reativadas */
.card-blue .icon-wrapper { background: #eff6ff; color: var(--clr-blue); }
.card-green .icon-wrapper { background: #ecfdf5; color: var(--clr-green); }
.card-orange .icon-wrapper { background: #fffbeb; color: var(--clr-orange); }
.card-purple .icon-wrapper { background: #f5f3ff; color: var(--clr-purple); }
.card-red .icon-wrapper { background: #fef2f2; color: var(--clr-red); }
.card-cyan .icon-wrapper { background: #ecfeff; color: var(--clr-cyan); }

.nav-card:hover { transform: translateY(-3px); box-shadow: 0 5px 12px rgba(0,0,0,0.05); border-color: var(--primary); }