/* Mover – Slider de Destaques (Versão B) */

.mvs {
	--mvs-blue: #006ca8;
	--mvs-blue-dark: #004f7c;
	--mvs-light: #a6d8dc;
	--mvs-ink: #0d2233;
	--mvs-shade: rgba(6, 28, 46, 0.6);
	--mvs-max: 1240px;
	--mvs-sbw: 0px;
	position: relative;
	background: var(--mvs-ink);
	color: #fff;
	overflow: hidden;
	font-family: "Poppins", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	margin: 0;
}

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

/* Ocupa a largura toda da tela, mesmo dentro de uma coluna do tema. */
.mvs.mvs--bleed {
	width: calc(100vw - var(--mvs-sbw));
	max-width: none;
	margin-left: calc(50% - (100vw - var(--mvs-sbw)) / 2);
	margin-right: calc(50% - (100vw - var(--mvs-sbw)) / 2);
}

/* Todos os slides ocupam a mesma célula: a altura é a do maior, sem "pulos". */
.mvs__slides {
	display: grid;
}

.mvs__slide {
	grid-area: 1 / 1;
	position: relative;
	min-height: 620px;
	display: flex;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.8s ease, visibility 0s linear 0.8s;
}

.mvs__slide.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.8s ease, visibility 0s;
	z-index: 1;
}

.mvs .mvs__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	margin: 0;
	border-radius: 0;
}

.mvs__shade {
	position: absolute;
	inset: 0;
	background: var(--mvs-shade);
}

.mvs__inner {
	position: relative;
	width: 100%;
	max-width: var(--mvs-max);
	margin: 0 auto;
	padding: 0 24px;
}

.mvs__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	max-width: 780px;
	padding: 96px 0 150px;
}

.mvs--single .mvs__content {
	padding-bottom: 96px;
}

.mvs .mvs__tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.28);
	padding: 7px 14px;
	border-radius: 999px;
}

.mvs__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex: none;
}

.mvs .mvs__title {
	margin: 0;
	font-family: inherit;
	font-size: clamp(30px, 4.4vw, 58px);
	line-height: 1.08;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: #fff;
	text-transform: none;
}

.mvs .mvs__meta {
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
	color: #fff;
}

.mvs__icon {
	color: var(--mvs-light);
	flex: none;
}

.mvs__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: 6px;
}

.mvs .mvs__btn {
	min-height: 52px;
	padding: 0 26px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.mvs .mvs__btn--primary,
.mvs .mvs__btn--primary:visited {
	background: #fff;
	color: var(--mvs-blue-dark);
	border: 0;
}

.mvs .mvs__btn--primary:hover,
.mvs .mvs__btn--primary:focus {
	background: #e6f4f5;
	color: var(--mvs-blue-dark);
}

.mvs .mvs__btn--ghost,
.mvs .mvs__btn--ghost:visited {
	background: transparent;
	color: #fff;
	border: 1.5px solid rgba(255, 255, 255, 0.75);
}

.mvs .mvs__btn--ghost:hover,
.mvs .mvs__btn--ghost:focus {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
	color: #fff;
}

/* Barra de abas e controles */
.mvs__bar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
}

.mvs__bar-inner {
	display: flex;
	align-items: flex-end;
	gap: 16px 32px;
}

.mvs__tabs {
	flex: 1 1 auto;
	min-width: 0;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	gap: 16px;
}

.mvs .mvs__tab {
	position: relative;
	appearance: none;
	background: none;
	border: 0;
	border-top: 3px solid rgba(255, 255, 255, 0.28);
	border-radius: 0;
	margin: 0;
	padding: 16px 0 26px;
	min-height: 44px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	text-align: left;
	color: #fff;
	font-family: inherit;
	opacity: 0.72;
	cursor: pointer;
	box-shadow: none;
	transition: opacity 0.2s ease;
}

.mvs .mvs__tab:hover,
.mvs .mvs__tab[aria-selected="true"] {
	opacity: 1;
	background: none;
	color: #fff;
}

.mvs__progress {
	position: absolute;
	left: 0;
	top: -3px;
	height: 3px;
	width: 0;
	background: var(--mvs-light);
}

.mvs .mvs__tab[aria-selected="true"] .mvs__progress {
	width: 100%;
}

.mvs.is-running .mvs__tab[aria-selected="true"] .mvs__progress {
	animation: mvs-progress var(--mvs-interval, 7000ms) linear forwards;
}

@keyframes mvs-progress {
	from { width: 0; }
	to { width: 100%; }
}

.mvs__num {
	font-size: 12px;
	letter-spacing: 0.14em;
	color: var(--mvs-light);
	line-height: 1;
}

.mvs__label {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mvs__controls {
	flex: none;
	display: flex;
	gap: 8px;
	padding-bottom: 22px;
}

.mvs .mvs__ctrl {
	appearance: none;
	width: 48px;
	height: 48px;
	padding: 0;
	margin: 0;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.4);
	background: transparent;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: none;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.mvs .mvs__ctrl:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
	color: #fff;
}

.mvs__ico-play,
.mvs.is-paused .mvs__ico-pause {
	display: none;
}

.mvs.is-paused .mvs__ico-play {
	display: block;
}

.mvs a:focus-visible,
.mvs button:focus-visible {
	outline: 3px solid var(--mvs-light);
	outline-offset: 3px;
}

/* Tablet */
@media (max-width: 1024px) {
	.mvs__content {
		padding-top: 72px;
	}
}

/* Celular */
@media (max-width: 767px) {
	.mvs__slide {
		min-height: 600px;
	}

	.mvs__inner {
		padding: 0 20px;
	}

	.mvs__content {
		gap: 16px;
		padding: 40px 0 110px;
	}

	.mvs .mvs__tag {
		font-size: 11px;
	}

	.mvs .mvs__meta {
		font-size: 14px;
	}

	.mvs__actions {
		flex-direction: column;
		align-self: stretch;
	}

	.mvs .mvs__btn {
		width: 100%;
	}

	.mvs .mvs__btn--ghost {
		border: 0;
		min-height: 44px;
		text-decoration: underline;
		text-underline-offset: 4px;
	}

	.mvs__bar-inner {
		align-items: center;
		gap: 12px;
	}

	.mvs__tabs {
		gap: 6px;
	}

	.mvs .mvs__tab {
		padding: 0;
		height: 44px;
		justify-content: center;
		border-top: 0;
		opacity: 1;
	}

	.mvs .mvs__tab::before {
		content: "";
		display: block;
		height: 3px;
		border-radius: 2px;
		background: rgba(255, 255, 255, 0.3);
	}

	.mvs__progress {
		top: calc(50% - 1.5px);
		border-radius: 2px;
	}

	.mvs__num,
	.mvs__label,
	.mvs__prev,
	.mvs__next {
		display: none !important;
	}

	.mvs__controls {
		padding-bottom: 0;
	}

	.mvs__bar {
		bottom: 12px;
	}
}

/* Quem prefere menos movimento não vê animações. */
@media (prefers-reduced-motion: reduce) {
	.mvs__slide,
	.mvs__slide.is-active {
		transition: none;
	}

	.mvs.is-running .mvs__tab[aria-selected="true"] .mvs__progress {
		animation: none;
		width: 100%;
	}
}

.mvs-empty {
	padding: 16px;
	border: 1px dashed #b9c2c8;
	color: #4b5863;
}
