@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

/* Reset e Estilo Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', sans-serif;
    background: #f5f7fa;
    color: #2d3748;
    padding: 40px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container Principal */
.container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Cards */
.card {
    border-radius: 12px;
    padding: 32px;
    background: #fff;
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.6s ease forwards;
}
@keyframes slideIn {
    to { opacity: 1; transform: translateY(0); }
}
.card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

/* Tipografia */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 24px;
}
h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 20px;
    padding-bottom: 6px;
    border-bottom: 2px solid #dbeafe;
}
h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 16px;
}
h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 12px;
}
p { font-size: 1rem; color: #4b5563; }

/* Tabelas */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}
th, td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #edf2f7;
}
th {
    background: #1e40af;
    color: #fff;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
td { font-size: 0.9375rem; color: #2d3748; }

/* Gráficos e Gantt */
.chart-container {
    max-width: 700px;
    margin: 32px auto;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}
.gantt-container {
    position: relative;
    height: 100px;
    background: #edf2f7;
    border-radius: 8px;
    margin-top: 20px;
}
.gantt-bar {
    position: absolute;
    height: 32px;
    border-radius: 6px;
    color: #fff;
    display: flex;
    align-items: center;
    padding-left: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: width 0.5s ease;
}
.gantt-bar.pessimist { background: #f87171; }
.gantt-bar.realist { background: #60a5fa; }
.gantt-bar.optimist { background: #34d399; }

/* Botões de Abas */
.tab-btn {
    background: #edf2f7;
    color: #1e40af;
    padding: 10px 24px;
    border-radius: 9999px;
    cursor: pointer;
    margin-right: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.tab-btn:hover, .tab-btn.active {
    background: #1e40af;
    color: #fff;
}
.sub-tab-btn {
    background: #edf2f7;
    color: #4b5563;
    padding: 8px 20px;
    border-radius: 9999px;
    cursor: pointer;
    margin-right: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.sub-tab-btn:hover, .sub-tab-btn.active {
    background: #1e40af;
    color: #fff;
}
.tab-content, .sub-tab-content { display: none; }
.tab-content.active, .sub-tab-content.active { display: block; }

/* Listas */
ul {
    list-style: none;
    padding-left: 0;
}
ul li {
    margin-bottom: 12px;
    font-size: 0.9375rem;
    position: relative;
    padding-left: 24px;
}
ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #60a5fa;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1rem;
}

/* Legenda de Cenários */
.scenario-legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
    font-weight: 600;
    font-size: 0.9375rem;
}
.scenario-legend span {
    display: flex;
    align-items: center;
}
.scenario-legend span::before {
    content: '';
    width: 12px;
    height: 12px;
    display: inline-block;
    margin-right: 8px;
    border-radius: 50%;
}
.scenario-legend .pessimist::before { background: #f87171; }
.scenario-legend .realist::before { background: #60a5fa; }
.scenario-legend .optimist::before { background: #34d399; }

/* Seções de Cenário */
.scenario-section {
    margin-top: 24px;
    padding: 20px;
    border-radius: 8px;
    background: #f9fafb;
}

/* Grid de Resumo */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.summary-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}
.summary-card:hover {
    transform: translateY(-4px);
}

/* Destaques */
.highlight {
    background: #1e40af;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
    font-weight: 600;
}

/* Adicionando efeitos de animação para hover nos cards */
.summary-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.summary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to right, #ffffff, #f5f7ff);
}

.summary-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #1e40af;
    transition: width 0.3s ease;
}

.summary-card:hover::after {
    width: 100%;
}

/* Adicionar um estilo melhorado para a seção de contato */
.contact-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: 0 15px 30px rgba(30, 64, 175, 0.2);
}

.contact-section a {
    color: white !important;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 30px;
    display: inline-block;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.contact-section a:hover {
    background: white;
    color: #1e3a8a !important;
    transform: scale(1.05);
}

/* Melhorar a apresentação dos gráficos */
.chart-container {
    position: relative;
    transition: all 0.3s ease;
}

.chart-container:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* Adicionar um indicador visual para os valores de orçamento */
.budget-highlight {
    position: relative;
    padding: 15px;
    background: linear-gradient(to right, #1e40af, #3b82f6);
    color: white;
    border-radius: 8px;
    display: inline-block;
    margin: 15px 0;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.budget-highlight:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.3);
}

/* Estilo para o cabeçalho principal */
.header-main {
    position: relative;
    padding-bottom: 30px;
    margin-bottom: 50px;
}

.header-main::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #1e40af, #60a5fa);
    border-radius: 2px;
}

/* Responsividade melhorada para dispositivos móveis */
@media (max-width: 768px) {
    body {
        padding: 20px;
    }
    .container {
        padding: 20px;
    }
    .scenario-legend {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .tab-btn, .sub-tab-btn {
        margin-bottom: 8px;
    }
    .gantt-container {
        height: 200px;
    }
    .gantt-bar {
        padding-left: 5px;
        font-size: 0.75rem;
    }
}

/* Adicionar pulsação sutil nos elementos de destaque */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(30, 64, 175, 0); }
    100% { box-shadow: 0 0 0 0 rgba(30, 64, 175, 0); }
}

.highlight {
    animation: pulse 2s infinite;
} 