/* assets/css/cashback-calculadora.css */
/* CSS COMPLETO - Calculadora de Cashback - ÁREA BANCÁRIA */

/* ===================================
   VARIÁVEIS DE CORES BANCÁRIAS
   ================================== */
:root {
    --primary: #1e40af;          /* Azul bancário confiança */
    --secondary: #1e3a8a;        /* Azul escuro institucional */
    --accent: #f59e0b;           /* Dourado prosperidade */
    --light: #eff6ff;            /* Fundo azul bem claro */
    --gradient: linear-gradient(135deg, #1e40af, #1e3a8a);
    
    /* Cores complementares */
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    --info: #0ea5e9;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border: #d1d5db;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
}

/* ===================================
   SEÇÃO DA CALCULADORA CASHBACK
   ================================== */
.cashback-calculator-section {
    margin-bottom: 3rem;
}

.cashback-header {
    text-align: center;
    margin-bottom: 2rem;
}

.cashback-header h1 {
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cashback-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.cashback-container {
    background: var(--white);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(30, 64, 175, 0.1);
    border: 2px solid var(--light);
    transition: all 0.3s ease;
}

.cashback-container:hover {
    box-shadow: 0 12px 40px rgba(30, 64, 175, 0.15);
    transform: translateY(-2px);
}

.cashback-inputs h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.4rem;
}

/* ===================================
   SISTEMA DE ABAS ESPECÍFICO CASHBACK
   ================================== */
.cashback-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 1rem;
}

.cashback-tab-btn {
    background: var(--light);
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 110px;
}

.cashback-tab-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
}

.cashback-tab-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--secondary);
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
}

/* ===================================
   CONTEÚDO DAS ABAS CASHBACK
   ================================== */
.cashback-tab-content {
    display: none;
}

.cashback-tab-content.active {
    display: block;
    animation: fadeInCashbackTab 0.3s ease;
}

@keyframes fadeInCashbackTab {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   INPUTS CASHBACK
   ================================== */
.cashback-input-section {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.cashback-input-section:hover {
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.12);
}

.cashback-input-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.cashback-input-group {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cashback-input-group label {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.cashback-input-group input,
.cashback-input-group select {
    padding: 0.8rem 1rem;
    border: 2px solid var(--primary);
    border-radius: 10px;
    font-size: 1rem;
    background: var(--white);
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.cashback-input-group input:focus,
.cashback-input-group select:focus {
    outline: none;
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.2);
}

.cashback-money-input {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cashback-money-input:focus-within {
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.2);
}

.cashback-money-input span {
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 1rem;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
}

.cashback-money-input input {
    border: none;
    padding: 0.8rem 1rem;
    flex: 1;
    font-size: 1rem;
    background: transparent;
    color: var(--text-primary);
}

.cashback-money-input input:focus {
    outline: none;
    transform: none;
    box-shadow: none;
}

.cashback-percent-input {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cashback-percent-input:focus-within {
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.2);
}

.cashback-percent-input input {
    border: none;
    padding: 0.8rem 1rem;
    flex: 1;
    font-size: 1rem;
    background: transparent;
    color: var(--text-primary);
}

.cashback-percent-input span {
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 1rem;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
}

.cashback-percent-input input:focus {
    outline: none;
}

/* ===================================
   ESCALAS DE CASHBACK
   ================================== */
.cashback-escalas {
    margin-top: 1.5rem;
}

.cashback-escalas h4 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.cashback-escala-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 12px;
    border: 2px solid var(--border);
    flex-wrap: wrap;
    transition: all 0.3s ease;
}

.cashback-escala-item:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.1);
}

.cashback-escala-item label {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.cashback-escala-item input {
    padding: 0.6rem 0.8rem;
    border: 2px solid var(--primary);
    border-radius: 8px;
    font-size: 0.9rem;
    width: 80px;
    text-align: center;
    color: var(--text-primary);
}

.cashback-escala-item span {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===================================
   CATEGORIAS DE CASHBACK
   ================================== */
.cashback-categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.cashback-categoria-item {
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.cashback-categoria-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.2);
    border-color: var(--secondary);
}

.cashback-categoria-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light);
}

.cashback-categoria-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.cashback-categoria-header span:last-child {
    font-weight: 600;
    color: var(--secondary);
    font-size: 1.1rem;
}

.cashback-categoria-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cashback-categoria-inputs .cashback-money-input,
.cashback-categoria-inputs .cashback-percent-input {
    border-color: var(--primary);
}

/* ===================================
   CONFIGURAÇÃO DE CARTÕES
   ================================== */
.cashback-cartoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.cashback-cartao-config {
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.cashback-cartao-config:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.2);
    border-color: var(--secondary);
}

.cashback-cartao-config h5 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.2rem;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.cashback-cartao-nome {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--primary);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
}

.cashback-cartao-inputs {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cashback-cartao-inputs label {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
    min-width: 70px;
}

/* ===================================
   DISPLAYS DE RESULTADO CASHBACK
   ================================== */
.cashback-result-display {
    background: var(--gradient);
    color: var(--white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
    animation: slideInUp 0.5s ease;
}

.cashback-result-display h4 {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-size: 1.2rem;
    font-weight: 600;
}

.cashback-result-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.cashback-currency {
    font-size: 1.8rem;
    opacity: 0.8;
}

.cashback-value {
    font-size: 3rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.cashback-period {
    font-size: 1.3rem;
    opacity: 0.8;
    margin-left: 0.5rem;
}

.cashback-result-details {
    opacity: 0.9;
    font-size: 1rem;
    margin-top: 0.8rem;
}

/* Breakdown de valores */
.cashback-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.cashback-breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 1rem;
    opacity: 0.9;
}

.cashback-categorias-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.cashback-categoria-breakdown-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
}

.cashback-categoria-breakdown-item .icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.cashback-categoria-breakdown-item .name {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.cashback-categoria-breakdown-item .value {
    font-weight: bold;
    font-size: 1rem;
}

/* ===================================
   COMPARAÇÃO DE CARTÕES
   ================================== */
.cashback-comparacao-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.cashback-cartao-resultado {
    background: rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.cashback-cartao-resultado.melhor {
    background: var(--accent);
    color: var(--text-primary);
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.cashback-cartao-resultado .nome {
    font-weight: bold;
    font-size: 1.2rem;
}

.cashback-cartao-resultado .detalhes {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.cashback-cartao-resultado .valor {
    font-size: 1.4rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    text-align: right;
}

.cashback-cartao-resultado .badge {
    background: var(--primary);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 0.8rem;
}

.cashback-cartao-resultado.melhor .badge {
    background: var(--text-primary);
    color: var(--white);
}

/* ===================================
   SIMULADOR ANUAL
   ================================== */
.cashback-simulacao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.cashback-sim-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.cashback-sim-item:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.cashback-sim-item.destaque {
    background: var(--accent);
    color: var(--text-primary);
    font-weight: bold;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.cashback-sim-item label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.cashback-sim-item.destaque label {
    color: var(--text-primary);
    opacity: 1;
}

.cashback-sim-value {
    font-size: 1.3rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

/* ===================================
   BOTÃO CALCULAR CASHBACK
   ================================== */
.cashback-calculate-section {
    text-align: center;
    margin: 2.5rem 0;
}

.cashback-calculate-btn {
    background: var(--gradient);
    color: var(--white);
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3);
}

.cashback-calculate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.4);
}

.cashback-calculate-btn:active {
    transform: translateY(-1px);
}

/* ===================================
   EXPLICAÇÃO DO CÁLCULO CASHBACK
   ================================== */
.cashback-explanation {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 16px;
    animation: slideInUp 0.5s ease;
}

.cashback-explanation h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.cashback-step {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.cashback-step:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(30, 64, 175, 0.1);
}

.cashback-step h4 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.cashback-step p {
    margin: 0.5rem 0;
    font-family: 'Courier New', monospace;
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* ===================================
   EXEMPLOS E AJUDA CASHBACK
   ================================== */
.cashback-examples {
    text-align: center;
    margin: 2rem 0;
    transition: all 0.3s ease;
}

.cashback-examples.hidden {
    display: none;
}

.cashback-examples p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.cashback-example-btn {
    background: var(--light);
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.8rem 1.5rem;
    margin: 0.4rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.cashback-example-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
}

.cashback-help {
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.05));
    border-radius: 12px;
    border: 2px solid var(--accent);
    transition: all 0.3s ease;
}

.cashback-help.hidden {
    display: none;
}

.cashback-help p {
    margin: 0;
    color: var(--accent);
    font-weight: 500;
}

/* ===================================
   CONTEÚDO EDUCACIONAL CASHBACK
   ================================== */
.cashback-educational-content {
    margin-top: 4rem;
}

.cashback-content-block {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--light);
    transition: all 0.3s ease;
}

.cashback-content-block:hover {
    box-shadow: 0 10px 35px rgba(30, 64, 175, 0.1);
    transform: translateY(-2px);
}

.cashback-content-block h2 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 2rem;
    border-bottom: 4px solid var(--primary);
    padding-bottom: 0.8rem;
    font-weight: 600;
}

.cashback-content-block p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
}

.cashback-content-block strong {
    color: var(--primary);
    font-weight: 600;
}

/* Formula Display Cashback */
.cashback-formula-display {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.cashback-formula-display h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.cashback-formula-display .formula p {
    margin: 0.8rem 0;
    font-family: 'Courier New', monospace;
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
}

/* Grids Exemplos e Dicas Cashback */
.cashback-examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.cashback-example-item {
    background: var(--gray-50);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.cashback-example-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.1);
    border-color: var(--primary);
}

.cashback-example-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.cashback-example-item h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.cashback-example-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

.cashback-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.cashback-tip-item {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.cashback-tip-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.15);
}

.cashback-tip-item h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.cashback-tip-item p {
    color: var(--primary);
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Exemplo de Solução Cashback */
.cashback-example-solution {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 2rem;
}

.cashback-example-solution h4 {
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
}

.cashback-solution-step {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.cashback-solution-step:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.1);
}

.cashback-solution-step h5 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.cashback-solution-step p {
    margin: 0.5rem 0;
    font-family: 'Courier New', monospace;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.cashback-solution-final {
    background: var(--success);
    color: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-top: 1.5rem;
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.3);
}

.cashback-solution-final h5 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.cashback-solution-final p {
    margin: 0;
    font-family: inherit;
}

/* ===================================
   ARMADILHAS DO CASHBACK
   ================================== */
.cashback-armadilhas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.cashback-armadilha-item {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(185, 28, 28, 0.02));
    border: 2px solid var(--danger);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.cashback-armadilha-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.2);
}

.cashback-armadilha-item h4 {
    color: var(--danger);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.cashback-armadilha-item p {
    color: #991b1b;
    margin: 0.5rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===================================
   FAQ, CREDIBILIDADE E REFERÊNCIAS
   ================================== */
.content-block {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--light);
    transition: all 0.3s ease;
}

.content-block:hover {
    box-shadow: 0 10px 35px rgba(30, 64, 175, 0.1);
    transform: translateY(-2px);
}

.content-block h3 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    border-bottom: 4px solid var(--primary);
    padding-bottom: 0.8rem;
    font-weight: 600;
}

/* FAQ Styles */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(30, 64, 175, 0.1);
}

.faq-item[open] {
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.15);
}

.faq-question {
    background: var(--primary);
    color: var(--white);
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    list-style: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question:hover {
    background: var(--secondary);
}

.faq-question::after {
    content: "▼";
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 1.5rem;
    background: var(--white);
}

.faq-answer p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 1rem;
}

.faq-answer strong {
    color: var(--primary);
    font-weight: 600;
}

/* Credibilidade Styles */
.credibilidade-container {
    background: linear-gradient(135deg, var(--light), rgba(30, 64, 175, 0.05));
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.credibilidade-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.credibilidade-icon {
    font-size: 2.5rem;
    color: var(--primary);
}

.credibilidade-title {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.credibilidade-content {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.credibilidade-logo {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.credibilidade-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.credibilidade-badge {
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(30, 64, 175, 0.2);
}

/* Referências Styles */
.referencias-container {
    margin-top: 1.5rem;
}

.referencias-lista {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.referencia-item {
    background: var(--light);
    border-left: 4px solid var(--primary);
    padding: 1.2rem 1.5rem;
    border-radius: 0 10px 10px 0;
    transition: all 0.3s ease;
    position: relative;
}

.referencia-item:hover {
    background: rgba(30, 64, 175, 0.08);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.1);
}

.referencia-item::before {
    content: "📖";
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.referencia-item em {
    color: var(--primary);
    font-weight: 600;
}

/* ===== SUPORTE PARA CARDS DINÂMICOS DO JAVASCRIPT ===== */
.calc-explanation,
.calc-legal {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 2rem;
    margin: 1.5rem 0;
    animation: slideInUp 0.5s ease;
}

.calc-explanation h3,
.calc-legal h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.calc-explanation h4,
.calc-legal h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.calc-explanation p,
.calc-legal p {
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.calc-explanation strong,
.calc-legal strong {
    color: var(--primary);
    font-weight: 600;
}

/* ===================================
   ANIMAÇÕES CASHBACK
   ================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   RESPONSIVIDADE CASHBACK
   ================================== */
@media (max-width: 1024px) {
    .cashback-input-row {
        flex-direction: column;
        gap: 1rem;
    }

    .credibilidade-badges {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .cashback-header h1 {
        font-size: 2rem;
    }
    
    .cashback-container {
        padding: 1.5rem;
    }
    
    .cashback-tabs {
        gap: 0.3rem;
    }
    
    .cashback-tab-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
        min-width: 85px;
    }
    
    .cashback-input-section {
        padding: 1.5rem;
    }
    
    .cashback-input-group {
        min-width: auto;
    }
    
    .cashback-calculate-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .cashback-value {
        font-size: 2.5rem;
    }
    
    .cashback-examples-grid,
    .cashback-tips-grid,
    .cashback-armadilhas-grid,
    .cashback-categorias-grid,
    .cashback-cartoes-grid {
        grid-template-columns: 1fr;
    }
    
    .cashback-escala-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .cashback-escala-item input {
        width: 100px;
    }
    
    .cashback-simulacao-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .content-block {
        padding: 1.5rem;
    }

    .credibilidade-header {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .cashback-header h1 {
        font-size: 1.8rem;
    }
    
    .cashback-container {
        padding: 1rem;
    }
    
    .cashback-input-section {
        padding: 1rem;
    }
    
    .cashback-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .cashback-tab-btn {
        width: 140px;
    }
    
    .cashback-calculate-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .cashback-value {
        font-size: 2.2rem;
    }
    
    .cashback-currency {
        font-size: 1.5rem;
    }
    
    .cashback-example-icon {
        font-size: 2.5rem;
    }
    
    .cashback-escala-item input {
        width: 80px;
    }
    
    .cashback-categoria-inputs {
        gap: 0.8rem;
    }
    
    .cashback-cartao-inputs {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }
    
    .cashback-cartao-inputs label {
        min-width: auto;
    }
    
    .cashback-simulacao-grid {
        grid-template-columns: 1fr;
    }
    
    .cashback-comparacao-grid .cashback-cartao-resultado {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    .content-block {
        padding: 1rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .faq-answer {
        padding: 1rem;
    }

    .credibilidade-container {
        padding: 1.5rem;
    }

    .credibilidade-badges {
        gap: 0.5rem;
    }

    .credibilidade-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}