/*
 * Jetons de design (design tokens) de Vieux Manoir.
 * Source : maquette/Styleguide.dc.html et CLAUDE.md (§ Charte graphique).
 * Les mêmes valeurs sont déclarées dans le Kit Elementor (scripts/design-system.php) :
 * toute modification doit être faite aux deux endroits (un test vérifie qu'ils sont identiques).
 */

:root {
	/* Couleurs */
	--vm-primary: #294dd0;       /* Boutons, liens, icônes, badges */
	--vm-primary-dark: #1b3596;  /* Survol, texte bleu sur fond clair, focus */
	--vm-night: #010618;         /* Pied de page, encarts sombres */
	--vm-night-text: #c9d3e3;    /* Texte courant sur fond nuit (pied de page) */
	--vm-hero: #1e2a44;          /* Fond du bandeau sous la photo */
	--vm-accent: #acc5ff;        /* Focus et surtitres sur fond sombre uniquement */
	--vm-surface: #edf2f8;       /* Sections alternées, en-têtes de page */
	--vm-border: #dce3ec;        /* Bordures décoratives des cartes */
	--vm-border-ui: #6b7480;     /* Contours de champs (contraste ≥ 3:1) */
	--vm-text: #0d0d0d;          /* Titres, corps */
	--vm-text-2: #212529;        /* Corps secondaire */
	--vm-text-lead: #313942;     /* Chapôs */
	--vm-text-muted: #4a525b;    /* Métadonnées (AA sur blanc et sur --vm-surface) */
	--vm-error: #b91c1c;         /* Erreurs de formulaire (6,5:1 sur blanc) */
	--vm-error-bg: #fef2f2;
	--vm-white: #fff;
	--vm-page: #fcfcfc;          /* Fond de page */

	/* Typographie */
	--vm-font: "Roboto Serif", georgia, "Times New Roman", serif;
	--vm-font-mono: ui-monospace, sfmono-regular, menlo, consolas, monospace;
	--vm-fs-h1: 3.25rem;   /* 52 px */
	--vm-fs-h2: 2.1875rem; /* 35 px */
	--vm-fs-h3: 1.625rem;  /* 26 px */
	--vm-fs-h4: 1.375rem;  /* 22 px */
	--vm-fs-lead: 1.25rem; /* 20 px */
	--vm-fs-body: 1.0625rem; /* 17 px */
	--vm-fs-small: 0.9375rem; /* 15 px */
	--vm-fs-meta: 0.875rem;   /* 14 px */
	--vm-lh-tight: 1.15;
	--vm-lh-heading: 1.2;
	--vm-lh-body: 1.6;

	/* Espacements (échelle 8 · 12 · 16 · 24 · 32 · 48 · 64 · 88 px) */
	--vm-space-1: 0.5rem;
	--vm-space-2: 0.75rem;
	--vm-space-3: 1rem;
	--vm-space-4: 1.5rem;
	--vm-space-5: 2rem;
	--vm-space-6: 3rem;
	--vm-space-7: 4rem;
	--vm-space-8: 5.5rem;

	/* Mise en page */
	--vm-container: 75rem;      /* 1200 px */
	--vm-gutter: 1.5rem;        /* 24 px */
	--vm-section-y: 5.5rem;     /* 88 px */
	--vm-grid-gap: 1.5rem;      /* 24 px */
	--vm-grid-min: 20rem;       /* 320 px : 3 colonnes desktop, 2 tablette, 1 mobile */

	/* Formes */
	--vm-radius-pill: 28px;
	--vm-radius-card: 16px;
	--vm-radius-tile: 14px;
	--vm-radius-field: 10px;
	--vm-field-height: 3rem;    /* 48 px */
	--vm-shadow-raised: 0 12px 32px rgb(1 6 24 / 12%); /* Bandeau « Infos pratiques » uniquement */
}

/* Mobile (≤ 767 px) */
@media (max-width: 47.9375em) {
	:root {
		--vm-fs-h1: 2.25rem;  /* 36 px */
		--vm-fs-h2: 1.75rem;  /* 28 px */
		--vm-fs-h3: 1.375rem; /* 22 px */
		--vm-fs-h4: 1.25rem;  /* 20 px */
		--vm-fs-lead: 1.125rem; /* 18 px */
		--vm-fs-body: 1rem;   /* 16 px */
		--vm-section-y: 3.5rem; /* 56 px */
	}
}
