.steps-section {
  padding: 40px 0;
  position: relative;
  overflow: hidden;
  background-image: url('/assets/images/wallpaperwebsite2.webp');
  background-size: cover;
  background-position: center;
}

.steps-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(1, 17, 26, 0.7);
  z-index: 1;
}

.steps-section .container {
  position: relative;
  z-index: 2;
}

/* ===================== HEADER ===================== */

.steps-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.steps-header h2 {
  color: #ffffff;
  font-family: var(--font-heading);
}

.steps-header p {
  color: #cccccc;
}

/* ===================== STEP CARD ===================== */

.step-item {
  padding: 2rem;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Classe adicionada pelo IntersectionObserver via JS */
.step-col.animated .step-item {
  opacity: 1;
  transform: translateY(0);
}

.icon-wrap {
  width: 100%;
  margin-bottom: 1.5rem;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22a5e5, #47b5ed);
  box-shadow: 0 4px 20px rgba(34, 165, 229, 0.4);
  transition: all 0.3s ease;
}

.step-item:hover .icon-box {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(34, 165, 229, 0.6);
}

.step-number {
  font-size: 3rem;
  font-weight: bold;
  color: #ffffff;
  font-family: var(--font-heading);
}

.step-text-box {
  margin-top: 1rem;
}

.step-title {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  font-family: var(--font-body);
}

.step-text {
  color: #cccccc;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

/* ===================== VÍDEO ===================== */

.video-header {
  text-align: center;
  margin-bottom: 2rem;
}

.video-title {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
}

.video-desc {
  color: #cccccc;
  font-size: 1rem;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  border: none;
}

/* ===================== RESPONSIVO ===================== */

/* ≤991px */
@media (max-width: 991px) {
  .step-item {
    margin-bottom: 2rem;
  }

  .icon-box {
    width: 80px;
    height: 80px;
  }

  .step-number {
    font-size: 2.5rem;
  }

  .step-title {
    font-size: 1.2rem;
  }

  .step-text {
    font-size: 1rem;
  }
}

/* iPad 768px–1024px */
@media (min-width: 768px) and (max-width: 1024px) {
  .icon-box {
    width: 85px;
    height: 85px;
  }
}

/* Mobile ≤768px */
@media (max-width: 768px) {
  .video-container {
    border-radius: 10px;
  }

  .video-iframe {
    border-radius: 10px;
  }
}

/* Ultra-small ≤360px */
@media (max-width: 360px) {
  .step-item {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .icon-box {
    width: 60px;
    height: 60px;
  }

  .step-number {
    font-size: 2rem;
  }

  .step-title {
    font-size: 1.05rem;
  }

  .step-text {
    font-size: 0.9rem;
  }
}