/* ==========================================================================
   FOOTER.CSS — Rodapé e WhatsApp FAB (Arquitetura Escalável)
   ========================================================================== */

.site-footer {
    background-color: #0D1B2A;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(196,160,74,0.1);
    color: #fff;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Coluna da marca */
.footer-brand { 
    text-align: center; 
}
.footer-logo-link { 
    display: inline-block; 
    margin-bottom: 1.5rem; 
}
.footer-logo-img { 
    max-height: 80px;
    width: auto;
    object-fit: contain;
}
.footer-tagline { 
    color: #9CA3AF; 
    font-size: 0.95rem; 
    line-height: 1.6; 
    max-width: 400px; 
    margin: 0 auto; 
}

/* Grid de navegação (Estilo Botões no Mobile) */
.footer-nav-grid {
    display: grid;
    grid-template-columns: 1fr; /* 1 coluna no mobile para não espremer os botões */
    gap: 2rem;
}

.footer-nav-title {
    color: var(--portal-gold, #C4A04A);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-align: center; /* Centraliza o título no mobile */
}

.footer-nav-list { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Botões ocupando metade da tela (50%) */
    gap: 0.75rem;
}
.footer-nav-list li { 
    margin-bottom: 0; 
}
.footer-nav-list a { 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff; 
    text-decoration: none; 
    font-size: 0.85rem; 
    border: 1px solid rgba(196,160,74,0.3); /* Contorno dourado suave */
    border-radius: 8px;
    padding: 0.75rem 0.5rem;
    transition: all 0.3s;
    height: 100%;
}
.footer-nav-list a:hover { 
    border-color: var(--portal-gold, #C4A04A); 
    background: rgba(196,160,74,0.1);
    color: var(--portal-gold, #C4A04A); 
}

/* Coluna social */
.footer-social-col { 
    text-align: center; 
}
.footer-social { 
    display: flex; 
    justify-content: center; 
    gap: 1.5rem; 
    margin-top: 1rem; 
}
.footer-social__link {
    background: rgba(255,255,255,0.05);
    color: #fff;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    border: 1px solid rgba(196,160,74,0.1);
    text-decoration: none;
}
.footer-social__link:hover {
    background: var(--portal-gold, #C4A04A);
    color: #000;
    transform: translateY(-3px);
}

/* Rodapé inferior */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}
.footer-copy { 
    color: #6B7280; 
    font-size: 0.85rem; 
    margin-bottom: 1rem; 
}
.footer-legal { 
    display: flex; 
    justify-content: center; 
    gap: 1.5rem; 
}
.footer-legal a { 
    color: #9CA3AF; 
    text-decoration: none; 
    font-size: 0.8rem; 
}

/* WhatsApp FAB */
.whatsapp-fab {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 90;
    background-color: #25D366;
    color: #fff;
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}
.whatsapp-fab:hover { 
    transform: scale(1.1); 
}

/* AJUSTES DESKTOP */
@media (min-width: 1024px) {
    .footer-top {
        grid-template-columns: 1.5fr 2fr 1fr;
        text-align: left;
    }
    .footer-brand { 
        text-align: left; 
    }
    .footer-brand .footer-tagline { 
        margin: 0; 
    }
    .footer-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-nav-title {
        text-align: left;
    }
    .footer-nav-list {
        grid-template-columns: 1fr; /* No desktop volta a ser lista normal */
    }
    .footer-nav-list a {
        display: inline-block;
        border: none;
        padding: 0;
        text-align: left;
    }
    .footer-nav-list a:hover {
        background: transparent;
    }
    .footer-social-col { 
        text-align: left; 
    }
    .footer-social { 
        justify-content: flex-start; 
    }
    .footer-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    .footer-copy { 
        margin-bottom: 0; 
    }
}