/**
 * DESIGN SYSTEM TOKENS — FRAMEWORK DOM
 * Paleta Oficial: Forest Green + Bronze Nobre + Mineral Sand
 * Tipografia: Instrument Serif + Plus Jakarta Sans
 */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Cores Base e Fundo */
  --dom-forest: #0e1913;
  --dom-forest-dark: #0b1410;
  --dom-forest-mid: #14231b;
  --dom-forest-card: #122119;
  --dom-forest-glass: rgba(20, 35, 27, 0.82);

  /* Bronze, Dourado e Iluminação */
  --dom-bronze: #c49e72;
  --dom-bronze-light: #dfcaa8;
  --dom-bronze-dark: #9e774c;
  --dom-bronze-glow: rgba(196, 158, 114, 0.25);

  /* Minerais e Tipografia */
  --dom-mineral: #f8f6f0;
  --dom-sand: #f8f6f0;
  --dom-mineral-card: #ffffff;
  --dom-mineral-subtle: #f0ede4;
  --dom-mineral-border: rgba(20, 35, 27, 0.1);
  --dom-mineral-line: rgba(196, 158, 114, 0.25);
  --dom-ink: #191c1a;
  --dom-muted: #8e9a92;

  /* Sinais de Conversão e Escassez */
  --dom-pulse-green: #22c55e;
  --dom-scarcity-amber: #e6a254;

  /* Tipografia */
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Espaçamentos e Geometria */
  --gutter: clamp(1rem, 4.5vw, 4rem);
  --max-content: 1320px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Sombras de Luxo */
  --shadow-subtle: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.55);
  --shadow-deep: 0 30px 80px rgba(0, 0, 0, 0.85);
  --shadow-gold: 0 10px 25px rgba(196, 158, 114, 0.35);
}

/* Reset Base Seguro para Mobile e Desktop (Sem Quebra de Scroll) */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  /* scroll-behavior removido do HTML para garantir cálculos exatos de gatilhos no GSAP ScrollTrigger */
  scroll-padding-top: 90px;
  background-color: var(--dom-forest);
  color: var(--dom-sand);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  max-width: 100vw;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  background-color: var(--dom-forest);
  color: var(--dom-sand);
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img, video {
  display: block;
  max-width: 100%;
}
