:root {
            --bg-dark: #070707;
            --bg-light: #F6F5F2; 
            --text-dark: #111111;
            --text-light: #ffffff;
            --accent: #8b967c; 
            
            --font-head: 'Cormorant Garamond', serif;
            --font-body: 'Manrope', sans-serif;
            
            --pad-x: 6vw; 
            --pad-y: 12vh;
        }

        @media (min-width: 769px) {
            :root {
                --pad-x: 5vw;
                --pad-y: 15vh;
            }
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        /* ACESSIBILIDADE: indicador de foco visível para navegação por teclado.
           :focus-visible só aparece com Tab/teclado, nunca ao clicar com rato
           ou tocar no ecrã — não muda nada visualmente para a maioria dos
           utilizadores, mas sem isto é impossível navegar o site por teclado. */
        a:focus-visible, button:focus-visible, input:focus-visible,
        textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 3px;
            border-radius: 2px;
        }

        /* Link "saltar para conteúdo": fica fora do ecrã até receber foco,
           depois aparece por cima de tudo (z-index acima do header/menu). */
        .skip-link {
            position: fixed; top: -100px; left: 16px; z-index: 99999;
            background: #fff; color: #0a0a0a; padding: 14px 24px;
            font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
            text-transform: uppercase; letter-spacing: 1px; text-decoration: none;
            border-radius: 4px; transition: top 0.3s ease;
        }
        .skip-link:focus-visible { top: 16px; outline-offset: 4px; }

        /* ==========================================================================
           PERFORMANCE: contain de layout/paint em cards repetidos (fora de pin/scrub)
           Reduz custo de reflow/repaint em mobile sem alterar nenhuma animação.
           ========================================================================== */
        .apt-row, .int-story, .num-box { contain: layout paint; }

        /* ==========================================================================
           ACESSIBILIDADE + PERFORMANCE: prefers-reduced-motion
           Quem ativa "reduzir movimento" no telemóvel/SO deixa de pagar o custo de
           scrub contínuo; o JS também lê esta media query (ver script.js).
           ========================================================================== */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
                scroll-behavior: auto !important;
            }
        }

        body, html {
            width: 100%;
            max-width: 100vw;
            overflow-x: clip; 
            background: var(--bg-dark);
            color: var(--text-light);
            font-family: var(--font-body);
            overscroll-behavior: none;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        
        body.loading { overflow: hidden !important; }

        /* Filtro Noise: SVG feTurbulence é caro de renderizar (recalculado pela
           GPU sempre que existe pintura por perto); ativado apenas em desktop
           real (rato + ecrã largo), nunca em telemóvel ou tablet. */
        @media (min-width: 1200px) and (hover: hover) and (pointer: fine) {
            .noise {
                position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0.04;
                background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
                transform: translate3d(0, 0, 0); 
            }
        }

        html.lenis { height: auto; }
        .lenis.lenis-smooth { scroll-behavior: auto !important; }
        .lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
        .lenis.lenis-stopped { overflow: hidden; touch-action: none; }

        /* ==========================================================================
           2. PRELOADER
           ========================================================================== */
        #preloader {
            position: fixed; inset: 0; background: var(--bg-dark); z-index: 10000;
            display: flex; flex-direction: column; justify-content: center; align-items: center;
        }
        .loader-text {
            font-family: var(--font-head); font-size: 1.5rem; letter-spacing: 0.2em; text-transform: uppercase;
            overflow: hidden; margin-bottom: 20px;
        }
        .loader-text span { display: inline-block; transform: translateY(100%); }
        .loader-bar-bg { width: 200px; height: 1px; background: rgba(255,255,255,0.1); position: relative; overflow: hidden; }
        .loader-bar-fill { position: absolute; top: 0; left: 0; height: 100%; width: 0%; background: var(--text-light); }
        
        @media (min-width: 769px) {
            .loader-text { font-size: 2rem; }
            .loader-bar-bg { width: 250px; }
        }

                /* ==========================================================================
           3. HEADER PREMIUM GLASS (ELITE STANDARD)
           ========================================================================== */
        header {
            position: fixed; top: 0; left: 0; width: 100%; padding: 15px var(--pad-x);
            display: flex; justify-content: space-between; align-items: center;
            z-index: 9000; color: #fff;
            
            background: rgba(7, 7, 7, 0.45);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
            
            transform: translateZ(0); 
            transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        }
        
        /* Flex: 1 garante que os lados esquerdo e direito têm a mesma largura, centralizando perfeitamente o logo */
        .h-left { display: flex; align-items: center; gap: 15px; flex: 1; justify-content: flex-start; }
        .h-right { display: flex; align-items: center; gap: 15px; flex: 1; justify-content: flex-end; }
        
        .h-separator { 
            width: 1px; 
            height: 20px; 
            background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%); 
        }
        
        .burger-btn { width: 35px; height: 35px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; background: none; border: none; cursor: pointer; position: relative; z-index: 9001; }
        .burger-line { width: 100%; height: 2px; background: #fff; transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); transform-origin: left; }
        .burger-line:nth-child(2) { width: 70%; }
        .burger-btn:hover .burger-line:nth-child(2) { width: 100%; }
        
        .burger-btn.menu-open .burger-line:nth-child(1) { transform: rotate(45deg) translate(-2px, -3px); width: 110%; }
        .burger-btn.menu-open .burger-line:nth-child(2) { transform: rotate(-45deg) translate(-2px, 3px); width: 110%; }
        
        /* Esconder o idioma no mobile para despoluir e manter simetria perfeita com o botão Reservar */
        .h-lang { display: none; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; align-items: center; gap: 5px; cursor: pointer; transition: color 0.3s; }
        .h-lang:hover { color: var(--accent); }
        .h-lang svg { width: 12px; height: 12px; transition: transform 0.3s; }
        .h-lang:hover svg { transform: translateY(2px); }
        
        .logo { font-family: var(--font-head); font-size: 1.3rem; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1; position: absolute; left: 50%; transform: translateX(-50%); cursor: pointer; transition: opacity 0.3s; }
        .logo:hover { opacity: 0.7; }
        
        .btn-reservar { 
            background: var(--arch-bg, #e2e88b); /* O Amarelo Blueprint CTA */
            color: #080808; /* Tinta preta para máximo contraste e legibilidade */
            padding: 10px 18px; 
            border: none; 
            border-radius: 50px; 
            font-family: var(--font-body); 
            font-size: 0.65rem; 
            text-transform: uppercase; 
            letter-spacing: 1.5px; 
            font-weight: 700; /* Peso extra para garantir 100% de leitura no amarelo */
            cursor: pointer; 
            transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); 
            box-shadow: 0 0 15px rgba(226, 232, 139, 0.15); /* Brilho subtil para destacar no vidro escuro do header */
        }
        
        .btn-reservar:hover { 
            background: #ffffff; 
            color: #000000; 
            transform: translateY(-2px); 
            box-shadow: 0 10px 20px rgba(226, 232, 139, 0.4); /* Projeção de sombra amarela ao passar o rato */
        }
        
        @media (min-width: 769px) {
            header { padding: 1.5vw var(--pad-x); }
            .h-left, .h-right { gap: 2vw; }
            .h-lang { display: flex; }
            .h-separator { height: 28px; }
            .burger-btn { width: 40px; height: 40px; }
            .logo { font-size: 2rem; }
            .btn-reservar { font-size: 0.75rem; padding: 14px 32px; }
        }

                /* ==========================================================================
           OVERLAY MENU GPU OTIMIZADO (UI LUXURY)
           ========================================================================== */
        .menu-overlay { position: fixed; inset: 0; z-index: 8999; display: none; flex-direction: column; background: transparent; overflow: hidden; }
        @media (min-width: 900px) { .menu-overlay { flex-direction: row; } }

        /* overflow-y:auto é uma rede de segurança (mesmo padrão do .modal-body):
           nunca deixa conteúdo inacessível, mesmo em ecrãs muito baixos ou com
           texto do sistema aumentado. Não interfere com as animações GSAP —
           essas usam transform, que é independente do scroll do próprio elemento. */
        .menu-panel { height: 100%; display: flex; flex-direction: column; justify-content: center; position: relative; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; will-change: transform; }

        .panel-1 { background: #0a0a0a; padding: 15vh var(--pad-x); flex: 1; z-index: 3; }
        @media (min-width: 900px) { .panel-1 { flex: 0 0 45%; padding-left: var(--pad-x); } }

        .menu-links-main { display: flex; flex-direction: column; gap: 4vh; list-style: none; }
        .m-link-item { overflow: hidden; }
        
        /* Links Principais: Tipografia Editorial Premium */
        .m-link-item a { 
            font-family: var(--font-head); 
            font-size: clamp(2.5rem, 5vw, 4.5rem); 
            font-weight: 300; 
            text-transform: uppercase; 
            letter-spacing: 2px; 
            color: #fff; 
            text-decoration: none; 
            transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1); 
            display: inline-block; 
            will-change: transform; 
        }
        .m-link-item a:hover { 
            color: var(--accent); 
            transform: translateX(20px); 
            font-style: italic; 
        }

        /* Painel 2: Centrado Verticalmente */
        .panel-2 { background: var(--accent); padding: 10vh var(--pad-x); z-index: 2; display: flex; flex-direction: column; justify-content: center; }
        @media (min-width: 900px) { .panel-2 { flex: 0 0 25%; padding: 0 4vw; } }
        
        .menu-links-sec { display: flex; flex-direction: column; gap: 2.5vh; list-style: none; margin-bottom: 8vh; }
        .m-sec-item { overflow: hidden; }
        
        /* Links Secundários: Aspeto Técnico/Blueprint */
        .m-sec-item a { 
            font-family: var(--font-body); 
            font-size: 0.9rem; 
            font-weight: 600; 
            text-transform: uppercase; 
            letter-spacing: 2px; 
            color: #111; 
            text-decoration: none; 
            display: inline-block; 
            transition: all 0.3s ease; 
        }
        .m-sec-item a:hover { color: #fff; transform: translateX(10px); }
        
        .m-social { display: flex; gap: 2rem; overflow: hidden; }
        .m-social a { 
            color: #111; text-decoration: none; font-size: 0.8rem; font-weight: 700; 
            text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s; 
        }
        .m-social a:hover { color: #fff; }

        /* ==========================================================================
           MENU MOBILE/TABLET (<900px): correção de tamanho e alinhamento.
           Em vez dos dois painéis competirem cada um por um ecrã inteiro de
           altura (o que obrigava a percorrer o menu como se fossem 2 páginas),
           panel-1 cresce para preencher o espaço disponível e panel-2 ocupa
           só o que o seu conteúdo precisa — os dois cabem sempre no mesmo ecrã.
           A fonte dos links também deixa de ter um mínimo de 40px e passa a
           escalar de forma real com o tamanho do ecrã.
           ========================================================================== */
        @media (max-width: 899px) {
            .panel-1 {
                flex: 1 1 auto;
                height: auto;
                padding: max(90px, 13vh) var(--pad-x) 3vh;
                justify-content: center;
            }
            .panel-2 {
                flex: 0 0 auto;
                height: auto;
                padding: 3.5vh var(--pad-x) max(3.5vh, 24px);
            }
            .menu-links-main { gap: min(3.2vh, 22px); }
            .m-link-item a { font-size: clamp(1.65rem, 6.4vw, 2.75rem); letter-spacing: 1px; }
            .menu-links-sec { gap: 1.6vh; margin-bottom: 3.5vh; }
            .m-sec-item a { font-size: 0.8rem; }
        }

        .panel-3 { display: none; z-index: 1; }
        @media (min-width: 900px) { 
            .panel-3 { display: block; flex: 1; position: relative; } /* Ocupa o resto do ecrã */
            .panel-3 img { width: 100%; height: 100%; object-fit: cover; }
        }

        /* ==========================================================================
           4. HERO SECTION
            ========================================================================== */
        .hero { position: relative; height: 100vh; height: 100dvh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
        .hero-img-container { position: absolute; inset: 0; z-index: 1; -webkit-clip-path: inset(40%); clip-path: inset(40%); transform: translate3d(0,0,0); will-change: clip-path, transform; }
        
        /* Ajuste limpo e direto para impedir que o header obscureça a imagem no layout mobile */
        @media (max-width: 768px) {
            .hero-img-container {
                top: 75px; 
                height: calc(100% - 75px);
            }
        }
        
        .hero-img-container img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); will-change: transform; }
        .hero-content { position: relative; z-index: 10; text-align: center; margin-top: 5vh; max-width: 90vw; margin-inline: auto; }
        /* Escala muito mais contida: em tablet (768px) desce de 107px para 69px
           por linha; em desktop grande, de 256px para um máximo de 152px.
           line-height subiu de 0.75 para 0.95 — as tiras/acentos ("Atlântico")
           deixam de colidir com a linha de cima. */
        .hero-title { font-family: var(--font-head); font-size: clamp(2.75rem, 9vw, 9.5rem); line-height: 0.95; font-weight: 300; text-transform: uppercase; }
        .hero-subtitle { font-size: 0.85rem; letter-spacing: 4px; text-transform: uppercase; margin-top: 2rem; }
        
        @media (min-width: 769px) { .hero-subtitle { font-size: 1rem; letter-spacing: 6px; margin-top: 2.5rem; } }

        /* ==========================================================================
           5. A VISÃO
           ========================================================================== */
        .vision { padding: var(--pad-y) var(--pad-x); display: flex; flex-direction: column; gap: 8vh; align-items: center; min-height: 100vh; position: relative; }
        .vision-left { width: 100%; }
        .vision-left h2 { font-family: var(--font-head); font-size: clamp(3rem, 10vw, 7rem); line-height: 0.95; font-weight: 300; margin-bottom: 2rem; }
        .vision-left p { font-size: 1rem; line-height: 1.8; color: #aaa; max-width: 100%; }
        
        .vision-right { width: 100%; display: flex; gap: 3vw; height: 50vh; position: relative; }
        .v-img-wrap { overflow: hidden; position: relative; border-radius: 4px; transform: translate3d(0,0,0); }
        .v-img-wrap img { width: 100%; height: 130%; object-fit: cover; will-change: transform; }
        
        .v-img-1 { width: 60%; height: 100%; align-self: flex-start; }
        .v-img-2 { width: 40%; height: 70%; align-self: flex-end; transform: translateY(5vh); }

        @media (min-width: 769px) {
            .vision { flex-direction: row; gap: 8vw; }
            .vision-left { width: 45%; }
            .vision-left p { font-size: 1.1rem; max-width: 450px; }
            .vision-right { width: 55%; height: 70vh; gap: 2vw; }
            .v-img-2 { transform: translateY(10vh); }
        }

        /* ==========================================================================
           6. OS NÚMEROS
           ========================================================================== */
        .numbers { padding: 8vh var(--pad-x); border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); display: grid; grid-template-columns: repeat(2, 1fr); gap: 8vw 4vw; text-align: center; }
        .num-box h3 { font-family: var(--font-head); font-size: clamp(2.5rem, 6vw, 6rem); color: var(--accent); line-height: 1; }
        .num-box p { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; margin-top: 0.5rem; color: #888; }

        @media (min-width: 769px) {
            .numbers { padding: 10vh var(--pad-x); grid-template-columns: repeat(4, 1fr); gap: 4vw; }
            .num-box p { font-size: 0.8rem; letter-spacing: 2px; margin-top: 1rem; }
        }

                /* ==========================================================================
           7. AS COLEÇÕES 
           ========================================================================== */
        .collections { background: var(--bg-light); color: var(--text-dark); padding-top: var(--pad-y); position: relative; overflow-x: hidden; }
        
        .section-header { padding: 0 var(--pad-x); margin-bottom: 6vh; display: flex; flex-direction: column; gap: 2rem; border-bottom: 1px solid rgba(0,0,0,0.1); padding-bottom: 4vh; }
        .sh-left h2 { font-family: var(--font-head); font-size: clamp(3.5rem, 8vw, 9rem); line-height: 0.85; font-weight: 300; margin-bottom: 1rem; letter-spacing: -1px; }
        .sh-left p { font-size: 1rem; color: #444; max-width: 480px; line-height: 1.7; }
        .section-header > span { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; color: var(--accent); }
        
        /* GSAP Pinned Scroll Global (Mobile & Desktop) */
        .col-pinned-wrapper { position: relative; height: 100vh; height: 100dvh; width: 100%; overflow: hidden; background: #000; }
        
        /* CORREÇÃO ARQUITETÓNICA: Preenche o hiato visual gerado pela dessincronização do 100dvh e o pin-spacer no mobile */
        .collections .pin-spacer { background-color: #000; }
        .col-slide { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; align-items: center; padding: var(--pad-x); color: var(--text-light); will-change: clip-path; }
        #slide-1 { z-index: 1; } #slide-2 { z-index: 2; } #slide-3 { z-index: 3; }
        /* PROTEÇÃO: o estado inicial "escondido" dos slides 2 e 3 também fica
           garantido aqui em CSS puro, não só via gsap.set() no JS. Sem isto,
           se o JS demorasse a correr, os slides 2/3 (com z-index mais alto)
           tapavam por completo o slide 1 — incluindo o botão "Explorar Villa". */
        #slide-2, #slide-3 { -webkit-clip-path: inset(0 0 0 100%); clip-path: inset(0 0 0 100%); }
        
        .col-slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; will-change: transform; }
        .col-slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 40%, transparent 100%); z-index: 1; }
        
        .col-slide-content { position: relative; z-index: 2; width: 100%; max-width: 600px; display: flex; flex-direction: column; gap: 1.5rem; will-change: transform, opacity; padding: 2rem; }
        @media (max-width: 768px) { .col-slide-content { justify-content: center; height: 100%; } }
        
        .col-meta { display: flex; align-items: center; gap: 1rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); }
        .col-line { width: 40px; height: 1px; background: rgba(255,255,255,0.3); }
        .col-slide-content h3 { font-family: var(--font-head); font-size: clamp(4rem, 8vw, 7rem); font-weight: 400; line-height: 0.9; margin: 0; color: #fff;}
        
        .col-specs-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1rem; }
        .col-spec-item { font-size: 0.75rem; color: #fff; background: rgba(255,255,255,0.15); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); padding: 8px 16px; border-radius: 30px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }
        
        .col-price-wrap { display: flex; flex-direction: column; gap: 0.3rem; margin-top: 1rem; }
        .col-price-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1px; color: #aaa; }
        .col-price { font-size: 1.5rem; font-weight: 400; font-family: var(--font-head); color: #fff; }
        
        .col-btn { align-self: flex-start; padding: 12px 24px; border: 1px solid rgba(255,255,255,0.4); border-radius: 50px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: all 0.3s; margin-top: 2rem; color:#fff;}
        .col-btn:hover { background: #fff; color: #000; border-color: #fff; }
        
        @media (min-width: 769px) {
            .section-header { flex-direction: row; justify-content: space-between; align-items: flex-end; margin-bottom: 8vh; }
            .section-header > span { font-size: 1rem; text-align: right; }
            .col-slide-content { padding-left: 5vw; gap: 2rem; max-width: 800px; justify-content: flex-start;}
            .col-price { font-size: 2rem; }
        }

        /* ==========================================================================
           8. SANTUÁRIO PRIVADO (Awwwards Perfected Edition)
           ========================================================================== */
        .interiors { 
            padding: calc(var(--pad-y) * 1.5) var(--pad-x); 
            background-color: #040404; /* Extra dark base */
            /* Fundo Blueprint Ultra-Fine Pro */
            background-image: 
                linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), 
                linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px),
                linear-gradient(rgba(255,255,255,0.01) 1px, transparent 1px), 
                linear-gradient(90deg, rgba(255,255,255,0.01) 1px, transparent 1px);
            background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
            background-position: center center;
            position: relative; z-index: 2; overflow: hidden;
        }
        
        /* Soft Radial Vignette */
        .interiors::after {
            content: ''; position: absolute; inset: 0; pointer-events: none;
            background: radial-gradient(circle at center, transparent 10%, #040404 95%);
            z-index: 1;
        }

        /* UI Decorativa Arquitetónica - Eixos Constantes */
        .arch-ui-top {
            position: absolute; top: 3vw; left: var(--pad-x); right: var(--pad-x);
            display: flex; justify-content: space-between;
            font-family: var(--font-mono, monospace); font-size: 0.65rem; color: rgba(255,255,255,0.2);
            text-transform: uppercase; letter-spacing: 2px; z-index: 2;
        }

        .int-header { text-align: center; margin-bottom: 15vh; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
        .int-header h2 { font-family: var(--font-head); font-size: clamp(3rem, 10vw, 8rem); font-weight: 300; line-height: 0.9; color: #fff; margin: 0; }
        .int-subtitle { font-size: 1.05rem; color: #888; max-width: 550px; line-height: 1.6; font-weight: 300; margin: 0; }

        /* Pathfinder Ortogonal Seguro & Estético (Sem "Bolas" estranhas) */
        .pathfinder-wrap {
            position: absolute; top: 0; left: 0; width: 100vw; height: 100%; z-index: 1; pointer-events: none; opacity: 0.6;
        }
        .pf-svg { width: 100%; height: 100%; overflow: visible; }
        
        /* Guias centrais do ecrã para ancorar o design */
        .pf-grid-line { fill: none; stroke: rgba(255,255,255,0.03); stroke-width: 1px; stroke-dasharray: 4 8; }
        
        /* A Linha Principal Animada (Z-Shape perfeita para não cruzar textos) */
        .pf-line { 
            fill: none; stroke: var(--accent); stroke-width: 1.5px; 
            stroke-linecap: square; stroke-linejoin: miter; 
            filter: drop-shadow(0 0 8px rgba(139,150,124,0.6)); 
        }

        @media (max-width: 768px) { .pathfinder-wrap { display: none; } } /* Oculto em mobile para garantir UX limpa */

        .editorial-gallery { display: grid; grid-template-columns: 1fr; gap: 10vh; position: relative; padding-bottom: 10vh; z-index: 3; }

        /* Blocos de Texto: Painéis Obsidian Glassmorphism Pro */
        .int-story { 
            display: flex; flex-direction: column; gap: 1.2rem; justify-content: center; 
            padding: 2.5rem; position: relative; z-index: 10;
            background: linear-gradient(145deg, rgba(25,25,25,0.65), rgba(5,5,5,0.9));
            backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: 6px; 
            box-shadow: 0 40px 80px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.1); /* Brilho interior (inset) */
            transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
        }
        
        /* Linha Guia Lateral Dinâmica e Iluminada */
        .int-story::before {
            content: ''; position: absolute; top: 0; left: -1px; width: 2px; height: 0%; 
            background: linear-gradient(to bottom, var(--accent), rgba(139,150,124,0.2), transparent);
            transition: height 0.6s cubic-bezier(0.25, 1, 0.5, 1);
            box-shadow: 0 0 15px rgba(139,150,124,0.5); border-radius: 2px 0 0 0;
        }
        .int-story:hover { 
            border-color: rgba(255,255,255,0.15); 
            transform: translateY(-5px);
            box-shadow: 0 50px 100px rgba(0,0,0,1), inset 0 1px 0 rgba(255,255,255,0.2);
        }
        .int-story:hover::before { height: 100%; }

        .story-meta { 
            font-size: 0.65rem; font-family: var(--font-mono, monospace); text-transform: uppercase; 
            letter-spacing: 2px; color: var(--accent); display: flex; align-items: center; gap: 15px; 
            opacity: 0.8;
        }
        .story-meta::before { content: '[ EIXO ]'; color: #555; }
        .story-meta::after { content: ''; width: 40px; height: 1px; background: rgba(139,150,124,0.3); }
        
        .story-content { display: flex; flex-direction: column; gap: 1rem; }
        .story-content h3 { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: 0.95; color: #fff; margin: 0; }
        .story-content p { font-size: 1.05rem; line-height: 1.7; color: #999; max-width: 420px; }

        /* Tech Specs Tags c/ Ponto Pulsante */
        .tech-specs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
        .tech-specs span { 
            font-family: var(--font-mono, monospace); font-size: 0.6rem; color: #888; text-transform: uppercase; letter-spacing: 1px;
            padding: 6px 12px; border: 1px solid rgba(255,255,255,0.08); border-radius: 4px;
            background: rgba(255,255,255,0.02); transition: all 0.3s;
            display: flex; align-items: center; gap: 6px;
        }
        .tech-specs span::before { content: ''; display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: 0.5; }
        .int-story:hover .tech-specs span { color: #fff; border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); }
        .int-story:hover .tech-specs span::before { opacity: 1; box-shadow: 0 0 5px var(--accent); }

        @media (min-width: 769px) {
            .editorial-gallery { grid-template-columns: repeat(12, 1fr); gap: 0; align-items: center; padding-bottom: 20vh; }
            .story-1 { grid-column: 2 / 6; grid-row: 1; margin-top: -10vh; z-index: 10; }
            .ed-1 { grid-column: 7 / 13; grid-row: 1; height: 75vh; }
            
            .story-2 { grid-column: 8 / 12; grid-row: 2; margin-top: 20vh; z-index: 10; }
            /* Alinhar texto da story 2 à direita com a linha do lado direito */
            .story-2::before { left: auto; right: -1px; background: linear-gradient(to bottom, var(--accent), transparent); border-radius: 0 2px 0 0; }
            .story-2 .story-meta { flex-direction: row-reverse; justify-content: flex-start; }
            .story-2 .story-meta::before { display: none; } .story-2 .story-meta::after { order: -1; }
            
            .ed-2 { grid-column: 1 / 7; grid-row: 2; height: 85vh; margin-top: 25vh; }
            .story-3 { grid-column: 2 / 6; grid-row: 3; margin-top: 10vh; z-index: 10; }
            .ed-3 { grid-column: 7 / 12; grid-row: 3; height: 65vh; margin-top: 15vh; }
        }

        /* O Recorte Parallax Elite com Aura Brilhante Cinematográfica */
        .ed-item { 
            position: relative; border-radius: 4px; 
            background: transparent; will-change: transform; 
            transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
            z-index: 5;
        }
        
        /* Aura Glow Suave por trás da imagem (Efeito Profundidade) */
        .ed-item::after {
            content: ''; position: absolute; inset: -15px; z-index: -1;
            background: radial-gradient(circle, rgba(139, 150, 124, 0.25) 0%, transparent 70%); 
            filter: blur(40px);
            opacity: 0.5; transition: opacity 0.8s ease; pointer-events: none;
        }
        .ed-item:hover::after { opacity: 1; inset: -25px; }

        /* Cruzes de Drafting Fixas nos Cantos (Estúdio de Arquitetura) */
        .draft-mark {
            position: absolute; width: 12px; height: 12px;
            border-left: 1px solid rgba(255,255,255,0.3); border-top: 1px solid rgba(255,255,255,0.3);
            z-index: 10; pointer-events: none; transition: all 0.4s ease;
        }
        .dm-tl { top: -15px; left: -15px; }
        .dm-tr { top: -15px; right: -15px; transform: rotate(90deg); }
        .dm-bl { bottom: -15px; left: -15px; transform: rotate(-90deg); }
        .dm-br { bottom: -15px; right: -15px; transform: rotate(180deg); }
        
        .ed-item:hover .draft-mark { border-color: var(--accent); }
        .ed-item:hover .dm-tl { transform: translate(-5px, -5px); }
        .ed-item:hover .dm-tr { transform: translate(5px, -5px) rotate(90deg); }
        .ed-item:hover .dm-bl { transform: translate(-5px, 5px) rotate(-90deg); }
        .ed-item:hover .dm-br { transform: translate(5px, 5px) rotate(180deg); }

        .ed-item-mask { 
            width: 100%; height: 100%; overflow: hidden; -webkit-clip-path: inset(100% 0 0 0); clip-path: inset(100% 0 0 0); 
            will-change: clip-path; border-radius: 4px; border: 1px solid rgba(255,255,255,0.08); 
            box-shadow: 0 30px 60px rgba(0,0,0,0.6);
        }
        .ed-img-wrap { width: 100%; height: 140%; will-change: transform; transform-origin: center; }
        .ed-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s ease; }
        
        
        /* Etiqueta Glassmorphism Flutuante (Nome do Espaço) */
        .ed-overlay-tag {
            position: absolute; bottom: 30px; left: 30px; padding: 12px 20px; z-index: 10;
            background: rgba(10, 10, 10, 0.4); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255,255,255,0.05); border-radius: 4px;
            font-family: var(--font-mono, monospace); font-size: 0.65rem; color: #fff; text-transform: uppercase; letter-spacing: 2px;
            opacity: 0; transform: translateY(15px); transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
            pointer-events: none; display: flex; align-items: center; gap: 10px; box-shadow: 0 10px 20px rgba(0,0,0,0.3);
        }
        .tag-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 8px var(--accent); transition: transform 0.3s; }
        .ed-item:hover .ed-overlay-tag { opacity: 1; transform: translateY(0); border-color: rgba(255,255,255,0.2); }
        .ed-item:hover .tag-dot { transform: scale(1.5); }

        @media (max-width: 768px) { .ed-item { height: 60vh; margin-top: 4vh; } .draft-mark, .arch-ui-top, .ed-item::after { display: none; } }

        /* ==========================================================================
           9. SHOWCASE DE INTERIORES
           ========================================================================== */
        .interior-showcase { background: var(--bg-dark); padding: 0 var(--pad-x) var(--pad-y) var(--pad-x); position: relative; z-index: 2; }
        
        .stack-header { text-align: center; margin-bottom: 8vh; }
        .stack-header h2 { font-family: var(--font-head); font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 300; color: var(--accent); }
        .stack-header p { color: #888; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; margin-top: 1rem; }

        .stack-container { position: relative; padding-bottom: 10vh; }
        .stack-card { position: sticky; top: 12vh; height: 75vh; width: 100%; border-radius: 8px; overflow: hidden; margin-bottom: 4vh; transform-origin: top center; background: #111; box-shadow: 0 -10px 40px rgba(0,0,0,0.7); display: flex; align-items: flex-end; }
        
        .stack-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); will-change: transform; }
        
        .stack-info { position: relative; z-index: 2; padding: 6vw 4vw; width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 60%, transparent 100%); }
        .stack-info h3 { font-family: var(--font-head); font-size: clamp(2rem, 5vw, 4rem); margin-bottom: 1rem; line-height: 1; }
        .stack-info p { max-width: 600px; font-size: 0.95rem; line-height: 1.6; color: #ccc; }

        @media (min-width: 769px) {
            .stack-card { height: 80vh; top: 10vh; }
            .stack-info { padding: 4vw; }
            .stack-info p { font-size: 1.1rem; }
        }

                /* ==========================================================================
           10. AS 10 RESIDÊNCIAS (DASHBOARD & PLANTA PRO) - CORREÇÃO MOBILE
           ========================================================================== */
        .apartments-section { 
            background: var(--bg-light); 
            border-radius: 40px; 
            margin-top: -40px; 
            margin-bottom: -40px; 
            padding: calc(var(--pad-y) + 40px) var(--pad-x); 
            position: relative; 
            z-index: 10; 
            box-shadow: 0 -20px 50px rgba(0,0,0,0.5), 0 20px 50px rgba(0,0,0,0.5);
            overflow: hidden; 
        }
        
        @media (min-width: 769px) {
            .apartments-section { border-radius: 80px; margin-top: -80px; margin-bottom: -80px; padding: calc(var(--pad-y) + 80px) var(--pad-x); }
        }
        
        .apt-header { margin-bottom: 12vh; text-align: center; }
        .apt-header h2 { font-family: var(--font-head); font-size: clamp(3rem, 8vw, 6rem); font-weight: 300; color: var(--text-dark); margin-bottom: 1rem; }
        .apt-header p { color: #555; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; }
        
        /* Margem respirável entre os apartamentos */
        .apt-list { display: flex; flex-direction: column; gap: 60px; }
        
        /* MOBILE FIX: Flexbox em vez de Grid para evitar sobreposição no Safari/iOS */
        /* PERF: sem will-change permanente — é um reveal único (from), o force3D
           global do GSAP já promove a layer durante a própria animação; manter o
           hint fixo só ocupava memória de composição depois de cada card revelar. */
        .apt-row { display: flex; flex-direction: column; gap: 24px; }
        
        /* DESKTOP: Mantém o Grid avançado (ziguezague) */
        @media (min-width: 900px) {
            .apt-list { gap: 15vh; }
            .apt-row { grid-template-columns: 1fr 1fr; gap: 6vw; display: grid; align-items: center; }
            .apt-row:nth-child(even) .apt-visual { order: 2; }
            .apt-row:nth-child(even) .apt-data { order: 1; }
        }
        
        /* Proteção de Imagem (Impede colapso de altura no mobile) */
        .apt-visual { position: relative; width: 100%; display: block; aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; cursor: pointer; box-shadow: 0 20px 40px rgba(0,0,0,0.1); min-height: 240px; transform: translateZ(0); }
        .apt-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1); }
        /* PERF: o zoom-hover só existe em dispositivos com rato (hover:hover).
           Em touch o :hover nunca dispara, por isso o will-change ficava sempre
           ligado (~10 imagens) sem nunca ser aproveitado — agora só se aplica
           onde é realmente usado. */
        @media (hover: hover) and (pointer: fine) {
            .apt-visual, .apt-visual img { will-change: transform; }
            .apt-visual:hover img { transform: scale(1.05); }
        }
        .apt-visual-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.2); opacity: 0; transition: opacity 0.5s ease; }
        .apt-visual:hover .apt-visual-overlay { opacity: 1; }
        .apt-visual-overlay span { padding: 12px 24px; border: 1px solid #fff; border-radius: 50px; color: #fff; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; backdrop-filter: blur(5px); }
        
        .apt-data { display: flex; flex-direction: column; width: 100%; }
        
        .badge-novo { align-self: flex-start; background: var(--text-dark); border: none; color: #fff; padding: 6px 14px; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1.5px; border-radius: 4px; margin-bottom: 1.5rem; }
        
        .apt-data-header { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid rgba(0,0,0,0.1); padding-bottom: 1.5rem; margin-bottom: 1.5rem; gap: 1.5rem; }
        
        .apt-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; flex: 1; }
        .stat-col { display: flex; flex-direction: column; gap: 0.3rem; }
        .s-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1px; color: #666; font-weight: 600; }
        .s-val { font-family: var(--font-head); font-size: 1.8rem; color: var(--text-dark); line-height: 1; }
        
        .apt-chart { position: relative; width: 80px; height: 80px; flex-shrink: 0; }
        .circular-chart { display: block; margin: 0 auto; max-width: 100%; max-height: 250px; }
        .circle-bg { fill: none; stroke: rgba(0,0,0,0.05); stroke-width: 2.5; }
        .circle { fill: none; stroke-width: 2.5; stroke-linecap: square; animation: progress 1s ease-out forwards; }
        .chart-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 0.55rem; text-transform: uppercase; letter-spacing: 0.5px; color: #666; text-align: center; line-height: 1.2; }
        .chart-text b { font-size: 1rem; color: var(--text-dark); font-family: var(--font-body); font-weight: 500; margin-top: 2px; }
        
        .apt-tabs { display: flex; gap: 1rem; margin-bottom: 2rem; border-bottom: 1px solid rgba(0,0,0,0.05); }
        .tab-circle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; color: #666; cursor: pointer; transition: all 0.3s ease; position: relative; margin-bottom: -1px; background: transparent; }
        .tab-circle:hover { border-color: var(--text-dark); color: var(--text-dark); }
        .tab-circle.active { border-color: var(--accent); background: var(--accent); color: #fff; font-weight: 600; }
        .tab-circle.active::after { content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 6px solid var(--accent); }
        
        /* PLANTA PRO */
        .apt-wireframes { 
            width: 100%; height: 160px; display: flex; align-items: center; justify-content: center; margin-bottom: 2rem; 
            background-color: rgba(255,255,255,0.6);
            background-image: linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
            background-size: 15px 15px; border-radius: 8px; border: 1px solid rgba(0,0,0,0.05); overflow: hidden; position: relative;
        }
        .iso-building { width: 150px; height: 100px; transform: scale(1.2); }
        
        .apt-actions { display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(0,0,0,0.03); border-radius: 4px; overflow: hidden; }
        .dl-btn { padding: 15px 5px; text-align: center; border: none; background: none; color: #555; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: all 0.3s; border-right: 1px solid rgba(0,0,0,0.05); display: flex; flex-direction: column; align-items: center; gap: 4px; }
        .dl-btn:last-child { border-right: none; }
        .dl-btn:hover { background: rgba(0,0,0,0.05); color: var(--text-dark); }
        .dl-btn.active { background: var(--accent); color: #fff; font-weight: 600; }
        .dl-btn.active span { color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 4px; }
        .dl-btn.active span svg { width: 12px; height: 12px; stroke: currentColor; }
        
        /* --------------------------------------------------------
           UI EXATA PARA TELEMÓVEIS (Limpeza da interface e Correção de Escala)
           -------------------------------------------------------- */
        @media (max-width: 768px) {
            .badge-novo { margin-bottom: 1.2rem; }
            .apt-data-header { gap: 1rem; }
            
            .apt-stats-grid { gap: 1.2rem 0.5rem; grid-template-columns: 1fr 1fr; }
            .s-label { font-size: 0.55rem; letter-spacing: 0.5px; }
            .s-val { font-size: 1.4rem; } 
            
            .apt-chart { width: 70px; height: 70px; }
            .chart-text { font-size: 0.5rem; }
            .chart-text b { font-size: 0.85rem; }
            
            .apt-actions { grid-template-columns: repeat(2, 1fr); }
            .dl-btn { padding: 12px 5px; font-size: 0.6rem; }
            .dl-btn:nth-child(2) { border-right: none; }
            .dl-btn:nth-child(1), .dl-btn:nth-child(2) { border-bottom: 1px solid rgba(0,0,0,0.05); }
        }

        /* ==========================================================================
           11A. MODAL DAS 10 IMAGENS APARTAMENTOS (PREMIUM LIGHT)
           ========================================================================== */
        .apt-modal { position: fixed; inset: 0; z-index: 10000; background: var(--bg-light); transform: translateY(100%); display: flex; flex-direction: column; overflow: hidden; }
        .modal-nav { position: absolute; top: 0; left: 0; width: 100%; padding: 4vw var(--pad-x); display: flex; justify-content: space-between; align-items: center; z-index: 10; background: linear-gradient(to bottom, rgba(246,245,242,0.98) 0%, rgba(246,245,242,0.8) 60%, transparent 100%); pointer-events: none; }
        .modal-title { font-family: var(--font-head); font-size: clamp(2rem, 6vw, 3.5rem); color: var(--text-dark); text-transform: uppercase; line-height: 1; font-weight: 300; }
        .modal-close { pointer-events: auto; display: flex; align-items: center; gap: 1rem; cursor: pointer; color: var(--text-dark); transition: all 0.3s ease; }
        .modal-close span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }
        
        .m-close-icon { width: 45px; height: 45px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; position: relative; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
        .m-close-icon::before, .m-close-icon::after { content: ''; position: absolute; width: 14px; height: 1px; background: #000; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
        .m-close-icon::before { transform: rotate(45deg); } .m-close-icon::after { transform: rotate(-45deg); }
        .modal-close:hover .m-close-icon { background: #000; }
        .modal-close:hover .m-close-icon::before, .modal-close:hover .m-close-icon::after { background: #fff; }
        .modal-close:hover .m-close-icon::before { transform: rotate(135deg); } .modal-close:hover .m-close-icon::after { transform: rotate(45deg); }
        
        .modal-body { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 15vh var(--pad-x) 10vh var(--pad-x); }
        .modal-grid { display: grid; grid-template-columns: 1fr; gap: 4vh; }
        .m-img-wrap { overflow: hidden; border-radius: 4px; aspect-ratio: 4/3; opacity: 0; transform: translateY(30px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
        .m-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
        
        @media (min-width: 769px) {
            .modal-nav { padding: 2vw var(--pad-x); }
            .modal-grid { grid-template-columns: repeat(2, 1fr); gap: 2vw; }
            .m-img-wrap.span-2 { grid-column: span 2; aspect-ratio: 21/9; }
        }

        /* ==========================================================================
           11B. MODAL DAS COLEÇÕES (PREMIUM DARK)
           ========================================================================== */
        .col-modal { position: fixed; inset: 0; z-index: 10000; background: var(--bg-dark); color: var(--text-light); transform: translateY(100%); display: flex; flex-direction: column; overflow: hidden; }
        .col-modal .modal-nav { background: linear-gradient(to bottom, rgba(7,7,7,0.98) 0%, rgba(7,7,7,0.8) 60%, transparent 100%); }
        .col-modal .modal-title { color: var(--text-light); }
        .col-modal .modal-close { color: var(--text-light); }
        .col-modal .m-close-icon { border-color: rgba(255,255,255,0.2); }
        .col-modal .m-close-icon::before, .col-modal .m-close-icon::after { background: #fff; }
        .col-modal .modal-close:hover .m-close-icon { background: #fff; }
        .col-modal .modal-close:hover .m-close-icon::before, .col-modal .modal-close:hover .m-close-icon::after { background: #000; }

        .col-modal-info { display: flex; flex-direction: column; gap: 2.5rem; margin-bottom: 6vh; padding-bottom: 6vh; border-bottom: 1px solid rgba(255,255,255,0.1); }
        .col-modal-specs { display: flex; flex-wrap: wrap; gap: 2rem; }
        .col-spec-detail { display: flex; align-items: center; gap: 0.8rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-light); font-weight: 500; }
        .col-spec-detail svg { width: 24px; height: 24px; stroke: var(--accent); }
        .col-modal-desc { font-size: 1.1rem; line-height: 1.8; color: #aaa; max-width: 800px; }
        
        .col-modal-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 4vh; flex-wrap: wrap; gap: 2rem; }
        .col-modal-price { font-family: var(--font-head); font-size: 2.5rem; color: #fff; }
        .col-modal-price span { display: block; font-family: var(--font-body); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: #888; margin-bottom: 0.5rem; }
        .col-cta { padding: 15px 30px; background: var(--accent); color: #000; border-radius: 50px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; cursor: pointer; transition: transform 0.3s; border: none; }
        .col-cta:hover { transform: scale(1.05); }

        /* ==========================================================================
           12. AMENITIES 
           ========================================================================== */
        .amenities-wrapper { height: 100vh; height: 100dvh; overflow: hidden; background: #040404; position: relative; z-index: 1; padding-top: 40px; }
        
        /* GSAP Horizontal Scroll Global (Mobile & Desktop) */
        .amenities-track { display: flex; width: 400vw; height: 100%; will-change: transform; transform: translate3d(0,0,0); }
        
        .amenity-slide { flex: 0 0 100vw; width: 100vw; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 5vh; padding: 0 var(--pad-x); position: relative; }
        .slide-content { width: 100%; z-index: 2; text-align: center; }
        .slide-content h2 { font-family: var(--font-head); font-size: clamp(3rem, 8vw, 7rem); line-height: 0.9; margin-bottom: 1rem; color: var(--accent); }
        .slide-content p { font-size: 0.95rem; line-height: 1.6; color: #ddd; margin: 0 auto; max-width: 90%; }
        
        .slide-img-wrap { position: relative; width: 100%; height: 50vh; overflow: hidden; border-radius: 4px; transform: translate3d(0,0,0); }
        .slide-img-wrap img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
        
        @media (min-width: 769px) {
            .amenities-wrapper { padding-top: 80px; }
            .amenity-slide { flex-direction: row; align-items: center; justify-content: space-between; gap: 0; }
            .slide-content { width: 40%; text-align: left; }
            .slide-content h2 { margin-bottom: 2rem; }
            .slide-content p { font-size: 1.1rem; line-height: 1.8; max-width: 450px; margin: 0; }
            .slide-img-wrap { width: 50vw; height: 80vh; }
        }

            /* ==========================================================
           13. FOOTER (ARCHITECTURAL DARK MODE)
           ========================================================== */
        .arch-footer { 
            position: relative; 
            padding: 15vh var(--pad-x) 130px var(--pad-x); /* 130px resolve o problema do botão tapar o texto */
            background: #040404; 
            color: #fff; 
            overflow: hidden; 
            z-index: 1;
        }
        
        .arch-footer::before {
            content: ''; position: absolute; top: 0; left: 0; right: 0; height: 25vh;
            background: linear-gradient(to bottom, var(--arch-bg, #e2e88b) 0%, rgba(4,4,4,0.8) 40%, transparent 100%);
            z-index: 2; pointer-events: none;
        }
        
        .footer-grid-bg {
            position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.03;
            background-image: linear-gradient(to right, #fff 1px, transparent 1px), linear-gradient(to bottom, #fff 1px, transparent 1px);
            background-size: 40px 40px; background-position: center top;
        }
        
        .arch-footer > * { position: relative; z-index: 5; }
        
        .footer-top { display: flex; flex-direction: column; gap: 8vh; margin-bottom: 8vh; } 
        @media (min-width: 900px) { .footer-top { flex-direction: row; justify-content: space-between; align-items: flex-end; } }
        
        .f-ref-tag { font-family: var(--arch-font-mono, monospace); font-size: 0.65rem; font-weight: 700; letter-spacing: 2px; color: var(--accent); margin-bottom: 2rem; }
        .footer-title-anim { font-family: var(--font-head); font-size: clamp(3.5rem, 12vw, 10rem); line-height: 0.85; font-weight: 300; text-transform: uppercase; margin: 0; color: #fff; letter-spacing: -2px; }
        
        .footer-newsletter { width: 100%; max-width: 450px; }
        .news-label { font-family: var(--arch-font-mono, monospace); font-size: 0.65rem; font-weight: 700; letter-spacing: 1px; color: #888; margin-bottom: 1.5rem; }
        .news-input-wrap { display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.2); transition: border-color 0.4s ease; padding-bottom: 10px; }
        .news-input-wrap:focus-within { border-color: var(--arch-bg, #e2e88b); }
        .cmd-prefix { font-family: var(--arch-font-mono, monospace); color: var(--arch-bg, #e2e88b); margin-right: 15px; font-weight: 700; }
        .news-input-wrap input { flex: 1; background: transparent; border: none; color: #fff; font-family: var(--arch-font-mono, monospace); font-size: 0.85rem; outline: none; }
        .news-input-wrap input::placeholder { color: rgba(255,255,255,0.3); }
        .news-input-wrap button { background: none; border: none; color: #fff; font-family: var(--arch-font-mono, monospace); font-size: 1.2rem; cursor: pointer; transition: color 0.3s ease; padding-left: 10px; }
        .news-input-wrap button:hover { color: var(--arch-bg, #e2e88b); }

        /* ==========================================================
           5. GRELHA DE NAVEGAÇÃO ESTRUTURAL
           ========================================================== */
        .footer-bottom-grid { 
            display: grid; 
            grid-template-columns: 1fr; 
            gap: 40px; 
            border-top: 1px solid rgba(255,255,255,0.05); 
            padding-top: 50px; 
            align-items: start; /* FORÇA A GRELHA A FICAR ALINHADA PELO TOPO */
        }
        
        @media (min-width: 768px) { .footer-bottom-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; } }
        @media (min-width: 1024px) { .footer-bottom-grid { grid-template-columns: repeat(4, 1fr); gap: 4vw; } }
        
        .f-col { display: flex; flex-direction: column; align-items: flex-start; align-self: start; }
        
        .f-col h4 { 
            margin: 0 0 20px 0; /* Mata buracos e define espaço rígido até ao texto */
            line-height: 1;
            font-family: var(--arch-font-mono, monospace); 
            font-size: 0.65rem; 
            font-weight: 700; 
            color: var(--arch-bg, #e2e88b); 
            letter-spacing: 2px; 
            opacity: 0.8;
            display: flex; align-items: center; gap: 12px; width: 100%;
        }
        .f-col h4::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.1); }
        
        /* RESET ABSOLUTO <p> E LINKS <a>: Obriga ambos a terem exatamente a mesma altura e margem */
        .f-col p, .f-link {
            margin: 0 0 12px 0; 
            padding: 0; 
            font-family: var(--font-body); 
            font-size: 0.95rem; 
            line-height: 1.5;
        }

        .f-col p { color: rgba(255, 255, 255, 0.6); }

        .f-link { 
            position: relative; display: flex; align-items: center; width: fit-content; 
            color: rgba(255, 255, 255, 0.8); text-decoration: none; 
            transition: color 0.4s cubic-bezier(0.19, 1, 0.22, 1), transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        }
        
        .f-link::before { 
            content: '>'; position: absolute; left: -20px; opacity: 0; 
            color: var(--arch-bg, #e2e88b); font-family: var(--arch-font-mono, monospace); font-size: 0.8rem;
            transition: opacity 0.4s ease, left 0.4s cubic-bezier(0.19, 1, 0.22, 1); 
        }
        .f-link::after {
            content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 1px;
            background: var(--arch-bg, #e2e88b); transform: scaleX(0); transform-origin: right;
            transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
        }
        
        .f-link:hover { color: #fff; transform: translateX(20px); }
        .f-link:hover::before { opacity: 1; left: -15px; }
        .f-link:hover::after { transform: scaleX(1); transform-origin: left; }
        
        .legal-col { margin-top: 20px; }
        
        @media (min-width: 1024px) { 
            .legal-col { align-items: flex-end; text-align: right; margin-top: 0; } 
            .legal-col h4 { flex-direction: row-reverse; }
            .legal-col .f-link { margin-left: auto; margin-right: 0; } 
            .legal-col .f-link:hover { transform: translateX(-20px); } 
            .legal-col .f-link::before { left: auto; right: -20px; content: '<'; transition: opacity 0.4s ease, right 0.4s cubic-bezier(0.19, 1, 0.22, 1); } 
            .legal-col .f-link:hover::before { right: -15px; }
        }
        
        /* ==========================================================
           ASSINATURA UNYXLAB & BLINDAGEM DO BOTÃO FLUTUANTE
           ========================================================== */
        
        .f-copy { 
            margin-top: 30px; 
            display: flex; 
            flex-direction: row; /* Coloca os spans lado a lado numa linha reta */
            flex-wrap: wrap; /* Segurança mobile: se o ecrã for pequeno, parte a linha naturalmente */
            gap: 8px; /* Espaço elegante de 8px entre "2026 RESERVA." e "Engenharia..." */
            font-family: var(--arch-font-mono, monospace); 
            font-size: 0.6rem; 
            color: rgba(255, 255, 255, 0.4); 
            letter-spacing: 2px; 
            text-transform: uppercase;
        }

        @media (min-width: 1024px) { 
            .f-copy { 
                justify-content: flex-end; /* Mantém a estrutura alinhada à direita da grelha pai */
                margin-right: 110px; /* DESVIO ESTRUTURAL */
            } 
        }

        /* PREVENÇÃO DE BUGS NATIVOS: Mapear todos os estados do link para matar a cor roxa (visited) */
        .unyx-link,
        .unyx-link:visited,
        .unyx-link:active {
            color: #ffffff; 
            text-decoration: none; 
            border-bottom: 1px solid rgba(255,255,255,0.3); 
            padding-bottom: 2px;
            transition: border-color 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        }

        .unyx-link:hover { 
            border-color: #ffffff; 
        }
        
        /* ==========================================================
           14. SECÇÃO CONTACTOS (THE DRAFTING BOARD & HUD EXPERIENCE)
           ========================================================== */
        
        :root {
            --arch-bg: #e2e88b;       
            --arch-ink: #080808;      
            --arch-ink-light: rgba(8, 8, 8, 0.4);
            --arch-border: rgba(8, 8, 8, 0.15); 
            --arch-font-sans: 'Inter', Helvetica, sans-serif;
            --arch-font-mono: 'Courier New', Courier, monospace;
            --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
        }
        
        .arch-blueprint-section {
    position: relative;
    background-color: var(--arch-bg); /* Fica fixo no amarelo */
    color: var(--arch-ink);
    font-family: var(--arch-font-sans);
    padding: 100px 20px 80px 20px;
    overflow: hidden;
}

/* APAGAR ISTO SE AINDA LÁ ESTIVER:
.arch-blueprint-section::before { ... } 
*/

/* ADICIONAR ISTO: Cortina GPU de altíssima performance */
.arch-gpu-overlay {
    position: absolute;
    inset: 0;
    background-color: #040404; /* O preto do teu site */
    z-index: 1;
    pointer-events: none;
    will-change: opacity; /* O segredo para o PageSpeed 100. Pede à GPU para processar. */
}

/* Garantir que o conteúdo fica por cima da cortina */
.arch-noise-overlay, 
.arch-grid-bg, 
.arch-container,
.axis-line {
    z-index: 2;
}
        
        /* Grelha Técnica (Overlay) */
        .arch-noise-overlay {
            position: absolute; inset: 0; z-index: 0; opacity: 0.05; pointer-events: none;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
        }
        
        .arch-grid-bg {
            position: absolute; inset: 0; z-index: 0; pointer-events: none;
            background-image: linear-gradient(to right, var(--arch-border) 1px, transparent 1px), linear-gradient(to bottom, var(--arch-border) 1px, transparent 1px);
            background-size: 40px 40px; background-position: center top;
        }
        
        .arch-container { position: relative; z-index: 1; max-width: 1400px; margin: 0 auto; }
        
        /* Linhas Animadas GSAP (Eixos do Projeto) */
        .axis-line { position: absolute; background: var(--arch-ink); opacity: 0.2; z-index: 0; pointer-events: none; will-change: transform; }
        .axis-h.top-axis { top: 120px; left: 0; width: 100%; height: 1px; transform-origin: left; transform: scaleX(0); }
        .axis-v.center-axis { top: 0; left: 50%; width: 1px; height: 100%; transform-origin: top; transform: scaleY(0); }
        @media (max-width: 1023px) { .axis-v.center-axis { display: none; } }
        
        /* Cabeçalho do Estirador */
        .draft-header { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid var(--arch-ink); padding-bottom: 16px; margin-bottom: 60px; font-family: var(--arch-font-mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; }
        .cad-coords { color: var(--arch-ink-light); }
        
        /* O Estirador (Grid 50/50 em Desktop) */
        .draft-board { display: grid; grid-template-columns: 1fr; gap: 60px; margin-bottom: 80px; }
        @media (min-width: 1024px) { .draft-board { grid-template-columns: 1fr 1fr; gap: 8vw; } }
        
        /* Textos e Info */
        .cf-title { font-size: clamp(2.8rem, 8vw, 5rem); line-height: 0.95; font-weight: 700; margin: 0 0 24px 0; letter-spacing: -0.04em; text-transform: uppercase; }
        .cf-subtitle { font-size: 1rem; line-height: 1.6; margin-bottom: 40px; color: rgba(8, 8, 8, 0.8); }
        .cf-info-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
        @media (min-width: 768px) { .cf-info-grid { grid-template-columns: 1fr 1fr; } }
        .arch-label { font-family: var(--arch-font-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; color: var(--arch-ink-light); margin-bottom: 8px; display: block; }
        .magnetic-link { color: var(--arch-ink); text-decoration: none; font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; display: inline-block; }
        
        /* Status Tático "Live" */
        .live-status { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 40px; padding: 8px 14px; border: 1px solid rgba(8,8,8,0.2); font-family: var(--arch-font-mono); font-size: 0.65rem; font-weight: 700; letter-spacing: 1px; }
        .pulse-dot { width: 6px; height: 6px; background-color: #2e8b57; border-radius: 50%; position: relative; }
        .pulse-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background-color: rgba(46, 139, 87, 0.7); animation: pulse-dot-gpu 1.5s infinite cubic-bezier(0.19, 1, 0.22, 1); will-change: transform, opacity; }
        @keyframes pulse-dot-gpu { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(3.5); opacity: 0; } }
        
        /* ==========================================================
           ZONA B: O STACK DE CONVERSÃO & INPUTS AVANÇADOS
           ========================================================== */
        .zone-action { border: 1px solid var(--arch-ink); background: rgba(255,255,255,0.02); display: flex; flex-direction: column; will-change: clip-path; }
        .action-block { padding: 40px; position: relative; }
        .block-id { display: block; font-family: var(--arch-font-mono); font-size: 0.65rem; font-weight: 700; letter-spacing: 1px; color: var(--arch-ink-light); margin-bottom: 24px; }
        
        /* ZONA 1A: Inputs de Engenharia HUD */
        .input-row { position: relative; margin-bottom: 28px; background: rgba(8, 8, 8, 0.02); border-radius: 2px; }
        .input-row input { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--arch-border); padding: 22px 16px 10px 16px; font-family: var(--arch-font-mono); font-size: 0.95rem; color: var(--arch-ink); outline: none; transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1); }
        
        /* Cantoneiras HUD Dinâmicas */
        .input-row::before, .input-row::after { content: ''; position: absolute; bottom: 0; width: 0; height: 1.5px; background: var(--arch-ink); transition: width 0.5s cubic-bezier(0.19, 1, 0.22, 1); }
        .input-row::before { left: 50%; }
        .input-row::after { right: 50%; }
        .input-row:focus-within::before, .input-row:focus-within::after { width: 50%; }
        .input-row input:focus { background: rgba(8, 8, 8, 0.05); border-bottom-color: transparent; }
        
        /* Labels Técnicas Dinâmicas */
        .input-row label { position: absolute; top: 18px; left: 16px; font-family: var(--arch-font-mono); font-size: 0.75rem; font-weight: 700; color: var(--arch-ink-light); pointer-events: none; transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1); transform-origin: left top; }
        .input-row input:focus ~ label, .input-row input:not(:placeholder-shown) ~ label { top: 0px; left: 0px; transform: scale(0.8); color: var(--arch-ink); background: var(--arch-bg); padding: 2px 6px; border: 1px solid var(--arch-ink); border-bottom: none; border-left: none; }
        
        /* Botão de Submissão CAD (Preenchimento Cinético) */
        .cad-btn { position: relative; width: 100%; background: transparent; border: 1px solid var(--arch-ink); padding: 18px; font-family: var(--arch-font-mono); font-weight: 700; font-size: 0.85rem; letter-spacing: 2px; cursor: pointer; overflow: hidden; transition: color 0.4s cubic-bezier(0.19, 1, 0.22, 1); margin-top: 15px; z-index: 1; }
        .cad-btn::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--arch-ink); transform: scaleX(0); transform-origin: right; transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1); z-index: -1; }
        .cad-btn:hover { color: var(--arch-bg); border-color: var(--arch-ink); }
        .cad-btn:hover::before { transform: scaleX(1); transform-origin: left; }
        .cmd-prompt { color: var(--arch-ink); transition: color 0.4s ease; }
        .cad-btn:hover .cmd-prompt { color: var(--arch-bg); }
        
        /* Separador Estrutural CAD */
        .action-divider { display: flex; align-items: center; padding: 0 40px; }
        .div-line { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--arch-ink) 0, var(--arch-ink) 4px, transparent 4px, transparent 8px); opacity: 0.3; }
        .div-text { padding: 0 16px; font-family: var(--arch-font-mono); font-size: 0.75rem; font-weight: 700; color: var(--arch-ink); }
        
        /* ZONA 1B: EXPRESS BLOCK (HUD TÁTICO DE ALTO CONTRASTE) */
        .express-block { background: var(--arch-ink); color: var(--arch-bg); margin: 40px; padding: 35px 32px; position: relative; box-shadow: inset 0 0 0 1px rgba(226, 232, 139, 0.1); }
        .block-id.inverted { color: rgba(226, 232, 139, 0.4); }
        .express-badge { position: absolute; top: -10px; right: 20px; background: #ff3333; color: white; font-family: var(--arch-font-mono); font-size: 0.6rem; font-weight: 700; letter-spacing: 1.5px; padding: 6px 10px; box-shadow: 0 5px 15px rgba(255, 51, 51, 0.3); }
        .express-desc { font-size: 0.85rem; margin-bottom: 24px; color: rgba(226, 232, 139, 0.7); }
        .express-form { display: flex; flex-direction: column; gap: 14px; }
        
        /* Express Input (Neon Subtil) */
        .express-input-wrap { display: flex; border: 1px solid rgba(226, 232, 139, 0.2); background: rgba(0, 0, 0, 0.4); transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1); }
        .express-input-wrap:focus-within { border-color: rgba(226, 232, 139, 0.9); box-shadow: inset 0 0 15px rgba(226, 232, 139, 0.05), 0 0 20px rgba(226, 232, 139, 0.1); }
        .express-input-wrap .prefix { padding: 18px; font-family: var(--arch-font-mono); font-weight: 700; font-size: 0.95rem; border-right: 1px solid rgba(226, 232, 139, 0.2); color: rgba(226, 232, 139, 0.6); transition: color 0.4s ease; }
        .express-input-wrap:focus-within .prefix { color: var(--arch-bg); }
        .express-input-wrap input { flex: 1; background: transparent; border: none; padding: 18px; color: var(--arch-bg); font-family: var(--arch-font-mono); font-size: 1rem; outline: none; }
        .express-input-wrap input::placeholder { color: rgba(226, 232, 139, 0.3); }
        
        /* Express Button (Levitação) */
        .express-form button { background: var(--arch-bg); color: var(--arch-ink); border: none; padding: 20px; font-family: var(--arch-font-mono); font-weight: 800; font-size: 0.85rem; letter-spacing: 2px; cursor: pointer; transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), background 0.3s ease, box-shadow 0.4s ease; }
        .express-form button:hover { background: #ffffff; transform: translateY(-4px); box-shadow: 0 15px 25px rgba(0,0,0,0.6); }
        .express-form button.success { background: #4CAF50; color: white; transform: translateY(0); box-shadow: none; }
        
        /* ==========================================================
           ZONA C: O MAPA TOTALMENTE CENTRADO
           ========================================================== */
        .draft-map-zone { display: flex; flex-direction: column; align-items: center; width: 100%; will-change: clip-path; }
        .map-label { font-family: var(--arch-font-mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; margin-bottom: 16px; border: 1px solid var(--arch-ink); padding: 6px 12px; }
        .map-frame { position: relative; width: 100%; max-width: 900px; height: 400px; border: 1px solid var(--arch-ink); padding: 8px; }
        .map-frame iframe { width: 100%; height: 100%; filter: grayscale(100%) contrast(1.1) sepia(10%); transition: filter 0.5s ease; }
        .map-frame:hover iframe { filter: grayscale(50%) contrast(1) sepia(0%); }
        
        /* Guia do Mapa (Targeting) */
        .mc { position: absolute; width: 12px; height: 12px; border: 2px solid var(--arch-ink); z-index: 5; }
        .mc.top-left { top: -2px; left: -2px; border-right: none; border-bottom: none; }
        .mc.top-right { top: -2px; right: -2px; border-left: none; border-bottom: none; }
        .mc.bottom-left { bottom: -2px; left: -2px; border-right: none; border-top: none; }
        .mc.bottom-right { bottom: -2px; right: -2px; border-left: none; border-top: none; }
        .map-target { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; pointer-events: none; z-index: 10; }
        .map-target::before, .map-target::after { content: ''; position: absolute; background: var(--arch-ink); }
        .map-target::before { top: 50%; left: 0; width: 100%; height: 1px; } 
        .map-target::after { top: 0; left: 50%; width: 1px; height: 100%; }
        
        /* ==========================================================
           FLOATING CONTACT BUTTON (GLASSMORPHISM LUXURY)
           ========================================================== */
        .floating-contact-btn { position: fixed; bottom: 40px; right: 40px; z-index: 8900; display: flex; align-items: center; text-decoration: none; cursor: pointer; }
        .fc-icon-wrap { width: 60px; height: 60px; border-radius: 50%; background: rgba(7, 7, 7, 0.45); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.15); display: flex; justify-content: center; align-items: center; color: #fff; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); position: relative; transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1); }
        .fc-icon-wrap::after { content: ''; position: absolute; inset: 4px; border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 50%; transition: all 0.5s ease; }
        .fc-icon-wrap svg { width: 22px; height: 22px; transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1); }
        
        /* Label Flutuante Hover */
        .fc-label { position: absolute; right: 100%; margin-right: 20px; background: #0a0a0a; color: #fff; padding: 10px 20px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.1); font-family: var(--arch-font-mono, 'Courier New', monospace); font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; white-space: nowrap; opacity: 0; pointer-events: none; transform: translateX(15px); transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); }
        
        /* Interação Hover do Botão */
        .floating-contact-btn:hover .fc-icon-wrap { background: var(--arch-bg, #e2e88b); border-color: var(--arch-bg, #e2e88b); color: #080808; transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(226, 232, 139, 0.3); }
        .floating-contact-btn:hover .fc-icon-wrap::after { border-color: rgba(8, 8, 8, 0.2); inset: 2px; }
        .floating-contact-btn:hover .fc-icon-wrap svg { transform: scale(1.1); }
        .floating-contact-btn:hover .fc-label { opacity: 1; transform: translateX(0); }
        
        /* Responsividade Mobile para Flutuante e Outros Layouts */
        @media (max-width: 768px) { 
            .arch-blueprint-section { padding: 60px 20px; }
            .floating-contact-btn { bottom: 20px; right: 20px; } 
            .fc-icon-wrap { width: 50px; height: 50px; } 
            .fc-icon-wrap svg { width: 18px; height: 18px; } 
            .fc-label { display: none; } 
            .express-block { margin: 20px; padding: 25px 20px; }
        }
        
        /* ==========================================================================
           15. MODAL FORMULÁRIO DE RESERVA
           ========================================================================== */
        .booking-modal { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; }
        .booking-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; }
        
        .booking-content { 
            position: relative; z-index: 2; width: 90%; max-width: 500px; padding: 3rem 2.5rem; 
            background: #0a0a0a; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px;
            box-shadow: 0 40px 100px rgba(0,0,0,0.8);
            opacity: 0; transform: translateY(40px);
        }
        
        .booking-close { position: absolute; top: 20px; right: 20px; cursor: pointer; }
        .booking-close .m-close-icon { border-color: rgba(255,255,255,0.2); }
        .booking-close .m-close-icon::before, .booking-close .m-close-icon::after { background: #fff; }
        
        .booking-form-header { margin-bottom: 2.5rem; text-align: center; }
        .booking-form-header h3 { font-family: var(--font-head); font-size: 2.5rem; color: #fff; font-weight: 300; line-height: 1; margin-bottom: 0.5rem; }
        .booking-form-header p { font-size: 0.8rem; color: #888; }
        
        .b-form { display: flex; flex-direction: column; gap: 1.5rem; }
        .input-group input, .input-group select { 
            width: 100%; padding: 12px 0; background: transparent; border: none; 
            border-bottom: 1px solid rgba(255,255,255,0.3); color: #fff; 
            font-family: var(--font-body); font-size: 0.95rem; outline: none; transition: border-color 0.3s;
        }
        .input-group input::placeholder { color: rgba(255,255,255,0.3); }
        .input-group input:focus, .input-group select:focus { border-bottom-color: var(--accent); }
        .input-group select { color: rgba(255,255,255,0.7); cursor: pointer; appearance: none; }
        .input-group select option { background: #111; color: #fff; }
        
        .btn-submit { width: 100%; margin-top: 1.5rem; padding: 18px; text-align: center; font-size: 0.75rem; letter-spacing: 2px; }

        /* ==========================================================================
           PERFORMANCE MOBILE/TABLET: backdrop-filter blur é uma das operações mais
           caras para a GPU em ecrãs touch (recalculada em cada frame de scroll em
           elementos fixed). Reduz-se a intensidade do blur nestes breakpoints —
           o efeito de vidro fosco mantém-se, fica apenas mais leve de renderizar.
           ========================================================================== */
        @media (max-width: 1024px) {
            header {
                backdrop-filter: blur(12px);
                -webkit-backdrop-filter: blur(12px);
            }
            .fc-icon-wrap {
                backdrop-filter: blur(10px);
                -webkit-backdrop-filter: blur(10px);
            }
            .int-story {
                backdrop-filter: blur(12px);
                -webkit-backdrop-filter: blur(12px);
            }
            .booking-overlay {
                backdrop-filter: blur(6px);
                -webkit-backdrop-filter: blur(6px);
            }

            /* PERF: durante o scroll ativo, o backdrop-filter tem de reamostrar
               o conteúdo por trás em CADA frame — é o custo isolado mais alto
               em telemóvel com Lenis+ScrollTrigger a correr ao mesmo tempo.
               A classe "is-scrolling" (aplicada via ScrollTrigger.addEventListener
               'scrollStart'/'scrollEnd' no script.js) desliga o blur só enquanto
               o dedo está a mexer o ecrã — parado, o vidro fosco volta ao normal.
               O olho não perde o efeito porque o próprio movimento do scroll já
               disfarça a diferença. */
            body.is-scrolling header,
            body.is-scrolling .fc-icon-wrap,
            body.is-scrolling .int-story {
                backdrop-filter: blur(0px);
                -webkit-backdrop-filter: blur(0px);
            }
        }