/* =============================================
   VARIÁVEIS GLOBAIS
   ============================================= */
:root {
  /* Cores - tema escuro (preto + dourado). O fundo usa o MESMO tom do logo
     (#1a1a1a, amostrado do PNG), então o logo "funde" na navbar/rodapé. */
  --color-bg: #1a1a1a;        /* fundo da página = tom do logo */
  --color-surface: #232323;   /* cards/superfícies (um pouco mais claro p/ destacar) */
  --color-dark: #1a1a1a;      /* rodapé / faixas escuras */
  --color-primary: #1a1a1a;   /* navbar, seções escuras e texto sobre dourado */
  --color-heading: #f1ede6;   /* títulos/nomes sobre superfícies escuras */
  --color-accent: #c9a227;    /* dourado */
  --color-accent-hover: #d9b948;
  --color-text: #e6e3dd;      /* texto principal (claro) */
  --color-text-muted: #9a948a;
  --color-border: #333333;
  --color-error: #e63946;
  --color-success: #2a9d8f;
  --color-warning: #f4a261;

  /* Tipografia */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --text-xs: clamp(0.7rem, 1.5vw, 0.75rem);
  --text-sm: clamp(0.8rem, 1.8vw, 0.875rem);
  --text-base: clamp(0.9rem, 2vw, 1rem);
  --text-lg: clamp(1rem, 2.5vw, 1.125rem);
  --text-xl: clamp(1.1rem, 3vw, 1.25rem);
  --text-2xl: clamp(1.3rem, 4vw, 1.5rem);
  --text-3xl: clamp(1.6rem, 5vw, 1.875rem);
  --text-4xl: clamp(2rem, 6vw, 2.5rem);
  --text-5xl: clamp(2.4rem, 8vw, 3.5rem);

  /* Espaçamento */
  --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;

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

  /* Sombras */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.14);

  /* Transições */
  --transition: 0.2s ease;

  /* Layout */
  --container-max: 1280px;
  --navbar-h: 64px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* =============================================
   TIPOGRAFIA
   ============================================= */
h1 { font-family: var(--font-serif); font-size: var(--text-5xl); line-height: 1.15; }
h2 { font-family: var(--font-serif); font-size: var(--text-4xl); line-height: 1.2; }
h3 { font-family: var(--font-serif); font-size: var(--text-3xl); line-height: 1.3; }
h4 { font-size: var(--text-2xl); font-weight: 600; }
h5 { font-size: var(--text-xl); font-weight: 600; }
h6 { font-size: var(--text-lg); font-weight: 600; }
p  { font-size: var(--text-base); }

/* =============================================
   UTILITÁRIOS
   ============================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
@media (min-width: 768px)  { .container { padding-inline: var(--space-8); } }
@media (min-width: 1024px) { .container { padding-inline: var(--space-12); } }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.text-center  { text-align: center; }
.text-muted   { color: var(--color-text-muted); }
.text-accent  { color: var(--color-accent); }
.font-bold    { font-weight: 700; }
.font-medium  { font-weight: 500; }

.flex         { display: flex; }
.flex-col     { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-2  { gap: var(--space-2); }
.gap-4  { gap: var(--space-4); }
.gap-6  { gap: var(--space-6); }
.gap-8  { gap: var(--space-8); }

.grid { display: grid; }

.hidden   { display: none !important; }
.mt-4     { margin-top: var(--space-4); }
.mt-8     { margin-top: var(--space-8); }
.mb-4     { margin-bottom: var(--space-4); }
.mb-8     { margin-bottom: var(--space-8); }

.section {
  padding-block: var(--space-16);
}
@media (min-width: 1024px) { .section { padding-block: var(--space-20); } }

.section-title {
  font-size: var(--text-4xl);
  color: var(--color-heading);
  margin-bottom: var(--space-4);
}
.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--space-10);
}

.divider {
  width: 56px; height: 3px;
  background: var(--color-accent);
  margin-inline: auto;
  margin-bottom: var(--space-6);
  border-radius: var(--radius-full);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: var(--radius-full); }
