
/* Títulos e parágrafos */
.PlaneamentoDoSistema .section-content {
    text-align: center;
}

.PlaneamentoDoSistema h2 {
    font-size: 2.5rem;
    color: #006699;
    border-bottom: 3px solid #006699;
    display: inline-block;
    margin: 0 auto 1.5rem;
    padding-bottom: 0.5rem;
}

.PlaneamentoDoSistema p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 2rem;
}

/* Container do Mapa Angola */
.PlaneamentoDoSistema #mapaContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 2rem;
}

.PlaneamentoDoSistema #mapaAngola {
    flex: 2 1 60%;
    min-height: 500px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* Legenda lateral do mapa */
.PlaneamentoDoSistema #legenda {
    flex: 1 1 35%;
    background-color: #ffffff;
    border-left: 4px solid #006699;
    padding: 1rem;
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(0,0,0,0.03);
}

.PlaneamentoDoSistema #legenda h3 {
    margin-bottom: 1rem;
    color: #006699;
    font-size: 1.2rem;
}

.PlaneamentoDoSistema .legenda-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.PlaneamentoDoSistema .legenda-cor {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
}

/* Mapa Planeamento */
.PlaneamentoDoSistema #mapa-planeamento {
    width: 100%;
    height: 600px;
    background-color: #ffffff;
    border-radius: 10px;
    margin: 2rem 0;
}

/* Legenda Interativa com botões */
.PlaneamentoDoSistema #legenda-mapa-planeamento {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.PlaneamentoDoSistema .legenda-item-mapa-planeamento button {
    padding: 10px 15px;
    background-color: #adcdf1;
    border: 1px solid #a9caf5;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s;
}

.PlaneamentoDoSistema .legenda-item-mapa-planeamento button:hover {
    background-color: #e0e0e0;
}

.PlaneamentoDoSistema .legenda-item-mapa-planeamento button.ativo {
    background-color: #006699;
    color: #fff;
    border-color: #006699;
}

.PlaneamentoDoSistema .legenda-cor-mapa-planeamento {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #aaa; /* pode ser alterado conforme o sistema */
}

/* Gráficos (canvas) */
.PlaneamentoDoSistema canvas {
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    background: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 8px;
    padding: 10px;
}

/* Responsivo */
@media (max-width: 768px) {
    .PlaneamentoDoSistema #mapaContainer {
        flex-direction: column;
    }

    .PlaneamentoDoSistema h2 {
        font-size: 1.5rem;
    }

    .PlaneamentoDoSistema p {
        font-size: 1rem;
    }
}
