.footer {
    background: var(--dark2);
    color: #9b95b5;
    padding: 4rem 0 0;
    contain: layout style paint;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__logo-img {
    height: 30px;
    width: auto;
    margin-bottom: 1rem;
}

.footer__desc {
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.footer__social {
    display: flex;
    gap: 0.5rem;
}

.footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #9b95b5;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer__social a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.3);
}

.footer__heading {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.25rem;
}

.footer__links li {
    margin-bottom: 0.6rem;
}

.footer__links a {
    font-size: 0.85rem;
    color: #9b95b5;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transform: translateZ(0);
}

.footer__links a::after {
    content: '→';
    font-size: 0.8rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer__links a:hover {
    color: #fff;
    transform: translateX(6px);
}

.footer__links a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.footer__contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.15);
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.footer__contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    line-height: 1.4;
}

.footer__contact-info a {
    color: #9b95b5;
    transition: color 0.3s ease;
}

.footer__contact-info a:hover {
    color: #fff;
}

.footer__contact-info span {
    color: #9b95b5;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer__bottom-links a {
    color: #9b95b5;
    transition: color 0.2s ease;
}

.footer__bottom-links a:hover {
    color: #fff;
}

/* =========================================================
   RESPONSIVO
========================================================= */

/* Tablet */
@media (max-width: 991px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

/* Mobile Grande */
@media (max-width: 767px) {
    .footer {
        padding: 3rem 0 0;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer__logo-img {
        margin-left: auto;
        margin-right: auto;
    }

    .footer__social {
        justify-content: center;
    }

    .footer__heading {
        text-align: center;
    }

    .footer__links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer__links a {
        justify-content: center;
    }

    .footer__contact {
        align-items: stretch;
        width: min(100%, 360px);
        margin-inline: auto;
    }

    .footer__contact li {
        align-items: flex-start;
        justify-content: center;
        text-align: left;
    }

    .footer__contact-info { min-width: 0; text-align: justify; overflow-wrap: anywhere; }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .footer__bottom-links {
        justify-content: center;
    }
}

/* Mobile Pequeno */
@media (max-width: 480px) {
    .footer__grid {
        gap: 2rem;
    }

    .footer__social {
        gap: 0.4rem;
    }

    .footer__social a {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .footer__contact li {
        flex-direction: row;
        text-align: left;
        gap: 0.75rem;
    }

    .footer__contact-icon {
        margin: 0;
    }

    .footer__bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}
