:root {
  --ink: #11131a;
  --steel: #2b2f3b;
  --muted: #6d7280;
  --accent: #e4572e;
  --accent-dark: #b23a1a;
  --mint: #3cb8a9;
  --sun: #f7b32b;
  --cloud: #f6f3ef;
  --glass: rgba(255, 255, 255, 0.75);
  --shadow: 0 20px 50px rgba(15, 20, 36, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #f7f1e8 0%, #f5f5f4 40%, #eef1f4 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg, rgba(228, 87, 46, 0.08), rgba(60, 184, 169, 0.08));
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  color: var(--steel);
}

a {
  color: var(--accent-dark);
}

.navbar {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(17, 19, 26, 0.08);
}

.brand-mark {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--accent-dark);
}

.hero {
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(17, 19, 26, 0.95), rgba(43, 47, 59, 0.9));
  color: #f7f3ef;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 179, 43, 0.6), rgba(247, 179, 43, 0));
  top: -80px;
  right: -60px;
}

.glass-card {
  background: var(--glass);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(17, 19, 26, 0.08);
}

.metric {
  border-radius: 18px;
  padding: 1rem 1.2rem;
  background: #fff;
  box-shadow: 0 10px 25px rgba(17, 19, 26, 0.08);
}

.metric span {
  font-size: 0.85rem;
  color: var(--muted);
}

.metric strong {
  font-size: 1.8rem;
  display: block;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-aberta {
  background: rgba(60, 184, 169, 0.12);
  color: #127a6d;
}

.status-vencida {
  background: rgba(228, 87, 46, 0.15);
  color: #a53215;
}

.status-concluida {
  background: rgba(17, 19, 26, 0.08);
  color: #2b2f3b;
}

.timeline {
  border-left: 2px solid rgba(17, 19, 26, 0.12);
  padding-left: 1rem;
}

.timeline-item {
  margin-bottom: 1rem;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.4rem;
  top: 0.2rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--accent);
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

body.is-loaded .fade-up {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

@media (max-width: 768px) {
  .hero {
    padding: 1.8rem;
  }
}
