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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

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

/* Cabeçalho e Navegação */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    height: 50px;
    max-width: 200px;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-button {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    background-color: transparent;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    color: #555;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    white-space: nowrap;
}

.nav-button:hover {
    background-color: #f0f0f0;
    color: #005a9e; /* Azul P3 */
}

.nav-button.active {
    background-color: #005a9e; /* Azul P3 */
    color: #fff;
}

/* Conteúdo Principal e Abas */
main {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

.tab-content {
    display: none;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.content-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

h1, h2, h3, h4 {
    color: #003d6b; /* Azul escuro P3 */
    margin-bottom: 15px;
}

h1 { 
    font-size: 2.2em; 
    text-align: center;
    margin-bottom: 20px;
}

h2 { 
    font-size: 1.8em; 
    border-bottom: 2px solid #fdb913; 
    padding-bottom: 10px; 
    margin-top: 20px;
    margin-bottom: 20px;
} /* Amarelo P3 */

h3 { 
    font-size: 1.4em; 
    color: #005a9e;
    margin-top: 25px;
}

h4 { 
    font-size: 1.2em; 
    margin-top: 20px; 
    color: #333;
}

p {
    margin-bottom: 15px;
    text-align: justify;
}

ul, ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 10px;
}

strong {
    color: #003d6b;
}

.golden-rule {
    background-color: #fffbe6;
    border-left: 4px solid #fdb913; /* Amarelo P3 */
    padding: 15px;
    margin-top: 20px;
    font-weight: 600;
    border-radius: 0 5px 5px 0;
    font-style: italic;
}

/* Seção de Valores na Home */
.values {
    margin-top: 30px;
}

.values h2 {
    text-align: center;
    margin-bottom: 30px;
}

.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.value-item {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border-top: 4px solid #005a9e;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.value-item h3 {
    color: #005a9e;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.value-item p {
    color: #666;
    font-size: 0.95em;
    text-align: center;
}

/* Rodapé */
footer {
    background-color: #003d6b;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer p {
    margin-bottom: 5px;
    text-align: center;
}

/* Responsividade */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    header nav ul {
        justify-content: center;
        gap: 5px;
    }
    
    .nav-button {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .content-box {
        padding: 20px;
        margin: 0 10px;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    .values {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .nav-button {
        font-size: 11px;
        padding: 6px 8px;
    }
    
    h1 {
        font-size: 1.6em;
    }
    
    .content-box {
        padding: 15px;
    }
}

/* Melhorias visuais */
.tab-content ol, .tab-content ul {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    border-left: 3px solid #005a9e;
}

.tab-content ol li, .tab-content ul li {
    padding: 5px 0;
}

/* Destaque para listas importantes */
.tab-content h4 + ul, .tab-content h4 + ol {
    margin-top: 15px;
}

/* Estilo para citações importantes */
blockquote {
    background-color: #e8f4f8;
    border-left: 4px solid #005a9e;
    padding: 15px;
    margin: 20px 0;
    font-style: italic;
    color: #003d6b;
}

