/* ============================================================
   BARBER EMERSON – animations.css
   Cores: #0d0d0d, branco, #2596be
   ============================================================ */

/* ---------- KEYFRAMES ---------- */
@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(10px); }
}

@keyframes pulse-wpp {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

@keyframes shimmer-blue {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

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

@keyframes blueGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(37,150,190,.35); }
  50%       { text-shadow: 0 0 40px rgba(37,150,190,.7), 0 0 60px rgba(37,150,190,.25); }
}

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

/* ---------- APPLIED ANIMATIONS ---------- */

/* WhatsApp float pulse */
.whatsapp-float {
  animation: pulse-wpp 2.2s infinite;
}

/* Hero title em glow */
.hero-title em {
  animation: blueGlow 3.5s ease-in-out infinite;
}

/* Hero logo gentle float */
.hero-logo {
  animation: logoFloat 4s ease-in-out infinite;
}

/* Shimmer on primary buttons */
.btn-primary {
  background-size: 300% auto;
  background-image: linear-gradient(
    110deg,
    #1a729a 0%,
    #2596be 25%,
    #3db8e4 50%,
    #2596be 75%,
    #1a729a 100%
  );
  animation: shimmer-blue 4s ease-in-out infinite;
  transition: box-shadow .3s ease, transform .3s ease;
}
.btn-primary:hover {
  animation: none;
  background: linear-gradient(135deg, #3db8e4 0%, #2596be 100%);
  background-size: 100%;
}

/* Service category hover glow */
.service-category:hover {
  box-shadow: 0 0 0 1px rgba(37,150,190,.2), 0 8px 40px rgba(0,0,0,.5);
}

/* Stat icon scale on hover */
.stat:hover > i {
  transform: scale(1.2);
  transition: transform .3s ease;
  color: #3db8e4;
}

/* Contact card icon pulse on hover */
.contact-card:hover .contact-icon {
  transform: scale(1.15);
  transition: transform .3s ease;
}

/* Navbar logo hover */
.logo:hover .navbar-logo {
  filter: drop-shadow(0 0 10px rgba(37,150,190,.4));
  transition: filter .3s ease;
}
