/*
 * Design tokens for the Tourbier Patrimoine theme.
 *
 * These were previously redeclared inside four page stylesheets — the contact
 * and RGPD palettes being a verbatim copy of one another — so a brand change
 * meant editing four files and the pages had already drifted apart.
 *
 * Values are carried over unchanged. The three brand blues below are still
 * distinct (#26466f, #294f78, #244b78); that divergence is almost certainly
 * drift rather than intent, but collapsing them changes the look of the
 * contact, RGPD and simulator pages, so it stays a deliberate decision.
 * Once it is taken, it is a one-line change here.
 */

:root {
	/* Portal / partners family */
	--tp-blue: #26466f;
	--tp-blue-light: #7d91a9;
	--tp-ink: #0a0a0a;
	--tp-muted: #5f6670;
	--tp-sand: #ede8e4;
	--tp-soft: #f7f7f7;
	--tp-white: #ffffff;
	--tp-border: rgba(38, 70, 111, 0.14);

	/* Form family (contact) */
	--tc-navy: #102f4d;
	--tc-blue: #294f78;
	--tc-blue-soft: #e8eff5;
	--tc-ink: #111a25;
	--tc-muted: #657180;
	--tc-border: #d7e0e8;
	--tc-pale: #edf2f6;
	--tc-sand: #e8d0b5;
	--tc-white: #ffffff;

	/* RGPD reused the contact palette verbatim; aliased rather than copied. */
	--rgpd-navy: var(--tc-navy);
	--rgpd-blue: var(--tc-blue);
	--rgpd-blue-soft: var(--tc-blue-soft);
	--rgpd-ink: var(--tc-ink);
	--rgpd-muted: var(--tc-muted);
	--rgpd-border: var(--tc-border);
	--rgpd-sand: var(--tc-sand);
	--rgpd-white: var(--tc-white);

	/* Simulators family */
	--sim-ink: #112b47;
	--sim-blue: #244b78;
	--sim-gold: #9a7b5d;
	--sim-soft: #f2f5f7;
	--sim-line: #d9e2e9;
}

/*
 * Reduced-motion policy, declared once for the whole site.
 *
 * This lived as a per-page block in thirteen stylesheets, with identical
 * declarations in six of them and a blunter "kill every transition" variant in
 * the rest. Scoping it per page also meant any sheet nobody remembered to
 * patch had no policy at all.
 *
 * Movement never animates; colour feedback survives, because vestibular
 * sensitivity is about displacement, not a fade. Blocks that carry real
 * semantics rather than a blanket disable -- site-motion.css forcing revealed
 * content visible, site-cta.css neutralising a hover offset -- stay where they
 * are and win by load order.
 */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation: none !important;
		transition-property: color, background-color, border-color, outline-color, box-shadow, opacity !important;
		transition-duration: 120ms !important;
	}
}
