body {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    min-width: 100%;
    min-height: 150vh;
}

header {
    height: min-content;
}

main {
    flex: 1;
    margin-top: var(--altura-navbar);
}


/* =========================
   DESTAQUE (HERO)
========================= */

.hero {
    margin-inline: var(--espaco-xl);
    box-shadow: var(--sombra-lg);
}

.hero_box {
    position: relative;
    min-height: 248px;
    background: var(--cor-branco);
    box-shadow: var(--sombra-sm);
    overflow: hidden;
    border-bottom: 2px solid rgba(26, 40, 86, 0.06);
}


.hero_container {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
    padding: 56px 48px 42px 62px;
    margin-left: 40px;
}
.hero_container div {
    flex: 1;
}
.hero-img-div img {
    height: auto;
    width: 100%;
    box-shadow: var(--sombra-lg);
}

.hero_kicker {
    margin: 0 0 10px;
    color: var(--cor-dourado);
    font-size: var(--texto-xs);
    font-weight: 700;
    letter-spacing: 0.11em;
}

.hero_titulo {
    margin: 0 0 14px;
    font-family: var(--fonte-titulo);
    font-size: 3.55rem;
    line-height: 1;
    color: var(--cor-azul-escuro);
}

.hero_titulo span {
    color: var(--cor-dourado);
}

.hero_descricao {
    max-width: 610px;
    margin: 0;
    color: var(--cor-cinza-texto);
    font-size: var(--texto-sm);
    line-height: 1.7;
}


/* =========================
   BARRA DE BUSCA
========================= */

.search-bar-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: var(--espaco-xl);
    width: 100%;
    height: 100px;
    background-color: var(--cor-azul-escuro);
}
.search-bar-section search {
    padding: 10px;
    width: 50%;
    height: 50%;
    border-radius: var(--raio-lg);
    background-color: var(--cor-branco);
}
.search-bar-section form {
    display: flex;
    gap: 10px;
    height: 100%;
}
.search-bar-section input {
    flex: 1;
    border: none;
}



/* =========================
   DIV DE PERGUNTAS (FAQ)
========================= */

.faq-div {
    display: flex;
    justify-content: center;
    margin-inline: var(--espaco-xl);
    box-shadow: var(--sombra-lg);
}
.faq-div > div {
    display: flex;
    gap: var(--espaco-xl);
    max-width: 960px;
}

/* =========================
   BARRA LATERAL (ASIDE)
========================= */

aside {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--espaco-4xl);
    padding: var(--espaco-lg);

    background: #f8f8f8;
    padding: 35px 30px;
    border-radius: 4px;
    border-left: 4px solid var(--cor-dourado);
}

.aside-chat{
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.aside-chat h3{
    font-size: 1.8rem;
    font-weight: normal;
    color: var(--cor-azul-escuro);
}

.aside-chat p{
    font-size: 1rem;
    line-height: 1.6;
    color: var(--cor-cinza-texto);
}

.aside-chat a{
    width: fit-content;

    text-decoration: none;
    background: var(--cor-azul-escuro);
    color: var(--cor-branco);

    padding: 14px 24px;
    border-radius: 3px;

    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: 0.3s;
}

.aside-chat a:hover{
    background: var(--cor-azul-escuro);
    transform: translateY(-2px);
}
/* =========================
   Faq 
========================= */

.faq-container {
    flex: 2;
    margin: 0 auto;
}

.faq-section{
    margin-bottom: 70px;
}

.faq-title{
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.faq-number{
    color: var(--cor-dourado);
    font-size: 2rem;
    font-style: italic;
}

.faq-title h2{
    color: var(--cor-azul-escuro);
}

.faq-item{
    background: #f9f9f9;
    margin-bottom: 14px;
    border-left: 3px solid transparent;
    transition: 0.3s;
}

.faq-item.active{
    border-left-color: var(--cor-dourado);
}

.faq-question{
    width: 100%;
    border: none;
    background: transparent;
    padding: 22px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;

    font-size: 1rem;
    color: var(--cor-azul-medio);
    text-align: left;
}

.faq-icon{
    color: var(--cor-dourado);
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon{
    transform: rotate(180deg);
}

.faq-answer{
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 26px;
}

.faq-answer p{
    padding-bottom: 22px;
    line-height: 1.6;
    color: var(--cor-cinza-texto);
}


/* =========================
   RESPONSIVIDADE
========================= */

@media (max-width: 1020px) {

    .search-bar-section search {
        width: 80%;
    }

}

@media (max-width: 760px) {

    .hero {
        margin: 0;
    }

    .hero_container {
        padding: 56px 48px 42px 62px;
    }

    .hero-img-div {
        display:none;
    }

    .hero_titulo {
        font-size: 2.4rem;
    }

    .hero_decoracao {
        width: 180px;
        height: 94px;
    }

    .faq-div {
        margin: 0;
    }

    .faq-div > div {
        gap: var(--espaco-sm);
        flex-direction: column;
        padding: var(--espaco-xl);
    }

    aside {
        order: 1;
    }

}