/* --- GERAL --- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0f0f3c;
    color: #f0f0f0;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;

    /* Garantir que o body ocupe toda a altura da tela */
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Mudança aqui para garantir que o corpo ocupe toda a altura */
}

/* --- NAV BAR NOVA --- */
header {
    background-color: #1a1a4f;
    padding: 17px 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 10;
}

.nav-bar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-left h1 {
    font-size: 1.4rem;
    color: #ffffff;
    margin: 0;
}

.nav-left h3 {
    font-size: 1rem;
    font-weight: 300;
    color: #cccccc;
    margin: 0;
}

.hamburger-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
}

.hamburger-menu input {
    opacity: 0;
    position: absolute;
    z-index: -1;
}

.hamburger-menu .menu__btn {
    position: relative;
    top: 15px;
    right: 0;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu .menu__btn > span,
.hamburger-menu .menu__btn > span::before,
.hamburger-menu .menu__btn > span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.25s ease-in-out;
}

.hamburger-menu .menu__btn > span::before {
    content: '';
    top: -8px;
}

.hamburger-menu .menu__btn > span::after {
    content: '';
    top: 8px;
}

.hamburger-menu input:checked + .menu__btn > span {
    transform: rotate(45deg);
}

.hamburger-menu input:checked + .menu__btn > span::before {
    top: 0;
    transform: rotate(0deg);
}

.hamburger-menu input:checked + .menu__btn > span::after {
    top: 0;
    transform: rotate(90deg);
}

.hamburger-menu input:checked ~ .menu__box {
    right: 0;
}

.hamburger-menu .menu__box {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh; 
    background-color: rgba(26, 26, 79, 0.85); 
    box-shadow: -2px 2px 6px rgba(0, 0, 0, 0.4);
    padding: 100px 0;
    list-style: none;
    transition: right 0.25s ease-in-out;
    z-index: 1000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-y: auto;
}

.menu__box .menu__item {
    display: block;
    padding: 14px 24px;
    color: #f0f0f0;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
}

.menu__box .menu__item:hover {
    background-color: #9253e0;
}

/* Ícones sociais lado a lado */
.nav-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.nav-social a {
    color: #ccc;
    font-size: 1.8rem;
    transition: color 0.3s;
}

.nav-social a:hover {
    color: #9253e0;
}

/* --- FOOTER --- */
footer {
    background-color: #1a1a4f;
    padding: 20px 0;
    text-align: center;
    color: #ccc;
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);

    /* Garantir que o footer fique no final da página */
    margin-top: auto; /* Fixação do footer no final da página */
}

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

.footer-container p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links li a {
    text-decoration: none;
    color: #aaa;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: #ffffff;
}

.footer-social {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-social a {
    color: #ccc;
    font-size: 1.3rem;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #ffffff;
}