.planos {
  padding: 80px 0;
  background: #000000;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
}

.planos::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(229, 9, 20, 0.3) 10%, #ff000a 30%, #ff000a 70%, rgba(229, 9, 20, 0.3) 90%, transparent 100%);
  opacity: 0.8;
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 0 20px rgba(255, 0, 13, 0.4);
}

.planos .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 50px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  display: block !important;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #ff000d;
  margin: 15px auto 0;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
}

.carrossel-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 -10px;
}

.carrossel-wrapper {
  flex: 1;
  overflow: hidden;
  border-radius: 24px;
}

.carrossel-slides {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carrossel-slide {
  flex: 0 0 calc(100% / 3);
  padding: 10px;
  box-sizing: border-box;
}

.carrossel-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid #ff000d;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
  flex-shrink: 0;
}

.carrossel-nav:hover {
  background: #ff000d;
  border-color: #ff000d;
  box-shadow: 0 0 15px rgba(229, 9, 20, 0.5);
  transform: scale(1.05);
}

.carrossel-nav:active {
  transform: scale(0.95);
}

.carrossel-nav i {
  font-size: 1.2rem;
  color: #ffffff;
}

.carrossel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #888888;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  width: 24px;
  border-radius: 12px;
  background: #ff000d;
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
}

.plano-card-simplificado {
  background: #111111;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 0, 13, 0.884);
  position: relative;
}

/* .plano-card-simplificado::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 13, 0.5), transparent);
  opacity: 0.6;
  z-index: 2;
} */

/* .plano-card-simplificado:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 0, 13, 0.2);
} */

.plano-imagem-simplificado {
  background-color: #000000;
  width: 100%;
  height: auto;
  display: block;
  /* border-bottom: 2px solid #ff000d; */
  transition: filter 0.2s ease;
}

.plano-card-simplificado:hover .plano-imagem-simplificado {
  filter: brightness(1.08) contrast(1.05);
}

/* ==================== BOTÃO DESKTOP MELHORADO ==================== */
.btn-plano-simplificado {
  width: 100%;
  padding: 20px;
  background: linear-gradient(90deg, #ff000d, #cc000a);
  color: #ffffff;
  border: none;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 3px;
  position: relative;
  overflow: hidden;
  font-family: inherit;
  z-index: 1;
}

.btn-plano-simplificado::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;
  z-index: -1;
}

.btn-plano-simplificado:hover::before {
  left: 100%;
}

.btn-plano-simplificado:hover {
  background: linear-gradient(90deg, #ff2a35, #e6000c);
  letter-spacing: 4px;
  transform: scale(1.02);
}

.btn-plano-simplificado:active {
  transform: scale(0.98);
}

.planos-lista-mobile-simplificado {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.plano-mobile-card-simplificado {
  background: #111111;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 0, 13, 0.87);
  position: relative;
}

/* .plano-mobile-card-simplificado::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 13, 0.5), transparent);
  opacity: 0.6;
  z-index: 2;
} */

.plano-mobile-card-simplificado:active {
  transform: scale(0.97);
  border-color: rgba(255, 0, 13, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.plano-mobile-imagem {
  background-color: #000000;
  width: 100%;
  height: auto;
  display: block;
  /* border-bottom: 2px solid #ff000d; */
  transition: filter 0.2s ease;
}

/* ==================== BOTÃO MOBILE MELHORADO ==================== */
.btn-plano-mobile-simplificado {
  width: 100%;
  padding: 20px;
  background: linear-gradient(90deg, #ff000d, #cc000a);
  color: #ffffff;
  border: none;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 3px;
  position: relative;
  overflow: hidden;
  font-family: inherit;
  z-index: 1;
}

.btn-plano-mobile-simplificado::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;
  z-index: -1;
}

.btn-plano-mobile-simplificado:active::before {
  left: 100%;
}

.btn-plano-mobile-simplificado:active {
  background: linear-gradient(90deg, #ff2a35, #e6000c);
  letter-spacing: 4px;
  transform: scale(0.98);
  box-shadow: 0 0 25px #ff000d;
}

.empty-planos {
  text-align: center;
  padding: 80px 20px;
  background: #111111;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #888888;
}

.empty-planos i {
  font-size: 4rem;
  color: #ff000d;
  margin-bottom: 20px;
  opacity: 0.6;
}

.empty-planos p {
  font-size: 1.1rem;
}

.planos-loading {
  text-align: center;
  padding: 80px 20px;
  color: #888888;
}

.planos-loading .spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: #ff000d;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1024px) {
  .carrossel-slide {
    flex: 0 0 calc(100% / 2);
  }

  .section-title {
    font-size: 2.2rem;
  }

  .btn-plano-simplificado {
    padding: 18px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .planos {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .carrossel-container,
  .carrossel-dots {
    display: none;
  }

  .planos-lista-mobile-simplificado {
    display: flex;
  }

  .empty-planos {
    padding: 60px 20px;
  }

  .empty-planos i {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .planos {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .section-title::after {
    width: 60px;
    height: 3px;
  }

  .btn-plano-mobile-simplificado {
    padding: 18px;
    font-size: 0.85rem;
  }

  .empty-planos {
    padding: 40px 20px;
  }

  .empty-planos i {
    font-size: 2.5rem;
  }

  .empty-planos p {
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .btn-plano-mobile-simplificado {
    padding: 16px;
    font-size: 0.8rem;
  }
}

@media (max-width: 896px) and (orientation: landscape) {
  .planos {
    padding: 40px 0;
  }

  .carrossel-slide {
    flex: 0 0 calc(100% / 2);
  }

  .btn-plano-simplificado {
    padding: 16px;
  }
}

.carrossel-slides,
.plano-card-simplificado,
.btn-plano-simplificado,
.btn-plano-mobile-simplificado {
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

@media (hover: hover) {

  .carrossel-nav:hover,
  .btn-plano-simplificado:hover,
  .plano-card-simplificado:hover {
    transition: all 0.2s ease;
  }
}

* {
  -webkit-overflow-scrolling: touch;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.plano-card-simplificado {
  animation: fadeInUp 0.5s ease forwards;
}

.plano-card-simplificado:nth-child(1) {
  animation-delay: 0.1s;
}

.plano-card-simplificado:nth-child(2) {
  animation-delay: 0.2s;
}

.plano-card-simplificado:nth-child(3) {
  animation-delay: 0.3s;
}

.plano-card-simplificado:nth-child(4) {
  animation-delay: 0.4s;
}

.plano-mobile-card-simplificado {
  animation: fadeInUp 0.4s ease forwards;
}