/**
 * LetraS Comunicação Visual - site público.
 * Tema "letreiro noturno": fundo grafite, letras grandes como letra-caixa
 * e as cinco faixas do site original (azul, verde, amarelo, laranja,
 * vermelho) em cores chapadas.
 * @author Sandro Jordão.
 */

/* ---------------------------------------------------------------- Fontes */

@font-face {
	font-family: 'Big Shoulders Display';
	src: url('../fontes/bigshoulders-normal.woff2') format('woff2');
	font-weight: 500 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Archivo';
	src: url('../fontes/archivo-normal.woff2') format('woff2');
	font-weight: 400 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Archivo';
	src: url('../fontes/archivo-italic.woff2') format('woff2');
	font-weight: 400 600;
	font-style: italic;
	font-display: swap;
}

/* ---------------------------------------------------------------- Tokens */

:root {
	/* Grafite (fundos e superfícies) */
	--bg: #121215;
	--bg-2: #17171b;
	--surface: #1e1e23;
	--surface-2: #27272e;
	--line: #34343c;

	/* Texto */
	--text: #eeebe6;
	--muted: #a7a4ae;
	--dim: #7a7782;

	/* Marca: o laranja do "S" e as cinco faixas */
	--orange: #e67b23;
	--orange-hi: #f39545;
	--c-orange: #e67b23;
	--c-blue: #5f86d8;
	--c-green: #69bf4a;
	--c-yellow: #f2c230;
	--c-red: #e0464b;

	--ink: #141417; /* texto sobre botões claros/laranja */

	--font-display: 'Big Shoulders Display', Impact, 'Arial Narrow', sans-serif;
	--font-text: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

	--radius: 6px;
	--radius-lg: 12px;
	--shadow: 0 24px 48px -24px rgba(0, 0, 0, .7);
	--header-h: 72px;
	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
}

/* ---------------------------------------------------------------- Base */

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 1rem/1.65 var(--font-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

a { color: var(--orange-hi); text-underline-offset: .2em; }
a:hover { color: var(--text); }

:focus-visible {
	outline: 3px solid var(--c-yellow);
	outline-offset: 3px;
	border-radius: 2px;
}

main:focus { outline: none; }

::selection { background: var(--orange); color: var(--ink); }

.icone {
	width: 1.25em;
	height: 1.25em;
	flex: none;
}

.container {
	width: min(100% - 2 * var(--gutter), var(--container));
	margin-inline: auto;
}

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

.skip-link {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--orange);
	color: var(--ink);
	font-weight: 700;
	border-radius: var(--radius);
	transition: top .2s;
}

.skip-link:focus { top: 12px; }

.rounded { border-radius: var(--radius-lg); }

/* Texto aceso, como letreiro em neon: brilho discreto, só em títulos. */
.neon {
	color: var(--orange-hi);
	text-shadow: 0 0 18px rgba(230, 123, 35, .55), 0 0 2px rgba(255, 190, 130, .6);
}

/* Nome da marca como no logo (sem caixa alta, S laranja). */
.marca { text-transform: none; }
.marca span { color: var(--orange); }

/* As cinco faixas (divisor) */
.faixas {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	height: 6px;
}

.faixas span:nth-child(1) { background: var(--c-blue); }
.faixas span:nth-child(2) { background: var(--c-green); }
.faixas span:nth-child(3) { background: var(--c-yellow); }
.faixas span:nth-child(4) { background: var(--c-orange); }
.faixas span:nth-child(5) { background: var(--c-red); }

/* ---------------------------------------------------------------- Botões e links */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	padding: .8em 1.35em;
	border: 2px solid transparent;
	border-radius: var(--radius);
	font: 700 1rem/1.2 var(--font-text);
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}

.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }

.btn--lg { padding: .95em 1.6em; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange:hover { background: var(--orange-hi); color: var(--ink); }

.btn--ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--orange); color: var(--text); }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .4em;
	font-weight: 700;
	color: var(--orange-hi);
}

.link-arrow .icone { transition: transform .2s; }

/* ---------------------------------------------------------------- Cabeçalho */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	isolation: isolate;
}

/* Fundo desfocado num ::before: um backdrop-filter no próprio cabeçalho
   prenderia o menu fixo do celular dentro dele. */
.site-header::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(18, 18, 21, .86);
	border-bottom: 1px solid var(--line);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	opacity: 1;
	transition: opacity .3s;
}

.site-header--home:not(.is-scrolled)::before { opacity: 0; }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: var(--header-h);
	padding-block: 10px;
}

.site-header__logo { display: block; flex: none; }

.site-header__logo img {
	width: 116px;
	transition: width .35s ease;
}

.site-header--home .site-header__logo img { width: min(250px, 100vw - 2 * var(--gutter) - 64px); }
.site-header.is-scrolled .site-header__logo img { width: 104px; }

.nav-toggle {
	position: relative;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--text);
	cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 22px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform .25s, background-color .25s;
}

.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
	position: fixed;
	inset: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding: calc(var(--header-h) + 32px) var(--gutter) 32px;
	background: var(--bg);
	overflow-y: auto;
	visibility: hidden;
	opacity: 0;
	transition: opacity .25s, visibility .25s;
}

.site-nav.is-open { visibility: visible; opacity: 1; }

.site-nav__list { display: grid; gap: 4px; }

.site-nav__link {
	display: block;
	padding: 10px 0;
	color: var(--text);
	font: 800 2.4rem/1.1 var(--font-display);
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: .01em;
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] { color: var(--orange-hi); }

.site-nav__cta { align-self: flex-start; }

@media (min-width: 1024px) {
	.nav-toggle { display: none; }

	.site-nav {
		position: static;
		flex-direction: row;
		align-items: center;
		gap: 28px;
		padding: 0;
		background: none;
		overflow: visible;
		visibility: visible;
		opacity: 1;
	}

	.site-nav__list { display: flex; gap: 26px; }

	.site-nav__link {
		position: relative;
		padding: 6px 0;
		font: 600 .98rem/1.2 var(--font-text);
		text-transform: none;
		color: var(--muted);
	}

	.site-nav__link::after {
		content: '';
		position: absolute;
		left: 0;
		right: 0;
		bottom: -2px;
		height: 2px;
		background: var(--orange);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform .25s;
	}

	.site-nav__link:hover { color: var(--text); }
	.site-nav__link:hover::after,
	.site-nav__link[aria-current="page"]::after { transform: scaleX(1); }
	.site-nav__link[aria-current="page"] { color: var(--text); }

	.site-header__logo img { width: 132px; }
	.site-header--home .site-header__logo img { width: 190px; }
	.site-header.is-scrolled .site-header__logo img { width: 118px; }
}

/* ---------------------------------------------------------------- Títulos de seção */

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .6em;
	margin-bottom: 14px;
	color: var(--orange-hi);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.eyebrow::before {
	content: '';
	width: 28px;
	height: 2px;
	background: currentColor;
}

.section { padding-block: clamp(56px, 8vw, 110px); }
.section--tight { padding-top: clamp(24px, 4vw, 48px); }

.section--panel {
	background: var(--bg-2);
	border-block: 1px solid var(--line);
}

.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }

.section__head--split {
	display: grid;
	gap: 18px;
	max-width: none;
}

@media (min-width: 900px) {
	.section__head--split { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 48px; }
}

.section__title {
	font: 800 clamp(2.2rem, 1.5rem + 3vw, 3.6rem)/1 var(--font-display);
	text-transform: uppercase;
	letter-spacing: .005em;
}

.section__lead { color: var(--muted); font-size: 1.1rem; }

/* ---------------------------------------------------------------- Hero (home) */

.hero {
	position: relative;
	margin-top: calc(var(--header-h) * -1);
	padding: calc(var(--header-h) + clamp(24px, 6vw, 72px)) 0 clamp(56px, 8vw, 100px);
	overflow: hidden;
}

/* Faixas diagonais chapadas (as do cabeçalho do site original), ao fundo. */
.hero__stripes {
	position: absolute;
	top: -10%;
	right: -18%;
	z-index: -1;
	display: grid;
	gap: 18px;
	width: 85%;
	transform: rotate(-24deg);
	opacity: .18;
	pointer-events: none;
}

.hero__stripes span { display: block; height: 26px; border-radius: 2px; }
.hero__stripes span:nth-child(1) { background: var(--c-blue); width: 70%; margin-left: 30%; }
.hero__stripes span:nth-child(2) { background: var(--c-green); width: 85%; margin-left: 15%; }
.hero__stripes span:nth-child(3) { background: var(--c-yellow); }
.hero__stripes span:nth-child(4) { background: var(--c-orange); width: 90%; margin-left: 4%; }
.hero__stripes span:nth-child(5) { background: var(--c-red); width: 60%; margin-left: 22%; }

.hero__grid {
	position: relative;
	display: grid;
	gap: clamp(36px, 6vw, 64px);
	align-items: center;
}

.hero__title {
	font: 900 clamp(3.3rem, 1.6rem + 7.4vw, 7rem)/.88 var(--font-display);
	text-transform: uppercase;
	letter-spacing: -.005em;
}

.hero__title .neon { display: inline-block; }

.hero__lead {
	max-width: 520px;
	margin-top: 22px;
	color: var(--muted);
	font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.hero__media { position: relative; }

/* Moldura de placa: foto com a barra das cinco faixas embaixo. */
.hero__frame {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--surface);
	box-shadow: var(--shadow), 0 0 0 1px var(--line);
}

.hero__frame::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 6px;
	background: linear-gradient(90deg,
		var(--c-blue) 0 20%, var(--c-green) 20% 40%, var(--c-yellow) 40% 60%,
		var(--c-orange) 60% 80%, var(--c-red) 80% 100%);
}

.hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity .9s ease;
}

.hero__slide.is-active { opacity: 1; }

.hero__slide img,
.hero__slide a { display: block; width: 100%; height: 100%; }
.hero__slide img { object-fit: cover; }

.hero__caption {
	position: absolute;
	left: 16px;
	top: 16px;
	padding: 6px 12px;
	background: rgba(18, 18, 21, .82);
	border-radius: var(--radius);
	font-size: .85rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.hero__dots {
	position: absolute;
	right: 14px;
	bottom: 22px;
	display: flex;
	gap: 6px;
}

.hero__dot {
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.hero__dot::before {
	content: '';
	display: block;
	width: 10px;
	height: 10px;
	margin: auto;
	border-radius: 50%;
	background: rgba(238, 235, 230, .45);
	transition: background-color .2s, transform .2s;
}

.hero__dot.is-active::before { background: var(--orange); transform: scale(1.25); }

@media (min-width: 960px) {
	.hero__grid { grid-template-columns: 1.05fr 1fr; }
	.hero { min-height: min(820px, 100vh); display: grid; align-items: center; }
}

/* ---------------------------------------------------------------- Faixa de diferenciais */

.ticker {
	border-block: 1px solid var(--line);
	background: var(--bg-2);
}

.ticker__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 32px;
	padding-block: 20px;
}

.ticker__list li {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--muted);
	font: 700 1.15rem/1 var(--font-display);
	letter-spacing: .08em;
	text-transform: uppercase;
}

.ticker__list li:nth-child(1) .icone { color: var(--c-blue); }
.ticker__list li:nth-child(2) .icone { color: var(--c-green); }
.ticker__list li:nth-child(3) .icone { color: var(--c-yellow); }
.ticker__list li:nth-child(4) .icone { color: var(--c-orange); }
.ticker__list li:nth-child(5) .icone { color: var(--c-red); }

@media (min-width: 1100px) { .ticker__list { justify-content: space-between; } }

/* ---------------------------------------------------------------- Cards de serviço */

.services {
	display: grid;
	gap: 18px;
}

@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
	.services { grid-template-columns: repeat(6, 1fr); }
	.services > li { grid-column: span 2; }
	.services > li:nth-child(4) { grid-column: 2 / span 2; }
}

.service-card { --accent: var(--c-orange); }
.service-card--blue { --accent: var(--c-blue); }
.service-card--green { --accent: var(--c-green); }
.service-card--yellow { --accent: var(--c-yellow); }
.service-card--red { --accent: var(--c-red); }

.service-card__link {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: 0 0 0 1px var(--line);
	color: var(--text);
	text-decoration: none;
	overflow: hidden;
	transition: box-shadow .25s, transform .25s;
}

.service-card__link::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1;
	height: 4px;
	background: var(--accent);
}

.service-card__link:hover {
	color: var(--text);
	transform: translateY(-3px);
	box-shadow: 0 0 0 1px var(--accent), 0 18px 40px -20px var(--accent);
}

.service-card__link:hover .link-arrow .icone { transform: translateX(4px); }

.service-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card__link:hover .service-card__media img { transform: scale(1.04); }

.service-card__icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin: -26px 0 0 20px;
	border-radius: var(--radius);
	background: var(--accent);
	color: var(--ink);
	font-size: 1.15rem;
}

.service-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 16px 22px 22px;
}

.service-card__title { font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
.service-card__text { flex: 1; color: var(--muted); }
.service-card .link-arrow { color: var(--accent); margin-top: 6px; }

/* ---------------------------------------------------------------- Etapas */

.steps {
	display: grid;
	gap: 18px;
	counter-reset: step;
}

@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
	padding: 26px;
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: 0 0 0 1px var(--line);
}

.step__number {
	display: block;
	margin-bottom: 14px;
	color: var(--orange-hi);
	font: 900 3.2rem/1 var(--font-display);
}

.step:nth-child(2) .step__number { color: var(--c-blue); }
.step:nth-child(3) .step__number { color: var(--c-green); }
.step:nth-child(4) .step__number { color: var(--c-yellow); }

.step__title { margin-bottom: 8px; font-size: 1.2rem; font-weight: 800; }
.step p { color: var(--muted); }

/* ---------------------------------------------------------------- Duas colunas */

.split {
	display: grid;
	gap: clamp(32px, 6vw, 72px);
}

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

@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }

.split__media img { width: 100%; box-shadow: var(--shadow); }

.prose { display: grid; gap: 18px; align-content: start; font-size: 1.08rem; color: var(--muted); }
.prose .section__title { color: var(--text); }
.prose .eyebrow { margin-bottom: -4px; }

.prose__lead {
	color: var(--text);
	font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
	font-weight: 600;
	line-height: 1.4;
}

/* ---------------------------------------------------------------- Missão e visão */

.values { display: grid; gap: 18px; }
@media (min-width: 800px) { .values { grid-template-columns: 1fr 1fr; } }

.value-card {
	--accent: var(--c-orange);
	padding: clamp(24px, 4vw, 40px);
	border-left: 4px solid var(--accent);
	border-radius: var(--radius-lg);
	background: var(--surface);
}

.value-card--blue { --accent: var(--c-blue); }

.value-card__icon { display: inline-flex; margin-bottom: 14px; color: var(--accent); font-size: 1.6rem; }

.value-card__title {
	margin-bottom: 10px;
	font: 800 2.2rem/1 var(--font-display);
	text-transform: uppercase;
}

.value-card p { color: var(--muted); }

/* ---------------------------------------------------------------- Chamada final */

.cta__box {
	position: relative;
	display: grid;
	gap: 28px;
	padding: clamp(32px, 6vw, 64px);
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: 0 0 0 1px var(--line);
	overflow: hidden;
}

.cta__box::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 6px;
	background: linear-gradient(180deg,
		var(--c-blue) 0 20%, var(--c-green) 20% 40%, var(--c-yellow) 40% 60%,
		var(--c-orange) 60% 80%, var(--c-red) 80% 100%);
}

.cta__title {
	max-width: 760px;
	font: 800 clamp(2rem, 1.4rem + 2.6vw, 3.2rem)/1.02 var(--font-display);
	text-transform: uppercase;
}

.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (min-width: 1000px) {
	.cta__box { grid-template-columns: 1fr auto; align-items: center; }
	.cta__actions { flex-direction: column; }
}

/* ---------------------------------------------------------------- Páginas internas */

.page-head {
	--accent: var(--orange);
	position: relative;
	padding: clamp(40px, 7vw, 88px) 0 clamp(28px, 4vw, 48px);
	overflow: hidden;
}

.page-head--blue { --accent: var(--c-blue); }
.page-head--green { --accent: var(--c-green); }
.page-head--yellow { --accent: var(--c-yellow); }
.page-head--red { --accent: var(--c-red); }

.page-head::after {
	content: '';
	position: absolute;
	top: 30%;
	right: -10%;
	z-index: -1;
	width: 55%;
	height: 22px;
	background: var(--accent);
	opacity: .16;
	transform: rotate(-24deg);
	box-shadow: 0 44px 0 var(--accent);
}

.page-head .eyebrow { color: var(--accent); }

.page-head__inner { max-width: 860px; }

.page-head__title {
	font: 900 clamp(2.8rem, 1.6rem + 5vw, 5.2rem)/.92 var(--font-display);
	text-transform: uppercase;
}

.page-head__lead {
	max-width: 680px;
	margin-top: 18px;
	color: var(--muted);
	font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem);
}

/* ---------------------------------------------------------------- Serviços */

.tabs {
	display: flex;
	gap: 10px;
	padding-bottom: 6px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}

.tabs__item {
	--accent: var(--c-orange);
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: inset 0 0 0 1px var(--line);
	color: var(--muted);
	font-weight: 700;
	text-decoration: none;
	scroll-snap-align: start;
	transition: color .2s, box-shadow .2s, background-color .2s;
}

.tabs__item--blue { --accent: var(--c-blue); }
.tabs__item--green { --accent: var(--c-green); }
.tabs__item--yellow { --accent: var(--c-yellow); }
.tabs__item--red { --accent: var(--c-red); }

.tabs__item .icone { color: var(--accent); }
.tabs__item:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--accent); }

.tabs__item[aria-current="page"] {
	background: var(--accent);
	color: var(--ink);
	box-shadow: none;
}

.tabs__item[aria-current="page"] .icone { color: var(--ink); }

@media (min-width: 1100px) {
	.tabs { display: grid; grid-template-columns: repeat(5, 1fr); overflow: visible; }
	.tabs__item { justify-content: center; text-align: center; }
}

.service { --accent: var(--c-orange); }
.service--blue { --accent: var(--c-blue); }
.service--green { --accent: var(--c-green); }
.service--yellow { --accent: var(--c-yellow); }
.service--red { --accent: var(--c-red); }

.service__groups { display: grid; gap: 30px; align-content: start; }

.service__group-title {
	margin-bottom: 14px;
	font: 800 1.9rem/1 var(--font-display);
	text-transform: uppercase;
}

.service__group-title::before {
	content: '';
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-right: 10px;
	background: var(--accent);
	vertical-align: .12em;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--surface);
	box-shadow: inset 0 0 0 1px var(--line);
	color: var(--text);
	font-size: .95rem;
}

.gallery { display: grid; gap: 14px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(4, 1fr); } }

.gallery__item a {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--surface);
}

.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery__item a:hover img { transform: scale(1.05); }

.gallery__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 28px 16px 14px;
	background: linear-gradient(transparent, rgba(0, 0, 0, .78));
	color: var(--text);
	font-weight: 600;
}

.empty {
	padding: 32px;
	border: 1px dashed var(--line);
	border-radius: var(--radius-lg);
	color: var(--muted);
	text-align: center;
}

/* ---------------------------------------------------------------- Formulários */

.form-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .form-layout { grid-template-columns: 1.4fr 1fr; gap: 48px; } }

.form-card {
	display: grid;
	gap: 18px;
	padding: clamp(22px, 4vw, 40px);
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: 0 0 0 1px var(--line);
}

.form-card__title { font-size: 1.35rem; font-weight: 800; }

.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) {
	.form-grid { grid-template-columns: 1fr 1fr; }
	.field--full { grid-column: 1 / -1; }
}

.field { position: relative; display: grid; gap: 6px; }

.field__label { font-weight: 700; font-size: .95rem; }
.field__label span { color: var(--orange-hi); }

.field__input {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg);
	color: var(--text);
	font: inherit;
	transition: border-color .2s, box-shadow .2s;
}

.field__input::placeholder { color: var(--dim); }

.field__input:focus {
	outline: none;
	border-color: var(--orange);
	box-shadow: 0 0 0 3px rgba(230, 123, 35, .25);
}

textarea.field__input { resize: none; min-height: 140px; }

.field__error {
	display: none;
	color: #ff8f8f;
	font-size: .88rem;
	font-weight: 600;
}

.field.has-error .field__input { border-color: var(--c-red); }
.field.has-error .field__error { display: block; }

.field__counter {
	justify-self: end;
	color: var(--dim);
	font-size: .8rem;
}

.field__counter.is-near { color: var(--c-yellow); }

/* Select customizado (init_select() em www/js/tools.js) */
select.custom-select-source { display: none !important; }

.custom-select-wrapper { position: relative; width: 100%; }

.custom-select-wrapper .custom-select-input {
	display: block;
	padding-right: 40px;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: pointer;
}

.custom-select-wrapper.with-arrow::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 16px;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--muted);
	border-bottom: 2px solid var(--muted);
	pointer-events: none;
	transform: translateY(-70%) rotate(45deg);
	transition: transform .15s;
}

.custom-select-wrapper.with-arrow.open::after { transform: translateY(-30%) rotate(-135deg); }

.custom-select-wrapper.open .custom-select-input {
	border-color: var(--orange);
	box-shadow: 0 0 0 3px rgba(230, 123, 35, .25);
	cursor: text;
}

.custom-select-wrapper.disabled .custom-select-input {
	background: var(--surface-2);
	color: var(--dim);
	cursor: not-allowed;
}

.custom-select-dropdown {
	position: fixed;
	z-index: 10000;
	display: none;
	max-height: 260px;
	padding: 4px;
	overflow-y: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface-2);
	box-shadow: var(--shadow);
}

.custom-select-item {
	padding: 9px 12px;
	border-radius: 4px;
	color: var(--text);
	line-height: 1.3;
	cursor: pointer;
}

.custom-select-item:hover,
.custom-select-item.active { background: var(--line); }

.custom-select-item.selected { background: rgba(230, 123, 35, .18); color: var(--orange-hi); font-weight: 700; }

.custom-select-group {
	padding: 10px 12px 4px;
	color: var(--dim);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	cursor: default;
}

.custom-select-empty { padding: 9px 12px; color: var(--dim); font-size: .9rem; }

/* Campo invisível antispam (honeypot). */
.hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.form-card__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-top: 4px;
}

.form-card__status { color: var(--c-yellow); font-weight: 600; min-height: 1.5em; }

/* Upload */
.upload__input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.upload__drop {
	display: grid;
	justify-items: center;
	gap: 6px;
	padding: 26px 18px;
	border: 2px dashed var(--line);
	border-radius: var(--radius-lg);
	background: var(--bg);
	color: var(--muted);
	text-align: center;
	cursor: pointer;
	transition: border-color .2s, background-color .2s;
}

.upload__drop .icone { width: 30px; height: 30px; color: var(--orange-hi); }
.upload__drop strong { color: var(--text); }
.upload__drop:hover,
.upload__drop.is-over { border-color: var(--orange); background: var(--surface-2); }
.upload__input:focus-visible + input + .upload__status,
.upload:focus-within .upload__drop { border-color: var(--orange); }
.upload__hint { font-size: .85rem; color: var(--dim); }

.upload__status {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 6px 12px;
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--bg);
}

.upload__status[hidden] { display: none; }
.upload__status > .icone { color: var(--orange-hi); }
.upload__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }

.upload__bar {
	grid-column: 1 / -1;
	height: 4px;
	border-radius: 2px;
	background: var(--surface-2);
	overflow: hidden;
}

.upload__bar span { display: block; width: 0; height: 100%; background: var(--orange); transition: width .2s; }
.upload.is-done .upload__bar span { background: var(--c-green); }
.upload.is-done .upload__status > .icone { color: var(--c-green); }

.upload__remove {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: var(--radius);
	background: var(--surface-2);
	color: var(--text);
	cursor: pointer;
}

.upload.has-error .upload__drop { border-color: var(--c-red); }
.upload.has-error .field__error { display: block; }

/* Dicas e contato ao lado do formulário */
.tips,
.contact-info { display: grid; gap: 22px; }

.tips__title { font: 800 1.9rem/1 var(--font-display); text-transform: uppercase; }

.tips__list,
.contact-list { display: grid; gap: 16px; }

.tips__list li,
.contact-list li {
	display: flex;
	gap: 14px;
	color: var(--muted);
}

.tips__list li > .icone { margin-top: 3px; color: var(--orange-hi); }
.tips__list strong,
.contact-list strong { display: block; color: var(--text); }

.contact-list__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	flex: none;
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: inset 0 0 0 1px var(--line);
	color: var(--orange-hi);
}

.contact-list a { color: var(--text); }

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

.map {
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: 0 0 0 1px var(--line);
}

/* Mapa em tons escuros, combinando com o site. */
.map iframe {
	display: block;
	width: 100%;
	height: 280px;
	border: 0;
	filter: invert(.92) hue-rotate(180deg) saturate(.6) brightness(.95);
}

/* ---------------------------------------------------------------- 404 */

.notfound__inner { max-width: 640px; text-align: center; margin-inline: auto; }
.notfound__code { font: 900 clamp(7rem, 4rem + 14vw, 12rem)/.9 var(--font-display); color: var(--text); }
.notfound .section__lead { margin-top: 12px; }
.notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* ---------------------------------------------------------------- Diálogo e lightbox */

dialog { color: var(--text); }

.modal {
	width: min(100% - 32px, 440px);
	padding: 0;
	border: 0;
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow), 0 0 0 1px var(--line);
}

.modal::backdrop { background: rgba(0, 0, 0, .7); }

.modal__body { display: grid; justify-items: center; gap: 12px; padding: 32px 28px 28px; text-align: center; }

.modal__icon {
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--c-green);
	color: var(--ink);
	font-size: 1.5rem;
}

.modal--error .modal__icon { background: var(--c-red); }
.modal__title { font: 800 2rem/1 var(--font-display); text-transform: uppercase; }
.modal__text { color: var(--muted); }
.modal .btn { margin-top: 8px; min-width: 120px; }

.lightbox {
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(8, 8, 10, .95);
}

.lightbox::backdrop { background: transparent; }

.lightbox__figure {
	display: grid;
	place-items: center;
	height: calc(100% - 64px);
	padding: 56px 16px 0;
}

.lightbox__img { max-height: 100%; width: auto; border-radius: var(--radius); }

.lightbox__caption {
	display: flex;
	justify-content: center;
	gap: 16px;
	padding: 16px;
	color: var(--muted);
}

.lightbox__counter { color: var(--dim); }

.lightbox__btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--surface-2);
	color: var(--text);
	font-size: 1.2rem;
	cursor: pointer;
}

.lightbox__btn:hover { background: var(--orange); color: var(--ink); }
.lightbox__btn[hidden] { display: none; }
.lightbox__btn--close { top: 12px; right: 12px; }
.lightbox__btn--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------------------------------------------------------------- Rodapé */

.site-footer { background: var(--bg-2); }

.site-footer__grid {
	display: grid;
	gap: 36px;
	padding-block: clamp(48px, 7vw, 80px);
}

@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }

.site-footer__brand img { width: 150px; margin-bottom: 16px; }
.site-footer__brand p { max-width: 300px; color: var(--muted); }

.site-footer__title {
	margin-bottom: 14px;
	color: var(--text);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.site-footer ul { display: grid; gap: 10px; }

.site-footer__nav a { color: var(--muted); text-decoration: none; }
.site-footer__nav a:hover { color: var(--orange-hi); }

.site-footer__contact li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); }
.site-footer__contact .icone { margin-top: 3px; color: var(--orange-hi); }
.site-footer__contact a { color: var(--muted); overflow-wrap: anywhere; }
.site-footer__contact a:hover { color: var(--orange-hi); }

.site-footer__bottom { border-top: 1px solid var(--line); }

.site-footer__bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 24px;
	padding-block: 20px;
	color: var(--dim);
	font-size: .9rem;
}

.site-footer__bar a { color: var(--muted); }
.site-footer__bar a:hover { color: var(--orange-hi); }

.site-footer__note { flex-basis: 100%; }

@media (max-width: 639px) {
	.site-footer__bar { flex-direction: column; }
}

/* ---------------------------------------------------------------- Animação ao rolar */

.js [data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .7s ease, transform .7s ease;
}

.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}

	.js [data-reveal] { opacity: 1; transform: none; }
}
