/* Estilos Customizados e Efeitos 2D - Desentupidora Oliveira */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

html, body {
  font-family: var(--font-body);
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(8, 26, 58, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 160, 255, 0.2);
}

.glass-panel-light {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-badge {
  background: rgba(0, 140, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 200, 255, 0.4);
}

/* 2D Pulse and Radar Animations */
@keyframes radar-ping {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }
  70% {
    transform: scale(2.2);
    opacity: 0;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.radar-ping {
  animation: radar-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes water-flow-2d {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.animated-gradient-text {
  background: linear-gradient(135deg, #38BDF8 0%, #0099FF 50%, #25D366 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: water-flow-2d 6s ease infinite;
}

.animated-blue-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, #BAE6FD 50%, #0099FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Floating Badges Animation */
@keyframes float-slow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

@keyframes float-reverse {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(10px) rotate(-1deg);
  }
}

.animate-float-1 {
  animation: float-slow 4s ease-in-out infinite;
}

.animate-float-2 {
  animation: float-reverse 5s ease-in-out infinite;
}

/* Interactive Before/After Slider */
.ba-container {
  position: relative;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
}

.ba-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 10;
}

.ba-overlay img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: auto;
  max-width: none;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #00D2FF;
  cursor: ew-resize;
  z-index: 20;
  box-shadow: 0 0 14px rgba(0, 210, 255, 0.9);
  transform: translateX(-50%);
}

.ba-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  background: #0080FF;
  color: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 128, 255, 0.7), inset 0 0 0 2px white;
  transition: transform 0.15s ease;
}

.ba-handle:hover .ba-handle-button {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Service Card Hover Effects */
.service-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.5), transparent, rgba(37, 211, 102, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(0, 128, 255, 0.35);
}

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

/* Neon Glows */
.neon-glow-blue {
  box-shadow: 0 0 25px rgba(0, 153, 255, 0.4);
}

.neon-glow-green {
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.45);
}

/* Floating WhatsApp Notification */
@keyframes ring-wave {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-pulse {
  animation: ring-wave 2s infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #020B1C;
}

::-webkit-scrollbar-thumb {
  background: #0B254E;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0099FF;
}
