:root {
    --bg-color: #1a1a24;
    --card-bg: #252533;
    --primary: #9d34ff;
    --text-main: #ffffff;
    --text-muted: #a0a0b8;
    --danger: #ff4d4d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul {
    list-style: none;
}

body {
    display: flex;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: white;
    background-color: black;
}

/* --- Utilitários --- */
.green { color: #34d399; }
.orange { color: #F5A623; }
.gray { color: #c5c4c4; }
.display-none { display: none !important; }

/* --- Header / Sidebar --- */
header {
    min-height: 100vh;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    max-width: 400px;
    background-color: rgb(31, 29, 43);
    padding: 2rem;
    border-right: 3px solid rgb(255 255 255 / 0.1);
    box-shadow: 8px 0 16px rgb(0 0 0 / 0.1);
}

.nav-bar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.77rem;
    padding: 0 3rem 2rem;
    border-bottom: 2px solid rgb(255 255 255 / 0.05);
    width: calc(100% + 4rem);
    margin-left: -2rem;
}

.logo-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
}

.svg-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(166, 144, 16);
    background-color: rgb(22, 19, 32);
    padding: 1rem;
    position: relative;
    border-radius: 8px;
    border: 1px solid rgba(134, 98, 255, 0.2);
    box-shadow: 0 0 1px rgba(238, 255, 5, 0.4), inset 0 0 2px rgba(238, 255, 5, 0.2);
}

.svg-logo svg {
    position: absolute;
    width: 24px;
    height: 24px;
}

.text-logo {
    font-size: 25px;
    font-weight: 700;
}

/* Botão Hamburger (Mobile) */
.abrir-header {
    display: none; 
    cursor: pointer;
    transition: color 0.3s ease;
}

.abrir-header:hover {
    color: #34D399;
}

.linha {
    transition: transform 0.3s ease, opacity 0.2s ease;
    transform-origin: 50% 50%;
}

.abrir-header.ativo .linha1 { transform: translateY(4.5px) rotate(45deg); }
.abrir-header.ativo .linha2 { opacity: 0; }
.abrir-header.ativo .linha3 { transform: translateY(-4.5px) rotate(-45deg); }

/* --- Navegação --- */
.nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-item {
    width: 100%;
    padding: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    font-size: 20px;
    color: #9CA3AF;
    transition: background-color 0.1s ease, color 0.1s ease;
    border-radius: 16px;
    cursor: pointer;
}

.nav-item > *, .nav-item svg, .nav-item svg * {
    transition: stroke 0.25s ease, fill 0.25s ease, color 0.25s ease;
}

.nav-item.ativo {
    color: #34D399;
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-item:not(.ativo):hover, .nav-item:not(.ativo):hover * {
    color: white;
}

.nav-item svg {
    width: 32px;
    height: 32px;
}

/* --- Perfil --- */
.perfil {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.perfil:hover {
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.imagem-usuario {
    width: 100%;
    max-width: 70px;
}

.imagem-usuario img {
    width: 100%;
}

.info-usuario {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.info-usuario h4 { font-size: 18px; }
.info-usuario p { font-size: 16px; color: #c5c4c4; }

/* --- Conteúdo Principal --- */
.site-content {
    width: 100%;
    background-color: #161320;
}

.content-header {
    padding: 2.1rem 4rem;
    background-color: rgb(31 29 43 / 0.5);
    border-bottom: 2px solid rgb(255 255 255 / 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sistema {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.6rem;
    color: #34d399;
    border-radius: 100px;
    padding: 10px 15px;
    border: 1px solid rgb(52 211 153 / 0.3);
    background-color: rgb(52 211 153 / 0.1);
}

.sistema svg {
    width: 12px;
    height: 12px;
    fill: #34d399;
}

/* --- Container e Títulos Internos --- */
.container-1700 {
    margin: 0 auto;
    width: 100%;
    max-width: 1700px;
    padding: 2rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sub-header {
    padding: 0 0 2rem 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid rgb(255 255 255 / 0.1);
}

.sub-header-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sub-header-text h2 { font-size: 48px; }
.sub-header-text p { font-size: 20px; }

#close-btn {
    width: 32px;
    height: 32px;
    color: #c5c4c4;
    transition: color 0.1s ease;
    cursor: pointer;
}

#close-btn:hover {
    color: white;
}