:root {
	color-scheme: dark;
	--void: #08090b;
	--surface: #131418;
	--surface-2: #1b1d22;
	--ink: #f3f2ee;
	--muted: #96979d;
	--accent: #ff3d2c;
	--accent-soft: rgba(255, 61, 44, .14);
	--line: rgba(243, 242, 238, .12);
	--line-soft: rgba(243, 242, 238, .06);
	--display: "Unbounded", sans-serif;
	--body: "Inter", sans-serif;
	--mono: "JetBrains Mono", monospace;
	--ease: cubic-bezier(.16, 1, .3, 1);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--void);
	color: var(--ink);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

body.menu-open {
	overflow: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

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

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

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

/* ---------- shared rhythm ---------- */

.wrap {
	padding-right: 7.4%;
	padding-left: 7.4%;
}

.km {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 22px;
	color: var(--muted);
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: .04em;
}

.km::before {
	width: 30px;
	height: 1px;
	background: var(--accent);
	content: "";
}

.km b {
	color: var(--ink);
	font-weight: 500;
}

h1, h2, h3 {
	margin: 0;
	font-family: var(--display);
	font-weight: 500;
	line-height: 1.04;
	letter-spacing: -.01em;
}

/* ---------- header ---------- */

.site-header {
	position: fixed;
	z-index: 10000;
	top: 0;
	left: 0;
	display: flex;
	width: 100%;
	height: 84px;
	align-items: center;
	justify-content: space-between;
	padding: 0 7.4%;
	background: linear-gradient(to bottom, rgba(8, 9, 11, .9), rgba(8, 9, 11, 0));
	backdrop-filter: blur(2px);
}

.site-header.is-scrolled {
	background: rgba(8, 9, 11, .82);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line-soft);
}

.brand {
	display: inline-flex;
	align-items: center;
}

.brand-logo {
	width: 148px;
	height: auto;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 40px;
	font-size: 14px;
}

.nav-about {
	display: flex;
	align-items: center;
	gap: 14px;
}

.site-nav > a:not(.nav-cta),
.nav-about > a:first-child {
	position: relative;
	color: var(--muted);
	transition: color .2s var(--ease);
}

.site-nav > a:not(.nav-cta)::after,
.nav-about > a:first-child::after {
	position: absolute;
	right: 0;
	bottom: -6px;
	left: 0;
	height: 1px;
	background: var(--accent);
	content: "";
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s var(--ease);
}

.site-nav > a:not(.nav-cta):hover,
.nav-about > a:first-child:hover {
	color: var(--ink);
}

.site-nav > a:not(.nav-cta):hover::after,
.nav-about > a:first-child:hover::after {
	transform: scaleX(1);
}

.instagram-link,
.whatsapp-link {
	display: inline-flex;
	width: 32px;
	height: 32px;
	align-items: center;
	justify-content: center;
	color: var(--muted);
	transition: color .2s var(--ease);
}

.instagram-link:hover,
.whatsapp-link:hover {
	color: var(--accent);
}

.instagram-link svg,
.whatsapp-link svg {
	width: 25px;
	height: 25px;
}

.whatsapp-link svg {
	width: 20px;
	height: 20px;
}

.nav-cta {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 11px 18px;
	border: 1px solid var(--line);
	font-size: 13px;
	transition: border-color .2s var(--ease), background .2s var(--ease);
}

.nav-cta:hover {
	background: var(--accent);
	border-color: var(--accent);
}

.arrow {
	position: relative;
	display: inline-block;
	width: 15px;
	height: 9px;
	flex: 0 0 15px;
}

.arrow::before {
	position: absolute;
	top: 4px;
	left: 0;
	width: 14px;
	border-top: 1px solid currentColor;
	content: "";
}

.arrow::after {
	position: absolute;
	top: 1px;
	right: 1px;
	width: 6px;
	height: 6px;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
	content: "";
	transform: rotate(45deg);
}

.menu-toggle {
	display: none;
}

.hero-image {
	position: absolute;
	z-index: 0;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	opacity: .7;
	object-fit: cover;
	object-position: center;
}

.hero::after {
	position: absolute;
	z-index: 1;
	inset: 0;
	background: linear-gradient(90deg, var(--void) 0%, rgba(8, 9, 11, .92) 32%, rgba(8, 9, 11, .55) 70%, rgba(8, 9, 11, .4) 100%);
	content: "";
	pointer-events: none;
}

/* ---------- hero ---------- */

.hero {
	position: relative;
	display: flex;
	min-height: 100svh;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	padding-top: 84px;
}

.hero-inner {
	position: relative;
	z-index: 2;
	max-width: 980px;
	opacity: 0;
	animation: rise .8s var(--ease) forwards .5s;
}

@keyframes rise {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
	font-size: clamp(42px, 5.2vw, 80px);
	font-weight: 500;
}

.hero-lede {
	max-width: 480px;
	margin: 28px 0 0;
	color: var(--muted);
	font-size: 17px;
	line-height: 1.7;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 28px;
	margin-top: 44px;
}

.btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 16px 26px;
	background: var(--accent);
	color: var(--void);
	font-size: 14px;
	font-weight: 600;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.btn-primary:hover {
	box-shadow: 0 0 0 1px var(--accent), 0 18px 34px -18px var(--accent);
	transform: translateY(-2px);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 13px;
	font-size: 13px;
	font-weight: 600;
}

.text-link .arrow {
	color: var(--accent);
	transition: transform .2s var(--ease);
}

.text-link:hover .arrow {
	transform: translateX(5px);
}

.hero-foot {
	position: absolute;
	z-index: 2;
	right: 7.4%;
	bottom: 30px;
	left: 7.4%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--muted);
	font-family: var(--mono);
	font-size: 11px;
}

.hero-foot .dial {
	color: var(--accent);
}

/* ---------- intro / sobre ---------- */

.intro {
	padding-block: 150px 130px;
	border-top: 1px solid var(--line-soft);
}

.intro-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 70px;
}

.intro h2 {
	font-size: clamp(36px, 4.2vw, 58px);
}

.intro-copy p {
	max-width: 46ch;
	margin: 26px 0 0;
	color: var(--muted);
	font-size: 16px;
	line-height: 1.8;
}

.intro-stats {
	display: flex;
	flex-direction: column;
	gap: 30px;
	padding-top: 8px;
	border-top: 1px solid var(--line);
}

.stat {
	padding-top: 24px;
	border-top: 1px solid var(--line-soft);
}

.stat:first-child {
	border-top: none;
	padding-top: 0;
}

.stat b {
	display: block;
	font-family: var(--mono);
	font-size: 34px;
	font-weight: 500;
	color: var(--ink);
}

.stat span {
	color: var(--muted);
	font-size: 13px;
}

/* ---------- serviços ---------- */

.paths {
	padding: 120px 0 130px;
	background-color: var(--void);
	border-top: 1px solid var(--line-soft);
}

.paths-heading h2 {
	max-width: 16ch;
	font-size: clamp(36px, 4.2vw, 58px);
}

.service-list {
	margin-top: 70px;
	border-top: 1px solid var(--line);
}

.service-row {
	display: grid;
	grid-template-columns: 52px 1.1fr 1.4fr auto;
	align-items: center;
	gap: 40px;
	padding: 34px 0;
	border-bottom: 1px solid var(--line);
	transition: padding-left .3s var(--ease), border-color .3s var(--ease);
}

.service-row:hover {
	padding-left: 14px;
	border-color: rgba(243, 242, 238, .28);
}

.service-row:hover .service-icon {
	color: var(--accent);
}

.service-whatsapp {
	display: inline-flex;
	align-items: center;
	justify-self: end;
	gap: 8px;
	padding: 10px 12px;
	border: 1px solid var(--line);
	color: var(--ink);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}

.service-whatsapp:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--void);
}

.service-whatsapp svg {
	width: 17px;
	height: 17px;
	flex: none;
}

.service-icon {
	width: 30px;
	height: 30px;
	color: var(--muted);
	transition: color .3s var(--ease);
}

.service-icon svg {
	width: 100%;
	height: 100%;
}

.service-row h3 {
	font-size: 21px;
	font-weight: 500;
}

.service-row p {
	max-width: 44ch;
	margin: 0;
	color: var(--muted);
	font-size: 14.5px;
	line-height: 1.7;
}

/* ---------- galeria ---------- */

.gallery-section {
	padding-block: 120px 100px;
	border-top: 1px solid var(--line-soft);
}

.gallery-header {
	margin-bottom: 46px;
}

.gallery-header h2 {
	max-width: 15ch;
	font-size: clamp(32px, 3.8vw, 54px);
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.gallery-item {
	position: relative;
	overflow: hidden;
	min-height: 260px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	text-align: left;
	transition: transform .25s var(--ease), filter .25s var(--ease);
}

.gallery-item:hover {
	transform: translateY(-4px);
	filter: brightness(1.02);
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 1 / 1;
}

.gallery-item.item-large {
	grid-column: span 2;
	grid-row: span 2;
}

.gallery-item.item-large img {
	aspect-ratio: 1.2 / 1;
}

.gallery-item.item-tall {
	grid-row: span 2;
}

.gallery-item.item-tall img {
	aspect-ratio: 0.8 / 1.25;
}

.gallery-item.item-wide {
	grid-column: span 2;
}

.gallery-item.item-wide img {
	aspect-ratio: 1.8 / 1;
}

.gallery-overlay {
	position: absolute;
	inset: auto 0 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 18px 18px;
	background: linear-gradient(180deg, transparent, rgba(8, 9, 11, .9));
	color: var(--ink);
}

.gallery-overlay strong {
	font-family: var(--display);
	font-size: 18px;
	font-weight: 500;
}

.gallery-overlay small {
	color: rgba(243, 242, 238, .82);
	font-size: 12px;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 32px;
	background: rgba(8, 9, 11, .88);
}

.lightbox.is-open {
	display: flex;
}

.lightbox img {
	max-width: min(92vw, 1100px);
	max-height: 76vh;
	object-fit: contain;
	border-radius: 18px;
	box-shadow: 0 28px 80px rgba(0, 0, 0, .45);
}

.lightbox p {
	position: absolute;
	bottom: 26px;
	left: 50%;
	transform: translateX(-50%);
	max-width: min(90vw, 700px);
	padding: 10px 18px;
	border: 1px solid rgba(243, 242, 238, .12);
	background: rgba(19, 20, 24, .94);
	color: var(--ink);
	font-size: 14px;
	text-align: center;
}

.lightbox-close {
	position: absolute;
	top: 22px;
	right: 22px;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	background: rgba(8, 9, 11, .72);
	color: var(--ink);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

body.modal-open {
	overflow: hidden;
}

/* ---------- contato ---------- */

.contact {
	padding-block: 140px 120px;
	border-top: 1px solid var(--line-soft);
}

.contact h2 {
	max-width: 15ch;
	font-size: clamp(38px, 5.4vw, 72px);
}

.contact-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 34px;
	margin-top: 40px;
}

.contact-link {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	padding: 17px 0;
	border-bottom: 1px solid var(--line);
	font-size: 14px;
	font-weight: 600;
}

.contact-link .arrow {
	color: var(--accent);
}

.contact-link:hover .arrow {
	transform: translateX(5px);
}

/* ---------- footer ---------- */

.site-footer {
	display: grid;
	grid-template-columns: 1fr 1.3fr 1fr auto auto;
	align-items: center;
	gap: 20px;
	padding: 30px 7.4%;
	color: var(--muted);
	border-top: 1px solid var(--line-soft);
	font-family: var(--mono);
	font-size: 11px;
}

.footer-brand {
	color: var(--ink);
	font-family: var(--display);
	font-size: 14px;
}

.footer-brand .brand-logo {
	width: 112px;
}

.back-top {
	display: inline-flex;
	align-items: center;
	justify-self: end;
	gap: 10px;
	font-weight: 600;
}

.arrow-up {
	transform: rotate(-45deg);
}

.site-footer small {
	white-space: nowrap;
}

.site-credit {
	justify-self: end;
	color: var(--muted);
	white-space: nowrap;
	transition: color .2s var(--ease);
}

.site-credit:hover {
	color: var(--ink);
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
	.wrap {
		padding-right: 6.5%;
		padding-left: 6.5%;
	}

	.site-header {
		height: 68px;
		padding: 0 6.5%;
	}

	.brand-logo {
		width: 124px;
	}

	.menu-toggle {
		position: relative;
		z-index: 41;
		display: flex;
		width: 40px;
		height: 40px;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 6px;
		border: 1px solid var(--line);
		background: transparent;
		color: var(--ink);
		cursor: pointer;
	}

	.menu-toggle span {
		display: block;
		width: 16px;
		border-top: 1px solid currentColor;
		transition: transform .2s var(--ease);
	}

	.menu-toggle[aria-expanded="true"] span:first-child {
		transform: translateY(3.5px) rotate(45deg);
	}

	.menu-toggle[aria-expanded="true"] span:last-child {
		transform: translateY(-3.5px) rotate(-45deg);
	}

	.site-nav {
		position: fixed;
		inset: 0;
		z-index: 100000;
		display: none;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: 100px 6.5% 40px;
		background: rgba(8, 9, 11, 1);
		border-left: 1px solid rgba(255, 255, 255, .05);
		box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03);
		opacity: 1;
		visibility: visible;
	}

	.menu-toggle {
		z-index: 100001;
	}

	.site-nav.is-open {
		display: flex;
	}

	.site-nav > a:not(.nav-cta) {
		width: 100%;
		padding: 18px 16px;
		border: 1px solid rgba(255, 255, 255, .06);
		background: rgba(255, 255, 255, .02);
		border-radius: 14px;
		color: var(--ink);
		font-size: 20px;
		font-weight: 600;
		letter-spacing: -.02em;
	}

	.site-nav > a:not(.nav-cta):hover {
		border-color: rgba(255, 61, 44, .3);
		background: rgba(255, 61, 44, .08);
	}

	.nav-about {
		display: flex;
		width: 100%;
		gap: 12px;
		padding: 10px 0 14px;
		border-bottom: 1px solid rgba(255, 255, 255, .08);
	}

	.nav-about > a:first-child {
		padding: 18px 16px;
		border: 1px solid rgba(255, 255, 255, .06);
		background: rgba(255, 255, 255, .02);
		border-radius: 14px;
		font-size: 20px;
		color: var(--ink);
	}

	.instagram-link,
	.whatsapp-link {
		width: 52px;
		height: 52px;
		padding: 0;
		border: 1px solid rgba(255, 255, 255, .06);
		border-radius: 14px;
		background: rgba(255, 255, 255, .02);
	}

	.instagram-link:hover,
	.whatsapp-link:hover {
		background: rgba(255, 61, 44, .08);
		border-color: rgba(255, 61, 44, .3);
	}

	.nav-cta {
		display: inline-flex;
		width: 100%;
		justify-content: center;
		margin-top: 22px;
		padding: 16px 20px;
		border: 1px solid rgba(255, 61, 44, .34);
		background: linear-gradient(135deg, rgba(255, 61, 44, .9), rgba(255, 114, 73, .9));
		color: var(--void);
		font-weight: 700;
		box-shadow: 0 14px 28px rgba(255, 61, 44, .18);
	}

	.hero-lede {
		max-width: 100%;
	}

	.hero-foot {
		flex-wrap: wrap;
		gap: 10px;
	}

	.hero-image {
		width: 100%;
		top: 0;
		height: 100%;
		opacity: .58;
		transform: none;
		object-fit: cover;
		object-position: center;
	}

	.hero::after {
		background: linear-gradient(90deg, rgba(8, 9, 11, .9), rgba(8, 9, 11, .55)), linear-gradient(0deg, var(--void), transparent 50%);
	}

	.intro,
	.paths,
	.contact {
		padding-top: 90px;
		padding-bottom: 90px;
	}

	.intro-grid {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.intro-stats {
		flex-direction: row;
		border-top: none;
		gap: 20px;
	}

	.stat {
		flex: 1;
		padding-top: 20px;
		border-top: 1px solid var(--line);
	}

	.stat b {
		font-size: 26px;
	}

	.gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gallery-item.item-large,
	.gallery-item.item-wide {
		grid-column: span 2;
	}

	.service-list {
		margin-top: 50px;
	}

	.service-row {
		grid-template-columns: 40px 1fr;
		row-gap: 12px;
	}

	.service-row p {
		grid-column: 2;
	}

	.service-whatsapp {
		grid-column: 2;
		justify-self: start;
	}

	.contact-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-footer {
		grid-template-columns: 1fr 1fr;
		row-gap: 16px;
		padding: 28px 6.5%;
	}

	.footer-brand {
		order: 1;
	}

	.back-top {
		order: 2;
	}

	.site-footer > span {
		order: 3;
		grid-column: 1 / -1;
	}

	.site-footer small {
		order: 4;
		grid-column: 1 / -1;
	}

	.site-credit {
		order: 5;
		grid-column: 1 / -1;
	}
}

@media (max-width: 420px) {
	.hero h1 {
		font-size: clamp(30px, 8.5vw, 36px);
	}

	.gallery-grid {
		grid-template-columns: 1fr;
	}

	.gallery-item.item-large,
	.gallery-item.item-tall,
	.gallery-item.item-wide {
		grid-column: auto;
		grid-row: auto;
	}

	.service-row {
		grid-template-columns: 40px minmax(0, 1fr);
	}

	.service-whatsapp {
		grid-column: 2;
	}

	.service-icon {
		width: 26px;
		height: 26px;
	}
}

@media (max-width: 860px) and (max-height: 700px) {
	.hero-foot {
		position: relative;
		right: auto;
		bottom: auto;
		left: auto;
		margin: 36px 6.5% 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}

	.hero-inner {
		opacity: 1;
		transform: none;
	}
}
