/* ==========================================================================
   KODEX AUDIOVISUAL - SERVICOS PAGE STYLES
   ========================================================================== */

/* Variables matching styles.css */
:root {
    --accent-color: var(--color-orange, #E8633A);
    --accent-red: var(--color-red, #D93B2A);
    --accent-glow: rgba(232, 99, 58, 0.25);
}

/* Page Wrapper */
.services-page {
    background-color: var(--bg-color, #000000);
    color: var(--color-white, #FFFFFF);
    min-height: 100vh;
    padding-top: 100px; /* offset header */
}

/* Hero Section */
.services-hero {
    padding: 3rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.services-hero-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .services-hero-grid {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.hero-left {
    flex: 1;
    max-width: 650px;
}

.hero-right {
    flex: 1;
    max-width: 450px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .hero-right {
        padding-top: 2rem;
    }
}

.services-tag {
    font-family: var(--font-mono, monospace);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.services-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-white);
}

.services-title span {
    color: transparent;
    -webkit-text-stroke: 1px var(--color-white);
}

.hero-tip {
    font-family: var(--font-mono, monospace);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 1.5rem;
    display: block;
    letter-spacing: 0.05em;
}

/* Interactive Timeline Layout */
.timeline-section {
    padding: 4rem 1.5rem 6rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.timeline-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
}

@media (min-width: 1024px) {
    .timeline-layout {
        flex-direction: row;
        gap: 4rem;
    }
}

/* Left Column: Timeline Steps */
.timeline-steps-column {
    flex: 1;
    position: relative;
}

@media (min-width: 1024px) {
    .timeline-steps-column {
        max-width: 58%;
    }
}

.timeline-line {
    position: absolute;
    left: 9px;
    top: 2rem;
    bottom: 4rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-color) 0%, rgba(232, 99, 58, 0.3) 50%, rgba(255, 255, 255, 0.03) 100%);
    pointer-events-none: none;
}

@media (min-width: 768px) {
    .timeline-line {
        left: 35px;
    }
}

/* Individual Step Item */
.step-item {
    position: relative;
    padding-left: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    transition: opacity 0.4s ease;
}

@media (min-width: 768px) {
    .step-item {
        padding-left: 5.5rem;
    }
}

/* Active and inactive step states */
.step-item:not(.active) {
    opacity: 0.35;
    transition: opacity 0.3s ease;
}

.step-item:not(.active):hover {
    opacity: 0.85;
}

.step-item:not(.active):hover .step-title {
    color: var(--accent-color);
}

.step-item.active {
    opacity: 1;
}

/* Nav Link Hover Color Visibility Fix */
.nav-link:hover, .nav-link.active {
    color: #ffffff !important;
}

/* Timeline Step Dot */
.step-dot {
    position: absolute;
    left: 0px;
    top: 2.5rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
    .step-dot {
        left: 26px;
    }
}

.step-dot-inner {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-item.active .step-dot {
    border-color: var(--accent-color);
    transform: scale(1.25);
    box-shadow: 0 0 15px var(--accent-glow);
}

.step-item.active .step-dot-inner {
    background-color: var(--accent-color);
    transform: scale(1.1);
}

/* Step Content Styling */
.step-meta {
    font-family: var(--font-mono, monospace);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
}

.step-number {
    color: var(--accent-color);
    font-weight: 700;
}

.step-divider {
    color: rgba(255, 255, 255, 0.2);
}

.step-category {
    color: rgba(255, 255, 255, 0.4);
}

.step-title {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.step-item.active .step-title {
    color: var(--accent-color);
}

.step-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-weight: 300;
    max-width: 500px;
}

.step-details {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5;
    font-weight: 300;
    max-width: 500px;
}

/* Right Column: Sticky Simulator Widget */
.simulator-column {
    display: none; /* Hide on mobile by default */
}

@media (min-width: 1024px) {
    .simulator-column {
        display: block;
        flex: 1;
        max-width: 42%;
        position: sticky;
        top: 120px;
        height: fit-content;
        padding-top: 1rem;
    }
}

/* Mobile Simulator Container (embedded inline inside step-item) */
.mobile-simulator-container {
    width: 100%;
    margin-top: 1.5rem;
    display: block;
}

@media (min-width: 1024px) {
    .mobile-simulator-container {
        display: none; /* Hide inline on desktop */
    }
}

/* ==========================================================================
   SIMULATOR LAYOUT & WIDGET FRAMES
   ========================================================================== */
.sim-frame {
    width: 100%;
    aspect-ratio: 4/3;
    min-height: 280px;
    background-color: #0c0c0c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(232, 99, 58, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sim-header {
    background-color: #121212;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono, monospace);
    font-size: 9px;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
    user-select: none;
}

.sim-header-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.sim-header-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-red);
    animation: pulseRed 1.5s infinite ease-in-out;
}

.sim-header-title {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.sim-body {
    flex: 1;
    position: relative;
    overflow: hidden;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sim-footer {
    background-color: #121212;
    padding: 0.5rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono, monospace);
    font-size: 9px;
    color: rgba(255, 255, 255, 0.4);
    user-select: none;
}

.sim-footer-icons {
    display: flex;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.3);
}

.sim-footer-icons i {
    cursor: pointer;
    transition: color 0.2s;
}

.sim-footer-icons i:hover {
    color: var(--accent-color);
}

/* Animating Status Pulse */
@keyframes pulseRed {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Active Step Label in sticky monitor */
.active-step-panel {
    background-color: #080808;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    line-height: 1.5;
}

.active-step-title {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.active-step-text {
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   SIMULATORS INDIVIDUAL DETAILS
   ========================================================================== */

/* 1. Roteirizacao (Script layout) */
.roteiro-sheet {
    width: 100%;
    height: 100%;
    background-color: #161616;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 0.75rem;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
    font-family: 'Courier New', Courier, monospace;
    font-size: 10px;
    line-height: 1.4;
    text-align: left;
    color: rgba(255, 255, 255, 0.85);
    white-space: pre-wrap;
    overflow-y: auto;
}

.roteiro-meta {
    font-family: var(--font-mono, monospace);
    font-size: 8px;
    color: rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.4rem;
    margin-bottom: 0.6rem;
    display: flex;
    justify-content: space-between;
}

.roteiro-cursor {
    display: inline-block;
    width: 5px;
    height: 11px;
    background-color: var(--accent-color);
    margin-left: 2px;
    animation: blinkCursor 0.8s infinite steps(2);
}

@keyframes blinkCursor {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* 2. Storyboard (Grid schema) */
.storyboard-grid {
    display: grid;
    grid-cols: 2;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    width: 100%;
    height: 100%;
}

.storyboard-card {
    background-color: #141414;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.storyboard-card-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 6px 6px;
    pointer-events: none;
}

.storyboard-viewport {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: #080808;
}

.storyboard-cam-tag {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background-color: rgba(0,0,0,0.7);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 1px 4px;
    border-radius: 2px;
    font-family: var(--font-mono, monospace);
    font-size: 6px;
    color: rgba(255, 255, 255, 0.5);
}

.storyboard-card-title {
    font-family: var(--font-mono, monospace);
    font-size: 7px;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    margin-top: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 3. Captacao (Viewfinder dashboard) */
.captacao-viewfinder {
    width: 100%;
    height: 100%;
    background-color: #000;
    border-radius: 4px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewfinder-grid {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,0.03);
    pointer-events-none: none;
}

.viewfinder-corner {
    position: absolute;
    width: 12px;
    height: 12px;
    border-color: rgba(255,255,255,0.25);
    border-style: solid;
    pointer-events: none;
}

.viewfinder-corner.tl { top: 12px; left: 12px; border-width: 1px 0 0 1px; }
.viewfinder-corner.tr { top: 12px; right: 12px; border-width: 1px 1px 0 0; }
.viewfinder-corner.bl { bottom: 12px; left: 12px; border-width: 0 0 1px 1px; }
.viewfinder-corner.br { bottom: 12px; right: 12px; border-width: 0 1px 1px 0; }

.viewfinder-rec {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 2px;
    padding: 1px 6px;
    font-family: var(--font-mono, monospace);
    font-size: 7px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 3px;
    letter-spacing: 0.05em;
}

.rec-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--accent-red);
    animation: blinkCursor 1s infinite steps(2);
}

.viewfinder-top-center {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 2px;
    padding: 2px 6px;
    font-family: var(--font-mono, monospace);
    font-size: 6px;
    color: rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    gap: 4px;
}

.battery-icon {
    width: 12px;
    height: 6px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 1px;
    padding: 0.5px;
    display: flex;
}

.battery-level {
    height: 100%;
    width: 80%;
    background-color: #10b981;
}

.viewfinder-top-right {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 2px;
    padding: 1px 6px;
    font-family: var(--font-mono, monospace);
    font-size: 7px;
    color: rgba(255, 255, 255, 0.7);
}

.viewfinder-bot-left {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 2px;
    padding: 3px 6px;
    font-family: var(--font-mono, monospace);
    font-size: 6px;
    color: rgba(255,255,255,0.4);
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.viewfinder-bot-right {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 2px;
    padding: 3px 6px;
    font-family: var(--font-mono, monospace);
    font-size: 6px;
    color: rgba(255,255,255,0.4);
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.focus-box {
    position: absolute;
    width: 32px;
    height: 32px;
    border: 1.2px solid rgba(16, 185, 129, 0.85);
    border-radius: 3px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10;
    transition: left 0.9s ease-out, top 0.9s ease-out;
}

.focus-corner {
    position: absolute;
    width: 4px;
    height: 4px;
    border-color: #34d399;
    border-style: solid;
}
.focus-corner.tl { top: -1px; left: -1px; border-width: 0.8px 0 0 0.8px; }
.focus-corner.tr { top: -1px; right: -1px; border-width: 0.8px 0.8px 0 0; }
.focus-corner.bl { bottom: -1px; left: -1px; border-width: 0 0 0.8px 0.8px; }
.focus-corner.br { bottom: -1px; right: -1px; border-width: 0 0.8px 0.8px 0; }

.focus-tag {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) scale(0.75);
    font-family: var(--font-mono, monospace);
    font-size: 5px;
    color: #34d399;
    background-color: rgba(0,0,0,0.8);
    padding: 0 2px;
    border-radius: 1px;
    white-space: nowrap;
}

.focus-ping {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.6);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Silhouette overlay */
.viewfinder-bg-silhouette {
    position: absolute;
    width: 80%;
    height: 80%;
    opacity: 0.15;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    animation: floatShape 6s ease-in-out infinite;
}

.vertical-scanline {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(52, 211, 153, 0.5), transparent);
    pointer-events: none;
    animation: scanLine 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scanLine {
    0% { top: 15%; opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    100% { top: 85%; opacity: 0; }
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0px) scale(0.95); opacity: 0.1; }
    50% { transform: translateY(-5px) scale(1.02); opacity: 0.18; }
}

/* 4. Edicao (NLE workspace) */
.nle-editor {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nle-monitor {
    background-color: #080808;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    flex: 1;
    min-height: 85px;
    padding: 0.4rem;
    font-family: var(--font-mono, monospace);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.nle-monitor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 6px;
    color: rgba(255,255,255,0.25);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    padding-bottom: 0.2rem;
}

.nle-monitor-view {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.nle-playhead-line {
    position: absolute;
    top: 2px;
    bottom: 2px;
    width: 1.5px;
    background-color: #22d3ee;
    box-shadow: 0 0 6px #22d3ee;
    pointer-events: none;
    z-index: 10;
}

.nle-monitor-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 6px;
    color: rgba(255,255,255,0.25);
}

.nle-timeline {
    height: 85px;
    background-color: #080808;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    margin-top: 0.5rem;
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 3px;
    position: relative;
    overflow: hidden;
}

.nle-timeline-playhead {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: var(--accent-color);
    pointer-events: none;
    z-index: 20;
}

.nle-timeline-playhead-handle {
    position: absolute;
    top: 0;
    transform: translateX(-50%) rotate(45deg);
    width: 5px;
    height: 5px;
    background-color: var(--accent-color);
}

.nle-track {
    display: flex;
    align-items: center;
    height: 14px;
    background-color: rgba(255,255,255,0.01);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.nle-track-label {
    width: 15px;
    font-family: var(--font-mono, monospace);
    font-size: 6px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    text-align: center;
    z-index: 10;
}

.nle-track-items {
    flex: 1;
    height: 100%;
    position: relative;
}

.nle-block {
    position: absolute;
    height: 100%;
    border-radius: 2px;
    border-style: solid;
    border-width: 1px;
    display: flex;
    align-items: center;
    padding: 0 4px;
    font-family: var(--font-mono, monospace);
    font-size: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color 0.2s, border-color 0.2s;
}

.nle-block.orange {
    background-color: rgba(249, 115, 22, 0.12);
    border-color: rgba(249, 115, 22, 0.3);
    color: #ffedd5;
}
.nle-block.orange.active {
    background-color: rgba(249, 115, 22, 0.25);
    border-color: rgba(249, 115, 22, 0.8);
    box-shadow: inset 0 0 4px rgba(249, 115, 22, 0.15);
}

.nle-block.blue {
    background-color: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
    color: #dbeafe;
}
.nle-block.blue.active {
    background-color: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.8);
    box-shadow: inset 0 0 4px rgba(59, 130, 246, 0.15);
}

.nle-block.red {
    background-color: rgba(225, 29, 59, 0.08);
    border-color: rgba(225, 29, 59, 0.25);
    color: #ffe4e6;
}
.nle-block.red.active {
    background-color: rgba(225, 29, 59, 0.18);
    border-color: rgba(225, 29, 59, 0.8);
    box-shadow: inset 0 0 4px rgba(225, 29, 59, 0.15);
}

.nle-block.green {
    background-color: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
    color: #d1fae5;
}
.nle-block.green.active {
    background-color: rgba(16, 185, 129, 0.25);
    border-color: rgba(16, 185, 129, 0.8);
    box-shadow: inset 0 0 4px rgba(16, 185, 129, 0.15);
}

.nle-block.purple {
    background-color: rgba(168, 85, 247, 0.08);
    border-color: rgba(168, 85, 247, 0.2);
    color: #faf5ff;
}

/* 5. Motion Design (AE panel) */
.motion-comp {
    width: 100%;
    height: 100%;
    background-color: #070707;
    border-radius: 4px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.motion-dots-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.02) 1.2px, transparent 1.2px);
    background-size: 10px 10px;
    pointer-events: none;
}

.motion-info-box {
    position: absolute;
    top: 6px;
    left: 6px;
    background-color: rgba(0,0,0,0.7);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 3px;
    padding: 4px 6px;
    font-family: var(--font-mono, monospace);
    font-size: 6px;
    color: rgba(255,255,255,0.4);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.motion-info-title {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 1px;
    margin-bottom: 1px;
    color: rgba(255,255,255,0.2);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.motion-info-val {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.motion-canvas {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.motion-circle-outline {
    position: absolute;
    width: 140px;
    height: 140px;
    border: 1px solid rgba(255,255,255,0.02);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.motion-box-outline {
    position: absolute;
    width: 105px;
    height: 105px;
    border: 0.8px dashed rgba(34, 211, 238, 0.25);
    pointer-events: none;
}

.motion-vector-g {
    transition: transform 0.05s linear;
}

.motion-vector-shape {
    fill: var(--accent-color);
    stroke: var(--accent-color);
    stroke-width: 0.5px;
    filter: drop-shadow(0 0 10px rgba(232, 99, 58, 0.4));
}

.motion-handle {
    position: absolute;
    width: 3.5px;
    height: 3.5px;
    background-color: #22d3ee;
    border: 0.5px solid #fff;
}
.motion-handle.tl { top: -2px; left: -2px; }
.motion-handle.tc { top: -2px; left: 50%; transform: translateX(-50%); }
.motion-handle.tr { top: -2px; right: -2px; }
.motion-handle.cl { top: 50%; left: -2px; transform: translateY(-50%); }
.motion-handle.cr { top: 50%; right: -2px; transform: translateY(-50%); }
.motion-handle.bl { bottom: -2px; left: -2px; }
.motion-handle.bc { bottom: -2px; left: 50%; transform: translateX(-50%); }
.motion-handle.br { bottom: -2px; right: -2px; }

/* 6. Sonoplastia (DAW mixer layout) */
.daw-mixer {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.daw-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0.4rem;
    min-height: 80px;
}

.daw-eq-panel {
    grid-column: span 8;
    background-color: #0b0b0b;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px;
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.daw-eq-title {
    font-family: var(--font-mono, monospace);
    font-size: 6px;
    color: rgba(255,255,255,0.25);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    padding-bottom: 0.2rem;
    display: flex;
    justify-content: space-between;
}

.daw-eq-canvas-wrapper {
    flex: 1;
    background-color: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.01);
    border-radius: 2px;
    position: relative;
}

.daw-eq-bg-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
}

.daw-eq-curve-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.daw-eq-dot-g {
    cursor: pointer;
    transition: transform 0.2s;
}

.daw-eq-dot-g:hover {
    transform: scale(1.15);
}

.daw-faders-panel {
    grid-column: span 4;
    background-color: #0b0b0b;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px;
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.daw-faders-header {
    font-family: var(--font-mono, monospace);
    font-size: 6px;
    color: rgba(255,255,255,0.25);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    padding-bottom: 0.2rem;
    display: flex;
    justify-content: space-between;
}

.daw-faders-container {
    flex: 1;
    display: flex;
    gap: 0.5rem;
    padding: 0.2rem 0;
}

.daw-fader-strip {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.daw-fader-label {
    font-family: var(--font-mono, monospace);
    font-size: 5px;
    color: rgba(255,255,255,0.2);
}

.daw-fader-meter {
    flex: 1;
    width: 4px;
    background-color: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 1px;
    padding: 0.5px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.5px;
}

.daw-meter-bar {
    width: 100%;
    height: 1px;
    border-radius: 0.2px;
    opacity: 0.05;
    background-color: rgba(255,255,255,0.1);
    transition: opacity 0.08s ease-out, background-color 0.08s;
}

.daw-meter-bar.active.cyan { background-color: #22d3ee; opacity: 1; box-shadow: 0 0 1px rgba(34,211,238,0.3); }
.daw-meter-bar.active.amber { background-color: #f59e0b; opacity: 1; }
.daw-meter-bar.active.red { background-color: #ef4444; opacity: 1; }

.daw-spectrum-panel {
    height: 60px;
    background-color: #090909;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px;
    margin-top: 0.4rem;
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.daw-spectrum-header {
    font-family: var(--font-mono, monospace);
    font-size: 6px;
    color: rgba(255,255,255,0.25);
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 3px;
}

.daw-spectrum-view {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5px;
    padding: 0.1rem;
    height: 32px;
}

.daw-spectrum-bar {
    flex: 1;
    background: linear-gradient(to top, rgba(232, 99, 58, 0.4) 0%, rgba(34, 211, 238, 0.8) 70%, #22d3ee 100%);
    border-radius: 0.5px 0.5px 0 0;
    height: 10%;
    transition: height 0.08s ease-out;
}

.daw-knobs-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-left: 1px solid rgba(255,255,255,0.05);
    padding-left: 0.4rem;
    margin-left: 0.4rem;
}

.daw-knob-strip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-family: var(--font-mono, monospace);
    font-size: 5px;
    color: rgba(255,255,255,0.4);
}

.daw-knob-circle {
    width: 6px;
    height: 22px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 3px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.daw-knob-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: var(--accent-color);
    position: absolute;
    box-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* 7. Color Grading (Compare Slider) */
.grading-slider {
    width: 100%;
    height: 100%;
    background-color: #121212;
    border-radius: 4px;
    position: relative;
    display: flex;
    overflow: hidden;
    cursor: col-resize;
}

.grading-layer {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grading-layer.raw {
    left: 0;
    filter: saturate(0.12) contrast(0.7) brightness(1.15);
    border-right: 0px;
    overflow: hidden;
    z-index: 10;
}

.grading-layer.raw-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(58,58,58,0.1);
    pointer-events: none;
}

.grading-layer.graded {
    left: 0;
    right: 0;
    width: 100%;
    filter: saturate(1.4) contrast(1.15) brightness(0.95);
    z-index: 5;
}

.grading-layer.graded::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top right, rgba(232, 99, 58, 0.08), transparent);
    pointer-events: none;
}

.grading-label {
    position: absolute;
    bottom: 8px;
    font-family: var(--font-mono, monospace);
    font-size: 7px;
    padding: 1.5px 5px;
    border-radius: 2px;
    z-index: 15;
    pointer-events: none;
    letter-spacing: 0.05em;
}

.grading-label.raw-lbl {
    left: 8px;
    background-color: rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.grading-label.graded-lbl {
    right: 8px;
    background-color: var(--accent-color);
    color: #fff;
    font-weight: 700;
}

.grading-center-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.2);
    font-family: var(--font-mono, monospace);
    font-size: 8px;
    letter-spacing: 0.1em;
    pointer-events: none;
    z-index: 12;
}

.grading-center-card.graded-card {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(232,99,58,0.3);
}

.grading-handle-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--accent-color);
    z-index: 20;
    pointer-events: none;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.grading-handle-button {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--accent-color);
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.5);
    cursor: ew-resize;
    color: #fff;
    font-size: 8px;
    pointer-events: auto;
}

/* ==========================================================================
   SOLUCOES DEDICADAS SECTION (2 cards grid)
   ========================================================================== */
.solutions-section {
    background-color: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6rem 1.5rem;
}

.solutions-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.section-intro-tag {
    font-family: var(--font-mono, monospace);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    display: block;
}

.section-intro-title {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.section-intro-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

.solution-card {
    background-color: #090909;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.solution-card:hover {
    border-color: rgba(232, 99, 58, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.solution-card-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background-color: rgba(232, 99, 58, 0.04);
    border-radius: 0 0 0 100%;
    pointer-events: none;
    transition: background-color 0.4s;
}

.solution-card:hover .solution-card-glow {
    background-color: rgba(232, 99, 58, 0.08);
}

.solution-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.solution-card-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(232, 99, 58, 0.12);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.25rem;
}

.solution-card-title {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 800;
}

.solution-card-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    font-weight: 300;
}

.solution-card-details {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5;
    margin-bottom: 2rem;
    font-weight: 300;
}

.solution-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono, monospace);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
    margin-top: auto;
}

.solution-card-link:hover {
    color: #fff;
}

.solution-card-link i {
    transition: transform 0.3s;
}

.solution-card-link:hover i {
    transform: translateX(3px);
}


/* ==========================================================================
   ALEM DO AUDIOVISUAL SECTION (3/4 cards grid)
   ========================================================================== */
.ecosystem-section {
    padding: 6rem 1.5rem;
}

.ecosystem-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .ecosystem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ecosystem-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ecosystem-card {
    background-color: #0b0b0b;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ecosystem-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 15px rgba(232, 99, 58, 0.01);
}

.ecosystem-card-img-wrapper {
    aspect-ratio: 21/9;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ecosystem-card-img {
    width: 100%;
    height: 100%;
    object-cover: cover;
    object-position: center;
    filter: saturate(0.15);
    transition: all 0.6s ease;
}

.ecosystem-card:hover .ecosystem-card-img {
    filter: saturate(1);
    transform: scale(1.04);
}

.ecosystem-card-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: rgba(0,0,0,0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    padding: 2px 6px;
    border-radius: 2px;
    font-family: var(--font-mono, monospace);
    font-size: 6px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    pointer-events: none;
}

.ecosystem-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ecosystem-card-title {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.ecosystem-card:hover .ecosystem-card-title {
    color: var(--accent-color);
}

.ecosystem-card-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    font-weight: 300;
}

.ecosystem-card-details {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.4;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.ecosystem-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono, monospace);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
    margin-top: auto;
}

.ecosystem-card-link:hover {
    color: #fff;
}

.ecosystem-card-link i {
    transition: transform 0.3s;
}

.ecosystem-card-link:hover i {
    transform: translateX(3px);
}
