/* ────────────────────────────────────────────────
   Rational — fontes do produto
   - RationalText  → corpo (UI, parágrafos, inputs)
   - RationalDisplay → títulos grandes / destaques
──────────────────────────────────────────────── */

@font-face {
  font-family: "Rational";
  src: url("/static/fonts/RationalText-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rational";
  src: url("/static/fonts/RationalText-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rational";
  src: url("/static/fonts/RationalText-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rational";
  src: url("/static/fonts/RationalText-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rational";
  src: url("/static/fonts/RationalText-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Display — pesos altos para títulos */
@font-face {
  font-family: "Rational Display";
  src: url("/static/fonts/RationalDisplay-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rational Display";
  src: url("/static/fonts/RationalDisplay-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rational Display";
  src: url("/static/fonts/RationalDisplay-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Aplicação global — sobrescreve Inter onde existir */
:root {
  --font-body: "Rational", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Rational Display", "Rational", "Inter", sans-serif;
}

html, body, button, input, select, textarea {
  font-family: var(--font-body);
}
