/* CSS exclusivo para o Mapa do Site Institucional */
.mapa-site-list {
    margin-top: 2rem;
}
.mapa-site-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 0;
    justify-content: flex-start;
}
.mapa-site-list li {
    background: var(--azul-terciary-color);
    border: 1px solid var(--azul-secondary-color);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(13,97,143,0.07);
    padding: 1.2rem 1.5rem;
    margin: 0;
    min-width: 220px;
    flex: 1 1 260px;
    transition: box-shadow 0.2s, border 0.2s;
}
.mapa-site-list li:hover {
    border: 1.5px solid var(--azul-primary-color);
    box-shadow: 0 4px 16px rgba(13,97,143,0.13);
}
.mapa-site-list a {
    color: var(--azul-primary-color);
    font-weight: 500;
    font-size: 1.08rem;
    text-decoration: none;
    transition: color 0.2s;
}
.mapa-site-list a:hover {
    color: var(--vermelho-primary-color);
    text-decoration: underline;
}
@media (max-width: 768px) {
    .mapa-site-list ul {
        flex-direction: column;
        gap: 1rem;
    }
    .mapa-site-list li {
        min-width: unset;
        padding: 1rem;
    }
}

/* CSS exclusivo para o Mapa do Site Institucional em formato de organograma */
.mapa-site-organograma {
    margin-top: 2rem;
}
.organograma {
    list-style: none;
    padding-left: 0;
    max-width: 600px;
    margin: 0 auto;
}
.organograma > li {
    margin-bottom: 2.2rem;
    position: relative;
}
.menu-title {
    color: var(--azul-primary-color);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.organograma > li:before {
    content: '';
    display: block;
    position: absolute;
    left: 10px;
    top: 1.5rem;
    width: 2px;
    height: calc(100% - 1.5rem);
    background: var(--azul-secondary-color);
    z-index: 0;
}
.organograma > li:last-child:before {
    display: none;
}
.organograma ul {
    list-style: none;
    padding-left: 1.5rem;
    margin: 0;
    border-left: 2px solid var(--azul-secondary-color);
    position: relative;
}
.organograma ul li {
    margin-bottom: 0.6rem;
    position: relative;
    padding-left: 1.2rem;
}
.organograma ul li:before {
    content: '';
    position: absolute;
    left: -1.2rem;
    top: 0.7em;
    width: 1.2rem;
    height: 2px;
    background: var(--azul-secondary-color);
}
.organograma a {
    color: var(--azul-primary-color);
    font-weight: 500;
    font-size: 1.03rem;
    text-decoration: none;
    transition: color 0.2s;
}
.organograma a:hover {
    color: var(--vermelho-primary-color);
    text-decoration: underline;
}
@media (max-width: 700px) {
    .organograma {
        max-width: 100%;
        padding-left: 0.5rem;
    }
    .organograma ul {
        padding-left: 1rem;
    }
}

/* Layout inspirado no modelo SAAS Venngage, com blocos, linhas e ícones */
.mapa-site-saas {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}
.saas-map-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.saas-map-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.5rem;
    position: relative;
}
.saas-main-block {
    background: var(--azul-primary-color);
    color: #fff;
    border-radius: 18px;
    padding: 1.5rem 2.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 4px 24px rgba(13,97,143,0.13);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}
.saas-main-block i {
    color: #fff;
}
.saas-main-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.saas-map-branches {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem 4.5rem;
    position: relative;
    width: 100%;
    max-width: 1200px;
}
.saas-map-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-width: 210px;
    flex: 1 1 220px;
}
.saas-map-block {
    background: var(--azul-terciary-color);
    color: var(--azul-primary-color);
    border-radius: 14px;
    padding: 1.1rem 1.2rem;
    font-size: 1.08rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(13,97,143,0.07);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.1rem;
    position: relative;
    z-index: 1;
}
.saas-map-block i {
    font-size: 1.5rem;
    color: var(--azul-primary-color);
}
.saas-map-branch ul {
    list-style: none;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
    width: max-content;
    display: block;
}
.saas-map-branch ul li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.7rem;
    font-size: 1.01rem;
    font-weight: 500;
    background: none;
    border: none;
    padding: 0.3rem 0.2rem 0.3rem 0.2rem;
    border-radius: 8px;
    transition: background 0.2s;
}
.saas-map-branch ul li i {
    color: var(--azul-secondary-color);
    font-size: 1.1rem;
    min-width: 18px;
    text-align: center;
}
.saas-map-branch ul li a {
    color: var(--azul-primary-color);
    text-decoration: none;
    transition: color 0.2s;
}
.saas-map-branch ul li a:hover {
    color: var(--vermelho-primary-color);
    text-decoration: underline;
}
/* Linhas de conexão */
.saas-map-branches:before {
    display: none;
}
.saas-map-branch:nth-child(5) {
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 900px) {
    .saas-map-branches {
        flex-direction: column;
        gap: 2.2rem 0;
        align-items: center;
    }
    .saas-map-branch {
        min-width: 180px;
        width: 100%;
        align-items: flex-start;
    }
    .saas-map-block {
        width: 100%;
    }
    .saas-map-branch-group-col {
        width: 100%;
    }
    .saas-map-branch ul {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        text-align: left;
        align-items: flex-start;
        display: block;
    }
    .saas-map-branch ul li {
        justify-content: flex-start;
        text-align: left;
    }
}

.saas-map-branch-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.2rem;
}

@media (min-width: 992px) {
  .saas-map-branches {
    align-items: flex-start;
  }
  .saas-map-branch-group-col {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
  }
  /* Espaçamento maior entre itens de Atividade Parlamentar no desktop */
  .saas-map-branch .saas-map-block span:contains('Atividade Parlamentar')
    ~ ul > li {
    margin-bottom: 1.5rem !important;
  }
  .saas-map-branch-atividade ul li {
    margin-bottom: 1.5rem !important;
  }
} 