/* =============================================================
COVIL V4 — planos.css
Propósito: refino visual dos cards de planos, Swiper e efeitos de aura ritualística
Assinatura: ⚜️ Uma criação V7M — Onde a tecnologia encontra o fundamento.
============================================================= */

/* =============================================================
SEÇÃO PRINCIPAL
============================================================= */
.oferta-section {
  background: radial-gradient(circle at center, #000 70%, #0b0b0b 100%);
  color: #f0f0f0;
  padding: 5rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.oferta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(212,175,55,0.05), transparent 70%);
  animation: auraPulse 10s ease-in-out infinite alternate;
  z-index: 0;
}

.oferta-section .container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.titulo-ritual {
  color: var(--dourado, #d4af37);
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.texto-intro {
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 3rem;
}

/* =============================================================
SWIPER — CONTAINER E SLIDES
============================================================= */
.swiper.swiper-planos {
  width: 100%;
  margin-top: 3rem;
  padding-bottom: 4rem;
}

.swiper-planos .swiper-slide {
  display: flex;
  justify-content: center;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

/* =============================================================
CARDS DE PLANO — AURA, DESTAQUE E INTERAÇÃO
============================================================= */
.plano-card {
  background: linear-gradient(180deg, #111 0%, #0a0a0a 100%);
  border: 2px solid rgba(212,175,55,0.25);
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  color: #fff;
  box-shadow: 0 0 25px rgba(212,175,55,0.15);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  position: relative;
  overflow: hidden;
  max-width: 360px;
}

/* 🔮 Aura dourada ritualística */
.plano-card.aura::before,
.plano-card.aura::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, #d4af37, transparent 60%, #d4af37 100%);
  filter: blur(20px);
  opacity: 0.3;
  z-index: 0;
  animation: auraRotate 12s linear infinite;
}

.plano-card.aura::after {
  filter: blur(30px);
  opacity: 0.15;
  animation-direction: reverse;
}

@keyframes auraRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 🔸 Micro pulso de brilho de fundo da seção */
@keyframes auraPulse {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.05); }
}

.plano-card * {
  position: relative;
  z-index: 1;
}

/* Hover — elevação e brilho */
.plano-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 0 55px rgba(212,175,55,0.5);
}

/* =============================================================
CONTEÚDO INTERNO DOS CARDS
============================================================= */
.plano-titulo {
  font-size: 1.6rem;
  color: var(--dourado, #f6e27a);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plano-desc {
  color: #ddd;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.plano-preco {
  font-size: 1.8rem;
  margin: 1.2rem 0;
  font-weight: 700;
  color: #f6e27a;
}

.plano-preco span {
  font-size: 1rem;
  color: #ccc;
}

/* =============================================================
SELO DESTAQUE — Escolha Popular 🔥
============================================================= */


/* =============================================================
   SELO "ESCOLHA POPULAR" — ELEGÂNCIA INTEGRADA ⚜️
   ============================================================= */
.plano-selo.destaque-popular {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #1a1a1a;
  background: linear-gradient(90deg, #f8e27a 0%, #d4af37 45%, #b08d1b 100%);
  border-radius: 12px;
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.3),
    inset 0 -1px 3px rgba(150,100,0,0.35),
    0 2px 10px rgba(212,175,55,0.25);
  text-align: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  transform: translateY(0);
  z-index: 2;
  transition: all 0.3s ease;
}

/* 🔸 Detalhe de integração com o card */
.plano-card.destaque {
  position: relative;
  overflow: hidden;
}

.plano-card.destaque::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: radial-gradient(circle at center, rgba(212,175,55,0.15), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* ✨ Efeito sutil ao pairar */
.plano-card.destaque:hover .plano-selo.destaque-popular {
  box-shadow:
    inset 0 1px 3px rgba(255,255,255,0.3),
    inset 0 -1px 3px rgba(150,100,0,0.4),
    0 3px 15px rgba(255,230,100,0.35);
  transform: translateY(-2px);
}

@keyframes pulseGold {
  0%, 100% {
    box-shadow: 0 0 10px rgba(212,175,55,0.25), 0 0 20px rgba(212,175,55,0.2);
  }
  50% {
    box-shadow: 0 0 25px rgba(212,175,55,0.45), 0 0 40px rgba(212,175,55,0.3);
  }
}

/* =============================================================
BOTÕES E CHAMADAS
============================================================= */
.btn-plano {
  display: inline-block;
  margin-top: 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =============================================================
FOOTER DA SEÇÃO DE OFERTA
============================================================= */
.oferta-footer {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #aaa;
}

.oferta-footer .fa-lock {
  color: #d4af37;
  margin-right: 4px;
}

/* =============================================================
RESPONSIVIDADE
============================================================= */
@media (max-width: 768px) {
  .plano-card {
    max-width: 90%;
  }

  .plano-titulo {
    font-size: 1.4rem;
  }

  .plano-preco {
    font-size: 1.5rem;
  }
}
