/* Catanéo theme: clinical base, Fraunces display. Every value named after the client's world. */
:root {
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --w-display: 500;
  --tr-display: -0.02em;
  --tr-h2: -0.015em;
  --lh-display: 1.02;
  --radius: 6px;
  --radius-sm: 4px;
  --radius-button: 999px;
  --case-eyebrow: uppercase;
  --tr-eyebrow: 0.12em;
  --bg: #f7f5f0;            /* pierre dorée du Beaujolais, ground */
  --surface: #ffffff;       /* mur repeint après rénovation */
  --surface-2: #eef3f9;     /* ciel de Fourvière, logo light blue */
  --ink: #13253a;           /* ardoise des toits lyonnais */
  --muted-strong: #314559;
  --muted: #4d5f72;
  --line: #dde3ea;          /* joint de carrelage */
  --line-strong: #c4ced9;
  --ink-field: #20405e;     /* bleu Carnot, brand navy */
  --on-ink: #f2f6fb;
  --on-ink-muted: #c3d3e3;
  --accent: #336e9d;        /* bleu Rhône, logo blue */
  --accent-fill: #2f6894;
  --accent-on-fill: #ffffff;
  --accent-text: #2b6290;
  --accent-soft: #dce8f5;
  --key: #fee683;           /* jaune de la clé, logo yellow */
  --key-ink: #13253a;
  --field-1: #dce8f5;
  --field-1-ink: #13253a;
  --field-2: #fee683;
  --field-2-ink: #13253a;
  --field-3: #20405e;
  --field-3-ink: #f2f6fb;
  --on-photo: #ffffff;           /* texte sur photo de chantier */
  --on-photo-muted: rgba(255,255,255,.9);
  --on-photo-line: rgba(255,255,255,.6);
  --on-photo-hover: rgba(255,255,255,.12);
  --photo-wash: linear-gradient(180deg, rgba(10,22,38,.25) 0%, rgba(10,22,38,.35) 40%, rgba(10,22,38,.86) 100%);
  --shadow-menu: 0 24px 60px -24px rgba(10,20,35,.35);
  --dpe-a: #4f9a5a; --dpe-b: #6fb36a; --dpe-c: #b5d36b; --dpe-d: #f2e35c; --dpe-e: #f1b54c; --dpe-f: #e98544; --dpe-g: #d9503f; --dpe-ink: #13253a; /* échelle DPE officielle */
  color-scheme: light dark;
}
@media screen and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1722; --surface: #142131; --surface-2: #192a3d; --ink: #eaf0f6; --muted-strong: #c9d5e1; --muted: #9fb0c2;
    --line: rgba(234,240,246,.12); --line-strong: rgba(234,240,246,.24); --ink-field: #0a121b; --on-ink: #eaf0f6; --on-ink-muted: #b2c3d4;
    --accent: #8fbbe3; --accent-fill: #8fbbe3; --accent-on-fill: #0e1722; --accent-text: #9cc4e8; --accent-soft: rgba(143,187,227,.16);
    --key: #f3d86e; --key-ink: #13253a;
    --field-1: #1b3149; --field-1-ink: #eaf0f6; --field-2: #f3d86e; --field-2-ink: #13253a; --field-3: #0a121b; --field-3-ink: #eaf0f6;
  }
}
@media screen {
  :root[data-theme="dark"] {
    --bg: #0e1722; --surface: #142131; --surface-2: #192a3d; --ink: #eaf0f6; --muted-strong: #c9d5e1; --muted: #9fb0c2;
    --line: rgba(234,240,246,.12); --line-strong: rgba(234,240,246,.24); --ink-field: #0a121b; --on-ink: #eaf0f6; --on-ink-muted: #b2c3d4;
    --accent: #8fbbe3; --accent-fill: #8fbbe3; --accent-on-fill: #0e1722; --accent-text: #9cc4e8; --accent-soft: rgba(143,187,227,.16);
    --key: #f3d86e; --key-ink: #13253a;
    --field-1: #1b3149; --field-1-ink: #eaf0f6; --field-2: #f3d86e; --field-2-ink: #13253a; --field-3: #0a121b; --field-3-ink: #eaf0f6;
  }
  :root[data-theme="light"] { color-scheme: light; }
  :root[data-theme="dark"] { color-scheme: dark; }
}
body { font-variant-numeric: tabular-nums; }
