@keyframes footerGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.main-footer-b2b {
    position: relative;
    background: linear-gradient(135deg, #e60000 0%, #cc0000 50%, #990000 100%);
    background-size: 200% 200%;
    animation: footerGradient 10s ease infinite;
    color: #ffffff;
    padding: 60px 0 20px;
    font-size: 14px;
    overflow: hidden;
    z-index: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.footer-col:hover h4::after {
    width: 50px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #f0f0f0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.footer-links i {
    width: 20px;
    text-align: center;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(8px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.footer-links a:hover i {
    transform: scale(1.2);
}

.anatel-badge img {
    width: 180px;
    height: auto;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.anatel-badge:hover img {
    transform: scale(1.05);
}

.info-legal p {
    font-size: 12px;
    line-height: 1.5;
    opacity: 0.8;
    margin-bottom: 5px;
    color: #fff;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.social-links a:hover {
    background-color: #ffffff;
    color: #cc0000;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.footer-copy {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.footer-copy p {
    font-size: 13px;
    opacity: 0.8;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}