/* Seção WhatsApp Futurística */
.whatsapp-section {
  position: relative;
  padding: 80px 20px;
  background: linear-gradient(135deg, 
    rgba(0, 0, 0, 0.95) 0%, 
    rgba(18, 18, 18, 0.98) 50%, 
    rgba(0, 0, 0, 0.95) 100%);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Touch-friendly improvements for mobile */
@media (hover: none) and (pointer: coarse) {
  .whatsapp-cta-button {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 48px; /* Minimum touch target size */
  }
  
  .whatsapp-cta-button:active {
    transform: translateY(-1px) scale(0.98);
    background: linear-gradient(135deg, #2ee56f 0%, #1ba085 100%);
  }
  
  .info-item {
    min-height: 44px; /* Minimum touch target size */
    -webkit-tap-highlight-color: transparent;
  }
  
  .info-item:active {
    transform: translateY(-1px) scale(0.98);
    background: rgba(37, 211, 102, 0.08);
  }

  /* Better spacing for touch interactions */
  .whatsapp-info {
    gap: 20px;
  }
  
  /* Improved text readability on mobile */
  .whatsapp-description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Background Effects */
.whatsapp-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.whatsapp-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(37, 211, 102, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(37, 211, 102, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.01) 0%, transparent 40%);
}

.whatsapp-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(37, 211, 102, 0.08) 0%, transparent 70%);
  filter: blur(60px);
  animation: whatsappGlow 6s ease-in-out infinite;
}

@keyframes whatsappGlow {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

/* Container */
.whatsapp-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
}

.whatsapp-content {
  position: relative;
}

/* Badge */
.whatsapp-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 35px;
  background: 
    linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, rgba(37, 211, 102, 0.05) 100%);
  backdrop-filter: blur(25px);
  margin-bottom: 20px;
  box-shadow: 
    0 12px 40px rgba(37, 211, 102, 0.1),
    inset 0 1px 0 rgba(37, 211, 102, 0.2),
    inset 0 -1px 0 rgba(37, 211, 102, 0.05);
  animation: badgeFloat 4s ease-in-out infinite;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.whatsapp-badge .badge-text {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(37, 211, 102, 1);
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

/* Removido: .whatsapp-badge .badge-line */

/* Título */
.whatsapp-title {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}

.whatsapp-title .title-main {
  display: block;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleShimmer 3s ease-in-out infinite;
}

.whatsapp-title .title-accent {
  display: block;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 50%, #25d366 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: whatsappGradient 4s ease-in-out infinite;
  position: relative;
}

@keyframes titleShimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

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

/* Descrição */
.whatsapp-description {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 32px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

/* Botão CTA Clean */
.whatsapp-cta-wrapper {
  margin-bottom: 32px;
  position: relative;
}

.whatsapp-cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border: 2px solid rgba(37, 211, 102, 0.3);
  border-radius: 16px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  box-shadow: 
    0 8px 32px rgba(37, 211, 102, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  min-width: 260px;
}

.whatsapp-cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.15) 50%, 
    transparent 100%);
  transition: left 0.5s ease;
}

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

.button-content {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.whatsapp-icon {
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

/* Removido: Partículas do botão para design mais clean */

/* Hover Effects Clean */
.whatsapp-cta-button:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, #2ee56f 0%, #1ba085 100%);
  border-color: rgba(37, 211, 102, 0.6);
  box-shadow: 
    0 16px 48px rgba(37, 211, 102, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.whatsapp-cta-button:hover .whatsapp-icon {
  transform: scale(1.15) rotate(-5deg);
}

/* Active State */
.whatsapp-cta-button:active {
  transform: translateY(-2px);
  transition: all 0.1s ease;
}

/* Informações de contato */
.whatsapp-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 25px;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
}

.info-item:hover {
  background: rgba(37, 211, 102, 0.05);
  border-color: rgba(37, 211, 102, 0.2);
  transform: translateY(-2px);
  color: rgba(255, 255, 255, 0.95);
}

.info-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(37, 211, 102, 0.8);
  font-size: 0.9rem;
}

/* Animations */
@keyframes borderRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive - Mobile Optimized */
@media (max-width: 768px) {
  .whatsapp-section {
    padding: 40px 16px;
    min-height: 60vh;
  }
  
  .whatsapp-container {
    max-width: 100%;
    padding: 0 4px;
  }
  
  .whatsapp-title {
    font-size: clamp(1.8rem, 10vw, 2.8rem);
    margin-bottom: 16px;
    line-height: 1.2;
  }
  
  .whatsapp-title .title-main,
  .whatsapp-title .title-accent {
    display: block;
    margin-bottom: 4px;
  }
  
  .whatsapp-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
    padding: 0 8px;
    max-width: 90%;
  }
  
  .whatsapp-cta-button {
    padding: 18px 32px;
    font-size: 1rem;
    min-width: 280px;
    width: 90%;
    max-width: 320px;
    border-radius: 12px;
  }
  
  .whatsapp-icon {
    font-size: 1.3rem;
  }
  
  .whatsapp-info {
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    padding: 0 16px;
  }
  
  .info-item {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.9rem;
  }
  
  .whatsapp-badge {
    padding: 10px 20px;
    margin-bottom: 16px;
    font-size: 0.75rem;
  }
  
  .whatsapp-badge .badge-text {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
  }
  
  /* Background optimizations for mobile */
  .whatsapp-glow {
    width: 300px;
    height: 200px;
    filter: blur(40px);
  }
}

@media (max-width: 480px) {
  .whatsapp-section {
    padding: 32px 12px;
    min-height: 55vh;
  }
  
  .whatsapp-container {
    padding: 0 8px;
  }
  
  .whatsapp-title {
    font-size: clamp(1.4rem, 8vw, 2.2rem);
    margin-bottom: 12px;
    line-height: 1.1;
  }
  
  .whatsapp-description {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 16px;
    padding: 0 8px;
    text-align: center;
    max-width: 95%;
  }
  
  .whatsapp-cta-wrapper {
    margin-bottom: 24px;
  }
  
  .whatsapp-cta-button {
    padding: 18px 24px;
    font-size: 0.9rem;
    min-width: 280px;
    width: calc(100% - 24px);
    max-width: 320px;
    border-radius: 14px;
    font-weight: 600;
  }
  
  .button-content {
    gap: 10px;
  }
  
  .whatsapp-icon {
    font-size: 1.4rem;
  }
  
  .whatsapp-info {
    gap: 8px;
    margin-top: 16px;
    padding: 0 12px;
  }
  
  .info-item {
    max-width: 100%;
    padding: 14px 16px;
    font-size: 0.8rem;
    border-radius: 12px;
  }
  
  .info-icon {
    width: 16px;
    height: 16px;
    font-size: 0.75rem;
  }
  
  .whatsapp-badge {
    padding: 6px 14px;
    margin-bottom: 12px;
    border-radius: 20px;
  }
  
  .whatsapp-badge .badge-text {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
  }
  
  /* Reduce background effects for better performance on mobile */
  .whatsapp-glow {
    width: 200px;
    height: 100px;
    filter: blur(30px);
    opacity: 0.5;
  }
  
  .whatsapp-particles {
    opacity: 0.3;
  }
}

/* Extra small devices optimization */
@media (max-width: 360px) {
  .whatsapp-section {
    padding: 24px 8px;
  }
  
  .whatsapp-title {
    font-size: clamp(1.2rem, 7vw, 1.8rem);
    margin-bottom: 8px;
  }
  
  .whatsapp-description {
    font-size: 0.8rem;
    margin-bottom: 12px;
    padding: 0 4px;
  }
  
  .whatsapp-cta-button {
    padding: 16px 20px;
    font-size: 0.85rem;
    min-width: 240px;
    width: calc(100% - 16px);
  }
  
  .whatsapp-icon {
    font-size: 1.2rem;
  }
  
  .info-item {
    padding: 12px 14px;
    font-size: 0.75rem;
  }
}

/* Intersection Observer Animation - REMOVIDO FADE IN */
.whatsapp-section {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-section .whatsapp-badge {
  animation: badgeFloat 4s ease-in-out infinite;
}

/* Removed fadeInUp animations - section appears instantly */
