/* =============================================
   SEÇÃO DE PREÇOS - ALINHAMENTO PERFEITO
   Layout premium com valores em ,99
   ============================================= */

.pricing {
    padding: 80px 0;
    background: #ffffff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
    position: relative;
    z-index: 2;
}

/* ===== CARD BASE ===== */
.pricing-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 2rem 1.75rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.12);
    border-color: rgba(124, 58, 237, 0.2);
}

/* Card destacado (Básico) com borda roxa */
.card-featured {
    border: 2px solid #7C3AED;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.15);
}

.card-featured:hover {
    box-shadow: 0 16px 40px rgba(124, 58, 237, 0.2);
}

/* ===== RIBBONS E BADGES ===== */

/* Ribbon no topo (Mais Assinado / Recomendado) */
.top-ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #7C3AED 0%, #9333EA 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
    z-index: 10;
}

.top-ribbon.ribbon-alt {
    background: linear-gradient(135deg, #9333EA 0%, #6D28D9 100%);
}

/* Badge de desconto no canto */
.discount-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 5;
}

/* ===== HEADER DO CARD ===== */
.card-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

/* Badge do plano (pill) - TODOS ROXOS */
.plan-badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(124, 58, 237, 0.1);
    color: #7C3AED;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.plan-badge.badge-yellow {
    background: rgba(124, 58, 237, 0.1);
    color: #7C3AED;
    border-color: rgba(124, 58, 237, 0.2);
}

.plan-badge.badge-purple {
    background: rgba(124, 58, 237, 0.1);
    color: #7C3AED;
    border-color: rgba(124, 58, 237, 0.2);
}

/* Título do plano */
.plan-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.3;
    height: 40px; /* altura fixa para alinhamento */
    display: flex;
    align-items: center;
}

/* Descrição */
.plan-description {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
    height: 48px; /* altura fixa para alinhamento */
}

/* ===== BLOCO DE PREÇOS ===== */
.pricing-block {
    text-align: center;
    padding: 1rem 0;
    margin: 0.5rem 0;
    height: 140px; /* altura fixa idêntica em todos os cards para alinhar os botões */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Preço antigo (riscado) */
.price-old {
    font-size: 0.9rem;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 500;
}

/* Display do preço principal */
.price-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.price-prefix {
    font-size: 1.25rem;
    font-weight: 700;
    color: #4c1d95;
}

.price-main {
    font-size: 3.25rem;
    font-weight: 900;
    color: #4c1d95;
    letter-spacing: -2px;
    line-height: 1;
}

.price-main.free-price {
    font-size: 2.5rem;
    color: #059669;
}

.price-suffix {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 600;
    margin-left: 2px;
}

.price-note {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* Pill "Oferta por tempo limitado" com fundo colorido */
.offer-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    color: #6D28D9;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.25);
    font-weight: 600;
    margin-top: 0.5rem;
}

/* ===== BOTÕES ===== */
.plan-button {
    width: 100%;
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    margin-bottom: 1.25rem;
}

/* Botão sólido roxo */
.btn-solid-purple {
    background: linear-gradient(135deg, #7C3AED 0%, #9333EA 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.btn-solid-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

/* Botão outline roxo */
.btn-outline-purple {
    background: white;
    color: #7C3AED;
    border: 2px solid #7C3AED;
}

.btn-outline-purple:hover {
    background: #7C3AED;
    color: white;
}

/* ===== LISTA DE FEATURES ===== */
.feature-list {
    list-style: none;
    padding: 1.25rem 0 0;
    margin: 1.5rem 0 0;
    border-top: 1px solid #e5e7eb; /* linha separando o bloco de preço dos itens */
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.5;
}

.feature-list i {
    color: #10b981;
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .pricing {
        padding: 60px 0;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .plan-title {
        font-size: 1.35rem;
        height: auto;
    }
    
    .plan-description {
        height: auto;
    }
    
    .price-main {
        font-size: 2.75rem;
    }
}
