/* ═══════════════════════════════════════
   HERO — Seção principal
   ═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero__glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(34,197,94,0.18) 0%, transparent 70%);
  top: -100px; right: -100px;
}

.hero__glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200,160,48,0.1) 0%, transparent 70%);
  bottom: 50px; left: -80px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(34,197,94,0.08);
  border: 1px solid var(--border-green);
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: 24px;
}

.hero__badge-dot {
  width: 6px; height: 6px;
  background: var(--green-500);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.4); }
}

.hero__title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.035em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero__title-green { color: var(--green-500); }
.hero__title-line  { display: block; }

.hero__subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 48px;
}

.hero__tags { display: flex; flex-wrap: wrap; gap: 8px; }

.hero__tag {
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: .75rem;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.02);
}

/* Card visual */
.hero__visual { position: relative; }

.hero__card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg), var(--shadow-green);
  position: relative;
  overflow: hidden;
}

.hero__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34,197,94,0.4), transparent);
}

.hero__card-title {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__card-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.hero__gauge-wrap { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; }

.hero__gauge { position: relative; width: 100px; height: 100px; flex-shrink: 0; }
.hero__gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }

.hero__gauge-track { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 8; }

.hero__gauge-fill {
  fill: none;
  stroke: url(#gaugeGrad);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 251;
  stroke-dashoffset: 75.3;
  transition: stroke-dashoffset 1.5s var(--ease);
}

.hero__gauge-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero__gauge-value { font-size: 1.5rem; font-weight: 800; color: var(--green-400); line-height: 1; }
.hero__gauge-label { font-size: .65rem; color: var(--text-muted); margin-top: 2px; }

.hero__gauge-info { flex: 1; }

.hero__gauge-stat { margin-bottom: 12px; }
.hero__gauge-stat-label { font-size: .72rem; color: var(--text-muted); margin-bottom: 4px; }
.hero__gauge-stat-value { font-size: 1rem; font-weight: 700; color: var(--text-primary); }
.hero__gauge-stat-value.ok   { color: var(--green-400); }
.hero__gauge-stat-value.warn { color: var(--gold-400); }

.hero__bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 48px;
  margin-bottom: 16px;
}

.hero__bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--gradient-green);
  opacity: .7;
  transition: opacity var(--dur);
}

.hero__bar:hover { opacity: 1; }

.hero__status-row { display: flex; gap: 8px; }

.hero__status {
  flex: 1;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .72rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero__status-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.hero__status-dot.green { background: var(--green-500); }
.hero__status-dot.gold  { background: var(--gold-400); }

.hero__float-badge {
  position: absolute;
  bottom: -16px; left: -20px;
  background: var(--bg-card-2);
  border: 1px solid var(--border-green);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  animation: floatY 3s ease-in-out infinite;
}

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

.hero__float-icon { font-size: 1.4rem; }

.hero__float-text strong { display: block; font-size: .82rem; color: var(--text-primary); }
.hero__float-text span   { font-size: .7rem; color: var(--green-400); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero__subtitle { margin-inline: auto; }
  .hero__actions  { justify-content: center; }
  .hero__tags     { justify-content: center; }
  .hero__visual   { order: -1; }
  .hero__float-badge { left: 50%; transform: translateX(-50%); animation: none; }
}

@media (max-width: 480px) { .hero__visual { display: none; } }
