/* Footer (estilos limitados ao footer para não afetar o resto da página) */
/* :where() mantém a especificidade a zero, para não estragar a fonte dos ícones (Font Awesome) */
:where(footer.site-footer, footer.site-footer *) {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

footer.site-footer {
    background: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
    position: relative;
    line-height: 1.6;
}

.site-footer .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1280px;
    margin: 0 auto 40px;
}

.site-footer h2 {
    font-size: 1.5rem;
    color: #ff7a5c;
    margin-bottom: 15px;
}

.site-footer p,
.site-footer a {
    font-size: 1rem;
    color: #f0f0f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer p {
    margin-bottom: 6px;
}

.site-footer a:hover {
    color: #ff6a4d;
}

.site-footer .footer-section.links ul {
    list-style: none;
}

.site-footer .footer-section.links ul li {
    margin-bottom: 10px;
}

/* Listas de links: uma coluna centrada */
.site-footer .nav-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-footer .nav-left,
.site-footer .nav-right {
    list-style: none;
    text-align: center;
}

.site-footer .social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.site-footer .social-links a {
    font-size: 1.8rem;
    color: #fff;
    transition: color 0.3s ease, transform 0.3s ease;
}

.site-footer .social-links a:hover {
    color: #ff6a4d;
    transform: scale(1.2);
}

.site-footer .copyright {
    font-size: 0.85rem;
    color: #bbb;
}

/* Responsividade */
@media (max-width: 768px) {
    .site-footer .footer-content {
        grid-template-columns: 1fr;
    }

    .site-footer .nav-container {
        flex-direction: column;
        align-items: center;
    }

    .site-footer .nav-left,
    .site-footer .nav-right {
        text-align: center;
    }
}
