@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');

/* Footer */
.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 4rem 2rem 2rem;
    font-family: 'Lexend', sans-serif;
    margin-top: auto;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #dc3545;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-section p {
    color: #cccccc;
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 1rem;
}

.footer-section .contato-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #cccccc;
    font-size: 14px;
}

.footer-section .contato-item::before {
    content: '';
    width: 16px;
    height: 16px;
    margin-right: 0.75rem;
    background-size: contain;
    background-repeat: no-repeat;
    filter: invert(1);
}

.contato-item.email::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 8l7.89 4.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z'/%3E%3C/svg%3E");
}

.contato-item.telefone::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z'/%3E%3C/svg%3E");
}

.contato-item.endereco::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 11a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3C/svg%3E");
}

.redes-sociais {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.rede-social {
    width: 40px;
    height: 40px;
    background-color: #333333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rede-social img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.rede-social:hover {
    background-color: #dc3545;
    transform: translateY(-3px);
}

.rede-social:hover img {
    filter: brightness(0) invert(1);
    transform: scale(1.1);
}

.rede-social.facebook:hover {
    background-color: #1877f2;
}

.rede-social.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.rede-social.twitter:hover {
    background-color: #1da1f2;
}

.rede-social.youtube:hover {
    background-color: #ff0000;
}

.newsletter {
    margin-top: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #333333;
    background-color: #1a1a1a;
    color: #ffffff;
    border-radius: 6px;
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
}

.newsletter-input::placeholder {
    color: #888888;
}

.newsletter-input:focus {
    outline: none;
    border-color: #dc3545;
}

.newsletter-btn {
    padding: 0.75rem 1.5rem;
    background-color: #dc3545;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.newsletter-btn:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #888888;
    font-size: 13px;
    margin: 0;
}

.pagamentos {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.pagamento-item {
    background-color: #ffffff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #000000;
    text-transform: uppercase;
}

/* Responsividade */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 1rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-btn {
        align-self: flex-start;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .pagamentos {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0.75rem 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 16px;
        margin-bottom: 1rem;
    }
    
    .redes-sociais {
        justify-content: center;
    }
    
    .rede-social {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}