/* Footer compartilhado (home, serviços e contatos). Fonte única: não duplicar em outra pasta. */
.footer {
    background: linear-gradient(to bottom, #1a1a1a, #0a0a0a);
    color: var(--text-light);
    padding: 2rem 0 2rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer .container {
    padding: 0 1rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 4rem;
    place-items: center;
}

.footer__title {
    color: var(--text-light);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    text-align: center;
}

.footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer__links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__links-item {
    margin-bottom: 0.75rem;
}

.footer__link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer__link:hover {
    color: var(--text-light);
    transform: translateX(5px);
}

.footer__link::before {
    content: '→';
    margin-right: 0.5rem;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.footer__link:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer__social-links {
    display: flex;
    gap: 1.25rem;
}

.footer__social-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.footer__social-link:hover {
    color: var(--text-light);
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer__info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

@media (max-width: 1024px) {
    .footer {
        padding: 5rem 0 2rem;
    }

    .footer__grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 4rem 0 2rem;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .footer__title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .footer__social-links {
        justify-content: flex-start;
        gap: 1rem;
    }

    .footer__social-link {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }

    .footer__info {
        margin-top: 2rem;
        padding-top: 1.5rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer__grid {
        gap: 2rem;
    }

    .footer__links-list {
        display: flex;
        flex-direction: column;
    }

    .footer__links-item {
        margin-bottom: 0.5rem;
    }
}
