/**
 * Repères projet — navy #022b60 · orange #fbaf3f
 * Gauche : image en fond. Droite : illustration contenue (libellés visibles).
 */
html:has(.wpcursor-reperes-projet) {
	overflow-x: clip;
}

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

.wpcursor-component.wpcursor-reperes-projet {
	--sr-navy: #022b60;
	--sr-navy-deep: #011a3d;
	--sr-orange: #fbaf3f;
	--sr-orange-hover: #e09a2e;
	--sr-white: #ffffff;
	--sr-muted: rgba(255, 255, 255, 0.78);
	--sr-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--sr-pad: max(1rem, env(safe-area-inset-left), env(safe-area-inset-right));
	--sr-content: 78rem;
	background: var(--sr-navy);
	box-sizing: border-box;
	color: var(--sr-white);
	font-family: var(--sr-font);
	isolation: isolate;
	overflow: hidden;
	padding: 0;
	position: relative;
	width: 100%;
}

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

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__glow {
	background: radial-gradient(ellipse 55% 50% at 92% 8%, rgba(251, 175, 63, 0.28), transparent 60%);
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__inner {
	margin: 0 auto;
	max-width: var(--sr-content);
	padding: 3rem var(--sr-pad) 3.25rem;
	position: relative;
	width: 100%;
	z-index: 1;
}

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__intro {
	margin: 0 0 1.75rem;
	max-width: 40rem;
}

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__accent {
	background: var(--sr-orange);
	border-radius: 999px;
	display: block;
	height: 3px;
	margin: 0 0 1rem;
	width: 2.4rem;
}

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__title {
	color: var(--sr-white) !important;
	font-size: clamp(1.45rem, 3.2vw, 2.15rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.18;
	margin: 0 0 0.65rem;
}

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__text {
	color: var(--sr-muted);
	font-size: 1.02rem;
	line-height: 1.5;
	margin: 0;
}

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__grid {
	display: grid;
	gap: 1.15rem;
	grid-template-columns: 1fr;
}

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__card {
	border-radius: 1.25rem;
	display: flex;
	flex-direction: column;
	isolation: isolate;
	overflow: hidden;
	position: relative;
}

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__card--budget {
	background: #eef3f9;
	color: var(--sr-navy);
	min-height: 22rem;
}

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__card--aides {
	background: #021f48;
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: var(--sr-white);
}

/* Budget uniquement : image = fond de carte */
.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__bg {
	inset: 0;
	margin: 0;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__bg img {
	display: block;
	height: 100%;
	object-fit: contain;
	object-position: right center;
	transform: scale(1.05);
	width: 100%;
}

/* Aides : illustration contenue en haut, jamais croppée */
.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__visual {
	flex: 0 0 auto;
	margin: 0;
	overflow: visible;
	padding: 1.1rem 1rem 0.25rem;
	position: relative;
	width: 100%;
	z-index: 0;
}

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__visual img {
	display: block;
	height: auto;
	max-width: 100%;
	object-fit: contain;
	object-position: center;
	width: 100%;
}

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 1rem;
	justify-content: space-between;
	min-height: inherit;
	padding: 1.45rem 1.35rem 1.4rem;
	position: relative;
	z-index: 1;
}

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__card--budget .wpcursor-reperes-projet__content {
	background: linear-gradient(
		90deg,
		rgba(238, 243, 249, 0.96) 0%,
		rgba(238, 243, 249, 0.78) 42%,
		rgba(238, 243, 249, 0.18) 72%,
		rgba(238, 243, 249, 0) 100%
	);
}

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__content--aides {
	background: transparent;
	gap: 0.85rem;
	justify-content: flex-start;
	padding-top: 0.65rem;
}

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__card-title {
	color: var(--sr-navy) !important;
	font-size: clamp(1.25rem, 2.2vw, 1.55rem);
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.25;
	margin: 0;
	max-width: 14ch;
}

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__card-title-mark {
	background-image: linear-gradient(var(--sr-orange), var(--sr-orange));
	background-position: 0 92%;
	background-repeat: no-repeat;
	background-size: 100% 3px;
	display: inline;
	padding-bottom: 0.08em;
}

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__card-title--light {
	color: var(--sr-white) !important;
	max-width: 16ch;
}

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__card-title-mark--light {
	background-image: linear-gradient(var(--sr-orange), var(--sr-orange));
}

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__card-text {
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.95rem;
	line-height: 1.5;
	margin: 0;
	max-width: 28rem;
}

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	list-style: none;
	margin: 0;
	max-width: 22rem;
	padding: 0;
}

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__tag {
	align-items: center;
	backdrop-filter: blur(6px);
	background: rgba(255, 255, 255, 0.96);
	border-radius: 999px;
	box-shadow: 0 4px 14px rgba(2, 43, 96, 0.12);
	color: var(--sr-navy);
	display: inline-flex;
	font-size: 0.84rem;
	font-weight: 600;
	gap: 0.4rem;
	line-height: 1.25;
	max-width: 100%;
	padding: 0.4rem 0.75rem 0.4rem 0.45rem;
	width: fit-content;
}

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__tag-icon {
	align-items: center;
	background: rgba(251, 175, 63, 0.16);
	border-radius: 999px;
	color: var(--sr-orange);
	display: inline-flex;
	flex: 0 0 auto;
	height: 1.45rem;
	justify-content: center;
	width: 1.45rem;
}

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__tag-icon svg {
	height: 14px;
	width: 14px;
}

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-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;
	gap: 0.4rem;
	justify-content: center;
	line-height: 1.25;
	margin-top: auto;
	min-height: 44px;
	padding: 0.85rem 1.2rem;
	text-decoration: none !important;
	transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, gap 0.2s ease;
	width: fit-content;
}

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__btn:hover,
.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__btn:focus-visible {
	background: var(--sr-orange-hover);
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
	color: var(--sr-white) !important;
	gap: 0.6rem;
	outline: none;
	transform: translateY(-1px);
}

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__btn--ghost {
	background: transparent;
	border: 1.5px solid var(--sr-orange);
	color: var(--sr-orange) !important;
}

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__btn--ghost:hover,
.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__btn--ghost:focus-visible {
	background: rgba(251, 175, 63, 0.12);
	box-shadow: none;
	color: var(--sr-orange) !important;
}

.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__intro,
.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__card {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.65s ease, transform 0.65s ease;
}

.wpcursor-component.wpcursor-reperes-projet.is-ready .wpcursor-reperes-projet__intro,
.wpcursor-component.wpcursor-reperes-projet.is-ready .wpcursor-reperes-projet__card {
	opacity: 1;
	transform: none;
}

.wpcursor-component.wpcursor-reperes-projet.is-ready .wpcursor-reperes-projet__card--budget {
	transition-delay: 0.1s;
}

.wpcursor-component.wpcursor-reperes-projet.is-ready .wpcursor-reperes-projet__card--aides {
	transition-delay: 0.2s;
}

@media (min-width: 900px) {
	.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__inner {
		padding: 4rem var(--sr-pad) 4.25rem;
	}

	.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__grid {
		align-items: stretch;
		gap: 1.35rem;
		grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	}

	.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__card--budget {
		min-height: 26rem;
	}

	.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__card--budget .wpcursor-reperes-projet__content {
		padding: 1.85rem 1.75rem 1.7rem;
	}

	.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__card--budget .wpcursor-reperes-projet__tags {
		margin-top: 4.5rem;
	}

	.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__visual {
		padding: 1.25rem 1.15rem 0.15rem;
	}

	.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__content--aides {
		padding: 0.55rem 1.45rem 1.55rem;
	}
}

@media (max-width: 899px) {
	.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__card--budget {
		min-height: 24rem;
	}

	.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__card--budget .wpcursor-reperes-projet__bg img {
		object-position: 70% center;
		opacity: 0.55;
	}

	.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__card--budget .wpcursor-reperes-projet__content {
		background: linear-gradient(
			180deg,
			rgba(238, 243, 249, 0.92) 0%,
			rgba(238, 243, 249, 0.72) 45%,
			rgba(238, 243, 249, 0.94) 100%
		);
	}

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

@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__intro,
	.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__card,
	.wpcursor-component.wpcursor-reperes-projet .wpcursor-reperes-projet__btn {
		opacity: 1;
		transform: none;
		transition: none;
	}
}
