/* ============================================
   BLACK HAMMER - CSS ADICIONAL (Customizer)
   Cole este código em Aparência > Personalizar > CSS Adicional
   ============================================ */

/* --- Scrollbar Customizada --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #EAB308;
}

/* --- Seleção de texto --- */
::selection {
  background: rgba(234, 179, 8, 0.3);
  color: #fff;
}

/* --- Glow sutil no logo ao passar mouse --- */
.site-logo:hover .logo-icon {
  box-shadow: 0 0 20px rgba(234, 179, 8, 0.5);
  transition: box-shadow 0.3s ease;
}

/* --- Header glass effect melhorado --- */
.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* --- Links do menu com underline animado --- */
.main-nav a {
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #EAB308;
  border-radius: 1px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.main-nav a:hover::after,
.main-nav a.current::after {
  width: 100%;
}

/* --- Botões com efeito de brilho --- */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::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 0.5s ease;
}

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

/* --- Hero title com text-shadow --- */
.hero h1 {
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* --- Hero stats com hover --- */
.hero-stat {
  transition: all 0.3s ease;
}

.hero-stat:hover {
  background: rgba(234, 179, 8, 0.08);
  border-color: rgba(234, 179, 8, 0.3);
  transform: translateY(-2px);
}

/* --- Service cards glow no hover --- */
.service-card:hover {
  box-shadow: 0 0 40px rgba(234, 179, 8, 0.05);
  transform: translateY(-4px);
}

/* --- Equipment cards elevação --- */
.equipment-card {
  transition: all 0.4s ease;
}

.equipment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* --- Badge pulse animation --- */
.hero-badge {
  animation: badge-glow 3s ease-in-out infinite;
}

@keyframes badge-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(234, 179, 8, 0); }
  50% { box-shadow: 0 0 20px 0 rgba(234, 179, 8, 0.15); }
}

/* --- Portfolio overlay com gradiente melhorado --- */
.portfolio-card::after {
  transition: opacity 0.4s ease;
}

.portfolio-card:hover::after {
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(234, 179, 8, 0.1), transparent);
}

/* --- About badge flutuando --- */
.about-badge {
  animation: float 4s ease-in-out infinite;
}

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

/* --- About images zoom sutil --- */
.about-images img {
  transition: transform 0.6s ease;
}

.about-images img:hover {
  transform: scale(1.03);
}

/* --- Form inputs com glow no focus --- */
.form-control:focus {
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.15);
}

/* --- Contato info icon com rotate sutil --- */
.contact-info-icon {
  transition: all 0.3s ease;
}

.contact-info-item:hover .contact-info-icon {
  background: rgba(234, 179, 8, 0.15);
  transform: scale(1.05);
}

/* --- WhatsApp float com pulse --- */
.whatsapp-float {
  animation: wa-pulse 2.5s ease-in-out infinite;
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

/* --- Plan cards hover --- */
.plan-card {
  transition: all 0.4s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.plan-card.featured {
  box-shadow: 0 0 30px rgba(234, 179, 8, 0.1);
}

.plan-card.featured:hover {
  box-shadow: 0 0 40px rgba(234, 179, 8, 0.2), 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* --- Footer links com transição suave --- */
.footer-col a {
  transition: all 0.2s ease;
  position: relative;
  padding-left: 0;
}

.footer-col a:hover {
  padding-left: 6px;
  color: #EAB308;
}

/* --- Section divider gradiente --- */
.section-padding + .section-padding {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* --- Tags com hover --- */
.tag {
  transition: all 0.2s ease;
}

.tag:hover {
  background: rgba(234, 179, 8, 0.1);
  color: #EAB308;
}

/* --- Fade-up mais suave --- */
.fade-up {
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Texto gradiente animado (hero) --- */
.hero h1 .text-gradient {
  background-size: 200% auto;
  animation: gradient-shift 4s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* --- Linha decorativa amarela nas seções --- */
.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #EAB308, transparent);
  border-radius: 2px;
}

.section-header p {
  margin-top: 1.75rem;
}

/* --- Card badge com sombra --- */
.card-badge {
  box-shadow: 0 2px 10px rgba(234, 179, 8, 0.3);
}

/* --- Smooth page transitions --- */
main {
  animation: page-in 0.5s ease-out;
}

@keyframes page-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Mobile menu animação --- */
.mobile-menu.active {
  animation: menu-slide 0.3s ease-out;
}

@keyframes menu-slide {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Responsividade extra --- */
@media (max-width: 640px) {
  .hero h1 {
    font-size: 2rem !important;
  }
  
  .section-header h2 {
    font-size: 1.5rem !important;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .about-badge {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 1.5rem;
    display: inline-block;
  }
  
  .contact-form-wrapper {
    padding: 1.5rem;
  }
}

/* --- Print styles --- */
@media print {
  .site-header, .whatsapp-float, .mobile-toggle, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { min-height: auto; padding: 2rem 0; }
}