/* ── Self-hosted fonts — geradas localmente, sem dependência de CDN ────────── */

/* ── Inter ──────────────────────────────────────────────────────────────── */
@font-face { font-family:'Inter'; font-style:normal; font-weight:300; font-display:swap; src:url('../fonts/inter/inter-300.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/inter/inter-400.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:500; font-display:swap; src:url('../fonts/inter/inter-500.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/inter/inter-600.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/inter/inter-700.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:800; font-display:swap; src:url('../fonts/inter/inter-800.woff2') format('woff2'); }

/* ── Plus Jakarta Sans ───────────────────────────────────────────────────── */
@font-face { font-family:'Plus Jakarta Sans'; font-style:normal; font-weight:300; font-display:swap; src:url('../fonts/plus-jakarta-sans/plus-jakarta-sans-300.woff2') format('woff2'); }
@font-face { font-family:'Plus Jakarta Sans'; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/plus-jakarta-sans/plus-jakarta-sans-400.woff2') format('woff2'); }
@font-face { font-family:'Plus Jakarta Sans'; font-style:normal; font-weight:500; font-display:swap; src:url('../fonts/plus-jakarta-sans/plus-jakarta-sans-500.woff2') format('woff2'); }
@font-face { font-family:'Plus Jakarta Sans'; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/plus-jakarta-sans/plus-jakarta-sans-600.woff2') format('woff2'); }
@font-face { font-family:'Plus Jakarta Sans'; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/plus-jakarta-sans/plus-jakarta-sans-700.woff2') format('woff2'); }
@font-face { font-family:'Plus Jakarta Sans'; font-style:normal; font-weight:800; font-display:swap; src:url('../fonts/plus-jakarta-sans/plus-jakarta-sans-800.woff2') format('woff2'); }

/* ── Nunito ──────────────────────────────────────────────────────────────── */
@font-face { font-family:'Nunito'; font-style:normal; font-weight:300; font-display:swap; src:url('../fonts/nunito/nunito-300.woff2') format('woff2'); }
@font-face { font-family:'Nunito'; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/nunito/nunito-400.woff2') format('woff2'); }
@font-face { font-family:'Nunito'; font-style:normal; font-weight:500; font-display:swap; src:url('../fonts/nunito/nunito-500.woff2') format('woff2'); }
@font-face { font-family:'Nunito'; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/nunito/nunito-600.woff2') format('woff2'); }
@font-face { font-family:'Nunito'; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/nunito/nunito-700.woff2') format('woff2'); }
@font-face { font-family:'Nunito'; font-style:normal; font-weight:800; font-display:swap; src:url('../fonts/nunito/nunito-800.woff2') format('woff2'); }

/* ── Fonte padrão via data-font no <html> ───────────────────────────────── */
:root {
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
}
html[data-font="inter"] {
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}
html[data-font="plus-jakarta-sans"] {
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
}
html[data-font="nunito"] {
  --font-body: 'Nunito', 'Segoe UI', system-ui, sans-serif;
}
