/* =========================================================================
   Base — reset, tipografia, container e utilitários globais.
   Componentes ficam em css/components/, seções em css/sections/.
   ========================================================================= */

/* Reset ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: var(--altura-header);
}

body {
	margin: 0;
	background: var(--branco);
	color: var(--texto);
	font-family: var(--fonte-texto);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video, picture { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }

/* Tipografia ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	color: var(--roxo-tinta);
	font-family: var(--fonte-titulo);
	font-weight: 700;
	line-height: 1.15;
	text-wrap: wrap; /* sem balance: as quebras dos títulos ficam iguais às da produção */
}
p { margin: 0 0 1em; }

/* Layout ---------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: var(--largura); /* 1188px = 1140px de conteúdo + gutter */
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* Acessibilidade -------------------------------------------------------- */
.screen-reader-text,
.sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 1000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 10px 16px;
	background: var(--branco);
	color: var(--roxo-tinta);
	border-radius: var(--raio-pill);
	box-shadow: var(--sombra-alt);
}

:focus-visible {
	outline: 3px solid var(--laranja);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}


.site-main { display: block; }

/* Formulários de lead: honeypot e consentimento (inc/forms/formulario.php) */
.befly-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.befly-consentimento { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.4; text-align: left; }
.befly-consentimento input { flex: none; margin-top: 2px; }
.befly-consentimento a { text-decoration: underline; }
