body{
    background: #d9e6ec;
}

main{

}

.box{
    position: relative;
    width: 100%;
    background: #fff;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    z-index: 500;
}
.box b{
    color: var(--azul);
}
@media only screen and (min-width: 541px), only screen and (min-device-width: 541px) {
    .box{
        padding: 3em 3em 3em 3em;
        margin: -100px auto 0 auto;
    }
}
@media only screen and (max-width: 540px), only screen and (max-device-width: 540px) {
    .box{
        padding: 1em 1em 1em 1em;
        margin: -50px auto 0 auto;
    }
}

.botoes{
    position: relative;
    z-index: 501;
    background: linear-gradient(#fff 50%, transparent 50%);
}
.botoes .abas{
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    background: var(--azul);
}
.botoes .abas .aba{
    position: relative;
    flex: 1;
}
.botoes .abas .aba a{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8em;
    background: var(--verde);
}
.botoes .abas .aba a:hover{
    text-decoration: none;
    background: var(--verde_hover);
}
.botoes .abas .aba a.ativo{
    background: var(--azul_claro);
}
.botoes .abas .aba a .icone{

}
.botoes .abas .aba a .icone img{
    display: block;
    width: 100%;
    aspect-ratio: 48/48;
}
.botoes .abas .aba a .texto{
    font-weight: 900;
    color: #fff;
}
.botoes .abas .aba a.ativo .texto{
    color: var(--verde);
}
.botoes .aba .selecionado{
    display: none;
    position: absolute;
    max-width: 143px;
    aspect-ratio: 143/43;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 100%);
    background: url("../imagens/bg-selecionado.png") center center no-repeat;
}
.painel{
    margin: 1em 0 0 0;
    padding: 1em;
    background: var(--azul_claro);
    border-radius: 30px;
}
.painel iframe{
    width: 100%;
    height: 56vw;
    border: none;
    border-radius: 30px;
}
@media only screen and (min-width: 1025px), only screen and (min-device-width: 1025px) {
    .botoes .abas{
        flex-wrap: nowrap;
        padding: 1em;
        gap: 1em;
        border-radius: 100px;
    }
    .botoes .abas .aba a{
        gap: 1em;
        border-radius: 100px;
    }
    .botoes .abas .aba a .icone img{
        max-width: 48px;
    }
    .botoes .abas .aba a .texto{
        font-size: 1em;
    }
    .botoes .aba .selecionado{
        width: 100%;
    }
}
@media only screen and (max-width: 1024px), only screen and (max-device-width: 1024px) {
    .botoes .abas{
        flex-wrap: nowrap;
        padding: 0.5em;
        gap: 0.5em;
        border-radius: 60px;
    }
    .botoes .abas .aba a{
        gap: 0.5em;
        border-radius: 60px;
    }
    .botoes .abas .aba a .icone img{
        gap: 0.5em;
        max-width: 20px;
    }
    .botoes .abas .aba a .texto{
        font-size: 0.7em;
    }
    .botoes .aba .selecionado{
        width: 80%;
        background-size: contain;
    }
}
@media only screen and (max-width: 540px), only screen and (max-device-width: 540px) {
    .botoes .abas{
        flex-wrap: wrap;
        border-radius: 32px;
    }
    .botoes .abas .aba{
        flex: 100%;
    }
    .botoes .abas .aba a{
        border-radius: 32px;
    }
    .botoes .abas .aba a .texto{
        font-size: 1em;
    }
    .botoes .aba .selecionado{
        height: 0px;
    }
}

.links{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 90%;
    margin: 3em auto 0 auto;
    background: url("../imagens/bg-conexao.png") center center no-repeat;
}
.links .botao,
.links .conexao{
    flex: 1;
}
.links .botao a{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8em;
    background: var(--verde);
}
.links .botao a:hover{
    text-decoration: none;
    background: var(--verde_hover);
}
.links .botao a .icone{

}
.links .botao a .icone img{
    display: block;
    width: 100%;
    aspect-ratio: 48/48;
}
.links .botao a .texto{
    font-weight: 900;
    color: #fff;
}
.links .conexao{
    background: url("../imagens/bg-conexao.png") center center no-repeat;
    background-size: cover;
}
.blog{
    margin: 3em auto 0 auto;
    padding: 1em 0 1em 0;
    background: #b6d3df;
    border-radius: 50px;
}
.blog .titulo{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1em;
}
.blog .titulo .a1,
.blog .titulo .a2{
    flex: 1;
    background: url("../imagens/bg-blog.png") no-repeat;
    aspect-ratio: 180/30;
}
.blog .titulo .a1{
    background-position: -25px center;
}
.blog .titulo .a2{
    background-position: calc(100% + 30px) center;
}
.blog .titulo h1{
    flex: 1;
    font-size: 1.8em;
    line-height: 1em;
    color: var(--verde);
    text-align: center;
}
.blog .quadro{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 2em;
    padding: 1em 2em;
}
.blog .quadro .esquerda{

}
.blog .quadro .direita{
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 2em;
}
.blog .quadro .direita .cima{

}
.blog .quadro .direita .baixo{

}
.blog a{
    text-decoration: none;
}
.blog article{
    display: grid;
    grid-template-rows: 1fr auto;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0px 0px 15px 3px #8fb8bf;
}
.blog article .imagem{
    position: relative;
}
.blog article .imagem::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0) calc(100% - 100px),
            rgba(255, 255, 255, 1) 100%
    );
    pointer-events: none;
}
.blog .esquerda article .imagem{
    /*min-height: 25vh;
    max-height: 50vh;*/
}
.blog .direita article .imagem{
    min-height: 15vh;
    max-height: 25vh;
}
.blog article .imagem img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog article .textos{
    padding: 1em 2em 2em 2em;
}
.blog article .textos h2{
    font-size: 1.1em;
    font-weight: bold;
    color: var(--verde);
}
.blog article .textos p{
    margin-top: 1em;
    font-size: 0.9em;
    color: #567180;
}
@media only screen and (min-width: 1025px), only screen and (min-device-width: 1025px) {
    .links .botao a{
        gap: 1em;
        border-radius: 100px;
    }
    .links .botao a .icone img{
        max-width: 48px;
    }
}
@media only screen and (max-width: 1024px), only screen and (max-device-width: 1024px) {
    .links .botao a{
        gap: 0.5em;
        border-radius: 60px;
    }
    .links .botao a .icone img{
        max-width: 30px;
    }
    .blog .quadro{
        grid-template-columns: 1fr;
    }
}
@media only screen and (max-width: 540px), only screen and (max-device-width: 540px) {
    .links{
        gap: 1em;
        background: none;
    }
    .links .botao a .icone img{
        max-width: 20px;
    }
    .links .conexao{
        display: none;
    }
}