/* Vitrine Olimpo — estilo do bloco.
   Tudo fica sob .vito-raiz para nao vazar para o resto do tema.
   As cores vem de variaveis definidas inline pela tela de ajustes. */

.vito-raiz {
	--vito-acento: #FF9500;
	--vito-acento-tinta: #ffffff;
	--vito-banner-fundo: #1A1A1A;
	--vito-raio: 10px;
	--vito-linha: rgba( 0, 0, 0, .12 );
	--vito-sutil: rgba( 0, 0, 0, .58 );
	box-sizing: border-box;
}
.vito-raiz *,
.vito-raiz *::before,
.vito-raiz *::after {
	box-sizing: inherit;
}

/* ---------------------------------------------------- banner */
.vito-banner {
	position: relative;
	background: var( --vito-banner-fundo );
	overflow: hidden;
}
.vito-slides {
	position: relative;
	min-height: clamp( 260px, 38vw, 430px );
}
.vito-slide {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	align-items: center;
	gap: 18px;
	padding: clamp( 18px, 3.5vw, 46px );
	opacity: 0;
	visibility: hidden;
	transition: opacity .5s ease;
}
.vito-slide[data-ativo="1"] {
	opacity: 1;
	visibility: visible;
}
@media ( prefers-reduced-motion: reduce ) {
	.vito-slide {
		transition: none;
	}
}
@media ( max-width: 640px ) {
	.vito-slide {
		grid-template-columns: 1fr;
		grid-template-rows: auto minmax( 0, 1fr );
		text-align: center;
		gap: 10px;
		padding: 18px 16px 34px;
	}
}
.vito-slide-texto {
	min-width: 0;
}
.vito-chapeu {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var( --vito-acento );
	margin-bottom: 6px;
}
.vito-titulo {
	margin: 0;
	color: #fff;
	font-size: clamp( 22px, 4vw, 40px );
	line-height: 1.08;
	letter-spacing: -.02em;
	text-wrap: balance;
}
.vito-texto {
	margin: 8px 0 0;
	color: rgba( 255, 255, 255, .88 );
	font-size: clamp( 13px, 1.6vw, 16px );
	max-width: 44ch;
}
@media ( max-width: 640px ) {
	.vito-texto {
		margin-inline: auto;
	}
}
.vito-botao {
	display: inline-block;
	margin-top: 16px;
	padding: 11px 22px;
	border-radius: 999px;
	background: var( --vito-acento );
	color: var( --vito-acento-tinta );
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
}
.vito-botao:hover,
.vito-botao:focus {
	color: var( --vito-acento-tinta );
	filter: brightness( .94 );
}
.vito-slide-figura {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	height: 100%;
}
.vito-slide-figura img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: drop-shadow( 0 18px 28px rgba( 0, 0, 0, .35 ) );
}

.vito-seta {
	position: absolute;
	top: 50%;
	transform: translateY( -50% );
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba( 255, 255, 255, .92 );
	color: #111;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	display: grid;
	place-items: center;
	z-index: 2;
}
.vito-banner .vito-ant {
	left: 10px;
}
.vito-banner .vito-prox {
	right: 10px;
}
.vito-seta:focus-visible,
.vito-trilho-seta:focus-visible,
.vito-pontos button:focus-visible {
	outline: 3px solid var( --vito-acento );
	outline-offset: 2px;
}
.vito-pontos {
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX( -50% );
	display: flex;
	gap: 7px;
	z-index: 2;
}
.vito-pontos button {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba( 255, 255, 255, .45 );
	cursor: pointer;
	transition: width .2s ease;
}
.vito-pontos button[aria-current="true"] {
	background: var( --vito-acento );
	width: 24px;
	border-radius: 999px;
}
@media ( prefers-reduced-motion: reduce ) {
	.vito-pontos button {
		transition: none;
	}
}

/* ---------------------------------------------------- trilhos */
.vito-faixa {
	padding: clamp( 20px, 3vw, 34px ) 0;
}
.vito-faixa-topo {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 14px;
}
.vito-faixa-titulo {
	margin: 0;
	font-size: clamp( 18px, 2.4vw, 24px );
	letter-spacing: -.01em;
}
.vito-faixa-sub {
	margin: 2px 0 0;
	font-size: 14px;
	color: var( --vito-sutil );
}

.vito-trilho-caixa {
	position: relative;
}
.vito-trilho {
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 0 0 8px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
}
@media ( prefers-reduced-motion: reduce ) {
	.vito-trilho {
		scroll-behavior: auto;
	}
}
.vito-trilho:focus-visible {
	outline: 2px solid var( --vito-acento );
	outline-offset: 4px;
}
.vito-card {
	flex: 0 0 clamp( 150px, 20vw, 196px );
	scroll-snap-align: start;
	min-width: 0;
	margin: 0;
}
.vito-card-link {
	display: flex;
	flex-direction: column;
	gap: 8px;
	height: 100%;
	padding: 10px;
	border: 1px solid var( --vito-linha );
	border-radius: var( --vito-raio );
	background: #fff;
	color: inherit;
	text-decoration: none;
}
.vito-card-link:hover {
	border-color: var( --vito-acento );
}
.vito-foto {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: calc( var( --vito-raio ) - 4px );
	background: #fff;
}
.vito-foto img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}
.vito-selo {
	align-self: flex-start;
	padding: 2px 8px;
	border-radius: 4px;
	background: var( --vito-acento );
	color: var( --vito-acento-tinta );
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
}
.vito-nome {
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.32;
	overflow-wrap: anywhere;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.vito-preco {
	margin-top: auto;
	font-size: 16px;
	font-weight: 700;
}
.vito-preco del {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: var( --vito-sutil );
}
.vito-preco ins {
	text-decoration: none;
}

.vito-trilho-seta {
	position: absolute;
	top: calc( 50% - 16px );
	transform: translateY( -50% );
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid var( --vito-linha );
	border-radius: 50%;
	background: #fff;
	color: #111;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	display: grid;
	place-items: center;
	z-index: 2;
	box-shadow: 0 3px 12px rgba( 0, 0, 0, .16 );
}
.vito-trilho-caixa .vito-ant {
	left: -6px;
}
.vito-trilho-caixa .vito-prox {
	right: -6px;
}
.vito-trilho-seta[hidden] {
	display: none;
}
