/* Correção específica para o logotipo no footer */

/* Container principal do footer - responsivo */
footer .container > div:first-child,
footer .footer-responsive {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    max-width: 1800px !important;
    margin: 0 auto !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

/* Container do logotipo - força as dimensões corretas */
footer .container > div > div:first-child,
footer .footer-logo {
    flex: 0 0 auto !important;
    position: relative !important;
    height: 150px !important;
    width: 300px !important;
    overflow: hidden !important;
    min-width: 280px !important;
    padding: 0 !important;
}

/* Imagem do logotipo - garante posicionamento correto */
footer .container > div > div:first-child img,
footer .footer-logo img {
    height: 300px !important;
    width: 300px !important;
    position: absolute !important;
    left: -13px !important;
    top: -75px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Seções do footer */
footer .footer-section {
    text-align: left !important;
    margin-top: 20px !important;
}

footer .footer-section.center {
    text-align: center !important;
}

footer .footer-section h3 {
    font-size: 20px !important;
    margin-bottom: 14px !important;
    color: #fff !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

footer a[href="termos-de-uso.html"] {
    white-space: nowrap !important;
}

footer div[style*="border-top: 1px solid rgba(255, 255, 255, 0.1)"] > p {
    word-spacing: -1px !important;
}

footer .footer-section.connect h3 {
    font-size: 18px !important;
}

footer img[src*="travelife"] {
    display: none !important;
}

/* Responsivo para telas pequenas - apenas correção do logo Travelife */
@media (max-width: 768px) {
    /* Apenas corrigir o logo do Travelife Partner em mobile */
    footer .footer-section.partner img,
    footer[style] .footer-section.partner img {
        height: 60px !important;
        width: 140px !important;
        max-width: 1800px !important;
        right: -150px !important;
    }
}

   /* CORREÇÃO PARA PARTNERS EM MOBILE - Manter logos lado a lado */
        @media (max-width: 991px) {
            /* Container dos logos Partners - forçar layout horizontal */
            footer .footer-section.partner div[style*="display: flex"],
            footer .footer-section div[style*="display: flex"],
            footer div[style*="display: flex"] {
                display: flex !important;
                flex-direction: row !important;
                align-items: center !important;
                gap: 15px !important;
                justify-content: flex-start !important;
                flex-wrap: nowrap !important;
            }
            
            /* Logo Travelife - mesma altura que Amigos da Natureza */
            footer img[src*="travelife"] {
                display: none !important;
            }
            
            /* Logo Friend of Nature - alinhado com Travelife */
            body footer .footer-section div img[src*="amigodanaturezaLogotipo"],
            body footer div div img[src*="amigodanaturezaLogotipo"],
            body footer img[alt*="Friend of Nature"] {
                height: 50px !important;
                width: auto !important;
                min-height: 50px !important;
                max-height: 50px !important;
                margin-top: 5px !important;
                margin-left: -25px !important;
                transform: none !important;
                object-fit: contain !important;
                display: inline-block !important;
                flex-shrink: 0 !important;
            }
        }

       
 

/* Sobrepor qualquer regra que possa esconder o logotipo */
footer img[src*="logo_branco"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

 body footer img[src*="amigodanaturezaLogotipo"],
 body footer img[alt*="Friend of Nature"] {
     display: none !important;
 }

 body footer .footer-section div img[src*="amigodanaturezaLogotipo"],
 body footer div div img[src*="amigodanaturezaLogotipo"],
 body footer .footer-section div img[alt*="Friend of Nature"],
 body footer div div img[alt*="Friend of Nature"] {
     display: none !important;
     visibility: hidden !important;
     opacity: 0 !important;
 }
