/*
Theme Name: CNVM Journal
Theme URI: https://cnvm.fr
Author: CNVM
Description: Thème code-pur du journal CNVM (Comprendre, Négocier, Vivre Mieux) — vie pratique, budget, logement, travail. Mode clair uniquement.
Version: 1.0.0
Text Domain: cnvm-journal
Requires at least: 6.0
Requires PHP: 7.4
*/

/* ===================== Polices self-hébergées (P-086) ===================== */
/* Fichiers attendus dans assets/fonts/ (à déposer avant publication, cf. compte rendu) :
   InterTight-500.woff2, InterTight-700.woff2, InterTight-800.woff2, InterTight-900.woff2,
   Domine-400.woff2, Domine-600.woff2, Domine-700.woff2, Domine-Italic-400.woff2.
   Tant qu'un fichier manque, le navigateur sert simplement le repli système ci-dessous :
   rien ne casse, le rendu change seulement de police. */
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/InterTight-500.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/InterTight-700.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/InterTight-800.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 900; font-display: swap; src: url("assets/fonts/InterTight-900.woff2") format("woff2"); }
@font-face { font-family: "Domine"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/Domine-400.woff2") format("woff2"); }
@font-face { font-family: "Domine"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/Domine-600.woff2") format("woff2"); }
@font-face { font-family: "Domine"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/Domine-700.woff2") format("woff2"); }
@font-face { font-family: "Domine"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/Domine-Italic-400.woff2") format("woff2"); }

/* ===================== Variables propres au thème (en plus des --sb-* du bloc figé) ===================== */
:root {
	--cnvm-jaune: #FFD84A;
	--cnvm-jaune-encre: #FFF3C4;
	--cnvm-carte: #FFFFFF;
	color-scheme: light;
}

/* ===================== Reset minimal ===================== */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	overflow-x: clip;
	background: var(--sb-fond);
	color: var(--sb-encre);
	font: 400 16px/1.6 var(--sb-lecture);
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--sb-titre); margin: 0 0 .6em; color: var(--sb-encre); }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.sb-cadre { width: min(1200px, 100% - 2rem); margin-inline: auto; }
@media (max-width: 760px) { .sb-cadre { width: min(100% - 32px, 1200px); } }
