/* Adaptation WordPress du prototype H. Le verre est une approximation web. */

.dh66-prototype-home {
	--dh-glass-radius: var(--dh66-radius-lg, 16px);
	min-height: 100dvh;
}

.dh66-prototype-home.admin-bar .dh-header {
	top: 32px;
}

.dh66-prototype-home .dh-header,
.dh66-prototype-home .dh-footer,
.dh66-prototype-home main {
	width: 100%;
}

.dh66-prototype-home .dh-menu,
.dh66-prototype-home .dh-theme,
.dh66-prototype-home .dhh-carousel__toggle,
.dh66-prototype-home .dh-symptoms button {
	min-width: 44px;
	min-height: 44px;
}

.dh66-prototype-home .dhh-intro h1,
.dh66-prototype-home .dhh-intro__promise,
.dh66-prototype-home .dh66-services-preview h2,
.dh66-prototype-home .dh66-service-card h3,
.dh66-prototype-home .dh-method h2,
.dh66-prototype-home .dh-method h3,
.dh66-prototype-home .dh-contact h2 {
	font-family: var(--dh66-font-sans, "Avenir Next", Avenir, "Segoe UI", sans-serif);
}

.dh66-services-preview {
	padding-block: clamp(88px, 10vw, 136px) clamp(72px, 9vw, 120px);
}

.dh66-services-preview__heading {
	max-width: 760px;
	margin-bottom: clamp(30px, 4vw, 52px);
}

.dh66-services-preview__heading h2 {
	max-width: 720px;
	margin: 0;
	color: var(--dh-ink);
	font-size: clamp(34px, 4.4vw, 60px);
	line-height: 1.02;
	letter-spacing: -.045em;
}

.dh66-services-preview__heading p {
	max-width: 620px;
	margin: 18px 0 0;
	color: var(--dh-text);
	font-size: clamp(16px, 1.4vw, 19px);
	line-height: 1.6;
}

.dh66-services-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
	gap: clamp(16px, 2vw, 24px);
}

.dh66-service-card {
	position: relative;
	display: grid;
	grid-template-columns: 148px minmax(0, 1fr);
	min-height: 172px;
	overflow: hidden;
	border: 1px solid var(--dh-glass-border);
	border-radius: var(--dh-glass-radius);
	background:
		linear-gradient(135deg, var(--dh-glass-fill), var(--dh-glass-fill-soft)),
		color-mix(in srgb, var(--dh-bg) 12%, transparent);
	box-shadow: inset 0 1px 0 var(--dh-glass-edge), var(--dh-glass-shadow);
	backdrop-filter: blur(12px) saturate(132%);
	-webkit-backdrop-filter: blur(12px) saturate(132%);
}

.dh66-service-card--featured {
	grid-row: span 4;
	grid-template-columns: 1fr;
	min-height: 100%;
}

.dh66-service-card img {
	width: 100%;
	height: 100%;
	min-height: 172px;
	object-fit: cover;
}

.dh66-service-card--featured img {
	min-height: 430px;
	max-height: 540px;
}

.dh66-service-card > div {
	display: grid;
	align-content: center;
	padding: clamp(20px, 2.2vw, 30px);
}

.dh66-service-card h3 {
	margin: 0;
	color: var(--dh-ink);
	font-size: clamp(21px, 2vw, 30px);
	line-height: 1.08;
	letter-spacing: -.03em;
}

.dh66-service-card p {
	display: -webkit-box;
	max-width: 48ch;
	margin: 12px 0 0;
	overflow: hidden;
	color: var(--dh-text);
	font-size: 14px;
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.dh66-service-card--featured p {
	font-size: 16px;
	-webkit-line-clamp: 4;
}

.dh66-prototype-home .dh-method {
	padding-top: clamp(80px, 9vw, 126px);
}

.dh66-prototype-home .dh-contact {
	padding-top: clamp(72px, 8vw, 110px);
}

.dh66-prototype-home .dh-footer a {
	color: inherit;
	text-decoration-thickness: .08em;
	text-underline-offset: .2em;
}

@media (max-width: 900px) {
	.dh66-services-grid {
		grid-template-columns: 1fr;
	}

	.dh66-service-card--featured {
		grid-row: auto;
	}
}

@media (max-width: 782px) {
	.dh66-prototype-home.admin-bar .dh-header {
		top: 46px;
	}
}

@media (max-width: 540px) {
	.dh66-prototype-home .dh-shell {
		width: min(100% - 32px, var(--max-width));
	}

	.dh66-services-preview {
		padding-block: 72px 56px;
	}

	.dh66-service-card,
	.dh66-service-card--featured {
		grid-template-columns: 1fr;
	}

	.dh66-service-card img,
	.dh66-service-card--featured img {
		min-height: 0;
		max-height: none;
		aspect-ratio: 16 / 10;
	}

	.dh66-service-card > div {
		padding: 22px;
	}
}

@media (prefers-reduced-transparency: reduce) {
	.dh66-service-card {
		background: var(--dh-bg);
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}
}

