/* ============================================================
   Bloc Prestations en grille — badges cuir vintage signature
   ============================================================ */

.sm-prestations {
	padding: clamp(64px, 9vw, 120px) 0;
}

.sm-prestations__container {
	max-width: var(--sm-col-max, 1280px);
	margin: 0 auto;
	padding-left: var(--sm-pad-x, clamp(20px, 4vw, 56px));
	padding-right: var(--sm-pad-x, clamp(20px, 4vw, 56px));
}

.sm-prestations__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 56px;
	flex-wrap: wrap;
}
.sm-prestations__head-text { flex: 1 1 60%; }
.sm-prestations__eyebrow { margin-bottom: 16px; }
.sm-prestations__title {
	font-family: var(--sm-font-display);
	font-weight: 700;
	font-size: clamp(40px, 5.5vw, 72px);
	line-height: 0.95;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	max-width: 18ch;
	margin: 0;
	color: var(--sm-fg);
}
.sm-prestations__title-accent {
	font-family: var(--sm-font-serif);
	font-style: italic;
	font-weight: 300;
	text-transform: none;
	letter-spacing: -0.01em;
	color: var(--sm-accent);
}
.sm-prestations__subtitle {
	color: var(--sm-fg-mute);
	font-size: 15px;
	max-width: 36ch;
	flex: 1 1 28%;
	margin: 0;
	line-height: 1.55;
}

.sm-prestations__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(20px, 3vw, 40px);
}

/* ----- CARTE CUIR ----- */
.sm-prestation-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 26px 22px 22px;
	border-radius: 3px;
	position: relative;
	transition: transform .35s var(--sm-ease), box-shadow .25s;
	cursor: default;
	text-decoration: none;
	color: inherit;
	background:
		radial-gradient(ellipse at 40% 35%, rgba(255,245,225,0.10) 0%, transparent 60%),
		radial-gradient(ellipse at 75% 80%, rgba(90,55,25,0.12) 0%, transparent 55%),
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='700' height='700'><filter id='l3'><feTurbulence type='turbulence' baseFrequency='0.008' numOctaves='2' seed='12'/><feColorMatrix values='0 0 0 0 0.50  0 0 0 0 0.36  0 0 0 0 0.20  0 0 0 0.45 0'/></filter><rect width='100%25' height='100%25' filter='url(%23l3)'/></svg>"),
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='l2'><feTurbulence type='turbulence' baseFrequency='0.04' numOctaves='3' seed='6'/><feColorMatrix values='0 0 0 0 0.42  0 0 0 0 0.28  0 0 0 0 0.14  0 0 0 0.45 0'/></filter><rect width='100%25' height='100%25' filter='url(%23l2)'/></svg>"),
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='l1'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' seed='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.40  0 0 0 0 0.26  0 0 0 0 0.12  0 0 0 0.35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23l1)'/></svg>"),
		linear-gradient(160deg, #d9b889 0%, #cda975 50%, #c19660 100%);
	box-shadow:
		inset 0 0 0 1px rgba(95, 60, 30, 0.45),
		inset 0 -2px 5px rgba(90, 55, 25, 0.18),
		0 3px 10px rgba(0, 0, 0, 0.12);
}

/* Sillon interieur */
.sm-prestation-card::before {
	content: "";
	position: absolute;
	inset: 4px;
	border-radius: 2px;
	border: 1px solid rgba(60, 35, 15, 0.22);
	box-shadow: inset 0 0 0 0.5px rgba(255, 240, 210, 0.18);
	pointer-events: none;
}

/* Surpiqures cousues 4 bords */
.sm-prestation-card::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	border-radius: 3px;
	background-image:
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='6' viewBox='0 0 56 6'><g fill='%23fff8e6' stroke='%234a2f10' stroke-width='0.4' stroke-linejoin='round'><rect x='2.5' y='2.1' width='9' height='2' rx='1' transform='rotate(-3 7 3.1)'/><rect x='16.5' y='1.9' width='9' height='2' rx='1' transform='rotate(4 21 2.9)'/><rect x='30.5' y='2.2' width='9' height='2' rx='1' transform='rotate(-2 35 3.2)'/><rect x='44.5' y='2' width='9' height='2' rx='1' transform='rotate(3 49 3)'/></g></svg>"),
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='6' viewBox='0 0 56 6'><g fill='%23fff8e6' stroke='%234a2f10' stroke-width='0.4' stroke-linejoin='round'><rect x='2.5' y='2' width='9' height='2' rx='1' transform='rotate(2 7 3)'/><rect x='16.5' y='2.2' width='9' height='2' rx='1' transform='rotate(-4 21 3.2)'/><rect x='30.5' y='1.9' width='9' height='2' rx='1' transform='rotate(3 35 2.9)'/><rect x='44.5' y='2.1' width='9' height='2' rx='1' transform='rotate(-2 49 3.1)'/></g></svg>"),
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='6' height='56' viewBox='0 0 6 56'><g fill='%23fff8e6' stroke='%234a2f10' stroke-width='0.4' stroke-linejoin='round'><rect x='2.1' y='2.5' width='2' height='9' rx='1' transform='rotate(3 3.1 7)'/><rect x='1.9' y='16.5' width='2' height='9' rx='1' transform='rotate(-4 2.9 21)'/><rect x='2.2' y='30.5' width='2' height='9' rx='1' transform='rotate(2 3.2 35)'/><rect x='2' y='44.5' width='2' height='9' rx='1' transform='rotate(-3 3 49)'/></g></svg>"),
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='6' height='56' viewBox='0 0 6 56'><g fill='%23fff8e6' stroke='%234a2f10' stroke-width='0.4' stroke-linejoin='round'><rect x='2' y='2.5' width='2' height='9' rx='1' transform='rotate(-2 3 7)'/><rect x='2.2' y='16.5' width='2' height='9' rx='1' transform='rotate(4 3.2 21)'/><rect x='1.9' y='30.5' width='2' height='9' rx='1' transform='rotate(-3 2.9 35)'/><rect x='2.1' y='44.5' width='2' height='9' rx='1' transform='rotate(2 3.1 49)'/></g></svg>");
	background-position: 10px 8px, 10px calc(100% - 8px), 8px 10px, calc(100% - 8px) 10px;
	background-size: 56px 6px, 56px 6px, 6px 56px, 6px 56px;
	background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
}

/* Hover - specificite renforcee pour battre .sm-reveal[data-shown="1"] */
.sm-prestation-card.sm-reveal:hover,
.sm-prestation-card:hover {
	transform: translateY(-8px) rotate(-0.6deg);
	box-shadow:
		inset 0 0 0 1px rgba(95, 60, 30, 0.5),
		inset 0 -2px 5px rgba(90, 55, 25, 0.20),
		0 16px 36px rgba(60, 35, 15, 0.30);
}
.sm-prestation-card.sm-reveal:hover .sm-prestation-card__img,
.sm-prestation-card:hover .sm-prestation-card__img {
	transform: rotate(-5deg) scale(1.06);
}

.sm-prestation-card__num {
	font-family: var(--sm-font-mono);
	font-size: 11px;
	letter-spacing: 0.22em;
	color: rgba(61, 40, 20, 0.6);
	text-transform: uppercase;
	position: relative;
	z-index: 1;
}

.sm-prestation-card__badge {
	width: 100%;
	max-width: 180px;
	position: relative;
	z-index: 1;
}

.sm-prestation-card__img {
	width: 100%;
	max-width: 180px;
	height: auto;
	display: block;
	border-radius: 50%;
	transition: transform .6s cubic-bezier(.2,.9,.2,1.4);
	mix-blend-mode: multiply;
	filter: brightness(0.88) contrast(1.18) saturate(1.15);
}

.sm-prestation-card__title {
	font-family: var(--sm-font-display);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #3d2814;
	text-shadow: 0 1px 0 rgba(255, 240, 210, 0.30);
	text-align: center;
	margin: 0;
	line-height: 1;
	position: relative;
	z-index: 1;
}

.sm-prestation-card__meta {
	font-family: var(--sm-font-mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(61, 40, 20, 0.78);
	text-align: center;
	max-width: 26ch;
	position: relative;
	z-index: 1;
}

@media (max-width: 900px) {
	.sm-prestations__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.sm-prestation-card { padding: 18px 12px 16px; }
	.sm-prestation-card__badge { max-width: 150px; }
	.sm-prestation-card__img { max-width: 150px; }
	.sm-prestations__head { align-items: flex-start; }
	.sm-prestations__title { font-size: clamp(32px, 5vw, 48px); }
}

@media (max-width: 480px) {
	.sm-prestations__grid { grid-template-columns: 1fr; }
	.sm-prestation-card__badge { max-width: 200px; }
	.sm-prestation-card__img { max-width: 200px; }
}
                                                                     