/* Base Styling mapped directly from DS1 */
        body { 
            background-color: #FEFDFB; 
            color: #1A1A1A; 
            font-family: 'Manrope', sans-serif;
            overflow-x: hidden;
        }
        
        /* Lenis smooth scrolling requirement */
        html.lenis, html.lenis body {
            height: auto;
        }
        .lenis.lenis-smooth {
            scroll-behavior: auto !important;
        }
        .lenis.lenis-smooth [data-lenis-prevent] {
            overscroll-behavior: contain;
        }

        /* Custom Scrollbar from DS1 */
        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: #FEFDFB; }
        ::-webkit-scrollbar-thumb { background: #D4C5B9; border-radius: 4px; }
        
        /* Selection Color */
        ::selection {
            background-color: #D4C5B9;
            color: #1A1A1A;
        }

        /* Animations from DS1 Custom Space */
        @keyframes premiumSpin3D {
            0% { transform: rotateX(15deg) rotateY(0deg) rotateZ(5deg); }
            100% { transform: rotateX(15deg) rotateY(360deg) rotateZ(5deg); }
        }

        .ambient-glow {
            background: radial-gradient(ellipse at center, rgba(212,197,185,0.15) 0%, transparent 60%);
        }

        /* Typographic Utilities */
        .split-char {
            display: inline-block;
            overflow: hidden;
            vertical-align: top;
        }
        
        /* Premium lines & spacing elements */
        .fine-line {
            height: 1px;
            background-color: #E8E8E8;
            width: 100%;
            transform-origin: left;
        }
        
        .fine-line-vertical {
            width: 1px;
            background-color: #E8E8E8;
            height: 100%;
            transform-origin: top;
        }

        .ds-container { 
            max-width: 1400px; 
            margin: 0 auto; 
            padding: 0 24px; 
            width: 100%;
        }

        /* Underline Hover Effect for Nav */
        .nav-link {
            position: relative;
            padding-bottom: 2px;
        }
        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 1px;
            bottom: 0;
            left: 0;
            background-color: #1A1A1A;
            transition: width 0.3s ease;
        }
        .nav-link:hover::after {
            width: 100%;
        }

        /* Outline Button (adapted from DS1) */
        .btn-outline {
            border: 1px solid #1A1A1A;
            color: #1A1A1A;
            text-transform: uppercase;
            font-family: 'Space Mono', monospace;
            font-weight: 700;
            font-size: 0.75rem;
            letter-spacing: 0.15em;
            padding: 1rem 2rem;
            border-radius: 9999px; /* full pill pill shape */
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            position: relative;
            overflow: hidden;
            background: transparent;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .btn-outline:hover {
            color: #FEFDFB;
            background: #1A1A1A;
            border-color: #1A1A1A;
        }

        /* Solid Button (Dark CTA from DS1) */
        .btn-solid {
            background-color: #1A1A1A;
            color: #FEFDFB;
            text-transform: uppercase;
            font-family: 'Space Mono', monospace;
            font-weight: 700;
            font-size: 0.75rem;
            letter-spacing: 0.15em;
            padding: 1rem 2.5rem;
            border-radius: 9999px;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .btn-solid:hover {
            background-color: #D4C5B9;
            color: #1A1A1A;
        }

        /* Floating background text */
        .bg-text-watermark {
            font-family: 'Oswald', sans-serif;
            font-size: 15vw;
            color: #F9F7F5;
            position: absolute;
            z-index: -1;
            white-space: nowrap;
            user-select: none;
            line-height: 0.8;
            font-weight: 500;
            text-transform: uppercase;
        }

        /* ==========================================================================
   PORTFOLIO MOSAIC
           ========================================== */
        .mosaic-gallery {
            column-count: 1;
            column-gap: 1rem;
            width: 100%;
        }
        @media (min-width: 640px) { .mosaic-gallery { column-count: 2; column-gap: 1.5rem; } }
        @media (min-width: 1024px) { .mosaic-gallery { column-count: 3; column-gap: 1.5rem; } }
        .mosaic-card {
            break-inside: avoid;
            margin-bottom: 1.5rem;
            position: relative;
            overflow: hidden;
            cursor: pointer;
            background: #E8E8E8;
        }
        .mosaic-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.9s cubic-bezier(0.19, 1, 0.22, 1), filter 0.6s ease;
            filter: grayscale(15%);
        }
        .mosaic-card:hover img {
            transform: scale(1.06);
            filter: grayscale(0%);
        }
        .mosaic-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(26,26,26,0.88) 0%, rgba(26,26,26,0.08) 55%, transparent 80%);
            opacity: 0;
            transition: opacity 0.45s ease;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 1.5rem;
        }
        .mosaic-card:hover .mosaic-overlay {
            opacity: 1;
        }
        /* Mobile: always show a subtle label, no hover required */
        @media (max-width: 639px) {
            .mosaic-overlay {
                opacity: 1;
                background: linear-gradient(to top, rgba(26,26,26,0.72) 0%, transparent 60%);
            }
        }
        .mosaic-client {
            font-family: 'Oswald', sans-serif;
            font-size: 1.1rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            color: #FEFDFB;
            line-height: 1;
            margin-bottom: 4px;
        }
        .mosaic-category {
            font-family: 'Space Mono', monospace;
            font-size: 9px;
            text-transform: uppercase;
            letter-spacing: 0.2em;
            color: rgba(212,197,185,0.9);
            font-weight: 700;
        }

        /* ==========================================
           COMO FUNCIONA — PROCESS STEPS
           ========================================== */
        .processo-steps {
            display: flex;
            width: 100%;
            gap: 2px;
        }
        .processo-step {
            flex: 1;
            min-height: 420px;
            position: relative;
            overflow: hidden;
            cursor: default;
            border: 1px solid #E0DDD8;
            background: #FEFDFB;
            transition: flex 0.65s cubic-bezier(0.77, 0, 0.175, 1),
                        background 0.5s ease;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 2rem 1.5rem;
        }
        /* Default: first step slightly wider */
        .processo-steps:not(:hover) .processo-step:first-child {
            flex: 2;
            background: #F4F2EF;
        }
        /* Hover expand */
        .processo-step:hover {
            flex: 3.2;
            background: #F4F2EF;
        }
        .processo-step:not(:hover) {
            flex: 0.65;
        }
        /* Number */
        .processo-num {
            font-family: 'Oswald', sans-serif;
            font-size: clamp(3rem, 5vw, 5rem);
            font-weight: 500;
            color: #E0DDD8;
            line-height: 1;
            transition: color 0.4s ease;
            flex-shrink: 0;
        }
        /* Hide standalone desktop num on mobile */
        @media (max-width: 767px) {
            .processo-step > .processo-num { display: none; }
            .processo-step > .processo-content { display: none; }
        }
        .processo-step:hover .processo-num,
        .processo-steps:not(:hover) .processo-step:first-child .processo-num {
            color: #D4C5B9;
        }
        /* Content wrapper */
        .processo-content {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .processo-title {
            font-family: 'Oswald', sans-serif;
            font-size: 0.85rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            color: #1A1A1A;
            line-height: 1.25;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .processo-divider {
            width: 24px;
            height: 1px;
            background: #D4C5B9;
            flex-shrink: 0;
        }
        .processo-body {
            font-family: 'Manrope', sans-serif;
            font-size: 0.82rem;
            color: #6B6560;
            line-height: 1.7;
            opacity: 0;
            max-height: 0;
            overflow: hidden;
            transform: translateY(8px);
            transition: opacity 0.4s ease 0.18s,
                        transform 0.4s ease 0.18s,
                        max-height 0.5s ease 0.1s;
        }
        .processo-step:hover .processo-body,
        .processo-steps:not(:hover) .processo-step:first-child .processo-body {
            opacity: 1;
            max-height: 200px;
            transform: translateY(0);
        }
        /* Desktop: hide mobile-only markup */
        @media (min-width: 768px) {
            .processo-header-row,
            .processo-content-mobile { display: none !important; }
        }

        /* ==========================================
           FOOTER
           ========================================== */
        .footer-link {
            font-family: 'Manrope', sans-serif;
            font-size: 0.8rem;
            font-weight: 500;
            color: #564E48;
            text-decoration: none;
            letter-spacing: 0.02em;
            position: relative;
            display: inline-block;
            transition: color 0.35s ease;
        }
        .footer-link::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 1px;
            background: #786F68;
            transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        }
        .footer-link:hover {
            color: #C8BEB5;
        }
        .footer-link:hover::after {
            width: 100%;
        }
        .footer-contact-link {
            font-family: 'Manrope', sans-serif;
            font-size: 0.82rem;
            font-weight: 500;
            color: #786F68;
            text-decoration: none;
            letter-spacing: 0.01em;
            transition: color 0.35s ease;
        }
        .footer-contact-link:hover {
            color: #C8BEB5;
        }

        /* ==========================================
           CONTATO — FORM
           ========================================== */
        .contato-input {
            width: 100%;
            background: transparent;
            border: none;
            border-bottom: 1px solid #3A342E;
            padding: 0.85rem 0;
            font-family: 'Manrope', sans-serif;
            font-size: 0.875rem;
            color: #E8E2DB;
            outline: none;
            transition: border-color 0.3s ease;
            border-radius: 0;
            -webkit-appearance: none;
            appearance: none;
        }
        .contato-input::placeholder {
            color: #564E48;
            font-size: 0.8rem;
            letter-spacing: 0.02em;
        }
        .contato-input:focus {
            border-bottom-color: #786F68;
        }
        .contato-label {
            font-family: 'Space Mono', monospace;
            font-size: 9px;
            text-transform: uppercase;
            letter-spacing: 0.2em;
            font-weight: 700;
            color: #ABA49C;
            display: block;
            margin-bottom: 0.5rem;
        }
        .contato-field {
            display: flex;
            flex-direction: column;
        }
        .contato-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            font-family: 'Manrope', sans-serif;
            font-size: 0.8rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.14em;
            color: #FEFDFB;
            background: #1A1A1A;
            border: 1.5px solid #1A1A1A;
            padding: 1rem 2rem;
            cursor: pointer;
            transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
            position: relative;
            overflow: hidden;
        }
        .contato-btn:hover {
            background: #D4C5B9;
            border-color: #D4C5B9;
            color: #1A1A1A;
        }
        .contato-btn svg {
            transition: transform 0.4s ease;
        }
        .contato-btn:hover svg {
            transform: translateX(4px);
        }

        /* Mobile accordion — richly styled */
        @media (max-width: 767px) {
            .processo-steps {
                flex-direction: column;
                gap: 0;
            }
            .processo-step {
                flex: none;
                min-height: auto;
                max-height: 76px;
                padding: 0;
                border: none;
                border-top: 1px solid #E0DDD8;
                border-left: none;
                border-right: none;
                border-bottom: none;
                transition: max-height 0.55s cubic-bezier(0.77,0,0.175,1),
                            background 0.4s ease;
                overflow: hidden;
                flex-direction: column;
                justify-content: flex-start;
                gap: 0;
                cursor: pointer;
            }
            .processo-steps .processo-step:last-child {
                border-bottom: 1px solid #E0DDD8;
            }
            .processo-step.is-open {
                max-height: 500px;
                background: #F4F2EF;
            }
            /* Reset desktop-only default-open rule on mobile */
            .processo-steps:not(:hover) .processo-step:first-child {
                flex: none;
                background: #FEFDFB;
                max-height: 76px;
            }
            .processo-steps:not(:hover) .processo-step:first-child .processo-body {
                opacity: 0;
                max-height: 0;
                transform: translateY(8px);
            }
            .processo-step:first-child.is-open {
                max-height: 500px;
                background: #F4F2EF;
            }
            /* Header row: num + title + chevron */
            .processo-header-row {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 1rem;
                padding: 1.1rem 1.5rem;
                width: 100%;
            }
            .processo-header-left {
                display: flex;
                align-items: center;
                gap: 1rem;
            }
            .processo-num {
                font-size: 1.5rem;
                flex-shrink: 0;
                min-width: 2.2rem;
            }
            /* Title always visible on mobile */
            .processo-title {
                white-space: normal;
                font-size: 0.8rem;
                letter-spacing: 0.06em;
            }
            /* Chevron icon */
            .processo-chevron {
                display: flex;
                align-items: center;
                justify-content: center;
                flex-shrink: 0;
                width: 20px;
                height: 20px;
                transition: transform 0.4s cubic-bezier(0.77,0,0.175,1);
                color: #B0A89E;
            }
            .processo-step.is-open .processo-chevron {
                transform: rotate(180deg);
            }
            /* Body reveal area on mobile */
            .processo-body-mobile-wrap {
                padding: 0 1.5rem 1.5rem 1.5rem;
            }
            /* Divider hidden when in mobile row */
            .processo-header-row + .processo-divider {
                display: none;
            }
            /* Body states handled by parent  */
            .processo-step .processo-body { opacity:0; max-height:0; transform:translateY(8px); transition: opacity 0.4s ease 0.18s, transform 0.4s ease 0.18s, max-height 0.5s ease 0.1s; }
            .processo-step.is-open .processo-body {
                opacity:1; max-height:300px; transform:translateY(0);
            }
            /* Content wrapper — remove gap so padding covers spacing */
            .processo-content {
                display: none; /* hide the old content block on mobile, we rebuild it in JS via header-row + body-wrap */
            }
            .processo-content-mobile {
                display: block;
                padding: 0 1.5rem 1.5rem;
            }
            /* Show the divider inside mobile content */
            .processo-content-mobile .processo-divider {
                display: block;
                margin-bottom: 0.75rem;
            }
            .processo-content-mobile .processo-body {
                opacity: 0;
                max-height: 0;
                transform: translateY(8px);
                transition: opacity 0.4s ease 0.18s, transform 0.4s ease 0.18s, max-height 0.5s ease 0.1s;
            }
            .processo-step.is-open .processo-content-mobile .processo-body {
                opacity: 1;
                max-height: 300px;
                transform: translateY(0);
            }
            /* Active num colour */
            .processo-step.is-open .processo-num { color: #D4C5B9; }
        }