html { scroll-behavior: smooth; }

/* PageSpeed fix: trava scroll via classe (evita forced reflow do style inline) */
body.no-scroll { overflow: hidden; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #0A0A0A; }
::-webkit-scrollbar-thumb { background: #262626; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #FA2927; }

.text-stroke-red { color: transparent; -webkit-text-stroke: 1.5px #FA2927; }
.text-stroke-red-thick { color: transparent; -webkit-text-stroke: 2px #FA2927; }

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}
.animate-marquee { display: flex; width: max-content; animation: marquee 25s linear infinite; }
.animate-marquee:hover { animation-play-state: paused; }

.clip-diagonal { clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%); }
@media (max-width: 1024px) { .clip-diagonal { clip-path: none; } }

.video-overlay-gradient {
  background: linear-gradient(90deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.8) 50%, rgba(10,10,10,0.4) 100%);
}

.shadow-red-glow { box-shadow: 0 4px 20px rgba(250,41,39,0.35); }
.shadow-red-glow-strong { box-shadow: 0 4px 25px rgba(250,41,39,0.6); }

.reveal-item {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.reveal-item.revealed { opacity: 1; transform: translateY(0); }

.font-condensed {
  font-family: "Saira Condensed", "Arial Narrow", "Impact", sans-serif;
  text-transform: uppercase; font-weight: 800;
}

.diagonal-line {
  position: absolute; width: 2px; height: 150%; background: #FA2927;
  transform: rotate(15deg); right: 20%; top: -25%; z-index: 5; opacity: 0.8;
}

.stat-box { border-left: 2px solid #FA2927; padding-left: 15px; }

/* Hero diagonal overlay slide */
.hero-overlay {
  width: 0; opacity: 0;
  transition: width 0.8s cubic-bezier(0.22,1,0.36,1), opacity 0.8s cubic-bezier(0.22,1,0.36,1);
}
.hero-overlay.animate { width: 100%; opacity: 1; }
@media (min-width: 1024px) {
  .hero-overlay.animate { width: 52%; }
}
.hero-overlay.animate.clip-diagonal { clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%); }

.hero-stagger {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.hero-stagger.show { opacity: 1; transform: translateY(0); }

/* ─── WHATSAPP PREMIUM (AG5 — LP) ─── */
.wa-premium-container {
  position: fixed;
  bottom: 25px;
  right: 20px;
  z-index: 2000;
}

.wa-bubble {
  width: 280px;
  position: absolute;
  bottom: 68px;
  right: 0;
  background: linear-gradient(160deg, rgba(26, 16, 16, 0.97) 0%, rgba(20, 12, 12, 0.97) 60%, rgba(12, 8, 8, 0.98) 100%);
  backdrop-filter: blur(15px) saturate(140%);
  -webkit-backdrop-filter: blur(15px) saturate(140%);
  border: 1px solid rgba(250, 41, 39, 0.35);
  border-radius: 1.2rem;
  box-shadow:
    0 1px 0 rgba(250, 41, 39, 0.12) inset,
    0 20px 45px -10px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(250, 41, 39, 0.08),
    0 0 30px -8px rgba(250, 41, 39, 0.15);
  padding: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wa-bubble::before {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 16px;
  width: 20px;
  height: 20px;
  background: rgba(12, 8, 8, 0.98);
  border-right: 1px solid rgba(250, 41, 39, 0.35);
  border-bottom: 1px solid rgba(250, 41, 39, 0.35);
  transform: rotate(45deg);
  border-bottom-right-radius: 4px;
  z-index: -1;
}

.wa-bubble.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.wa-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.wa-avatar-wrapper { position: relative; }
.wa-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #25d366;
  box-shadow: 0 4px 12px -4px rgba(37, 211, 102, 0.35);
  background: #FAFAFA;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa-avatar-img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }

.wa-status-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background: #25d366;
  border: 2px solid #141414;
  border-radius: 50%;
  animation: wa-pulse-green 2s infinite;
}

.wa-name { display: block; font-weight: 700; color: #FAFAFA; font-size: 14px; letter-spacing: 0.01em; }

.wa-typing { display: flex; gap: 4px; padding: 8px 0; }
.wa-typing span {
  width: 5px;
  height: 5px;
  background: #25d366;
  border-radius: 50%;
  animation: wa-typing-ani 1.4s infinite;
  opacity: 0.4;
}
.wa-typing span:nth-child(2) { animation-delay: 0.2s; }
.wa-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes wa-typing-ani {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50%      { transform: translateY(-4px); opacity: 1; }
}

@keyframes wa-pulse-green {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.wa-message-text p { margin: 0; font-size: 13px; color: rgba(250, 250, 250, 0.88); line-height: 1.5; }
.wa-message-text p strong { color: #FA2927; }

.wa-float-btn {
  width: 54px;
  height: 54px;
  background: #25D366;
  color: #fff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  text-decoration: none;
  transition: all 0.6s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  position: relative;
}

.wa-float-btn.visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.wa-float-btn:hover { transform: scale(1.1) translateY(-3px); }

.wa-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ff3b30;
  color: #fff;
  font-size: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 2px solid #fff;
  opacity: 0;
  transform: scale(0);
  transition: all 0.4s ease;
}

.wa-badge.show { opacity: 1; transform: scale(1); }

.wa-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: rgba(250, 41, 39, 0.45);
  cursor: pointer;
  padding: 5px;
  transition: color 0.3s;
  z-index: 2;
}
.wa-close:hover { color: #FA2927; }

/* ─── ACESSIBILIDADE: reduz animações pra quem preferir ─── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-item,
  .hero-stagger {
    opacity: 1 !important;
    transform: none !important;
  }
}
