/* ================================================================
   TOKENS · Biblinha
   ================================================================ */

:root {
  /* ----- Cores ----- */
  --color-primary: #2C2014;
  --color-secondary: #F9F4EB;
  --color-accent: #25D366;
  --color-accent-dark: #1E9148;
  --color-gold: #D6973D;
  --color-white: #FFFFFF;
  --color-light-gray: #E0DACA;
  --color-mid-gray: #7F8C8D;
  --color-danger: #B30000;
  --color-border: #EAE3D5;
  --color-text: #2C2014;
  --color-text-light: #F9F4EB;
  --color-text-gray: #E0DACA;

  /* ----- Tipografia ----- */
  --font-family: 'Poppins', sans-serif;

  --font-size-hero: 2.2rem;      /* 35.2px */
  --font-size-h1: 1.8rem;        /* 28.8px */
  --font-size-h2: 1.3rem;        /* 20.8px */
  --font-size-h3: 1.1rem;        /* 17.6px */
  --font-size-body: 1rem;        /* 16px */
  --font-size-small: 0.85rem;    /* 13.6px */
  --font-size-tiny: 0.72rem;     /* 11.52px */

  --line-height-tight: 1.15;
  --line-height-normal: 1.2;
  --line-height-loose: 1.6;

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* ----- Espaçamento ----- */
  --spacing-2xs: 4px;
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 40px;
  --spacing-3xl: 48px;
  --spacing-4xl: 64px;
  --spacing-5xl: 80px;

  /* ----- Bordas & Raios ----- */
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 50px;
  --border-radius-full: 50%;

  --border-width: 1px;
  --border-color: #EAE3D5;

  /* ----- Sombras ----- */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
  --shadow-button: 0 6px 0 var(--color-accent-dark);
  --shadow-drop: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.3));

  /* ----- Container ----- */
  --container-max-width: 900px;
  --container-padding: 24px;

  /* ----- Breakpoints ----- */
  --breakpoint-mobile: 768px;
  --breakpoint-tablet: 1024px;
  --breakpoint-desktop: 1200px;

  /* ----- Transições ----- */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

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

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}

/* Tipografia base */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-normal);
  margin-bottom: var(--spacing-md);
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }

p {
  font-size: var(--font-size-body);
  margin-bottom: var(--spacing-lg);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.text-center { text-align: center; }

/* Responsivo */
@media (max-width: 768px) {
  :root {
    --font-size-hero: 1.6rem;
    --font-size-h1: 1.4rem;
    --container-padding: 16px;
  }
  .container { padding: 0 16px; }
}