/* Thème « boutique » — feuille engendrée.
   Toute modification ici est perdue : le thème s'édite dans
   l'administration, écran Apparence. */
:root {
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans: Poppins, 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
    --display-weight: 400;
    --display-tracking: -0.01em;
    --display-case: none;
    --base-size: 16px;
    --radius: 10px;
    --radius-field: 4px;
    --radius-btn: 2px;
    --shadow: 0 1px 2px rgba(15, 26, 27, .06);
    --paper: #faf7f0;
    --card: #ffffff;
    --ink: #1e2b24;
    --ink-2: #4a5a51;
    --ink-3: #7f8d84;
    --line: #e4ded1;
    --line-2: #f1ece1;
    --deep: #2f5540;
    --deep-soft: #e8eee9;
    --on-deep: #ffffff;
    --accent: #c8952f;
    --ok: #2f7a52;
    --ok-soft: #e4f0e8;
    --warn: #9a6a15;
    --warn-soft: #f8efd9;
    --crit: #9c3024;
    --crit-soft: #f8e6e2;
    --header-bg: #ffffff;
    --header-ink: #1e2b24;
    --header-line: #e4ded1;
    --footer-bg: #2f5540;
    --footer-ink: #c9d6cd;
    --btn-bg: #c8952f;
    --btn-ink: #ffffff;
    --btn-line: #c8952f;
    --btn-case: uppercase;
    --btn-weight: 700;
    --btn-tracking: 0.08em;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-mode="clair"]) {
        --paper: #121a15;
        --card: #1a241d;
        --ink: #e9efe9;
        --ink-2: #b4c2b8;
        --ink-3: #84928a;
        --line: #2a352d;
        --line-2: #202a24;
        --deep: #8fbb9d;
        --deep-soft: #1c2b22;
        --on-deep: #0d1610;
        --accent: #dcae56;
        --ok: #6fbc8c;
        --ok-soft: #15281d;
        --warn: #d5a743;
        --warn-soft: #2a2010;
        --crit: #ef8a7e;
        --crit-soft: #2e1512;
        --header-bg: #1a241d;
        --header-ink: #e9efe9;
        --header-line: #2a352d;
        --footer-bg: #0d1510;
        --footer-ink: #9aab9f;
        --btn-bg: #dcae56;
        --btn-ink: #1b1305;
        --btn-line: #dcae56;
        --btn-case: uppercase;
        --btn-weight: 700;
        --btn-tracking: 0.08em;
    }
}

:root[data-mode="sombre"] {
    --paper: #121a15;
    --card: #1a241d;
    --ink: #e9efe9;
    --ink-2: #b4c2b8;
    --ink-3: #84928a;
    --line: #2a352d;
    --line-2: #202a24;
    --deep: #8fbb9d;
    --deep-soft: #1c2b22;
    --on-deep: #0d1610;
    --accent: #dcae56;
    --ok: #6fbc8c;
    --ok-soft: #15281d;
    --warn: #d5a743;
    --warn-soft: #2a2010;
    --crit: #ef8a7e;
    --crit-soft: #2e1512;
    --header-bg: #1a241d;
    --header-ink: #e9efe9;
    --header-line: #2a352d;
    --footer-bg: #0d1510;
    --footer-ink: #9aab9f;
    --btn-bg: #dcae56;
    --btn-ink: #1b1305;
    --btn-line: #dcae56;
    --btn-case: uppercase;
    --btn-weight: 700;
    --btn-tracking: 0.08em;
}

/* Pastilles de l'écran Apparence — voir ThemeService::palette(). */
.pal-ardoise-0 { background: #f1f4f3; }
.pal-ardoise-1 { background: #ffffff; }
.pal-ardoise-2 { background: #0f1a1b; }
.pal-ardoise-3 { background: #0f4c48; }
.pal-ardoise-4 { background: #e1eeec; }
.pal-ardoise-5 { background: #b4471f; }
.pal-ardoise-6 { background: #0f4c48; }
.pal-ardoise-7 { background: #a0241d; }
.pal-boutique-0 { background: #faf7f0; }
.pal-boutique-1 { background: #ffffff; }
.pal-boutique-2 { background: #1e2b24; }
.pal-boutique-3 { background: #2f5540; }
.pal-boutique-4 { background: #e8eee9; }
.pal-boutique-5 { background: #c8952f; }
.pal-boutique-6 { background: #c8952f; }
.pal-boutique-7 { background: #9c3024; }
