/* =========================================================
   FOOTER - SEÇÃO
========================================================= */

.footer-section {
    background-color: #00b050;
    border-radius: 40px 40px 0 0;
    width: 100%;
    color: #ffffff;
    padding: 0, 0;
    padding-top: 60px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
}

.footer-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* =========================================================
   FOOTER - CONTEÚDO PRINCIPAL
========================================================= */

.footer-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
    gap: 50px;
    align-items: start;
    padding: 35px;
}

/* =========================================================
   FOOTER - LOGO
========================================================= */

.footer-logo {
    display: flex;
    align-items: center;
    height: 100%;
    
}

.footer-logo img {
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
}

/* =========================================================
   FOOTER - COLUNAS
========================================================= */

.footer-column h3 {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    font-weight: 400;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.footer-column ul li a:hover {
    opacity: 0.8;
}

/* =========================================================
   FOOTER - LOCALIZAÇÃO
========================================================= */

.footer-column.localizacao p {
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
    margin: 0;
}

/* =========================================================
   FOOTER - REDES SOCIAIS
========================================================= */

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}

.social-link svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

/* =========================================================
   FOOTER - copyright
========================================================= */

.footer-copyright {
    font-size: 0.9rem;
    display: block;
    background-color: #004820;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 0px;
}

/* =========================================================
   BOTÃO VOLTAR AO TOPO
========================================================= */

#btn-topo {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 50px;
    height: 50px;

    border: 2px solid #000;

    border-radius: 50%;

    background-color: #2ecc71;

    color: #000;

    font-size: 1.5rem;
    font-weight: bold;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    transition: 0.3s ease;

    z-index: 999;
}

#btn-topo.mostrar {
    opacity: 1;
    visibility: visible;

    transform: translateY(0px);
    box-shadow: 0 5px 0px #1f1c1c;
}

#btn-topo:hover {
    background-color: #fff;

    transform: translateY(4px);
    box-shadow: 0 2px 0px #1f1c1c;
}

/* =========================================================
   FOOTER - MOBILE
========================================================= */

@media (max-width: 768px) {

    .footer-section {
        border-radius: 30px 30px 0 0;
        padding-top: 35px;
    }

    .footer-container {
        width: 100%;
    }

    /* Conteúdo principal */
    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 35px;
        padding: 25px 20px;
    }

    /* Logo */
    .footer-logo {
        width: 100%;
        height: auto;
        justify-content: center;
    }

    .footer-logo img {
        width: 70%;
        max-width: 220px;
    }

    /* Colunas */
    .footer-column {
        width: 100%;
    }

    .footer-column h3 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .footer-column ul li {
        margin-bottom: 8px;
    }

    .footer-column ul li a {
        font-size: 0.9rem;
    }

    /* Localização */
    .footer-column.localizacao p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    /* Redes sociais */
    .footer-bottom {
        width: 100%;
        flex-wrap: wrap;
        gap: 20px 35px;
        padding: 20px 20px 5px;
    }

    .social-link {
        font-size: 0.85rem;
        gap: 8px;
    }

    .social-link svg {
        width: 26px;
        height: 26px;
    }

    /* Copyright */
    .footer-copyright {
        font-size: 0.7rem;
        padding: 7px 10px;
        margin-top: 15px;
    }

    /* Botão voltar ao topo */
    #btn-topo {
        width: 45px;
        height: 45px;
        right: 15px;
        bottom: 15px;
        font-size: 1.3rem;
    }

}