/**
 * Pages détail services (static) — lisibilité, contraste, hiérarchie.
 * Couleurs d’accent : définir --sd-accent et --sd-accent-soft dans :root (inline par page).
 */

/* Menu : évite le halo blanc (rgba + backdrop-filter) sur fond noir */
body.page-service-detail header.menu-wrapper .menu {
	background: rgba(20, 21, 26, 0.96) !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 10px 36px rgba(0, 0, 0, 0.55);
}

body.page-service-detail header.menu-wrapper.sticky .menu {
	background: rgba(18, 19, 24, 0.98) !important;
}

body.page-service-detail .main > .section-pattern:first-child {
	background: radial-gradient(ellipse 100% 55% at 50% 0%, rgba(255, 255, 255, 0.045), transparent 52%);
}

.service-detail {
	padding: 1.25rem 0 2.75rem;
}

.service-detail__inner {
	max-width: 920px;
	margin: 0 auto;
	padding: 0 1rem;
}

.service-detail__bc {
	font-size: 0.8rem;
	margin: 0 0 1.1rem;
	color: rgba(255, 255, 255, 0.58);
	letter-spacing: 0.02em;
}

.service-detail__bc a {
	color: #9ad63c;
	text-decoration: none;
}

.service-detail__bc a:hover {
	text-decoration: underline;
}

.service-detail__hero {
	display: grid;
	gap: 1.25rem;
	align-items: center;
	margin-bottom: 1.85rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 720px) {
	.service-detail__hero {
		grid-template-columns: 1fr minmax(272px, 42%);
		gap: 2rem;
		align-items: center;
	}
}

.service-detail__hero-text h1 {
	font-size: clamp(1.35rem, 3.2vw, 2rem);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 0.65rem;
	color: #fff;
}

.service-detail__lead {
	font-size: 1rem;
	line-height: 1.58;
	color: rgba(255, 255, 255, 0.78);
	margin: 0;
	max-width: 40em;
}

.service-detail__hero-media {
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.16);
	aspect-ratio: 4 / 3;
	box-shadow:
		0 16px 40px rgba(0, 0, 0, 0.5),
		0 0 0 1px rgba(0, 0, 0, 0.2);
}

.service-detail__hero-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.service-detail__blocks {
	display: grid;
	gap: 1rem;
	min-width: 0;
}

@media (min-width: 600px) {
	.service-detail__blocks {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.1rem;
	}
}

@media (min-width: 900px) {
	.service-detail__blocks--3 {
		grid-template-columns: repeat(3, 1fr);
	}
}

.service-detail-block {
	min-width: 0;
	background: linear-gradient(160deg, rgba(38, 42, 52, 0.96) 0%, rgba(20, 22, 28, 0.99) 100%);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	padding: 1.15rem 1.2rem 1.25rem;
	border-top: 4px solid var(--sd-accent);
	box-shadow:
		0 8px 28px rgba(0, 0, 0, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.service-detail-block h2 {
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	margin: 0 0 0.65rem;
	color: #fff;
}

.service-detail-block ul {
	margin: 0;
	padding-left: 1.15rem;
	font-size: 0.9rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.86);
}

.service-detail-block li {
	margin-bottom: 0.35rem;
}

.service-detail__quote {
	margin-top: 1.5rem;
	padding: 1rem 1.15rem;
	font-size: 0.95rem;
	line-height: 1.55;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-left: 4px solid var(--sd-accent-soft);
	background: rgba(30, 36, 48, 0.82);
	color: rgba(255, 255, 255, 0.9);
}

.service-detail__actions {
	margin-top: 1.25rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.15rem;
}

.service-detail .btn-contact {
	display: inline-block;
	font-size: 0.88rem;
	padding: 0.65rem 1.2rem;
	color: #fff !important;
	text-decoration: none;
	font-weight: 600;
	border-radius: 10px;
	background: linear-gradient(105deg, var(--sd-accent), var(--sd-btn-end, var(--sd-accent-soft)));
	transition: transform 0.2s ease, box-shadow 0.2s;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.service-detail .btn-contact:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.service-detail__back {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.62) !important;
	text-decoration: none;
}

.service-detail__back:hover {
	color: #9ad63c !important;
}

.section-pattern .content.service-detail {
	width: 100%;
	max-width: 1080px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
	padding-top: 1.5rem !important;
	padding-bottom: 2.5rem !important;
	padding-left: clamp(1rem, 4vw, 2rem) !important;
	padding-right: clamp(1rem, 4vw, 2rem) !important;
}

.service-detail__inner {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

@media (max-width: 719px) {
	.service-detail__hero {
		align-items: start;
	}
}
