/* Linha animada em degradê */
.gradient-line {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        #b388ff, 
        #7c4dff, 
        #651fff, 
        #7c4dff, 
        #b388ff, 
        transparent
    );
    background-size: 400% 100%;
    animation: gradientMove 8s ease-in-out infinite;
    margin: 0;
    padding: 0;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Estilos para o rodapé */
.footer {
    background-color: #12022b; /* Mesma cor do fundo do site */
    color: #ffffff;
    padding: 60px 0 20px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    max-width: 150px;
    margin: 0 auto 20px;
    display: block;
}

.footer-logo img {
    max-width: 100%;
    height: auto;
}

.footer-hours {
    margin: 20px 0 30px;
    line-height: 1.6;
}

.footer-hours p {
    margin: 5px 0;
    color: #e0e0e0;
}

.footer-social {
    margin: 30px 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #ffffff;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s ease !important;
    background: none !important;
    border: none !important;
    margin: 0 5px;
    cursor: pointer;
}

.social-link:hover {
    transform: translateY(-3px) !important;
}

/* Cores oficiais das redes sociais no hover */
.social-link.instagram:hover {
    color: #E1306C !important; /* Cor do Instagram */
}

.social-link.facebook:hover {
    color: #1877F2 !important; /* Cor do Facebook */
}

.social-link.whatsapp:hover {
    color: #25D366 !important; /* Cor do WhatsApp */
}

.social-link.youtube:hover {
    color: #FF0000 !important; /* Cor do YouTube */
}

.social-link.twitter:hover {
    color: #1DA1F2 !important; /* Cor do Twitter */
}

.social-link.linkedin:hover {
    color: #0A66C2 !important; /* Cor do LinkedIn */
}

/* Removendo estilos de fundo que podem estar sobrescrevendo o hover */
.facebook, .whatsapp, .instagram, .youtube, .twitter, .linkedin {
    background: none !important;
}

.footer-countries {
    margin: 40px 0;
}

.footer-countries .countries-title {
    color: #ffffff;
    margin-bottom: 12px;
    font-size: 1rem;
    font-weight: normal;
    opacity: 0.9;
}

.country-flags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 20px auto 0;
    max-width: 90%;
    padding: 0 10px;
}

/* Container para as bandeiras com tooltip */
.country-flags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 20px auto 0;
    max-width: 90%;
    padding: 0 10px;
}

/* Container para cada bandeira */
.flag-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.country-flag {
    width: 36px;
    height: 24px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0.9;
}

.flag-container:hover .country-flag {
    transform: scale(1.1);
}

/* Tooltip */
.flag-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #1a0a33;
    color: #9333EA;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease 0.1s; /* Adicionado atraso de 0.1s */
    margin-bottom: 15px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flag-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #1a0a33 transparent transparent transparent;
}

.flag-container {
    position: relative;
    display: inline-block;
    transition: transform 0.2s ease;
}

.flag-container:hover {
    transform: translateY(-2px);
}

.flag-container:hover .flag-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    margin-bottom: 10px;
}

.footer-divider {
    width: 80%;
    max-width: 800px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #9333EA, transparent);
    margin: 30px auto;
}

.footer-copyright {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-top: 20px;
}

/* Responsividade */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-logo {
        max-width: 120px;
    }
    
    .social-links {
        gap: 6px;
    }
    
    .country-flag {
        width: 35px;
        height: 23px;
    }
    
    .footer-divider {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .country-flags {
        gap: 10px;
        max-width: 100%;
    }
    
    .country-flag {
        width: 32px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .footer-hours {
        font-size: 0.95rem;
    }
    
    .country-flags {
        gap: 8px;
    }
    
    .country-flag {
        width: 28px;
        height: 20px;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
        padding: 0 10px;
    }
}
