/* ═══════════════════════════════════════════════════════════
   NOIR — توکن‌های طراحی (مطابق مشخصات مرحله ۳)
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   NOIR — فونت‌های محلی (بدون وابستگی به Google Fonts)
   ═══════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/vazirmatn-arabic-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/vazirmatn-arabic-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/vazirmatn-arabic-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/vazirmatn-arabic-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/fraunces-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                  U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/fraunces-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                  U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215;
}

:root {
  /* رنگ — پس‌زمینه و سطوح */
  --bg: #0d0c0a;
  --bg-alt: #110f0c;
  --surface: #18150f;
  --surface-2: #221d16;

  /* رنگ — حاشیه */
  --border: rgba(240, 230, 210, 0.08);
  --border-strong: rgba(240, 230, 210, 0.16);

  /* رنگ — متن */
  --text: #f2e9d8;
  --text-muted: #a79c8b;
  --text-disabled: rgba(242, 233, 216, 0.35);

  /* رنگ — اکسنت (کهربایی/کارامل) */
  --accent: #c08a4e;
  --accent-hover: #d6a567;
  --accent-active: #a8703a;
  --accent-subtle: rgba(192, 138, 78, 0.12);

  /* رنگ — وضعیت */
  --success: #7fa66b;
  --danger: #c4685a;
  --disabled: #3a352d;

  /* تایپوگرافی */
  --font-fa: 'Vazirmatn', Tahoma, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;

  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 15px;
  --fs-md: 16px;
  --fs-lg: 18px;
  --fs-xl: 22px;
  --fs-2xl: 28px;
  --fs-3xl: 36px;

  /* شعاع گوشه */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* فاصله‌گذاری */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  /* سایه */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);

  /* انتقال */
  --ease-fast: 150ms ease-out;
  --ease-base: 200ms ease;
  --ease-slow: 380ms ease-out;

  /* حداکثر عرض محتوا */
  --content-max: 1120px;

  /* ارتفاع هدر (برای محاسبه‌ی دقیق آفست ناوبری چسبان) */
  --header-h: 52px;
}
