/* Tipografia base — espec. §7.3.
 *
 * Plus Jakarta Sans self-hosted (§7.3 revisado — era Sora, trocado
 * porque combina melhor com a paleta coral/petróleo/creme do Sprint
 * 20; Sora tinha uma pegada mais "tech" que não caía bem com a
 * paleta mais quente). Pesos Medium/Bold/ExtraBold (500/700/800) —
 * os mesmos três níveis que a escala de h1-h6 abaixo já usa. Subset
 * latin + latin-ext (cobre os acentos do português), font-display:
 * swap. Inter (corpo) continua pendente de self-host — ver
 * assets/fonts/README.md.
 */
@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/plus-jakarta-sans-500-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/plus-jakarta-sans-500-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/plus-jakarta-sans-700-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/plus-jakarta-sans-700-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("../fonts/plus-jakarta-sans-800-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("../fonts/plus-jakarta-sans-800-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

body {
	font-family: var(--boek-font-body);
	font-size: var(--boek-text-body);
	color: var(--boek-ink);
	background-color: var(--boek-white);
}

/*
 * Escala de peso por nível (§7.3: "Plus Jakarta Sans ExtraBold/Bold/
 * Medium") — antes todo H1-H6 usava peso 700 igual, o que achatava a
 * hierarquia sempre que dois níveis ficavam perto um do outro (H5
 * clamp chega a 1.375rem, quase do tamanho do H4 mínimo de 1.25rem —
 * só o tamanho não bastava pra diferenciar). Peso, line-height e
 * letter-spacing agora reforçam o tamanho em vez de repetir o mesmo
 * tratamento em todo nível.
 *
 * Nota: Inter (corpo) ainda não foi baixada (ver
 * assets/fonts/README.md) — cai no fallback do sistema enquanto isso.
 */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--boek-font-heading);
	text-wrap: balance;
}

h1 {
	font-size: var(--boek-text-h1);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.02em;
}
h2 {
	font-size: var(--boek-text-h2);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.015em;
}
h3 {
	font-size: var(--boek-text-h3);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
}
h4 {
	font-size: var(--boek-text-h4);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.005em;
}
h5 {
	font-size: var(--boek-text-h5);
	font-weight: 600;
	line-height: 1.3;
}
h6 {
	font-size: var(--boek-text-h6);
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0.01em;
}

small {
	font-size: var(--boek-text-small);
}

a {
	color: var(--boek-turquesa-a11y);
}

a:hover {
	text-decoration: none;
}
