/* assets/css/comparador-investimentos.css */
/* CSS ISOLADO - Apenas para Calculadora Comparador de Investimentos */
/* 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.comp-calculator-section .comp-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 */
.comp-calculator-section {
    --primary: #27ae60; /* Verde dinheiro */
    --primary-financeiro: #27ae60;
}

/* ===================================
   SEÇÃO DA CALCULADORA COMPARADOR
   ================================== */
.comp-calculator-section {
    margin-bottom: 3rem;
}

.comp-header {
    text-align: center;
    margin-bottom: 2rem;
}

.comp-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.comp-header p {
    font-size: 1.2rem;
    color: #5a6c7d;
}

.comp-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;
}

.comp-inputs h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* ===================================
   DADOS BÁSICOS COMPARADOR - FINANCEIRO
   ================================== */
.comp-dados-basicos {
    background: #e8f5e8; /* Verde claro financeiro */
    border: 2px solid #27ae60; /* Verde dinheiro */
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.comp-input-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.comp-input-group {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.comp-input-group label {
    font-weight: 600;
    color: #27ae60; /* Verde dinheiro */
    font-size: 0.95rem;
}

.comp-input-group input,
.comp-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;
}

.comp-input-group input:focus,
.comp-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);
}

.comp-money-input {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #27ae60; /* Verde dinheiro */
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.comp-money-input:focus-within {
    border-color: #2ecc71; /* Verde crescimento */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

.comp-money-input span {
    background: #27ae60; /* Verde dinheiro */
    color: white;
    padding: 0.8rem 1rem;
    font-weight: bold;
    font-size: 1rem;
}

.comp-money-input input {
    border: none;
    padding: 0.8rem;
    flex: 1;
    font-size: 1rem;
    background: transparent;
}

.comp-money-input input:focus {
    outline: none;
    transform: none;
}

.comp-percent-input {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #27ae60; /* Verde dinheiro */
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.comp-percent-input:focus-within {
    border-color: #2ecc71; /* Verde crescimento */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

.comp-percent-input input {
    border: none;
    padding: 0.8rem;
    flex: 1;
    font-size: 1rem;
    background: transparent;
}

.comp-percent-input span {
    background: #27ae60; /* Verde dinheiro */
    color: white;
    padding: 0.8rem 1rem;
    font-weight: bold;
    font-size: 1rem;
}

/* ===================================
   CONFIGURAÇÃO DE INVESTIMENTOS - CARDS
   ================================== */
.comp-investment-config {
    background: #fff8e1; /* Fundo dourado suave */
    border: 2px solid #f1c40f; /* Dourado riqueza */
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.comp-investment-config h4 {
    color: #f39c12; /* Dourado mais escuro */
    margin-bottom: 1rem;
    text-align: center;
    grid-column: 1 / -1; /* Título ocupa toda largura */
}

.comp-investment-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.comp-investment-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.15);
}

.comp-investment-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #e0e6ed;
    cursor: pointer;
}

.comp-investment-header input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #f1c40f; /* Dourado riqueza */
    flex-shrink: 0;
}

.comp-investment-header label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
    cursor: pointer;
    flex: 1;
}

.comp-investment-params {
    padding: 1rem 1.2rem;
    background: #fafafa;
    border-radius: 0 0 10px 10px;
}

.comp-param-row {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.comp-param-row label {
    font-weight: 600;
    color: #5a6c7d;
    font-size: 0.9rem;
}

.comp-param-row .comp-percent-input {
    width: 100%;
}

.comp-param-row small {
    color: #5a6c7d;
    font-style: italic;
    font-size: 0.85rem;
}

/* Layout em Cards - 2 por linha acima de 800px */
@media (min-width: 800px) {
    .comp-investment-config {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* ===================================
   BOTÃO DE CALCULAR E EXEMPLOS - FINANCEIRO
   ================================== */
.comp-calc-btn {
    background: linear-gradient(135deg, #27ae60, #2ecc71); /* Gradiente verde financeiro */
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin: 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.comp-calc-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.comp-calc-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

/* ===================================
   EXEMPLOS COMPARADOR - FINANCEIRO
   ================================== */
.comp-examples {
    text-align: center;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
}

.comp-examples.hidden {
    display: none;
}

.comp-examples p {
    margin-bottom: 1rem;
    color: #5a6c7d;
}

.comp-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;
}

.comp-example-btn:hover {
    background: #27ae60; /* Verde dinheiro */
    color: white;
    transform: translateY(-2px);
}

/* ===================================
   RESULTADO DA COMPARAÇÃO - FINANCEIRO
   ================================== */
.comp-resultado {
    background: linear-gradient(135deg, #e8f5e8, #d5f4e6); /* Gradiente verde claro */
    border: 2px solid #27ae60; /* Verde dinheiro */
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    animation: slideInUp 0.5s ease;
}

.comp-resultado.hidden {
    display: none;
}

.comp-resultado h3 {
    color: #1e8449; /* Verde escuro */
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.comp-ranking {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.comp-ranking-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #27ae60; /* Verde dinheiro */
    transition: all 0.3s ease;
}

.comp-ranking-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.15);
}

.comp-ranking-item.rank-1 {
    border-left-color: #f1c40f; /* Dourado riqueza */
    background: linear-gradient(135deg, #fef9e7, #fcf3cf); /* Fundo dourado suave */
}

.comp-ranking-item.rank-2 {
    border-left-color: #95a5a6; /* Prata */
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.comp-ranking-item.rank-3 {
    border-left-color: #d35400; /* Bronze */
    background: linear-gradient(135deg, #fff2e6, #ffe0cc);
}

.comp-item-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.comp-item-icon {
    font-size: 2rem;
    width: 60px;
    text-align: center;
}

.comp-item-details h4 {
    color: #2c3e50;
    margin: 0;
    font-size: 1.2rem;
}

.comp-item-details p {
    color: #5a6c7d;
    margin: 0.3rem 0 0 0;
    font-size: 0.9rem;
}

.comp-item-values {
    text-align: right;
}

.comp-valor-final {
    font-size: 1.4rem;
    font-weight: bold;
    color: #1e8449; /* Verde escuro financeiro */
    margin: 0;
}

.comp-rendimento {
    font-size: 1rem;
    color: #27ae60; /* Verde dinheiro */
    margin: 0.3rem 0 0 0;
}

.comp-ranking-position {
    background: #27ae60; /* Verde dinheiro */
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    margin-right: 1rem;
}

.comp-ranking-item.rank-1 .comp-ranking-position {
    background: #f1c40f; /* Dourado riqueza */
    color: #f39c12; /* Dourado escuro */
}

.comp-ranking-item.rank-2 .comp-ranking-position {
    background: #95a5a6; /* Prata */
    color: #5d6d7e;
}

.comp-ranking-item.rank-3 .comp-ranking-position {
    background: #d35400; /* Bronze */
    color: white;
}

/* ===================================
   EXPLICAÇÃO DETALHADA COMPARADOR - FINANCEIRO
   ================================== */
.comp-explanation {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #e1f5fe, #b3e5fc);
    border: 2px solid #03a9f4;
    border-radius: 15px;
    animation: slideInUp 0.5s ease;
}

.comp-explanation.hidden {
    display: none;
}

.comp-explanation h4 {
    color: #0277bd;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
    border-bottom: 3px solid #03a9f4;
    padding-bottom: 0.8rem;
}

.comp-calculation-details {
    display: grid;
    gap: 1.5rem;
}

.comp-calc-step {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #03a9f4;
    margin: 10px;
}

.comp-calc-step h5 {
    color: #0277bd;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.comp-calc-step p {
    margin: 0.3rem 0;
    font-family: 'Courier New', monospace;
    color: #444;
}

.comp-final-summary {
    background: #03a9f4;
    color: white;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 1.5rem;
}

.comp-final-summary h5 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.comp-final-summary p {
    margin: 0;
    font-family: inherit;
    font-size: 1rem;
}

/* ===================================
   CONTEÚDO EDUCACIONAL COMPARADOR - FINANCEIRO
   ================================== */
.comp-educational-content {
    margin-top: 3rem;
}

.comp-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;
}

.comp-content-block h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 3px solid #27ae60; /* Verde dinheiro */
    padding-bottom: 0.5rem;
}

.comp-content-block h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    border-bottom: 3px solid #27ae60; /* Verde dinheiro */
    padding-bottom: 0.5rem;
}

.comp-content-block p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
}

.comp-content-block ul {
    list-style: none;
    padding-left: 0;
}

.comp-content-block li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.comp-content-block li:last-child {
    border-bottom: none;
}

.comp-investment-guide {
    display: grid;
    gap: 2rem;
}

.comp-guide-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    border-left: 5px solid #27ae60; /* Verde dinheiro */
}

.comp-guide-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: none;
}

.comp-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.comp-tip-item {
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.comp-tip-item.urgente {
    background: #ffebee;
    border: 2px solid #f44336;
}

.comp-tip-item.importante {
    background: #e8f5e8; /* Verde claro financeiro */
    border: 2px solid #27ae60; /* Verde dinheiro */
}

.comp-tip-item.atencao {
    background: #fff8e1; /* Fundo dourado suave */
    border: 2px solid #f1c40f; /* Dourado riqueza */
}

.comp-tip-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.comp-tip-item h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.comp-tip-item.urgente h4 {
    color: #d32f2f;
}

.comp-tip-item.importante h4 {
    color: #1e8449; /* Verde escuro financeiro */
}

.comp-tip-item.atencao h4 {
    color: #f39c12; /* Dourado escuro */
}

/* ===================================
   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);
}

/* ===================================
   EXPLICAÇÃO LEGAL COMPARADOR - FINANCEIRO
   ================================== */
.comp-detailed-explanation {
    margin-top: 2rem;
    padding: 0.5rem;
    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);
}

.comp-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;
}

.comp-legal-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.comp-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;
}

.comp-legal-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(241, 196, 15, 0.15);
    border-color: #f1c40f; /* Dourado riqueza */
}

.comp-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;
}

.comp-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;
}

.comp-legal-item:hover {
    background: #fff3e0; /* Dourado mais escuro */
    transform: translateY(-2px);
}

.comp-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;
}

.comp-legal-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.comp-legal-content p {
    margin: 0;
    color: #2c3e50;
    line-height: 1.6;
    font-size: 0.95rem;
}

.comp-legal-content strong {
    color: #f39c12; /* Dourado escuro */
    font-weight: 600;
}

.comp-legal-footer {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
}

.comp-legal-footer p {
    margin: 0.5rem 0;
    color: #856404;
    font-size: 0.9rem;
    line-height: 1.5;
}

.comp-legal-footer p:first-child {
    font-weight: 600;
    color: #854d0e;
}

.comp-legal-footer strong {
    color: #854d0e;
}

/* ===================================
   ANIMAÇÕES COMPARADOR
   ================================== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   RESPONSIVIDADE COMPARADOR
   ================================== */
@media (max-width: 1024px) {
    .comp-input-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .comp-tips-grid {
        grid-template-columns: 1fr;
    }
    
    .credibilidade-badges {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 800px) {
    .comp-investment-config {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .comp-header h1 {
        font-size: 2rem;
    }
    
    .comp-container {
        padding: 1rem;
    }
    
    .comp-dados-basicos,
    .comp-investment-config {
        padding: 1rem;
    }
    
    .comp-ranking-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .comp-item-values {
        text-align: center;
    }
    
    .comp-investment-header {
        flex-wrap: wrap;
    }
    
    .credibilidade-header {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .comp-header h1 {
        font-size: 1.8rem;
    }
    
    .comp-header p {
        font-size: 1rem;
    }
    
    .comp-calc-btn {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .comp-legal-artigo {
        min-width: auto;
        text-align: left;
    }
    
    .credibilidade-container {
        padding: 1.5rem;
    }
    
    .credibilidade-title {
        font-size: 1.3rem;
    }
}