/* assets/css/cdb-ir-regressivo.css */
/* CSS ISOLADO - Apenas para Calculadora de CDB com IR Regressivo */
/* CORES MATEMÁTICA FINANCEIRA APLICADAS */

/* ===================================
   SEÇÃO DA CALCULADORA CDB
   ================================== */
.cdb-calculator-section {
    margin-bottom: 3rem;
}

.cdb-header {
    text-align: center;
    margin-bottom: 2rem;
}

.cdb-header h1 {
    color: #27ae60;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(39, 174, 96, 0.1);
}

.cdb-header p {
    color: #2ecc71;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

/* ===================================
   CONTAINER PRINCIPAL CDB
   ================================== */
.cdb-container {
    background: linear-gradient(135deg, #e8f5e8 0%, #f1f8e9 100%);
    border: 3px solid #2ecc71;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.15);
    animation: fadeInUp 0.6s ease;
}

.cdb-inputs h3 {
    color: #27ae60;
    font-size: 1.4rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

/* ===================================
   INPUTS DO CDB
   ================================== */
.cdb-dados-basicos {
    margin-bottom: 2rem;
}

.cdb-input-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.cdb-input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cdb-input-group label {
    color: #27ae60;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.cdb-money-input,
.cdb-percent-input {
    position: relative;
    display: flex;
    align-items: center;
}

.cdb-money-input span {
    background: #2ecc71;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px 0 0 8px;
    font-weight: 600;
    font-size: 1.1rem;
}

.cdb-percent-input span {
    background: #f1c40f;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0 8px 8px 0;
    font-weight: 600;
    font-size: 0.9rem;
}

.cdb-input-group input,
.cdb-input-group select {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #f1c40f;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.cdb-money-input input {
    border-radius: 0 8px 8px 0;
    border-left: none;
}

.cdb-percent-input input {
    border-radius: 8px 0 0 8px;
    border-right: none;
}

.cdb-input-group input:focus,
.cdb-input-group select:focus {
    outline: none;
    border-color: #2ecc71;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.2);
}

.cdb-input-group input:hover,
.cdb-input-group select:hover {
    border-color: #27ae60;
    box-shadow: none;
}

/* ===================================
   BOTÃO CALCULAR CDB
   ================================== */
.cdb-calculate-section {
    text-align: center;
    margin: 2rem 0;
}

.cdb-calculate-btn {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    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(46, 204, 113, 0.3);
}

.cdb-calculate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}

.cdb-calculate-btn:active {
    transform: translateY(-1px);
}

/* ===================================
   RESULTADO DO CDB
   ================================== */
.cdb-resultado {
    background: #e8f5e8;
    border: 2px solid #2ecc71;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    animation: slideInUp 0.5s ease;
}

.cdb-resultado h3 {
    color: #27ae60;
    margin-bottom: 1.5rem;
    text-align: center;
}

.cdb-resultado-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Resultado Principal */
.cdb-resultado-principal {
    background: #2ecc71;
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
}

.cdb-resultado-principal h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cdb-valor-principal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.cdb-currency {
    font-size: 1.3rem;
    opacity: 0.8;
}

.cdb-value {
    font-size: 2.2rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.cdb-rentabilidade-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.cdb-rentabilidade-label {
    font-size: 0.9rem;
}

.cdb-rentabilidade-value {
    font-size: 1.1rem;
    font-weight: bold;
}

.cdb-periodo {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Detalhamento */
.cdb-detalhamento {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e0e6ed;
}

.cdb-detalhamento h4 {
    color: #27ae60;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.cdb-item-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cdb-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #2ecc71;
}

.cdb-item-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.cdb-item-value {
    font-weight: 600;
    color: #27ae60;
    font-family: 'Courier New', monospace;
}

/* Informações do IR */
.cdb-ir-info {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e0e6ed;
    margin-top: 1rem;
}

.cdb-ir-info h4 {
    color: #27ae60;
    margin-bottom: 1rem;
    text-align: center;
}

.cdb-ir-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cdb-ir-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid #2ecc71;
    background: #e8f5e8;
}

.cdb-ir-item.atual {
    background: #2ecc71;
    color: white;
    font-weight: bold;
}

.cdb-ir-prazo {
    font-weight: 600;
}

.cdb-ir-aliquota {
    font-weight: bold;
    font-size: 1.1rem;
    font-family: 'Courier New', monospace;
}

.cdb-ir-table {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 1rem;
}

.cdb-ir-row {
    padding: 0.5rem;
    border-bottom: 1px solid #ddd;
    font-size: 0.9rem;
}

.cdb-ir-row:last-child {
    border-bottom: none;
}

/* ===================================
   EXPLICAÇÃO DOS CÁLCULOS CDB
   ================================== */
.cdb-explanation {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #e8f5e8;
    border: 2px solid #2ecc71;
    border-radius: 12px;
    animation: slideInUp 0.5s ease;
}

.cdb-explanation h3 {
    color: #27ae60;
    margin-bottom: 1rem;
    text-align: center;
}

.cdb-step {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #2ecc71;
}

.cdb-step h4 {
    color: #27ae60;
    margin-bottom: 0.5rem;
}

.cdb-step p {
    margin: 0.3rem 0;
    font-family: 'Courier New', monospace;
    color: #444;
}

.cdb-solution-final {
    background: #2ecc71;
    color: white;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 1rem;
}

.cdb-solution-final h5 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.cdb-solution-final p {
    margin: 0;
    font-family: inherit;
}

/* ===================================
   EXEMPLOS RÁPIDOS
   ================================== */
.cdb-exemplos {
    margin-top: 2rem;
    text-align: center;
}

.cdb-exemplos h3 {
    color: #27ae60;
    margin-bottom: 1.5rem;
}

.cdb-exemplo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.cdb-exemplo-btn {
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(241, 196, 15, 0.3);
}

.cdb-exemplo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(241, 196, 15, 0.4);
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.cdb-limpar-btn {
    background: linear-gradient(135deg, #ff7043 0%, #f4511e 100%);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(255, 112, 67, 0.3);
}

.cdb-limpar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 112, 67, 0.4);
    background: linear-gradient(135deg, #f4511e 0%, #e53935 100%);
}

/* ===================================
   CONTEÚDO EDUCACIONAL CDB
   ================================== */
.cdb-educational-content {
    margin-top: 3rem;
    padding: 2rem;
    background: #fafafa;
    border-radius: 15px;
}

.cdb-info-section,
.cdb-daily-section,
.cdb-example-section,
.cdb-ir-section,
.cdb-tips-section {
    margin-bottom: 3rem;
}

.cdb-info-section h2,
.cdb-daily-section h2,
.cdb-example-section h2,
.cdb-ir-section h2,
.cdb-tips-section h2 {
    color: #27ae60;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.cdb-info-section p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* CDB no Dia a Dia */
.cdb-daily-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.cdb-daily-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cdb-daily-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.15);
    border-color: #2ecc71;
}

.cdb-daily-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.cdb-daily-item h3 {
    color: #27ae60;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.cdb-daily-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Exemplo Prático */
.cdb-example-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #2ecc71;
    max-width: 800px;
    margin: 0 auto;
}

.cdb-example-calculation {
    background: #e8f5e8;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border-left: 5px solid #2ecc71;
}

.cdb-example-calculation h4 {
    color: #27ae60;
    margin-bottom: 1rem;
}

.cdb-example-calculation ul {
    list-style: none;
    padding: 0;
}

.cdb-example-calculation li {
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: white;
    border-radius: 5px;
    border-left: 3px solid #2ecc71;
}

.cdb-calculation-result {
    background: #2ecc71;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.cdb-calculation-result p {
    margin: 0.5rem 0;
    font-weight: 600;
}

/* Tabela IR Regressivo Completa */
.cdb-ir-table-complete {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.cdb-ir-complete-item {
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cdb-ir-complete-item.faixa-1 {
    background: #ffebee;
    border: 2px solid #f44336;
}

.cdb-ir-complete-item.faixa-2 {
    background: #fff3e0;
    border: 2px solid #ff9800;
}

.cdb-ir-complete-item.faixa-3 {
    background: #e8f5e8;
    border: 2px solid #2ecc71;
}

.cdb-ir-complete-item.faixa-4 {
    background: #e8f5e8;
    border: 2px solid #27ae60;
}

.cdb-ir-complete-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.cdb-ir-complete-item h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.cdb-ir-complete-item.faixa-1 h4 {
    color: #d32f2f;
}

.cdb-ir-complete-item.faixa-2 h4 {
    color: #f57c00;
}

.cdb-ir-complete-item.faixa-3 h4 {
    color: #2ecc71;
}

.cdb-ir-complete-item.faixa-4 h4 {
    color: #27ae60;
}

.cdb-ir-rate {
    font-size: 2rem;
    font-weight: bold;
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
}

.cdb-ir-complete-item.faixa-1 .cdb-ir-rate {
    color: #d32f2f;
}

.cdb-ir-complete-item.faixa-2 .cdb-ir-rate {
    color: #f57c00;
}

.cdb-ir-complete-item.faixa-3 .cdb-ir-rate {
    color: #2ecc71;
}

.cdb-ir-complete-item.faixa-4 .cdb-ir-rate {
    color: #27ae60;
}

.cdb-ir-complete-item p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Dicas Estratégicas */
.cdb-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.cdb-tip-item {
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.cdb-tip-item.urgente {
    background: #ffebee;
    border: 2px solid #f44336;
}

.cdb-tip-item.importante {
    background: #fff3e0;
    border: 2px solid #ff9800;
}

.cdb-tip-item.atencao {
    background: #f3e5f5;
    border: 2px solid #9c27b0;
}

.cdb-tip-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.cdb-tip-item h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.cdb-tip-item.urgente h4 {
    color: #d32f2f;
}

.cdb-tip-item.importante h4 {
    color: #f57c00;
}

.cdb-tip-item.atencao h4 {
    color: #7b1fa2;
}

.cdb-tip-item p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* ===================================
   FAQ, REFERÊNCIAS E CREDIBILIDADE
   ================================== */

/* Containers dos novos elementos */
.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.8rem;
    border-bottom: 3px solid #27ae60;
    padding-bottom: 0.5rem;
}

/* FAQ Específico */
.faq-container {
    margin-top: 1rem;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background: #e8f5e8;
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: #27ae60;
    border: none;
    list-style: none;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #27ae60;
    color: white;
}

.faq-question::marker {
    display: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-answer {
    padding: 1.5rem;
    background: white;
    border-top: 1px solid #e0e6ed;
}

.faq-answer p {
    margin: 0.8rem 0;
    line-height: 1.6;
    color: #444;
}

.faq-answer strong {
    color: #27ae60;
}

/* Referências Específicas */
.referencias-container {
    margin-top: 1rem;
}

.referencias-lista {
    list-style: none;
    padding: 0;
}

.referencia-item {
    background: #e8f5e8;
    margin-bottom: 0.8rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #27ae60;
    transition: all 0.3s ease;
}

.referencia-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(39, 174, 96, 0.1);
}

.referencia-item em {
    color: #27ae60;
    font-style: italic;
}

/* Credibilidade Específica */
.credibilidade-container {
    background: linear-gradient(135deg, #e8f5e8, #ffffff);
    border: 2px solid #27ae60;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.credibilidade-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.credibilidade-icon {
    font-size: 2rem;
    color: #27ae60;
}

.credibilidade-title {
    color: #27ae60;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.credibilidade-content {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1.1rem;
    line-height: 1.6;
}

.credibilidade-logo {
    color: #27ae60;
    font-weight: 700;
    font-size: 1.1em;
}

.credibilidade-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.credibilidade-badge {
    background: #27ae60;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.credibilidade-badge:hover {
    background: #2ecc71;
    transform: translateY(-2px);
}

/* ===================================
   EXPLICAÇÃO DETALHADA COM BASE LEGAL - CDB (CARD DINÂMICO JS)
   ================================== */
.cdb-detailed-explanation {
    margin-top: 2rem;
    padding: 0.5rem;
    background: linear-gradient(135deg, #e8f5e8 0%, #f1f8e9 100%);
    border: 2px solid #2ecc71;
    border-radius: 15px;
    animation: slideInUp 0.5s ease;
    box-shadow: 0 5px 20px rgba(46, 204, 113, 0.1);
}

.cdb-detailed-explanation h3 {
    color: #2ecc71;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
    border-bottom: 3px solid #2ecc71;
    padding-bottom: 0.8rem;
}

.cdb-legal-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cdb-legal-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e6ed;
    transition: all 0.3s ease;
}

.cdb-legal-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.15);
    border-color: #2ecc71;
}

.cdb-legal-section h4 {
    color: #2ecc71;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid #e8f5e8;
    padding-bottom: 0.8rem;
    padding-top: 0.3rem;
}

.cdb-legal-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background: #e8f5e8;
    border-radius: 10px;
    border-left: 4px solid #2ecc71;
    transition: all 0.3s ease;
}

.cdb-legal-item:hover {
    background: #f1f8e9;
    transform: translateY(-2px);
}

.cdb-legal-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.cdb-legal-content p {
    margin: 0;
    color: #2c3e50;
    line-height: 1.6;
    font-size: 0.95rem;
}

.cdb-legal-content strong {
    color: #2ecc71;
    font-weight: 600;
}

/* Aviso Legal */
.cdb-legal-notice {
    background: #e3f2fd;
    border: 2px solid #2196f3;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.cdb-legal-notice h4 {
    color: #1976d2;
    margin-bottom: 1rem;
}

.cdb-legal-notice p {
    color: #1976d2;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===================================
   ANIMAÇÕES CDB
   ================================== */
@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 CDB
   ================================== */
@media (max-width: 1024px) {
    .cdb-input-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cdb-item-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cdb-header h1 {
        font-size: 2rem;
    }
    
    .cdb-container {
        padding: 1rem;
    }
    
    .cdb-exemplo-grid {
        grid-template-columns: 1fr;
    }
    
    .cdb-daily-grid,
    .cdb-ir-table-complete,
    .cdb-tips-grid {
        grid-template-columns: 1fr;
    }
    
    .cdb-value {
        font-size: 1.8rem;
    }

    .credibilidade-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .credibilidade-badges {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .cdb-header h1 {
        font-size: 1.5rem;
    }
    
    .cdb-calculate-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .cdb-value {
        font-size: 1.5rem;
    }

    .content-block {
        padding: 1.5rem;
    }

    .faq-question {
        padding: 0.8rem 1rem;
    }

    .faq-answer {
        padding: 1rem;
    }

    .credibilidade-container {
        padding: 1.5rem;
    }
}

/* ===================================
   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.cdb-calculator-section .cdb-header h1 {
    color: #27ae60 !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 */
.cdb-calculator-section {
    --primary: #27ae60;
    --primary-financeiro: #27ae60;
}