@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;
}

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);
}

#contact-email:hover {
    text-decoration: underline;
}

.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;
}

.full-width-text {
    padding: 20px;
}

.full-width-text div {
    color: var(--WHITE, #F5F5F5);
    text-align: center;
    font-family: "Neue Haas Grotesk Display Pro";
    font-size: 11.5vw;
    font-style: normal;
    font-weight: 500;
    line-height: 90%;
    text-transform: uppercase;
}

.full-width-text span {
    color: var(--WHITE, #F5F5F5);
    font-family: "Neue Haas Grotesk Display Pro";
    font-size: 54px;
    font-style: normal;
    font-weight: 500;
    line-height: 85.537px;
    text-transform: uppercase;
}

.project-section {
    padding: 20px;
    padding-bottom: 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: var(--WHITE, #F5F5F5);
    font-family: "Neue Haas Grotesk Display Pro";
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 147%;
}

.project-section #description {
    max-width: 20em;
    line-height: 120%;
}

.video-wrapper {
    width: 100vw;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-wrapper iframe {
    aspect-ratio: 40 / 17;
    height: auto;
    width: 100vw;
    border: none;
}

.section-synopsis {
    display: flex;
    flex-direction: column;
    gap: 100px;
    padding: 20px 20px 100px 20px;
}

.synopsis-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 98vh;
}

.synopsis-header {
    display: flex;
    justify-content: space-between;
}

.synopsis-header #synopsis-p {
    color: var(--WHITE, #F5F5F5);
    font-family: "Neue Haas Grotesk Display Pro";
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: 133.4%;
    max-width: 70%;
}

.synopsis-header #synopsis-text {
    color: var(--CINZA-CLARO, #BDBDBD);
    text-align: right;
    font-family: "Neue Haas Grotesk Display Pro";
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 3.12px;
    text-transform: uppercase;
}

.synopsis-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-img {
    width: 100%;
    aspect-ratio: 40 / 17;
    cursor: pointer;
    object-fit: cover;

    transition: all 1s ease;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    
    animation: modal-trans 0.5s cubic-bezier(.06,.34,.11,.95) forwards;
}

#imgModal.show {
    display: flex;
}

/* animação de saída reaproveitada */
#imgModal.sair {
    animation: modal-sair 0.5s ease forwards;
}

@keyframes modal-trans {
    from {
        opacity: 0;
        filter: blur(25px);
        backdrop-filter: blur(0px);
    }

    to {
        opacity: 1;
        filter: blur(0px);
        backdrop-filter: blur(8px);
    }
}

@keyframes modal-sair {
    from {
        opacity: 1;
        filter: blur(0px);
        backdrop-filter: blur(8px);

    }

    to {
        opacity: 0;
        filter: blur(25px);
        backdrop-filter: blur(0px);
    }
}

.modal.show {
    display: flex;
}

.modal-img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border: none;


}

.carrossel-container {
    height: 90vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: grab;
}

.carrossel {
    display: flex;
    gap: 20px;
    will-change: transform;
    transform: translateX(0);
}

.painel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    
}

.white {
    background-color: #f5f5f5;
}

.section-story-board {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 80px;
}

.story-board-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.story-board-texts {
    display: flex;
    gap: 90px;
}

#logo-storyboard {
    margin-left: 20px;
}

#story-board-title {
    color: var(--BLACK, #0C0C0D);
    font-family: "Neue Haas Grotesk Display Pro";
    font-size: 120px;
    font-style: normal;
    font-weight: 450;
    line-height: 80.016%;
    text-transform: uppercase;
}

#story-board-text {
    color: var(--BLACK, #0C0C0D);
    font-family: "Neue Haas Grotesk Display Pro";
    font-size: 23px;
    font-style: normal;
    font-weight: 600;
    line-height: 124%;
    text-align: justify;
    max-width: 28em;
}

.image-story-board {
    width: 100%;
    height: 823px;
    flex-shrink: 0;
    aspect-ratio: 16 / 9;
    background-image: url('../images/images-projects/project-1/5\ 1.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.participants-contact-footer {
    display: flex;
    flex-direction: column;
}

.participants-contact {
    z-index: 1;
    display: flex;
    flex-direction: column;
    margin-top: -5%;
    align-items: end;
}

.participants {
    width: 97.65%;
    height: 750px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border-left: 1px solid #BDBDBD;
    border-top: 1px solid #BDBDBD;    
    background: var(--BLACK, #0C0C0D);
    transform-origin: top right;
    transform: rotate(-5deg);
    transition: all 0.4s cubic-bezier(.77, .02, 0, .97);
}

.participants:hover {
    transform: rotate(-3deg);
}

#participants-header {
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #706E6E;
    text-wrap: nowrap;
}

#participants-name {
    display: flex;
    flex-wrap: wrap;
    gap: 0px 20px;
    justify-content: flex-start;
    align-items: center;
    max-width: 95%;
}

#participants-name #person {
    color: var(--WHITE, #F5F5F5);
    font-family: "Neue Haas Grotesk Display Pro";
    font-size: 45px;
    font-style: normal;
    font-weight: 600;
    line-height: 133.4%;
}

#funcion {
    color: var(--CINZA-CLARO, #BDBDBD);
    font-family: "Neue Haas Grotesk Display Pro";
    font-size: 23px;
    font-style: normal;
    font-weight: 500;
    line-height: 133.4%;
}

.contact {
    margin-top: -330px;
    height: 350px;
    align-self: self-start;
    width: 97.65%;
    transform-origin: top left;
    transform: rotate(5deg);
    z-index: 2;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    background: #BDBDBD;
    padding: 20px;
    transition: all 0.4s cubic-bezier(.77, .02, 0, .97);

    text-decoration: none;
}

.contact:hover {
    transform: rotate(3deg);
}

.contact #contact-text {
    font-weight: 900;
    font-size: 12vw;
    line-height: 75%;
    text-transform: uppercase;
    color: #0C0C0D;
    margin-left: 2%;
    text-wrap: wrap;
}

.contact #contact-header {
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #0C0C0D;
}

footer {
    margin-top: -1.2%;
    z-index: 3;
    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;
}


/*animation*/

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s;
    transition-delay: 0.7s;
}

.show {
    opacity: 1;
    transform: translateY(0px);
    transition: all 1s;
}


.reveal02 {
    transform: rotate(-8deg);
    transition: all 10s cubic-bezier(.06, .34, .11, .95);
}

.show02 {
    transform: rotate(-2deg);
    transition: all 1s cubic-bezier(.06, .34, .11, .95);
}

.reveal03 {
    transform: rotate(8deg);
    transition: all 10s cubic-bezier(.06, .34, .11, .95);
}

.show03 {
    transform: rotate(2deg);
    transition: all 1s cubic-bezier(.06, .34, .11, .95);
}



/* 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;
    }
}