@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

.wpcursor-accueil-hero {
	--wpc-hero-navy: #10224f;
	--wpc-hero-ink: #2a3345;
	--wpc-hero-grad: linear-gradient(100deg, #3d9be9 0%, #7a3adf 55%, #912cdc 100%);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	width: 100%;
	min-height: clamp(440px, 58vw, 620px);
	background-color: #f4f9ff;
	background-image: var(--wpc-hero-bg);
	background-repeat: no-repeat;
	background-position: right top;
	/* Entre cover et trop petit : calé en haut à droite pour fondre dans le ciel. */
	background-size: min(1120px, 82vw) auto;
	font-family: Poppins, "Segoe UI", sans-serif;
	color: var(--wpc-hero-ink);
}

.wpcursor-accueil-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.92) 0%,
		rgba(255, 255, 255, 0.78) 34%,
		rgba(255, 255, 255, 0.18) 58%,
		rgba(255, 255, 255, 0) 72%
	);
}

.wpcursor-accueil-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	max-width: 1240px;
	min-height: inherit;
	margin: 0 auto;
	padding: clamp(2.4rem, 5vw, 4.2rem) 1.35rem;
}

.wpcursor-accueil-hero__copy {
	max-width: 560px;
}

.wpcursor-accueil-hero h1 {
	margin: 0;
	font-size: clamp(1.85rem, 4.2vw, 3.15rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.wpcursor-accueil-hero__title-top {
	display: block;
	color: var(--wpc-hero-navy);
}

.wpcursor-accueil-hero__title-grad {
	display: block;
	margin-top: 0.12em;
	background-image: var(--wpc-hero-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.wpcursor-accueil-hero__lead {
	max-width: 28rem;
	margin: 1.05rem 0 0;
	font-size: clamp(1rem, 1.5vw, 1.15rem);
	line-height: 1.5;
	font-weight: 500;
	color: #3a4558;
}

.wpcursor-accueil-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.55rem;
}

.wpcursor-accueil-hero__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.82rem 1.2rem;
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	line-height: 1.2;
}

.wpcursor-accueil-hero__btn svg {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}

.wpcursor-accueil-hero__btn--primary {
	background: var(--wpc-hero-grad);
	color: #fff;
	box-shadow: 0 10px 22px rgba(80, 70, 180, 0.24);
}

.wpcursor-accueil-hero__btn--ghost {
	background: #fff;
	color: #2a2148;
	border: 1.5px solid #9b4dff;
}

.wpcursor-accueil-hero__btn--ghost svg {
	color: #912cdc;
}

.wpcursor-accueil-hero__locations {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.4rem;
	margin: 1.35rem 0 0;
	max-width: 28rem;
	font-size: 0.9rem;
	line-height: 1.4;
	color: #3a4558;
}

.wpcursor-accueil-hero__locations svg {
	width: 16px;
	height: 16px;
	margin-top: 0.15rem;
	flex: 0 0 auto;
	color: #912cdc;
}

@media (max-width: 900px) {
	.wpcursor-accueil-hero {
		min-height: auto;
		background-position: right top;
		background-size: min(720px, 108vw) auto;
	}

	.wpcursor-accueil-hero::before {
		background: linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.94) 0%,
			rgba(255, 255, 255, 0.88) 48%,
			rgba(255, 255, 255, 0.55) 72%,
			rgba(255, 255, 255, 0.2) 100%
		);
	}

	.wpcursor-accueil-hero__inner {
		padding-top: 2.2rem;
		padding-bottom: 14rem;
	}
}

@media (max-width: 560px) {
	.wpcursor-accueil-hero__btn {
		width: 100%;
		justify-content: center;
	}

	.wpcursor-accueil-hero__inner {
		padding-bottom: 12rem;
	}
}
