/* assets/css/pis-pasep-valor.css */
/* CSS ISOLADO - Apenas para Calculadora de PIS/PASEP */

/* ===================================
   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.pis-calculator-section .pis-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 */
.pis-calculator-section {
    --primary-local: var(--primary);
}

/* ===================================
   SEÇÃO DA CALCULADORA PIS/PASEP
   ================================== */
.pis-calculator-section {
    margin-bottom: 3rem;
}

.pis-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pis-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;
}

.pis-header p {
    font-size: 1.2rem;
    color: var(--secondary);
}

.pis-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);
}

.pis-inputs h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* ===================================
   SISTEMA DE ABAS ESPECÍFICO PIS
   ================================== */
.pis-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--light);
    padding-bottom: 1rem;
}

.pis-tab-btn {
    background: var(--light);
    border: 2px solid rgba(44, 62, 80, 0.2);
    color: var(--secondary);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 120px;
}

.pis-tab-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-2px);
}

.pis-tab-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--secondary);
    box-shadow: 0 3px 10px rgba(230, 126, 34, 0.3);
}

/* ===================================
   CONTEÚDO DAS ABAS PIS
   ================================== */
.pis-tab-content {
    display: none;
}

.pis-tab-content.active {
    display: block;
    animation: fadeInPisTab 0.3s ease;
}

@keyframes fadeInPisTab {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   DADOS BÁSICOS PIS
   ================================== */
.pis-dados-basicos {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.pis-input-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.pis-input-group {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pis-input-group label {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.pis-input-group small {
    color: var(--secondary);
    font-size: 0.8rem;
    font-style: italic;
}

.pis-input-group input,
.pis-input-group select {
    padding: 0.8rem;
    border: 2px solid var(--primary);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
}

.pis-input-group input:focus,
.pis-input-group select:focus {
    outline: none;
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}

.pis-money-input {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pis-money-input:focus-within {
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}

.pis-money-input span {
    background: var(--primary);
    color: white;
    padding: 0.8rem 1rem;
    font-weight: bold;
    font-size: 1rem;
}

.pis-money-input input {
    border: none;
    padding: 0.8rem;
    flex: 1;
    font-size: 1rem;
    background: transparent;
}

.pis-money-input input:focus {
    outline: none;
    transform: none;
    box-shadow: none;
}

/* ===================================
   BOTÃO CALCULAR PIS
   ================================== */
.pis-calculate-section {
    text-align: center;
    margin: 2rem 0;
}

.pis-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);
}

.pis-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%);
}

.pis-calculate-btn:active {
    transform: translateY(-1px);
}

/* ===================================
   RESULTADO DO PIS/PASEP
   ================================== */
.pis-resultado {
    background: var(--light);
    border: 2px solid var(--accent);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    animation: slideInUp 0.5s ease;
}

.pis-resultado h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.pis-resultado-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Resultado Principal */
.pis-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%;
}

.pis-resultado-principal h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.pis-valor-principal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.pis-currency {
    font-size: 1.3rem;
    opacity: 0.8;
}

.pis-value {
    font-size: 2.2rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.pis-valor-base {
    margin-bottom: 0.5rem;
}

.pis-base {
    opacity: 0.8;
    font-size: 0.9rem;
}

.pis-status {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Detalhamento */
.pis-detalhamento {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--light);
}

.pis-detalhamento h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
}

.pis-item-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.pis-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;
}

.pis-item:hover {
    transform: translateX(5px);
    background: rgba(44, 62, 80, 0.05);
}

.pis-item.destaque {
    background: var(--accent);
    color: white;
    border-left-color: var(--secondary);
    font-weight: bold;
}

.pis-item.destaque:hover {
    background: var(--secondary);
}

.pis-item-label {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.pis-item.destaque .pis-item-label {
    color: white;
}

.pis-item-value {
    font-weight: bold;
    color: var(--accent);
    font-family: 'Courier New', monospace;
    font-size: 1rem;
}

.pis-item.destaque .pis-item-value {
    color: white;
}

/* Informações de Pagamento */
.pis-informacoes {
    background: #fff8e1;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--accent);
}

.pis-informacoes h4 {
    color: var(--accent);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
}

.pis-info-content p {
    margin: 0.5rem 0;
    color: var(--secondary);
    font-size: 0.95rem;
}

.pis-info-content strong {
    color: var(--primary);
}

/* Aviso Legal */
.pis-aviso-legal {
    background: #fff8e1;
    border: 2px solid var(--accent);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
}

.pis-aviso-legal p {
    margin: 0;
    color: var(--secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===================================
   VERIFICAÇÃO DE DIREITO PIS
   ================================== */
.pis-requisitos {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 2rem;
}

.pis-requisitos h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.pis-requisito-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
}

.pis-requisito-item:hover {
    transform: translateX(5px);
    background: #f5f5f5;
}

.pis-checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--accent);
    cursor: pointer;
}

.pis-requisito-item label {
    color: var(--primary);
    font-size: 0.95rem;
    cursor: pointer;
    flex: 1;
}

.pis-resultado-requisitos {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    text-align: center;
    animation: slideInUp 0.5s ease;
}

.pis-status-final {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.pis-status-icon {
    font-size: 4rem;
}

.pis-status-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
}

/* ===================================
   CALENDÁRIO DE PAGAMENTO PIS
   ================================== */
.pis-calendario-container {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 2rem;
}

.pis-calendario-container h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.pis-calendario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.pis-calendario-mes {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
}

.pis-calendario-mes:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.2);
}

.pis-calendario-mes h5 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.pis-calendario-mes p {
    margin: 0.3rem 0;
    color: var(--secondary);
    font-size: 0.9rem;
}

.pis-calendario-mes strong {
    color: var(--accent);
}

/* ===================================
   CONSULTA PIS
   ================================== */
.pis-consulta-container {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 2rem;
}

.pis-consulta-container h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.pis-consulta-opcoes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.pis-consulta-opcao {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
}

.pis-consulta-opcao:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.2);
}

.pis-consulta-opcao h5 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.pis-consulta-opcao p {
    margin: 0.5rem 0;
    color: var(--secondary);
    font-size: 0.9rem;
}

.pis-link-consulta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.pis-link-consulta:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* ===================================
   EXPLICAÇÃO DO CÁLCULO PIS
   ================================== */
.pis-explanation {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light);
    border: 2px solid var(--accent);
    border-radius: 12px;
    animation: slideInUp 0.5s ease;
}

.pis-explanation h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

.pis-step {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent);
}

.pis-step h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.pis-step p {
    margin: 0.3rem 0;
    font-family: 'Courier New', monospace;
    color: var(--secondary);
}

/* ===================================
   EXPLICAÇÃO DETALHADA COM BASE LEGAL CLT - PIS
   ================================== */
.pis-detailed-explanation {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--light) 0%, #f8f9fa 100%);
    border: 2px solid var(--accent);
    border-radius: 15px;
    animation: slideInUp 0.5s ease;
    box-shadow: 0 5px 20px rgba(44, 62, 80, 0.1);
}

.pis-detailed-explanation h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
    border-bottom: 3px solid var(--accent);
    padding-bottom: 0.8rem;
}

.pis-legal-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pis-legal-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 3px 15px rgba(44, 62, 80, 0.08);
    border: 1px solid var(--light);
    transition: all 0.3s ease;
}

.pis-legal-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.15);
    border-color: var(--accent);
}

.pis-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;
}

.pis-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;
}

.pis-legal-item:hover {
    background: rgba(44, 62, 80, 0.05);
    transform: translateY(-2px);
}

.pis-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;
}

.pis-legal-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.pis-legal-content p {
    margin: 0;
    color: var(--secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.pis-legal-content strong {
    color: var(--primary);
    font-weight: 600;
}

/* Detalhes dos Cálculos - PIS */
.pis-calculo-detalhe {
    background: #fff8e1;
    border: 1px solid var(--accent);
    border-radius: 10px;
    padding: 1.2rem;
    margin-top: 0.5rem;
    width: 100%;
}

.pis-calculo-detalhe p {
    font-family: 'Courier New', monospace;
    color: var(--accent);
    font-size: 0.9rem;
    margin: 0.4rem 0;
    line-height: 1.5;
}

.pis-calculo-detalhe p:first-child {
    font-weight: bold;
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.8rem;
    font-family: inherit;
}

.pis-calculo-detalhe p strong {
    color: var(--primary);
    font-weight: bold;
}

/* Footer da Explicação Legal - PIS */
.pis-legal-footer {
    background: #fff8e1;
    border: 2px solid var(--accent);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
}

.pis-legal-footer p {
    margin: 0.5rem 0;
    color: var(--secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.pis-legal-footer p:first-child {
    font-weight: 600;
    color: var(--primary);
}

.pis-legal-footer strong {
    color: var(--primary);
}

/* ===================================
   EXEMPLOS E AJUDA PIS
   ================================== */
.pis-examples {
    text-align: center;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
}

.pis-examples.hidden {
    display: none;
}

.pis-examples p {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.pis-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;
}

.pis-example-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.pis-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;
}

.pis-help.hidden {
    display: none;
}

/* ===================================
   CONTEÚDO EDUCACIONAL PIS
   ================================== */
.pis-educational-content {
    margin-top: 3rem;
}

.pis-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);
}

.pis-content-block h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 3px solid var(--accent);
    padding-bottom: 0.5rem;
}

.pis-content-block p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--secondary);
}

.pis-content-block strong {
    color: var(--primary);
}

/* Formula Display PIS */
.pis-formula-display {
    background: var(--light);
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
}

.pis-formula-display h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.pis-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 PIS */
.pis-examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.pis-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;
}

.pis-example-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.1);
    border-color: var(--accent);
}

.pis-example-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.pis-example-item h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.pis-example-item p {
    color: var(--secondary);
    font-size: 0.95rem;
    margin: 0;
}

.pis-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.pis-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;
}

.pis-tip-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.1);
}

.pis-tip-item h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.pis-tip-item p {
    color: var(--secondary);
    margin: 0;
    font-size: 0.95rem;
}

/* Exemplo de Solução PIS */
.pis-example-solution {
    background: var(--light);
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 1.5rem;
}

.pis-example-solution h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
}

.pis-solution-step {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.pis-solution-step h5 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.pis-solution-step p {
    margin: 0.3rem 0;
    font-family: 'Courier New', monospace;
    color: var(--secondary);
}

.pis-solution-final {
    background: var(--accent);
    color: white;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 1rem;
}

.pis-solution-final h5 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.pis-solution-final p {
    margin: 0;
    font-family: inherit;
}

/* ===================================
   FAQ TRABALHISTA PIS/PASEP
   ================================== */
.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: var(--secondary);
}

.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);
}

/* ===================================
   ANIMAÇÕES PIS
   ================================== */
@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 PIS
   ================================== */
@media (max-width: 1024px) {
    .pis-input-row {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .pis-header h1 {
        font-size: 2rem;
    }
    
    .pis-container {
        padding: 1rem;
    }
    
    .pis-dados-basicos {
        padding: 1rem;
    }
    
    .pis-input-group {
        min-width: auto;
    }
    
    .pis-calculate-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .pis-value {
        font-size: 1.8rem;
    }
    
    .pis-examples-grid,
    .pis-tips-grid,
    .pis-calendario-grid,
    .pis-consulta-opcoes {
        grid-template-columns: 1fr;
    }
    
    .pis-detailed-explanation {
        padding: 1.5rem;
    }
    
    .pis-detailed-explanation h3 {
        font-size: 1.3rem;
    }
    
    .pis-legal-container {
        gap: 1.5rem;
    }
    
    .pis-legal-section {
        padding: 1rem;
    }
    
    .pis-legal-item {
        gap: 0.8rem;
        padding: 0.8rem;
    }
    
    .pis-legal-artigo {
        min-width: 180px;
        font-size: 0.85rem;
        padding: 0.7rem 0.9rem;
    }
    
    .pis-calculo-detalhe {
        padding: 1rem;
    }
    
    .pis-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) {
    .pis-header h1 {
        font-size: 1.8rem;
    }
    
    .pis-container {
        padding: 0.8rem;
    }
    
    .pis-dados-basicos {
        padding: 0.8rem;
    }
    
    .pis-calculate-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .pis-value {
        font-size: 1.6rem;
    }
    
    .pis-currency {
        font-size: 1.1rem;
    }
    
    .pis-item {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .pis-example-icon {
        font-size: 2rem;
    }
    
    .pis-detailed-explanation {
        padding: 1rem;
    }
    
    .pis-detailed-explanation h3 {
        font-size: 1.2rem;
    }
    
    .pis-legal-section {
        padding: 0.8rem;
    }
    
    .pis-legal-section h4 {
        font-size: 1.1rem;
    }
    
    .pis-legal-artigo {
        min-width: 160px;
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
        align-self: center;
    }
    
    .pis-legal-content p {
        font-size: 0.9rem;
    }
    
    .pis-calculo-detalhe p {
        font-size: 0.8rem;
    }
    
    .pis-legal-footer {
        padding: 1rem;
    }
    
    .pis-legal-footer p {
        font-size: 0.85rem;
    }
    
    .credibilidade-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .credibilidade-title {
        font-size: 1.3rem;
    }
    
    .credibilidade-badges {
        flex-direction: column;
        align-items: center;
    }
}