/* ==========================================================================
   FOOTER - LATITUDE OFFSHORE (Customizado)
   ========================================================================== */

/* 1. Fundo e Espaçamento Geral */
.main-footer {
    background-color: #000;
    padding: 50px 0;
    color: #fff;
    width: 100%;
    position: sticky;
    top: 100vh;
    z-index: 999; /* <--- ADICIONE APENAS ESTA LINHA */
}

/* 2. Alinhamento das Colunas principais */
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Ajuste do tamanho da Logo Principal no Footer */
.logo-f {
    width: 200px;
    height: auto;
    display: block;
}

/* ==========================================================================
   3. Estilo dos Links Centrais - CORRIGIDO: Links um embaixo do outro
   ========================================================================== */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;               /* Mudado de Grid para Flex */
    flex-direction: column;      /* Força os links a ficarem um embaixo do outro */
    gap: 15px;                   /* Espaçamento vertical uniforme entre os links */
    text-align: left;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: color 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: #FF6600; /* Laranja da Latitude */
}

/* 4. Ícones Sociais e Contato - MODIFICADO: Força alinhamento à esquerda geral */
.footer-right {
    text-align: left; /* Garante que os textos fiquem à esquerda */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alinha o bloco interno todo à esquerda */
}

/* Ajuste do Bloco de Ícones Sociais */
.social-icons {
    display: flex;
    justify-content: flex-start; /* Move os ícones para começar na esquerda */
    gap: 12px;
    margin-bottom: 20px;
}

/* MODIFICADO: Transforma os links sociais em círculos laranjas perfeitos */
.social-icons .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #FF6600; /* Fundo Laranja institucional */
    border-radius: 50%; /* Torna um círculo perfeito */
    color: #ffffff; /* Símbolo interno branco */
    transition: transform 0.2s ease-in-out, background-color 0.2s;
}

.social-icons .social-icon:hover {
    transform: scale(1.1); /* Efeito sutil ao passar o mouse */
    background-color: #e05a00;
}

.social-icons svg {
    width: 18px; /* Reduzi levemente o SVG para dar a margem interna do círculo */
    height: 18px;
    display: block;
}

/* Informações de contato um embaixo do outro */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact-info p {
    margin: 0;
    font-size: 14px;
    color: #fff;
    text-align: left;
}

/* 5. Botão flutuante do WhatsApp */
.whatsapp-float {
    position: fixed !important; /* <--- ALTERE PARA !IMPORTANT */
    bottom: 25px;
    right: 25px;
    z-index: 999999 !important; /* <--- ALTERE PARA ESTE VALOR COM !IMPORTANT */
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* 6. Responsividade (Mobile) */
@media (max-width: 992px) {
    .footer-container {
        flex-direction: column; /* Empilha tudo no centro no celular */
        text-align: center;
        gap: 35px;
    }

    .footer-links {
        grid-template-columns: 1fr; /* Volta a ser uma única coluna centralizada no mobile */
        text-align: center;
        gap: 15px;
    }
    
    .footer-right {
        align-items: center; /* Centraliza no mobile para manter harmonia */
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-contact-info p {
        text-align: center;
    }
}