/* base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { color-scheme: dark; }

body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--fonte-leitura);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-inline: 1.25rem;
}

/* textura de papel escuro: duas camadas de luz, sem imagem */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60rem 40rem at 20% -10%, rgb(255 255 255 / 0.035), transparent 60%),
    radial-gradient(40rem 30rem at 100% 100%, rgb(255 72 66 / 0.05), transparent 60%);
  pointer-events: none;
}

.pular {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--botao);
  color: var(--botao-texto);
  padding: .5rem 1rem;
}
.pular:focus { left: 1rem; top: 1rem; z-index: 10; }

p { margin: 0 0 1.25em; }
a { color: inherit; }

h1, h2, .destaque {
  font-family: var(--fonte-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: .01em;
  color: var(--texto);
}

h1 { font-size: clamp(2rem, 6vw, 3.25rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); margin: 0 0 .75em; }

.destaque {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin: 1.5em 0;
  color: var(--texto);
}

/* componente ------------------------------------------------- */
.botao {
  display: inline-block;
  font-family: var(--fonte-display);
  font-size: 1.35rem;
  line-height: 1.2;
  background: var(--botao);
  color: var(--botao-texto);
  text-decoration: none;
  padding: .85rem 1.6rem;
  border-radius: var(--raio);
  transition: transform .15s ease, background-color .15s ease;
}
.botao:hover { background: var(--botao-hover); transform: translateY(-1px); }
.botao:focus-visible { outline: 3px solid var(--texto); outline-offset: 3px; }

.lista {
  margin: 0 0 1.5em;
  padding-left: 1.25rem;
}
.lista li { margin-bottom: .6em; }
.lista li::marker { color: var(--texto-apoio); }

.preco {
  font-family: var(--fonte-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin: .5em 0 .25em;
}

/* seção -------------------------------------------------------- */
.carta {
  max-width: var(--medida);
  margin-inline: auto;
}

section {
  padding-block: var(--espaco);
  border-top: 1px solid var(--linha);
}
section:first-of-type { border-top: 0; padding-top: clamp(4rem, 12vw, 8rem); }

.abertura .sub {
  font-size: clamp(1.25rem, 2.6vw, 1.5rem);
  color: var(--texto-apoio);
  max-width: 34ch;
}
.abertura .assinatura {
  font-family: var(--fonte-display);
  color: var(--texto-meta);
  font-size: 1.15rem;
  margin-top: 2.5rem;
}

.oferta {
  background: var(--fundo-elevado);
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  margin-inline: calc(-1 * clamp(0rem, 2vw, 1.5rem));
}
.oferta h2 { margin-top: 0; }
.oferta .rotulo {
  font-family: var(--fonte-display);
  font-size: 1.25rem;
  color: var(--texto-apoio);
  margin-bottom: .5em;
}
.oferta .cta { margin-top: 1.5rem; }
.oferta .nota-preco {
  font-size: 1rem;
  color: var(--texto-apoio);
  margin-top: .75rem;
}

.conversa .cta { margin-top: 1.5rem; }

footer {
  padding-block: 2.5rem 3.5rem;
  border-top: 1px solid var(--linha);
  color: var(--texto-meta);
  font-size: 1rem;
}
footer a { color: var(--texto-apoio); }
footer .sep { margin-inline: .5rem; }

/* responsivo ---------------------------------------------------- */
@media (min-width: 40rem) {
  body { font-size: 1.1875rem; padding-inline: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .botao { transition: none; }
  .botao:hover { transform: none; }
}
