/* ════════════════════════════════════════════
   TOKENS — THOR MARCENARIA PREMIUM
════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Cores */
    --bg:        #0A0F0B;
    --bg2:       #111810;
    --bg3:       #181f19;
    --gold:      #C4A47C;
    --gold2:     #D4B48C;
    --gold-dim:  rgba(196,164,124,0.12);
    --gold-glow: rgba(196,164,124,0.06);
    --white:     #F5F2EE;
    --white-80:  rgba(245,242,238,0.80);
    --white-50:  rgba(245,242,238,0.50);
    --white-20:  rgba(245,242,238,0.20);
    --white-08:  rgba(245,242,238,0.06);
    --border:    rgba(245,242,238,0.08);

    /* Tipografia */
    --serif: 'Cormorant Garamond', serif;
    --sans:  'Inter', sans-serif;

    /* Espaços */
    --section: 13rem;
    --container: 1340px;

    /* Animação */
    --ease-luxury: cubic-bezier(0.76, 0, 0.24, 1);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ════════════════════════════════════════════
   RESET
════════════════════════════════════════════ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { 
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased; 
    scroll-behavior: auto !important; /* Lenis assume o controle */
}

body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--white);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
}

/* Noise Texture Overlay Removido a pedido do cliente */
body::after {
    display: none;
}
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 400; line-height: 1.05; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; width: 100%; }
em { font-style: italic; color: var(--gold); }
strong { font-weight: 600; }
button { border: none; background: none; cursor: none; font-family: inherit; color: inherit; }

.container { width: 92%; max-width: var(--container); margin: 0 auto; }

.section-label {
    display: block;
    font-family: var(--sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.section-header.center { text-align: center; max-width: 700px; margin: 0 auto 6rem; }
.section-header h2 { font-size: clamp(2.5rem, 4vw, 4rem); }
.text-right { text-align: right; }

/* Grain overlay - Reativado EXCLUSIVAMENTE para disfarçar o vídeo do Hero */
.s-hero .noise-overlay {
    display: block;
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.8; /* Um pouco mais forte pra ajudar com os artefatos do video */
    pointer-events: none;
    z-index: 10;
}

/* Grain overlay bloqueado no restante do site */
.noise-overlay {
    display: none;
}

/* ════════════════════════════════════════════
   PROGRESS BAR
════════════════════════════════════════════ */
#progress-bar {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--gold), var(--gold2));
    z-index: 99999;
    transition: width 0.1s linear;
}

/* ════════════════════════════════════════════
   CURSOR
════════════════════════════════════════════ */
@media (pointer: fine) {
    #cursor {
        position: fixed;
        top: 0; left: 0;
        width: 6px; height: 6px;
        background: var(--gold2);
        border-radius: 50%;
        pointer-events: none;
        z-index: 99998;
        transform: translate(-50%, -50%);
        will-change: transform;
        transition: opacity 0.3s;
    }

    #cursor-follower {
        position: fixed;
        top: 0; left: 0;
        width: 32px; height: 32px;
        border: 1px solid rgba(196,164,124,0.4);
        border-radius: 50%;
        pointer-events: none;
        z-index: 99997;
        transform: translate(-50%, -50%);
        will-change: transform;
        transition: width 0.4s var(--ease-luxury), height 0.4s var(--ease-luxury), border-color 0.3s, background 0.3s;
    }

    body.c-hover #cursor-follower {
        width: 52px; height: 52px;
        border-color: var(--gold);
        background: rgba(196,164,124,0.05);
    }
}

/* Ocultar cursor explicitamente em touch */
@media (pointer: coarse) {
    #cursor, #cursor-follower { display: none !important; }
}

/* ════════════════════════════════════════════
   PRELOADER
════════════════════════════════════════════ */
#loader {
    position: fixed; inset: 0;
    background: var(--bg2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader-inner { width: 140px; text-align: center; }

#loader-logo-wrapper { 
    width: 140px; 
    margin: 0 auto 2.5rem; 
    display: block; 
}

#loader-logo-img {
    width: 100%;
    opacity: 0;
    transform: scale(0.9);
    filter: drop-shadow(0px 0px 15px rgba(196,164,124,0.3));
    /* Se a imagem enviada tiver fundo sólido opaco branco/claro e logo escura: */
    /* mix-blend-mode: multiply; */
    
    /* Se a imagem for transparente mas tiver bordas acinzentadas, não precisamos do blend */
}

.loader-label {
    font-size: 0.6rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--white-50);
    margin-bottom: 1.5rem;
}

.loader-bar { width: 100%; height: 1px; background: var(--white-08); overflow: hidden; }
.loader-fill { width: 0%; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold2)); }

/* ════════════════════════════════════════════
   SMOOTH WRAPPER
════════════════════════════════════════════ */
#smooth-wrapper {
    position: fixed;
    inset: 0;
    overflow: hidden;
    visibility: hidden;
}

@media (max-width: 1024px) {
    #smooth-wrapper {
        position: relative;
        inset: auto;
        overflow: visible;
        height: auto;
    }
}
#smooth-content { will-change: transform; }

/* ════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════ */
#navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    padding: 1.75rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    transition: background 0.6s, padding 0.4s;
}

#navbar.scrolled {
    background: rgba(10, 15, 11, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 1.25rem 5%;
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    display: flex; align-items: center; gap: 0.65rem;
    font-family: var(--serif); font-size: 1.2rem;
    font-weight: 600; letter-spacing: 5px;
}

.nav-links {
    display: flex; gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white-50);
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.3s;
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 1.5rem; }

.nav-cta {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold-dim);
    padding: 0.6rem 1.5rem;
    border-radius: 1px;
    transition: background 0.3s, color 0.3s;
}

.nav-cta:hover { background: var(--gold); color: var(--bg); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}

.hamburger span {
    display: block;
    width: 24px; height: 1px;
    background: var(--white);
    transition: transform 0.4s var(--ease-luxury), opacity 0.3s;
}

.hamburger.open span:first-child { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:last-child  { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--bg2);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 8%;
    transform: translateX(100%);
    transition: transform 0.7s var(--ease-luxury);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu ul { list-style: none; }

.mobile-menu li { border-top: 1px solid var(--border); }
.mobile-menu li:last-child { border-bottom: 1px solid var(--border); }

.mob-link {
    display: block;
    font-family: var(--serif);
    font-size: 2.5rem;
    font-weight: 300;
    padding: 1.25rem 0;
    color: var(--white-80);
    transition: color 0.3s, padding 0.3s;
}
.mob-link:hover { color: var(--gold); padding-left: 1rem; }

.mob-wpp {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    padding: 1.5rem 0 0;
    margin-top: 1rem;
}

.mob-footer {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--white-50);
    letter-spacing: 2px;
}

/* ════════════════════════════════════════════
   WPP FLUTUANTE
════════════════════════════════════════════ */
#wpp-float {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    z-index: 9000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #25D366;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.9rem 1.5rem 0.9rem 1.25rem;
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(37,211,102,0.35);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
    animation: wppPulse 3s ease-in-out infinite;
}

#wpp-float:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(37,211,102,0.5);
}

@keyframes wppPulse {
    0%, 100% { box-shadow: 0 8px 32px rgba(37,211,102,0.35); }
    50%       { box-shadow: 0 8px 40px rgba(37,211,102,0.55); }
}

/* ════════════════════════════════════════════
   BOTÕES
════════════════════════════════════════════ */
@keyframes buttonShine {
    0% { left: -100%; opacity: 0; }
    20% { opacity: 1; }
    40%, 100% { left: 200%; opacity: 0; }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 1.1rem 2.5rem;
    background: var(--gold);
    color: var(--bg);
    border-radius: 1px;
    position: relative;
    overflow: hidden;
    transition: opacity 0.3s, transform 0.3s;
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg);
    animation: buttonShine 8s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

.btn-primary:hover  { opacity: 0.88; transform: translateY(-2px); }
.btn-primary:active { opacity: 1; transform: translateY(0) scale(0.97); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 1.1rem 2.5rem;
    border: 1px solid var(--white-20);
    color: var(--white-80);
    border-radius: 1px;
    transition: border-color 0.3s, color 0.3s;
}
.btn-ghost:hover  { border-color: var(--gold); color: var(--gold); }
.btn-ghost:active { transform: scale(0.97); opacity: 0.8; }

.btn-line {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 0.4rem;
    transition: letter-spacing 0.4s var(--ease-luxury), opacity 0.3s;
}
.btn-line:hover  { letter-spacing: 5px; opacity: 0.8; }
.btn-line:active { opacity: 0.5; }

.btn-wpp {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 1.3rem 3rem;
    background: var(--gold);
    color: var(--bg);
    border-radius: 1px;
    transition: opacity 0.3s, transform 0.3s;
}
.btn-wpp:hover  { opacity: 0.88; transform: translateY(-3px); }
.btn-wpp:active { transform: translateY(0) scale(0.97); opacity: 1; }

/* ════════════════════════════════════════════
   01 — HERO
════════════════════════════════════════════ */
.s-hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-rows: 1fr auto auto;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute; inset: -4%;
    background-size: cover;
    background-position: center;
    will-change: transform;
    filter: brightness(0.85);
}

.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(to right, rgba(10,15,11,0.96) 0%, rgba(10,15,11,0.7) 50%, rgba(10,15,11,0.3) 100%),
        linear-gradient(to top,   rgba(10,15,11,0.8)  0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 8%;
    padding-top: 8rem;
}

.eyebrow {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
    opacity: 0;
}

/* Line reveal */
.tl { display: block; overflow: hidden; }
.ti {
    display: block;
    transform: translateY(105%);
    will-change: transform;
}
.gold-italic { font-style: italic; color: var(--gold); }

.hero-title {
    font-size: clamp(4.5rem, 11vw, 9.5rem);
    font-weight: 300;
    letter-spacing: -2px;
    line-height: 0.88;
    margin-bottom: 2.5rem;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--white-50);
    line-height: 1.8;
    max-width: 440px;
    margin-bottom: 3.5rem;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    opacity: 0;
}

/* Stats */
.hero-stats {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 3rem 8%;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
    opacity: 0;
}

.stat { padding: 0 3rem 0 0; }
.stat strong {
    display: inline;
    font-family: var(--serif);
    font-size: 3rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
}
.stat > span {
    font-family: var(--serif);
    font-size: 2rem;
    color: var(--gold);
    opacity: 0.6;
}
.stat p {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white-50);
    margin-top: 0.5rem;
}
.stat-sep {
    width: 1px; height: 60px;
    background: var(--border);
    margin: 0 3rem;
    flex-shrink: 0;
}

/* Scroll hint */
.hero-scroll-hint {
    position: relative; z-index: 2;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 2rem 8% 4rem;
    font-size: 0.62rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--white-20);
    opacity: 0;
}

.scroll-mouse {
    width: 22px; height: 36px;
    border: 1px solid var(--white-20);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-dot {
    width: 4px; height: 8px;
    background: var(--gold);
    border-radius: 99px;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0%   { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* ════════════════════════════════════════════
   02 — SOBRE
════════════════════════════════════════════ */
.s-about {
    padding: var(--section) 0;
    background: var(--bg2);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

.about-media { position: relative; }

.about-img-frame {
    overflow: hidden;
    border-radius: 1px;
    position: relative;
}

.about-img-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(196,164,124,0.08) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.about-img-frame img {
    height: 620px;
    object-fit: cover;
    transition: transform 8s ease;
}
.about-img-frame:hover img { transform: scale(1.04); }

.about-card-float {
    position: absolute;
    bottom: -2rem; right: -2rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-top: 2px solid var(--gold);
    padding: 1.75rem 2rem;
    z-index: 2;
}

.float-icon {
    font-size: 0.7rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
    letter-spacing: 3px;
}

.about-card-float strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.about-card-float span {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white-50);
}

.about-text h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1rem;
    color: var(--white-50);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 2rem 0;
    padding: 2rem;
    border: 1px solid var(--border);
    background: var(--white-08);
}

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

.highlight span {
    color: var(--gold);
    font-size: 0.6rem;
}

.highlight p {
    font-size: 0.85rem;
    color: var(--white-80);
    margin: 0;
    line-height: 1;
}

/* ════════════════════════════════════════════
   03 — TECH (SPLIT LAYOUT)
════════════════════════════════════════════ */
.s-tech {
    background: var(--bg);
    position: relative;
    overflow: hidden;
    padding-top: var(--section);
}

.tech-split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    max-width: 1600px;
    margin: 0 auto;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-left: none;
    border-right: none;
}

/* Esquerda — Imagem */
.tech-split-img {
    position: relative;
    height: 100%;
    min-height: 700px;
    overflow: hidden;
}

.tech-split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: transform 10s ease;
}

.tech-split-img:hover img {
    transform: scale(1.04);
}

.tech-split-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 50%, var(--bg3) 100%);
}

.tech-split-badge {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    background: rgba(10, 15, 11, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--gold-dim);
    border-left: 2px solid var(--gold);
    padding: 1.5rem;
    z-index: 2;
}

.tsb-label {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white-50);
}

.tsb-val {
    display: block;
    font-family: var(--serif);
    font-size: 2.2rem;
    line-height: 1;
    color: var(--gold);
    margin: 0.2rem 0;
}

.tsb-sub {
    font-size: 0.75rem;
    color: var(--white-80);
}

/* Direita — Conteúdo */
.tech-split-content {
    padding: 6rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tech-split-content h2 {
    font-size: clamp(2.5rem, 3.5vw, 3.8rem);
    font-weight: 300;
    margin-bottom: 4rem;
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.tech-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.ti-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white-08);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--gold);
    flex-shrink: 0;
    transition: background 0.3s, border-color 0.3s;
}

.tech-item:hover .ti-icon {
    background: var(--gold-dim);
    border-color: var(--gold);
}

.ti-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.ti-num {
    font-family: var(--sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--gold);
}

.ti-head h4 {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--white);
    margin: 0;
}

.ti-body p {
    font-size: 0.9rem;
    color: var(--white-50);
    line-height: 1.6;
}

/* ════════════════════════════════════════════
   04 — QUOTE
════════════════════════════════════════════ */
.s-quote {
    padding: var(--section) 0;
    background: var(--bg2);
    position: relative;
    overflow: hidden;
}

.s-quote::before {
    content: '"';
    position: absolute;
    top: -4rem; left: 5%;
    font-family: var(--serif);
    font-size: 30rem;
    color: var(--gold);
    opacity: 0.03;
    line-height: 1;
    pointer-events: none;
}

blockquote {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 3vw, 2.8rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.45;
    color: var(--white-80);
    max-width: 860px;
    border-left: 2px solid var(--gold);
    padding-left: 3.5rem;
    position: relative;
    z-index: 2;
}

.quote-mark { color: var(--gold); opacity: 0.4; margin: 0 0.3rem; }

/* ════════════════════════════════════════════
   05 — PORTFÓLIO HORIZONTAL
════════════════════════════════════════════ */
.s-portfolio { background: var(--bg); }

.portfolio-sticky-wrap { overflow: hidden; }

.horizontal-section {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.horizontal-track {
    display: flex;
    height: 100%;
    will-change: transform;
}

/* Indicador de progresso */
.port-progress {
    position: absolute;
    bottom: 3rem; left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-family: var(--sans);
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--white-50);
}

#portCurrent { color: var(--gold); font-weight: 600; }

.port-prog-track {
    width: 120px; height: 1px;
    background: var(--white-20);
    position: relative;
    overflow: hidden;
}

.port-prog-fill {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    background: var(--gold);
    transition: width 0.5s var(--ease-luxury);
    width: 0%;
}

.h-panel {
    min-width: 100vw;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 5vw;
}

/* Painel intro */
.intro-panel {
    background: var(--bg3);
    justify-content: flex-start;
    align-items: flex-end;
    padding: 8vw;
}

.intro-content { max-width: 600px; }

.intro-content h2 {
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    font-weight: 300;
    line-height: 0.9;
    margin: 1rem 0 1.5rem;
}

.intro-content p {
    font-size: 0.95rem;
    color: var(--white-50);
    margin-bottom: 3rem;
}

.port-arrow-hint { display: flex; align-items: center; gap: 1rem; color: var(--white-50); font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase; }
.port-arrow { font-size: 1.5rem; color: var(--gold); animation: bounceX 1.8s ease-in-out infinite; }

@keyframes bounceX {
    0%, 100% { transform: translateX(0); }
    50%       { transform: translateX(14px); }
}

/* Cards */
.pcard {
    width: 68vw;
    height: 78vh;
    position: relative;
    overflow: hidden;
    border-radius: 1px;
}

.pcard img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease-luxury);
}

.pcard:hover img { transform: scale(1.05); }

.pcard-info {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3.5rem;
    background: linear-gradient(to top, rgba(10,15,11,0.95) 0%, rgba(10,15,11,0.3) 55%, transparent 100%);
    opacity: 1;
    transition: all 0.5s var(--ease-luxury);
}

.pcard-num {
    display: block;
    font-size: 0.62rem;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.pcard-info h3 {
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.pcard-info p {
    font-size: 0.9rem;
    color: var(--white-50);
    margin-bottom: 1.5rem;
}

.pcard-cta {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    border-bottom: 1px solid var(--gold-dim);
    padding-bottom: 0.3rem;
    width: fit-content;
    transition: border-color 0.3s, letter-spacing 0.4s;
    transform: translateY(8px);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s, border-color 0.3s, letter-spacing 0.4s;
}

.pcard:hover .pcard-cta {
    transform: translateY(0);
    opacity: 1;
}

.pcard-cta:hover { border-color: var(--gold); letter-spacing: 5px; }

/* ════════════════════════════════════════════
   06 — PROCESSO
════════════════════════════════════════════ */
.s-process {
    padding: var(--section) 0;
    background: var(--bg);
}

.proc-header { margin-bottom: 6rem; }
.proc-header h2 {
    font-size: clamp(2.5rem, 4.5vw, 4.5rem);
    font-weight: 300;
    margin-top: 1rem;
}

.proc-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.proc-step {
    padding: 0 3rem 0 0;
    position: relative;
}

.ps-num {
    font-family: var(--serif);
    font-size: 5rem;
    font-weight: 300;
    color: var(--gold);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 1rem;
}

.ps-line {
    width: 100%; height: 1px;
    background: var(--border);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.ps-line::after {
    content: '';
    position: absolute;
    left: 0; top: 0;
    height: 100%; width: 0%;
    background: var(--gold);
    transition: width 1.2s var(--ease-luxury);
}

.proc-step.in-view .ps-line::after { width: 100%; }
.last-line { display: none; }

.ps-body h4 {
    font-family: var(--serif);
    font-size: 1.4rem; font-weight: 400;
    margin-bottom: 1rem;
}

.ps-body p { font-size: 0.88rem; color: var(--white-50); line-height: 1.7; }

/* ════════════════════════════════════════════
   MID CTA
════════════════════════════════════════════ */
.mid-cta {
    padding: 5rem 0;
    background: var(--bg3);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.mid-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.mid-cta p {
    font-family: var(--serif);
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    font-weight: 300;
    color: var(--white-80);
}

/* ════════════════════════════════════════════
   07 — DEPOIMENTOS
════════════════════════════════════════════ */
.s-proof {
    padding: var(--section) 0;
    background: var(--bg2);
    position: relative;
    overflow: hidden;
}

.s-proof h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 300;
    margin-bottom: 5rem;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
}

.tcard {
    padding: 3.5rem;
    background: var(--bg3);
    border-top: 2px solid transparent;
    transition: border-color 0.4s, background 0.4s;
}

.tcard:hover {
    border-color: var(--gold);
    background: rgba(196,164,124,0.04);
}

.tcard-stars {
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.tcard p {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--white-80);
    margin-bottom: 2.5rem;
}

.tcard-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tcard-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--gold-dim);
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 1.1rem;
    color: var(--gold);
    flex-shrink: 0;
}

.tcard-author strong { display: block; font-size: 0.85rem; }
.tcard-author span { font-size: 0.72rem; color: var(--white-50); letter-spacing: 1px; }

/* ════════════════════════════════════════════
   08 — SHOWROOM
════════════════════════════════════════════ */
.s-showroom {
    padding: var(--section) 0;
    background: var(--bg);
}

.show-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

.show-img {
    overflow: hidden;
    border-radius: 1px;
    position: relative;
}

.show-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(196,164,124,0.06), transparent);
    z-index: 1;
    pointer-events: none;
}

.show-img img { height: 620px; object-fit: cover; }

.show-text h2 {
    font-size: clamp(2.5rem, 3.5vw, 3.8rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.show-text > p {
    color: var(--white-50);
    line-height: 1.9;
    margin-bottom: 3rem;
}

.show-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 2.5rem;
    border: 1px solid var(--border);
    background: var(--white-08);
}

.info-row {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.info-icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }

.info-row strong {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.35rem;
}

.info-row p { font-size: 0.9rem; color: var(--white-50); line-height: 1.6; }
.info-row a { color: var(--white-80); transition: color 0.3s; }
.info-row a:hover { color: var(--gold); }

/* ════════════════════════════════════════════
   09 — FAQ
════════════════════════════════════════════ */
.s-faq {
    padding: var(--section) 0;
    background: var(--bg2);
}

.s-faq h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 300;
    margin-bottom: 5rem;
}

.faq-list { display: flex; flex-direction: column; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    text-align: left;
    cursor: none;
    gap: 2rem;
}

.faq-q span:first-child {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--white-80);
    transition: color 0.3s;
}

.faq-q:hover span:first-child { color: var(--gold); }

.faq-icon {
    font-family: var(--sans);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--gold);
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    transition: transform 0.4s var(--ease-luxury);
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-luxury), padding 0.4s;
}

.faq-a p {
    padding-bottom: 2rem;
    font-size: 0.95rem;
    color: var(--white-50);
    line-height: 1.8;
    max-width: 680px;
}

.faq-item.open .faq-a { max-height: 200px; }

/* ════════════════════════════════════════════
   10 — FOOTER / CTA
════════════════════════════════════════════ */
.s-footer {
    padding: 12rem 0 5rem;
    background: var(--bg3);
    position: relative;
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 400px;
    background: radial-gradient(ellipse, rgba(196,164,124,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.footer-cta {
    text-align: center;
    margin-bottom: 10rem;
    position: relative;
    z-index: 2;
}

.footer-cta h2 {
    font-size: clamp(3rem, 7vw, 7rem);
    font-weight: 300;
    line-height: 1.05;
    margin-bottom: 4rem;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 3rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--serif);
    font-size: 0.9rem;
    letter-spacing: 5px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.72rem;
    letter-spacing: 2px;
    color: var(--white-50);
    text-transform: uppercase;
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }

.footer-copy {
    font-size: 0.72rem;
    color: var(--white-20);
    letter-spacing: 1px;
}

/* ════════════════════════════════════════════
   REVEAL ANIMATIONS
════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Delays em cascata */
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .tech-split { grid-template-columns: 1fr; }
    .tech-split-img { min-height: 500px; }
    .tech-split-img-overlay { background: linear-gradient(to top, var(--bg3) 0%, transparent 100%); }
    .tech-split-content { padding: 5rem 4%; }
    .testimonials { grid-template-columns: 1fr; gap: 1px; }
    .proc-steps { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 1024px) {
    .s-hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; }
    .hero-content { padding-top: 8rem; flex: 1; display: flex; flex-direction: column; justify-content: center; }
    .hero-title { font-size: clamp(3.0rem, 8vw, 6rem); }
    .hero-actions { flex-direction: column; width: 100%; max-width: 320px; }
    .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
    
    /* Reset Portfólio Mobile */
    .portfolio-sticky-wrap { height: auto !important; overflow: visible !important; }
    .horizontal-section { height: auto !important; overflow: visible !important; }
    .horizontal-track { 
        display: flex !important;
        flex-direction: column !important; 
        transform: none !important; 
        height: auto !important; 
        width: 100% !important;
    }
    .h-panel { 
        min-width: 100% !important; 
        width: 100% !important;
        height: auto !important; 
        padding: 2.5rem 5% !important; 
    }
    .pcard { width: 100%; height: 500px; }
    .port-progress { display: none !important; }
    :root { --section: 6rem; }
}

@media (max-width: 768px) {
    :root { --section: 5rem; }
    .hero-title { font-size: 3.2rem; margin-bottom: 2rem; }
    .hero-sub { font-size: 0.95rem; }
    .about-grid, .show-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-img-frame img, .show-img img { height: 350px; }
    .about-card-float { position: relative; bottom: 0; right: 0; margin-top: -3rem; margin-left: 2rem; max-width: 90%; }
    .tech-split-content { padding: 4rem 5%; }
    .tech-split-badge { bottom: 1.5rem; left: 1.5rem; padding: 1rem; }
    .proc-steps { grid-template-columns: 1fr; }
    .last-line { display: block; }
    .mid-cta .container { flex-direction: column; text-align: center; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .nav-cta { display: none; }
    .hero-stats { flex-wrap: wrap; padding: 2rem 5%; gap: 2rem; }
    .stat-sep { display: none; }
    .stat { padding: 0; width: 40%; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .footer-links { flex-wrap: wrap; gap: 1rem; }
    blockquote { font-size: 2rem; padding-left: 1.5rem; }
    .footer-cta h2 { font-size: 3rem; }
    
    #wpp-float { bottom: 1.5rem; right: 1.5rem; padding: 0.8rem 1.2rem; font-size: 0.7rem; }
    #wpp-float span { display: none; } /* Só ícone no mobile */

    .footer-logo-wrap { flex-wrap: wrap; gap: 1.5rem; }
    .footer-logo-wrap img { height: 110px !important; transform: scale(1.4); }
    .footer-logo-wrap > div[style*='width: 1px'] { display: none; }
}


/* ════════════════════════════════════════════
   MODAL / LIGHTBOX GALLERY
════════════════════════════════════════════ */
/* ════════════════════════════════════════════
   MODAL / LIGHTBOX GALLERY
════════════════════════════════════════════ */
#portfolio-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(10, 15, 11, 0.98);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    backdrop-filter: blur(10px);
}

#portfolio-modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    border-bottom: 1px solid rgba(196,164,124, 0.15);
    background: var(--bg);
}

.modal-title-wrap h2 {
    font-size: 2rem;
    font-weight: 300;
}

.modal-title-wrap p {
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.modal-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.m-filter {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--white-50);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-family: var(--sans);
    font-size: 0.8rem;
    cursor: none;
    transition: all 0.3s ease;
}

.m-filter:hover, .m-filter.active {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(196,164,124,0.05);
}

.modal-close {
    font-size: 1.5rem;
    color: var(--white-50);
    background: transparent;
    border: none;
    cursor: none;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--gold);
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 3rem 5%;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) rgba(255,255,255,0.05);
}

.modal-masonry-grid {
    column-count: 3;
    column-gap: 1.5rem;
}

@media (max-width: 1024px) {
    .modal-masonry-grid { column-count: 2; }
    .modal-header { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
    .modal-close { position: absolute; top: 2rem; right: 5%; }
}

@media (max-width: 600px) {
    .modal-masonry-grid { column-count: 1; }
}

.m-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    opacity: 1;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.m-item.hidden {
    display: none;
}

.m-item img {
    width: 100%;
    display: block;
    height: auto;
    border-radius: 2px;
    transition: transform 0.8s ease;
}

.m-item:hover img {
    transform: scale(1.05);
}

/* ════════════════════════════════════════════
   AWWWARDS UI EVOLUTION
════════════════════════════════════════════ */

/* Parallax Sweep Reveal on Images */
.reveal-img {
    overflow: hidden;
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
}
.reveal-img img {
    transform: scale(1.3);
}

/* SplitText Animations (Vanilla Logic) */
.split-line {
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
}
.split-inner {
    display: inline-block;
    transform: translateY(110%);
}

/* Marquee / Ticker */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 3.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: transparent;
    display: flex;
    white-space: nowrap;
    position: relative;
    z-index: 10;
}
.marquee-content {
    display: flex;
    /* Animação CSS contínua. GSAP pode ajustar a velocidade via scrub */
}
.marquee-content span {
    font-family: var(--serif);
    font-size: clamp(3rem, 6vw, 6.5rem);
    font-weight: 300;
    color: transparent;
    -webkit-text-stroke: 1px var(--white-20);
    margin-right: 3rem;
    white-space: nowrap;
    display: block;
    letter-spacing: 2px;
}

/* \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550
   ACESSIBILIDADE \u2014 REDUCED MOTION
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 */
@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;
    }
    .reveal,
    .ti,
    .eyebrow,
    .hero-sub,
    .hero-actions,
    .hero-stats {
        opacity: 1 !important;
        transform: none !important;
    }
    .reveal-img {
        clip-path: none !important;
    }
    .reveal-img img {
        transform: none !important;
    }
    .marquee-content {
        animation: none !important;
        transform: none !important;
    }
}

/* ════════════════════════════════════════════
   WHATSAPP FLOAT
════════════════════════════════════════════ */
#wpp-float {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--bg2);
    border: 1px solid var(--gold-dim);
    border-radius: 50px;
    padding: 0.5rem;
    color: var(--gold);
    z-index: 9999;
    opacity: 0; transform: translateY(20px);
    transition: background 0.5s, border-color 0.5s, gap 0.5s var(--ease-luxury), padding 0.5s var(--ease-luxury);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.wpp-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-dim);
    border-radius: 50%;
    transition: all 0.5s var(--ease-luxury);
}

.wpp-text {
    max-width: 0;
    white-space: nowrap;
    overflow: hidden;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.5s var(--ease-luxury);
    opacity: 0;
}

#wpp-float:hover {
    gap: 1rem;
    padding: 0.5rem 1.8rem 0.5rem 0.6rem;
    border-color: var(--gold);
    background: var(--bg3);
}

#wpp-float:hover .wpp-text {
    max-width: 200px;
    opacity: 1;
}

#wpp-float:hover .wpp-icon {
    background: var(--gold);
    color: var(--bg);
}

@media (max-width: 768px) {
    #wpp-float {
        bottom: 1.5rem;
        right: 1.5rem;
    }
    #wpp-float:hover {
        padding: 0.5rem;
        gap: 0;
    }
    #wpp-float:hover .wpp-text { max-width: 0; opacity: 0; }
}
