/**
 * Shortcode [servicos] Ã¢â‚¬â€œ 2 colunas: itens ÃƒÂ  esquerda, imagem + texto ÃƒÂ  direita.
 */

 .ac-servicos {
	--ac-servicos-selected: #708AC2;
	--ac-servicos-radius: 4px;
	--ac-servicos-max-height: 600px;
	width: 100%;
	max-width: 100%;
}

.ac-servicos__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	align-items: stretch;
	min-height: 0;
}

.ac-servicos__grid > .ac-servicos__col-left,
.ac-servicos__grid > .ac-servicos__col-right {
	min-height: 0;
}

@media (max-width: 781px) {
	.ac-servicos__grid {
		grid-template-columns: 1fr;
		align-items: start;
		max-height: none;
	}
}

/* Coluna esquerda: mesma altura que a imagem, 4 itens a preencher o espaÃƒÂ§o */
.ac-servicos__col-left {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-height: 0;
}

@media (min-width: 782px) {
	.ac-servicos__col-left {
		height: 100%;
	}
	.ac-servicos__item {
		flex: 1;
		min-height: 0;
		display: flex;
		align-items: center;
	}
}

.ac-servicos__item {
	display: block;
	width: 100%;
	padding: 16px 50px;
	text-align: left;
	font-family: inherit;
	font-size: 18px;
	line-height: 1.4;
	color: inherit;
	background: #fff;
	border-radius: var(--ac-servicos-radius);
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.ac-servicos__item:hover {
	border-color: #ccc;
	background: #fafafa;
}

.ac-servicos__item.is-selected {
	background: #39579b;
	color: #fff;
}

.ac-servicos__item.is-selected .ac-servicos__item-title {
	color: #fff;
}

.ac-servicos__item-title {
	font-weight: 700;
}

/* Coluna direita: texto em cima, imagem em baixo */
.ac-servicos__col-right {
	border-radius: var(--ac-servicos-radius);
	overflow: hidden;
	min-height: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.ac-servicos__content {
	padding: 24px 0;
}

.ac-servicos__overlay-text {
	margin: 0 0 12px;
	font-size: 15px;
	line-height: 1.5;
	max-width: 100%;
	color: inherit;
}

.ac-servicos__overlay-link {
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ac-servicos__overlay-link:hover {
	text-decoration: none;
}

.ac-servicos__image-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 4/3;
	min-height: 280px;
	background: #f0f0f0;
	border-radius: var(--ac-servicos-radius);
	overflow: hidden;
}

.ac-servicos__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: opacity 0.35s ease;
}

.ac-servicos__img.ac-servicos__img--placeholder {
	background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 100%);
	opacity: 1;
}

.ac-servicos__data {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
