﻿

/* Extracted from index.html */
/* CSS Variáveis do Design System */
        :root {
            --primary: #1B2A22;
            --secondary: #2D4A3A;
            --accent: #C5A880;
            --neutralLight: #F9F8F6;
            --neutralAlt: #e6ece8;
        }

        body {
            background-color: var(--neutralLight);
            color: var(--primary);
            overflow-x: hidden;
            /* Hide scrollbar for a cleaner Apple-like feel */
            -ms-overflow-style: none; /* IE and Edge */
            scrollbar-width: none; /* Firefox */
        }
        body::-webkit-scrollbar {
            display: none;
        }

        /* Glass Panel from Design System 3 */
        .glass-panel {
            background: rgba(255, 255, 255, 0.65);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.5);
            box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
        }

        /* Animations from Design System 3 */
        @keyframes bgPan {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        @keyframes pulseGlow {
            0%, 100% { opacity: 0.5; transform: scale(1); }
            50% { opacity: 0.8; transform: scale(1.05); }
        }

        .hero-bg-anim {
            background: linear-gradient(-45deg, #F9F8F6, #e6ece8, #ffffff, #F9F8F6);
            background-size: 300% 300%;
            animation: bgPan 15s ease infinite;
        }

        /* Hero Wrapper for Scroll Space */
        .scroll-container {
            height: 400vh; /* Restored for smooth video sequence */
            position: relative;
        }

        /* Pinned Section */
        .hero-pin {
            position: sticky;
            top: 0;
            height: 100vh;
            width: 100vw;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Video Setup */
        .hero-video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            /* Apple uses will-change for performance */
            will-change: transform, opacity; 
            z-index: 10;
            /* Restore opacity based reveal */
            opacity: 0;
        }

        /* Overlays for Depth */
        .overlay-gradient {
            position: absolute;
            inset: 0;
            z-index: 2;
            background: linear-gradient(
                to top,
                rgba(8, 12, 10, 0.3) 0%,
                rgba(8, 12, 10, 0.0) 50%,
                rgba(8, 12, 10, 0.1) 100%
            );
            pointer-events: none;
        }

        .overlay-vignette {
            position: absolute;
            inset: 0;
            z-index: 3;
            background: radial-gradient(circle at center, transparent 60%, rgba(8, 12, 10, 0.15) 100%);
            mix-blend-mode: multiply;
            pointer-events: none;
        }

        /* Glassmorphism Abstract Shape */
        .glass-orb {
            position: absolute;
            width: 40vw;
            height: 40vw;
            background: rgba(197, 168, 128, 0.1);
            filter: blur(80px);
            border-radius: 50%;
            z-index: 3;
            pointer-events: none;
            mix-blend-mode: screen;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        /* Typography & Content Layer */
        .hero-content {
            position: relative;
            z-index: 10;
            text-align: center;
            max-width: 64rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 0 2rem;
        }

        /* Transparent Lettering from Design System */
        .title-outline {
            color: transparent;
            -webkit-text-stroke: 1.5px var(--primary, #1B2A22);
            transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }

        /* Artools Lettering Effect */
        .reveal-up {
            opacity: 0;
            transform: translateY(30px);
            filter: blur(15px);
            will-change: transform, opacity, filter;
            transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .reveal-up.active {
            opacity: 1;
            transform: translateY(0);
            filter: blur(0);
        }

        .delay-100 { transition-delay: 100ms; }
        .delay-200 { transition-delay: 200ms; }
        .delay-300 { transition-delay: 300ms; }
        .delay-500 { transition-delay: 500ms; }
        .delay-700 { transition-delay: 700ms; }

        /* Button Shimmer */
        @keyframes shimmer {
            from { transform: translateX(-100%) skewX(-15deg); }
            to { transform: translateX(200%) skewX(-15deg); }
        }

        /* Reveal Wrappers for GSAP */
        .reveal-wrap {
            overflow: hidden;
            position: relative;
            line-height: 1.1;
        }

        /* Premium CTA Button */
        .btn-premium {
            background-color: transparent;
            color: var(--void);
            border: 1px solid rgba(8, 12, 10, 0.4);
            position: relative;
            overflow: hidden;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 9999px;
            padding: 1.2rem 3rem;
            font-family: 'Outfit', sans-serif;
            font-size: 1.125rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
            /* Glow / Shadows */
            box-shadow: 0 0 0 rgba(197, 168, 128, 0);
        }

        .btn-premium > span {
            position: relative;
            z-index: 1;
        }

        /* Scroll Indication */
        .scroll-indicator {
            position: absolute;
            bottom: 3rem;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10;
            display: flex;
            flex-direction: column;
            align-items: center;
            opacity: 0; /* Animated in by GSAP */
        }

        .mouse {
            width: 26px;
            height: 40px;
            border: 1px solid rgba(27, 42, 34, 0.4);
            border-radius: 20px;
            position: relative;
            display: flex;
            justify-content: center;
            margin-bottom: 0.5rem;
        }

        .mouse::before {
            content: '';
            width: 4px;
            height: 6px;
            background: var(--accent);
            border-radius: 2px;
            margin-top: 6px;
            animation: scroll-wheel 1.5s infinite cubic-bezier(0.16, 1, 0.3, 1);
        }

        @keyframes scroll-wheel {
            0% { transform: translateY(0); opacity: 1; }
            100% { transform: translateY(15px); opacity: 0; }
        }

        /* Services Section Custom Styles */
        .rounded-wrapper {
            position: relative;
            width: 100%;
            aspect-ratio: 16/9;
            margin: 0 auto 2rem auto;
        }

        .rounded-border {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(135deg, var(--accent) 0%, rgba(27, 42, 34, 0.1) 50%, var(--primary) 100%);
            z-index: 0;
            border-radius: 2rem;
            transform: scale(1.05);
            transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), background 0.6s ease;
        }

        .rounded-inner {
            position: relative;
            z-index: 1;
            width: 100%;
            height: 100%;
            background-color: var(--neutralLight);
            border-radius: 2rem;
            overflow: hidden;
            border: 1px solid rgba(197, 168, 128, 0.15);
        }

        .rounded-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
            filter: brightness(0.95);
        }

        .service-card:hover .rounded-border {
            transform: scale(1.07) rotate(2deg);
            background: linear-gradient(135deg, var(--primary) 0%, rgba(197, 168, 128, 0.6) 50%, var(--accent) 100%);
        }

        .service-card:hover .rounded-img {
            transform: scale(1.1);
            filter: brightness(1.05);
        }

        /* Scroll Reveal (Otimizado sem blur para GPU fluida) */
        .reveal-scroll {
            opacity: 0;
            transform: translateY(40px);
            filter: blur(10px);
            will-change: transform, opacity, filter;
        }

        /* ─── 5ª DOBRA: PORTFÓLIO / ANTES E DEPOIS ─── */

        /* Carousel wrapper */
        .portfolio-carousel {
            position: relative;
            overflow: hidden;
        }
        .portfolio-track {
            display: flex;
            gap: 1.5rem;
            transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
            will-change: transform;
        }
        .portfolio-slide {
            flex-shrink: 0;
            width: calc(33.333% - 1rem);
            aspect-ratio: 4/3;
            border-radius: 1.5rem;
            overflow: hidden;
            position: relative;
            cursor: grab;
        }
        .portfolio-slide:active { cursor: grabbing; }

        @media (max-width: 1023px) { .portfolio-slide { width: calc(50% - 0.75rem); } }
        @media (max-width: 767px)  { .portfolio-slide { width: 85%; } }

        /* Before/After comparison */
        .ba-container {
            position: absolute;
            inset: 0;
            display: flex;
            user-select: none;
        }
        .ba-before, .ba-after {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: center;
        }
        .ba-after {
            clip-path: inset(0 50% 0 0);
            transition: clip-path 0.05s linear;
        }
        .ba-divider {
            position: absolute;
            top: 0; bottom: 0;
            left: 50%;
            width: 2px;
            background: rgba(255,255,255,0.85);
            transform: translateX(-50%);
            z-index: 10;
            transition: left 0.05s linear;
            pointer-events: none;
        }
        .ba-handle {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 42px; height: 42px;
            border-radius: 50%;
            background: rgba(255,255,255,0.95);
            box-shadow: 0 4px 20px rgba(0,0,0,0.25);
            display: flex; align-items: center; justify-content: center;
            gap: 3px;
            z-index: 11;
        }
        .ba-handle-arrow {
            width: 0; height: 0;
            border-top: 5px solid transparent;
            border-bottom: 5px solid transparent;
        }
        .ba-handle-arrow.left  { border-right:  7px solid var(--primary); }
        .ba-handle-arrow.right { border-left:   7px solid var(--primary); }

        /* Slide overlay + info */
        .slide-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(27,42,34,0.75) 0%, transparent 55%);
            z-index: 5;
            pointer-events: none;
        }
        .slide-info {
            position: absolute;
            bottom: 0; left: 0; right: 0;
            padding: 1.5rem;
            z-index: 6;
            transform: translateY(8px);
            opacity: 0;
            transition: all 0.45s cubic-bezier(0.16,1,0.3,1);
        }
        .portfolio-slide:hover .slide-info {
            transform: translateY(0);
            opacity: 1;
        }
        .ba-badge {
            position: absolute;
            top: 1rem;
            z-index: 9;
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            font-family: 'Outfit', sans-serif;
            font-size: 0.7rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            backdrop-filter: blur(8px);
        }
        .ba-badge.antes  { left: 1rem;  background: rgba(27,42,34,0.75); color: #F9F8F6; }
        .ba-badge.depois { right: 1rem; background: rgba(197,168,128,0.9); color: #1B2A22; }

        /* Placeholder gradient fills */
        .placeholder-antes { background: linear-gradient(135deg, #2D4A3A 0%, #1B2A22 100%); }
        .placeholder-depois { background: linear-gradient(135deg, #C5A880 0%, #a8906a 100%); }

        /* Arrow buttons */
        .carousel-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 48px; height: 48px;
            border-radius: 50%;
            background: rgba(249,248,246,0.9);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(27,42,34,0.12);
            display: flex; align-items: center; justify-content: center;
            cursor: pointer;
            z-index: 20;
            transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
            box-shadow: 0 4px 24px rgba(0,0,0,0.1);
        }
        .carousel-arrow:hover {
            background: var(--accent);
            border-color: var(--accent);
            transform: translateY(-50%) scale(1.08);
        }
        .carousel-arrow:hover svg { stroke: #1B2A22; }
        .carousel-arrow svg { stroke: var(--primary); transition: stroke 0.3s; }
        .carousel-arrow.prev { left: -1.5rem; }
        .carousel-arrow.next { right: -1.5rem; }

        /* Dot navigation */
        .portfolio-dot {
            height: 3px;
            border-radius: 9999px;
            background: rgba(27,42,34,0.2);
            transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
            border: none;
            cursor: pointer;
            width: 20px;
        }
        .portfolio-dot.active {
            background: var(--accent);
            width: 36px;
        }

        /* ─── Testimonials ─── */
        .review-card {
            background: rgba(255,255,255,0.6);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(27,42,34,0.07);
            border-radius: 1.5rem;
            padding: 2.5rem;
            position: relative;
            overflow: hidden;
            transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
        }
        .review-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0;
            width: 0; height: 2px;
            background: var(--accent);
            transition: width 0.5s cubic-bezier(0.16,1,0.3,1);
        }
        .review-card:hover::before { width: 100%; }
        .review-card:hover {
            box-shadow: 0 20px 60px rgba(0,0,0,0.08);
            transform: translateY(-4px);
            border-color: rgba(197,168,128,0.25);
        }
        .review-quote {
            font-size: 4.5rem;
            line-height: 0.8;
            color: var(--secondary);
            font-family: 'Playfair Display', serif;
            opacity: 0.6;
            margin-bottom: 0.5rem;
        }
        .review-stars { display: flex; gap: 3px; margin-bottom: 1.25rem; }
        .review-star  { width: 16px; height: 16px; fill: var(--secondary); }
        .review-avatar {
            width: 44px; height: 44px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
            display: flex; align-items: center; justify-content: center;
            font-family: 'Outfit', sans-serif;
            font-size: 1rem;
            color: #F9F8F6;
            font-weight: 500;
        }

        /* WhatsApp Floating Button */
        .whatsapp-float {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            width: 60px;
            height: 60px;
            background-color: #25D366;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
            z-index: 1000;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            animation: pulse-wa 2s infinite cubic-bezier(0.66, 0, 0, 1);
        }

        .whatsapp-float:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
            background-color: #20BA56;
        }

        .whatsapp-float svg {
            width: 32px;
            height: 32px;
            fill: currentColor;
        }
        
        @keyframes pulse-wa {
            0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
            70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
            100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
        }
        
        @media (max-width: 768px) {
            .whatsapp-float {
                bottom: 1.5rem;
                right: 1.5rem;
                width: 50px;
                height: 50px;
            }
            .whatsapp-float svg {
                width: 28px;
                height: 28px;
            }
        }
/* Desktop: Bleed right only */
                    @media (min-width: 1024px) {
                        #cta-yellow-bg { left: 0; width: 100vw; clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%); margin-left: -15px; }
                    }
                    /* Mobile/Tablet: Center out and bleed both sides to edges */
                    @media (max-width: 1023px) {
                        #cta-yellow-bg { left: 50%; transform: translateX(-50%); width: 100vw; clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%); margin-top: -15px; }
                    }
