/* Home — destaque dos livros */

.navbar .nav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.hero-home {
  position: relative;
  background: url("../img/bg-masthead.jpg") no-repeat center center;
  background-size: cover;
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  color: #fff;
}

.hero-home .overlay {
  position: absolute;
  inset: 0;
  background: #1b2a1c;
  opacity: 0.45;
}

.hero-home .container {
  position: relative;
  z-index: 1;
}

.hero-home .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.hero-home h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero-home p {
  max-width: 36rem;
  margin: 0 auto;
  font-size: 1.1rem;
  opacity: 0.95;
}

.books-folders {
  padding: 3.5rem 0 2.5rem;
  background: #f7f8f5;
}

.books-folders .section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.books-folders .section-title h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin-bottom: 0.5rem;
  color: #1f2f20;
}

.books-folders .section-title p {
  color: #5a6758;
  margin: 0;
}

.book-folder {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #dce2d5;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.book-folder:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(25, 44, 27, 0.12);
  text-decoration: none;
  color: inherit;
}

.book-folder img {
  display: block;
  width: 100%;
  height: auto;
}

.book-folder .folder-meta {
  padding: 1.1rem 1.25rem 1.35rem;
}

.book-folder .folder-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #637948;
  margin-bottom: 0.4rem;
}

.book-folder h3 {
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
  color: #192c1b;
}

.book-folder p {
  margin: 0;
  font-size: 0.95rem;
  color: #536053;
  line-height: 1.45;
}

.book-folder .folder-cta {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #253b24;
}

.informativo-baixo {
  padding: 2.75rem 0 3.5rem;
  background: #fff;
}

.informativo-baixo .box {
  max-width: 720px;
  margin: 0 auto;
  color: #6a7468;
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: left;
}

.informativo-baixo h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #4a5548;
  margin-bottom: 1rem;
  text-align: center;
}

.informativo-baixo .assinatura {
  margin-top: 1.25rem;
  font-style: italic;
}

@media (max-width: 767.98px) {
  .navbar .container {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.75rem;
  }

  .navbar .nav-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-home {
    padding: 3rem 0 2.5rem;
  }

  .books-folders {
    padding: 2.5rem 0 1.5rem;
  }

  .book-folder {
    margin-bottom: 1.25rem;
  }
}
