/* ==========================================================================
   Polyevn One Page – compléments au thème Polyevn Luxe
   ========================================================================== */

/* Les ancres ne passent pas sous l'en-tête fixe */
.pv-onepage [id] { scroll-margin-top: 72px; }

/* --------------------------------------------------------------------------
   Bandeaux de chapitre (Particuliers / Entreprises)
   -------------------------------------------------------------------------- */

.pv-chapter {
	position: relative;
	min-height: 88vh;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background: var(--pv-prune-deep);
	color: var(--pv-cream);
	isolation: isolate;
	margin: 0 !important;
}
.pv-chapter__bg {
	position: absolute;
	inset: -25% 0;
	z-index: -2;
	background-size: cover;
	background-position: center;
	will-change: transform;
}
.pv-chapter::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(46, 28, 30, .88) 0%, rgba(46, 28, 30, .55) 55%, rgba(46, 28, 30, .25) 100%),
		linear-gradient(180deg, rgba(46, 28, 30, 0) 50%, rgba(46, 28, 30, .7) 100%);
}
.pv-chapter__inner {
	position: relative;
	width: 100%;
	max-width: var(--pv-wide);
	margin-inline: auto;
	padding: 8rem var(--pv-gutter) clamp(4rem, 9vw, 7rem);
	box-sizing: border-box;
}
.pv-chapter__num {
	position: absolute;
	right: var(--pv-gutter);
	bottom: clamp(2rem, 5vw, 4rem);
	font-family: var(--pv-serif);
	font-style: italic;
	font-weight: 300;
	font-size: clamp(8rem, 22vw, 20rem);
	line-height: .8;
	color: transparent;
	-webkit-text-stroke: 1px rgba(235, 207, 202, .45);
	pointer-events: none;
}
.pv-chapter .pv-eyebrow { color: var(--pv-rose-light); }
.pv-chapter h2 {
	max-width: 900px;
	font-size: var(--wp--preset--font-size--display) !important;
	font-weight: 300;
	line-height: .98;
	color: var(--pv-cream);
	margin: 0 0 1.6rem;
}
.pv-chapter h2 em { color: var(--pv-rose-light); }
.pv-chapter p:not(.pv-eyebrow) {
	max-width: 620px;
	font-size: 1.1rem;
	color: rgba(251, 240, 233, .82);
}
@media (max-width: 600px) {
	.pv-chapter { min-height: 72vh; }
	.pv-chapter__num { top: 6rem; bottom: auto; }
}

/* --------------------------------------------------------------------------
   Menu : section en cours de lecture
   -------------------------------------------------------------------------- */

.pv-nav .is-current > .wp-block-navigation-item__content::after {
	transform: scaleX(1);
	transform-origin: left;
}

/* Le contact repose sur fond crème : la carte du formulaire passe en blanc */
.pv-onepage #contact .pv-form-card { background: #fff; }
.pv-footer { border-top: 1px solid rgba(128, 80, 80, .12); }
