
.container {
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    height: auto;
    margin: 0 auto;
    padding: 20px;
}


/* Estilo dos quadrados */
.box {
    position: relative;
    flex: 1 1 100%;
    height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
    /* Inclui padding no cálculo da largura */

}

.box img {
    max-width: 100%;
    height: auto;
}

/* Estilização da sigla do estado */
.estado-sigla {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: #D2E48E;
    font-size: 50px;
    font-family: 'Inter', sans-serif;
    padding: 5px 10px;
    border-radius: 5px;
}

/* Ajuste para telas menores */
@media (max-width: 768px) {
    .estado-sigla {
        font-size: 40px;
        padding: 4px 8px;
        bottom: 5px;
        right: 5px;
    }
}

/* 3 cores de azul */
.light-blue {
    background-color: #0A1A44;
}

.medium-blue {
    background-color: #071332;
}

.dark-blue {
    background-color: #092D53;
}

.textoajustado {
    /* ajuste dos 3 box de3 cores */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-shadow: 2px 2px 4px rgb(0, 0, 0);
    font-weight: bold;
}

.texto-imagem {
    line-height: 1;
    height: 100%;
    font-size: 4vw;
    text-align: center;
    font-family: 'Inter', sans-serif !important;
    color: #D2E48E;
}

.texto-caixa {
    font-size: 24px;
    text-align: center;
    color: white;
    font-family: 'Inter', sans-serif !important;
    padding-top: 200px;
}

.nav {
    list-style: none;
    display: flex;
    padding-right: 12em;
    justify-content: flex-end;
    gap: 50px;
    padding-top: 0 !important;

}

.nav li {
    display: inline;

}

.nav a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;



}

.nav a:hover {
    color: #D2E48E !important;
    transform: scale(1.1) !important;
    text-decoration: none !important;
}


.nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background-color: rgb(255, 255, 255);
    transition: width 0.3s ease;

}

.nav a:hover::after {
    width: 100%;
}

.imagem-ajustada {
    background-image: url("../img/carlos.png");
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 90vh;
    font-weight: bold;
}

.texto-botao {
    text-align: center;
    border-radius: 15px;
    padding: 8px 70px;
    font-size: 12px;
    text-decoration: none;
    border: 3px solid #D2E48E;
    color: #3D93A3;

}

/* Altura ajustada em telas menores */
@media (max-width: 768px) {
    .imagem-ajustada {
        height: 60vh;
        background-size: contain;
    }

    .bg-section {
        padding-left: 10px;
        padding-right: 10px;
    }

    .texto-imagem p {
        font-size: 30px;
        text-align: center;
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .imagem-ajustada {
        height: 60vh;
        background-size: contain;

    }

    .texto-imagem p {
        font-size: 30px;
        text-align: center;
        padding: 20px;

    }
}

@media (max-width: 480px) {
    .imagem-ajustada {
        height: 50vh;
        background-size: cover;
    }

    .texto-imagem {
        font-size: 30px;
        padding: 10px;
    }
}

.logo {
    max-width: 250px;
    height: auto;
    display: block;
    /* Garante que o alinhamento funcione */
    margin-left: 50px;
    padding-top: 20px;
}

@media (max-width: 768px) {
    .logo {
        max-width: 160px;
        margin-left: 15px;
    }
}

.carousel-item img {
    height: 70vh;
    object-fit: cover;
    width: 100%;
}

.html {

    padding-right: 0px !important;
    padding-left: 0px !important;

    margin-right: 0px !important;
    margin-left: 0px !important;
    overflow-x: hidden;
    /* Evita rolagem horizontal */

}

.html body {

    padding-right: 0px !important;
    padding-left: 0px !important;

    margin-right: 0px !important;
    margin-left: 0px !important;
}

body {

    padding-right: 0px !important;
    padding-left: 0px !important;

    margin-right: 0px !important;
    margin-left: 0px !important;
    overflow-x: hidden;
    /* Evita rolagem horizontal */

}

.frame {
    position: relative;
    height: 80vh;
    background-size: cover;
    background-position: center;
}

.frame>img {
    width: 100%;
    /*  animation: zoom 40s ease infinite alternate;*/
}

@keyframes zoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.3);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .frame {
        height: 50vh;
        /* Ajuste de altura para telas menores */
    }
}

@media (max-width: 576px) {
    .frame {
        height: 40vh;
        /* Ajuste de altura para telas menores */
    }
}

.parallax {
    /* Parallax effect: */
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 80vh;
}

.frame.parallax {
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    height: 80vh;
    /* Ajuste conforme necessário */
    background-repeat: no-repeat;
}


@keyframes moveBackground {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 100% 0;
    }

    100% {
        background-position: 0 0;
    }
}

.desktop-only {
    display: none;
}

.mobile-only {
    display: none;
}

@media (min-width: 768px) {
    .desktop-only {
        display: block;
    }

    .mobile-only {
        display: none;
    }
}

@media (max-width: 767px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }
}

.banner-custom {
    height: 200px;
    /* Ajuste a altura conforme necessário */
    background-size: cover;
    /* Ajusta o tamanho da imagem de fundo */
    background-position: center;
    background-repeat: no-repeat;
}

.fs-title {
    font-size: 48px !important;
}

/* Disable Parallax Effect on Mobile Devices */
@media (max-width: 768px) {
    #parallax-banner {
        background-attachment: scroll;
    }
}


.fs-title {
    font-size: 75px !important;
}

/* Tamanho padrão */
.fs-subtitle {
    font-size: 30px !important;
}

/* Tamanho padrão */
.fs-info {
    font-size: 12px;
}

/* Tamanho padrão */
.fs-btn {
    font-size: 12px;
}

/* Tamanho padrão */

/* Media Queries para ajustar tamanhos de fonte */
@media (max-width: 576px) {
    .fs-title {
        font-size: 50px !important;
        margin-left: 34px !important;
    }

    .fs-subtitle {
        font-size: 18px !important;
    }

    .fs-info {
        font-size: 15px !important;
    }

    .fs-btn {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .fs-title {
        font-size: 38px !important;
    }

    .fs-subtitle {
        font-size: 20px;
        margin-left: 20px !important;
    }

    .fs-info {
        font-size: 16px;
    }

    .fs-btn {
        font-size: 16px;
    }
}

@media (max-width: 992px) {
    .fs-title {
        font-size: 48px !important;
    }

    .fs-subtitle {
        font-size: 16px;
        margin-left: 20px !important;

    }

    .fs-info {
        font-size: 22px;
    }

    .fs-btn {
        font-size: 18px;
    }
}

@media (max-width: 1200px) {
    .fs-title {
        font-size: 58px;
    }

    .fs-subtitle {
        font-size: 20px;
    }

    .fs-info {
        font-size: 24px;
    }

    .fs-btn {
        font-size: 18px;
    }
}

@media (min-width: 1200px) {
    .fs-title {
        font-size: 110px;
    }

    .fs-subtitle {
        font-size: 45px;
    }

    .fs-info {
        font-size: 24px;
    }

    .fs-btn {
        font-size: 18px;
    }
}

/* Estilos adicionais */
.highlight {
    color: #10316B;
}

.highlight1 {
    color: #3D93A3;
}

.background-dark {
    background-color: #50653E;
}

.text-white {
    color: white;
}

/*
.btninitial {
    padding: 5px 30px; 
    border-radius: 10px; 
    font-size: 1.2rem; text-decoration: none;
    border: 3px solid #D2E48E;
    color:rgb(255, 255, 255);
}
*/
.botaoestiloso {
    text-align: start !important;
    border-radius: 15px !important;
    padding: 8px 61px !important;
    font-size: clamp(1rem, 1.2vw, 1.5rem) !important;
    text-decoration: none !important;
    border: 3px solid #D2E48E !important;
    color: #3D93A3 !important;
    margin-top: -15px !important;
    margin-left: 45px;

    /* Adiciona um espaço entre o texto e o botão */

}

/* Efeito de hover */
.botaoestiloso:hover {
    color: #10316B !important;
    transition: all 0.3s ease !important;
    transform: translateY(-5px) !important;


}


.row {
    display: flex;
    flex-wrap: wrap;
    /* Permite que os boxes quebrem para a próxima linha em telas menores */
    margin: 0;
    padding: 0;
}


/* Animação de transição suave */
.row a img {
    transition: all 0.3s ease;
}

/* Efeito de hover */
.row a img:hover {
    transform: translateY(-5px);
}


@media (max-width: 767px) {
    .hover-effect {
        max-width: 100% !important;
        /* Faz com que a imagem ocupe 100% da largura em dispositivos móveis */
        top: 23%;
    }
}

.hover-effect {
    position: absolute;
    bottom: 15%;
    right: 0;
    width: auto;
    height: auto;
    max-width: 30%;
    max-height: auto;
    object-fit: contain;
    z-index: 1;
    display: block;
    transition: transform 0.3s ease;

}


.hover-effect:hover {
    transform: translateY(-10px);
    /* Ajuste o valor para o tamanho do pulinho */
}

.estados {
    width: 65%;
    /* A imagem se ajusta ao tamanho do box */
    height: auto;
    /* Mantém a proporção da imagem */
    transition: transform 0.3s ease-in-out, scale 0.3s ease-in-out;
    cursor: pointer;
    /* Indica que é clicável */
    margin-left: 68px;

}

.estados:hover {
    transform: translateY(-10px) scale(1.1);
    /* Pula e aumenta 10% */
    /* Move a imagem para cima */
}


.botao-homepage {
    padding: 5px 30px;
    border-radius: 10px;
    font-size: 1.2rem;
    text-decoration: none;
    border: 3px solid #D2E48E;
    color: rgb(255, 255, 255);

}

/* Botão personalizado */
.btn.btn-outline.btn-custom {
    padding: 8px 20px !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    border: 3px solid #D2E48E !important;
    color: rgb(255, 255, 255) !important;
    background-color: transparent !important;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .box {
        flex: 1 1 50%;
        /* Ocupa 50% da largura em telas médias */
    }
}

@media (min-width: 992px) {
    .box {
        flex: 1 1 33.33%;
        /* Ocupa 33.33% da largura em telas grandes */
    }
}

@media (max-width: 768px) {
    .btn.btn-outline.btn-custom {
        padding: 8px 20px !important;
        border-radius: 8px !important;
        font-size: 1rem !important;
        border-width: 2px !important;
        align-self: center;
    }

}

@media (max-width: 480px) {
    .btn.btn-outline.btn-custom {
        padding: 6px 15px !important;
        /* Ainda menor para telas muito pequenas */
        font-size: 1rem !important;
        /* Ajuste fino para texto */
    }

}

/* Ajustes para telas menores */
@media (max-width: 992px) {

    .img-homepage {
        display: none;
    }
}

@media (max-width: 768px) {

    /* Celulares */
    .img-homepage {
        display: none;
    }
}

@media (max-width: 480px) {
    .img-banner {
        width: 60%;
        max-width: 250px;
    }

    .texto-destaque {
        font-size: 1.8rem;
    }

    .btn-noticias {
        padding: 0.6rem 2.5rem;
        font-size: 0.9rem;
    }

    /* Celulares pequenos */
    .img-homepage {
        display: none;
    }

    .botaoestiloso {
        padding: 8px 36px !important;

    }

}


.banner {
    background: linear-gradient(to right bottom, #038ca0, #075371) !important;
    position: relative !important;
    background-size: cover !important;
    background-position: center !important;
    height: 70vh !important;

}

.img-banner {
    width: 65%;
    max-width: 400px;
    /* Limite máximo para evitar imagens muito grandes */
    height: auto;
    border-radius: 10px;
    transition: all 0.3s ease;
}


.texto-destaque {
    font-size: clamp(1.5rem, 3vw, 3rem);
    font-family: 'Inter', sans-serif;
    color: #D2E48E;
    margin-bottom: 1rem;
    text-align: left;
    line-height: 1;

}

/* Estilização do botão */
.btn-noticias {
    border-radius: 8px !important;
    padding: 0.1vw 4vw !important;
    font-size: clamp(1rem, 1.2vw, 1.5rem) !important;
    text-decoration: none;
    border: 3px solid #D2E48E !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: transform 0.3s ease;
}

/* Efeito no botão ao passar o mouse */
.btn-noticias:hover {
    transform: translateY(-5px) !important;
    transition: all 0.3s ease !important;

}

/* Responsividade */
@media (max-width: 768px) {
    .img-banner {
        width: 70%;
        max-width: 300px;
    }

    .texto-destaque,
    .btn-noticias {
        text-align: center;
        /* Em telas menores, centraliza o texto e o botão */
        align-self: center;
    }

    .texto-destaque {
        font-size: 7vw;
        text-align: center;
    }

    .btn-noticias {
        padding: 0.6rem 3rem;
        font-size: 1rem;
    }

    .botaoestiloso {
        font-size: 1rem;
        padding: 10px 30px;
        margin-left: 20px;
    }

}

@media (min-width: 768px) and (max-width: 992px) {
    .img-banner {
        width: 60%;
        max-width: 300px;
    }

    .texto-destaque {
        font-size: 6vw;
        text-align: center;
    }

    .texto-destaque,
    .btn-noticias {
        text-align: center;
        /* Em telas menores, centraliza o texto e o botão */
        align-self: center;
    }
}

.bg-texto {
    background-image: url("../img/geometrico.png");
    background-size: contain;
    background-position: start;
    background-repeat: no-repeat;
    padding: 50px;
    margin-top: -120px;
}

.bg-texto>* {
    position: relative;
    z-index: 1;
}

/* Ajuste padrão da imagem */
.img-homepage {
    width: 100%;
    /* Aumenta o tamanho da imagem */
    min-width: 500px;
    /* Define um tamanho mínimo para telas grandes */
    height: auto;
    /* Mantém a proporção */
    object-fit: contain;
    /* Evita cortes indesejados */
    position: relative;
    margin-top: 500px;
}

/* Notebooks médios: 992px a 1200px */
@media (min-width: 992px) and (max-width: 1200px) {
    .img-homepage {
        margin-bottom: 200px;
        /* Aumenta o espaçamento superior */
    }
}

.top-bar {
    background-color: #266F89;
    /* cor do figma */
    color: white;
    font-size: 14px;
}

.texto-homepage {
    font-size: 4vw;
    text-align: left;
    font-weight: bold;
    color: #D2E48E;
    font-family: 'Barlow', sans-serif;
    position: relative;
    margin-bottom: 10px;

}

.texto-homepage1 {
    line-height: 1.1;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-left: 20px;

}

@media (max-width: 422px) {

    .texto-homepage {
        margin-top: 50px;
        font-size: 12vw;
        /* Ajusta o tamanho para telas pequenas */
        text-align: center;
        /* Centraliza em telas pequenas */
        left: 0px !important;
        top: -3px !important;


    }
}

/* Ajustes responsivos */
@media (max-width: 992px) {

    /* Tablets */
    .texto-homepage {
        font-size: 5vw;
        text-align: center;
        left: 0px !important;
        top: -3px !important;


    }

}

@media (max-width: 768px) {

    .texto-homepage {
        margin-top: 50px;
        font-size: 12vw;
        /* Ajusta o tamanho para telas pequenas */
        text-align: center;
        /* Centraliza em telas pequenas */
        left: 0px !important;
        top: -3px !important;


    }

    .btn.btn-outline.btn-custom {
        padding: 8px 20px !important;
        border-radius: 8px !important;
        font-size: 1rem !important;
        border-width: 2px !important;
        align-self: center;
    }

    .texto-homepage1 {
        align-items: center;
        /* Centraliza o conteúdo */
        padding-left: 0px;
        /* Remove espaçamento lateral */
        margin-top: 100px;
    }
}


@media (min-width: 390px) and (max-width: 768px) {
    .texto-homepage1 {
        align-items: center;
        padding-left: 0px;
        margin-top: 90px;
    }

}

@media (min-width: 375px) and (max-width: 389px) {
    .texto-homepage1 {
        align-items: center;
        padding-left: 0px;
        margin-top: 40px;
    }

}

@media (min-width: 360px) and (max-width: 768px) {

    .botaoestiloso {
        font-size: 0.9rem !important;
        text-decoration: none !important;
        border: 3px solid #D2E48E !important;
        color: #3D93A3 !important;
        margin-top: 10px;
        margin-left: 30px;

        /* Adiciona um espaço entre o texto e o botão */

    }

}

@media (min-width: 430px) and (max-width: 768px) {

    .botaoestiloso {
        margin-left: 45px;
    }

}

@media (min-width: 540px) and (max-width: 768px) {
    .texto-homepage1 {
        margin-top: 110px;


    }

}

@media (min-width: 853px) and (max-width: 992px) {

    .texto-homepage1 {
        margin-top: 150px;
        margin-left: 97px;

    }

    .botaoestiloso {
        margin-left: 25px;
        font-size: 1.2rem !important;
    }


}

@media (min-width: 820px) and (max-width: 992px) {

    .texto-homepage1 {
        margin-top: 150px;
        margin-left: 97px;

    }

}

@media (min-width: 1024px) and (max-width: 3000px) {
    .texto-destaque {
        font-size: 4.5rem !important;
    }

    .btn-noticias {
        font-size: 3rem;
        padding: 0.75rem 1.5rem;
    }

}

@media (min-width: 1000px) and (max-width: 3000px) {

    .texto-homepage1 {
        font-size: clamp(3rem, 4vw, 4.5rem) !important;
        margin-left: 1vw;
        margin-top: -50vh;
    }

    .img-homepage {
        width: 85%;
        max-width: 300px;
        margin-top: 25vh;
    }

    /* Ajuste opcional do botão */
    .btn.btn-outline.btn-custom {
        font-size: clamp(1rem, 1vw, 1.5rem) !important;
        padding: 8px 25px !important;
        margin-top: 1vh;
    }
}

.grid-image {
    width: 200px;
    height: auto;
    padding: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;

}

.grid-image.bloqueado {
    filter: grayscale(100%);
    opacity: 0.6;
    cursor: not-allowed;
}

.botaoqs {
    font-family: 'Inter', serif !important;
    text-align: center !important;
    border-radius: 15px !important;
    font-size: 18px !important;
    text-decoration: none !important;
    border: 3px solid #D2E48E !important;
    color: rgb(255, 255, 255) !important;
    display: inline-block !important;
    transition: all 0.3s ease-in-out !important;
}

/* Efeito ao passar o mouse */
.botaoqs:hover {

    transform: scale(1.05);
    text-decoration: none;
}

@media (max-width: 768px) {
    .botaoqs {
        padding: 6px 50px !important;
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .botaoqs {
        padding: 5px 40px !important;
        font-size: 14px !important;
    }
}
