/* - - - - - HEADER - - - - - */

.header {
    width: 100%;
    height: 130px;
    position: relative;
    background: var(--white);
    z-index: 100;
}

/* A faixa verde do menu nao e uma div separada -- e um ::after do proprio
   header, fixo na parte de baixo. O <nav> (que quebra pra "segunda linha"
   via flex-wrap, ver .header_nav) fica por cima dela. */
.header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40px;
    background: var(--primary);
    z-index: 0;
}

.header .central {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    height: 130px;
}

/* Logo em "card" branco, sobreposto na faixa verde -- igual ao XD. A
   margem negativa de baixo faz ele "descer" por cima do ::after. */
.header .logo {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    margin-right: auto;
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 20px 24px 20px 10px;
    border-radius: 0 0 44px 44px;
}

.header .logo img {
    width: 250px;
    height: auto;
}

.header_contato_item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    position: absolute;
    right: 50%;
    top: 15px;
}

.header_contato_item.telefone {
    margin-right: -80px;
}

.header_contato_item.whatsapp {
    margin-right: -345px;
}

.header_contato_item .header_contato_icone {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--primary);
    border-radius: 50%;

}

.header_contato_item .header_contato_icone img {
    width: 24px;
    height: auto;
    filter: brightness(0) saturate(100%) invert(26%) sepia(23%) saturate(1382%) hue-rotate(60deg) brightness(95%) contrast(90%);
}

.header_contato_item .header_contato_texto {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.header_contato_item .header_contato_texto small {
    color: var(--primary);
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
}

.header_contato_item .header_contato_texto strong {
    color: var(--primary);
    font-size: 24px;
    font-weight: 400;
}

.header_contato_item .header_contato_texto strong span {
    font-size: 14px;
}

.header_contato_item:hover .header_contato_texto strong {
    color: var(--primary);
}

.header .redes {
    position: absolute;
    right: 0;
    top: 25px;
}

/* - - - - NAV (quebra pra cima da faixa verde) - - - - */

.header_nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 55px;
    height: 40px;
    position: absolute;
    bottom: 0;
    right: 0;
}

.header_nav>a {
    position: relative;
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    padding-bottom: 4px;
}

.header_nav>a::after {
    content: "";
    width: 0;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--accent);
    transition: var(--transition);
}

.header_nav>a:hover {
    color: var(--accent);
}

.header_nav>a:hover::after,
.header_nav>a.active::after {
    width: 100%;
}

.header_nav>a.active {
    color: var(--accent);
}

.header.header--fixed {
    height: 50px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 200;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}

.header.header--fixed .central {
    height: 50px;
}

.header.header--fixed::after {
    height: 100%;
}

.header.header--fixed .logo {
    padding: 10px 16px 10px 8px;
    border-radius: 0 0 28px 28px;
}

.header.header--fixed .logo img {
    width: 160px;
}

.header.header--fixed .header_contato_item,
.header.header--fixed .redes {
    display: none;
}

.header.header--fixed .header_nav {
    height: 100%;
    gap: 55px;
}

.header.header--fixed .header_nav>a {
    font-size: 14px;
}

/* - - - - - HEADER - - - - - */


/* - - - - - FOOTER - - - - - */

.footer {
    width: 100%;
    background: var(--primary-darker);
    padding: 70px 0 0;
}

.footer_colunas {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    padding-bottom: 50px;
}

.footer_coluna {
    flex: 1;
    min-width: 320px;
}

.footer_contatos h2 {
    position: relative;
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    padding-bottom: 16px;
    margin-bottom: 45px;
}

.footer_contatos h2::after {
    content: "";
    width: 150px;
    height: 6px;
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--primary);
}

.footer_contatos_lista {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer_contatos_lista li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.footer_contatos_icone {
    width: 40px;
    height: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--white);
    border-radius: var(--radius-lg);
}

.footer_contatos_icone img {
    width: 18px;
    position: relative;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer_contatos_lista small {
    display: block;
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.footer_contatos_lista a {
    color: rgba(255, 255, 255, .9);
    font-size: 15px;
    line-height: 1.5;
}

.footer_contatos_lista a:hover {
    color: var(--accent);
}

/* - - - - FORMULARIO (card verde, igual XD) - - - - */

.footer_formulario {
    background: var(--primary);
    border-radius: var(--radius-lg);
    padding: 30px;
}

.form_aviso {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.form_aviso--sucesso {
    background: #d7f5dd;
    color: #1d6b2e;
}

.form_aviso--erro {
    background: #fbd7d7;
    color: #8a1f1f;
}

.footer_formulario .form_linha {
    display: flex;
    gap: 15px;
}

.footer_formulario .form_linha .form_campo {
    flex: 1;
}

.footer_formulario .form_campo {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}

.footer_formulario .form_campo label {
    color: rgba(255, 255, 255, .7);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.footer_formulario .form__input,
.footer_formulario .form__textarea {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: var(--radius-lg);
    color: var(--white);
}

.footer_formulario .form__textarea {
    height: 140px;
}

.footer_formulario .form__input:focus,
.footer_formulario .form__textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(63, 245, 7, .18);
}

.form_botoes {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.form_botoes .botao {
    flex: 1;
    min-width: 0;
}

/* "Envio" preenchido com a mesma cor de fundo do footer (--primary-darker) */
.botao--envio {
    background-color: var(--primary-darker);
    color: var(--white);
    border: 1px solid var(--primary-darker);
}

.botao--envio:hover {
    background-color: var(--darker);
    transform: translateY(-2px);
}

.footer_copy {
    width: 100%;
    background: var(--dark);
    padding: 20px 0;
}

.footer_copy .central {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer_copy p {
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
}

.footer_copy_class img {
    height: 16px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: .9;
    transition: var(--transition);
}

.footer_copy_class:hover img {
    opacity: 1;
}

/* - - - - - FOOTER - - - - - */