*{
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: thin;
    font-style: normal;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html{
    scroll-behavior: smooth;
}

body{
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #e5e6e9;
    color: #333;
}

.container{
    width: 90%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    gap: 40px;
    margin-bottom: 20px;
    padding: 20px 0;
}

.destaque{
    font-weight: 500; 
    text-transform: uppercase;
    font-size: 1.8rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.destaque-2{
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.2;
    
}

.subtexto-destaque{
    font-weight: 300;
}

.subcontainer{
    width: 50%;
    display: flex;
    flex-direction: column;
}

.titulo{
    text-transform: uppercase;
    margin-bottom: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.noticia{
    height: fit-content;
    background-color: #00244a;
    color: white;
    padding: 50px;
    border-radius: 15px;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    & img{
        width: 100px;
        margin-bottom: 20px;
    }

    & .hint{
        width: 100%;
        text-align: right;
        color: #aaa;
        font-style: italic;
    }
}

.conteudo-programatico{
    width: 100%;
    background-color: #00244a;
    color: white;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    & .lista-estrutura {
        width: 100%;
        padding: 20px;
        list-style: none;

        & li {
            list-style: none;
            border: 0.5px white solid;
            padding: 6px 10px;
        }
    }

    & .lista-conteudo{
        border: none;
        
        & li {
            border: none;
        }
    }

    & .hint{
        color: #bbb;
    }

    & .subcontainer{
        width: 400px;
        justify-content: start;
        align-items: center;
    }

    & .sessao{
        display: flex;
    }
}

.sessao .imersao .subcontainer{
    width: 500px;
}

.faq {
    flex-direction: column;
    gap: 10px;

    & li {
        border: 1px black solid;
        list-style: none;
        padding: 6px;
    }

    & .titulo-faq {
        display: flex;
        align-items: center;
        gap: 5px;
        cursor: pointer;
    }

    & .conteudo-faq {
        padding: 0;  
        border: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 1s ease-in-out, padding 0.5s, border 0.5s;
        padding: 6px;
        border: 1px black solid;
    }

    & .conteudo-faq.oculto {
        padding: 0;
        border: none;
    }

    & .mostrar {
        max-height: 500px;
    }

    & .sinal {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        height: fit-content;
        width: fit-content;
        transition: 0.3s;
    }

    & .sinal.abrir .block:nth-child(1) {
        transform: translateY(3px) rotate(180deg);
    }

    & .sinal.abrir .block:nth-child(2) {
        transform: translateY(-4px) rotate(90deg);
        opacity: 1;
    }

    & .sinal.fechar .block:nth-child(1) {
        transform: translateY(3px) rotate(180deg);
    }

    & .sinal.fechar .block:nth-child(2) {
        opacity: 0;
        transform: translateY(4px) rotate(90deg);
    }

    & .block {
        width: 10px;
        border-bottom: 1px solid rgba(24,164,199,255);
    }
}

hr{
    border-top: 0.5px solid rgba(24,164,199,255);
    width: 80%;
    margin: 0 auto;
}

.linha-vertical{
    border-left: 1px solid rgba(24,164,199,255);
    width: 1px;
}

.hint{
    color: #555;
    text-align: center;
}

/* Diferenciais */

.diferenciais{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}

.diferenciais-titulo{
    text-transform: uppercase;
    margin-bottom: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.texto-diferenciais{
    width: 60%;
    text-align: center;
    margin-bottom: 20px;
    color: #444;
}

.card-grid {
    display: grid;
    justify-content: center; /* Centraliza a última linha se incompleta */
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 1000px;
    margin: 0 auto;

    & img {
        width: 100%;
        height: auto;
        transition: 0.8s;
    }
}

.grid-item {
    flex: 0 1 calc(33.333% - 20px); /* 3 itens por linha com espaço compensado */
    max-width: 320px;
    box-sizing: border-box;
    text-align: center;
    transition: 0.8s;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    gap: 0;
    align-items: center;
    flex-direction: column;
}

.grid-item:hover {
    transform: scale(1.05);
}

.linha-titulo{
    width: 10rem;
    margin-bottom: 10px;
}

/* Footer */
footer{
    margin-top: 50px;
    color: #e5e6e9;
    padding: 40px;
    /* background: rgb(0,65,80); */
    background: linear-gradient(159deg, rgb(0, 0, 0) 0%, #021c37 61%, #00244a 100%);  
}

#politica{
    font-style: normal;
}

#footer-titulo{
    font-size: 1.5rem;
}

form{
    display: flex;
    gap: 8px;
    margin: 20px 20px 50px;
    text-align: center;
    justify-content: center;
}

.informacoes{
    font-size: 0.85rem;
    margin: 20px 100px;
    display: flex;
    justify-content: space-between;
    text-align: left;

    & div {
        flex: 1;
    }
}

#redes{
    margin-top: 10px;
    margin-bottom: 10px;
    display: block;
    justify-content: center;
    text-align: center;
    
    & a img{
        margin-top: 7px;
        width: 28px;
        border-radius: 10px;
        filter: invert(1);
    }
}

.containerVideo{
    position: relative;
}

input[type='text'], input[type='email'], button{
    width: 250px;
    /* height: 25px; */
    background-color: rgb(90, 90, 90);
    border: none;
    color: lightgray;
    padding-left: 5px;
    border-radius: 7px;
    padding: 7px 15px;
}

input::placeholder{
    color: lightgray;
}

input:focus{
    border: none;
    outline: none;
}

button{
    background-color: rgb(54, 168, 183);
    width: 250px;
    /* height: 25px; */
    border: none;
    transition: 0.5s;
}

button:hover{
    cursor: pointer;
    background-color: rgb(78, 190, 202);
}

#right-side-desktop{
    text-align: end;
}

#voltar-topo {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%); /* Corrige o centramento */
    z-index: 100;
    background-color: #0056b3;
    color: #e5e6e9;
    border: none;
    border-radius: 100%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    width: 40px;
    height: 40px;
    font-size: 26px;
    justify-content: center;
    align-items: center;
}

#voltar-topo:hover {
    background-color: #00244a;
}

.proposito{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

@media (max-width: 958px){
    .card-grid{
        width: 100%;
        padding: 10px 20px;
        grid-template-columns: repeat(2, 1fr);
    }
    .container{
        flex-direction: column;
        width: 100%;
    
        & .subcontainer{
            width: 90%;
        }

        & .destaque{
            font-size: 1.1rem;
            font-weight: 500;
        }

        & .subtexto-destaque{
            font-weight: 200;
        }

        .noticia{
            padding: 20px;
        }
    }
    .sessao{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hint{
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 500px){
    .informacoes{
        padding: 0;
        margin: 0;
    }

    .image-grid {
        width: 95%;
        grid-template-columns: repeat(2, 1fr);  
        padding: 0;
    }
}

@media (max-width: 820px){
    .texto-diferenciais{
        width: 85%;
    }

    footer{
        display: flex;
        flex-direction: column;
        padding: 0;
        padding-top: 20px;
    }

    form{
        flex-direction: column;
        align-items: center;
    }

    .informacoes{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin: 20px 0 0 0;

        & div {
            width: 100%;
        }
    }

    .mobile-no-display{
        display: none;
    }

    #redes{
        margin: 0;
    }

    #right-side-desktop{
        text-align: center;
        margin: 0 0 0 0;
    }
}
