/* ==========================================================
   Base comum: fontes, cores e tipografia
   Segue a identidade do PDF: Minion Pro (serifada) + Helvetica
   Neue Light; preto quente #231f20 e cinzento #a5a7aa.
   ========================================================== */

@font-face {
  font-family: "Crimson Pro";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("fonts/crimson-pro.woff2") format("woff2");
}
@font-face {
  font-family: "Crimson Pro";
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url("fonts/crimson-pro-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("fonts/inter-tight.woff2") format("woff2");
}

:root {
  color-scheme: light;

  --paper: #efeeec;
  --paper-deep: #e6e4e1;
  --paper-light: #f7f6f4;
  --ink: #231f20;
  --ink-soft: #57524f;
  --grey: #a5a7aa;
  --grey-text: #8b8784;
  --rule: rgba(35, 31, 32, .16);
  --hair: rgba(35, 31, 32, .09);

  --serif: "Crimson Pro", "Minion Pro", Georgia, serif;
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: .18s;
  --t: .35s;
  --t-slow: .7s;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  font-feature-settings: "kern", "liga";
}
button { font: inherit; color: inherit; }
a { color: inherit; }
::selection { background: var(--ink); color: var(--paper); }

/* legenda em maiúsculas espaçadas, como os cabeçalhos a 8 pt do PDF */
.label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--grey-text);
}

/* ícones de linha fina */
.ico {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.ico * { vector-effect: non-scaling-stroke; }

:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

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