/* Faixa CTA cyan — entre conteúdo e footer */

.ligarena-cta-banner {
	--ligarena-cta-cyan: #5bc8e1;
	--ligarena-cta-navy: #001c48;
	--ligarena-cta-slope-top: clamp(2rem, 4vw, 3.5rem);
	--ligarena-cta-slope-bottom: clamp(2rem, 4vw, 3.5rem);
	position: relative;
	z-index: 3;
	width: 100vw;
	max-width: 100vw;
	/* -4px para compensar o alinhamento diagonal (evita “gap”/junção mal feita) */
	margin: calc(-1 * var(--ligarena-cta-slope-top) - 4px) calc(50% - 50vw) 0;
	padding: calc(var(--ligarena-cta-slope-top) + clamp(1rem, 2vw, 1.75rem)) 0
		calc(var(--ligarena-cta-slope-bottom) + clamp(1rem, 2vw, 1.75rem));
	padding-left: 0 !important;
	padding-right: 0 !important;
	box-sizing: border-box;
	overflow: hidden;
	clip-path: polygon(
		0 var(--ligarena-cta-slope-top),
		100% 0,
		100% calc(100% - var(--ligarena-cta-slope-bottom)),
		0 100%
	);
}

/* Homepage: faixa CTA recta (sem diagonais) */
.home .ligarena-cta-banner {
	--ligarena-cta-slope-top: 0px;
	--ligarena-cta-slope-bottom: 0px;
	margin-top: 0;
	margin-block-start: 0;
	padding-top: clamp(2rem, 3.5vw, 3rem);
	padding-bottom: clamp(2rem, 3.5vw, 3rem);
	clip-path: none;
}

.home .ligarena-cta-banner__copy,
.home .ligarena-cta-banner__cta {
	margin-top: 0;
}

/* Fundo cyan */
.ligarena-cta-banner__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: var(--ligarena-cta-cyan);
	pointer-events: none;
}

/* Vetores decorativos */
.ligarena-cta-banner__vector {
	position: absolute;
	display: block;
	height: auto;
	pointer-events: none;
	z-index: 0;
}

/* Canto inferior esquerdo Ã¢â‚¬â€ branco */
.ligarena-cta-banner__vector--1 {
	left: 0;
	bottom: 0;
	width: clamp(5.5rem, 11vw, 9.5rem);
	height: auto;
	object-fit: contain;
	object-position: left bottom;
	filter: none;
}

/* Direita Ã¢â‚¬â€ junto ao topo da faixa */
.ligarena-cta-banner__vector--2 {
	right: 0;
	top: 0;
	width: clamp(5.5rem, 12vw, 11rem);
	max-height: clamp(18rem, 42vw, 34rem);
	object-fit: contain;
	object-position: right top;
}

.ligarena-cta-banner__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	width: 100%;
	max-width: none;
	min-height: 0;
	margin: 0 auto;
	padding-left: var(--ligarena-site-pad-x, 10vw);
	padding-right: var(--ligarena-site-pad-x, 10vw);
	box-sizing: border-box;
}

.ligarena-cta-banner__copy,
.ligarena-cta-banner__cta {
	opacity: 1;
}

.ligarena-cta-banner__copy {
	flex: 1 1 auto;
	min-width: 0;
	max-width: min(82%, 64rem);
	margin-top: calc(var(--ligarena-cta-slope-bottom) * 0.5);
}

.ligarena-cta-banner__title {
	margin: 0 0 clamp(0.35rem, 0.8vw, 0.65rem);
	color: var(--ligarena-cta-navy);
}

.ligarena-cta-banner__text {
	margin: 0;
	color: var(--ligarena-cta-navy);
	font-family: var(--ligarena-font-heading);
	font-size: var(--ligarena-font-size-title);
	font-weight: 400;
	line-height: var(--ligarena-line-height-title);
	letter-spacing: var(--ligarena-letter-spacing-title);
	text-transform: uppercase;
}

.ligarena-cta-banner__cta {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: clamp(0.55rem, 1vw, 0.85rem);
	margin-top: calc(var(--ligarena-cta-slope-top) * -0.5);
	padding: clamp(0.55rem, 0.35rem + 0.35vw, 0.75rem) clamp(1.5rem, 1rem + 1.4vw, 2.4rem);
	border: 1px solid var(--ligarena-cta-navy);
	background: var(--ligarena-cta-cyan);
	color: var(--ligarena-cta-navy);
	text-decoration: none;
	text-transform: uppercase;
	font-family: var(--ligarena-font-body, "Montserrat", sans-serif);
	font-size: clamp(0.78rem, 0.5rem + 0.42vw, 1.02rem);
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	white-space: nowrap;
	transition:
		background-color 0.25s ease,
		color 0.25s ease,
		transform 0.25s ease;
}

.ligarena-cta-banner__cta-arrow {
	display: block;
	width: clamp(1.1rem, 1.35vw, 1.45rem);
	height: auto;
	filter: brightness(0);
	transition: filter 0.25s ease;
}

.ligarena-cta-banner__cta:hover,
.ligarena-cta-banner__cta:focus-visible {
	background: var(--ligarena-cta-navy);
	color: #ffffff;
	transform: translateY(-2px);
}

.ligarena-cta-banner__cta:hover .ligarena-cta-banner__cta-arrow,
.ligarena-cta-banner__cta:focus-visible .ligarena-cta-banner__cta-arrow {
	filter: none;
}

.ligarena-cta-banner__cta:focus-visible {
	outline: 2px solid var(--ligarena-cta-navy);
	outline-offset: 3px;
}


@media (max-width: 1024px) {
	.ligarena-cta-banner__vector--1 {
		width: clamp(4.5rem, 12vw, 7rem);
		bottom: clamp(0.35rem, 0.8vw, 0.85rem);
		opacity: 0.9;
	}

	.ligarena-cta-banner__vector--2 {
		width: clamp(4.5rem, 14vw, 8rem);
		max-height: clamp(15rem, 48vw, 26rem);
		right: 0;
		top: 0;
	}
}

@media (max-width: 900px) {
	.ligarena-cta-banner {
		--ligarena-cta-slope-top: clamp(2.5rem, 6.5vw, 3.5rem);
		--ligarena-cta-slope-bottom: clamp(2.5rem, 6.5vw, 3.5rem);
		padding-top: calc(var(--ligarena-cta-slope-top) + clamp(1.35rem, 3.5vw, 2.15rem));
		padding-bottom: calc(var(--ligarena-cta-slope-bottom) + clamp(1.35rem, 3.5vw, 2.15rem));
	}

	.home .ligarena-cta-banner {
		--ligarena-cta-slope-top: 0px;
		--ligarena-cta-slope-bottom: 0px;
		padding-top: clamp(1.75rem, 5vw, 2.5rem);
		padding-bottom: clamp(1.75rem, 5vw, 2.5rem);
		clip-path: none;
	}

	.ligarena-cta-banner__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: clamp(1.5rem, 4vw, 2.25rem);
		min-height: 0;
	}

	.ligarena-cta-banner__copy {
		max-width: none;
		margin-top: 0;
	}

	.ligarena-cta-banner__cta {
		width: 100%;
		max-width: 22rem;
		margin-top: 0;
		white-space: normal;
		text-align: center;
	}

	.ligarena-cta-banner__vector--1 {
		opacity: 0.85;
	}

	.ligarena-cta-banner__vector--2 {
		opacity: 0.8;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ligarena-cta-banner__cta {
		transition: none;
	}
}
