/**
 * Hero Votre projet — navy #022b60 · orange #fbaf3f · fond clair
 */
@import url("https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap");

html:has(.wpcursor-hero-projet) {
	overflow-x: clip;
}

.entry-content > .wpcursor-component.wpcursor-hero-projet,
.entry-content[data-ast-blocks-layout] > .wpcursor-component.wpcursor-hero-projet,
.wpcursor-component.wpcursor-hero-projet.alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.wpcursor-component.wpcursor-hero-projet {
	--sr-navy: #022b60;
	--sr-navy-soft: #5b6b82;
	--sr-orange: #fbaf3f;
	--sr-orange-hover: #e09a2e;
	--sr-white: #ffffff;
	--sr-bg: #f7f8fa;
	--sr-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--sr-serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	--sr-pad: max(1rem, env(safe-area-inset-left), env(safe-area-inset-right));
	--sr-content: 84rem;
	--sr-gutter: max(var(--sr-pad), calc((100vw - min(100vw, var(--sr-content))) / 2 + var(--sr-pad)));
	background:
		radial-gradient(ellipse 55% 60% at 88% 18%, rgba(251, 175, 63, 0.1), transparent 55%),
		radial-gradient(ellipse 45% 50% at 8% 90%, rgba(2, 43, 96, 0.05), transparent 50%),
		linear-gradient(180deg, #ffffff 0%, var(--sr-bg) 100%);
	box-sizing: border-box;
	color: var(--sr-navy);
	font-family: var(--sr-font);
	isolation: isolate;
	overflow: hidden;
	padding: 0;
	position: relative;
	width: 100%;
}

.wpcursor-component.wpcursor-hero-projet *,
.wpcursor-component.wpcursor-hero-projet *::before,
.wpcursor-component.wpcursor-hero-projet *::after {
	box-sizing: border-box;
}

.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__shell {
	align-items: center;
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
	margin: 0 auto;
	max-width: 100%;
	min-height: 32rem;
	padding: 2.25rem 0 2.5rem;
	position: relative;
	width: 100%;
}

.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0.5rem var(--sr-pad) 0;
	position: relative;
	z-index: 2;
}

.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__title {
	display: flex;
	flex-direction: column;
	font-family: var(--sr-serif);
	font-size: clamp(2.15rem, 5.2vw, 3.55rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.08;
	margin: 0 0 1.15rem;
	max-width: 11.5ch;
}

.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__title-navy {
	color: var(--sr-navy);
}

.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__title-orange {
	color: var(--sr-orange);
}

.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__text {
	color: var(--sr-navy);
	font-size: 1.05rem;
	font-weight: 500;
	line-height: 1.55;
	margin: 0 0 1.55rem;
	max-width: 34rem;
	opacity: 0.92;
}

.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	margin-bottom: 2rem;
}

.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__btn {
	align-items: center;
	background: var(--sr-orange);
	border-radius: 0.55rem;
	color: var(--sr-white) !important;
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 700;
	justify-content: center;
	line-height: 1.25;
	min-height: 44px;
	padding: 0.85rem 1.35rem;
	text-decoration: none !important;
	transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__btn:hover,
.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__btn:focus-visible {
	background: var(--sr-orange-hover);
	box-shadow: 0 10px 24px rgba(2, 43, 96, 0.16);
	color: var(--sr-white) !important;
	outline: none;
	transform: translateY(-2px);
}

.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__link {
	align-items: center;
	border-bottom: 1.5px solid var(--sr-navy);
	color: var(--sr-navy) !important;
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 700;
	gap: 0.35rem;
	line-height: 1.3;
	min-height: 44px;
	text-decoration: none !important;
	transition: color 0.2s ease, gap 0.2s ease, border-color 0.2s ease;
}

.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__link:hover,
.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__link:focus-visible {
	border-bottom-color: var(--sr-orange);
	color: var(--sr-orange) !important;
	gap: 0.55rem;
	outline: none;
}

.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__note {
	align-items: flex-start;
	color: var(--sr-navy);
	display: flex;
	font-size: 0.92rem;
	font-style: italic;
	font-weight: 500;
	gap: 0.55rem;
	line-height: 1.45;
	margin: 0;
	max-width: 28rem;
	opacity: 0.88;
}

.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__note-mark {
	color: var(--sr-orange);
	flex: 0 0 auto;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__visual {
	margin: 0;
	overflow: visible;
	padding: 0 var(--sr-pad);
	position: relative;
	width: 100%;
}

.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__svg {
	display: block;
	height: auto;
	max-width: 100%;
	width: 100%;
}

.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__copy,
.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__visual {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.wpcursor-component.wpcursor-hero-projet.is-ready .wpcursor-hero-projet__copy,
.wpcursor-component.wpcursor-hero-projet.is-ready .wpcursor-hero-projet__visual {
	opacity: 1;
	transform: none;
}

.wpcursor-component.wpcursor-hero-projet.is-ready .wpcursor-hero-projet__visual {
	transition-delay: 0.12s;
}

.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__pin {
	opacity: 0;
	transform: translate3d(0, 10px, 0);
	transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.wpcursor-component.wpcursor-hero-projet.is-ready .wpcursor-hero-projet__pin {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__path {
	will-change: stroke-dashoffset;
}

.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__scene {
	transform-origin: 50% 58%;
	transform: translate3d(0, 0, 0);
}

.wpcursor-component.wpcursor-hero-projet.is-ready .wpcursor-hero-projet__scene {
	animation: sr-hero-projet-float 10s cubic-bezier(0.45, 0.05, 0.55, 0.95) 2.6s infinite;
}

@keyframes sr-hero-projet-float {
	0%,
	100% {
		transform: translate3d(0, 0, 0);
	}
	50% {
		transform: translate3d(0, -3px, 0);
	}
}

@media (min-width: 960px) {
	.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__shell {
		gap: 0.5rem;
		grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
		min-height: min(36rem, calc(100vh - 5rem));
		padding: 3rem 0 3.25rem;
	}

	.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__copy {
		padding: 1rem 1.5rem 1rem var(--sr-gutter);
	}

	.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__visual {
		margin-right: calc(var(--sr-gutter) * -0.15);
		padding: 0 var(--sr-pad) 0 0;
	}

	.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__title {
		max-width: 10.5ch;
	}
}

@media (max-width: 959px) {
	.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__title {
		max-width: none;
	}

	.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__actions {
		align-items: stretch;
		flex-direction: column;
		width: 100%;
	}

	.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__btn {
		justify-content: center;
		width: 100%;
	}

	.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__link {
		justify-content: center;
	}

	.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__dims {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__copy,
	.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__visual,
	.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__pin,
	.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__btn,
	.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__link {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.wpcursor-component.wpcursor-hero-projet.is-ready .wpcursor-hero-projet__scene {
		animation: none;
	}

	.wpcursor-component.wpcursor-hero-projet .wpcursor-hero-projet__path {
		stroke-dasharray: 1.5 7;
		stroke-dashoffset: 0;
		transition: none;
	}
}
