*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.journey-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 40px 20px;
  background: #000; /* fallback */
}

.journey-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.journey-slide {
  position: relative;
  min-width: 100%;
  flex-shrink: 0;
  padding: 40px;
  text-align: center;
  color: #fff;
  opacity: 0.5;
  transition: opacity 0.5s;
  z-index: 1;
}

.journey-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* mais escuro para melhor contraste */
  z-index: 0;
}

.journey-slide h2,
.journey-slide p {
  position: relative;
  z-index: 1;
}

.journey-slide h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #fff;
}

.journey-slide p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  color: #f0f0f0;
}

.journey-slide.active {
  opacity: 1;
}

.cta-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background: #00C853;
  color: #fff;
  border: none;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  font-weight: bold;
  transition: background 0.3s ease;
  z-index: 1;
  position: relative;
}

.cta-btn:hover {
  background: #00b84d;
}

.cta-btn.secondary {
  background: #ffffffcc;
  color: #000;
  margin-left: 10px;
}

#prevBtn, #nextBtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  font-size: 1.2rem;
  border-radius: 50%;
}

#prevBtn { left: 10px; }
#nextBtn { right: 10px; }

/* Responsivo */
@media (max-width: 768px) {
  .journey-container {
    padding: 20px 10px;
  }

  .journey-wrapper {
    flex-direction: column;
  }

  .journey-slide {
    padding: 20px 15px;
    width: 100vw;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
  }

  .journey-slide h2 {
    font-size: 1.5rem;
  }

  .journey-slide p {
    font-size: 1rem;
    max-width: 100%;
  }

  .cta-btn {
    width: 100%;
    margin: 10px 0;
    text-align: center;
  }

  .cta-btn.secondary {
    margin-left: 0;
  }

  .journey-slide {
    opacity: 1;
  }

  #prevBtn,
  #nextBtn {
    display: none;
  }
}
