:root {
  --bg: #140c16;
  --bg2: #211126;
  --panel: #2c1830;
  --gold: #f3c977;
  --text: #fff8f1;
  --muted: #cbbcc9;
  --pink: #dc8ea9;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  width: min(1160px, 92%);
  margin: auto;
}
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #160d19ed;
  border-bottom: 1px solid #ffffff18;
  backdrop-filter: blur(14px);
}
.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font:
    italic 23px "Cormorant Garamond",
    serif;
  line-height: 0.9;
  white-space: nowrap;
}
.brand strong {
  display: block;
  font-size: 32px;
}
.brand-icon {
  font-size: 43px;
  position: relative;
}
.brand-icon small {
  font-size: 14px;
  position: absolute;
  top: 2px;
  right: -4px;
}
.nav nav {
  display: flex;
  gap: 28px;
}
.nav nav a {
  font-size: 14px;
  color: #e8dfe7;
}
.nav nav a:hover,
.footer-grid a:hover {
  color: var(--gold);
}
.btn {
  background: linear-gradient(120deg, #ffe3a2, #d79a42);
  color: #24131a;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 16px 25px;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: 0 7px 22px #0004;
  transition: transform 0.2s;
}
.btn:hover {
  transform: translateY(-3px);
}
.btn-small {
  font-size: 13px;
  padding: 12px 18px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: white;
  font-size: 27px;
}
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
    ellipse at 72% 55%,
    #71354b 0%,
    #32162f 32%,
    #170c1b 75%
  );
}
.hero-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #150b1b 4%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 20px;
}
.hero-copy {
  z-index: 1;
  padding: 75px 0;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2.5px;
  font-weight: 700;
  color: var(--gold);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
}
h1 {
  font-size: clamp(55px, 6vw, 91px);
  line-height: 0.96;
  margin: 20px 0;
}
h1 em,
h2 em {
  color: var(--gold);
  font-weight: 500;
}
.hero-copy > p {
  font-size: 17px;
  color: #eadbe4;
  line-height: 1.8;
  max-width: 490px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 29px 0;
}
.btn-outline {
  border: 1px solid #b8968b;
  padding: 15px 23px;
  border-radius: 30px;
  font-size: 13px;
}
.hero-tags {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #eac7d8;
}
.hero-art {
  height: 430px;
  position: relative;
  perspective: 900px;
}
.moon {
  position: absolute;
  right: 13%;
  top: -10%;
  font-size: 270px;
  color: #f1c97d33;
  text-shadow: 0 0 75px #f5b86b66;
}
.hero-book {
  position: absolute;
  width: 210px;
  height: 305px;
  border: 2px solid #d6aa7280;
  border-radius: 5px 14px 14px 5px;
  box-shadow:
    14px 18px 45px #0009,
    inset 5px 0 10px #0006;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  text-align: center;
  padding: 25px 12px;
  font-family: "Cormorant Garamond", serif;
}
.hero-book span {
  font:
    700 10px "DM Sans",
    sans-serif;
  letter-spacing: 3px;
}
.hero-book b {
  font-size: 37px;
  font-weight: 500;
  line-height: 1;
}
.hero-book i {
  font-size: 30px;
  color: var(--gold);
}
.book-a {
  left: 5%;
  top: 75px;
  transform: rotate(-16deg);
  background: linear-gradient(140deg, #593045, #130d20 70%);
}
.book-b {
  left: 36%;
  top: 40px;
  z-index: 2;
  transform: rotate(2deg);
  background: linear-gradient(145deg, #733a4e, #230b22 68%);
}
.book-c {
  right: 2%;
  top: 90px;
  transform: rotate(16deg);
  background: linear-gradient(135deg, #364568, #101626 70%);
}
.stars {
  position: absolute;
  right: 20%;
  bottom: 8px;
  color: var(--gold);
  letter-spacing: 30px;
}
.benefits {
  border-block: 1px solid #bc7b913a;
  background: #251329;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.benefits-grid > div {
  padding: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 29px;
  color: var(--gold);
  border-right: 1px solid #ffffff1a;
}
.benefits-grid > div:last-child {
  border: 0;
}
.benefits-grid span {
  display: grid;
  color: white;
  gap: 5px;
}
.benefits-grid b {
  font-size: 13px;
}
.benefits-grid small {
  font-size: 11px;
  color: var(--muted);
}
.section {
  padding-top: 85px;
  padding-bottom: 85px;
}
.section-head {
  text-align: center;
  margin-bottom: 35px;
}
.section-head h2,
.about h2,
.contact h2 {
  font-size: clamp(42px, 5vw, 62px);
  margin: 10px 0;
}
.section-head p {
  color: var(--muted);
}
.categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.category {
  min-height: 205px;
  color: white;
  border: 1px solid #d9bfa94d;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: start;
  text-align: left;
  transition: transform 0.2s;
}
.category:hover {
  transform: translateY(-6px);
}
.category span {
  font-size: 52px;
  margin-bottom: auto;
  color: #ffe2b3;
}
.category b {
  font:
    600 31px "Cormorant Garamond",
    serif;
}
.category small {
  color: #f3dfe6;
}
.romance {
  background: linear-gradient(135deg, #8c475f, #3b172b);
}
.dark {
  background: linear-gradient(135deg, #4c355a, #1a1429);
}
.fantasy {
  background: linear-gradient(135deg, #345776, #1b2549);
}
.hot {
  background: linear-gradient(135deg, #873d50, #481329);
}
.catalog-bg {
  background: #1e1122;
}
.catalog-tools {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.search {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #120b16;
  border: 1px solid #63465e;
  border-radius: 30px;
  padding: 0 17px;
}
.search span {
  font-size: 28px;
  color: var(--gold);
}
.search input {
  background: transparent;
  border: 0;
  color: white;
  outline: 0;
  padding: 13px 0;
  width: 210px;
}
.filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.filters button {
  background: transparent;
  border: 1px solid #5a3a55;
  color: #e8d7e0;
  border-radius: 20px;
  padding: 10px 14px;
  font-size: 12px;
}
.filters button.active,
.filters button:hover {
  background: var(--gold);
  color: #261523;
}
.books {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 19px;
}
.book-card {
  background: #29182d;
  border: 1px solid #ffffff18;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cover {
  height: 260px;
  position: relative;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  align-items: center;
  box-shadow: inset 7px 0 15px #0005;
  background: linear-gradient(145deg, var(--c1), var(--c2));
}
.cover:before {
  content: "✦";
  position: absolute;
  font-size: 125px;
  color: #ffffff0b;
  top: 38px;
}
.cover .top {
  font-size: 9px;
  letter-spacing: 2px;
  color: #fff3d8;
}
.cover strong {
  font:
    600 30px/0.95 "Cormorant Garamond",
    serif;
  text-shadow: 1px 2px 8px #0009;
  z-index: 1;
}
.cover .bottom {
  color: var(--gold);
  font-size: 26px;
}
.book-info {
  padding: 16px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.book-info small {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 1px;
}
.book-info h3 {
  font:
    600 23px/1.1 "Cormorant Garamond",
    serif;
  margin: 8px 0 10px;
}
.book-info a {
  margin-top: auto;
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
}
.catalog-note,
.empty {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin: 25px 0 0;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}
.about-art {
  min-height: 390px;
  border: 1px solid #c89c7b4f;
  background: radial-gradient(circle, #7b3457, #321b3d 55%, #180e1b);
  border-radius: 20px;
  display: grid;
  place-items: center;
  position: relative;
}
.spark {
  position: absolute;
  top: 40px;
  left: 60px;
  color: var(--gold);
  font-size: 35px;
}
.about-book {
  height: 270px;
  width: 200px;
  border: 3px solid #d6a356;
  border-radius: 100px 100px 12px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 0 0 70px #e2aa5c44;
  background: #230f27;
  color: var(--gold);
  font-size: 68px;
}
.about-book strong {
  font:
    italic 37px/0.85 "Cormorant Garamond",
    serif;
  text-align: center;
}
.about-book small {
  font:
    700 12px "DM Sans",
    sans-serif;
  letter-spacing: 5px;
  margin-top: 20px;
}
.about-copy p {
  color: var(--muted);
  line-height: 1.9;
}
.about-copy .btn {
  margin-top: 15px;
}
.channel-section {
  background: #26142b;
}
.channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.channel {
  padding: 30px;
  border: 1px solid #b7849050;
  background: #321d35;
  border-radius: 16px;
}
.channel-symbol {
  height: 60px;
  width: 60px;
  border-radius: 50%;
  background: #f0bf72;
  color: #281529;
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}
.channel h3 {
  font:
    600 30px "Cormorant Garamond",
    serif;
}
.channel p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  min-height: 45px;
}
.channel a {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}
.contact {
  background: linear-gradient(110deg, #582b45, #2a1937);
  padding: 60px 0;
  border-block: 1px solid #b78b6b5c;
}
.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.contact h2 {
  margin-bottom: 10px;
}
.contact p {
  color: #e6cbdc;
  margin-bottom: 0;
}
footer {
  padding: 50px 0 20px;
  background: #120a15;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}
.footer-grid p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 25px;
}
.footer-grid h3 {
  font-size: 14px;
  color: var(--gold);
}
.footer-grid > div > a:not(.brand) {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin: 10px 0;
}
.copyright {
  border-top: 1px solid #ffffff20;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  color: #a89aa7;
  font-size: 11px;
}
@media (max-width: 950px) {
  .nav nav {
    gap: 13px;
  }
  .nav-cta {
    display: none;
  }
  .books {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-inner {
    grid-template-columns: 1fr 1fr;
  }
  .hero-book {
    width: 165px;
    height: 245px;
  }
  .book-a {
    left: 0;
  }
  .book-b {
    left: 28%;
  }
  .book-c {
    right: 0;
  }
  .hero-book b {
    font-size: 29px;
  }
  .categories {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .nav {
    height: 72px;
  }
  .brand {
    font-size: 18px;
  }
  .brand strong {
    font-size: 25px;
  }
  .menu-toggle {
    display: block;
  }
  .nav nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #211126;
    padding: 20px;
    flex-direction: column;
    box-shadow: 0 12px 20px #0008;
  }
  .nav nav.open {
    display: flex;
  }
  .hero-inner {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }
  .hero-copy {
    padding: 65px 0 20px;
  }
  .hero-art {
    height: 310px;
    width: 100%;
    max-width: 450px;
  }
  .hero-book {
    width: 150px;
    height: 225px;
  }
  .hero-book b {
    font-size: 27px;
  }
  .book-a {
    top: 45px;
    left: 5%;
  }
  .book-b {
    top: 20px;
    left: 33%;
  }
  .book-c {
    top: 55px;
    right: 1%;
  }
  .moon {
    font-size: 200px;
  }
  .hero-actions {
    flex-wrap: wrap;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .benefits-grid > div {
    justify-content: start;
    border-right: 0;
    border-bottom: 1px solid #ffffff1a;
  }
  .section {
    padding-top: 65px;
    padding-bottom: 65px;
  }
  .categories {
    gap: 10px;
  }
  .category {
    min-height: 165px;
  }
  .category b {
    font-size: 25px;
  }
  .books {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .cover {
    height: 235px;
  }
  .cover strong {
    font-size: 25px;
  }
  .catalog-tools {
    justify-content: center;
  }
  .search,
  .search input {
    width: 100%;
  }
  .filters {
    justify-content: center;
  }
  .filters button {
    padding: 9px;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .about-art {
    min-height: 320px;
  }
  .channels {
    grid-template-columns: 1fr;
  }
  .channel p {
    min-height: auto;
  }
  .contact-inner {
    flex-direction: column;
    align-items: start;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: span 2;
  }
}
@media (max-width: 380px) {
  .hero-book {
    width: 132px;
    height: 205px;
  }
  .book-b {
    left: 30%;
  }
  .book-c {
    right: 0;
  }
  .cover {
    height: 205px;
  }
  .cover strong {
    font-size: 23px;
  }
}

/* Imagens locais integradas ao projeto — sem dependência de links externos. */
.hero {
  background: #180b16 url("../img/banner-romance.webp") center center/cover
    no-repeat;
}
.hero-glow {
  background: linear-gradient(
    90deg,
    rgba(12, 5, 13, 0.94) 0%,
    rgba(18, 7, 15, 0.85) 34%,
    rgba(18, 7, 15, 0.12) 80%
  );
}
.hero-inner {
  display: flex;
  align-items: center;
  min-height: 550px;
}
.hero-copy {
  width: min(560px, 65%);
}
.hero-copy h1 {
  font-size: clamp(64px, 7vw, 102px);
}
.category {
  position: relative;
  background-position: center;
  background-size: cover;
  isolation: isolate;
  overflow: hidden;
  min-height: 205px;
}
.category::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(17, 7, 18, 0.9),
    rgba(17, 7, 18, 0.08)
  );
  z-index: -1;
}
.category.romance {
  background-image: url("../img/categoria-romance.webp");
}
.category.dark {
  background-image: url("../img/categoria-dark.webp");
}
.category.fantasy {
  background-image: url("../img/categoria-fantasia.webp");
}
.category.hot {
  background-image: url("../img/categoria-hot.webp");
}
.category span {
  display: none;
}
.category b {
  font-size: 32px;
  text-shadow: 0 2px 8px #000;
}
.cover {
  height: auto;
  aspect-ratio: 166/233;
  padding: 0;
  display: block;
  background: #241424;
  overflow: hidden;
}
.cover::before {
  display: none;
}
.cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s;
}
.book-card:hover .cover img {
  transform: scale(1.035);
}
.newsletter {
  background: #210e1b url("../img/newsletter.webp") center/cover no-repeat;
  padding: 70px 0;
  border-block: 1px solid #ac786b66;
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-left: 160px;
}
.newsletter h2 {
  font:
    600 42px/1 "Cormorant Garamond",
    serif;
  margin: 0 0 10px;
}
.newsletter h2 em {
  color: var(--gold);
}
.newsletter p {
  margin: 0;
  color: #fff1e5;
  font-size: 13px;
}
.newsletter .btn {
  white-space: nowrap;
}
@media (max-width: 680px) {
  .hero {
    background-position: 62% center;
  }
  .hero-glow {
    background: linear-gradient(90deg, #140817ed, #140817b5);
  }
  .hero-inner {
    min-height: 500px;
  }
  .hero-copy {
    width: 100%;
    padding: 55px 0;
  }
  .hero-copy h1 {
    font-size: 64px;
  }
  .category {
    min-height: 155px;
  }
  .newsletter-inner {
    padding-left: 0;
    flex-direction: column;
    align-items: flex-start;
  }
  .newsletter {
    background-position: left center;
  }
  .newsletter h2 {
    font-size: 35px;
  }
}

/* Catálogo atualizado */
.book-info {
  gap: 0;
}
.book-info h3 {
  margin-bottom: 5px;
}
.book-author {
  font-size: 12px;
  color: var(--gold);
  margin: 0 0 10px;
}
.book-synopsis {
  font-size: 12.5px;
  line-height: 1.65;
  color: #d9c9d6;
  margin: 0 0 18px;
  flex: 1;
}
.book-card {
  height: 100%;
}
.book-info a {
  display: inline-block;
  border-top: 1px solid #ffffff20;
  padding-top: 12px;
  line-height: 1.5;
}
.books {
  align-items: stretch;
}
@media (max-width: 680px) {
  .book-info {
    padding: 12px;
  }
  .book-info h3 {
    font-size: 21px;
  }
  .book-synopsis {
    font-size: 12px;
  }
}

/* Catálogo simplificado: sinopses somente ao expandir */
.book-details {
  margin-top: 12px;
  border-top: 1px solid rgba(198, 159, 99, 0.28);
  padding-top: 12px;
}
.book-details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: #d5ad75;
  font-weight: 700;
  padding: 9px 0;
}
.book-details summary::-webkit-details-marker {
  display: none;
}
.book-details summary span {
  font-size: 1.35rem;
  line-height: 1;
}
.book-details[open] summary span {
  transform: rotate(45deg);
}
.book-details .book-synopsis {
  margin: 12px 0 18px;
  line-height: 1.7;
}
.book-details .book-buy {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 8px;
  background: #b88b52;
  color: #190d19;
  text-decoration: none;
  font-weight: 700;
}
.social-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.social-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 16px;
  border: 1px solid rgba(211, 170, 110, 0.35);
  border-radius: 12px;
  background: #28162b;
  color: #f4e5d1;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 700;
  transition:
    transform 0.2s,
    background 0.2s;
}
.social-button:hover {
  transform: translateY(-3px);
  background: #402341;
}
.social-note {
  text-align: center;
  opacity: 0.75;
  margin-top: 18px;
  font-size: 0.9rem;
}
@media (max-width: 700px) {
  .social-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .social-button {
    font-size: 1rem;
    min-height: 65px;
  }
}

/* Versão autoral: nenhum banner ou imagem de livros antigos */
.hero {
  background: radial-gradient(
    ellipse at 78% 35%,
    #59324e 0%,
    #271329 50%,
    #180b16 100%
  );
}
.hero-glow {
  background: linear-gradient(90deg, #14081766, transparent);
}
.wa-icon {
  width: 28px;
  height: 28px;
  color: #25d366;
  flex-shrink: 0;
}
.social-button:has(.wa-icon) {
  border-color: #25d36688;
}
.more-button {
  width: 100%;
  border: 1px solid #c99c61;
  border-radius: 9px;
  background: #b88b52;
  color: #1b1020;
  font:
    700 14px "DM Sans",
    sans-serif;
  padding: 12px;
  cursor: pointer;
}
.more-button:hover {
  background: #e1b57b;
}
.catalog-note strong {
  color: #72e49d;
}
.book-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(680px, calc(100% - 24px));
  max-height: calc(100dvh - 30px);
  overflow: auto;
  border: 1px solid #c9a06b;
  border-radius: 20px;
  background: #1d1021;
  color: #f5e9f1;
  padding: 24px;
  box-shadow: 0 22px 80px #000b;
}
.book-modal::backdrop {
  background: #07020be0;
  backdrop-filter: blur(5px);
}
.modal-close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 2;
  background: #482b46;
  color: #fff;
  border: 1px solid #a68a9e;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 28px;
  cursor: pointer;
}
.modal-body {
  clear: both;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
#modal-cover {
  display: block;
  width: min(100%, 350px);
  max-height: 58vh;
  object-fit: contain;
  border-radius: 9px;
  box-shadow: 0 12px 35px #0008;
}
.modal-content {
  width: 100%;
  max-width: 560px;
}
#modal-category {
  color: #d9ac75;
  letter-spacing: 1px;
  text-transform: uppercase;
}
#modal-title {
  font:
    600 clamp(30px, 5vw, 45px)/1.05 "Cormorant Garamond",
    serif;
  margin: 10px 0;
}
#modal-author {
  color: #d9ac75;
  margin: 0 0 20px;
}
.modal-content h3 {
  font-size: 19px;
  color: #e6c395;
  margin: 15px 0 8px;
}
#modal-synopsis {
  font-size: 16px;
  line-height: 1.8;
  color: #e7dce6;
  white-space: pre-line;
}
.discount-callout {
  background: #123b27;
  border: 1px solid #38a86d;
  border-radius: 12px;
  padding: 15px;
  color: #d5ffe3;
  font-weight: 700;
  line-height: 1.5;
}
.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 4px;
}
.modal-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 220px;
  min-height: 48px;
  text-align: center;
  text-decoration: none;
}
.modal-wa {
  background: #25d366 !important;
  color: #092617 !important;
}
@media (max-width: 680px) {
  .book-modal {
    padding: 15px;
  }
  .modal-body {
    gap: 14px;
  }
  #modal-cover {
    max-height: 50vh;
  }
  .modal-actions {
    flex-direction: column;
  }
}

/* Capas autorais em transição no banner, mantendo texto fixo e legível */
.hero {
  isolation: isolate;
  min-height: 560px;
  background: #140a17;
}
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
  background-color: #211020;
  background-size: cover;
  background-position: center 38%;
  transform: scale(1.025);
}
.hero-slide.active {
  opacity: 1;
  animation: hero-zoom 6.5s ease-out both;
}
@keyframes hero-zoom {
  from {
    transform: scale(1.055);
  }
  to {
    transform: scale(1);
  }
}
.hero .hero-glow {
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(15, 5, 18, 0.97) 0%,
    rgba(18, 6, 20, 0.9) 31%,
    rgba(20, 7, 21, 0.64) 57%,
    rgba(14, 4, 16, 0.2) 100%
  );
}
.hero .hero-inner {
  grid-template-columns: 1fr;
  min-height: 560px;
}
.hero .hero-copy {
  max-width: 700px;
}
@media (max-width: 680px) {
  .hero .hero-glow {
    background: linear-gradient(
      90deg,
      rgba(15, 5, 18, 0.94),
      rgba(15, 5, 18, 0.72)
    );
  }
  .hero-slide {
    background-position: 60% center;
  }
  .hero .hero-inner {
    min-height: 530px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
    animation: none !important;
  }
}

/* V5: carrossel compacto apenas na lateral direita, capas sem cortes */
.hero {
  min-height: 440px;
}
.hero .hero-inner {
  min-height: 440px;
}
.hero-slideshow {
  inset: 24px 4% 24px auto;
  width: 39%;
  border-radius: 18px;
  background: #211020;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  z-index: -1;
}
.hero-slide {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: none;
}
.hero-slide.active {
  animation: none;
}
.hero .hero-glow {
  z-index: -1;
  background: linear-gradient(
    90deg,
    #140a17 0%,
    #140a17 45%,
    rgba(20, 10, 23, 0.84) 57%,
    rgba(20, 10, 23, 0) 72%
  );
}
.hero .hero-copy {
  max-width: 55%;
}
@media (max-width: 760px) {
  .hero {
    min-height: 480px;
  }
  .hero .hero-inner {
    min-height: 480px;
  }
  .hero-slideshow {
    width: 42%;
    right: 2%;
    top: 55px;
    bottom: 55px;
  }
  .hero .hero-copy {
    max-width: 62%;
  }
  .hero .hero-glow {
    background: linear-gradient(
      90deg,
      #140a17 0%,
      rgba(20, 10, 23, 0.98) 35%,
      rgba(20, 10, 23, 0.52) 72%,
      rgba(20, 10, 23, 0.18) 100%
    );
  }
}
@media (max-width: 520px) {
  .hero {
    min-height: 480px;
  }
  .hero .hero-inner {
    min-height: 480px;
  }
  .hero-slideshow {
    width: 48%;
    right: 1%;
    top: 70px;
    bottom: 70px;
    opacity: 0.72;
  }
  .hero .hero-copy {
    max-width: 78%;
    position: relative;
    z-index: 2;
  }
  .hero .hero-glow {
    background: linear-gradient(
      90deg,
      #140a17 0%,
      rgba(20, 10, 23, 0.95) 48%,
      rgba(20, 10, 23, 0.4) 100%
    );
  }
}

/* V6: ambientacao delicada na area principal, mantendo a capa em destaque */
.hero {
  background:
    radial-gradient(
      ellipse at 18% 82%,
      rgba(117, 42, 78, 0.38),
      transparent 51%
    ),
    radial-gradient(
      ellipse at 51% 15%,
      rgba(119, 75, 40, 0.17),
      transparent 42%
    ),
    linear-gradient(115deg, #180a1a 0%, #251025 53%, #170b19 100%);
}
.hero::before {
  content: "";
  position: absolute;
  left: -12%;
  top: -70%;
  width: 76%;
  height: 170%;
  border-radius: 50%;
  border: 1px solid rgba(245, 199, 122, 0.075);
  box-shadow:
    0 0 0 65px rgba(245, 199, 122, 0.016),
    0 0 0 145px rgba(245, 199, 122, 0.012);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "✦";
  position: absolute;
  left: 48%;
  top: 15%;
  font-size: 30px;
  color: rgba(243, 201, 119, 0.18);
  pointer-events: none;
  z-index: 0;
}
.hero .hero-glow {
  background: linear-gradient(
    90deg,
    rgba(19, 7, 21, 0.26) 0%,
    rgba(20, 8, 22, 0.14) 49%,
    rgba(20, 8, 22, 0) 70%
  );
}
.hero .hero-inner {
  position: relative;
  z-index: 1;
}
.hero-slideshow {
  z-index: 1;
}
.footer-grid > div > a:not(.brand) {
  width: fit-content;
  transition: color 0.2s;
}
.footer-grid > div > a:not(.brand):hover,
.footer-grid > div > a:not(.brand):focus-visible {
  color: #f3c977;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 520px) {
  .hero::after {
    display: none;
  }
  .hero::before {
    opacity: 0.55;
  }
}

/* V8: três capas em movimento suave, sem sobreposição do texto */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 480px;
  background: radial-gradient(
    ellipse at 80% 50%,
    #55253d 0%,
    #271027 48%,
    #160b19 100%
  );
}
.hero::before,
.hero::after {
  display: none;
}
.hero .hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: 480px;
}
.hero .hero-copy {
  position: relative;
  z-index: 3;
  width: 54%;
  max-width: 600px;
  padding: 55px 0;
}
.hero .hero-copy h1 {
  font-size: clamp(52px, 6vw, 90px);
  overflow-wrap: normal;
}
.hero-slideshow {
  position: absolute;
  inset: 26px 2% 26px auto;
  width: 47%;
  height: auto;
  z-index: 1;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(52, 24, 45, 0.32);
  box-shadow: 0 15px 50px #0005;
  opacity: 0.72;
  pointer-events: none;
}
.hero-cover-track {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  animation: kah-marquee 80s linear infinite;
  will-change: transform;
}
.hero-cover-frame {
  flex: none;
  width: clamp(120px, 13vw, 178px);
  height: 85%;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 10px 25px #0007;
  background: #231020;
}
.hero-cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
@keyframes kah-marquee {
  to {
    transform: translateX(-50%) translateX(-7px);
  }
}
.hero .hero-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #170b19 0%,
    rgba(23, 11, 25, 0.97) 36%,
    rgba(23, 11, 25, 0.58) 57%,
    rgba(23, 11, 25, 0.1) 100%
  );
}
@media (max-width: 760px) {
  .hero,
  .hero .hero-inner {
    min-height: 420px;
  }
  .hero .hero-copy {
    width: 65%;
    max-width: 65%;
    padding: 44px 0;
  }
  .hero .hero-copy h1 {
    font-size: clamp(43px, 7vw, 64px);
  }
  .hero-slideshow {
    inset: 22px 2% 22px auto;
    width: 54%;
    opacity: 0.52;
  }
  .hero-cover-frame {
    width: 145px;
  }
}
@media (max-width: 520px) {
  .hero {
    min-height: 445px;
  }
  .hero .hero-inner {
    display: flex;
    min-height: 445px;
    align-items: center;
  }
  .hero .hero-copy {
    width: 100%;
    max-width: 100%;
    padding: 44px 0 38px;
  }
  .hero .hero-copy h1 {
    font-size: clamp(46px, 13vw, 63px);
    line-height: 0.98;
    max-width: 310px;
    margin: 19px 0;
  }
  .hero .hero-copy > p {
    font-size: 14px;
    line-height: 1.65;
    max-width: 300px;
  }
  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 1.6px;
    max-width: 270px;
    display: block;
  }
  .hero .hero-actions {
    margin: 23px 0;
  }
  .hero .btn {
    font-size: 12px;
    padding: 14px 19px;
  }
  .hero .hero-tags {
    font-size: 10px;
    gap: 12px;
  }
  .hero-slideshow {
    inset: 0;
    width: 100%;
    border-radius: 0;
    opacity: 0.31;
    box-shadow: none;
    background: transparent;
  }
  .hero-cover-track {
    gap: 12px;
  }
  .hero-cover-frame {
    width: 140px;
    height: 70%;
    opacity: 0.9;
  }
  .hero .hero-glow {
    background: linear-gradient(
      90deg,
      rgba(19, 8, 22, 0.97) 0%,
      rgba(19, 8, 22, 0.86) 48%,
      rgba(19, 8, 22, 0.63) 100%
    );
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cover-track {
    animation: none;
  }
}

/* V9 — capas maiores ocupando toda a faixa, sumindo suavemente sob o texto */
.hero {
  overflow: hidden;
  background: #1b0c1d;
}
.hero-slideshow {
  inset: 0 0 0 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  opacity: 1;
}
.hero-cover-track {
  height: 100%;
  gap: 18px;
  align-items: stretch;
  animation-duration: 100s;
}
.hero-cover-frame {
  height: 100%;
  width: clamp(235px, 24vw, 390px);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  opacity: 0.84;
}
.hero-cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero .hero-glow {
  background: linear-gradient(
    90deg,
    #170b19 0%,
    rgba(23, 11, 25, 0.97) 19%,
    rgba(23, 11, 25, 0.84) 36%,
    rgba(23, 11, 25, 0.43) 57%,
    rgba(23, 11, 25, 0.12) 79%,
    rgba(23, 11, 25, 0.1) 100%
  );
}
@media (max-width: 760px) {
  .hero-slideshow {
    inset: 0;
    width: 100%;
    opacity: 1;
  }
  .hero-cover-frame {
    width: 230px;
    height: 100%;
    opacity: 0.92;
  }
  .hero .hero-glow {
    background: linear-gradient(
      90deg,
      rgba(20, 8, 22, 0.9) 0%,
      rgba(20, 8, 22, 0.75) 38%,
      rgba(20, 8, 22, 0.38) 76%,
      rgba(20, 8, 22, 0.25) 100%
    );
  }
}
@media (max-width: 520px) {
  .hero-slideshow {
    inset: 0;
    width: 100%;
    opacity: 1;
  }
  .hero-cover-frame {
    width: 190px;
    height: 100%;
    opacity: 0.96;
  }
  .hero .hero-glow {
    background: linear-gradient(
      90deg,
      rgba(19, 8, 22, 0.85) 0%,
      rgba(19, 8, 22, 0.72) 44%,
      rgba(19, 8, 22, 0.46) 100%
    );
  }
  .hero .hero-copy {
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
  }
}

/* V10: botões de compra compactos em telas pequenas */
@media (max-width: 680px) {
  .modal-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 16px 0 4px;
  }
  .modal-actions a {
    flex: 0 0 auto !important;
    width: 100%;
    height: auto !important;
    min-height: 46px !important;
    max-height: none;
    padding: 12px 14px !important;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.35;
    white-space: normal;
  }
  .modal-content .discount-callout {
    font-size: 13px;
    padding: 12px;
    line-height: 1.45;
  }
}
