/**
 * Fonds photographiques/abstraits propres aux pages publiques.
 * Les panneaux de contenu conservent leur contraste tandis que l'arrière-plan
 * reste visible sur toute la hauteur de la page.
 */

/* Accueil : le même fond couvre toute la composition, également sur mobile. */
body.mn-homepage-final-page .mn-homepage,
body.home .mn-homepage {
	background-color: #063e55;
	background-image: var(--mn-page-bg-home);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

body.mn-homepage-final-page .mn-homepage__background,
body.home .mn-homepage__background {
	inset: 0;
	height: 100%;
	background-color: #063e55;
	background-image: var(--mn-page-bg-home) !important;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	transform: none;
}

/* Pages internes : fond plein écran maintenu pendant le défilement. */
body.mn-equipe-page-document,
body.single-praticien {
	background-color: #07546b !important;
	background-image: var(--mn-page-bg-praticiens) !important;
	background-position: center top !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	background-attachment: fixed !important;
}

body.mn-news-page-document,
body.mn-news-single-document,
body.post-type-archive-actualite,
body.tax-actualite_categorie,
body.single-actualite {
	background-color: #07546b !important;
	background-image: var(--mn-page-bg-actualites) !important;
	background-position: center top !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	background-attachment: fixed !important;
}

body.mn-labo-page-document {
	background-color: #07566d !important;
	background-image: linear-gradient(145deg, #07576c 0%, #0c7885 46%, #06455f 100%) !important;
	background-position: center top !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	background-attachment: scroll !important;
}

body.mn-centre-page-document {
	background-color: #eaf7f8 !important;
	background-image: var(--mn-page-bg-centre) !important;
	background-position: center top !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	background-attachment: fixed !important;
}

body.mn-cabinets-page-document {
	background-color: #eaf7f8 !important;
	background-image: var(--mn-page-bg-cabinets) !important;
	background-position: center top !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	background-attachment: fixed !important;
}

/* Désactive l'ancien motif SVG global sur les pages désormais illustrées. */
body.mn-equipe-page-document main::before,
body.single-praticien main::before,
body.mn-news-page-document main::before,
body.mn-news-single-document main::before,
body.mn-labo-page-document main::before,
body.mn-centre-page-document main::before,
body.mn-cabinets-page-document main::before {
	content: none !important;
	display: none !important;
}

/* Équipe et fiches praticiens. */
body.mn-equipe-page-document .mn-equipe-page,
body.mn-equipe-page-document .mn-equipe-page__directory,
body.single-praticien .single-praticien-page {
	background: transparent !important;
}

body.mn-equipe-page-document .mn-equipe-page__hero {
	background:
		radial-gradient(circle at 78% 20%, rgba(128, 203, 210, .22), transparent 36%),
		linear-gradient(118deg, rgba(3, 35, 55, .90), rgba(7, 79, 101, .78)) !important;
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}

body.mn-equipe-page-document .praticiens-wrapper {
	background-color: rgba(247, 253, 253, .90) !important;
}

/* Actualités. */
body.mn-news-page-document .mn-news-page,
body.mn-news-single-document .mn-news-single,
body.post-type-archive-actualite .mn-news-page,
body.tax-actualite_categorie .mn-news-page,
body.single-actualite .mn-news-single {
	background: transparent !important;
}

body.mn-news-page-document .mn-news-hero,
body.mn-news-single-document .mn-news-single__hero,
body.post-type-archive-actualite .mn-news-hero,
body.tax-actualite_categorie .mn-news-hero,
body.single-actualite .mn-news-single__hero {
	background: linear-gradient(120deg, rgba(4, 55, 76, .92), rgba(11, 122, 145, .78), rgba(75, 176, 190, .66)) !important;
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}

/* Laboratoire. */
body.mn-labo-page-document .mn-labo-page {
	background: transparent !important;
}

body.mn-labo-page-document .mn-labo-hero {
	background: transparent !important;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

/* Le Centre. */
body.mn-centre-page-document .mn-centre-page {
	background: transparent !important;
}

body.mn-centre-page-document .mn-centre-hero__grid,
body.mn-centre-page-document .mn-centre-story,
body.mn-centre-page-document .mn-centre-feature,
body.mn-centre-page-document .mn-centre-access__content,
body.mn-centre-page-document .mn-centre-access-card {
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

/* Cabinets à louer. */
body.mn-cabinets-page-document .mn-cabinets-page {
	background: transparent !important;
}

body.mn-cabinets-page-document .mn-cabinets-hero {
	background: linear-gradient(135deg, rgba(248, 252, 253, .94), rgba(232, 246, 247, .87), rgba(215, 240, 243, .78)) !important;
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
}

@media (max-width: 900px) {
	body.mn-homepage-final-page .mn-homepage__background,
	body.home .mn-homepage__background {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		height: 100%;
		overflow: hidden;
		background-image: var(--mn-page-bg-home) !important;
		background-position: center top;
		background-size: cover;
	}

	body.mn-homepage-final-page .mn-homepage__background::before,
	body.home .mn-homepage__background::before {
		content: none !important;
		display: none !important;
	}

	body.mn-homepage-final-page .mn-homepage__overlay,
	body.home .mn-homepage__overlay {
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		height: 100%;
		background:
			linear-gradient(180deg, rgba(2, 27, 52, .24) 0%, rgba(2, 27, 52, .36) 48%, rgba(3, 22, 43, .82) 100%),
			linear-gradient(90deg, rgba(0, 21, 42, .08), transparent 50%, rgba(0, 21, 42, .08));
	}

	body.mn-equipe-page-document,
	body.single-praticien,
	body.mn-news-page-document,
	body.mn-news-single-document,
	body.post-type-archive-actualite,
	body.tax-actualite_categorie,
	body.single-actualite,
	body.mn-labo-page-document,
	body.mn-centre-page-document,
	body.mn-cabinets-page-document {
		background-attachment: scroll !important;
		background-position: center top !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.mn-equipe-page-document,
	body.single-praticien,
	body.mn-news-page-document,
	body.mn-news-single-document,
	body.post-type-archive-actualite,
	body.tax-actualite_categorie,
	body.single-actualite,
	body.mn-labo-page-document,
	body.mn-centre-page-document,
	body.mn-cabinets-page-document {
		background-attachment: scroll !important;
	}
}

/**
 * Version 3.0.2 — fond continu en un seul bloc.
 *
 * Les pages Équipe, Actualités et Cabinets à louer utilisent désormais leur
 * image comme unique arrière-plan sur toute la hauteur. Les anciens aplats ou
 * dégradés propres au bandeau supérieur sont neutralisés afin d'éviter toute
 * rupture visuelle entre le hero et le contenu.
 */

/* Équipe / praticiens : une seule composition de fond sur toute la page. */
body.mn-equipe-page-document,
body.single-praticien {
	background-image:
		linear-gradient(180deg, rgba(2, 31, 48, .34), rgba(4, 71, 88, .14)),
		var(--mn-page-bg-praticiens) !important;
	background-position: center top, center top !important;
	background-repeat: no-repeat, no-repeat !important;
	background-size: cover, cover !important;
}

body.mn-equipe-page-document .mn-equipe-page,
body.mn-equipe-page-document .mn-equipe-page__hero,
body.mn-equipe-page-document .mn-equipe-page__directory {
	background-color: transparent !important;
	background-image: none !important;
}

body.mn-equipe-page-document .mn-equipe-page__hero {
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
}

body.mn-equipe-page-document .mn-equipe-page__hero::before,
body.mn-equipe-page-document .mn-equipe-page__hero::after {
	content: none !important;
	display: none !important;
	background: none !important;
}

/* Actualités : le fond traverse le bandeau, les filtres et la liste. */
body.mn-news-page-document,
body.mn-news-single-document,
body.post-type-archive-actualite,
body.tax-actualite_categorie,
body.single-actualite {
	background-image:
		linear-gradient(180deg, rgba(3, 42, 60, .32), rgba(12, 105, 123, .10)),
		var(--mn-page-bg-actualites) !important;
	background-position: center top, center top !important;
	background-repeat: no-repeat, no-repeat !important;
	background-size: cover, cover !important;
}

body.mn-news-page-document .mn-news-page,
body.mn-news-single-document .mn-news-single,
body.post-type-archive-actualite .mn-news-page,
body.tax-actualite_categorie .mn-news-page,
body.single-actualite .mn-news-single,
body.mn-news-page-document .mn-news-hero,
body.mn-news-single-document .mn-news-single__hero,
body.post-type-archive-actualite .mn-news-hero,
body.tax-actualite_categorie .mn-news-hero,
body.single-actualite .mn-news-single__hero {
	background-color: transparent !important;
	background-image: none !important;
}

body.mn-news-page-document .mn-news-hero,
body.mn-news-single-document .mn-news-single__hero,
body.post-type-archive-actualite .mn-news-hero,
body.tax-actualite_categorie .mn-news-hero,
body.single-actualite .mn-news-single__hero {
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
}

body.mn-news-page-document .mn-news-hero::before,
body.mn-news-single-document .mn-news-single__hero::before,
body.post-type-archive-actualite .mn-news-hero::before,
body.tax-actualite_categorie .mn-news-hero::before,
body.single-actualite .mn-news-single__hero::before {
	content: none !important;
	display: none !important;
	background: none !important;
}

/* Cabinets à louer : le même fond reste visible derrière toutes les sections. */
body.mn-cabinets-page-document {
	background-image:
		linear-gradient(180deg, rgba(244, 251, 252, .22), rgba(229, 246, 248, .10)),
		var(--mn-page-bg-cabinets) !important;
	background-position: center top, center top !important;
	background-repeat: no-repeat, no-repeat !important;
	background-size: cover, cover !important;
}

body.mn-cabinets-page-document .mn-cabinets-page,
body.mn-cabinets-page-document .mn-cabinets-hero,
body.mn-cabinets-page-document .mn-cabinets-section,
body.mn-cabinets-page-document .mn-cabinets-cta {
	background-color: transparent !important;
	background-image: none !important;
}

body.mn-cabinets-page-document .mn-cabinets-hero {
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
}

body.mn-cabinets-page-document .mn-cabinets-hero::before {
	content: none !important;
	display: none !important;
	background: none !important;
}


/* Version 3.0.5 — fond d'accueil réellement fixe et nouveau décor Labo. */
body.mn-homepage-final-page .mn-homepage__background,
body.home .mn-homepage__background{
	position:fixed!important;
	inset:0!important;
	width:100vw!important;
	height:100vh!important;
	min-height:100vh!important;
	background-image:var(--mn-page-bg-home)!important;
	background-position:center center!important;
	background-size:cover!important;
	transform:none!important;
}
body.mn-homepage-final-page .mn-homepage__overlay,
body.home .mn-homepage__overlay{
	position:fixed!important;
	inset:0!important;
	width:100vw!important;
	height:100vh!important;
}
body.mn-labo-page-document{
	background-color:#07566d!important;
	background-image:
		linear-gradient(135deg,rgba(3,68,84,.16),rgba(2,48,78,.22)),
		var(--mn-page-bg-labo)!important;
	background-position:center center!important;
	background-repeat:no-repeat!important;
	background-size:cover!important;
	background-attachment:fixed!important;
}
body.mn-labo-page-document .mn-labo-page::before{
	content:none!important;
	display:none!important;
}
