/* Estilos Customizados para os Novos Planos - Agendei Quadras */
.section-novos-planos {
    padding: 60px 0;
    background-color: #2c2c2c;
    background-image: url(../images/pattern.png);
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
    font-family: 'Baloo Bhaina 2', sans-serif;
}

.title-gerenciar {
    text-align: center;
    color: #ff7043;
    font-size: 36px;
    margin-bottom: 30px;
    font-weight: 700;
}

.billing-toggle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.billing-toggle {
    display: flex;
    background: #fff;
    padding: 5px;
    border-radius: 30px;
    margin-bottom: 10px;
}

.billing-toggle span {
    padding: 8px 30px;
    cursor: pointer;
    border-radius: 25px;
    color: #333;
    font-weight: 600;
    transition: 0.3s;
}

.billing-toggle span.active {
    background: #ff7043;
    color: #fff;
}

.economize-badge {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Layout dos Cards */
.benefits-top-row {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.benefits-card-horizontal {
    background: #3d3d3d;
    border-radius: 15px;
    padding: 20px 40px;
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    border: 1px solid #444;
}

.benefits-card-horizontal h4 {
    color: #ff7043;
    margin: 0;
    font-size: 20px;
    margin-right: 10px;
}

.benefit-item-h {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: white;
}

.benefit-item-h i {
    color: #ffc107;
    margin-right: 8px;
}

.plans-row-desktop {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.plan-card-new {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    max-width: 320px;
    color: #333;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: transform 0.3s;
}

.plan-card-new:hover {
    transform: translateY(-5px);
}

.plan-header {
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
}

.header-inicial { background: #ff7043; }
.header-padrao { background: linear-gradient(90deg, #ffc107, #8bc34a); }
.header-avancado { background: #e0e0e0; color: #666; }

.plan-body {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.plan-name {
    font-size: 28px;
    color: #ff7043;
    font-weight: 700;
}

.price-old {
    font-size: 16px;
    color: #888;
    text-decoration: line-through;
    display: block;
    height: 20px;
    margin-bottom: 2px;
}

.price-main {
    font-size: 26px;
    font-weight: 800;
    display: block;
    color: #333;
}

.price-sub {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
    display: block;
}

.economy-info {
    display: flex;
    font-size: 13px;
    font-weight: 700;
    color: #1C8C3A;
    background: rgba(36, 173, 73, 0.15);
    padding: 6px 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    align-items: center;
    justify-content: center;
}

.economy-info i {
    margin-right: 6px;
    color: #1C8C3A;
}

.btn-plan-new {
    display: block;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 700;
    margin-bottom: 20px;
    transition: 0.3s;
    text-transform: uppercase;
    background: #28a745;
    color: #fff;
    box-shadow: 0 4px 0 #1e7e34;
}

.btn-plan-new:hover {
    opacity: 0.9;
    color: #fff;
    transform: translateY(2px);
    box-shadow: 0 2px 0 #1e7e34;
}

.quadras-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 20px;
    padding: 8px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.quadras-badge i {
    margin-right: 8px;
}

.plan-features-list {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
}

.feature-item i {
    margin-right: 10px;
    font-size: 16px;
}

.feature-item.check i { color: #28a745; }
.feature-item.plus i { color: #ffc107; }
.feature-item.blue i { color: #007bff; }

.ver-comparacao {
    color: #ff7043;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}

/* Tabela Comparativa */
.comparison-section-container {
    margin-top: 60px;
}

.comparison-title-fixed {
    text-align: center;
    color: #ff7043;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
}

.comparison-container {
    overflow-x: auto;
    border-radius: 15px;
    position: relative;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.comparison-table {
    width: 100%;
    min-width: 800px;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 15px;
    background: #3d3d3d;
}

.comparison-table th {
    padding: 0;
    border: none;
}

.comparison-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.row-title {
    text-align: left !important;
    font-weight: 600;
    color: #fff;
    width: 25%;
    background: #3d3d3d;
    border-bottom: 1px solid #555 !important;
    padding-left: 25px !important;
    position: sticky;
    left: 0;
    z-index: 10;
}

.table-header-cell {
    width: 25%;
}

.table-plan-header {
    background: #fff;
    padding: 20px 15px;
    color: #333;
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.comparison-table thead th:first-child {
    border-top-left-radius: 15px;
    position: sticky;
    left: 0;
    z-index: 11;
    background: #3d3d3d;
}
.comparison-table thead th:first-child .row-title {
    border-top-left-radius: 15px;
}

.comparison-table thead th:last-child .table-plan-header { border-top-right-radius: 15px; }

.comparison-table tbody tr:last-child td:first-child { 
    border-bottom-left-radius: 15px; 
    position: sticky;
    left: 0;
    z-index: 10;
    background: #3d3d3d;
}
.comparison-table tbody tr:last-child td:last-child { border-bottom-right-radius: 15px; }

.table-plan-header.inicial { border-top: 6px solid #ff7043; color: #ff7043; }
.table-plan-header.padrao { border-top: 6px solid #8bc34a; color: #8bc34a; }
.table-plan-header.avancado { border-top: 6px solid #e0e0e0; color: #666; }

.comparison-table td:not(.row-title) {
    background: #fff;
    color: #333;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}

.status-check { color: #28a745; font-size: 22px; }
.status-x { color: #dc3545; font-size: 22px; }
.status-soon { color: #007bff; font-size: 13px; font-weight: 700; }

@media (max-width: 991px) {
    .plans-row-desktop {
        flex-direction: column;
        align-items: center;
    }
    .plan-card-new {
        max-width: 100%;
    }
    .benefits-card-horizontal {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    .row-title {
        width: 130px;
        min-width: 130px;
        font-size: 12px;
        padding-left: 15px !important;
    }
    .table-header-cell {
        min-width: 130px;
        width: 130px;
    }
    .table-plan-header {
        font-size: 15px;
        padding: 15px 5px;
    }
    .status-check, .status-x {
        font-size: 18px;
    }
    .comparison-table {
        min-width: 520px;
    }
}
