/* Cards Carousel para Elementor */

.ecc-carousel {
	position: relative;
	width: 100%;
}

.ecc-carousel .ecc-swiper {
	overflow: hidden;
}

/* --------------------------------------------------------------------------
 * Estrutura mínima do Swiper (escopada no widget), para funcionar mesmo que
 * o CSS do Swiper do Elementor não seja carregado nesta página.
 * -------------------------------------------------------------------------- */
.ecc-carousel .swiper {
	position: relative;
	overflow: hidden;
	list-style: none;
	padding: 0;
	margin: 0 auto;
	z-index: 1;
}

.ecc-carousel .swiper-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	z-index: 1;
	display: flex;
	box-sizing: content-box;
	transition-property: transform;
}

/* Garante alturas iguais entre os cards */
.ecc-carousel .swiper-slide {
	flex-shrink: 0;
	position: relative;
	height: auto;
	display: flex;
}

/* Card */
.ecc-card {
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: column;
	background-color: #fff;
	border-radius: 16px;
	padding: 32px 28px;
	overflow: hidden;
	box-sizing: border-box;
}

/* Barra de destaque lateral */
.ecc-card--featured::before {
	content: "";
	position: absolute;
	top: 22px;
	bottom: 22px;
	left: 0;
	width: 4px;
	border-radius: 0 4px 4px 0;
	background-color: #1e5f8c;
}

.ecc-card__title {
	margin: 0 0 16px;
	color: #1e5f8c;
	font-weight: 700;
	font-size: 24px;
	line-height: 1.2;
}

.ecc-card__text {
	margin: 0;
	color: #555;
	font-size: 16px;
	line-height: 1.7;
}

/* Setas */
.ecc-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background-color: #fff;
	color: #1e5f8c;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.ecc-arrow:hover {
	transform: translateY(-50%) scale(1.08);
}

.ecc-arrow--prev {
	left: -8px;
}

.ecc-arrow--next {
	right: -8px;
}

.ecc-arrow.swiper-button-disabled {
	opacity: 0.35;
	cursor: default;
}

/* Paginação */
.ecc-carousel .ecc-pagination {
	position: static;
	margin-top: 20px;
	text-align: center;
}

.ecc-carousel .swiper-pagination-bullet {
	display: inline-block;
	width: 9px;
	height: 9px;
	margin: 0 4px;
	border-radius: 50%;
	background: #c4c4c4;
	cursor: pointer;
	opacity: 0.4;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.ecc-carousel .swiper-pagination-bullet-active {
	opacity: 1;
	transform: scale(1.2);
	background-color: #1e5f8c;
}

/* Responsivo — some com as setas em telas menores */
@media (max-width: 767px) {
	.ecc-arrow--prev {
		left: 2px;
	}
	.ecc-arrow--next {
		right: 2px;
	}
}
