/**
 * Tipografia global — Poppins e escala do theme.json.
 *
 * Não define layout de páginas, grids ou componentes visuais.
 */

body {
	font-family: var(--font-sans);
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--color-text);
	background-color: var(--color-background);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--color-text);
	margin-block: 1.25em 0.5em;
	letter-spacing: 0;
	text-transform: none;
	overflow-wrap: break-word;
}

h1 {
	font-size: var(--wp--preset--font-size--4-xl, clamp(2.5rem, 2rem + 2.5vw, 4rem));
	font-weight: 700;
	line-height: 1.15;
}

h2 {
	font-size: var(--wp--preset--font-size--3-xl, clamp(1.875rem, 1.6rem + 1.2vw, 2.5rem));
	font-weight: 600;
	line-height: 1.2;
}

h3 {
	font-size: var(--wp--preset--font-size--2-xl, 1.5rem);
	font-weight: 600;
	line-height: 1.25;
}

h4 {
	font-size: var(--wp--preset--font-size--xl, 1.25rem);
	font-weight: 600;
	line-height: 1.3;
}

h5 {
	font-size: var(--wp--preset--font-size--lg, 1.125rem);
	font-weight: 600;
	line-height: 1.35;
}

h6 {
	font-size: var(--wp--preset--font-size--base, 1rem);
	font-weight: 600;
	line-height: 1.4;
}

p {
	margin-block: 0 1em;
}

a {
	color: var(--color-link);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

a:focus-visible,
a:active {
	text-decoration-thickness: 0.12em;
}

@media (hover: hover) and (pointer: fine) {
	a:hover {
		text-decoration-thickness: 0.12em;
	}
}

strong,
b {
	font-weight: 600;
}

small {
	font-size: var(--wp--preset--font-size--sm, 0.875rem);
}

ul,
ol {
	padding-inline-start: 1.5em;
	margin-block: 0 1em;
}

li + li {
	margin-block-start: 0.25em;
}

blockquote {
	margin: 0 0 1em;
	padding-inline-start: 1em;
	border-inline-start: 3px solid var(--color-border);
	font-weight: 400;
}

code,
kbd,
samp,
pre {
	font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
	font-size: 0.9375em;
}

pre {
	overflow-x: auto;
	padding: 1em;
	background-color: var(--color-surface-muted);
}
