/* ===========================================================
   Reset, tipografia base e utilitários compartilhados
   =========================================================== */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4 {
  margin: 0;
}
button {
  font-family: inherit;
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Layout */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.section {
  padding-top: clamp(64px, 9vw, 120px);
  padding-bottom: clamp(64px, 9vw, 120px);
}
.section--alt {
  background: var(--bg-alt);
}
.section--dark {
  background: var(--charcoal);
  color: #fff;
}

/* Rótulos e títulos */
.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--brand);
}
.eyebrow--peach {
  color: var(--peach);
}
.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.h-display {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  padding: 16px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}
.btn--primary {
  background: var(--brand);
  color: #fff;
}
.btn--primary:hover {
  background: var(--brand-dark);
}
.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover {
  background: #000;
}
.btn--light {
  background: #fff;
  color: var(--charcoal);
}
.btn--light:hover {
  background: var(--peach);
}
.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(0, 0, 0, 0.18);
}
.btn--outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}
.btn--sm {
  padding: 13px 22px;
  font-size: 14px;
}

/* Revelação ao rolar */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Banner padrão das páginas internas */
.page-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-banner__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 17, 14, 0.45),
    rgba(20, 17, 14, 0.8)
  );
}
.page-banner__inner {
  position: relative;
  z-index: 1;
  padding-bottom: 48px;
  color: #fff;
}
.page-banner h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.page-banner p {
  margin: 16px 0 0;
  max-width: 54ch;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}
