/* ==========================================================================
   RODAPÉ - CHÁ COM MENTA RETRATOS (VERSÃO FINAL SEM CONFLITOS)
   ========================================================================== */

/* 1. Reset de conflitos globais dentro do footer */
.footer-container p {
    color: #eee !important; /* Sobrescreve o p { color: #fff } global para melhor leitura */
    margin-top: 0;
    text-align: inherit;
}

.footer-container {
    background: linear-gradient(135deg, #3d2b4d 0%, #6b8c83 100%);
    color: #ffffff;
    /* Aumentamos o padding inferior para os botões flutuantes não cobrirem o texto */
    padding: 40px 20px 100px; 
    font-family: 'Montserrat', sans-serif;
    margin-top: -5px; /* Remove a faixa branca entre seções */
    width: 100%;
    position: relative;
    clear: both;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start; 
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
}

.footer-column h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: #f0f0f0 !important;
    font-weight: 600;
    line-height: 1.2;
}

/* --- LOGO --- */
.footer-logo {
    width: 100%;
    max-width: 180px; 
    height: auto;      
    margin-bottom: 20px;
    display: block;
}

.footer-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* --- ÍCONES SOCIAIS (CORRIGIDO PARA NÃO CONFLITAR) --- */
.social-icons-footer {
    display: flex !important;
    gap: 15px !important;
    margin-top: 10px !important;
    align-items: center !important;
    justify-content: flex-start;
}

.social-icons-footer img {
    width: 24px !important;       
    height: 24px !important;      
    object-fit: contain !important; 
    filter: brightness(0) invert(1) !important;
    margin: 0 !important;
}

/* --- MENU --- */
.footer-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    column-count: 2;
    column-gap: 20px;
}

.footer-menu li {
    margin-bottom: 12px;
    break-inside: avoid;
    border: none !important; /* Remove bordas de li mobile global */
    padding: 0 !important;
}

.footer-menu a {
    color: #ccc !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    font-weight: normal !important;
    transition: 0.3s;
}

.footer-menu a:hover {
    color: #ffffff !important;
}

/* --- LOCALIZAÇÃO E BOTÃO --- */
.footer-map-link {
    color: #eee;
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

.btn-contato {
    display: inline-block;
    align-self: flex-start;
    background-color: transparent;
    color: #ffffff !important;
    padding: 10px 20px;
    border: 1px solid #ffffff !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    margin-top: 15px;
    transition: 0.3s;
    border-radius: 0;
}

.btn-contato:hover {
    background-color: #ffffff;
    color: #3d2b4d !important;
}

/* --- COPYRIGHT --- */
.footer-bottom {
    flex-basis: 100%;
    width: 100%;
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: #bbb !important;
    font-size: 0.8rem !important;
    text-align: center !important;
}

/* ==========================================================================
   MOBILE AJUSTES (RESOLVENDO CONFLITOS DE ALINHAMENTO)
   ========================================================================== */

@media (max-width: 768px) {
    .footer-container {
        padding-bottom: 90px; /* Espaço para botões flutuantes no celular */
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-column {
        align-items: center;
        width: 100%;
        min-width: 100%;
    }

    .footer-menu {
        column-count: 1;
    }

    .social-icons-footer {
        justify-content: center !important;
    }

    .btn-contato {
        align-self: center;
    }

    .footer-logo {
        width: 100%;
        max-width: 140px; 
        height: auto;      
        margin-bottom: 20px;
        display: block;
    }
}