/* ============================================
   BASE CSS - Reset, Tipografia, Global
   ILPI Lucrativa | Premium Design System
   ============================================ */

/* --- FONT FACES --- */
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-2xl);
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--color-azul-profundo);
  color: var(--color-branco-off);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: var(--font-weight-regular);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1, 'liga' 1;
  overflow-x: hidden;
}

/* --- SELECTION PREMIUM (dourado) --- */
::selection {
  background-color: rgba(198, 167, 94, 0.30);
  color: var(--color-branco-puro);
}
::-moz-selection {
  background-color: rgba(198, 167, 94, 0.30);
  color: var(--color-branco-puro);
}

/* --- SCROLLBAR PREMIUM --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-azul-escuro);
}
::-webkit-scrollbar-thumb {
  background: rgba(198, 167, 94, 0.3);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(198, 167, 94, 0.5);
}

/* --- BASE ELEMENTS --- */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-dourado-claro);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--color-dourado);
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
}

/* --- FOCUS GLOBAL PREMIUM --- */
:focus-visible {
  outline: 2px solid var(--color-dourado);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* ============================================
   CLASSES TIPOGRAFICAS (Mobile First)
   Respiracao generosa, tracking premium
   ============================================ */

.headline-hero {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.12;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.01em;
  color: var(--color-branco-off);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.subheadline-hero {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: var(--font-weight-regular);
  color: rgba(245, 245, 240, 0.85);
  letter-spacing: 0.01em;
}

.heading-section {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.15;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.02em;
  color: var(--color-dourado-claro);
}

.heading-sub {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.4;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.01em;
  color: var(--color-branco-off);
}

.body-text {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.7;
  font-weight: var(--font-weight-regular);
  color: rgba(245, 245, 240, 0.90);
  letter-spacing: 0.005em;
}

.body-small {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
  font-weight: var(--font-weight-regular);
  color: var(--color-cinza-texto);
}

.caption {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.5;
  font-weight: var(--font-weight-regular);
  color: var(--color-cinza-texto);
}

.label {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.4;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-dourado-claro);
}

.cta-text {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.05;
  font-weight: var(--font-weight-bold);
  color: var(--color-dourado-claro);
  letter-spacing: -0.01em;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.3;
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--color-cinza-texto);
}

/* --- TABLET (768px) --- */
@media (min-width: 768px) {
  .headline-hero    { font-size: 2.5rem;  line-height: 1.10; letter-spacing: 0.015em; }
  .subheadline-hero { font-size: 1.125rem; }
  .heading-section  { font-size: 1.875rem; letter-spacing: 0.025em; }
  .heading-sub      { font-size: 1.25rem; }
  .body-text        { font-size: 1rem; }
  .stat-number      { font-size: 2.75rem; }
}

/* --- DESKTOP (1024px) --- */
@media (min-width: 1024px) {
  .headline-hero    { font-size: 3rem;    line-height: 1.08; letter-spacing: 0.02em; }
  .subheadline-hero { font-size: 1.25rem; line-height: 1.65; }
  .heading-section  { font-size: 2.25rem; letter-spacing: 0.03em; }
  .heading-sub      { font-size: 1.375rem; }
  .label            { font-size: 0.875rem; letter-spacing: 0.12em; }
  .stat-number      { font-size: 3.25rem; }
}

/* --- DESKTOP XL (1440px) --- */
@media (min-width: 1440px) {
  .headline-hero    { font-size: 3.5rem;  line-height: 1.06; letter-spacing: 0.025em; }
  .heading-section  { font-size: 2.75rem; letter-spacing: 0.035em; }
  .stat-number      { font-size: 3.75rem; }
}
