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

        :root {
            --bg: #08080a;
            --bg2: #0d0d10;
            --bg3: #111116;
            --accent: #1864ff;
            --accent2: #6366f1;
            --accent-glow: rgba(24, 100, 255, .5);
            --white: #f4f4f5;
            --dim: #71717a;
            --dimmer: #3f3f46;
            --border: rgba(255, 255, 255, .07);
            --font-serif: 'Instrument Serif', serif;
            --font-sans: 'Inter', sans-serif;
            --font-mono: 'Space Mono', monospace
        }

        html {
            scroll-behavior: smooth;
            overflow-x: hidden
        }

        body {
            background: var(--bg);
            color: var(--white);
            font-family: var(--font-sans);
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased
        }

        ::selection {
            background: rgba(24, 100, 255, .25);
            color: var(--accent)
        }

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

        img {
            display: block;
            max-width: 100%
        }

        /* Navbar/nav base -> movido para assets/css/components.css (fonte unica).
           theme-language.css continua aplicando o glass/ajustes por cima. */

        /* Hero */
        #hero {
            position: relative;
            width: 100%;
            height: 100vh;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center
        }

        .hero-bg {
            position: absolute;
            inset: 0;
            overflow: hidden
        }

        #hero-video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            background: #08080a
        }

        .hero-gradient {
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, rgba(8, 8, 10, .18) 0%, rgba(8, 8, 10, .38) 55%, var(--bg) 100%)
        }

        .hero-content {
            position: relative;
            z-index: 2;
            padding: 0 24px;
            max-width: 960px;
            margin: 0 auto 10vh;
            text-align: center
        }

        .hero-tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-family: var(--font-mono);
            font-size: .7rem;
            letter-spacing: .15em;
            text-transform: uppercase;
            color: var(--white);
            margin-bottom: 28px;
            opacity: 0;
            animation: heroIn 1s .2s cubic-bezier(.22, 1, .36, 1) forwards
        }

        .hero-tag::before {
            content: '';
            width: 24px;
            height: 1px;
            background: rgba(255, 255, 255, .4)
        }

        h1.hero-title {
            font-family: var(--font-serif);
            font-size: clamp(2.5rem, 6vw, 5.5rem);
            font-weight: 400;
            line-height: .95;
            letter-spacing: -.02em;
            margin-bottom: 24px;
            opacity: 0;
            animation: heroIn 1.1s .45s cubic-bezier(.22, 1, .36, 1) forwards;
            color: var(--white)
        }

        h1.hero-title em {
            font-style: italic;
            color: var(--white)
        }

        h1.hero-title strong {
            font-weight: 700
        }

        .hero-sub {
            font-size: clamp(1rem, 1.5vw, 1.15rem);
            font-weight: 300;
            color: rgba(244, 244, 245, .86);
            max-width: 480px;
            line-height: 1.65;
            margin: 0 auto 40px;
            text-shadow: 0 2px 18px rgba(0, 0, 0, .72);
            opacity: 0;
            animation: heroIn 1s .7s cubic-bezier(.22, 1, .36, 1) forwards
        }

        .hero-ctas {
            display: flex;
            gap: 16px;
            align-items: center;
            justify-content: center;
            opacity: 0;
            animation: fadeUp .9s .8s ease forwards
        }

        /* Rainbow Button (Inspira UI / MagicUI) — borda e glow arco-iris animados */
        @keyframes rainbow-btn {
            0% { background-position: 0% }
            100% { background-position: 200% }
        }

        .hero-cta-primary {
            /* Paleta azul / roxo / cinza (HSL) — ordem de pintura: rb-1, rb-5, rb-3, rb-4, rb-2 */
            --rb-1: 218 100% 62%; /* azul */
            --rb-2: 205 90% 62%;  /* azul claro */
            --rb-3: 225 12% 62%;  /* cinza */
            --rb-4: 255 60% 65%;  /* roxo suave */
            --rb-5: 268 75% 64%;  /* roxo */
            --rb-speed: 3s;
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 15px 40px;
            border-radius: 100px;
            color: #fff;
            font-weight: 600;
            font-size: .95rem;
            cursor: pointer;
            background: linear-gradient(180deg, rgba(22, 22, 30, .55), rgba(12, 12, 17, .40));
            -webkit-backdrop-filter: blur(16px) saturate(180%);
            backdrop-filter: blur(16px) saturate(180%);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
            transition: transform .3s
        }

        /* Anel arco-iris SO na borda (mascara), interior fica liquid glass */
        .hero-cta-primary::after {
            content: '';
            position: absolute;
            inset: 0;
            z-index: 2;
            border-radius: inherit;
            padding: 2px;
            background: linear-gradient(90deg, hsl(var(--rb-1)), hsl(var(--rb-5)), hsl(var(--rb-3)), hsl(var(--rb-4)), hsl(var(--rb-2)));
            background-size: 200%;
            animation: rainbow-btn var(--rb-speed) infinite linear;
            -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask-composite: exclude;
            pointer-events: none
        }

        .hero-cta-primary::before {
            content: '';
            position: absolute;
            left: 50%;
            bottom: -20%;
            z-index: 0;
            width: 60%;
            height: 20%;
            transform: translateX(-50%);
            background-size: 200%;
            background-image: linear-gradient(90deg, hsl(var(--rb-1)), hsl(var(--rb-5)), hsl(var(--rb-3)), hsl(var(--rb-4)), hsl(var(--rb-2)));
            filter: blur(12px);
            animation: rainbow-btn var(--rb-speed) infinite linear;
            pointer-events: none
        }

        .hero-cta-primary svg {
            position: relative;
            z-index: 1
        }

        .hero-cta-primary:hover {
            transform: translateY(-2px)
        }

        .hero-cta-primary:hover::before {
            filter: blur(16px)
        }

        @media (prefers-reduced-motion: reduce) {
            .hero-cta-primary::after,
            .hero-cta-primary::before { animation: none }
        }

        .hero-cta-secondary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 28px;
            border: 1px solid var(--border);
            border-radius: 100px;
            font-size: .875rem;
            color: var(--dim);
            transition: all .3s
        }

        .hero-cta-secondary:hover {
            border-color: rgba(255, 255, 255, .25);
            color: var(--white)
        }

        .hero-stats {
            position: absolute;
            bottom: 40px;
            right: 48px;
            display: flex;
            gap: 40px;
            z-index: 2;
            opacity: 0;
            animation: fadeUp .9s 1s ease forwards
        }

        .hero-stat-val {
            font-family: var(--font-serif);
            font-size: 2.2rem;
            line-height: 1
        }

        .hero-stat-label {
            font-size: .7rem;
            font-family: var(--font-mono);
            letter-spacing: .1em;
            color: var(--dim);
            text-transform: uppercase;
            margin-top: 4px
        }

        /* Common section styles */
        .section-tag {
            font-family: var(--font-mono);
            font-size: .7rem;
            letter-spacing: .15em;
            text-transform: uppercase;
            color: var(--accent);
            display: inline-block;
            margin-bottom: 16px
        }

        .section-title {
            font-family: var(--font-serif);
            font-size: clamp(2rem, 4vw, 3.5rem);
            line-height: 1.05;
            letter-spacing: -.02em;
            color: var(--white);
            margin-bottom: 16px
        }

        .section-sub {
            font-size: 1.05rem;
            font-weight: 300;
            color: var(--dim);
            line-height: 1.65;
            max-width: 560px
        }

        /* Carousel / Moodboard */
        #carousel {
            padding: 100px 0;
            background: var(--bg)
        }

        .carousel-header {
            padding: 0 48px;
            margin-bottom: 48px
        }

        .marquee-wrap {
            overflow: hidden;
            cursor: grab;
            user-select: none
        }

        .marquee-wrap:active {
            cursor: grabbing
        }

        .marquee-track {
            display: flex;
            gap: 20px;
            width: max-content
        }

        .m-card {
            width: 380px;
            height: 520px;
            border-radius: 28px;
            overflow: hidden;
            border: 1px solid var(--border);
            background: var(--bg3);
            flex-shrink: 0;
            position: relative;
            transition: border-color .4s
        }

        .m-card:hover {
            border-color: var(--dimmer)
        }

        .m-card-bg {
            position: absolute;
            inset: 0
        }

        .m-card-bg img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: .55;
            transition: opacity .6s, transform .7s
        }

        .m-card:hover .m-card-bg img {
            opacity: .8;
            transform: scale(1.06)
        }

        .m-card-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, transparent 30%, var(--bg) 100%)
        }

        .m-card-body {
            position: absolute;
            inset: 0;
            padding: 28px;
            display: flex;
            flex-direction: column;
            justify-content: space-between
        }

        .m-card-num {
            font-family: var(--font-serif);
            font-size: 3.5rem;
            color: rgba(255, 255, 255, .7)
        }

        .m-card-label {
            font-family: var(--font-mono);
            font-size: .65rem;
            letter-spacing: .14em;
            text-transform: uppercase;
            color: var(--accent);
            margin-bottom: 8px
        }

        .m-card-title {
            font-family: var(--font-serif);
            font-size: 1.8rem;
            line-height: 1.1;
            color: var(--white);
            transform: translateY(8px);
            transition: transform .45s
        }

        .m-card:hover .m-card-title {
            transform: translateY(0)
        }

        .m-card-desc {
            height: 0;
            overflow: hidden;
            transition: height .45s
        }

        .m-card:hover .m-card-desc {
            height: 80px
        }

        .m-card-desc p {
            font-size: .85rem;
            color: var(--dim);
            line-height: 1.55;
            padding-top: 10px;
            opacity: 0;
            transition: opacity .6s .1s
        }

        .m-card:hover .m-card-desc p {
            opacity: 1
        }

        /* Spotlight card glow */
        .spotlight-card {
            position: relative
        }

        .spotlight-card::before {
            content: '';
            position: absolute;
            inset: 0;
            padding: 1px;
            border-radius: inherit;
            background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(24, 100, 255, .22), transparent 40%);
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: destination-out;
            mask-composite: exclude;
            opacity: 0;
            transition: opacity .5s;
            pointer-events: none
        }

        .spotlight-card:hover::before {
            opacity: 1
        }

        /* Image Comparison Sliders */
        .cmp-wrap {
            position: relative;
            overflow: hidden;
            user-select: none;
            touch-action: none;
            cursor: grab
        }

        .cmp-wrap.is-dragging {
            cursor: grabbing
        }

        .cmp-wrap:focus-visible {
            outline: 2px solid rgba(255, 255, 255, .9);
            outline-offset: -4px
        }

        /* Both images fill the full wrapper — clip-path on top image does the reveal */
        .cmp-base-img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            pointer-events: none;
            user-select: none;
            -webkit-user-drag: none
        }

        .cmp-top-img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
            pointer-events: none;
            user-select: none;
            -webkit-user-drag: none
        }

        .cmp-handle {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 2px;
            background: rgba(255, 255, 255, .85);
            z-index: 10;
            pointer-events: none
        }

        .cmp-label {
            position: absolute;
            top: 40px;
            font-family: var(--font-mono);
            font-size: .65rem;
            letter-spacing: .14em;
            text-transform: uppercase;
            padding: 6px 14px;
            border-radius: 100px;
            border: 1px solid rgba(255, 255, 255, .15);
            backdrop-filter: blur(8px);
            z-index: 15;
            pointer-events: none
        }

        .cmp-label-before {
            left: 40px;
            background: rgba(0, 0, 0, .5);
            color: var(--dim)
        }

        .cmp-label-after {
            right: 40px;
            background: rgba(24, 100, 255, .15);
            color: var(--accent);
            border-color: rgba(24, 100, 255, .3)
        }

        /* Process */
        #process {
            background: var(--bg2);
            height: 100vh;
            overflow: hidden;
            display: flex;
            align-items: center;
            border-top: 1px solid var(--border)
        }

        .process-inner {
            max-width: 1280px;
            margin: 0 auto;
            width: 100%;
            padding: 0 48px;
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 64px;
            align-items: center
        }

        .process-steps-col {
            position: relative;
            padding-left: 28px
        }

        .process-prog-line {
            position: absolute;
            left: 0;
            top: 5%;
            bottom: 5%;
            width: 2px;
            background: var(--border)
        }

        .process-prog-fill {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            background: var(--accent);
            box-shadow: 0 0 10px var(--accent);
            transition: height .6s cubic-bezier(.4, 0, .2, 1);
            height: 0%
        }

        .process-step {
            display: none;
            opacity: 0;
            transform: translateY(16px)
        }

        .process-step.active {
            display: block;
            opacity: 1;
            transform: translateY(0);
            transition: opacity .5s, transform .5s
        }

        .step-dots {
            display: flex;
            gap: 10px;
            margin-bottom: 32px
        }

        .step-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--border);
            transition: background .3s, transform .3s
        }

        .step-dot.active {
            background: var(--accent);
            transform: scale(1.3)
        }

        .step-num {
            font-family: var(--font-mono);
            font-size: .7rem;
            letter-spacing: .14em;
            text-transform: uppercase;
            color: var(--dim);
            margin-bottom: 14px
        }

        .step-title {
            font-family: var(--font-serif);
            font-size: clamp(1.8rem, 3vw, 2.6rem);
            color: var(--white);
            margin-bottom: 14px;
            line-height: 1.1
        }

        .step-desc {
            font-size: 1rem;
            color: var(--dim);
            line-height: 1.7;
            max-width: 420px
        }

        .process-nav {
            margin-top: 36px;
            display: flex;
            gap: 12px;
            align-items: center
        }

        .process-nav-btn {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            border: 1px solid var(--border);
            background: transparent;
            color: var(--dim);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all .25s
        }

        .process-nav-btn:hover {
            border-color: var(--accent);
            color: var(--accent)
        }

        .process-vis {
            aspect-ratio: 0.8 / 1;
            border-radius: 28px;
            overflow: hidden;
            border: 1px solid var(--border);
            position: relative
        }

        .process-img-panel {
            position: absolute;
            inset: 0;
            opacity: 0;
            transform: scale(1.04);
            transition: opacity .65s ease, transform .65s ease
        }

        .process-img-panel.active {
            opacity: 1;
            transform: scale(1)
        }

        .process-img-panel img {
            width: 100%;
            height: 100%;
            object-fit: cover
        }

        .process-num-big {
            position: absolute;
            top: 24px;
            left: 28px;
            font-family: var(--font-serif);
            font-size: 7rem;
            color: rgba(255, 255, 255, .1);
            z-index: 2;
            line-height: 1
        }

        .process-section-tag {
            margin-bottom: 10px
        }

        /* Upscale */
        #upscale {
            background: var(--bg);
            padding: 120px 48px;
            border-top: 1px solid var(--border)
        }

        .upscale-inner {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: start
        }

        .upscale-left {
            position: sticky;
            top: 30%;
            align-self: flex-start
        }

        .upscale-timeline {
            position: relative;
            padding-left: 36px;
            border-left: 1px solid rgba(255, 255, 255, .08)
        }

        .upscale-bar-track {
            position: absolute;
            left: -1.5px;
            top: 0;
            bottom: 0;
            width: 3px;
            background: rgba(255, 255, 255, .05)
        }

        #upscale-bar {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 0%;
            background: var(--accent);
            box-shadow: 0 0 16px var(--accent)
        }

        .upscale-item {
            padding: 28px 0;
            transition: transform .35s;
            cursor: default
        }

        .upscale-item:hover {
            transform: translateX(6px)
        }

        .upscale-level {
            font-family: var(--font-mono);
            font-size: .65rem;
            letter-spacing: .15em;
            text-transform: uppercase;
            color: var(--dim);
            margin-bottom: 6px;
            transition: color .3s
        }

        .upscale-item.active .upscale-level {
            color: var(--accent)
        }

        .upscale-title {
            font-family: var(--font-serif);
            font-size: 1.5rem;
            color: var(--white);
            margin-bottom: 6px
        }

        .upscale-desc {
            font-size: .875rem;
            color: var(--dim);
            line-height: 1.6;
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            transition: max-height .4s, opacity .4s
        }

        .upscale-item.active .upscale-desc {
            max-height: 100px;
            opacity: 1
        }

        /* Atmosphere */
        #architecture-wrapper {
            background: var(--bg2);
            border-top: 1px solid var(--border)
        }

        #architecture-pin {
            height: 100vh;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            position: relative
        }

        .arch-header {
            padding: 48px 48px 32px;
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            flex-shrink: 0
        }

        .arch-scroll-hint {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--dim);
            font-family: var(--font-mono);
            font-size: .65rem;
            letter-spacing: .1em;
            text-transform: uppercase
        }

        .arch-scroll-dot {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            animation: pls 2s ease infinite
        }

        @keyframes pls {

            0%,
            100% {
                opacity: .3
            }

            50% {
                opacity: 1
            }
        }

        #cards-track {
            display: flex;
            gap: 24px;
            padding: 0 0 24px max(48px, 8vw);
            width: max-content;
            flex: 1;
            align-items: stretch;
            overflow: hidden
        }

        .atmo-card {
            aspect-ratio: 1/1;
            height: 100%;
            flex-shrink: 0;
            border-radius: 28px;
            overflow: hidden;
            border: 1px solid var(--border);
            position: relative;
            cursor: pointer;
            transition: transform .4s, border-color .4s
        }

        .atmo-card:hover {
            transform: scale(1.02);
            border-color: var(--dimmer)
        }

        .atmo-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .6s ease
        }

        .atmo-card:hover img {
            transform: scale(1.06)
        }



        /* About */
        #about {
            background: var(--bg);
            padding: 140px 48px;
            border-top: 1px solid var(--border)
        }

        .about-inner {
            max-width: 1200px;
            margin: 0 auto
        }

        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            margin-top: 72px
        }

        .about-main p {
            font-size: 1.2rem;
            font-weight: 300;
            color: var(--dim);
            line-height: 1.8;
            margin-bottom: 24px
        }

        .about-main p strong {
            color: var(--white);
            font-weight: 500
        }

        .pillar {
            padding: 28px 0;
            border-top: 1px solid var(--border)
        }

        .pillar-heading {
            font-size: .9rem;
            font-weight: 600;
            color: var(--white);
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 10px
        }

        .pillar-heading::before {
            content: '';
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--accent);
            flex-shrink: 0
        }

        .pillar p {
            font-size: .875rem;
            color: var(--dim);
            line-height: 1.6
        }

        /* Footer -> assets/css/components.css (fonte unica) */

        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(24px)
            }

            to {
                opacity: 1;
                transform: translateY(0)
            }
        }

        @keyframes heroIn {
            from {
                opacity: 0;
                transform: translateY(28px);
                filter: blur(10px)
            }

            to {
                opacity: 1;
                transform: translateY(0);
                filter: blur(0)
            }
        }
