/* Manutenção — tema moderno escuro */

:root {
  --bg-deep: #0a0c10;
  --bg-card: rgba(18, 22, 32, 0.72);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8ecf4;
  --muted: #8b93a8;
  --accent-from: #6366f1;
  --accent-via: #a855f7;
  --accent-to: #ec4899;
  --glow: rgba(99, 102, 241, 0.35);
  --radius: 1.25rem;
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 50% -20%, var(--glow), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(236, 72, 153, 0.12), transparent),
    radial-gradient(ellipse 50% 35% at 0% 80%, rgba(99, 102, 241, 0.15), transparent),
    linear-gradient(180deg, var(--bg-deep) 0%, #0f1118 100%);
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}

.wrap {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2rem);
}

.card {
  width: min(100%, 28rem);
  padding: clamp(1.75rem, 5vw, 2.25rem);
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 24px 80px rgba(0, 0, 0, 0.45);
  text-align: center;
  animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--mono);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
  box-shadow: 0 0 12px var(--accent-via);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.15);
  }
}

h1 {
  margin: 0 0 0.625rem;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(120deg, var(--accent-from), var(--accent-via), var(--accent-to));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

p.lead {
  margin: 0 0 1.5rem;
  font-size: 0.9625rem;
  line-height: 1.6;
  color: var(--muted);
}

.progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.progress-bar {
  height: 100%;
  width: 35%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-from), var(--accent-via), var(--accent-to));
  background-size: 200% 100%;
  animation: shimmer 2.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
    background-position: 0% center;
  }
  50% {
    transform: translateX(20%);
    background-position: 100% center;
  }
  100% {
    transform: translateX(100%);
    background-position: 200% center;
  }
}

.meta {
  display: grid;
  gap: 0.75rem;
  text-align: left;
  padding: 1rem;
  border-radius: calc(var(--radius) - 0.375rem);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  margin-bottom: 1.25rem;
}

.meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
}

.meta-label {
  color: var(--muted);
  font-family: var(--mono);
}

.meta-value {
  font-weight: 500;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.125rem;
  border-radius: 0.625rem;
  font-size: 0.90625rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.btn.primary {
  color: white;
  background: linear-gradient(135deg, var(--accent-from), var(--accent-via));
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.45);
}

.btn.primary:active {
  transform: translateY(0);
}

.btn.ghost {
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
}

.btn.ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.foot {
  margin-top: 1.125rem;
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--mono);
}

.foot code {
  font-size: 0.85em;
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .dot,
  .progress-bar {
    animation: none;
  }
  .card {
    opacity: 1;
  }
}
