.videos-page { overflow: hidden; }

.videos-hero {
	position: relative;
	display: grid;
	grid-template-columns: 58% 42%;
	min-height: min(42vw, 760px);
	color: var(--white);
	background: var(--navy);
}
.videos-hero__image { min-height: inherit; }
.videos-hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.videos-hero__copy {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(3rem, 5vw, 6rem) clamp(2rem, 4vw, 5rem);
	padding-left: clamp(5rem, 11vw, 14rem);
	margin-left: -8vw;
	background: var(--navy);
	clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}
.videos-hero__copy::after {
	position: absolute;
	right: 4%;
	bottom: 2%;
	width: min(60%, 410px);
	height: 320px;
	background: url("../images/shared/Watermark Logo Levefort Branco.png") center / contain no-repeat;
	opacity: .045;
	content: "";
}
.videos-hero h1 {
	position: relative;
	z-index: 1;
	margin-bottom: 1.5rem;
	font-family: var(--heading-font);
	font-size: clamp(3rem, 5vw, 6.3rem);
	font-weight: 300;
	line-height: .96;
	text-transform: uppercase;
}
.videos-hero h1 strong { font-weight: 800; }
.videos-hero__copy p {
	position: relative;
	z-index: 1;
	max-width: 570px;
	font-size: clamp(.9rem, 1vw, 1.1rem);
}
.videos-hero .whatsapp-float { right: 2.5rem; bottom: 2rem; }

.video-catalog {
	color: var(--ink);
	background: var(--white);
}
.video-group + .video-group { margin-top: clamp(4rem, 7vw, 7.5rem); }
.video-group__header {
	display: flex;
	gap: 2rem;
	align-items: center;
	justify-content: space-between;
	margin-bottom: clamp(1.25rem, 2.3vw, 2.2rem);
}
.video-group__header h2 {
	margin: 0;
	font-family: var(--heading-font);
	font-size: clamp(2.25rem, 4vw, 4.3rem);
	font-weight: 300;
	line-height: 1;
	text-transform: uppercase;
}
.video-group__header h2::first-letter { font-weight: 800; }
.video-group__controls {
	display: flex;
	gap: .65rem;
}
.video-group__controls button {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid #c9d1d7;
	border-radius: 50%;
	color: var(--ink);
	background: transparent;
	cursor: pointer;
	transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.video-group__controls button:hover {
	border-color: var(--blue);
	color: var(--blue);
	transform: translateY(-2px);
}
.video-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 1.8vw, 1.8rem);
}
.video-row--carousel {
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - clamp(2rem, 3.6vw, 3.6rem)) / 3);
	grid-template-columns: none;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-inline: contain;
}
.video-row--carousel::-webkit-scrollbar { display: none; }
.video-row--carousel .video-card { scroll-snap-align: start; }
.video-card { min-width: 0; }
.video-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 16 / 9;
	padding: 0;
	border: 0;
	color: inherit;
	background: #0c1c2d;
	cursor: pointer;
}
.video-card__media::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 50%, rgba(7, 20, 34, .34));
	content: "";
	transition: background 220ms ease;
}
.video-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms ease;
}
.video-card__media:hover img { transform: scale(1.035); }
.video-card__media:hover::after { background: rgba(7, 20, 34, .12); }
.video-card__play {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	width: clamp(52px, 4.2vw, 72px);
	height: clamp(52px, 4.2vw, 72px);
	border-radius: 50%;
	background: #d52631;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
	transform: translate(-50%, -50%);
	transition: transform 180ms ease, background 180ms ease;
}
.video-card__play::before {
	position: absolute;
	top: 50%;
	left: 53%;
	border-top: 9px solid transparent;
	border-bottom: 9px solid transparent;
	border-left: 15px solid var(--white);
	content: "";
	transform: translate(-50%, -50%);
}
.video-card__media:hover .video-card__play { background: #b91420; transform: translate(-50%, -50%) scale(1.06); }
.video-card__media iframe {
	position: absolute;
	z-index: 3;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.video-card h3 {
	margin: .9rem 0 0;
	font-size: clamp(.82rem, .95vw, 1rem);
	font-weight: 700;
	line-height: 1.35;
	text-transform: uppercase;
}

@media (max-width: 900px) {
	.videos-hero { grid-template-columns: 1fr; min-height: auto; }
	.videos-hero__image { min-height: 58vw; }
	.videos-hero__copy {
		min-height: 420px;
		padding: 4rem var(--gutter);
		margin-left: 0;
		clip-path: none;
	}
	.videos-hero .whatsapp-float { right: 1.25rem; bottom: 1.25rem; }
	.video-row,
	.video-row--carousel {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-flow: row;
		grid-auto-columns: auto;
		overflow: visible;
	}
	.video-group__controls { display: none; }
}

@media (max-width: 620px) {
	.videos-hero__image { min-height: 78vw; }
	.videos-hero__copy { min-height: 390px; }
	.videos-hero h1 { font-size: 3rem; }
	.video-group + .video-group { margin-top: 4rem; }
	.video-group__header h2 { font-size: 2.35rem; }
	.video-row,
	.video-row--carousel {
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: 86%;
		grid-template-columns: none;
		gap: .9rem;
		overflow-x: auto;
		padding-right: var(--gutter);
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}
	.video-row::-webkit-scrollbar { display: none; }
	.video-card { scroll-snap-align: start; }
	.video-card h3 { font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
	.video-row--carousel { scroll-behavior: auto; }
	.video-card__media img,
	.video-card__play { transition: none; }
}
