*{
    font-family: "DM Sans", sans-serif;
    line-height: 125%;
    max-width: 100%;
}

/* Margens e distribuição de elementos */

.content{
    width: 85%;
    margin: 0 auto;
}

.margem{
    margin: 50px 0;
}

.d_flex{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.d_flex_center{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

span a{
    background-color: #D23A3E;
    padding: 12px 30px 10px 30px;
    font-size: 16px;
    color: #FFF;
    float: left;
    border-radius: 35px;
    cursor: pointer;
    display: block;
}


/* *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** */

/* Header */

#header{
    border-top: 30px solid #cba453;
    width: 100%;
    z-index: 3;
}

#menu ul{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    text-transform: uppercase;
    color: #CCC;
    list-style: none;
}

#menu ul > li{
    padding: 0 20px;
    position: relative;
}

#menu a{
    font-size: 15px;
    color: #777;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap; /* Impede quebra de linha */
}

#menu a:hover{
    color: #BF1717;
}


#menu .dropdown{
    display: none;
    position: absolute;
    top: 100%;
    left: 15px;
    width: 200px;
    background-color: #D23A3E;
    z-index: 1000;
    min-width: 200px;
    white-space: nowrap;
    border-top: 10px solid #FFF;
}

#menu .has-submenu:hover .dropdown{
    display: block;
}

#menu .dropdown > li{
    padding: 0;
}

#menu .dropdown li a{
    display: block;
    padding: 10px 15px;
    color: #fff;
    margin: 0;
}

#menu .dropdown li a:hover{
    background-color: #b02024;
}

#logo{
    margin: -20px 0;
    padding: 0!important;
    z-index: 5
}

#logo a{
    width: 210px;
    height: 210px;
    border-radius: 100%;
    background-color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0 25px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 20px -20px;
}

#logo img{
    flex: 0 auto;
    max-width: 150px
}


/* *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** */

/* Rodapé */

footer{
    margin-top: 50px;    
    background-color: #F5F5F5;
}

footer .logomarca{
    padding: 40px;
}

footer .logomarca img{
    height: 90px;
}

.copyright{
    padding-bottom: 25px;
    font-size: 13px;
    text-align: center;
    color: #999;
}

.copyright .criacao{
    margin-top: 5px;
    font-weight: 400;
}

.copyright .criacao a{
    font-weight: bold;
    color: #999;
}


/* *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** */

/* Padrões */

.caixa_h1{
background-size: 100%;
padding: 75px 0;
}

.caixa_h1 h1{
color: #FFF;
font-size: 35px;
font-weight: 600;
}

.caixa_h1 h4{
color: #FFF;
font-size: 18px;
font-weight: 400;
margin-top: 15px;
}


/* *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** */

/* Principal */

h1{
    font-weight: 900;
    font-size: 70px;
    color: #D23A3E;
    line-height: 90%;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

h2{
    font-weight: 700;
    font-size: 50px;
    color: #D23A3E;
    line-height: 90%;
    margin-bottom: 25px;
    text-align: center;
}

/* Slider */

.slider{
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.slides{
    display: flex;
    transition: transform 0.7s ease;
}

.slide{
    min-width: 100%;
    display: flex;
    height: 450px;
    align-items: center;
    z-index: 0;
}

.info{
    padding: 20px;
    width: 450px;
    margin-left: 60%;
}

.info h2{
    color: #FFF;
    font-size: 60px;
    line-height: 95%;
}

.info p{
    color: #FFF;
    font-size: 20px;
    margin-top: 20px;
}

.prev, .next{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #FFF;
    border: none;
    padding: 20px;
    border-radius: 100px;
    cursor: pointer;
    font-size: 20px;
    margin: 25px;
}

.prev i, .next i{
    padding: 0;
    margin: 0;
}

.prev{ left: 10px; }
.next{ right: 10px; }
.nav-dots{
    text-align: center;
    position: absolute;
    bottom: 25px;
    width: 100%;
}

.nav-dots .dot{
    display: inline-block;
    width: 15px; height: 15px;
    margin: 0 6px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #FFF;
}

.nav-dots .dot.active{ background: #BF1717; }

/* Municípios */

.municipios-slider-container{
    width: 90%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 400px;
    margin-top: 50px;
    padding: 0;
}

.municipios-slider-track{
    position: relative;
    width: 100%;
    height: 100%;
}

.municipios-slide-item{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.municipios-slide-item.active{
    opacity: 1;
    pointer-events: auto;
}

.municipio-card{
    display: flex;
    width: 49.5%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    align-items: flex-end;
    background-color: #EEE;
    background-size: cover;
}

.municipio-card .nome{
    width: 100%;
    text-align: center;
    color: #FFF;
    font-size: 27px;
    font-weight: 600;
    text-shadow: 1px 1px 1px #000;
    margin-bottom: 25px;
}

.middle-circle{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 50%;
    padding: 30px;
    width: 300px;
    height: 300px;
    text-align: center;
    z-index: 2;
    display: flex;
    align-items: center;
}

.middle-circle h2{
    margin: 0;
    line-height: 100%;
    font-size: 35px;
    color: #c62828;
}

.middle-circle p{
    font-size: 15px;
    color: #666;
    margin-top: 10px;
}

.nav-arrow{
    z-index: 3;
    color: #D23A3E;
    cursor: pointer;
    font-size: 40px;
    padding: 0 15px;
}

#municipiosOriginais{
    display: none;
}

/* Serviços */

.principal .servicos{
    margin-bottom: 50px;
}

.principal .servicos h2{
    text-align: center;
}

.principal .servicos article{
    flex-basis: 23%;
    border: 2px solid #D23A3E;
    border-radius: 25px;
}

.principal .servicos article h3{
    font-weight: 700;
    font-size: 22px;
    color: #D23A3E;
    line-height: 90%;
    margin-bottom: 15px;
}

.principal .servicos article span a{
    width: 100%;
    text-align: center;
}

.principal .servicos article img{
    border-radius: 20px 20px 0 0;
}

.principal .servicos article .conteudo{
    padding: 20px;
}

.principal .servicos article .text{
    height: 150px;
}

/* Conheça */

.principal .conheca{
    width: 80%;
    margin: 0 auto;
    margin-top: 50px;
}

.conheca .d_flex{
    align-items: center;
}

.conheca .text{
    flex-basis: 50%;
}

.conheca .foto{
    flex-basis: 45%;
    background-color: #F5F5F5;
    padding: 15px;
}


/* *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** */

/* Notícias */

.noticias .leitura{
    width: 75%;
    margin: 0 auto;
}

.noticias .primeira{
    margin-bottom: 25px;
    padding: 0 50px 25px 0;
    border-bottom: 1px dashed #EEE;
}

.noticias .leitura .publicado{
    font-size: 12px;
    margin: 15px 0;
}

.noticias .leitura h2{
    text-transform: none;
    font-weight: 700;
    font-size: 40px;
    margin: 0;
    color: #D23A3E;
    line-height: 110%;
}

.noticias .leitura .manchete{
    font-size: 18px;
    color: #555;
    margin-top: 10px;
    padding: 0;
}

.noticias .leitura .imagem-principal{
    background-color: #FAFAFA;
    text-align: center;
    background-repeat: repeat;
    margin: 50px 0;
    border-radius: 5px;
}

.noticias .leitura .imagem-principal img{
    width: 750px;
    max-width: 100%;
    border-radius: 5px;
}

.noticias .leitura .texto{
    text-align: justify;
    margin-bottom: -25px;
}

.noticias .leitura .texto p{
    margin-bottom: 10px;
}

.noticias .leitura .texto a{
    color: #D23A3E;
    font-weight: bold;
    text-decoration: underline;
}

.noticias .leitura .galeria{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 35px;
}

.noticias .leitura .galeria article{
    flex-basis: 19%;
    margin: 0 0.5%;
    padding: 0;
}


/* Box aviso de cookies */

.box-cookies.hide{
display: none !important;
}

.box-cookies{
    max-width: 450px;
    position: fixed;
    padding: 25px;
    background-color: #D23A3E;
    width: 100%;
    z-index: 998;
    bottom: 35px;
    left: 35px;
}

.box-cookies h2{
    margin-bottom: 10px;
    font-size: 18px;
    color: #FFF;
    font-weight: bold;
}

.box-cookies p{
    font-weight: normal;
    font-size: 14px;
    margin-bottom: 10px;
    color: #FFF;
}

.box-cookies .btn-cookies{
    background: #FFF;
    padding: 10px 25px;
    cursor: pointer;
    align-self: normal;
    border: 0;
    color: #131D5E;
    margin-top: 5px;
    border-radius: 5px;
    font-weight: 500;
}



/* Barras de rolagem */

.responsive{
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.responsive iframe{
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}


/* Paginação */

.paginacao{
width: 100%;
}

.paginacao span{
    background: #D23A3E;
    color: #FFF;
    margin: 0 2px;
    padding: 10px 15px;
    font-size: 14px;
    border-radius: 50px;
    font-weight: 500;
}

.paginacao a{
    background: #EEE;
    color: #555;
    margin: 0 2px;
    padding: 10px 15px;
    font-size: 14px;
    border-radius: 50px;
}

.paginacao a:hover{
    background: #D23A3E;
    color: #FFF;
}

::-webkit-scrollbar{
    width: 10px;
}

::-webkit-scrollbar-track:enabled{
    background-color: #FAFAFA;
}

::-webkit-scrollbar-thumb:vertical{
    background-color: #D23A3E;
}

::-webkit-scrollbar-thumb:horizontal{
    background-color: #D23A3E;
}

/* Estilo de galeria de Imagens */

.gallery img{
    opacity: 0.75;
    border-radius: 5px;
}

.gallery img:hover{
    opacity: 1;
}

.galeria{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 50px;
}

.galeria article{
    flex-basis: 16%;
    margin: 10px;
    background: #FFF;
    border-radius: 5px;
}

p{
font-size: 16px;
margin-bottom: 10px;
}

p:last-child{
margin: 0;
}

b{
font-weight: 500;
}

p a{
color: #076AF1;
font-weight: bold;
}

i{
margin-right: 5px;
}

/* Página de Erro */

.erro404,
.sem-registro{
    overflow: hidden;
    padding-top: 50px;
}

.erro404 h2,
.sem-registro h2{
    font-size: 100px;
    font-weight: 900;
    letter-spacing: -5px;
    margin: 0;
    line-height: 75%;
    text-align: left;
}

.erro404 h3,
.sem-registro h3{
    text-transform: uppercase;
    font-size: 30px;
    margin: 0;
    margin-top: 35px;
    font-weight: 600;
    color: #D23A3E;
}

.erro404 p,
.sem-registro p{
    max-width: 400px;
    margin: 0;
    margin-top: 20px;
}


/* Listas */

.lista{
    margin-bottom: -35px;
}

.lista.d_flex{
    justify-content: flex-start;
    align-items: stretch;
}

.lista article{
    flex-basis: 32%;
    margin: 0 2% 35px 0;
    background-color: #F5F5F5;
    border-radius: 5px;
}

.lista article:nth-child(3n){
    margin-right: 0;
}

.lista article .informacoes{
    padding: 25px 35px;
}

.lista article .info_sublinhado{
    color: #555;
    font-size: 12px;
    margin: 15px 0 10px 0;
}

.lista article h4 a{
    color: #000;
    font-size: 18px;
    font-weight: 600;
}

.lista article .manchete{
    color: #000;
    font-size: 15px;
    margin-top: 5px;
}




.como-chegar .card{
    overflow: hidden;
    transition: all 0.3s ease;
    border-bottom: 1px solid #9A9A9A;
}

.como-chegar .card-header{
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 25px;
    gap: 15px;
    position: relative;
}

.como-chegar .card-header img{
    width: 150px;
    height: 105px;
    background-color: #F5F5F5;
}

.como-chegar .card-header h2{
    margin: 0;
    font-size: 20px;
    color: #c0392b;
}

.como-chegar .toggle-icon{
    background-color: #F5F5F5;
    border-radius: 100%;
    position: absolute;
    right: 20px;
    font-size: 30px;
    padding: 13px 25px;
    transition: transform 0.3s;
    color: #9A9A9A;
    font-weight: 200;
}

.como-chegar .card.expanded .toggle-icon{
    transform: rotate(135deg);
    background-color: #FFF;
    color: #c0392b;
}

.como-chegar .card.expanded{
    background-color: #F5F5F5;
}

.como-chegar .card-body{
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    padding: 25px;
}

.como-chegar .card.expanded .card-body{
    max-height: 500px;
    opacity: 1;
    padding: 15px;
}

.como-chegar span a{
    margin-top: 25px;
}