/* ===== FOOTER CORRIGIDO - CENTRALIZADO ===== */

.footer {
    background: var(--primary);
    color: white;
    padding: 0 0 30px 0;
    margin-top: auto;
    text-align: center; /* CENTRALIZAR TEXTO */
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    align-items: start;
    justify-items: center; /* CENTRALIZAR COLUNAS */
}

.footer-section:first-child {
    display: flex;
    flex-direction: column;
    align-items: center; /* CENTRALIZAR LOGO */
    text-align: center;
}

.footer-logo {
    width: 300px !important;
    height: auto;
    display: block;
    margin: 0 auto; /* CENTRALIZAR */
}

.footer-description {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 25px;
    max-width: 320px;
    text-align: center; /* CENTRALIZAR */
}

.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    justify-content: center; /* CENTRALIZAR */
}

.social-link {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-2px);
    border-color: var(--accent);
}

.footer-section {
    text-align: center; /* CENTRALIZAR SEÇÕES */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 12px;
    text-align: center; /* CENTRALIZAR TÍTULOS */
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%; /* CENTRALIZAR BARRA */
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center; /* CENTRALIZAR LINKS */
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: inline-block;
    text-align: center; /* CENTRALIZAR */
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center; /* CENTRALIZAR CONTATO */
    text-align: center;
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
    justify-content: center; /* CENTRALIZAR */
}

.contact-line i {
    color: var(--accent);
    font-size: 1.1rem;
    min-width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    margin-top: 50px;
    display: flex;
    justify-content: center; /* CENTRALIZAR */
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom .footer-links {
    display: flex;
    gap: 25px;
    justify-content: center; /* CENTRALIZAR */
}

.footer-bottom .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom .footer-links a:hover {
    color: var(--accent);
}

/* RESPONSIVO */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        justify-items: center;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 0 0 25px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-logo {
        width: 250px !important;
    }
}

@media (max-width: 576px) {
    .footer-logo {
        width: 220px !important;
    }
}