/* =========================================================
   TORRES FILMES
   STYLE.CSS
========================================================= */


/* =========================================================
   RESET
========================================================= */

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


html {
    scroll-behavior: smooth;
}


body {
    background: #090909;
    color: #f4f4f0;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    overflow-x: hidden;
}


img,
video {
    max-width: 100%;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   VARIÁVEIS
========================================================= */

:root {

    --bg: #090909;

    --bg-soft: #111111;

    --text: #f4f4f0;

    --muted: #9b9b96;

    --accent: #d8ff3e;

    --border: rgba(255, 255, 255, .12);

}


/* =========================================================
   CONTAINER
========================================================= */

.container {

    width: min(
        1180px,
        calc(100% - 80px)
    );

    margin: 0 auto;

}


/* =========================================================
   HEADER
========================================================= */

.header {

    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 100;

    background:
        linear-gradient(
            180deg,
            rgba(9, 9, 9, .92),
            rgba(9, 9, 9, .35),
            transparent
        );

}


.header-inner {

    height: 90px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


/* LOGO — TEXTO */

.logo {

    display: flex;

    align-items: center;

    position: relative;

}


.logo-text {

    display: block;

    color: var(--text);

    font-size: 15px;

    font-weight: 800;

    letter-spacing: .12em;

    white-space: nowrap;

}


/* NAV */

.nav {

    display: flex;

    align-items: center;

    gap: 34px;

}


.nav a {

    color: rgba(244, 244, 240, .78);

    font-size: 13px;

    font-weight: 600;

    transition:
        color .25s ease;

}


.nav a:hover {

    color: var(--accent);

}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    overflow: hidden;

    background: #050505;

    isolation: isolate;

}


.hero-video {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    opacity: .25;

    z-index: -3;

}


.hero-overlay {

    position: absolute;

    inset: 0;

    z-index: -2;

    background:

        linear-gradient(
            90deg,
            rgba(5, 5, 5, .96) 0%,
            rgba(5, 5, 5, .84) 35%,
            rgba(5, 5, 5, .45) 65%,
            rgba(5, 5, 5, .72) 100%
        ),

        linear-gradient(
            135deg,
            rgba(216, 255, 62, .22),
            transparent 55%
        );

}


.hero-inner {

    min-height: 100vh;

    display: grid;

    grid-template-columns:
        1.1fr .9fr;

    align-items: center;

    gap: 40px;

    padding-top: 90px;

}


.hero-content {

    position: relative;

    z-index: 3;

}


.eyebrow {

    color: var(--accent);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .2em;

    margin-bottom: 22px;

}


.hero h1 {

    font-size: clamp(
        54px,
        7vw,
        100px
    );

    line-height: .94;

    letter-spacing: -.055em;

    font-weight: 800;

    max-width: 780px;

}


.hero-description {

    margin-top: 28px;

    max-width: 470px;

    color: var(--muted);

    font-size: 18px;

    line-height: 1.6;

}


.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin-top: 34px;

    min-height: 54px;

    padding: 0 27px;

    border-radius: 999px;

    background: var(--accent);

    color: #080808;

    font-size: 13px;

    font-weight: 800;

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}


.button:hover {

    transform: translateY(-3px);

    box-shadow:
        0 12px 30px
        rgba(216, 255, 62, .2);

}


.hero-image-wrapper {

    position: relative;

    width: 100%;

    max-width: 470px;

    justify-self: end;

}


.hero-image-wrapper::after {

    content: "";

    position: absolute;

    inset: 0;

    border-radius: 34px;

    background:
        linear-gradient(
            90deg,
            #050505 0%,
            transparent 40%
        ),
        linear-gradient(
            0deg,
            #050505 0%,
            transparent 30%
        );

    pointer-events: none;

}


.hero-image {

    width: 100%;

    aspect-ratio: 4 / 5;

    object-fit: cover;

    display: block;

    border-radius: 34px;

}


/* =========================================================
   STATEMENT
========================================================= */

.statement {

    position: relative;

    min-height: 720px;

    display: flex;

    align-items: center;

    overflow: hidden;

    isolation: isolate;

}


.statement-image {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    /* IMAGEM EM 20% DO CENTRO */

    object-position: center 20%;

    z-index: 0;

}


.statement-overlay {

    position: absolute;

    inset: 0;

    z-index: 1;

    background:

        linear-gradient(
            90deg,
            rgba(5, 5, 5, .92),
            rgba(5, 5, 5, .48),
            rgba(5, 5, 5, .76)
        );

}


.statement-inner {

    position: relative;

    z-index: 2;

}


.statement h2 {

    max-width: 850px;

    font-size: clamp(
        48px,
        6vw,
        86px
    );

    line-height: .98;

    letter-spacing: -.05em;

}


.statement p:last-child {

    margin-top: 28px;

    color: rgba(244, 244, 240, .75);

    font-size: 20px;

}


/* =========================================================
   SEÇÕES
========================================================= */

.section {

    padding: 140px 0;

}


.section-heading {

    margin-bottom: 70px;

}


.section-heading h2 {

    max-width: 850px;

    font-size: clamp(
        42px,
        5vw,
        70px
    );

    line-height: 1;

    letter-spacing: -.045em;

}


/* =========================================================
   PORTFÓLIO
========================================================= */

.portfolio {

    background: var(--bg);

}


.portfolio-category {

    margin-bottom: 120px;

}


.category-heading {

    margin-bottom: 36px;

}


.category-heading h3 {

    font-size: 32px;

    letter-spacing: -.03em;

}


.category-heading p {

    margin-top: 10px;

    max-width: 550px;

    color: var(--muted);

    line-height: 1.6;

}


/* =========================================================
   CARROSSEL DE FOTOGRAFIAS
========================================================= */

.photo-carousel {

    width: 100vw;

    margin-left:
        calc(50% - 50vw);

    overflow-x: auto;

    overflow-y: visible;

    padding:
        30px
        0
        45px
        40px;

    scrollbar-width: none;

    position: relative;

}


.photo-carousel::-webkit-scrollbar {

    display: none;

}


.photo-track {

    display: flex;

    gap: 0;

    width: max-content;

    padding-right: 80px;

}


.photo-item {

    flex: 0 0 270px;

    height: 360px;

    margin-left: -42px;

    position: relative;

    border-radius: 22px;

    overflow: hidden;

    box-shadow:
        0 12px 30px
        rgba(0, 0, 0, .28);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        z-index .35s ease;

}


.photo-item:first-child {

    margin-left: 0;

}


.photo-item:hover {

    transform:
        translateY(-14px)
        scale(1.035);

    box-shadow:
        0 20px 42px
        rgba(0, 0, 0, .42);

    z-index: 20;

}


.photo-item img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

}


/* =========================================================
   FILMES
========================================================= */

.films-category {

    margin-top: 80px;

}


.films-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 34px;

}


.film-card {

    display: block;

}


.film-thumbnail {

    position: relative;

    overflow: hidden;

    border-radius: 22px;

    aspect-ratio: 16 / 9;

    background: #111;

}


.film-thumbnail img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .45s ease;

}


.film-card:hover
.film-thumbnail img {

    transform: scale(1.045);

}


.play-button {

    position: absolute;

    top: 50%;

    left: 50%;

    transform:
        translate(-50%, -50%);

    width: 66px;

    height: 66px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--accent);

    color: #090909;

    font-size: 20px;

    padding-left: 3px;

}


.film-info {

    padding-top: 18px;

}


.film-info span {

    color: var(--accent);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .16em;

}


.film-info h4 {

    margin-top: 8px;

    font-size: 24px;

    letter-spacing: -.025em;

}


/* =========================================================
   SOBRE
========================================================= */

.about {

    background: var(--bg-soft);

}


.about-grid {

    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    align-items: center;

    gap: 100px;

}


.about-image {

    position: relative;

}


.about-image img {

    width: 100%;

    aspect-ratio: 4 / 5;

    object-fit: cover;

    border-radius: 30px;

}


.about-content h2 {

    font-size: clamp(
        42px,
        5vw,
        70px
    );

    line-height: 1;

    letter-spacing: -.05em;

}


.about-content p:not(.eyebrow) {

    margin-top: 24px;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.75;

    max-width: 600px;

}


/* =========================================================
   SERVIÇOS
========================================================= */

.services {

    background: var(--bg);

}


.services-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top:
        1px solid var(--border);

}


.service {

    padding:
        42px 30px
        42px 0;

    border-bottom:
        1px solid var(--border);

}


.service:nth-child(
    3n + 2
) {

    padding-left: 30px;

    border-left:
        1px solid var(--border);

}


.service:nth-child(
    3n
) {

    padding-left: 30px;

    border-left:
        1px solid var(--border);

}


.service-number {

    display: block;

    color: var(--accent);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .15em;

    margin-bottom: 50px;

}


.service h3 {

    font-size: 25px;

    letter-spacing: -.03em;

}


.service p {

    margin-top: 15px;

    color: var(--muted);

    line-height: 1.65;

    max-width: 320px;

}


/* =========================================================
   CONTATO
========================================================= */

.contact {

    position: relative;

    min-height: 760px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background: #050505;

    isolation: isolate;

}


.contact-video {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    opacity: .25;

    z-index: -2;

    pointer-events: none;

}


.contact-overlay {

    position: absolute;

    inset: 0;

    z-index: -1;

    pointer-events: none;

    background:

        linear-gradient(
            90deg,
            rgba(5, 5, 5, .92) 0%,
            rgba(5, 5, 5, .70) 32%,
            rgba(5, 5, 5, .35) 65%,
            rgba(5, 5, 5, .70) 100%
        ),

        linear-gradient(
            135deg,
            rgba(216, 255, 62, .68) 0%,
            rgba(216, 255, 62, .32) 35%,
            rgba(216, 255, 62, .08) 65%,
            rgba(5, 5, 5, .35) 100%
        );

}


.contact-inner {

    position: relative;

    z-index: 2;

    text-align: center;

}


.contact-inner h2 {

    font-size: clamp(
        52px,
        7vw,
        100px
    );

    line-height: .94;

    letter-spacing: -.055em;

}


.contact-inner > p:not(.eyebrow) {

    margin-top: 24px;

    color: rgba(244, 244, 240, .75);

    font-size: 18px;

}


.button-light {

    margin-top: 35px;

}


.contact-links {

    margin-top: 35px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 30px;

}


.contact-links a {

    color: rgba(244, 244, 240, .75);

    font-size: 13px;

    transition:
        color .25s ease;

}


.contact-links a:hover {

    color: var(--accent);

}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    padding: 30px 0;

    border-top:
        1px solid var(--border);

    background: #050505;

}


.footer-inner {

    display: flex;

    justify-content: space-between;

    color: #777;

    font-size: 11px;

    letter-spacing: .08em;

}


/* =========================================================
   ANIMAÇÃO
========================================================= */

.reveal {

    opacity: 0;

    transform:
        translateY(30px);

    transition:
        opacity .8s ease,
        transform .8s ease;

}


.reveal.is-visible {

    opacity: 1;

    transform:
        translateY(0);

}


/* =========================================================
   RESPONSIVO — TABLET
========================================================= */

@media (max-width: 900px) {

    .container {

        width:
            min(
                100% - 50px,
                1180px
            );

    }


    .hero-inner {

        grid-template-columns:
            1fr .65fr;

        gap: 25px;

    }


    .hero h1 {

        font-size:
            clamp(
                48px,
                8vw,
                76px
            );

    }


    .about-grid {

        grid-template-columns:
            1fr;

        gap: 60px;

    }


    .about-image {

        max-width: 520px;

    }


    .services-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .service:nth-child(
        3n + 2
    ),
    .service:nth-child(
        3n
    ) {

        padding-left: 0;

        border-left: 0;

    }


    .service:nth-child(
        2n
    ) {

        padding-left: 30px;

        border-left:
            1px solid var(--border);

    }

}


/* =========================================================
   RESPONSIVO — MOBILE
========================================================= */

@media (max-width: 700px) {

    .container {

        width:
            calc(100% - 32px);

    }


    .header-inner {

        height: 76px;

    }


    .logo-text {

        font-size: 13px;

    }


    .nav {

        gap: 15px;

    }


    .nav a {

        font-size: 11px;

    }


    .hero {

        min-height: 900px;

    }


    .hero-inner {

        min-height: 900px;

        grid-template-columns: 1fr;

        padding-top: 100px;

        padding-bottom: 70px;

        align-content: center;

    }


    .hero-content {

        order: 1;

    }


    .hero-image-wrapper {

        order: 2;

        width: 65%;

        max-width: 330px;

        justify-self: start;

        margin-top: 10px;

    }


    .hero h1 {

        font-size:
            clamp(
                50px,
                15vw,
                76px
            );

    }


    .hero-description {

        font-size: 16px;

    }


    .statement {

        min-height: 600px;

    }


    .statement h2 {

        font-size:
            clamp(
                42px,
                12vw,
                65px
            );

    }


    .section {

        padding: 90px 0;

    }


    .section-heading {

        margin-bottom: 45px;

    }


    .section-heading h2 {

        font-size:
            clamp(
                40px,
                11vw,
                58px
            );

    }


    .photo-carousel {

        padding-left: 20px;

    }


    .photo-item {

        flex-basis: 230px;

        height: 315px;

        margin-left: -35px;

        border-radius: 18px;

    }


    .films-grid {

        grid-template-columns:
            1fr;

        gap: 50px;

    }


    .about-content h2 {

        font-size:
            clamp(
                40px,
                11vw,
                58px
            );

    }


    .services-grid {

        grid-template-columns:
            1fr;

    }


    .service,
    .service:nth-child(
        2n
    ) {

        padding:
            35px 0;

        border-left: 0;

    }


    .service-number {

        margin-bottom: 30px;

    }


    .contact {

        min-height: 650px;

    }


    .contact-inner h2 {

        font-size:
            clamp(
                48px,
                13vw,
                72px
            );

    }


    .contact-links {

        flex-direction: column;

        gap: 15px;

    }


    .footer-inner {

        flex-direction: column;

        gap: 12px;

    }

}


/* =========================================================
   RESPONSIVO — CELULAR PEQUENO
========================================================= */

@media (max-width: 500px) {

    .nav {

        gap: 10px;

    }


    .nav a {

        font-size: 10px;

    }


    .photo-item {

        flex-basis: 210px;

        height: 290px;

        margin-left: -30px;

    }


    .photo-carousel {

        padding-left: 16px;

    }


    .hero-image-wrapper {

        width: 72%;

    }


    .statement {

        min-height: 540px;

    }

}