/**
 * Identité — À propos : mission + valeurs éditoriales, tracé orange SVG.
 */
html:has(.wpcursor-identite-a-propos) {
	overflow-x: clip;
}

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

.wpcursor-component.wpcursor-identite-a-propos {
	--sr-navy: #022b60;
	--sr-orange: #fbaf3f;
	--sr-cream: #f7f5f2;
	--sr-muted: rgba(2, 43, 96, 0.7);
	--sr-line: rgba(2, 43, 96, 0.12);
	--sr-num: rgba(2, 43, 96, 0.08);
	--sr-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--sr-pad: max(1.25rem, 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-cream);
	box-sizing: border-box;
	color: var(--sr-navy);
	font-family: var(--sr-font);
	overflow: clip;
	padding: clamp(3.5rem, 8vw, 6.5rem) 0;
	scroll-margin-top: 5.5rem;
	width: 100%;
}

.wpcursor-component.wpcursor-identite-a-propos *,
.wpcursor-component.wpcursor-identite-a-propos *::before,
.wpcursor-component.wpcursor-identite-a-propos *::after {
	box-sizing: border-box;
}

.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__inner {
	margin: 0 auto;
	max-width: 100%;
	padding: 0 var(--sr-gutter);
	width: 100%;
}

.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__layout {
	display: grid;
	gap: clamp(2.5rem, 5vw, 4.5rem);
	grid-template-columns: 1fr;
}

/* ---------- Lead ---------- */
.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__lead {
	max-width: 30rem;
}

.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__eyebrow {
	align-items: center;
	color: var(--sr-orange) !important;
	display: flex;
	font-size: 0.74rem;
	font-weight: 700;
	gap: 0.75rem;
	letter-spacing: 0.14em;
	line-height: 1.35;
	margin: 0 0 1.15rem;
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__eyebrow-rule {
	background: var(--sr-orange);
	display: block;
	flex: 0 0 auto;
	height: 2px;
	width: 1.75rem;
}

.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__title {
	color: var(--sr-navy) !important;
	font-family: var(--sr-font);
	font-size: clamp(1.7rem, 3.3vw, 2.55rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.14;
	margin: 0 0 1.25rem;
	max-width: 16ch;
	text-wrap: balance;
}

.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__text {
	color: var(--sr-muted) !important;
	font-size: clamp(1rem, 1.25vw, 1.08rem);
	line-height: 1.65;
	margin: 0 0 2rem;
}

.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__manifesto {
	color: var(--sr-navy) !important;
	font-size: clamp(1.55rem, 2.8vw, 2.15rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0;
}

.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__manifesto-rule {
	background: var(--sr-orange);
	display: block;
	height: 2px;
	margin: 0 0 1.15rem;
	width: 2.5rem;
}

.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__manifesto-line {
	display: block;
}

.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__dot {
	color: var(--sr-orange);
}

/* ---------- Values ---------- */
.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__values {
	min-width: 0;
	position: relative;
}

.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__path {
	/* Aligné sur la colonne spine (entre numéros et textes) */
	height: 100%;
	left: 4.25rem;
	pointer-events: none;
	position: absolute;
	top: 0;
	width: 1.5rem;
	z-index: 1;
}

.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__path [data-sr-identite-path] {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
}

.wpcursor-component.wpcursor-identite-a-propos.is-complete .wpcursor-identite-a-propos__path [data-sr-identite-path] {
	stroke-dashoffset: 0;
}

.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__list {
	display: flex;
	flex-direction: column;
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
	z-index: 2;
}

.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__item {
	align-items: center;
	border-bottom: 1px solid var(--sr-line);
	display: grid;
	gap: 0.35rem 0.65rem;
	grid-template-columns: 4.25rem 1.5rem minmax(0, 1fr);
	padding: 1.15rem 0;
	position: relative;
}

.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__item:first-child {
	border-top: 1px solid var(--sr-line);
}

.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__num {
	color: var(--sr-num) !important;
	font-family: var(--sr-font);
	font-size: clamp(2.6rem, 5vw, 3.6rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
	pointer-events: none;
	text-align: left;
	user-select: none;
	z-index: 2;
}

.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__spine {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: center;
	position: relative;
	z-index: 3;
}

.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__node {
	background: var(--sr-cream);
	border: 2px solid rgba(251, 175, 63, 0.45);
	border-radius: 50%;
	box-shadow: 0 0 0 3px var(--sr-cream);
	flex: 0 0 auto;
	height: 0.62rem;
	opacity: 0;
	transform: scale(0.55);
	transition:
		opacity 0.4s var(--sr-ease),
		transform 0.4s var(--sr-ease),
		border-color 0.35s ease,
		background 0.35s ease;
	width: 0.62rem;
}

.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__body {
	min-width: 0;
	padding-left: 0.15rem;
}

.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__value-title {
	align-items: center;
	color: rgba(2, 43, 96, 0.55) !important;
	display: flex;
	font-size: clamp(1.05rem, 1.5vw, 1.2rem);
	font-weight: 700;
	gap: 0.55rem;
	letter-spacing: -0.015em;
	line-height: 1.25;
	margin: 0 0 0.3rem;
	transition: color 0.4s var(--sr-ease);
}

.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__mark {
	background: var(--sr-orange);
	border-radius: 1px;
	display: block;
	flex: 0 0 auto;
	height: 1.05em;
	opacity: 0;
	transform: scaleY(0.4);
	transform-origin: center;
	transition:
		opacity 0.35s var(--sr-ease),
		transform 0.35s var(--sr-ease);
	width: 3px;
}

.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__value-text {
	color: var(--sr-muted) !important;
	font-size: clamp(0.95rem, 1.15vw, 1.02rem);
	line-height: 1.55;
	margin: 0;
	max-width: 34rem;
}

/* Active / in-view item — contenu toujours lisible */
.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__item.is-on .wpcursor-identite-a-propos__value-title {
	color: var(--sr-navy) !important;
}

.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__item.is-on .wpcursor-identite-a-propos__mark {
	opacity: 1;
	transform: none;
}

.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__item.is-on .wpcursor-identite-a-propos__node {
	background: var(--sr-orange);
	border-color: var(--sr-orange);
	opacity: 1;
	transform: scale(1);
}

.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__item.is-on .wpcursor-identite-a-propos__num {
	color: rgba(2, 43, 96, 0.14) !important;
}

/* Hover discret — n’occulte jamais le texte */
@media (hover: hover) and (pointer: fine) {
	.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__item:hover .wpcursor-identite-a-propos__value-title {
		color: var(--sr-navy) !important;
	}

	.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__item:hover .wpcursor-identite-a-propos__mark {
		opacity: 1;
		transform: none;
	}
}

/* Desktop */
@media (min-width: 992px) {
	.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__layout {
		align-items: start;
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
	}

	.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__lead {
		padding-top: 0.35rem;
	}

	.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__item {
		gap: 0.45rem 0.85rem;
		grid-template-columns: 5.1rem 1.6rem minmax(0, 1fr);
		padding: 1.35rem 0;
	}

	.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__path {
		left: 5.1rem;
		width: 1.6rem;
	}
}

/* Mobile */
@media (max-width: 991px) {
	.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__title {
		max-width: none;
	}

	.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__item {
		grid-template-columns: 3.75rem 1.35rem minmax(0, 1fr);
	}

	.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__path {
		left: 3.75rem;
		width: 1.35rem;
	}

	.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__num {
		font-size: clamp(2.2rem, 9vw, 2.8rem);
	}
}

/* Révélations */
@media (prefers-reduced-motion: no-preference) {
	.wpcursor-component.wpcursor-identite-a-propos:not(.is-inview) [data-sr-identite-reveal] {
		opacity: 0;
		transform: translateY(0.75rem);
	}

	.wpcursor-component.wpcursor-identite-a-propos.is-inview [data-sr-identite-reveal] {
		opacity: 1;
		transform: none;
		transition:
			opacity 0.85s var(--sr-ease),
			transform 0.85s var(--sr-ease);
	}

	.wpcursor-component.wpcursor-identite-a-propos:not(.is-inview) [data-sr-identite-manifesto] {
		opacity: 0;
		transform: translateY(0.9rem);
	}

	.wpcursor-component.wpcursor-identite-a-propos.is-inview [data-sr-identite-manifesto] {
		opacity: 1;
		transform: none;
		transition:
			opacity 0.95s var(--sr-ease) 0.18s,
			transform 0.95s var(--sr-ease) 0.18s;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-identite-a-propos [data-sr-identite-reveal],
	.wpcursor-component.wpcursor-identite-a-propos [data-sr-identite-manifesto] {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}

	.wpcursor-component.wpcursor-identite-a-propos [data-sr-identite-path] {
		stroke-dasharray: none !important;
		stroke-dashoffset: 0 !important;
	}

	.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__item .wpcursor-identite-a-propos__value-title {
		color: var(--sr-navy) !important;
	}

	.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__mark,
	.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__node {
		opacity: 1 !important;
		transform: none !important;
	}

	.wpcursor-component.wpcursor-identite-a-propos .wpcursor-identite-a-propos__node {
		background: var(--sr-orange) !important;
		border-color: var(--sr-orange) !important;
	}
}
