/* ========== RESET, LAYOUT E ESTRUTURA ========== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f2f5;
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
    color: white;
    padding: 30px 20px;
    position: fixed;
    height: 100vh;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.sidebar h2 {
    margin-bottom: 30px;
    font-size: 1.5em;
}

.sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-item {
    color: white;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 8px;
    transition: background 0.3s;
    font-weight: 500;
}

.menu-item:hover {
    background: rgba(255,255,255,0.1);
}

.menu-item.active {
    background: rgba(255,255,255,0.2);
}

.submenu {
    flex-direction: column;
    gap: 5px;
}

.submenu .menu-item {
    font-size: 0.9em;
    padding: 8px 15px;
}

.main-content {
    margin-left: 250px;
    flex: 1;
    padding: 30px;
}

.section {
    display: none !important;
}

.section.active {
    display: block !important;
}

h1 {
    color: #333;
    margin-bottom: 30px;
}

h2 {
    color: #555;
    margin-bottom: 20px;
    font-size: 1.3em;
}
