/* FONT AWESOME 6.5.2 */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css');

/* ANIMAÇÕES PRINCIPAIS */
@keyframes gradient-3d-flow {
    0% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes icon-3d-pulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg) translateZ(0); 
        text-shadow: 0 0 0 rgba(0,0,0,0);
    }
    50% { 
        transform: scale(1.25) rotate(5deg) translateZ(20px); 
        text-shadow: 3px 3px 6px rgba(0,0,0,0.2);
    }
}

@keyframes cta-vibrate {
    0%, 100% { transform: translateY(0) scale(1); }
    25% { transform: translateY(-3px) scale(1.05); }
    75% { transform: translateY(2px) scale(0.98); }
}

/* BOTÃO FLUTUANTE WHATSAPP (FIXADO) */
.whatsapp-flutuante {
    position: fixed;
    bottom: 130px;
    right: 25px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: linear-gradient(
        45deg,
        #128C7E 0%,
        #25D366 25%,
        #128C7E 50%,
        #25D366 75%,
        #128C7E 100%
    );
    background-size: 400% 400%;
    color: #fff;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    z-index: 9999;
    transform-style: preserve-3d;
    perspective: 1000px;
    animation: 
        gradient-3d-flow 6s linear infinite,
        cta-vibrate 2s ease infinite;
    box-shadow: 
        0 10px 30px rgba(18, 140, 126, 0.3),
        0 0 40px rgba(67, 255, 100, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.whatsapp-flutuante::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(15px);
    opacity: 0.4;
    z-index: -1;
    animation: gradient-3d-flow 4s linear infinite;
}

.whatsapp-flutuante i {
    font-size: 1.6em;
    animation: icon-3d-pulse 2s ease infinite;
    transform-origin: center;
    backface-visibility: hidden;
}

.whatsapp-flutuante:hover {
    transform: translateY(-5px) scale(1.05);
    filter: brightness(110%);
    box-shadow: 
        0 15px 40px rgba(18, 140, 126, 0.4),
        0 0 60px rgba(67, 255, 100, 0.2);
}

.whatsapp-flutuante:hover i {
    color: #dcfff0;
    text-shadow: 0 0 15px rgba(36, 255, 168, 0.4);
}

/* BOTÕES DE CONTATO PRINCIPAIS */
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    margin: 10px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    transform-style: preserve-3d;
    background-size: 400% 400%;
    animation: gradient-3d-flow 8s linear infinite;
}

.contact-btn i {
    font-size: 1.4em;
    animation: icon-3d-pulse 2.5s ease infinite;
    transform-origin: center;
}

/* WHATSAPP TOP */
.contact-btn.whatsapp-top {
    background: linear-gradient(
        125deg,
        #00E676 0%,
        #25D366 15%,
        #128C7E 35%,
        #25D366 55%,
        #00E676 75%,
        #25D366 100%
    );
    background-size: 400% 400%;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
    animation: 
        gradient-cta 6s linear infinite,
        button-pulse 2.5s ease infinite,
        border-glow 1.5s ease-in-out infinite;
    position: relative;
    overflow: visible;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transform: translateZ(0);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Novas animações */
@keyframes gradient-cta {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes button-pulse {
    0%, 100% { transform: translateZ(0) scale(1); }
    50% { transform: translateZ(20px) scale(1.08); }
}

@keyframes border-glow {
    0%, 100% { 
        border-color: rgba(255,255,255,0.3);
        box-shadow: 0 0 15px rgba(37, 211, 102, 0);
    }
    50% { 
        border-color: rgba(255,255,255,0.6);
        box-shadow: 0 0 25px rgba(37, 211, 102, 0.4);
    }
}

/* Efeito de partículas */
.contact-btn.whatsapp-top::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.4) 10%, transparent 20%);
    opacity: 0;
    animation: particle-burst 3s linear infinite;
}

@keyframes particle-burst {
    0% {
        transform: translate(0,0) scale(0);
        opacity: 0.5;
    }
    100% {
        transform: translate(100px,-50px) scale(1);
        opacity: 0;
    }
}

/* Hover effects */
.contact-btn.whatsapp-top:hover {
    animation: 
        gradient-cta 3s linear infinite,
        button-pulse 1.5s ease infinite;
    transform: scale(1.05) translateZ(10px);
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 10000;
}

.contact-btn.whatsapp-top:hover i {
    transform: scale(1.3) rotate(-10deg);
    filter: drop-shadow(0 4px 8px rgba(0,230,118,0.4));
}

/* Efeito de clique */
.contact-btn.whatsapp-top:active {
    transform: scale(0.95) translateZ(0);
    animation: 
        gradient-cta 6s linear infinite,
        click-ripple 0.4s ease-out;
}

@keyframes click-ripple {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    100% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
}

/* BOTÃO TELEFONE */
.contact-btn.phone {
    background: linear-gradient(
        45deg,
        #DD4B39 0%,
        #FF6659 25%,
        #DD4B39 50%,
        #FF6659 75%,
        #DD4B39 100%
    );
    color: #fff;
}

.contact-btn.phone i {
    animation: icon-3d-pulse 2.2s ease infinite;
}

/* EFEITOS GLOBAIS */
.contact-btn:hover {
    transform: translateY(-3px) scale(1.02);
    filter: brightness(110%);
}

.contact-btn:hover i {
    transform: scale(1.2);
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .whatsapp-flutuante {
        bottom: 100px;
        right: 15px;
        padding: 14px 20px;
        font-size: 0.9em;
    }
    
    .contact-btn {
        padding: 12px 20px;
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .whatsapp-flutuante {
        bottom: 80px;
        right: 10px;
        padding: 12px 16px;
        gap: 8px;
    }
   
    
    .whatsapp-flutuante i {
        font-size: 1.8em;
        margin: 0;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 2.4rem;
    border-radius: var(--border-radius-md);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-base);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
  }
  
  .btn i {
    margin-right: 0.8rem;
  }
  
  .btn-lg {
    padding: 1.4rem 2.8rem;
    font-size: var(--font-size-md);
  }
  
  .btn-sm {
    padding: 0.8rem 1.6rem;
    font-size: var(--font-size-sm);
  }
  
  .btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
  }
  
  .btn-primary:hover, .btn-primary:focus {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }
  
  .btn-primary:active {
    transform: translateY(0);
  }
  
  .btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
  }
  
  .btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--color-secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }
  
  .btn-outline {
    background-color: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
  }
  
  .btn-outline:hover, .btn-outline:focus {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-2px);
  }
  
  .btn-outline-light {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
  }
  
  .btn-outline-light:hover, .btn-outline-light:focus {
    background-color: var(--color-white);
    color: var(--color-secondary);
    transform: translateY(-2px);
  }



.whatsapp-options {
    margin: 15px 0;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 5px;
}
.whatsapp-options p {
    margin-bottom: 8px;
    font-weight: bold;
}
.whatsapp-options ul {
    margin: 5px 0;
    padding-left: 20px;
}
.whatsapp-options li {
    margin: 3px 0;
}
