/**
 * Hero et bandeau CTA partagés (pages intérieures)
 */

.bcom-page-hero {
	position: relative;
	overflow: hidden;
	min-height: 320px;
}

.bcom-page-hero--solid {
	background: var(--hp-primary, #004e90);
	min-height: 260px;
}

.bcom-page-hero--solid .bcom-page-hero__inner.container {
	padding: 72px 20px 64px;
}

.bcom-page-hero__media {
	position: absolute;
	inset: 0;
}

.bcom-page-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.bcom-page-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 78, 144, 0.82) 0%, rgba(0, 78, 144, 0.45) 55%, rgba(0, 78, 144, 0.2) 100%);
}

.bcom-page-hero__inner.container {
	position: relative;
	z-index: 2;
	max-width: 1200px;
	padding: 96px 20px 88px;
}

.bcom-page-hero__title {
	position: relative;
	max-width: 560px;
	margin: 0 0 18px;
	padding-top: 22px;
	color: #fff;
	font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
	font-size: 42px;
	font-weight: 700;
	line-height: 1.2;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

.bcom-page-hero__title::before {
	content: "";
	position: absolute;
	top: -0.25em;
	left: -1em;
	width: 48px;
	height: 48px;
	border-top: 4px solid #fff;
	border-left: 4px solid #fff;
}

.bcom-page-hero__text {
	max-width: 560px;
	margin: 0;
	color: rgba(255, 255, 255, 0.94);
	font-family: 'Segoe UI', sans-serif;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.7;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

/* CTA */
.bcom-page-cta {
	position: relative;
	padding: 48px 0;
	background: var(--hp-primary, #004e90);
}

.bcom-page-cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: 1200px;
}

.bcom-page-cta__text {
	flex: 1 1 320px;
	margin: 0;
	max-width: 720px;
	color: #fff;
	font-family: 'Segoe UI', sans-serif;
	font-size: clamp(22px, 3vw, 30px);
	line-height: 1.4;
}

.bcom-page-cta__btn {
	flex-shrink: 0;
	white-space: nowrap;
}

.bcom-page-cta__pointer {
	position: absolute;
	right: 38%;
	bottom: 12px;
	width: 80px;
	height: auto;
	pointer-events: none;
	opacity: 0.9;
}

@media (max-width: 767px) {
	.bcom-page-hero__inner.container {
		padding: 72px 16px 64px;
	}

	.bcom-page-hero__title {
		font-size: 32px;
	}

	.bcom-page-cta__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.bcom-page-cta__pointer {
		display: none;
	}
}
