* {
  box-sizing: border-box;
}
html {
  background: #090d1a;
}
body {
  margin: 0;
  color: #f5eee4;
  font-family: "Space Grotesk", sans-serif;
  --world-accent: var(--book-accent, #e8c990);
}
a {
  color: inherit;
  text-decoration: none;
}
.book-nav {
  min-height: 72px;
  padding: 14px max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #080d1aeb;
  border-bottom: 1px solid #ffffff20;
}
.book-nav a {
  font:
    500 12px/1.5 "JetBrains Mono",
    monospace;
}
.book-nav a:last-child {
  color: var(--book-accent);
}
.editorial-hero {
  position: relative;
  isolation: isolate;
  padding: 64px 24px 72px;
  background:
    radial-gradient(
      ellipse at 18% 40%,
      color-mix(in srgb, var(--book-accent) 17%, transparent),
      transparent 55%
    ),
    #090d1a;
  overflow: hidden;
}
.editorial-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #080e2099, #090d1aed),
    url("/images/livros/parallax/atmosphere-desktop.png") center/cover;
  opacity: 0.65;
}
.editorial-grid {
  max-width: 1120px;
  margin: auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: center;
}
.editorial-cover {
  margin: 0;
  padding: 28px 20px;
  text-align: center;
}
.editorial-cover > img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  filter: drop-shadow(14px 24px 22px #0009);
  border-radius: 4px;
}
.editorial-cover figcaption {
  font-size: 13px;
  color: #adb8c9;
  line-height: 1.6;
  margin-top: 24px;
}
.editorial-cover .book-cover {
  width: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  padding: 36px 22px;
  background: linear-gradient(
    140deg,
    color-mix(in srgb, var(--book-accent) 40%, #11192c),
    #0b1222
  );
  border: 1px solid #ffffff40;
  border-left: 8px solid color-mix(in srgb, var(--book-accent) 40%, #111);
  box-shadow: 15px 25px 40px #0008;
  border-radius: 4px 10px 10px 4px;
}
.cover-title {
  font:
    600 32px/1.15 "Playfair Display",
    serif;
}
.cover-kicker {
  font:
    12px/1.5 "JetBrains Mono",
    monospace;
}
.cover-icon {
  font-size: 52px;
}
.editorial-info .eyeline {
  color: var(--book-accent);
  font:
    12px/1.7 "JetBrains Mono",
    monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.editorial-info h1 {
  font:
    500 clamp(38px, 4.7vw, 64px)/1.06 "Playfair Display",
    serif;
  letter-spacing: -0.025em;
  margin: 18px 0 22px;
  text-wrap: balance;
}
.editorial-lead {
  font-size: 18px;
  line-height: 1.8;
  color: #c8d0df;
  margin: 0 0 24px;
  max-width: 620px;
}
.editorial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #b5bfd0;
  margin-top: 24px;
}
.editorial-meta span + span::before {
  content: "·";
  margin-right: 12px;
  color: var(--book-accent);
}
.editorial-story {
  max-width: 760px;
  margin: auto;
  padding: 68px 24px 80px;
}
.editorial-story h2 {
  font:
    500 38px "Playfair Display",
    serif;
  margin: 0 0 24px;
}
.editorial-story p {
  font-size: 18px;
  line-height: 1.9;
  color: #c6cedd;
}
.editorial-story strong {
  color: var(--book-accent);
}
.book-footer {
  border-top: 1px solid #ffffff20;
  padding: 28px 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: #aab6c9;
  font-size: 13px;
}
.book-footer a {
  color: var(--book-accent);
}
@media (max-width: 800px) {
  .editorial-hero {
    padding-top: 32px;
  }
  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .editorial-cover {
    width: 240px;
    margin: auto;
    padding: 10px;
  }
  .editorial-cover > img {
    max-height: 300px;
  }
  .editorial-cover .book-cover {
    min-height: 300px;
  }
  .cover-title {
    font-size: 26px;
  }
  .editorial-info h1 {
    font-size: 42px;
  }
  .editorial-lead {
    font-size: 17px;
  }
  .book-nav {
    padding: 16px 20px;
  }
  .book-nav a {
    font-size: 11px;
  }
  .editorial-story {
    padding-top: 44px;
  }
}
