/* HubLAC — Rodapé */

/*
FOOTER
*/

footer {
    position: relative;
    margin: 0;
    padding: 2vw calc(2vw + 8px);
    height: auto;
    width: calc(96vw - 16px);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas: 
        "footer-description footer-description footer-description"
        "footer-col-1 footer-col-2 footer-col-3";
    justify-content: space-between;
    background-color: var(--global--color-yellow);
    color: var(--global--color-black);
    z-index: 9;
}

.footer-description {grid-area: footer-description;}

.footer-col-1 {grid-area: footer-col-1;}

.footer-col-2 {
    grid-area: footer-col-2;
    display: grid;
    justify-content: center;
    align-content: space-between;
    text-align: center;
}

.footer-col-3 {grid-area: footer-col-3;}

.footer-description {
    padding: 3vw 0;
}

.footer-description h4 {
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
}

.footer-socials svg {width: 120px;}

footer p {margin: 0;}

footer a {
    margin: 0;
    color: var(--global--color-black);
    display: block;
}

footer a:hover {color: var(--global--color-white);}

.footer-nav ul {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
    list-style: none;
} 

.footer-nav ul a {
    font-weight: 600;
    font-size: var(--global--font-size-xxs);
    text-transform: uppercase;
} 

.footer-nav ul a:hover {color: var(--global--color-white);}

.footer-contact .socials ul,
footer .socials ul {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    column-gap: 20px;
    justify-content: center;
}

.footer-contact .socials i,
footer .socials i {
    font-size: var(--global--font-size-md);
    transition: 0.3s all;
}

.footer-contact .socials a:hover,
.footer-contact a.email:hover,
footer a.email:hover,
footer .socials a:hover {transform: scale(1.1);}

.footer-contact a.email,
footer a.email {
    font-weight: 600;
    margin: 10px 0;
}

.footer-link {
    text-decoration: underline;
    font-size: var(--global--font-size-xxs);
}

.footer-link:hover {color: var(--global--color-white);}

footer .logo {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
    transition: 0.4s all;
    height: 100%;
    width: 100%;
}

/* ---- Responsivo (celular) ---- */
@media (max-width: 767px) {

    /* Footer */

    footer {
        margin: 0;
        padding: calc(4vw + 8px);
        height: auto;
        width: calc(92vw - 16px);
        grid-template-columns: 100%;
        grid-template-areas:
        "footer-description"
        "footer-col-2";
    }

    .footer-col-1, .footer-col-3 {display: none;}

}
