@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

* {
  margin: 0;
  padding: 0;
}
html, body{
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}
body {
    font-family:  'Lato', 'Segoe UI', sans-serif;   
    background-color: #fcfdff;
    color: #202020;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
body.fade-in {
  opacity: 1;
  transition: opacity 0.3s ease-in;
}

body.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #053d8e;
}
.logo-header {
  height: 40px;
  width: auto;
}
.wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}
main {
    flex: 1;
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: 20px auto; 
}
footer {
    background-color: #053d8e;
    color: white;
    text-align: center;  
    padding: 1em;
    margin-top: auto; /* empurra o footer para o fim */
}
a {
    text-decoration: none !important;
    color: #333;
}
a:hover{
    text-decoration: none;
}
.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}
h1{
    font-size: 1em;
}
/*-----------------------------BANNER DA PAGINA PRINCIPAL*/
.banner {
  background-image: url('img/banner/banner.png');
  position: relative;
  height: 250px;
  width: 100%;
  background-size: contain; 
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.titulo-banner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);  
    z-index: 2;
    padding: 0 20px;
    width: 100%;
}
.titulo-banner h1, h2{
    font-family: 'Montserrat black', sans-serif;
}
.titulo-banner h1{    
    color: #053d8e;
    font-size: 3.5rem;
    text-align: center;
    font-weight: 900;
}
.titulo-banner h2{
    color: #053d8e;
    font-size: 2.5rem;
    text-align: center;
}
.breadcrumb {
    --bs-breadcrumb-padding-x: 30px;
}
.nav-breadcrumb {
    width: 100%;
}
/*-----------------------------CONTAINER PRINCIPAL DO SITE*/
.container-principal {  
    display: flex;
    flex-direction: column;  
    align-items: center;
    background-color: #fffefe;   
    flex: 1;
}
.container-conteudo{
    display: flex;
    width: 96%;
    flex-direction: row;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.container-texto{
    width: 80%;
    display: flex;
    flex-direction: column;
    padding: 2%;
}
.container-texto h1{
    font-size: 1.5em;
    font-weight: bold;
}
.conteudo-texto{
    width: 100%;    
}
.container-texto h1{
    font-family: 'montserrat';
    font-weight: bold;
    color: #000000;
}
.conteudo-texto h1{
    font-size: 1.5em;     
}
.conteudo-texto h2{
    font-size: 1.4em; 
}
.conteudo-texto h3{
    font-size: 1.3em;
}
.conteudo-texto p {
    font-size: 1.1em;
    font-weight: 100;  
    line-height: 1.5;  
}
.conteudo-texto ul{
    margin-left: 50px;
}
.conteudo-texto ul li{
    font-weight: 100;
}
/*-----------------------------------------------------MENU*/
.menu-lateral {   
    max-height: none;
    overflow: visible;    
    width: 100%;
    background-color: #fffefe;
    padding: 20px;
    border-radius: 10px;
}
.menu-lateral ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.menu-lateral li{
    border-bottom: 1px solid #ccc;
    padding: 12px 0;
}

.menu-lateral li:last-child{
    border-bottom: none;
}
.menu-lateral a{
    font-family: 'montserrat';
    color: #000000;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}
.menu-lateral a:hover {
  color: #ffd700;
}
.menu-lateral.active {
    display: block;
    opacity: 1;
    max-height: 500px;    
}
/*Menu hamburguer*/
.menu-toggle {
    display: none;  
}
.menu-text{
    display: none;
}
/*FIM MENU*/

/*-----------------------------CARD BASE PARA TODOS OS CARDS*/
.card-base {    
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #000957;
}
.card-base:hover {
    transform: translateY(-5px);
}
.card-base h2 {
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    color: var(--cor-principal);
    margin-bottom: 10px;
    padding: 0 0 20px 0;    
}
.card-base h3 {
    font-size: 1.1rem;
    color: var(--cor-principal);
    margin-bottom: 10px;
    font-weight: 400;
}

.card-base p {
    font-weight: 100;
    font-size: 1rem;
    color: #333;
}
/*-----------------------------CARD COM EXPECIFICAÇÕES DA PAGINA QUEM É QUEM*/
.grid-cards-pgquemequem {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px 20px;
}
/*------------------------------PAGINA CONTATO*/
.grid-cards-contato{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px 20px;
}
/*-----------------------------CARD COM EXPECIFICAÇÕES DA PAGINA PROJETOS */
.grid-cards-projetos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 40px 20px;
}
.card-projetos{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 310px;
    background-color: #fcfdff;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.card-titulo h2{
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    color: var(--cor-principal);
}   
.card-conteudo p{
    font-weight: 100;
    font-size: 1rem;
    color: #333;   
}
.card-btn{
    padding: 10px 20px;    
    border-radius: 5px;
    cursor: pointer;
}
.btn{
    background-color: #000957;
    width: 170px;
    padding: 8px;
    color: #ffffff;    
    transition: transform 0.3s ease;
}
.btn:hover{
    background-color: #000957;
    color:#ffd700;
    transform: translateY(-5px);    
}
/*----------------------------- GALERIA DE IMAGEM NA PÁGINA*/
.galeria {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding: 40px 20px;
}
.card-foto {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
}
.card-foto img {
  width: 100%;
  height: 250px; /* ou o tamanho que você quiser*/
  object-fit: cover;
  display: block;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.card-foto p {
  padding: 15px;
  font-size: 1rem;
  color: #333;
}
/*------------------------------------GALERIA COM TODAS AS FOTOS*/
.galeria-geral {
display: grid;
  grid-template-columns: repeat(5, 1fr); /* mais colunas para cards menores */
  gap: 20px;
  padding: 20px
}
.card-foto-galeria-geral {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
}
.card-foto-galeria-geral img {
  width: 100%;
  height: 150px; /* altura menor */
  object-fit: cover;

}
.card-foto-galeria-geral p {
  font-size: 0.8rem;
}
/*-----------------------------PAGINAS QUE POSSUEM IMAGEM E TEXTO*/
.bloco-conteudo-com-imagem {
  overflow: hidden;
}

.bloco-conteudo-com-imagem img {
  float: left;
  width: 300px;
  height: auto;
  margin-right: 30px;
  margin-bottom: 15px;
  border-radius: 10px;
}
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
}
.modal-content {
  margin: auto;
  display: block;
  max-width: 45%;
  max-height: 80%;
}
#caption {
  color: #fff;
  font-size: 1.2rem;
  text-align: center;
  max-width: 100%;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}
.pagination {
  text-align: center;
  margin-top: 20px;
}
.pagination button {
  margin: 5px;
  padding: 8px 12px;
  border: none;
  background: #333;
  color: #fff;
  cursor: pointer;
  border-radius: 5px;
}
.pagination button:hover {
  background: #555;
}
    /*----------------------------------------------------------@MEDIA----------------------------------------------------------*/
    @media (min-width:300px)and (max-width:480px) {
        main {
            display: flex;            
            align-items: center;
            width: 100%;
        }
        header {            
            padding: 1rem;            
        }
        footer {
            background-color: #0a243b;
            color: white;
            text-align: center;
            font-size: 1em;
            padding: 2em;
            margin-top: auto; 
        }
        /*----------------------------------------------------------BANNER----------------------------------------------------------*/  
        .banner {
            background-image: url('img/banner/banner480-150.png');
            position: relative;
            height: 150px;
            width: 100%;
            background-size: contain; /* ou 'contain' dependendo do efeito desejado */
            background-position: center;
            background-repeat: no-repeat;
            overflow: hidden;
        } 
        .titulo-banner {
            width: 423px;
            position: absolute;
            top: 50%;       
            left: 50%;                
            z-index: 2;                         
        }
        .titulo-banner h1{
            font-size: 2rem;
            text-align: left;
            font-weight: 900;
        }
        .titulo-banner h2{
            font-size: 1.2rem;
            text-align: left;
        }
        nav.breadcrumb, .breadcrumb {
            font-size: 0.9rem;            
        }        
        .nav-breadcrumb{
            width: 100%;
            left: 20%;
        }        
        /*----------------------------------------------------------CONTAINER PRINCIPAL DO SITE----------------------------------------------------------*/
        .container-principal {  
            display: flex;
            flex-direction: column;  
            align-items: center;
            background-color: #fffefe;
            width: 90%;   
            flex: 1;
        }
        .container-conteudo{
            display: flex;
            flex-direction: column;                      
        }
        .container-texto {
            width: 100%;
            display: flex;
            flex-direction: column;
            padding: 30px;
        }     
       /*----------------------------------------------------------MENU----------------------------------------------------------*/
       .menu-lateral {
            width: 100%;
            left: 0;
            border-radius: 0 0 20px 20px;
            max-height: 0; 
            overflow: hidden; 
            transition: max-height 0.5s ease; 
            padding: 0;        
        }
        .menu-toggle {
            width: 50px;
            margin: 0 auto;
        }        
        .menu-lateral a {
            color: #ffffff;
        }
        .menu-lateral.active {
            opacity: 1;
            max-height: 500px; 
            overflow-y: auto;
            padding: 10px;
            background-color: #0a243b;
        }
        /*classe do menu toggle*/        
        .menu-text {
            color: rgb(255, 255, 255);
            font-size: 1.2rem;
            margin-left: 10px;
            font-family: sans-serif;
        }                       
        .menu-toggle {
            display: block;
            width: 100%;
            height: 50px;
            background-image: url('img/icon/hamburguer-icon.png');
            background-size: 30px 30px;
            background-repeat: no-repeat;
            background-position: center;
            background-color: #0a243b;
            border: none;
            cursor: pointer;
            border-radius:  10px 10px 0 0;
            margin-top: 25px;          
        }
        /*----------------------------------------------------------GRID PAGINA CONTATOS----------------------------------------------------------*/
        .grid-cards-contato{
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 30px;
            padding: 40px 20px;
        }
        /*----------------------------------------------------------GRID PAGINA QUEM É QUEM----------------------------------------------------------*/
        .grid-cards-pgquemequem {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 30px;
            padding: 40px 20px;
        }
        /*----------------------------------------------------------GRID PAGINA PROJETOS----------------------------------------------------------*/
        .grid-cards-projetos {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 30px;
            padding: 40px 20px;
        }
        /*----------------------------------------------------------GALERIA PAGINA SEPARADAS----------------------------------------------------------*/
        .galeria {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 30px;
            padding: 40px 20px;
        }
        /*----------------------------------------------------------GALERIA COM TODAS AS FOTOS----------------------------------------------------------*/
        .galeria-geral {
            display: grid;
            grid-template-columns: repeat(1, 1fr);            
        }
        /**/
        .bloco-sinapir {
            flex-direction: column;
            gap: 20px;
        }
        .bloco-sinapir img {
            width: 100%;
            height: auto;
        }

        .texto-sinapir {
            font-size: 0.95rem;
        }
        /*----------------------------------------------------------SECTION QUE CONTEM IMAGEM E TEXTO----------------------------------------------------------*/
        .bloco-conteudo-com-imagem {
            display: block;
             overflow: visible;
        }
        .bloco-conteudo-com-imagem img {
             float: none;
            display: block;
            width: 53%;
            max-width: 100%;
            margin: 0 auto 15px auto;
        }
        .texto-com-imagem {
            display: block;
            text-align: left; 
        }
    }   

    @media(min-width:481px) and (max-width:768px){
        header {            
            padding: 1rem;            
        }
        main {
            display: flex;            
            align-items: center;
            width: 100%;
        }
        /*----------------------------------------------------------BANNER----------------------------------------------------------*/
        .banner {
            background-image: url('img/banner/banner768-180.png');
            position: relative;
            height: 180px;
            width: 100%;
            background-size: contain; /* ou 'contain' dependendo do efeito desejado */
            background-position: center;
            background-repeat: no-repeat;
            overflow: hidden;
        }     
        .titulo-banner {
            position: absolute;
            top: 46%;
            left: 50%;           
            z-index: 2;                         
        }
        .titulo-banner h1{
            font-size: 2rem;
            text-align: left;
            font-weight: 900;
        }
        .titulo-banner h2{
            font-size: 1.5rem;
            text-align: left;
        }
        /*----------------------------------------------------------CONTAINER PRINCIPAL DO SITE----------------------------------------------------------*/
        .container-principal {  
            display: flex;
            flex-direction: column;  
            align-items: center;
            background-color: #fffefe;
            width: 90%;   
            flex: 1;
        }
        .container-conteudo{
            display: flex;
            flex-direction: column;                      
        }
        .container-texto {
            width: 100%;
            display: flex;
            flex-direction: column;
            padding: 30px;
        }
       /*----------------------------------------------------------MENU----------------------------------------------------------*/
       .menu-lateral {
            width: 100%;
            left: 0;
            border-radius: 0 0 20px 20px;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease; 
            padding: 0;        
        }
        .menu-toggle {
            width: 50px;
            margin: 0 auto;
        }        
        .menu-lateral a {
            color: #ffffff;
        }
        .menu-lateral.active {
            opacity: 1;
            max-height: 500px; 
            overflow-y: auto;
            padding: 10px;
            background-color: #0a243b;
        }
        /*classe do menu toggle*/        
        .menu-text {
            color: rgb(255, 255, 255);
            font-size: 1.2rem;
            margin-left: 10px;
            font-family: sans-serif;
        }                       
        .menu-toggle {
            display: block;
            width: 100%;
            height: 50px;
            background-image: url('img/icon/hamburguer-icon.png');
            background-size: 30px 30px;
            background-repeat: no-repeat;
            background-position: center;
            background-color: #0a243b;
            border: none;
            cursor: pointer;
            border-radius:  10px 10px 0 0;   
            margin-top: 25px;       
        }
        /*----------------------------------------------------------GRID----------------------------------------------------------*/  
        .grid-tres-cards {
            grid-template-columns: repeat(2, 1fr);
            gap: 25px;
            padding: 30px 20px;
        }
        /*---------------------------------------------------------GRID PAGINA PROJETOS----------------------------------------------------------*/
        .grid-cards-projetos {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 30px;
            padding: 40px 20px;
        }
        /*----------------------------------------------------------GRID PAGINA QUEM É QUEM----------------------------------------------------------*/
        .grid-cards-pgquemequem {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 30px;
            padding: 40px 20px;
        }
        /*----------------------------------------------------------GRID PAGINA CONTATOS----------------------------------------------------------*/
        .grid-cards-contato{
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
            padding: 40px 20px;
        }
        /*----------------------------------------------------------GALERIA DE PAGINAS SEPARADAS----------------------------------------------------------*/
        .galeria {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 30px;
            padding: 40px 20px;
        }
        /*----------------------------------------------------------GALERIA COM TODAS AS FOTOS----------------------------------------------------------*/
        .galeria-geral {
            display: grid;
            grid-template-columns: repeat(3, 1fr);            
        }
        /**/
        .bloco-sinapir {
            flex-direction: column;
            gap: 25px;
        }

        .bloco-sinapir img {
            width: 100%;
            height: auto;
        }

        .texto-sinapir {
            font-size: 1rem;
        }
        /*----------------------------------------------------------SECTION QUE CONTEM IMAGEM E TEXTO----------------------------------------------------------*/
        .bloco-conteudo-com-imagem {
            display: block;
             overflow: visible;
        }
        .bloco-conteudo-com-imagem img {
             float: none;
            display: block;
            width: 53%;
            max-width: 100%;
            margin: 0 auto 15px auto;
        }
        .texto-com-imagem {
            display: block;
            text-align: left; 
        }       
    }
    @media (min-width: 769px) and (max-width: 1024px) {        
        header {            
            padding: 1rem;            
        }
        main {
            display: flex;            
            align-items: center;
            width: 100%;
        }
        /*----------------------------------------------------------BANNER----------------------------------------------------------*/
        .banner {
            background-image: url('img/banner/banner1024-200.png');
            position: relative;
            height: 200px;
            width: 100%;
            background-size: contain; /* ou 'contain' dependendo do efeito desejado */
            background-position: center;
            background-repeat: no-repeat;
            overflow: hidden;
        }      
        .titulo-banner {
            position: absolute;
            top: 50%;
            left: 50%;           
            z-index: 2;                                    
        }
        .titulo-banner h1{
            font-size: 2.5rem;
            text-align: left;
            font-weight: 900; 
        }
        .titulo-banner h2{
            color: rgb(0, 0, 0);
            font-size: 2rem;
            text-align: left;
        }
        /*----------------------------------------------------------CONTAINER PRINCIPAL DO SITE----------------------------------------------------------*/
        .container-principal {  
            display: flex;
            flex-direction: column;  
            align-items: center;
            background-color: #fffefe;
            width: 90%;   
            flex: 1;
        }
        .container-conteudo{
            display: flex;
            flex-direction: column;                      
        }
        .container-texto {
            width: 100%;
            display: flex;
            flex-direction: column;
            padding: 30px;
        }
       /*----------------------------------------------------------MENU----------------------------------------------------------*/
       .menu-lateral {
            width: 100%;
            left: 0;
            border-radius: 0 0 20px 20px;
            max-height: 0; /* Adicionado */
            overflow: hidden; /* Adicionado */
            transition: max-height 0.5s ease; /* Adicionado */
            padding: 0;        
        }
        .menu-toggle {
            width: 50px;
            margin: 0 auto;
        }        
        .menu-lateral a {
            color: #ffffff;
        }
        .menu-lateral.active {
            opacity: 1;
            max-height: 500px; 
            overflow-y: auto;
            padding: 10px;
            background-color: #0a243b;
        }
        /*classe do menu toggle*/        
        .menu-text {
            color: rgb(255, 255, 255);
            font-size: 1.2rem;
            margin-left: 10px;
            font-family: sans-serif;
        }                       
        .menu-toggle {
            display: block;
            width: 100%;
            height: 50px;
            background-image: url('img/icon/hamburguer-icon.png');
            background-size: 30px 30px;
            background-repeat: no-repeat;
            background-position: center;
            background-color: #0a243b;
            border: none;
            cursor: pointer;
            border-radius:  10px 10px 0 0;     
            margin-top: 25px;     
        }
        /*----------------------------------------------------------GALERIA COM TODAS AS FOTOS----------------------------------------------------------*/
        .galeria-geral {
            display: grid;
            grid-template-columns: repeat(3, 1fr);            
        }
        /*----------------------------------------------------------GRID PAGINA PROJETOS----------------------------------------------------------*/
        .grid-cards-projetos {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
            padding: 40px 20px;
        }
        /*----------------------------------------------------------GRID PAGINA QUEM É QUEM----------------------------------------------------------*/
        .grid-cards-pgquemequem {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
            padding: 40px 20px;
        }
    }
         
    @media (min-width: 1800px) {
        /*MENU-LATERAL*/
        .menu-lateral {
            display: block;
        }
        .menu-toggle {
            display: none;
        }/*FIM MENU-LATERAL*/
    }

    