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

/* Masquer le titre Astra sur la page agence quand ce hero est présent. */
.page-id-84 .entry-header,
.page-id-84 .ast-single-post .entry-header,
body.page-id-84 h1.entry-title {
	display: none !important;
}

.wpcursor-agence-hero {
	--wpc-ah-navy: #10224f;
	--wpc-ah-ink: #2a3345;
	--wpc-ah-muted: #5a6578;
	--wpc-ah-blue: #3d9be9;
	--wpc-ah-grad: linear-gradient(100deg, #3d9be9 0%, #7a3adf 55%, #912cdc 100%);
	position: relative;
	isolation: isolate;
	width: 100%;
	overflow: hidden;
	margin: 0;
	padding: 0;
	font-family: Poppins, "Segoe UI", sans-serif;
	color: var(--wpc-ah-ink);
	background: #fff;
	box-sizing: border-box;
}

.wpcursor-agence-hero__stage {
	position: relative;
	isolation: isolate;
	min-height: clamp(480px, 52vw, 640px);
	background-color: #f4f9ff;
	background-image: var(--wpc-agence-hero-bg);
	background-repeat: no-repeat;
	background-position: right center;
	background-size: cover;
}

.wpcursor-agence-hero__stage::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.96) 0%,
		rgba(255, 255, 255, 0.9) 28%,
		rgba(255, 255, 255, 0.55) 48%,
		rgba(255, 255, 255, 0.12) 64%,
		rgba(255, 255, 255, 0) 78%
	);
}

.wpcursor-agence-hero__copy {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 1180px;
	min-height: inherit;
	margin: 0 auto;
	padding: clamp(2.6rem, 5vw, 4.5rem) 1.35rem;
	box-sizing: border-box;
}

.wpcursor-agence-hero__copy > * {
	max-width: min(34rem, 52%);
}

.wpcursor-agence-hero__location {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0 0 0.85rem;
	color: var(--wpc-ah-blue);
	font-size: 0.95rem;
	font-weight: 600;
}

.wpcursor-agence-hero__location svg {
	width: 18px;
	height: 18px;
	color: var(--wpc-ah-blue);
	flex-shrink: 0;
}

.wpcursor-agence-hero__title,
.wpcursor-agence-hero h1.wpcursor-agence-hero__title {
	margin: 0;
	font-size: clamp(2rem, 4.6vw, 3.35rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

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

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

.wpcursor-agence-hero__lead {
	margin: 1.15rem 0 0;
	color: var(--wpc-ah-navy);
	font-size: clamp(1.05rem, 1.7vw, 1.25rem);
	font-weight: 700;
	line-height: 1.4;
}

.wpcursor-agence-hero__text {
	margin: 0.65rem 0 0;
	color: var(--wpc-ah-muted);
	font-size: clamp(0.98rem, 1.35vw, 1.08rem);
	font-weight: 500;
	line-height: 1.55;
}

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

.wpcursor-agence-hero__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.88rem 1.3rem;
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
	line-height: 1.2;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.wpcursor-agence-hero__btn svg {
	width: 16px;
	height: 16px;
}

.wpcursor-agence-hero__btn--primary {
	background: var(--wpc-ah-grad);
	color: #fff !important;
	box-shadow: 0 12px 28px rgba(80, 70, 180, 0.26);
}

.wpcursor-agence-hero__btn--primary:hover,
.wpcursor-agence-hero__btn--primary:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 16px 32px rgba(80, 70, 180, 0.32);
}

.wpcursor-agence-hero__btn--ghost {
	background: #fff;
	color: var(--wpc-ah-blue) !important;
	border: 1.5px solid rgba(61, 155, 233, 0.55);
}

.wpcursor-agence-hero__btn--ghost:hover,
.wpcursor-agence-hero__btn--ghost:focus-visible {
	transform: translateY(-2px);
	border-color: #7a3adf;
	color: #7a3adf !important;
}

.wpcursor-agence-hero .wpcursor-agence-hero__trust,
.entry-content .wpcursor-agence-hero__trust {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem 2.5rem;
	max-width: 1180px;
	margin: 0 auto !important;
	padding: 1.15rem 1.35rem 1.35rem !important;
	list-style: none !important;
	background: #fff;
	box-sizing: border-box;
}

.wpcursor-agence-hero .wpcursor-agence-hero__trust > li,
.entry-content .wpcursor-agence-hero__trust > li {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	color: var(--wpc-ah-muted);
	font-size: 0.92rem;
	font-weight: 600;
}

.wpcursor-agence-hero__trust-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: #eaf4ff;
	color: var(--wpc-ah-blue);
	flex-shrink: 0;
}

.wpcursor-agence-hero__trust-ico svg {
	width: 18px;
	height: 18px;
}

@media (max-width: 900px) {
	.wpcursor-agence-hero__stage {
		min-height: clamp(520px, 88vw, 640px);
		background-position: 72% center;
		background-size: cover;
	}

	.wpcursor-agence-hero__stage::before {
		background: linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.96) 0%,
			rgba(255, 255, 255, 0.9) 42%,
			rgba(255, 255, 255, 0.55) 62%,
			rgba(255, 255, 255, 0.15) 78%,
			rgba(255, 255, 255, 0) 100%
		);
	}

	.wpcursor-agence-hero__copy > * {
		max-width: min(34rem, 100%);
	}
}

@media (max-width: 640px) {
	.wpcursor-agence-hero__stage {
		background-position: 78% 20%;
	}

	.wpcursor-agence-hero__trust {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}
}
