/* First slide: composition matching the approved Activenso slider mock-up. */
.ahp-hero-slide.is-maquette .ahp-hero-slide-inner {
	width: min(1720px, calc(100% - 80px)) !important;
	max-width: 1720px !important;
	grid-template-columns: minmax(0, .88fr) minmax(560px, 1.12fr);
	grid-template-rows: auto auto;
	gap: 14px clamp(30px, 5vw, 86px);
}

.ahp-hero-slide.is-maquette .ahp-hero-slide-content {
	display: contents;
}

.ahp-maquette-copy {
	grid-column: 1;
	grid-row: 1;
	align-self: end;
}

.ahp-maquette-copy h1 {
	max-width: 720px;
	margin: 0;
	font-size: clamp(52px, 4.5vw, 76px);
	line-height: 1.04;
	letter-spacing: -.045em;
	color: #0f172a;
}

.ahp-maquette-copy h1 span {
	display: block;
	color: #2563eb !important;
	white-space: nowrap;
}

.ahp-hero-slide.is-maquette .ahp-hero-slide-visual {
	grid-column: 2;
	grid-row: 1 / span 2;
	min-height: 620px;
	height: 620px;
	border-radius: 0;
}

.ahp-hero-slide.is-maquette .ahp-hero-slide-visual > img {
	object-fit: cover;
	object-position: center;
}

.ahp-maquette-action {
	grid-column: 1;
	grid-row: 2;
	align-self: start;
}

.ahp-maquette-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	min-width: 242px;
	padding: 15px 25px;
	border-radius: 999px;
	background: #ff6a00;
	color: #fff !important;
	font-weight: 800;
	font-size: 16px;
	box-shadow: 0 10px 24px rgba(249, 115, 22, .25);
}

.ahp-maquette-button:hover { background: #ea580c; }
.ahp-maquette-button span { font-size: 29px; line-height: 14px; }

@media (max-width: 767px) {
	.ahp-hero-slide.is-maquette .ahp-hero-slide-inner {
		display: flex;
		flex-direction: column;
		width: min(100% - 32px, 1280px) !important;
		max-width: none !important;
		gap: 16px;
		padding: 28px 0 24px;
	}

	.ahp-maquette-copy {
		order: 1;
		text-align: center;
	}

	.ahp-maquette-copy h1 {
		max-width: 450px;
		margin: 0 auto;
		font-size: 36px !important;
		line-height: 1.08;
	}

	body.ahp-builder-preview .ahp-maquette-copy h1 {
		max-width: 450px !important;
		font-size: 36px !important;
	}

	.ahp-hero-slide.is-maquette .ahp-hero-slide-visual {
		order: 2;
		width: 100%;
		height: 285px;
		min-height: 285px;
	}

	.ahp-maquette-action {
		order: 3;
		width: 100%;
		text-align: center;
	}

	.ahp-maquette-button {
		width: min(100%, 350px);
		padding: 16px 22px;
	}
}
