body {
    background: #f8f9fa;
    margin: 0;
}

body.app {
    padding-top: 120px;
}


/* Ajustado para compensar novo tamanho do header + menu */
main {
    margin-top: 140px; /* altura real do header + menu */
}

.app main {
    margin-top: 260px;
}


.menu-principal a.ativo,
.menu-app a.ativo {
    background: #f4a623;
    color: white !important;
    padding: 6px 15px;
    border-radius: 20px;
}


/* HEADER */

.header-apiweb {
    background: linear-gradient(135deg, #f4a623, #ffcc70);
    padding: 30px 40px; /* aumentado para dar mais espaço */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icone {
    width: 70px;
}

.logo-area h1 {
    margin: 0;
    font-weight: bold;
}

.logo-area span {
    font-size: 14px;
    color: #5a3e1b;
}

.btn-header {
    background: #222;
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
}

.btn-header:hover {
    background: #5a3e1b;
}

/* MENU PRINCIPAL */

.menu-principal {
    background: #ffffff;
    border-bottom: 3px solid #f4a623;
    text-align: center;
    padding: 25px 0; /* ligeiramente aumentado */
    position: fixed;
    top: 130px; /* ajustado para novo header */
    width: 100%;
    z-index: 999;
}

.menu-principal a {
    margin: 0 18px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.menu-principal a:hover {
    color: #f4a623;
}

/* MENU APP */

.menu-app {
    background: #222;
    padding: 8px 0;
}

.menu-app a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}

.menu-app a.ativo {
    font-weight: bold;
    border-bottom: 2px solid #ffc107;
}


/* FOOTER */

.footer-apiweb {
    background: #f4a623;
    padding: 10px 0;
    margin-top: 10px;
}

/* ========================= */
/* RESPONSIVO - SMARTPHONE */
/* ========================= */


@media (max-width: 768px) {

    .header-apiweb {
        position: relative;   /* remove fixo */
    }

    .menu-principal {
        position: relative;   /* remove top fixo */
        top: auto;
        padding: 18px 10px;
    }

    .menu-app {
        position: relative;   /* remove top fixo */
        top: auto;
        padding: 10px;
    }

    main {
        margin-top: 40px;   /* agora não precisa espaço gigante */
    }

    .app main {
        margin-top: 40px;
    }
}


/* ========================= */
/* ARTICLES */
/* ========================= */


#historia {
    max-width: 1100px;
    margin: 40px auto;
    padding: 30px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08); /* sombra leve moderna */
}


#historia ul {
    padding-left: 100px;
}

#historia li {
    margin-bottom: 200px;
	margin: 80px auto;
}

#historia h1,
#historia h2 {
    text-align: center;
}
