/* Sistema de design — o mesmo do Tandem Prompter.
   Um mundo só, escuro, com amarelo como a única cor de marca. Sem tema claro de propósito:
   é a identidade, não uma preferência de quem usa.

   Regras de uso:
   · AMARELO marca a ação principal e o que está "no ar": tocar, enviar, o ponto do vídeo, o timecode.
   · BRANCO é o controle e o texto. Verde e vermelho só para estado (aprovado / erro).
   · Títulos, botões, nomes e números usam a fonte de display; o resto da interface usa a de UI.
   · Botões e chips são pílulas; ferramentas quadradas têm canto de 8–12px; cartões, 14–24px.
   · Rótulos de seção: caixa alta, 11–12px, espaçamento .14em. */

@font-face {
  font-family: 'Alwyn New';
  src: url('/fonts/alwyn-new-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/vendor/plus-jakarta-sans-latin.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/vendor/plus-jakarta-sans-latin-ext.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;

  /* Chão e degraus de superfície */
  --ground: #0e0e10;
  --t0: #121214; /* poços: campos, trilhos, barras */
  --t1: #1b1b1e; /* cartões e janelas */
  --t2: #262629; /* controles e menus */
  --t3: #3c3c3b; /* pressionado, selecionado, avisos */
  --edge: #2c2c2f;
  --edge-hi: #3c3c3b;
  --edge-top: #4a4a48;

  /* Texto */
  --text: #f1f1f4;
  --white: #ffffff;
  --soft: #bcbcc0;
  --dim: #9a9a9c;
  --faint: #6a6a6d;

  /* Marca */
  --y: #f8b133;
  --y-hi: #ffc04d;
  --y-deep: #b87c10;
  --on-y: #141416;
  --on-y-dim: #4d3708;
  --y-wash: rgba(248, 177, 51, 0.1);
  --y-line: rgba(248, 177, 51, 0.38);

  /* Papel (faixas claras) */
  --paper: #f1f1ee;
  --paper-2: #e6e6e2;
  --paper-ink: #141416;
  --paper-dim: #55555a;
  --paper-edge: #d3d3ce;

  /* Estado */
  --on: #4ec77f;
  --off: #ff3b30;

  /* Movimento */
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* Tipografia */
  --display: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ui: 'Alwyn New', 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --reading: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;

  /* Forma */
  --r-tool: 10px;
  --r-field: 12px;
  --r-card: 14px;
  --r-panel: 20px;
  --pill: 999px;
  --lift: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  --sheen: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { background: var(--ground); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--ui);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior: none;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
/* A fonte de UI só tem o peso regular: tudo o que é forte troca de família em vez de engrossar artificialmente. */
h1, h2, h3, b, strong, th { font-family: var(--display); }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: var(--white); }
b, strong { font-weight: 600; letter-spacing: -0.01em; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: default; opacity: 0.4; }
:focus-visible { outline: 2px solid var(--y); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(248, 177, 51, 0.3); }
svg { flex: none; }
* { scrollbar-width: thin; scrollbar-color: var(--t3) transparent; }

.num { font-family: var(--display); font-weight: 600; font-variant-numeric: tabular-nums; }
.label { font-family: var(--ui); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--y); }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--y); box-shadow: 0 0 10px rgba(248, 177, 51, 0.7); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
