* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #F15A29;
    color: #333;
}

.header {
    background: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.menu {
    max-width: 1200px;
    margin: auto;
}

.lista_menu {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    gap: 50px;
    padding: 15px;
}

.lista_menu li a {
    text-decoration: none;
    color: #000;
    font-size: 18px;
    transition: 0.3s;
}

.lista_menu li a:hover {
    color: #F15A29;
    border-bottom: 2px solid #F15A29;
}

.logo_menu img {
    height: 60px;
}

main {
    flex: 1;
    padding-top: 100px;
    text-align: center;
}

section {
    padding: 60px 20px;
    background: #fff;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.35);
    border-radius: 10px;
    margin: 40px auto;
    max-width: 800px;
    text-align: center;
}

section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #F15A29;
}

.btn {
    background: #F15A29;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background: #d94c21;
}

.rodape {
    background: #222;
    color: #fff;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

@media (max-width: 768px) {
    main {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }
    nav a {
        margin: 5px 0;
    }
    footer {
        width: 100%;
    }
}

@media (max-width: 480px) {
    nav {
        flex-direction: column;
        align-items: center;
    }
    main {
        width: 100%;
    }
    h1 {
        font-size: 1.2rem;
    }
}

.mensagem-boasvindas {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #F15A29;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: fade 4s ease-in-out;
    z-index: 9999;
}

@keyframes fade {
    0% { opacity: 0; transform: translate(-50%, -20px); }
    10% { opacity: 1; transform: translate(-50%, 0); }
    90% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, -20px); }
}

body.modo-escuro {
    background-color: #1e1e1e;
    color: #f5f5f5;
}

body.modo-escuro section {
    background: #333;
    color: #f5f5f5;
    border: 2px solid #F15A29;
}

body.modo-escuro .rodape {
    background: #111;
}

#tema {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    color: #F15A29;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}