/**
 * Home — isolamento de layout
 * Carregado apenas na landing (sem dashboardv1.css)
 */

body#index {
    float: none !important;
    display: block !important;
    width: 100% !important;
    min-height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    overflow-x: hidden;
}

body#index nav#sidebarhome,
body#index > section,
body#index > footer {
    clear: both;
    width: 100%;
    box-sizing: border-box;
}

body#index .secao-header {
    clear: both;
    float: left;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* z-index extremo + altura fixa faziam seções abaixo sumirem */
body#index .secao-funcionalidades {
    z-index: auto !important;
    height: auto !important;
    min-height: 1000px;
}

body#index .secao-artigos--home,
body#index .secao-gratuito {
    clear: both !important;
    float: left !important;
    width: 100% !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Nav home — evita quebra do item "Plataforma gratuita" */
body#index nav#sidebarhome header ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 2px 6px;
    float: none;
    width: 100%;
}

body#index nav#sidebarhome header ul li {
    width: auto !important;
    flex: 0 0 auto;
    float: none !important;
    padding-bottom: 0;
}

body#index nav#sidebarhome header ul li p {
    white-space: nowrap;
    font-size: 13px;
    padding: 4px 6px;
}

@media (max-width: 1280px) {
    body#index nav#sidebarhome header ul li p {
        font-size: 12px;
        padding: 4px 4px;
    }

    body#index nav#sidebarhome header ul li figure {
        transform: scale(0.9);
    }
}
