/**
 * Hero section — page Soins holistiques.
 * Shortcode : [wpcursor name="hero-holistique"]
 */

.wpcursor-hero-holistique {
	--wpcursor-hol-hero-bg: #fdfaf7;
	--wpcursor-hol-hero-heading: #4a2d5c;
	--wpcursor-hol-hero-accent: #e8a598;
	--wpcursor-hol-hero-body: #5f5f6a;
	--wpcursor-hol-hero-cta: #5e3a71;
	--wpcursor-hol-hero-cta-hover: #8f689a;
	--wpcursor-hol-hero-cta-secondary-hover: #5e9fa3;
	--wpcursor-hol-hero-deco: #f3ebe4;
	--wpcursor-hol-hero-glow: rgba(250, 236, 232, 0.75);

	position: relative;
	box-sizing: border-box;
	width: 100%;
	padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 2rem);
	background:
		radial-gradient(ellipse 80% 60% at 15% 20%, rgba(250, 236, 232, 0.45) 0%, transparent 70%),
		radial-gradient(ellipse 70% 55% at 88% 78%, rgba(235, 228, 242, 0.35) 0%, transparent 68%),
		var(--wpcursor-hol-hero-bg);
	color: var(--wpcursor-hol-hero-body);
	overflow: hidden;
}

.wpcursor-hero-holistique__deco {
	position: absolute;
	z-index: 0;
	height: auto;
	opacity: 0.55;
	pointer-events: none;
	object-fit: contain;
}

.wpcursor-hero-holistique__deco--top {
	left: 0;
	top: 0;
	bottom: 0;
	height: 100%;
	width: auto;
	max-height: 100%;
	max-width: min(34vw, 320px);
	object-position: left bottom;
	opacity: 0.28;
	transform-origin: center center;
	animation: wpcursor-hero-holistique-deco-in 0.7s ease-out 0.2s both;
}

.wpcursor-hero-holistique__deco--bottom {
	top: 0;
	right: 0;
	bottom: auto;
	width: min(30vw, 250px);
	object-position: right top;
	opacity: 0.48;
	transform-origin: center center;
	animation: wpcursor-hero-holistique-deco-in-mirror 0.7s ease-out 0.35s both;
}

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

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

@keyframes wpcursor-hero-holistique-deco-in {
	from {
		opacity: 0;
		transform: translateY(14px);
	}

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

@keyframes wpcursor-hero-holistique-deco-in-mirror {
	from {
		opacity: 0;
		transform: scaleX(-1) translateY(-14px);
	}

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

.wpcursor-hero-holistique__media {
	animation: wpcursor-hero-holistique-image-in 0.55s ease-out 0.15s both;
}

.wpcursor-hero-holistique__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(2.5rem, 5vw, 4rem);
	align-items: center;
	max-width: 1180px;
	margin: 0 auto;
	box-sizing: border-box;
}

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

.wpcursor-hero-holistique__heading {
	margin: 0;
	max-width: 36rem;
	font-family: var(--wpcursor-font-title);
	font-size: clamp(1.9rem, 3.8vw, 2.85rem);
	font-weight: var(--wpcursor-title-weight, 700);
	line-height: 1.16;
	letter-spacing: var(--wpcursor-title-letter-spacing, -0.027em);
	color: var(--wpcursor-hol-hero-heading);
}

.wpcursor-hero-holistique__divider {
	width: 3.25rem;
	height: 2px;
	margin: 1.35rem 0 1.5rem;
	border-radius: 999px;
	background: var(--wpcursor-hol-hero-accent);
}

.wpcursor-hero-holistique__description {
	margin: 0 0 1.75rem;
	max-width: 36rem;
	font-family: var(--wpcursor-font-body);
	font-size: clamp(0.94rem, 1.45vw, 1.04rem);
	font-weight: 400;
	line-height: 1.74;
	color: var(--wpcursor-hol-hero-body);
}

.wpcursor-hero-holistique__actions {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.75rem;
}

.wpcursor-hero-holistique__cta {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	padding: 0.88rem 1.35rem;
	border-radius: 999px;
	font-family: var(--wpcursor-font-body);
	font-size: clamp(0.8rem, 1.15vw, 0.88rem);
	font-weight: 600;
	white-space: nowrap;
	line-height: 1.25;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.wpcursor-hero-holistique__cta--primary {
	border: none;
	background: var(--wpcursor-hol-hero-cta);
	color: #ffffff;
	box-shadow: 0 6px 22px rgba(94, 58, 113, 0.24);
}

.wpcursor-hero-holistique__cta--primary:hover,
.wpcursor-hero-holistique__cta--primary:focus-visible {
	background: var(--wpcursor-hol-hero-cta-hover);
	color: #ffffff;
	outline: none;
	transform: translateY(-1px);
}

.wpcursor-hero-holistique__cta--secondary {
	border: 2px solid var(--wpcursor-hol-hero-cta);
	background: rgba(255, 255, 255, 0.65);
	color: var(--wpcursor-hol-hero-cta);
}

.wpcursor-hero-holistique__cta--secondary:hover,
.wpcursor-hero-holistique__cta--secondary:focus-visible {
	border-color: var(--wpcursor-hol-hero-cta-secondary-hover);
	background: rgba(94, 159, 163, 0.06);
	outline: none;
	transform: translateY(-1px);
}

.wpcursor-hero-holistique__cta-icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
}

.wpcursor-hero-holistique__visual {
	position: relative;
	min-width: 0;
	max-width: 560px;
	margin: 0 0 0 auto;
}

.wpcursor-hero-holistique__visual-glow {
	position: absolute;
	inset: -8% -6% -10% -4%;
	z-index: 0;
	border-radius: 58% 42% 48% 52% / 48% 52% 45% 55%;
	background: radial-gradient(circle at 42% 38%, var(--wpcursor-hol-hero-glow) 0%, rgba(243, 235, 228, 0.2) 55%, transparent 78%);
	pointer-events: none;
}

.wpcursor-hero-holistique__visual-deco {
	position: absolute;
	top: 4%;
	right: -8%;
	z-index: 0;
	width: min(82%, 380px);
	aspect-ratio: 1;
	border-radius: 58% 42% 45% 55% / 52% 48% 55% 45%;
	background: var(--wpcursor-hol-hero-deco);
	pointer-events: none;
}

.wpcursor-hero-holistique__media {
	position: relative;
	z-index: 1;
	overflow: hidden;
	border-radius: 58% 42% 48% 52% / 48% 52% 45% 55%;
	box-shadow: 0 24px 60px rgba(74, 45, 92, 0.16);
	isolation: isolate;
}

.wpcursor-hero-holistique__image {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	border-radius: 58% 42% 48% 52% / 48% 52% 45% 55%;
	object-fit: cover;
}

.wpcursor-hero-holistique__overlay {
	position: absolute;
	bottom: -4%;
	left: -12%;
	z-index: 3;
	width: min(54%, 240px);
	height: auto;
	pointer-events: none;
	filter: drop-shadow(0 6px 16px rgba(74, 45, 92, 0.1));
}

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

	.wpcursor-hero-holistique__visual {
		order: -1;
		max-width: 440px;
		margin: 0 auto;
	}

	.wpcursor-hero-holistique__heading,
	.wpcursor-hero-holistique__description {
		max-width: none;
	}
}

@media (max-width: 720px) {
	.wpcursor-hero-holistique__actions {
		flex-wrap: wrap;
	}

	.wpcursor-hero-holistique__cta {
		white-space: normal;
		text-align: center;
	}

	.wpcursor-hero-holistique__overlay {
		left: -6%;
		width: min(48%, 190px);
	}

	.wpcursor-hero-holistique__deco {
		display: none;
	}
}

@media (max-width: 480px) {
	.wpcursor-hero-holistique__actions {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}

	.wpcursor-hero-holistique__cta {
		width: 100%;
	}
}

.wpcursor-hero-holistique[data-wpcursor-runtime="admin_preview"] .wpcursor-hero-holistique__media,
.wpcursor-hero-holistique[data-wpcursor-runtime="admin_preview"] .wpcursor-hero-holistique__deco {
	animation: none;
	opacity: 1;
	transform: none;
}

.wpcursor-hero-holistique[data-wpcursor-runtime="admin_preview"] .wpcursor-hero-holistique__deco--bottom {
	transform: scaleX(-1);
}

@media (prefers-reduced-motion: reduce) {
	.wpcursor-hero-holistique__media,
	.wpcursor-hero-holistique__deco {
		animation: none;
		opacity: 1;
		transform: none;
	}

	.wpcursor-hero-holistique__deco--top {
		opacity: 0.28;
	}

	.wpcursor-hero-holistique__deco--bottom {
		opacity: 0.48;
		transform: scaleX(-1);
	}
}
