/* Base: reset, tipografia e grade */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
	margin: 0;
	font-family: var(--fonte);
	font-size: var(--t-md);
	font-weight: 500;
	line-height: 1.65;
	color: var(--texto);
	background: var(--branco);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
	margin: 0 0 0.6em;
	font-weight: 700;
	line-height: 1.15;
	color: var(--preto);
	letter-spacing: -0.01em;
	text-wrap: balance;
}
h1 { font-size: var(--t-3xl); }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-lg); line-height: 1.3; }

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--bronze-escuro); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--preto); }

:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.destaque { color: var(--bronze); }

.container {
	width: 100%;
	max-width: calc(var(--largura) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.secao { padding-block: var(--secao); }
.secao--creme { background: var(--creme); }
.secao--escura { background: var(--preto); color: #D9D9D9; }
.secao--escura h2, .secao--escura h3 { color: var(--branco); }

.rotulo {
	display: inline-block;
	margin-bottom: 1rem;
	font-size: var(--t-xs);
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--bronze-escuro);
}
.secao--escura .rotulo { color: var(--bronze); }

.intro { max-width: 44rem; margin-bottom: clamp(32px, 5vw, 56px); }
.intro p { color: var(--texto-suave); font-size: var(--t-lg); line-height: 1.55; }
.secao--escura .intro p { color: #BDBDBD; }

.pular {
	position: absolute; left: -9999px; top: 0;
	padding: 12px 16px; background: var(--preto); color: var(--branco); z-index: 100;
}
.pular:focus { left: 16px; top: 16px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
