/* Mago do Pism - design tokens (extraidos do Figma / brand kit real)
   Adaptado da fonte oficial mago-tokens.css: os tokens :root sao identicos.
   Os @font-face do AkagiPro foram removidos porque o .otf da fonte oficial
   nao esta no workspace; as fontes (Bricolage Grotesque + Sora)
   sao carregadas no alunos/rematricula.html. Se o AkagiPro entrar depois, ele ja e o
   primeiro da pilha em --font-display/--font-body e assume automaticamente. */

:root {
  /* Brand (canonico do design system) */
  --brand-blue: rgb(14, 147, 242);
  --brand-blue-dark: rgb(22, 134, 216);
  --brand-blue-soft: rgba(14, 147, 242, 0.6);

  /* Cores reais amostradas da arte da campanha (cena1-4) */
  --brand-royal: #0A5CF2;      /* azul solido dos botoes/preenchimentos da arte */
  --brand-gold: #E9B949;       /* dourado da marca (numeros, estrela) */
  --brand-gold-deep: #C9962C;  /* sombra do dourado */
  --brand-navy: #06183A;       /* fundo escuro (cena2/3) */
  --brand-navy-deep: #041129;  /* sombra do navy */
  --brand-cream: #F4ECD8;      /* papel/off-white de fundo */
  --brand-paper: #FBF6EA;      /* superficie de card, mais clara */

  /* Neutrals */
  --neutral-0: rgb(255, 255, 255);
  --neutral-50: rgb(252, 252, 252);
  --neutral-100: rgb(250, 250, 250);
  --neutral-150: rgb(245, 245, 245);
  --neutral-200: rgb(240, 240, 240);
  --neutral-250: rgb(235, 235, 235);
  --neutral-300: rgb(230, 230, 230);
  --neutral-350: rgb(224, 224, 224);
  --neutral-400: rgb(217, 217, 217);
  --neutral-450: rgb(222, 222, 222);
  --neutral-500: rgb(160, 160, 160);
  --neutral-600: rgb(138, 138, 138);
  --neutral-700: rgb(117, 117, 117);
  --neutral-800: rgb(78, 78, 78);
  --neutral-900: rgb(43, 43, 43);
  --neutral-950: rgb(0, 0, 0);

  /* Semantic */
  --text-primary: rgb(78, 78, 78);
  --text-secondary: rgb(117, 117, 117);
  --text-muted: rgb(138, 138, 138);
  --text-faint: rgb(160, 160, 160);
  --text-on-blue: rgb(245, 245, 245);

  --bg-app: rgb(245, 245, 245);
  --bg-surface: rgb(252, 252, 252);
  --bg-card: rgb(255, 255, 255);

  --border-default: rgb(222, 222, 222);
  --border-strong: rgb(208, 208, 208);

  --color-success: rgb(39, 133, 86);
  --color-danger: rgb(208, 62, 62);

  /* Shadows */
  --shadow-card: 0 4px 20px rgba(95, 95, 95, 0.25);
  --shadow-soft: 0 2px 10px rgba(150, 150, 150, 0.25);
  --shadow-deep: 0 8px 24px rgba(0, 0, 0, 0.18);

  /* Radii - do Figma */
  --radius-xs: 4px;
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 16px;
  --radius-2xl: 22px;
  --radius-pill: 999px;

  /* Type (AkagiPro primeiro; fallback self-contained no index) */
  --font-display: "AkagiPro", "Bricolage Grotesque", "Quicksand", system-ui, sans-serif;
  --font-body: "AkagiPro", "Sora", "Montserrat", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;

  /* Layout */
  --content-max: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
a { color: inherit; text-decoration: none; }
