: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;
}

/* --- Cores Utilitárias --- */
.green { color: #34d399; }
.blue { color: #4a90e2; }
.purple { color: #9013FE; }
.orange { color: #F5A623; }
.red { color: rgb(239, 68, 68); }
.almost-red { color: rgb(249, 115, 22); }
.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: 0rem 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;
}

.abrir-header {
    display: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.abrir-header:hover {
    color: #34D399;
}

/* Animação Hamburger */
.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;
}

.nav-item > *, .nav-item svg, .nav-item svg * {
    transition: stroke 0.25s ease, fill 0.25s ease, color 0.25s ease;
}

.nav-item.green-hover.ativo {
    color: #34D399;
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-item:hover {
    cursor: pointer;
    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);
}

.perfil:hover {
    cursor: pointer;
    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; }

/* --- Main Content --- */
.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 Sub-Header --- */
.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;
}

#close-btn:hover {
    color: white;
    cursor: pointer;
}

.gap-32 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 32px;
}

.gap-48 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 48px;
}

.periodos-navegacao {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 24px;
    background-color: rgb(31, 29, 43);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.space-btw {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.periodos {
    width: fit-content;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
}

.periodos li {
    white-space: nowrap;
    padding: 12px 20px;
    font-size: 18px;
    color: rgb(156, 163, 175);
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.periodo.ativo {
    background-color: rgb(52, 211, 153);
    color: rgb(31, 29, 43);
}

.comparar-btn {
    font-size: 18px;
    background-color: rgb(74, 144, 226);
    padding: 12px 20px;
    color: white;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.comparar-btn:hover {
    background-color: rgb(21, 129, 252);
}

.lista-insights {
    width: 100%;
}

.insight {
    width: 100%;
    padding: 32px;
    background-color: rgb(31, 29, 43);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

.insight h2 {
    font-size: 26px;
    font-weight: 700;
}

.gap-24 {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 24px;
}

.periodo, .periodoTextContainer {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    border-radius: 8px;
}

.gap-16 {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 16px;
}

.especificidades {
    list-style: none;
    width: 100%;
}

.especificidades li {
    width: 100%;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.especificidades li h3 {
    color: rgba(209, 213, 219, 0.74);
    font-weight: 700;
}

.especificidades li p {
    font-size: 18px;
}

.barra {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 18px;
    border-radius: 8px;
    background-color: rgb(55, 65, 81);
}

.barra-porcentagem {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
    max-width: 220px;
    font-weight: 700;
}

.barra-preenchida {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
}

.barra-porcentagem p {
    font-size: 18px;
    font-weight: 700;
}

#excelende-bar-preenchida, #alegria-bar-preenchida {
    background-color: #34D399;
}

#boa-bar-preenchida {
    background-color: rgb(245, 158, 11);
}

#ruim-bar-preenchida, #raiva-bar-preenchida {
    background-color: rgb(249, 115, 22);
}

#critico-bar-preenchida, #tristeza-bar-preenchida {
    background-color: rgb(239, 68, 68);
}

.color-excelente {
    color: #34D399;
}

.color-boa {
    color: rgb(245, 158, 11);
}

.color-ruim {
    color: rgb(249, 115, 22);
}

.color-critico {
    color: rgb(239, 68, 68);
}

.color-azul {
    color: rgb(74, 144, 226);
}

.color-roxo {
    color: rgb(144, 19, 254);
}

.color-vermelho {
    color: rgb(239, 68, 68);
}

.classificacao-status {
    color: rgba(255, 255, 255, 0.4);
    font-size: 18px;
    font-weight: 700;
}

#neutro-bar-preenchida {
    background-color: rgb(74, 144, 226);;
}

.h2-svg {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.degrade-roxo {
    background: linear-gradient(to right, rgb(144, 19, 254), rgb(74, 144, 226));
    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

#abrir-periodos-mob {
    cursor: pointer;
    transition: color 0.3s ease;
}

#abrir-periodos-mob:hover {
    color: #b8b8b8;;
}

.periodos-invisiveis {
    width: calc(100% + 1px);
    flex-direction: column;
    position: absolute;
    z-index: 0;
    left:-0.5px;
    top: 100%;
    border-radius: 0 0 12px 12px;
    background-color: #1F1D2B;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    padding-bottom: 1.5rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.noBorderBottom {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.wid100 {
    width: 100%;
}

.lista-comparar {
    width: 100%;
}

.linha-comparacao {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.linha-horizontal {
    height: 300px;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.1);
}

.prazosDiv {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 40px;
}

.gap-8 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
}

.selecionar-prazo {
    width: 100%;
    max-width: 500px;
}

.selecionar-prazo p {
    color: rgb(156, 163, 175);
    font-size: 14px;
    font-weight: 700;
    line-height: 140%;
}

.selecao {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
    background-color: rgb(22, 19, 32);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.selecionado {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

#selecao-a-abrir, #selecao-b-abrir {
    cursor: pointer;
}

.prazos-selecoes-suspenso {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 10px;
}

.prazos-selecoes-suspenso li {
    width: 100%;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.prazos-selecoes-suspenso li:hover {
    background-color: rgb(35, 29, 53);
}

.cancelar-btn {
    font-size: 18px;
    padding: 12px 20px;
    color: rgb(156, 163, 175);
    font-weight: 700;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.2s ease;
    background-color: transparent;
    cursor: pointer;
}

.cancelar-btn:hover:hover {
    background-color: #161320;
}

.prazos-selecoes-suspenso li.ativo {
    display: none !important;
}

.space-btw.gapl-30 {
    align-items: stretch;
    gap: 30px;
}

.classificacao-reports {
    background-color: #1F1D2B;
    padding: 24px;
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.classificacao-reports-header {
    width: calc(100% + 48px);
    margin-left: -24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px;
    padding-top: 0;
    font-size: 16px;
    font-weight: 600;
}

.lista-reports {
    padding-top: 24px;
}


.lista-reports li {
    width: 100%;
    padding: 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    align-items: flex-end !important;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.lista-reports li:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.reports-info {
    color: rgb(107, 114, 128);
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}

.report-description {
    width: 100%;
    text-align: left;
    font-size: 16px;
    color: rgb(209, 213, 219);
}

.abrir-detalhes-report {
    padding: 10px 18px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    font-size: 14px;
    color: white;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.abrir-detalhes-report:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.pop-ups {
    position: fixed;
    backdrop-filter: blur(12px);
    background-color: #1a1a24a6;
    width: 100%;
    height: 100%;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pop-up {
    width: 100%;
    max-width: 1000px;
    padding: 48px;
    background-color: #1F1D2B;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

.title-close {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.title-close h2 {
    color: white;
    font-size: 32px;
    font-weight: 700;
}

.title-close svg {
    color: rgb(156, 163, 175);
    width: 28px;
    height: 28px;
    cursor: pointer;
}

.conversa {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.conversa-message {
    color: rgb(209, 213, 219);
    font-size: 16px;
    line-height: 28px;
}

.report-info {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    font-size: 14px;
    font-weight: 700;
    color: rgb(107, 114, 128);
}

.message-space {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 15px;
    flex-direction: column;
}

.message-space h3 {
    width: 100%;
    font-size: 16px;
    color: rgb(156, 163, 175);
    font-weight: 600;
}

.message-space textarea {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    min-height: 150px;
    padding: 20px;
    font-size: 20px;
    color: white;
    transition: border-color 0.2s ease;
    resize: none;
    font-family: 'Inter', sans-serif;
}

.message-space textarea::placeholder {
    font-size: 20px;
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.7);
}

.message-space textarea:focus {
    border-color: #4a90e2;
    outline: none;
}



.status {
    gap: 12px;
}

.status-opcao {
    width: 100%;
    padding: 18px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.status-opcao:hover {
    background-color: rgba(255, 255, 255, 0.1);;
}

.buttons-options {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.buttons-options button {
    width: 100%;
    padding: 20px;
    background-color: transparent;
    border: none;
    color: white;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 12px;
}

.btn-salvar {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.btn-enviar {
    background-color: rgb(52, 211, 153) !important;
    color: black !important;
}

.status-opcao.concluido {
    background-color: rgb(52, 211, 153);
    color: black;
}

.status-opcao.andamento {
    background-color: #F5A623;
    color: black;
}

.status-opcao.aberto {
    background-color: rgb(239, 68, 68);
    color: black;
}

.mensagem {
    width: 100%;
    padding: 24px 16px;
    background-color: #1F1D2B;
    border-radius: 12px;
}

.mensagem h4 {
    font-size: 17px;
    font-weight: 700;
}

.mensagem p {
    font-size: 16px;
    color: rgb(209, 213, 219);
}

.mensagem-gestor {
    color: #4a90e2;
    border-left: 2px solid #4a90e2;;
}

.mensagem-cliente {
    align-items: flex-end;
    justify-content: flex-end;
    color: rgb(52, 211, 153);
    border-right: 2px solid rgb(52, 211, 153);
}

.conversas {
    list-style: none;
    width: 100%;
}

/* ====== Comparação em 2 colunas ====== */
.comparacao-duas-colunas {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.coluna-comparacao {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ====== Barras por classe (sem IDs duplicados) ====== */
.bar-excelente { background-color: #34D399; }
.bar-boa       { background-color: rgb(245, 158, 11); }
.bar-ruim      { background-color: rgb(249, 115, 22); }
.bar-critico   { background-color: rgb(239, 68, 68); }
.bar-neutro    { background-color: rgb(74, 144, 226); }


.logo-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
}

.img {
    width: 100%;
}

.logo-image {
    margin-left: -40px;
    width: 100%;
    max-width: 250px;
    height: 46px;
    overflow: hidden;
}

.logo-image img {
    height: 100%;
    object-fit: cover;
}


.modais {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.71);
    backdrop-filter: blur(12px);
    z-index: 999;
}

.modal-perfil {
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 650px;
    border-radius: 18px;
    background-color: #1F1D2B;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.perfil-title-close {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.perfil-title-close h2 {
    font-size: 36px;
    font-weight: 700;
}

.perfil-title-close svg {
    width: 28px;
    height: 28px;
    cursor: pointer;
    color: rgb(156, 163, 175);
}

.perfil-descricao {
    font-size: 20px;
    color: rgb(156, 163, 175);
}

.dados-perfil {
    width: 100%;
}

.dados-perfil label {
    font-size: 22px;
    color: rgb(156, 163, 175);
    font-weight: 500;
}

.dados-perfil-input {
    padding: 20px 25px;
    width: 100%;
    background-color: rgb(37, 40, 54);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    color: rgb(107, 114, 128) !important;
    transition: border-color 0.3s ease;
}

.dados-perfil-input:focus-within {
    border-color: #4a91e29a;
    color: #4a90e2 !important;
}

.dados-perfil-input input {
    font-size: 20px;
    color: rgb(173, 178, 187);
    width: 100%;
    background-color: transparent;
    border: none;
}

.dados-perfil-input input {
    width: 100%;
    background-color: transparent;
    border: none;
    outline: none;
}

.btn-login {
    width: 100%;
    padding: 18px;
    background-image: linear-gradient(to right, rgb(124, 58, 237), rgb(99, 102, 241), rgb(59, 130, 246));
    cursor: pointer;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    transition: transform 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: white;
}

.btn-login:hover {
    transform: translateY(-2px);
}

.mar-top15 {
    margin-top: 25px;
}

.buttons-perfil {
    margin-top: 15px;
    width: 100%;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.buttons-perfil button {
    padding: 15px 20px;
    width: 100%;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.buttons-perfil button:hover {
    transform: translateY(-2px);
}

.perfil-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: transparent;
    border: none;
    color: rgb(239, 68, 68);
}

.perfil-logout svg {
    width: 26px;
    height: 26px;
}

.btn-salvar {
    border-radius: 12px;
    border: none;
    background-color: #34D399;
    color: black;
}

.nav-item.purple-hover.ativo {
    color: #9013F3;
    background-color: rgba(255, 255, 255, 0.05);
}

@media (max-width: 1700px) {
  .space-btw.gapl-30 {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  /* garante que cada classificação ocupe 100% */
  .classificacao-reports {
    width: 100%;
  }
}