@font-face {
    font-family: 'Urbanist';
    src: url('../fonts/urbanist.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Big Shoulders';
    src: url('../fonts/bigshoulders.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

:root {
    --black: #1A1A1A;
    --white: #F7F7F7;
    --orange: #FF5733;
    --line: rgba(247, 247, 247, 0.12);
    --font: 'Urbanist', Arial, Helvetica, sans-serif;
    --font-display: 'Big Shoulders', Impact, sans-serif;
    --viewport-height: 100dvh;
}


html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

html {
    scroll-behavior: auto;
}

body {
    margin: 0;
    font-family: var(--font);
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
}

body,
button,
input,
textarea,
select {
    font-family: var(--font);
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
video {
    max-width: 100%;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--black);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-piece {
    width: 46px;
    height: 46px;
    border: 1px solid white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 24px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    mix-blend-mode: difference;
}

.brand {
    display: inline-flex;
    align-items: center;
    height: 42px;
}

.brand-logo {
    display: block;
    height: 38px;
    width: auto;
    object-fit: contain;
}

.site-nav {
    display: flex;
    gap: 28px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.site-nav a {
    opacity: 0.72;
    transition: opacity 0.25s ease;
}

.site-nav a:hover {
    opacity: 1;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid currentColor;
    background: transparent;
    color: currentColor;
    border-radius: 999px;
    padding: 0;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 1px;
    background: currentColor;
    margin: 5px auto;
}

.section {
    position: relative;
    min-height: 100vh;
    padding: 130px 32px;
    overflow: hidden;
}

.container {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.narrow {
    width: min(820px, 100%);
}

.center {
    text-align: center;
}

.eyebrow {
    margin: 0 0 20px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-weight: 900;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(52px, 8vw, 126px);
    line-height: 0.88;
    letter-spacing: -0.085em;
    margin-bottom: 28px;
}

h2 {
    font-size: clamp(44px, 7vw, 98px);
    line-height: 0.95;
    letter-spacing: -0.08em;
    margin-bottom: 28px;
}

h3 {
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.055em;
    margin-bottom: 16px;
}

p {
    font-size: 18px;
    line-height: 1.35;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 24px;
    border-radius: 999px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 900;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--white);
    color: var(--black);
}

.btn-large {
    min-height: 62px;
    padding: 18px 34px;
}

.section-heading {
    width: min(760px, 100%);
    margin-bottom: 70px;
}

.section-heading.center {
    margin-left: auto;
    margin-right: auto;
}

.section-heading p {
    color: #444;
}

.service-card span {
    display: inline-block;
    margin-bottom: 80px;
    color: rgba(255, 255, 255, 0.38);
    font-size: 13px;
    letter-spacing: 0.2em;
}

/* ENTREGAVEIS */

.section-deliverables {
    background: var(--black);
    color: white;
}

.split {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    align-items: center;
}

.split-text p {
    color: rgba(255, 255, 255, 0.75);
}

.carousel-cut {
    width: 100%;
    overflow: visible;
}

.carousel-track {
    display: flex;
    gap: 22px;
    width: max-content;
    padding-right: 45vw;
    will-change: transform;
}

.service-card {
    flex: 0 0 320px;
    height: 370px;
    padding: 30px;
    border-radius: 8px;
    background: #222;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    border: 1px solid transparent;
    transform: translateY(0) scale(1);
    opacity: 0.55;
    transition:
        transform 0.35s ease,
        opacity 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.service-card.active {
    border-color: var(--orange);
    transform: translateY(-34px) scale(1.04);
    opacity: 1;
    box-shadow: 0 38px 110px rgba(255, 87, 51, 0.18);
}

.service-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.72);
}

/* EQUIPE */

.section-team {
    background: #f5f5f2;
    color: var(--black);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 70px;
}

.team-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.08);
}

.team-photo {
    height: 340px;
    background: #222;
    background-size: cover;
    background-position: center;
    filter: grayscale(1);
}

.team-card h3,
.team-card p {
    padding-inline: 24px;
}

.team-card h3 {
    margin-top: 24px;
}

.team-card p {
    padding-bottom: 28px;
    font-size: 15px;
    color: #555;
}

/* BIO */

.section-bio {
    background: var(--black);
    color: white;
    display: flex;
    align-items: center;
}

.section-bio p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 18px;
}

/* CTA */

.section-cta {
    background:
        radial-gradient(circle at 50% 20%, rgba(255, 91, 31, 0.18), transparent 34%),
        var(--black);
    color: white;
    display: flex;
    align-items: center;
}

.section-cta h2 {
    width: min(900px, 100%);
    margin-inline: auto;
}

/* FOOTER */

.site-footer {
    background: var(--black);
    color: white;
    border-top: 1px solid var(--line);
    padding: 34px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.site-footer div {
    text-align: center;
}

.site-footer p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
}

.site-footer a {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
}

/* RESPONSIVO */

@media (max-width: 980px) {
    .site-header {
        padding: 22px;
    }

    .site-nav {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100dvh;
        background: #050505;
        color: white;
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 24px;
        z-index: -1;
    }

    body.menu-open .site-nav {
        display: flex;
    }

    body.menu-open .site-header {
        mix-blend-mode: normal;
        color: var(--white);
    }

    body.menu-open .brand {
        position: relative;
        z-index: 1002;
    }

    .menu-toggle {
        display: block;
    }

    .section {
        padding: 100px 22px;
    }

    .split {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer {
        padding: 30px 22px;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    h1 {
        font-size: 54px;
    }

    h2 {
        font-size: 46px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        flex-basis: 280px;
    }

}

@media (max-width: 768px) {
    .section-deliverables {
        min-height: 100svh;
        padding: 86px 22px 70px;
    }

    .section-deliverables .split {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .section-deliverables .split-text h2 {
        font-size: clamp(44px, 14vw, 62px);
        line-height: 0.92;
        margin-bottom: 24px;
    }

    .section-deliverables .split-text p {
        font-size: 18px;
        line-height: 1.35;
    }

    .carousel-cut {
        width: calc(100vw - 44px);
        overflow: visible;
    }

    .carousel-track {
        gap: 14px;
        padding-right: 50vw;
    }

    .service-card {
        flex: 0 0 74vw;
        height: 285px;
        min-height: 285px;
        padding: 24px;
        border-radius: 24px;
        opacity: 0.45;
    }

    .service-card.active {
        transform: translateY(-12px) scale(1.015);
        opacity: 1;
    }

    .service-card span {
        margin-bottom: 48px;
        font-size: 12px;
    }

    .service-card h3 {
        font-size: 26px;
        margin-bottom: 14px;
    }

    .service-card p {
        font-size: 15px;
        line-height: 1.35;
    }
}

/* Ajustes LP */

.site-header {
    padding: 18px 38px;
}

.brand {
    height: 28px;
}

.brand-logo {
    height: 28px;
}

.hero-section {
    min-height: 0;
    height: auto;
    display: block;
    padding: 0;
    background: var(--black);
    color: var(--white);
}

.hero-image-wrapper {
    position: relative;
    inset: auto;
    height: 70svh;
    min-height: 460px;
    overflow: hidden;
}

.hero-image {
    opacity: 1;
    transform: none;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.hero-overlay {
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.48) 38%, rgba(0, 0, 0, 0.02) 76%),
        linear-gradient(to right, rgba(0, 0, 0, 0.45), transparent 52%);
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 36px 38px 56px;
    margin-top: 0;
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(220px, 1fr);
    column-gap: 32px;
    align-items: end;
}

.hero-content .eyebrow {
    grid-column: 1;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.72);
}

.hero-content h1 {
    grid-column: 1;
    font-family: var(--font-display);
    font-size: clamp(52px, 8vw, 122px);
    line-height: 0.92;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 18px;
}

.hero-content p:not(.eyebrow) {
    grid-column: 1;
    width: min(430px, 100%);
    font-size: 16px;
    line-height: 1.28;
    color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
    grid-column: 2;
    grid-row: 1 / span 3;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-self: end;
    align-self: center;
    margin-top: 0;
    margin-bottom: 0;
}

.hero-actions .btn {
    min-height: 56px;
    padding: 16px 28px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 15px;
}

.section-problems {
    min-height: 135svh;
    padding: 150px 32px;
    display: flex;
    align-items: center;
    background: var(--white);
}

.method-blocks span {
    position: absolute;
    background: var(--black);
    pointer-events: none;
}

.method-blocks span:first-child {
    left: 0;
    top: 0;
    width: 50vw;
    height: 42%;
}

.method-blocks span:last-child {
    right: 0;
    bottom: 0;
    width: 50vw;
    height: 42%;
}

.method-card {
    position: relative;
    z-index: 2;
    width: min(680px, 88%);
    margin: 0 auto;
    padding: clamp(46px, 6vw, 86px);
    background: #e9e9e9;
    color: var(--black);
    will-change: transform;
}

.method-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: inherit;
}

.method-card .eyebrow {
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: 0.16em;
}

.method-card h2 {
    font-size: clamp(36px, 5vw, 72px);
    line-height: 0.96;
    letter-spacing: -0.03em;
    margin-bottom: 38px;
}

.method-card p:not(.eyebrow) {
    width: min(470px, 100%);
    font-size: 18px;
    line-height: 1.32;
    color: #242424;
}

.section-chess {
    min-height: 185svh;
    padding: 0;
    background: #050505;
    color: var(--white);
    overflow: hidden;
}

.chess-stage {
    position: relative;
    min-height: var(--viewport-height);
    height: var(--viewport-height);
    background: #050505;
    overflow: hidden;
}

#chessCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.chess-scroll-hint {
    position: absolute;
    right: 28px;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
}

.chess-copy {
    position: absolute;
    inset: 0;
    z-index: 4;
    padding: clamp(72px, 9vw, 130px) 32px;
    background: rgba(0, 0, 0, 0.12);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    pointer-events: none;
    transform: translateY(28px);
    opacity: 0;
}

.chess-copy h2 {
    width: min(900px, 100%);
    font-size: clamp(38px, 5vw, 74px);
    line-height: 1.02;
    letter-spacing: 0.08em;
    margin-bottom: 54px;
    text-shadow: 0 18px 60px rgba(0, 0, 0, 0.75);
}

.chess-copy-text {
    width: min(700px, 100%);
    text-align: left;
}

.chess-copy-text p {
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.32;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 14px 42px rgba(0, 0, 0, 0.72);
}

.section-deliverables {
    min-height: 100svh;
    padding-top: 120px;
}

.section-deliverables .split-text h2 {
    font-size: clamp(48px, 6vw, 94px);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

@media (max-width: 980px) {
    .site-header {
        padding: 16px 22px;
    }

    .hero-section {
        padding: 0;
    }

    .site-nav {
        z-index: 1000;
        background: #050505;
        color: var(--white);
        gap: 22px;
        opacity: 1;
        mix-blend-mode: normal;
        isolation: isolate;
    }

    .site-nav a {
        opacity: 1;
        color: var(--white);
        position: relative;
        z-index: 1001;
    }

    .menu-toggle {
        position: relative;
        z-index: 1002;
        width: 34px;
        height: 34px;
        border: 0;
        color: var(--white);
        background: rgba(0, 0, 0, 0.42);
        border-radius: 50%;
    }

    .method-card {
        width: min(620px, 92%);
    }

    .chess-copy h2 {
        letter-spacing: 0.06em;
    }
}

@media (max-width: 620px) {
    .site-header {
        padding: 14px 16px;
    }

    .brand,
    .brand-logo {
        height: 22px;
    }

    .hero-section {
        min-height: 70svh;
        height: auto;
        padding: 0;
    }

    .hero-image-wrapper {
        height: 70svh;
        min-height: 420px;
    }

    .hero-content {
        width: 100%;
        padding: 28px 16px 38px;
        margin-top: 0;
        grid-template-columns: minmax(0, 1fr) minmax(112px, 40%);
        column-gap: 10px;
        align-items: end;
    }

    .hero-content h1 {
        font-size: clamp(30px, 8.6vw, 38px);
        letter-spacing: 0.04em;
        margin-bottom: 14px;
    }

    .hero-content p:not(.eyebrow) {
        font-size: 13px;
        width: 100%;
    }

    .hero-actions {
        justify-content: flex-end;
        margin-top: 0;
        margin-bottom: 0;
    }

    .hero-actions .btn {
        width: auto;
        max-width: 100%;
        min-height: 46px;
        padding: 12px 16px;
        font-size: 12px;
        line-height: 1.05;
        border-radius: 8px;
    }

    .section-problems {
        min-height: 92svh;
        padding: 58px 0;
    }

    .method-blocks span:first-child {
        width: 50vw;
        height: 36%;
    }

    .method-blocks span:last-child {
        width: 50vw;
        height: 36%;
    }

    .method-card {
        width: calc(100% - 64px);
        padding: 40px 28px 38px;
    }

    .method-card h2 {
        font-size: 28px;
        line-height: 1.02;
        margin-bottom: 28px;
    }

    .method-card p:not(.eyebrow) {
        font-size: 15px;
        line-height: 1.28;
        margin-bottom: 12px;
    }

    .section-chess {
        min-height: 175svh;
    }

    .chess-stage {
        min-height: var(--viewport-height);
        height: var(--viewport-height);
    }

    .chess-scroll-hint {
        right: -42px;
        font-size: 10px;
        letter-spacing: 0.18em;
    }

    .chess-copy {
        padding: 74px 26px;
    }

    .chess-copy h2 {
        font-size: 29px;
        line-height: 1.04;
        letter-spacing: 0.08em;
        margin-bottom: 42px;
    }

    .chess-copy-text p {
        font-size: 17px;
        line-height: 1.27;
        margin-bottom: 32px;
    }

    .section-deliverables .split-text h2 {
        font-size: 44px;
        letter-spacing: 0.08em;
    }
}
