.titulo-principal{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 100px;
    width: 100%;
    justify-content: space-around;
    background-color: var(--secondary-color);
    padding: 7.9rem 10%;
}

.titulohome{
    max-width: 40%;
}

.subtituloresultado{
    color: var(--primary-color);
}

.imagemhome{
    max-width: 60%;
}

.sobreProjeto{
    display: flex;
    flex-direction: column;
    padding: 50px 10%;
    gap: 20px;
}

.tituloprojeto{
    color: var(--primary-color) !important;
    margin: 0;
}

.texto-sobreprojeto{
    display: flex;
    flex-direction: row;
    gap:50px; 
    
}

.textoprojeto{
    color: var(--primary-color) !important;
    text-align: justify;
    margin: 0;
}

.imagemprojeto{
    max-width: 500px;
    border-radius: 20px;
}

.saibamais{
    background-color: var(--secondary-color);
    border-radius: 20px;
    padding: 12px 10px;
    width: 290px;
    min-width: 290px;
    color: var(--white) !important;
    text-decoration: none !important;
    text-align: center;
    opacity: 0.9;
}

.saibamais:hover{
    opacity: 1;
}

.ultimasnoticias{
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 50px 10%;
}

.titulonoticia{
    text-align: center;
}

.swiper-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    display: flex !important;
    flex-direction: column;
    gap: 50px;
    justify-content: center;
}

.swiper-slide {
    display: flex !important;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary-color);
    border-radius: 20px;
    box-sizing: border-box;
    padding: 0 100px;
    width: 100%;
    margin-right: 0;
}

.carouselnoticias{
    display: flex;
    justify-content: space-around;
    gap: 50px;
    align-items: center;
    width: 100%;
}

.imagemnoticia{
    max-width: 48%;
    min-width: 40%;
    height: 40vh;
    object-fit: contain;
}

.descricaonoticia {
    display: flex;
    flex-direction: column;
    gap:20px;
    max-width: 52%;
}

.descricaodanoticia {
    text-align: justify; 
    line-height: 1.2em; 
}

.saibamaisNoticias{
    display: block;
    background-color: var(--white);
    border-radius: 20px;
    padding: 12px 10px;
    min-width: 220px;
    max-width: 270px;
    color: var(--black) ;
    text-decoration: none !important;
    text-align: center;
    opacity: 0.8;
}
.saibamaisNoticias:hover {
    opacity: 1;
}


.swiper-pagination {
    position: relative !important;
    text-align: center!important;
}

.swiper-pagination-bullet {
    background: white !important;
    width: 30px  !important;
    height: 30px  !important;
    border-radius: 50%  !important;
    opacity: 0.7  !important; 
    margin: 0 10px !important; 
}

.swiper-pagination-bullet-active {
    background: white  !important;
    opacity: 1  !important;
}

.swiper-button-next,
.swiper-button-prev {
    width: 60px !important;
    height: 60px !important;
    position: absolute !important;
    top: 50%!important; 
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: var(--white) !important; /* Fundo branco com transparência */
    border-radius: 50% !important; /* Formato de bola */
    z-index: 10 !important;
    cursor: pointer !important;
    background-repeat: no-repeat; /* Evita a repetição da imagem */

}

.swiper-button-next {
    right: 0 !important;
    background-image: url('../images/icon/iconnext.svg') !important;
    background-size: 100% auto !important; /* Ajuste conforme necessário */
    background-position:center; 

}

.swiper-button-prev {
    left: 0 !important;
    background-image: url('../images/icon/iconprev.svg') !important;
    background-size: 100% auto !important; 
    background-position:center; 
}

.swiper-button-next::after,
.swiper-button-prev::after {
    content: '' !important;
}

.swiper-button-next,
.swiper-button-prev {
    opacity: 0.8;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 1;
}

.resultados {
    display: flex;
    flex-direction: column;
    padding: 50px 10%;
    gap: 30px;
}

.tituloresultado {
    color: var(--primary-color);
    text-align: center;
}

.cards-resultados {
    display: flex;
    flex-wrap: wrap;
    gap: 50px; 
    justify-content: center; 
}

.card-resultado {
    background-color: var(--white-color);
    border-radius: 20px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    gap: 20px;
    color: var(--primary-color) !important;
    transition: all ease-out 0.2s;
    width: 30rem;
}

.card-resultado:hover {
    background-color: var(--tertiary-color);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.12);
    transform: scale(1.05); 
}

.textoresultado {
    text-align: justify;
    flex-grow: 1;
    text-decoration: none !important;
    color: var(--primary-color) !important;
}

.subtituloresultado {
    color: var(--primary-color)
}

.saibamaisresultado {
    background-color: var(--button-color);
    border-radius: 20px;
    padding: 12px 20px;
    width: 100%;
    color: var(--white);
    text-decoration: none !important;
    text-align: center;
}

.saibamaisresultado:hover {
    color: var(--white) !important;
}

.parceiros{
    display: flex;
    flex-direction: column;
    padding: 0 10% 50px 10%;
}

.tituloparceiro{
    text-align: center;
    color: var(--primary-color);
    margin: 1rem 0;
}

.imagemparceiros{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap:50px;
    justify-content: space-around;
}

.logoparceiros{
    flex: 1 1 30%;
    display: flex;
    max-width: 15%;
    box-sizing: border-box;
    align-items: center;
    justify-content: center; 
    box-sizing: border-box;
    color: var(--black);
    text-decoration: none;
}

.logoparceiros img {
    max-width: 70%;
    height: auto;
    object-fit: contain;
    display: block;
}

.nomelogo{
    color: var(--primary-color);
    font-size: 30px;
}
.logo {
    opacity: 0.9;
}
.logo:hover {
    opacity: 1;
}

@media (max-width: 1280px) {
    .ultimasnoticias{
        padding: 50px 0 10px 0;
    }
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
    .swiper-container {
        width: 100%;
        height: 100%;
        overflow: hidden !important;
    }
    .swiper-slide {
        display: flex !important;
        background-color: var(--white);
        color: var(--primary-color);
        padding: 30px;
    }

    .carouselnoticias{
        flex-direction: column;
        gap: 20px;
    }

    .imagemnoticia{
        max-width: 70%;
        height: 40vh;
        object-fit: cover;
    }

    .descricaonoticia{
        max-width: 100%;
        justify-content: center;
        align-items: center;
    }

    .saibamaisNoticias{
        background-color: var(--secondary-color);
        color: var(--white);
    }

    .card-resultado {
        width: 30rem;
    }
}

@media (max-width: 999px) {
    .titulo-principal{
        gap:50px;
    }

    .sobreProjeto{
        display: flex;
        flex-direction: column;
        padding: 20px 30px;
        align-items: center;
        gap: 20px;
        justify-content: center;
    }

    .tituloprojeto{
        text-align: center;
    }

    .texto-sobreprojeto{
        flex-direction: column;
        align-items: center;
        gap:20px;
        width: 100%;
    }

    .imagemprojeto{
        max-width: 100%;
    }

    .saibamais{
        justify-content: center;
        min-width: 220px;
    }

    .ultimasnoticias{
        display: flex;
        flex-direction: column;
        padding: 20px 0;
        gap: 20px;
    }
    .descricaonoticia {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .swiper-container {
        width: 100%;
        height: 100%;
        overflow: hidden !important;
    }

    .swiper-slide {
        background-color: var(--white);
        color: var(--primary-color);
        display: flex !important;  
    }

    .titulodanoticia{
        text-align: center;
    }

    .imagemnoticia{
        max-width: 100%;
        min-width: 60%;
        height: 25vh;
        object-fit: cover;
    }

    .carouselnoticias{
        flex-direction: column;
        gap: 30px;
        flex-grow: 1;
    }

    .descricaonoticia{
        max-width: 100%;
        height: auto;
        justify-content: space-between;
    }

    .resultados{
        padding: 20px 30px;
    }

    .subtituloresultado{
        text-align: center;
    }

    .cards-resultados{
        flex-direction: column;
        gap:20px;
    }
    .card-resultado {
        flex: 0 1 100%; /* 1 card por linha em telas muito pequenas */
        width: 100%;
        height: 5rem;
    }

    .parceiros{
        padding: 0 30px 20px 30px;
        gap:30px;
    }    
    
    .imagemparceiros{
        flex-direction: row;
        gap:10px;
        margin-bottom: 1rem;
    }
    
    .logoparceiros{
        max-width: 20rem;
    }
}

@media (max-width: 550px) {
    .titulo-principal{
        flex-direction: column;
        gap:20px;
        padding: 20px 30px;
    }
    
    .titulohome{
        margin-top: 6rem;
        max-width: 300px;
        text-align: center;
    }
    
    .imagemhome{
        max-width: 300px;
    }

    .resultados{
        gap: 20px;
    }

    .card-resultado{
        padding: 20px;   
    }
    .tituloparceiro{
        margin: 1rem 0;
    }
}
@media (min-width: 1350px) {
    .sobreProjeto .saibamais {
        position: absolute;
        top: 72rem;
    }
    
}