/* ArtValor — design system de base (partagé site public + admin) */

:root {
  --ink: #0a1512;
  --coal: #0f1c18;
  --panel: #16241f;
  --panel-raised: #1c2e27;
  --gold: #e08a3e;
  --gold-bright: #f4a35a;
  --deep: #16332b;
  --deep2: #0c2018;
  --parchment: #ece4d3;
  --parchment-dim: #a9b8b0;
  --line: rgba(224, 138, 62, 0.22);
  --line-soft: rgba(236, 228, 211, 0.12);
  --success: #4caf7d;
  --danger: #e06a5a;

  --font-display: 'Markazi Text', 'Playfair Display', serif;
  --font-body: 'Tajawal', 'Inter', sans-serif;
  --font-quote: 'Amiri', serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-soft: 0 20px 50px -20px rgba(0, 0, 0, 0.45);
  --shadow-lift: 0 10px 26px -8px rgba(0, 0, 0, 0.5);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --container: 1200px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--parchment);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--parchment);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 var(--space-3);
}
p { margin: 0 0 var(--space-3); color: var(--parchment-dim); }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea {
  font-family: inherit;
  font-size: 15px;
  background: var(--deep2);
  border: 1px solid var(--line-soft);
  color: var(--parchment);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(224, 138, 62, 0.18);
}
label { display: block; font-size: 13.5px; color: var(--parchment-dim); margin-bottom: 6px; }
::selection { background: var(--gold); color: var(--coal); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-bright);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--coal);
  box-shadow: 0 10px 26px -10px rgba(224, 138, 62, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(224, 138, 62, 0.7); }
.btn-ghost {
  border: 1px solid var(--line-soft);
  color: var(--parchment);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}
.btn-sm { padding: 8px 16px; font-size: 13.5px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  letter-spacing: .4px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--gold-bright);
}

.card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.badge-soon {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--line-soft);
  color: var(--parchment-dim);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

@media (max-width: 900px) {
  :root { --space-9: 64px; --space-8: 48px; }
}
