/* ==========================================================================
   VARIÁVEIS DE COR E TIPOGRAFIA
   ========================================================================== */
   :root {
    /* Paleta Principal */
    --bg-light: #F4EFE6;
    --bg-alt: #EEE7DC;
    --black: #11110F;
    --graphite: #1A1A18;
    --orange-main: #D4511E;
    --orange-sec: #E05A21;
    --beige: #D8CBBB;
    --white: #FAF9F6;

    /* Tipografia */
    --font-heading: 'Inter Tight', sans-serif;
    --font-body: 'Manrope', sans-serif;

    /* Espaçamentos e Transições */
    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
    --ease-premium: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   RESET E CONFIGURAÇÕES GERAIS
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: initial; /* Controlado pelo Lenis */
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--black);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Tipografia Base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.1;
    text-transform: uppercase;
    font-weight: 800;
}

.section-padding {
    padding: clamp(4rem, 8vw, 8rem) 5%;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--graphite);
    opacity: 0.8;
}

/* ==========================================================================
   BOTÕES E CTAS
   ========================================================================== */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: all 0.3s var(--ease-premium);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--black);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--orange-main);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--black);
    border: 1px solid var(--black);
}

.btn-secondary:hover {
    background-color: var(--black);
    color: var(--white);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1rem;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 5%;
    transition: background-color 0.4s ease, padding 0.4s ease;
}

.navbar.scrolled {
    background-color: rgba(244, 239, 230, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    border-bottom: 1px solid rgba(26, 26, 24, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}

.brand {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    z-index: 101;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--orange-main);
    transition: width 0.3s var(--ease-premium);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu & Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--black);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-alt);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5%;
    transform: translateY(-100%);
    transition: transform 0.6s var(--ease-premium);
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.mobile-menu-links a {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
}

.mobile-menu-footer {
    display: flex;
    gap: 2rem;
}

.desktop-only { display: flex; }
.mobile-only { display: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    min-height: 100vh;
    padding: 8rem 5% 4rem;
    display: flex;
    flex-direction: column;
    max-width: 1600px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 7rem);
    line-height: 0.95;
    margin-bottom: 3rem;
}

.hero-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.hero-subtitle {
    max-width: 400px;
    font-size: 1.1rem;
}

.hero-tags {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--orange-main);
}

.hero-ctas {
    display: flex;
    gap: 1rem;
}

.hero-media {
    width: 100%;
    height: 60vh;
    overflow: hidden;
    position: relative;
    background-color: var(--beige);
}

.hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-video { display: none; }

/* ==========================================================================
   TRABALHOS (WORKS)
   ========================================================================== */
.works-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.work-card {
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    group: hover;
}

.work-card.large {
    grid-column: span 12;
}

.work-media {
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    background-color: var(--beige);
}

.work-card.large .work-media {
    aspect-ratio: 21/9;
}

.work-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-premium);
}

.work-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.work-card:hover .work-media img {
    transform: scale(1.03);
}

.work-card:hover .work-preview {
    opacity: 1;
}

.work-info h3 {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.work-card:hover .work-info h3 {
    color: var(--orange-main);
}

.work-info p {
    font-size: 0.9rem;
    color: var(--graphite);
}

/* ==========================================================================
   MANIFESTO (NÃO É SÓ GRAVAR BONITO)
   ========================================================================== */
.manifesto {
    background-color: var(--black);
    color: var(--bg-light);
    padding: clamp(6rem, 10vw, 10rem) 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.manifesto-title {
    font-size: clamp(3.5rem, 8vw, 8rem);
    line-height: 0.9;
    margin-bottom: 2rem;
}

.manifesto-title .accent {
    color: var(--orange-main);
}

.manifesto-text {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    max-width: 500px;
    opacity: 0.9;
}

.manifesto-image {
    aspect-ratio: 3/4;
    overflow: hidden;
}

.manifesto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   PROCESSO
   ========================================================================== */
.process-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
}

.process-step {
    padding: 4rem 0;
    border-bottom: 1px solid rgba(26, 26, 24, 0.1);
}

.process-step:last-child {
    border-bottom: none;
}

.step-num {
    font-family: var(--font-heading);
    color: var(--orange-main);
    font-size: 1.2rem;
    font-weight: 800;
    display: block;
    margin-bottom: 1rem;
}

.process-step h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* ==========================================================================
   SERVIÇOS
   ========================================================================== */
.services-list {
    margin-top: 4rem;
    border-top: 2px solid var(--black);
}

.service-item {
    display: flex;
    align-items: center;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(26, 26, 24, 0.1);
    transition: background-color 0.4s ease, padding-left 0.4s ease;
    cursor: default;
}

.service-item:hover {
    background-color: var(--white);
    padding-left: 2rem;
}

.service-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--orange-main);
    width: 100px;
}

.service-text h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.service-text p {
    font-size: 1.1rem;
    color: var(--graphite);
}

/* ==========================================================================
   BASTIDORES (BTS)
   ========================================================================== */
.bts-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 4rem;
}

.bts-gallery img {
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.bts-gallery img:hover {
    transform: scale(0.98);
}

/* ==========================================================================
   SOBRE
   ========================================================================== */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    background-color: var(--bg-alt);
}

.about-image {
    aspect-ratio: 4/5;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.about-tags {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.about-tags span {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border: 1px solid var(--black);
}

.about-location {
    font-weight: 600;
    color: var(--orange-main);
}

/* ==========================================================================
   MARCAS (MARQUEE)
   ========================================================================== */
.brands {
    overflow: hidden;
}

.marquee {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 4rem;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-content img {
    height: 60px;
    margin: 0 4rem;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.marquee-content img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   INSTAGRAM
   ========================================================================== */
.instagram {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background-color: var(--beige);
}

.insta-handle {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--orange-main);
    margin-bottom: 3rem;
}

.insta-mockup img {
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-radius: 30px;
}

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.cta {
    background-color: var(--black);
    color: var(--white);
    text-align: center;
    padding: 8rem 5%;
}

.cta-title {
    font-size: clamp(3rem, 7vw, 7rem);
    margin-bottom: 2rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 4rem;
    opacity: 0.8;
}

.cta .btn-primary {
    background-color: var(--orange-main);
}

.cta .btn-primary:hover {
    background-color: var(--white);
    color: var(--black);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background-color: var(--graphite);
    color: var(--white);
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}

.footer-left h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--orange-main);
}

.footer-bottom {
    font-size: 0.8rem;
    opacity: 0.6;
    text-align: center;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVIDADE)
   ========================================================================== */
@media (max-width: 992px) {
    .manifesto, .process-container, .about, .instagram {
        grid-template-columns: 1fr;
    }

    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .work-card, .work-card.large {
        grid-column: span 12;
    }
    
    .work-card.large .work-media {
        aspect-ratio: 16/9;
    }

    .bts-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }

    /* Process Scroll Pin Mobile Remove */
    .process-left {
        position: relative !important;
        top: 0 !important;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: flex !important; }

    .hero-title {
        br { display: none; }
    }

    .desktop-video { display: none; }
    .mobile-video { display: block; }
    .hero-media { height: 70vh; }

    .service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .service-item:hover {
        padding-left: 0;
    }
}