/* assets/css/rotativo-cartao.css */
/* CSS COMPLETO - Calculadora de Rotativo do Cartão - ÁREA BANCÁRIA */

/* ===================================
   VARIÁVEIS DE CORES BANCÁRIAS
   ================================== */
:root {
    --primary: #1e40af;          /* Azul bancário confiança */
    --secondary: #1e3a8a;        /* Azul escuro institucional */
    --accent: #f59e0b;           /* Dourado prosperidade */
    --light: #eff6ff;            /* Fundo azul bem claro */
    --gradient: linear-gradient(135deg, #1e40af, #1e3a8a);
    
    /* Cores complementares */
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    --info: #0ea5e9;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border: #d1d5db;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
}

/* ===================================
   SEÇÃO DA CALCULADORA ROTATIVO
   ================================== */
.rotativo-calculator-section {
    margin-bottom: 3rem;
}

.rotativo-header {
    text-align: center;
    margin-bottom: 2rem;
}

.rotativo-header h1 {
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 700;
}

.rotativo-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.rotativo-container {
    background: var(--white);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(30, 64, 175, 0.1);
    border: 2px solid var(--light);
    transition: all 0.3s ease;
}

.rotativo-container:hover {
    box-shadow: 0 12px 40px rgba(30, 64, 175, 0.15);
    transform: translateY(-2px);
}

.rotativo-inputs h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.4rem;
}

/* ===================================
   SISTEMA DE ABAS ESPECÍFICO ROTATIVO
   ================================== */
.rotativo-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--light);
    padding-bottom: 1rem;
}

.rotativo-tab-btn {
    background: var(--light);
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 120px;
}

.rotativo-tab-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
}

.rotativo-tab-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--secondary);
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
}

/* ===================================
   CONTEÚDO DAS ABAS ROTATIVO
   ================================== */
.rotativo-tab-content {
    display: none;
}

.rotativo-tab-content.active {
    display: block;
    animation: fadeInRotativoTab 0.3s ease;
}

@keyframes fadeInRotativoTab {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   DADOS PRINCIPAIS ROTATIVO
   ================================== */
.rotativo-dados-principais {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.rotativo-dados-principais:hover {
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.12);
}

.rotativo-input-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.rotativo-input-group {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rotativo-input-group label {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.rotativo-input-group input,
.rotativo-input-group select {
    padding: 0.8rem 1rem;
    border: 2px solid var(--primary);
    border-radius: 10px;
    font-size: 1rem;
    background: var(--white);
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.rotativo-input-group input:focus,
.rotativo-input-group select:focus {
    outline: none;
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.2);
}

.rotativo-money-input {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.rotativo-money-input:focus-within {
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.2);
}

.rotativo-money-input span {
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 1rem;
    font-weight: bold;
    font-size: 1rem;
}

.rotativo-money-input input {
    border: none;
    padding: 0.8rem 1rem;
    flex: 1;
    font-size: 1rem;
    background: transparent;
    color: var(--text-primary);
}

.rotativo-money-input input:focus {
    outline: none;
    transform: none;
    box-shadow: none;
}

.rotativo-percent-input {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.rotativo-percent-input:focus-within {
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.2);
}

.rotativo-percent-input input {
    border: none;
    padding: 0.8rem 1rem;
    flex: 1;
    font-size: 1rem;
    background: transparent;
    color: var(--text-primary);
}

.rotativo-percent-input span {
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 1rem;
    font-weight: bold;
    font-size: 1rem;
}

/* ===================================
   BOTÃO CALCULAR ROTATIVO
   ================================== */
.rotativo-calculate-section {
    text-align: center;
    margin: 2.5rem 0;
}

.rotativo-calculate-btn {
    background: var(--gradient);
    color: var(--white);
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3);
}

.rotativo-calculate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.4);
}

.rotativo-calculate-btn:active {
    transform: translateY(-1px);
}

/* ===================================
   RESULTADO DO ROTATIVO
   ================================== */
.rotativo-resultado {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(185, 28, 28, 0.02));
    border: 2px solid var(--danger);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 2rem;
    animation: slideInUp 0.5s ease;
}

.rotativo-resultado h3 {
    color: var(--danger);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.5rem;
}

.rotativo-resultado-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Resultado Principal */
.rotativo-resultado-principal {
    background: var(--danger);
    color: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rotativo-resultado-principal h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.rotativo-valor-principal {
    font-size: 2.5rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    margin-bottom: 0.8rem;
}

.rotativo-comparacao-principal {
    font-size: 1rem;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Cards de Comparação */
.rotativo-comparacao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.rotativo-comparacao-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.rotativo-comparacao-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.rotativo-comparacao-item.melhor {
    border-color: var(--success);
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.05), rgba(16, 185, 129, 0.02));
}

.rotativo-comparacao-item.pior {
    border-color: var(--danger);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(185, 28, 28, 0.02));
}

.rotativo-comparacao-item h5 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.rotativo-comparacao-valor {
    font-size: 2rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    margin-bottom: 1rem;
}

.rotativo-comparacao-item.melhor .rotativo-comparacao-valor {
    color: var(--success);
}

.rotativo-comparacao-item.pior .rotativo-comparacao-valor {
    color: var(--danger);
}

.rotativo-comparacao-detalhes {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.rotativo-economia {
    background: var(--success);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(5, 150, 105, 0.3);
}

.rotativo-prejuizo {
    background: var(--danger);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.3);
}

/* Tabela de Evolução */
.rotativo-evolucao-table {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 2rem;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--border);
}

.rotativo-evolucao-table table {
    width: 100%;
    border-collapse: collapse;
}

.rotativo-evolucao-table th {
    background: var(--primary);
    color: var(--white);
    padding: 1.2rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.rotativo-evolucao-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.rotativo-evolucao-table tr:nth-child(even) {
    background: var(--gray-50);
}

.rotativo-evolucao-table tr:hover {
    background: var(--light);
}

/* ===================================
   EXPLICAÇÃO DO CÁLCULO ROTATIVO
   ================================== */
.rotativo-explanation {
    margin-top: 2rem;
    padding: 0.5rem;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 16px;
    animation: slideInUp 0.5s ease;
}

.rotativo-explanation h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.rotativo-step {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.rotativo-step:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(30, 64, 175, 0.1);
}

.rotativo-step h4 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.rotativo-step p {
    margin: 0.5rem 0;
    font-family: 'Courier New', monospace;
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* ===================================
   EXEMPLOS E AJUDA ROTATIVO
   ================================== */
.rotativo-examples {
    text-align: center;
    margin: 2rem 0;
    transition: all 0.3s ease;
}

.rotativo-examples.hidden {
    display: none;
}

.rotativo-examples p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.rotativo-example-btn {
    background: var(--light);
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.8rem 1.5rem;
    margin: 0.4rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.rotativo-example-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
}

.rotativo-help {
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.05));
    border-radius: 12px;
    border: 2px solid var(--accent);
    transition: all 0.3s ease;
}

.rotativo-help.hidden {
    display: none;
}

.rotativo-help p {
    margin: 0;
    color: var(--accent);
    font-weight: 500;
}

/* ===================================
   CONTEÚDO EDUCACIONAL ROTATIVO
   ================================== */
.rotativo-educational-content {
    margin-top: 4rem;
}

.rotativo-content-block {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--light);
    transition: all 0.3s ease;
}

.rotativo-content-block:hover {
    box-shadow: 0 10px 35px rgba(30, 64, 175, 0.1);
    transform: translateY(-2px);
}

.rotativo-content-block h2 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 2rem;
    border-bottom: 4px solid var(--primary);
    padding-bottom: 0.8rem;
    font-weight: 600;
}

.rotativo-content-block p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
}

.rotativo-content-block strong {
    color: var(--primary);
    font-weight: 600;
}

/* Formula Display Rotativo */
.rotativo-formula-display {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.rotativo-formula-display h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.rotativo-formula-display .formula p {
    margin: 0.8rem 0;
    font-family: 'Courier New', monospace;
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
}

/* Grids Exemplos e Dicas Rotativo */
.rotativo-examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.rotativo-example-item {
    background: var(--gray-50);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.rotativo-example-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.1);
    border-color: var(--primary);
}

.rotativo-example-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.rotativo-example-item h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.rotativo-example-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

.rotativo-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.rotativo-tip-item {
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 2px solid;
}

.rotativo-tip-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.rotativo-tip-item.urgente {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(185, 28, 28, 0.02));
    border-color: var(--danger);
}

.rotativo-tip-item.importante {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(217, 119, 6, 0.02));
    border-color: var(--accent);
}

.rotativo-tip-item.atencao {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.05), rgba(124, 58, 237, 0.02));
    border-color: #8b5cf6;
}

.rotativo-tip-item.dica {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.05), rgba(16, 185, 129, 0.02));
    border-color: var(--success);
}

.rotativo-tip-item.estrategia {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05), rgba(30, 58, 138, 0.02));
    border-color: var(--primary);
}

.rotativo-tip-item.prevencao {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.05), rgba(180, 83, 9, 0.02));
    border-color: var(--warning);
}

.rotativo-tip-item h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.rotativo-tip-item.urgente h4 { color: var(--danger); }
.rotativo-tip-item.importante h4 { color: var(--accent); }
.rotativo-tip-item.atencao h4 { color: #8b5cf6; }
.rotativo-tip-item.dica h4 { color: var(--success); }
.rotativo-tip-item.estrategia h4 { color: var(--primary); }
.rotativo-tip-item.prevencao h4 { color: var(--warning); }

.rotativo-tip-item p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
}

/* Exemplo de Solução Rotativo */
.rotativo-example-solution {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 2rem;
}

.rotativo-example-solution h4 {
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
}

.rotativo-solution-step {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.rotativo-solution-step:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.1);
}

.rotativo-solution-step h5 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.rotativo-solution-step p {
    margin: 0.5rem 0;
    font-family: 'Courier New', monospace;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.rotativo-solution-final {
    background: var(--success);
    color: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-top: 1.5rem;
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.3);
}

.rotativo-solution-final h5 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.rotativo-solution-final p {
    margin: 0.5rem 0;
    font-family: 'Courier New', monospace;
}

/* Direitos do Consumidor */
.rotativo-direitos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.rotativo-direito-item {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.05), rgba(16, 185, 129, 0.02));
    border: 2px solid var(--success);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.rotativo-direito-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.rotativo-direito-item h4 {
    color: var(--success);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.rotativo-direito-item p {
    margin: 0.8rem 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.rotativo-direito-item strong {
    color: var(--success);
    font-weight: 600;
}

/* ===================================
   FAQ, CREDIBILIDADE E REFERÊNCIAS
   ================================== */
.content-block {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--light);
    transition: all 0.3s ease;
}

.content-block:hover {
    box-shadow: 0 10px 35px rgba(30, 64, 175, 0.1);
    transform: translateY(-2px);
}

.content-block h3 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    border-bottom: 4px solid var(--primary);
    padding-bottom: 0.8rem;
    font-weight: 600;
}

/* FAQ Styles */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(30, 64, 175, 0.1);
}

.faq-item[open] {
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.15);
}

.faq-question {
    background: var(--primary);
    color: var(--white);
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    list-style: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question:hover {
    background: var(--secondary);
}

.faq-question::after {
    content: "▼";
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 1.5rem;
    background: var(--white);
}

.faq-answer p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 1rem;
}

.faq-answer strong {
    color: var(--primary);
    font-weight: 600;
}

/* Credibilidade Styles */
.credibilidade-container {
    background: linear-gradient(135deg, var(--light), rgba(30, 64, 175, 0.05));
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.credibilidade-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.credibilidade-icon {
    font-size: 2.5rem;
    color: var(--primary);
}

.credibilidade-title {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.credibilidade-content {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.credibilidade-logo {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.credibilidade-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.credibilidade-badge {
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(30, 64, 175, 0.2);
}

/* Referências Styles */
.referencias-container {
    margin-top: 1.5rem;
}

.referencias-lista {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.referencia-item {
    background: var(--light);
    border-left: 4px solid var(--primary);
    padding: 1.2rem 1.5rem;
    border-radius: 0 10px 10px 0;
    transition: all 0.3s ease;
    position: relative;
}

.referencia-item:hover {
    background: rgba(30, 64, 175, 0.08);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.1);
}

.referencia-item::before {
    content: "📖";
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.referencia-item em {
    color: var(--primary);
    font-weight: 600;
}

/* ===== SUPORTE PARA CARDS DINÂMICOS DO JAVASCRIPT ===== */
.calc-explanation,
.calc-legal {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 2rem;
    margin: 1.5rem 0;
    animation: slideInUp 0.5s ease;
}

.calc-explanation h3,
.calc-legal h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.calc-explanation h4,
.calc-legal h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.calc-explanation p,
.calc-legal p {
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.calc-explanation strong,
.calc-legal strong {
    color: var(--primary);
    font-weight: 600;
}

/* ===================================
   ANIMAÇÕES ROTATIVO
   ================================== */
@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 ROTATIVO
   ================================== */
@media (max-width: 1024px) {
    .rotativo-input-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .rotativo-resultado-grid {
        grid-template-columns: 1fr;
    }
    
    .rotativo-comparacao-grid {
        grid-template-columns: 1fr;
    }

    .credibilidade-badges {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .rotativo-header h1 {
        font-size: 2rem;
    }
    
    .rotativo-container {
        padding: 1.5rem;
    }
    
    .rotativo-dados-principais {
        padding: 1.5rem;
    }
    
    .rotativo-input-group {
        min-width: auto;
    }
    
    .rotativo-calculate-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .rotativo-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .rotativo-tab-btn {
        width: 200px;
    }
    
    .rotativo-examples-grid,
    .rotativo-tips-grid,
    .rotativo-direitos-grid {
        grid-template-columns: 1fr;
    }
    
    .rotativo-evolucao-table {
        overflow-x: auto;
    }
    
    .rotativo-evolucao-table table {
        min-width: 500px;
    }

    .content-block {
        padding: 1.5rem;
    }

    .credibilidade-header {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .rotativo-header h1 {
        font-size: 1.8rem;
    }
    
    .rotativo-container {
        padding: 1rem;
    }
    
    .rotativo-dados-principais {
        padding: 1rem;
    }
    
    .rotativo-calculate-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .rotativo-valor-principal {
        font-size: 2rem;
    }
    
    .rotativo-comparacao-valor {
        font-size: 1.6rem;
    }
    
    .rotativo-example-icon {
        font-size: 2.2rem;
    }
    
    .rotativo-evolucao-table th,
    .rotativo-evolucao-table td {
        padding: 0.6rem;
        font-size: 0.8rem;
    }

    .content-block {
        padding: 1rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .faq-answer {
        padding: 1rem;
    }

    .credibilidade-container {
        padding: 1.5rem;
    }

    .credibilidade-badges {
        gap: 0.5rem;
    }

    .credibilidade-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}