/* Painel da Carflix: cores e fonte do site carflix.com.br (vermelho #FF0014, preto, branco e cinza neutro;
   fonte do sistema, sem serifa). Só é carregado pela instância da Carflix (src/index.js, INSTANCIA=carflix):
   o painel da Vaapty não usa este arquivo. */
:root {
  --bg: #f4f4f4;
  --surface: #ffffff;
  --surface-2: #f1f1f1;
  --surface-3: #e6e6e6;
  --border: #e2e2e2;
  --border-strong: #cccccc;
  --text: #1a1a1a;
  --text-2: #404040;
  --text-3: #6b6b6b;
  --ink-rgb: 26, 26, 26;
  --overlay: rgba(0, 0, 0, 0.45);
  --sunken: rgba(0, 0, 0, 0.035);

  --brand: #ff0014;
  --brand-hover: #d90011;
  --brand-text: #d10012;
  --brand-rgb: 255, 0, 20;
  --accent: #ff0014;
  --accent-text: #d10012;
  --accent-rgb: 255, 0, 20;
  --accent-soft: #ffe8ea;
  --on-accent: #ffffff;
  --danger: #b4231c;
  --danger-rgb: 180, 35, 28;

  --chart-base: #ff0014;
  --chart-area: rgba(255, 0, 20, 0.08);
  --grade: #ececec;
  --cat-1: #ff0014;
  --cat-0: #a3a3a3;
  --cat-3: #404040;
  --dica-fundo: #1a1a1a;
  --dica-texto: #f5f5f5;

  --fonte: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fonte-num: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

:root[data-theme="dark"] {
  --bg: #0d0d0d;
  --surface: #171717;
  --surface-2: #1f1f1f;
  --surface-3: #292929;
  --border: #2a2a2a;
  --border-strong: #3a3a3a;
  --text: #f2f2f2;
  --text-2: #b3b3b3;
  --text-3: #858585;
  --ink-rgb: 255, 255, 255;
  --overlay: rgba(0, 0, 0, 0.66);

  --brand: #ff1a2c;
  --brand-hover: #ff4050;
  --brand-text: #ff5c68;
  --brand-rgb: 255, 26, 44;
  --accent: #ff1a2c;
  --accent-text: #ff5c68;
  --accent-rgb: 255, 26, 44;
  --accent-soft: rgba(255, 26, 44, 0.14);
  --danger: #f87171;
  --danger-rgb: 248, 113, 113;

  --chart-base: #ff1a2c;
  --chart-area: rgba(255, 26, 44, 0.12);
  --grade: #242424;
  --cat-1: #ff1a2c;
  --cat-0: #737373;
  --cat-3: #b3b3b3;
  --dica-fundo: #292929;
  --dica-texto: #f2f2f2;
}

/* Nome no topo do menu, como no logo do site: minúsculo, negrito, vermelho */
.brand-nome { text-transform: lowercase; font-weight: 800; letter-spacing: -0.04em; color: var(--brand); }
body.menu-recolhido .brand-nome::before { content: "c"; }
