/**
 * Hero geral
 * Proporções medidas nas referências (caixa da imagem, cartão e tipo).
 * Desktop: foto à esquerda, cartão branco sobre o canto inferior direito,
 *          passando um pouco abaixo da foto.
 * Até 1024px: foto à esquerda; cartão branco no canto inferior direito,
 *               também passando abaixo da foto.
 */

.hero-geral {
	--hero-gutter: 8.8%;
	--hero-image-width: 72%;
	--hero-card-left: 51.5%;
	--hero-card-width: 39.8%;
	--hero-card-top: 35%;
	/* A sobra abaixo da foto é toda o blur: o dissolve começa na ponta da imagem. */
	--hero-overhang: 17%;
	--hero-fade: var(--hero-overhang);
	/* Teto do título de frase (ex.: home). */
	--hero-title-max: 70px;
	width: 100%;
	margin: clamp(16px, 2.2vw, 36px) 0 0;
	padding: 0 0 clamp(12px, 1.6vw, 28px);
	box-sizing: border-box;
	color: #000;
}

.hero-geral:has(.hero-geral__page-title) {
	margin-top: 0;
}

/* Nome da página centrado acima da foto (quase o pageTitle antigo; só um pouco menor). */
.hero-geral__page-title {
	margin: 32px 0 18px;
	width: 100%;
	text-align: center;
	font-family: "gyst-variable", sans-serif;
	font-variation-settings: "wght" 700;
	font-weight: 700;
	font-synthesis: none;
	font-size: 2.75vw;
	line-height: 1.15;
	letter-spacing: 0.05em;
	color: #000;
}

.hero-geral__stage {
	position: relative;
	width: 100%;
	/* A foto mantém a altura de antes; o palco cresce só para a sobra com o fade. */
	aspect-ratio: 1.88 / 1;
}

/* Com título acima, a mídia ganha um pouco de altura para cortar menos. */
.hero-geral:has(.hero-geral__page-title) .hero-geral__stage {
	aspect-ratio: 1.72 / 1;
}

.hero-geral__media {
	position: absolute;
	z-index: 0;
	left: var(--hero-gutter);
	top: 0;
	width: var(--hero-image-width);
	height: calc(100% - var(--hero-overhang));
	overflow: hidden;
	background: #d7e2ee;
}

.hero-geral__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.hero-geral--slides .hero-geral__slide-media {
	position: absolute;
	inset: 0;
	display: none;
	width: 100%;
	height: 100%;
}

.hero-geral--slides .hero-geral__slide-media.is-active {
	display: block;
}

.hero-geral__slide {
	display: none;
	width: 100%;
}

.hero-geral__slide.is-active {
	display: block;
}

.hero-geral__media iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 177.78%;
	height: 100%;
	min-width: 100%;
	min-height: 100%;
	transform: translate(-50%, -50%);
	border: 0;
	pointer-events: none;
}

/*
 * Vídeo com enquadramento fechado (People, Rol da Mulher, Equipe, Clientes):
 * mídia menor e mais à esquerda, para o quadro não cobrir o rosto.
 */
/* Vídeo colado na margem esquerda (sem gutter), menor que a foto padrão. */
.hero-geral--video {
	--hero-gutter: 0%;
	--hero-image-width: 56%;
	--hero-card-left: 48%;
	--hero-card-width: 44%;
	--hero-card-top: 30%;
	padding-left: 0;
	padding-right: 0;
}

.hero-geral--video .hero-geral__media {
	left: 0;
}

/* Prefere o lado esquerdo do vídeo (rosto) fora da zona do cartão. */
.hero-geral--video .hero-geral__media iframe {
	left: 36%;
	transform: translate(-36%, -50%);
}

.hero-geral__card {
	position: absolute;
	z-index: 1;
	left: var(--hero-card-left);
	top: var(--hero-card-top);
	bottom: var(--hero-fade);
	width: var(--hero-card-width);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(24px, 2.2vw, 48px) clamp(28px, 4.2vw, 76px);
	background-color: #fff;
	background-image: none;
	color: #000;
}

/* Começa na ponta da foto, então o dissolve mostra o fundo da página. */
.hero-geral__fade {
	position: absolute;
	z-index: 1;
	left: var(--hero-card-left);
	width: var(--hero-card-width);
	top: calc(100% - var(--hero-overhang));
	bottom: 0;
	background-image: linear-gradient(
		to bottom,
		#fff 0%,
		rgba(255, 255, 255, 0.72) 22%,
		rgba(255, 255, 255, 0.28) 58%,
		rgba(255, 255, 255, 0) 100%
	);
	pointer-events: none;
}

.hero-geral__title {
	margin: 0;
	max-width: 11em;
	font-family: "gyst-variable", sans-serif;
	font-variation-settings: "wght" 700;
	font-weight: 700;
	font-synthesis: none;
	font-size: clamp(32px, 3.1vw, var(--hero-title-max));
	line-height: 1.05;
	letter-spacing: -0.015em;
	color: #000;
}

.hero-geral--has-text .hero-geral__title {
	max-width: none;
	font-size: clamp(22px, 1.45vw, 28px);
	line-height: 1.22;
	letter-spacing: 0.03em;
}

/* Títulos curtos e médios sobem de tamanho. O longo permanece no tamanho do Business Analytics. */
.hero-geral--has-text.hero-geral--title-short .hero-geral__title {
	font-size: clamp(32px, 2.35vw, 42px);
	line-height: 1.12;
}

.hero-geral--has-text.hero-geral--title-mid .hero-geral__title {
	font-size: clamp(26px, 1.85vw, 34px);
	line-height: 1.16;
}

/* Frase longa sem parágrafo — sob o mesmo teto de --hero-title-max. */
.hero-geral--statement.hero-geral--title-sentence .hero-geral__title {
	max-width: none;
	font-size: clamp(30px, 2.85vw, var(--hero-title-max));
	line-height: 1.08;
	letter-spacing: -0.015em;
}

/* Frase ainda mais longa, como Body Shop: continua título, num tamanho que cabe no quadro. */
.hero-geral--statement.hero-geral--title-long .hero-geral__title {
	max-width: none;
	font-size: clamp(28px, 2.5vw, 40px);
	line-height: 1.12;
	letter-spacing: -0.012em;
}

/* Serviço com título e uma linha de apoio, como Cobrança. */
.hero-geral--service.hero-geral--has-text .hero-geral__title {
	max-width: none;
	font-size: clamp(30px, 2.8vw, 44px);
	line-height: 1.1;
	letter-spacing: -0.012em;
}

.hero-geral--service.hero-geral--has-text .hero-geral__text {
	font-size: clamp(18px, 1.45vw, 24px);
	line-height: 1.35;
	letter-spacing: -0.005em;
}

.hero-geral__text {
	margin: 0.85em 0 0;
	max-width: 20em;
	font-family: "gyst-variable", sans-serif;
	font-variation-settings: "wght" 500;
	font-weight: 500;
	font-synthesis: none;
	font-size: clamp(17px, 1.55vw, 23px);
	line-height: 1.38;
	color: #000;
}

.hero-geral--has-text .hero-geral__text {
	max-width: none;
	margin-top: clamp(22px, 1.5vw, 36px);
	font-size: clamp(15px, 0.95vw, 18px);
	line-height: 1.4;
	letter-spacing: 0.02em;
}

.hero-geral__text p {
	margin: 0 0 0.7em;
}

.hero-geral__button {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: clamp(18px, 1.6vw, 28px);
	padding: 12px 40px;
	border: 1px solid #000;
	border-radius: 30px;
	color: #000;
	font-family: gill-sans-nova, sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: 0.15em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
}

.hero-geral__button:hover {
	background: #fcc310;
	border-color: #fcc310;
	color: #000;
}

.hero-geral__text p:last-child {
	margin-bottom: 0;
}

/*
 * Perfil de integrante — proporções medidas no PDF (1920px):
 * MANAGEMENT 20px, Equipe 60px, nome/cargo 35px.
 * Gaps: 57px / 29px / 7px. Bloco de texto centrado no cartão.
 */
.hero-geral--profile {
	--hero-gutter: 8.8%;
	--hero-image-width: 70%;
	--hero-card-left: 51%;
	--hero-card-width: 40%;
	--hero-card-top: 34%;
	--hero-overhang: 14%;
	margin-top: clamp(28px, 3.8vw, 64px);
	/* Conteúdo sobe até a sobra/fade do cartão (member-canvas puxa com margin negativa). */
	margin-bottom: 0;
	padding-bottom: 0;
}

.hero-geral--profile .hero-geral__stage {
	aspect-ratio: 1.9 / 1;
}

.hero-geral--profile .hero-geral__card {
	justify-content: center;
	padding: clamp(36px, 3.8vw, 64px) clamp(36px, 4vw, 72px);
}

.hero-geral--profile .hero-geral__eyebrow {
	margin: 0 0 clamp(20px, 1.8vw, 36px);
	font-family: gill-sans-nova, sans-serif;
	font-size: clamp(13px, 1.05vw, 20px);
	font-weight: 600;
	letter-spacing: 0.3em;
	line-height: 1.2;
	text-transform: uppercase;
	color: #000;
}

.hero-geral--profile .hero-geral__profile-body {
	flex: 0 0 auto;
	display: block;
	padding: 0;
}

.hero-geral--profile .hero-geral__title {
	max-width: none;
	margin: 0;
	font-size: clamp(40px, 3.15vw, 60px);
	line-height: 1.05;
	letter-spacing: -0.02em;
}

.hero-geral--profile .hero-geral__name {
	margin: clamp(14px, 1.15vw, 22px) 0 0;
	font-family: "gyst-variable", sans-serif;
	font-variation-settings: "wght" 700;
	font-weight: 700;
	font-synthesis: none;
	font-size: clamp(24px, 1.85vw, 35px);
	line-height: 1.12;
	letter-spacing: -0.01em;
	color: #000;
}

.hero-geral--profile .hero-geral__role {
	margin: 0.12em 0 0;
	font-family: "gyst-variable", sans-serif;
	font-variation-settings: "wght" 400;
	font-weight: 400;
	font-synthesis: none;
	font-size: clamp(24px, 1.85vw, 35px);
	line-height: 1.12;
	letter-spacing: -0.01em;
	color: #000;
}

@media (max-width: 1024px) {
	.hero-geral--profile {
		--hero-gutter: 2%;
		--hero-image-width: 72%;
		--hero-card-left: 40%;
		--hero-card-width: 56%;
		--hero-card-top: 30%;
		margin-top: clamp(24px, 3.5vw, 40px);
	}

	.hero-geral--profile .hero-geral__card {
		padding: clamp(28px, 3vw, 40px) clamp(24px, 3.2vw, 40px);
	}

	.hero-geral--profile .hero-geral__title {
		font-size: clamp(32px, 4.6vw, 48px);
	}

	.hero-geral--profile .hero-geral__name,
	.hero-geral--profile .hero-geral__role {
		font-size: clamp(20px, 2.6vw, 28px);
	}
}

@media (max-width: 640px) {
	.hero-geral--profile {
		margin-top: clamp(20px, 4vw, 28px);
		padding-left: 12px;
		padding-right: 12px;
	}

	.hero-geral--profile .hero-geral__card {
		padding: 28px 22px;
	}

	.hero-geral--profile .hero-geral__eyebrow {
		margin-bottom: 16px;
		font-size: 12px;
		letter-spacing: 0.26em;
	}

	.hero-geral--profile .hero-geral__title {
		font-size: clamp(30px, 8vw, 40px);
	}

	.hero-geral--profile .hero-geral__name,
	.hero-geral--profile .hero-geral__role {
		font-size: clamp(18px, 4.8vw, 24px);
	}
}

/* Fundo só da página de referência, para ler o hero como nas imagens. */
body.hero-geral-page {
	background: linear-gradient(115deg, #f4e4b4 0%, #e8f3f0 34%, #d6e6f8 68%, #e6dff6 100%);
}

body.hero-geral-page .hero-geral + .hero-geral {
	margin-top: clamp(56px, 7vw, 104px);
}

/* Até 1024px: foto à esquerda, cartão no canto inferior direito. */
@media (max-width: 1024px) {
	.hero-geral {
		--hero-gutter: 0%;
		--hero-image-width: 70%;
		--hero-card-left: 40%;
		--hero-card-width: 58%;
		margin-top: clamp(12px, 2vw, 20px);
		padding: 0 16px clamp(16px, 3vw, 28px);
	}

	.hero-geral__stage {
		display: block;
		aspect-ratio: 1.54 / 1;
	}

	.hero-geral__media {
		height: calc(100% - var(--hero-overhang));
	}

	.hero-geral__media img {
		object-position: 30% center;
	}

	.hero-geral__card {
		top: auto;
		min-height: 52%;
		justify-content: center;
		padding: clamp(16px, 3.6vw, 28px) clamp(14px, 3.2vw, 24px);
	}

	.hero-geral:has(.hero-geral__page-title) .hero-geral__stage {
		aspect-ratio: 1.42 / 1;
	}

	.hero-geral__page-title {
		font-size: 4.5vw;
		margin: 28px 0 16px;
	}

	.hero-geral--video {
		--hero-gutter: 0%;
		--hero-image-width: 58%;
		--hero-card-left: 42%;
		--hero-card-width: 54%;
		padding-left: 0;
		padding-right: 16px;
	}

	.hero-geral--statement .hero-geral__title {
		max-width: 10em;
		font-size: clamp(20px, 5.2vw, 36px);
		line-height: 1.08;
		letter-spacing: -0.02em;
	}

	.hero-geral--statement.hero-geral--title-sentence .hero-geral__title {
		max-width: none;
		font-size: clamp(26px, 3.6vw, 40px);
		line-height: 1.1;
		letter-spacing: -0.015em;
	}

	.hero-geral--has-text.hero-geral--title-short .hero-geral__title {
		font-size: clamp(24px, 3.2vw, 32px);
		line-height: 1.12;
	}

	.hero-geral--has-text.hero-geral--title-mid .hero-geral__title {
		font-size: clamp(20px, 2.6vw, 26px);
		line-height: 1.16;
	}

	.hero-geral--has-text.hero-geral--title-long .hero-geral__title {
		font-size: clamp(17px, 2.2vw, 22px);
		line-height: 1.22;
	}

	.hero-geral--statement.hero-geral--title-long .hero-geral__title {
		max-width: none;
		font-size: clamp(22px, 3vw, 32px);
		line-height: 1.12;
		letter-spacing: -0.012em;
	}

	.hero-geral--service.hero-geral--has-text .hero-geral__title {
		max-width: none;
		font-size: clamp(24px, 3.2vw, 34px);
		line-height: 1.12;
		letter-spacing: -0.012em;
	}

	.hero-geral--service.hero-geral--has-text .hero-geral__text {
		font-size: clamp(16px, 2.2vw, 20px);
	}

	.hero-geral__text {
		font-size: clamp(13px, 2.2vw, 16px);
		line-height: 1.3;
		margin-top: 0.55em;
	}

	.hero-geral--has-text .hero-geral__text {
		margin-top: clamp(14px, 2vw, 22px);
	}
}

@media (max-width: 640px) {
	.hero-geral {
		--hero-image-width: 74%;
		--hero-card-left: 36%;
		--hero-card-width: 64%;
		padding-left: 12px;
		padding-right: 12px;
	}

	.hero-geral--video {
		--hero-image-width: 68%;
		--hero-card-left: 32%;
		--hero-card-width: 64%;
		padding-left: 0;
		padding-right: 12px;
	}

	.hero-geral__stage {
		aspect-ratio: auto;
	}

	/* O cartão deixa de crescer para cima e passa a descer com o texto. */
	.hero-geral__media {
		position: relative;
		height: auto;
		aspect-ratio: 1.26 / 1;
	}

	.hero-geral__card {
		position: relative;
		top: auto;
		bottom: auto;
		left: auto;
		min-height: 0;
		width: var(--hero-card-width);
		margin-top: -28%;
		margin-left: auto;
	}

	.hero-geral__fade {
		position: relative;
		top: auto;
		bottom: auto;
		left: auto;
		width: var(--hero-card-width);
		height: clamp(40px, 12vw, 64px);
		margin-left: auto;
	}

	.hero-geral__page-title {
		font-size: 7vw;
		margin: 24px 0 14px;
	}

	.hero-geral--statement .hero-geral__title {
		font-size: clamp(22px, 6.6vw, 30px);
	}

	.hero-geral--statement.hero-geral--title-sentence .hero-geral__title {
		font-size: clamp(22px, 6vw, 30px);
	}

	.hero-geral--has-text.hero-geral--title-short .hero-geral__title {
		font-size: clamp(20px, 5.4vw, 26px);
	}

	.hero-geral--has-text.hero-geral--title-mid .hero-geral__title {
		font-size: clamp(18px, 4.8vw, 23px);
	}

	.hero-geral--has-text.hero-geral--title-long .hero-geral__title {
		font-size: clamp(16px, 4.2vw, 20px);
	}

	.hero-geral--statement.hero-geral--title-long .hero-geral__title {
		font-size: clamp(20px, 5.2vw, 26px);
	}

	.hero-geral--service.hero-geral--has-text .hero-geral__title {
		font-size: clamp(20px, 5.4vw, 28px);
	}

	.hero-geral--service.hero-geral--has-text .hero-geral__text {
		font-size: clamp(15px, 4vw, 18px);
	}
}

@media (max-width: 768px) {
	.hero-geral {
		margin-bottom: clamp(32px, 5vw, 48px);
	}
}

@media (min-width: 2000px) {
	.hero-geral {
		padding-left: 10%;
		padding-right: 10%;
	}

	.hero-geral--video {
		padding-left: 0;
		padding-right: 10%;
	}

	.hero-geral__stage {
		aspect-ratio: 1.92 / 1;
	}
}

/* A home antiga puxava o conteúdo para cima do cartão que saía da foto. */
.header.homeHeader {
	padding-bottom: 20px;
	background: transparent;
}

.hero-geral + .contents.homeVeinticinco {
	margin-top: 0;
}

/* O gradiente da home começa na navegação e segue pelo hero. */
.home-canvas {
	background: url("../../images/homepageBg.jpg") no-repeat top center;
	background-size: 100% 100%;
}

.home-canvas .contents.homeVeinticinco {
	background: none;
}

@media (max-width: 767px) {
	.home-canvas {
		background-size: 250% 100%;
	}
}

/* O fundo amarelo das solutions começa no topo, por baixo da navegação. */
.solution-canvas {
	background: url("../../images/Solutions24Bg.jpg") no-repeat top center;
	background-size: 100% 100%;
}

.solution-canvas .header,
.home-canvas .header {
	background: transparent;
}

/* Nav mais baixa nas páginas com título de página no hero (a home não tem). */
.solution-canvas .header,
.services-canvas .header,
.clients-canvas .header,
.intelligence-canvas .header,
.aboutus-canvas .header,
.team-canvas .header,
.people-canvas .header {
	padding-top: 12px;
	padding-bottom: 0;
}

.solution-canvas .singleSolutionBgContainer {
	background: none;
	margin-top: 0;
	padding-top: clamp(28px, 4vw, 64px);
}

@media (max-width: 767px) {
	.solution-canvas {
		background: url("../../images/solution24MobileBg.jpg") no-repeat top center;
		background-size: 100% 100%;
	}
}

/* Serviços: o fundo da listagem e o de cada serviço começam no topo, por baixo da navegação. */
.services-canvas--listing {
	background: url("../../images/serviciosBg.jpg") no-repeat top center;
	background-size: 100% 100%;
}

.services-canvas--single {
	background: url("../../images/rolDaMulherBg.jpg") no-repeat top center;
	background-size: 100% 100%;
}

.services-canvas .header {
	background: transparent;
}

.services-canvas .header.rolDaMulher {
	padding-bottom: 0;
}

.services-canvas .contents.serviciosVeinticinco,
.services-canvas .contents.roldamulher {
	background: none;
	margin-top: 0;
	padding-top: clamp(28px, 4vw, 64px);
}

/* Clientes: o fundo começa no topo e a mídia do hero pode ser o vídeo. */
.clients-canvas {
	background: url("../../images/clientesBg.jpg") no-repeat top center;
	background-size: 100% 100%;
}

.clients-canvas .header {
	background: transparent;
}

.clients-canvas .contents.clientes25 {
	background: none;
}

/* Action Intelligence: o degradê começa no topo, por baixo da navegação. */
.intelligence-canvas {
	background: url("../../images/bgActionIntelligenceGradient.jpg") no-repeat center 65%;
	background-size: cover;
}

.intelligence-canvas .header {
	background: transparent;
}

.intelligence-canvas .ai-subGroup-content {
	background: none;
}

/* About us: o fundo começa no topo e o hero troca de slide com as abas. */
.aboutus-canvas {
	background: url("../../images/aboutusBg.jpg") no-repeat bottom center;
	background-size: 100% 100%;
}

.aboutus-canvas .header {
	background: transparent;
}

.aboutus-canvas .contents.aboutus {
	background: none !important;
}

/* Equipe: o fundo começa no topo e a mídia do hero é o vídeo. */
.team-canvas {
	background: url("../../images/bgEquipoDicBody.jpg") no-repeat top center;
	background-size: 100% 100%;
}

.team-canvas .header {
	background: transparent;
}

.team-canvas .contents {
	background: none;
	padding-top: clamp(28px, 4vw, 64px);
}

/* Página do integrante: mesh gradient do profile management (modelo). */
.member-canvas {
	/* Fallback azul do topo do mesh — evita filete branco se o cover falhar 1px. */
	background-color: #a8c8e6;
	background-image: url("../../images/background-profile-management.webp");
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
}

.member-canvas .header {
	background: transparent;
}

.member-canvas .header.rolDaMulher {
	padding-bottom: 0;
}

.member-canvas .contents.singleIntegrante {
	background: none;
	/* Rente à base suave do fade do quadro branco (sem subir para dentro da foto). */
	margin-top: clamp(-20px, -1.4vw, -8px);
	padding-top: 0;
	position: relative;
	z-index: 2;
}

@media (min-width: 1280px) {
	.member-canvas .contents.singleIntegrante {
		/* Menos puxão: alinha o topo do texto ao fim do fade (~branco com pouca opacidade). */
		margin-top: clamp(-52px, -2.6vw, -28px);
	}
}

/* People e subpáginas: o fundo começa no topo, por baixo da navegação. */
.people-canvas--main {
	background: url("../../images/peopleVeinticincoBg.jpg") no-repeat top center;
	background-size: 100% 100%;
}

.people-canvas--diversity {
	background: url("../../images/diversidade25Bg.jpg") no-repeat top center;
	background-size: 100% 100%;
}

.people-canvas--development {
	background: url("../../images/desenvolvimentoBg.jpg") no-repeat top center;
	background-size: 100% 100%;
}

.people-canvas--women {
	background: url("../../images/rolDaMulherBg.jpg") no-repeat top center;
	background-size: 100% 100%;
}

.people-canvas .header {
	background: transparent;
}

.people-canvas .header.rolDaMulher {
	padding-bottom: 0;
}

.people-canvas .contents.people25,
.people-canvas .contents.diversidad25,
.people-canvas .contents.desenvolvimento,
.people-canvas .contents.roldamulher {
	background: none;
	margin-top: 0;
	padding-top: clamp(28px, 4vw, 64px);
}

.people-canvas .contents.desenvolvimento .peopleList,
.people-canvas .contents.roldamulher .peopleList {
	padding-top: 0;
}
