/* assets/css/come-cotas.css */
/* CSS ISOLADO - Apenas para Calculadora de Come-Cotas */
/* CORES FINANCEIRO: Verde dinheiro + dourado riqueza */

/* ===================================
   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.come-calculator-section .come-header h1 {
    color: #27ae60 !important; /* Verde dinheiro */
    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 */
.come-calculator-section {
    --primary: #27ae60; /* Verde dinheiro */
    --primary-financeiro: #27ae60;
}

/* ===================================
   SEÇÃO DA CALCULADORA COME-COTAS
   ================================== */
.come-calculator-section {
    margin-bottom: 3rem;
}

.come-header {
    text-align: center;
    margin-bottom: 2rem;
}

.come-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.come-header p {
    font-size: 1.2rem;
    color: #5a6c7d;
}

.come-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;
}

.come-inputs h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* ===================================
   DADOS BÁSICOS COME-COTAS - FINANCEIRO
   ================================== */
.come-dados-basicos {
    background: #e8f5e8; /* Verde claro financeiro */
    border: 2px solid #27ae60; /* Verde dinheiro */
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.come-input-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.come-input-group {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.come-input-group label {
    font-weight: 600;
    color: #1e8449; /* Verde escuro financeiro */
    font-size: 0.95rem;
}

.come-input-group input,
.come-input-group select {
    padding: 0.8rem;
    border: 2px solid #27ae60; /* Verde dinheiro */
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
}

.come-input-group input:focus,
.come-input-group select:focus {
    outline: none;
    border-color: #2ecc71; /* Verde crescimento */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

.come-money-input,
.come-percent-input,
.come-time-input {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #27ae60; /* Verde dinheiro */
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.come-money-input:focus-within,
.come-percent-input:focus-within,
.come-time-input:focus-within {
    border-color: #2ecc71; /* Verde crescimento */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

.come-money-input span:first-child,
.come-time-input span:last-child {
    background: #27ae60; /* Verde dinheiro */
    color: white;
    padding: 0.8rem 1rem;
    font-weight: bold;
    font-size: 1rem;
}

.come-percent-input span:last-child {
    background: #27ae60; /* Verde dinheiro */
    color: white;
    padding: 0.8rem 1rem;
    font-weight: bold;
    font-size: 1rem;
}

.come-money-input input,
.come-percent-input input,
.come-time-input input {
    border: none;
    padding: 0.8rem;
    flex: 1;
    font-size: 1rem;
    background: transparent;
}

.come-money-input input:focus,
.come-percent-input input:focus,
.come-time-input input:focus {
    outline: none;
    transform: none;
    box-shadow: none;
}

/* ===================================
   BOTÃO CALCULAR COME-COTAS - FINANCEIRO
   ================================== */
.come-calculate-section {
    text-align: center;
    margin: 2rem 0;
}

.come-calculate-btn {
    background: linear-gradient(135deg, #27ae60, #2ecc71); /* Gradiente verde 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);
}

.come-calculate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
    background: linear-gradient(135deg, #2ecc71, #1e8449);
}

.come-calculate-btn:active {
    transform: translateY(-1px);
}

/* ===================================
   RESULTADO COME-COTAS - FINANCEIRO
   ================================== */
.come-resultado {
    background: linear-gradient(135deg, #e8f5e8, #d5f4e6); /* Verde claro financeiro */
    border: 2px solid #27ae60; /* Verde dinheiro */
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    animation: slideInUp 0.5s ease;
}

.come-resultado h3 {
    color: #1e8449; /* Verde escuro financeiro */
    margin-bottom: 1.5rem;
    text-align: center;
}

.come-resultado-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Resultado Principal - Financeiro */
.come-resultado-principal {
    background: #27ae60; /* Verde dinheiro */
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.come-resultado-principal h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.come-valor-impacto {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.come-currency {
    font-size: 1.3rem;
    opacity: 0.8;
}

.come-value {
    font-size: 2.2rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.come-percent-impacto {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.come-percent-impacto span:first-child {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff3e0; /* Dourado suave */
}

.come-unit {
    opacity: 0.8;
    font-size: 0.9rem;
}

.come-periodo {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Comparativo - Financeiro */
.come-comparativo {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e0e6ed;
}

.come-comparativo h4 {
    color: #1e8449; /* Verde escuro financeiro */
    margin-bottom: 1rem;
    border-bottom: 2px solid #27ae60; /* Verde dinheiro */
    padding-bottom: 0.5rem;
}

.come-comp-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.come-comp-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.come-comp-item.sem-come {
    background: #e8f5e8; /* Verde claro financeiro */
    border-left: 4px solid #27ae60; /* Verde dinheiro */
}

.come-comp-item.com-come {
    background: #fff3e0; /* Fundo dourado suave */
    border-left: 4px solid #f39c12; /* Dourado escuro */
}

.come-comp-item.diferenca {
    background: #ffebee;
    border-left: 4px solid #e74c3c;
    font-weight: bold;
}

.come-comp-item:hover {
    transform: translateX(5px);
}

.come-comp-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.come-comp-value {
    font-weight: bold;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
}

.come-comp-item.sem-come .come-comp-value {
    color: #1e8449; /* Verde escuro financeiro */
}

.come-comp-item.com-come .come-comp-value {
    color: #f39c12; /* Dourado escuro */
}

.come-comp-item.diferenca .come-comp-value {
    color: #c0392b;
}

/* Detalhamento - Financeiro */
.come-detalhamento {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e0e6ed;
}

.come-detalhamento h4 {
    color: #1e8449; /* Verde escuro financeiro */
    margin-bottom: 1rem;
    border-bottom: 2px solid #27ae60; /* Verde dinheiro */
    padding-bottom: 0.5rem;
}

.come-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.come-semestre-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #27ae60; /* Verde dinheiro */
}

.come-semestre-numero {
    background: #27ae60; /* Verde dinheiro */
    color: white;
    padding: 0.5rem;
    border-radius: 50%;
    min-width: 40px;
    text-align: center;
    font-weight: bold;
}

.come-semestre-info {
    flex: 1;
}

.come-semestre-info h5 {
    color: #1e8449; /* Verde escuro financeiro */
    margin-bottom: 0.3rem;
}

.come-semestre-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #5a6c7d;
}

/* Estratégias - Financeiro */
.come-estrategias {
    background: #e8f5e8; /* Verde claro financeiro */
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #27ae60; /* Verde dinheiro */
}

.come-estrategias h4 {
    color: #1e8449; /* Verde escuro financeiro */
    margin-bottom: 1rem;
    border-bottom: 2px solid #27ae60; /* Verde dinheiro */
    padding-bottom: 0.5rem;
}

.come-estrategia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.come-estrategia-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #27ae60; /* Verde dinheiro */
    transition: all 0.3s ease;
}

.come-estrategia-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

.come-estrategia-item h5 {
    color: #1e8449; /* Verde escuro financeiro */
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.come-estrategia-item p {
    margin: 0;
    font-size: 0.85rem;
    color: #27ae60; /* Verde dinheiro */
}

/* Aviso Legal */
.come-aviso-legal {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
}

.come-aviso-legal p {
    margin: 0;
    color: #856404;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===================================
   EXPLICAÇÃO DO CÁLCULO COME-COTAS - FINANCEIRO
   ================================== */
.come-explanation {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #e8f5e8, #d5f4e6); /* Verde claro financeiro */
    border: 2px solid #27ae60; /* Verde dinheiro */
    border-radius: 12px;
    animation: slideInUp 0.5s ease;
}

.come-explanation h3 {
    color: #1e8449; /* Verde escuro financeiro */
    margin-bottom: 1rem;
    text-align: center;
}

.come-step {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #27ae60; /* Verde dinheiro */
}

.come-step h4 {
    color: #1e8449; /* Verde escuro financeiro */
    margin-bottom: 0.5rem;
}

.come-step p {
    margin: 0.3rem 0;
    font-family: 'Courier New', monospace;
    color: #444;
}

/* ===================================
   FAQ - FINANCEIRO
   ================================== */
.faq-container {
    margin-top: 1.5rem;
}

.faq-item {
    background: white;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #27ae60; /* Verde dinheiro */
    box-shadow: 0 2px 10px rgba(39, 174, 96, 0.1);
}

.faq-question {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e0e6ed;
}

.faq-question:hover {
    background: #e8f5e8; /* Verde claro financeiro */
    color: #1e8449; /* Verde escuro */
}

.faq-answer {
    padding: 1.5rem;
    background: white;
}

.faq-answer p {
    margin-bottom: 1rem;
    color: #444;
    line-height: 1.6;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* ===================================
   REFERÊNCIAS - FINANCEIRO
   ================================== */
.referencias-container {
    margin-top: 1.5rem;
}

.referencias-lista {
    list-style: none;
    padding: 0;
}

.referencia-item {
    background: #f8f9fa;
    padding: 1rem;
    margin-bottom: 0.8rem;
    border-radius: 8px;
    border-left: 4px solid #27ae60; /* Verde dinheiro */
    transition: all 0.3s ease;
}

.referencia-item:hover {
    background: #e8f5e8; /* Verde claro financeiro */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(39, 174, 96, 0.1);
}

/* ===================================
   CREDIBILIDADE - FINANCEIRO
   ================================== */
.credibilidade-container {
    background: linear-gradient(135deg, #e8f5e8, #d5f4e6); /* Verde claro financeiro */
    border: 2px solid #27ae60; /* Verde dinheiro */
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 5px 20px rgba(39, 174, 96, 0.1);
}

.credibilidade-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.credibilidade-icon {
    font-size: 2.5rem;
    color: #f1c40f; /* Dourado riqueza */
}

.credibilidade-title {
    color: #1e8449; /* Verde escuro financeiro */
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

.credibilidade-content {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.credibilidade-logo {
    color: #27ae60; /* Verde dinheiro */
    font-weight: 700;
    text-decoration: underline;
}

.credibilidade-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.credibilidade-badge {
    background: white;
    color: #1e8449; /* Verde escuro financeiro */
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    border: 2px solid #27ae60; /* Verde dinheiro */
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.credibilidade-badge:hover {
    background: #27ae60; /* Verde dinheiro */
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(39, 174, 96, 0.2);
}

/* ===================================
   EXEMPLOS E AJUDA COME-COTAS - FINANCEIRO
   ================================== */
.come-examples {
    text-align: center;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
}

.come-examples.hidden {
    display: none;
}

.come-examples p {
    margin-bottom: 1rem;
    color: #5a6c7d;
}

.come-example-btn {
    background: #e8f5e8; /* Verde claro financeiro */
    border: 2px solid #27ae60; /* Verde dinheiro */
    color: #1e8449; /* Verde escuro */
    padding: 0.6rem 1.2rem;
    margin: 0.3rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.come-example-btn:hover {
    background: #27ae60; /* Verde dinheiro */
    color: white;
    transform: translateY(-2px);
}

.come-help {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #fff3cd;
    border-radius: 8px;
    border: 1px solid #ffeaa7;
    transition: all 0.3s ease;
}

.come-help.hidden {
    display: none;
}

/* ===================================
   CONTEÚDO EDUCACIONAL COME-COTAS - FINANCEIRO
   ================================== */
.come-educational-content {
    margin-top: 3rem;
}

.come-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;
}

.come-content-block h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 3px solid #27ae60; /* Verde dinheiro */
    padding-bottom: 0.5rem;
}

.come-content-block h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    border-bottom: 3px solid #27ae60; /* Verde dinheiro */
    padding-bottom: 0.5rem;
}

.come-content-block p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
}

.come-content-block strong {
    color: #27ae60; /* Verde dinheiro */
}

.come-formula-display {
    background: linear-gradient(135deg, #e8f5e8, #d5f4e6); /* Verde claro financeiro */
    border: 2px solid #27ae60; /* Verde dinheiro */
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
}

.come-formula-display h4 {
    color: #1e8449; /* Verde escuro financeiro */
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.come-formula-display .formula p {
    margin: 0.5rem 0;
    font-family: 'Courier New', monospace;
    color: #1e8449; /* Verde escuro financeiro */
    font-weight: 600;
    font-size: 0.95rem;
}

.come-examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.come-example-item {
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
    border: 1px solid #e0e6ed;
}

.come-example-item.impacto {
    background: #fff3e0; /* Fundo dourado suave */
    border-color: #f39c12; /* Dourado escuro */
}

.come-example-item.positivo {
    background: #e8f5e8; /* Verde claro financeiro */
    border-color: #27ae60; /* Verde dinheiro */
}

.come-example-item.estrategia {
    background: #e3f2fd;
    border-color: #2196f3;
}

.come-example-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.come-example-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.come-example-item.impacto .come-example-icon {
    color: #f39c12; /* Dourado escuro */
}

.come-example-item.positivo .come-example-icon {
    color: #27ae60; /* Verde dinheiro */
}

.come-example-item.estrategia .come-example-icon {
    color: #2196f3;
}

.come-example-item h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.come-example-item p {
    color: #5a6c7d;
    font-size: 0.95rem;
    margin: 0;
}

.come-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.come-tip-item {
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid #e0e6ed;
}

.come-tip-item.estrategia {
    background: #e8f5e8; /* Verde claro financeiro */
    border-color: #27ae60; /* Verde dinheiro */
}

.come-tip-item.calculadora {
    background: #fff3e0; /* Fundo dourado suave */
    border-color: #f39c12; /* Dourado escuro */
}

.come-tip-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.come-tip-item h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.come-tip-item.estrategia h4 {
    color: #1e8449; /* Verde escuro financeiro */
}

.come-tip-item.calculadora h4 {
    color: #f39c12; /* Dourado escuro */
}

.come-tip-item p {
    margin: 0;
    font-size: 0.95rem;
}

.come-tip-item.estrategia p {
    color: #1e8449; /* Verde escuro financeiro */
}

.come-tip-item.calculadora p {
    color: #f39c12; /* Dourado escuro */
}

.come-example-solution {
    background: linear-gradient(135deg, #e8f5e8, #d5f4e6); /* Verde claro financeiro */
    border: 2px solid #27ae60; /* Verde dinheiro */
    border-radius: 12px;
    padding: 2rem;
    margin-top: 1.5rem;
}

.come-example-solution h4 {
    color: #1e8449; /* Verde escuro financeiro */
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
}

.come-solution-step {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #27ae60; /* Verde dinheiro */
}

.come-solution-step h5 {
    color: #1e8449; /* Verde escuro financeiro */
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.come-solution-step p {
    margin: 0.3rem 0;
    font-family: 'Courier New', monospace;
    color: #444;
}

.come-solution-final {
    background: #27ae60; /* Verde dinheiro */
    color: white;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 1rem;
}

.come-solution-final h5 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.come-solution-final p {
    margin: 0;
    font-family: inherit;
}

/* ===================================
   EXPLICAÇÃO DETALHADA LEGAL COME-COTAS - FINANCEIRO
   ================================== */
.come-detailed-explanation {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #fff8e1, #fff3e0); /* Fundo dourado suave */
    border: 2px solid #f1c40f; /* Dourado riqueza */
    border-radius: 15px;
    animation: slideInUp 0.5s ease;
    box-shadow: 0 5px 20px rgba(241, 196, 15, 0.1);
}

.come-detailed-explanation h3 {
    color: #f39c12; /* Dourado escuro */
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
    border-bottom: 3px solid #f1c40f; /* Dourado riqueza */
    padding-bottom: 0.8rem;
}

.come-legal-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.come-legal-section {
    background: white;
    border-radius: 12px;
    padding: 0.55rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e6ed;
    transition: all 0.3s ease;
}

.come-legal-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(241, 196, 15, 0.15);
    border-color: #f1c40f; /* Dourado riqueza */
}

.come-legal-section h4 {
    color: #f39c12; /* Dourado escuro */
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid #fff8e1; /* Fundo dourado suave */
    padding-bottom: 0.8rem;
    padding-top: 0.3rem;
}

.come-legal-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background: #fff8e1; /* Fundo dourado suave */
    border-radius: 10px;
    border-left: 4px solid #f1c40f; /* Dourado riqueza */
    transition: all 0.3s ease;
}

.come-legal-item:hover {
    background: #fff3e0; /* Dourado mais escuro */
    transform: translateY(-2px);
}

.come-legal-artigo {
    background: #f1c40f; /* Dourado riqueza */
    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(241, 196, 15, 0.3);
    align-self: flex-start;
    min-width: 200px;
}

.come-legal-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.come-legal-content p {
    margin: 0;
    color: #2c3e50;
    line-height: 1.6;
    font-size: 0.95rem;
}

.come-legal-content strong {
    color: #f39c12; /* Dourado escuro */
    font-weight: 600;
}

.come-calculo-detalhe {
    background: #e8f5e8; /* Verde claro financeiro */
    border: 1px solid #27ae60; /* Verde dinheiro */
    border-radius: 10px;
    padding: 1.2rem;
    margin-top: 0.5rem;
    width: 100%;
}

.come-calculo-detalhe p {
    font-family: 'Courier New', monospace;
    color: #1e8449; /* Verde escuro financeiro */
    font-size: 0.9rem;
    margin: 0.4rem 0;
    line-height: 1.5;
}

.come-calculo-detalhe p:first-child {
    font-weight: bold;
    color: #27ae60; /* Verde dinheiro */
    font-size: 1rem;
    margin-bottom: 0.8rem;
    font-family: inherit;
}

.come-calculo-detalhe p strong {
    color: #27ae60; /* Verde dinheiro */
    font-weight: bold;
}

.come-legal-footer {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
}

.come-legal-footer p {
    margin: 0.5rem 0;
    color: #856404;
    font-size: 0.9rem;
    line-height: 1.5;
}

.come-legal-footer p:first-child {
    font-weight: 600;
    color: #854d0e;
}

.come-legal-footer strong {
    color: #854d0e;
}

/* ===================================
   ANIMAÇÕES COME-COTAS
   ================================== */
@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 COME-COTAS
   ================================== */
@media (max-width: 1024px) {
    .come-input-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .come-estrategia-grid {
        grid-template-columns: 1fr;
    }
    
    .credibilidade-badges {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .come-header h1 {
        font-size: 2rem;
    }
    
    .come-container {
        padding: 1rem;
    }
    
    .come-dados-basicos {
        padding: 1rem;
    }
    
    .come-input-group {
        min-width: auto;
    }
    
    .come-calculate-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .come-value {
        font-size: 1.8rem;
    }
    
    .come-comp-grid {
        gap: 0.6rem;
    }
    
    .come-comp-item {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .come-examples-grid,
    .come-tips-grid {
        grid-template-columns: 1fr;
    }
    
    .credibilidade-header {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .come-header h1 {
        font-size: 1.8rem;
    }
    
    .come-container {
        padding: 0.8rem;
    }
    
    .come-dados-basicos {
        padding: 0.8rem;
    }
    
    .come-calculate-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .come-value {
        font-size: 1.5rem;
    }
    
    .come-currency {
        font-size: 1.1rem;
    }
    
    .come-comp-item {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .come-example-icon {
        font-size: 2rem;
    }
    
    .credibilidade-container {
        padding: 1.5rem;
    }
    
    .credibilidade-title {
        font-size: 1.3rem;
    }
}