* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cor-principal: #1E4E79;
    --cor-secundaria: #2E8B57;
    --cor-clara: #F5F8FB;
    --cor-texto: #444;
    --cor-branca: #FFF;
    --sombra: 0 10px 30px rgba(0, 0, 0, .08);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
    color: var(--cor-texto);
    line-height: 1.6;
}

html,
body {
    min-height: 100%;
}

main {
    flex: 1;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}

/*=========================
            HEADER
=========================*/
header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #FFF;
    box-shadow: 0 2px 20px rgba(0, 0, 0, .08);
}

.topo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 85px;
}

.logo h1 {
    font-size: 34px;
    color: var(--cor-principal);
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span {
    display: block;
    color: #777;
    font-size: 13px;
    margin-top: -4px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

nav a {
    font-size: 15px;
    font-weight: 600;
    position: relative;
    transition: .3s;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--cor-principal);
    transition: .3s;
}

nav a:hover {
    color: var(--cor-principal);
}

nav a:hover::after {
    width: 100%;
}

.portal {
    background: var(--cor-secundaria);
    color: #FFF;
    padding: 12px 22px;
    border-radius: 40px;
    transition: .3s;
}

.portal:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
}


/*==================================================
                SETA RETORNO PARA CIMA/TOPO
==================================================*/
#topo {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--cor-principal);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: .35s;
    box-shadow: var(--sombra);
    z-index: 999;
}

#topo.show {
    opacity: 1;
    visibility: visible;
}

/*==================================================
                    FOOTER
==================================================*/
.footer {
    background: linear-gradient(180deg,
            #18496f 0%,
            #12385B 45%,
            #0c2942 100%);
    color: #FFF;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.4fr;
    gap: 60px;
    padding: 70px 0 50px;
}

.footer-col h3 {
    margin-bottom: 25px;
    font-size: 22px;
    position: relative;
}

.footer-col h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin-top: 10px;
    background: var(--cor-secundaria);
    border-radius: 20px;
}

.footer-col p {
    color: #D7E4EF;
    line-height: 1.9;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 14px;
}

.footer-col a {
    color: #D7E4EF;
    text-decoration: none;
    transition: .3s;
}

.footer-col a:hover {
    color: #FFF;
    padding-left: 6px;
}

.footer-col i {
    color: var(--cor-secundaria);
    margin-right: 8px;
}

.footer-copy {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 22px 0;
    text-align: center;
    font-size: 14px;
    color: #C9D6DF;
}

.footer-copy strong {
    color: #FFF;
    font-weight: 600;
}

.footer-copy span {
    display: block;
    margin-top: 6px;
}

/* ANTES DO FOOTER - UMA ONDA */
.footer-wave {
    line-height: 0;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 100px;
}

/*=========================
            RESPONSIVO
=========================*/
@media(max-width:900px) {

    .topo {
        flex-direction: column;
        padding: 20px 0;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
        margin-top: 20px;
    }

}

@media(max-width:780px) {

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-col h3::after {
        margin: 10px auto 0;
    }

    .footer-copy span {
        margin-top: 10px;
    }

}