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

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

/* linha azul fina no topo (medida no XD: 1920x5) */
.header:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 5px;
    background: var(--secondary-light);
    z-index: 1;
}

/*
Faixa/ribbon azul do menu: quadrilátero medido direto no vetor do XD
(não é mais estimativa por pixel). Cantos absolutos no artboard (1920px):
  topo-esquerda  (794.9, 107.2)
  topo-direita   (1920,  107.2)
  base-direita   (1920,  192.4)
  base-esquerda  (738.7, 192.4)
Por isso: left:38.47% / topo:107px / altura:85px, e o corte diagonal
via clip-path com o inset calculado a partir desses pontos.
*/
.header:after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: 39%;
    right: 0;
    height: 85px;
    background: var(--secondary-light);
    clip-path: polygon(4.76% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 1;
}

.header .central {
    height: 150px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    z-index: 2;
}

.header .logo {
    width: 368px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: transform .3s ease;
}

.header .logo:hover {
    transform: translateY(-50%) scale(1.04);
}

.header .logo img {
    width: 100%;
    height: auto;
    position: relative;
}

.header_redes {
    position: absolute;
    right: 0;
    top: 24px;
    gap: 74px;
}

.header_redes a:last-child {
    margin-left: 30px;
    margin-right: 90px;
}

.header_nav {
    min-height: 85px;
    position: absolute;
    right: 0;
    bottom: -40px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.header_nav a {
    position: relative;
    padding-bottom: 6px;
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    transition: color .25s ease;
}

.header_nav a:after {
    content: "";
    width: 0;
    height: 2px;
    position: absolute;
    left: 50%;
    bottom: 0;
    background: var(--primary);
    transform: translateX(-50%);
    transition: width .3s ease;
}

.header_nav a:hover,
.header_nav a.active {
    color: var(--primary);
}

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

/* - - - NAV DROPDOWN (Serviços) - - - */

.nav_item {
    position: relative;
    display: flex;
    align-items: center;
}

.menuhover {
    width: 220px;
    position: absolute;
    left: 50%;
    top: 100%;
    padding-top: 22px;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
}

.nav_item:hover .menuhover,
.nav_item:focus-within .menuhover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.menuhover:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 22px;
    bottom: 0;
    background: var(--white);
    border-radius: 6px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
    z-index: -1;
}

.menuhover a {
    position: relative;
    display: block;
    padding: 13px 20px;
    color: var(--gray-text);
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: none;
    transition: var(--transition);
}

.menuhover a:after {
    display: none;
}

.menuhover a:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.menuhover a:hover,
.menuhover a.active {
    color: var(--primary);
    padding-left: 25px;
}

/* - - - NAV DROPDOWN (Serviços) - - - */

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

.header--fixed {
    height: 90px;
    position: fixed;
    top: 0;
    left: 0;
    background: var(--white);
    animation: headerFixed .3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

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

.header--fixed:after {
    bottom: -22px;
    height: 48px;
}

.header--fixed .logo {
    width: 210px;
}

.header--fixed .header_redes {
    top: 12px;
    gap: 40px;
}

.header--fixed .header_redes a:last-child {
    margin-left: 60px;
}

.header--fixed .header_redes .icon {
    width: 38px;
    height: 38px;
}

.header--fixed .header_redes .redes_texto {
    font-size: 16px;
}

.header--fixed .header_redes .redes_texto .small {
    font-size: 12px;
}

.header--fixed .header_nav {
    min-height: 48px;
    bottom: -22px;
    gap: 28px;
}

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

.header--fixed .header_redes a:last-child>img {
    width: 28px;
}

@keyframes headerFixed {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

/*
Medidas tiradas do vetor do XD:
  contato: 1920x584, fundo #1D256E
  dados:   "CONTATO" 26px Regular branco + risco 149x6 var(--primary), itens com ícone
           em caixa 40x40 raio 10 borda var(--primary) (sem preenchimento)
  form:    painel 547x481 raio 10 fundo #111648, inputs outline (transparente, borda
           var(--gray-text)), botão full-width var(--primary)
  legal:   barra 1920x78 fundo var(--gray-dark)
*/

.footer {
    width: 100%;
    position: relative;
    font-family: var(--font-primary);
}

.footer__contato {
    width: 100%;
    background: #1D256E;
    padding: 116px 0 74px;
}

.footer__contato .central {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
}

.footer__dados {
    width: 100%;
    max-width: 420px;
}

.footer__titulo {
    display: block;
    position: relative;
    margin-bottom: 45px;
    padding-bottom: 15px;
    color: var(--white);
    font-family: var(--font-headers);
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 1px;
}

.footer__titulo:before {
    content: "";
    width: 149px;
    height: 6px;
    border-radius: 20px;
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--primary);
}

.footer__item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 35px;
}

.footer__item:last-child {
    margin-bottom: 0;
}

.footer__icone {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary);
    border-radius: 10px;
    transition: var(--transition);
}

.footer__item:has(a:hover) .footer__icone {
    background: var(--primary);
    transform: scale(1.08);
}

.footer__icone img {
    width: 22px;
}

.footer__item div {
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
    line-height: 1.5;
}

.footer__item strong {
    display: block;
    margin-bottom: 4px;
    color: #FF6A1A;
    font-family: var(--font-headers);
    font-size: 13px;
    text-transform: uppercase;
}

.footer__item a {
    color: rgba(255, 255, 255, .85);
    transition: var(--transition);
}

.footer__item a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer__form {
    width: 100%;
    max-width: 547px;
    box-sizing: border-box;
    padding: 27px;
    background: #111648;
    border-radius: 10px;
}

.footer__form .form__linha {
    display: flex;
    gap: 17px;
}

.footer__form .form__linha .item {
    flex: 1;
}

.footer__form .item span {
    color: var(--white);
}

.footer__form .form__input,
.footer__form .form__textarea,
.footer__form select {
    color: rgba(255, 255, 255, .6);
    background: #111648;
    border: 1px solid var(--gray-text);
}

.footer__form select.form__input {
    color: var(--white);
}

.footer__form .form__input::placeholder,
.footer__form .form__textarea::placeholder {
    color: var(--white);
    opacity: 1;
}

.footer__form .form__input:focus,
.footer__form .form__textarea:focus {
    color: var(--white);
    border-color: var(--white);
    outline: none;
}

.footer__form select option {
    background: #111648;
    color: var(--white);
}

.footer__form .botao {
    width: 100%;
    align-self: stretch;
}

.footer__legal {
    width: 100%;
    height: 50px;
    padding: 0;
    background: var(--gray-dark);
}

.footer__legal .central {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-items: center;
}

/* logo da Class: texto jogado pra fora e substituído pela imagem de fundo */
.footer__legal .central>a {
    width: 80px;
    height: 16px;
    display: block;
    text-indent: -9999px;
    overflow: hidden;
    background-image: url('../../imagens/logo-class.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
}

.footer__legal .direitos {
    color: rgba(255, 255, 255, .6);
    font-size: 13px;
}

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

/*  - - - - - AVISO DE COOKIES (LGPD) - - - - - */

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--white);
    color: var(--secondary);
    border-top: 3px solid var(--secondary);
    padding: 16px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-family: var(--font-primary);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .12);
}

.cookie-banner p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    max-width: 640px;
    color: var(--gray-text);
}

.cookie-banner a {
    color: var(--secondary);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-banner button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

.cookie-banner button:hover {
    background: var(--primary-hover);
}

/*  - - - - - AVISO DE COOKIES (LGPD) - - - - - */