.planos {
  padding: 80px 0;
  background: #000;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.planos::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(255, 0, 13, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.planos::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  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;
}

.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;
}

.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;
  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;
}

.plano-card-simplificado {
  background: #000;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(143, 2, 9, 0.733);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.plano-card-simplificado::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(255, 0, 13, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.plano-imagem-simplificado {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px 24px 0 0;
  position: relative;
  z-index: 1;
}

.plano-bottom {
  padding: 0;
  background: transparent;
  border-radius: 0 0 24px 24px;
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.btn-selecionar-plano {
  width: 100%;
  padding: 18px 20px;
  margin-top: 0;
  background: #ff000d;
  color: #ffffff;
  border: none;
  border-radius: 0 0 24px 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: block;
  text-align: center;
}

.btn-selecionar-plano::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 75%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0) 25%,
      rgba(255, 255, 255, 0.7) 50%,
      rgba(255, 255, 255, 0) 75%,
      transparent 100%);
  transform: skewX(-25deg);
  transition: none;
  pointer-events: none;
}

.btn-selecionar-plano:hover::before {
  animation: shineEffect 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.btn-selecionar-plano:active {
  transform: scale(0.97);
}

@keyframes shineEffect {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

.planos-lista-mobile-simplificado {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.plano-mobile-card-simplificado {
  background: #0a0a0a;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 0, 13, 0.15);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.plano-mobile-card-simplificado::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(255, 0, 13, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.plano-mobile-imagem {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px 20px 0 0;
  position: relative;
  z-index: 1;
}

.plano-mobile-bottom {
  padding: 0;
  background: transparent;
  border-radius: 0 0 20px 20px;
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.btn-selecionar-plano-mobile {
  width: 100%;
  padding: 16px 18px;
  margin-top: 0;
  background: #ff000d;
  color: #ffffff;
  border: none;
  border-radius: 0 0 20px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: block;
  text-align: center;
}

.btn-selecionar-plano-mobile::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 75%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0) 25%,
      rgba(255, 255, 255, 0.7) 50%,
      rgba(255, 255, 255, 0) 75%,
      transparent 100%);
  transform: skewX(-25deg);
  transition: none;
  pointer-events: none;
}

.btn-selecionar-plano-mobile:hover::before {
  animation: shineEffect 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.btn-selecionar-plano-mobile:active {
  transform: scale(0.97);
}

.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;
  }
}

@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;
  }

  .empty-planos {
    padding: 40px 20px;
  }

  .empty-planos i {
    font-size: 2.5rem;
  }

  .empty-planos p {
    font-size: 0.9rem;
  }

  .btn-selecionar-plano {
    padding: 14px 16px;
    font-size: 0.8rem;
    letter-spacing: 0.8px;
  }

  .btn-selecionar-plano-mobile {
    padding: 14px 16px;
    font-size: 0.8rem;
    letter-spacing: 0.8px;
  }
}

@media (max-width: 360px) {
  .btn-selecionar-plano {
    padding: 12px 14px;
    font-size: 0.7rem;
  }

  .btn-selecionar-plano-mobile {
    padding: 12px 14px;
    font-size: 0.7rem;
  }
}

@media (max-width: 896px) and (orientation: landscape) {
  .planos {
    padding: 40px 0;
  }

  .carrossel-slide {
    flex: 0 0 calc(100% / 2);
  }
}

.carrossel-slides,
.plano-card-simplificado {
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

* {
  -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;
}

.tarja-destaque {
  position: absolute;
  top: 16px;
  right: -35px;
  padding: 6px 35px;
  background: linear-gradient(135deg, #ff000d 0%, #cc000a 100%);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transform: rotate(45deg);
  z-index: 10;
  box-shadow: 0 2px 16px rgba(255, 0, 13, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
  overflow: hidden;
}

.tarja-destaque::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0) 30%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0) 70%,
      transparent 100%);
  transform: skewX(-25deg);
  animation: shineTarja 3s ease-in-out infinite;
}

@keyframes shineTarja {
  0% {
    left: -100%;
  }

  60% {
    left: 200%;
  }

  100% {
    left: 200%;
  }
}

.tarja-destaque span {
  position: relative;
  z-index: 1;
}

.tarja-destaque .tarja-icon {
  margin-right: 4px;
}

.tarja-destaque-mobile {
  position: absolute;
  top: 12px;
  right: -25px;
  padding: 4px 26px;
  background: linear-gradient(135deg, #ff000d 0%, #cc000a 100%);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transform: rotate(45deg);
  z-index: 10;
  box-shadow: 0 2px 12px rgba(255, 0, 13, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
  overflow: hidden;
}

.tarja-destaque-mobile::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0) 30%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0) 70%,
      transparent 100%);
  transform: skewX(-25deg);
  animation: shineTarja 3s ease-in-out infinite;
}

.tarja-destaque-mobile .tarja-icon {
  margin-right: 3px;
}

@media (max-width: 768px) {
  .tarja-destaque-mobile {
    top: 10px;
    right: -20px;
    padding: 3px 20px;
    font-size: 0.5rem;
  }
}

@media (max-width: 480px) {
  .tarja-destaque-mobile {
    top: 8px;
    right: -16px;
    padding: 3px 16px;
    font-size: 0.45rem;
  }
}

.plano-card-simplificado.plano-destaque {
  border-color: #ff000d;
  border-width: 2px;
  border-style: solid;
}

.plano-mobile-card-simplificado.plano-destaque {
  border-color: #ff000d;
  border-width: 2px;
  border-style: solid;
}