/**
 * System intro section.
 *
 * Seção: O que é Barra de Ancoragem e como funciona o sistema.
 *
 * @package NexoBase
 */

.nexo-system-intro {
	box-sizing: border-box;
	width: 100%;
	max-width: 1360px;
	margin-top: -40px !important;
	margin-right: auto !important;
	margin-bottom: -140px !important;
	margin-left: auto !important;
	padding-right: 24px;
	padding-left: 24px;
}

.nexo-system-intro *,
.nexo-system-intro *::before,
.nexo-system-intro *::after {
	box-sizing: border-box;
}

.nexo-system-intro__inner {
	width: 100%;
}

.nexo-system-intro__header {
	max-width: 760px;
	margin: 0 0 48px;
}

.nexo-system-intro__title {
	margin: 0;
	color: #25292a;
	font-size: 38px;
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.035em;
	text-transform: uppercase;
}

/* ==========================================================================
   Layout principal
   ========================================================================== */

.nexo-system-intro__grid {
	display: grid;
	grid-template-columns: 846px minmax(360px, 1fr);
	gap: 48px;
	align-items: start;
}

.nexo-system-intro__media {
	width: 100%;
}

/*
 * Imagem simples/fallback.
 * O seletor usa ">" para não afetar imagens internas da galeria.
 */
.nexo-system-intro__media > img {
	display: block;
	width: 100%;
	height: 450px;
	border-radius: 7px;
	object-fit: cover;
	object-position: center center;
}

/* ==========================================================================
   Galeria da seção
   ========================================================================== */

.nexo-system-intro__media.nexo-system-intro-gallery {
	display: grid;
	grid-template-columns: 150px 680px;
	gap: 16px;
	align-items: stretch;
	width: 846px;
	max-width: 100%;
}

.nexo-system-intro-gallery__thumbs {
	display: grid;
	grid-template-rows: repeat(3, 150px);
	row-gap: 15px;
	column-gap: 0;
	align-content: start;
	width: 150px;
	height: 480px;
	margin: 0;
	padding: 0;
}

/* Neutraliza wrappers automáticos do WordPress/SiteOrigin */
.nexo-system-intro-gallery__thumbs > p {
	display: contents !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 0 !important;
}

.nexo-system-intro-gallery__thumbs br {
	display: none !important;
}

.nexo-system-intro-gallery__thumb {
	display: block;
	width: 150px;
	height: 150px;
	min-width: 150px;
	min-height: 150px;
	max-width: 150px;
	max-height: 150px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 7px;
	background: transparent;
	line-height: 0;
	cursor: pointer;
	overflow: hidden;
}

.nexo-system-intro-gallery__thumb img {
	display: block;
	width: 150px !important;
	height: 150px !important;
	min-width: 150px !important;
	min-height: 150px !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 7px;
	object-fit: cover;
	object-position: center center;
	background: transparent;
}

.nexo-system-intro-gallery__main {
	position: relative;
	width: 680px;
	max-width: 100%;
	height: 480px;
	border-radius: 7px;
	overflow: hidden;
	background: #050707;
}

.nexo-system-intro-gallery__main > img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	border-radius: 7px;
	object-fit: cover;
	object-position: center center;
}

.nexo-system-intro-gallery__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: #050707;
	cursor: pointer;
	transform: translateY(-50%);
	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

.nexo-system-intro-gallery__arrow:hover,
.nexo-system-intro-gallery__arrow:focus {
	background: #1f2523;
}

.nexo-system-intro-gallery__arrow:focus-visible {
	outline: 3px solid rgba(255, 90, 0, 0.34);
	outline-offset: 3px;
}

.nexo-system-intro-gallery__arrow--prev {
	left: 14px;
}

.nexo-system-intro-gallery__arrow--next {
	right: 14px;
}

.nexo-system-intro-gallery__arrow img {
	display: block;
	width: 18px;
	height: 18px;
	max-width: none;
	object-fit: contain;
	filter: brightness(0) invert(1);
	pointer-events: none;
}

/* ==========================================================================
   Conteúdo textual
   ========================================================================== */

.nexo-system-intro__content {
	max-width: 440px;
	padding-top: 0;
	color: #07111f;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.48;
}

.nexo-system-intro__content p {
	margin: 0 0 16px;
}

.nexo-system-intro__content p:last-of-type {
	margin-bottom: 20px;
}

.nexo-system-intro__content strong {
	font-weight: 800;
}

/* ==========================================================================
   CTA
   ========================================================================== */

.nexo-system-intro__cta {
	margin-top: 2px;
}

.nexo-system-intro__cta .nexo-cta-button-wrap {
	width: auto;
	margin: 0;
}

.nexo-system-intro__cta .nexo-cta-button {
	min-height: 56px;
	padding-right: 28px;
	padding-left: 28px;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
}

/* ==========================================================================
   Responsivo
   ========================================================================== */

@media (max-width: 1024px) {
	.nexo-system-intro__header {
		margin-bottom: 38px;
	}

	.nexo-system-intro__title {
		font-size: 32px;
	}

	.nexo-system-intro__grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.nexo-system-intro__media > img {
		height: auto;
	}

	.nexo-system-intro__media.nexo-system-intro-gallery {
		display: grid;
		grid-template-columns: 120px minmax(0, 1fr);
		gap: 12px;
		align-items: stretch;
		width: 100%;
		max-width: 100%;
	}

	.nexo-system-intro-gallery__thumbs {
	display: grid;
	grid-template-rows: repeat(3, 120px);
	row-gap: 10px;
	column-gap: 0;
	align-content: start;
	width: 120px;
	height: 380px;
	margin: 0;
	padding: 0;
}

.nexo-system-intro-gallery__thumbs > p {
	display: contents !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 0 !important;
}

.nexo-system-intro-gallery__thumb {
	width: 120px;
	height: 120px;
	min-width: 120px;
	min-height: 120px;
	max-width: 120px;
	max-height: 120px;
}

.nexo-system-intro-gallery__thumb img {
	width: 120px !important;
	height: 120px !important;
	min-width: 120px !important;
	min-height: 120px !important;
}

	.nexo-system-intro-gallery__main {
		width: 100%;
		height: 380px;
	}

	.nexo-system-intro__content {
		max-width: 100%;
		padding-top: 0;
		font-size: 15px;
		line-height: 1.55;
	}

	.nexo-system-intro__content p {
		margin-bottom: 18px;
	}

	.nexo-system-intro__content p:last-of-type {
		margin-bottom: 24px;
	}
}

@media (max-width: 767px) {
	.nexo-system-intro {
		padding-right: 18px;
		padding-left: 18px;
	}

	.nexo-system-intro__header {
		margin-bottom: 30px;
	}

	.nexo-system-intro__title {
		font-size: 28px;
		line-height: 1.12;
	}

	.nexo-system-intro__grid {
		gap: 28px;
	}

	.nexo-system-intro__media.nexo-system-intro-gallery {
		display: grid;
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.nexo-system-intro-gallery__main {
		order: 1;
		height: auto;
		aspect-ratio: 4 / 3;
	}

	.nexo-system-intro-gallery__thumbs {
		order: 2;
		display: grid;
		grid-template-rows: none;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 10px;
		width: 100%;
		height: auto;
	}

	.nexo-system-intro-gallery__thumbs p {
		aspect-ratio: 1 / 1;
	}

	.nexo-system-intro-gallery__thumb {
		width: 100%;
		height: auto;
		aspect-ratio: 1 / 1;
	}

	.nexo-system-intro-gallery__thumbs p > .nexo-system-intro-gallery__thumb {
		height: 100%;
	}

	.nexo-system-intro-gallery__arrow {
		width: 42px;
		height: 36px;
	}

	.nexo-system-intro-gallery__arrow--prev {
		left: 10px;
	}

	.nexo-system-intro-gallery__arrow--next {
		right: 10px;
	}

	.nexo-system-intro__content {
		font-size: 15px;
		line-height: 1.55;
	}

	.nexo-system-intro__content p {
		margin-bottom: 18px;
	}

	.nexo-system-intro__content p:last-of-type {
		margin-bottom: 24px;
	}

	.nexo-system-intro__cta .nexo-cta-button {
		width: 100%;
		min-height: 52px;
		padding-right: 18px;
		padding-left: 18px;
		font-size: 12px;
		white-space: normal;
		text-align: center;
	}
}

@media (max-width: 425px) {
	.nexo-system-intro-gallery__thumbs {
		gap: 8px;
	}

	.nexo-system-intro-gallery__arrow {
		width: 38px;
		height: 34px;
	}

	.nexo-system-intro-gallery__arrow img {
		width: 16px;
		height: 16px;
	}
}