/* Fontes (hospedadas localmente), variáveis e base. As cores abaixo são
   sobrescritas pelo bloco `theme` em js/config/campaign.config.js. */
@font-face {
  font-family: "Bricolage Grotesque";
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  src: url("../assets/fonts/bricolage-var.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  src: url("../assets/fonts/figtree-var.woff2") format("woff2");
}

:root {
  --ink: #06162f;
  --deep: #030b1b;
  --graphite: #0c2147;
  --graphite-2: #14305f;
  --paper: #f2f6fb;
  --accent: #c00810;
  --accent-hi: #ff4d55;
  --accent-deep: #8f050c;
  --on-accent: #ffffff;
  --brand: #003880;
  --red: #c00810;
  --white: #ffffff;

  --text: #f3f7fd;
  --muted: #b8c6dd;
  --text-dark: #0b1b33;
  --muted-dark: #4a5a73;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(11, 27, 51, 0.14);

  --font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 68px;
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 40px);

  /* Assinatura visual: selo circular com a cruz (vem da logo) */
  --plus-red: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c00810' d='M9 3h6v6h6v6h-6v6H9v-6H3V9h6z'/%3E%3C/svg%3E");
  --plus-one: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 3h6v6h6v6h-6v6H9v-6H3V9h6z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--accent) var(--ink);
  background: var(--ink);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  caret-color: var(--accent);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: var(--on-accent); }
img, svg, iframe { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { text-wrap: balance; font-weight: 800; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent-hi); outline-offset: 3px; border-radius: 4px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -64px; z-index: 100;
  background: var(--accent); color: var(--on-accent); font-weight: 700;
  padding: 12px 18px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 12px; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #2b4a7d; border-radius: 8px; border: 3px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
