/* Homepage viva — mosaicos de categoria sob o hero. Isolado do homepage-v2. */

.cv2-hc-sec {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 40px 0 64px;
	box-sizing: border-box;
}
.cv2-hc-sec__inner {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding-left: 16px;
	padding-right: 16px;
	box-sizing: border-box;
}

.cv2-hc__head {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 18px;
}

html body.cv2-home-blank h2.cv2-hc__heading,
.cv2-hc-sec h2.cv2-hc__heading {
	margin: 0 !important;
	padding: 0 !important;
	font-family: Poppins, Helvetica, Arial, sans-serif !important;
	font-weight: 700 !important;
	font-size: 34px !important;
	line-height: 1.1 !important;
	letter-spacing: 0.04em !important;
	text-transform: uppercase !important;
	color: #1a1519 !important;
	text-align: left !important;
}

.cv2-hc__nav {
	display: none;
	-webkit-align-items: center;
	align-items: center;
	gap: 8px;
	-webkit-flex: 0 0 auto;
	flex: 0 0 auto;
}
.cv2-hc-sec.cv2-hc--scroll .cv2-hc__nav {
	display: -webkit-flex;
	display: flex;
}

.cv2-hc__prev,
.cv2-hc__next {
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 1px solid #d8d2ce;
	border-radius: 50%;
	background: #f3f0ed;
	color: #1b1519;
	cursor: pointer;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
}
.cv2-hc__prev:hover,
.cv2-hc__next:hover {
	background: #ece8e4;
}
.cv2-hc__prev:disabled,
.cv2-hc__next:disabled {
	opacity: 0.35;
	cursor: default;
}

.cv2-hc {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: nowrap;
	flex-wrap: nowrap;
	gap: 12px;
	margin: 0;
	padding: 0 0 6px;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.cv2-hc::-webkit-scrollbar { display: none; }

.cv2-hc__tile {
	position: relative;
	display: block;
	-webkit-flex: 0 0 calc((100% - 36px) / 4);
	flex: 0 0 calc((100% - 36px) / 4);
	width: calc((100% - 36px) / 4);
	max-width: calc((100% - 36px) / 4);
	height: auto;
	aspect-ratio: 4 / 5;
	border-radius: 15px;
	overflow: hidden;
	background: #2a0014;
	text-decoration: none;
	color: #fff;
	scroll-snap-align: start;
}

.cv2-hc__tile:focus { outline: none; }
.cv2-hc__tile:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.cv2-hc__photo {
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 25%;
	display: block;
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: -webkit-transform 300ms ease-out;
	transition: transform 300ms ease-out;
}
.cv2-hc__tile:hover .cv2-hc__photo,
.cv2-hc__tile:focus-visible .cv2-hc__photo {
	-webkit-transform: scale(1.04);
	transform: scale(1.04);
}
.cv2-hc__photo--hover {
	z-index: 0;
	opacity: 0;
	-webkit-transition: opacity 350ms ease, -webkit-transform 300ms ease-out;
	transition: opacity 350ms ease, transform 300ms ease-out;
}
.cv2-hc__tile:hover .cv2-hc__photo--hover,
.cv2-hc__tile:focus-visible .cv2-hc__photo--hover {
	opacity: 1;
}

.cv2-hc__tile:after {
	content: "";
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	background: linear-gradient(to top, rgba(0,0,0,.18) 0%, transparent 42%);
	pointer-events: none;
}

.cv2-hc__icon {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(0,0,0,.35);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	color: rgba(255,255,255,.9);
	line-height: 0;
}
.cv2-hc__icon .cv2-micon,
.cv2-hc__icon svg {
	display: block;
	width: 24px;
	height: 24px;
	color: rgba(255,255,255,.9);
	stroke: currentColor;
	stroke-width: 1.5;
}

.cv2-hc__body {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 12px;
	top: auto;
	z-index: 1;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: flex-end;
	justify-content: flex-end;
	padding: 14px 40px 14px 16px;
	color: #fff;
	box-sizing: border-box;
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.14) 100%);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	backdrop-filter: blur(16px) saturate(140%);
}

html body.cv2-home-blank h3.cv2-hc__name,
.cv2-hc h3.cv2-hc__name {
	margin: 0 0 4px !important;
	padding: 0 !important;
	font-family: Poppins, Helvetica, Arial, sans-serif !important;
	font-weight: 600 !important;
	font-size: 16px !important;
	line-height: 1.2 !important;
	letter-spacing: 0.04em !important;
	text-transform: uppercase !important;
	color: #fff !important;
	text-align: left !important;
}

.cv2-hc__sub {
	display: block;
	min-height: 0;
	font-family: Inter, Manrope, Poppins, Arial, sans-serif;
	font-size: 12px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.86);
}

.cv2-hc__go {
	position: absolute;
	right: 14px;
	top: 50%;
	bottom: auto;
	z-index: 2;
	font-family: Inter, Manrope, Arial, sans-serif;
	font-size: 18px;
	line-height: 1;
	color: #fff;
	opacity: 0.7;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	-webkit-transition: opacity 300ms ease-out, -webkit-transform 300ms ease-out;
	transition: opacity 300ms ease-out, transform 300ms ease-out;
}
.cv2-hc__tile:hover .cv2-hc__go,
.cv2-hc__tile:focus-visible .cv2-hc__go {
	opacity: 1;
	-webkit-transform: translateY(-50%) translateX(4px);
	transform: translateY(-50%) translateX(4px);
}

@media only screen and (max-width: 1100px) {
	.cv2-hc__tile {
		-webkit-flex-basis: calc((100% - 24px) / 3);
		flex-basis: calc((100% - 24px) / 3);
		width: calc((100% - 24px) / 3);
		max-width: calc((100% - 24px) / 3);
	}
}

@media only screen and (max-width: 768px) {
	.cv2-hc-sec {
		margin: 0;
		padding: 28px 0 26px;
	}
	html body.cv2-home-blank h2.cv2-hc__heading,
	.cv2-hc-sec h2.cv2-hc__heading {
		font-size: 26px !important;
	}
	.cv2-hc__tile {
		-webkit-flex-basis: calc((100% - 12px) / 2);
		flex-basis: calc((100% - 12px) / 2);
		width: calc((100% - 12px) / 2);
		max-width: calc((100% - 12px) / 2);
		/* +30% height vs desktop 4/5 */
		aspect-ratio: 4 / 7.15;
	}
	.cv2-hc__body { left: 10px; right: 10px; bottom: 10px; padding: 12px 34px 12px 12px; }
	.cv2-hc__icon { top: 10px; left: 10px; width: 36px; height: 36px; }
	.cv2-hc__icon svg { width: 22px; height: 22px; }
	html body.cv2-home-blank h3.cv2-hc__name,
	.cv2-hc h3.cv2-hc__name {
		font-size: 14px !important;
		margin-bottom: 4px !important;
	}
	.cv2-hc__sub { font-size: 11px; }
	.cv2-hc__go { right: 10px; font-size: 16px; }
}
