/* =================================================================
   Design tokens — Direction A « Dossier officiel premium »
   Pour cloner vers une autre niche : ne changer (idéalement) que ce fichier.
   ================================================================= */

:root {
	/* ---- Couleurs ---- */
	--gf-bg: #fbfaf7;          /* ivoire papier */
	--gf-bg-tint: #f4f1ea;     /* fond de section alterné */
	--gf-surface: #ffffff;
	--gf-ink: #16181d;         /* encre (texte principal) */
	--gf-muted: #5b6270;       /* texte secondaire */
	--gf-line: #e7e3da;        /* filets / bordures */
	--gf-line-strong: #d8d2c5;

	--gf-brand: #1f4fd8;       /* bleu institutionnel : liens, immatriculée PDP */
	--gf-brand-ink: #15369a;
	--gf-accent: #0e8a5f;      /* vert « conforme / agréée » */
	--gf-accent-ink: #0a6446;
	--gf-warn: #b4540a;        /* ambre « non immatriculée / attention » */
	--gf-warn-ink: #8a3f07;

	--gf-cta: #16181d;         /* CTA principal : encre */
	--gf-cta-hover: #1f4fd8;   /* hover : bleu */

	/* Teintes douces pour fonds de badges */
	--gf-brand-soft: #eaeffb;
	--gf-accent-soft: #e7f5ee;
	--gf-warn-soft: #fbeee2;
	--gf-muted-soft: #eef0f2;

	/* ---- Typographie ---- */
	/* v1 : piles système (RGPD-safe, zéro requête externe).
	   Upgrade possible : @font-face self-hosted (Fraunces / Inter / IBM Plex Mono). */
	--gf-font-display: "Iowan Old Style", "Palatino Linotype", "Palatino", "Georgia", "Times New Roman", serif;
	--gf-font-text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--gf-font-mono: ui-monospace, "Cascadia Code", "Source Code Pro", "Consolas", "Liberation Mono", monospace;

	/* Échelle fluide */
	--gf-fs-display: clamp(2.4rem, 5.2vw, 4.5rem);
	--gf-fs-h1: clamp(2rem, 4vw, 3.2rem);
	--gf-fs-h2: clamp(1.6rem, 3vw, 2.4rem);
	--gf-fs-h3: clamp(1.25rem, 2vw, 1.6rem);
	--gf-fs-lead: clamp(1.05rem, 1.4vw, 1.3rem);
	--gf-fs-base: 1.0625rem;
	--gf-fs-sm: 0.9rem;
	--gf-fs-xs: 0.78rem;

	/* ---- Espacement (échelle 4/8) ---- */
	--gf-space-1: 0.25rem;
	--gf-space-2: 0.5rem;
	--gf-space-3: 0.75rem;
	--gf-space-4: 1rem;
	--gf-space-5: 1.5rem;
	--gf-space-6: 2rem;
	--gf-space-8: 3rem;
	--gf-space-10: 4rem;
	--gf-space-12: 6rem;

	/* Rythme de section */
	--gf-section-x: clamp(1rem, 4vw, 5rem);
	--gf-section-y: clamp(3.5rem, 9vw, 8rem);
	--gf-maxw: 1200px;
	--gf-maxw-text: 70ch;

	/* ---- Rayons ---- */
	--gf-r-sm: 6px;
	--gf-r-md: 12px;
	--gf-r-lg: 20px;
	--gf-r-pill: 999px;

	/* ---- Profondeur ---- */
	--gf-shadow-sm: 0 1px 2px rgba(22, 24, 29, 0.06), 0 1px 1px rgba(22, 24, 29, 0.04);
	--gf-shadow-md: 0 8px 24px rgba(22, 24, 29, 0.08), 0 2px 6px rgba(22, 24, 29, 0.05);
	--gf-shadow-hard: 4px 4px 0 var(--gf-ink); /* accent « tampon officiel » sur badges/CTA */

	/* ---- Motion ---- */
	--gf-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--gf-dur: 0.28s;
}
