#planos {
    padding: 40px 20px 80px;
    text-align: center;
}

#planos h2 {
    margin-top: 0;
    margin-bottom: 6px;
}

#planos p.subtitulo {
    margin-top: 0;
    line-height: 1.4;
}

/* Grid */
.planos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: auto;
    perspective: 1200px; /* 🔥 essencial */
}


/* Card base */
.plano {
    background: linear-gradient(180deg, #0d0f12, #000000);
    border-radius: 18px;
    padding: 26px 22px;
    width: 100%;
    height: 520px;
    box-shadow: 0 25px 45px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    will-change: transform;
}

.plano:hover {
    transform: translateY(-16px) rotateX(6deg) scale(1.05);
    box-shadow:
        0 35px 70px rgba(0,0,0,0.75),
        0 0 40px #00be62;
}

/* Título */
.plano h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

/* Preço */
.preco {
    font-size: 2.7rem;
    font-weight: bold;
    margin: 13px 0;
    color: #00be62;
}

.preco span {
    font-size: 2.5rem;
}

.plano ul {
    flex-grow: 1;
}

/* botão */
.plano a {
    margin-top: 20px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #076638, #00be62);
    color: #000000;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: pulse 2.2s infinite;
    transition: all 0.3s ease;
}

.plano a:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px #076638;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 #37ff9e;
    }
    70% {
        box-shadow: 0 0 0 14px #37ff9e;
    }
    100% {
        box-shadow: 0 0 0 0 #37ff9e;
    }
}

.plano h3,
.plano .preco,
.plano ul,
.plano a {
    transform: translateZ(30px);
}

.voltar-home {
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

.voltar-home:hover {
    color: #000000;
}

.pagamento {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-top: 6px;
}

.plano ul li {
    position: relative;
    padding-left: 28px;
}

.plano ul li {
    padding-left: 35px;
}

.plano ul li::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #00be62;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 10px;
    box-shadow: 0 0 10px rgba(56, 248, 98, 0.2);
}

.plano ul li::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 22px;
    width: 2px;
    height: calc(100% - 22px);
    background: rgba(56, 248, 98, 0.2);
}

@keyframes premiumGlow {
    0% {
        box-shadow: 0 0 25px #00be62;
    }
    50% {
        box-shadow: 0 0 45px #00be62;
    }
    100% {
        box-shadow: 0 0 25px #00be62;
    }
}

.plano.premium:hover {
    transform: translateY(-20px) rotateX(10deg) scale(1.07);
    box-shadow:
        0 40px 90px rgba(0,0,0,0.8),
        0 0 60px #00be62;
}

.plano.premium a {
    background: linear-gradient(135deg, #076638, #00be62);
    box-shadow: 0 0 20px #00be62;
}

.plano.premium a:hover {
    transform: scale(1.08);
    box-shadow: 0 0 35px #00be62;
}

.plano ul {
    list-style: none;   /* REMOVE AS BOLINHAS NATIVAS */
    padding-left: 0;    /* REMOVE O ESPAÇO LATERAL */
}

/* ===========================
   SELO POPULAR (lado direito)
=========================== */
.plano.basico::after {
    content: "POPULAR";
    position: absolute;
    top: 30px;
    right: -45px; /* joga pra fora do card */
    background: linear-gradient(135deg, #076638, #00be62);
    color: #020617;
    font-weight: bold;
    padding: 8px 50px;
    transform: rotate(45deg);
    box-shadow: 0 0 20px #00be62;
    z-index: 10;
    font-size: 0.9rem;
}

.plano.basico {
    border: 2px solid #00be62;
    box-shadow:
        0 30px 70px rgba(0,0,0,0.7),
        0 0 50px #00be62;
}

/* ===========================
   HEADER DOS PLANOS (FORA)
=========================== */
.planos-header {
    padding: 80px 20px 40px;
    text-align: center;
}

.planos-header h2 {
    font-size: 3rem;
    color: #00be62;
    margin-bottom: 15px;
}

.planos-header .subtitulo {
    font-size: 1.6rem;
    max-width: 720px;
    margin: 0 auto;
    color: #cbd5f5;
}

body {
    padding-top: 0px;
}

@media (max-width: 768px) {
    .plano {
        height: auto;
        padding-bottom: 30px;
    }

    .plano h3 {
        font-size: 1.8rem;
    }

    .preco {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
  .plano {
    margin: 0 auto;
    max-width: 420px;
  }
}
