/* Reset e Variáveis */
:root {
    --primary-color: #003366; /* Azul Escuro Acadêmico */
    --accent-color: #0078d4; /* Azul Claro */
    --text-color: #333333;
    --bg-light: #f4f7f6;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Cabeçalho */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section (Destaque) */
.hero {
    position: relative;
    background-color: var(--primary-color);
    /* Se quiser uma imagem de fundo, adicione aqui: 
    background-image: url('sua-imagem-de-fisica.jpg'); */
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #005a9e;
}

/* Layout Principal */
.main-layout {
    display: flex;
    gap: 40px;
    padding: 60px 0;
}

.content {
    flex: 2; /* Ocupa mais espaço */
}

.content h2, .content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    margin-top: 30px;
}

.content h2:first-child {
    margin-top: 0;
}

.content p {
    margin-bottom: 15px;
}

/* Accordion (Cursos) */
.accordion {
    background-color: var(--bg-light);
    color: var(--text-color);
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1rem;
    font-weight: bold;
    transition: 0.4s;
    border-left: 4px solid var(--accent-color);
    margin-top: 10px;
}

.active, .accordion:hover {
    background-color: #e2e8f0;
}

.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.panel ul {
    margin: 15px 0 15px 20px;
}

/* Barra Lateral (Sidebar) */
.sidebar {
    flex: 1; /* Ocupa menos espaço */
}

.widget {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 5px;
    margin-bottom: 30px;
    border-top: 4px solid var(--primary-color);
}

.widget h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.quick-links {
    list-style: none;
}

.quick-links li {
    margin-bottom: 10px;
}

.quick-links a {
    text-decoration: none;
    color: var(--accent-color);
}

.quick-links a:hover {
    text-decoration: underline;
}

/* Rodapé */
.footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 40px 0 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 10px;
}

.footer a {
    color: #ccc;
    text-decoration: none;
}

.footer a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Responsividade para Celulares */
@media (max-width: 768px) {
    .main-layout {
        flex-direction: column;
    }
    
    .nav-links {
        display: none; /* Oculta o menu inicialmente no celular */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: var(--white);
        box-shadow: 0 5px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 0;
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
    }

    .mobile-menu-btn {
        display: block;
    }
}