/* ==========================================================================
   ARC MÍDIA — folha de estilos
   Edite as cores e fontes aqui em cima: tudo no site usa estas variáveis.
   ========================================================================== */

:root {
	/* Cores da marca */
	--roxo: #770BC5;
	--roxo-escuro: #7B12C6;
	--coral: #F36F55;
	--coral-acao: #C44732; /* contraste de 4,89:1 com texto branco */
	--coral-hover: #AA3826;
	--branco: #FFFFFF;
	--preto: #000000;
	--texto: #332A38;
	--texto-sobre-coral: #27152F;

	/* Fontes */
	--fonte-titulos: 'Poppins', sans-serif;
	--fonte-nav: 'Roboto', sans-serif;
	--fonte-destaque: 'Montserrat', sans-serif;

	/* Medidas */
	--largura-conteudo: 1140px;
	--altura-cabecalho: 88px;
	--espaco-1: 8px;
	--espaco-2: 16px;
	--espaco-3: 24px;
	--espaco-4: 32px;
	--espaco-5: 48px;
	--espaco-secao: clamp(64px, 6vw, 96px);
	--tamanho-titulo: clamp(48px, 4.4vw, 64px);
	--raio-card: 24px;
	--sombra-card: 0 8px 28px rgba(35, 15, 52, .10);
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	padding-top: var(--altura-cabecalho); /* compensa o cabeçalho fixo */
	font-family: var(--fonte-nav);
	font-size: 16px;
	line-height: 1.6;
	background: var(--branco);
	color: var(--texto);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
strong { font-weight: 600; }

a:focus-visible, button:focus-visible {
	outline: 3px solid var(--roxo);
	outline-offset: 4px;
	box-shadow: 0 0 0 4px var(--branco);
}

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: calc(var(--altura-cabecalho) + 12px); }

.container {
	max-width: var(--largura-conteudo);
	margin-inline: auto;
	padding-inline: var(--espaco-3);
}

@media (max-width: 767px) {
	:root {
		--espaco-secao: 48px;
		--tamanho-titulo: clamp(28px, 7.8vw, 34px);
		--raio-card: 20px;
	}
	.container { padding-inline: 20px; }
}

/* Classes de visibilidade (mesmos breakpoints do site original:
   mobile ≤767px · tablet 768–1024px · desktop ≥1025px) */
@media (max-width: 767px) {
	.hide-mobile { display: none !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
	.hide-tablet { display: none !important; }
}
@media (min-width: 1025px) {
	.hide-desktop { display: none !important; }
}

/* ==========================================================================
   CABEÇALHO
   ========================================================================== */

.cabecalho {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 999;
	background: var(--roxo);
}

.cabecalho__conteudo {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: var(--altura-cabecalho);
	max-width: 1320px;
	margin-inline: auto;
	padding: 12px var(--espaco-3);
}

.cabecalho__logo img { width: 230px; height: auto; }

.cabecalho__nav ul {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cabecalho__nav a {
	display: block;
	padding: 16px 14px;
	font-family: var(--fonte-nav);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--branco);
}

.cabecalho__nav a:hover { opacity: .8; }

.cabecalho__social {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cabecalho__social li { margin-left: 20px; }

.cabecalho__social a { color: var(--branco); display: block; }
.cabecalho__social a:hover { color: rgba(255, 255, 255, .7); }
.cabecalho__social svg { width: 15px; height: 15px; }

/* Botão hamburguer (só aparece até 1024px) */
.cabecalho__hamburguer {
	display: none;
	flex-direction: column;
	gap: 5px;
	padding: 10px 8px;
	min-width: 44px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 1px solid var(--branco);
	border-radius: 8px;
	cursor: pointer;
}

.cabecalho__hamburguer span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--branco);
}

.cabecalho__hamburguer:hover { background: var(--branco); }
.cabecalho__hamburguer:hover span { background: var(--preto); }

@media (max-width: 1024px) {
	:root { --altura-cabecalho: 72px; }

	.cabecalho__conteudo { padding: 12px 20px; }
	.cabecalho__logo img { width: 160px; }
	.cabecalho__hamburguer { display: flex; }

	/* Menu vira painel suspenso */
	.cabecalho__nav {
		position: absolute;
		top: 100%;
		right: 0;
		width: min(350px, 100vw);
		background: var(--branco);
		box-shadow: 0 10px 20px rgba(0, 0, 0, .15);
		display: none;
	}

	.cabecalho__nav.aberto { display: block; }

	.cabecalho__nav ul { flex-direction: column; align-items: stretch; }

	.cabecalho__nav a {
		color: var(--preto);
		padding: 12px 15px;
		border-bottom: 1px solid #eee;
	}
}

@media (max-width: 767px) {
	.cabecalho__logo img { width: 120px; }
}

/* ==========================================================================
   HERO — vídeo de fundo
   ========================================================================== */

.hero {
	position: relative;
	/* altura acompanha a proporção 16:9 do vídeo em qualquer tela,
	   limitada a 1005px em monitores muito largos */
	height: min(56.25vw, 1005px);
	overflow: hidden;
	background: var(--preto);
}

.hero__video {
	position: absolute;
	inset: 0;
	pointer-events: none; /* impede cliques no vídeo */
}

.hero__video iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border: 0;
	width: 100vw;
	height: 56.25vw; /* 16:9 — vídeo sempre inteiro na largura */
}

/* ==========================================================================
   SOBRE NÓS
   ========================================================================== */

.sobre {
	display: flex;
	align-items: center;
	background: url('../assets/img/bg-sobre-nos.png') center / cover no-repeat;
	padding-block: var(--espaco-secao);
}

.sobre__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	align-items: center;
	gap: var(--espaco-5);
}

.sobre__imagem img {
	width: 100%;
}

.sobre__titulo {
	margin: 0 0 var(--espaco-3);
	font-family: var(--fonte-titulos);
	font-size: clamp(36px, 4.2vw, 60px);
	font-weight: 600;
	line-height: 1.15;
	color: var(--branco);
}

.sobre__card {
	background: var(--branco);
	border-radius: var(--raio-card);
	padding: var(--espaco-4);
	margin-bottom: var(--espaco-4);
}

.sobre__card p {
	margin: 0;
	font-family: var(--fonte-destaque);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--roxo);
}

.botao-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	max-width: 100%;
	min-height: 52px;
	background: var(--coral-acao);
	color: var(--branco);
	font-family: var(--fonte-nav);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	padding: 16px 32px;
	border-radius: 34px 0 34px 34px;
	transition: background-color .2s ease, transform .2s ease;
}

.botao-cta:hover { background: var(--coral-hover); }
.botao-cta svg { width: 24px; height: 24px; flex-shrink: 0; }

@media (max-width: 1024px) {
	.sobre__grid { grid-template-columns: 1fr; }
	.sobre__imagem { max-width: 400px; margin-inline: auto; }
	.sobre__conteudo { max-width: 680px; margin-inline: auto; }
}

/* Celular: seção compacta, sem a ilustração de xadrez. */
@media (max-width: 767px) {
	.sobre__grid { gap: var(--espaco-4); }
	.sobre__imagem { display: none; }
	.sobre__titulo { font-size: clamp(30px, 8.5vw, 38px); }
	.sobre__card { padding: var(--espaco-3); margin-bottom: var(--espaco-3); }
	.sobre__card p { font-size: 18px; }
	.botao-cta { padding: 14px 28px; }
}

/* ==========================================================================
   TÍTULOS DE SEÇÃO (Nossa especialidade / Nosso time)
   ========================================================================== */

.titulo-secao,
.etapas-cards__titulo,
.lab__titulo {
	margin: 0 0 var(--espaco-4);
	font-family: var(--fonte-titulos);
	font-size: var(--tamanho-titulo);
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	color: var(--roxo);
	text-wrap: balance;
}

.titulo-secao, .lab__titulo { text-transform: uppercase; }

/* ==========================================================================
   NOSSAS ESPECIALIDADES — três cards (roxo / branco / coral)
   ========================================================================== */

.especialidade { padding-block: var(--espaco-secao); }

.esp-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--espaco-3);
}

.esp-card {
	border-radius: var(--raio-card);
	padding: var(--espaco-4);
	font-family: var(--fonte-titulos);
	text-align: center;
}

/* ícone fica alinhado à esquerda, como na referência */
.esp-card__icone {
	display: block;
	width: 48px;
	height: 48px;
	margin-bottom: var(--espaco-3);
}

.esp-card__titulo {
	margin: 0 0 var(--espaco-3);
	font-size: 24px;
	font-weight: 400;
	line-height: 1.25;
}

.esp-card__titulo strong { font-weight: 600; }

.esp-card p {
	margin: 0;
	font-family: var(--fonte-nav);
	font-size: 16px;
	line-height: 1.65;
}

.esp-card--roxo {
	background: linear-gradient(145deg, #8B30D9, #6A0AB3);
	color: var(--branco);
}

.esp-card--branco {
	background: var(--branco);
	color: var(--roxo);
	box-shadow: var(--sombra-card);
}

.esp-card--coral {
	background: linear-gradient(145deg, #F9886E, #EE5A40);
	color: var(--texto-sobre-coral);
}

@media (max-width: 1024px) {
	.esp-grid {
		grid-template-columns: 1fr;
		max-width: 480px;
		margin-inline: auto;
	}
}

@media (max-width: 767px) {
	.esp-card { padding: var(--espaco-3); }
}

/* ==========================================================================
   CARROSSEL (genérico)
   ========================================================================== */

.carousel { position: relative; --slides-visiveis: 3; }

.carousel__viewport { overflow: hidden; touch-action: pan-y; }

.carousel__track {
	display: flex;
	transition: transform .5s ease;
}

.carousel__slide {
	flex: 0 0 calc(100% / var(--slides-visiveis));
	padding: 0 8px;
}

.carousel__slide img { width: 100%; }

.carousel__btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	background: transparent;
	border: 0;
	color: rgba(255, 255, 255, .9);
	cursor: pointer;
	padding: 6px;
}

.carousel__btn svg { width: 30px; height: 30px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.carousel__btn--prev { left: 10px; }
.carousel__btn--next { right: 10px; }

.carousel__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	padding: 14px 0 40px;
}

.carousel__dots button {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	background: #ccc;
	cursor: pointer;
}

.carousel__dots button.ativo { background: var(--roxo); }

/* Quando todos os slides cabem na tela, não há o que navegar */
.carousel--estatico .carousel__btn,
.carousel--estatico .carousel__dots { display: none; }

@media (max-width: 767px) {
	.carousel { --slides-visiveis: 1; }
}

/* Carrossel do Lab: arte original em largura total, reprodução automática. */
.carousel--lab { --slides-visiveis: 1; }
.carousel--lab .carousel__slide { padding: 0; }
.carousel--lab .carousel__slide img { width: 100%; }

/* ==========================================================================
   ETAPAS — cartões roxos (até 1279px)
   ========================================================================== */

.etapas-cards { padding-bottom: var(--espaco-secao); }
.etapas-cards .container { max-width: 840px; }

.etapa-card {
	background: var(--roxo);
	border-radius: var(--raio-card);
	padding: var(--espaco-3);
	margin-bottom: var(--espaco-3);
	color: var(--branco);
	font-family: var(--fonte-titulos);
}

.etapa-card:last-child { margin-bottom: 0; }
.etapa-card h3 { margin: 0 0 var(--espaco-2); font-size: 20px; font-weight: 400; line-height: 1.4; }
.etapa-card p { margin: 0; font-family: var(--fonte-nav); font-size: 16px; line-height: 1.65; }

/* ==========================================================================
   ETAPAS — caminho ilustrado (desktop)
   Cada .etapa-ponto--N tem posição própria para acompanhar o desenho
   do caminho na imagem de fundo. Ajuste top/left conforme necessário.
   ========================================================================== */

/* O desenho só aparece quando seus 1229px cabem com margens laterais. */
.etapas-desktop { display: none; padding-bottom: var(--espaco-secao); }

@media (min-width: 1280px) {
	.etapas-cards { display: none; }
	.etapas-desktop { display: block; }
}

/* A área tem o tamanho exato da imagem de fundo (1229 × 2560),
   então as caixas do desenho ficam sempre nas mesmas coordenadas. */
.etapas-desktop__area {
	position: relative;
	width: 1229px;
	height: 2560px;
	margin: 0 auto;
	background: url('../assets/img/bg-etapas.png') top center no-repeat;
}

/* Cada bloco de texto cobre exatamente uma caixa roxa do desenho
   (caixas medidas na imagem: 482 × 334 px) */
.etapa-ponto {
	position: absolute;
	width: 482px;
	height: 334px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 20px 36px;
	text-align: center;
	color: var(--branco);
	font-family: var(--fonte-titulos);
}

.etapa-ponto h3 { margin: 0 0 8px; font-size: 21px; font-weight: 400; }
.etapa-ponto strong { font-weight: 600; }
.etapa-ponto p {
	margin: 0;
	font-family: var(--fonte-nav);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.6;
}

.etapa-ponto--1 { left: 184px; top: 95px; }
.etapa-ponto--2 { left: 628px; top: 497px; }
.etapa-ponto--3 { left: 151px; top: 889px; }
.etapa-ponto--4 { left: 595px; top: 1291px; }
.etapa-ponto--5 { left: 132px; top: 1732px; }
.etapa-ponto--6 { left: 577px; top: 2134px; }

.etapas-contato { text-align: center; padding-bottom: var(--espaco-secao); }

/* ==========================================================================
   NOSSO TIME
   ========================================================================== */

.time { padding-bottom: var(--espaco-secao); }

.time__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--espaco-3);
}

.time__grid img { width: 100%; }

@media (max-width: 767px) {
	.time__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   MANIFESTO (frase de impacto — só desktop)
   ========================================================================== */

.manifesto { background: var(--branco); }

.manifesto p {
	max-width: 840px;
	margin: 0 auto;
	padding-bottom: var(--espaco-secao);
	font-family: var(--fonte-nav);
	font-size: 20px;
	font-weight: 400;
	text-align: center;
	color: var(--roxo-escuro);
}

.manifesto span { font-weight: 400; }

/* ==========================================================================
   LAB DE CRIAÇÃO
   ========================================================================== */

.lab { background: var(--roxo); padding-top: var(--espaco-secao); }

.lab__titulo {
	color: var(--branco);
}

/* ==========================================================================
   CONTATO (formulário — só desktop, como no site original)
   ========================================================================== */

.contato {
	padding-block: var(--espaco-secao);
	background: url('../assets/img/bg-form.png') center / cover no-repeat;
}

.contato__card {
	max-width: 680px;
	margin-inline: auto;
	padding: var(--espaco-3);
	background: var(--branco);
	border-radius: var(--raio-card);
	box-shadow: var(--sombra-card);
}

.contato__card iframe { display: block; border: 0; width: 100%; }

/* ==========================================================================
   RODAPÉ
   ========================================================================== */

.rodape {
	background: var(--preto);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--espaco-3);
	padding: var(--espaco-secao) 20px;
	text-align: center;
}

.rodape__social {
	display: flex;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rodape__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 8px;
	color: var(--coral);
}

.rodape__social a:hover { color: var(--branco); }
.rodape__social svg { width: 41px; height: 41px; }

.rodape__logo { width: 160px; }

.rodape__copy {
	margin: 0;
	font-family: var(--fonte-nav);
	font-size: 16px;
	font-weight: 400;
	color: var(--coral);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.botao-cta:hover { transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation: none !important;
		transition: none !important;
	}
}
