/* =============================================================
   ImobiPro Store — Design Tokens v2
   Biblioteca profissional para o mercado imobiliário
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ----- CORES ----- */
:root {
  /* Navy */
  --navy-950: #070f18;
  --navy-900: #0d1f2d;
  --navy-800: #153143;
  --navy-700: #1c3b4d;
  --navy-600: #254d63;
  --navy-500: #2e6079;
  --navy-400: #4a7d96;
  --navy-300: #6e9db2;
  --navy-200: #9fc0cf;
  --navy-100: #cfe2eb;
  --navy-50:  #e8f1f5;

  /* Gold / Champagne */
  --gold-600: #9b7744;
  --gold-500: #c6a269;
  --gold-400: #d4b580;
  --gold-300: #e2c89a;
  --gold-200: #eed9bb;
  --gold-100: #f7efdf;

  /* Sand / Off-white */
  --sand-200: #e8e4db;
  --sand-100: #f6f4ef;
  --sand-50:  #faf9f6;

  /* Graphite */
  --graphite-900: #172126;
  --graphite-800: #1e2a31;
  --graphite-700: #2d3748;
  --graphite-600: #3d4a54;
  --graphite-500: #4a5568;
  --graphite-400: #647078;
  --graphite-300: #8896a0;
  --graphite-200: #b0bec8;
  --graphite-100: #d4dde3;

  /* Status */
  --green-500: #2d6a4f;
  --green-300: #52b788;
  --green-100: #d8f3dc;
  --red-500: #9b2226;
  --red-100: #fde8e8;
  --amber-500: #b5880a;
  --amber-100: #fef3c7;

  /* Semânticas */
  --bg-primary: var(--sand-100);
  --bg-secondary: var(--sand-50);
  --bg-dark: var(--navy-900);
  --bg-card: #ffffff;

  --text-primary: var(--graphite-900);
  --text-secondary: var(--graphite-500);
  --text-muted: var(--graphite-300);
  --text-on-dark: var(--sand-100);
  --text-accent: var(--gold-500);

  --border-light: var(--sand-200);
  --border-medium: var(--graphite-100);
  --border-dark: var(--graphite-200);

  --accent-primary: var(--navy-800);
  --accent-gold: var(--gold-500);

  /* ----- TIPOGRAFIA ----- */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  --leading-tight:   1.15;
  --leading-snug:    1.35;
  --leading-normal:  1.5;
  --leading-relaxed: 1.65;
  --leading-loose:   1.8;

  --tracking-tight:  -0.02em;
  --tracking-normal: 0;
  --tracking-wide:   0.05em;
  --tracking-wider:  0.1em;
  --tracking-widest: 0.15em;

  /* ----- ESPAÇAMENTOS ----- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* ----- BORDAS ----- */
  --radius-sm:   2px;
  --radius-md:   4px;
  --radius-lg:   8px;
  --radius-xl:   12px;
  --radius-full: 9999px;

  /* ----- SOMBRAS ----- */
  --shadow-xs: 0 1px 2px rgba(13,31,45,0.05);
  --shadow-sm: 0 2px 6px rgba(13,31,45,0.08);
  --shadow-md: 0 4px 16px rgba(13,31,45,0.12);
  --shadow-lg: 0 8px 32px rgba(13,31,45,0.16);
  --shadow-xl: 0 16px 48px rgba(13,31,45,0.20);
  --shadow-gold: 0 4px 20px rgba(198,162,105,0.25);

  /* ----- TRANSIÇÕES ----- */
  --transition-fast:   150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow:   400ms ease;

  /* ----- LAYOUT ----- */
  --container-max: 1320px;
  --container-pad: clamp(1.25rem, 5vw, 5rem);
  --header-height: 72px;
}

/* ----- RESET ----- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: var(--leading-normal);
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ----- SCROLLBAR CUSTOMIZADA ----- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--sand-100); }
::-webkit-scrollbar-thumb { background: var(--graphite-200); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--graphite-400); }

/* ----- SELEÇÃO ----- */
::selection { background: var(--gold-200); color: var(--graphite-900); }
