/**
 * WhatsApp Call to Action Fixo - Estilos
 * Botão fixo no canto inferior direito
 */

.whatsapp-cta-fixo {
    position: fixed;
    bottom: 130px;
    right: 30px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: pulseScale 2s infinite;
}

.whatsapp-cta-fixo:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    text-decoration: none;
    color: #ffffff;
    animation: none;
}

.whatsapp-cta-icone {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.whatsapp-cta-fixo:hover .whatsapp-cta-icone {
    transform: rotate(15deg) scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.whatsapp-cta-icone svg {
    width: 30px;
    height: 30px;
    color: #ffffff;
}

.whatsapp-cta-texto {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.whatsapp-cta-principal {
    white-space: nowrap;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.whatsapp-cta-secundario {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 2px;
    color: #ffffff;
}

/* Animação de pulso */
@keyframes pulseScale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsividade para dispositivos móveis */
@media screen and (max-width: 768px) {
    .whatsapp-cta-fixo {
        bottom: 20px;
        right: 20px;
        padding: 12px 18px;
    }
    
    .whatsapp-cta-icone {
        min-width: 45px;
        height: 45px;
        margin-right: 12px;
    }
    
    .whatsapp-cta-icone svg {
        width: 26px;
        height: 26px;
    }
    
    .whatsapp-cta-principal {
        font-size: 13px;
    }
    
    .whatsapp-cta-secundario {
        font-size: 10px;
    }
}

/* Para telas muito pequenas (celulares em modo retrato) */
@media screen and (max-width: 480px) {
    .whatsapp-cta-fixo {
        bottom: 15px;
        right: 15px;
        padding: 10px 15px;
        flex-wrap: wrap;
        max-width: 90vw;
    }
    
    .whatsapp-cta-icone {
        min-width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
    .whatsapp-cta-icone svg {
        width: 24px;
        height: 24px;
    }
    
    .whatsapp-cta-principal {
        font-size: 12px;
    }
    
    .whatsapp-cta-secundario {
        font-size: 9px;
    }
}

/* Garantir que o botão fique por cima de outros elementos */
.whatsapp-cta-fixo {
    -webkit-tap-highlight-color: transparent;
}

/* Efeito de clique/toque */
.whatsapp-cta-fixo:active {
    transform: scale(0.95);
}
