/* ========================================
   DETETIVE SOCIAL — Efeitos & Componentes
   Trust badges, timer, animações
   ======================================== */

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---- Trust Badges (global) ---- */
.trust-section {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 24px 16px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 90px;
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
}

.trust-icon::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(57,255,136,0.3), rgba(32,201,151,0.1));
  z-index: 0;
  animation: trust-glow 3s ease-in-out infinite;
}

.trust-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: rgba(16,17,20,0.85);
  z-index: 1;
}

.trust-icon svg {
  width: 24px;
  height: 24px;
  color: #39FF88;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 6px rgba(57,255,136,0.4));
}

.trust-label {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  color: #A9B0BC;
  text-align: center;
  letter-spacing: 0.3px;
}

@keyframes trust-glow {
  0%, 100% { box-shadow: 0 0 8px rgba(57,255,136,0.15); }
  50% { box-shadow: 0 0 20px rgba(57,255,136,0.35); }
}

/* ---- Countdown Timer (caixas de dígitos) ---- */
.countdown-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px;
}

.countdown-label {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: #A9B0BC;
  margin-right: 8px;
}

.countdown-digits {
  display: flex;
  align-items: center;
  gap: 4px;
}

.countdown-box {
  background: rgba(57,255,136,0.08);
  border: 1px solid rgba(57,255,136,0.25);
  border-radius: 8px;
  padding: 6px 10px;
  min-width: 36px;
  text-align: center;
  font-family: 'Courier New', monospace;
  font-size: 20px;
  font-weight: 800;
  color: #39FF88;
  text-shadow: 0 0 10px rgba(57,255,136,0.5);
  position: relative;
  overflow: hidden;
}

.countdown-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(57,255,136,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.countdown-sep {
  font-family: 'Courier New', monospace;
  font-size: 20px;
  font-weight: 800;
  color: #39FF88;
  animation: blink-sep 1s step-end infinite;
}

@keyframes blink-sep {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.countdown-icon {
  width: 18px;
  height: 18px;
  color: #39FF88;
  margin-right: 4px;
  animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* ---- Glow border pulse (para cards) ---- */
.glow-border {
  position: relative;
}
.glow-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(57,255,136,0.3), transparent, rgba(57,255,136,0.2));
  z-index: -1;
  animation: glow-rotate 4s linear infinite;
}

@keyframes glow-rotate {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

/* ---- Float animation ---- */
.float {
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ---- Shimmer sweep (para textos) ---- */
.text-shimmer {
  background: linear-gradient(90deg, #39FF88 0%, #7BFFB5 40%, #39FF88 60%, #39FF88 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-text 3s ease-in-out infinite;
}

@keyframes shimmer-text {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* ---- Notification toast (social proof) ---- */
.social-proof-toast {
  position: fixed;
  bottom: 20px;
  left: 16px;
  right: 16px;
  max-width: 340px;
  background: #18181f;
  border: 1px solid rgba(57,255,136,0.2);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.social-proof-toast.show {
  transform: translateY(0);
  opacity: 1;
}
.social-proof-toast .toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #39FF88;
  flex-shrink: 0;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
.social-proof-toast .toast-text {
  font-size: 12px;
  color: #A9B0BC;
  line-height: 1.4;
}
.social-proof-toast .toast-text strong {
  color: #F5F7F8;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(57,255,136,0.4); }
  50% { box-shadow: 0 0 0 4px rgba(57,255,136,0); }
}

/* ---- Section divider glow ---- */
.glow-divider {
  width: 60%;
  max-width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(57,255,136,0.4), transparent);
  margin: 24px auto;
  border: none;
}
