/* ==========================================================================
   Lipstip DS — base globale
   Règles communes à toutes les pages qui n'étaient présentes que dans le module
   « page styles » embarqué de chaque page (classes lpv5-* de l'agence).
   Migré depuis Divi > Theme Options > Custom CSS (session du 16/11/2026).
   ========================================================================== */

/* Alias des variables historiques de l'agence vers les jetons Figma */
html:root {
	--lipstip-teal: var(--lds-secondary-500);
	--lipstip-teal-deep: var(--lds-secondary-700);
}

/* Modules « page styles » (anciens headers embarqués) : les styles s'appliquent, rien n'est affiché */
html body #page-container .lpv5-page-styles {
	display: none !important;
}

/* Header / footer globaux — règles de base */
.lpv5-header-row,
.lpv5-hero-row,
.lpv5-story-slide,
.lpv5-story-person,
.lpv5-product-heading,
.lpv5-footer-row {
	align-items: center;
}
.lpv5-header-row {
	min-height: 112px;
}
.lpv5-header-nav a {
	font-size: 13px;
	font-weight: var(--lds-font-weight-link);
	margin: 0 22px;
	color: var(--lds-primary-900) !important;
}
.lpv5-header-cta .et_pb_button,
.lpv5-cta-button .et_pb_button,
.lpv5-product-button .et_pb_button,
.lpv5-hero-button .et_pb_button {
	text-transform: uppercase;
}
.lpv5-footer-row {
	min-height: 123px;
}
.lpv5-footer-links a {
	font-size: 12px;
	font-weight: var(--lds-font-weight-link);
	margin-left: var(--lds-space-24);
	color: var(--lds-primary-900) !important;
}
@media (min-width: 981px) {
	body #page-container .lpv5-header-row,
	body #page-container .lpv5-footer-row {
		box-sizing: border-box !important;
		width: calc(100% - 64px) !important;
		max-width: none !important;
	}
}
@media (max-width: 980px) {
	.lpv5-header-nav {
		display: none;
	}
}
@media (max-width: 767px) {
	.lpv5-footer-row {
		gap: var(--lds-space-24);
	}
	.lpv5-footer-links a {
		display: inline-block;
		margin: 6px 12px 6px 0;
	}
}

/* Navigation du header — états (Figma nav-link : hover teal/500, actif teal/700) */
html body #page-container .lpv5-header-nav a:hover {
	color: var(--lds-secondary-500) !important;
}
html body #page-container .lpv5-header-nav a.is-current,
html body #page-container .lpv5-header-nav a[aria-current="page"],
html body #page-container .lpv5-header-menu-item--has-submenu.is-current-section > a {
	color: var(--lds-secondary-700) !important;
}
