/*
 * custom.css — Estilos Customizados e Correções
 * Move estilos inline do index.html para cá e corrige bugs visuais
 */

/* ===========================
   Botão WhatsApp Flutuante
   Estilos completos (antes estavam inline no HTML)
   Cor corrigida: #ffffff → #25D366 (verde oficial WhatsApp)
   =========================== */
.btn-whatsapp-pulse {
    z-index: 999;
    background-color: #ffffff;
    color: #25D366;                  /* Ícone verde sobre fundo branco */
    position: fixed;
    bottom: 30px;
    right: 60px;
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 0;
    height: 0;
    padding: 35px;
    text-decoration: none;
    border-radius: 50%;
    animation-name: pulse-whatsapp;
    animation-duration: 1.5s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-whatsapp-pulse:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.65);
}

@keyframes pulse-whatsapp {
    0%   { box-shadow: 0 0 0 0    rgba(37, 211, 102, 0.75); }
    80%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);    }
    100% { box-shadow: 0 0 0 0    rgba(37, 211, 102, 0);    }
}

/* ===========================
   Botão "Voltar ao Topo"
   Bug corrigido: fundo branco + texto branco → visível
   =========================== */
#scrollTopBtn {
    background-color: rgba(16, 16, 16, 0.92) !important;
    color: #4bff66 !important;
    padding: 10px 22px !important;
    border-radius: 24px !important;
    font-size: 13px !important;
    font-weight: 600;
    letter-spacing: 1px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(75, 255, 102, 0.2) !important;
    bottom: 90px !important; /* Elevado para não sobrepor o botão WhatsApp */
    transition: all 0.3s ease !important;
}

#scrollTopBtn:hover {
    background-color: #4bff66 !important;
    color: #101010 !important;
    transform: translateX(-50%) translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(75, 255, 102, 0.35) !important;
}
