/* ================================
   PRICING SECTION STYLES — SGPC
================================ */

/* ---- Botão Free Trial ---- */
.btn-trial {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    font-weight: bold;
    font-size: 0.95rem;
    padding: 10px 24px;
    border: none;
    border-radius: 50px;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 15px rgba(17, 153, 142, 0.3);
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
}

    .btn-trial:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(17, 153, 142, 0.5);
        color: white;
        text-decoration: none;
    }

    .btn-trial:active {
        transform: translateY(-1px);
    }

/* ---- Container principal ---- */
.pricing-container {
    width: 100%;
    box-sizing: border-box;
    padding: 0 1rem;
    overflow: visible;
}

/* ---- Grid de planos ---- */
.pricing-grid-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

/* ---- Card de plano ---- */
.plan-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

    .plan-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        border-color: #6366f1;
    }

    /* ---- Card destaque (featured) ---- */
    .plan-card.featured {
        border-color: #6366f1;
        border-width: 3px;
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    }

/* ---- Badge do plano ---- */
.plan-badge {
    position: absolute;
    top: 1px;
    right: 20px;
    background: #6366f1;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---- Nome do plano ---- */
.plan-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

/* ---- Preço ---- */
.plan-price {
    margin-bottom: 0.5rem;
}

    .plan-price .currency {
        font-size: 1.5rem;
        font-weight: 700;
        color: #1f2937;
    }

    .plan-price .amount {
        font-size: 2.5rem;
        font-weight: 800;
        color: #1f2937;
        line-height: 1;
    }

/* ---- Período ---- */
.plan-period {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

/* ---- Descrição ---- */
.plan-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    min-height: 40px;
}

/* ---- Lista de recursos ---- */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

    .plan-features li {
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.5rem 0;
        font-size: 0.875rem;
        color: #374151;
    }

    .plan-features .check-icon {
        color: #10b981;
        flex-shrink: 0;
        font-weight: 700;
        margin-top: 2px;
    }

/* ---- Botão de assinar ---- */
.plan-button {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #6366f1;
    border-radius: 8px;
    color: #6366f1;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    margin-top: auto;
    box-sizing: border-box;
}

    .plan-button:hover {
        background: #6366f1;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
        text-decoration: none;
    }

/* ---- Card featured: botão já preenchido ---- */
.plan-card.featured .plan-button {
    background: #6366f1;
    color: white;
}

    .plan-card.featured .plan-button:hover {
        background: #4f46e5;
    }

/* ================================
   RESPONSIVIDADE
================================ */

/* Tablet → 2 colunas */
@media (max-width: 768px) {
    .pricing-grid-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .plan-card {
        padding: 1.5rem 1rem;
    }

    .plan-name {
        font-size: 1.1rem;
    }

    .plan-price .amount {
        font-size: 2.2rem;
    }

    .plan-description,
    .plan-features li {
        font-size: 0.8rem;
    }
}

/* Celular → 1 coluna */
@media (max-width: 480px) {
    .pricing-grid-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pricing-container {
        padding: 0 0.5rem;
    }

    .plan-card {
        padding: 1.5rem 1rem;
        margin: 0;
    }

    .plan-name {
        font-size: 1rem;
    }

    .plan-price .amount {
        font-size: 2rem;
    }

    .plan-description,
    .plan-features li {
        font-size: 0.75rem;
    }

    .plan-button,
    .btn-trial {
        padding: 0.7rem;
        font-size: 0.85rem;
    }
}
