/**
 * Serviços e categorias de serviços (service_category).
 */

.section-services-category .services-category-header {
	margin-bottom: 2rem;
}

.section-services-category .services-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.card-service--stacked {
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: 14px;
	overflow: hidden;
	text-decoration: none;
	background: #fff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-service--stacked:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	text-decoration: none;
}

.card-service--stacked .card-service-media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--mpi-color-light, #f0f0f0);
}

.card-service--stacked .card-service-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.card-service--stacked .card-service-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 180px;
	color: var(--mpi-color-tertiary, #9a9a9a);
	font-size: 2rem;
}

.card-service--stacked .card-service-footer {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 1.25rem 1rem;
	background: var(--mpi-color-dark, #1e3a5f);
	color: #fff;
	min-height: 88px;
}

.card-service--stacked .card-service-footer-title {
	margin: 0;
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.35;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: #fff;
}

.card-service--stacked .card-service-footer-text {
	margin: 0.5rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.45;
	font-weight: 400;
	text-transform: none;
	color: rgba(255, 255, 255, 0.9);
}

.section-services-category .services-empty-message {
	text-align: center;
	padding: 2rem;
	color: var(--mpi-color-tertiary, #6c6c6c);
}

.category-wrong-type-notice {
	max-width: 720px;
	margin: 2rem auto;
	padding: 1.5rem;
	background: var(--mpi-color-light, #f6f6f6);
	border-radius: 12px;
}

.category-wrong-type-notice p {
	margin-bottom: 0.75rem;
}

.category-wrong-type-notice p:last-child {
	margin-bottom: 0;
}
