/* =========================================================
   TOKENS — toutes les valeurs de design au même endroit.
   Pour ajuster une couleur, une police ou un espacement,
   c'est ici et nulle part ailleurs.
   ========================================================= */

/* ---- Polices (fichiers locaux dans assets/fonts) ---- */
@font-face {
  font-family: "Poiret One";
  src: url("../assets/fonts/poiret-one-latin.woff2") format("woff2");
  font-weight: 400;
  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: "Poiret One";
  src: url("../assets/fonts/poiret-one-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Jost est une police « variable » : un seul fichier couvre les graisses 100 à 900 */
@font-face {
  font-family: "Jost";
  src: url("../assets/fonts/jost-latin.woff2") format("woff2");
  font-weight: 100 900;
  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("../assets/fonts/jost-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* ---- Couleurs (issues des Pantone 7527 / 7528 / 7529 CP) ---- */
  --paper: #ffffff;        /* fond principal */
  --paper-warm: #f7f5f0;   /* fonds de section, fond des photos produit */
  --stone-1: #d6d2c4;      /* Pantone 7527 — filets, blocs doux */
  --stone-2: #c5b9ac;      /* Pantone 7528 — survols */
  --stone-3: #b7a99a;      /* Pantone 7529 — accents */
  --ink: #2b2926;          /* texte principal (noir chaud) */
  --ink-soft: #6e675e;     /* texte secondaire */
  --night: #1c1a17;        /* fond sombre (bloc professionnels), repris du dossier */
  --line: #e4e0d6;         /* lignes fines de 1px */
  --eclipse: #b8913a;      /* or « éclipse » : focus clavier et rares détails */
  --error: #8a3b2e;        /* messages d'erreur des formulaires (brun-rouge sourd) */

  /* ---- Typographie ---- */
  --font-display: "Poiret One", "Jost", sans-serif; /* logo, titres, navigation */
  --font-text: "Jost", "Helvetica Neue", Arial, sans-serif; /* texte courant */

  --fs-xs: 0.75rem;    /* 12px — mentions, petites capitales */
  --fs-sm: 0.875rem;   /* 14px — texte courant */
  --fs-md: 1rem;       /* 16px — paragraphes éditoriaux (lisibles sur téléphone) */
  --fs-lg: 1.375rem;   /* 22px — titres de section */
  --fs-xl: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);   /* titres de page */
  --fs-hero: clamp(2.25rem, 1.4rem + 4vw, 4.5rem);    /* titre du hero */

  --ls-text: 0.04em;   /* interlettrage du texte courant */
  --ls-caps: 0.18em;   /* interlettrage des petites capitales */
  --ls-display: 0.06em;

  /* ---- Espacements ---- */
  --gutter: 18px;                       /* marge extérieure (comme Repossi) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: clamp(4rem, 3rem + 5vw, 8rem); /* respiration entre sections */
  --text-max: 34rem;                    /* largeur max d'un bloc de texte */

  /* ---- Mouvement ---- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 200ms;
  --dur: 450ms;
  --dur-slow: 900ms;

  /* ---- Header ---- */
  --header-h: 72px;
  --announce-h: 30px;
}

@media (min-width: 1024px) {
  :root { --header-h: 96px; }
}
