@charset "utf-8";
/*
 * MCM Soluções e Serviços de Engenharia - site público.
 * Mobile-first. Identidade: cinza-grafite do logo, azul do menu e do rodapé
 * (degradê), verde do botão de orçamento e a textura de engrenagens do topo.
 */

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

/* Archivo: variável em peso e largura - condensada nos títulos (lembra o
   letreiro do slogan antigo) e normal no texto. */
@font-face {
	font-family: 'Archivo';
	font-style: normal;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	src: url("../fontes/v2/archivo-normal.woff2") format('woff2');
}
@font-face {
	font-family: 'Archivo';
	font-style: italic;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	src: url("../fontes/v2/archivo-italic.woff2") format('woff2');
}

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

:root {
	--blue: #1755A0;
	--blue-400: #2B8BE0;
	--blue-700: #11427E;
	--blue-900: #0B2A55;
	--blue-50: #EAF2FB;
	--blue-100: #DCEAF8;
	--green: #5A9E1B;
	--green-700: #3F7A0F;
	--green-50: #EEF6E5;
	--ink: #26313B;
	--graphite: #3A3A3A;
	--muted: #5D6670;
	--steel: #F3F5F7;
	--line: #DDE3EA;
	--white: #FFFFFF;
	--red: #B9272D;

	--font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 24px 48px -28px rgba(11, 42, 85, .45);
	--shadow-sm: 0 10px 24px -16px rgba(11, 42, 85, .4);
	--header-h: 72px;
	--gutter: 16px;

	/* Degradê do rodapé original (azul claro -> azul-marinho). */
	--gradient: linear-gradient(160deg, var(--blue-400) 0%, var(--blue) 45%, var(--blue-900) 100%);
}

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

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

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

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ink);
	background:
		url("../imagem/header-bg.webp") top center / max(1600px, 100%) auto no-repeat,
		var(--steel);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

main { flex: 1 0 auto; }
main:focus { outline: none; }

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

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

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3 {
	font-weight: 700;
	font-stretch: 82%;
	line-height: 1.08;
	letter-spacing: -.01em;
	color: var(--graphite);
	text-wrap: balance;
}

p { text-wrap: pretty; }

em {
	font-style: normal;
	color: var(--blue);
}

strong { font-weight: 700; }

.icon {
	width: 1.15em;
	height: 1.15em;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	vertical-align: -.2em;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus-visible {
	outline: 3px solid var(--blue-400);
	outline-offset: 3px;
	border-radius: 4px;
}

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

.container {
	width: min(1180px, 100% - var(--gutter) * 2);
	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: .6em 1em;
	border-radius: var(--radius-sm);
	background: var(--ink);
	color: var(--white);
	font-weight: 700;
	text-decoration: none;
	transition: top .2s;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------------------------------------------------------------- Botões */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	padding: .8em 1.35em;
	border: 2px solid transparent;
	border-radius: var(--radius-sm);
	font: 700 1rem/1.2 var(--font);
	letter-spacing: .01em;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: transform .2s, box-shadow .2s, background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1em 1.6em; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* Verde do botão "Solicite seu orçamento" do site original. */
.btn--green {
	background: linear-gradient(180deg, #6DB52A, var(--green));
	color: var(--white);
	box-shadow: 0 14px 26px -14px rgba(63, 122, 15, .9);
}
.btn--green:hover { background: var(--green-700); color: var(--white); }

.btn--blue {
	background: linear-gradient(180deg, #2069BE, var(--blue));
	color: var(--white);
	box-shadow: 0 14px 26px -14px rgba(23, 85, 160, .9);
}
.btn--blue:hover { background: var(--blue-700); color: var(--white); }

.btn--outline {
	border-color: var(--blue);
	color: var(--blue);
	background: rgba(255, 255, 255, .7);
}
.btn--outline:hover { background: var(--blue); color: var(--white); }

.btn--white {
	background: var(--white);
	color: var(--blue);
	box-shadow: var(--shadow-sm);
}
.btn--white:hover { color: var(--blue-700); }

.btn--ghost {
	border-color: rgba(255, 255, 255, .7);
	color: var(--white);
}
.btn--ghost:hover { background: var(--white); color: var(--blue); }

.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

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

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	transition: box-shadow .3s;
}
/* Fundo desfocado num pseudo-elemento: backdrop-filter no próprio cabeçalho
   faria o menu do celular (position: fixed) ficar preso dentro dele em vez de
   ocupar a tela inteira. */
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(243, 245, 247, .94);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	opacity: 0;
	transition: opacity .3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(11, 42, 85, .55); }
.site-header.is-scrolled::before { opacity: 1; }

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

.site-header__logo img {
	width: 120px;
	height: auto;
	transition: width .35s ease;
}
.site-header.is-scrolled .site-header__logo img { width: 104px; }

/* Home: logo grande no topo, encolhe ao rolar (.is-scrolled vem do site.js).
   No celular ocupa a largura que sobra ao lado do botão do menu (até o
   tamanho real do arquivo, 286px, para não borrar). */
.site-header--home .site-header__inner { padding-top: 12px; transition: padding .35s ease; }
.site-header--home .site-header__logo img { width: min(286px, 100vw - 32px - 64px); }
.site-header--home.is-scrolled .site-header__inner { padding-top: 0; }
.site-header--home.is-scrolled .site-header__logo img { width: 104px; }

.nav-toggle {
	position: relative;
	z-index: 60;
	display: grid;
	place-items: center;
	width: 48px; height: 48px;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--gradient);
	box-shadow: var(--shadow-sm);
	cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 22px; height: 2.5px;
	border-radius: 2px;
	background: var(--white);
	transition: transform .3s, background-color .3s;
}
.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); }

/* Menu do celular: painel em tela cheia. */
.site-nav {
	position: fixed;
	inset: 0;
	z-index: 55;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 28px;
	padding: calc(var(--header-h) + 16px) 28px 40px;
	background:
		url("../imagem/header-bg.webp") top center / 1600px auto no-repeat,
		var(--steel);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-12px);
	transition: opacity .3s, transform .3s, visibility 0s .3s;
	overflow-y: auto;
}
.site-nav.is-open {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity .3s, transform .3s;
}

.site-nav__list {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.site-nav__link {
	display: inline-block;
	padding: .1em 0;
	font: 700 clamp(1.9rem, 8vw, 2.4rem)/1.2 var(--font);
	font-stretch: 80%;
	text-transform: uppercase;
	color: var(--graphite);
	text-decoration: none;
	transition: color .2s;
}
.site-nav__link:hover,
.site-nav__link[aria-current="page"] { color: var(--blue); }

.site-nav__cta { align-self: flex-start; }
.site-nav__cta[aria-current="page"] { box-shadow: 0 0 0 3px var(--green-50), 0 0 0 5px var(--green); }

body.nav-open { overflow: hidden; }

@media (min-width: 1024px) {
	:root { --header-h: 88px; }

	.site-header__logo img { width: 124px; }
	.site-header.is-scrolled .site-header__logo img,
	.site-header--home.is-scrolled .site-header__logo img { width: 100px; }
	.site-header--home .site-header__logo img { width: clamp(212px, 19vw, 270px); }

	.nav-toggle { display: none; }

	/* Barra azul do menu original, agora em pílula. */
	.site-nav {
		position: static;
		flex-direction: row;
		align-items: center;
		gap: 12px;
		padding: 0;
		background: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		overflow: visible;
	}

	.site-nav__list {
		flex-direction: row;
		gap: 2px;
		padding: 5px;
		border-radius: 14px;
		background: var(--gradient);
		box-shadow: var(--shadow-sm);
	}

	.site-nav__link {
		padding: .5em 1em;
		border-radius: var(--radius-sm);
		font-size: 1rem;
		font-stretch: 90%;
		letter-spacing: .04em;
		color: var(--white);
		transition: background-color .2s, color .2s;
	}
	.site-nav__link:hover { color: var(--white); background: rgba(255, 255, 255, .14); }
	.site-nav__link[aria-current="page"] { color: var(--blue); background: var(--white); }

	.site-nav__cta { align-self: auto; }
}

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

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tight { padding-top: clamp(32px, 5vw, 56px); }
.section--alt { background: var(--white); }

.section__head {
	max-width: 720px;
	margin: 0 auto clamp(32px, 5vw, 48px);
	text-align: center;
}
.section__head--spaced { margin-top: clamp(56px, 8vw, 88px); }

.section__title {
	margin-bottom: 14px;
	font-size: clamp(2rem, 5vw, 3rem);
}

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

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	margin-bottom: 14px;
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--blue);
}
.eyebrow .icon { width: 1.3em; height: 1.3em; }
.eyebrow--light { color: var(--blue-100); }

.checklist { display: grid; gap: 10px; }
.checklist li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}
.checklist .icon {
	width: 22px; height: 22px;
	margin-top: 2px;
	padding: 3px;
	border-radius: 50%;
	background: var(--green-50);
	color: var(--green-700);
	stroke-width: 3;
}

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

.hero { padding: clamp(24px, 4vw, 48px) 0 clamp(56px, 8vw, 96px); }

.hero__inner {
	display: grid;
	gap: 48px;
	align-items: center;
}

.hero__title {
	margin-bottom: 20px;
	font-size: clamp(2.5rem, 7.5vw, 4.4rem);
	font-stretch: 75%;
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1;
}
.hero__title em { display: block; }
.hero__amp {
	display: inline-block;
	color: var(--green);
	font-stretch: 100%;
	font-weight: 600;
}

.hero__lead {
	max-width: 34em;
	margin-bottom: 28px;
	font-size: 1.15rem;
	color: var(--muted);
}

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

.hero__media { position: relative; }

/* Moldura do slider: borda azul do menu antigo e sombra do slider original. */
.hero__slider {
	position: relative;
	aspect-ratio: 4 / 3;
	border: 6px solid var(--white);
	border-radius: 22px;
	overflow: hidden;
	background: var(--blue-900);
	box-shadow: 0 0 0 1px var(--line), var(--shadow);
	/* Camada própria: o recorte arredondado não força redesenhar a foto a cada quadro. */
	isolation: isolate;
	transform: translateZ(0);
}

.hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .9s ease, visibility 0s .9s;
	color: var(--white);
	text-decoration: none;
}
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease; }
/* Zoom lento: a foto fica numa camada da GPU (will-change + 3D), que escala com
   subpixel. Sem isso o navegador redesenha a imagem a cada quadro, arredondando
   para o pixel inteiro, e o movimento "treme". */
.hero__slide img {
	width: 100%; height: 100%;
	object-fit: cover;
	transform: translate3d(0, 0, 0) scale(1.06);
	will-change: transform;
	backface-visibility: hidden;
}
.hero__slide.is-active img { animation: ken-burns 7s cubic-bezier(.25, .1, .25, 1) both; }
@keyframes ken-burns {
	from { transform: translate3d(0, 0, 0) scale(1.06); }
	to { transform: translate3d(0, 0, 0) scale(1); }
}

.hero__caption {
	position: absolute;
	left: 16px; bottom: 16px;
	display: inline-flex;
	align-items: center;
	gap: .5em;
	padding: .55em 1em;
	border-radius: var(--radius-sm);
	background: rgba(11, 42, 85, .82);
	/* Cor fixa: herdada do link, ficaria azul no hover (a:hover) sobre o fundo azul. */
	color: var(--white);
	font-weight: 700;
	font-stretch: 90%;
	letter-spacing: .03em;
	text-transform: uppercase;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}
.hero__slide:hover .hero__caption { background: var(--blue); }

.hero__dots {
	position: absolute;
	right: 16px; top: 16px;
	display: flex;
	gap: 6px;
}
.hero__dot {
	width: 10px; height: 10px;
	padding: 0;
	border: 2px solid var(--white);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: background-color .2s, width .2s;
}
.hero__dot.is-active { width: 26px; border-radius: 6px; background: var(--white); }

/* Selo: engrenagem girando com o nome da empresa. */
.seal {
	position: absolute;
	left: -14px; top: -34px;
	width: clamp(104px, 22vw, 150px);
	filter: drop-shadow(0 12px 18px rgba(11, 42, 85, .35));
}
.seal__spin { transform-origin: 100px 100px; animation: spin 26s linear infinite; }
.seal__gear { fill: var(--blue); }
.seal__text {
	fill: var(--white);
	font: 700 18px var(--font);
	font-stretch: 80%;
	text-anchor: middle;
}
.seal__hub { fill: var(--white); }
.seal__mark { fill: var(--graphite); font: 800 30px var(--font); font-stretch: 75%; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 1024px) {
	/* O slider acompanha a altura do texto (sem sobra embaixo da foto). */
	.hero__inner { grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: stretch; }
	.hero__text { align-self: center; }
	.hero__media { display: flex; }
	.hero__slider { flex: 1; aspect-ratio: auto; min-height: 400px; }
	.seal { left: -64px; top: -56px; }
}

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

.service-grid {
	display: grid;
	gap: 20px;
}
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.service-card__link {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--white);
	color: inherit;
	text-decoration: none;
	box-shadow: var(--shadow-sm);
	transition: transform .25s, box-shadow .25s;
}
.service-card__link:hover { color: inherit; transform: translateY(-6px); box-shadow: var(--shadow); }

.service-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--blue-50);
}
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card__link:hover .service-card__media img { transform: scale(1.06); }

/* Ícone em cinza que fica azul (como os ícones "off/on" do site original). */
.service-card__icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 60px; height: 60px;
	margin: -30px 0 0 20px;
	border: 4px solid var(--white);
	border-radius: 50%;
	background: var(--graphite);
	color: var(--white);
	transition: background-color .25s;
}
.service-card__icon .icon { width: 26px; height: 26px; }
.service-card__link:hover .service-card__icon { background: var(--blue); }

.service-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 8px;
	padding: 12px 22px 22px;
}
.service-card__title {
	font-size: 1.4rem;
	font-weight: 700;
	font-stretch: 82%;
	line-height: 1.15;
	color: var(--graphite);
}
.service-card__text { flex: 1; color: var(--muted); font-size: .98rem; }
.service-card__more {
	display: inline-flex;
	align-items: center;
	gap: .4em;
	margin-top: 6px;
	font-weight: 700;
	color: var(--blue);
}
.service-card__more .icon { transition: transform .2s; }
.service-card__link:hover .service-card__more .icon { transform: translateX(4px); }

/* ---------------------------------------------------------------- Faixa azul (degradê e engrenagens do rodapé original) */

.band {
	position: relative;
	padding: clamp(56px, 8vw, 96px) 0;
	background:
		url("../imagem/footer-gears.webp") right -30px bottom -20px / 300px auto no-repeat,
		url("../imagem/footer-gears.webp") left -60px top -40px / 220px auto no-repeat,
		var(--gradient);
	color: var(--white);
	overflow: hidden;
}

.band__inner { display: grid; gap: 36px; justify-items: start; }
.band__head { max-width: 720px; }
.band__title { margin-bottom: 14px; font-size: clamp(2rem, 5vw, 3rem); color: var(--white); }
.band__lead { color: var(--blue-100); font-size: 1.1rem; }

.benefits {
	display: grid;
	gap: 16px;
	width: 100%;
}
@media (min-width: 640px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefits { grid-template-columns: repeat(4, 1fr); } }

.benefit {
	padding: 24px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, .08);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}
.benefit__icon {
	display: grid;
	place-items: center;
	width: 50px; height: 50px;
	margin-bottom: 16px;
	border-radius: 12px;
	background: var(--white);
	color: var(--blue);
}
.benefit__icon .icon { width: 26px; height: 26px; }
.benefit__title { margin-bottom: 6px; font-size: 1.3rem; color: var(--white); }
.benefit p { color: var(--blue-100); font-size: .98rem; }

/* ---------------------------------------------------------------- Sobre (home e quem somos) */

.about {
	display: grid;
	gap: 40px;
	align-items: center;
}
/* Desktop: a foto acompanha a altura do texto (sem sobra embaixo dela). */
@media (min-width: 960px) {
	.about { grid-template-columns: 1fr 1fr; gap: 64px; align-items: stretch; }
	.about__text { align-self: center; }
	.about__media { display: flex; }
	.about__media img { height: 100%; min-height: 360px; aspect-ratio: auto; }
}

.about__media {
	position: relative;
	border-radius: var(--radius);
}
.about__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
/* Bloco de engrenagens atrás da foto. */
.about__media::before {
	content: "";
	position: absolute;
	inset: 24px -16px -16px 24px;
	z-index: -1;
	border-radius: var(--radius);
	background: url("../imagem/footer-gears.webp") right 10px bottom 10px / 140px auto no-repeat, var(--gradient);
}

.about__text > * + * { margin-top: 18px; }
.about__text > .btn { margin-top: 28px; }
.about__text .section__title { margin-bottom: 0; }

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

.steps {
	display: grid;
	gap: 20px;
	counter-reset: step;
}
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
	position: relative;
	padding: 28px 24px 24px;
	border-radius: var(--radius);
	background: var(--steel);
	counter-increment: step;
}
.step::before {
	content: "0" counter(step);
	position: absolute;
	right: 20px; top: 14px;
	font-size: 2.6rem;
	font-weight: 800;
	font-stretch: 70%;
	line-height: 1;
	color: var(--line);
}
.step__icon {
	display: grid;
	place-items: center;
	width: 52px; height: 52px;
	margin-bottom: 16px;
	border-radius: 50%;
	background: var(--blue);
	color: var(--white);
}
.step__icon .icon { width: 26px; height: 26px; }
.step__title { margin-bottom: 6px; font-size: 1.35rem; }
.step p { color: var(--muted); font-size: .98rem; }

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

.cta { padding: 0 0 clamp(56px, 8vw, 96px); }

.cta__inner {
	display: grid;
	gap: 24px;
	padding: clamp(28px, 5vw, 48px);
	border-radius: 22px;
	background:
		url("../imagem/footer-gears.webp") right -20px top -30px / 220px auto no-repeat,
		var(--gradient);
	color: var(--white);
	box-shadow: var(--shadow);
}
@media (min-width: 960px) { .cta__inner { grid-template-columns: 1fr auto; align-items: center; } }
.cta__title { margin-bottom: 8px; font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--white); }
.cta__text { color: var(--blue-100); max-width: 36em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Na home, depois da seção branca, a chamada ganha respiro. */
.section--alt + .cta { padding-top: clamp(56px, 8vw, 96px); }

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

.page-head { padding: clamp(24px, 4vw, 48px) 0 clamp(16px, 3vw, 24px); }
.page-head__title {
	margin-bottom: 14px;
	font-size: clamp(2.4rem, 7vw, 4rem);
	font-stretch: 75%;
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1;
}
.page-head__lead { max-width: 46em; color: var(--muted); font-size: 1.12rem; }

.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.7rem, 4vw, 2.2rem); }
.prose h3 { margin-top: 1.6em; font-size: 1.45rem; color: var(--blue); }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
	padding: .35em .85em;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--white);
	font-size: .92rem;
	font-weight: 600;
}

.features { display: grid; gap: 14px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.features > div {
	padding: 18px 20px;
	border-left: 4px solid var(--blue);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	background: var(--white);
	box-shadow: var(--shadow-sm);
}
.features dt { margin-bottom: 4px; font-weight: 700; color: var(--graphite); }
.features dd { color: var(--muted); font-size: .97rem; }

.two-lists { display: grid; gap: 10px; }
@media (min-width: 640px) { .two-lists { grid-template-columns: 1fr 1fr; gap: 24px; } }

/* Abas de serviço: ícones cinza, o ativo em azul (como no site original). */
.service-tabs {
	position: relative;
	z-index: 2;
	margin-top: 8px;
}
/* Celular: uma faixa só, rolando na horizontal (em duas linhas, a seta da aba
   ativa de cima apontaria para as abas de baixo). A aba ativa é centralizada
   pelo site.js. */
.service-tabs__list {
	display: flex;
	gap: 8px;
	margin-inline: calc(var(--gutter) * -1);
	padding: 4px var(--gutter) 14px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
}
.service-tabs__list::-webkit-scrollbar { display: none; }
.service-tabs__list li { flex: 0 0 128px; scroll-snap-align: center; }
@media (min-width: 768px) {
	.service-tabs__list {
		display: grid;
		grid-template-columns: repeat(6, 1fr);
		gap: 12px;
		margin-inline: 0;
		padding: 0;
		overflow: visible;
	}
}

.service-tab {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	height: 100%;
	padding: 16px 8px 14px;
	border-radius: var(--radius-sm);
	background: var(--white);
	color: var(--muted);
	font-size: .82rem;
	font-weight: 700;
	font-stretch: 85%;
	line-height: 1.15;
	letter-spacing: .03em;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: var(--shadow-sm);
	transition: color .2s, transform .2s;
}
.service-tab .icon { width: 34px; height: 34px; stroke-width: 1.7; }
.service-tab:hover { color: var(--blue); transform: translateY(-3px); }
.service-tab[aria-current="page"] { color: var(--blue); box-shadow: 0 0 0 2px var(--blue), var(--shadow-sm); }
/* Setinha embaixo do item ativo (o "bg-menu-servico-on" do original). */
.service-tab[aria-current="page"]::after {
	content: "";
	position: absolute;
	left: 50%; bottom: -9px;
	width: 16px; height: 16px;
	background: var(--white);
	border-right: 2px solid var(--blue);
	border-bottom: 2px solid var(--blue);
	transform: translateX(-50%) rotate(45deg);
}

.service-detail {
	display: grid;
	gap: 40px;
	align-items: start;
}
@media (min-width: 1024px) {
	.service-detail { grid-template-columns: 1fr 340px; gap: 56px; }
	.service-detail__aside { position: sticky; top: calc(var(--header-h) + 16px); }
}
.service-detail__main { display: grid; gap: 32px; }
.service-detail__aside { display: grid; gap: 20px; }

/* Galeria do serviço: 3 fotos lado a lado (no celular, a primeira larga). */
.gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}
.gallery__item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
@media (min-width: 640px) {
	.gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; }
	.gallery__item:first-child { grid-column: auto; aspect-ratio: 4 / 3; }
}
.gallery__item {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--blue-50);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__zoom {
	position: absolute;
	right: 10px; bottom: 10px;
	display: grid;
	place-items: center;
	width: 36px; height: 36px;
	border-radius: 50%;
	background: rgba(11, 42, 85, .75);
	color: var(--white);
	opacity: .85;
	transition: opacity .2s, background-color .2s;
}
.gallery__item:hover .gallery__zoom { opacity: 1; background: var(--blue); }

.aside-card {
	padding: 26px;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow-sm);
}
.aside-card__icon {
	display: grid;
	place-items: center;
	width: 52px; height: 52px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--green-50);
	color: var(--green-700);
}
.aside-card__icon .icon { width: 26px; height: 26px; }
.aside-card__title { margin-bottom: 8px; font-size: 1.4rem; }
.aside-card p { margin-bottom: 18px; color: var(--muted); font-size: .97rem; }

.cards-2 { display: grid; gap: 20px; }
@media (min-width: 768px) { .cards-2 { grid-template-columns: 1fr 1fr; gap: 28px; } }

.value-card {
	padding: clamp(24px, 4vw, 36px);
	border-radius: var(--radius);
	background: var(--steel);
}
.value-card__icon {
	display: grid;
	place-items: center;
	width: 56px; height: 56px;
	margin-bottom: 16px;
	border-radius: 50%;
	background: var(--gradient);
	color: var(--white);
}
.value-card__icon .icon { width: 28px; height: 28px; }
.value-card__title { margin-bottom: 10px; font-size: 1.8rem; }
.value-card p { color: var(--muted); font-size: 1.05rem; }

.values {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}
.values li {
	display: inline-flex;
	align-items: center;
	gap: .6em;
	padding: .8em 1.3em;
	border-radius: var(--radius-sm);
	background: var(--steel);
	font-weight: 700;
	color: var(--graphite);
}
.values .icon { color: var(--blue); }

/* Produtos: cards em duas colunas; no desktop largo, a foto fica ao lado do texto. */
.product-grid {
	display: grid;
	gap: 20px;
}
@media (min-width: 768px) { .product-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }

.product-card {
	display: flex;
	flex-direction: column;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--white);
	box-shadow: var(--shadow-sm);
}
.product-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--blue-50);
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card__media:hover img { transform: scale(1.05); }
.product-card__media:hover .gallery__zoom { opacity: 1; background: var(--blue); }
.product-card__body { display: grid; gap: 10px; padding: 20px 22px 24px; align-content: start; }
.product-card__tag {
	justify-self: start;
	padding: .25em .7em;
	border-radius: 999px;
	background: var(--blue-50);
	color: var(--blue);
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.product-card__title { font-size: 1.55rem; }
.product-card__body > p:not(.product-card__tag) { color: var(--muted); }
.product-card .checklist { font-size: .97rem; }

@media (min-width: 1200px) {
	.product-card { flex-direction: row; }
	.product-card__media { flex: 0 0 42%; aspect-ratio: auto; min-height: 240px; }
}

.product-note,
.note-link {
	display: flex;
	gap: 14px;
	align-items: center;
}
.product-note {
	margin-top: 32px;
	padding: 20px 24px;
	border-left: 4px solid var(--blue);
	border-radius: 0 var(--radius) var(--radius) 0;
	background: var(--white);
	box-shadow: var(--shadow-sm);
}
.product-note__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 48px; height: 48px;
	border-radius: 50%;
	background: var(--blue-50);
	color: var(--blue);
}
.note-link { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--blue-50); }
.note-link .icon { color: var(--blue); width: 26px; height: 26px; }

/* ---------------------------------------------------------------- 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 {
	padding: clamp(22px, 4vw, 40px);
	border-top: 5px solid var(--blue);
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow);
}
.form-card__title { margin-bottom: 22px; font-size: 1.6rem; }

.form-grid {
	display: grid;
	gap: 18px;
	margin-bottom: 24px;
}
@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,
.field__label { font-weight: 700; font-size: .95rem; }
.field__opt { font-weight: 400; color: var(--muted); }
.field input,
.field textarea {
	width: 100%;
	padding: .8em 1em;
	border: 2px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--steel);
	color: var(--ink);
	font: 400 1rem/1.4 var(--font);
	transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--blue);
	background: var(--white);
	box-shadow: 0 0 0 4px rgba(23, 85, 160, .18);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--red); }
.field__error {
	display: none;
	font-size: .88rem;
	font-weight: 700;
	color: var(--red);
}
.field.has-error .field__error { display: block; }
.field__counter {
	justify-self: end;
	margin-top: -2px;
	font-size: .8rem;
	color: var(--muted);
}
.field__counter.is-near { color: var(--red); font-weight: 700; }

.hp {
	position: absolute;
	left: -9999px;
	width: 1px; height: 1px;
	opacity: 0;
}

/* Upload: caixa tracejada; o input fica por cima, invisível, para o clique e o arrastar. */
.upload { position: relative; }
.upload__input {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	opacity: 0;
	cursor: pointer;
}
.upload__box {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	column-gap: 14px;
	align-items: center;
	padding: 16px 18px;
	border: 2px dashed var(--line);
	border-radius: var(--radius-sm);
	background: var(--steel);
	transition: border-color .2s, background-color .2s;
}
.upload__icon {
	grid-row: span 2;
	display: grid;
	place-items: center;
	width: 46px; height: 46px;
	border-radius: 50%;
	background: var(--blue-100);
	color: var(--blue);
}
.upload__text { font-weight: 700; overflow-wrap: anywhere; padding-right: 36px; }
.upload__hint { font-size: .88rem; color: var(--muted); }
.upload:hover .upload__box,
.upload__input:focus-visible + .upload__box { border-color: var(--blue); background: var(--white); }
.upload__input:focus-visible + .upload__box { box-shadow: 0 0 0 4px rgba(23, 85, 160, .18); }
.upload.is-loading .upload__icon { animation: pulse 1s ease-in-out infinite; }
.upload.is-done .upload__box { border-style: solid; border-color: var(--green); background: var(--green-50); }
.upload.is-done .upload__icon { background: var(--green); color: var(--white); }
.upload__remove {
	position: absolute;
	right: 12px; top: 50%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 34px; height: 34px;
	border: 0;
	border-radius: 50%;
	background: var(--white);
	color: var(--muted);
	box-shadow: var(--shadow-sm);
	cursor: pointer;
	transform: translateY(-50%);
}
.upload__remove:hover { color: var(--red); }
.upload__remove[hidden] { display: none; }
@keyframes pulse { 50% { transform: scale(.88); opacity: .6; } }

.form-card__status {
	margin-top: 14px;
	font-weight: 700;
	text-align: center;
	color: var(--red);
}
.form-card__status:empty { display: none; }

.contact-list { display: grid; gap: 14px; }
.contact-item {
	display: flex;
	gap: 16px;
	align-items: center;
	padding: 18px 20px;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow-sm);
}
.contact-item__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 52px; height: 52px;
	border-radius: 12px;
	background: var(--blue-50);
	color: var(--blue);
}
.contact-item__icon .icon { width: 24px; height: 24px; }
.contact-item__label {
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--blue);
}
.contact-item p:not(.contact-item__label) { font-weight: 700; overflow-wrap: anywhere; }
.contact-item a { color: var(--ink); text-decoration: none; }
.contact-item a:hover { color: var(--blue); text-decoration: underline; }

.team {
	padding: 22px 20px;
	border-radius: var(--radius);
	background: var(--gradient);
	color: var(--white);
}
.team__title { margin-bottom: 12px; font-weight: 700; font-stretch: 85%; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .04em; }
.team ul { display: grid; gap: 10px; }
.team__item {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0 12px;
	padding: 10px 0;
	border-top: 1px solid rgba(255, 255, 255, .2);
}
.team__name { font-weight: 700; }
.team__role { grid-row: 2; font-size: .86rem; color: var(--blue-100); }
.team__item a {
	grid-row: span 2;
	align-self: center;
	display: inline-flex;
	align-items: center;
	gap: .4em;
	color: var(--white);
	font-weight: 700;
	white-space: nowrap;
	text-decoration: none;
}
.team__item a:hover { text-decoration: underline; }

.tips { display: grid; gap: 16px; }
.tips__img { width: 150px; margin-bottom: 4px; }
.tips__title { font-size: 1.7rem; }
.tips .checklist { color: var(--muted); }
.tips__phone { font-weight: 700; }
.tips__phone a { display: inline-flex; align-items: center; gap: .3em; white-space: nowrap; }

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

.site-footer {
	margin-top: auto;
	background:
		url("../imagem/footer-gears.webp") right 4% top 40px / 220px auto no-repeat,
		var(--gradient);
	color: var(--blue-100);
	border-top: 4px solid var(--blue-400);
}

.site-footer__grid {
	display: grid;
	gap: 32px;
	padding: 56px 0 40px;
}
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.2fr .8fr 1fr 1.1fr; gap: 40px; } }

.site-footer__brand img { width: 186px; margin-bottom: 14px; }
.site-footer__brand p { max-width: 22em; }

.site-footer__title {
	margin-bottom: 12px;
	font-size: .85rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--white);
}
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.site-footer__contact li { display: flex; gap: 10px; align-items: center; overflow-wrap: anywhere; }

.site-footer__bottom {
	padding: 18px 0 22px;
	background: rgba(4, 22, 48, .45);
	font-size: .9rem;
}
.site-footer__bottom .container { display: grid; gap: 4px; }
@media (min-width: 1024px) {
	.site-footer__bottom .container { grid-template-columns: auto 1fr; gap: 24px; }
	.site-footer__note { text-align: right; }
}
.site-footer__note a { text-decoration: underline; }

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

.not-found__inner { display: grid; justify-items: center; gap: 12px; text-align: center; }
.not-found__code {
	display: flex;
	align-items: center;
	font-size: clamp(5rem, 18vw, 9rem);
	font-weight: 800;
	font-stretch: 70%;
	line-height: 1;
	color: var(--blue);
}
.not-found__code .icon { width: .85em; height: .85em; stroke-width: 1.6; animation: spin 10s linear infinite; }
.not-found__inner .hero__actions { justify-content: center; margin-top: 12px; }

/* ---------------------------------------------------------------- Lightbox e diálogo */

.lightbox {
	width: 100%; height: 100%;
	max-width: none; max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(8, 24, 48, .95);
	color: var(--white);
}
.lightbox::backdrop { background: rgba(8, 24, 48, .7); }
.lightbox[open] { display: grid; place-items: center; }

.lightbox__figure {
	display: grid;
	place-items: center;
	gap: 12px;
	width: 100%; height: 100%;
	padding: 64px 16px 24px;
}
.lightbox__img {
	max-width: min(100%, 1100px);
	max-height: calc(100vh - 160px);
	width: auto; height: auto;
	border-radius: var(--radius-sm);
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
	animation: zoom-in .3s ease;
}
.lightbox__caption { font-weight: 600; text-align: center; }
.lightbox__counter { display: block; font-size: .8rem; letter-spacing: .12em; opacity: .7; }

.lightbox__btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 52px; height: 52px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .14);
	color: var(--white);
	font: 700 2rem/1 var(--font);
	cursor: pointer;
	transition: background-color .2s;
}
.lightbox__btn:hover { background: var(--blue); }
.lightbox__btn .icon { width: 24px; height: 24px; }
.lightbox__btn--close { top: 14px; right: 14px; }
.lightbox__btn--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__btn[hidden] { display: none; }
@media (max-width: 639px) {
	.lightbox__btn--prev,
	.lightbox__btn--next { top: auto; bottom: 18px; transform: none; }
}

@keyframes zoom-in { from { opacity: 0; transform: scale(.96); } }

.modal {
	width: min(440px, 100% - 32px);
	padding: 0;
	border: 0;
	border-radius: var(--radius);
	background: var(--white);
	color: var(--ink);
	text-align: center;
	box-shadow: 0 40px 80px -30px rgba(11, 42, 85, .6);
}
.modal::backdrop { background: rgba(11, 42, 85, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal[open] { animation: zoom-in .3s ease; }
.modal__body { padding: 40px 28px 28px; border-top: 5px solid var(--green); border-radius: var(--radius); }
.modal--error .modal__body { border-top-color: var(--red); }
.modal__icon {
	display: grid;
	place-items: center;
	width: 72px; height: 72px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: var(--green);
	color: var(--white);
}
.modal__icon .icon { width: 36px; height: 36px; stroke-width: 3; }
.modal--error .modal__icon { background: var(--red); }
.modal__title { margin-bottom: 10px; font-size: 1.8rem; }
.modal__text { margin-bottom: 24px; color: var(--muted); }

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

.js [data-reveal] {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .8s ease, transform .8s 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;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
	.js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
	.site-header, .band, .cta, .service-tabs, .site-footer__nav, .seal { display: none; }
	body { background: none; }
}
