body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background-color: #f4f4f7;
    color: #333;
}

header {
    background: #fff;
    color: #333;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    text-decoration: none;
}

.logo-img {
    height: 36px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1px;
    margin-right: 25px;
}

.header-nav a, .header-nav span {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    padding: 5px;
    transition: color 0.3s;
}

.header-nav a:hover {
    color: #114ccb;
}

#toggle-menu {
    display: none;
    background: transparent;
    color: #114ccb;
    border: none;
    font-size: 1.8em;
    cursor: pointer;
    padding: 5px 10px;
}

#toggle-menu:hover {
    color: #0c3a8e;
}

aside {
    width: 220px;
    background: #fff;
    padding: 80px 20px 20px;
    border-right: 1px solid #e0e0e0;
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 900;
}

aside h3 {
    margin-top: 20px;
    font-size: 1.1em;
    color: #114ccb;
}

aside ul {
    list-style: none;
    padding-left: 0;
}

aside li a {
    display: block;
    margin: 8px 0;
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

aside li a:hover {
    color: #114ccb;
}

main {
    margin-left: 240px;
    padding: 100px 40px 20px;
    transition: margin-left 0.3s ease;
}

.flash-messages {
    background-color: #eafaf1;
    border-left: 4px solid #114ccb;
    padding: 10px 15px;
    margin-bottom: 20px;
    list-style: none;
    color: #333;
    border-radius: 4px;
}

/* Responsivo */
@media (max-width: 768px) {
    #toggle-menu {
        display: block;
    }

    aside {
        width: 100%;
        transform: translateX(-100%);
        opacity: 0;
        padding: 0;
        box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    }

    aside.active {
        transform: translateX(0);
        opacity: 1;
        padding: 80px 20px 20px;
    }

    main {
        margin-left: 0;
        padding: 80px 20px 20px;
    }
}

.hero {
    background: linear-gradient(to right, #0b63ce, #114ccb);
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    margin: 40px auto;
    max-width: 960px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 150px; 
}


.hero h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.botao-destaque {
    background: #fff;
    color: #114ccb;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.botao-destaque:hover {
    background: #f0f0f0;
}

.atalhos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
}

.cartao {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    width: 280px;
    text-align: center;
}

.cartao h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
}

.cartao p {
    font-size: 0.95em;
    margin-bottom: 15px;
}

.cartao a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    background: #114ccb;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: bold;
}

.cartao a:hover {
    background: #0b3ea2;
}

@media (max-width: 768px) {
    .atalhos {
        flex-direction: column;
        align-items: center;
    }
}

