/* Maison Sorgue : jetons de la maison (par-dessus public/base.css), V3 du 13/11/2026.
   Pierre grise froide, encre ardoise, aucune couleur d'accent : le noir, le laiton et le nickel des produits font la
   couleur. Titres : Newsreader 600 (V4 : la Bodoni se lisait mal ; le logotype reste en didone, en tracés) ; texte : Jost.
   Angles droits, filets de 1 px, aucune ombre, aucun dégradé, aucun vert. */

/* Polices auto-hébergées (sous-ensemble latin, licence SIL OFL), servies depuis /assets/fonts/. */
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; src: url("fonts/jost-italic-latin.woff2") format("woff2"); font-weight: 300 600; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Jetons du moteur */
  --bg: #ECEDEB;            /* gris pierre froid : fond de page */
  --surface: #FFFFFF;       /* cartes produit, barre d'en-tête, panneaux */
  --ink: #1F2A33;           /* bleu-noir ardoise : texte, boutons (12,3:1 sur --bg) */
  --muted: #4F5A63;         /* texte secondaire (5,9:1 sur --bg, 7,1:1 sur blanc) */
  --line: #C9CDD0;          /* filets */
  --accent: #1F2A33;        /* bouton principal : ardoise, pas de couleur d'accent */
  --accent-ink: #FFFFFF;
  --radius: 0px;
  --font-display: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --display-weight: 600;
  --font-body: "Jost", Futura, "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  --tint: #F4F5F3;          /* aplat très clair (zone de livraison, survol) */
  --ok: #1F2A33;            /* états « en stock », coches : ardoise, jamais de vert */
  --warn: #7A2E1D;          /* messages d'erreur seulement */
  --shadow-pop: none;
  --scrim: rgb(31 42 51 / 0.42);

  /* Jetons de la maison */
  --stone-deep: #DFE1DE;    /* pierre un ton plus bas : fonds de sélecteur, bandes */
  --slate: #1F2A33;         /* bandes sombres : annonce, ensembles, pied de page */
  --on-slate: #ECEDEB;
  --on-slate-muted: #B4BCC2;
  --slate-line: #3A4651;
  --sw-noir: #1E2022;
  --sw-laiton: #B79A63;
  --sw-nickel: #A9ACA8;

  /* Échelle typographique (rapport 1,3 environ, 7 tailles) */
  --t-1: 0.75rem;     /* 12 : capitales espacées */
  --t-2: 0.875rem;    /* 14 : secondaire */
  --t-3: 1.0625rem;   /* 17 : texte courant */
  --t-4: 1.25rem;     /* 20 : chapô, noms */
  --t-5: 1.625rem;    /* 26 : intertitres */
  --t-6: 2.125rem;    /* 34 : titres de section */
  --t-7: 2.875rem;    /* 46 : grand titre */

  /* Espacements (échelle 4, 8, 12, 16, 24, 32, 48, 64, 96) et grille */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
  --wrap: 79rem;            /* 1264 px de contenu */
  --gutter: 1rem;
  --gap: 1.5rem;            /* gouttière de la grille */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 700px) { :root { --gutter: 2rem; } }
@media (min-width: 1100px) { :root { --gutter: 3.5rem; } }
@media (min-width: 1360px) { :root { --gutter: 5.5rem; } }

html { background: var(--bg); }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-3);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-optical-sizing: auto;
  color: inherit;
  text-wrap: balance;
  letter-spacing: -0.012em;
  line-height: 1.12;
}
p, li, dd { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.24em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 1px; }
::selection { background: var(--ink); color: var(--surface); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
input, textarea, select { caret-color: var(--ink); }

button, .btn, [type="submit"] { font-family: var(--font-body); border-radius: 0; box-shadow: none; }

.price, table, .total, .pdp-price, .card-price, .totals { font-variant-numeric: tabular-nums lining-nums; }

/* Pastilles de finition : carrés d'aplat, sans dégradé. */
[data-swatch="Noir mat"]      { --swatch: var(--sw-noir); }
[data-swatch="Laiton brossé"] { --swatch: var(--sw-laiton); }
[data-swatch="Nickel brossé"] { --swatch: var(--sw-nickel); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
