/* ============================================
   SUNSET AUTO SALES — Design Tokens
   Extraídos do site público (sunsetautosaleslv.com)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  /* ===== FONTS ===== */
  --font-display: 'Archivo', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Manrope', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* ===== INK SCALE (backgrounds) ===== */
  --ink: #0a0a0b;
  --ink-1: #101012;
  --ink-2: #17171a;
  --ink-3: #202024;
  --ink-line: rgba(255, 255, 255, 0.09);

  /* ===== PAPER (cards) ===== */
  --paper: #0b0b0d;
  --paper-2: #151518;
  --cream: #1b1b1f;

  /* ===== LINES ===== */
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* ===== TEXT ===== */
  --text: #faf7f0;          /* mais branco — melhor contraste */
  --text-muted: #c4bdb0;    /* cinza CLARO — antes era #9b958a, muito apagado */
  --text-soft: #a59f93;     /* secundário (entre normal e muted) */
  --on-dark: #faf7f0;
  --on-dark-muted: #c4bdb0;

  /* ===== GOLD (acento) ===== */
  --gold: #c9a24b;
  --gold-2: #e9d39a;
  --gold-deep: #9c7c34;
  --gold-grad: linear-gradient(100deg, #e9d39a, #c9a24b 48%, #a8853a);
  --ember: #c9a24b;
  --ember-2: #e9d39a;
  --ember-soft: rgba(201, 162, 75, 0.14);

  /* ===== UTILITIES ===== */
  --whatsapp: #25d366;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;

  /* ===== RADIUS ===== */
  --radius-sm: 11px;
  --radius: 16px;
  --radius-lg: 22px;

  /* ===== SHADOWS ===== */
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .5), 0 18px 40px -20px rgba(0, 0, 0, .8);
  --shadow-lift: 0 2px 8px rgba(0, 0, 0, .5), 0 36px 60px -24px rgba(0, 0, 0, .9);
  --shadow-dark: 0 40px 80px -30px rgba(0, 0, 0, .9);
  --shadow-gold: 0 16px 40px -14px rgba(201, 162, 75, .45);
  --shadow-gold-soft: 0 8px 24px -8px rgba(201, 162, 75, .25);

  /* ===== TIMING ===== */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 150ms;
  --t-base: 250ms;
  --t-slow: 450ms;
}

/* ============================================
   BASE TYPOGRAPHY
   ============================================ */

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.display-xl { font-size: clamp(48px, 7vw, 96px); line-height: 1; letter-spacing: -0.035em; }
.display-lg { font-size: clamp(36px, 5vw, 72px); line-height: 1.05; letter-spacing: -0.025em; }
.display-md { font-size: clamp(28px, 3.5vw, 48px); line-height: 1.1; letter-spacing: -0.02em; }
.display-sm { font-size: clamp(22px, 2.5vw, 32px); line-height: 1.15; letter-spacing: -0.015em; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
}

/* ============================================
   BUTTONS (estilo site público)
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              background var(--t-base) var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold-grad);
  color: #0a0a0b;
  box-shadow: var(--shadow-gold-soft);
}
.btn-gold:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-gold);
}
.btn-gold:active { transform: translateY(0) scale(0.98); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-outline:hover {
  background: var(--paper-2);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out);
  position: relative;
}
.card-interactive {
  cursor: pointer;
}
.card-interactive:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--line-strong);
}

.card-gold-glow {
  position: relative;
  overflow: hidden;
}
.card-gold-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), var(--ember-soft) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease-out);
  pointer-events: none;
}
.card-gold-glow:hover::before { opacity: 1; }

/* ============================================
   3D TILT (mouse-follow) — aplicar via JS
   ============================================ */

.tilt-3d {
  transform-style: preserve-3d;
  transition: transform var(--t-base) var(--ease-out);
  will-change: transform;
}

/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--ink-3); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

/* ============================================
   SELECTION
   ============================================ */

::selection {
  background: var(--gold);
  color: var(--ink);
}

/* ============================================
   FOCUS
   ============================================ */

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
