/* Layout do site institucional — não altera o app */

html,
body {
    max-width: 100%;
}

body {
    height: auto !important;
    min-height: 100%;
    margin: 0;
    padding-top: 88px;
    background: #fff;
    color: #2c2c2c;
    font-family: "Inter", sans-serif;
    overflow-x: clip;
}

#conteudo {
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1500;
    height: auto !important;
    min-height: 84px;
    margin: 0 !important;
    padding: 12px 4% !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 16px;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}

header img#logo_header {
    margin: 0 !important;
    width: 168px !important;
    max-width: 42vw !important;
    min-width: 0 !important;
    height: auto !important;
    cursor: pointer;
}

header > ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

header > ul:not(#seja) {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    width: auto !important;
}

header > ul:not(#seja) li,
header ul#seja li {
    white-space: nowrap;
}

header ul#seja {
    width: auto !important;
    margin: 0 !important;
}

header #menu-trigger {
    display: none !important;
    position: static !important;
    width: 28px;
    height: 28px;
    margin: 0 !important;
    cursor: pointer;
    flex-shrink: 0;
}

.menu-hidde {
    display: block;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: -100%;
    width: min(320px, 82vw);
    height: 100vh;
    margin: 0;
    padding: 24px 16px;
    background: #fff;
    box-shadow: 2px 0 16px rgba(0, 0, 0, 0.18);
    transition: left 0.35s ease;
    overflow: auto;
}

.menu-hidde.open {
    left: 0;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1900;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.menu-open {
    overflow: hidden;
}

.menu-hidde img#logo_menu {
    position: static;
    display: block;
    width: 160px;
    max-width: 70%;
    margin: 0px 0 24px;
    cursor: pointer;
}

.menu-hidde ul {
    position: static;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-hidde li {
    margin: 0;
    padding: 14px 8px;
    font-size: 18px;
    color: #2c2c2c;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.menu-hidde li:hover {
    color: #df2726;
}

.menu-sociais {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.menu-sociais a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-sociais img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0);
}

@media (max-width: 1100px) and (min-width: 901px) {
    header > ul:not(#seja) {
        gap: 12px;
    }

    header > ul:not(#seja) li {
        font-size: 13px;
    }
}

@media (max-width: 900px) {
    header > ul:not(#seja) {
        display: none !important;
    }

    header ul#seja {
        display: none !important;
    }

    header #menu-trigger {
        display: block !important;
    }
}

img#imagem {
    display: block;
    width: 70%;
    margin: 8px auto 0;
    border-radius: 12px;
    object-fit: contain;
    object-position: center;
}

#conteudo_txt {
    width: min(920px, 92%);
    margin: 0 auto;
    padding: 16px 0 48px;
    text-align: center;
}

#conteudo_txt h1 {
    margin: 12px 0 16px;
}

#conteudo_txt h3 {
    margin: 36px 0 24px;
    font-size: 28px;
    font-weight: 700;
}

#servicos {
    width: 100%;
}

#servicos ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: min(720px, 100%);
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

#servicos .servico {
    width: auto;
    margin: 0;
    padding: 18px 10px 14px;
    background: #f6f6f6;
    border: 1px solid #2c2c2c14;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#servicos .servico img,
#servicos img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

#servicos .servico span {
    font-size: 13px;
    font-weight: 600;
    color: #2c2c2c;
}

#parte_baixo {
    display: block;
    width: 100%;
    margin: 0;
    padding: 24px 0 0;
    height: auto;
    text-align: center;
}

#baixe {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

#baixe a {
    display: inline-flex;
    line-height: 0;
}

#baixe img,
div#baixe img {
    width: auto;
    height: 52px;
    max-width: 180px;
    margin: 0;
    object-fit: contain;
}

#campo_celular {
    position: relative;
    width: min(1100px, 94%);
    min-height: 0;
    margin: 48px auto 64px;
    padding: 36px 16px 48px;
    overflow: hidden;
}

#campo_esquerdo {
    position: static;
    width: min(420px, 90%);
    margin: 0 auto 24px;
    font-size: 22px;
}

#celular {
    position: relative;
    left: auto;
    transform: none;
    margin: 24px auto 0;
    width: min(320px, 88vw);
    min-width: 0;
    height: auto;
    min-height: 560px;
    overflow: hidden;
}

#aplicativo {
    padding-bottom: 64px;
}

#celular #footer,
#celular div#footer,
div#footer {
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 50px;
}

#quem_somos {
    width: min(1000px, 92%);
    margin: 0 auto 40px;
    padding: 0 0 24px;
    text-align: center;
}

#quem_somos h4 {
    font-size: 26px;
    margin: 16px 0 20px;
}

#txt_quem_somos {
    text-align: left;
    line-height: 1.6;
    margin-bottom: 28px;
}

#campo_opcoes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 36px 0 16px;
}

.opcao {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 16px;
    background: #f6f6f6;
    border-radius: 8px;
}

.opcao p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
}

body > footer {
    position: static !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    height: auto !important;
    padding: 40px 20px 32px;
    background: #1a1a1a;
    color: #fff;
}

body > footer img,
body > footer img#logo_footer {
    filter: none !important;
    width: min(180px, 52vw) !important;
    height: auto !important;
    margin: 0 !important;
}

body > footer img#logo_footer {
    background-color: white;
    padding: 0.5rem;
    border-radius: 12px;
}

body > footer ul.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

body > footer ul.menu li {
    cursor: pointer;
    font-size: 14px;
}

body > footer ul.menu li:hover {
    color: #df2726;
}

body > footer #midias ul {
    display: flex;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

body > footer #midias img {
    width: 28px !important;
    height: 28px !important;
    filter: brightness(0) invert(1) !important;
    margin: 0 !important;
}

#form label {
    font-size: 14px;
    font-weight: 500;
    color: #2c2c2c;
}

#form h1 {
    margin-top: 0;
    text-align: center;
}

div#midias_contato p {
    max-width: 100%;
    text-align: center;
}

div#midias_contato ul {
    width: 100%;
    margin: 16px 0 0;
    box-sizing: border-box;
}

div#conteudo:has(#perguntas) {
    width: min(1100px, 92%);
    margin: 24px auto 48px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

@media (max-width: 1000px) {
    div#conteudo:has(#perguntas) {
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    #servicos ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #campo_opcoes {
        grid-template-columns: 1fr;
    }

    #campo_esquerdo {
        font-size: 18px;
    }

    #conteudo_txt h3,
    #quem_somos h4 {
        font-size: 22px;
    }
}
