/* Manual de Ideias — tokens de design (B09, 28/10/2026)
   Fonte da verdade: o design system "Manual de Ideias" (tokens.json).
   Substitui os tokens provisórios do motor. Mesmos nomes do sistema. */

/* Fontes: baixar do Google Fonts (licença OFL) e servir do próprio site em woff2.
   Só os pesos usados: Bricolage Grotesque 700 e 800; Figtree 400, 500 e 600. */
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-grotesque-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-grotesque-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* Cor */
  --paper: #fff9ee;        /* fundo de página */
  --surface: #ffffff;      /* cards, opções, resultado */
  --ink: #1f2544;          /* texto principal; anel de foco */
  --ink-muted: #5a6078;    /* texto secundário */
  --line: #e8dfcf;         /* divisores decorativos (não para controles) */
  --line-strong: #8a8170;  /* borda de controles */
  --coral: #c9442e;        /* ação principal, links, selecionado */
  --on-coral: #ffffff;     /* texto sobre coral */
  --yellow: #ffc93c;       /* destaque, nunca texto */
  --cat-testes: #6b4fd8;
  --cat-geradores: #0e7c6b;
  --cat-jogos: #a85200;
  --cat-ideias: #c2306b;

  /* Tipografia */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-text: Figtree, system-ui, sans-serif;

  /* Espaço */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;

  /* Forma */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --shadow-sticker: 0 3px 0 rgba(31, 37, 68, 0.14);
}

/* Estilos de texto */
.display { font-family: var(--font-display); font-size: 40px; line-height: 44px; font-weight: 800; letter-spacing: -0.02em; }
.title   { font-family: var(--font-display); font-size: 28px; line-height: 32px; font-weight: 700; letter-spacing: -0.01em; }
.heading { font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 700; }
.body-lg { font-family: var(--font-text); font-size: 18px; line-height: 28px; font-weight: 400; }
.body    { font-family: var(--font-text); font-size: 16px; line-height: 24px; font-weight: 400; }
.label   { font-family: var(--font-text); font-size: 16px; line-height: 20px; font-weight: 600; }
.small   { font-family: var(--font-text); font-size: 14px; line-height: 20px; font-weight: 500; }

@media (max-width: 359px) {
  .display { font-size: 32px; line-height: 36px; }
}

/* Foco: anel sólido de 2px em ink, afastado 2px, em todo controle */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
