:root {
	--bg: #101114;
	--text: #f3f0ea;
	--muted: #b4afa6;
	--blue: #2563eb;
	--blue-deep: #1d4ed8;
	--line: rgba(243, 240, 234, 0.14);
	--max: 1120px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	color-scheme: dark;
}

body {
	font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
	background: var(--bg);
	color: var(--text);
	font-size: 17px;
	line-height: 1.6;
}

img {
	max-width: 100%;
	display: block;
}

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

::selection {
	background: var(--blue);
	color: white;
}

.container {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 28px;
}

nav {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
}

#servicos,
#processo,
#contato {
	scroll-margin-top: 76px;
}

.nav {
	height: 76px;
	display: flex;
	align-items: center;
	gap: 28px;
}

.logo img {
	width: 168px;
	height: auto;
}

.menu {
	display: flex;
	gap: 28px;
	margin-left: auto;
}

.menu a {
	color: var(--muted);
	text-decoration: none;
	font-size: 15px;
}

.menu a:hover {
	color: var(--text);
}

.btn {
	display: inline-flex;
	align-items: center;
	padding: 12px 18px;
	background: var(--blue);
	color: white;
	text-decoration: none;
	font-weight: 500;
	font-size: 15px;
	border-radius: 2px;
}

.btn:hover {
	background: var(--blue-deep);
}

.text-link {
	color: var(--text);
	text-decoration: none;
	border-bottom: 1px solid rgba(243, 240, 234, 0.45);
	padding-bottom: 2px;
	font-size: 15px;
}

.text-link:hover {
	border-bottom-color: var(--text);
}

.hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: calc(100vh - 76px);
	padding: 72px 0 36px;
	overflow: hidden;
}

.hero-bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 42%;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(16, 17, 20, 0.88) 0%, rgba(16, 17, 20, 0.62) 46%, rgba(16, 17, 20, 0.28) 100%),
		linear-gradient(180deg, rgba(16, 17, 20, 0.28) 0%, rgba(16, 17, 20, 0.08) 42%, rgba(16, 17, 20, 0.72) 100%);
}

.hero-inner {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 48px;
	width: 100%;
	min-height: calc(100vh - 76px - 108px);
}

.hero-copy {
	max-width: 40rem;
}

.kicker {
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 18px;
}

h1,
h2,
h3 {
	font-family: "IBM Plex Serif", Georgia, serif;
	font-weight: 500;
	letter-spacing: -0.015em;
	line-height: 1.15;
}

.hero h1 {
	font-size: clamp(2.4rem, 4.4vw, 3.45rem);
	margin-bottom: 22px;
}

.lede {
	color: var(--muted);
	max-width: 38rem;
	margin-bottom: 32px;
}

.actions {
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
}

figure img {
	width: 100%;
	object-fit: cover;
}

figcaption {
	margin-top: 10px;
	font-size: 13px;
	color: var(--muted);
}

.services {
	padding: 24px 0 40px;
}

.section-head {
	max-width: 40rem;
	margin-bottom: 12px;
}

.mark {
	display: block;
	width: 36px;
	height: 2px;
	background: var(--blue);
	margin-bottom: 16px;
}

h2 {
	font-size: clamp(1.8rem, 3vw, 2.35rem);
	margin-bottom: 14px;
}

.section-head p,
.section-note,
.close p,
.service p {
	color: var(--muted);
}

.service {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
	gap: 48px;
	align-items: center;
	padding: 48px 0;
	border-top: 1px solid var(--line);
}

.service:nth-child(even) {
	grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
}

.service:nth-child(even) figure {
	order: 2;
}

.service img {
	aspect-ratio: 4 / 3;
}

.service h3 {
	font-size: 1.7rem;
	margin-bottom: 12px;
}

.band {
	margin-top: 28px;
}

.band img {
	width: 100%;
	height: min(48vh, 440px);
	object-fit: cover;
	object-position: center 60%;
}

.band figcaption {
	padding-top: 12px;
}

#processo {
	padding: 72px 0 40px;
}

.split {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 56px;
	align-items: start;
}

.section-note {
	max-width: 28rem;
}

.steps {
	list-style: none;
	counter-reset: step;
}

.steps li {
	counter-increment: step;
	display: grid;
	grid-template-columns: 52px 1fr;
	gap: 8px 16px;
	padding: 20px 0;
	border-top: 1px solid var(--line);
}

.steps li:last-child {
	border-bottom: 1px solid var(--line);
}

.steps li::before {
	content: counter(step, decimal-leading-zero);
	grid-row: span 2;
	font-family: "IBM Plex Serif", Georgia, serif;
	color: var(--muted);
	font-size: 1.05rem;
	padding-top: 2px;
}

.steps strong {
	display: block;
	font-weight: 500;
}

.steps span {
	color: var(--muted);
	font-size: 15px;
}

.close {
	padding: 88px 0;
}

.close .split {
	align-items: center;
}

.close p {
	margin-bottom: 28px;
	max-width: 36rem;
}

.close img {
	aspect-ratio: 4 / 3;
	filter: brightness(0.82);
}

footer {
	border-top: 1px solid var(--line);
	padding: 36px 0 48px;
	color: var(--muted);
	font-size: 15px;
}

.foot {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.foot strong {
	display: block;
	color: var(--text);
	font-weight: 500;
	margin-bottom: 6px;
}

.foot a {
	color: var(--text);
	text-decoration: none;
	border-bottom: 1px solid rgba(243, 240, 234, 0.35);
}

.foot a:hover {
	border-bottom-color: var(--text);
}

.year {
	color: var(--muted);
}

@media (max-width: 860px) {
	.menu {
		display: none;
	}

	.logo img {
		width: 132px;
	}

	.hero {
		min-height: calc(100svh - 76px);
		padding: 36px 0 28px;
	}

	.hero-inner {
		min-height: calc(100svh - 76px - 64px);
		gap: 36px;
	}

	.hero::after {
		background:
			linear-gradient(180deg, rgba(16, 17, 20, 0.55) 0%, rgba(16, 17, 20, 0.72) 38%, rgba(16, 17, 20, 0.55) 100%);
	}

	.service,
	.service:nth-child(even),
	.split,
	.foot {
		grid-template-columns: 1fr;
		display: grid;
	}

	.service,
	.split {
		gap: 28px;
	}

	.service:nth-child(even) figure {
		order: 0;
	}

	.band img {
		aspect-ratio: 16 / 10;
		height: auto;
	}

	.foot {
		align-items: start;
	}

	.close {
		padding: 56px 0;
	}
}
