/* ═══════════════════════════════════════════════════════════════
   Resultados — Lucas Duarte @ Quero Edu
   Design System: Dark Luxe with Teal/Emerald accents
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Tokens ──────────────────────────────────────────────────── */
:root {
  /* Surface */
  --bg-deep: #06080c;
  --bg-base: #0a0e14;
  --bg-raised: #111820;
  --bg-card: #151d28;
  --bg-card-hover: #1a2433;
  --bg-subtle: rgba(255,255,255,0.03);

  /* Borders */
  --border-subtle: rgba(255,255,255,0.06);
  --border-muted: rgba(255,255,255,0.10);
  --border-accent: rgba(56,224,187,0.25);

  /* Text */
  --text-primary: #e8edf3;
  --text-secondary: #8b99ae;
  --text-muted: #5c6b80;
  --text-accent: #38e0bb;

  /* Accent palette */
  --accent-primary: #38e0bb;
  --accent-secondary: #2bc4a3;
  --accent-dim: rgba(56,224,187,0.12);
  --accent-glow: rgba(56,224,187,0.08);
  --accent-warm: #f0b865;
  --accent-warm-dim: rgba(240,184,101,0.12);
  --accent-rose: #e8637a;
  --accent-rose-dim: rgba(232,99,122,0.12);
  --accent-blue: #5b9cf5;
  --accent-blue-dim: rgba(91,156,245,0.12);

  /* Status */
  --status-done: #38e0bb;
  --status-wip: #5b9cf5;
  --status-todo: #f0b865;
  --status-blocked: #e8637a;

  /* Typography */
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-card: 0 1px 3px rgba(0,0,0,0.3), 0 8px 24px rgba(0,0,0,0.2);
  --shadow-elevated: 0 4px 12px rgba(0,0,0,0.4), 0 16px 48px rgba(0,0,0,0.3);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset & Base ────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--accent-secondary);
}


/* ── Scroll-spy Nav (right side) ────────────────── */
.scroll-nav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

.scroll-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: all;
}

.scroll-nav-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  cursor: pointer;
  position: relative;
}

.scroll-nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-muted);
  flex-shrink: 0;
  transition: all 0.35s var(--ease-out);
  position: relative;
}

.scroll-nav-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  transition: border-color 0.35s var(--ease-out);
}

.scroll-nav-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.25s, transform 0.25s, color 0.25s;
  user-select: none;
  pointer-events: none;
}

/* Show label on hover of the item */
.scroll-nav-item:hover .scroll-nav-label {
  opacity: 1;
  transform: translateX(0);
  color: var(--text-secondary);
}

/* Active state */
.scroll-nav-item.active .scroll-nav-dot {
  background: var(--accent-primary);
  width: 10px;
  height: 10px;
  box-shadow: 0 0 10px rgba(56,224,187,0.4);
}

.scroll-nav-item.active .scroll-nav-dot::before {
  border-color: rgba(56,224,187,0.25);
}

.scroll-nav-item.active .scroll-nav-label {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent-primary);
  font-weight: 600;
}

/* Active section large label floating top-right */
.scroll-nav-active-label {
  position: fixed;
  right: 56px;
  top: 28px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  opacity: 0.7;
  z-index: 99;
  transition: opacity 0.4s, color 0.4s;
  pointer-events: none;
}

@media (max-width: 900px) {
  .scroll-nav { display: none; }
}

/* ── Hero ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl) var(--space-lg);
  overflow: hidden;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(56,224,187,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(91,156,245,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 80%, rgba(240,184,101,0.04) 0%, transparent 60%);
  animation: meshDrift 20s ease-in-out infinite alternate;
}

@keyframes meshDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-20px, 10px) scale(1.05); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
}

.hero-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid var(--border-accent);
  margin: 0 auto var(--space-lg);
  display: block;
  box-shadow: 0 0 40px rgba(56,224,187,0.15);
  object-fit: cover;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-primary);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: var(--space-xs) var(--space-sm);
  border-radius: 999px;
  margin-bottom: var(--space-lg);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.hero-meta {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-meta-item svg {
  width: 16px;
  height: 16px;
  opacity: 0.5;
}

/* ── Sections ────────────────────────────────────────────────── */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-lg);
}

.section-header {
  margin-bottom: var(--space-xl);
}

.section-number {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
  opacity: 0.7;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: 0.92rem;
  color: var(--text-secondary);
  max-width: 600px;
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-muted) 20%, var(--border-muted) 80%, transparent);
  margin: 0 auto;
  max-width: 1200px;
}

/* ── Stats Row ───────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-blue));
  opacity: 0;
  transition: opacity 0.3s;
}

.stat-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-value .suffix {
  font-size: 1.2rem;
  color: var(--accent-primary);
  font-weight: 600;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* Color variants for stat cards */
.stat-card[data-accent="teal"] .stat-value { color: var(--accent-primary); }
.stat-card[data-accent="blue"] .stat-value { color: var(--accent-blue); }
.stat-card[data-accent="warm"] .stat-value { color: var(--accent-warm); }
.stat-card[data-accent="rose"] .stat-value { color: var(--accent-rose); }

/* ── Bar Chart ───────────────────────────────────────────────── */
.bar-chart {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.bar-item {
  display: grid;
  grid-template-columns: 160px 1fr 48px;
  gap: var(--space-md);
  align-items: center;
  font-size: 0.85rem;
}

.bar-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bar-track {
  height: 28px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.bar-fill {
  height: 100%;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-blue));
  min-width: 4px;
  transition: width 1.2s var(--ease-out);
  position: relative;
}

.bar-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  border-radius: var(--radius-sm);
}

.bar-count {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: right;
}

/* ── Line Chart (SVG) ────────────────────────────────────────── */
.chart-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  overflow: hidden;
}

.chart-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.chart-svg {
  width: 100%;
  height: auto;
}

/* ── Sprint Table ────────────────────────────────────────────── */
.sprint-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.sprint-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.sprint-table thead {
  background: var(--bg-raised);
}

.sprint-table th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: var(--space-md) var(--space-md);
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--border-subtle);
}

.sprint-table td {
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  white-space: nowrap;
}

.sprint-table tbody tr:hover {
  background: var(--accent-glow);
}

.sprint-table tbody tr:last-child td {
  border-bottom: none;
}

.sprint-table .col-sprint {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-primary);
}

.sprint-table .col-number {
  font-family: var(--font-mono);
  text-align: center;
}

/* Progress bar in table */
.progress-bar {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.progress-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
  min-width: 60px;
}

.progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1s var(--ease-out);
}

.progress-fill.green { background: var(--status-done); }
.progress-fill.yellow { background: var(--accent-warm); }
.progress-fill.red { background: var(--accent-rose); }

.progress-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  min-width: 40px;
  text-align: right;
}

.progress-label.green { color: var(--status-done); }
.progress-label.yellow { color: var(--accent-warm); }
.progress-label.red { color: var(--accent-rose); }

/* Total row */
.sprint-table .total-row td {
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-raised);
  border-top: 2px solid var(--border-accent);
}

/* ── Donut Chart ─────────────────────────────────────────────── */
.donut-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.donut-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.donut-svg {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.donut-ring {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dasharray 1.5s var(--ease-out);
}

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.donut-legend-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.donut-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.donut-legend-value {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-primary);
  margin-left: auto;
}

/* ── Review Cards ────────────────────────────────────────────── */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-md);
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  transition: all 0.2s var(--ease-out);
}

.review-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-1px);
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-raised);
  flex-shrink: 0;
}

.review-info {
  flex: 1;
  min-width: 0;
}

.review-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ── Delivery Tick ───────────────────────────────────────────── */
.delivery-tick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(56,224,187,0.15);
  border: 1.5px solid var(--accent-primary);
  color: var(--accent-primary);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

/* ── Feature Deliveries ──────────────────────────────────────── */
.deliveries-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.delivery-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.delivery-card:hover {
  border-color: var(--border-muted);
}

.delivery-card.open {
  border-color: var(--border-accent);
}

.delivery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  cursor: pointer;
  gap: var(--space-lg);
  user-select: none;
}

.delivery-header:hover {
  background: var(--bg-card-hover);
}

.delivery-header-left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex: 1;
  min-width: 0;
}

.delivery-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.delivery-header-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

.delivery-repos {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.repo-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 2px 6px;
}

.delivery-pr-counts {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.pr-count-merged {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-primary);
}

.pr-count-open {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-blue);
}

.delivery-chevron {
  font-size: 1.2rem;
  color: var(--text-muted);
  transform: rotate(0deg);
  transition: transform 0.25s ease;
  line-height: 1;
  width: 20px;
  text-align: center;
}

.delivery-card.open .delivery-chevron {
  transform: rotate(90deg);
}

.delivery-body {
  display: none;
  padding: 0 var(--space-xl) var(--space-xl);
  border-top: 1px solid var(--border-subtle);
}

.delivery-card.open .delivery-body {
  display: block;
}

.delivery-description {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: var(--space-lg) 0 var(--space-xl);
  max-width: 72ch;
}

.delivery-prs-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-sm);
}

.delivery-prs {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pr-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px var(--space-md);
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}

.pr-item:hover {
  background: var(--bg-raised);
  border-color: var(--border-subtle);
}

.pr-state-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pr-merged .pr-state-dot { background: var(--accent-primary); }
.pr-open   .pr-state-dot { background: var(--accent-blue); }
.pr-closed .pr-state-dot { background: var(--text-muted); }

.pr-title {
  font-size: 0.83rem;
  color: var(--text-secondary);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.15s;
}

.pr-item:hover .pr-title {
  color: var(--text-primary);
}

.pr-repo {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .delivery-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
  }
  .delivery-header-right {
    flex-wrap: wrap;
  }
  .delivery-body {
    padding: 0 var(--space-md) var(--space-md);
  }
  .delivery-repos {
    display: none;
  }
}

/* ── Evolução ────────────────────────────────────────────────── */
.evolucao-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.evolucao-section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
}

.evolucao-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: var(--space-lg) var(--space-xl);
  margin-bottom: var(--space-sm);
  transition: border-color 0.2s;
}

.evolucao-item:hover {
  border-color: var(--border-muted);
}

.evolucao-chevron {
  color: var(--accent-primary);
  font-size: 0.65rem;
  flex-shrink: 0;
  margin-top: 5px;
  opacity: 0.9;
}

.evolucao-item-body {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.evolucao-item-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ── Autoavaliação ───────────────────────────────────────────── */
.autoavaliacao-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.autoavaliacao-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: var(--space-xl);
  transition: border-color 0.2s;
}

.autoavaliacao-card:hover {
  border-color: var(--border-muted);
}

.autoavaliacao-question {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: var(--space-md);
}

.autoavaliacao-answer {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.autoavaliacao-placeholder {
  color: var(--text-muted);
  font-style: italic;
}

/* ── Scroll Animations ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 60ms; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 120ms; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 180ms; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 240ms; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 300ms; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 360ms; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 420ms; }

/* ── Two Column Layout ───────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  border-top: 1px solid var(--border-subtle);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-text {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.export-md-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.export-md-btn:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* ── Badge / Pill ────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 500;
}

.badge-done {
  background: rgba(56,224,187,0.12);
  color: var(--status-done);
}

.badge-wip {
  background: rgba(91,156,245,0.12);
  color: var(--status-wip);
}

.badge-todo {
  background: rgba(240,184,101,0.12);
  color: var(--accent-warm);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .bar-item {
    grid-template-columns: 100px 1fr 40px;
  }

  .hero {
    min-height: 50vh;
    padding: calc(56px + var(--space-2xl)) var(--space-md) var(--space-2xl);
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    display: none;
  }

  .section {
    padding: var(--space-2xl) var(--space-md);
  }

  .donut-card {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .stats-row {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    flex-direction: column;
    align-items: center;
  }
}
