/* =====================================================
   OVERVIEW PREMIUM | Animações e Estilo Executivo
   ===================================================== */

/* ── HERO BANNER ─────────────────────────────────── */
.hero-banner {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg, #0d1117 0%, #111827 40%, #0f1620 100%);
  border: 1px solid rgba(79, 142, 247, 0.2);
  padding: 52px 48px 40px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  box-shadow: 0 0 80px rgba(79, 142, 247, 0.08), 0 24px 64px rgba(0,0,0,0.5);
}

#particleCanvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-1 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(79,142,247,0.18) 0%, transparent 70%);
  top: -120px; left: -80px;
  animation: glowPulse 6s ease-in-out infinite;
}

.hero-glow-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(167,139,250,0.14) 0%, transparent 70%);
  top: 20px; right: -60px;
  animation: glowPulse 8s ease-in-out infinite reverse;
}

.hero-glow-3 {
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(34,211,238,0.10) 0%, transparent 70%);
  bottom: -60px; right: 30%;
  animation: glowPulse 10s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.15); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4f8ef7;
  background: rgba(79,142,247,0.12);
  border: 1px solid rgba(79,142,247,0.25);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 20px;
  animation: fadeSlideDown 0.6s ease both;
}

.hero-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4f8ef7;
  animation: dotBlink 2s ease-in-out infinite;
}

@keyframes dotBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px #4f8ef7; }
  50%       { opacity: 0.4; box-shadow: none; }
}

.hero-title {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.15;
  color: #f0f2ff;
  margin-bottom: 16px;
  animation: fadeSlideDown 0.7s ease 0.1s both;
  letter-spacing: -0.01em;
}

.hero-gradient {
  background: linear-gradient(90deg, #4f8ef7, #a78bfa, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradientShift 4s linear infinite;
}

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

.hero-plus {
  color: #a78bfa;
  -webkit-text-fill-color: #a78bfa;
}

.hero-subtitle {
  font-size: 15px;
  color: #8b91b8;
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 24px;
  animation: fadeSlideDown 0.7s ease 0.2s both;
}

.hero-countries {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: fadeSlideDown 0.7s ease 0.3s both;
}

.hero-country {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #8b91b8;
  padding: 6px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  transition: all 0.2s ease;
}

.hero-country:hover {
  color: #f0f2ff;
  border-color: rgba(79,142,247,0.3);
  background: rgba(79,142,247,0.08);
}

.hero-divider {
  width: 1px; height: 20px;
  background: rgba(255,255,255,0.1);
}

/* Hero Stats row */
.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 24px 36px;
  backdrop-filter: blur(12px);
  animation: fadeSlideUp 0.8s ease 0.4s both;
}

.hero-stat {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-stat-value {
  font-size: 32px;
  font-weight: 900;
  color: #f0f2ff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-stat-label {
  font-size: 11px;
  font-weight: 600;
  color: #555b7a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-stat-sep {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.08);
  margin: 0 8px;
}

/* ── KPI GRID PREMIUM ─────────────────────────────── */
.ov-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
  perspective: 900px;
}

.ov-kpi {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  cursor: default;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: fadeSlideUp 0.6s ease both;
  will-change: transform;
}

.ov-kpi:nth-child(1) { animation-delay: 0.05s; }
.ov-kpi:nth-child(2) { animation-delay: 0.10s; }
.ov-kpi:nth-child(3) { animation-delay: 0.15s; }
.ov-kpi:nth-child(4) { animation-delay: 0.20s; }
.ov-kpi:nth-child(5) { animation-delay: 0.25s; }
.ov-kpi:nth-child(6) { animation-delay: 0.30s; }

.ov-kpi:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.4);
}

.ov-kpi-bg {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  transition: opacity 0.25s ease;
}

.ov-kpi:hover .ov-kpi-bg { opacity: 0.1; }

.ov-kpi[data-color="blue"]   .ov-kpi-bg { background: radial-gradient(circle at top left, #4f8ef7, transparent 70%); }
.ov-kpi[data-color="green"]  .ov-kpi-bg { background: radial-gradient(circle at top left, #34d399, transparent 70%); }
.ov-kpi[data-color="purple"] .ov-kpi-bg { background: radial-gradient(circle at top left, #a78bfa, transparent 70%); }
.ov-kpi[data-color="orange"] .ov-kpi-bg { background: radial-gradient(circle at top left, #fb923c, transparent 70%); }
.ov-kpi[data-color="teal"]   .ov-kpi-bg { background: radial-gradient(circle at top left, #22d3ee, transparent 70%); }
.ov-kpi[data-color="pink"]   .ov-kpi-bg { background: radial-gradient(circle at top left, #f472b6, transparent 70%); }

.ov-kpi-inner {
  position: relative;
  z-index: 1;
  background: rgba(20,23,38,0.85);
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ov-kpi-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ov-kpi-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.ov-kpi[data-color="blue"]   .ov-kpi-icon { background: rgba(79,142,247,0.15);  color: #6ba3ff; }
.ov-kpi[data-color="green"]  .ov-kpi-icon { background: rgba(52,211,153,0.15);  color: #34d399; }
.ov-kpi[data-color="purple"] .ov-kpi-icon { background: rgba(167,139,250,0.15); color: #a78bfa; }
.ov-kpi[data-color="orange"] .ov-kpi-icon { background: rgba(251,146,60,0.15);  color: #fb923c; }
.ov-kpi[data-color="teal"]   .ov-kpi-icon { background: rgba(34,211,238,0.15);  color: #22d3ee; }
.ov-kpi[data-color="pink"]   .ov-kpi-icon { background: rgba(244,114,182,0.15); color: #f472b6; }

/* Sparkline mini canvas */
.ov-kpi-spark {
  width: 64px; height: 32px;
  opacity: 0.7;
}

.ov-kpi-value {
  font-size: 30px;
  font-weight: 900;
  color: #f0f2ff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.ov-kpi-label {
  font-size: 12px;
  color: #555b7a;
  font-weight: 500;
}

.ov-kpi-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.ov-kpi-badge {
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
}

.ov-badge-up     { background: rgba(52,211,153,0.12); color: #34d399; }
.ov-badge-neutral{ background: rgba(139,145,184,0.12); color: #8b91b8; }
.ov-badge-down   { background: rgba(248,113,113,0.12); color: #f87171; }

.ov-badge-up i, .ov-badge-neutral i, .ov-badge-down i {
  font-size: 8px;
}

/* ── SECTION LABEL DIVIDER ───────────────────────── */
.ov-section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 36px 0 24px;
}

.ov-section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.ov-section-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555b7a;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.ov-section-text i { color: #4f8ef7; }

/* ── VICTORIES PREMIUM ───────────────────────────── */
.victories-premium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 8px;
}

.vp-card {
  position: relative;
  border-radius: 18px;
  background: rgba(20,23,38,0.9);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 32px 28px 28px;
  overflow: hidden;
  cursor: default;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  animation: fadeSlideUp 0.7s ease both;
}

.vp-card:nth-child(1) { animation-delay: 0.0s; }
.vp-card:nth-child(2) { animation-delay: 0.12s; }
.vp-card:nth-child(3) { animation-delay: 0.24s; }

.vp-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79,142,247,0.3);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(79,142,247,0.1);
}

.vp-glow {
  position: absolute;
  top: -40px; left: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.vp-card:nth-child(1) .vp-glow { background: radial-gradient(circle, rgba(251,191,36,0.2), transparent 70%); }
.vp-card:nth-child(2) .vp-glow { background: radial-gradient(circle, rgba(79,142,247,0.2), transparent 70%); }
.vp-card:nth-child(3) .vp-glow { background: radial-gradient(circle, rgba(167,139,250,0.2), transparent 70%); }

.vp-card:hover .vp-glow { opacity: 1; }

.vp-number {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 64px;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  transition: color 0.3s ease;
}

.vp-card:hover .vp-number { color: rgba(255,255,255,0.05); }

.vp-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.vp-card:nth-child(1) .vp-icon { background: rgba(251,191,36,0.15);  color: #fbbf24; }
.vp-card:nth-child(2) .vp-icon { background: rgba(79,142,247,0.15);  color: #4f8ef7; }
.vp-card:nth-child(3) .vp-icon { background: rgba(167,139,250,0.15); color: #a78bfa; }

.vp-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: #f0f2ff;
  line-height: 1.4;
  margin-bottom: 10px;
  position: relative; z-index: 1;
}

.vp-card p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 16px;
  position: relative; z-index: 1;
}

.vp-card p strong { color: #f0f2ff; }

.vp-metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
  position: relative; z-index: 1;
}

.vp-metric-val {
  font-size: 28px;
  font-weight: 900;
  color: #34d399;
  letter-spacing: -0.02em;
}

.vp-metric-label {
  font-size: 12px;
  color: #555b7a;
  text-decoration: line-through;
  text-decoration-color: #f87171;
}

.vp-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  position: relative; z-index: 1;
}

.vp-card:nth-child(1) .vp-tag { background: rgba(251,191,36,0.12); color: #fbbf24; border: 1px solid rgba(251,191,36,0.2); }
.vp-card:nth-child(2) .vp-tag { background: rgba(79,142,247,0.12);  color: #4f8ef7;  border: 1px solid rgba(79,142,247,0.2); }
.vp-card:nth-child(3) .vp-tag { background: rgba(167,139,250,0.12); color: #a78bfa; border: 1px solid rgba(167,139,250,0.2); }

/* ── FUNNEL PREMIUM ──────────────────────────────── */
.funnel-premium {
  background: rgba(20,23,38,0.9);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  padding: 10px 0;
  overflow: hidden;
}

.fp-step {
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 18px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.2s ease;
  animation: fadeSlideRight 0.6s ease both;
}

.fp-step:nth-child(1) { animation-delay: 0.0s; }
.fp-step:nth-child(2) { animation-delay: 0.08s; }
.fp-step:nth-child(3) { animation-delay: 0.16s; }
.fp-step:nth-child(4) { animation-delay: 0.24s; }
.fp-step:nth-child(5) { animation-delay: 0.32s; }
.fp-step:nth-child(6) { animation-delay: 0.40s; animation-duration: 0.6s; }

.fp-step:last-child { border-bottom: none; }

.fp-step:hover { background: rgba(255,255,255,0.02); }

.fp-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.fp-icon-wrap {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.fp-icon-wrap.proven  { background: rgba(52,211,153,0.15);  color: #34d399; }
.fp-icon-wrap.partial { background: rgba(251,191,36,0.15);  color: #fbbf24; }
.fp-icon-wrap.missing { background: rgba(248,113,113,0.15); color: #f87171; }

.fp-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fp-name {
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
}

.fp-desc {
  font-size: 11px;
  color: #555b7a;
}

.fp-bar-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.fp-bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

.fp-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.fp-bar-fill.proven  { background: linear-gradient(90deg, #34d399, #22d3ee); box-shadow: 0 0 12px rgba(52,211,153,0.4); }
.fp-bar-fill.partial { background: linear-gradient(90deg, #fbbf24, #fb923c); box-shadow: 0 0 12px rgba(251,191,36,0.3); }
.fp-bar-fill.missing { background: linear-gradient(90deg, #f87171, rgba(248,113,113,0.4)); }

.fp-pct {
  font-size: 12px;
  font-weight: 700;
  color: #555b7a;
  width: 36px;
  text-align: right;
}

.fp-badge {
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 700;
  white-space: nowrap;
}

/* ── ANIMATIONS ──────────────────────────────────── */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeSlideRight {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1100px) {
  .ov-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .victories-premium { grid-template-columns: 1fr; }
  .hero-title { font-size: 32px; }
}

@media (max-width: 768px) {
  .hero-banner { padding: 36px 24px 28px; }
  .hero-title { font-size: 26px; }
  .hero-stats { flex-direction: column; gap: 20px; padding: 20px; }
  .hero-stat-sep { display: none; }
  .ov-kpi-grid { grid-template-columns: 1fr 1fr; }

  .fp-step {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .fp-badge { display: none; }
}

@media (max-width: 480px) {
  .ov-kpi-grid { grid-template-columns: 1fr; }
  .hero-countries { flex-direction: column; align-items: flex-start; }
  .hero-divider { display: none; }
}
