/* ==========================================================================
   Provinil — estilos do tema
   1. Base   2. Componentes   3. Cabeçalho   4. Destaque   5. O que fazemos
   6. Números   7. Trabalhos   8. Clientes   9. Contato   10. Rodapé
   11. Conteúdo genérico   12. Responsivo   13. Movimento reduzido
   ========================================================================== */

/* Fontes da marca, hospedadas no próprio site */
@font-face {
	font-family: "Gotham";
	src: url("../fonts/gotham-light.woff") format("woff");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Gotham";
	src: url("../fonts/gotham-black.woff") format("woff");
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

/* 1. Base ---------------------------------------------------------------- */
:root {
	--pv-azul: #29234b;
	--pv-azul-escuro: #15112b;
	--pv-texto: #3d3760;
	--pv-amarelo: #ffb400;
	--pv-fundo: #f6f5f4;
	--pv-branco: #fff;
	--pv-linha: #e4e2ec;
	--pv-lilas: #cfcbe0;
	--pv-largura: 1040px;
	--pv-margem: 32px;
	--pv-corpo: "Gotham", "Montserrat", "Segoe UI", Helvetica, Arial, sans-serif;
	--pv-titulo: "Gotham", "Montserrat", "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--pv-corpo);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.6;
	color: var(--pv-azul);
	background: var(--pv-fundo);
	-webkit-font-smoothing: antialiased;
}

img,
svg {
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: var(--pv-azul);
}

a:hover {
	color: var(--pv-azul-escuro);
}

a:focus-visible,
button:focus-visible {
	outline: 3px solid var(--pv-azul);
	outline-offset: 3px;
}

.pv-escuro a:focus-visible {
	outline-color: var(--pv-amarelo);
}

h1,
h2,
h3,
p,
figure {
	margin: 0;
}

[id] {
	scroll-margin-top: 24px;
}

.screen-reader-text,
.pv-so-leitor {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.pv-pular {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	padding: 12px 18px;
	background: var(--pv-azul);
	color: var(--pv-branco);
	border-radius: 6px;
	font-weight: 900;
	text-decoration: none;
}

.pv-pular:focus {
	top: 16px;
	color: var(--pv-branco);
}

.pv-wrap {
	max-width: calc(var(--pv-largura) + 2 * var(--pv-margem));
	margin: 0 auto;
	padding: 0 var(--pv-margem);
}

.pv-icon {
	flex: none;
	display: block;
}

/* 2. Componentes --------------------------------------------------------- */
.pv-etiqueta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 900;
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pv-etiqueta::before,
.pv-etiqueta::after {
	content: "";
	flex: none;
	width: 28px;
	height: 4px;
	background: var(--pv-amarelo);
}

.pv-etiqueta--grande {
	gap: 12px;
	font-size: 18px;
}

.pv-etiqueta--grande::before,
.pv-etiqueta--grande::after {
	width: 40px;
	height: 5px;
}

.pv-titulo {
	font-family: var(--pv-titulo);
	font-weight: 900;
	font-size: clamp(24px, 2.6vw, 32px);
	line-height: 1.15;
	text-transform: uppercase;
}

.pv-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 52px;
	padding: 0 26px;
	background: var(--pv-amarelo);
	color: var(--pv-azul);
	border-radius: 6px;
	font-weight: 900;
	font-size: 15px;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pv-btn:hover {
	color: var(--pv-azul);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(21, 17, 43, 0.22);
}

.pv-btn--pequeno {
	gap: 10px;
	min-height: 48px;
	padding: 0 20px;
	font-size: 16px;
}

.pv-marca {
	display: inline-flex;
	flex-direction: column;
	gap: 4px;
	text-decoration: none;
}

.pv-marca img,
.pv-marca svg {
	display: block;
	width: 176px;
}

.pv-marca img {
	height: 34px;
}

.pv-marca svg {
	height: 14px;
}

.pv-marca text {
	font-family: var(--pv-corpo);
	font-weight: 300;
	font-size: 10.4px;
	fill: var(--pv-azul);
}

/* 3. Cabeçalho ----------------------------------------------------------- */
.pv-topo {
	background: var(--pv-branco);
	border-bottom: 1px solid var(--pv-linha);
}

.pv-topo .pv-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 16px;
	padding-bottom: 16px;
}

.pv-nav ul {
	display: flex;
	align-items: center;
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pv-nav a {
	display: inline-block;
	padding: 12px 4px;
	font-weight: 300;
	font-size: 16px;
	text-decoration: none;
}

.pv-nav a:hover {
	text-decoration: underline;
	text-underline-offset: 6px;
}

/* 4. Destaque ------------------------------------------------------------ */
.pv-destaque {
	padding: 56px 0 40px;
	overflow: hidden;
}

.pv-destaque__grade {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: 24px;
	align-items: center;
}

.pv-destaque__texto {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
}

.pv-destaque h1 {
	font-family: var(--pv-titulo);
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
}

.pv-destaque h1 span {
	display: block;
}

.pv-h1a {
	margin-bottom: 8px;
	font-size: clamp(17px, 1.7vw, 22px);
	animation: pvSobe 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.pv-h1b {
	font-size: clamp(32px, 3.4vw, 48px);
	animation: pvSobe 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both;
}

.pv-destaque__apoio {
	max-width: 30em;
	font-size: 17px;
	color: var(--pv-texto);
}

.pv-destaque__apoio strong {
	font-weight: 900;
	color: var(--pv-azul);
}

.pv-destaque__acoes {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

.pv-link-seta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	font-weight: 900;
	font-size: 15px;
	text-underline-offset: 6px;
}

.pv-ilustracao {
	position: relative;
}

.pv-ilustracao img {
	display: block;
	width: 100%;
}

.pv-selo {
	position: absolute;
	top: 0;
	right: 0;
	width: clamp(84px, 10vw, 128px);
	height: auto;
	filter: drop-shadow(0 10px 18px rgba(21, 17, 43, 0.28));
	animation: pvSelo 0.9s cubic-bezier(0.2, 0.9, 0.3, 1.3) 0.5s both;
}

.pv-selo__fundo {
	fill: var(--pv-azul);
}

.pv-selo__aro {
	fill: none;
	stroke: var(--pv-amarelo);
	stroke-width: 1.5;
}

.pv-selo__giro {
	transform-origin: 100px 100px;
	animation: pvGira 48s linear infinite;
}

.pv-selo__giro text {
	font-family: var(--pv-corpo);
	font-weight: 300;
	font-size: 13.5px;
	fill: var(--pv-branco);
}

.pv-selo__numero,
.pv-selo__anos {
	font-family: var(--pv-titulo);
	font-weight: 900;
}

.pv-selo__numero {
	font-size: 56px;
	fill: var(--pv-branco);
}

.pv-selo__anos {
	font-size: 15px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	fill: var(--pv-branco);
}

/* 5. O que fazemos ------------------------------------------------------- */
.pv-fazemos {
	padding: 56px 0 20px;
}

.pv-fazemos__cabeca {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 36px;
}

.pv-frase {
	width: 100%;
}

.pv-frase svg {
	display: none;
	width: 100%;
	height: auto;
}

.pv-frase text {
	font-family: var(--pv-titulo);
	font-weight: 900;
	font-size: 23px;
	fill: var(--pv-azul);
}

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

.pv-cartao {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 22px 24px 26px;
	overflow: hidden;
	background: var(--pv-branco);
	border: 1px solid var(--pv-linha);
	border-radius: 12px;
	transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.pv-cartao:hover {
	transform: translateY(-8px);
	border-color: transparent;
	box-shadow: 0 22px 44px rgba(41, 35, 75, 0.16);
}

.pv-cartao__numero {
	position: absolute;
	top: 8px;
	right: 18px;
	font-family: var(--pv-titulo);
	font-weight: 900;
	font-size: 50px;
	line-height: 1;
	color: #f0eff5;
	transition: color 0.3s ease;
}

.pv-cartao:hover .pv-cartao__numero {
	color: var(--pv-amarelo);
}

.pv-cartao__icone {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--pv-amarelo);
	color: var(--pv-azul);
	animation: pvFlutua 4s ease-in-out infinite;
	transition: background 0.3s ease, color 0.3s ease;
}

.pv-cartao:nth-child(2) .pv-cartao__icone {
	animation-delay: 0.6s;
}

.pv-cartao:nth-child(3) .pv-cartao__icone {
	animation-delay: 1.2s;
}

.pv-cartao__icone svg {
	transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.pv-cartao:hover .pv-cartao__icone {
	background: var(--pv-azul);
	color: var(--pv-amarelo);
}

.pv-cartao:hover .pv-cartao__icone svg {
	transform: rotate(-10deg) scale(1.12);
}

.pv-cartao h3 {
	margin-top: 8px;
	font-family: var(--pv-titulo);
	font-weight: 900;
	font-size: 17px;
	line-height: 1.2;
	text-transform: uppercase;
}

.pv-cartao p {
	font-size: 15px;
	line-height: 1.5;
	color: var(--pv-texto);
}

.pv-cartao__linha {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 4px;
	background: var(--pv-amarelo);
	transform: scaleX(0.18);
	transform-origin: left;
	transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.pv-cartao:hover .pv-cartao__linha {
	transform: scaleX(1);
}

/* 7. Trabalhos ----------------------------------------------------------- */
.pv-trabalhos {
	padding: 64px 0 56px;
}

.pv-cabeca-centro {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	max-width: 760px;
	margin: 0 auto 36px;
	text-align: center;
}

.pv-cabeca-centro p {
	color: var(--pv-texto);
}

.pv-mosaico {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 200px;
	grid-auto-flow: dense;
	gap: 12px;
}

.pv-foto {
	overflow: hidden;
	background: var(--pv-linha);
	border-radius: 12px;
}

.pv-foto img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.pv-foto:hover img {
	transform: scale(1.04);
}

.pv-foto--grande {
	grid-column: span 2;
	grid-row: span 2;
}

.pv-foto--alta {
	grid-row: span 2;
}

/* 8. Clientes ------------------------------------------------------------ */
.pv-clientes {
	padding: 8px 0 64px;
}

.pv-clientes .pv-cabeca-centro {
	gap: 14px;
	margin-bottom: 28px;
}

.pv-clientes__frase {
	font-weight: 300;
	font-size: 17px;
	line-height: 1.5;
	color: var(--pv-texto);
}

.pv-clientes__logos {
	display: block;
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
}

/* 9. Contato ------------------------------------------------------------- */
.pv-contato {
	padding: 26px 0;
	background: var(--pv-azul);
	color: var(--pv-branco);
}

.pv-contato__grade {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 40px;
	align-items: center;
}

.pv-contato p {
	max-width: 34em;
	margin-top: 6px;
	font-size: 15px;
	color: var(--pv-lilas);
}

.pv-contato__acoes {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
}

.pv-telefone {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	color: var(--pv-branco);
	font-family: var(--pv-titulo);
	font-weight: 900;
	font-size: 22px;
	text-decoration: none;
}

.pv-telefone:hover {
	color: var(--pv-amarelo);
}

/* 10. Rodapé ------------------------------------------------------------- */
.pv-rodape {
	padding: 28px 0;
	background: var(--pv-branco);
	color: var(--pv-texto);
}

.pv-rodape .pv-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.pv-rodape p {
	font-size: 15px;
}

/* 11. Conteúdo genérico (páginas internas, 404) ---------------------------- */
.pv-conteudo {
	padding: 56px 0 72px;
}

.pv-conteudo article + article {
	margin-top: 48px;
}

.pv-conteudo .pv-titulo {
	margin-bottom: 20px;
}

.pv-conteudo p,
.pv-conteudo ul,
.pv-conteudo ol {
	max-width: 70ch;
	margin: 0 0 1em;
	color: var(--pv-texto);
}

/* Animações -------------------------------------------------------------- */
@keyframes pvSobe {
	from {
		opacity: 0;
		transform: translateY(28px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes pvSelo {
	from {
		opacity: 0;
		transform: scale(0.4) rotate(-40deg);
	}

	to {
		opacity: 1;
		transform: scale(1) rotate(-8deg);
	}
}

@keyframes pvGira {
	to {
		transform: rotate(360deg);
	}
}

@keyframes pvFlutua {
	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-7px);
	}
}

/* Entrada dos títulos ao rolar. Se o navegador não suportar, o conteúdo
   simplesmente aparece parado (nunca fica escondido). */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.pv-revela {
			animation: pvSobe linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 70%;
		}
	}
}

/* 12. Responsivo --------------------------------------------------------- */
@media (min-width: 961px) {
	.pv-frase svg {
		display: block;
	}

	.pv-frase__texto {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}
}

@media (max-width: 960px) {
	.pv-destaque__grade,
	.pv-passos,
	.pv-contato__grade {
		grid-template-columns: minmax(0, 1fr);
	}

	.pv-contato__grade {
		gap: 20px;
	}

	.pv-mosaico {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 190px;
	}
}

@media (max-width: 720px) {
	:root {
		--pv-margem: 16px;
	}

	.pv-nav {
		order: 3;
		width: 100%;
		padding-top: 4px;
		border-top: 1px solid var(--pv-linha);
	}

	.pv-nav ul {
		justify-content: space-between;
		gap: 8px;
	}

	.pv-nav a {
		font-size: 15px;
	}

	.pv-etiqueta--grande {
		font-size: 16px;
	}

	.pv-mosaico {
		grid-auto-rows: 140px;
		gap: 8px;
	}

	.pv-rodape .pv-wrap {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* 13. Movimento reduzido ------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}

	.pv-selo {
		transform: rotate(-8deg);
	}
}

@media print {
	.pv-topo nav,
	.pv-btn,
	.pv-pular {
		display: none;
	}
}
