/* Estilos do Footer - AET System */
/* 
 * Este arquivo centraliza os estilos do footer do sistema AET.
 * Os estilos foram baseados no footer aplicado no template login.
 */

/* Footer principal - Padrão para páginas com fundo branco */
.footer {
    background: var(--bg-secondary, #f8f9fa);
    border-top: 1px solid var(--border-light, #e8e8e8);
    color: var(--text-primary, #2C3E50);
    position: relative;
    z-index: 2;
    width: 100%;
    display: block;
}

.footer h3 {
    color: var(--text-primary, #2C3E50);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer p {
    color: var(--text-secondary, #5A6C7D);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Container principal do footer */
.div_footer_index {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    flex-wrap: wrap;
    gap: 1rem;
    min-height: 80px;
    width: 100%;
}

/* Imagens do footer - Padrão para páginas com fundo branco */
.footer img {
    max-height: 60px;
    transition: opacity 0.3s ease;
}

.footer img:hover {
    opacity: 0.8;
}

/* Seção de suporte */
div#suporte {
    width: 100%;
    left: 0;
    height: auto;
    padding-top: 5px;
    padding-bottom: 5px;
    background: transparent;
    display: block;
}

/* ===== ESTILOS ESPECÍFICOS PARA PÁGINAS COM FUNDO COLORIDO ===== */

/* Footer para páginas com fundo colorido (como login) - REMOVIDO */
/* O footer da página de login agora usa o mesmo estilo padrão das outras páginas */

/* ===== RESPONSIVIDADE ===== */

/* Responsividade */
@media (max-width: 768px) {
    .div_footer_index {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        gap: 1.5rem;
    }
    
    .footer h3 {
        font-size: 1rem;
    }
    
    .footer p {
        font-size: 0.85rem;
    }
    
    .footer img {
        max-height: 50px;
    }
}

@media (max-width: 576px) {
    .div_footer_index {
        padding: 1rem 0.5rem;
        gap: 1rem;
    }
    
    .footer h3 {
        font-size: 0.95rem;
    }
    
    .footer p {
        font-size: 0.8rem;
    }
    
    .footer img {
        max-height: 45px;
    }
    
    div#suporte {
        height: auto;
        padding: 10px 5px;
    }
}

/* Melhorias de acessibilidade */
.footer:focus-within {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Transições suaves */
.footer * {
    transition: all 0.3s ease;
}