/* Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f6f9;
    color: #2d3748;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #1a202c;
    color: #ffffff;
    padding: 40px 0;
    text-align: center;
    border-bottom: 4px solid #3182ce;
}

header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1rem;
    color: #a0aec0;
    font-weight: 300;
}

/* Navegação por Abas */
.tabs-nav {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    gap: 10px;
}

.tab-btn {
    flex: 1;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 600;
    background-color: #e2e8f0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: #4a5568;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background-color: #cbd5e0;
}

.tab-btn.active {
    background-color: #1a202c;
    color: #ffffff;
}

/* Conteúdo das Abas */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

/* Cards e Layout */
.card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

/* Gradientes para Cabeçalhos de Módulos */
.bg-gradient-blue {
    background: linear-gradient(135deg, #3182ce, #2b6cb0);
    color: white;
}
.bg-gradient-purple {
    background: linear-gradient(135deg, #805ad5, #6b46c1);
    color: white;
}
.bg-gradient-green {
    background: linear-gradient(135deg, #38a169, #2f855a);
    color: white;
}

.card h2 {
    margin-bottom: 10px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

ul {
    list-style-position: inside;
    margin-left: 10px;
}

ul li {
    margin-bottom: 10px;
}

/* Simulador Interativo (Parte 2) */
.interaction-box {
    border-left: 5px solid #805ad5;
}

.radio-group {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-label {
    background: #f7fafc;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    transition: background 0.2s;
}

.radio-label:hover {
    background: #edf2f7;
}

.resultado-box {
    margin-top: 20px;
    padding: 20px;
    border-radius: 8px;
    font-weight: 600;
}

.resultado-alta { background-color: #fed7d7; color: #9b2c2c; border-left: 4px solid #e53e3e; }
.resultado-media { background-color: #feebc8; color: #9c4221; border-left: 4px solid #dd6b20; }
.resultado-baixa { background-color: #c6f6d5; color: #22543d; border-left: 4px solid #38a169; }

/* Cores específicas de Texto (Parte 3) */
.text-success h3 { color: #2f855a; }
.text-danger h3 { color: #c53030; }

.job-list li {
    background: #f8fafc;
    padding: 10px;
    border-radius: 6px;
    list-style: none;
    margin-bottom: 8px;
    border-left: 3px solid currentColor;
}

.conclusion-card {
    background-color: #edf2f7;
    border-top: 4px solid #4a5568;
}

blockquote {
    font-style: italic;
    font-size: 1.1rem;
    color: #4a5568;
    margin-top: 10px;
}

.hidden { display: none; }

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    color: #718096;
    font-size: 0.9rem;
    margin-top: 50px;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsividade */
@media (max-width: 768px) {
    .tabs-nav { flex-direction: column; }
    .grid-2 { grid-template-columns: 1fr; }
}