.book-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.book-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.book-card img {
  width: 100%;
  height: 180px; /* define a altura padrão da imagem */
  object-fit: cover; /* ajusta imagem mantendo proporção */
  border-radius: 12px;
  margin-bottom: 15px;
}

.book-card h5 {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.book-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
  flex-grow: 1; /* empurra o botão para o fim */
}

.book-card .btn {
  background-color: #5978af;
  border: none;
  padding: 8px 16px;
  font-weight: 500;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.book-card .btn:hover {
  background-color: #2f4b7b;
}
.book-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  padding: 20px;
}

.book-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.book-card img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 15px;
}

.book-card h5 {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.book-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}

.book-card .btn {
  background-color: #0066ff;
  border: none;
  padding: 8px 16px;
  font-weight: 500;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.book-card .btn:hover {
  background-color: #004fcc;
}


.text-justify {
  text-align: justify;
}
