/* Botões de Contato Flutuantes - Perfect Presell */

.pp-contact-button {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.3s ease !important;
    z-index: 999999 !important;
    animation: pulse-glow 2s infinite;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
}

.pp-contact-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    animation: none;
}

.pp-contact-floating-btn svg {
    width: 28px;
    height: 28px;
    color: white;
    fill: white;
}

/* Animação de pulso */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(255, 255, 255, 0.7);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 0 20px rgba(255, 255, 255, 0);
        transform: scale(1.08);
    }
    100% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(255, 255, 255, 0);
        transform: scale(1);
    }
}

/* Efeito de ondas adicionais */
.pp-contact-button::before,
.pp-contact-button::after {
    content: '';
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.6);
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 50%;
    animation: pulse-wave 3s linear infinite;
    opacity: 0;
    z-index: -1;
}

.pp-contact-button::after {
    animation-delay: 1.5s;
}

@keyframes pulse-wave {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

/* Cores específicas por plataforma */
.pp-contact-floating-btn[data-type="whatsapp"] {
    background-color: #25D366;
}

.pp-contact-floating-btn[data-type="instagram"] {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.pp-contact-floating-btn[data-type="telegram"] {
    background-color: #0088cc;
}

.pp-contact-floating-btn[data-type="skype"] {
    background-color: #00AFF0;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    .pp-contact-floating-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .pp-contact-floating-btn svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .pp-contact-floating-btn {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .pp-contact-floating-btn svg {
        width: 22px;
        height: 22px;
    }
}

/* Efeito de clique */
.pp-contact-floating-btn:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

/* Tooltip opcional */
.pp-contact-floating-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.pp-contact-floating-btn:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Seta do tooltip */
.pp-contact-floating-btn::after {
    content: '';
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid rgba(0, 0, 0, 0.8);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.pp-contact-floating-btn:hover::after {
    opacity: 1;
    visibility: visible;
}
