/* base.css — Tipografia e elementos globais */

html {
  font-size: 16px;
  /* scroll-behavior controlado via JS (smooth-scroll.js) */
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--forest);
  background-color: var(--cream);
  overflow-x: hidden;
}

/* Hierarquia tipográfica */

h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--forest);
}

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 7vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--forest);
}

h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 4vw, 2rem);
  line-height: 1.2;
  color: var(--forest);
}

h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--forest);
}

p {
  color: var(--muted);
  line-height: 1.7;
}

p.lead {
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
}

input, select, textarea {
  font-size: 16px;
}

/* Label estilo editorial */
.label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--olive);
  display: block;
}

/* Itálico editorial */
em, .italic {
  font-style: italic;
  font-family: var(--font-display);
}

/* Linha decorativa */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  transform-origin: left center;
}

/* Imagens */
img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Aspect ratios comuns */
.aspect-portrait { aspect-ratio: 3 / 4; }
.aspect-square    { aspect-ratio: 1 / 1; }
.aspect-landscape { aspect-ratio: 4 / 3; }
.aspect-wide      { aspect-ratio: 16 / 9; }
.aspect-tall      { aspect-ratio: 2 / 3; }
