header {position: relative; border-top: 3px solid var(--azul);}
header::after {content: ''; position: absolute; top: 88px; right: 0; width: 50%; height: 3px; background: var(--cinza-seg); display: block;}

header .conteudo {display: flex; flex-direction: row; padding: 19px 0 0; gap: 10px; background: var(--branco); position: relative; z-index: 100;}
header .logo.mobile {display: none;}
header .logo {width: 295px; height: auto; margin-left: -11px;  padding: 0 40px 8px 34px; background: var(--branco);}
header .logo svg {height: 126px; width: 100%; width: 221px; margin-top: -10px;}
header .info .externos, header .info .internos{display: flex; flex-direction: row; justify-content: space-between; width: 100%;}
header .info .internos {padding: 0 0 0 9px; width: fit-content; gap: 30px;}

header .info {width: 100%; display: flex; flex-direction: column; justify-content: flex-end;}
header .info .externos {padding: 0 0 20px; position: relative; gap: 5px;}
header .info .externos::before {content: ''; position: absolute; bottom: -3px; left: 9px; width: calc(100% - 9px); height: 3px; background: var(--cinza-seg); z-index: -1;}


header .link {display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 9px; font: 400 15px montserrat; color: var(--cinza); transition: 0.4s;}
header .link b {color: var(--preto); font-size: 17.43px; transition: 0.4s;}
header .whatsapp { color: var(--preto);}
header .whatsapp:hover, header .whatsapp:hover b {color: var(--verde);}
header .link .icone {width: 23px; height: 23px; padding: 5px; display: grid; place-content: center; place-items: center;}
header .link .icone svg {width: 100%; height: 100%; fill: var(--branco);}
header .whatsapp .icone {background: var(--verde);}
header .email .icone, header .endereco .icone {background: var(--azul);}
header .link.endereco p {margin: 0 10px 0 0;}

header .email:hover, header .endereco:hover {color: var(--azul);}

header .pagina {font: 400 15px montserrat; color: var(--cinza); padding: 23px 42px 21px; transition: 0.3s; position: relative;}
header .pagina.ativo {background: var(--azul); text-decoration: underline; color: var(--branco);}
header .pagina.ativo:hover {color: var(--branco);}
header .pagina span {width: 100%; height: 3px; background-color: var(--azul); top: 0; left: 0; position: absolute; transform-origin: left; transform: scaleX(0); transition: 0.4s;}
header .pagina:hover {color: var(--azul-qui); cursor: pointer;}
header .pagina:hover span {transform: scaleX(1);}

@media (max-width:1200px){
     header .pagina {padding: 23px 22px 21px;}
}
@media (max-width:1100px){
     header .pagina {padding: 23px 22px 21px;}
     header .link.endereco p, header .link.endereco b{font-size: 0; display: none;}
}

@media (max-width:990px){
     header .logo svg {width: 100%;}
     header .whatsapp {height: fit-content; margin: auto;}
     header .whatsapp:hover {transform: scale(1.1);}
     header, header .conteudo, header .info .externos {position: unset;}
     header .btns.open {min-width: 40px; height: 40px; position: relative; gap: 6px; background: none;}
     header .btns.open .rec {position: static; background-color: var(--azul);}
     header .btns.open .rec.x {width: 30px; transform: rotate(0deg);}

     header .btns.close {position: absolute; top: -100%; right: 0;}

     header .conteudo {justify-content: space-between; padding: 10px 0;}
     header .link.email, header .link.endereco, header .link.whatsapp p {display: none;}
     header .info {width: fit-content; display: flex; flex-direction: row; align-items: center; gap: 10px;}
     header .info .externos{justify-content: flex-end; height: 100%; padding: 0;}
     header .info .externos::before, header::after {content: unset;}
     header .whatsapp .icone {width: 40px; height: 40px; padding: 8px; border-radius: 100px;}
     header .logo.main {margin: 0; width: fit-content; height: fit-content; padding: 0; max-width: 150px; background-color: unset;}
     header .menu-l {display: flex; flex-direction: column;width: 90%; height: 100%; transition: 0.4s; position: relative; right: 100%;}
     header .btns {display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; padding: 2%; width: 10%; height: 45px; background-color: var(--vermelho); position: relative; transition: 0.4s;}
     header .btns .rec {width: 20%; height: 4px; background: var(--branco); position: absolute;}
     header .btns .rec.y {transform: rotate(45deg);}
     header .btns .rec.x {transform: rotate(-45deg);}
     header .logo.mobile {display: flex; padding: 20px; width: 100%; margin: 0; justify-content: flex-start; align-items: flex-start; max-width: 100%;}
     header .logo.mobile svg {width: auto;}
     header .info .paginas {position: fixed; left: 0; top: 0;  width: 100%; height: 100%; background: #00000000; transition: 0.4s; display: flex; flex-direction: row; z-index: -1;}
     header .info .internos {flex-direction: column; align-items: flex-start; background: var(--branco); width: 100%; height: 100%; gap: 10px; justify-content: flex-start; padding: 10px 0 0;}
     header .pagina {padding: 10px 20px; width: 100%;}
     
     header .paginas.open {background: #00000082; z-index: 100;}
     header .paginas.open .menu-l {right: 0;}
     header .paginas.open .btns.close {top: 0;}
     
     header .pagina span {transform: scaleY(0); height: 100%; width: 3px;}
     header .pagina:hover span {transform: scaleY(1);}
}

@media (max-width:774px){
     header .menu-l {width: 85%;}
     header .btns.close{width: 15%;}
     header .btns .rec {width: 30%;}
}
