/* assets/css/inss-mei-autonomo.css */
/* CSS ISOLADO - Apenas para Calculadora INSS MEI e Autônomo */
/* CORES FINANCEIRAS APLICADAS */

/* ===================================
   VARIÁVEIS DE CORES FINANCEIRAS
   ================================== */
:root {
    --primary-financeiro: #27ae60;    /* Verde dinheiro */
    --secondary-financeiro: #2ecc71;  /* Verde crescimento */
    --accent-financeiro: #f1c40f;     /* Dourado riqueza */
    --light-financeiro: #e8f5e8;      /* Fundo verde claro */
    --gradient-financeiro: linear-gradient(135deg, #27ae60, #2ecc71);
    --dark-financeiro: #1e7e34;       /* Verde escuro */
    --success-financeiro: #28a745;    /* Verde sucesso */
}

/* ===================================
   SEÇÃO DA CALCULADORA INSS
   ================================== */
.inss-calculator-section {
    margin-bottom: 3rem;
}

.inss-header {
    text-align: center;
    margin-bottom: 2rem;
}

.inss-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.inss-header p {
    font-size: 1.2rem;
    color: #5a6c7d;
}

.inss-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e6ed;
}

.inss-inputs h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* ===================================
   SISTEMA DE ABAS ESPECÍFICO INSS
   ================================== */
.inss-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e0e6ed;
    padding-bottom: 1rem;
}

.inss-tab-btn {
    background: #f8f9fa;
    border: 2px solid #e0e6ed;
    color: #5a6c7d;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 100px;
}

.inss-tab-btn:hover {
    background: var(--primary-financeiro);
    color: white;
    border-color: var(--primary-financeiro);
    transform: translateY(-2px);
}

.inss-tab-btn.active {
    background: var(--primary-financeiro);
    color: white;
    border-color: var(--dark-financeiro);
    box-shadow: 0 3px 10px rgba(39, 174, 96, 0.3);
}

/* ===================================
   CONTEÚDO DAS ABAS INSS
   ================================== */
.inss-tab-content {
    display: none;
}

.inss-tab-content.active {
    display: block;
    animation: fadeInInssTab 0.3s ease;
}

@keyframes fadeInInssTab {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   MEI - LAYOUT ESPECÍFICO
   ================================== */
.inss-mei-info {
    padding: 1.5rem;
    background: var(--light-financeiro);
    border: 2px solid var(--primary-financeiro);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.inss-mei-header {
    text-align: center;
    margin-bottom: 2rem;
}

.inss-mei-header h4 {
    color: var(--dark-financeiro);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.inss-mei-header p {
    color: var(--primary-financeiro);
    margin: 0;
}

.inss-mei-calculation {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.inss-mei-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.inss-mei-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #a5d6a7;
    text-align: center;
    transition: all 0.3s ease;
}

.inss-mei-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

.inss-mei-item.destaque {
    border: 2px solid var(--primary-financeiro);
    background: #a5d6a7;
}

.inss-mei-item label {
    display: block;
    font-weight: 600;
    color: var(--dark-financeiro);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.inss-value-display {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--success-financeiro);
    font-family: 'Courier New', monospace;
}

.inss-value-display.maior {
    font-size: 1.8rem;
    color: var(--primary-financeiro);
}

/* DAS Breakdown */
.inss-mei-additional {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #a5d6a7;
}

.inss-mei-additional h5 {
    color: var(--dark-financeiro);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.inss-das-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.inss-das-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: #fff3cd;
    border-radius: 6px;
    border-left: 4px solid var(--primary-financeiro);
}

.inss-das-item.total {
    background: var(--primary-financeiro);
    color: white;
    font-weight: bold;
    border-left-color: var(--dark-financeiro);
}

/* Simulador de Períodos */
.inss-mei-simulator {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #a5d6a7;
}

.inss-mei-simulator h5 {
    color: var(--dark-financeiro);
    margin-bottom: 1rem;
    text-align: center;
}

.inss-period-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.inss-period-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: var(--light-financeiro);
    border-radius: 8px;
    border: 1px solid var(--secondary-financeiro);
    text-align: center;
}

.inss-period-value {
    font-weight: bold;
    color: var(--success-financeiro);
    font-size: 1.1rem;
    font-family: 'Courier New', monospace;
    margin-top: 0.5rem;
}

/* ===================================
   AUTÔNOMO - INPUTS E RESULTADO
   ================================== */
.inss-autonomo-inputs {
    padding: 1.5rem;
    background: #fff8e1;
    border: 2px solid var(--accent-financeiro);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.inss-input-group {
    margin-bottom: 1.5rem;
}

.inss-input-group label {
    display: block;
    font-weight: 600;
    color: #e65100;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.inss-input-group input,
.inss-input-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--accent-financeiro);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
}

.inss-input-group input:focus,
.inss-input-group select:focus {
    outline: none;
    border-color: var(--primary-financeiro);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

.inss-money-input {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid var(--accent-financeiro);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.inss-money-input:focus-within {
    border-color: var(--primary-financeiro);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

.inss-money-input span {
    background: var(--accent-financeiro);
    color: white;
    padding: 0.8rem 1rem;
    font-weight: bold;
    font-size: 1rem;
}

.inss-money-input input {
    border: none;
    padding: 0.8rem;
    flex: 1;
    font-size: 1rem;
    background: transparent;
}

.inss-money-input input:focus {
    outline: none;
    transform: none;
    box-shadow: none;
}

.inss-input-group small {
    color: #bf360c;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: block;
}

/* Botão Calcular */
.inss-calculate-section {
    text-align: center;
    margin: 2rem 0;
}

.inss-calculate-btn {
    background: var(--gradient-financeiro);
    color: 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 4px 15px rgba(39, 174, 96, 0.3);
}

.inss-calculate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
    background: linear-gradient(135deg, var(--secondary-financeiro) 0%, var(--primary-financeiro) 100%);
}

/* Resultado Autônomo */
.inss-autonomo-result {
    background: var(--light-financeiro);
    border: 2px solid var(--secondary-financeiro);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    animation: slideInUp 0.5s ease;
}

.inss-autonomo-result h4 {
    color: var(--success-financeiro);
    margin-bottom: 1rem;
    text-align: center;
}

.inss-result-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.inss-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-financeiro);
    transition: all 0.3s ease;
}

.inss-result-item:hover {
    transform: translateX(5px);
    background: #f1f8e9;
}

.inss-result-item.destaque {
    background: var(--secondary-financeiro);
    color: white;
    border-left-color: var(--success-financeiro);
    font-weight: bold;
}

.inss-result-item.destaque:hover {
    background: var(--primary-financeiro);
}

/* ===================================
   COMPARATIVO - TABELA
   ================================== */
.inss-comparison {
    padding: 1.5rem;
    background: #f3e5f5;
    border: 2px solid #9c27b0;
    border-radius: 12px;
}

.inss-comparison h4 {
    color: #6a1b9a;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
}

.inss-comparison-table {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1px;
    background: #9c27b0;
    border-radius: 8px;
    overflow: hidden;
}

.inss-comparison-header {
    display: contents;
}

.inss-comparison-cell {
    background: white;
    padding: 1rem;
    font-weight: 600;
    text-align: center;
    font-size: 0.9rem;
}

.inss-comparison-header .inss-comparison-cell {
    background: #9c27b0;
    color: white;
    font-weight: bold;
}

.inss-comparison-row {
    display: contents;
}

.inss-comparison-row .inss-comparison-cell:first-child {
    background: #f3e5f5;
    text-align: left;
    font-weight: bold;
    color: #6a1b9a;
}

/* ===================================
   BENEFÍCIOS - GRID
   ================================== */
.inss-benefits {
    padding: 1.5rem;
    background: #fff8e1;
    border: 2px solid var(--accent-financeiro);
    border-radius: 12px;
}

.inss-benefits h4 {
    color: #f57f17;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
}

.inss-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.inss-benefit-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #ffecb3;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.inss-benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-financeiro);
}

.inss-benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ff8f00;
}

.inss-benefit-item h5 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.inss-benefit-item p {
    color: #5a6c7d;
    font-size: 0.95rem;
    margin: 0.5rem 0;
}

/* ===================================
   FÓRMULA ESPECÍFICA INSS
   ================================== */
.inss-formula {
    background: var(--light-financeiro);
    border: 2px solid var(--primary-financeiro);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: var(--dark-financeiro);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* ===================================
   EXEMPLOS E AJUDA INSS
   ================================== */
.inss-examples {
    text-align: center;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
}

.inss-examples.hidden {
    display: none;
}

.inss-examples p {
    margin-bottom: 1rem;
    color: #5a6c7d;
}

.inss-example-btn {
    background: var(--light-financeiro);
    border: 2px solid var(--primary-financeiro);
    color: var(--dark-financeiro);
    padding: 0.6rem 1.2rem;
    margin: 0.3rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.85rem;
}

.inss-example-btn:hover {
    background: var(--primary-financeiro);
    color: white;
    transform: translateY(-2px);
}

.inss-help {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #fff3cd;
    border-radius: 8px;
    border: 1px solid #ffeaa7;
    transition: all 0.3s ease;
}

.inss-help.hidden {
    display: none;
}

/* ===================================
   EXPLICAÇÃO DO CÁLCULO INSS (DINÂMICO)
   ================================== */
.inss-explanation {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light-financeiro);
    border: 2px solid var(--primary-financeiro);
    border-radius: 12px;
    animation: slideInUp 0.5s ease;
}

.inss-explanation h3 {
    color: var(--dark-financeiro);
    margin-bottom: 1rem;
    text-align: center;
}

.inss-step {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-financeiro);
}

.inss-step h4 {
    color: var(--dark-financeiro);
    margin-bottom: 0.5rem;
}

.inss-step p {
    margin: 0.3rem 0;
    font-family: 'Courier New', monospace;
    color: #444;
}

/* ===================================
   CARD FUNDAMENTAÇÃO (DINÂMICO)
   ================================== */
.legal-explanation,
.calc-legal {
    margin-top: 2rem;
    padding: 0.5rem;
    background: linear-gradient(135deg, var(--light-financeiro) 0%, #e1f5fe 100%);
    border: 2px solid var(--primary-financeiro);
    border-radius: 15px;
    animation: slideInUp 0.5s ease;
    box-shadow: 0 5px 20px rgba(39, 174, 96, 0.1);
}

.legal-explanation h3,
.calc-legal h3 {
    color: var(--primary-financeiro);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
    border-bottom: 3px solid var(--primary-financeiro);
    padding-bottom: 0.8rem;
}

.legal-explanation h4,
.calc-legal h4 {
    color: var(--primary-financeiro);
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid var(--light-financeiro);
    padding-bottom: 0.8rem;
    padding-top: 0.3rem;
}

.legal-explanation p,
.calc-legal p {
    color: #2c3e50;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.legal-explanation strong,
.calc-legal strong {
    color: var(--primary-financeiro);
    font-weight: 600;
}

.formula-highlight {
    background: var(--light-financeiro);
    border: 2px solid var(--primary-financeiro);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
}

.formula-main {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--dark-financeiro);
    font-family: 'Courier New', monospace;
    margin-bottom: 0.5rem;
}

/* ===================================
   EXPLICAÇÃO DETALHADA COM BASE LEGAL CLT - INSS
   ================================== */
.inss-detailed-explanation {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--light-financeiro) 0%, #e1f5fe 100%);
    border: 2px solid var(--primary-financeiro);
    border-radius: 15px;
    animation: slideInUp 0.5s ease;
    box-shadow: 0 5px 20px rgba(39, 174, 96, 0.1);
}

.inss-detailed-explanation h3 {
    color: var(--primary-financeiro);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
    border-bottom: 3px solid var(--primary-financeiro);
    padding-bottom: 0.8rem;
}

.inss-legal-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.inss-legal-section {
    background: white;
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e6ed;
    transition: all 0.3s ease;
}

.inss-legal-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.15);
    border-color: var(--primary-financeiro);
}

.inss-legal-section h4 {
    color: var(--primary-financeiro);
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid var(--light-financeiro);
    padding-bottom: 0.8rem;
    padding-top: 0.3rem;
}

.inss-legal-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-financeiro);
    border-radius: 10px;
    border-left: 4px solid var(--primary-financeiro);
    transition: all 0.3s ease;
}

.inss-legal-item:hover {
    background: #a5d6a7;
    transform: translateY(-2px);
}

.inss-legal-artigo {
    background: var(--primary-financeiro);
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9rem;
    text-align: center;
    box-shadow: 0 3px 10px rgba(39, 174, 96, 0.3);
    align-self: flex-start;
    min-width: 200px;
}

.inss-legal-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.inss-legal-content p {
    margin: 0;
    color: #2c3e50;
    line-height: 1.6;
    font-size: 0.95rem;
}

.inss-legal-content strong {
    color: var(--primary-financeiro);
    font-weight: 600;
}

/* Detalhes dos Cálculos - INSS */
.inss-calculo-detalhe {
    background: var(--light-financeiro);
    border: 1px solid var(--secondary-financeiro);
    border-radius: 10px;
    padding: 1.2rem;
    margin-top: 0.5rem;
    width: 100%;
}

.inss-calculo-detalhe p {
    font-family: 'Courier New', monospace;
    color: var(--success-financeiro);
    font-size: 0.9rem;
    margin: 0.4rem 0;
    line-height: 1.5;
}

.inss-calculo-detalhe p:first-child {
    font-weight: bold;
    color: var(--dark-financeiro);
    font-size: 1rem;
    margin-bottom: 0.8rem;
    font-family: inherit;
}

.inss-calculo-detalhe p strong {
    color: var(--dark-financeiro);
    font-weight: bold;
}

/* Footer da Explicação Legal - INSS */
.inss-legal-footer {
    background: #fff3cd;
    border: 2px solid var(--accent-financeiro);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
}

.inss-legal-footer p {
    margin: 0.5rem 0;
    color: #856404;
    font-size: 0.9rem;
    line-height: 1.5;
}

.inss-legal-footer p:first-child {
    font-weight: 600;
    color: #854d0e;
}

.inss-legal-footer strong {
    color: #854d0e;
}

/* ===================================
   CONTEÚDO EDUCACIONAL INSS
   ================================== */
.inss-educational-content {
    margin-top: 3rem;
}

.inss-content-block {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e6ed;
}

.inss-content-block h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 3px solid var(--primary-financeiro);
    padding-bottom: 0.5rem;
}

.inss-content-block p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
}

.inss-content-block strong {
    color: var(--primary-financeiro);
}

/* Formula Display INSS */
.inss-formula-display {
    background: var(--light-financeiro);
    border: 2px solid var(--primary-financeiro);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
}

.inss-formula-display h4 {
    color: var(--dark-financeiro);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.inss-formula-display .formula p {
    margin: 0.3rem 0;
    font-family: 'Courier New', monospace;
    color: var(--dark-financeiro);
    font-weight: 600;
}

/* Grids Exemplos e Dicas INSS */
.inss-examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.inss-example-item {
    background: var(--light-financeiro);
    border: 1px solid #e0e6ed;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.inss-example-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-financeiro);
}

.inss-example-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-financeiro);
}

.inss-example-item h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.inss-example-item p {
    color: #5a6c7d;
    font-size: 0.95rem;
    margin: 0;
}

.inss-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.inss-tip-item {
    background: var(--light-financeiro);
    border: 1px solid #4dd0e1;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.inss-tip-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.inss-tip-item h4 {
    color: var(--dark-financeiro);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.inss-tip-item p {
    color: var(--dark-financeiro);
    margin: 0;
    font-size: 0.95rem;
}

/* Exemplo de Solução INSS */
.inss-example-solution {
    background: var(--light-financeiro);
    border: 2px solid var(--primary-financeiro);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 1.5rem;
}

.inss-example-solution h4 {
    color: var(--dark-financeiro);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
}

.inss-solution-step {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--primary-financeiro);
}

.inss-solution-step h5 {
    color: var(--dark-financeiro);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.inss-solution-step p {
    margin: 0.3rem 0;
    font-family: 'Courier New', monospace;
    color: #444;
}

.inss-solution-divider {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-financeiro);
    margin: 2rem 0;
    padding: 1rem;
    background: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    border: 3px solid var(--primary-financeiro);
}

.inss-solution-final {
    background: var(--primary-financeiro);
    color: white;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 1rem;
}

.inss-solution-final h5 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.inss-solution-final p {
    margin: 0;
    font-family: inherit;
}

/* ===================================
   FAQ, REFERÊNCIAS E CREDIBILIDADE
   ================================== */
.content-block {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e6ed;
}

.content-block h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 3px solid var(--primary-financeiro);
    padding-bottom: 0.5rem;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-financeiro);
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.1);
}

.faq-question {
    padding: 1rem;
    background: var(--light-financeiro);
    cursor: pointer;
    font-weight: 600;
    color: var(--dark-financeiro);
    font-size: 1rem;
    list-style: none;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #a5d6a7;
}

.faq-answer {
    padding: 1rem;
    background: white;
    border-top: 1px solid #e0e6ed;
}

.faq-answer p {
    margin: 0.5rem 0;
    color: #444;
    line-height: 1.6;
}

.faq-answer strong {
    color: var(--primary-financeiro);
}

/* Referências */
.referencias-container {
    background: var(--light-financeiro);
    border: 2px solid var(--primary-financeiro);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.referencias-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.referencias-icon {
    font-size: 2rem;
    color: var(--primary-financeiro);
}

.referencias-title {
    color: var(--dark-financeiro);
    margin: 0;
    font-size: 1.3rem;
}

.referencias-content {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.referencias-lista {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.referencia-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-financeiro);
    transition: all 0.3s ease;
    color: #444;
}

.referencia-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.1);
}

.referencia-item strong {
    color: var(--primary-financeiro);
}

/* Credibilidade */
.credibilidade-container {
    background: white;
    border: 2px solid var(--accent-financeiro);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.credibilidade-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.credibilidade-icon {
    font-size: 2rem;
    color: var(--accent-financeiro);
}

.credibilidade-title {
    color: var(--dark-financeiro);
    margin: 0;
    font-size: 1.3rem;
}

.credibilidade-content {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.credibilidade-logo {
    color: var(--primary-financeiro);
    font-weight: bold;
}

.credibilidade-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.credibilidade-badge {
    background: var(--light-financeiro);
    color: var(--dark-financeiro);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--primary-financeiro);
    transition: all 0.3s ease;
}

.credibilidade-badge:hover {
    background: var(--primary-financeiro);
    color: white;
    transform: translateY(-2px);
}

/* ===================================
   ANIMAÇÕES INSS
   ================================== */
@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 INSS
   ================================== */
@media (max-width: 1024px) {
    .inss-comparison-table {
        grid-template-columns: 1fr 1fr;
        gap: 2px;
    }
    
    .inss-comparison-header {
        display: none;
    }
    
    .inss-comparison-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2px;
        margin-bottom: 2px;
    }
}

@media (max-width: 768px) {
    .inss-header h1 {
        font-size: 2rem;
    }
    
    .inss-tabs {
        gap: 0.3rem;
        flex-direction: column;
        align-items: center;
    }
    
    .inss-tab-btn {
        min-width: 120px;
        font-size: 0.8rem;
    }
    
    .inss-mei-values {
        grid-template-columns: 1fr;
    }
    
    .inss-period-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .inss-comparison-table {
        grid-template-columns: 1fr;
        gap: 1px;
    }
    
    .inss-comparison-row {
        display: flex;
        flex-direction: column;
        background: white;
        margin-bottom: 0.5rem;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid #9c27b0;
    }
    
    .inss-comparison-cell {
        border-bottom: 1px solid #e0e6ed;
    }
    
    .inss-comparison-cell:last-child {
        border-bottom: none;
    }
    
    .inss-benefits-grid,
    .inss-examples-grid,
    .inss-tips-grid {
        grid-template-columns: 1fr;
    }
    
    .inss-detailed-explanation {
        padding: 1.5rem;
    }
    
    .inss-legal-artigo {
        min-width: 180px;
        font-size: 0.85rem;
        align-self: center;
    }
    
    .credibilidade-badges {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .inss-header h1 {
        font-size: 1.8rem;
    }
    
    .inss-container {
        padding: 1rem;
    }
    
    .inss-tab-btn {
        min-width: 100px;
        padding: 0.6rem 0.8rem;
    }
    
    .inss-period-grid {
        grid-template-columns: 1fr;
    }
    
    .inss-calculate-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .inss-value-display.maior {
        font-size: 1.5rem;
    }
    
    .inss-example-icon {
        font-size: 2rem;
    }
    
    .inss-detailed-explanation {
        padding: 1rem;
    }
    
    .inss-legal-artigo {
        min-width: 160px;
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
    }
    
    .referencias-header,
    .credibilidade-header {
        flex-direction: column;
        text-align: center;
    }
}

/* ===================================
   SOBRESCREVER CSS BASE - TÍTULO
   ================================== */
/* Regra específica para sobrescrever o CSS base que usa !important */
/* Estratégia 1: Maior especificidade */
.main-container .content section.inss-calculator-section .inss-header h1 {
    color: var(--primary-financeiro) !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 4px rgba(39, 174, 96, 0.2) !important;
}

/* Estratégia 2: Sobrescrever a variável CSS no contexto específico */
.inss-calculator-section {
    --primary: var(--primary-financeiro);
}