.scroll-quote {
  position: relative;
  overflow: hidden;
  max-width: 950px;
  margin: 0 auto;
  padding: 2.5rem;
  border-left: 6px solid #FF4F00;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.05);
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 1s ease-out, opacity 1s ease-out;
  min-height: 200px;
}

.scroll-quote.visible {
  transform: translateX(0);
  opacity: 1;
}

.quote-front,
.quote-back {
  display: block;
  padding: 2rem 3rem;
  text-align: center;
  transition: opacity 0.6s ease;
}

.quote-front {
  opacity: 1;
  z-index: 2;
}

.quote-back {
  opacity: 0;
  z-index: 1;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.scroll-quote:hover .quote-front {
  opacity: 0;
}

.scroll-quote:hover .quote-back {
  opacity: 1;
}

@media (max-width: 576px) {
  .quote-front p {
    font-size: 1.2rem;
    line-height: 1.5;
  }

  .quote-back p {
    font-size: 1.1rem;
    line-height: 1.5;
  }
  .scroll-quote {
    padding: 1.5rem 1rem; /* menos espaçamento lateral */
  }

  .quote-front,
  .quote-back {
    padding: 1rem;
  }

}