﻿/* =========================================
           VARIÃVEIS - ID VISUAL OFICIAL HUB ATMOS
        ========================================= */
:root {
    /* Cores Principais */
    --brand-blue: #3B82F6;
    /* Azul Neon */
    --brand-purple: #7C3AED;
    /* Roxo Digital */
    --brand-gradient: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-purple) 100%);

    /* Cores Neutras */
    --bg-base: #f8fafc;
    --bg-surface: rgba(255, 255, 255, 0.85);
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --border-subtle: rgba(15, 23, 42, 0.08);

    /* Tipografia Oficial */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
.font-heading {
    font-family: var(--font-heading);
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* =========================================
           BACKGROUND ANIMATED MAP
        ========================================= */
#animated-background-wrapper {
    position: fixed;
    inset: 0;
    z-index: -4;
    pointer-events: none;
    overflow: hidden;
    background-color: var(--bg-base);
}

#map-background {
    position: absolute;
    top: -100vh;
    left: -100vw;
    width: 300vw;
    height: 300vh;
    opacity: 0.25;
    will-change: transform;
    transform-origin: center;
}

.map-overlay {
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-base, #f8fafc) 90%),
        linear-gradient(to bottom, var(--bg-base, #f8fafc) 0%, transparent 20%, transparent 80%, var(--bg-base, #f8fafc) 100%);
}

.orb {
    position: absolute;
    border-radius: 50%;
}
@keyframes float-1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    50% { transform: translate(-30px, 30px) scale(1.1); opacity: 0.5; }
}

@keyframes float-2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.2; }
    50% { transform: translate(40px, -20px) scale(1.3); opacity: 0.4; }
}

@keyframes float-3 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    50% { transform: translate(-20px, -40px) scale(1.1); opacity: 0.5; }
}

.orb-1 {
    top: 10%;
    left: 10%;
    width: 40vw;
    height: 40vw;
    background-color: rgba(96, 165, 250, 0.2);
    filter: blur(80px);
    animation: float-1 12s ease-in-out infinite;
}

.orb-2 {
    bottom: 20%;
    right: 10%;
    width: 50vw;
    height: 50vw;
    background-color: rgba(248, 113, 113, 0.15);
    filter: blur(100px);
    animation: float-2 15s ease-in-out infinite 1s;
}

.orb-3 {
    top: 40%;
    left: 50%;
    width: 30vw;
    height: 30vw;
    background-color: rgba(250, 204, 21, 0.2);
    filter: blur(80px);
    animation: float-3 10s ease-in-out infinite 2s;
}

@media (min-width: 768px) {
    .orb-1 { filter: blur(120px); }
    .orb-2 { filter: blur(150px); }
    .orb-3 { filter: blur(100px); }
}

.animate-route {
    animation: draw-route 20s linear infinite;
}

@keyframes draw-route {
    from { stroke-dashoffset: 1000; }
    to { stroke-dashoffset: 0; }
}

/* =========================================
           CURSOR PREMIUM (LUPA DE VIDRO)
        ========================================= */
.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
}

body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor input,
body.has-custom-cursor textarea,
body.has-custom-cursor select,
body.has-custom-cursor label {
    cursor: none !important;
}

body.has-custom-cursor .cursor-dot,
body.has-custom-cursor .cursor-ring {
    opacity: 1;
}

.cursor-dot {
    width: 4px;
    height: 4px;
    background-color: var(--brand-blue);
    transition: opacity 0.3s ease;
}

.cursor-ring {
    width: 34px;
    height: 34px;
    border: 1.5px solid rgba(10, 10, 10, 0.15);
    transition: width 0.4s ease, height 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.cursor-ring::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 10px;
    height: 2.5px;
    background: rgba(10, 10, 10, 0.2);
    transform: rotate(45deg);
    border-radius: 2px;
    transition: all 0.4s ease;
}

body.hover-interactive .cursor-ring {
    width: 50px;
    height: 50px;
    background-color: rgba(10, 10, 10, 0.05);
    backdrop-filter: blur(4px);
    border-color: transparent;
}

body.hover-interactive .cursor-ring::after {
    opacity: 0;
}

body.hover-interactive .cursor-dot {
    opacity: 0;
}

body.hover-text .cursor-ring {
    width: 85px;
    height: 85px;
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(2px) contrast(1.05);
    -webkit-backdrop-filter: blur(2px) contrast(1.05);
    box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.1);
}

body.hover-text .cursor-ring::after {
    bottom: -8px;
    right: -8px;
    width: 14px;
    height: 3px;
    background: var(--brand-blue);
    box-shadow: 0 0 5px var(--brand-blue);
}

body.hover-text .cursor-dot {
    opacity: 0;
}

/* =========================================
           NAVBAR 
        ========================================= */
nav#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

nav#navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 1rem 5vw;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 101;
}

.brand-icon {
    width: 32px;
    height: 32px;
    background: var(--bg-base);
    border: 2px solid transparent;
    background-image: linear-gradient(var(--bg-base), var(--bg-base)), var(--brand-gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--brand-blue);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    position: relative;
}

.brand-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -4px;
    width: 6px;
    height: 6px;
    background: var(--brand-purple);
    border-radius: 50%;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-top {
    font-family: var(--font-heading);
    font-size: 0.55rem;
    letter-spacing: 3px;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
}

.brand-main {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.brand-main span {
    color: var(--brand-blue);
    font-weight: 700;
}

.header-cta {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    padding: 10px 24px;
    border: 1px solid var(--border-subtle);
    border-radius: 30px;
    transition: all 0.3s ease;
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(10px);
}

.header-cta:hover {
    background: var(--brand-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

/* =========================================
           DYNAMIC DOCK 
        ========================================= */
.dock-wrapper {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 101;
    pointer-events: none;
    max-width: 95vw;
    overflow: hidden;
}

.bottom-dock {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(10, 10, 10, 0.08);
    padding: 8px;
    border-radius: 60px;
    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), inset 0 1px 1px rgba(255, 255, 255, 1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.bottom-dock::-webkit-scrollbar {
    display: none;
}

.dock-item {
    display: flex;
    align-items: center;
    padding: 0 12px;
    height: 48px;
    max-width: 48px;
    border-radius: 40px;
    color: var(--text-secondary);
    transition: max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, color 0.3s ease;
    overflow: hidden;
    text-decoration: none;
    flex-shrink: 0;
}

.dock-item:hover,
.dock-item.active {
    max-width: 150px;
    background: rgba(59, 130, 246, 0.08);
    color: var(--brand-blue);
}

.dock-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dock-icon svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px;
    max-height: 20px;
    display: block;
    stroke-width: 2.5px;
}

.dock-text {
    font-family: var(--font-heading);
    white-space: nowrap;
    margin-left: 10px;
    opacity: 0;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.3s ease 0.1s;
}

.dock-item:hover .dock-text,
.dock-item.active .dock-text {
    opacity: 1;
}

/* =========================================
           HERO SECTION
        ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 15vh 5vw 5vh;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4vw;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-pill {
    font-family: var(--font-heading);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    backdrop-filter: blur(10px);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-blue);
    margin-bottom: 2.5rem;
    font-weight: 700;
}

.pill-dot {
    width: 6px;
    height: 6px;
    background: var(--brand-purple);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.6);
    animation: pulseFade 2s infinite;
}

.hero-title {
    font-size: clamp(3.5rem, 7vw, 7.5rem);
    line-height: 0.95;
    letter-spacing: -2px;
    color: var(--text-primary);
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
    font-weight: 800;
}

.hero-title .outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--text-primary);
}

.hero-title strong {
    background: var(--brand-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 3rem;
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-primary {
    font-family: var(--font-heading);
    background: var(--brand-gradient);
    color: #fff;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
    color: #fff;
}

.btn-primary svg {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px;
    max-height: 18px;
    flex: 0 0 18px;
    display: block;
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hud-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(10, 10, 10, 0.05), inset 0 1px 0 rgba(255, 255, 255, 1);
    position: absolute;
    transform-style: preserve-3d;
    transition: border-color 0.3s ease;
}

.hud-card:hover {
    border-color: var(--brand-blue);
}

.main-hud {
    width: 340px;
    transform: rotateY(-15deg) rotateX(5deg) translateZ(40px);
    animation: floatHudMain 7s ease-in-out infinite alternate;
    z-index: 2;
}

.secondary-hud {
    width: 260px;
    bottom: 10%;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    transform: rotateY(-10deg) rotateX(10deg) translateZ(-30px);
    animation: floatHudSec 8s ease-in-out infinite alternate-reverse;
    z-index: 1;
}

.hud-header {
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hud-header .hud-dot {
    width: 6px;
    height: 6px;
    background: var(--brand-blue);
    border-radius: 50%;
}

.hud-value {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -2px;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hud-subtext {
    font-weight: 500;
    color: var(--brand-purple);
}

.hud-chart {
    width: 100%;
    height: 60px;
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px dashed var(--border-subtle);
}

.hud-chart svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.hud-chart path {
    fill: none;
    stroke: var(--brand-blue);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 4px 6px rgba(59, 130, 246, 0.3));
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawChart 3s ease-out forwards;
}

@keyframes drawChart {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes floatHudMain {
    0% {
        transform: rotateY(-15deg) rotateX(5deg) translateY(0px) translateZ(40px);
    }

    100% {
        transform: rotateY(-10deg) rotateX(8deg) translateY(-20px) translateZ(40px);
    }
}

@keyframes floatHudSec {
    0% {
        transform: rotateY(-10deg) rotateX(10deg) translateY(0px) translateZ(-30px);
    }

    100% {
        transform: rotateY(-15deg) rotateX(5deg) translateY(20px) translateZ(-30px);
    }
}

@keyframes pulseFade {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* =========================================
           1. BENTO BOX METRICS
        ========================================= */
.metrics-section {
    padding: 15vh 5vw;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 1.5rem;
}

.bento-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(10, 10, 10, 0.02);
    position: relative;
    overflow: hidden;
}

.bento-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.08);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-square {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-value {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -2px;
    color: var(--text-primary);
    line-height: 1;
}

.bento-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: 10px;
}

.bento-chart-bg {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    opacity: 0.1;
    background: radial-gradient(circle, var(--brand-blue) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
}

.pulse-ring-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--brand-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.pulse-ring-small::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--brand-purple);
    border-radius: 50%;
    animation: pulseFade 2s infinite;
}

/* =========================================
           2. ARSENAL TÃTICO (BENTO GRID)
        ========================================= */
.expertise-section {
    padding: 15vh 5vw;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-secondary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--brand-blue);
    border-radius: 2px;
}

.section-title::after {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--brand-purple);
    border-radius: 50%;
    margin-left: -10px;
}

.arsenal-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.arsenal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(10, 10, 10, 0.02);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.arsenal-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.08);
}

.arsenal-span-7 {
    grid-column: span 7;
}

.arsenal-span-5 {
    grid-column: span 5;
}

.arsenal-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
    margin-bottom: 2rem;
    transition: all 0.4s ease;
}

.arsenal-card:hover .arsenal-icon {
    background: var(--brand-gradient);
    color: #fff;
    transform: scale(1.1);
}

.arsenal-icon svg {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px;
    max-height: 28px;
    display: block;
}

.arsenal-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.arsenal-card:hover .arsenal-title {
    background: var(--brand-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.arsenal-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.arsenal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.arsenal-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    background: var(--bg-base);
    border: 1px solid var(--border-subtle);
    color: var(--brand-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.arsenal-card:hover .arsenal-tag {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.05);
}

/* =========================================
           3. OBRAS DE SUCESSO (PORTFOLIO)
        ========================================= */
.work {
    padding: 15vh 5vw;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4vw;
    margin-top: 5rem;
}

.project-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 10px 30px rgba(10, 10, 10, 0.03);
    transition: all 0.5s ease;
}

.project-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.15);
}

.project-card:nth-child(even) {
    margin-top: 10vh;
}

.project-img-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    transform: translateY(-10%);
    transition: transform 1.5s ease, filter 1s ease;
    filter: brightness(0.95);
}

.project-card:hover .project-img {
    transform: translateY(-10%) scale(1.05);
    filter: brightness(1);
}

.project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 10%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s ease;
}

.project-card:hover .project-content {
    transform: translateY(0);
    opacity: 1;
}

.project-tag {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-blue);
    font-weight: 700;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-primary);
}

/* =========================================
           4. ALGORITMO VERTICAL (TIMELINE)
        ========================================= */
.process-section {
    padding: 15vh 5vw;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-wrapper {
    position: relative;
    margin-top: 5rem;
    padding: 2rem 0;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--border-subtle) 10%, var(--border-subtle) 90%, transparent);
    z-index: 0;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 3rem;
    border-radius: 24px;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.4s ease;
    position: relative;
}

.timeline-content:hover {
    border-color: var(--brand-blue);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.08);
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--bg-base);
    border: 4px solid var(--brand-purple);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    transition: all 0.4s ease;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.8);
}

.timeline-item:hover .timeline-dot {
    background: var(--brand-purple);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.6), 0 0 0 6px rgba(255, 255, 255, 0.8);
    transform: translateX(-50%) scale(1.2);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(10, 10, 10, 0.03);
    position: absolute;
    top: 1rem;
    right: 2rem;
    pointer-events: none;
    transition: color 0.4s ease;
}

.timeline-item:hover .step-num {
    color: rgba(59, 130, 246, 0.1);
}

.timeline-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.timeline-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* =========================================
           5. TECNOLOGIA (ECOSSISTEMA/STACK)
        ========================================= */
.tech-section {
    padding: 10vh 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
    background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.02) 50%, transparent 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.tech-track {
    display: flex;
    gap: 1.5rem;
    animation: scrollTech 30s linear infinite;
    width: max-content;
}

.tech-track-reverse {
    display: flex;
    gap: 1.5rem;
    animation: scrollTech 35s linear infinite reverse;
    width: max-content;
    margin-top: 1.5rem;
}

.tech-pill {
    padding: 1rem 2rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.tech-pill:hover {
    border-color: var(--brand-blue);
    transform: scale(1.05);
    color: var(--brand-blue);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.1);
}

.tech-pill svg {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px;
    max-height: 24px;
    flex: 0 0 24px;
    display: block;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

@keyframes scrollTech {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* =========================================
           6. MODELOS DE PARCERIA (PLANOS ASSIMÃ‰TRICOS)
        ========================================= */
.plans-section {
    padding: 15vh 5vw;
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
}

.plans-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 2rem;
    margin-top: 5rem;
    align-items: center;
}

.plan-card {
    border-radius: 32px;
    padding: 3.5rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.plan-standard {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(10, 10, 10, 0.02);
    z-index: 1;
}

.plan-standard:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.08);
}

.plan-premium {
    background: #0A0A0A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: 0 30px 60px rgba(59, 130, 246, 0.15);
    transform: scale(1.03);
    z-index: 2;
}

.plan-premium:hover {
    transform: scale(1.03) translateY(-5px);
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow: 0 40px 80px rgba(124, 58, 237, 0.2);
}

.plan-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--brand-gradient);
}

.plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.plan-standard .plan-badge {
    color: var(--brand-blue);
}

.plan-premium .plan-badge {
    color: var(--brand-purple);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.plan-standard .badge-dot {
    background: var(--brand-blue);
}

.plan-premium .badge-dot {
    background: var(--brand-purple);
    box-shadow: 0 0 10px var(--brand-purple);
}

.plan-name {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.plan-standard .plan-name {
    color: var(--text-primary);
}

.plan-premium .plan-name {
    color: #ffffff;
}

.plan-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
}

.plan-standard .plan-desc {
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
}

.plan-premium .plan-desc {
    color: #9CA3AF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 3rem;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4;
}

.plan-standard .plan-features li {
    color: var(--text-primary);
}

.plan-premium .plan-features li {
    color: #E5E7EB;
}

.plan-features li svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px;
    max-height: 20px;
    flex: 0 0 20px;
    display: block;
    margin-top: 2px;
}

.plan-standard .plan-features li svg {
    color: var(--brand-blue);
}

.plan-premium .plan-features li svg {
    color: var(--brand-purple);
    filter: drop-shadow(0 0 5px rgba(124, 58, 237, 0.5));
}

.btn-plan-standard {
    width: 100%;
    padding: 18px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    text-align: center;
    background: rgba(10, 10, 10, 0.03);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
    display: block;
}

.btn-plan-standard:hover {
    background: var(--text-primary);
    color: #fff;
    border-color: transparent;
}

.btn-plan-premium {
    width: 100%;
    padding: 18px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    text-align: center;
    background: var(--brand-gradient);
    color: #fff;
    border: none;
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
    transition: all 0.3s ease;
    display: block;
}

.btn-plan-premium:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.5);
    color: #fff;
}

/* =========================================
           7. DEPOIMENTOS (TESTIMONIALS)
        ========================================= */
.testimonials {
    padding: 15vh 5vw;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5vw;
    margin-top: 5rem;
}

.testi-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(15px);
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(10, 10, 10, 0.02);
    display: flex;
    flex-direction: column;
    position: relative;
}

.testi-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.08);
}

.testi-quote {
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 2.5rem;
    flex-grow: 1;
    font-weight: 500;
}

.testi-stars {
    color: #F59E0B;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 5px;
}

.testi-stars svg {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px;
    max-height: 18px;
    flex: 0 0 18px;
    display: block;
    fill: currentColor;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.5rem;
}

.testi-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg-base);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testi-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.testi-info p {
    font-size: 0.75rem;
    color: var(--brand-purple);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* =========================================
           8. BLOG & SOCIAIS
        ========================================= */
.blog {
    padding: 15vh 5vw;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3vw;
    margin-top: 5rem;
}

.blog-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(10, 10, 10, 0.03);
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.08);
}

.blog-img-wrapper {
    aspect-ratio: 16/10;
    overflow: hidden;
    padding: 1rem 1rem 0 1rem;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    filter: brightness(0.95);
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
    filter: brightness(1);
}

.blog-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-tag {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-purple);
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.blog-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.blog-link {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.blog-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-link::after {
    transform: translateX(5px);
    color: var(--brand-blue);
}

/* Pagination & Single Post Styles */
.hub-pagination {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.hub-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.hub-pagination .page-numbers.current,
.hub-pagination .page-numbers:hover {
    background: var(--brand-purple);
    border-color: var(--brand-purple);
    color: var(--text-primary);
}

.empty-state {
    text-align: center;
    padding: 4rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    grid-column: 1 / -1;
}

.single-post-page .hero-content {
    align-items: center;
    text-align: center;
    padding-top: 20vh;
}

.post-meta-single {
    color: var(--brand-purple);
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    display: block;
}

.single-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 5vh 5vw;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.single-content h2,
.single-content h3,
.single-content h4 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    margin: 2rem 0 1rem;
}

.single-content p {
    margin-bottom: 1.5rem;
}

.single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
}

.socials {
    padding: 15vh 5vw;
    position: relative;
    z-index: 2;
    text-align: center;
}

.socials-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4rem;
    letter-spacing: -1px;
}

.socials-title span {
    background: var(--brand-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.ig-feed-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5vw;
    max-width: 1400px;
    margin: 0 auto;
}

.ig-post {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 10px 20px rgba(10, 10, 10, 0.03);
}

.ig-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: transform 0.6s ease;
}

.ig-post:hover .ig-img {
    transform: scale(1.08);
    filter: brightness(1);
}

.ig-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(3px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ig-post:hover .ig-overlay {
    opacity: 1;
}

.ig-icon {
    width: 50px;
    height: 50px;
    background: var(--brand-gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.5rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

.ig-post:hover .ig-icon {
    transform: translateY(0);
}

footer {
    padding: 12vh 5vw 6vh 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    background: linear-gradient(to top, rgba(248, 250, 252, 1) 0%, transparent 100%);
}

.footer-pre {
    margin-bottom: 1.25rem;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.footer-cta {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 10rem);
    font-weight: 600;
    letter-spacing: -3px;
    color: var(--text-primary);
    line-height: 1;
    display: inline-block;
    transition: transform 0.5s ease;
}

.footer-cta:hover {
    transform: scale(1.02);
}

.footer-cta span {
    font-weight: 800;
    background: var(--brand-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-bottom {
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 15vh;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover {
    color: var(--brand-blue);
    transform: translateY(-1px);
}

.text-secondary {
    color: var(--text-secondary);
}

.mt-2 {
    margin-top: 0.5rem;
}

.hover-view {
    display: block;
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (hover: none), (pointer: coarse) {
    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }

    body,
    body a,
    body button,
    body input,
    body textarea,
    body select,
    body label {
        cursor: auto !important;
    }
}

/* Responsividade AvanÃ§ada */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 8vw;
    }

    .hero-content {
        align-items: center;
        text-align: center;
        margin-top: 5vh;
    }

    .hero-visual {
        min-height: 400px;
        perspective: 800px;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-large {
        grid-column: span 2;
    }

    .arsenal-span-7,
    .arsenal-span-5 {
        grid-column: span 12;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .project-card:nth-child(even) {
        margin-top: 0;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .plan-premium {
        transform: scale(1);
    }

    .plan-premium:hover {
        transform: translateY(-5px);
    }

    .timeline-wrapper::before {
        left: 0;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
    }

    .timeline-content {
        width: 90%;
    }

    .timeline-dot {
        left: 0;
    }

    .testi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ig-feed-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3vw;
    }
}

@media (max-width: 768px) {

    .cursor-dot,
    .cursor-ring {
        display: none;
    }

    * {
        cursor: auto;
    }

    .hero-visual {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-large,
    .bento-wide,
    .bento-square {
        grid-column: span 1;
        grid-row: auto;
    }

    .timeline-content {
        width: 85%;
        padding: 2rem;
    }

    .step-num {
        font-size: 3rem;
    }

    .testi-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .ig-feed-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3vw;
    }

    .bottom-dock {
        padding: 4px;
        gap: 2px;
        justify-content: flex-start;
        max-width: 90vw;
    }

    .dock-item {
        padding: 0 8px;
        max-width: 36px;
        height: 36px;
    }

    .dock-icon {
        width: 16px;
        height: 16px;
    }

    .dock-icon svg {
        width: 16px !important;
        height: 16px !important;
        max-width: 16px;
        max-height: 16px;
    }

    .dock-item:hover,
    .dock-item.active {
        max-width: 100px;
    }

    .dock-text {
        font-size: 0.65rem;
        margin-left: 8px;
    }
}

.brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.social-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-button {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-primary);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.social-button:hover {
    color: #fff;
    border-color: transparent;
    background: var(--brand-gradient);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.22);
}

.social-button svg {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px;
    max-height: 18px;
    flex: 0 0 18px;
    display: block;
}

.admin-bar nav#navbar {
    top: 32px;
}

.hub-inner-page {
    position: relative;
    z-index: 2;
    min-height: 75vh;
    padding-top: 10vh;
}

.hub-page-header {
    max-width: 980px;
    margin: 0 auto 4rem;
    padding: 0 5vw;
}

.contact-page {
    padding-left: 5vw;
    padding-right: 5vw;
}

.contact-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 3vw;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.contact-intro {
    display: grid;
    gap: 1.5rem;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6.8vw, 6.8rem);
    line-height: 0.95;
    letter-spacing: -2px;
    text-transform: uppercase;
    max-width: 760px;
}

.contact-subtitle {
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.7;
    max-width: 620px;
}

.contact-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 560px;
}

.contact-stat {
    padding: 1.25rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.contact-stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--brand-blue);
    line-height: 1;
    margin-bottom: 0.45rem;
}

.contact-stat span {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hub-form,
.contact-card,
.empty-state {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(10, 10, 10, 0.04);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.hub-form {
    padding: 2rem;
    display: grid;
    gap: 1.25rem;
}

.contact-form-panel {
    position: relative;
    overflow: hidden;
}

.contact-form-panel::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: var(--brand-gradient);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.hub-form label {
    display: grid;
    gap: 0.55rem;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    font-weight: 700;
}

.hub-form input,
.hub-form textarea {
    width: 100%;
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-primary);
    font: 500 1rem/1.5 var(--font-body);
    padding: 1rem 1.1rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hub-form textarea {
    min-height: 160px;
    resize: vertical;
}

.hub-form input:focus,
.hub-form textarea:focus {
    border-color: rgba(59, 130, 246, 0.45);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08);
}

.hub-form button {
    width: fit-content;
}

.form-success {
    padding: 1rem;
    border-radius: 16px;
    background: rgba(59, 130, 246, 0.08);
    color: var(--brand-blue);
    font-weight: 700;
}

.contact-info-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.contact-card {
    padding: 2rem;
    align-self: start;
    display: grid;
    gap: 1rem;
}

.contact-card span {
    font-family: var(--font-heading);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-weight: 700;
}

.contact-card a {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2vw, 1.8rem);
    font-weight: 700;
    color: var(--text-primary);
    overflow-wrap: anywhere;
}

.social-buttons-large .social-button {
    width: 48px;
    height: 48px;
}

.social-buttons-large .social-button svg {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px;
    max-height: 22px;
    flex-basis: 22px;
}

.project-detail {
    padding-left: 5vw;
    padding-right: 5vw;
}

.project-detail-hero {
    max-width: 1100px;
    margin: 0 auto 3rem;
    display: grid;
    gap: 1rem;
}

.project-back {
    width: fit-content;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--brand-blue);
}

.project-detail-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 8rem);
    line-height: 0.92;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.project-detail-summary {
    max-width: 760px;
    color: var(--text-secondary);
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    line-height: 1.65;
}

.project-detail-cover {
    max-width: 1200px;
    margin: 0 auto 3rem;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 24px 60px rgba(10, 10, 10, 0.08);
}

.project-detail-cover img,
.project-gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.project-detail-cover img {
    aspect-ratio: 16/8;
}

.project-detail-body {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 3vw;
}

.project-detail-copy {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.8;
    color: var(--text-primary);
    height: fit-content;
}

.project-detail-copy p+p {
    margin-top: 1rem;
}

.project-detail-copy .btn-primary {
    margin-top: 2rem;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.project-gallery-item {
    margin: 0;
    aspect-ratio: 4/3;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 16px 34px rgba(10, 10, 10, 0.06);
}

.single-post-page {
    max-width: 980px;
    margin: 0 auto;
    padding-left: 5vw;
    padding-right: 5vw;
}

.single-cover {
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 20px 50px rgba(10, 10, 10, 0.08);
}

.single-cover img {
    display: block;
    width: 100%;
    height: auto;
}

.single-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: clamp(1.5rem, 4vw, 3rem);
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.single-content>*+* {
    margin-top: 1.25rem;
}

.single-content a {
    color: var(--brand-blue);
    font-weight: 700;
}

.single-content ul,
.single-content ol {
    list-style: revert;
    padding-left: 1.5rem;
}

.hub-pagination {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.hub-pagination .page-numbers {
    display: inline-flex;
    min-width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--border-subtle);
    font-weight: 700;
    color: var(--text-primary);
}

.hub-pagination .current {
    background: var(--brand-gradient);
    color: #fff;
    border-color: transparent;
}

.empty-state {
    padding: 2rem;
    grid-column: 1 / -1;
    color: var(--text-secondary);
    font-weight: 700;
}

.bento-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.contact-bento {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 1.5rem;
    align-items: start;
}

.bento-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 32px;
    backdrop-filter: blur(25px);
    box-shadow: 0 20px 40px rgba(10, 10, 10, 0.03);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.bento-main {
    padding: 4rem;
}

.bento-main:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 30px 60px rgba(59, 130, 246, 0.08);
}

.bento-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.widget-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.widget-card:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.08);
}

.widget-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--brand-blue);
    transition: all 0.4s ease;
}

.widget-card:hover .widget-icon {
    background: var(--brand-gradient);
    color: #fff;
    transform: scale(1.1);
}

.widget-icon svg {
    width: 22px;
    height: 22px;
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.widget-value {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.status-widget {
    background: #0f172a;
    color: #fff;
    border-color: #1e293b;
}

.status-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 1rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 15px #10b981;
    animation: blinkPulse 2s infinite;
}

@keyframes blinkPulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.social-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-whatsapp {
    font-family: var(--font-heading);
    background: #25D366;
    color: #fff;
    padding: 16px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
    color: #fff;
}

.btn-whatsapp svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--brand-blue);
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(10, 10, 10, 0.02);
}

.social-icon:hover {
    background: var(--brand-gradient);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

.social-icon svg {
    width: 22px;
    height: 22px;
}

.form-section-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-section-title::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--brand-blue);
    border-radius: 50%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.input-group {
    position: relative;
    width: 100%;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1.2rem 0 0.8rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border-subtle);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
    outline: none;
    border-radius: 0;
}

.input-group label {
    position: absolute;
    top: 1.2rem;
    left: 0;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    transform-origin: left top;
}

.input-group input:focus,
.input-group textarea:focus {
    border-bottom-color: var(--brand-blue);
}

.input-group input:focus~label,
.input-group input:not(:placeholder-shown)~label,
.input-group textarea:focus~label,
.input-group textarea:not(:placeholder-shown)~label {
    transform: translateY(-1.8rem) scale(0.75);
    color: var(--brand-blue);
}

.input-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
    font-family: var(--font-body);
    font-weight: 500;
}

.goal-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.goal-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.goal-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.goal-pill {
    padding: 14px 24px;
    border: 1.5px solid var(--border-subtle);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.goal-pill:hover {
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(59, 130, 246, 0.05);
}

.goal-pill.active {
    background: var(--brand-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
    transform: scale(1.05);
}

.btn-submit {
    align-self: flex-start;
    font-family: var(--font-heading);
    background: var(--text-primary);
    color: #fff;
    padding: 24px 50px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 1rem;
}

.btn-submit:hover {
    background: var(--brand-gradient);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.3);
    color: #fff;
}

.btn-submit svg {
    width: 20px;
    height: 20px;
}

.contact-header {
    max-width: 800px;
    margin-bottom: 3rem;
}

.contact-header .contact-title strong {
    background: var(--brand-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 900px) {
    .admin-bar nav#navbar {
        top: 46px;
    }

    .header-actions {
        gap: 8px;
    }

    .header-actions .social-buttons {
        display: none;
    }

    .contact-shell,
    .contact-info-strip,
    .project-detail-body {
        grid-template-columns: 1fr;
    }

    .form-row,
    .contact-stats,
    .project-gallery {
        grid-template-columns: 1fr;
    }

    .project-detail-cover img {
        aspect-ratio: 4/3;
    }

    .hub-form button {
        width: 100%;
        justify-content: center;
    }

    .contact-bento {
        grid-template-columns: 1fr;
    }

    .bento-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .widget-card {
        flex: 1;
        min-width: 280px;
    }

    .bento-main {
        padding: 2rem;
    }

    .goal-options {
        justify-content: center;
    }

    .btn-submit {
        width: 100%;
        justify-content: center;
    }

    .case-meta {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-story {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .story-sticky {
        position: relative;
        top: 0;
    }

    .gallery-item-wrapper {
        width: 100vw;
        border-radius: 0;
    }

    .case-results .bento-grid {
        grid-template-columns: 1fr;
    }

    .next-title {
        font-size: clamp(2rem, 8vw, 4rem);
    }
}

/* =========================================
           PROJECT DETAIL - PREMIUM V2 (ENHANCED)
           Cores mantidas: brand-blue #3B82F6, brand-purple #7C3AED
        ========================================= */

/* ---- HERO ---- */
.case-hero {
    padding: 22vh 5vw 8vh;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.case-top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

/* =========================================
   FIM DO ARQUIVO - Regras duplicadas removidas
   ========================================= */

/* =========================================
   EDITABLE CONTACT + RESPONSIVE REFINEMENTS
   ========================================= */
.contact-eyebrow {
    width: fit-content;
    margin-bottom: 1rem;
    padding: 8px 14px;
    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.08);
    color: var(--brand-blue);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-bento {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 350px);
}

.goal-pill,
.btn-submit,
.btn-whatsapp,
.header-cta {
    overflow-wrap: anywhere;
    text-align: center;
}

.input-group input,
.input-group textarea {
    min-width: 0;
}

.widget-value {
    overflow-wrap: anywhere;
}

@media (max-width: 640px) {
    nav#navbar {
        padding: 1rem 4vw;
    }

    .brand-container {
        gap: 10px;
        min-width: 0;
    }

    .brand-text {
        min-width: 0;
    }

    .brand-top,
    .brand-main {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 48vw;
    }

    .header-cta {
        padding: 9px 14px;
        font-size: 0.7rem;
    }

    .hero {
        min-height: auto;
        padding: 16vh 5vw 8vh;
    }

    .hero-title {
        font-size: 3rem;
        letter-spacing: 0;
    }

    .hero-desc {
        max-width: 100%;
    }

    .btn-primary,
    .btn-submit,
    .btn-whatsapp {
        width: 100%;
        justify-content: center;
        padding-left: 20px;
        padding-right: 20px;
    }

    .bento-main,
    .widget-card {
        padding: 1.35rem;
        border-radius: 22px;
    }

    .contact-form {
        gap: 2.25rem;
    }

    .input-group input,
    .input-group textarea {
        font-size: 1rem;
    }

    .input-group label {
        font-size: 0.82rem;
    }

    .goal-options {
        justify-content: flex-start;
    }

    .goal-pill {
        width: 100%;
        justify-content: center;
        border-radius: 16px;
    }

    .bento-sidebar {
        flex-direction: column;
    }

    .widget-card {
        min-width: 0;
    }

    .social-actions,
    .social-icons {
        width: 100%;
        justify-content: center;
    }
}




