/**
 * Hero section — page À propos.
 * Shortcode : [wpcursor name="hero-a-propos"]
 */

.wpcursor-hero-a-propos {
	--wpcursor-apropos-bg: #f9f7f2;
	--wpcursor-apropos-heading: #2d2a45;
	--wpcursor-apropos-accent: #5e3a71;
	--wpcursor-apropos-eyebrow: #a65d4a;
	--wpcursor-apropos-body: #5f5f6a;
	--wpcursor-apropos-muted: #8a8a94;
	--wpcursor-apropos-deco: #ede8df;

	box-sizing: border-box;
	width: 100%;
	padding: clamp(4rem, 8vw, 6.25rem) clamp(1.25rem, 4vw, 2rem);
	background: var(--wpcursor-apropos-bg);
	color: var(--wpcursor-apropos-body);
}

.wpcursor-hero-a-propos__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(2.5rem, 5vw, 3.75rem);
	align-items: center;
	max-width: 1180px;
	margin: 0 auto;
	box-sizing: border-box;
}

.wpcursor-hero-a-propos__content {
	min-width: 0;
	text-align: left;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.wpcursor-hero-a-propos__breadcrumb {
	margin: 0 0 1.25rem;
}

.wpcursor-hero-a-propos__breadcrumb-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--wpcursor-font-sans);
	font-size: 0.78rem;
	font-weight: 400;
	line-height: 1.4;
	color: var(--wpcursor-apropos-muted);
}

.wpcursor-hero-a-propos__breadcrumb-item {
	display: inline-flex;
	align-items: center;
}

.wpcursor-hero-a-propos__breadcrumb-item:not(:last-child)::after {
	content: "/";
	margin: 0 0.45rem;
	color: var(--wpcursor-apropos-muted);
}

.wpcursor-hero-a-propos__breadcrumb-link {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.wpcursor-hero-a-propos__breadcrumb-link:hover,
.wpcursor-hero-a-propos__breadcrumb-link:focus-visible {
	color: var(--wpcursor-apropos-heading);
	outline: none;
}

.wpcursor-hero-a-propos__breadcrumb-current {
	font-weight: 600;
	color: var(--wpcursor-apropos-heading);
}

.wpcursor-hero-a-propos__eyebrow {
	margin: 0 0 1rem;
	font-family: var(--wpcursor-font-sans);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	line-height: 1.4;
	color: var(--wpcursor-apropos-eyebrow);
}

.wpcursor-hero-a-propos__title {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	margin: 0 0 1.5rem;
	font-family: var(--wpcursor-font-serif);
	font-size: clamp(2rem, 3.8vw, 2.85rem);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.wpcursor-hero-a-propos__title-line--primary {
	color: var(--wpcursor-apropos-heading);
	animation: wpcursor-hero-a-propos-fade-left 0.55s ease-out 0.35s both;
}

.wpcursor-hero-a-propos__title-line--accent {
	font-style: italic;
	color: var(--wpcursor-apropos-accent);
	animation: wpcursor-hero-a-propos-fade-left 0.55s ease-out 0.5s both;
}

@keyframes wpcursor-hero-a-propos-image-in {
	from {
		opacity: 0;
		transform: translateY(22px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes wpcursor-hero-a-propos-fade-left {
	from {
		opacity: 0;
		transform: translateX(-32px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.wpcursor-hero-a-propos__paragraph {
	margin: 0 0 1.15rem;
	max-width: 560px;
	font-family: var(--wpcursor-font-sans);
	font-size: clamp(0.92rem, 1.4vw, 1rem);
	font-weight: 400;
	line-height: 1.7;
	color: var(--wpcursor-apropos-body);
	animation: wpcursor-hero-a-propos-fade-left 0.55s ease-out 0.65s both;
}

.wpcursor-hero-a-propos__paragraph + .wpcursor-hero-a-propos__paragraph {
	animation-delay: 0.8s;
}

.wpcursor-hero-a-propos[data-wpcursor-runtime="admin_preview"] .wpcursor-hero-a-propos__media,
.wpcursor-hero-a-propos[data-wpcursor-runtime="admin_preview"] .wpcursor-hero-a-propos__title-line,
.wpcursor-hero-a-propos[data-wpcursor-runtime="admin_preview"] .wpcursor-hero-a-propos__paragraph {
	animation: none;
	opacity: 1;
	transform: none;
}

.wpcursor-hero-a-propos__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-top: 0.5rem;
	padding: 0.9rem 1.75rem;
	border: none;
	border-radius: 999px;
	background: var(--wpcursor-apropos-accent);
	color: #ffffff;
	font-family: var(--wpcursor-font-sans);
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease;
}

.wpcursor-hero-a-propos__cta:hover,
.wpcursor-hero-a-propos__cta:focus-visible {
	background: #4d2f5d;
	outline: none;
	transform: translateY(-1px);
}

.wpcursor-hero-a-propos__cta-arrow {
	display: inline-block;
	font-size: 1.05em;
	line-height: 1;
}

.wpcursor-hero-a-propos__visual {
	position: relative;
	min-width: 0;
	max-width: 480px;
	margin: 0 0 0 auto;
}

.wpcursor-hero-a-propos__visual-deco {
	position: absolute;
	top: -8%;
	right: -4%;
	z-index: 0;
	width: min(72%, 320px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--wpcursor-apropos-deco);
	pointer-events: none;
}

.wpcursor-hero-a-propos__media {
	position: relative;
	z-index: 1;
	overflow: hidden;
	border-radius: 40px;
	box-shadow: 0 18px 48px rgba(45, 42, 69, 0.12);
	animation: wpcursor-hero-a-propos-image-in 0.55s ease-out 0.15s both;
}

.wpcursor-hero-a-propos__image {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 40px;
}

@media (max-width: 960px) {
	.wpcursor-hero-a-propos__inner {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.wpcursor-hero-a-propos__visual {
		order: -1;
		max-width: 420px;
		margin: 0 auto;
	}

	.wpcursor-hero-a-propos__paragraph {
		max-width: none;
	}
}

@media (max-width: 560px) {
	.wpcursor-hero-a-propos__visual-deco {
		right: 0;
		width: min(65%, 240px);
	}

	.wpcursor-hero-a-propos__media,
	.wpcursor-hero-a-propos__image {
		border-radius: 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpcursor-hero-a-propos__media,
	.wpcursor-hero-a-propos__title-line,
	.wpcursor-hero-a-propos__paragraph {
		animation: none;
		opacity: 1;
		transform: none;
	}
}
