/*
Theme Name: Mensialis
Description: Thème custom pour la refonte du site mensialis.com
Author: Mensialis
Version: 0.1.0
Text Domain: mensialis-theme
*/

/* ==========================================================================
   Fondations de marque Mensialis
   Source : skills Claude "mensialis-presentation" / "mensialis-linkedin"
   (charte figée — voir /BRANDING.md à la racine du dépôt pour le détail)
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
}

:root {
	/* Teal — couleur de marque principale */
	--mensialis-teal: #00A096;
	--mensialis-teal-light: #4EC6A5;
	--mensialis-teal-mid: #3EB294;
	--mensialis-teal-deep: #2E9A7E;
	--mensialis-green-bright: #33BA9B;
	--mensialis-green-deep: #0E7A62;   /* texte sur fond clair / boutons */
	--mensialis-green-forest: #123D31; /* texte sur cartes blanches */

	/* Accent corail — usage très limité (ex. badges d'alerte), jamais en usage courant */
	--mensialis-coral: #F4795B;

	--mensialis-white: #FFFFFF;
	--mensialis-font: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@font-face {
	font-family: "Open Sans";
	src: url("assets/fonts/OpenSans-Variable.ttf") format("truetype-variations");
	font-weight: 300 800;
	font-style: normal;
	font-display: swap;
}

body {
	font-family: var(--mensialis-font);
	color: var(--mensialis-green-forest);
}

/* ==========================================================================
   Composants partagés (global — toutes les pages)
   ========================================================================== */

.section-kicker {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 13px;
	font-weight: 700;
	/* vert profond plutôt que teal vif : le teal pur sur fond clair
	   n'atteint que ~3.2:1 (échoue WCAG AA 4.5:1 requis pour du texte) */
	color: var(--mensialis-green-deep);
	margin-bottom: 8px;
}

.section-kicker--on-dark {
	color: var(--mensialis-white);
}

.section-title {
	font-size: 32px;
	font-weight: 800;
	color: var(--mensialis-green-forest);
	margin: 0 0 16px;
}

.section-title--on-dark {
	color: var(--mensialis-white);
}

/* --- Icon badge --- */
.icon-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: var(--mensialis-teal);
	margin-bottom: 16px;
}

.icon-badge img {
	width: 28px;
	height: 28px;
}

/* --- Badge numéroté --- */
.badge-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	/* vert profond plutôt que teal vif : porte du texte (le chiffre),
	   le teal pur en fond n'atteint que ~3.2:1 avec du blanc (échoue WCAG AA) */
	background: var(--mensialis-green-deep);
	color: var(--mensialis-white);
	font-weight: 800;
	font-size: 14px;
	margin-bottom: 12px;
}

/* --- Lueur d'accent (sections sombres) --- */
.section-glow {
	position: absolute;
	width: 500px;
	height: 500px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(78, 198, 165, 0.35), transparent 70%);
	pointer-events: none;
	z-index: 0;
}

.section-glow--top-right {
	top: -20%;
	right: -10%;
}

.section-glow--bottom-left {
	bottom: -20%;
	left: -10%;
}

/* ==========================================================================
   En-tête (global — toutes les pages)
   ========================================================================== */

.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 20px 24px;
	background: var(--mensialis-white);
}

.site-header a {
	color: var(--mensialis-green-forest);
	text-decoration: none;
	font-weight: 800;
	font-size: 20px;
	letter-spacing: 0.02em;
}

#site-navigation ul {
	display: flex;
	gap: 24px;
	list-style: none;
	padding: 0;
	margin: 0;
	flex-wrap: wrap;
}

#site-navigation a {
	color: var(--mensialis-green-forest);
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
}

#site-navigation a:hover {
	color: var(--mensialis-teal);
}

/* ==========================================================================
   Pied de page (global — toutes les pages)
   ========================================================================== */

.footer-legal-menu {
	display: flex;
	gap: 24px;
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
	flex-wrap: wrap;
}

.footer-legal-menu a {
	color: var(--mensialis-green-forest);
	text-decoration: none;
	font-size: 14px;
}

.footer-partners {
	display: flex;
	gap: 12px;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 24px;
	padding-top: 24px;
	border-top: 1px solid rgba(18, 61, 49, 0.1);
}

.footer-partners__chip {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--mensialis-white);
	border-radius: 8px;
	padding: 10px 16px;
	height: 56px;
}

.footer-partners__logo {
	height: 100%;
	width: auto;
	max-width: 130px;
	object-fit: contain;
	filter: grayscale(100%);
	opacity: 0.75;
}

.site-footer {
	padding: 48px 24px;
	background: #F6FAF9;
}
