/**
 * Hero Devenir partenaire — toiture plein cadre · navy #022b60 · orange #fbaf3f
 * Photo fixe (pas de zoom). Entrée titre puis texte, puis tracé orange unique.
 */
html:has(.wpcursor-hero-partenaires) {
	overflow-x: clip;
}

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

.wpcursor-component.wpcursor-hero-partenaires {
	--sr-navy: #022b60;
	--sr-navy-deep: #011a3d;
	--sr-orange: #fbaf3f;
	--sr-orange-hover: #e09a2e;
	--sr-white: #ffffff;
	--sr-muted: rgba(255, 255, 255, 0.88);
	--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: 84rem;
	--sr-gutter: max(var(--sr-pad), calc((100vw - min(100vw, var(--sr-content))) / 2 + var(--sr-pad)));
	--sr-ease: cubic-bezier(0.22, 1, 0.36, 1);
	background: var(--sr-navy-deep);
	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-hero-partenaires *,
.wpcursor-component.wpcursor-hero-partenaires *::before,
.wpcursor-component.wpcursor-hero-partenaires *::after {
	box-sizing: border-box;
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__scene {
	isolation: isolate;
	min-height: clamp(36rem, 92vh, 48rem);
	position: relative;
	width: 100%;
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__media {
	inset: 0;
	margin: 0;
	overflow: hidden;
	position: absolute;
	z-index: 0;
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__media img {
	display: block;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 70% 24%;
	position: absolute;
	inset: 0;
	width: 100%;
	transform: none;
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__veil {
	background: linear-gradient(180deg, rgba(1, 26, 61, 0.2) 0%, rgba(1, 26, 61, 0.32) 30%, rgba(1, 26, 61, 0.8) 56%, rgba(1, 26, 61, 0.94) 100%);
	inset: 0;
	position: absolute;
	z-index: 1;
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__shell {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: clamp(36rem, 92vh, 48rem);
	padding: 1.75rem var(--sr-pad) 1.85rem;
	position: relative;
	z-index: 2;
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__copy {
	max-width: 38rem;
	position: relative;
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__copy::before {
	background: linear-gradient(180deg, transparent 0%, rgba(1, 26, 61, 0.42) 22%, rgba(1, 26, 61, 0.16) 100%);
	border-radius: 0;
	content: "";
	inset: -1.4rem -0.4rem -0.5rem;
	pointer-events: none;
	position: absolute;
	z-index: -1;
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__breadcrumb ol {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
	list-style: none;
	margin: 0 0 1.05rem;
	padding: 0;
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__breadcrumb li {
	color: rgba(255, 255, 255, 0.74);
	font-size: 0.84rem;
	line-height: 1.4;
	text-shadow: 0 1px 8px rgba(1, 26, 61, 0.55);
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__breadcrumb li:not(:last-child)::after {
	content: "/";
	margin-left: 0.3rem;
	opacity: 0.7;
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__breadcrumb a {
	color: rgba(255, 255, 255, 0.8) !important;
	text-decoration: none !important;
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__breadcrumb a:hover,
.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__breadcrumb a:focus-visible {
	color: var(--sr-orange) !important;
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__breadcrumb li[aria-current="page"] {
	color: var(--sr-white);
	font-weight: 600;
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__eyebrow {
	align-items: center;
	color: var(--sr-orange) !important;
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 700;
	gap: 0.65rem;
	letter-spacing: 0.12em;
	line-height: 1.3;
	margin: 0 0 0.8rem;
	text-shadow: 0 1px 8px rgba(1, 26, 61, 0.45);
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__eyebrow-line {
	background: var(--sr-orange);
	border-radius: 999px;
	display: inline-block;
	height: 2px;
	width: 1.65rem;
}

.entry-content .wpcursor-component.wpcursor-hero-partenaires h1.wpcursor-hero-partenaires__title,
.wpcursor-component.wpcursor-hero-partenaires h1.wpcursor-hero-partenaires__title {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__title {
	font-family: var(--sr-font);
	font-size: clamp(2rem, 8vw, 2.7rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.08;
	margin: 0 0 0.85rem;
	max-width: 12ch;
	text-shadow: 0 2px 18px rgba(1, 26, 61, 0.45);
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__text {
	color: var(--sr-muted);
	font-size: 1.02rem;
	line-height: 1.55;
	margin: 0 0 1.25rem;
	max-width: 36rem;
	text-shadow: 0 1px 12px rgba(1, 26, 61, 0.4);
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__actions {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	margin-bottom: 1.35rem;
	width: 100%;
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__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.45rem;
	justify-content: center;
	line-height: 1.25;
	min-height: 2.75rem;
	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: 100%;
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__btn:hover,
.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__btn:focus-visible {
	background: var(--sr-orange-hover);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
	color: var(--sr-white) !important;
	gap: 0.65rem;
	outline: none;
	transform: translateY(-2px);
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__link {
	align-items: center;
	color: var(--sr-white) !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;
}

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

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__metiers {
	margin: 0.15rem 0 0;
	max-width: 22rem;
	position: relative;
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__metiers ul {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
	z-index: 1;
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__metier {
	align-items: center;
	display: flex;
	flex-direction: row;
	gap: 0.75rem;
	min-height: 1.35rem;
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__dot {
	background: var(--sr-orange);
	border-radius: 50%;
	box-shadow: 0 0 0 4px rgba(1, 26, 61, 0.92);
	flex: 0 0 auto;
	height: 0.55rem;
	width: 0.55rem;
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__label {
	color: var(--sr-white);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.3;
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__trace {
	background: var(--sr-orange);
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__trace--row {
	display: none;
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__trace--col {
	bottom: 0.58rem;
	display: block;
	left: 0.24rem;
	top: 0.58rem;
	transform: scaleY(0);
	transform-origin: center top;
	width: 1.5px;
}

.wpcursor-component.wpcursor-hero-partenaires.is-drawn .wpcursor-hero-partenaires__trace--col {
	transform: scaleY(1);
	transition: transform 1.15s cubic-bezier(0.45, 0, 0.2, 1);
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__title,
.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__text,
.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__actions {
	opacity: 0;
	transform: translate3d(0, 1.05rem, 0);
}

.wpcursor-component.wpcursor-hero-partenaires.is-inview .wpcursor-hero-partenaires__title {
	opacity: 1;
	transform: none;
	transition: opacity 0.7s var(--sr-ease), transform 0.7s var(--sr-ease);
	transition-delay: 0.06s;
}

.wpcursor-component.wpcursor-hero-partenaires.is-inview .wpcursor-hero-partenaires__text,
.wpcursor-component.wpcursor-hero-partenaires.is-inview .wpcursor-hero-partenaires__actions {
	opacity: 1;
	transform: none;
	transition: opacity 0.75s var(--sr-ease), transform 0.75s var(--sr-ease);
	transition-delay: 0.5s;
}

.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__dot,
.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__label {
	opacity: 0;
	transform: translate3d(0, 0.4rem, 0);
}

.wpcursor-component.wpcursor-hero-partenaires.is-drawn .wpcursor-hero-partenaires__dot,
.wpcursor-component.wpcursor-hero-partenaires.is-drawn .wpcursor-hero-partenaires__label {
	opacity: 1;
	transform: none;
	transition: opacity 0.4s ease, transform 0.45s var(--sr-ease);
}

.wpcursor-component.wpcursor-hero-partenaires.is-drawn .wpcursor-hero-partenaires__metier:nth-child(2) .wpcursor-hero-partenaires__dot,
.wpcursor-component.wpcursor-hero-partenaires.is-drawn .wpcursor-hero-partenaires__metier:nth-child(2) .wpcursor-hero-partenaires__label {
	transition-delay: 0.36s;
}

.wpcursor-component.wpcursor-hero-partenaires.is-drawn .wpcursor-hero-partenaires__metier:nth-child(3) .wpcursor-hero-partenaires__dot,
.wpcursor-component.wpcursor-hero-partenaires.is-drawn .wpcursor-hero-partenaires__metier:nth-child(3) .wpcursor-hero-partenaires__label {
	transition-delay: 0.72s;
}

@media (min-width: 760px) {
	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__scene,
	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__shell {
		min-height: clamp(34rem, 78vh, 44rem);
	}

	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__media img {
		object-position: center 40%;
	}

	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__veil {
		background:
			linear-gradient(180deg, rgba(1, 26, 61, 0.5) 0%, transparent 16%, rgba(1, 26, 61, 0.16) 100%),
			linear-gradient(100deg, rgba(1, 26, 61, 0.94) 0%, rgba(1, 26, 61, 0.86) 20%, rgba(1, 26, 61, 0.46) 36%, rgba(1, 26, 61, 0.14) 54%, rgba(2, 43, 96, 0.02) 72%, rgba(1, 26, 61, 0.16) 100%);
	}

	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__shell {
		justify-content: center;
		padding: 3rem var(--sr-gutter) 3rem;
	}

	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__copy::before {
		background: linear-gradient(105deg, rgba(1, 26, 61, 0.42) 0%, rgba(1, 26, 61, 0.24) 86%, transparent 100%);
		border-radius: 1.25rem;
		inset: -1.35rem -1.6rem -1.15rem -0.9rem;
	}

	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__title {
		font-size: clamp(2.35rem, 4.4vw, 3.45rem);
		max-width: 11em;
	}

	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__actions {
		align-items: center;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0.95rem 1.35rem;
		width: auto;
	}

	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__btn {
		width: auto;
	}

	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__metiers {
		max-width: 34rem;
	}

	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__metiers ul {
		display: grid;
		gap: 0.55rem 1.25rem;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__metier {
		align-items: center;
		flex-direction: column;
		gap: 0.6rem;
		text-align: center;
	}

	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__trace--col {
		display: none;
	}

	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__trace--row {
		display: block;
		height: 1.5px;
		left: calc(100% / 6);
		top: 0.2rem;
		transform: scaleX(0);
		transform-origin: left center;
		width: calc(100% * 2 / 3);
	}

	.wpcursor-component.wpcursor-hero-partenaires.is-drawn .wpcursor-hero-partenaires__trace--row {
		transform: scaleX(1);
		transition: transform 1.15s cubic-bezier(0.45, 0, 0.2, 1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__title,
	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__text,
	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__actions,
	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__dot,
	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__label {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__trace--row,
	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__trace--col,
	.wpcursor-component.wpcursor-hero-partenaires.is-drawn .wpcursor-hero-partenaires__trace--row,
	.wpcursor-component.wpcursor-hero-partenaires.is-drawn .wpcursor-hero-partenaires__trace--col {
		transform: none;
		transition: none;
	}

	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__btn,
	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__link {
		transition: none;
	}
}

@media (scripting: none) {
	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__title,
	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__text,
	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__actions,
	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__dot,
	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__label {
		opacity: 1;
		transform: none;
	}

	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__trace--row,
	.wpcursor-component.wpcursor-hero-partenaires .wpcursor-hero-partenaires__trace--col {
		transform: none;
	}
}
