/* =========================================================
💲 SEÇÃO DE PLANOS (Padronizada com Pricing)
========================================================= */
.planos-section {
    padding: 60px 20px; 
    background-color: #ed3056; 
}

.planos-section h3.section-title {
    text-align: center;
    padding-top: 20px;
    margin-top: 10px;
    margin-bottom: 30px; 
    color: white;
    font-weight: 700; 
    font-size: 2rem;
    font-family: 'Roboto', sans-serif; 
}

.planos-header { 
    display: flex; justify-content: center; align-items: center; gap: 30px; 
    margin-bottom: 50px; 
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap; padding-bottom: 10px; 
}

.tab-btn {
    background: none; border: none; font-size: 1.2rem; font-weight: 600;
    color: rgba(255, 255, 255, 0.7); 
    cursor: pointer; padding: 10px 20px;
    position: relative; transition: color 0.3s ease, border-bottom-color 0.3s ease; 
    border-bottom: 3px solid transparent; 
    margin-bottom: -2px; 
    font-family: 'Roboto', sans-serif; 
}

.tab-btn.active {
    border-bottom-color: #fff; 
    color: #fff;
}

.planos-container {
    display: none; justify-content: center; gap: 30px; flex-wrap: wrap;
    max-width: 1200px; margin: 0 auto; 
}
.planos-container.active { display: flex; }

.plano-card {
    background: #ffffff; border-radius: 16px; padding: 35px 40px; 
    width: calc(33.33% - 20px); min-width: 300px; 
    text-align: center; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease; margin-bottom: 30px; 
    display: flex; flex-direction: column; 
    font-family: 'Roboto', sans-serif; 
}

.plano-card:hover { transform: translateY(-6px); box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18); }

/* === ALTERAÇÃO DE ESTILO (PADRÃO PRICING) === */
.plano-card h3 { /* Título do plano (Mensal, Anual...) */ 
    color: #ed3056; 
    font-size: 1.6rem; /* IGUAL AO .pricing-title */
    margin-bottom: 15px; 
    font-weight: 700;
}

/* === ALTERAÇÃO DE ESTILO (PADRÃO PRICING) === */
.plano-features { /* Descrição (X ITENS...) */ 
    margin: 10px 0 20px; 
    color: #000; /* IGUAL AO .pricing-features */
    font-size: 1rem; 
    font-weight: 500; /* IGUAL AO .pricing-features */
    line-height: 1.5;
    flex-grow: 1; 
} 

/* === ALTERAÇÃO DE ESTILO (PADRÃO PRICING) === */
.preco-label { /* "A PARTIR DE" */
    display: block; 
    color: #555; 
    margin-top: 15px; 
    font-size: 0.9rem; /* IGUAL AO .pricing-desc */
    font-weight: 400; /* IGUAL AO .pricing-desc */
}

/* === SEÇÃO DE PREÇO ATUALIZADA (PADRÃO PRICING) === */
/* Removemos o estilo .prc antigo */
/* .plano-card h2.prc { ... } */ 

/* Adicionamos o container */
.plano-price-container {
    margin: 10px 0;
}

/* Estilo para o R$ */
.plano-currency {
    font-size: 1.2rem; /* IGUAL AO .currency */
    color: #ed3056;
    vertical-align: top;
    font-weight: 500;
}

/* Estilo para o Valor */
.plano-price-value {
    font-size: 2rem; /* IGUAL AO .price-value */
    font-weight: 700;
    color: #ed3056;
}
/* === FIM DA SEÇÃO DE PREÇO === */


/* === ALTERAÇÃO DE ESTILO (PADRÃO PRICING) === */
.plano-period { /* "+Frete..." */
    font-size: 0.85rem; /* IGUAL AO .pricing-period */
    line-height: 1.4; 
    font-weight: 400; /* IGUAL AO .pricing-period */
    
    /* Cor e opacidade do .pricing-period */
    color: #888;
    opacity: 0.8; 
    
    margin: -5px 0 20px 0; /* Puxa para perto do preço */
}
/* Estilo para o texto de renovação */
.plano-period em {
    font-style: normal;
    font-size: 0.8rem; /* IGUAL AO .pricing-period em */
    display: inline-block;
    margin-top: 5px;
    /* Herda color e opacity do .plano-period */
}
/* === FIM DA ALTERAÇÃO === */

.plano-btn { /* Botão "ASSINE JÁ!" */
    display: inline-block;
    background: #ed3056; 
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600; /* IGUAL AO .pricing-btn */
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease; 
    margin-top: auto; 
    font-family: 'Roboto', sans-serif;
}

.plano-btn:hover {
    background: #d43350; 
    transform: scale(1.05); 
}

.badge-top-right {
    position: absolute; 
    top: -10px; 
    right: 15px; 
    
    /* === ESTILO ANTERIOR RESTAURADO === */
    background: #9cd8da; /* Cor de fundo azul claro */
    color: #333; /* Cor do texto escura */
    
    font-weight: 700;
    font-size: 0.7rem; 
    padding: 4px 10px; 
    border-radius: 15px; 
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); /* Sombra original */
    text-transform: uppercase; 
    letter-spacing: 0.5px;
    transform: rotate(10deg); 
    
    /* === CORREÇÃO DE VISIBILIDADE === */
    z-index: 10; /* Garante que ele fique "por cima" de tudo */
}

/* === ADIÇÃO (Se necessário, para garantir que o card seja o pai do z-index) === */
.plano-card {
    /* ... seus estilos existentes ... */
    position: relative; /* Garante que o 'position: absolute' do badge funcione corretamente */
    z-index: 1; /* Opcional, mas garante uma ordem */
    /* ... seus estilos existentes ... */
}

/* RESPONSIVIDADE (Sem alterações) */
@media (max-width: 992px) { 
    .plano-card { width: calc(50% - 15px); }
}

@media (max-width: 768px) {
     .planos-section { padding: 40px 15px; }
     .planos-section h3.section-title { font-size: 1.8rem; }
     .planos-header { gap: 20px; margin-bottom: 40px; }
     .tab-btn { font-size: 1.1rem; }
     .planos-container { gap: 20px; }
     .plano-card { width: 90%; max-width: 400px; padding: 30px; } 
     
     /* Ajuste fino no preço para mobile */
     .plano-price-value { font-size: 1.8rem; }
     .plano-currency { font-size: 1.1rem; }
}

/* === ADICIONADO: Estilo do Preço Antigo (Trachado) === */
.preco-label del {
    text-decoration: line-through; /* Aplica o risco */
    color: #777; /* Cor mais sutil (cinza) */
    font-weight: 400; /* Peso normal */
    font-size: 0.9rem; /* Mesmo tamanho do "A PARTIR DE" */
}