@import url('https://fonts.cdnfonts.com/css/neue-haas-grotesk-display-pro');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    background: var(--BLACK, #0C0C0D);
    width: 100vw;
    height: 100vh;
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
}

::-webkit-scrollbar {
    display: none;
}

::selection {
    background-color: #949494;
    color: #141415;
}

.container {
    width: 100%;
    height: 100vh;
    background-image: url('../images/images-contact/background-contact.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px;
}

.menu-toggle {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    text-decoration: none;
    text-align: right;
    color: #F5F5F5;
    letter-spacing: 0.24em;
    cursor: pointer;
}

#text-icon {
    transition: letter-spacing 300ms cubic-bezier(.96,0,.16,1);
}

.menu-toggle:hover #text-icon {
    letter-spacing: 0.34em;
}

#menu-icon {
    width: 30px;
    height: auto;
}

@keyframes slideIn {
    from {
        transform: translateY(-100%) translateX(40%) rotate(22deg);
        opacity: 1;
    }

    to {
        transform: translateY(0) translateX(0) rotate(-3deg);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateY(0) translateX(0) rotate(-3deg);
        opacity: 1;
    }

    to {
        transform: translateY(-100%) translateX(40%) rotate(15deg);
        opacity: 1;
    }
}

.menu {
    position: fixed;
    width: 87%;
    height: 87%;
    display: none;
    top: 0;
    right: 0;
    background: #949494;
    list-style: none;
    padding: 20px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    transform-origin: top right;
    z-index: 2;
    opacity: 0;
}

.menu.active {
    display: flex;
    animation: slideIn 0.7s cubic-bezier(0,.73,.02,.99) forwards;

}

.menu.closing {
    animation: slideOut 0.5s cubic-bezier(1,-0.01,.02,.99) forwards;
}

.menu.active {
    display: flex;
}

#lista-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    list-style-type: none;
}

.item-menu {
    font-weight: 500;
    font-size: 140px;
    line-height: 115px;
    text-transform: uppercase;
    color: #141415;
    text-decoration: none;
    transition: all 0.1s cubic-bezier(1,-0.01,.02,.99);
}

.item-menu:hover {
    color: #f5f5f5;
}

#item-des {
    color: #3d3d3d;
    cursor: default;
}

.number-menu {
    font-size: 45px;
    font-weight: 500;
    text-transform: uppercase;
    color: #141415;
}

.email {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-top: auto;

}

#type {
    font-weight: 600;
    font-size: 15px;
    line-height: 28px;
    text-transform: uppercase;
    color: #0C0C0D;
}

#contact-email {
    text-decoration: none;
    font-weight: 700;
    font-size: 32px;
    line-height: 28px;
    color: #0C0C0D;
    transition: all 0.2s cubic-bezier(1,-0.01,.02,.99);
}

.menu-header {
    display: flex;
    align-items: center;
    position: absolute;
    top: 20px;
    right: 20px;
}

.close-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    text-align: right;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #0C0C0D;
    cursor: pointer;
}

#text-icon-close {
    margin-top: 0;
    transition: letter-spacing 300ms cubic-bezier(.96,0,.16,1);
}

.close-menu:hover #text-icon-close {
    letter-spacing: 0.34em;
}

.menu.active .close-menu {
    display: flex;
}

.container-contact {
    height: 95vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact {
    width: 70%;
    height: 75%;
    display: flex;
    justify-content: space-between;
    background: #F5F5F5;
    padding: 20px;
    transform: rotate(-5deg);
    
}



.contact #left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#left #p {
    font-weight: 500;
    font-size: 45px;
    line-height: 120%;
    color: #0C0C0D;
    max-width: 95%;
    margin-top: -6px;
}

#left .bottom {
    display: flex;
    flex-direction: column;
    gap: 5em;
}

#right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: end;
}

#right span {
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    text-align: right;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #727272;
    text-wrap: nowrap;
}

#contact {
    display: flex;
    flex-direction: column;

    text-decoration: none;
}

#contact #type {
    font-weight: 600;
    font-size: 14px;
    line-height: 28px;
    text-transform: uppercase;
    color: #727272;
}

#contact #email {
    font-weight: 700;
    font-size: 30px;
    line-height: 28px;
    color: #0C0C0D;
    text-decoration: none;
}

#contact #email:hover {
    text-decoration: underline;
}

footer {
    background-color: #0c0c0d;
    width: 100%;
    padding: 55px;
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-between;
}

.footer-logo-button {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-button {
    width: 200px;
    height: 38px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 7px 25px;
    background-color: #f5f5f5;
    border-radius: 100px;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    color: #0c0c0d;
    text-decoration: none;
    text-wrap: nowrap;
    transition: all 0.3s cubic-bezier(.77,.02,0,.97);
}

.footer-button:hover {
    background-color: #BDBDBD;
}

.group-emails {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

#group-email {
    display: flex;
    flex-direction: column;
}

#group-email span {
    font-weight: 600;
    font-size: 15px;
    line-height: 28px;
    text-transform: uppercase;
    color: #9D9D9F;
}

#group-email a {
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    color: #F5F5F5;
    text-decoration: none;
}

#group-email a:hover {
    text-decoration: underline;
}

.footer-colmn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-colmn span {
    font-weight: 600;
    font-size: 15px;
    line-height: 28px;
    text-transform: uppercase;
    color: #9D9D9F;
}

.footer-colmn a {
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    color: #F5F5F5;
    text-decoration: none;
}

.footer-colmn a:hover {
    text-decoration: underline;
}



/* loader */

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #949494;
    display: flex;
    flex-direction: column-reverse;
    justify-content: end;
    align-items: start;
    z-index: 999;
}

/* Animação de saída */
#loader.sair {
    animation: slideOut-load 1.3s cubic-bezier(.57,.01,.01,.97) forwards;
}

#progress-bar {
    width: 100%;
    height: 10px;
    overflow: hidden;
}

#progress-fill {
    height: 100%;
    width: 0%;
    background: #f5f5f5;
    transition: width 0.2s ease;
}

#progress-text {
    padding: 20px;
    color: #0C0C0D;
    font-weight: 450;
    font-size: 225px;
    line-height: 75%;
    animation: number-load 0.8s ease-in-out forwards;
    opacity: 0;
    animation-delay: 0.1s;
}

@keyframes number-load {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideOut-load {
    from {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 1;
    }

    to {
        transform: translateY(-150%) translateX(70%) rotate(22deg);
        opacity: 1;
    }
}