/* Cartes « Services » : reproduction fidèle de l'ancienne section de l'accueil, mais pilotée par l'espace de gestion. */
.zd-svc-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	width: 100%;
}

.zd-svc {
	display: flex;
	flex-direction: column;
	flex: 0 1 calc((100% - 40px) / 3);
	min-width: 280px;
	background: #fff;
	border: 1px solid #c0c0c0;
	border-radius: 25px;
	box-shadow: 0 0 10px rgba(124, 124, 124, 0.5);
	transition: box-shadow 0.25s ease;
}

.zd-svc:hover {
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.zd-svc__media {
	height: 205px;
	border-radius: 10%;
	overflow: hidden;
	background: #f1f1f1;
}

.zd-svc__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.zd-svc__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 32px;
}

.zd-svc__title {
	margin: 0 0 12px;
	font-family: "Montserrat", sans-serif;
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.333;
	color: #333;
}

.zd-svc__rule {
	display: block;
	height: 27px;
	background: var(--zd-squiggle, none) no-repeat left center;
}

.zd-svc__desc,
.zd-svc__points {
	font-family: "Merriweather Sans", sans-serif;
	font-size: 14px;
	line-height: 1.6;
	color: #212121;
}

.zd-svc__desc {
	margin: 0 0 12px;
}

.zd-svc__points {
	margin: 0;
	padding: 0;
	list-style: none;
}

.zd-svc__points li {
	position: relative;
	padding-left: 28px;
	margin: 0 0 8px;
}

.zd-svc__points li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.2em;
	width: 16px;
	height: 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ed154b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 12.5l3 3 5-6'/%3E%3C/svg%3E") no-repeat center / contain;
}

.zd-svc__cta {
	margin-top: auto;
	padding-top: 30px;
}

.zd-svc__btn {
	display: inline-block;
	padding: 12px 30px;
	border: 3px solid #ed154b;
	border-radius: 1000px;
	background: #ed154b;
	color: #fff;
	font-family: "Merriweather Sans", sans-serif;
	font-size: 15px;
	line-height: 1.5;
	text-decoration: none;
}

.zd-svc__btn:hover,
.zd-svc__btn:focus-visible {
	color: #fff;
	animation: zd-wobble-v 1s ease-in-out 1;
}

@keyframes zd-wobble-v {
	16.65% { transform: translateY(8px); }
	33.3% { transform: translateY(-6px); }
	49.95% { transform: translateY(4px); }
	66.6% { transform: translateY(-2px); }
	83.25% { transform: translateY(1px); }
	100% { transform: translateY(0); }
}

.zd-svc-empty {
	text-align: center;
	color: #666;
}

@media (max-width: 1024px) {
	.zd-svc {
		flex-basis: calc((100% - 20px) / 2);
	}
}

@media (max-width: 767px) {
	.zd-svc {
		flex-basis: 100%;
	}

	.zd-svc__media {
		height: 112px;
	}

	.zd-svc__body {
		padding: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.zd-svc,
	.zd-svc__btn {
		transition: none;
		animation: none !important;
	}
}
