/* ==========================================================================
   BLANK V4 — Design Definitivo
   Base Styles
   ========================================================================== */

@import url('https://rsms.me/inter/inter.css');

/* ==========================================================================
   VARIABLES
   ========================================================================== */

:root {
  /* Colors */
  --black: #000000;
  --white: #FFFFFF;
  --gray-bg: #FAFAFA;
  --gray-border: #E5E5E5;
  --gray-text: #555555;
  --gray-light: #999999;
  --green-lab: #00FF88;
  --highlight-yellow: #FFEB3B;
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  
  /* Type Scale (1.250 ratio) */
  --text-xs: 0.64rem;    /* 10.24px */
  --text-sm: 0.8rem;     /* 12.8px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.25rem;    /* 20px */
  --text-xl: 1.563rem;   /* 25px */
  --text-2xl: 1.953rem;  /* 31.25px */
  --text-3xl: 2.441rem;  /* 39px */
  --text-4xl: 3.052rem;  /* 48.83px */
  --text-5xl: 3.815rem;  /* 61px */
  
  /* Spacing (8pt scale) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --space-12: 96px;
  --space-16: 128px;
  
  /* Layout */
  --container-max: 1200px;
  --container-padding: 24px;
  --content-max: 680px;
  
  /* Transitions */
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 1024px) {
  :root {
    --container-padding: 48px;
  }
}

/* ==========================================================================
   RESET
   ========================================================================== */

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

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

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

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

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

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

ul,
ol {
  list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  margin-bottom: var(--space-3);
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

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

.content {
  max-width: var(--content-max);
  margin: 0 auto;
}

.section {
  padding: var(--space-12) 0;
}

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

/* ==========================================================================
   COMPONENTS
   ========================================================================== */

.btn {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-base);
  font-weight: 500;
  text-align: center;
  border: 1px solid var(--black);
  transition: all var(--transition);
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--white);
  color: var(--black);
}

.btn-outline {
  background: transparent;
  color: var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

.card {
  padding: var(--space-4);
  border: 1px solid var(--gray-border);
  transition: all var(--transition);
}

.card:hover {
  border-color: var(--black);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.card-number {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--gray-text);
  margin-bottom: var(--space-2);
  display: block;
}

.card-title {
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-2);
}

.card-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   GRID
   ========================================================================== */

.grid {
  display: grid;
  gap: var(--space-4);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.text-center { text-align: center; }
.text-gray { color: var(--gray-text); }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

/* Support for Inter font features */
@supports (font-variation-settings: normal) {
  body {
    font-family: 'Inter var', var(--font-sans);
  }
}

/* ==========================================================================
   VISUAL ELEMENTS (Textura & Riqueza)
   ========================================================================== */

/* Highlight/Grifo */
.highlight {
  background: linear-gradient(180deg, transparent 60%, var(--highlight-yellow) 60%);
  padding: 0 4px;
}

/* Box/Callout */
.box {
  padding: var(--space-4);
  border: 2px dotted var(--black);
  background: var(--gray-bg);
  margin: var(--space-4) 0;
}

.box-title {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

/* Underline decorativo */
.underline-dot {
  border-bottom: 2px dotted var(--black);
  padding-bottom: var(--space-1);
}

/* Seção com background alternado */
.section-alt {
  background: var(--gray-bg);
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
}

/* Número grande decorativo */
.big-number {
  font-family: var(--font-mono);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--gray-border);
  line-height: 1;
}

/* Quote/Pull quote */
.pullquote {
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.3;
  padding-left: var(--space-4);
  border-left: 4px solid var(--black);
  margin: var(--space-6) 0;
}

/* Badge/Tag inline */
.badge {
  display: inline-block;
  padding: var(--space-1) var(--space-2);
  background: var(--black);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-outline {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
}
