
/* =======================
   CRITICAL CSS (carregamento inicial)
======================= */

/* Oculta elementos até que a página esteja carregada */
.js-loading *,
.js-loading *:before,
.js-loading *:after {
  animation-play-state: paused !important;
}

/* PREVENIR SCROLL HORIZONTAL */
html, body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
    font-size: 16px;
    scroll-behavior: smooth;
}

/* Garantir que todos os elementos respeitem o viewport */
*, *::before, *::after {
    box-sizing: border-box;
    max-width: 100%;
}

/* Imagens e mídia */
img, video, iframe, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

body{
    overflow-x:hidden;
    font-family:'Montserrat',sans-serif;
}
/*
section {
  scroll-margin-top: 100px;  altura da sua navbar 
}*/

p {
    font-size: 1.2rem;
    font-weight: 500;
    text-align: justify !important;
}

*,*::before,*::after{
    box-sizing:border-box;
    margin:0;
    padding:0;
}

@media (max-width: 768px) {
    p {
        font-size: 0.8rem;
    }
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: auto;
        padding-right: auto;
    }
}

img{
    max-width:100%;
    height:auto;
    display:block;
}

/* Light - 300 */
@font-face {
    font-family: 'Montserrat';
    font-weight: 300;
    font-style: normal;
    src: url('../fonts/Montserrat-Light.ttf') format('truetype');
    font-display: swap;
}

/* Regular - 400 */
@font-face {
    font-family: 'Montserrat';
    font-weight: 400;
    font-style: normal;
    src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
    font-display: swap;
}

/* SemiBold - 600 */
@font-face {
    font-family: 'Montserrat';
    font-weight: 600;
    font-style: normal;
    src: url('../fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-display: swap;
}

/* Bold - 700 */
@font-face {
    font-family: 'Montserrat';
    font-weight: 700;
    font-style: normal;
    src: url('../fonts/Montserrat-Bold.ttf') format('truetype');
    font-display: swap;
}

.titulo-imagem {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 5vw, 2.8rem); /* Responsivo */
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.2; /* Altura da linha */
    margin-bottom: 1rem;
    color: #19304d !important;
}

/* =========================================================
   RESET GLOBAL DE TRANSPARÊNCIA INDESEJADA
   ========================================================= */

main section{
    background-color:#ffffffB3;
}

/* garante que nenhuma pseudo camada interfira */
main section::before,
main section::after{
    display:none !important;
}

main section{
    display:flow-root;
}

/* =======================
    CORES
======================= */

.cor-cinza-medio {
    color: #6F6F6F !important;
}

.dourado-esmaecido {
    color: #a28b33 !important;
}

.azul-sinid {
    color: #19304d !important;
}

.verde-sinid-claro {
    color: #94d291 !important;
}

.cinza-sinid {
    background-color: #ccc !important;
}
/* =======================
   OTIMIZAÇÃO DE ANIMAÇÕES
======================= */

/* Use transform e opacity para animações performáticas */
.info-card,
.whatsapp-link {
  will-change: transform;
}

/* =======================
    BOTÕES SINID - Hover Mais Claro
======================= */

.btn-primary {
    color: #fff !important;
    background-color: #19304d !important;
    border-color: #19304d !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 0.375rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.btn-primary:hover {
    color: #fff !important;
    background-color: #2a4568 !important; /* Tom mais claro */
    border-color: #2a4568 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(42, 69, 104, 0.3) !important;
}

.btn-primary:focus {
    color: #fff !important;
    background-color: #2a4568 !important;
    border-color: #2a4568 !important;
    box-shadow: 0 0 0 0.25rem rgba(42, 69, 104, 0.5) !important;
}

.btn-primary:active,
.btn-primary.active {
    color: #fff !important;
    background-color: #19304d !important;
    border-color: #19304d !important;
    transform: translateY(0) !important;
}

.btn-primary:disabled,
.btn-primary.disabled {
    color: rgba(255, 255, 255, 0.7) !important;
    background-color: #19304d !important;
    border-color: #19304d !important;
    opacity: 0.65 !important;
}

.border-sinid {
    border: 2px solid #19304d !important;
    border-radius: 8px;
}

.btn-info {
    color: #fff !important;
    background-color: #224279 !important;
    border-color: #224279 !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 0.375rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.btn-info:hover {
    color: #fff !important;
    background-color: #35558c !important; /* Tom mais claro */
    border-color: #35558c !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(42, 69, 104, 0.3) !important;
}

.btn-info:focus {
    color: #fff !important;
    background-color: #35558c !important;
    border-color: #35558c !important;
    box-shadow: 0 0 0 0.25rem rgba(42, 69, 104, 0.5) !important;
}

.btn-info:active,
.btn-info.active {
    color: #fff !important;
    background-color: #224279 !important;
    border-color: #224279 !important;
    transform: translateY(0) !important;
}

.btn-info:disabled,
.btn-info.disabled {
    color: rgba(255, 255, 255, 0.7) !important;
    background-color: #224279 !important;
    border-color: #224279 !important;
    opacity: 0.65 !important;
}

/* =========================
   NAVBAR — SISTEMA ESCALÁVEL
========================= */
.navbar {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.container{
    width:min(1400px,92%);
    margin-inline:auto;
}

/* LOGO */
.navbar-brand img {
    height: clamp(42px, 3vw, 60px);
}

.navbar-sinid {
    background-color: #fff !important;
}
/* LINKS */
.navbar .nav-link {
    font-size: clamp(0.78rem, 0.65rem + 0.25vw, 0.95rem);
    letter-spacing: .02em;
    padding-inline: clamp(0.4rem, 0.5vw, 0.9rem) !important;

}

/* GAP ENTRE ITENS */
.navbar-nav {
    gap: clamp(0.2rem, 0.4vw, 0.7rem);
}

/* LUPA CENTRAL */
.nav-search {
    display: flex;
    align-items: center;
    gap: clamp(4px, .4vw, 10px);
    font-weight: 600;
}

/* ÍCONE LUPA */
.nav-search i {
    font-size: clamp(1.2rem, 1rem + 0.8vw, 1.9rem);
}

/* Tamanho da fonte do texto na Lupa */
.fonte-pequena {
    font-size: 0.8rem !important;
    font-family: 'Montserrat', sans-serif;
}

/* HOVER PROFISSIONAL */
.navbar .nav-link:hover {
    color: #19304d;
    transform: translateY(-1px);
}

/* NAVBAR ALTURA BALANCEADA */
.navbar {
    padding-top: clamp(4px, .4vw, 10px);
    padding-bottom: clamp(4px, .4vw, 10px);
}

/* EVITA QUE MENU QUEBRE EM TELAS MÉDIAS */
@media (max-width: 1400px) {
    .navbar .nav-link {
        font-size: 0.8rem;
    }
    .fonte-pequena {
        font-size: 0.6rem !important;
    }
}

/* NOTEBOOK 1280px — AJUSTE FINO */
@media (max-width: 1280px) {
    .navbar .nav-link {
        font-size: 0.7rem;
        padding-inline: 0.45rem !important;
    }
    .fonte-pequena {
        font-size: 0.5rem !important;
    }
}

/* TELAS MUITO GRANDES */
@media (min-width: 1920px) {
    .navbar .nav-link {
        font-size: 1rem;
    }
}

/* ========================
    IMAGEM DE FUNDO DO SITE
======================== */    
.bg-layer{
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;

  background-image: image-set(
    url("/assets/img/background-desktop.webp") type("image/webp"),
    url("/assets/img/background-desktop.png") type("image/png")
  );

  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

@media(max-width:768px){
  .bg-layer{
    background-image: image-set(
      url("/assets/img/background-celular12.webp") type("image/webp"),
      url("/assets/img/background-celular12.png") type("image/png")
    );
  }
}

/* =======================
   MAIN SECTION COM FUNDO
======================= */

/* Estilos para o elemento main */
main {
  color: #000;
}

main section {
  color: #000 !important;
  position: relative;
  z-index: 1;
}

/* Garantir que títulos e textos dentro das seções sejam brancos */
main h1,
main h2,
main h3,
main h4,
main h5,
main h6,
main p,
main li,
main span,
main div {
  font-family: Montserrat;
}

/* Ajuste para inputs e botões dentro das seções para manter legibilidade */
main section .form-control {
  background: #00000014;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #000000;
}

main section .form-control::placeholder {
  color: #000000;
}

/* Para navegação por teclado - foco visível */
main:focus {
  outline: 2px solid #0d6efd;
  outline-offset: 2px;
}

/* =======================
   CONSULTA PÚBLICA
======================= */
.consulta-publica {
    padding-top: 32vh !important; /* 15% da altura da viewport */
    padding-bottom: 2rem;
    position: relative;
    z-index: 2;
    background: transparent;
}

.consulta-card {
    background: transparent;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    max-width: 400px;
}

/* ===========================
   AJUSTE CONSULTA PÚBLICA - MOBILE
=========================== */

@media (max-width: 768px) {
    .consulta-publica {
        padding-top: 10vh !important;
        padding-bottom: 1rem;
        margin: auto;
    }
}

/* =======================
   SEÇÃO QUEM SOMOS
==================== */
.quem-title {
     font-size: 1.6rem;
}

.quem-subtitle {
    color: #19304d;
    font-size: 1.2rem;
}

.missao-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

.missao1 {
    padding: 0 3.5rem;
}
/* Bloco de texto */
.missao-texto {
    z-index: 2;
    padding: 0 1.5rem 1rem 0;
    text-align: center;
    margin-bottom: -100px; /* <<< cria o efeito de "sobreposição elegante" */
    transform: translateY(80px); 
}

/* Espaçador superior antes da seção Quem Somos */
.space {
    padding-block: clamp(80px, 25vh, 400px);
}

.img-quem-somos {
    width: 69%;
}

/* Ajuste mobile */
@media (max-width: 768px) {
    .missao-container {
        padding: 0;
        margin: 0;
    }
    .space {
        padding-block: clamp(90px, 14vh, 200px);
    }
    .missao-imagem img {
        transform: translateY(-40px); 
    }
    .img-quem-somos {
        width: 80%;
    }
}

/* Ajuste mobile */
@media (max-width: 1000px) {
    .missao1 {
        padding: 0 1rem;
    }
    .missao-texto {
        margin: 0;
        padding: 0 1rem;
        transform: none; 
    }
    .missao-imagem img {
        transform: translateY(-80px); 
    }
}
/* =======================
   SEÇÃO SOLUÇÃO
======================= */

.sobre-imagem {
    margin-bottom: -2rem;
}

.menos-top-imagem-9 {
    margin-top: -9rem;
}

.menos-top-imagem-8 {
    margin-top: -8rem;
}

.menos-top-imagem-7 {
    margin-top: -7rem;
}

.menos-top-imagem-5 {
    margin-top: -5rem;
}

.menos-top-imagem-4 {
    margin-top: -4rem;
}

.menos-top-imagem-3 {
    margin-top: -3rem;
}

.menos-top-imagem-2 {
    margin-top: -2rem;
}

.menos-top-imagem-1 {
    margin-top: -1rem;
}

.mais-top-imagem {
    margin-top: 3rem;
}

.marginbottom-5 {
    margin-bottom: 5rem;
}

@media (max-width: 768px) {
    .menos-top-imagem-9 {
        margin-top: -2rem;
    }
    .menos-top-imagem-7 {
        margin-top: -3rem;
    }
    .menos-top-imagem-3 {
        margin-top: 0;
    }
    .mais-top-imagem {
        margin-top: 2rem;
    }
    .marginbottom-5 {
        margin-bottom: 2rem; 
    }
    .menos-top-imagem-1 {
        margin-top: -3rem;
    }    
}
/* =======================
    SEÇÃO SEGURANÇA
   ==================== */
   
.bold {
    font-weight: 800;
} 


/* ===========================
   SEÇÃO RECURSOS
=========================== */

.recursos-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px 25px;
  height: 100%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: all .3s ease;
}

.recursos-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.recursos-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.recursos-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* ===========================
   SEÇÃO SEGURANÇA
=========================== */

/* Caixa de introdução */
.seguranca-box {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 40px 35px;
  height: 100%;
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* Cards */
.seguranca-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 22px 25px;
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: all .3s ease;
}

.seguranca-card h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.seguranca-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.seguranca-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* Responsividade */
@media (max-width: 768px) {


  .seguranca-box {
    padding: 30px 25px;
    margin-bottom: 30px;
  }
}

/* ===========================
   SEÇÃO CONTATO
=========================== */

.section-contato {
    position: relative;
    overflow: hidden;
}

.section-contato::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.2; /* um pouco menos que antes */
    z-index: 1;
}

.section-contato > .container {
    position: relative;
    z-index: 3;
}

@media (max-width: 768px) {
    .section-contato::before {
        opacity: 0.5;
    }
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #19304d !important;
}

.h1, .h2, .h3 {
    font-family: 'Montserrat', sans-serif;
    color: #19304d !important;
}

@media (max-width: 768) {
    h3 {
        font-weight: 500;
    }
}
.section-subtitle {
    font-size: 1.3rem !important;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center !important;
    font-family: Montserrat;
    font-weight: 500;
}

@media (min-width: 1980px) {
    .section-subtitle {
        font-size: 1.4rem !important;
    }
}
/* Box formulário
.contato-form-box {
    padding: 3rem;
    border-radius: 12px;
}
 */
/* Box informações */
.contato-info-box {
    background: rgba(255, 255, 255, 0.08);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* Lista */
.contato-info-list li {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contato-info-list a {
    color: #0d6efd;
    text-decoration: none;
}

.contato-info-list a:hover {
    text-decoration: underline;
}

/* Responsivo */
@media (max-width: 768px) {
    .section-contato {
        padding: 4rem 1rem;
    }

    .contato-form-box,
    .contato-info-box {
        padding: 2rem;
    }
}


/* Prevenir que elementos fixed/absolute causem overflow */
@media (max-width: 768px) {
    .estado-info-card,
    .tooltip-mapa,
    .tooltip-cidade-modal {
        max-width: calc(100vw - 40px) !important;
        left: 20px !important;
        right: 20px !important;
    }
}

/* =======================
   SEÇÃO VÍDEO - FAIXA COMPLETA
======================= */

.section-video {
    position: relative;
    padding: 0; /* Remove padding para a faixa ocupar toda largura */
    overflow: hidden;
}

/* Faixa que atravessa a tela inteira */
.video-faixa {
    position: relative;
    background: linear-gradient(90deg, #0a1928 0%, #1a2f44 50%, #19304d 100%);
    width: 100%;
    padding: 60px 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

/* Efeito de brilho dinâmico na faixa */
.video-faixa::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.9) 0%, transparent 70%);
    animation: rotate 12s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Linha sutil superior e inferior */
.video-faixa::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.5), transparent);
}

.video-faixa::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.5), transparent);
}

/* Conteúdo textual */
.video-content {
    padding: 20px 40px 20px 0;
    color: white;
    position: relative;
    z-index: 2;
}

.video-tag {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #ffd700;
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,215,0,0.3);
}

.video-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ccc !important;
}

.texto-dourado {
    color: #ccc !important;
    text-shadow: 0 0 20px rgba(255,215,0,0.3);
}

.video-description {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 90%;
    color: #ccc !important;
}

/* Estatísticas */
.video-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffd700;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Wrapper do vídeo */
.video-wrapper {
    position: relative;
    padding: 20px 0 20px 20px;
    z-index: 2;
}

.video-frame {
    position: relative;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 30px 50px rgba(0,0,0,0.5);
    transform: perspective(1000px) rotateY(-3deg);
    transition: all 0.5s ease;
    border: 2px solid rgba(255,215,0,0.3);
}

.video-frame:hover {
    transform: perspective(1000px) rotateY(0deg);
    border-color: rgba(255,215,0,0.8);
    box-shadow: 0 40px 70px rgba(255,215,0,0.2);
}

/* Vídeo customizado */
.custom-video {
    width: 100%;
    height: auto;
    display: block;
}

/* Efeito de brilho no vídeo */
.video-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,215,0,0.2), transparent 70%);
    pointer-events: none;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* Elementos flutuantes decorativos */
.floating-shape {
    position: absolute;
    background: rgba(255,215,0,0.05);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Utility */
.min-vh-50 {
    min-height: 50vh;
}

/* Responsividade */
@media (max-width: 991px) {
    .video-faixa {
        padding: 40px 0;
    }
    
    .video-content {
        padding: 20px;
        text-align: center;
    }
    
    .video-description {
        max-width: 100%;
    }
    
    .video-stats {
        justify-content: center;
    }
    
    .video-wrapper {
        padding: 20px;
    }
    
    .video-frame {
        transform: none;
    }
    
    .video-frame:hover {
        transform: scale(1.02);
    }
}

@media (max-width: 576px) {
    .video-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        display: flex;
        justify-content: center;
        gap: 10px;
        align-items: baseline;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

/* Overlay de play */
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.video-play-overlay:hover {
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}

.video-play-overlay:hover .play-button {
    transform: scale(1.1);
    background: #ffd700;
    color: #19304d;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255,215,0,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(255,215,0,0.5);
}

.play-button i {
    font-size: 32px;
    color: #19304d;
    margin-left: 5px; /* ajuste para centralizar o ícone */
}

.play-text {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(25,48,77,0.8);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255,215,0,0.5);
}

/* Quando o vídeo está tocando, overlay some */
.video-frame.playing .video-play-overlay {
    opacity: 0;
    pointer-events: none;
}

/* Estilo para os controles nativos do vídeo */
.custom-video::-webkit-media-controls {
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.custom-video::-webkit-media-controls-panel {
    padding: 0 10px;
}

/* Responsividade */
@media (max-width: 768px) {
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 24px;
    }
    
    .play-text {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    .video-title {
        font-size: 1rem;
    }
    .video-description {
        font-size: 0.9rem;
    }
}

/*============================
        SEÇÃO CENTRAL SINID
============================ */
.sinid-item {
    will-change: transform;
    position: relative;
    transition: transform .35s cubic-bezier(.22,.61,.36,1),
                box-shadow .35s ease,
                filter .35s ease;
    transform-style: preserve-3d;
}

.sinid-item:hover {
    transform: translateY(-10px) scale(1.06);
    box-shadow: 0 20px 50px rgba(0,0,0,.28);
}

.sinid-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .35s ease;
}

.sinid-item:hover img {
    transform: scale(1.03);
}

.sinid-item::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(to top, rgba(0,0,0,.5), transparent);
    opacity:0;
    transition:.3s;
}
/* retirar isso para retirar a cor escura da imagem no hover 
.sinid-item:hover::after{
    opacity:1;
}
 */
.tooltip-sinid {
    --bs-tooltip-bg: #19304d;  /* background do tooltip */
    --bs-tooltip-color: #ffffff;  /* cor da fonte  */
    --bs-tooltip-font-weight: 500;
    --bs-tooltip-border-radius: 10px;
    --bs-tooltip-font-size: 1.5 rem;    /* tamanho da fonte */
}

.sinid-grid {
    perspective: 1000px;
}

.back-sinid {
    background-color: #19304d !important;
}

/* ===========================
      SEÇÃO ESTATÍSTICAS
============================ */
/* Estilos para o mapa interativo */
/*#mapa-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}
*/
/* Ajuste para o container do mapa */
#mapa-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 600px;
}

#mapa-brasil {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== CORES DO MAPA ===== */
#mapa-container > svg {
    fill: #4CAF50 !important; /* Verde padrão */
    stroke: #fff !important;
    stroke-width: 0.5 !important;
}

#mapa-container .state-path {
    fill: #4CAF50 !important; /* Verde dos estados */
    stroke: #fff !important;
    stroke-width: 0.5 !important;
    transition: all 0.3s ease !important;
}

#mapa-container .state-path:hover {
    fill: #66BB6A !important; /* Verde mais claro no hover */
    cursor: pointer !important;
}

/* Estados com dados */
#mapa-container .com-dados {
    fill: #2E7D32 !important; /* Verde escuro */
}

#mapa-container .com-dados:hover {
    fill: #43A047 !important;
}

/* Estados sem dados */
#mapa-container .sem-dados {
    fill: #A5D6A7 !important; /* Verde claro */
    opacity: 0.7 !important;
}

#mapa-container .sem-dados:hover {
    fill: #81C784 !important;
    opacity: 1 !important;
}

/* Estado padrão */
#mapa-brasil path {
    fill: #6f9c76;
    stroke: #cccccc;
    stroke-width: 1;
    cursor: pointer;
    transition: fill 0.2s ease, stroke 0.2s ease;
}

/* Hover SEMPRE muda a cor */
#mapa-brasil path:hover {
    fill: #b87033; /* dourado SINID */
}

/* Estados com dados */
#mapa-brasil path.com-dados {
   /* fill: #4f7c5f;*/
   fill: #a8c6af;
}

/* Estados sem dados */
#mapa-brasil path.sem-dados {
    fill: #a8c6af;
}

/* Hover em estados com dados */
#mapa-brasil path.com-dados:hover {
    fill: #d9a441;
}

/* Hover em estados sem dados */
#mapa-brasil path.sem-dados:hover {
    fill: #d9a441;
}
 
 .mapa-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #666;
  font-size: 1.2rem;
}

.tooltip-mapa {
  position: fixed;
  background: rgba(255,255,255,0.85) !important;
  color: #19304d;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 1rem;
  pointer-events: none;
/*  z-index: 9999;*/
    z-index: 99;
  display: none;
  max-width: 250px;
}
#tooltip-mapa strong {
   /* color: #ffcc00; */
   color: #19304d;
}

/* Modal customizado */
#modalEstado .modal-content {
    background-color: transparent !important;
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#modalEstado .modal-header {
   /* background-color: #f8f9fa; 
    border-bottom: 2px solid #dee2e6;*/
    border: none;
    background-color: transparent !important;
    
    border-radius: 10px 10px 0 0;
}

#modalEstado .modal-title {
    color: #333;
    font-weight: 600;
} 

/* ==============================
   SVG DO MODAL DO ESTADO
============================== */

#modalEstado svg {
    width:100%;
    height:auto;
}

#modalEstado svg path {
    fill:#e9ecef !important;
    stroke:#495057 !important;
    stroke-width:1 !important;
}

#modalEstado svg circle {
    fill:#ff3b3b !important;
    stroke:#ffffff !important;
    stroke-width:1 !important;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    #tooltip-mapa {
        font-size: 12px;
        padding: 8px 12px;
        max-width: 180px;
    }
    
  #mapa-container {
    min-height: 600px;
    padding-bottom: 70%;
  }
  
  #mapa-container svg {
    max-height: 600px;
  }    
}

/* =======================
   TOOLTIP EXCLUSIVO DAS CIDADES
======================= */
#tooltip-cidade-modal {
    position: fixed;
    background: rgba(25, 48, 77, 0.98);
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    pointer-events: none;
  /*  z-index: 1000000;*/
    z-index: 1000;
    max-width: 250px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,215,0,0.3);
    backdrop-filter: blur(4px);
    white-space: nowrap;
}

#tooltip-cidade-modal::after {
    content: '';
    position: absolute;
    top: 50%;
    left: var(--arrow-left, -6px);
    right: var(--arrow-right, auto);
    transform: translateY(-50%);
    border-width: var(--arrow-border, 6px 6px 6px 0);
    border-style: solid;
    border-color: var(--arrow-color, transparent rgba(25, 48, 77, 0.98) transparent transparent);
}

/* Estilo para os números em destaque */
#tooltip-cidade-modal strong {
    color: #ffd700;
}

/* =======================
   CARD DE INFORMAÇÕES DO ESTADO
======================= */
/* Card de Informações do Estado - Reposicionado */
.estado-info-card {
    position: fixed;
    bottom: 120px;  /* Aumenta a distância do fundo */
    left: 10%;      
    transform: none; 
    width: 350px;    /* Largura um pouco maior */
    max-width: 90%;  /* Responsivo */
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
 /*   z-index: 100000;  /* Z-index bem alto para aparecer sobre o modal */
    z-index: 1000;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    display: none;
}

/* Responsividade */
@media (max-width: 768px) {
    .estado-info-card {
        bottom: 80px;
        left: 5%;
        width: 90%;
        transform: none;
    }
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 100%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.estado-info-header {
    background: #19304d;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.estado-info-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: white !important;
}

.estado-info-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    cursor: pointer;
}

.estado-info-header .btn-close:hover {
    opacity: 1;
}

.estado-info-body {
    padding: 20px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(5px);
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.info-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-label {
    font-weight: 500;
    color: #666;
}

.info-value {
    font-weight: 600;
    color: #19304d;
}

#estadoInfoPercentual, #estadoInfoTotal {
    color: #28a745;
    font-weight: 700;
}

/* Responsividade */
@media (max-width: 768px) {
    .estado-info-card {
        top: auto;
      /*  bottom: 20px;*/
        right: 20px;
        left: 20px;
        width: auto;
        max-width: none;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Garantir que cliques no card não fechem ele */
.estado-info-card {
    pointer-events: auto !important;
}

.estado-info-card .btn-close {
    pointer-events: auto !important;
    cursor: pointer;
}

/* Estilos para o card de cidades */
.top-cidades-section {
    border-top: 1px solid #dee2e6;
    padding-top: 1rem;
}

.top-cidades-title {
    font-size: 1rem;
    color: #495057;
    margin-bottom: 0.75rem;
}

.top-cidades-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.top-cidade-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #007bff;
}

.top-cidade-nome {
    font-weight: 500;
    font-size: 0.9rem;
}

.top-cidade-ocorrencias {
    background-color: #007bff;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.top-cidade-posicao {
    display: inline-block;
    width: 20px;
    text-align: center;
    font-weight: bold;
    color: #007bff;
    margin-right: 0.5rem;
}

/* Estilo para o select de cidades */
#selectCidade {
    background-color: white;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 0.375rem 0.75rem;
    font-size: 0.9rem;
}

/* Informações da cidade selecionada */
.cidade-info {
    background-color: #f0f7ff;
    border-radius: 6px;
    padding: 0.75rem;
    border-left: 3px solid #007bff;
}

.cidade-info-title {
    color: #0056b3;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

#estadoInfoCard {
    position: fixed;
    top: 80px;        /* altura da navbar */
    left: 20px;
    right: auto;
    bottom: auto;
    transform: none;
    z-index: 100000;
}
/* =======================
   WHATSAPP FLOAT
======================= */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.whatsapp-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}

.whatsapp-link:hover {
  background-color: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
  text-decoration: none;
}

.whatsapp-link i {
  color: white;
  font-size: 32px;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background-color: #333;
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #333;
}

.whatsapp-link:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Para dispositivos móveis */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-link {
    width: 55px;
    height: 55px;
  }

  .whatsapp-link i {
    font-size: 28px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

/* Versão alternativa para mobile - com bolinha menor */
@media (max-width: 576px) {
  .whatsapp-float {
    bottom: 80px;
    right: 20px;
  }

  .whatsapp-link {
    width: 50px;
    height: 50px;
  }

  .whatsapp-link i {
    font-size: 26px;
  }
}

@media (min-width: 1920px) {
    .whatsapp-link {
        width: 74px;
        height: 74px;
    }
}

/* Tablets */
@media (min-width: 768px) {
    .space {
        padding-block: clamp(90px, 35vh, 450px);
    }
}

/* Desktops */
@media (min-width: 1200px) {
    .space {
       /* height: 100vh;*/
    }
}

/* Telas grandes */
@media (min-width: 2560px) {
    .space {
        padding-block: clamp(300px, 35vh, 800px);
    }
}

/* ======================
   FOOTER
====================== */

.site-footer {
    background-color: #2e4e7d;
    color: #ddd;
    padding: 60px 0 30px;
    font-size: 1.1rem;
}

.footer-col {
    margin-bottom: 30px;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-subtitle {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a,
.footer-link {
    color: #bbbbbb;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact a,
.footer-contact {
    font-size: 2rem;
}

.footer-links a:hover,
.footer-link:hover {
    color: #28a745;
}

.footer-social-download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

/* Ícones */
.footer-social a {
    color: #fff;
    font-size: 1.3rem;
    margin-right: 10px;
    transition: opacity .2s ease;
}

.footer-social a:hover {
    opacity: 0.8;
}

/* Botões apps */
.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-buttons img {
    height: 48px;
    width: auto;
}

.download-buttons img[alt*="Google"] {
    height: 55px;   /* pequeno ajuste fino */
}

/* Mobile */
@media (max-width: 576px) {

    .footer-social-download {
        flex-direction: column;
        align-items: flex-start;
    }

    .download-buttons {
        margin-top: 10px;
    }
}


.footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 20px 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 1rem;
    color: #aaa;
}

/* ===== MAPA BRASIL - FORÇA VISIBILIDADE ===== */



/* ===== RESPONSIVO ===== */
@media (max-width: 1200px) {
    #mapa-container {
        min-height: 800px !important;
    }
}

@media (max-width: 992px) {
    #mapa-container {
        min-height: 700px !important;
    }
}

@media (max-width: 768px) {
  #mapa-container {
    min-height: auto;        /* Remove altura fixa */
    padding-bottom: 0;       /* Remove padding proporcional */
    height: auto;
    max-height: 500px;       /* Altura máxima razoável */
  }
  
  #mapa-container svg {
    max-height: 400px;       /* Ajusta SVG */
    width: 100%;
    height: auto;
  }
}

@media (max-width: 576px) {
    #mapa-container {
        min-height: 450px !important;
    }
    
    #mapa-container svg {
        max-height: 450px !important;
    }
}


@media (max-width: 768px) {
    body {
        font-size: 0.8rem;
    }
    .section-quem-somos,
    .section-solucoes,
    .section-central-sinid,
    .section-contratacao,
    .section-estatisticas,
    .section-video,
    .section-seguranca
    {
        padding: 0 !important;
        margin: 0 !important;
    }
    .section-title, .titulo-imagem {
        font-size: 1rem;
    }
    .quem-title {
        font-size: 1.05rem;
    }
    .quem-subtitle {
        font-size: 0.9rem;
    }
    .footer-title {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
  #mapa-container {
    min-height: auto !important;
    max-height: none !important;
    padding-bottom: 2rem !important;
    height: auto !important;
    overflow: visible !important;
  }
  
  #mapa-container svg {
    max-height: 350px !important;
    height: auto !important;
    width: 100% !important;
    display: block !important;
  }
  
  /* Garante que o SVG respeite o container */
  #mapa-container > svg,
  #mapa-container > * {
    max-width: 100%;
    max-height: 350px;
  }
}

/* Garantir que inputs ocupem 100% no mobile */
@media (max-width: 767px) {
    .section-contato .form-control {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
    
    .contato-form-box {
        width: 100% !important;
        padding: 1rem !important;
    }
    
    /* Garantir que a coluna ocupe toda largura */
    .section-contato .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
}

