/* ===== STARPLAY IPTV - CUSTOM ANIMATIONS ===== */

/* CSS Variables para animações */
:root {
  --animation-fast: 0.2s;
  --animation-normal: 0.3s;
  --animation-slow: 0.6s;
  --animation-extra-slow: 1s;
  --ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1);
  --ease-in-out-cubic: cubic-bezier(0.645, 0.045, 0.355, 1);
  --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Smooth scroll global */
html {
  scroll-behavior: smooth;
}

/* ===== KEYFRAMES ANIMATIONS ===== */

/* Fade animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Loading animations */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

/* Button animations */
@keyframes buttonPress {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

/* Gradient flow */
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ===== UTILITY CLASSES ===== */

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transition: all var(--animation-slow) var(--ease-out-cubic);
}

.animate-on-scroll.in-view {
  opacity: 1;
}

/* ===== ANIMAÇÕES TECNOLÓGICAS DE SCROLL ===== */

/* Efeito de digitalização/matrix */
@keyframes digitalReveal {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    filter: blur(4px);
  }
  20% {
    opacity: 0.3;
    transform: translateY(30px) scale(0.98);
    filter: blur(2px);
  }
  60% {
    opacity: 0.8;
    transform: translateY(10px) scale(1.01);
    filter: blur(0px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

/* Efeito de glitch tecnológico */
@keyframes techGlitch {
  0%, 100% {
    transform: translateX(0);
  }
  10% {
    transform: translateX(-1px);
  }
  20% {
    transform: translateX(1px);
  }
  30% {
    transform: translateX(0);
  }
  40% {
    transform: translateX(-1px);
  }
  50% {
    transform: translateX(1px);
  }
  60% {
    transform: translateX(0);
  }
}

/* Efeito de glow pulsante */
@keyframes techGlow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(139, 92, 246, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.6), 0 0 30px rgba(139, 92, 246, 0.4);
  }
}

/* Efeito de grid lines */
@keyframes gridLines {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 20px 20px;
  }
}

/* Classes para animações tecnológicas */
.tech-reveal {
  animation: digitalReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.tech-glitch {
  animation: techGlitch 0.3s ease-in-out;
}

.tech-glow {
  animation: techGlow 3s ease-in-out infinite;
}

.tech-slide-up {
  opacity: 0;
  transform: translateY(50px) perspective(1000px) rotateX(10deg);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tech-slide-up.in-view {
  opacity: 1;
  transform: translateY(0) perspective(1000px) rotateX(0deg);
}

.tech-fade-in {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tech-fade-in.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Efeito de scan line */
.tech-scan {
  position: relative;
  overflow: hidden;
}

.tech-scan::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
  animation: scanLine 2s ease-in-out infinite;
  z-index: 1;
}

@keyframes scanLine {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

/* Efeito de typing digital */
.tech-typing {
  overflow: hidden;
  white-space: nowrap;
  animation: typing 2s steps(40, end), blink 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: #8b5cf6;
  }
}

/* Efeito de perspectiva 3D */
.tech-perspective {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.tech-perspective.in-view {
  animation: perspectiveIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes perspectiveIn {
  0% {
    opacity: 0;
    transform: translateZ(-100px) rotateY(15deg);
  }
  100% {
    opacity: 1;
    transform: translateZ(0) rotateY(0deg);
  }
}

/* ===== SCROLL REVEAL EFFECT ===== */
/* Agora usando a biblioteca oficial ScrollReveal.js */
/* CSS customizado removido - a biblioteca gerencia as animações */

/* Stagger delays para sequência (mantido para compatibilidade) */
.tech-stagger-1 { animation-delay: 0.1s; }
.tech-stagger-2 { animation-delay: 0.2s; }
.tech-stagger-3 { animation-delay: 0.3s; }
.tech-stagger-4 { animation-delay: 0.4s; }
.tech-stagger-5 { animation-delay: 0.5s; }
.tech-stagger-6 { animation-delay: 0.6s; }

.fade-up {
  animation: fadeInUp var(--animation-slow) var(--ease-out-cubic) forwards;
}

.fade-left {
  animation: fadeInLeft var(--animation-slow) var(--ease-out-cubic) forwards;
}

.fade-right {
  animation: fadeInRight var(--animation-slow) var(--ease-out-cubic) forwards;
}

.scale-in {
  animation: scaleIn var(--animation-slow) var(--ease-out-cubic) forwards;
}

/* Stagger animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* ===== ENHANCED INTERACTIONS ===== */

/* Button enhancements */
.btn-enhanced {
  position: relative;
  overflow: hidden;
  transition: all var(--animation-normal) var(--ease-out-cubic);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-enhanced:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.btn-enhanced:active {
  animation: buttonPress var(--animation-fast) var(--ease-out-cubic);
}

.btn-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--animation-slow) var(--ease-out-cubic);
}

.btn-enhanced:hover::before {
  left: 100%;
}

/* Card enhancements */
.card-enhanced {
  transition: all var(--animation-normal) var(--ease-out-cubic);
  border-radius: 1rem;
  overflow: hidden;
}

.card-enhanced:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(99, 102, 241, 0.1));
  opacity: 0;
  transition: opacity var(--animation-normal) var(--ease-out-cubic);
}

.card-enhanced:hover::before {
  opacity: 1;
}

/* Image enhancements */
.img-enhanced {
  transition: all var(--animation-normal) var(--ease-out-cubic);
  overflow: hidden;
}

.img-enhanced img {
  transition: transform var(--animation-normal) var(--ease-out-cubic);
}

.img-enhanced:hover img {
  transform: scale(1.05);
}

/* ===== LOADING STATES ===== */

/* Skeleton loader */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-dark {
  background: linear-gradient(90deg, #374151 25%, #4b5563 50%, #374151 75%);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
}

/* Pulse loading */
.loading-pulse {
  animation: pulse 2s infinite;
}


/* ===== MOBILE MENU ANIMATIONS ===== */

.mobile-menu {
  transform: translateX(100%);
  transition: transform var(--animation-normal) var(--ease-out-cubic);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-overlay {
  opacity: 0;
  visibility: hidden;
  transition: all var(--animation-normal) var(--ease-out-cubic);
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Hamburger animation */
.hamburger-line {
  transition: all var(--animation-normal) var(--ease-out-cubic);
}

.hamburger.open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== PARALLAX EFFECTS ===== */

.parallax-element {
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* ===== GRADIENT ANIMATIONS ===== */

.gradient-animated {
  background: linear-gradient(270deg, #8b5cf6, #6366f1, #8b5cf6);
  background-size: 400% 400%;
  animation: gradientFlow 4s ease infinite;
}

/* ===== ACCESSIBILITY ===== */

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .parallax-element {
    transform: none !important;
  }
}

/* ===== DROPDOWN MENU ===== */

.dropdown-container {
  position: relative;
  display: inline-block;
}


.dropdown-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: #1f2937;
  text-decoration: none;
  transition: all var(--animation-fast) var(--ease-out-cubic);
  border-radius: 8px;
  margin: 4px 8px;
  position: relative;
  overflow: hidden;
}

.dropdown-item:first-child {
  margin-top: 8px;
}

.dropdown-item:last-child {
  margin-bottom: 8px;
}

.dropdown-item:hover {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.dropdown-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--animation-slow) var(--ease-out-cubic);
}

.dropdown-item:hover::before {
  left: 100%;
}

.dropdown-icon {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  opacity: 0.8;
  transition: all var(--animation-fast) var(--ease-out-cubic);
}

.dropdown-item:hover .dropdown-icon {
  opacity: 1;
  transform: scale(1.1);
}

.dropdown-text {
  flex: 1;
}

.dropdown-label {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}

.dropdown-description {
  font-size: 12px;
  opacity: 0.7;
}

.dropdown-arrow {
  width: 12px;
  height: 12px;
  opacity: 0.6;
  transition: all var(--animation-fast) var(--ease-out-cubic);
}

.dropdown-item:hover .dropdown-arrow {
  opacity: 1;
  transform: translateX(2px);
}

/* Mobile dropdown adjustments */
@media (max-width: 768px) {
  .dropdown-menu {
    min-width: 280px;
    margin-top: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    max-width: 90vw;
  }
  
  .dropdown-container.active .dropdown-menu {
    transform: translateX(-50%) translateY(0) scale(1);
  }
  
  .dropdown-item {
    padding: 16px 20px;
    min-height: 60px;
  }
  
  .dropdown-label {
    font-size: 15px;
  }
  
  .dropdown-description {
    font-size: 13px;
  }
  
  .dropdown-icon {
    width: 24px;
    height: 24px;
    margin-right: 16px;
  }

  /* Enhanced touch targets for mobile */
  .dropdown-trigger {
    min-height: 48px;
    touch-action: manipulation;
  }
  
  /* Mobile navigation dropdown specific styles */
  .mobile-nav-dropdown .dropdown-menu {
    right: 0;
    left: auto;
    transform: translateX(0);
    min-width: 320px;
    max-width: 95vw;
  }
  
  .mobile-nav-dropdown.active .dropdown-menu {
    transform: translateX(0) translateY(0) scale(1);
  }
}

/* Dropdown trigger button enhancement */
.dropdown-trigger {
  position: relative;
  cursor: pointer;
}

.dropdown-trigger::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.7;
  transition: all var(--animation-fast) var(--ease-out-cubic);
}

.dropdown-container:hover .dropdown-trigger::after,
.dropdown-container.active .dropdown-trigger::after {
  transform: translateY(-50%) rotate(180deg);
  opacity: 1;
}

/* ===== CUSTOM SCROLLBAR ===== */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1f2937;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #8b5cf6, #6366f1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #7c3aed, #4f46e5);
}

/* ===== ANIMAÇÕES PARA CARDS DE PREÇOS ===== */

/* Animação de pulse para cards de preços */
@keyframes pricePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(139, 92, 246, 0);
  }
}

/* Animação de brilho (shimmer) */
@keyframes priceShimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

/* Animação de bounce sutil */
@keyframes priceBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}

/* Classe para cards de preços */
.price-card {
  position: relative;
  overflow: hidden;
  transition: all var(--animation-normal) var(--ease-out-cubic);
  animation: pricePulse 4s infinite;
}

/* Efeito de hover no card */
.price-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 25px 50px rgba(139, 92, 246, 0.4);
  animation: priceBounce 0.6s var(--ease-out-cubic);
}

/* Efeito de brilho no card */
.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.2), transparent);
  transition: left var(--animation-slow) var(--ease-out-cubic);
  z-index: 1;
}

.price-card:hover::before {
  left: 100%;
}

/* Animação do preço */
.price-value {
  transition: all var(--animation-normal) var(--ease-out-cubic);
  position: relative;
  z-index: 2;
}

.price-card:hover .price-value {
  color: #8b5cf6;
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
  transform: scale(1.1);
}

/* Animação do texto de chamada */
@keyframes callToAction {
  0%, 100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

.price-cta {
  animation: callToAction 2s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

/* Efeito especial para o card mais popular */
.price-card.popular {
  border: 2px solid #8b5cf6;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(99, 102, 241, 0.05));
  animation: pricePulse 3s infinite;
}

/* Badge "MAIS POPULAR" removido conforme solicitação */

/* Animação de entrada para os cards */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.price-card.animate-in {
  animation: slideInUp 0.6s var(--ease-out-cubic) forwards;
}

/* ===== ANIMAÇÕES PARA BOTÕES WHATSAPP ===== */

/* Animação de pulse sutil contínua */
@keyframes whatsappPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0);
  }
}

/* Animação de rotação do ícone */
@keyframes iconSpin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(8deg) scale(1.1);
  }
  100% {
    transform: rotate(0deg) scale(1);
  }
}

/* Classe principal para botões WhatsApp */
.whatsapp-button {
  position: relative;
  overflow: hidden;
  transition: all var(--animation-normal) var(--ease-out-cubic);
  border-radius: 50px;
  animation: whatsappPulse 3s infinite;
}

/* Hover effect para botões WhatsApp */
.whatsapp-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
  background: linear-gradient(135deg, #25d366, #128c7e);
}

/* Animação do ícone dentro do botão */
.whatsapp-button:hover .whatsapp-icon {
  animation: iconSpin 0.6s var(--ease-out-cubic);
  filter: brightness(1.2);
}

/* Efeito de brilho no botão */
.whatsapp-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left var(--animation-slow) var(--ease-out-cubic);
}

.whatsapp-button:hover::before {
  left: 100%;
}

/* Animação do texto */
.whatsapp-button:hover .whatsapp-text {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

/* Botão de contato específico */
.whatsapp-contact-button {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all var(--animation-normal) var(--ease-out-cubic);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-contact-button:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  background: linear-gradient(135deg, #128c7e, #25d366);
}

/* Ícone do WhatsApp */
.whatsapp-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  transition: all var(--animation-fast) var(--ease-out-cubic);
}

/* Texto do botão WhatsApp */
.whatsapp-text {
  transition: all var(--animation-fast) var(--ease-out-cubic);
}

/* Botão revendedor específico - Removido para uniformizar com primeiro botão */
/* Agora ambos os botões usam apenas os estilos .whatsapp-contact-div */

/* Animação especial para links de seção de contato */
.contact-whatsapp-link {
  display: inline-block;
  transition: all var(--animation-normal) var(--ease-out-cubic);
  border-radius: 8px;
  padding: 8px 16px;
  position: relative;
}

.contact-whatsapp-link:hover {
  transform: translateX(5px);
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.1), rgba(18, 140, 126, 0.1));
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.contact-whatsapp-link::before {
  content: '';
  position: absolute;
  left: -30px;
  opacity: 0;
  transition: all var(--animation-normal) var(--ease-out-cubic);
}

.contact-whatsapp-link:hover::before {
  opacity: 0;
  left: -20px;
}

/* Animações para divs de contato WhatsApp - Redesenhadas */
.whatsapp-contact-div {
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 20px;
  padding: 16px;
  margin: 8px;
  text-decoration: none;
  display: flex;
  position: relative;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.02));
  border: 2px solid transparent;
  backdrop-filter: blur(10px);
  overflow: hidden;
  animation: fadeInUp 0.8s var(--ease-out-cubic), contactBreathing 6s ease-in-out infinite;
}

.whatsapp-contact-div:hover {
  transform: translateY(-8px) scale(1.01);
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.08), rgba(18, 140, 126, 0.05));
  box-shadow: 
    0 12px 24px rgba(37, 211, 102, 0.12),
    0 4px 8px rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.2);
}

/* Animação do ícone circular */
.whatsapp-icon-circle {
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.whatsapp-icon-circle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: all 0.3s ease;
}

.whatsapp-contact-div:hover .whatsapp-icon-circle {
  background: linear-gradient(135deg, #25d366, #128c7e, #25d366) !important;
  background-size: 200% 200%;
  animation: gradientShift 2s ease infinite;
  transform: scale(1.08) rotate(5deg);
  box-shadow: 
    0 6px 16px rgba(37, 211, 102, 0.25),
    0 2px 4px rgba(37, 211, 102, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.whatsapp-contact-div:hover .whatsapp-icon-circle::before {
  opacity: 1;
  animation: shimmerEffect 1.5s ease-in-out infinite;
}

/* Animação do texto nas divs de contato */
.whatsapp-contact-div:hover .whatsapp-text {
  color: #25d366 !important;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
  transform: translateX(4px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Animação do ícone SVG dentro do círculo */
.whatsapp-contact-div:hover .whatsapp-icon-circle svg {
  transform: rotate(0deg) scale(1.15);
  color: white;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Animação de clique suave */
.whatsapp-contact-div:active {
  transform: translateY(-4px) scale(0.98);
  transition: all 0.1s ease-out;
}

/* Novas animações para os botões de contato */
@keyframes contactBreathing {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.06);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(37, 211, 102, 0.03);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes shimmerEffect {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  50% {
    transform: translateX(100%) rotate(45deg);
  }
  100% {
    transform: translateX(200%) rotate(45deg);
  }
}

/* Animação de entrada suave */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile responsivo */
@media (max-width: 768px) {
  .whatsapp-button {
    animation: whatsappPulse 4s infinite;
  }
  
  .whatsapp-button:hover {
    transform: translateY(-2px) scale(1.02);
  }
  
  .whatsapp-contact-button {
    padding: 16px 24px;
    font-size: 16px;
  }
  
  .whatsapp-icon {
    width: 20px;
    height: 20px;
  }
  
  .whatsapp-contact-div {
    padding: 12px;
    border-radius: 16px;
    animation: contactBreathing 8s ease-in-out infinite;
  }
  
  .whatsapp-contact-div:hover {
    transform: translateY(-6px) scale(1.01);
  }
  
  .whatsapp-contact-div:hover .whatsapp-icon-circle {
    transform: scale(1.06) rotate(3deg);
  }
}

/* ===== MOBILE NAVIGATION SECTIONS ===== */

.mobile-nav-section {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.mobile-nav-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 8px;
}

.mobile-nav-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 8px;
  padding: 0 16px;
  letter-spacing: 0.05em;
}

/* Mobile navigation specific dropdown adjustments */
.mobile-nav-dropdown .dropdown-menu {
  border-radius: 16px;
  padding: 16px 8px;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.mobile-nav-dropdown .dropdown-item {
  border-radius: 12px;
  margin: 2px 4px;
  padding: 14px 16px;
  min-height: 56px;
}

.mobile-nav-dropdown .dropdown-icon {
  width: 22px;
  height: 22px;
  margin-right: 14px;
}

.mobile-nav-dropdown .dropdown-label {
  font-size: 16px;
  font-weight: 600;
}

.mobile-nav-dropdown .dropdown-description {
  font-size: 13px;
  opacity: 0.75;
  margin-top: 1px;
}

/* Desktop dropdown - corrigir posicionamento */
.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  transform: translateX(0) translateY(-10px) scale(0.95);
  min-width: 320px;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all var(--animation-normal) var(--ease-out-cubic);
  z-index: 100;
  margin-top: 8px;
  margin-right: 24px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  padding: 12px 0;
}

/* Proteção contra menu cortado na borda */
.dropdown-menu::before {
  content: '';
  position: absolute;
  right: -10px;
  top: 0;
  bottom: 0;
  width: 10px;
  background: transparent;
  pointer-events: none;
}

.dropdown-container:hover .dropdown-menu,
.dropdown-container.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) translateY(0) scale(1);
}

/* Ajustes para desktop grandes */
@media (min-width: 1400px) {
  .dropdown-menu {
    margin-right: 32px;
    min-width: 360px;
    max-width: 450px;
  }
}

/* Ajustes para desktop menores */
@media (max-width: 1200px) {
  .dropdown-menu {
    margin-right: 20px;
    min-width: 300px;
    max-width: 350px;
  }
}

/* Ajustes para tablets landscape */
@media (min-width: 769px) and (max-width: 1024px) {
  .dropdown-menu {
    margin-right: 16px;
    min-width: 280px;
    max-width: 320px;
  }
}

/* Enhanced mobile nav positioning */
@media (max-width: 768px) {
  .mobile-nav-dropdown .dropdown-menu {
    position: fixed;
    right: 16px;
    left: auto;
    top: 70px;
    transform: translateX(0) translateY(-10px) scale(0.95);
    min-width: 300px;
    max-width: calc(100vw - 32px);
    z-index: 1000;
    margin-right: 0;
  }
  
  .mobile-nav-dropdown.active .dropdown-menu {
    transform: translateX(0) translateY(0) scale(1);
  }
}

/* Melhor posicionamento para telas muito pequenas */
@media (max-width: 480px) {
  .mobile-nav-dropdown .dropdown-menu {
    right: 12px;
    min-width: 280px;
    max-width: calc(100vw - 24px);
  }
}