/* =========================================================
   Reset + base
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--color-texto);
  background-color: var(--color-bege);
  background-image: url("../assets/img/bg-papel.webp");
  background-size: 600px;
  background-repeat: repeat;
  background-blend-mode: multiply;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-marrom-escuro);
  margin: 0 0 1rem;
}
h1 { font-size: var(--fs-xxl); font-weight: 400; }
h2 { font-size: var(--fs-xl); font-weight: 400; }
h3 { font-size: var(--fs-lg); }
p { margin: 0 0 1rem; }
em, .italic, .t-serif {
  font-style: italic;
  font-family: var(--font-serif);
  /* compensa x-height menor da Cormorant pra equalizar com Anek (sans) inline */
  font-size: 1.08em;
  line-height: inherit;
}

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

.section {
  padding-block: clamp(4rem, 9vw, 8rem);
  position: relative;
}
.section--bege   { background-color: var(--color-bege); }
.section--bege-2 { background-color: var(--color-bege-2); }
.section--marrom { background-color: var(--color-marrom-escuro); color: var(--color-bege); }
.section--marrom h1, .section--marrom h2, .section--marrom h3 { color: var(--color-bege); }

/* Kicker / Hat — pílula de destaque, padrão único do site */
.kicker, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  background: rgba(91, 63, 36, 0.06);
  border: 1px solid var(--color-linha);
  border-radius: var(--radius-xl);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-marrom-escuro);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: fit-content;
}
.kicker::before, .eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-dourado);
}
/* Variante sobre fundos escuros (hero) */
.kicker--on-dark {
  background: rgba(243, 233, 218, 0.08);
  border-color: rgba(243, 233, 218, 0.2);
  color: var(--color-bege);
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--color-texto-suave);
  max-width: 60ch;
  line-height: 1.7;
}

/* Botões */
.btn {
  --btn-glow: rgba(91, 63, 36, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.8rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 52px;
  will-change: transform;
}
.btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0 28px 0 var(--btn-glow);
}
.btn--primary {
  --btn-glow: rgba(91, 63, 36, 0.45);
  background-color: var(--color-marrom-escuro);
  color: var(--color-bege);
}
.btn--ghost {
  --btn-glow: rgba(91, 63, 36, 0.25);
  background-color: transparent;
  border-color: var(--color-marrom);
  color: var(--color-marrom);
}
.btn--gold {
  --btn-glow: rgba(201, 163, 90, 0.55);
  background-color: var(--color-dourado);
  color: var(--color-marrom-escuro);
}
.btn--lg { padding: 1.2rem 2.4rem; font-size: 1rem; min-height: 60px; }

/* Linha decorativa */
.divider {
  width: 60px;
  height: 1px;
  background-color: var(--color-dourado);
  margin: 1.25rem 0;
}
.divider--center { margin-inline: auto; }

/* Animações */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1);
  }
  .reveal.is-visible { opacity: 1; transform: none; }
}
