/* ==========================================================================
   ESTILOS GERAIS E UTILITÁRIOS
   ========================================================================== */
body {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
/* ==========================================================================
   BARRA SUPERIOR COLORIDA DO SITE - EDUARDO 16/07/2026
========================================================================== */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  z-index: 99999;

  background: linear-gradient(
    to right,
    #113d64 0%,
    #113d64 25%,

    #198754 25%,
    #198754 50%,

    #f2c300 50%,
    #f2c300 75%,

    #dc3545 75%,
    #dc3545 100%,

    #e5e5e5 99.5%,
    #e5e5e5 100%
  );
}

/*   a {
  text-decoration: none;
}
*/
 /* Remove o sublinhado de todos os links em todos os estados */
a, 
a:link, 
a:visited, 
a:active,
a:hover {
    text-decoration: none !important;
}

/* Mantém a cor que você já definiu para o estado normal */
a {
    color: #333; 
}

/* Mantém a cor que você já definiu para o estado hover */
a:hover {
    color: #5e5d5d;
}
[id] {
  scroll-margin-top: 80px;
}


/* 
   DICA EXTRA: 
   Se você notar que algum link específico (como os do menu ou das notícias) 
   ainda insiste em mostrar a linha, adicione este bloco abaixo também:
*/

.nav-link, 
.card-title, 
.card-body a, 
.program-block a {
    text-decoration: none !important;
}

/* ==========================================================================
   ACESSO RÁPIDO - CLASSES DE FUNDO COLORIDO
   ========================================================================== */

.ARBgVBranco {
    background-color: #ffffff !important; /* Vermelho */
    color: #dc3545 !important;
    text-transform: uppercase;
}

   .ARBgVermelho {
    background-color: #dc3545 !important; /* Vermelho */
    color: white !important;
    text-transform: uppercase;
}

.ARBgVerde {
    background-color: #198754 !important; /* Verde */
    color: white !important;
    text-transform: uppercase;
}

.ARBgAmarelo {
    background-color: #ffa500 !important; /* Amarelo */
    color: white !important;
    text-transform: uppercase;
}

.ARBgAzul {
    background-color: #113d64 !important; /* Azul */
    color: white !important;
    text-transform: uppercase;
}



/* 🔹 Títulos das Seções (Definição principal) */
.section-title {
    /* Estilo para a seção "Fique por Dentro" (vermelho) */
    text-align: center;
    font-weight: 300;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #c0392b; /* Tom de vermelho para o título */
}

.section-title strong {
    font-weight: 800;
}

/* 🔹 Títulos das Seções (Estilo alternativo para "Ações em Destaque") */
/* Este estilo sobrescreve o anterior para seções específicas */
.section-title.alt-style {
    color: #113D64; /* Azul escuro, similar ao menu */
    font-weight: bold;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #113D64; /* Linha de destaque */
    display: inline-block; /* Para a linha ficar apenas no texto */
    text-align: left; /* Alinhamento diferente do padrão */
}

/* 🔹 Vídeo em tela cheia */
.video-bg {
    position: relative;
    height: 700px;
    overflow: hidden;
}
.video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* 🔹 Caixa de busca centralizada */
.search-box {
    position: relative;
    z-index: 1;
    top: 40%;
}



/* 🔹 Estilo para imagem de notícia */
.noticia {
    width: 300px;
    height: 230px;
    object-fit: cover;
    object-position: center;
}
.noticia-img-destaque{
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
}

.noticia-img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
}


/* ==========================================================================
   SEÇÃO DE SERVIÇOS (ACORDEÃO)
   ========================================================================== */

.servicos-container {
    background-color: #00A3E0; /* Azul de fundo principal */
    padding: 4rem 2rem;
    border-radius: 20px;
    margin-top: 50px;
    position: relative;
}

.servicos-title {
    color: white;
    text-align: center;
    font-weight: bold;
    margin-bottom: 50px; /* Espaço para as abas */
}

/* Abas de Navegação */
.servicos-tabs {
    display: flex;
    justify-content: center;
    position: absolute;
    top: -25px; /* Puxa as abas para cima */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.servicos-tab {
    padding: 10px 20px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    border-radius: 15px 15px 0 0;
    margin: 0 5px;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
}

.servicos-tab.active {
    transform: scale(1.1); /* Efeito de destaque na aba ativa */
    z-index: 3;
}

/* Cores das abas */
.tab-turista { background-color: #00AEEF; }
.tab-cidadao { background-color: #92C83E; }
.tab-empresa { background-color: #EC1C24; }
.tab-servidor { background-color: #F7941D; }

/* Conteúdo das Abas */
.servicos-content {
    background-color: #0083B2; /* Azul mais escuro para o conteúdo */
    padding: 4rem 2rem 2rem; /* Mais padding no topo para dar espaço */
    border-radius: 20px;
    display: none; /* Esconde por padrão */
}

.servicos-content.active {
    display: block; /* Mostra o conteúdo da aba ativa */
}

/* Botões de Ação */
.servicos-botoes {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.servicos-botoes a {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 10px 30px;
    border-radius: 50px; /* Borda totalmente arredondada */
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.servicos-botoes a:hover {
    background-color: white;
    color: #0083B2;
}


/* ==========================================================================
   SEÇÃO DE SERVIÇOS MAIS PROCURADOS (CARROSSEL)
   ========================================================================== */

.procurados-section {
    /* background-color: #00A3E0;  Mesmo azul do fundo do acordeão */
    padding: 50px 0;
    color: white;
}

/* O título desta seção usa o estilo .section-title, mas com cores brancas */
.procurados-section .section-title {
    color: white;
}

.servicos-carousel .card-servico {
    background-color: #0083B2; /* Azul mais escuro dos cards */
    color: white;
    text-align: center;
    padding: 20px 10px;
    border-radius: 10px;
    height: 140px;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.servicos-carousel .card-servico:hover,
.servicos-carousel .slick-current .card-servico {
    border-color: white; /* Borda branca no item ativo/hover */
    background-color: #0083B2; /* Mantém a cor de fundo */
}

.card-servico i {
    font-size: 3rem; /* Tamanho do ícone */
    margin-bottom: 10px;
}

.card-servico span {
    font-weight: bold;
    font-size: 0.9rem;
    line-height: 1.2;
}


/* ==========================================================================
   SEÇÃO FIQUE POR DENTRO (CARROSSEL E ACESSO RÁPIDO)
   ========================================================================== */

.fique-por-dentro-section {
    padding: 50px 0;
    background-color: #f8f9fa; /* Um cinza bem claro para o fundo */
}

/* Carrossel de Banners */
.banners-carousel .banner-item img {
    width: 100%;
    border-radius: 15px;
}

/* Blocos de Acesso Rápido */
.acesso-rapido-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colunas */
    gap: 20px;
    margin-top: 30px;
}

.acesso-bloco {
    background-color: #c0392b; /* Vermelho dos blocos */
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.acesso-bloco:hover {
    transform: translateY(-5px); /* Efeito de levantar ao passar o mouse */
    color: white;
}

.acesso-bloco h3 {
    font-weight: 800;
    font-size: 2.5rem;
    margin: 0;
}

.acesso-bloco p {
    margin: 5px 0 0 0;
    font-weight: 500;
}

.acesso-bloco .whatsapp-info {
    margin-top: 10px;
}

.acesso-bloco .whatsapp-info small {
    font-size: 0.8rem;
}


/* ==========================================================================
   SEÇÃO AÇÕES EM DESTAQUE
   ========================================================================== */

/* 🔹 Estilos para os blocos de Ações em Destaque */
.destaque-block {
    height: 150px;
    background-color: #C6E0F5; /* Azul claro de fundo */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none; /* Remover sublinhado de links */
    color: #113D64; /* Cor do texto */
    font-weight: bold;
}

.destaque-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Estilos específicos para os blocos com imagem/logo */
.destaque-block.has-logo {
    font-size: 1.2rem;
    line-height: 1.2;
}

/* ==========================================================================
   SEÇÃO Governo e Institucional
   ========================================================================== */

/* 🔹 Estilos para os blocos de Ações em Destaque */
.governo-block {
    height: 150px;
    background-color: #113d64; /* Azul escuro de fundo */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: left;
    align-items: center;
    text-align: left;
    padding: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none; /* Remover sublinhado de links */
    color: #ffffff; /* Cor do texto */
    font-weight: bold;
}

.governo-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(179, 55, 55, 0.1);
}

/* Estilos específicos para os blocos com imagem/logo */
.governo-block.has-logo {
    font-size: 1.2rem;
    line-height: 1.2;
}
.governo-block h4:hover {
    
    color: #ffffff;
}

.governo-block h5:hover {
    
    color: #ffffff;
}
.governo-block a:hover {
    
    color: #ffffff;
}



/* ==========================================================================
   SEÇÃO INSTITUCIONAL
   ========================================================================== */

/* 🔹 Estilos para os blocos Institucionais */
.institucional-block {
    background-color: #F8F8F8; /* Cinza claro de fundo */
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    height: 150px;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: #555; /* Cor do texto cinza */
}

.institucional-block:hover {
    background-color: #EFEFEF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.institucional-block i {
    font-size: 3rem;
    color: #007bff; /* Azul para os ícones */
    margin-bottom: 0.5rem;
}

.institucional-block span {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}


/* ==========================================================================
   SEÇÃO TRANSPARÊNCIA
   ========================================================================== */

/* 🔹 Estilos para a Seção de Transparência */
.transparencia-section {
    background: linear-gradient(135deg, #2066ac 0%, #142a8c 100%); /* Gradiente roxo/azul escuro */
    color: white;
    padding: 50px 0;
}

.transparencia-header {
    border-left: 5px solid #00c6ff; /* Linha azul clara para o título */
    padding-left: 15px;
    margin-bottom: 30px;
}

.transparencia-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
}

/* 🔹 Seção do Secretário */
.secretario-info {
    margin-bottom: 30px;
    padding-right: 30px; /* Espaçamento para a grade */
}

.secretario-info h3 {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 5px;
}

.secretario-info h4 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.secretario-info p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.secretario-info .btn-outline-light {
    border-radius: 0;
    padding: 8px 20px;
    font-size: 0.9rem;
}

.contact-item {
    margin-top: 15px;
    font-size: 0.9rem;
}

.contact-item i {
    color: #00c6ff; /* Ícone azul claro */
    margin-right: 10px;
}

/* 🔹 Grade de Links */
.transparencia-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.transparencia-link {
    background-color: rgba(255, 255, 255, 0.1); /* Fundo semi-transparente */
    color: white;
    min-height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.2s;
    padding: 10px;
}

.transparencia-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}


/* ==========================================================================
   ESTILOS DE CARROSSEL (SLICK)
   ========================================================================== */

/* Estilizando as setas do Slick (Geral) */
.slick-prev, .slick-next {
    width: 40px;
    height: 40px;
    z-index: 1;
}
.slick-prev:before, .slick-next:before {
    font-size: 40px; /* Tamanho das setas */
    color: white;
    opacity: 0.75;
}
.slick-prev { left: -35px; }
.slick-next { right: -35px; }

/* Estilizando as setas especificamente para o carrossel "Fique por Dentro" */
.fique-por-dentro-section .slick-prev,
.fique-por-dentro-section .slick-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}
.fique-por-dentro-section .slick-prev:before,
.fique-por-dentro-section .slick-next:before {
    color: white;
    font-size: 24px;
}
.fique-por-dentro-section .slick-prev { left: -25px; }
.fique-por-dentro-section .slick-next { right: -25px; }


.program-block {
      color: #fff;
      padding: 2rem;
      text-align: center;
      font-weight: bold;
      height: 150px;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
    }
    .program-block p { font-size: 0.9rem; margin: 0; }
    .unit-card { border-left: 5px solid #113D64; transition: 0.3s; }
    .unit-card:hover { transform: translateY(-5px); box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important; }
    .service-badge { font-size: 0.75rem; padding: 0.3em 0.6em; margin-right: 5px; margin-bottom: 5px; display: inline-block; }
    .nav-pills .nav-link.active { background-color: #113D64 !important; color:white!important; }
    .nav-pills .nav-link { color:#113D64; border:1px solid #113D64; margin-right:10px; }

/* ==========================================================================
   RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */

/* Ajustes para telas menores (Responsividade para Acesso Rápido) */
@media (max-width: 992px) {
    .acesso-rapido-grid {
        grid-template-columns: 1fr; /* 1 coluna em tablets e celulares */
    }
    .acesso-bloco h3 {
        font-size: 2rem;
    }

    
}

/* Ajustes para telas menores (Responsividade para Ações em Destaque e Institucional) */
@media (max-width: 768px) {
    .section-title.alt-style {
        font-size: 1.5rem;
    }
    .destaque-block, .institucional-block {
        height: 120px;
    }
   
}

@media (max-width: 425px) {
    .nav-pills .nav-link {
        font-size: 2rem;
    }

    
}

@media (max-width: 414px) {
    .nav-pills .nav-link {
        font-size: 2rem;
    }

    
}

/* ==========================================================================
     ESTILOS UNIFICADOS ADICIONADOS (MOVIDOS DE STYLES INLINE)
     Inclui: .img-bg, .img-bg .overlay, .video-bg (var.), .painel-saude e contador
     ========================================================================== */


     
.img-bg, .hero-bg {
    position: relative;
    height: 500px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.img-bg .overlay,
.hero-bg .overlay,
.video-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    z-index: 0;
}

/* Caixa de busca sobre imagem/vídeo (mantém o comportamento já usado nos HTMLs) */
.search-box {
    position: relative;
    z-index: 1;
    top: 40%;
}

/* Painel de indicadores (saúde) */
.painel-saude {
    padding: 3rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #113D64 0%, #0b2a45 100%);
    color: #ffffff;
}
.painel-saude h3 { color: #fff; }

.contador {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
}

/* Pequenos ajustes responsivos para cabeçalho hero */
@media (max-width: 768px) {
    .img-bg, .hero-bg { height: 380px; }
    .search-box { top: 35%; }
}

/* Aviso: os arquivos HTML ainda podem carregar bibliotecas externas (ex.: Slick). */


/* Pagina de notícias  */

    /* Tudo abaixo é isolado para não alterar o cabeçalho, menu, busca ou blocos superiores */
    .post-main-modern{
      background:#f4f7fa;
      padding:58px 0 78px;
      color:#263648;
    }

    .post-main-modern a{
      text-decoration:none;
    }

    .post-shell{
      max-width:1180px;
      margin:0 auto;
      padding:0 15px;
    }

    .post-breadcrumb{
      display:flex;
      align-items:center;
      flex-wrap:wrap;
      gap:8px;
      margin-bottom:24px;
      color:#718091;
      font-size:.92rem;
    }

    .post-breadcrumb a{
      color:#113d64;
      font-weight:700;
    }

    .post-article{
      background:#fff;
      border:1px solid #e3eaf1;
      border-radius:24px;
      overflow:hidden;
      box-shadow:0 18px 50px rgba(17,61,100,.10);
    }

    .post-header{
      padding:46px 55px 30px;
    }

    .post-category{
      display:inline-flex;
      align-items:center;
      gap:8px;
      color:#d71920;
      font-size:.8rem;
      font-weight:800;
      text-transform:uppercase;
      letter-spacing:.08em;
      margin-bottom:15px;
    }

    .post-title{
      color:#113d64;
      font-size:clamp(2rem,4vw,3.45rem);
      line-height:1.12;
      font-weight:800;
      margin-bottom:18px;
    }

    .post-subtitle{
      color:#667587;
      font-size:1.16rem;
      line-height:1.65;
      margin-bottom:22px;
      max-width:900px;
    }

    .post-meta{
      display:flex;
      flex-wrap:wrap;
      gap:18px;
      padding-top:18px;
      border-top:1px solid #e3eaf1;
      color:#7b8795;
      font-size:.9rem;
    }

    .post-meta span{
      display:inline-flex;
      align-items:center;
      gap:7px;
    }

    .post-cover{
      width:100%;
      max-height:620px;
      object-fit:cover;
      display:block;
    }

    .post-content{
      padding:42px 55px 52px;
      color:#46576a;
      font-size:1.06rem;
      line-height:1.95;
    }

    .post-content p{
      margin-bottom:24px;
    }

    .post-content p:first-child::first-letter{
      float:left;
      color:#113d64;
      font-size:4rem;
      line-height:.82;
      font-weight:800;
      padding-right:10px;
      padding-top:8px;
    }

    .post-highlight{
      margin:30px 0;
      padding:22px 24px;
      background:#f7f9fc;
      border-left:5px solid #d71920;
      border-radius:0 14px 14px 0;
      color:#35485c;
      font-style:italic;
    }

    .post-share{
      display:flex;
      justify-content:space-between;
      align-items:center;
      flex-wrap:wrap;
      gap:18px;
      margin-top:35px;
      padding:19px 20px;
      background:#f7f9fc;
      border:1px solid #e3eaf1;
      border-radius:16px;
    }

    .post-share strong{
      color:#113d64;
    }

    .post-share-buttons{
      display:flex;
      gap:10px;
    }

    .post-share-btn{
      width:42px;
      height:42px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      border-radius:12px;
      background:#113d64;
      color:#fff;
      transition:.2s;
    }

    .post-share-btn:hover{
      color:#fff;
      background:#1f5f96;
      transform:translateY(-2px);
    }

    .post-latest{
      margin-top:65px;
    }

    .post-latest-title{
      color:#113d64;
      font-size:2rem;
      font-weight:800;
      margin-bottom:28px;
    }

    .post-latest-title span{
      color:#d71920;
    }

    .post-news-card{
      display:block;
      height:100%;
      background:#fff;
      border:1px solid #e3eaf1;
      border-radius:18px;
      overflow:hidden;
      color:#263648;
      box-shadow:0 8px 24px rgba(30,61,91,.06);
      transition:.23s;
    }

    .post-news-card:hover{
      transform:translateY(-5px);
      color:#263648;
      box-shadow:0 16px 35px rgba(30,61,91,.13);
    }

    .post-news-card img{
      width:100%;
      height:205px;
      object-fit:cover;
    }

    .post-news-body{
      padding:21px;
    }

    .post-news-category{
      color:#d71920;
      font-size:.76rem;
      font-weight:800;
      text-transform:uppercase;
      letter-spacing:.08em;
      margin-bottom:8px;
    }

    .post-news-card h3{
      color:#113d64;
      font-size:1.03rem;
      font-weight:800;
      line-height:1.4;
      margin-bottom:10px;
    }

    .post-news-card p{
      color:#6c7887;
      font-size:.9rem;
      line-height:1.55;
      margin-bottom:14px;
    }

    .post-news-date{
      color:#929dab;
      font-size:.82rem;
    }

    @media(max-width:767.98px){
      .post-main-modern{
        padding:40px 0 58px;
      }

      .post-header,
      .post-content{
        padding-left:22px;
        padding-right:22px;
      }

      .post-header{
        padding-top:32px;
      }

      .post-content{
        font-size:1rem;
      }

      .post-cover{
        max-height:350px;
      }
    }
  
   /* ==========================================================================
   CENTRAL DE SERVIÇOS - ESTILOS REVISADOS
   Última atualização: 20/07/2026
   ========================================================================== */
.servicos-section,
.servicos-section *,
.servicos-section *::before,
.servicos-section *::after {
    box-sizing: border-box;
}

.servicos-section {
    --servicos-azul: #087fce;
    --servicos-azul-rgb: 8, 127, 206;
    --servicos-verde: #198754;
    --servicos-vermelho: #dc3545;
    --servicos-amarelo: #f2c300;
    --servicos-marinho: #0083B2;
    --servicos-texto: #173a55;
    --servicos-texto-suave: #607789;
    --servicos-borda: #d7e2e9;
    --servicos-fundo: #f5f8fa;
    --servicos-accent: var(--servicos-azul);
    --servicos-accent-rgb: var(--servicos-azul-rgb);
    width: 100%;
    max-width: 100%;
    padding: 64px 20px;
    overflow-x: clip;
    font-family: inherit;
    background: #03a9f4;
}

.servicos-section .container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 12px;
}

.servicos-section .servicos-container[data-active="cidadao"] {
    --servicos-accent: var(--servicos-verde);
    --servicos-accent-rgb: 25, 135, 84;
}

.servicos-section .servicos-container[data-active="empresa"] {
    --servicos-accent: var(--servicos-vermelho);
    --servicos-accent-rgb: 220, 53, 69;
}

.servicos-section .servicos-container[data-active="servidor"] {
    --servicos-accent: var(--servicos-amarelo);
    --servicos-accent-rgb: 242, 195, 0;
}

.servicos-section .servicos-container {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    background: #fff;
    border: 1px solid var(--servicos-borda);
    border-top: 5px solid var(--servicos-marinho);
    border-radius: 18px;
    box-shadow: none;
}

.servicos-section .servicos-desktop-layout {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(220px, 250px) minmax(0, 1fr);
    grid-template-areas: "topbar topbar" "profiles catalog";
    gap: 24px;
    padding: 34px;
}

.servicos-section .servicos-topbar {
    grid-area: topbar;
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--servicos-borda);
}

.servicos-section .servicos-header {
    min-width: 0;
    max-width: 700px;
    margin: 0;
}

.servicos-section .servicos-subtitle {
    display: block;
    margin-bottom: 8px;
    padding-left: 10px;
    color: #42647c;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    border-left: 3px solid var(--servicos-verde);
}

.servicos-section .servicos-title {
    margin: 0;
    color: var(--servicos-marinho);
    font-size: clamp(1.85rem, 3vw, 2.35rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.servicos-section .servicos-title strong {
    color: inherit;
    font-weight: 700;
}

.servicos-section .servicos-description {
    max-width: 650px;
    margin: 10px 0 0;
    color: var(--servicos-texto-suave);
    font-size: .93rem;
    line-height: 1.5;
}

.servicos-section .servicos-institucional {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 11px;
    max-width: 290px;
    padding: 11px 14px;
    color: var(--servicos-marinho);
    background: var(--servicos-fundo);
    border: 1px solid var(--servicos-borda);
    border-radius: 10px;
}

.servicos-section .servicos-institucional > i {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #fff;
    background: var(--servicos-marinho);
    border-radius: 8px;
}

.servicos-section .servicos-institucional div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.servicos-section .servicos-institucional strong {
    color: inherit;
    font-size: .78rem;
    line-height: 1.25;
}

.servicos-section .servicos-institucional span {
    margin-top: 2px;
    color: #667d8e;
    font-size: .68rem;
    line-height: 1.3;
}

.servicos-section .servicos-mobile-home {
    grid-area: profiles;
    min-width: 0;
    align-self: start;
}

.servicos-section .servicos-bootstrap-tabs {
    display: grid;
    min-width: 0;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    margin: 0;
    padding: 9px;
    background: #f3f6f8;
    border: 1px solid var(--servicos-borda);
    border-radius: 12px;
}

.servicos-section .servicos-tab-item {
    min-width: 0;
    width: 100%;
}

.servicos-section .servicos-tab {
    --tab-accent: var(--servicos-azul);
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 58px;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 8px 10px;
    color: var(--servicos-texto);
    font-family: inherit;
    text-align: left;
    background: #fff;
    border: 1px solid #dbe5eb;
    border-radius: 9px;
    box-shadow: none;
}

.servicos-section .tab-cidadao { --tab-accent: var(--servicos-verde); }
.servicos-section .tab-empresa { --tab-accent: var(--servicos-vermelho); }
.servicos-section .tab-servidor { --tab-accent: var(--servicos-amarelo); }

.servicos-section .servicos-tab > i {
    display: grid;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    place-items: center;
    color: var(--tab-accent);
    background: #f5f8fa;
    border: 1px solid #e0e8ed;
    border-radius: 7px;
}

.servicos-section .servicos-tab span { min-width: 0; }

.servicos-section .servicos-tab span strong {
    color: inherit;
    font-size: .84rem;
    font-weight: 700;
    line-height: 1.3;
}

.servicos-section .servicos-tab:hover {
    color: var(--servicos-texto);
    border-color: var(--tab-accent);
}

.servicos-section .servicos-tab.active,
.servicos-section .servicos-tab.active:hover {
    color: #fff;
    background: var(--tab-accent);
    border-color: var(--tab-accent);
}

.servicos-section .servicos-tab.active > i {
    color: var(--tab-accent);
    background: #fff;
    border-color: #fff;
}

.servicos-section .servicos-mobile-all { display: none; }

.servicos-section .servicos-main {
    grid-area: catalog;
    min-width: 0;
    width: 100%;
    overflow: visible;
    background: #f7f9fa;
    border: 1px solid var(--servicos-borda);
    border-radius: 12px;
}

.servicos-section .servicos-mobile-detail { display: none; }

.servicos-section .servicos-toolbar {
    display: flex;
    min-width: 0;
    min-height: 76px;
    align-items: center;
    padding: 17px 20px;
    background: var(--servicos-marinho);
    border-radius: 11px 11px 0 0;
}

.servicos-section .servicos-toolbar-title { min-width: 0; }

.servicos-section .servicos-toolbar-title > span {
    display: block;
    color: #b7cfdf;
    font-size: .63rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.servicos-section .servicos-toolbar-title h3 {
    margin: 4px 0 0;
    color: #fff;
    font-size: 1.06rem;
    font-weight: 700;
    line-height: 1.3;
}

.servicos-section .tab-content,
.servicos-section .servicos-content {
    min-width: 0;
    width: 100%;
}

.servicos-section .servicos-content {
    background: #f7f9fa;
    border-radius: 0 0 11px 11px;
}

.servicos-section .servicos-bootstrap-grid {
    display: grid;
    min-width: 0;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 18px;
}

.servicos-section .servicos-bootstrap-grid > a {
    display: block;
    min-width: 0;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.servicos-section .servico-link {
    display: flex;
    min-width: 0;
    width: 100%;
    min-height: 64px;
    height: 100%;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    color: #29485f;
    font-family: inherit;
    font-size: .79rem;
    font-weight: 600;
    line-height: 1.35;
    background: #fff;
    border: 1px solid #dce5ea;
    border-radius: 9px;
    box-shadow: none;
}

.servicos-section .servico-link > .bi:first-child {
    display: grid;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    place-items: center;
    color: var(--servicos-accent);
    background: rgba(var(--servicos-accent-rgb), .09);
    border: 1px solid rgba(var(--servicos-accent-rgb), .16);
    border-radius: 7px;
}

.servicos-section .servico-link-text {
    min-width: 0;
    flex: 1 1 auto;
    color: inherit;
    overflow-wrap: anywhere;
    word-break: normal;
    white-space: normal;
}

.servicos-section .servico-link-arrow {
    flex: 0 0 auto;
    margin-left: auto;
    color: #7690a2;
    font-size: .72rem;
}

.servicos-section .servicos-bootstrap-grid > a:hover .servico-link {
    color: var(--servicos-marinho);
    border-color: var(--servicos-accent);
}

/* ==========================================================================
   GATILHOS ISOLADOS PARA DISPOSITIVOS MÓVEIS
   ========================================================================== */
@media (max-width: 767.98px) {
    .servicos-section { padding: 18px 10px !important; }
    .servicos-section .container { padding: 0 !important; }

    .servicos-section .servicos-container {
        border-top-width: 4px !important;
        border-radius: 14px !important;
    }

    .servicos-section .servicos-desktop-layout {
        display: block !important;
        padding: 20px 14px 14px !important;
    }

    .servicos-section .servicos-topbar {
        display: block !important;
        padding-bottom: 18px !important;
        border-bottom: 0 !important;
    }

    .servicos-section .servicos-title {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
    }

    .servicos-section .servicos-description {
        margin-top: 8px !important;
        font-size: .86rem !important;
    }

    .servicos-section .servicos-institucional {
        width: 100% !important;
        max-width: none !important;
        margin-top: 16px !important;
        padding: 9px 11px !important;
    }

    .servicos-section .servicos-bootstrap-tabs {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 9px !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
    }

    .servicos-section .servicos-tab {
        min-height: 62px !important;
        padding: 10px 12px !important;
        border-radius: 10px !important;
    }

    .servicos-section .servicos-mobile-all {
        display: flex !important;
        width: 100% !important;
        min-height: 54px !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-top: 14px !important;
        background: var(--servicos-marinho) !important;
        border: 1px solid var(--servicos-marinho) !important;
        border-radius: 10px !important;
    }

    .servicos-section .servicos-main {
        display: none !important;
    }

    /* Regras acionadas quando a classe controladora do JS entra em ação */
    .servicos-section .servicos-container.is-mobile-detail .servicos-topbar,
    .servicos-section .servicos-container.is-mobile-detail .servicos-mobile-home {
        display: none !important;
    }

    .servicos-section .servicos-container.is-mobile-detail .servicos-main { 
        display: block !important; 
    }

    .servicos-section .servicos-mobile-detail {
        display: flex !important;
        padding: 2px 0 16px !important;
        border-bottom: 1px solid var(--servicos-borda) !important;
    }

    .servicos-section .servicos-mobile-back {
        display: inline-flex !important;
        background: #f2f6f8 !important;
        border: 1px solid var(--servicos-borda) !important;
        border-radius: 9px !important;
    }

    .servicos-section .servicos-toolbar { display: none !important; }

    .servicos-section .servicos-bootstrap-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 9px !important;
        padding: 14px 0 0 !important;
    }
}

/* Ajustes finos de fontes para smartphones muito pequenos */
@media (max-width: 390px) {
    .servicos-section { padding-right: 8px !important; padding-left: 8px !important; }
    .servicos-section .servicos-desktop-layout { padding: 18px 11px 11px !important; }
    .servicos-section .servicos-title { font-size: 1.35rem !important; }
    .servicos-section .servico-link { font-size: .8rem !important; }
    .servicos-section .servicos-mobile-title { font-size: 1rem !important; }
}

/* ==========================================================================
   MODO MOBILE APLICADO POR CLASSE (EVITA DEPENDÊNCIA DA TAG VIEWPORT)
   ========================================================================== */
.servicos-section.is-mobile-view {
    padding: 18px 10px !important;
}

.servicos-section.is-mobile-view .container {
    padding: 0 !important;
}

.servicos-section.is-mobile-view .servicos-container {
    border-top-width: 4px !important;
    border-radius: 14px !important;
}

.servicos-section.is-mobile-view .servicos-desktop-layout {
    display: block !important;
    padding: 20px 14px 14px !important;
}

.servicos-section.is-mobile-view .servicos-topbar {
    display: block !important;
    padding-bottom: 18px !important;
    border-bottom: 0 !important;
}

.servicos-section.is-mobile-view .servicos-title {
    font-size: 1.55rem !important;
    line-height: 1.2 !important;
}

.servicos-section.is-mobile-view .servicos-description {
    margin-top: 8px !important;
    font-size: .86rem !important;
}

.servicos-section.is-mobile-view .servicos-institucional {
    width: 100% !important;
    max-width: none !important;
    margin-top: 16px !important;
    padding: 9px 11px !important;
}

.servicos-section.is-mobile-view .servicos-bootstrap-tabs {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 9px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

.servicos-section.is-mobile-view .servicos-tab {
    min-height: 62px !important;
    padding: 10px 12px !important;
    border-radius: 10px !important;
}

.servicos-section.is-mobile-view .servicos-tab span strong {
    font-size: .9rem !important;
}

.servicos-section.is-mobile-view .servicos-mobile-all {
    display: flex !important;
    width: 100% !important;
    min-height: 54px !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: 14px !important;
    background: var(--servicos-marinho) !important;
    border: 1px solid var(--servicos-marinho) !important;
    border-radius: 10px !important;
}

.servicos-section.is-mobile-view .servicos-main {
    display: none !important;
}

/* Quando a tela de detalhes específica está ativa no celular */
.servicos-section.is-mobile-view .servicos-container.is-mobile-detail .servicos-topbar,
.servicos-section.is-mobile-view .servicos-container.is-mobile-detail .servicos-mobile-home {
    display: none !important;
}

.servicos-section.is-mobile-view .servicos-container.is-mobile-detail .servicos-main { 
    display: block !important; 
}

.servicos-section.is-mobile-view .servicos-mobile-detail {
    display: flex !important;
    padding: 2px 0 16px !important;
    border-bottom: 1px solid var(--servicos-borda) !important;
}

.servicos-section.is-mobile-view .servicos-mobile-back {
    display: inline-flex !important;
    background: #f2f6f8 !important;
    border: 1px solid var(--servicos-borda) !important;
    border-radius: 9px !important;
}

.servicos-section.is-mobile-view .servicos-toolbar {
    display: none !important;
}

.servicos-section.is-mobile-view .servicos-bootstrap-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 9px !important;
    padding: 14px 0 0 !important;
}

.servicos-section.is-mobile-view .servico-link {
    min-height: 56px !important;
    padding: 9px 11px !important;
    font-size: .82rem !important;
}

.servicos-section.is-mobile-view .servicos-mobile-title {
    font-size: 1rem !important;
}

/* ==========================================================================
   BLOCO INSTITUCIONAL UNIFICADO - HISTÓRIA E LOCALIZAÇÃO
   Responsável: Eduardo
   Última atualização: 17/07/2026
========================================================================== */

.cidade-institucional-section {
    padding: 70px 0;
    background-color: #f3f5f7;
}

.cidade-institucional-card {
    width: 100%;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid rgba(17, 61, 100, 0.1);
    border-radius: 22px;
    box-shadow: 0 18px 48px rgba(17, 61, 100, 0.14);
}

.cidade-institucional-linha {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 430px;
}

.cidade-institucional-linha + .cidade-institucional-linha {
    border-top: 1px solid #e4e9ed;
}

/* ==========================================================================
   IMAGEM
========================================================================== */

.cidade-institucional-imagem {
    min-width: 0;
    min-height: 430px;
    overflow: hidden;
}

.cidade-institucional-imagem img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

/* ==========================================================================
   CONTEÚDO
========================================================================== */

.cidade-institucional-conteudo {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
}

.cidade-institucional-etiqueta {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 10px;
    color: #dc3545;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cidade-institucional-conteudo h2 {
    position: relative;
    margin: 0 0 25px;
    padding-bottom: 14px;
    color: #113d64;
    font-size: clamp(2rem, 3vw, 2.7rem);
    font-weight: 800;
    line-height: 1.15;
}

.cidade-institucional-conteudo h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 65px;
    height: 4px;
    background-color: #dc3545;
    border-radius: 20px;
}

.cidade-institucional-conteudo p {
    margin: 0 0 16px;
    color: #526371;
    font-size: 0.96rem;
    line-height: 1.75;
}

/* ==========================================================================
   BLOCO DE LOCALIZAÇÃO
========================================================================== */

.localizacao-conteudo-novo {
    color: #ffffff;
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 255, 255, 0.12),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            #03a9f4 0%,
            #03a9f4 45%,
            #03a9f4 100%
        );
}

.localizacao-conteudo-novo h2,
.localizacao-conteudo-novo strong {
    color: #ffffff;
}

.localizacao-conteudo-novo h2::after {
    background-color: #f2c300;
}

.localizacao-conteudo-novo p {
    color: rgba(255, 255, 255, 0.82);
}

.etiqueta-branca {
    color: rgba(255, 255, 255, 0.76);
}

.cidade-institucional-lista {
    display: grid;
    gap: 18px;
    margin: 10px 0 28px;
}

.cidade-institucional-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.cidade-institucional-item > i {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #113d64;
    background-color: #ffffff;
    border-radius: 11px;
}

.cidade-institucional-item > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.cidade-institucional-item strong {
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.cidade-institucional-item span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
    line-height: 1.45;
}

/* ==========================================================================
   MAPA
========================================================================== */

.cidade-institucional-mapa {
    min-width: 0;
    min-height: 430px;
    overflow: hidden;
}

.cidade-institucional-mapa iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 430px;
    border: 0;
}

/* ==========================================================================
   BOTÕES
========================================================================== */

.cidade-institucional-botao {
    display: inline-flex;
    align-self: flex-start;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 8px;
    padding: 11px 22px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 10px;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

.historia-botao-novo {
    color: #ffffff;
    background-color: #dc3545;
}

.historia-botao-novo:hover {
    color: #ffffff;
    background-color: #bd2937;
    box-shadow: 0 10px 22px rgba(220, 53, 69, 0.25);
    transform: translateY(-2px);
}

.mapa-botao-novo {
    color: #113d64;
    background-color: #f2c300;
}

.mapa-botao-novo:hover {
    color: #113d64;
    background-color: #ffd321;
    transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVIDADE - TABLET E SMARTPHONE
========================================================================== */

@media (max-width: 991.98px) {
    .cidade-institucional-section {
        padding: 50px 0;
    }

    .cidade-institucional-linha {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .cidade-institucional-imagem,
    .cidade-institucional-imagem img {
        min-height: 350px;
        height: 350px;
    }

    .cidade-institucional-conteudo {
        padding: 38px;
    }

    .cidade-institucional-mapa,
    .cidade-institucional-mapa iframe {
        min-height: 360px;
        height: 360px;
    }
}

/* ==========================================================================
   RESPONSIVIDADE - CELULAR
========================================================================== */

@media (max-width: 575.98px) {
    .cidade-institucional-section {
        padding: 30px 0;
    }

    .cidade-institucional-section .container {
        padding-right: 12px;
        padding-left: 12px;
    }

    .cidade-institucional-card {
        border-radius: 16px;
    }

    .cidade-institucional-imagem,
    .cidade-institucional-imagem img {
        min-height: 250px;
        height: 250px;
    }

    .cidade-institucional-conteudo {
        padding: 28px 21px;
    }

    .cidade-institucional-conteudo h2 {
        margin-bottom: 20px;
        font-size: 1.75rem;
    }

    .cidade-institucional-conteudo p {
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .cidade-institucional-mapa,
    .cidade-institucional-mapa iframe {
        min-height: 280px;
        height: 280px;
    }

    .cidade-institucional-botao {
        width: 100%;
        align-self: stretch;
    }
}

/* ========================================================================== 
   RODAPÉ PADRÃO DO SITE

   Responsável: Eduardo
   Última atualização: 17/07/2026

   Descrição:
   • Complementa a estrutura responsiva criada com o Bootstrap.
   • Aplica as cores institucionais, a apresentação da logo e os links.
   • Exibe a faixa institucional colorida antes do rodapé.
   • Mantém o mesmo rodapé em todas as páginas do site.
========================================================================== */

.site-footer {
    position: relative;
    background-color: #113d64;
    border-top: 1px solid #ffffff;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(
        to right,
        #113d64 0%,
        #113d64 25%,
        #198754 25%,
        #198754 50%,
        #f2c300 50%,
        #f2c300 75%,
        #dc3545 75%,
        #dc3545 100%
    );
}

.site-footer .site-footer-logo {
    max-width: 270px;
}

.site-footer .site-footer-title::after {
    content: "";
    display: block;
    width: 34px;
    height: 3px;
    margin-top: 9px;
    background-color: #f2c300;
}

.site-footer .site-footer-item i {
    color: #f2c300;
    line-height: 1.5;
}

.site-footer .site-footer-text,
.site-footer .site-footer-link {
    font-size: 0.88rem;
    line-height: 1.65;
}

.site-footer .site-footer-link:hover {
    color: #f2c300 !important;
}

.site-footer .site-footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.site-footer .site-footer-social a:hover {
    color: #113d64 !important;
    background-color: #f2c300;
    border-color: #f2c300;
}

.site-footer .site-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    /* color: rgba(255, 255, 255, 0.75); */
    font-size: 0.8rem;
}
