/* Páginas de erro — Semeia Negócios */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(640px 280px at 90% 0%, rgba(28,146,189,.10), transparent),
    radial-gradient(520px 240px at 0% 100%, rgba(52,168,83,.08), transparent),
    var(--bg);
}

.error-header {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
}
.error-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.error-header .brand img { height: 36px; width: auto; }

.error-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 18px 64px;
}

.error-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 44px 36px;
  text-align: center;
}

.error-code {
  font-size: clamp(4rem, 14vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.error-card.is-500 .error-code {
  background: linear-gradient(135deg, #c0392b, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
}

.error-ico {
  font-size: 2.6rem;
  margin-bottom: 12px;
  line-height: 1;
}

.error-card h1 {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  margin-bottom: 12px;
}

.error-card p {
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.error-foot {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: var(--muted);
}

.error-foot a { font-weight: 700; }

@media (max-width: 520px) {
  .error-card { padding: 32px 22px; border-radius: 16px; }
  .error-actions { flex-direction: column; }
  .error-actions .btn { width: 100%; }
}
