/* assets/css/rescisao-completa.css */
/* CSS ISOLADO - Apenas para Calculadora de Rescisão Trabalhista Completa */

/* ===================================
   VARIÁVEIS CSS - ÁREA TRABALHISTA/JURÍDICA
   ================================== */
:root {
    --primary: #2c3e50;          /* Azul marinho sério */
    --secondary: #34495e;        /* Cinza profissional */
    --accent: #e67e22;           /* Laranja alerta */
    --light: #ecf0f1;            /* Fundo neutro */
    --gradient: linear-gradient(135deg, #2c3e50, #34495e);
}

/* ===================================
   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.rescisao-calculator-section .rescisao-header h1 {
    color: var(--primary) !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 4px rgba(44, 62, 80, 0.2) !important;
}

/* Estratégia 2: Sobrescrever a variável CSS no contexto específico */
.rescisao-calculator-section {
    --primary-local: var(--primary);
}

/* ===================================
   SEÇÃO DA CALCULADORA RESCISÃO TRABALHISTA
   ================================== */
.rescisao-calculator-section {
    margin-bottom: 3rem;
}

.rescisao-header {
    text-align: center;
    margin-bottom: 2rem;
}

.rescisao-header h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rescisao-header p {
    font-size: 1.2rem;
    color: var(--secondary);
}

.rescisao-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(44, 62, 80, 0.1);
    border: 1px solid var(--light);
}

.rescisao-inputs h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* ===================================
   DADOS BÁSICOS RESCISÃO
   ================================== */
.rescisao-dados-basicos {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.rescisao-input-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.rescisao-input-group {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rescisao-input-group label {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.rescisao-input-group input,
.rescisao-input-group select {
    padding: 0.8rem;
    border: 2px solid var(--primary);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
}

.rescisao-input-group input:focus,
.rescisao-input-group select:focus {
    outline: none;
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}

.rescisao-money-input {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.rescisao-money-input:focus-within {
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}

.rescisao-money-input span {
    background: var(--primary);
    color: white;
    padding: 0.8rem 1rem;
    font-weight: bold;
    font-size: 1rem;
}

.rescisao-money-input input {
    border: none;
    padding: 0.8rem;
    flex: 1;
    font-size: 1rem;
    background: transparent;
}

.rescisao-money-input input:focus {
    outline: none;
    transform: none;
    box-shadow: none;
}

/* ===================================
   BOTÃO CALCULAR
   ================================== */
.rescisao-calculate-section {
    text-align: center;
    margin: 2rem 0;
}

.rescisao-calculate-btn {
    background: var(--gradient);
    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(44, 62, 80, 0.3);
}

.rescisao-calculate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.4);
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}

.rescisao-calculate-btn:active {
    transform: translateY(-1px);
}

/* ===================================
   RESULTADO DA RESCISÃO
   ================================== */
.rescisao-resultado {
    background: var(--light);
    border: 2px solid var(--accent);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    animation: slideInUp 0.5s ease;
}

.rescisao-resultado h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.rescisao-resultado-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Resultado Principal */
.rescisao-resultado-principal {
    background: var(--accent);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
}

.rescisao-resultado-principal h4 {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.rescisao-valor-principal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.rescisao-currency {
    font-size: 1.5rem;
    opacity: 0.8;
}

.rescisao-value {
    font-size: 2.2rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.rescisao-periodo {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Detalhamento */
.rescisao-detalhamento {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--light);
}

.rescisao-detalhamento h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
}

.rescisao-item-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.rescisao-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: var(--light);
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
}

.rescisao-item:hover {
    transform: translateX(5px);
    background: rgba(44, 62, 80, 0.05);
}

.rescisao-item.desconto {
    border-left-color: #dc3545;
    background: #fff5f5;
}

.rescisao-item.desconto:hover {
    background: #ffebee;
}

.rescisao-item-label {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.rescisao-item-value {
    font-weight: bold;
    color: var(--accent);
    font-family: 'Courier New', monospace;
    font-size: 1rem;
}

.rescisao-item.desconto .rescisao-item-value {
    color: #dc3545;
}

/* Descontos */
.rescisao-descontos {
    background: #fff5f5;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #ffcdd2;
}

.rescisao-descontos h4 {
    color: #dc3545;
    margin-bottom: 1rem;
    border-bottom: 2px solid #dc3545;
    padding-bottom: 0.5rem;
}

/* Aviso Legal */
.rescisao-aviso-legal {
    background: #fff8e1;
    border: 2px solid var(--accent);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
}

.rescisao-aviso-legal p {
    margin: 0;
    color: var(--secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===================================
   EXPLICAÇÃO DO CÁLCULO
   ================================== */
.rescisao-explanation {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light);
    border: 2px solid var(--accent);
    border-radius: 12px;
    animation: slideInUp 0.5s ease;
}

.rescisao-explanation h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

.rescisao-step {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent);
}

.rescisao-step h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.rescisao-step p {
    margin: 0.3rem 0;
    font-family: 'Courier New', monospace;
    color: var(--secondary);
}

/* ===================================
   EXEMPLOS E AJUDA RESCISÃO
   ================================== */
.rescisao-examples {
    text-align: center;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
}

.rescisao-examples.hidden {
    display: none;
}

.rescisao-examples p {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.rescisao-example-btn {
    background: var(--light);
    border: 2px solid var(--accent);
    color: var(--primary);
    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;
}

.rescisao-example-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.rescisao-help {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #fff8e1;
    border-radius: 8px;
    border: 1px solid var(--accent);
    transition: all 0.3s ease;
}

.rescisao-help.hidden {
    display: none;
}

/* ===================================
   CONTEÚDO EDUCACIONAL RESCISÃO
   ================================== */
.rescisao-educational-content {
    margin-top: 3rem;
}

.rescisao-content-block {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 3px 15px rgba(44, 62, 80, 0.08);
    border: 1px solid var(--light);
}

.rescisao-content-block h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 3px solid var(--accent);
    padding-bottom: 0.5rem;
}

.rescisao-content-block p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--secondary);
}

.rescisao-content-block strong {
    color: var(--primary);
}

/* ===================================
   FORMULA DISPLAY RESCISÃO
   ================================== */
.rescisao-formula-display {
    background: var(--light);
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
}

.rescisao-formula-display h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.rescisao-formula-display .formula p {
    margin: 0.5rem 0;
    font-family: 'Courier New', monospace;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

/* ===================================
   GRIDS EXEMPLOS E DICAS RESCISÃO
   ================================== */
.rescisao-examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.rescisao-example-item {
    background: var(--light);
    border: 1px solid rgba(44, 62, 80, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.rescisao-example-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.1);
    border-color: var(--accent);
}

.rescisao-example-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.rescisao-example-item h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.rescisao-example-item p {
    color: var(--secondary);
    font-size: 0.95rem;
    margin: 0;
}

.rescisao-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.rescisao-tip-item {
    background: var(--light);
    border: 1px solid rgba(44, 62, 80, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.rescisao-tip-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.1);
}

.rescisao-tip-item h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.rescisao-tip-item p {
    color: var(--secondary);
    margin: 0;
    font-size: 0.95rem;
}

/* ===================================
   EXEMPLO DE SOLUÇÃO RESCISÃO
   ================================== */
.rescisao-example-solution {
    background: var(--light);
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 1.5rem;
}

.rescisao-example-solution h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
}

.rescisao-solution-step {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.rescisao-solution-step h5 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.rescisao-solution-step p {
    margin: 0.3rem 0;
    font-family: 'Courier New', monospace;
    color: var(--secondary);
}

.rescisao-solution-final {
    background: var(--accent);
    color: white;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 1rem;
}

.rescisao-solution-final h5 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.rescisao-solution-final p {
    margin: 0;
    font-family: inherit;
}

/* ===================================
   PRAZOS E DIREITOS ESPECIAIS
   ================================== */
.rescisao-prazo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.rescisao-prazo-item {
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.rescisao-prazo-item.urgente {
    background: #fff5f5;
    border: 2px solid #dc3545;
}

.rescisao-prazo-item.importante {
    background: #fff8e1;
    border: 2px solid var(--accent);
}

.rescisao-prazo-item.atencao {
    background: var(--light);
    border: 2px solid var(--primary);
}

.rescisao-prazo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.rescisao-prazo-item h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.rescisao-prazo-item.urgente h4 {
    color: #dc3545;
}

.rescisao-prazo-item.importante h4 {
    color: var(--accent);
}

.rescisao-prazo-item.atencao h4 {
    color: var(--primary);
}

.rescisao-prazo-destaque {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
}

.rescisao-prazo-destaque h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.rescisao-prazo-destaque p {
    color: var(--secondary);
    margin: 0;
    font-weight: 600;
}

.rescisao-direitos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.rescisao-direito-item {
    background: var(--light);
    border: 1px solid rgba(44, 62, 80, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.rescisao-direito-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.1);
    border-color: var(--accent);
}

.rescisao-direito-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.rescisao-direito-item h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.rescisao-direito-item p {
    color: var(--secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* ===================================
   FAQ TRABALHISTA
   ================================== */
.faq-container {
    margin-top: 1.5rem;
}

.faq-item {
    background: var(--light);
    border: 1px solid rgba(44, 62, 80, 0.1);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent);
    box-shadow: 0 3px 10px rgba(44, 62, 80, 0.1);
}

.faq-question {
    background: var(--primary);
    color: white;
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    outline: none;
    transition: all 0.3s ease;
    list-style: none;
}

.faq-question:hover {
    background: white;
}

.faq-question::marker {
    display: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-answer {
    padding: 1.5rem;
    background: white;
    border-top: 1px solid rgba(44, 62, 80, 0.1);
}

.faq-answer p {
    margin: 0.8rem 0;
    color: var(--secondary);
    line-height: 1.6;
}

.faq-answer p:first-child {
    margin-top: 0;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: var(--primary);
}

/* ===================================
   REFERÊNCIAS E CREDIBILIDADE
   ================================== */
.references-container {
    margin-top: 1.5rem;
}

.references-list {
    background: var(--light);
    border: 1px solid rgba(44, 62, 80, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 0;
    list-style: none;
}

.references-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(44, 62, 80, 0.1);
    color: var(--secondary);
    line-height: 1.6;
}

.references-list li:last-child {
    border-bottom: none;
}

.references-list li strong {
    color: var(--primary);
}

.accuracy-note {
    background: #fff8e1;
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.accuracy-note h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.accuracy-note p {
    color: var(--secondary);
    margin: 0;
    line-height: 1.6;
}

.credibilidade-container {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    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(--accent);
}

.credibilidade-title {
    color: var(--primary);
    margin: 0;
    font-size: 1.5rem;
}

.credibilidade-content {
    color: var(--secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.credibilidade-logo {
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
}

.credibilidade-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.credibilidade-badge {
    background: var(--primary);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(44, 62, 80, 0.2);
}

/* ===================================
   EXPLICAÇÃO DETALHADA COM BASE LEGAL CLT - CORRIGIDO
   ================================== */
.rescisao-legal-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background: var(--light);
    border-radius: 10px;
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
}

.rescisao-legal-item:hover {
    background: rgba(44, 62, 80, 0.05);
    transform: translateY(-2px);
}

.rescisao-legal-artigo {
    background: var(--primary);
    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(44, 62, 80, 0.3);
    align-self: flex-start;
    min-width: 200px;
}

.rescisao-legal-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.rescisao-legal-content p {
    margin: 0;
    color: var(--secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.rescisao-legal-content strong {
    color: var(--primary);
    font-weight: 600;
}

/* Detalhes dos Cálculos - Ajustado */
.rescisao-calculo-detalhe {
    background: var(--light);
    border: 1px solid var(--accent);
    border-radius: 10px;
    padding: 1.2rem;
    margin-top: 0.5rem;
    width: 100%;
}

.rescisao-calculo-detalhe p {
    font-family: 'Courier New', monospace;
    color: var(--primary);
    font-size: 0.9rem;
    margin: 0.4rem 0;
    line-height: 1.5;
}

.rescisao-calculo-detalhe p:first-child {
    font-weight: bold;
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.8rem;
    font-family: inherit;
}

.rescisao-calculo-detalhe p strong {
    color: var(--primary);
    font-weight: bold;
}

.rescisao-calculo-detalhe small {
    color: var(--secondary);
    font-style: italic;
    font-size: 0.8rem;
}

/* ===================================
   RESPONSIVIDADE CORRIGIDA
   ================================== */
@media (max-width: 768px) {
    .rescisao-legal-item {
        gap: 0.8rem;
        padding: 0.8rem;
    }
    
    .rescisao-legal-artigo {
        min-width: 180px;
        font-size: 0.85rem;
        padding: 0.7rem 0.9rem;
    }
    
    .rescisao-calculo-detalhe {
        padding: 1rem;
    }
    
    .rescisao-calculo-detalhe p {
        font-size: 0.85rem;
    }
    
    .credibilidade-badges {
        gap: 0.8rem;
    }
    
    .credibilidade-badge {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .rescisao-legal-item {
        gap: 0.7rem;
        padding: 0.7rem;
    }
    
    .rescisao-legal-artigo {
        min-width: 160px;
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
        align-self: center;
    }
    
    .rescisao-legal-content p {
        font-size: 0.9rem;
    }
    
    .rescisao-calculo-detalhe p {
        font-size: 0.8rem;
    }
    
    .credibilidade-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .credibilidade-title {
        font-size: 1.3rem;
    }
    
    .credibilidade-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* ===================================
   CORREÇÃO DOS TÍTULOS DAS SEÇÕES LEGAIS
   ================================== */
.rescisao-legal-section h4 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid var(--light);
    padding-bottom: 0.8rem;
    padding-top: 0.3rem;
}

.rescisao-legal-section + .rescisao-legal-section {
    margin-top: 2.5rem;
}

.rescisao-legal-section:first-child {
    margin-top: 0;
}

/* ===================================
   ANIMAÇÕES RESCISÃO
   ================================== */
@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 RESCISÃO
   ================================== */
@media (max-width: 1024px) {
    .rescisao-input-row {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .rescisao-header h1 {
        font-size: 2rem;
    }
    
    .rescisao-container {
        padding: 1rem;
    }
    
    .rescisao-dados-basicos {
        padding: 1rem;
    }
    
    .rescisao-input-group {
        min-width: auto;
    }
    
    .rescisao-calculate-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .rescisao-value {
        font-size: 1.8rem;
    }
    
    .rescisao-examples-grid,
    .rescisao-tips-grid,
    .rescisao-prazo-grid,
    .rescisao-direitos-grid {
        grid-template-columns: 1fr;
    }
    
    .rescisao-legal-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
        padding-bottom: 0.6rem;
        padding-top: 0.2rem;
    }
    
    .rescisao-legal-section + .rescisao-legal-section {
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .rescisao-header h1 {
        font-size: 1.8rem;
    }
    
    .rescisao-container {
        padding: 0.8rem;
    }
    
    .rescisao-dados-basicos {
        padding: 0.8rem;
    }
    
    .rescisao-calculate-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .rescisao-value {
        font-size: 1.8rem;
    }
    
    .rescisao-currency {
        font-size: 1.3rem;
    }
    
    .rescisao-item {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .rescisao-example-icon,
    .rescisao-direito-icon {
        font-size: 2rem;
    }
    
    .rescisao-legal-section h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        padding-top: 0.2rem;
    }
    
    .rescisao-legal-section + .rescisao-legal-section {
        margin-top: 1.5rem;
    }
}