* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --transition-fast: 0.6s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
    overflow-x: hidden;
    background-color: #2E293B;
}


/* OVERLAY CASES */

.case-overlay {

    position: fixed;
    inset: 0;
    background: black;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: .5s;

}

.case-overlay.active {

    opacity: 1;
    pointer-events: auto;

}



#case-frame {

    width: 100%;
    height: 100%;
    border: none;
    background: black;

}



.case-close {

    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 10000;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;

}

#smooth-wrapper {
    overflow: hidden;
}

#smooth-content {
    will-change: transform;
}


#lang-toggle {

    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 8px;

    font-family: "Outfit", sans-serif;
    color: #fff;

    font-size: 12px;
    font-weight: 200;

}


#lang-toggle:hover {
    border-color: #EF4E6E;
    color: #EF4E6E;
}

h1,
h2,
h3,
li,
p {
    font-family: "Outfit", sans-serif;
    font-style: normal;
    color: rgba(255, 255, 255, 0.9);
}


.global-bg {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: -1;
}

.hero-bg,
.bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-bg img,
.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.global-grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);

    background-size: 80px 80px;

    opacity: .15;

    mask-image:
        radial-gradient(circle at center,
            black 20%,
            transparent 80%);
}


section {
    width: 100%;
    display: flex;
    flex-direction: column;
}

h2 span {
    color: #EF4E6E;
}

a {
    text-decoration: none;
}

.botoes {
    display: inline-flex;
    font-family: "Outfit", sans-serif;
    font-size: 16px;
    color: #2E293B;
    background-color: #ffffff;
    transition: background var(--transition-fast);
    gap: 16px;
    padding: 10px 10px 10px 20px;
    align-items: center;
    border-radius: 100px;
}

.botoes:hover {
    color: #ffffff;
    background-color: #EF4E6E;
    transition: background var(--transition-fast);
}

.projects-header .botoes {
    margin-bottom: -40px;
}

header {
    display: flex;
    justify-content: space-between;
    position: fixed;
    z-index: 99;
    width: 100%;
    padding: 32px 10vw;
    top: 0;
    left: 0;
    opacity: 0;
    mix-blend-mode: difference;

    .icons-top {
        margin-left: auto;
        display: flex;
        gap: 4px;

    }

    .icons-top svg {
        width: 24px;
        height: 24px;

    }

    .logo img {
        display: block;
        width: 150px;
    }

    a {
        display: block;
        align-items: center;
        color: #ffffff;
        transition: background var(--transition-fast);
        padding: 0 2px;
    }

    a:hover {
        color: #ff4d6d;
        transition: background var(--transition-fast);
    }
}


.bg {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;

    video {
        position: absolute;
        top: -100px;
        left: 0;
    }
}

main {
    position: relative;
    z-index: 2;
}

.char {
    display: inline-block;
    will-change: transform, opacity;
}



.services {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #111111;

    /* STICKY AREA */

    .services-sticky {
        position: sticky;
        top: 0;

        width: 100%;
        height: 100vh;

        overflow: hidden;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* CARDS */

    .service-card {
        position: absolute;

        width: 100%;
        height: 100vh;

        padding: 2rem;

        display: flex;
        flex-direction: column;
        justify-content: space-between;

        overflow: hidden;
    }

    /* COUNTER */

    .service-counter {
        font-size: .75rem;
        font-weight: 400;
        letter-spacing: .08em;
        text-transform: uppercase;

        opacity: .5;
    }

    /* CENTER CONTENT */

    .service-content {
        width: 100%;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        text-align: center;

        flex: 1;
    }

    /* SUBTITLE */

    .service-subtitle {
        font-size: clamp(1.5rem, 2vw, 2.5rem);
        font-weight: 300;

        margin-bottom: 2rem;
    }

    .service-subtitle span {
        color: #ff4d73;
    }


    /* TITLE */

    .service-title {
        font-size: clamp(6rem, 15vw, 15rem);
        font-weight: 900;
        line-height: .9;

        letter-spacing: -.05em;

        text-transform: uppercase;
    }

    /* TAGLINE */

    .service-tagline {
        margin-top: 2rem;

        font-size: clamp(.9rem, 1vw, 1.1rem);
        font-weight: 300;

        opacity: .9;
    }

}


/* Desktop */

.about-mobile {
    display: none;
}


/* SERVICE FOOTER */

.service-footer {
    width: 100%;

    display: flex;
    justify-content: center;
}

.service-footer p {
    display: flex;
    align-items: center;
    gap: 1rem;

    flex-wrap: wrap;
    justify-content: center;

    text-align: center;

    font-size: .75rem;
    font-weight: 300;
    letter-spacing: .08em;
    text-transform: lowercase;

    opacity: .45;
}


/* DOTS */

.service-footer span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #ff4d73;

    flex-shrink: 0;
}


/* INITIAL STACK POSITION */

.service-card:nth-child(1) {
    z-index: 1;
}

.service-card:nth-child(2) {
    z-index: 2;
}

.service-card:nth-child(3) {
    z-index: 3;
}

.service-card:nth-child(4) {
    z-index: 4;
}


/* RESPONSIVE */

@media(max-width: 768px) {

    .service-card {
        height: 88vh;
        padding: 1.5rem;
    }

    .service-title {
        font-size: clamp(4rem, 20vw, 8rem);
    }

    .service-footer p {
        gap: .6rem;
        font-size: .65rem;
    }

}

.CTA {
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #EF4E6E;

    h2 {
        text-align: center;
        font-size: 4vw;
        font-weight: 300;
    }

    p {
        margin-top: 40px;
        font-size: 21px;
        font-weight: 100;
    }
}

/*==================================================
FOOTER
==================================================*/

footer {

    position: relative;

    width: 100%;
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction:column;


    overflow: hidden;

}


/*==================================================
BACKGROUND
==================================================*/

footer::before {

    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;

}


/*==================================================
CONTENT
==================================================*/

.footer-content {

    position: relative;
    z-index: 2;

    width: 100%;
    margin: auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

}


/*==================================================
TITLE
==================================================*/

.footer-title-wrapper {

    width: 100%;
    padding-bottom: 40px 0;

}


.footer-title {

    font-size: clamp(3.5rem, 5vw, 6rem);

    font-weight: 400;

    line-height: 1.08;


    color: #FFF;

    max-width: 1640px;

    margin: auto;

}

.footer-description p {

    text-align: left;

    font-size: clamp(.9rem, 1vw, 1.1rem);
    line-height: 1.4;

    letter-spacing: 0;

    margin: 0;
    padding-bottom: 40px;
}



/*==================================================
BOTÃO
==================================================*/

footer .botoes {

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 18px;

    padding: 10px 10px 10px 24px;

    border-radius: 999px;

    background: #FFF;

    color: #111;

    text-decoration: none;

    transition: .35s ease;

}


footer .botoes:hover {

    transform: translateY(-4px);

}


footer .botoes span {

    font-size: .95rem;
    font-weight: 500;
}


footer .botoes img {

    width: 34px;
    height: 34px;

    border-radius: 50%;

    background: #1b1b2d;

    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

}


footer .links{

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:30px 60px;

}


/*==================================================
RESPONSIVO
==================================================*/

@media(max-width:900px) {

    .footer-trace-word {

        font-size: clamp(2.6rem, 9vw, 4rem);

    }

    .hero-description p {

        font-size: 1.2rem;

    }

    footer .botoes {

        padding: 10px 10px 10px 24px;

    }

}




#copyText,
#copyIcon {
    transition: opacity .2s ease, transform .2s ease;
}

.fade {
    opacity: 0;
    transform: translateY(4px);
}