/* Base comum às três propostas do site institucional.
 * Tokens tirados de design/upstream/colors_and_type.css — só os que o site usa.
 * Extensão pendente de aval do dono do design system: --text-display (> 48px). */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("https://rsms.me/inter/font-files/InterVariable.woff2?v=4.1") format("woff2");
}

:root {
  --navy: #06122e;            /* surface-brand — só em momento de destaque */
  --blue: #2053ce;            /* brand-primary-600 */
  --blue-700: #123da1;
  --blue-500: #3a68f1;
  --blue-300: #94b6fb;
  --blue-100: #dce6fd;
  --blue-50: #eff5ff;
  --yellow: #fad705;          /* só conversão */
  --ink: #030712;             /* gray-950 */
  --ink-2: #4b5563;           /* gray-600 */
  --ink-3: #6b7280;           /* gray-500 */
  --line: #e5e7eb;            /* gray-200 */
  --paper: #ffffff;
  --paper-2: #f9fafb;         /* gray-50 */

  --font: "Inter Variable", "Inter", system-ui, sans-serif;
  --text-display: clamp(48px, 8.2vw, 128px);
  --text-h2: clamp(36px, 5vw, 72px);
  --text-number: clamp(56px, 7vw, 112px);
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1440px;
  --radius: 8px;
  --focus: 0 0 0 2px #fff, 0 0 0 4px #487cea;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}
img, svg { display: block; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.num { font-variant-numeric: tabular-nums; }

/* Títulos: semibold (nunca bold), tracking negativo proporcional ao tamanho */
.display {
  font-size: var(--text-display);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.h2 {
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; max-width: 36em; }

/* Botões do design system: primário amarelo só aqui, na conversão */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 24px;
  border-radius: var(--radius);
  font: 600 16px/1 var(--font);
  text-decoration: none;
  transition: background-color .1s ease-out, color .1s ease-out;
}
.btn-cta { background: var(--yellow); color: var(--ink); }
.btn-cta:hover { background: #fcc419; }
.btn-cta:active { transform: scale(.97); }
.btn:focus-visible, .link:focus-visible, .nav a:focus-visible { outline: none; box-shadow: var(--focus); }
.link { font-weight: 600; text-underline-offset: 4px; }

/* Topo */
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.nav img { height: 28px; width: auto; }
.nav .enter {
  font-weight: 600; font-size: 15px; text-decoration: none;
  padding: 10px 16px; border-radius: var(--radius);
  transition: background-color .1s ease-out;
}

/* Faixa de marcas — nome em texto até haver autorização dos logos */
.brands { overflow: hidden; }
.brands-track {
  display: flex; gap: 56px; width: max-content;
  animation: slide 80s linear infinite;
  font-weight: 600; font-size: 22px; letter-spacing: -0.02em; white-space: nowrap;
}
.brands:hover .brands-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Blocos de prova: cada bloco = uma unidade declarada na legenda */
/* grade fixa de 21 colunas: teste e controle comparáveis por área, em qualquer largura */
.blocks { display: grid; grid-template-columns: repeat(21, 1fr); gap: 3px; max-width: 420px; align-content: start; align-self: start; }
.blocks i { aspect-ratio: 1; background: currentColor; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
