/* ==========================================================================
   Base : reset léger, typographie, utilitaires communs à toutes les pages.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { :where(html:focus-within) { scroll-behavior: smooth; } }

body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--fs-18);
	line-height: 1.55;
	color: var(--c-text);
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	transition: background-color .3s, color .3s;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-green); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
:where(ul[class], ol[class]) { list-style: none; padding: 0; }

/* Images en deux versions (fsig_theme_image) : on affiche celle du thème actif */
[data-theme="dark"] .theme-img--light,
:root:not([data-theme="dark"]) .theme-img--dark { display: none !important; }

:focus-visible { outline: 2px solid var(--c-green); outline-offset: 3px; }

/* Remise à zéro instantanée d'une animation au scroll (main.js : indicateurs rejoués à chaque retour) */
.is-resetting, .is-resetting * { transition: none !important; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto;
	z-index: 1000; top: 8px; left: 8px;
	padding: 10px 16px; background: var(--c-bg); color: var(--c-heading);
}

/* Conteneur : marges latérales Figma (111px à 1920px) */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.site-main { padding-top: var(--header-h); min-height: 60vh; }

.section { padding-block: var(--section-y); }
.section--alt { background: var(--c-bg-alt); }

/* Sur-titre vert (Century Gothic Bold 28px #95CB43) + titre de section (Bold 58px/60px #7B7B7B) */
.eyebrow {
	display: block;
	margin-bottom: .3em;
	font-size: var(--fs-eyebrow);
	font-weight: 700;
	letter-spacing: .05em;
	color: var(--c-green);
}
.title-h1, .title-h2 {
	font-weight: 700;
	line-height: 1.035;
	color: var(--c-text);
}
.title-h1 { font-size: var(--fs-h1); }
.title-h2 { font-size: var(--fs-h2); }

.rich-text > * + * { margin-top: 1em; }
.rich-text ul { padding-left: 1.2em; }

/* Bouton */
.btn {
	display: inline-flex;
	align-items: center;
	gap: .6em;
	padding: .75em 1.4em;
	border-radius: 999px;
	font-weight: 700;
	font-size: var(--fs-16);
	background: var(--c-green);
	color: #fff;
	transition: background-color .2s, transform .2s var(--ease);
}
.btn:hover { background: var(--c-green-bright); color: #fff; transform: translateY(-1px); }

/* Pages génériques (mentions légales, etc.) */
.page-default { padding-block: var(--section-y); }
.page-default .title-h1 { margin-bottom: .8em; }
.page-default .rich-text { max-width: 900px; }
