/* Footer Styles */
#footer {
    background: linear-gradient(to bottom, var(--bg-light), var(--bg-white));
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-light);
    position: relative;
}

.footer-about {
    max-width: 600px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.footer-brand-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.footer-brand-text p {
    color: var(--text-secondary);
    margin: 0.25rem 0 0;
    font-size: 0.95rem;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 1.5rem 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links h4 {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: none;
    transition: color 0.2s ease;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: var(--primary-color-light) !important;
}

.footer-links i {
    margin-right: 0.5rem;
    width: 1.25rem;
    text-align: center;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: var(--primary-color-light);
}

.footer-badges {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-white);
    border: 1px solid var(--border-dark);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    min-width: 160px;
    max-width: 200px;
    justify-content: center;
    text-decoration: none;
    flex: 1;
    white-space: nowrap;
    box-shadow: var(--shadow-light);
}

.footer-badge:hover,
.footer-badge:focus {
    box-shadow: var(--shadow-medium);
    background: var(--bg-lighter);
    color: var(--text-primary);
    border-color: var(--border-medium);
    outline: none;
}

.footer-badge:focus-visible {
    outline: 2px solid var(--border-dark);
    outline-offset: 2px;
}

.footer-badge i {
    margin-right: 0.5rem;
}

/* Responsividade */
@media screen and (max-width: 980px) {
    .footer-badges {
        gap: var(--spacing-sm);
    }
    
    .footer-badge {
        min-width: 140px;
        max-width: 180px;
        font-size: 0.85rem;
        padding: var(--spacing-sm) var(--spacing-md);
    }
}

@media screen and (max-width: 736px) {
    #footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-brand {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .footer-logo {
        width: 60px;
        height: 60px;
    }

    .footer-badges {
        flex-direction: column;
        gap: 0.75rem;
        justify-content: center;
    }

    .footer-badge {
        width: 100%;
        justify-content: center;
        flex: none;
        min-width: auto;
        max-width: none;
        padding: var(--spacing-sm) var(--spacing-md);
    }
}

@media screen and (max-width: 480px) {
    #footer {
        padding: 2rem 0 1rem;
    }

    .footer-description {
        font-size: 0.9rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }
}
