/* Solução definitiva para o footer */

/* Reset total para o footer */
footer {
    background-color: var(--primary-dark)!important;
    color: #ffffff !important;
    padding: 15px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Forçar container-fluid a ocupar toda a largura */
footer .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin: 0 !important;
}

/* Regras específicas para o container atual */
footer .container {
    padding: 0 !important;
    margin: 0 auto !important;
}

/* Sobrepor padding do style.css em todas as telas */
@media (max-width: 1024px) {
    footer .container {
        padding: 0 !important;
    }
}

footer .container > div {
    margin: 0 !important;
    padding: 0 !important;
}

/* Forçar o flex container principal a ter o layout correto */
footer .container-fluid > div {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    margin-bottom: 0 !important;
    width: 100% !important;
}

/* Regras para as colunas do footer */
footer .container-fluid > div > div {
    flex: 1 !important;
    min-width: 250px !important;
    margin-bottom: 0 !important;
    padding: 0 15px !important;
}

/* Títulos do footer */
footer h3 {
    font-size: 20px !important;
    margin-bottom: 20px !important;
    color: #fff !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}

/* Links do footer */
footer a {
    color: #fff !important;
    text-decoration: none !important;
    transition: color 0.3s !important;
}


/* Listas do footer */
footer ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

footer ul li {
    margin-bottom: 10px !important;
}

/* Ícones de redes sociais */
footer .social-links a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    background-color: #e20613 !important;
    border-radius: 50% !important;
    margin-right: 10px !important;
}

/* Copyright e termos */
footer .copyright {
    padding-top: 20px !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    font-size: 14px !important;
    color: rgba(255,255,255,0.7) !important;
    text-align: center !important;
    width: 100% !important;
}

/* Media query para dispositivos móveis */
@media (max-width: 768px) {
    footer .container-fluid > div {
        flex-direction: column !important;
    }
    
    footer .container-fluid > div > div {
        width: 100% !important;
        padding: 0 15px !important;
    }
}
