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

a,
a:visited,
a:hover,
a:active {
    color: inherit;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}



/*----- TEXT ADJUSTMENT -----*/

@font-face {
    font-family: "trt-interval-regular";
    src: url(./fonts/TRTINTERVAL-Regular.woff2);
}

@font-face {
    font-family: "trt-interval-medium";
    src: url(./fonts/TRTINTERVAL-Medium.woff2);
}

.section-title {
    font-family: "trt-interval-regular";
    font-size: 1.25rem;
    color: rgb(189, 189, 189);
    margin-bottom: 2rem;
}

.section-title-center {
    align-content: center;
    text-align: center;
    font-family: "trt-interval-regular";
    font-size: 1.5rem;
    font-weight: 700;
    color: rgb(189, 189, 189);
    padding: 2rem;
}

h1 {
    font-family: "trt-interval-medium";
    margin-bottom: 16px;
}

h2 {
    font-family: "trt-interval-regular";
    color: rgb(23, 22, 22);
}

h3 {
    font-family: "trt-interval-regular";
    color: rgb(86, 86, 86);
}

h4 {
    /*--  LEGENDAS --*/
    font-family: "trt-interval-regular";
    color: rgb(104, 104, 104);
    text-transform: uppercase;
}

p {
    font-family: "trt-interval-regular";
    color: rgb(189, 189, 189);
    margin-bottom: 16px;
}

/*----- MARGIN & PADDING ADJUSTMENT -----*/

/*-- NAV   --*/

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
    padding: 0 56px;
    font-family: "trt-interval-regular";
    font-size: 1.25rem;
    text-transform: uppercase;
    background-color: #fff;
    z-index: 1000;
}

header nav ul {
    display: flex;
    gap: 1.25rem;
    list-style: none;
    color: #0000ff;
}

.home-btn img {
    width: 8rem;
    height: auto;
}

@media (max-width: 730px) {
    header {
        padding: 0 1rem;
        font-size: 1rem;
    }

    .home-btn img {
        width: 5rem;
    }
}

/*-- HERO SECTION --*/

section.hero {
    height: 100vh; /* ocupa a tela inteira */
  background-image: url("https://res.cloudinary.com/dhlkjxwgt/image/upload/v1781204245/hero_b8kfnn.gif");
  background-size: cover;        /* cobre toda a área */
  background-position: center;   /* centraliza */
  background-repeat: no-repeat;  /* evita repetição */
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-container {
    height: 100vh;
    width: auto;
    overflow: hidden;
}

.video-container img {
    height: auto;
    width: 100%;
}




/*-- ABOUT SECTION --*/


/*-- BIO --*/

#about {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    gap: 2rem;
    height: 100vh;
}

#about .bio-container {
    grid-column: 3 / span 8;
}

#about .bio-container h1 {
    font-size: 2rem;
}

#about .bio-container p {
    font-size: 1.8rem;
}

.btn-contact {
    height: auto;
    width: auto;
}

.btn-contact {
    height: 2rem;
    width: 12rem;
    background-color: #0000ff;
    align-content: center;
    text-align: center;
    justify-self: center;
    margin-top: 2rem;
    font-family: "trt-interval-medium";
    color: #fff;
    border-radius: 0.2rem;
    transition: background-color 0.2s ease-in-out;
}

@media (max-width: 730px) {
    #about .bio-container {
        grid-column: span 11;
        text-align: left;
    }

    #about .bio-container h1 {
    font-size: 1.6rem;
}

    #about .bio-container p{
        font-size: 1.5rem;
    }
}

/*---- WORK SKILLS ----*/

.work-card {
    overflow: hidden;
    padding: 1.25rem;
    height: 4.25rem;
    /*== COLOCAR O VALOR DE 4.25rem ==*/
    transition: background-color 0.2s ease-in, height 0.5s ease-in-out;
}

.work-card:hover {
    background-color: #e6e6e8;
    cursor: pointer;
    height: 267px;
}

.work-card:active {
    height: auto;
}

.arrow img {
    height: auto;
    width: 40px;
}

.work-categories .work-card .work-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.work-categories .work-card .work-body {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 1.25;
}

.work-body .work-img-container {
    height: 10rem;
    width: 24rem;
    overflow: hidden;
}

.work-body .work-img-container img {
    width: 100%;
    height: auto;
    display: block;
    justify-content: center;
}

@media (max-width: 730px){

    .work-categories .work-card .work-header .work-title{
        font-size: 1.6rem;
    }

    .work-categories .work-card{
        height: 5.7rem;
    }

    .work-categories .work-card .work-body{
        flex-direction: column;
        gap: 0.8rem;
    }

    .work-categories .work-card .work-body img{
        height: 10rem;
        width: auto;
    }
    
    .work-categories .work-card:nth-child(1){
        height: 4.25rem;
    }
    /*== HOVER */
    .work-categories .work-card:active:nth-child(1){
        height: 21.25rem;
    }

    .work-categories .work-card:active:nth-child(2){
        height: 23.8rem;
    }

    .work-categories .work-card:active:nth-child(3){
        height: 23.8rem;
    }

    .work-categories .work-card:active:nth-child(4){
        height: 22.25rem;
    }
    
    .arrow img {
    height: auto;
    width: 25px;
    align-self: center;
    }
}

/*== TXT SKILLS ==*/
.work-card .work-title {
    font-family: "trt-interval-regular";
    font-weight: 500;
    font-size: 2rem;
}

.work-card .work-body {
    font-family: "trt-interval-regular";
    font-weight: 500;
    font-size: 1.5rem;
    color: #A19797;
    margin: 0 1.25rem;
}


/*---- WORK SELECTION ----*/

#work {
    padding: 2rem;
    background-color: #f3f3f3;
}

#project-selection {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    width: auto;
    align-content: center;
}

.card {
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
}

.card .img-card {
    width: 824px;
    height: 450px;
    overflow: hidden;
    position: relative;
}

.card .img-card img {
    width: 100%;
    height: 592px;
    transition: transform 0.4s ease-in-out;
}

.caption-card {
    display: flex;
    justify-content: space-between;
    font-family: "trt-interval-regular";
    gap: 1.25rem;
}

.project-info {
    display: flex;
    justify-content: flex-end;
    gap: 1.25rem;
    color: rgb(189, 189, 189);
}

@media (max-width: 730px){

    .section-title-center{
        padding-top: 2rem;
    }

    .card .img-card{
        width: 21.5rem;
        height: 35rem;
    }

    .card .img-card img{
        width: auto;
        height: 100%;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .caption-card{
        flex-direction: column;
        gap: 0.8rem;
    }

    .caption-card .project-info{
        flex-direction: column;
        justify-content:flex-start;
        gap: 0.5rem;
    }
}

/* HOVER */
.img-card:hover img {
    transform: scale(1.2);
}

/*  ------- WORK 01 -------   */

/*-- PROJECT HERO SECTION --*/

/* NABO */
.project-hero {
    background-image: url(/assets/img/nabo/nabo-thumb-hero.jpg);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    height: 100vh;
    padding: 6rem 56px 24px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

.gallery-nabo {
    padding: 48px 56px;
    background-color: #271509;
}

/* STATE OF DOING */
.state-project-hero {
    background-image: url(/assets/img/the-state-of-doing/state-thumb-hero.jpg);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    height: 100vh;
    padding: 6rem 56px 24px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

.gallery-state {
    padding: 48px 56px;
    background-color: #242220;
}

/* REFRAME */
.reframe-project-hero {
    background-image: url(/assets/img/reframe/reframe-thumb-hero.jpg);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    height: 100vh;
    padding: 6rem 56px 24px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

.gallery-reframe {
    padding: 48px 56px;
    background-color: #121210;
}

/* CARTOONITO */
.cartoonito-project-hero {
    background-image: url(/assets/img/cartoonito/cartoonito-thubm-hero.jpg);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    height: 100vh;
    padding: 6rem 56px 24px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

.gallery-cartoonito {
    padding: 48px 56px;
    background-color: #001128;
}

/* SOL A SOLO */
.solo-project-hero {
    background-image: url(/assets/img/sol-a-solo/sol-thumb-hero.jpg);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    height: 100vh;
    padding: 6rem 56px 24px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

.gallery-solo {
    padding: 48px 56px;
    background-color: #0b0b0c;
}

/* WAYS OF SEEING */
.ways-project-hero {
    background-image: url(/assets/img/ways-of-seeing/ways-thumb-hero.jpg);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    height: 100vh;
    padding: 6rem 56px 24px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

.gallery-ways {
    padding: 48px 56px;
    background-color: #1a1618;
}

/* UNIAPY */
.uniapy-project-hero {
    background-image: url(/assets/img/uniapy/uniapy-thumb-hero.jpg);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    height: 100vh;
    padding: 6rem 56px 24px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

.gallery-uniapy {
    padding: 48px 56px;
    background-color: #22211d;
}

/* FIM PROJECT HERO SECTION */

.project-hero ul {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-self: flex-end;
}

.about-project {
    grid-column: span 5;
    align-self: end;
}

.about-project h2 {
    color: #D9D9D9;
}

.project-categories {
    grid-column: span 12;
    align-self: end;
    font-family: "trt-interval-regular";
}

.project-alignment-left {
    grid-column: span 2;
}

.project-alignment-right {
    grid-column: 7 / span 3;
}

.specialty-alignment {
    grid-column: span 3;
}

/*== TYPE ADJUSMENT==*/

.categories-title {
    font-family: "trt-interval-regular";
    font-size: 12ßpx;
    color: #A19797;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.left-categories {
    color: #D9D9D9;
    text-transform: uppercase;
}

.right-categories {
    color: #A19797;
    text-transform: uppercase;
}

@media (max-width: 730px){
    .about-project{
        font-size: 0.8rem;
        grid-column: span 12;
    }

    .project-alignment-left{
        grid-column: span 6;
    }
    
    .project-alignment-left:nth-child(2){
        grid-column: 10 / span 2;
    }
    
    .project-alignment-right{
        grid-column: span 6;
        font-size: 0.75rem;
    }
    
    .specialty-alignment{
        grid-column: span 6;
        font-size: 0.75rem;
    }
}

/*-- PROJECT GALLERY SECTION --*/

.project-gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.small-gallery-card {
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
}

.big-gallery-card {
    grid-column: span 12;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
}

.img-container {
    width: 100%;
    overflow: hidden;
    text-align: center;
}

.img-container img {
    width: 100%;
    height: auto;
    position: relative;
}

/*== TYPE ADJUSTMENT ==*/
.about-client {
    font-family: "trt-interval-regular";
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.about-client h3 {
    color: #A19797;
}

.about-client h2 {
    color: #D9D9D9;
    font-family: "trt-interval-regular";
}

.project-gallery h4 {
    color: #A19797;
    font-family: "trt-interval-regular";
}

@media (max-width: 730px){

    .about-client{
        grid-column: span 12;
    }

    .small-gallery-card{
        grid-column: span 12;
    }

    .about-client h3, h4{
        font-size: 0.2;
        font-weight: 250;
    }

    .about-client h2 {
    font-size: 0.6;
    font-weight: 400;
}
}

/*---- FOOTER ----*/

footer {
    font-family: "trt-interval-regular";
    padding: 56px 56px 0;
    background-color: blue;
}

footer h3 {
    color: #f2efef;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

footer ul li {
    color: rgb(189, 189, 189);
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    margin-bottom: 2rem;
}

.footer-list {
    grid-column: span 2;
}

.footer-list-right {
    grid-column: 11 / span 2;
}

@media (max-width: 730px){

    .footer-list{
        grid-column: span 12;
    }

    .footer-list:nth-child(1){
        order: 2;
    }
    
    .footer-list:nth-child(2){
        order: 1;
    }
    
    .footer-list-right{
        grid-column: span 12;
        order: -1;
    }
}

/*== TESTE CARROSEL ==*/

.slider-wrap {
    position: relative;
    margin-bottom: 5rem;
    height: auto;
}

@keyframes fadeInScale {
    0% {
        opacity: 0.35;
        scale: 0.7;
    }

    100% {
        opacity: 1;
        scale: 1;
    }
}

.moxo-swipe {
    --gap: clamp(1rem, 3cqi, 1.5rem);
    --edge-fade-right: clamp(1.5rem, 7cqi, 3rem);
    --edge-fade-left: clamp(1rem, 2cqi, 2rem);
    anchor-name: --moxo-swipe;
    display: grid;
    grid-auto-flow: column;
    padding-block: 0.5rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: calc((34cqi - var(--slide-size)) / 2);
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    scroll-marker-group: after;
    user-select: none;
    position: relative;
    mask-image: linear-gradient(to right, transparent, white var(--edge-fade-left), white calc(100% - var(--edge-fade-right)), transparent);

    &.fluid {
        --slide-size: auto;
        scroll-padding-inline: var(--gap);
    }

    @media (max-width: 730rem) {
        --edge-fade-right: 1.5rem;

        &.fluid {
            mask-image: linear-gradient(to right, white calc(100% - var(--edge-fade-right)), transparent);
        }
    }
}

.moxo-spacer {
    inline-size: calc(50vw - (var(--slide-size) / 2));
    pointer-events: none;

    .fluid & {
        inline-size: 100%;
    }

    @media (max-width: 42rem) {
        .fluid & {
            display: none;
        }
    }
}

.moxo-swipe-slide {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    inline-size: 100%;
    border-radius: 1rem;
    animation: fadeInScale 1s cubic-bezier(0.34, 1.56, 0.64, 0.5) both;
    animation-timeline: view(inline);
    animation-range: entry 0% exit 80%;
    will-change: scale, opacity;

    .fluid & {
        aspect-ratio: 16 / 9;
        min-block-size: 300px;
    }

    @media (max-width: 42rem) {
        scroll-snap-align: center;

        .fluid & {
            scroll-snap-align: start;
            animation: none;
            scroll-snap-stop: normal;
            min-block-size: 240px;
        }
    }
}

.moxo-swipe-slide-content {
    inline-size: 100%;
    border-radius: inherit;
    padding: clamp(1rem, 7cqi, 1.5rem);
    display: grid;
    place-items: center;
    align-content: center;
    background-color: var(--slide-bg);
    color: var(--muted);
    transition: background-color 0.2s, box-shadow 0.2s;

    @media (min-width: 42.1rem) {
        &:hover {
            background-color: color-mix(in srgb, var(--slide-bg), white);
            box-shadow: 0 0 0 2px var(--brand);
        }
    }
}


.moxo-swipe::scroll-marker-group {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding-top: 3rem;
    position: absolute;
    position-anchor: --moxo-swipe;
    top: anchor(--moxo-swipe 95%);
    left: 50%;
    transform: translateX(-50%);
}

.moxo-swipe-slide::scroll-marker {
    content: "";
    width: 16px;
    height: 7px;
    border-radius: 4px;
    opacity: 1;
    background-color: var(--slide-bg);
    transition: width 0.4s, background-color 0.4s, opacity 0.4s;
    will-change: width, background-color, opacity;
}

.moxo-swipe-slide::scroll-marker:target-current {
    background-color: #0000ff;
    width: 46px;
}

.moxo-swipe-slide::scroll-marker:target-before,
.moxo-swipe-slide::scroll-marker:target-after {
    background-color: #D9D9D9;
    opacity: 1;
}

.moxo-swipe::scroll-button(*) {
    --buttons-inset-x: 2.4rem;
    --buttons-scale: 50px;

    position: absolute;
    position-anchor: --moxo-swipe;
    top: anchor(--moxo-swipe 50%);
    transform: translateY(-50%) scale(1);
    z-index: 3;
    font-family: "bootstrap-icons";
    font-size: calc(var(--buttons-scale) * 0.5);
    opacity: 0.7;
    cursor: pointer;
    border-radius: 50%;
    background-color: #ffffff7d;
    backdrop-filter: blur(5px);
    color: var(--ink);
    box-shadow: 0px 24.7928px 24px -15px light-dark(rgb(33 55 85 / 7%), rgb(33 55 85 / 0%)), 0px 15.32523px 10.64212px -8px light-dark(rgb(100 120 172 / 8%), rgb(100 120 172 / 0%)), 0px 6.04819px 3.59618px -3px light-dark(rgb(24 34 65 / 10%), rgb(24 34 65 / 0%));
    border: none;
    width: var(--buttons-scale);
    height: var(--buttons-scale);
    transition: transform 0.3s, opacity 0.3s;

    @media (max-width: 42rem) {
        --buttons-inset-x: 1.4rem;
    }
}

.moxo-swipe::scroll-button(*):hover,
.moxo-swipe::scroll-button(*):focus {
    color: #0000ff;
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.moxo-swipe::scroll-button(*):active {
    transform: translateY(-50%) scale(0.9);
}

.moxo-swipe::scroll-button(*):disabled {
    opacity: 0.2;
    cursor: unset;
}

.moxo-swipe::scroll-button(left) {
    content: "\F284";
    left: var(--buttons-inset-x);
}

.moxo-swipe::scroll-button(right) {
    content: "\F285";
    right: var(--buttons-inset-x);
}

/*== FIM CARROSEL ==*/