/* assets/css/tarifas-bancarias.css */
/* CSS COMPLETO - Calculadora de Tarifas Bancárias - Á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 TARIFAS BANCÁRIAS
   ================================== */
.tarifas-calculator-section {
    margin-bottom: 3rem;
}

.tarifas-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tarifas-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;
}

.tarifas-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.tarifas-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;
}

.tarifas-container:hover {
    box-shadow: 0 12px 40px rgba(30, 64, 175, 0.15);
    transform: translateY(-2px);
}

.tarifas-inputs h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.4rem;
}

/* ===================================
   SISTEMA DE ABAS ESPECÍFICO TARIFAS
   ================================== */
.tarifas-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--light);
    padding-bottom: 1rem;
}

.tarifas-tab-btn {
    background: var(--gray-50);
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 130px;
}

.tarifas-tab-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
}

.tarifas-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 TARIFAS
   ================================== */
.tarifas-tab-content {
    display: none;
}

.tarifas-tab-content.active {
    display: block;
    animation: fadeInTarifasTab 0.3s ease;
}

@keyframes fadeInTarifasTab {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   DADOS PRINCIPAIS TARIFAS
   ================================== */
.tarifas-dados-principais {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.tarifas-dados-principais:hover {
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.12);
}

.tarifas-banco-info {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tarifas-input-group {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tarifas-input-group label {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.tarifas-input-group input,
.tarifas-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);
}

.tarifas-input-group input:focus,
.tarifas-input-group select:focus {
    outline: none;
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.2);
}

.tarifas-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;
}

.tarifas-money-input:focus-within {
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.2);
}

.tarifas-money-input span {
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 1rem;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
}

.tarifas-money-input input {
    border: none;
    padding: 0.8rem 1rem;
    flex: 1;
    font-size: 1rem;
    background: transparent;
    color: var(--text-primary);
}

.tarifas-money-input input:focus {
    outline: none;
    transform: none;
    box-shadow: none;
}

/* Grid de Inputs de Tarifas */
.tarifas-input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

/* Grid de Tarifas por Uso */
/* Seção de Tarifas por Uso - Melhorada */
.tarifas-uso-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.tarifas-uso-item {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.tarifas-uso-item h5 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.tarifas-uso-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: end;
}

.tarifas-uso-row .tarifas-input-group {
    flex: 1;
    min-width: 150px;
}

.tarifas-uso-item:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.1);
    transform: translateY(-2px);
}

/* ===================================
   BOTÃO CALCULAR TARIFAS
   ================================== */
.tarifas-calculate-section {
    text-align: center;
    margin: 2.5rem 0;
}

.tarifas-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);
}

.tarifas-calculate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.4);
}

.tarifas-calculate-btn:active {
    transform: translateY(-1px);
}

/* ===================================
   RESULTADO DAS TARIFAS
   ================================== */
.tarifas-resultado {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.05));
    border: 2px solid var(--accent);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 2rem;
    animation: slideInUp 0.5s ease;
}

.tarifas-resultado h3 {
    color: var(--accent);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.5rem;
}

.tarifas-resultado-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Resultado Principal */
.tarifas-resultado-principal {
    background: var(--accent);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tarifas-resultado-principal h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.tarifas-periodo-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tarifas-periodo-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.tarifas-periodo-btn.active,
.tarifas-periodo-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.tarifas-valor-principal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 0.8rem;
}

.tarifas-currency {
    font-size: 1.5rem;
    opacity: 0.8;
}

.tarifas-value {
    font-size: 2.5rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.tarifas-valor-periodo {
    opacity: 0.8;
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.tarifas-comparacao {
    opacity: 0.8;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 15px;
}

/* Detalhamento */
.tarifas-detalhamento {
    background: var(--white);
    padding: 0.5rem;
    border-radius: 16px;
    border: 2px solid var(--border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.tarifas-detalhamento h4 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--accent);
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.tarifas-item-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tarifas-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(217, 119, 6, 0.02));
    border-radius: 10px;
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
}

.tarifas-item:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.05));
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.1);
}

.tarifas-item.destaque {
    background: var(--accent);
    color: var(--white);
    border-left-color: var(--warning);
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.2);
}

.tarifas-item.destaque:hover {
    background: var(--warning);
    transform: translateX(8px);
}

.tarifas-item-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.tarifas-item.destaque .tarifas-item-label {
    color: var(--white);
}

.tarifas-item-value {
    font-weight: bold;
    color: var(--accent);
    font-family: 'Courier New', monospace;
    font-size: 1rem;
}

.tarifas-item.destaque .tarifas-item-value {
    color: var(--white);
}

/* Ranking */
.tarifas-ranking {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05), rgba(30, 58, 138, 0.02));
    padding: 0.5rem;
    border-radius: 16px;
    border: 2px solid var(--primary);
}

.tarifas-ranking h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.tarifas-ranking-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tarifas-ranking-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid;
}

.tarifas-ranking-item.alto {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(185, 28, 28, 0.05));
    border-color: var(--danger);
    color: var(--danger);
}

.tarifas-ranking-item.economico {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(16, 185, 129, 0.05));
    border-color: var(--success);
    color: var(--success);
}

.tarifas-ranking-item:not(.alto):not(.economico) {
    background: var(--white);
    border-color: var(--border);
    color: var(--text-primary);
}

.tarifas-ranking-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tarifas-ranking-label {
    font-weight: 600;
    font-size: 0.95rem;
}

.tarifas-ranking-value {
    font-weight: bold;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
}

/* ===================================
   COMPARAÇÃO DE BANCOS
   ================================== */
.tarifas-comparacao {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 2rem;
}

.tarifas-comparacao h4 {
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 0.8rem;
    font-weight: 600;
}

.tarifas-bancos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tarifas-banco-item {
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 2px solid;
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.tarifas-banco-item.gratuito {
    border-color: var(--success);
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.05), rgba(16, 185, 129, 0.02));
}

.tarifas-banco-item.baixo {
    border-color: var(--info);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(59, 130, 246, 0.02));
}

.tarifas-banco-item.medio {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(217, 119, 6, 0.02));
}

.tarifas-banco-item.alto {
    border-color: var(--danger);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(185, 28, 28, 0.02));
}

.tarifas-banco-item.critico {
    border-color: #e91e63;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.05), rgba(190, 24, 93, 0.02));
}

.tarifas-banco-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.tarifas-banco-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tarifas-banco-nome {
    font-weight: bold;
    font-size: 1.2rem;
}

.tarifas-banco-total {
    font-weight: bold;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
}

.tarifas-banco-detalhes {
    margin-bottom: 1.5rem;
}

.tarifas-banco-detalhes p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-primary);
}

.tarifas-banco-status {
    font-weight: 600;
    text-align: center;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* Cores específicas por tipo de banco */
.tarifas-banco-item.gratuito .tarifas-banco-nome,
.tarifas-banco-item.gratuito .tarifas-banco-total {
    color: var(--success);
}

.tarifas-banco-item.gratuito .tarifas-banco-status {
    background: var(--success);
    color: var(--white);
}

.tarifas-banco-item.baixo .tarifas-banco-nome,
.tarifas-banco-item.baixo .tarifas-banco-total {
    color: var(--info);
}

.tarifas-banco-item.baixo .tarifas-banco-status {
    background: var(--info);
    color: var(--white);
}

.tarifas-banco-item.medio .tarifas-banco-nome,
.tarifas-banco-item.medio .tarifas-banco-total {
    color: var(--accent);
}

.tarifas-banco-item.medio .tarifas-banco-status {
    background: var(--accent);
    color: var(--white);
}

.tarifas-banco-item.alto .tarifas-banco-nome,
.tarifas-banco-item.alto .tarifas-banco-total {
    color: var(--danger);
}

.tarifas-banco-item.alto .tarifas-banco-status {
    background: var(--danger);
    color: var(--white);
}

.tarifas-banco-item.critico .tarifas-banco-nome,
.tarifas-banco-item.critico .tarifas-banco-total {
    color: #e91e63;
}

.tarifas-banco-item.critico .tarifas-banco-status {
    background: #e91e63;
    color: var(--white);
}

/* ===================================
   BANCOS GRATUITOS
   ================================== */
.tarifas-gratuitos {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 2rem;
}

.tarifas-gratuitos h4 {
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 3px solid var(--success);
    padding-bottom: 0.8rem;
    font-weight: 600;
}

.tarifas-gratuitos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tarifas-gratuito-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.tarifas-gratuito-item.destaque {
    border-color: var(--success);
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.05), rgba(16, 185, 129, 0.02));
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.1);
}

.tarifas-gratuito-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--success);
}

.tarifas-gratuito-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--success);
}

.tarifas-gratuito-item h5 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.tarifas-gratuito-lista {
    text-align: left;
    margin-bottom: 1.5rem;
}

.tarifas-gratuito-lista p {
    margin: 0.8rem 0;
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.tarifas-gratuito-economia {
    background: var(--success);
    color: var(--white);
    padding: 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 3px 10px rgba(5, 150, 105, 0.3);
}

/* ===================================
   ESTRATÉGIAS DE ECONOMIA
   ================================== */
.tarifas-economia {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 2rem;
}

.tarifas-economia h4 {
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 0.8rem;
    font-weight: 600;
}

.tarifas-estrategias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tarifas-estrategia-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.tarifas-estrategia-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.1);
    border-color: var(--primary);
}

.tarifas-estrategia-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.tarifas-estrategia-item h5 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.tarifas-estrategia-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tarifas-estrategia-economia {
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(30, 64, 175, 0.3);
}

/* ===================================
   EXPLICAÇÃO DO CÁLCULO TARIFAS
   ================================== */
.tarifas-explanation {
    margin-top: 2rem;
    padding: 0.5rem;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 16px;
    animation: slideInUp 0.5s ease;
}

.tarifas-explanation h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.tarifas-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;
}

.tarifas-step:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(30, 64, 175, 0.1);
}

.tarifas-step h4 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.tarifas-step p {
    margin: 0.5rem 0;
    font-family: 'Courier New', monospace;
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* ===================================
   EXEMPLOS E AJUDA TARIFAS
   ================================== */
.tarifas-examples {
    text-align: center;
    margin: 2rem 0;
    transition: all 0.3s ease;
}

.tarifas-examples.hidden {
    display: none;
}

.tarifas-examples p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.tarifas-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;
}

.tarifas-example-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
}

.tarifas-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;
}

.tarifas-help.hidden {
    display: none;
}

.tarifas-help p {
    margin: 0;
    color: var(--accent);
    font-weight: 500;
}

/* ===================================
   CONTEÚDO EDUCACIONAL TARIFAS
   ================================== */
.tarifas-educational-content {
    margin-top: 4rem;
}

.tarifas-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;
}

.tarifas-content-block:hover {
    box-shadow: 0 10px 35px rgba(30, 64, 175, 0.1);
    transform: translateY(-2px);
}

.tarifas-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;
}

.tarifas-content-block p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
}

.tarifas-content-block strong {
    color: var(--primary);
    font-weight: 600;
}

/* Formula Display Tarifas */
.tarifas-formula-display {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.tarifas-formula-display h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.tarifas-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 Conteúdo */
.tarifas-examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tarifas-example-item {
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
    border: 2px solid;
}

.tarifas-example-item.gratuito {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(16, 185, 129, 0.05));
    border-color: var(--success);
}

.tarifas-example-item.atencao {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.05));
    border-color: var(--accent);
}

.tarifas-example-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.tarifas-example-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.tarifas-example-item.gratuito .tarifas-example-icon {
    color: var(--success);
}

.tarifas-example-item.atencao .tarifas-example-icon {
    color: var(--accent);
}

.tarifas-example-item h4 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.tarifas-example-item.gratuito h4 {
    color: var(--success);
}

.tarifas-example-item.atencao h4 {
    color: var(--accent);
}

.tarifas-example-item p {
    font-size: 1rem;
    margin: 0;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Comparação Exemplo Solução */
.tarifas-example-solution {
    background: var(--gray-50);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 2rem;
}

.tarifas-example-solution h4 {
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
}

.tarifas-solution-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.tarifas-solution-before,
.tarifas-solution-after {
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid;
}

.tarifas-solution-before {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(185, 28, 28, 0.05));
    border-color: var(--danger);
}

.tarifas-solution-after {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(16, 185, 129, 0.05));
    border-color: var(--success);
}

.tarifas-solution-before h5 {
    color: var(--danger);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.tarifas-solution-after h5 {
    color: var(--success);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.tarifas-solution-before p,
.tarifas-solution-after p {
    margin: 0.8rem 0;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}

.tarifas-solution-final {
    background: var(--success);
    color: var(--white);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
}

.tarifas-solution-final h5 {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.tarifas-solution-final p {
    margin: 0;
    font-family: inherit;
}

/* Ranking Completo */
.tarifas-ranking-completo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tarifas-ranking-lado {
    border-radius: 16px;
    padding: 2rem;
}

.tarifas-ranking-lado.caros {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(185, 28, 28, 0.05));
    border: 2px solid var(--danger);
}

.tarifas-ranking-lado.baratos {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(16, 185, 129, 0.05));
    border: 2px solid var(--success);
}

.tarifas-ranking-lado h4 {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
}

.tarifas-ranking-lado.caros h4 {
    color: var(--danger);
}

.tarifas-ranking-lado.baratos h4 {
    color: var(--success);
}

.tarifas-ranking-lista {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tarifas-ranking-posicao {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--white);
    border-radius: 10px;
    border: 2px solid;
    transition: all 0.3s ease;
}

.tarifas-ranking-posicao.primeiro-caro {
    border-color: var(--danger);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(185, 28, 28, 0.05));
}

.tarifas-ranking-posicao.segundo-caro,
.tarifas-ranking-posicao.terceiro-caro {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.05));
}

.tarifas-ranking-posicao.primeiro-barato {
    border-color: var(--success);
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(16, 185, 129, 0.05));
}

.tarifas-ranking-posicao.bom {
    border-color: var(--info);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(59, 130, 246, 0.05));
}

.tarifas-ranking-posicao:hover {
    transform: translateX(5px);
}

.tarifas-ranking-numero {
    font-weight: bold;
    font-size: 1.2rem;
    min-width: 35px;
    text-align: center;
}

.tarifas-ranking-banco {
    flex: 1;
    font-weight: 600;
}

.tarifas-ranking-valor {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1rem;
}

/* Steps de Migração */
.tarifas-migração-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.tarifas-step-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.tarifas-step-item:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.15);
    transform: translateY(-2px);
}

.tarifas-step-item.destaque {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.05));
    border-color: var(--accent);
}

.tarifas-step-number {
    background: var(--primary);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.tarifas-step-item.destaque .tarifas-step-number {
    background: var(--accent);
}

.tarifas-step-content {
    flex: 1;
}

.tarifas-step-content h5 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.tarifas-step-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* ===================================
   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 TARIFAS
   ================================== */
@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 TARIFAS
   ================================== */
@media (max-width: 1024px) {
    .tarifas-banco-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .tarifas-uso-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }
    
    .tarifas-solution-comparison {
        grid-template-columns: 1fr;
    }
    
    .tarifas-ranking-completo {
        grid-template-columns: 1fr;
    }

    .credibilidade-badges {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .tarifas-header h1 {
        font-size: 2rem;
    }
    
    .tarifas-container {
        padding: 1.5rem;
    }
    
    .tarifas-dados-principais {
        padding: 1.5rem;
    }
    
    .tarifas-input-group {
        min-width: auto;
    }
    
    .tarifas-calculate-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .tarifas-value {
        font-size: 2rem;
    }
    
    .tarifas-input-grid,
    .tarifas-uso-grid,
    .tarifas-bancos-grid,
    .tarifas-gratuitos-grid,
    .tarifas-estrategias-grid,
    .tarifas-examples-grid {
        grid-template-columns: 1fr;
    }
    
    .tarifas-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tarifas-tab-btn {
        width: 200px;
    }
    
    .tarifas-step-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .content-block {
        padding: 1.5rem;
    }

    .credibilidade-header {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .tarifas-header h1 {
        font-size: 1.8rem;
    }
    
    .tarifas-container {
        padding: 1rem;
    }
    
    .tarifas-dados-principais {
        padding: 1rem;
    }
    
    .tarifas-calculate-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .tarifas-value {
        font-size: 1.8rem;
    }
    
    .tarifas-currency {
        font-size: 1.2rem;
    }
    
    .tarifas-item {
        padding: 0.8rem;
        font-size: 0.9rem;
        flex-direction: column;
        text-align: center;
        gap: 0.3rem;
    }
    
    .tarifas-banco-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .tarifas-ranking-posicao {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .tarifas-step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .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;
    }
}