/**
 * Le déclic — À propos : fond marine, illustration rails → hangar en background, textes lisibles.
 * Typo : Poppins.
 */
html:has(.wpcursor-declic-a-propos) {
	overflow-x: clip;
}

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

.wpcursor-component.wpcursor-declic-a-propos {
	--sr-navy: #022b60;
	--sr-navy-deep: #011833;
	--sr-orange: #fbaf3f;
	--sr-white: #ffffff;
	--sr-muted: rgba(255, 255, 255, 0.82);
	--sr-line: rgba(255, 255, 255, 0.16);
	--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);
	--sr-draw: 0;
	background: linear-gradient(165deg, var(--sr-navy) 0%, var(--sr-navy-deep) 100%);
	box-sizing: border-box;
	color: var(--sr-white);
	font-family: var(--sr-font);
	isolation: isolate;
	overflow: clip;
	padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(11rem, 28vw, 18rem);
	position: relative;
	scroll-margin-top: 5.5rem;
	width: 100%;
}

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

.wpcursor-component.wpcursor-declic-a-propos .wpcursor-declic-a-propos__sr-only {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

/* ---------- Illustration en fond ---------- */
.wpcursor-component.wpcursor-declic-a-propos .wpcursor-declic-a-propos__art {
	bottom: 0;
	height: 72%;
	left: 0;
	/* Le blend doit vivre sur l’élément animé, sinon opacity/transform l’isolent */
	mix-blend-mode: screen;
	-webkit-mask-composite: source-in;
	mask-composite: intersect;
	-webkit-mask-image:
		linear-gradient(to bottom, transparent 0%, #000 38%, #000 100%),
		linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
	mask-image:
		linear-gradient(to bottom, transparent 0%, #000 38%, #000 100%),
		linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
	pointer-events: none;
	position: absolute;
	right: 0;
	z-index: 0;
}

.wpcursor-component.wpcursor-declic-a-propos .wpcursor-declic-a-propos__img {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: center 62%;
	width: 100%;
}

.wpcursor-component.wpcursor-declic-a-propos .wpcursor-declic-a-propos__inner {
	margin: 0 auto;
	max-width: 100%;
	padding: 0 var(--sr-gutter);
	position: relative;
	width: 100%;
	z-index: 1;
}

/* ---------- Grille éditoriale ---------- */
.wpcursor-component.wpcursor-declic-a-propos .wpcursor-declic-a-propos__grid {
	display: grid;
	gap: clamp(1.75rem, 3.5vw, 2.75rem);
	grid-template-columns: 1fr;
}

.wpcursor-component.wpcursor-declic-a-propos .wpcursor-declic-a-propos__lead {
	max-width: 28rem;
}

.wpcursor-component.wpcursor-declic-a-propos .wpcursor-declic-a-propos__eyebrow {
	margin: 0 0 1.15rem;
}

.wpcursor-component.wpcursor-declic-a-propos .wpcursor-declic-a-propos__eyebrow-pill {
	background: var(--sr-orange);
	border-radius: 999px;
	color: var(--sr-navy-deep) !important;
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.3;
	padding: 0.45rem 0.9rem;
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-declic-a-propos .wpcursor-declic-a-propos__title {
	color: var(--sr-white) !important;
	font-family: var(--sr-font);
	font-size: clamp(1.7rem, 3.4vw, 2.55rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.14;
	margin: 0 0 1.15rem;
	max-width: 16ch;
	text-shadow: 0 1px 18px rgba(1, 24, 51, 0.45);
	text-wrap: balance;
}

.wpcursor-component.wpcursor-declic-a-propos .wpcursor-declic-a-propos__rule {
	background: var(--sr-orange);
	display: block;
	height: 2px;
	margin: 0 0 1rem;
	width: 2.75rem;
}

.wpcursor-component.wpcursor-declic-a-propos .wpcursor-declic-a-propos__intro {
	color: var(--sr-muted) !important;
	font-size: clamp(0.98rem, 1.2vw, 1.05rem);
	line-height: 1.55;
	margin: 0;
	max-width: 26rem;
	text-shadow: 0 1px 14px rgba(1, 24, 51, 0.4);
}

.wpcursor-component.wpcursor-declic-a-propos .wpcursor-declic-a-propos__story {
	color: var(--sr-muted) !important;
	font-size: clamp(0.98rem, 1.2vw, 1.05rem);
	line-height: 1.7;
	max-width: 34rem;
}

.wpcursor-component.wpcursor-declic-a-propos .wpcursor-declic-a-propos__story p {
	color: inherit !important;
	margin: 0 0 1.15rem;
	text-shadow: 0 1px 14px rgba(1, 24, 51, 0.4);
}

.wpcursor-component.wpcursor-declic-a-propos .wpcursor-declic-a-propos__story p:last-child {
	margin-bottom: 0;
}

.wpcursor-component.wpcursor-declic-a-propos .wpcursor-declic-a-propos__highlight {
	color: var(--sr-orange) !important;
	font-size: clamp(1.2rem, 2.2vw, 1.55rem);
	font-style: italic;
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.35;
	margin: 0;
	max-width: 18ch;
	position: relative;
	text-shadow: 0 1px 16px rgba(1, 24, 51, 0.45);
	text-wrap: balance;
}

.wpcursor-component.wpcursor-declic-a-propos .wpcursor-declic-a-propos__mark {
	color: var(--sr-orange);
	font-style: normal;
	font-weight: 700;
	line-height: 1;
	opacity: 0.85;
	position: absolute;
}

.wpcursor-component.wpcursor-declic-a-propos .wpcursor-declic-a-propos__mark--open {
	font-size: 2.4rem;
	left: -0.15rem;
	top: -0.85rem;
}

.wpcursor-component.wpcursor-declic-a-propos .wpcursor-declic-a-propos__mark--close {
	bottom: -1.1rem;
	font-size: 2.4rem;
	right: 0.1rem;
}

.wpcursor-component.wpcursor-declic-a-propos .wpcursor-declic-a-propos__highlight-text {
	display: inline;
	padding-left: 0.85rem;
}

/* ---------- Desktop 3 colonnes ---------- */
@media (min-width: 992px) {
	.wpcursor-component.wpcursor-declic-a-propos {
		padding-bottom: clamp(21rem, 30vw, 28rem);
	}

	.wpcursor-component.wpcursor-declic-a-propos .wpcursor-declic-a-propos__art {
		height: 76%;
	}

	.wpcursor-component.wpcursor-declic-a-propos .wpcursor-declic-a-propos__img {
		object-position: center 45%;
	}

	.wpcursor-component.wpcursor-declic-a-propos .wpcursor-declic-a-propos__grid {
		align-items: start;
		column-gap: clamp(2rem, 4vw, 3.5rem);
		grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr) minmax(0, 0.85fr);
		row-gap: 0;
	}

	.wpcursor-component.wpcursor-declic-a-propos .wpcursor-declic-a-propos__story {
		border-left: 1px solid var(--sr-line);
		padding-left: clamp(1.5rem, 3vw, 2.5rem);
	}

	.wpcursor-component.wpcursor-declic-a-propos .wpcursor-declic-a-propos__highlight {
		justify-self: end;
		margin-top: 0.35rem;
		padding-top: 0.5rem;
	}
}

/* ---------- Mobile ---------- */
@media (max-width: 991px) {
	.wpcursor-component.wpcursor-declic-a-propos {
		padding-bottom: clamp(10rem, 55vw, 16rem);
	}

	.wpcursor-component.wpcursor-declic-a-propos .wpcursor-declic-a-propos__art {
		height: 42%;
	}

	.wpcursor-component.wpcursor-declic-a-propos .wpcursor-declic-a-propos__img {
		object-position: 30% 62%;
	}

	.wpcursor-component.wpcursor-declic-a-propos .wpcursor-declic-a-propos__highlight {
		max-width: 28ch;
		padding-left: 0.25rem;
	}

	.wpcursor-component.wpcursor-declic-a-propos .wpcursor-declic-a-propos__mark--open {
		font-size: 2rem;
		top: -0.65rem;
	}
}

/* ---------- Apparitions texte + fond ---------- */
@media (prefers-reduced-motion: no-preference) {
	.wpcursor-component.wpcursor-declic-a-propos:not(.is-inview) [data-sr-declic-reveal] {
		opacity: 0;
		transform: translateY(1.05rem);
	}

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

	.wpcursor-component.wpcursor-declic-a-propos.is-inview [data-sr-declic-delay="1"] {
		transition-delay: 0.06s;
	}

	.wpcursor-component.wpcursor-declic-a-propos.is-inview [data-sr-declic-delay="2"] {
		transition-delay: 0.16s;
	}

	.wpcursor-component.wpcursor-declic-a-propos.is-inview [data-sr-declic-delay="3"] {
		transition-delay: 0.28s;
	}

	.wpcursor-component.wpcursor-declic-a-propos.is-inview [data-sr-declic-delay="4"] {
		transition-delay: 0.4s;
	}

	.wpcursor-component.wpcursor-declic-a-propos.is-inview [data-sr-declic-delay="5"] {
		transition-delay: 0.52s;
	}

	.wpcursor-component.wpcursor-declic-a-propos.is-inview [data-sr-declic-delay="6"] {
		transition-delay: 0.64s;
	}

	.wpcursor-component.wpcursor-declic-a-propos.is-inview [data-sr-declic-delay="7"] {
		transition-delay: 0.76s;
	}

	.wpcursor-component.wpcursor-declic-a-propos:not(.is-art-in) .wpcursor-declic-a-propos__art {
		opacity: 0;
	}

	.wpcursor-component.wpcursor-declic-a-propos.is-art-in .wpcursor-declic-a-propos__art {
		opacity: 1;
		transition: opacity 1.4s var(--sr-ease) 0.3s;
	}

	.wpcursor-component.wpcursor-declic-a-propos:not(.is-art-in) .wpcursor-declic-a-propos__img {
		transform: translateY(1.5rem) scale(1.03);
	}

	.wpcursor-component.wpcursor-declic-a-propos.is-art-in .wpcursor-declic-a-propos__img {
		transform: none;
		transition: transform 1.6s var(--sr-ease) 0.3s;
	}
}

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