.site-footer {
    background: #222;
    color: #eaeaea;
    font-family: "Poppins", sans-serif;
    margin-top: 1rem;
}

/* Padding interno agora está nos blocos superiores */
.footer-top,
.footer-middle {
    padding: 2rem 4rem;
}

/* Estrutura das colunas */
.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    border-bottom: 1px solid #333;
}

.footer-column h3,
.footer-column h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.footer-column h3 {
    font-size: 1.1rem;
    line-height: 1.4;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li a {
    color: #bfbfbf;
    text-decoration: none;
    display: block;
    margin: 0.3rem 0;
    font-size: 0.9rem;
}

.footer-column ul li a:hover {
    color: #23c13b;
}

/* Seção intermediária */
.footer-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 1px solid #333;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-social p {
    margin: 0;
    color: #bfbfbf;
    font-size: 0.9rem;
}

.footer-social .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #23c13b;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.footer-social .social-icon i {
    font-size: 16px;
    color: #fff;
    line-height: 1;
}

.footer-social .social-icon:hover {
    background-color: #1b9c30;
    transform: scale(1.05);
}

.footer-logos img {
    display: block;
    max-height: 50px;
    height: auto;
    max-width: 100%;
}

.footer-newsletter .btn-newsletter {
    background: #046c1e;
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    white-space: nowrap;
}

/* --- Faixa inferior branca total --- */
.footer-bottom {
    background: #fff;
    color: #222;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
    margin: 0;
    border-top: 1px solid #ccc;
}

.footer-bottom p {
    margin: 0;
    background: #fff;
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */

/* Tablets e telas médias (até 1024px) */
@media (max-width: 1024px) {
    .footer-top,
    .footer-middle {
        padding: 2rem 2rem;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-column h3 {
        font-size: 1rem;
    }
}

/* Tablets pequenos e smartphones grandes (até 768px) */
@media (max-width: 768px) {
    .footer-top,
    .footer-middle {
        padding: 1.5rem 1.5rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-column {
        text-align: left;
    }

    .footer-column h3 {
        font-size: 0.95rem;
    }

    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .footer-column ul li a {
        font-size: 0.85rem;
        margin: 0.4rem 0;
    }

    .footer-middle {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-social {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-logos {
        order: -1;
    }

    .footer-logos img {
        max-height: 40px;
    }

    .footer-bottom {
        padding: 1rem 1.5rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Smartphones pequenos (até 480px) */
@media (max-width: 480px) {
    .footer-top,
    .footer-middle {
        padding: 1rem 1rem;
    }

    .footer-column h3 {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .footer-column h4 {
        font-size: 0.95rem;
    }

    .footer-column ul li a {
        font-size: 0.8rem;
    }

    .footer-social .social-icon {
        width: 32px;
        height: 32px;
    }

    .footer-social .social-icon i {
        font-size: 14px;
    }

    .footer-logos img {
        max-height: 35px;
    }

    .footer-bottom {
        padding: 0.8rem 1rem;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }
}