@font-face {
    font-family: 'LL Riforma Bold';
    src: url('./fonts/LL-Riforma-Bold.woff2') format('woff2'),
        url('./fonts/LL-Riforma-Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LL Riforma Medium';
    src: url('./fonts/LL-Riforma-Medium.woff2') format('woff2'),
        url('./fonts/LL-Riforma-Medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LL Riforma Regular';
    src: url('./fonts/LL-Riforma-Regular.woff2') format('woff2'),
        url('./fonts/LL-Riforma-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LL Riforma Lighter';
    src: url('./fonts/LL-Riforma-Light.woff2') format('woff2'),
        url('./fonts/LL-Riforma-Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --nh-white: #f7f7f7;
    --nh-black: #222222;
    --nh-gray: #878787;
    --nh-space: 80px;
    --nh-space2x: calc(var(--nh-space) * 2);
    --nh-spacemin: calc(var(--nh-space) / 2);
    --nh-spacemin2x: calc(var(--nh-space) / 4);
    --nh-spacemin4x: calc(var(--nh-space) / 8);
    --nh-spacemin6x: calc(var(--nh-space) / 12);
    --width100: calc(100% - (var(--nh-space) * 2));
    --nh-fontlighter: 'LL Riforma Lighter', sans-serif;
    --nh-fontregular: 'LL Riforma Regular', sans-serif;
    --nh-fontmedium: 'LL Riforma Medium', sans-serif;
    --nh-fontbold: 'LL Riforma Bold', sans-serif;
    --nh-coltext: calc(100vw / 4);
    --nh-coltext2x: calc(var(--nh-coltext) * 1.5);
    --nh-coltextmin: calc(var(--nh-coltext) / 4);
}

body {
    background-color: var(--nh-white);
    width: 100vw;
    overflow-x: hidden;
    font-family: var(--nh-fontregular);
}

.container{
    padding-left: var(--nh-space);
    padding-right: var(--nh-space);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 100;
}

li {
    list-style: none;
}

/* MENU */

header {
    position: fixed;
    top: 0;
    padding: var(--nh-spacemin2x) 0;
    display: flex;
    align-items: center;
    width: 100%;
    z-index: 1;
    transition: all 0.5s ease;
    z-index: 999;
    background-color: var(--nh-white);
    height: 80px;
}

header a {
    width: var(--nh-coltext);
    color: var(--nh-black);
    text-decoration: none;
    font-family: var(--nh-fontlighter);
}

.in-index {
    background: none;
}

.in-index a {
    color: var(--nh-white);
}

.nh-menu {
    position: absolute;
    left: var(--nh-coltext);
    margin-left: var(--nh-space);
    height: auto;
}

.nh-alteraridioma {
    position: absolute;
    right: var(--nh-space);
}

.nh-alteraridioma ul {
    gap: 10px;
}

header ul{
    display: flex;
    gap: 20px;
}

header img{
    width: 200px;
}

/* BRANDING PROJETO */

.nh-imagemprincipal.in-contactos {
    height: 100vh;
}

.nh-imagemprincipal img{
    height: 100vh;
    width: 100%;
    z-index: 0;
    object-fit: cover;
    object-position: top;
}

.nh-galeriafull img {
    height: auto;
    width: 100%;
    z-index: 0;
    object-fit: cover;
}

.nh-informacoescaixa h1 {
    font-size: 6.5rem;
    letter-spacing: -0.15rem;
    margin-top: var(--nh-space);
    margin-bottom: var(--nh-spacemin);
}

.nh-informacoes {
    margin-left: var(--nh-coltext);
}

.nh-informacoes-contactos {
    margin-left: calc(var(--nh-coltext) + var(--nh-space));
}

.nh-informacoes h2{
    width: var(--nh-coltext2x);
    margin-bottom: var(--nh-spacemin);
    font-size: 1.4rem;
    line-height: 1.8rem;
}

.nh-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nh-tags li {
    border-radius: 50px;
    border: 1px solid var(--nh-black);
    padding: var(--nh-spacemin6x) var(--nh-spacemin2x);
    padding-top: 8px;
    font-size: 0.8rem;
    background: var(--nh-white);
    color: var(--nh-black);
}

.nh-quadrado {
    transform: translateX(8px);
    display: flex;
    align-items: center;
}

.nh-quadrado::before {
    content: '';
    height: 8px;
    width: 8px;
    background-color: var(--nh-black);
    display: inline-block;
    margin-right: 12px;
    margin-bottom: 2px;
    transition: width 0.3s ease 0.1s, height 0.3s ease 0.1s;
}

.nh-quadrado.em-uso::before {
    opacity: 1 !important;
}

#nh-cursorhover {
    font-size: 1rem;
    width: fit-content !important;
    position: absolute;
    z-index: 99999;
    pointer-events: none;
    /* display: none; */
    color: var(--nh-white);
    mix-blend-mode: difference;
    opacity: 0;
    top: 0;
    left: 0;
}
#nh-cursorhover.em-uso {
    opacity: 1;
}
#nh-cursorhover .nh-quadrado {
    background-color: var(--nh-white) !important;
}

#nh-cursorhover[contrast="light"] {
    color: var(--nh-white);
}

#nh-cursorhover.em-uso.nh-quadrado::before {
    height: 15px !important;
    width: 15px !important;
}

.nh-quadrado[contrast="light"]::before {
    background-color: var(--nh-white);
}

.nh-imagemsecundaria img, .nh-imagemsecundaria video{
    margin: var(--nh-space) 0;
    height: auto;
    width: 100%;
    object-fit: cover;
}

.nh-descricao {
    margin-left: var(--nh-coltext);
    margin-bottom: var(--nh-space);
    font-size: 1.4rem;
    line-height: 1.8rem;
}

.nh-absolute {
    position: absolute;
}

.nh-cores ul {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nh-cores li {
    width: auto;
    flex-grow: 1;
    border-radius: 12px;
    height: 250px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    position: relative;
}

.nh-cores-extras {
    display: flex;
    position: relative;
    align-items: flex-end;
    gap: var(--nh-space);
}

.nh-cores-titulo {
    font-size: 1.4rem;
}

.nh-cores li img {
    height: 20px;
    position: absolute;
    top: 10px;
    right: var(--nh-spacemin4x);
}

.nh-coresaberto img {
    display: none;
}

.nh-hex {
    position: absolute;
    right: 0;
    bottom: 0;
}

.nh-font-white, .nh-font-black {
    padding: var(--nh-spacemin4x);
}

.nh-font-white {
    color: var(--nh-white);
}

.nh-font-black {
    color: var(--nh-black);
}

.nh-galeria {
    margin: var(--nh-space) 0;
}

.nh-galeria > div {
    margin: var(--nh-space) 0;
}

.nh-galeriahalf {
    display: flex;
    gap: 20px;
}

.nh-galeriahalf figure {
    width: calc(100% - 10px);
}

.nh-galeriahalf img, .nh-galeriahalf video{
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

figcaption {
    display: none;
}

.nh-maisprojetos ul{
    margin-left: var(--nh-coltext);
    margin-bottom: var(--nh-space);
    display: flex;
    gap: 20px;
}

.nh-maisprojetos img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
    cursor: none;
}

.nh-newsletter {
    background-image: url(../img/newsletter.jpg);
    padding: var(--nh-space);
    color: var(--nh-white);
    height: 68vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nh-newsletter h3 {
    font-size: 6.5rem;
}

.nh-quadrado-white::before {
    content: '';
    height: 8px;
    width: 8px;
    background-color: var(--nh-white);
    display: inline-block;
    margin-right: 12px;
    margin-bottom: 1px;
}

.nh-formularionomecaixa, .nh-formularioenviar {
    display: flex;
    gap: 20px;
}

.nh-formularionomecaixa input{
    width: 25%;
    margin-bottom: 20px;
}

input:focus-visible{
    outline: none !important;
}

#mce-EMAIL{
    width: 65%;
}

#mc-embedded-subscribe-form {
    margin-left: var(--nh-coltext);
    display: flex;
    flex-direction: column;
    position: relative;
}

input {
    background-color: transparent;
    border: 1px solid var(--nh-white);
    padding: var(--nh-spacemin4x) var(--nh-spacemin2x);
    border-radius: 50px;
    color: var(--nh-white);
}

input::placeholder {
    color: var(--nh-white);
}

#mc-embedded-subscribe {
    width: 35%;
    background-color: var(--nh-white);
    color: var(--nh-black);
    transition: all 0.1s ease;
    cursor: pointer;
}

#mc-embedded-subscribe:hover {
    background-color: var(--nh-black);
    color: var(--nh-white);
    border: 1px solid var(--nh-black);
}

.nh-footercontactos {
    margin: var(--nh-space) 0;
}

.nh-footercontactos a{
    text-decoration: none;
}

.nh-footercontactos a:hover{
    color: var(--nh-black);
}

.nh-footercontactos ul a{
    color: var(--nh-black);
    text-decoration: none;
    margin-left: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 4px;
}

.nh-footercontactos ul {
    position: absolute;
    line-height: 1.4rem;
    display: flex;
    flex-direction: column;
}

.nh-footercontactos div{
    margin-left: var(--nh-coltext);
}

.nh-footercontactos h3 {
    font-size: 2rem;
    line-height: 2.5rem;
}

.nh-footercontactos h3:last-of-type {
    margin-bottom: var(--nh-spacemin2x);
}

.nh-footercontactos div a {
    color: var(--nh-gray);
}

.nh-footercontactos .nh-quadrado::before {
    opacity: 1;
}

.parallax {
    /* background-attachment: fixed; */
    background-size: cover;
}

.nh-link {
    height: 10px;
    width: 10px;
    overflow: hidden;
    margin: 0 !important;
    margin-bottom: 3px !important;
    display: flex;
    flex-direction: column;
}

.nh-link img{
    height: 10px;
    width: 10px;
    transition: transform 0.4s ease;
}

.nh-link img:nth-child(2){
    transform: translate(-20px, 10px);
}

.nh-footercontactos li:hover .nh-link img:nth-child(1) {
    transform: translate(10px, -10px);
}

.nh-footercontactos li:hover .nh-link img:nth-child(2){
    transform: translate(0px, -10px);
}

.nh-footercontactos h3 br:nth-last-of-type(1){
    display: none;
}

.nh-mobilemenu, .nh-mobilemenulinks {
    display: none;
}

.nh-maisprojetos ul p, .nh-estudio-colaboradores article p {
    display: none;
}

.nh-galeria video {
    width: 100%;
    height: auto;
}

.nh-tosite {
    position: absolute;
    top: calc(var(--nh-spacemin) + var(--nh-space));
    right: var(--nh-space);
    border-radius: 50px;
    background-color: var(--nh-white);
    border: 1px solid var(--nh-white);
    padding: var(--nh-spacemin6x) var(--nh-spacemin2x);
    font-size: 0.8rem;
    color: var(--nh-black);
    text-decoration: none;
    transition: all 0.1s ease;;
    padding-top: 8px;
}

.nh-tosite:hover {
    background-color: var(--nh-black);
    color: var(--nh-white);
    transition: all 0.1s ease;;
}

.nh-snap {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
}

.nh-snapitem {
    scroll-snap-align: center;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.nh-snapitem img, .nh-snapitem video{
    height: 100vh;
    width: 100%;
    overflow: hidden;
    object-fit: cover;
}

.snap-title{
    position: fixed;
    left: 0;
    bottom: 0;
    padding: var(--nh-spacemin) var(--nh-space);
    transform: translateX(-10px);
    color: var(--nh-white);
    font-size: 6.5rem;
    font-family: var(--nh-fontlighter);
    letter-spacing: -0.25rem;
    transition: opacity 0.3s;
    opacity: 0;
    display: none;
}

.snap-title.active {
    opacity: 1;
    display: initial;
}

.nh-404 {
    background-color: var(--nh-white);
    color: var(--nh-black);
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.nh-404 h1{
    font-size: 6.5rem;
}

.nh-404 p {
    font-size: 1.4rem;
    line-height: 1.2rem;
}

.nh-404 span{
    font-family: var(--nh-fontlighter);
    opacity: 0.5;
    font-size: 1rem;
    line-height: 1.8rem;
}

.nh-404 .nh-404number {
    opacity: 1;
}

.nh-contactos {
    background-color: var(--nh-black);
    color: var(--nh-white);
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
}

.nh-contactos nav h2 {
    margin-bottom: 0;
}

.nh-contactos .nh-quadrado-white {
    left: var(--nh-space);
}

.nh-contactos a {
    color: var(--nh-white);
    text-decoration: none;
}

.nh-contactos a:hover {
    color: var(--nh-gray);
}

.nh-contactoscopy {
    position: absolute;
    bottom: var(--nh-spacemin2x);
    left: calc(var(--nh-coltext) + var(--nh-space));
}

.nh-servicos {
    display: flex;
    align-items: center;
}

.nh-inprojetos a{
    color: var(--nh-black);
}

.nh-projetos {
    margin-top: calc(var(--nh-space));
}

.nh-portfolio {
    display: flex;
    margin-top: var(--nh-space);
    margin-bottom: var(--nh-space);
    gap: 20px;
    flex-wrap: wrap;
}

.nh-portfolio a {
    color: var(--nh-black);
    text-decoration: none;
}

.nh-portfolio article {
    width: calc(calc(100% / 3) - 20px);
    position: relative;
    overflow: hidden;
}

.nh-portfolio article[contrast="light"] {
    color: var(--nh-white);
}

.nh-projetos article[contrast="light"] li {
    border-color: var(--nh-white);
}

.nh-projetos article li {
    white-space: nowrap;
}

.nh-projetos article li:last-child {
    padding-right: var(--nh-spacemin2x);
}

.nh-projetos .nh-tags {
    flex-wrap: nowrap;
    transition: transform linear;
}

.nh-estudio-colaboradores article h3, .nh-portfolio article h3 {
    font-size: 2.8rem;
}

.nh-portfolio article p {
    margin-bottom: var(--nh-spacemin6x);
}

.nh-portfolio article img {
    height: 100%;
    max-height: 100%;
    width: 100%;
    border-radius: 12px;
    cursor: none;
    object-fit: cover;
    object-position: center;
}

.nh-estudio-colaboradores article > div, .nh-portfolio article > div {
    position: absolute;
    top: 0;
    left: 0;
    padding: var(--nh-spacemin2x);
    width: 100%;
    pointer-events: none;
    display: flex;
    flex-direction: column-reverse;
    height: 100%;
    justify-content: space-between;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0) 30%
    );
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nh-estudio-colaboradores article:hover > div, .nh-portfolio article:hover > div {
    opacity: 1;
}

.nh-estudio-colaboradores article > div > div, .nh-portfolio article > div > div {
    display: flex;
    flex-direction: column-reverse;
}

.nh-portfolio .nh-tipo-descricao {
    display: flex;
    gap: var(--nh-spacemin4x);
    margin: var(--nh-space) 0;
}

.nh-portfolio .nh-tipo-descricao h1 {
    flex: 0 0 50%;
    font-size: 6.5rem;
}

.nh-portfolio .nh-tipo-descricao p {
    flex: 0 0 50%;
    font-size: 1.4rem;
    line-height: 1.8rem;
}

.nh-portfolio .nh-tags li {
    border: none;
}

.nh-estudio-colaboradores {
    margin-left: var(--nh-space);
    margin-right: var(--nh-space);
    margin-bottom: var(--nh-space);
}

.nh-estudio-colaboradores article {
    position: relative;
    width: calc(50% - 10px);
    overflow: hidden;
}

.nh-estudio-colaboradores article img {
    height: 100%;
    width: 100%;
    border-radius: 12px;
}

.nh-estudio-colaboradores div:not(article div) {
    margin-left: var(--nh-coltext);
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.nh-estudio-colaboradores article div {
    /* position: absolute; */
    /* bottom: 0; */
    color: var(--nh-white);
    /* margin: var(--nh-spacemin2x); */
}

.nh-estudio-colaboradores article .nh-tags {
    margin-top: var(--nh-spacemin6x);
}

.nh-estudio-colaboradores article div li {
    border-color: var(--nh-white);
}

.nh-estudio-colaboradores .nh-quadrado {
    left: var(--nh-space);
}

.nh-tags a {
    color: var(--nh-black);
    text-decoration: none;
}

.nh-tags a:hover {
    color: var(--nh-white);
    background-color: var(--nh-black);
    border-radius: 50px;
}

.nh-estudio-frase {
    height: 100vh;
    display: flex;
    align-items: flex-end;
    background-color: var(--nh-white);
}

.nh-estudio-frase video{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.nh-estudio-frase h1 {
    padding: var(--nh-spacemin) var(--nh-space);
    color: var(--nh-black);
    font-size: 6.5rem;
}

.nh-estudio-video .container{
    margin-top: var(--nh-space);
}

.nh-imagemprincipal video, .nh-estudio-video video {
    height: auto;
    width: 100%;
}

.nh-estudio-galeria {
    margin-bottom: var(--nh-space);
}

.nh-estudio-caixa {
    height: 68vh;
    overflow: hidden;
    position: relative;
}

.nh-estudio-caixa > img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    z-index: 0;     
    display: none;
}

.nh-estudio-caixa > img.active {
    display: inline;
}

.nh-estudio-info {
    position: absolute;
    padding: var(--nh-space);
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.nh-estudio-info nav{
    position: absolute;
    top: 50%;
    display: flex;
    justify-content: space-between;
    width: calc(100% - var(--nh-space2x));
}

.nh-estudio-info nav > img{
    width: 30px;
    background-color: var(--nh-black);
    padding: 8px;
    border-radius: 12px;
}

.nh-estudio-info ul{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    margin-bottom: var(--nh-space);
    display: flex;
    gap: 10px;
}

.nh-estudio-info .nh-quadrado::before {
    transition: all 0.1s ease;
}

.nh-estudio-info ul li.active::before{
    width: 16px;
}

.nh-estudio-info ul .nh-quadrado::before{
    margin: 0;
}

.nh-estudio-info .nh-quadrado {
    transform: translateX(0);
}

.nh-estudio-info h2 {
    font-size: 3rem;
}

.nh-invisible {
    display: none;
}

.nh-menuselected {
    background-color: var(--nh-black);
    color: var(--nh-white);
}

.no-hover:hover {
    background-color: transparent !important;
}

.p-0 {
    padding: 0 !important;
}

.m-0 {
    margin: 0 !important;
}

.nh-logo-alinhamento {
    display: flex;
}

.nh-botao-contactos {
    position: static;
    border-color: var(--nh-black);
    background-color: var(--nh-black);
    color: var(--nh-white) !important;
}

.nh-botao-contactos:hover {
    border-color: var(--nh-black) !important;
    background-color: var(--nh-white) !important;
    color: var(--nh-black) !important;
}

.contactos-frase {
    height: auto;
    position: absolute;
    bottom: 0;
    background-color: transparent;
}

.contactos-frase h1 {
    color: var(--nh-white);
}

.index-r .nh-menu a {
    opacity: 1 !important;
}

.nh-menu a {
    opacity: 0.5;
}

.nh-menu-atual, .in-index .nh-menu a, .index-r .in-index .nh-menu a, .nh-mobilemenulinks a, .nh-menu a:hover {
    /* font-family: var(--nh-fontregular); */
    opacity: 1 !important;
}

.in-index .nh-menu ul li a{
    opacity: 0.5 !important;
}
.in-index .nh-menu ul li a.nh-menu-atual{
    opacity: 1 !important;
}

.irparabaixo-icone {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 15px;
    background-color: var(--nh-white);
    animation: moveUpDown 1s infinite alternate;
}

.nh-areas-de-atuacao-caixa {
    margin: var(--nh-space) 0;
}
.nh-areas-de-atuacao {
    display: flex;
    margin-top: var(--nh-space);
    position: relative;
}
.nh-areas-de-atuacao .nh-quadrado {
    position: initial;
}
.nh-areas-de-atuacao ul {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    gap: var(--nh-spacemin2x);
}
.nh-areas-de-atuacao ul li {
    font-size: 2.8rem;
    display: flex;
    align-items: center;
    color: var(--nh-gray);
    transition: color 0.3s ease;
}
.nh-areas-de-atuacao ul li.ativo {
    color: var(--nh-black);
}
/* .nh-areas-de-atuacao .nh-descricao {
    flex: 0 0 50%;
    margin: 0;
    display: none;
}
.nh-areas-de-atuacao .nh-descricao.ativo {
    display: block;
} */
.nh-areas-de-atuacao .nh-descricao{
	position: absolute;
	left: 50%;
	top: 0;
	width: 50%;
	margin: 0;

	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.nh-areas-de-atuacao .nh-descricao.ativo{
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.nh-areas-de-atuacao ul li:hover {
    color: var(--nh-black);
    cursor: pointer;
}
.nh-areas-de-atuacao ul li::before {
    content: '';
    height: 8px;
    width: 0;
    background-color: var(--nh-black);
    display: inline-block;
    margin-right: 0px;
    margin-bottom: 12px;
    transition: width 0.3s ease, margin-right 0.3s ease;
}
.nh-areas-de-atuacao ul li:hover::before, .nh-areas-de-atuacao ul li.ativo::before {
    width: 8px;
    margin-right: 12px;
}

.nh-impactos {
    display: none;
}

.nh-impactos-caixa {
    display: flex;
}
.nh-impactos-caixa .nh-impactos-icones {
    flex: 0 0 50%;
    display: flex;
    align-items: end;
}
.nh-impactos-caixa .nh-impactos-icones img {
    width: 80px;
    display: none;
}
.nh-impactos-caixa .nh-impactos-icones li.ativo img {
    display: block;
}
.nh-impactos-caixa .nh-descricao {
    flex: 0 0 50%;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--nh-spacemin2x);
}
.nh-impactos-caixa .nh-descricao li::before {
    content: '';
    height: 8px;
    width: 0;
    background-color: var(--nh-black);
    display: inline-block;
    margin-right: 0px;
    margin-bottom: 4px;
    transition: width 0.3s ease, margin-right 0.3s ease;
}
.nh-impactos-caixa .nh-descricao li:hover::before, .nh-impactos-caixa .nh-descricao li.ativo::before {
    width: 8px;
    margin-right: 12px;
}
.nh-impactos-icones li {
    transition: transform 0.25s ease;
}

.nh-impactos-icones li.animar {
    animation: nhIconBounce 0.5s ease-out;
}

@keyframes nhIconBounce {
    0% {
        transform: scaleX(1.4);
    }
    50% {
        transform: scaleX(0.95);
    }
    75% {
        transform: scaleX(1.2);
    }
    100% {
        transform: scaleX(1);
    }
}

.nh-processo {
    margin: var(--nh-space) 0;
}
.nh-processo ol {
    display: flex;
    justify-content: space-between;
    margin-top: var(--nh-space);
}
.nh-processo ol p:not(.nh-etapa) {
    text-align: center;
    width: calc((100vw / 4.6));
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: calc(100% + var(--nh-spacemin2x));
}
.nh-processo .nh-etapa {
    font-size: 6.5rem;
    line-height: 6rem;
    transform: translateY(15%);
}
.nh-processo ol li {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: var(--nh-spacemin);
    width: calc(100% / 6);
    flex-wrap: wrap;
    transition: width 0.3s ease;
    position: relative;
}
.nh-processo ol li:hover {
    width: 50%;
}
.nh-processo ol li:hover p:not(.nh-etapa)  {
    opacity: 1;
}
.nh-processo .nh-navegacao {
    height: 1px;
    width: 100%;
    background: var(--nh-black);
}
.nh-processo .nh-navegacao::after {
    content: '';
    display: block;
    position: absolute;
    width: 10px;
    height: 10px;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--nh-black);
    transition: width 0.3s ease, height 0.3s ease;
}
.nh-processo ol li:hover .nh-navegacao::after{
    height: 20px;
    width: 20px;
}
.nh-processo li:first-of-type .nh-navegacao {
    width: 50%;
    align-self: end;
}
.nh-processo li:last-of-type .nh-navegacao {
    width: 50%;
    align-self: start;
}
.nh-processo li:first-of-type .nh-etapa {
    transform: translate(-15%, 15%);
}

@keyframes moveUpDown {
    from {
        bottom: 20px; 
    }
    to {
        bottom: 50px; 
    }
}

h1 {
    font-family: var(--nh-fontregular);
}

.mce_inline_error {
    background-color: red !important;
}

#mce-responses .response {
    position: absolute;
    background: var(--nh-black);
    padding: var(--nh-spacemin6x) var(--nh-spacemin2x);
    font-size: 0.8rem;
    height: 30px;
    padding-top: 9px;
    border: 1px solid var(--nh-white);
    border-radius: 500px;
    top: -50px;
    z-index: 99;
}

#mce-responses #mce-error-response {
    background-color: red !important;
}

.nh-carrosel {
    display: flex;
    /* overflow-x: auto; */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-x: hidden;
    cursor: none;
}

.nh-carrosel._clicado {
    cursor: grabbing;
}

.nh-carrosel::-webkit-scrollbar {
    display: none;
}

.nh-carrosel > *:not(.irparabaixo-icone) {
    flex: 0 0 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    box-sizing: border-box;
}

.nh-carrosel .irparabaixo-icone {
    position: fixed;
}

.nh-carrosel .barra-contagem {
    position: fixed;
    bottom: 0;
    height: 3px;
    width: 0%;
    background: var(--nh-white);
}

.nh-carrosel-caixa .info {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: var(--nh-space);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--nh-spacemin);
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 70%);
}
.nh-carrosel-caixa .barras {
    display: flex;
    height: fit-content;
    width: 100%;
    gap: var(--nh-spacemin4x);
}
.nh-carrosel-caixa .barra-contagem {
    display: flex;
    align-items: center;
    flex: 1;
    height: 1px;
    background: var(--nh-white);
}
.nh-carrosel-caixa .barra-contagem .counter {
    content: '';
    display: block;
    background: var(--nh-white);
    height: 3px;
    width: 0%;
    transition: width 0ms linear;
}
.nh-carrosel-caixa h2 {
    font-size: 6.5rem;
    color: var(--nh-white);
}
.nh-carrosel-caixa .dados {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nh-botao, .nh-tosite {
    border-color: transparent;
    padding: var(--nh-spacemin4x) var(--nh-spacemin2x);
    border-radius: 50px;
    transition: background-color 0.3s ease, background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.nh-botao:hover, .nh-tosite:hover {
    border-color: transparent !important;
    transform: scale(1.2);
}

.nh-ultimos-projetos {
    display: flex;
    gap: var(--nh-spacemin2x);
    margin: var(--nh-space) 0;
    display: none;
}
.nh-ultimos-projetos > * {
    flex: 1;
}
.nh-ultimos-projetos article div {
    height: fit-content;
}
.nh-ultimos-projetos article img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 12px;
}
.nh-ultimos-projetos article h2 {
    margin-top: var(--nh-spacemin2x);
    color: var(--nh-black);
}
.nh-ultimos-projetos a {
    text-decoration: none;
}

.chamadas-tipo {
    /* scroll-snap-type: y mandatory; */
    height: 50vh;
    /* overflow-y: scroll; */
    overflow: hidden;
    position: relative;
}

.chamada-tipo {
    height: 50vh;
    /* scroll-snap-align: center; */
}

.chamada-tipo a {
    height: 100%;
    display: block;
    position: relative;
}

.chamada-tipo img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.chamadas-tipo .titulo {
    position: absolute;
    bottom: var(--nh-space);
    left: var(--nh-space);
    color: var(--nh-white);
    text-decoration: none;
    font-size: 6.5rem;
    z-index: 1;
}

.nh-tituloseccao {
    font-size: 16px !important;
}

.nh-footer .caixa-direita {
    display: flex;
    justify-content: space-between;
}
.nh-footer .caixa-direita > div {
    flex: 1;
}
.nh-footer .caixa-direita > div, .nh-footer .caixa-direita > div > div {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* gap: var(--nh-space); */
}
.nh-footer .caixa-direita > div p {
    margin-bottom: var(--nh-spacemin2x);
}
.nh-footer .caixa-direita a {
    font-size: 2rem;
    line-height: 2.5rem;
}
.nh-footer .copy-text {
    margin-bottom: 0 !important;
}
.nh-footer .caixa-direita .nh-quadrado {
    transform: none;
}
.nh-footercontactos ul li .nh-quadrado {
    margin-bottom: var(--nh-spacemin2x);
    visibility: hidden;
}

.nh-contacto-pagina {
    background: var(--nh-white);
    height: 100vh;
}
.nh-contacto-pagina section {
    display: flex;
    flex-direction: column;
    padding-left: var(--nh-space);
    padding-right: var(--nh-space);
}
.nh-contacto-pagina section {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.nh-contacto-pagina section > div > div, .nh-contacto-pagina section > div > div .nh-descricao {
    display: flex;
    flex-direction: column;
}
.nh-contacto-pagina section .nh-descricao {
    margin: 0;
}
.nh-contacto-pagina section .nh-caixa-contacto {
    display: grid;
    grid-template-columns: var(--nh-coltext) auto;
    row-gap: var(--nh-space);
}
.nh-contacto-pagina section .nh-caixa-contacto > div {
    display: flex;
    flex-wrap: wrap;
    gap: var(--nh-spacemin2x);
}
.nh-contacto-pagina section .nh-caixa-contacto > div:nth-child(1), .nh-contacto-pagina section .nh-caixa-contacto > div:nth-child(3) {
    width: var(--nh-coltext);
}
.nh-contacto-pagina section .nh-quadrado, .nh-contacto-pagina .copy-text {
    color: var(--nh-black);
    transform: none;
}
.nh-contacto-pagina section a {
    color: var(--nh-black);
    text-decoration: none;
}
.nh-contacto-pagina .copy-text {
    position: absolute;
    bottom: var(--nh-space);
    margin-bottom: 0;
    line-height: 1.4rem;
    margin-left: var(--nh-coltext);
}

.nh-contacto-pagina .frase h1, .nh-contacto-pagina .frase p {
    font-size: 2.8rem;
    line-height: 3rem;
}

.nh-contacto-pagina .frase {
    margin-bottom: var(--nh-space);
}

.sem-footer footer {
    display: none;
}

.pin > * {
    margin: var(--nh-spacemin);
}
.pin input {
    color: var(--nh-black);
    border-color: var(--nh-black);
}
.pin .gg {
    display: flex;
    justify-content: space-between;
    gap: var(--nh-spacemin2x);
}
.pin .g {
    display: flex;
    flex-direction: column;
    gap: var(--nh-spacemin2x);
    flex: 1;
}
.pin .g > div {
    display: flex;
}
.pin .g > div > div {
    display: flex;
    flex-direction: column;
    gap: var(--nh-spacemin4x);
    padding: var(--nh-spacemin2x);
    width: 100%;
    background: white;
    position: relative;
}
.pin .g img, .pin .g video {
    width: 15vw;
    height: auto;
    object-fit: cover;
    object-position: center;
}
.pin .ok::after, .pin .al::after, .pin .er::after {
    display: block;
    height: 2px;
    background: white;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    color: var(--nh-white);
    box-sizing: border-box;
}
.pin .ok::after {
    background: green;
}
.pin .al::after {
    background: orange;
}
.pin .er::after {
    background: red;
}

@media (max-width: 820px) {

    .nh-absolute {
        position: initial;
    }

    body {
        margin: 0;
        padding: 0;
    }

    .nh-galeria > div {
        margin: var(--nh-spacemin2x) 0;
    }

    .nh-cores ul {
        flex-direction: column;
    }

    .nh-galeriahalf {
        flex-direction: column;
    }

    .nh-galeriahalf img{
        width: 100%;
    }

    .nh-maisprojetos {
        display: flex;
        flex-direction: column;
        margin: 0 0 var(--nh-space) 0;
    }

    .nh-maisprojetos ul {
        flex-direction: column;
        margin: 0;
    }

    .nh-quadrado, .nh-quadrado-white {
        margin: 0 0 var(--nh-spacemin2x) 0;
    }

    .nh-descricao {
        margin: 0 0 var(--nh-space) 0;
    }

    .nh-formularionomecaixa input {
        width: 50%;
    }

    .nh-formularionomecaixa, .nh-formularioenviar {
        gap: 10px;
    }

    .nh-formularionomecaixa input {
        margin-bottom: 10px;
    }

    #mc-embedded-subscribe-form {
        margin: 0;
    }

    .nh-informacoes {
        margin: 0;
    }

    .nh-footercontactos div {
        margin: 0;
    }

    .nh-informacoes h2 {
        width: 100%;
    }

    .nh-footercontactos div {
        margin: var(--nh-space) 0;
    }

    .nh-footercontactos h3 {
        font-size: 1.3rem;
        line-height: 1.6rem;
    }

    .nh-footercontactos h3 br:nth-last-of-type(1){
        display: inline-block;
    }

    .nh-footercontactos ul {
        position: initial;
    }

    .nh-newsletter {
        height: 55vh;
        padding: var(--nh-spacemin2x);
    }

    .nh-imagemprincipal img, .nh-galeriafull img {
        width: 100%;
    }

    .container {
        padding: 0 var(--nh-spacemin2x);
    }

    header {
        background-color: var(--nh-white);
        width: 100%;
        padding: var(--nh-spacemin2x) !important;
    }

    header > nav {
        display: none;
    }

    .nh-menu a, .nh-alteraridioma a{
        color: var(--nh-black);
    }

    .nh-mobilemenu {
        display: block;
        width: 15px;
        height: 15px;
        position: absolute;
        right: var(--nh-spacemin2x);
        transition: opacity 0.15s ease;
    }

    header a, header img {
        width: 180px;
        z-index: 999;
        display: flex;
    }

    header.nh-mobilemenuopen .nh-alteraridioma{
        display: flex;
        position: fixed;
        bottom: 0;
        right: 0;
        margin: var(--nh-spacemin2x);
    }

    header.nh-mobilemenuopen .nh-alteraridioma a{
        width: auto;
    }

    .nh-alteraridioma ul {
        gap: 5px;
    }

    header.nh-mobilemenuopen .nh-menu{
        display: initial;
        top: 0;
        left: 0;
        height: 100vh;
        background-color: var(--nh-white);
        width: 100%;
        margin: 0;
    }

    header.nh-mobilemenuopen .nh-menu ul{
        position: absolute;
        top: 20%;
        margin: var(--nh-spacemin2x);
        display: flex;
        flex-direction: column;
        font-size: 1.6rem;
    }

    header.nh-mobilemenuopen .nh-menu .nh-mobilemenulinks{
        position: fixed;
        gap: 5px;
        top: auto !important;
        bottom: 0;
        margin: var(--nh-spacemin2x);
        display: flex;
        flex-direction: column;
        font-size: 1rem;
        font-weight: normal;
    }

    header.nh-mobilemenuopen .nh-menu .nh-mobilemenulinks a{
        gap: 5px;
    }

    .nh-maisprojetos ul p, .nh-estudio-colaboradores article p {
        display: block;
        margin-top: var(--nh-spacemin4x);
    }

    .nh-estudio-colaboradores article div {
        bottom: calc(16px + var(--nh-spacemin4x));
    }

    .fade {
        opacity: 0;
    }

    .nh-cores li img {
        height: 20px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: var(--nh-spacemin2x);
    }

    .snap-title {
        font-size: 4.2rem;
        padding: var(--nh-spacemin4x) var(--nh-spacemin2x);
    }

    .nh-portfolio {
        flex-direction: column;
    }

    .nh-portfolio article img {
        height: 100%;
    }

    .nh-portfolio article {
        width: 100%;
    }

    .nh-servicos {
        flex-direction: column;
        align-items: flex-start;
    }

    .nh-contactos {
        padding: var(--nh-spacemin2x);
    }

    .nh-contactoscopy {
        left: var(--nh-spacemin2x);
    }

    .nh-estudio-frase h1 {
        padding: var(--nh-spacemin4x) var(--nh-spacemin2x);
        font-size: 4.2rem;
    }

    .contactos-frase h1 {
        width: 100vw;
        font-size: 3.6rem;
    }

    .nh-estudio-info {
        padding: var(--nh-spacemin2x);
    }

    .nh-estudio-info nav {
        width: calc(100% - var(--nh-spacemin));
    }

    .nh-estudio-info ul {
        margin-bottom: var(--nh-spacemin2x);
        height: 10px;
    }

    .nh-estudio-colaboradores {
        margin: var(--nh-spacemin2x);
    }

    .nh-estudio-colaboradores div:not(article div) {
        margin-left: 0;
        margin-bottom: var(--nh-space);
    }

    .nh-estudio-colaboradores article {
        width: 100%;
        flex-direction: column;
        flex-wrap: nowrap;
    } 

    .nh-estudio-caixa {
        height: 40vh;
    }

    .snap-title {
        letter-spacing: 0;
    }

    .nh-tosite {
        top: calc(var(--nh-spacemin2x) + var(--nh-space));
        right: var(--nh-spacemin2x);
    }

    .nh-informacoescaixa h1 {
        font-size: 2.8rem;
    }

    .nh-portfolio .nh-tipo-descricao {
        gap: var(--nh-spacemin);
        flex-direction: column;
    }

    .nh-portfolio .nh-tipo-descricao h1 {
        flex: 0 0 50%;
        font-size: 2.8rem;
    }

    .nh-areas-de-atuacao {
        flex-direction: column;
    }

    .nh-areas-de-atuacao .nh-descricao {
        left: 0;
        top: calc(100% + var(--nh-spacemin));
        width: 100%;
    }

    .chamadas-tipo h2 {
        bottom: var(--nh-spacemin2x) !important;
        left: var(--nh-spacemin2x) !important;
        font-size: 4.2rem !important;
    }

    .nh-processo {
        padding-bottom: 0 !important;
    }

    .nh-processo ol {
        flex-direction: column;
    }
    .nh-processo ol li {
        padding-left: var(--nh-spacemin2x);
        /* width: 30vw; */
        box-sizing: content-box;
        height: 180px;
    }
    .nh-processo ol li:last-of-type {
        padding-bottom: 0;
    }
    .nh-processo ol .nh-navegacao {
        position: absolute;
        left: 0;
        width: 1px;
        height: 100%;
        top: 0;
    }
    .nh-processo li:first-of-type .nh-navegacao, .nh-processo li:last-of-type .nh-navegacao {
        width: 1px;
    }
    .nh-processo li h3 {
        position: absolute;
        left: calc(100% + var(--nh-spacemin2x));
        top: 0;
    }
    .nh-processo .nh-etapa {
        line-height: initial;
    }
    .nh-processo ol p:not(.nh-etapa) {
        width: 100%;
        text-align: start;
        top: 0;
        opacity: 1 !important;
        left: calc(100% + var(--nh-spacemin2x));
        width: 60vw;
        margin-top: var(--nh-spacemin4x);
    }
    .nh-processo ol li:hover {
        width: 30vw;
    }
    .nh-processo .nh-navegacao::after {
        top: 50%;
    }

    .nh-newsletter h3, .nh-carrosel-caixa h2 {
        font-size: 4.2rem !important
    }
    .nh-carrosel-caixa .info {
        padding: var(--nh-spacemin2x) !important;
    }
    .nh-carrosel-caixa .info .dados {
        flex-direction: column;
        align-items: start;
        gap: var(--nh-spacemin2x);
    }
    .nh-carrosel-caixa a {
        position: relative;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
    }

    .nh-footer .caixa-direita {
        flex-direction: column;
        gap: var(--nh-spacemin);
        margin-top: var(--nh-spacemin);
    }
    .nh-footercontactos ul li .nh-quadrado {
        display: none;
    }
    .nh-footer .copy-text {
        margin-top: var(--nh-spacemin);
    }
    
    .nh-contacto-pagina section{
        padding-left: var(--nh-spacemin2x);
        padding-right: var(--nh-spacemin2x);
    }

    .nh-contacto-pagina .copy-text {
        margin: 0;
    }

}

@media (min-width: 820px) and (max-width: 2000px) {

    .nh-portfolio article {
        width: calc(50% - 10px);
    }

}
