/* Tokens do JOCA OS (JOCA_OS/frontend/src/App.css). Não inventar valores aqui. */
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('/assets/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url('/assets/fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-weight: 600; font-display: swap; src: url('/assets/fonts/playfair-600.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-display: swap; src: url('/assets/fonts/jetbrains-mono-400.woff2') format('woff2'); }

:root {
  --bg-base: #080808;
  --accent: #ff4500;
  --accent-glow: rgba(255, 69, 0, 0.3);
  --accent-border: rgba(255, 69, 0, 0.22);
  --status-idle: #4ade80;
  --text-bright: #f5f5f5;
  --text-normal: #c9c9c9;
  --text-dim: #9e9e9e;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --font-ui: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { color-scheme: dark; }

body {
  min-height: 100svh;
  background: var(--bg-base);
  color: var(--text-normal);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.stage {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 40px 24px;
  overflow: hidden;
}

.glow {
  position: absolute;
  top: 38%;
  left: 50%;
  width: min(900px, 140vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, var(--accent-glow), transparent 70%);
  opacity: 0.45;
  pointer-events: none;
  animation: respirar 6s ease-in-out infinite;
}

.brand, .hero, .parts, .foot { position: relative; }

.brand { display: flex; align-items: center; gap: 12px; }

.rings {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 15px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}
.rings::before {
  content: '';
  width: 15px;
  height: 7px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}
.rings::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

.wordmark {
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.17em;
}

.hero { text-align: center; max-width: 620px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}

h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(56px, 12vw, 120px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--text-bright);
  margin-bottom: 28px;
}

.lead {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text-normal);
  max-width: 46ch;
  margin: 0 auto;
}

.parts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
}
.parts li { display: flex; align-items: center; gap: 10px; }
.parts li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.foot {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status-idle);
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.42);
}

@keyframes respirar {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
  .glow { animation: none; }
}
