
.section__steps {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* Left Side - Steps Content */
.section__steps-left {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.steps-header {
  margin-bottom: 20px;
}

.steps-label {
  display: inline-block;
  color: #ff6b35;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.steps-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 82px;
  font-weight: 700;
  line-height: 70px;
  color: #1a1a1a;
  margin: 0;
}

.steps-title-highlight {
  color: #6b6b6b;
  font-weight: 400;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.step-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* Flat Design Numbers */
.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.step-item:hover .step-number {
  background: #e0e0e0;
  transform: scale(1.05);
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.step-description {
  font-size: 15px;
  color: #6b6b6b;
  line-height: 1.6;
  margin: 0;
}

.steps-cta {
  margin-top: 20px;
}

.btn-transform {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(335deg, #8b5cf6 0%, #d946ef 50%, #f59e0b 100%);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-transform::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.btn-transform:hover::before {
  left: 100%;
}

.btn-transform:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 0, 251, 0.6);
}

.btn-transform:active {
  transform: translateY(0);
}

.btn-transform::after {
  content: '→';
  font-size: 20px;
  transition: transform 0.3s ease;
}

.btn-transform:hover::after {
  transform: translateX(5px);
}

/* Right Side - Before/After Slider */
.before-after-slider {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.before-after-container {
  position: relative;
  width: 100%;
  padding-bottom: 133.33%; /* Aspect ratio 3:4 (600x800) */
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  cursor: ew-resize;
  user-select: none;
}

.image-after,
.image-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.image-after img,
.image-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-before {
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  transition: none;
}

/* Barra divisória */
.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
  transition: none;
}

.slider-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: white;
  transform: translateX(-50%);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  pointer-events: all;
  cursor: ew-resize;
  transition: transform 0.2s ease;
}

.slider-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.slider-button:active {
  transform: translate(-50%, -50%) scale(0.95);
}

.slider-button svg {
  color: #333;
  flex-shrink: 0;
}

/* Labels */
.image-label {
  position: absolute;
  top: 24px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  border-radius: 8px;
  z-index: 5;
  backdrop-filter: blur(10px);
  transition: opacity 0.3s ease;
}

.label-before {
  left: 24px;
}

.label-after {
  right: 24px;
}

.label-hidden {
  opacity: 0;
}

/* Animação inicial */
@keyframes slideIntro {
  0%, 100% { left: 50%; }
  25% { left: 35%; }
  75% { left: 65%; }
}

.slider-handle.intro-animation {
  animation: slideIntro 2s ease-in-out;
}

.image-before.intro-animation {
  animation: slideIntroClip 2s ease-in-out;
}

@keyframes slideIntroClip {
  0%, 100% { clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%); }
  25% { clip-path: polygon(0 0, 35% 0, 35% 100%, 0 100%); }
  75% { clip-path: polygon(0 0, 65% 0, 65% 100%, 0 100%); }
}

/* Responsivo - Tablets */
@media (max-width: 991px) {
  .section__steps {
    padding: 40px 0;
    min-height: auto;
  }

  .section__steps-left {
    padding: 20px 15px;
    gap: 25px;
  }
  
  .section__steps-right {
    padding: 20px 15px;
  }

  .steps-title {
    font-size: 48px;
    line-height: 48px;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }
  
  .step-title {
    font-size: 18px;
  }
  
  .step-description {
    font-size: 14px;
  }

  .before-after-slider {
    max-width: 100%;
  }

  .slider-button {
    width: 50px;
    height: 50px;
  }

  .slider-button svg {
    width: 20px;
    height: 20px;
  }

  .image-label {
    top: 16px;
    padding: 6px 12px;
    font-size: 12px;
  }

  .label-before {
    left: 16px;
  }

  .label-after {
    right: 16px;
  }
  
  .btn-transform {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile extra small */
@media (max-width: 576px) {
  .section__steps {
    padding: 30px 0;
  }
  
  .section__steps-left {
    padding: 15px 10px;
    gap: 20px;
  }
  
  .section__steps-right {
    padding: 15px 10px;
  }
  
  .steps-title {
    font-size: 36px;
    line-height: 38px;
  }
  
  .steps-label {
    font-size: 12px;
    letter-spacing: 1px;
  }
  
  .steps-list {
    gap: 20px;
  }
  
  .step-item {
    gap: 16px;
  }
  
  .step-number {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }
  
  .step-title {
    font-size: 16px;
  }
  
  .step-description {
    font-size: 13px;
  }
  
  .steps-cta {
    margin-top: 15px;
  }
  
  .btn-transform {
    padding: 14px 28px;
    font-size: 15px;
  }
  
  .before-after-container {
    border-radius: 12px;
  }
  
  .slider-button {
    width: 45px;
    height: 45px;
  }
  
  .slider-button svg {
    width: 18px;
    height: 18px;
  }
  
  .image-label {
    top: 12px;
    padding: 4px 10px;
    font-size: 11px;
  }
  
  .label-before {
    left: 12px;
  }
  
  .label-after {
    right: 12px;
  }
}