/* =========================================================
   PEÇA PELO CÓDIGO
   STYLE.CSS
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;

    background: #f4f7fb;

    color: #172554;

    min-height: 100vh;

    padding-bottom: 110px;
}

.pagina {
    width: 100%;
}


/* =========================================================
   BANNER PRINCIPAL
========================================================= */

.hero {
    position: relative;

    width: calc(100% - 40px);

    max-width: 1100px;

    height: 500px;

    margin: 0 auto;

    overflow: hidden;

    background: #ffffff;

    border-radius: 0 0 24px 24px;
}


/* =========================================================
   IMAGEM DO BANNER
========================================================= */

.banner {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center center;

    display: block;
}


/* =========================================================
   PAINEL DE PESQUISA
========================================================= */

.painel-pesquisa {
    position: relative;

    width: calc(100% - 40px);

    max-width: 1100px;

    margin: 30px auto 35px;

    padding: 35px 38px 38px;

    background: linear-gradient(
        135deg,
        #032b91 0%,
        #0759dd 100%
    );

    border-radius: 28px;

    box-shadow:
        0 18px 45px rgba(0, 55, 150, 0.30);

    text-align: center;

    z-index: 20;
}


/* =========================================================
   TÍTULO DA PESQUISA
========================================================= */

.painel-pesquisa h2 {
    margin-bottom: 28px;

    color: #ffffff;

    font-size: clamp(27px, 3vw, 40px);

    line-height: 1.16;

    font-weight: 800;

    letter-spacing: -0.5px;
}

.painel-pesquisa h2 strong {
    color: #ffc400;
}


/* =========================================================
   CAMPOS DE PESQUISA
========================================================= */

.opcoes-pesquisa {
    display: grid;

    grid-template-columns: 1fr 1fr;

    width: 100%;

    min-height: 125px;

    background: #ffffff;

    border-radius: 21px;

    overflow: hidden;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   CAMPO
========================================================= */

.campo {
    display: flex;

    align-items: center;

    gap: 20px;

    padding: 25px 32px;

    background: #ffffff;

    cursor: pointer;
}

.campo i {
    flex-shrink: 0;

    color: #0757d9;

    font-size: 50px;
}


/* =========================================================
   CAMPO DE TEXTO
========================================================= */

.campo input {
    width: 100%;

    border: none;

    outline: none;

    background: transparent;

    color: #172554;

    font-size: 21px;
}

.campo input::placeholder {
    color: #64748b;
}


/* =========================================================
   CAMPO FOTO
========================================================= */

.campo-foto {
    justify-content: center;

    border-left: 1px solid #d5ddea;

    color: #334155;

    font-size: 21px;

    font-weight: 700;
}

.campo-foto i {
    font-size: 50px;
}

.campo-foto span {
    color: #334155;
}


/* =========================================================
   SETA
========================================================= */

.seta {
    margin: 8px 0;

    color: #ffffff;

    font-size: 38px;

    line-height: 1;

    font-weight: bold;
}


/* =========================================================
   BOTÃO PESQUISAR
========================================================= */

.botao-pesquisar {
    width: 100%;

    min-height: 82px;

    border: 2px solid rgba(255, 255, 255, 0.75);

    border-radius: 19px;

    background: linear-gradient(
        90deg,
        #0750ff,
        #2188ff
    );

    color: #ffffff;

    font-size: 30px;

    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 8px 18px rgba(0, 35, 130, 0.25);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.botao-pesquisar:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(0, 35, 130, 0.32);
}

.botao-pesquisar i {
    margin-right: 12px;

    font-size: 34px;
}


/* =========================================================
   AVISO
========================================================= */

.aviso {
    width: calc(100% - 40px);

    max-width: 1100px;

    margin: 0 auto 25px;

    padding: 20px 28px;

    display: flex;

    align-items: center;

    gap: 18px;

    background: #ffffff;

    border-radius: 19px;

    box-shadow:
        0 5px 18px rgba(15, 23, 42, 0.07);
}

.aviso-icone {
    flex-shrink: 0;
}

.aviso-icone i {
    color: #0757d9;

    font-size: 40px;
}

.aviso strong {
    display: block;

    margin-bottom: 4px;

    color: #0645d8;

    font-size: 18px;
}

.aviso p {
    color: #64748b;

    font-size: 14px;
}


/* =========================================================
   INTELIGÊNCIA
========================================================= */

.inteligencia {
    width: calc(100% - 40px);

    max-width: 1100px;

    margin: 0 auto 35px;

    padding: 30px 25px;

    background: #ffffff;

    border-radius: 21px;

    box-shadow:
        0 5px 18px rgba(15, 23, 42, 0.07);
}

.inteligencia > h2 {
    margin-bottom: 30px;

    text-align: center;

    color: #102b72;

    font-size: 26px;
}


/* =========================================================
   FUNÇÕES
========================================================= */

.funcoes {
    display: grid;

    grid-template-columns: repeat(4, 1fr);
}

.funcao {
    padding: 12px 22px;

    text-align: center;

    border-right: 1px solid #dbe3ef;
}

.funcao:last-child {
    border-right: none;
}

.funcao > i {
    display: block;

    margin-bottom: 13px;

    color: #0757d9;

    font-size: 44px;
}

.funcao h3 {
    margin-bottom: 8px;

    color: #0645d8;

    font-size: 18px;
}

.funcao p {
    color: #475569;

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================================
   MENU INFERIOR
========================================================= */

.menu-inferior {
    position: fixed;

    left: 50%;

    bottom: 0;

    transform: translateX(-50%);

    width: 100%;

    max-width: 1400px;

    min-height: 92px;

    display: flex;

    align-items: center;

    justify-content: space-around;

    padding: 8px 25px;

    background: rgba(255, 255, 255, 0.98);

    border-top: 1px solid #e2e8f0;

    box-shadow:
        0 -5px 20px rgba(15, 23, 42, 0.08);

    z-index: 100;
}


/* =========================================================
   LINKS DO MENU
========================================================= */

.menu-inferior a {
    min-width: 140px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 6px;

    color: #475569;

    text-decoration: none;

    font-size: 16px;

    font-weight: 600;
}

.menu-inferior a i {
    font-size: 31px;
}

.menu-inferior a.ativo {
    color: #0757d9;
}


/* =========================================================
   BOTÃO ANUNCIAR
========================================================= */

.menu-inferior .anunciar > div {
    width: 68px;

    height: 68px;

    margin-top: -42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #0757d9;

    color: #ffffff;

    border: 4px solid #ffffff;

    box-shadow:
        0 6px 18px rgba(0, 70, 190, 0.38);
}

.menu-inferior .anunciar > div i {
    font-size: 34px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .hero {
        height: 460px;
    }
}


/* =========================================================
   TABLET MENOR
========================================================= */

@media (max-width: 900px) {

    .hero {
        height: 390px;
    }

    .painel-pesquisa {
        margin-top: 25px;
    }

    .funcoes {
        grid-template-columns: 1fr 1fr;

        row-gap: 20px;
    }

    .funcao:nth-child(2) {
        border-right: none;
    }
}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 650px) {

    body {
        padding-bottom: 78px;
    }

    .hero {
        width: calc(100% - 20px);

        height: 280px;

        border-radius: 0 0 18px 18px;
    }

    .painel-pesquisa {
        width: calc(100% - 20px);

        margin-top: 18px;

        padding: 23px 15px;

        border-radius: 21px;
    }

    .painel-pesquisa h2 {
        margin-bottom: 18px;

        font-size: 20px;
    }

    .opcoes-pesquisa {
        grid-template-columns: 1fr;

        min-height: auto;
    }

    .campo {
        min-height: 76px;

        padding: 15px 18px;
    }

    .campo i {
        font-size: 35px;
    }

    .campo input {
        font-size: 16px;
    }

    .campo-foto {
        border-left: none;

        border-top: 1px solid #d5ddea;

        font-size: 16px;
    }

    .campo-foto i {
        font-size: 35px;
    }

    .botao-pesquisar {
        min-height: 63px;

        font-size: 22px;
    }

    .botao-pesquisar i {
        font-size: 26px;
    }

    .aviso {
        width: calc(100% - 20px);

        padding: 15px;

        gap: 12px;
    }

    .aviso-icone i {
        font-size: 30px;
    }

    .aviso strong {
        font-size: 14px;
    }

    .aviso p {
        font-size: 11px;
    }

    .inteligencia {
        width: calc(100% - 20px);

        padding: 22px 10px;
    }

    .inteligencia > h2 {
        font-size: 20px;
    }

    .funcoes {
        grid-template-columns: 1fr 1fr;
    }

    .funcao {
        padding: 12px 8px;
    }

    .funcao:nth-child(2),
    .funcao:nth-child(4) {
        border-right: none;
    }

    .funcao > i {
        font-size: 31px;
    }

    .funcao h3 {
        font-size: 14px;
    }

    .funcao p {
        font-size: 11px;
    }

    .menu-inferior {
        min-height: 72px;

        padding: 5px 2px;
    }

    .menu-inferior a {
        min-width: 55px;

        font-size: 10px;

        gap: 3px;
    }

    .menu-inferior a i {
        font-size: 22px;
    }

    .menu-inferior .anunciar > div {
        width: 52px;

        height: 52px;

        margin-top: -28px;
    }

    .menu-inferior .anunciar > div i {
        font-size: 26px;
    }
}


/* =========================================================
   CELULAR PEQUENO
========================================================= */

@media (max-width: 400px) {

    .hero {
        width: calc(100% - 16px);

        height: 240px;
    }

    .painel-pesquisa {
        margin-top: 15px;
    }

    .painel-pesquisa h2 {
        font-size: 18px;
    }
}