/**
 * Plug&Sign — Typography
 */

body {
	font-family: var(--ps-font-body) !important;
	font-size: var(--ps-text-base);
	line-height: var(--ps-line-height);
	color: var(--ps-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
.et_pb_text h1,
.et_pb_text h2,
.et_pb_text h3,
.et_pb_text h4,
.et_pb_blurb .et_pb_module_header,
.et_pb_blurb .et_pb_module_header a {
	font-family: var(--ps-font-heading) !important;
}

.et_pb_text .et_pb_text_inner,
.et_pb_blurb .et_pb_blurb_description,
#left-area .entry-content {
	font-family: var(--ps-font-body) !important;
	line-height: var(--ps-line-height);
}

/* Sous-titres Molti — accent orange sur fond clair uniquement */
.et_pb_bg_layout_light .et_pb_text h5 {
	font-family: var(--ps-font-body) !important;
	font-size: var(--ps-text-xs);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ps-primary);
}

.et_pb_bg_layout_dark .et_pb_text h5,
.et_pb_section_1 .et_pb_text h5,
.et_pb_section_1 .flex_ss_titre h5 {
	color: rgba(255, 255, 255, 0.95);
}

/* Liens dans le contenu — pas le menu ni le footer */
.et_pb_text a:not(.et_pb_button),
#left-area .entry-content a:not(.et_pb_button) {
	color: var(--ps-primary);
}

.et_pb_text a:not(.et_pb_button):hover,
#left-area .entry-content a:not(.et_pb_button):hover {
	color: var(--ps-primary-hover);
}

/* Accueil — titres de section */
body.home .et_pb_bg_layout_light .et_pb_text h2 {
	font-weight: 700 !important;
	color: var(--ps-text) !important;
	letter-spacing: -0.02em;
	line-height: var(--ps-line-height-tight) !important;
}

body.home .et_pb_bg_layout_light .et_pb_text h3 {
	font-weight: 600 !important;
	color: var(--ps-text) !important;
}

body.home .et_pb_bg_layout_light .et_pb_text p {
	color: var(--ps-text-muted);
}
