/* backend/static/css/pricing_page.css - VERSÃO INTEGRAL POLIDA BTOS DNA EDITION */

/* ==========================================================================
   PRICING PAGE - BEHAVIORAL TALENT OS (DNA EDITION)
   Versão: 2.5.2 - Mobile UX Refined (Shadow Boost)
   ========================================================================== */

/* --- Hero & Introdução --- */
.hero { 
    text-align: center; 
    padding: 60px 20px 20px; 
    background: linear-gradient(135deg, #f4f7f9 0%, #fff 100%); 
}

.hero .subtitle { 
    font-size: 28px; 
    font-weight: 600; 
    color: var(--color-text-default); 
    margin-bottom: 12px; 
    line-height: 1.3; 
}

.hero .description { 
    font-size: 21px; 
    color: var(--color-text-muted); 
    max-width: 900px; 
    margin: 0 auto 20px; 
    line-height: 1.5; 
}

/* --- Caixas de Filosofia e Objeção --- */

/* Objection Breaker (Vermelho DISC D - Padrão de Dor/Alerta) */
.objection-breaker {
    max-width: 900px;
    margin: 10px auto 30px; 
    padding: 32px;
    border-radius: var(--border-radius-lg);
    /* Fundo Vermelho Sutil (Alerta Sofisticado) */
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.06) 0%, rgba(255, 255, 255, 1) 100%);
    border-left: 6px solid var(--color-disc-d);
    box-shadow: var(--shadow-dna-md);
    text-align: left;
}

.objection-breaker h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-disc-d); /* Título Vermelho */
}

/* Texto de destaque dentro do box vermelho */
.objection-breaker .highlight-danger {
    color: var(--color-disc-d);
    font-weight: 800;
}

/* Box de Valor (Gold/Premium - Pós Tabela) */
.philosophy-box-value {
    max-width: 1000px;
    margin: 40px auto 20px; 
    padding: 32px;
    border-radius: var(--border-radius-lg);
    /* Degradê Sutil Dourado para evocar Valor e Inteligência */
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.08) 0%, rgba(255, 255, 255, 1) 100%);
    border-left: 6px solid #ffc107; 
    box-shadow: var(--shadow-dna-md);
    text-align: left;
}

.philosophy-box-value h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #b48608; /* Dourado Escuro para contraste e leitura */
}

/* Nota de Flexibilidade (Rebaixada) */
.flexibility-note {
    max-width: 800px;
    margin: 0 auto 60px; 
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.flexibility-note strong {
    color: var(--color-text-default);
}

.flexibility-note i {
    color: var(--color-primary-bs);
    font-size: 1.2rem;
    vertical-align: text-bottom;
    margin-right: 6px;
}

/* --- Seção de Recursos (Acentos DISC) --- */
.features-universal { 
    background: var(--color-bg-body); 
    padding: 50px 20px; 
    margin-top: 0; 
    border-top: 1px solid var(--border-color-light); 
}

.features-universal .subtitle { 
    text-align: center; 
    font-size: 21px; 
    color: var(--color-text-muted); 
    margin-bottom: 30px; 
}

.card-accent-d { border-top: 4px solid var(--color-disc-d) !important; }
.card-accent-i { border-top: 4px solid var(--color-disc-i) !important; }
.card-accent-s { border-top: 4px solid var(--color-disc-s) !important; }
.card-accent-c { border-top: 4px solid var(--color-disc-c) !important; }

/* --- Tabela de Planos Ultra-Glass --- */
.plans-table-wrapper { 
    max-width: 1200px; 
    margin: 40px auto; 
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    border-radius: var(--border-radius-2xl); 
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: var(--shadow-dna-lg); 
    /* Overflow hidden no desktop para manter bordas arredondadas */
    overflow: hidden; 
}

.plans-table { 
    width: 100%; 
    border-collapse: collapse; 
    table-layout: fixed; 
    border: none; 
}

.plans-table thead { background-color: var(--color-bg-dark); }
.plans-table th { 
    padding: 24px 12px; 
    font-size: 13px; 
    font-weight: 700; 
    text-align: center; 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    vertical-align: middle;
    color: white !important; 
    border: none;
}

.plans-table th:first-child { 
    text-align: left; 
    text-transform: none; 
    font-size: 17px; 
    width: 22%; 
    padding-left: 24px; 
}

.plans-table th.col-highlight-btos { background-color: var(--color-success) !important; }

.plans-table td { 
    padding: 14px 10px; 
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); 
    text-align: center; 
    font-size: 15px; 
    vertical-align: middle;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.plans-table td:first-child { 
    text-align: left; 
    font-weight: 700; 
    color: var(--color-text-headings); 
    padding-left: 24px; 
}

.plans-table td:last-child { border-right: none; }
.plans-table td.col-highlight-btos { background-color: #f8fafc !important; }

/* --- Componentes de Preço --- */
.price-container { display: flex; flex-direction: column; align-items: center; }
.price-original { font-size: 14px; color: var(--color-text-muted); text-decoration: line-through; font-weight: 500; margin-bottom: -2px; }
.price-value { font-size: 34px; font-weight: 800; color: var(--color-text-headings); white-space: nowrap; }
.price-cents { font-size: 0.35em; vertical-align: super; margin-left: 1px; font-weight: 700; }
.price-unit { font-size: 12px; color: var(--color-text-muted); font-weight: 500; margin-top: -2px; }

.capacity { font-size: 19px; font-weight: 800; color: var(--color-primary-bs); }
.capacity-desc { font-size: 11px; color: var(--color-text-muted); margin-top: 2px; white-space: nowrap; }

.btn-cta-table { white-space: nowrap; font-weight: 700; padding: 10px 16px !important; font-size: 13px !important; }

/* --- Banners e Trust Strip --- */
.trial-banner {
    background: linear-gradient(135deg, var(--color-disc-s) 0%, #064729 100%);
    color: white; 
    text-align: center; 
    padding: 60px 40px; 
    margin: 60px 0; 
    border-radius: var(--border-radius-2xl);
    box-shadow: var(--shadow-dna-lg);
}

.trial-banner h3 { font-size: 36px; font-weight: 800; margin-bottom: 16px; color: white; }
.trial-banner p { font-size: 20px; margin-bottom: 24px; opacity: 0.95; }

.trial-banner .btn-trial {
    background-color: white; 
    color: var(--color-success); 
    padding: 16px 48px;
    font-weight: 800; 
    font-size: 18px; 
    border-radius: 12px;
    text-decoration: none; 
    display: inline-block; 
    transition: var(--transition-fast);
}

.trial-banner .btn-trial:hover { transform: scale(1.05); color: #064729; }

.security-trust-strip { 
    background: var(--color-bg-light); 
    padding: 60px 20px; 
    text-align: center; 
    margin-top: 60px; 
    border-top: 1px solid var(--border-color-light); 
}

.payment-logos-container { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 20px; 
    flex-wrap: wrap; 
    margin-top: 30px; 
}

.payment-logo { height: 25px; width: auto; opacity: 0.8; }
.pix-warning { font-size: 11px; color: var(--color-disc-d); font-weight: 700; display: block; margin-top: 4px; }

/* --- Comparação e Testemunhos --- */
.role-clarification-card, .comparison-card { 
    max-width: 900px; 
    margin: 80px auto; 
    background: var(--color-bg-container); 
    border-radius: var(--border-radius-2xl);
    box-shadow: var(--shadow-dna-lg); 
    overflow: hidden;
}

/* FIX: Garantindo texto branco no cabeçalho */
.role-clarification-header { 
    background: var(--color-bg-dark); 
    padding: 32px; 
    text-align: center; 
}

/* Força H3 dentro do header a ser branco */
.role-clarification-header h3 {
    color: white !important;
}

.role-clarification-body { padding: 48px; }

.comparison-table th.highlight, .comparison-table td.highlight { 
    background-color: rgba(19, 50, 188, 0.05); 
    font-weight: 700; 
}

.testimonial-mini { 
    background: white; 
    padding: 30px; 
    border-radius: 16px; 
    box-shadow: var(--shadow-dna-sm); 
    height: 100%; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
}

.verified-badge { vertical-align: middle; margin-left: 6px; width: 18px; height: 18px; }

/* ==========================================================================
   REFINAMENTO ULTRA-GLASS: MODAL DE PAGAMENTO (NATIVO BTOS)
   ========================================================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000; /* Acima da Navbar */
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    background: rgba(15, 23, 42, 0.6); /* Backdrop Slate 900 com Alpha */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex !important;
}

.modal-dialog {
    position: relative;
    width: 100%;
    max-width: 800px; /* modal-lg */
    margin: 1.75rem;
    pointer-events: none;
}

#payment-modal .modal-content-btos {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-dna-xl);
    border-radius: 24px;
    overflow: hidden;
}

.payment-method-option {
    border: 2px solid var(--border-color-default);
    border-radius: var(--border-radius-lg);
    padding: 16px;
    cursor: pointer;
    transition: var(--transition-normal);
    background: white;
}

.payment-method-option.active {
    border-color: var(--color-primary-bs);
    background: var(--color-bg-subtle-blue);
    box-shadow: var(--shadow-dna-sm);
}

.payment-method-option:hover:not(.active) {
    border-color: var(--color-text-muted);
    transform: translateY(-2px);
}

/* Spinner Customizado BTOS */
.btos-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(19, 50, 188, 0.1);
    border-radius: 50%;
    border-top-color: var(--color-primary-bs);
    animation: btos-spin 0.8s linear infinite;
}

@keyframes btos-spin {
    to { transform: rotate(360deg); }
}

/* --- Responsividade & Mobile Scroll Fix --- */
@media (max-width: 991px) {
    .hero h1 { font-size: 36px; }
    
    /* --- Tabela de Preços: Scroll & Sticky --- */
    .plans-table-wrapper { 
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch; 
        border-radius: 12px; 
    }

    .plans-table { 
        min-width: 900px; 
    }

    .plans-table th:first-child,
    .plans-table td:first-child { 
        position: sticky; 
        left: 0; 
        z-index: 2; 
        background-color: white; 
        box-shadow: 2px 0 5px rgba(0,0,0,0.05); 
    }

    .plans-table thead th:first-child { 
        background-color: var(--color-bg-dark); 
        color: white;
    }

    .plans-table td.col-highlight-btos:first-child {
        background-color: #f8fafc;
    }

    /* --- Tabela de Comparação: Scroll & Sticky (TRATAMENTO DE CHOQUE) --- */
    .comparison-card .card-body {
        padding: 20px !important;
    }

    .comparison-card .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .comparison-table {
        min-width: 800px; 
    }

    .comparison-table th:first-child,
    .comparison-table td:first-child {
        position: sticky;
        left: 0;
        z-index: 10; /* Z-Index alto para garantir sobreposição */
        background-color: white; /* Garante opacidade contra o texto passando por baixo */
        box-shadow: 5px 0 15px rgba(0,0,0,0.15); /* Sombra agressiva para destacar */
        border-right: 2px solid #cbd5e1; /* Borda visível */
    }

    /* Correção de fundo para o Header Sticky da Comparação */
    .comparison-table thead th:first-child {
        background-color: #f8fafc; 
        color: var(--color-text-headings);
        z-index: 11; /* Header acima do corpo */
    }

    .modal-dialog { margin: 0.5rem; }
}