@font-face {
    font-family: 'Altform';
    src: url('fonts/Altform/Altform-Regular.woff2') format('woff2');
    font-weight: 400;
}

@font-face {
    font-family: 'Altform';
    src: url('fonts/Altform/Altform-Bold.woff2') format('woff2');
    font-weight: 700;
}

@font-face {
    font-family: 'Editorial New';
    src: url('fonts/EditorialNew/EditorialNew-Ultralight.woff2') format('woff2');
    font-weight: 200;
}

@font-face {
    font-family: 'Wasted Year';
    src: url('fonts/WastedYear/WastedYear-Regular.woff2') format('woff2');
    font-weight: 400;
}

:root {
    --white: #ffffff;
    --black: #101010;
}

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

body {
    background: var(--black);
    color: var(--white);
    font-family: 'Altform', sans-serif;
    overflow: hidden;
    height: 100vh;
}

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    /* Darken slightly */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Extra dark overlay for text readability */
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

@media (max-width: 768px) {
    .site-header {
        padding: 1rem 1.5rem;
    }
}

.menu-trigger {
    font-family: 'Altform', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    letter-spacing: 0.05em;
}

/* Hero Content */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    z-index: 5;
}

.main-logo {
    font-family: 'Altform', sans-serif;
    /* Using Altform Bold instead of SVG for now */
    font-weight: 900;
    font-size: 11.5vw;
    /* Huge responsive size */
    text-transform: lowercase;
    line-height: 0.8;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    /* Make it look "stretched" if needed, but standard bold is close */
    transform: scaleY(0.9);
    width: 100%;
    max-width: 100vw;
}

@media (max-width: 768px) {
    .main-logo {
        font-size: 16vw;
    }
}

.hero-text {
    font-family: 'Editorial New', serif;
    font-weight: 200;
    font-size: 1.4rem;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .hero-text {
        font-size: 1.1rem;
    }
}

.tagline {
    font-family: 'Wasted Year', cursive;
    font-size: 1rem;
    margin-top: 1rem;
    letter-spacing: 0.1em;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #a4a49c;
    z-index: 200;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.5s;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Menu Header (Logo & Lang) */
.menu-top-bar {
    position: absolute;
    top: 2rem;
    width: 100%;
    padding: 0 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-lang {
    position: absolute;
    left: 3rem;
    font-family: 'Wasted Year', cursive;
    font-size: 0.9rem;
    color: var(--black);
}

.menu-logo {
    font-family: 'Altform', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    letter-spacing: -0.05em;
    color: var(--black);
}

.menu-close {
    position: absolute;
    right: 3rem;
    font-family: 'Altform', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--black);
    text-transform: uppercase;
    cursor: pointer;
}

/* Menu Grid/List */
.menu-nav {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    /* height: 100%; removed to prevent overflow */
    justify-content: center;
    align-items: center;
    padding-bottom: 100px;
    /* Adjusted space for footer */
    overflow: hidden;
}

.menu-row {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0.5rem 0;
}

/* Link Styling */
.menu-link {
    font-family: 'Editorial New', serif;
    font-weight: 200;
    font-size: clamp(2.5rem, 6vw, 8rem);
    color: var(--black);
    text-decoration: none;
    line-height: 0.9;
    position: relative;
    display: inline-flex;
    /* Changed to flex for row layout */
    align-items: flex-start;
    /* Align top */
    cursor: pointer;
    white-space: nowrap;
    padding: 0 0.5rem;
    /* Space for highlight */

    /* Highlight Effect */
    background-image: linear-gradient(#000, #000);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-size 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.4s;
}

/* Reveal Animation Wrapper (Span) */
/* Reveal Animation Wrapper (Span & Count) */
.menu-link span,
.menu-link .menu-count {
    display: block;
    transform: translateY(120%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-overlay.active .menu-link span,
.menu-overlay.active .menu-link .menu-count {
    transform: translateY(0);
}

/* Staircase Layout — INÍCIO (left) → CONTATO (right) */
.menu-row:nth-child(1) {
    padding-left: 4vw;
}

.menu-row:nth-child(2) {
    padding-left: 18vw;
}

.menu-row:nth-child(3) {
    padding-left: 32vw;
}

.menu-row:nth-child(4) {
    padding-left: 46vw;
}

/* Superscript Counts */
.menu-count {
    font-family: 'Wasted Year', cursive;
    font-size: 1rem;
    margin-left: 0.5rem;
    margin-top: 0.2rem;
    /* Adjust vertical position */
}

/* Hover Effect */
.menu-link:hover {
    background-size: 100% 100%;
    color: #fff;
}

/* Stagger Delays */
.menu-row:nth-child(1) .menu-link span,
.menu-row:nth-child(1) .menu-link .menu-count {
    transition-delay: 0.1s;
}

.menu-row:nth-child(2) .menu-link span,
.menu-row:nth-child(2) .menu-link .menu-count {
    transition-delay: 0.15s;
}

.menu-row:nth-child(3) .menu-link span,
.menu-row:nth-child(3) .menu-link .menu-count {
    transition-delay: 0.2s;
}

.menu-row:nth-child(4) .menu-link span,
.menu-row:nth-child(4) .menu-link .menu-count {
    transition-delay: 0.25s;
}

.menu-row:nth-child(5) .menu-link span,
.menu-row:nth-child(5) .menu-link .menu-count {
    transition-delay: 0.3s;
}



/* Footer */
.menu-footer {
    position: absolute;
    bottom: 1.5rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 3rem;
    font-family: 'Altform', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--black);
    text-transform: uppercase;
}

.footer-left,
.footer-right {
    display: flex;
    gap: 2rem;
}

.menu-copyright {
    font-family: 'Wasted Year', cursive;
    font-size: 0.9rem;
    text-transform: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Header Color Switch on Menu Open */
.site-header.menu-open {
    color: var(--black);
}

.site-header.menu-open svg {
    fill: var(--black);
}

/* Bottom Slider */
.bottom-slider {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    display: flex;
    align-items: center;
    padding: 0 2rem;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bottom Slider Animation */
.slider-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: scroll 60s linear infinite;
}

.slider-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.slide {
    flex-shrink: 0;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.slide:hover {
    opacity: 1;
}

.slide-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.slide-thumb {
    width: 120px;
    height: 68px;
    overflow: hidden;
    border-radius: 2px;
}

.slide-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-info {
    display: flex;
    flex-direction: column;
}

.slide-title {
    font-family: 'Altform', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.slide-sub {
    font-family: 'Editorial New', serif;
    font-weight: 200;
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .slide-thumb {
        width: 100px;
        height: 56px;
    }

    /* --- CONSOLIDATED MOBILE MENU OVERRIDES --- */

    /* 1. Top Bar: Language (Left), Logo (Center), Close (Right) */
    .menu-top-bar {
        position: absolute !important;
        top: 2.5rem !important;
        left: 0 !important;
        width: 100% !important;
        padding: 0 1.5rem !important;
        height: auto !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .menu-lang {
        position: relative !important;
        left: 0 !important;
        font-family: 'Wasted Year', cursive !important;
        font-size: 0.9rem !important;
        color: var(--black) !important;
        margin: 0 !important;
    }

    .menu-logo {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        font-family: 'Altform', sans-serif !important;
        font-weight: 900 !important;
        font-size: 1.5rem !important;
        color: var(--black) !important;
        margin: 0 !important;
    }

    .menu-close {
        position: relative !important;
        right: 0 !important;
        font-family: 'Altform', sans-serif !important;
        font-weight: 700 !important;
        font-size: 0.9rem !important;
        color: var(--black) !important;
        text-transform: uppercase !important;
        cursor: pointer !important;
    }

    /* 2. Nav Items: Staggered Artistic Layout */
    .menu-nav {
        padding-top: 3rem !important;
        justify-content: center !important;
        align-items: flex-start !important;
    }

    .menu-overlay .menu-nav .menu-row {
        height: auto !important;
        justify-content: flex-start !important;
        border-bottom: 1px dotted rgba(0, 0, 0, 0.2) !important;
        border-top: 1px dotted rgba(0, 0, 0, 0.2) !important;
        padding: 0.9rem 0 !important;
        width: 100% !important;
        margin-top: -1px !important;
    }

    .menu-overlay .menu-nav .menu-row .menu-link {
        font-size: clamp(2rem, 8vw, 5rem) !important;
        line-height: 0.9 !important;
        display: inline-flex !important;
        align-items: center !important;
        width: auto !important;
        padding: 0 !important;
        position: relative !important;
        left: 0 !important;
        right: auto !important;
    }

    /* Hide header trigger when overlay has its own X CLOSE */
    .site-header.menu-open .menu-trigger {
        visibility: hidden !important;
    }

    /* Desktop Staircase — INÍCIO (left) → CONTATO (right) */
    #menu-overlay .menu-nav .menu-row:nth-child(1) {
        padding-left: 3vw !important;
    }

    #menu-overlay .menu-nav .menu-row:nth-child(2) {
        padding-left: 17vw !important;
    }

    #menu-overlay .menu-nav .menu-row:nth-child(3) {
        padding-left: 31vw !important;
    }

    #menu-overlay .menu-nav .menu-row:nth-child(4) {
        padding-left: 45vw !important;
    }

    .menu-count {
        font-family: 'Wasted Year', cursive !important;
        font-size: 1rem !important;
        margin-left: 0.5rem !important;
        margin-top: 0.2rem !important;
    }

    /* 3. Footer: Structured Grid */
    .menu-footer {
        position: absolute !important;
        bottom: 2rem !important;
        width: 100% !important;
        padding: 0 1.5rem !important;
        display: grid !important;
        grid-template-areas:
            "legal-left legal-right"
            "copyright copyright";
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 0;
    }

    .footer-left {
        grid-area: legal-left;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        text-align: left;
    }

    .footer-right {
        grid-area: legal-right;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.5rem;
        text-align: right;
    }

    .menu-copyright {
        grid-area: copyright;
        position: static !important;
        transform: none !important;
        text-align: center;
        margin-top: 0.5rem;
    }
}

/* Work Page (List Layout Type 2) */



.work-list {
    display: flex;
    flex-direction: column;
    padding-top: 140px;
    /* Space for new header */
    width: 100%;
}

.work-row {
    display: grid;
    grid-template-columns: 80px 1fr 250px;
    /* Layout: Num | Video | Info */
    padding: 4rem 2rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.3);
    align-items: center;
    gap: 2rem;
}

@media (max-width: 1024px) {
    .work-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: left;
    }

    .work-info-col {
        text-align: left !important;
    }
}

.work-num {
    font-family: 'Wasted Year', cursive;
    font-size: 1.2rem;
    opacity: 0.8;
}

.work-video-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    background: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.work-video-container video {
    width: 100%;
    height: auto;
    max-height: 85vh;
    /* Prevents extremely tall videos from overflowing screen */
    object-fit: contain;
    /* Shows full video without cropping heads */
}

.work-info-col {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.work-title {
    font-family: 'Altform', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    text-transform: uppercase;
    line-height: 1;
}

.work-subtitle {
    font-family: 'Editorial New', serif;
    font-size: 1.4rem;
    text-transform: uppercase;
    font-weight: 200;
}

.work-author {
    font-family: 'Wasted Year', cursive;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.work-tags {
    font-family: 'Wasted Year', cursive;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #ff2936;
}

/* Header Specifics for Work Page */
.work-header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-family: 'Editorial New', serif;
    font-size: 1rem;
}

.work-count {
    color: var(--red, #ff2936);
    /* Or white based on design */
    font-family: 'Wasted Year', cursive;
    vertical-align: super;
    font-size: 0.8rem;
}

.view-toggle {
    font-family: 'Editorial New', serif;
    font-size: 1rem;
    margin-left: 1rem;
    /* Adjust positioning */
}

.view-active {
    color: var(--white);
    border: 1px solid red;
    /* Circle effect simulation */
    border-radius: 50%;
    padding: 0 4px;
    color: white;
}


/* About Page */
.about-container {
    padding: 120px 2rem;
    max-width: 1400px;
    margin: 0 auto;
    color: var(--white);
}

.about-block {
    margin-bottom: 6rem;
    text-align: center;
}

.about-tagline {
    font-family: 'Altform', sans-serif;
    font-weight: 700;
    font-size: 3.5vw;
    line-height: 1.1;
    text-transform: uppercase;
}

.about-text {
    font-family: 'Editorial New', serif;
    font-size: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Page */
/* ===== CONTACT PAGE ===== */
.contact-container {
    padding: 160px 2rem 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-subtitle {
    font-family: 'Editorial New', serif;
    font-size: 0.9rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
    display: block;
}

.contact-title {
    font-family: 'Editorial New', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 5rem;
    text-transform: uppercase;
    color: var(--cream, #f5f0e8);
    max-width: 700px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.contact-name {
    font-family: 'Altform', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    margin: 0;
}

.contact-role {
    font-family: 'Editorial New', serif;
    font-size: 0.85rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.contact-email {
    font-family: 'Editorial New', serif;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--white);
    transition: opacity 0.3s;
}

.contact-email:hover {
    opacity: 0.6;
}

.contact-whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Altform', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-whatsapp-link:hover {
    color: #25D366;
}

.whatsapp-icon {
    width: 28px;
    height: 28px;
}

.contact-phone {
    font-family: 'Editorial New', serif;
    font-size: 0.9rem;
    color: var(--white);
}

.contact-address {
    font-family: 'Editorial New', serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.5;
}

/* ===== CONTACT FOOTER ===== */
.contact-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 2rem 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Altform', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
}

.contact-footer a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-footer a:hover {
    opacity: 0.6;
}

.contact-footer-left,
.contact-footer-center,
.contact-footer-right {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-footer-left {
    align-items: flex-start;
}

.contact-footer-center {
    align-items: center;
}

.contact-footer-right {
    align-items: flex-end;
}

.contact-footer-label {
    font-family: 'Editorial New', serif;
    font-style: italic;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
}

.contact-footer-socials {
    display: flex;
    gap: 1rem;
}

.contact-footer-socials a {
    font-family: 'Altform', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
}

.contact-footer-email {
    font-family: 'Altform', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
}

/* Mobile adjustments for contact page */
@media (max-width: 768px) {
    .contact-container {
        padding: 120px 1.5rem 60px;
    }

    .contact-title {
        font-size: 2rem;
    }

    .contact-footer {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        text-align: center;
    }

    .contact-footer-left,
    .contact-footer-center,
    .contact-footer-right {
        align-items: center;
    }
}