
/* =================================
   CONFIGURAÇÕES GERAIS
================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --verde-escuro: #003319;
    --vinho-escuro: #710D0D;
    --verde-claro: #00CC66;
    --preto: #242424;
    --cinza: #777;
    --branco: #FFFFFF;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--preto);
}


/* =================================
   CONTAINER
================================= */

.container {
    max-width: 1650px;
    width: 87%;
    margin: auto;
}


/* =================================
   FAIXA SUPERIOR
================================= */

.topbar {
    height: 34px;
    background: var(--verde-escuro);
    color: white;
}

.topbar .container {
    height: 100%;
    display: flex;
    align-items: center;
}

.topbar a {
    color: white;
    text-decoration: none;
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: bold;
}


/* =================================
   IDENTIDADE VISUAL
================================= */

.brand-area {
    min-height: 116px;
    background: white;
}

.brand-content {
    min-height: 116px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.brand {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.brand-name {
    color: var(--verde-escuro);
    font-family: Georgia, serif;
    font-size: 85px;
    line-height: 1;
}

.brand-divider {
    height: 42px;
    width: 1px;
    background: #555;
    margin: 0 10px;
}

.brand-description {
    font-size: 22px;
    font-weight: 300;
    letter-spacing: -1px;
}

.brand-search {
    width: 375px;
    height: 51px;
    border: 1px solid #d6d6d6;
    border-radius: 30px;
    display: flex;
    align-items: center;
    padding: 0 18px 0 25px;
    flex-shrink: 0;
}

.brand-search input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    background: transparent;
}

.brand-search button {
    border: none;
    background: none;
    cursor: pointer;
    color: var(--verde-escuro);
    font-size: 17px;
}


/* =================================
   MENU PRINCIPAL
================================= */

.navigation {
    background: white;
    border-bottom: 1px solid #eee;
}

.nav-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 64px;
}

.nav-menu {
    display: flex;
    align-items: stretch;
    list-style: none;
    gap: 0;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 17px 20px;
    text-decoration: none;
    color: var(--verde-escuro);
    font-size: 20px;
    font-weight: 300;
    white-space: nowrap;
    border-bottom: 5px solid transparent;
    cursor: pointer;
}

.nav-link:hover,
.nav-item.active > .nav-link {
    border-bottom-color: #333;
}

.nav-divider {
    height: 23px;
    width: 1px;
    background: #aaa;
}


/* =================================
   SETAS DOS SUBMENUS
================================= */

.arrow {
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--verde-escuro);
    border-bottom: 2px solid var(--verde-escuro);
    transform: rotate(45deg);
    margin: -6px 3px 0 3px;
    transition: transform .2s;
}

.nav-item.open .arrow {
    transform: rotate(225deg);
    margin-top: 6px;
}


/* =================================
   SUBMENUS
================================= */

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: white;
    box-shadow: 0 5px 15px #0002;
    list-style: none;
    z-index: 100;
    border-top: 3px solid var(--verde-escuro);
}

.nav-item.open .dropdown {
    display: block;
}

.dropdown a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-size: 25px;
    border-bottom: 1px solid #eee;
}

.dropdown a:hover {
    background: #f6eeee;
    color: var(--verde-escuro);
}


/* =================================
   BOTÃO MOBILE
================================= */

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--verde-escuro);
    font-size: 17px;
    cursor: pointer;
}


/* =================================
   BANNER
================================= */

.hero {
    height: 60px;

    background:
        linear-gradient(90deg, #0003, #0000),
        url("../imagens/banner-posniak.jpg");

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}


/* =================================
   RESPONSIVIDADE
================================= */

@media (max-width: 1300px) {

    .brand-name {
        font-size: 60px;
    }

    .brand-description {
        font-size: 35px;
        white-space: normal;
    }

    .brand-search {
        width: 260px;
    }

    .nav-link {
        padding: 17px 12px;
        font-size: 20px;
    }

}


@media (max-width: 850px) {

    .container {
        width: 92%;
    }

    .brand-content {
        padding: 20px 0;
        flex-wrap: wrap;
        gap: 15px;
    }

    .brand-area,
    .brand-content {
        min-height: auto;
    }

    .brand {
        white-space: normal;
    }

    .brand-name {
        font-size: 54px;
    }

    .brand-description {
        font-size: 25px;
    }

    .brand-search {
        width: 100%;
    }

    .nav-content {
        justify-content: space-between;
        min-height: 55px;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .nav-menu.visible {
        display: flex;
    }

    .navigation .container {
        width: 100%;
    }

    .nav-item {
        display: block;
        border-top: 1px solid #eee;
    }

    .nav-link {
        justify-content: space-between;
        padding: 17px 5%;
        font-size: 18px;
        border-bottom: none;
    }

    .nav-divider {
        display: none;
    }

    .dropdown {
        position: static;
        box-shadow: none;
        border-top: 1px solid #eee;
        padding-left: 20px;
        background: #f8f8f8;
    }

    .hero {
        height: 140px;
    }

}

/* =================================
   CONTEÚDO PRINCIPAL
================================= */
.conteudo-principal {
    width: 100%;
    height: auto;
}

.conteudo-principal iframe {
    display: block;
    width: 100%;
    min-height: 800px;
    border: none;
}
.dropdown {
    display: none;
}


/* =================================
   CHAMADA PARA INSCRIÇÃO NO POSNIAK
================================= */

.posniak-inscricao {
    width: 100%;
    box-sizing: border-box;
    background: var(--verde-claro);
    color: var(--branco);
    padding: 24px 30px;
    border-radius: 10px;
    margin: 0 auto 25px;
}

.posniak-inscricao-conteudo {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.posniak-inscricao-texto {
    flex: 1;
}

.posniak-inscricao-texto h2 {
    color: var(--branco);
    font-size: 23px;
    margin: 0 0 10px;
    font-weight: bold;
}

.posniak-inscricao-texto p {
    color: var(--branco);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.posniak-inscricao-botao {
    display: inline-block;
    flex-shrink: 0;
    background: var(--branco);
    color: var(--verde-escuro);
    padding: 15px 25px;
    border-radius: 7px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.posniak-inscricao-botao:hover {
    background: #e6f0e9;
    color: var(--verde-escuro);
    transform: translateY(-2px);
}

@media (max-width: 650px) {
    .posniak-inscricao {
        padding: 22px 18px;
    }

    .posniak-inscricao-conteudo {
        flex-direction: column;
        text-align: center;
    }

    .posniak-inscricao-texto h2 {
        font-size: 20px;
    }

    .posniak-inscricao-botao {
        width: 100%;
        box-sizing: border-box;
    }
}
