/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    --bg-base: #020202;
    --card-glass: rgba(255, 255, 255, 0.015);
    --card-border: rgba(255, 255, 255, 0.05);
    --text-main: #f8f8f8;
    --text-muted: #737373;
    --accent-glow: #ffffff;
    
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; background-color: var(--bg-base); }
body { 
    background-color: var(--bg-base); color: var(--text-main); 
    font-family: var(--font-sans); -webkit-font-smoothing: antialiased; 
    overflow-x: hidden; position: relative;
    cursor: none;
}
a, button { cursor: none; }
body.is-loading { overflow: hidden; height: 100vh; }

/* Custom Cursor */
.custom-cursor {
    position: fixed; top: 0; left: 0; width: 14px; height: 14px; background: #fff; border-radius: 50%;
    pointer-events: none; z-index: 99999; transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s, margin 0.3s, border 0.3s;
    will-change: transform, width, height;
}
.custom-cursor.cursor-hover {
    width: 60px; height: 60px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.3);
}

.container { max-width: 1560px; margin: 0 auto; padding: 0 4vw; }

.overflow-hidden { overflow: hidden; display: block; }
.reveal-up { display: inline-block; }

/* ==========================================================================
   AMBIENT GLOW & GRID 
   ========================================================================== */
.ambient-glow { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; background: #000; }
.glow-orb { position: absolute; border-radius: 50%; opacity: 0.4; animation: floatOrb 20s infinite ease-in-out alternate; will-change: transform; }
.orb-1 { width: 50vw; height: 50vw; background: radial-gradient(circle, rgba(80,80,80,0.5) 0%, transparent 70%); top: -10%; left: -10%; }
.orb-2 { width: 40vw; height: 40vw; background: radial-gradient(circle, rgba(40,40,40,0.4) 0%, transparent 70%); bottom: -10%; right: -5%; animation-delay: -5s; }

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10vw, 10vh) scale(1.1); }
}

.grid-background {
    position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.15;
    background-image: linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.awwwards-preloader {
    position: fixed; inset: 0; background: #000; z-index: 10000; 
    display: flex; align-items: center; justify-content: center; padding: 4vw;
}
.preloader-inner { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 20px; }
.preloader-content { display: flex; justify-content: space-between; font-weight: 700; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; }
.preloader-progress-wrap { width: 100%; height: 2px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden;}
.preloader-progress { height: 100%; width: 0%; background: #fff; }

/* ==========================================================================
   NAVEGAÇÃO
   ========================================================================== */
.pill-nav-cluster {
    position: fixed; top: 24px; left: 50%; transform: translateX(-50%);
    width: 96%; max-width: 1600px; display: grid; grid-template-columns: 1fr auto 1fr;
    align-items: center; z-index: 999; pointer-events: none;
}
.pill-group-left, .pill-group-center, .pill-group-right { pointer-events: auto; }
.pill-group-left { display: flex; justify-content: flex-start; }
.pill-group-center { display: flex; justify-content: center; }
.pill-group-right { display: flex; justify-content: flex-end; }

.logo-text { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; color: #fff; text-decoration: none; }

.menu-trigger {
    background: var(--card-glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border); padding: 10px 20px; border-radius: 100px;
    display: flex; align-items: center; gap: 12px; color: #fff; transition: all 0.4s var(--ease-out);
}
.menu-trigger:hover { background: rgba(255,255,255,0.15); transform: scale(1.05); border-color: rgba(255,255,255,0.2); }
.hamburger { width: 24px; height: 10px; position: relative; display: flex; flex-direction: column; justify-content: space-between; }
.hamburger span { display: block; width: 100%; height: 1.5px; background: #fff; transition: 0.4s var(--ease-in-out); transform-origin: center; }
.menu-text { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

.menu-trigger.active .hamburger span:nth-child(1) { transform: translateY(4.2px) rotate(45deg); }
.menu-trigger.active .hamburger span:nth-child(2) { transform: translateY(-4.2px) rotate(-45deg); }

.pill-btn {
    background: #fff; color: #000; border-radius: 100px; padding: 12px 28px;
    font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; display: inline-block;
    transition: transform 0.4s var(--ease-out), background 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
.pill-btn:hover {
    transform: scale(1.05); background: var(--accent-glow); color: #fff;
}

/* ==========================================================================
   MENU FULLSCREEN
   ========================================================================== */
.glass-menu-overlay {
    position: fixed; inset: 0; background: rgba(5, 5, 5, 0.6); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
    z-index: 998; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.6s var(--ease-in-out);
}
.glass-menu-overlay.is-open { opacity: 1; pointer-events: auto; }

.menu-canvas { text-align: center; display: flex; flex-direction: column; gap: 6vh; }
.menu-links { display: flex; flex-direction: column; gap: 2vh; }
.menu-link {
    font-size: clamp(3rem, 6vw, 6rem); font-weight: 500; color: #fff; text-decoration: none;
    letter-spacing: -0.04em; display: block; transform: translateY(100%); transition: transform 0.8s var(--ease-in-out);
}
.glass-menu-overlay.is-open .menu-link { transform: translateY(0); }
.menu-link:hover { color: var(--text-muted); font-style: italic; font-family: var(--font-serif); }
.menu-meta { color: var(--text-muted); font-size: 0.9rem; letter-spacing: 0.05em; transform: translateY(20px); opacity: 0; transition: 0.6s 0.4s; }
.glass-menu-overlay.is-open .menu-meta { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   HERO 100DVH (ENCAIXE PERFEITO)
   ========================================================================== */
.hero-dvh-wrapper {
    width: 100vw; height: 100dvh; min-height: 700px;
    padding: 90px 2vw 2vw 2vw; display: flex; align-items: center; justify-content: center;
}

.glass-master-card {
    background: var(--card-glass); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--card-border); border-radius: 40px; width: 100%; height: 100%;
    padding: 4vw; overflow: hidden; position: relative; box-shadow: 0 30px 80px rgba(0,0,0,0.4), inset 0 0 40px rgba(255,255,255,0.02);
}

.card-internal-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; grid-template-rows: 1fr auto; height: 100%; width: 100%; gap: 40px; }

.hero-header-meta { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: center; }
.hero-footer-meta { grid-column: 1; grid-row: 2; max-width: 700px; display: flex; flex-direction: column; gap: 28px; }

.pre-title { font-size: 0.75rem; letter-spacing: 0.2em; font-weight: 700; color: var(--text-muted); margin-bottom: 24px; text-transform: uppercase; }
.main-title { font-size: clamp(2.5rem, 5vw, 6.5rem); font-weight: 400; line-height: 0.95; letter-spacing: -0.04em; color: var(--text-main); }
.serif-italic { font-family: var(--font-serif); font-style: italic; color: #d4d4d4; }
.description { font-size: 1.15rem; line-height: 1.6; color: var(--text-muted); }

.badge-row { display: flex; gap: 12px; flex-wrap: wrap; }
.tech-badge { background: rgba(255,255,255,0.05); border: 1px solid var(--card-border); border-radius: 100px; padding: 8px 20px; font-size: 0.65rem; font-weight: 700; color: #fff; letter-spacing: 0.08em; }

.hero-video-anchor { grid-column: 2; grid-row: span 2; display: flex; align-items: flex-start; justify-content: flex-end; height: 100%; padding-top: 0; }
.video-bento-box { width: 100%; max-width: 420px; height: 100%; max-height: 85vh; border-radius: 32px; overflow: hidden; position: relative; border: 1px solid rgba(255,255,255,0.1); }
.video-bento-box video { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: brightness(0.85); transition: filter 0.5s; }
.video-bento-box:hover video { filter: brightness(1); }

.video-controls-overlay { position: absolute; bottom: 24px; left: 24px; right: 24px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.glass-pill, .glass-circle-btn { pointer-events: auto; background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.15); color: #fff; }
.glass-pill { padding: 10px 20px; border-radius: 100px; display: flex; align-items: center; gap: 10px; }
.pulse-dot { width: 6px; height: 6px; background: var(--accent-glow); border-radius: 50%; box-shadow: 0 0 10px var(--accent-glow); animation: pulse 2s infinite; }
.status-text { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; }
.glass-circle-btn { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 0.4s; }
.glass-circle-btn:hover { background: rgba(255,255,255,0.9); color: #000; transform: scale(1.05); }

@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }

/* SCROLL DOWN INDICATOR */
.scroll-down-indicator { grid-column: 1 / -1; display: flex; justify-content: center; align-items: flex-end; margin-top: -30px; }
.scroll-down-indicator a { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--text-muted); text-decoration: none; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em; opacity: 0.7; transition: opacity 0.4s, color 0.4s; }
.scroll-down-indicator a:hover { opacity: 1; color: var(--text-main); }
.scroll-line-wrapper { width: 1px; height: 40px; background: rgba(255,255,255,0.1); overflow: hidden; position: relative; }
.scroll-line { width: 100%; height: 50%; background: var(--text-main); position: absolute; top: -50%; left: 0; animation: scrollLine 2s cubic-bezier(0.76, 0, 0.24, 1) infinite; }
@keyframes scrollLine { 0% { top: -50%; } 100% { top: 150%; } }

/* ==========================================================================
   SCROLL SECTIONS (VISÃO & SISTEMAS)
   ========================================================================== */
.page-content-flow { position: relative; z-index: 10; padding-top: 10vh; }
.scrollytelling-section { padding: 15vh 0; display: flex; align-items: center; min-height: 80vh; }
.section-label { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 3vh; display: block; }
.massive-text { font-size: clamp(2rem, 4.5vw, 4.8rem); font-weight: 400; line-height: 1.1; letter-spacing: -0.03em; color: var(--text-main); max-width: 1300px; }
.massive-text span { font-style: italic; font-family: var(--font-serif); color: var(--text-muted); }

/* MARQUEE SECTION */
.marquee-section { padding: 4vh 0; border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); overflow: hidden; display: flex; white-space: nowrap; background: rgba(255,255,255,0.02); margin-bottom: 5vh; }
.marquee-inner { display: inline-flex; animation: marquee 25s linear infinite; transition: all 0.5s ease; }
.marquee-text { font-size: clamp(2.5rem, 5vw, 4rem); font-family: var(--font-sans); font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.3); margin-right: 40px; display: inline-block; transition: all 0.4s ease; }
.marquee-section:hover .marquee-text { -webkit-text-stroke: 1px var(--text-main); color: var(--text-main); }
@keyframes marquee { 0% { transform: translateX(0%); } 100% { transform: translateX(-50%); } }

.bento-solutions-section { padding: 10vh 0 20vh; }
.section-header { margin-bottom: 60px; }
.section-title { font-size: 3rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }

.premium-bento-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.bento-node { border-radius: 28px; padding: 48px; display: flex; flex-direction: column; justify-content: flex-start; min-height: 320px; }
.glass-panel { background: rgba(255,255,255,0.02); border: 1px solid var(--card-border); }
.node-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.node-num { font-family: monospace; font-size: 0.9rem; color: var(--text-muted); }
.glass-tag { background: rgba(255,255,255,0.05); padding: 6px 14px; border-radius: 100px; font-size: 0.7rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.08em; }
.node-content { display: flex; flex-direction: column; flex-grow: 1; justify-content: flex-start; }
.node-content h3 { font-size: 2rem; font-weight: 600; margin-bottom: 20px; margin-top: 0; letter-spacing: -0.02em; }
.node-content p { color: var(--text-muted); font-size: 1rem; line-height: 1.6; }
.node-content ul { list-style: none; padding-left: 0; margin-top: 0; display: flex; flex-direction: column; gap: 10px; }
.node-content ul li { position: relative; padding-left: 16px; font-size: 1rem; line-height: 1.6; color: var(--text-muted); }
.node-content ul li span.bullet { position: absolute; left: 0; }

.featured-node { background: #fff; color: #000; }
.featured-node .node-tag { background: rgba(0,0,0,0.05); color: #000; font-size: 0.7rem; font-weight: 700; padding: 6px 14px; border-radius: 100px;}
.featured-node .node-content p { color: #444; }

/* ==========================================================================
   METRICS SECTION
   ========================================================================== */
.metrics-section { padding: 10vh 0; }
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); padding: 8vh 0; }
.metric-item { display: flex; flex-direction: column; gap: 16px; border-left: 1px solid var(--card-border); padding-left: 32px; }
.metric-num { font-size: clamp(3rem, 5vw, 5.5rem); font-weight: 300; font-family: var(--font-sans); letter-spacing: -0.05em; line-height: 1; }
.metric-num .accent { color: var(--accent-glow); font-weight: 700; font-style: italic; font-family: var(--font-serif); }
.metric-desc { font-size: 1.05rem; color: var(--text-muted); line-height: 1.6; max-width: 280px; }

/* ==========================================================================
   HORIZONTAL SHOWCASE
   ========================================================================== */
.horizontal-showcase { height: 100vh; display: flex; align-items: center; overflow: hidden; background: #000; padding: 0; }
.showcase-viewport-center { width: 100vw; display: flex; flex-direction: column; justify-content: center; }
.horizontal-scroll-wrapper { width: 100vw; overflow: hidden; margin-top: 4vh; }
.horizontal-scroll-container { display: flex; width: max-content; padding: 0 4vw; gap: 40px; }
.showcase-item { width: 600px; display: flex; flex-direction: column; gap: 24px; }
.showcase-img-wrap { width: 100%; height: 45vh; min-height: 300px; border-radius: 24px; overflow: hidden; }
.placeholder-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; position: relative; }
.watermark { font-family: var(--font-serif); font-style: italic; font-size: 2.5rem; opacity: 0.1; font-weight: 700; letter-spacing: 0.1em; }
.showcase-meta h3 { font-size: 1.8rem; font-weight: 500; margin-bottom: 8px; letter-spacing: -0.02em; }
.showcase-meta p { color: var(--text-muted); font-size: 1rem; }

/* ==========================================================================
   PROCESS SECTION
   ========================================================================== */
.process-section { padding: 15vh 0; }
.text-center { text-align: center; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 80px; }
.process-card { padding: 48px; border-radius: 32px; background: rgba(255,255,255,0.02); border: 1px solid var(--card-border); display: flex; flex-direction: column; gap: 20px; transition: transform 0.4s, background 0.4s; }
.process-card:hover { transform: translateY(-10px); background: rgba(255,255,255,0.04); }
.process-num { font-family: var(--font-serif); font-style: italic; font-size: 2rem; color: var(--accent-glow); font-weight: 700; }
.process-card h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.process-card p { color: var(--text-muted); line-height: 1.6; }

/* ==========================================================================
   PARALLAX DIVIDER
   ========================================================================== */
.parallax-divider { position: relative; height: 60vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.parallax-bg { position: absolute; inset: -20%; background: linear-gradient(45deg, #0a0101, #000); opacity: 0.8; z-index: 0; }
.parallax-content { position: relative; z-index: 1; text-align: center; width: 100%; }
.parallax-massive-text { font-size: clamp(3.5rem, 8vw, 12rem); font-weight: 800; font-family: var(--font-sans); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.1); letter-spacing: -0.02em; text-transform: uppercase; white-space: nowrap; }

/* ==========================================================================
   ACCORDION SECTION
   ========================================================================== */
.accordion-section { padding: 15vh 0; }
.accordion-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; }
.accordion-item { border-bottom: 1px solid var(--card-border); padding: 32px 0; }
.accordion-trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: none; color: #fff; font-size: 1.6rem; font-family: var(--font-sans); font-weight: 500; cursor: pointer; text-align: left; }
.icon-plus { width: 24px; height: 24px; position: relative; }
.icon-plus::before, .icon-plus::after { content: ''; position: absolute; background: #fff; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: transform 0.4s var(--ease-out); }
.icon-plus::before { width: 100%; height: 2px; }
.icon-plus::after { width: 2px; height: 100%; }
.accordion-item.is-active .icon-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion-content { overflow: hidden; height: 0; opacity: 0; transition: height 0.4s var(--ease-out), opacity 0.4s var(--ease-out); }
.accordion-content p { padding-top: 24px; color: var(--text-muted); line-height: 1.6; font-size: 1.1rem; }

/* ==========================================================================
   CONTACT FORM SECTION
   ========================================================================== */
.contact-section { padding: 10vh 0 20vh; }
.glass-contact-wrapper {
    background: var(--card-glass); backdrop-filter: blur(24px); border: 1px solid var(--card-border);
    border-radius: 40px; padding: 6vw;
}
.contact-split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; }

.contact-text-side h2 { font-size: clamp(2.5rem, 4vw, 4.5rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 32px; }
.contact-text-side p { font-size: 1.15rem; color: var(--text-muted); line-height: 1.6; max-width: 460px; }

.premium-interactive-form { display: flex; flex-direction: column; gap: 56px; }
.input-group { position: relative; }
.input-group input, .input-group textarea {
    width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 14px 0; font-size: 1.2rem; color: #fff; font-family: var(--font-sans); outline: none; transition: border-color 0.4s ease;
}
.input-group input:focus, .input-group textarea:focus { border-bottom-color: #fff; }
.input-group label {
    position: absolute; left: 0; top: 14px; font-size: 1.1rem; color: var(--text-muted); pointer-events: none; transition: all 0.4s var(--ease-out);
}
.input-group input:focus ~ label, .input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label, .input-group textarea:not(:placeholder-shown) ~ label {
    top: -20px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: #fff;
}

.submit-action-btn {
    align-self: flex-start; background: #fff; color: #000; padding: 18px 44px; border-radius: 100px;
    font-weight: 700; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 16px; border: none;
    transition: transform 0.4s var(--ease-out), background 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
.submit-action-btn:hover {
    transform: scale(1.05); background: var(--accent-glow); color: #fff;
}

/* ==========================================================================
   FOOTER MASSIVO
   ========================================================================== */
.editorial-footer {
    background: #000; border-top: 1px solid var(--card-border);
    position: relative; overflow: hidden; padding: 16vh 0 4vh 0; border-top-left-radius: 44px; border-top-right-radius: 44px;
}
.footer-art-bg {
    position: absolute; bottom: -3vw; left: 50%; transform: translateX(-50%);
    font-size: 24vw; font-weight: 800; color: rgba(255, 255, 255, 0.02);
    user-select: none; pointer-events: none; letter-spacing: -0.05em; line-height: 1; white-space: nowrap;
}
.footer-main-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 6vw; margin-bottom: 10vh; position: relative; z-index: 2; }

.footer-logo { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; display: block; margin-bottom: 24px; color: #fff; }
.footer-desc { color: var(--text-muted); font-size: 1.05rem; line-height: 1.6; max-width: 360px; }
.col-title { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.15em; color: #555; display: block; margin-bottom: 32px; }

.footer-links-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.footer-links-list a { color: var(--text-muted); text-decoration: none; font-size: 1.05rem; transition: color 0.3s; }
.footer-links-list a:hover { color: #fff; }

.footer-address { font-style: normal; color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }

.footer-bottom-bar {
    border-top: 1px solid rgba(255,255,255,0.08); padding-top: 36px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.75rem; color: #555; font-weight: 600; position: relative; z-index: 2;
}
.social-links-wrapper { display: flex; gap: 28px; }
.social-links-wrapper a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.social-links-wrapper a:hover { color: #fff; }

.link-hover { position: relative; }
.link-hover::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 1.5px;
    background: #fff; transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease-out);
}
.link-hover:hover::after { transform: scaleX(1); transform-origin: left; }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-dvh-wrapper { height: auto; min-height: 100dvh; padding-top: 100px; }
    .card-internal-layout { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; gap: 40px; }
    
    /* FIX: Force items into single column and reorder them */
    .hero-header-meta { grid-column: 1; grid-row: 1; }
    .hero-video-anchor { grid-column: 1; grid-row: 2; justify-content: center; height: 50vh; align-items: center; }
    .hero-footer-meta { grid-column: 1; grid-row: 3; }
    .scroll-down-indicator { grid-column: 1; grid-row: 4; margin-top: 20px; }
    
    .video-bento-box { max-width: 100%; border-radius: 24px; }
    .glass-master-card { padding: 6vw; border-radius: 28px; }
    
    .premium-bento-grid { grid-template-columns: 1fr; gap: 16px; }
    .metrics-grid { grid-template-columns: 1fr; gap: 60px; }
    .metric-item { border-left: none; border-top: 1px solid var(--card-border); padding-left: 0; padding-top: 32px; }
    .showcase-item { width: 85vw; }
    .process-grid { grid-template-columns: 1fr; gap: 40px; }
    .accordion-wrapper { grid-template-columns: 1fr; gap: 60px; }
    .contact-split-layout { grid-template-columns: 1fr; gap: 64px; }
    .footer-main-grid { grid-template-columns: 1fr; gap: 48px; }
    .glass-contact-wrapper { padding: 8vw 5vw; }
}

@media (max-width: 768px) {
    .pill-nav-cluster { display: flex; justify-content: space-between; align-items: center; width: 96%; padding: 0; left: 50%; transform: translateX(-50%); top: 20px; }
    .pill-group-center { position: absolute; left: 50%; transform: translateX(-50%); }
    .pill-btn { padding: 10px 20px; font-size: 0.75rem; }
    .menu-trigger { padding: 10px 16px; }
    .menu-text { display: none; } /* Esconde texto 'Menu' no mobile */

    .glass-master-card { padding: 6vw; border-radius: 24px; }
    .pre-title { font-size: 0.65rem; margin-bottom: 16px; }
    .main-title { font-size: 2.2rem; line-height: 1.1; }
    .description { font-size: 1rem; }
    
    .section-title { font-size: 2.2rem; margin-bottom: 24px; }
    .massive-text { font-size: 2rem; }
    
    .bento-node, .process-card { padding: 32px; min-height: auto; }
    .node-content h3 { margin-top: 20px; font-size: 1.5rem; }
    
    .metric-num { font-size: 3.5rem; }
    
    .horizontal-showcase { height: auto; min-height: 70vh; padding: 10vh 0; }
    .showcase-img-wrap { height: 40vh; }
    .showcase-meta h3 { font-size: 1.5rem; }
    
    .parallax-massive-text { font-size: 3rem; white-space: normal; line-height: 1.1; }
    
    .accordion-trigger { font-size: 1.2rem; }
    .accordion-content p { font-size: 1rem; }
    
    .submit-action-btn { width: 100%; justify-content: center; }
    .contact-text-side h2 { font-size: 2.2rem; }
    
    .footer-bottom-bar { flex-direction: column; gap: 20px; align-items: flex-start; }
    .footer-logo { font-size: 1.8rem; }
    .hero-video-anchor { height: 40vh; }
    
    .marquee-text { font-size: 2.5rem; }
}

@media (max-width: 480px) {
    .pill-nav-cluster { top: 16px; width: 92%; }
    .pill-btn { padding: 10px 16px; font-size: 0.7rem; }
    .menu-trigger { padding: 8px 12px; }
    .menu-text { display: none; } /* Esconde o texto "Menu" em telas bem pequenas para não quebrar o header */
    .logo-text { font-size: 1rem; }
    
    .main-title { font-size: 1.8rem; }
    .hero-video-anchor { height: 35vh; }
    .badge-row { gap: 8px; }
    .tech-badge { padding: 6px 14px; font-size: 0.6rem; }
    
    .section-title { font-size: 1.8rem; }
    .showcase-img-wrap { height: 30vh; min-height: 250px; }
    .bento-node, .process-card { padding: 24px; }
    .glass-contact-wrapper { padding: 10vw 6vw; }
}

/* DESABILITAR CURSOR CUSTOMIZADO E HOVERS EM MOBILE/TOUCH */
@media (pointer: coarse) {
    .custom-cursor { display: none !important; }
    a, button, .menu-trigger, .video-bento-box, .bento-node, .process-card, .accordion-trigger, #back-to-top { cursor: pointer; }
    body { cursor: auto; }
    
    /* Prevenir "Sticky Hovers" no Mobile */
    .menu-trigger:hover { background: var(--card-glass); transform: none; border-color: var(--card-border); }
    .pill-btn:hover { transform: none; background: #fff; color: #000; }
    .video-bento-box:hover video { filter: brightness(0.85); }
    .glass-circle-btn:hover { background: rgba(0, 0, 0, 0.4); color: #fff; transform: none; }
    .scroll-down-indicator a:hover { opacity: 0.7; color: var(--text-muted); }
    .marquee-section:hover .marquee-text { -webkit-text-stroke: 1px rgba(255,255,255,0.3); color: transparent; }
    .process-card:hover { transform: none; background: rgba(255,255,255,0.02); }
    .submit-action-btn:hover { transform: none; background: #fff; color: #000; }
    .footer-links-list a:hover, .social-links-wrapper a:hover { color: var(--text-muted); }
    .link-hover:hover::after { transform: scaleX(0); }
    #back-to-top:hover { background: var(--card-glass); color: var(--text-main); transform: scale(1); }
}

/* BACK TO TOP BUTTON */
#back-to-top {
    position: fixed; bottom: 40px; right: 4vw; z-index: 990; width: 56px; height: 56px;
    background: var(--card-glass); backdrop-filter: blur(16px); border: 1px solid var(--card-border);
    border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-main);
    opacity: 0; pointer-events: none; transform: translateY(20px) scale(0.9); transition: all 0.5s var(--ease-out);
}
#back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
#back-to-top:hover { background: var(--text-main); color: var(--bg-base); transform: scale(1.1); }
