@charset "utf-8";

@import url("https://use.typekit.net/brq7snr.css");
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: Fira Sans, sans-serif;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

header {
    text-align: center;
    padding: 1rem 0;
}

header img {
    width: 10vw;
    max-width: 120px;
    height: auto;
}

.banner {
    min-height: 50vh;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background-image: url("assets/banner.png");
    background-size: cover;
    background-position: top;
    padding: 2rem;
}

.title {
    width: 40%;
    min-width: 280px;
    padding: 1rem;
    animation: slideInLeft 1.5s ease-out forwards;
}

.title h1 {
    font-family: kanit, sans-serif;
    font-size: 3vw;
    color: #fff;
    line-height: 1.0;
}

.title h2 {
    font-weight: normal;
    font-size: 1.2rem;
    color: #fff;
    text-align: justify;
    margin-top: 1rem;
}

.banner img {
    width: 80%;
    max-width: 400px;
    height: auto;
    margin-top: -3em;
    margin-bottom: -0.4em;
}

.column {
    margin-top: 2em;
    text-align: right;
    width: 30%;
    min-width: 280px;
    padding: 1rem;
    margin-bottom: -2.8em;
}

.api {
    margin-top: 4rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5rem;
    padding: 0 1rem;
}

.link {
    text-align: center;
    padding: 1.5rem 3rem;
    text-decoration: none;
    color: black;
    font-size: 1.2rem;
    border-radius: 20px;
    box-shadow: 0 0 8px 2px #00000044;
    transition: 0.3s;
}

.link:hover {
    background-color: #007430;
    color: #fff;
}

.propostas h2 {
    text-align: center;
    margin: 5rem 1rem;
    font-size: 2.5rem;
    color: #007430;
    width: 100%;
}

.propostas {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 0 1rem;
}

.proposta {
    margin: 1rem;
    width: 30%;
    min-width: 260px;
    text-decoration: none;
    padding: 1rem;
    color: black;
    border-radius: 20px;
    box-shadow: 0 0 8px 2px #00000044;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: fadeIn 1s ease-in forwards;
}

.proposta h3 {
    font-family: kanit, sans-serif;
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.proposta h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.proposta p {
    font-size: 1rem;
    font-weight: 400;
    text-align: justify;
}

.proposta:hover {
    background-color: #007430;
    color: #fff;
}

.paginacao {
    text-align: right;
    margin-top: 30px;
    width: 100%;
    margin-right: 6rem;
}

.paginacao a {
    display: inline-block;
    margin: 0 5px;
    padding: 6px 12px;
    color: #007430;
    text-decoration: none;
    border: 1px solid #007430;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.paginacao a:hover {
    background-color: #007430;
    color: white;
}

.paginacao strong {
    display: inline-block;
    margin: 0 5px;
    padding: 6px 12px;
    background-color: #007430;
    color: white;
    border-radius: 6px;
}
.filtros {
    margin-top: 3em;
    width: 100%;
    padding: 1em;
    text-align: center;
}

.filtros label {
    font-size: 1.2em;
    font-weight: 600;
}
.filtros form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    align-items: center;
}
.filtros select, .filtros button {
    padding: 8px;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #007430;
    color: #007430;
    background: white;
    cursor: pointer;
}


.filtros button {
    background-color: #007430;
    color: white;
    font-weight: bold;
}

.nenhuma {
    margin-top: 3rem;
    font-size: 2em;
    font-weight: 700;
}

.site-footer {
    margin-top: 5rem;
    background-color: #f8f8f8;
    padding: 2rem 1rem;
    border-top: 3px solid #007430;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-logo img {
    height: 50px;
}

.footer-text p {
    margin: 0;
    color: #333;
}

.footer-subtext {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}

.footer-top-link a {
    color: #007430;
    text-decoration: none;
    font-weight: bold;
}


/* ----------- MEDIA QUERIES ----------- */

@media (max-width: 1024px) {
    .title, .column {
        width: 100%;
        text-align: center;
    }

    .banner {
        flex-direction: column;
        padding: 2rem 1rem;
    }

    .banner img {
        margin-top: 0;
    }

    .title h1 {
        font-size: 6vw;
    }
}

@media (max-width: 768px) {
    .proposta {
        width: 45%;
    }

    .link {
        font-size: 1rem;
        padding: 1rem 2rem;
    }
    .paginacao {
        text-align: center;
    }
    .site-footer {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .footer-top-link {
        width: 100%;
    }
    .footer-logo {
        width: 100%;
    }
    .filtros form {
        flex-direction: column;
        align-items: stretch;
    }
    .paginacao {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .proposta {
        width: 90%;
    }

    .title h1 {
        font-size: 10vw;
        text-align: center;
    }

    .title h2 {
        font-size: 1rem;
        text-align: center;
        font-weight: 600;
    }

    .column {
        margin-bottom: -2.85em;
    }

    header img {
        width: 20vw;
    }

    .link {
        font-size: 1rem;
        padding: 1rem 2rem;
        margin-bottom: 2rem;
    }

    .paginacao {
        margin-right: 0;
    }
}


/* ------------------ KEYFRAMES ------------------------*/

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}