@font-face {
  font-family: "Literata";
  src: url("../fonts/literata-400.a1e47c1196a7.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("../fonts/literata-600.1761fd55ed1a.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("../fonts/literata-700.8d83af4a6b4f.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/sans-400.27ab01c4cb50.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/sans-600.9a35cba76eda.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f3eee4;
  --paper-2: #fbf7f1;
  --ink: #1c1915;
  --muted: #514a42;
  --line: #e3d8c8;
  --teal: #145e59;
  --teal-deep: #0d3f3c;
  --copper: #8d5a3c;
  --danger: #7c2f2a;
  --shadow: 0 18px 40px rgba(48, 32, 16, 0.12);
  --serif: "Literata", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(141, 90, 60, 0.08), transparent 50%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); }
a:hover { color: var(--teal); }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); margin: 0 0 0.6rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 0.6rem; }
h3 { font-size: 1.35rem; margin: 0.4rem 0; }
p { margin: 0 0 0.9rem; }
.envolve { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.estreito { width: min(720px, 100%); }
.pular {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: white;
  padding: 0.5rem 0.8rem;
  z-index: 5;
}
.pular:focus { top: 0.5rem; }
.topo { border-bottom: 1px solid var(--line); background: rgba(251, 247, 241, 0.9); position: sticky; top: 0; z-index: 2; }
.topo-linha { display: flex; flex-wrap: wrap; gap: 0.8rem 1.5rem; align-items: center; justify-content: space-between; padding: 0.9rem 0; }
.marca {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
}
.marca::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.45rem;
  background: var(--copper);
  transform: translateY(-0.15rem);
}
.navegacao { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; align-items: center; }
.navegacao a, .link-botao {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.nav-destaque { color: var(--teal-deep) !important; }
.link-botao {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.faixa {
  margin: 0;
  padding: 0.55rem 1rem;
  text-align: center;
  background: #efe4d4;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.secao { padding: 3.5rem 0; }
.secao-papel { background: rgba(255, 252, 247, 0.65); border-block: 1px solid var(--line); }
.secao-cabeca { max-width: 40rem; margin-bottom: 2rem; }
.heroi { padding: 4rem 0 2rem; }
.heroi-grade { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.lead { font-size: 1.2rem; color: var(--muted); }
.olho {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5c3824;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.heroi-capas { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.heroi-capas img {
  width: 100%;
  aspect-ratio: 1 / 1.414;
  object-fit: cover;
  box-shadow: var(--shadow);
  background: #efe6d6;
}
.heroi-capas img:nth-child(even) { transform: translateY(1.4rem); }
.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2.2rem 1.4rem; }
.cartao h3 a { color: inherit; text-decoration: none; }
.cartao-capa img {
  width: 100%;
  aspect-ratio: 1 / 1.414;
  object-fit: cover;
  box-shadow: var(--shadow);
  background: #efe6d6;
}
.resumo { color: var(--muted); min-height: 3.2em; }
.meta-linha { color: var(--muted); font-size: 0.95rem; }
.preco { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 0; }
.preco span, .preco-grande span { display: block; font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: #5c3824; }
.preco-grande { font-size: 2rem; }
.botao, button.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.55rem 1.1rem;
  background: var(--teal);
  color: white;
  text-decoration: none;
  border: 1px solid var(--teal-deep);
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.botao:hover { background: var(--teal-deep); color: white; }
.botao-secundario { background: transparent; color: var(--teal-deep); }
.botao-secundario:hover { background: var(--teal); color: white; }
.acoes { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1rem 0; }
.passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ficha { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: 2.5rem; align-items: start; }
.ficha-capa img { width: 100%; box-shadow: var(--shadow); }
.dados { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem 1rem; margin: 1.2rem 0; }
.dados div { border-top: 1px solid var(--line); padding-top: 0.45rem; }
.dados dt { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.dados dd { margin: 0.15rem 0 0; font-family: var(--serif); }
.prosa p { font-size: 1.08rem; }
.nota { color: var(--muted); }
.alerta {
  background: #f8efe6;
  border: 1px solid #e4cbb6;
  padding: 0.8rem 1rem;
  border-radius: 0.6rem;
}
.alerta p:last-child { margin-bottom: 0; }
.vazio {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 1.5rem;
  border-radius: 1rem;
}
.filtros { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: end; margin-bottom: 1rem; }
.campo { display: flex; flex-direction: column; gap: 0.3rem; min-width: 10rem; }
.campo-cresce { flex: 1; }
.campo label { font-weight: 600; }
.entrada, input.entrada, select.entrada, textarea.entrada {
  width: 100%;
  min-height: 2.8rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid #cbbba6;
  border-radius: 0.55rem;
  background: white;
  color: var(--ink);
  font: inherit;
}
.ajuda { color: var(--muted); font-size: 0.95rem; }
.erro { color: var(--danger); margin: 0.2rem 0 0; }
form .botao { margin-top: 0.6rem; }
.links-conta { display: flex; gap: 1rem; }
.amostra-paginas { display: grid; gap: 1.5rem; margin: 1.5rem 0; }
.amostra-paginas img { width: min(100%, 820px); box-shadow: var(--shadow); }
.amostra-paginas figcaption { color: var(--muted); margin-top: 0.4rem; }
.leitor { width: 100%; height: min(80vh, 900px); border: 1px solid var(--line); background: white; margin: 1rem 0; }
.resumo-pedido { display: flex; gap: 1rem; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1rem 0; }
.resumo-pedido img { width: 92px; box-shadow: var(--shadow); }
.total { font-size: 1.3rem; }
.lista-pedidos, .lista-simples { list-style: none; padding: 0; }
.lista-pedidos li { display: grid; grid-template-columns: 1.4fr 0.6fr 0.6fr 0.8fr; gap: 0.6rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.bloco-seguinte { margin-top: 3rem; }
.rodape { border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; color: var(--muted); }
.rodape-grade { display: grid; grid-template-columns: 1.4fr 0.6fr 1fr; gap: 1.5rem; }
.rodape a { display: block; margin: 0.2rem 0; }
.marca-rodape { color: var(--ink); }
.nota-legal { font-size: 0.95rem; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
@media (max-width: 860px) {
  .heroi-grade, .ficha, .passos, .rodape-grade, .lista-pedidos li { grid-template-columns: 1fr; }
  .heroi { padding-top: 2rem; }
  .heroi-capas img:nth-child(even) { transform: none; }
  .heroi-capas img:nth-child(n + 3) { display: none; }
  .secao { padding: 2.4rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
