@import url('variables.css');

a {
    text-decoration: none;
    color: inherit;
}

.footer1 {
    background-color: var(--bg-color);
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 14px;
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-logo {
    font-family: var(--font-titles);
    font-size: 1.4em;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo-text {
    color: var(--primary-color); 
}

.footer-nav a {
    margin-left: 20px;
    transition: all 0.3s ease;
    font-weight: 400;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.footer-divider {
    border: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 10px;
}

.social-links, .redes-sociais {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    font-family: var(--font-body);
    color: var(--text-main);
    font-size: 14px;
}

.social-links a, .redes-sociais a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links img, .redes-sociais img, .social-icon {
    height: 24px; /* Tamanho proporcional ao texto (14px-16px) */
    width: auto;
    filter: brightness(0) saturate(100%) invert(77%) sepia(21%) saturate(543%) hue-rotate(352deg) brightness(87%) contrast(85%); 
    transition: all 0.3s ease;
}

.social-links img:hover, .redes-sociais img:hover, .social-icon:hover {
    transform: scale(1.1);
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%); /* Fica branco no hover */
}

.privacy-policy {
    font-size: 13px;
    opacity: 0.8;
}

@media screen and (max-width: 1150px) {
    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav {
        margin-top: 15px;
    }

    .footer-nav a {
        margin: 5px 10px;
        display: block;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .copyright-info {
        margin-bottom: 10px;
    }

    .social-links {
        margin-top: 10px;
        justify-content: center; 
        width: 100%;
    }
}
