/* ============================================================
   Depoimentos em Vídeo (Carrossel) - sm-testimonials-video
   ============================================================ */

.sm-testimonials-video {
	width: 100%;
	max-width: 1124px;
	margin: 0 auto;
}

.sm-testimonials-video__carousel {
	position: relative;
}

/* Espaço para a sombra do card não cortar */
.sm-testimonials-video__item {
	height: auto;
	padding: 10px 12px;
}

/* Card */
.sm-testimonials-video__card {
	display: flex;
	flex-direction: column;
	background: #FFFFFF;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 14px;
	overflow: hidden;
	height: 100%;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

@media (min-width: 1025px) {
	.sm-testimonials-video__card {
		width: 340px;
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
	}
}

@media (max-width: 1024px) {
	.sm-testimonials-video {
		max-width: 100%;
	}
}

/* Thumbnail + Play */
.sm-testimonials-video__thumb {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16/9;
	width: 100%;
	min-height: 0;
	cursor: pointer;
	background: #000;
}

.sm-testimonials-video__thumb img,
.sm-testimonials-video__cover {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sm-testimonials-video__card > .sm-testimonials-video__thumb:first-child {
	margin: 0;
	flex: 0 0 auto;
}

.sm-testimonials-video__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.3);
	transition: background 0.3s;
}

.sm-testimonials-video__thumb:hover .sm-testimonials-video__play {
	background: rgba(0, 0, 0, 0.5);
}

.sm-testimonials-video__play svg {
	fill: #FFFFFF;
	width: 56px;
	height: 56px;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
	transition: transform 0.3s;
}

.sm-testimonials-video__thumb:hover .sm-testimonials-video__play svg {
	transform: scale(1.12);
}

/* Info bar */
.sm-testimonials-video__info {
	padding: 16px 20px 20px;
	flex: 1;
}

.sm-testimonials-video__name {
	margin: 0 0 4px;
	font-family: "Poppins", sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #181A2A;
	line-height: 1.3;
}

.sm-testimonials-video__role {
	margin: 0 0 2px;
	font-family: "Inter", sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #374151;
	line-height: 1.4;
}

.sm-testimonials-video__city {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: #6B7280;
	line-height: 1.4;
}

/* Video Modal */
.sm-testimonials-video__modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(0, 0, 0, 0.85);
	align-items: center;
	justify-content: center;
}

.sm-testimonials-video__modal.is-open {
	display: flex;
}

.sm-testimonials-video__modal-inner {
	position: relative;
	width: 90%;
	max-width: 900px;
	aspect-ratio: 16/9;
}

.sm-testimonials-video__modal-inner iframe {
	width: 100%;
	height: 100%;
	border: none;
	border-radius: 12px;
}

.sm-testimonials-video__modal-close {
	position: absolute;
	top: -40px;
	right: 0;
	background: none;
	border: none;
	color: #fff;
	font-size: 36px;
	cursor: pointer;
	line-height: 1;
	z-index: 10;
}

.sm-testimonials-video__modal-close:hover {
	opacity: 0.8;
}
