/* ============================================
   Borracharia do Ticha — Custom Styles
   Imbituba - SC
   ============================================ */

html {
  scroll-behavior: smooth;
}

/* === Hero Background === */
.hero-bg {
  background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 55%, #0f2744 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.05);
  pointer-events: none;
}

/* === Floating WhatsApp Button === */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #25D366;
  color: #fff;
  padding: 14px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  animation: glow-wapp 2.5s ease-in-out infinite;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.07);
  background-color: #1ebe5d;
  color: #fff;
  text-decoration: none;
}

@keyframes glow-wapp {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  }

  50% {
    box-shadow: 0 6px 32px rgba(37, 211, 102, 0.55);
  }
}

@media (max-width: 640px) {
  .whatsapp-float .wapp-label {
    display: none;
  }

  .whatsapp-float {
    padding: 16px;
    border-radius: 50%;
    bottom: 20px;
    right: 20px;
  }
}

/* === Cards === */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
}

/* === CTA Buttons === */
.btn-cta {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-wapp {
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-wapp:hover {
  transform: translateY(-3px);
  background-color: #1ebe5d;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
}

/* === Nav underline === */
.nav-link {
  position: relative;
  transition: color 0.2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #f59e0b;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* === Section Divider === */
.section-divider {
  height: 3px;
  background: #e5e7eb;
  border: none;
  border-radius: 4px;
}

/* === Badge 24h pulse === */
.badge-live {
  animation: badge-blink 1.8s ease-in-out infinite;
}

@keyframes badge-blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.85;
  }
}

/* === Coverage Tags === */
.coverage-tag {
  transition: all 0.2s ease;
  cursor: default;
}

.coverage-tag:hover {
  background-color: #1e3a5f;
  color: white;
  transform: scale(1.05);
}

/* === Scroll bounce === */
.scroll-hint {
  animation: bounce-down 1.6s ease-in-out infinite;
}

@keyframes bounce-down {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

/* === Steps (numbered) === */
.step-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: #1e3a5f;
  color: #f59e0b;
  font-weight: 900;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Map placeholder === */
.map-placeholder {
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
  color: #6b7280;
  font-weight: 600;
}

/* === Page hero (interior pages) === */
.page-hero {
  background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 100%);
}

/* === Responsive table === */
@media (max-width: 640px) {
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }
}