/*
 * Design System Breizh Box (brzbox-ps8)
 * Valeurs extraites de private/refonte/figma (Design System.svg / .png)
 * Nomenclature alignée sur le DS maison Neptune (cf. HANDOVER.md)
 */

:root {
  /* ========== COULEURS · marque (Figma « majeures ») ========== */

  --primary-color: #2A8D91;
  --secondary-color: #155255;
  --tertiary-color: #EE7E34;
  --text-color: #1A1A1A;
  --primary-background-color: #FFFFFF;
  --secondary-background-color: #F7F7F8;
  --tertiary-background-color: #F4F4F2;
  --net-color: #EEEEEE;

  /* ========== COULEURS · neutres (Figma) ========== */

  --neutral-900: #333333;
  --neutral-700: #555555;
  --neutral-500: #888888;
  --neutral-400: #767676;
  --neutral-border: #DDDDDD;

  /* ========== COULEURS · code box (Figma) + teintes ========== */

  --box-color-cyan: #25B7BC;
  --box-color-green: #54A459;
  --box-color-orange: #EE7E34;
  --box-color-burgundy: #9F2B5C;
  --box-color-yellow: #F9BB43;

  --box-tint-cyan: #EDF8F8;
  --box-tint-green: #F1F7F1;
  --box-tint-orange: #FFF6EF;
  --box-tint-burgundy: #F7EDF1;
  --box-tint-yellow: #FEF7EB;

  /* ========== ÉCARTS (Figma : 10 → 80 px) ========== */

  --xs-space: 10px;
  --sm-space: 20px;
  --md-space: 40px;
  --lg-space: 60px;
  --xl-space: 80px;
  --xxl-space: 80px;

  /* ========== RAYONS (Figma « petits / coins / boutons ») ========== */

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  /* ========== TYPOGRAPHIE ========== */
  /* Maquette : titres en Sen, texte courant en Arial. */

  --font-display: 'Sen', system-ui, -apple-system, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;

  /* Alias lu par global.css pour les titres, chapôs, prix et boutons. Le texte courant utilise --font-body. */
  --main-font: var(--font-display);

  /* Titres — échelles L / M / S (ajuster si specs Figma affinées) */
  --h1-l: 36px;
  --h1-m: 32px;
  --h1-s: 26px;
  --h1-line-height-l: 1.1;
  --h1-line-height-m: 1.15;
  --h1-line-height-s: 1.2;

  --h2-l: 28px;
  --h2-m: 22px;
  --h2-s: 18px;
  --h2-line-height-l: 1.2;
  --h2-line-height-m: 1.25;
  --h2-line-height-s: 1.3;

  --h3-l: 22px;
  --h3-m: 18px;
  --h3-s: 16px;

  --h4-l: 18px;
  --h4-m: 16px;
  --h4-s: 15px;

  --h5-l: 15px;
  --h5-m: 14px;
  --h5-s: 13px;

  --h6-l: 12px;
  --h6-m: 11px;
  --h6-s: 10px;

  /* Textes : M = taille de base du Figma ; S et L = variations pour l'éditeur (blog, Creative Elements). */
  --p-chapo-l: 18px;
  --p-chapo-m: 16px;
  --p-chapo-s: 14px;

  --p-l: 16px;
  --p-m: 14px;
  --p-s: 13px;

  --p-discover-l: 17px;
  --p-discover-m: 15px;
  --p-discover-s: 13px;

  --price-l: 24px;
  --price-m: 20px;
  --price-s: 16px;

  --li-l: 16px;
  --li-m: 14px;
  --li-s: 13px;

  /* ========== BOUTONS ========== */

  --btn-font-size: 15px;
  --btn-font-weight: 600;
  --btn-padding-y: 13px;
  --btn-padding-x: 16px;
  --btn-border-radius: var(--radius-md);

  --btn-primary-caret-color: var(--primary-background-color);
  --btn-primary-caret-color-hover: var(--text-color);
}
