/* ============================================================
   ENEM — página hub (apresentação das 4 áreas do conhecimento)
   Reaproveita classes base já definidas em dashboard.css
   (sidebar, header, fade-in, spinner, badges, upgrade-card etc.)
   Aqui só ficam as classes NOVAS específicas desta página.
============================================================ */

/* Cards de mini estatísticas do topo */
.stat-card {
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- Cards das 4 áreas do conhecimento ---------- */
.area-card {
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
@media (hover: hover) {
  .area-card:hover {
    transform: translateY(-4px);
  }
}

.area-icone {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Cada área com um leve toque de cor própria, mantendo a base dark */
.area-linguagens .area-icone {
  background: rgba(245, 158, 11, 0.12);
}
.area-linguagens:hover {
  border-color: rgba(245, 158, 11, 0.4);
}

.area-humanas .area-icone {
  background: rgba(139, 92, 246, 0.12);
}
.area-humanas:hover {
  border-color: rgba(139, 92, 246, 0.4);
}

.area-natureza .area-icone {
  background: rgba(16, 185, 129, 0.12);
}
.area-natureza:hover {
  border-color: rgba(16, 185, 129, 0.4);
}

.area-matematica .area-icone {
  background: rgba(59, 130, 246, 0.12);
}
.area-matematica:hover {
  border-color: rgba(59, 130, 246, 0.4);
}

/* ---------- Bloco "Como funciona" ---------- */
.como-funciona-card {
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- Card do Simulado Final ---------- */
.simulado-final-card {
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  display: flex;
  flex-direction: column;
}
@media (hover: hover) {
  .simulado-final-card:hover:not(:has(#simulado-final-lock:not(.hidden))) {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.4);
  }
}

.simulado-icone {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: rgba(59, 130, 246, 0.12);
}

.passo-numero {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 0.6rem;
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}