/* ============================================
   BOTÃO FLUTUANTE WHATSAPP — Gráfica Rápida
   Arquivo: css/whatsapp-float.css
   ============================================ */

.wa-float {
    position: fixed;
    width: 64px;
    height: 64px;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 34px;
    line-height: 64px;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Efeito de pulsar (anel expansivo) */
.wa-float::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    z-index: -1;
    animation: wa-pulse 2s infinite;
}

/* Segundo anel (mais suave, com delay) */
.wa-float::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    z-index: -2;
    animation: wa-pulse 2s infinite 0.5s;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Hover — cresce um pouco */
.wa-float:hover {
    background: #128C7E;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.8);
}

.wa-float:hover::before,
.wa-float:hover::after {
    animation-play-state: paused;
}

/* Ícone dentro do botão */
.wa-float i {
    font-size: 34px;
    line-height: 1;
}

/* Ajuste no celular (menor) */
@media (max-width: 575px) {
    .wa-float {
        width: 56px;
        height: 56px;
        font-size: 28px;
        bottom: 18px;
        right: 18px;
    }
    .wa-float i { font-size: 28px; }
}

/* Respeita quem prefere menos animação (acessibilidade) */
@media (prefers-reduced-motion: reduce) {
    .wa-float::before,
    .wa-float::after {
        animation: none;
    }
}