/* ============================================================
   baixo.css - Estilos do Footer e Componentes Globais
   Vitrine O.E.C.A - Carregado por baixo.php em todas as páginas
   Animações do WhatsApp agora em js/whatsapp-animado.js
   ============================================================ */

/* ============================================
   FOOTER OECA V2 (mantido igual)
   ============================================ */
.footer-oeca-v2 {
    margin-top: 60px;
}

.footer-top {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: rgba(255, 255, 255, 0.85);
    padding: 60px 0 40px;
    position: relative;
}

.footer-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6600, #ff9c2c, #cc6c16);
}

.footer-title {
    color: white;
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.footer-title i {
    color: #ff6600;
}

.footer-subtitle {
    color: #ff9c2c;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 102, 0, 0.3);
    display: inline-block;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Social Buttons */
.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.social-btn:hover {
    transform: translateY(-4px) scale(1.1);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-facebook  { background: linear-gradient(135deg, #1877f2, #166fe5); }
.social-instagram { background: linear-gradient(135deg, #e4405f, #d62d4e, #f77737); }
.social-youtube   { background: linear-gradient(135deg, #FF0000, #CC0000); }  /* NOVO */
.social-email     { background: linear-gradient(135deg, #ff6600, #ff9c2c); }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.footer-links a i {
    color: #ff6600;
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.footer-links a:hover {
    color: #ff9c2c;
    padding-left: 5px;
}

.footer-links a:hover i {
    transform: translateX(3px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact li i {
    color: #ff6600;
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact li a:hover {
    color: #ff9c2c;
    text-decoration: underline;
}

.btn-doacao-footer {
    background: linear-gradient(135deg, #ff6600, #ff9c2c);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.btn-doacao-footer:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.4);
    filter: brightness(1.05);
    color: white;
}

.footer-bottom-v2 {
    background: #1a1a1a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
}

.footer-bottom-v2 p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.footer-bottom-v2 strong {
    color: #ff9c2c;
}

.footer-dev-link {
    color: #ff6600;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-dev-link:hover {
    color: #ff9c2c;
    text-decoration: underline;
}

/* ============================================
   MAPA DO SITE - NOVOS ESTILOS (Adicionados)
   ============================================ */

/* Barra de contato horizontal no footer */
.footer-contact-bar {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-bar .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact-bar .contact-item i {
    color: #ff6600;
    font-size: 1rem;
}

.footer-contact-bar .contact-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-bar .contact-item a:hover {
    color: #ff9c2c;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #ff9c2c;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ============================================
   BOTÃO VOLTAR AO TOPO
   ============================================ */
#toTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6600, #ff9c2c);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9998;
}

#toTop.show {
    opacity: 1;
    visibility: visible;
}

#toTop:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.5);
}

/* ============================================
   BOTÃO WHATSAPP FLUTUANTE GLOBAL
   Estilos base - Animações em JS
   ============================================ */

.whatsapp-flutuante {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 9999;
    overflow: hidden; /* Para efeito de onda */
}

.whatsapp-flutuante:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    color: #fff;
}

/* Balão de texto */
.whatsapp-flutuante .balao {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%) scale(0.8);
    background: #25D366;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.whatsapp-flutuante .balao::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent #25D366;
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 991.98px) {
    .footer-top { padding: 40px 0 30px; }
    .footer-title { font-size: 1.2rem; }
}

@media (max-width: 767.98px) {
    .footer-bottom-v2 .col-md-6:first-child { margin-bottom: 10px; }
    .footer-social { justify-content: center; }
    .footer-brand { text-align: center; }
    
    /* NOVO: Responsividade do Mapa do Site */
    .footer-contact-bar {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-contact-bar .contact-item {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    #toTop {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-flutuante {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 80px;
        right: 20px;
    }
    
    .whatsapp-flutuante .balao {
        display: none;
    }
}

/* Focus visible para acessibilidade */
.footer-oeca-v2 *:focus-visible,
#toTop:focus-visible,
.whatsapp-flutuante:focus-visible {
    outline: 2px solid #ff6600;
    outline-offset: 2px;
}

/* ============================================
   DESENVOLVEDOR NEON FUTURÍSTICO
   ============================================ */

.footer-dev {
    display: inline-block;
}

.dev-neon {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    position: relative;
    padding: 2px 8px;
    border-radius: 12px;
}

.dev-neon i {
    color: #ff6600;
    font-size: 1rem;
    animation: neon-pulse-icon-orange 2s ease-in-out infinite;
    transition: color 0.4s ease;
}

.dev-neon strong {
    color: #ff9c2c;
    font-weight: 700;
    text-shadow: 
        0 0 5px rgba(255, 102, 0, 0.5),
        0 0 10px rgba(255, 102, 0, 0.3),
        0 0 20px rgba(255, 102, 0, 0.2);
    animation: neon-flicker-orange 3s ease-in-out infinite;
    transition: all 0.4s ease;
}

/* Efeito de brilho radial no hover */
.dev-neon::before {
    content: '';
    position: absolute;
    inset: -4px -12px;
    background: radial-gradient(ellipse at center, rgba(255, 102, 0, 0.15) 0%, transparent 70%);
    border-radius: 20px;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
    pointer-events: none;
}

/* ========== HOVER: MUDA PARA VERDE NEON ========== */

.dev-neon:hover {
    color: rgba(255, 255, 255, 0.95);
}

.dev-neon:hover::before {
    opacity: 1;
    background: radial-gradient(ellipse at center, rgba(0, 255, 65, 0.2) 0%, transparent 70%);
}

.dev-neon:hover i {
    color: #00ff41;
    animation: neon-pulse-icon-green 1.5s ease-in-out infinite;
    text-shadow: 
        0 0 5px rgba(0, 255, 65, 0.8),
        0 0 10px rgba(0, 255, 65, 0.6);
}

.dev-neon:hover strong {
    color: #00ff41;
    text-shadow: 
        0 0 5px rgba(0, 255, 65, 0.8),
        0 0 10px rgba(0, 255, 65, 0.6),
        0 0 20px rgba(0, 255, 65, 0.4),
        0 0 40px rgba(0, 255, 65, 0.2);
    animation: neon-flicker-green 2s ease-in-out infinite;
}

/* ========== ANIMAÇÕES LARANJA (ESTADO NORMAL) ========== */

@keyframes neon-pulse-icon-orange {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        text-shadow: 0 0 5px rgba(255, 102, 0, 0.5);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
        text-shadow: 0 0 15px rgba(255, 102, 0, 0.8), 0 0 30px rgba(255, 102, 0, 0.4);
    }
}

@keyframes neon-flicker-orange {
    0%, 100% { opacity: 1; }
    41% { opacity: 1; }
    42% { opacity: 0.8; }
    43% { opacity: 1; }
    45% { opacity: 1; }
    46% { opacity: 0.9; }
    47% { opacity: 1; }
}

/* ========== ANIMAÇÕES VERDE NEON (HOVER) ========== */

@keyframes neon-pulse-icon-green {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        text-shadow: 
            0 0 5px rgba(0, 255, 65, 0.8),
            0 0 10px rgba(0, 255, 65, 0.5);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.15);
        text-shadow: 
            0 0 10px rgba(0, 255, 65, 1),
            0 0 20px rgba(0, 255, 65, 0.8),
            0 0 40px rgba(0, 255, 65, 0.4);
    }
}

@keyframes neon-flicker-green {
    0%, 100% { opacity: 1; }
    40% { opacity: 1; }
    41% { opacity: 0.7; }
    42% { opacity: 1; }
    44% { opacity: 1; }
    45% { opacity: 0.85; }
    46% { opacity: 1; }
    98% { opacity: 1; }
    99% { opacity: 0.9; }
    100% { opacity: 1; }
}

/* ========== LINK COMENTADO (QUANDO ATIVAR) ========== */

.dev-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    position: relative;
    padding: 2px 8px;
    border-radius: 12px;
}

.dev-link i {
    color: #ff6600;
    font-size: 1rem;
    animation: neon-pulse-icon-orange 2s ease-in-out infinite;
    transition: color 0.4s ease;
}

.dev-link strong {
    color: #ff9c2c;
    font-weight: 700;
    text-shadow: 
        0 0 5px rgba(255, 102, 0, 0.5),
        0 0 10px rgba(255, 102, 0, 0.3),
        0 0 20px rgba(255, 102, 0, 0.2);
    animation: neon-flicker-orange 3s ease-in-out infinite;
    transition: all 0.4s ease;
}

.dev-link:hover {
    color: rgba(255, 255, 255, 0.95);
}

.dev-link:hover i {
    color: #00ff41;
    animation: neon-pulse-icon-green 1.5s ease-in-out infinite;
    text-shadow: 
        0 0 5px rgba(0, 255, 65, 0.8),
        0 0 10px rgba(0, 255, 65, 0.6);
}

.dev-link:hover strong {
    color: #00ff41;
    text-shadow: 
        0 0 5px rgba(0, 255, 65, 0.8),
        0 0 10px rgba(0, 255, 65, 0.6),
        0 0 20px rgba(0, 255, 65, 0.4),
        0 0 40px rgba(0, 255, 65, 0.2);
    animation: neon-flicker-green 2s ease-in-out infinite;
}

.dev-link:hover::before {
    content: '';
    position: absolute;
    inset: -4px -12px;
    background: radial-gradient(ellipse at center, rgba(0, 255, 65, 0.2) 0%, transparent 70%);
    border-radius: 20px;
    opacity: 1;
    z-index: -1;
    pointer-events: none;
}

/* ========== RESPONSIVO ========== */

@media (max-width: 767.98px) {
    .dev-neon,
    .dev-link {
        justify-content: center;
        font-size: 0.8rem;
    }
    
    .dev-neon strong,
    .dev-link strong {
        text-shadow: 
            0 0 3px rgba(255, 102, 0, 0.4),
            0 0 8px rgba(255, 102, 0, 0.2);
    }
    
    .dev-neon:hover strong,
    .dev-link:hover strong {
        text-shadow: 
            0 0 3px rgba(0, 255, 65, 0.6),
            0 0 8px rgba(0, 255, 65, 0.4);
    }
}