/* CSS Reset and Variables */
:root {
    --bg-dark: #070310; /* Very dark background */
    --bg-card: rgba(20, 10, 40, 0.6); /* Glass effect background */
    --neon-pink: #00a8ff;
    --neon-purple: #0056b3;
    --neon-cyan: #00e5ff;
    --blue-loader: #007bff; /* Blue for scrollbar and loader */
    --text-main: #f0f0f0;
    --text-muted: #a0a0b5;
    --border-color: rgba(255, 255, 255, 0.1);
    
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Clash Display', sans-serif;
    --transition: all 0.3s ease;
}

h1, h2, h3, h4, h5, h6, .title, .section-title, .hero-title, .hero h1 {
    font-family: var(--font-heading);
    font-weight: 600;
}

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

html {
    /* Removed scroll-behavior: smooth to prevent conflicts with Lenis */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000000; /* Black track */
}

::-webkit-scrollbar-thumb {
    background: var(--blue-loader); /* Blue thumb */
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

html, body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typography & Utilities */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

p {
    color: var(--text-muted);
    font-size: 1rem;
}

.neon-text {
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-purple));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 168, 255, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 168, 255, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid var(--neon-pink);
    box-shadow: 0 0 10px rgba(0, 168, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(0, 168, 255, 0.1);
}

/* Badges */
.badge, .badge-text {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.badge {
    background: rgba(0, 168, 255, 0.15);
    color: var(--neon-pink);
    border: 1px solid rgba(0, 168, 255, 0.3);
}

.badge-text {
    color: var(--neon-pink);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Glassmorphism */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: rgba(7, 3, 16, 0.5); /* Levemente escura */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
    background: rgba(7, 3, 16, 0.7);
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    padding: 15px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--neon-pink);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}
.hero-text {
    flex: 0 0 50%;
    max-width: 50%;
    z-index: 3;
}

.hero-text h1 {
    font-size: 3.2rem;
}

.hero-image {
    flex: 0 0 60%;
    max-width: 60%;
    margin-right: -10%;
    position: relative;
    z-index: 1;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat strong {
    display: block;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 5px;
}

.stat span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    /* Soften the gradient to reduce banding */
    background: radial-gradient(circle, rgba(0, 86, 179, 0.15) 0%, rgba(7, 3, 16, 0) 60%);
    z-index: 1;
    pointer-events: none;
    filter: blur(20px); /* Additional blur helps reduce banding */
}

/* Mockup Graphic */
.mockup-glass {
    background: rgba(20, 10, 40, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 30px rgba(0, 168, 255, 0.1);
    backdrop-filter: blur(10px);
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mockup-chart {
    height: 120px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.bar {
    flex: 1;
    background: linear-gradient(180deg, var(--neon-purple), rgba(0, 86, 179, 0.1));
    border-radius: 4px 4px 0 0;
    transition: height 1s ease-out;
}
.bar-1 { height: 40%; }
.bar-2 { height: 70%; }
.bar-3 { height: 50%; }
.bar-4 { height: 90%; background: linear-gradient(180deg, var(--neon-pink), rgba(0, 168, 255, 0.1)); }

.mockup-cards {
    display: flex;
    gap: 10px;
}

.m-card {
    flex: 1;
    height: 60px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}

/* Strategies Section (Replaces old Parallax Info Section) */
.strategies-section {
    position: relative;
    padding: 200px 0;
    overflow-x: clip;
    overflow-y: visible;
    background: #05010d;
}

.strategies-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4%;
    max-width: 1250px;
    margin: 0 auto;
}

.strategies-visual {
    flex: 0 0 48%;
    position: relative;
    height: 750px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.strategies-text {
    flex: 0 0 48%;
}

.strategies-text h2 {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 22px;
}

.strategies-text h2 .neon-text {
    color: var(--neon-purple); /* Blue override for "funcionam" */
    background: none;
    -webkit-text-fill-color: var(--neon-purple);
}

.strategies-text p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 400px;
}

/* Animated Data Graphic */
#animated-data-graphic {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.data-graphic-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    max-width: 600px;
    position: relative;
    min-height: 400px;
}

.radar-graphic {
    position: absolute;
    width: 800px;
    height: 800px;
    right: 240px; /* Shift further left to give space to metrics */
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to right, transparent 20%, black 50%);
    mask-image: linear-gradient(to right, transparent 20%, black 50%);
}

.radar-circle {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(0, 168, 255, 0.15);
}
.radar-circle::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: rgba(0, 168, 255, 0.3);
    border-right-color: rgba(0, 168, 255, 0.1);
    animation: ring-spin linear infinite;
    pointer-events: none;
}

@keyframes ring-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* New sizes to match 800x800 */
.rc-1 { width: 160px; height: 160px; background: rgba(0, 168, 255, 0.05); }
.rc-1::before { animation-duration: 4s; }

.rc-2 { width: 320px; height: 320px; }
.rc-2::before { animation-duration: 6s; animation-direction: reverse; border-top-color: rgba(0, 168, 255, 0.2); border-right-color: transparent; border-bottom-color: rgba(0, 168, 255, 0.3); }

.rc-3 { width: 480px; height: 480px; }
.rc-3::before { animation-duration: 8s; }

.rc-4 { width: 640px; height: 640px; }
.rc-4::before { animation-duration: 10s; animation-direction: reverse; border-top-color: rgba(0, 168, 255, 0.1); border-right-color: transparent; border-left-color: rgba(0, 168, 255, 0.3); }

.rc-5 { width: 800px; height: 800px; border-color: rgba(0, 168, 255, 0.05); }
.rc-5::before { animation-duration: 12s; border-top-color: transparent; border-right-color: rgba(0, 168, 255, 0.3); border-bottom-color: rgba(0, 168, 255, 0.1); }

.radar-sweep {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 50%, rgba(0, 168, 255, 0.1) 70%, rgba(0, 168, 255, 0.4) 100%);
    animation: sweep 4s linear infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes sweep {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Info Row Layout (Restored for Design com Propósito) */
.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5%;
}

.info-row.reverse {
    flex-direction: row-reverse;
}

#design-proposito {
    background-color: transparent;
}

.floating-composition {
    flex: 0 0 52%; /* Slightly larger flex basis */
    position: relative;
    height: 650px; /* Increased from 550px */
    margin-right: 3%;
}

/* Browser Windows */
.browser-window {
    background: #0d1117;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
    position: absolute;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    
    transform: scale(var(--base-scale));
    opacity: var(--base-opacity);
    transition: transform 0.2s ease-out, opacity 0.8s ease, box-shadow 0.3s ease;
    will-change: transform;
    aspect-ratio: 16 / 10;
}

.browser-header {
    height: 24px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 6px;
    position: relative;
    z-index: 2;
}

.browser-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: subtleBlink 4s infinite alternate ease-in-out;
}

@keyframes subtleBlink {
    0% { opacity: 0.2; }
    100% { opacity: 1; }
}

.dot.close { background: #ff5f56; animation-delay: 0s; }
.dot.minimize { background: #ffbd2e; animation-delay: 0.8s; }
.dot.maximize { background: #27c93f; animation-delay: 1.6s; }

/* The magic auto-scrolling images */
.browser-window img {
    width: 100%;
    height: calc(100% - 24px);
    object-fit: cover;
    object-position: 50% 0%;
    display: block;
    animation: autoScrollWebsite 50s ease-in-out infinite alternate;
}

.browser-window.bg-top img {
    animation-duration: 40s;
}

.browser-window.main img {
    animation-duration: 60s;
}

.browser-window.bg-bottom img {
    animation-duration: 35s;
    animation-direction: alternate-reverse;
}

/* Hover pauses the scroll so the user can look! */
.browser-window:hover img {
    animation-play-state: paused;
}

@keyframes autoScrollWebsite {
    0% { object-position: 50% 0%; }
    100% { object-position: 50% 100%; }
}

.browser-window.bg-top {
    --base-scale: 0.85;
    --base-opacity: 0.5;
    width: 70%; /* Increased from 65% */
    top: 0;
    right: -5%; /* Adjusted to overflow slightly on the right */
    z-index: 1;
}

.browser-window.main {
    --base-scale: 1;
    --base-opacity: 1;
    width: 80%; /* Increased from 75% */
    top: 25%;
    left: -10%; /* Shifted more left for the larger size */
    z-index: 3;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.browser-window.bg-bottom {
    --base-scale: 0.9;
    --base-opacity: 0.7;
    width: 65%; /* Increased from 60% */
    bottom: 5%;
    right: -10%;
    z-index: 2;
}

/* Hover effects to enhance depth */
.floating-composition:hover .browser-window.bg-top {
    --base-opacity: 0.7;
}
.floating-composition:hover .browser-window.bg-bottom {
    --base-opacity: 0.9;
}

/* Initial state for entering animation */
.animate-fade-window {
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s ease;
    transition-delay: var(--anim-delay, 0s);
}

.animate-fade-window:not(.is-visible) {
    opacity: 0;
    transform: scale(var(--base-scale)) translateY(30px) !important;
}

.info-text {
    flex: 0 0 45%;
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.radar-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120px; height: 120px;
    background: rgba(0, 168, 255, 0.1);
    border: 1px solid rgba(0, 168, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.4);
}

.radar-center-inner {
    width: 60px; height: 60px;
    color: #00a8ff;
}

.radar-dots {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 4;
}

.radar-dot-wrapper {
    position: absolute;
    display: flex;
    align-items: center;
}
/* Place them on the right edge of each ring aligned with metrics' vertical centers */
.rdw-1 { left: calc(50% + 112px); top: calc(50% - 114px); }
.rdw-2 { left: calc(50% + 237px); top: calc(50% - 38px); }
.rdw-3 { left: calc(50% + 318px); top: calc(50% + 38px); }
.rdw-4 { left: calc(50% + 383px); top: calc(50% + 114px); }

.r-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border: 2px solid #00a8ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00a8ff;
    flex-shrink: 0;
    margin-top: -4px; /* Center dot vertically on the line */
    margin-left: -4px; /* Center dot horizontally on the circle */
}

.r-line {
    height: 1px;
    /* Lines go to the right */
    width: 250px;
    background: linear-gradient(90deg, rgba(0, 168, 255, 0.8), transparent);
    margin-left: -4px; /* Slight overlap with dot */
    z-index: -1;
}

.radar-metrics {
    flex: 0 0 220px;
    display: flex;
    flex-direction: column;
    gap: 35px;
    z-index: 2;
    position: relative;
    transform: translateX(40px); /* Push metrics slightly more to the right */
}

.dash-metric-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.metric-title {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 4px;
}

.metric-value-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.metric-value-row strong {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
}

.metric-value-row .pct-symbol {
    font-size: 1rem;
    color: #ddd;
    margin-left: -5px;
}

.metric-badge {
    font-size: 0.8rem;
    font-weight: 600;
}
.metric-badge.positive { color: #27c93f; }
.metric-badge.negative { color: #ff5f56; }

/* Responsive */
@media (max-width: 1024px) {
    .strategies-container {
        flex-direction: column;
        gap: 60px;
    }
    .strategies-visual, .strategies-text {
        flex: 1 1 auto;
        width: 100%;
    }
    .strategies-text {
        text-align: center;
        padding: 0 20px;
    }
    .strategies-text p {
        margin: 0 auto;
    }
    .strategies-visual {
        height: auto;
        padding: 40px 0;
    }
    #animated-data-graphic {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .strategies-section {
        padding: 140px 0 100px;
    }
    .strategies-text h2 {
        font-size: 32px;
    }
    .strategies-text p {
        font-size: 16px;
    }
    .data-graphic-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        min-height: 500px; /* added height to avoid clipping */
    }
    .radar-lines {
        display: none;
    }
    .dash-metric-item {
        align-items: center;
    }
    .radar-graphic {
        transform: translateY(-50%) scale(0.45); /* scale down to make it compact */
        right: 50%;
        margin-right: -150px; /* adjust horizontal position to keep it in the same 'half' relation */
    }
    .radar-metrics {
        transform: translateX(0); /* remove desktop shift so it centers */
        margin-top: 200px; /* push metrics down so they don't overlap with the radar graphic */
    }
}


/* Solutions */
.solutions {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: stretch;
    transition: var(--transition);
}

@media (max-width: 1100px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    transition: filter 0.6s ease, transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    height: 100%;
    min-height: 300px;
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(0deg, #007bff, #00e5ff);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: rotateGradient 4s linear infinite;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
}

.card > * {
    position: relative;
    z-index: 2;
}

@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Card Icons and Animations */
.card-icon {
    position: relative;
    margin-bottom: 20px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

/* 1. Design de Conversão (Mouse Click) */
.icon-click .cursor-pointer {
    transform-origin: center;
}
.card:hover .icon-click .cursor-pointer {
    animation: mouseClick 0.4s ease forwards;
}
@keyframes mouseClick {
    0% { transform: scale(1); }
    50% { transform: scale(0.85); }
    100% { transform: scale(1); }
}

.burst-line {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--neon-pink);
    border-radius: 50%;
    opacity: 0;
    top: 50%;
    left: 50%;
}
.card:hover .icon-click .b1 { animation: burst1 0.6s ease-out 0.2s forwards; }
.card:hover .icon-click .b2 { animation: burst2 0.6s ease-out 0.2s forwards; }
.card:hover .icon-click .b3 { animation: burst3 0.6s ease-out 0.2s forwards; }

@keyframes burst1 { 0% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 100% { transform: translate(-20px, -20px) scale(0); opacity: 0; } }
@keyframes burst2 { 0% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 100% { transform: translate(10px, -25px) scale(0); opacity: 0; } }
@keyframes burst3 { 0% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 100% { transform: translate(-25px, 10px) scale(0); opacity: 0; } }

/* 2. Tráfego Pago (Funil) */
.icon-funnel .falling-items {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 30px;
    overflow: hidden;
    z-index: 1;
}
.icon-funnel .falling-items span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--neon-purple);
    border-radius: 50%;
    top: -5px;
    left: 50%;
    opacity: 0;
}
.card:hover .icon-funnel .falling-items span:nth-child(1) { animation: fallItem 1s infinite 0.1s; left: 30%; }
.card:hover .icon-funnel .falling-items span:nth-child(2) { animation: fallItem 1s infinite 0.4s; left: 70%; background: var(--neon-pink); }
.card:hover .icon-funnel .falling-items span:nth-child(3) { animation: fallItem 1s infinite 0.7s; left: 50%; }
@keyframes fallItem {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(30px); opacity: 0; }
}

/* 3. Social Media (Monitor) */
.icon-monitor .monitor-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 14px;
    height: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    justify-content: center;
    align-content: center;
    z-index: 3;
}
.m-square {
    width: 4px;
    height: 4px;
    background: var(--neon-purple);
    opacity: 0;
    border-radius: 1px;
}
.card:hover .icon-monitor .m-square {
    animation: popSquare 1.5s infinite;
}
.card:hover .icon-monitor .m-sq-1 { animation-delay: 0s; }
.card:hover .icon-monitor .m-sq-2 { animation-delay: 0.3s; background: var(--neon-pink); }
.card:hover .icon-monitor .m-sq-3 { animation-delay: 0.6s; }
@keyframes popSquare {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1); }
}

/* 4. Inbound Marketing (Brain) */
.icon-brain .brain-pulses {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    z-index: 3;
    pointer-events: none;
}
.brain-pulses span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--neon-pink);
    border-radius: 50%;
    opacity: 0;
}
.card:hover .icon-brain .brain-pulses span:nth-child(1) { top: 4px; left: 8px; animation: pulseNode 1.5s infinite 0s; }
.card:hover .icon-brain .brain-pulses span:nth-child(2) { top: 18px; left: 20px; animation: pulseNode 1.5s infinite 0.5s; background: var(--neon-purple); }
.card:hover .icon-brain .brain-pulses span:nth-child(3) { top: 12px; left: 12px; animation: pulseNode 1.5s infinite 1s; }
@keyframes pulseNode {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 8px var(--neon-pink); }
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 168, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4), inset 0 0 15px rgba(0, 168, 255, 0.2);
}

.card:hover h3, .card:hover p {
    color: white;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(0, 168, 255, 0.05); /* Made even lighter */
    color: var(--neon-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.card-icon svg {
    transition: filter 0.4s ease;
}

.card:hover .card-icon {
    transform: translateY(-8px);
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

.card:hover .card-icon svg {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));
}

/* Layer Icon Animations */
.layer-icon polygon, .layer-icon polyline {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover .layer-top {
    transform: translateY(-4px);
}
.card:hover .layer-bot {
    transform: translateY(4px);
}

/* Why Us Section */
.why-us {
    padding: 100px 0 20px;
    background: linear-gradient(180deg, rgba(7,3,16,1) 0%, rgba(20,10,40,0.5) 50%, rgba(7,3,16,1) 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
}

.avatar-large {
    height: 300px;
    background: url('https://images.unsplash.com/photo-1560250097-0b93528c311a?q=80&w=800&auto=format&fit=crop') center/cover;
}

.profile-info {
    padding: 30px;
}

.profile-info h4 {
    margin-bottom: 15px;
}

.profile-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.check {
    color: var(--neon-cyan);
    font-weight: bold;
}

.steps {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.step {
    display: flex;
    gap: 20px;
}

.step-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.2);
}

.step h4 {
    margin-bottom: 5px;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
}

.testimonial-card {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-content {
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: translateX(0);
}

.testimonial-content.slide-out-left {
    opacity: 0;
    transform: translateX(-50px);
}

.testimonial-content.slide-out-right {
    opacity: 0;
    transform: translateX(50px);
}

.testimonial-content.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
}

.testimonial-content.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
}

.stars {
    color: #ffbd2e;
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.quote {
    font-size: 1.2rem;
    color: white;
    font-style: italic;
    margin-bottom: 30px;
    min-height: 90px;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 20px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 168, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.author-details strong {
    color: white;
    font-size: 1.1rem;
}

.author-details span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.author-details .company-name {
    font-size: 0.8rem;
    opacity: 0.8;
}

.carousel-controls {
    display: flex;
    gap: 10px;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--neon-pink);
    border-color: var(--neon-pink);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background: #555555;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    width: 30px;
    background: #007bff; /* blue */
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    position: relative;
}

.cta-box {
    text-align: center;
    padding: 60px;
    background: linear-gradient(135deg, rgba(20, 10, 40, 0.8), rgba(7, 3, 16, 0.9));
    border: 1px solid rgba(0, 168, 255, 0.3);
    box-shadow: 0 0 50px rgba(0, 168, 255, 0.15);
}

.cta-form {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.cta-form input {
    padding: 12px 20px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background: rgba(0,0,0,0.3);
}

/* Portfolio Transition Section */
.portfolio-transition {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.notebook-wrapper {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 2000px;
    z-index: 10;
    overflow: hidden;
}

.notebook-3d {
    position: relative;
    width: 900px;
    max-width: 90vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

.notebook-screen {
    position: relative;
    width: 100%;
    transform-origin: bottom center;
    transform: rotateX(-80deg);
    transform-style: preserve-3d;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.notebook-base {
    position: relative;
    width: 100%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: -2px; /* Slight overlap to hide any gap */
}

.notebook-screen canvas, .notebook-base canvas {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.8));
}

.notebook-screen-overlay {
    position: absolute;
    top: 5.5%;
    left: 4.5%;
    width: 91%;
    height: 87%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
}

.mini-portfolio {
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mini-section-header {
    margin-bottom: 15px;
    text-align: center;
}

.mini-section-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

/* Swiper Coverflow Styles Removed */

.cta-form input:focus {
    outline: none;
    min-width: 250px;
}

.cta-form input:focus {
    border-color: var(--neon-pink);
}

/* Footer */
.footer {
    padding: 80px 0 30px;
    background-color: #ffffff;
    color: #333333;
}

/* Configuração do rodapé em 3 blocos iguais */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand p {
    margin-top: 15px;
    max-width: 300px;
    color: #555555;
}

.footer h4 {
    color: #111111;
    margin-bottom: 20px;
}

.footer ul li {
    margin-bottom: 10px;
    color: #555555;
}

.footer ul li a {
    color: #555555;
}

.footer ul li a:hover {
    color: var(--neon-pink);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.1);
    color: #777777;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    .hero-text, .hero-image {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .hero-image-img {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }
    .hero-text {
        text-align: center;
    }
    .hero-actions, .hero-stats {
        justify-content: center;
    }
    h1 {
        font-size: 2.8rem;
    }
    
    .info-row {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .info-row.reverse {
        flex-direction: column-reverse;
        text-align: center;
        gap: 120px; /* added more gap to push images down so they don't overlap text */
    }
    
    .floating-composition {
        transform: scale(0.85); /* scale a bit down to fit nicely */
        margin-bottom: 30px; /* added positive margin to increase spacing with the next section */
    }
    
    .info-image-wrapper {
        height: 300px;
    }
    
    .info-image-wrapper.expand-left,
    .info-image-wrapper.expand-right {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.5rem;
    }
    .container {
        padding: 0 10px;
    }
    .hero {
        padding: 120px 0 60px; /* Reduced from 180px top padding */
    }
    .nav-btn {
        display: none;
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: rgba(7, 3, 16, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 999;
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        margin: 0;
    }
    .nav-links.active {
        right: 0;
    }
    .mobile-menu-btn {
        display: flex;
        position: relative;
        z-index: 1001;
    }
    /* Hamburger icon animation when active */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .footer-brand .logo {
        justify-content: center;
    }
    .footer-brand p {
        margin: 15px auto 0;
    }
    .footer-contact ul, .footer-links ul {
        align-items: center;
    }
    
    .cta-box h2 .neon-text {
        white-space: nowrap;
    }
    .cta-box h2 {
        font-size: 2rem;
    }

    .cta-form {
        flex-direction: column;
    }
    .cta-form input, .cta-form button {
        width: 100%;
    }
    
    .carousel-dots-mobile {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
        width: 100%;
    }
    
    /* Carrossel O Que Fazemos */
    .cards-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
        gap: 15px;
        -webkit-overflow-scrolling: touch;
        /* Sobrescreve o grid de 1 coluna original no max-width: 600px/768px */
        grid-template-columns: none;
    }
    .cards-grid .card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
    .cards-grid::-webkit-scrollbar {
        display: none;
    }

    /* Carrossel Processo */
    .process-cards-container {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        height: auto;
        perspective: none;
        padding-bottom: 20px;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }
    .process-card {
        position: relative;
        flex: 0 0 85%;
        height: 320px;
        transform: none !important;
        opacity: 1 !important;
        scroll-snap-align: center;
        z-index: 1 !important;
        box-shadow: none !important;
        margin-right: 10px;
    }
    .process-cards-container::-webkit-scrollbar {
        display: none;
    }

    /* Gráfico Estratégias */
    .strategies-section {
        padding: 120px 0 80px;
    }
    .data-graphic-container {
        flex-direction: column;
        align-items: flex-end;
        position: relative;
        overflow: visible; /* Changed from hidden to visible to prevent clipping */
        min-height: 450px;
        z-index: 10; /* Ensure it stays above other sections */
    }
    .radar-graphic {
        position: absolute;
        top: 50%;
        left: -120px;
        right: auto;
        transform: translateY(-50%) scale(0.3);
        transform-origin: left center;
        -webkit-mask-image: linear-gradient(to right, black 40%, transparent 80%);
        mask-image: linear-gradient(to right, black 40%, transparent 80%);
    }
    .radar-metrics {
        transform: translateX(0);
        width: 100%;
        position: relative;
        z-index: 5;
        gap: 25px;
        margin-top: 20px;
    }
    .dash-metric-item {
        align-items: flex-end;
        text-align: right;
        width: 100%;
    }
    /* O círculo na esquerda cria uma barriga pra direita. Textos acompanhando isso: */
    /* Item 1 e 4 (topo e base) vão mais para a esquerda (maior padding-right) */
    /* Item 2 e 3 (meio) vão mais para a direita (menor padding-right, fugindo da barriga) */
    .dash-metric-item:nth-child(1) { padding-right: 40px; }
    .dash-metric-item:nth-child(2) { padding-right: 0px; }
    .dash-metric-item:nth-child(3) { padding-right: 0px; }
    .dash-metric-item:nth-child(4) { padding-right: 40px; }
    .metric-value-row {
        justify-content: flex-end;
    }
}

/* Utilities for animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Page Loader */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--blue-loader);
    z-index: 9999;
    transition: width 0.4s ease-out;
    box-shadow: 0 0 10px var(--blue-loader);
}

/* Logo Image */
.header .logo-img {
    max-height: 50px;
    width: auto;
    display: block;
}

.footer .logo-img {
    max-height: 80px;
    width: auto;
    display: block;
}

.hero-image-img {
    width: 110%;
    max-width: 110%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.1s linear;
    transform: scale(1.15);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* ==========================================================================
   MacBook Immersion Section
   ========================================================================== */

.macbook-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0;
}

.macbook-perspective-container {
    perspective: 3000px;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.macbook-wrapper {
    position: relative;
    width: 900px;
    max-width: 90vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-style: preserve-3d;
    --glow-opacity: 1;
}

.macbook-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(-50px);
    width: 120%;
    padding-top: 120%;
    background: radial-gradient(circle, rgba(100, 100, 100, 0.15) 0%, rgba(100, 100, 100, 0) 65%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    opacity: var(--glow-opacity);
}

.macbook-lid-wrapper {
    position: relative;
    width: 100%;
    transform-origin: center bottom;
    transform-style: preserve-3d;
    z-index: 2;
}

.macbook-screen-img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
    position: relative;
    z-index: 1;
}

.screen-content {
    position: absolute;
    top: 5.5%;
    left: 4.5%;
    width: 91%;
    height: 87%;
    background: #ffffff;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    z-index: 4;
    border-radius: 4px;
}

.macbook-container-inner {
    width: 100vw;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-origin: top center;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.macbook-base-wrapper {
    position: relative;
    width: 104%;
    z-index: 5;
    margin-top: -2px; /* Apenas para juntar ponta com ponta sem sobrepor muito */
    transform: translateZ(10px);
}

.macbook-base-img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
}

/* Portfolio Grid */
.portfolio-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-card-new {
    width: 100%;
    padding-top: 110%;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: background-position 2s ease-in-out, transform 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.portfolio-card-new:hover {
    background-position: center bottom;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 168, 255, 0.4);
    border-color: rgba(0, 168, 255, 0.5);
}

.portfolio-card-new .card-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(0deg, rgba(7,3,16,0.9), transparent);
    color: white;
    font-weight: 600;
    text-align: center;
    transition: bottom 0.3s ease;
}

.portfolio-card-new:hover .card-overlay {
    bottom: 0;
}

@media (max-width: 992px) {
    .portfolio-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-grid-new {
        grid-template-columns: 1fr;
    }
}

/* Portfolio Modal */
.portfolio-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-modal.show {
    display: flex;
    opacity: 1;
    justify-content: center;
    align-items: center;
}

.portfolio-modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
}

.portfolio-modal-close:hover {
    color: var(--neon-purple);
}

.portfolio-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
}

.portfolio-modal-scroll-area {
    width: 100%;
    height: 100%;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.portfolio-modal-scroll-area:active {
    cursor: grabbing;
}

#portfolio-modal-img {
    width: 100%;
    height: auto;
    display: block;
    user-select: none;
}

/* New Process Section */
.process-section {
    padding: 100px 0 20px 0;
    position: relative;
    background: linear-gradient(to bottom, transparent 0%, #010a17 100%); /* Integra suavemente com a seção acima e desce para um azul bem escuro */
    z-index: 1;
}
.process-section::before {
    content: '';
    position: absolute;
    width: 900px;
    height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.08) 0%, transparent 70%); /* Menos forte, menos azulado */
    z-index: 0;
    pointer-events: none;
}
@keyframes pulseGlow1 {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

.process-section::before {
    top: -200px;
    left: -450px; /* Jogado mais para a esquerda, centro na borda */
    animation: pulseGlow1 8s infinite ease-in-out;
}
.process-wrapper-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    max-width: 1100px;
    margin: 0 auto 80px auto;
    position: relative;
    z-index: 2;
}
.process-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}
.process-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}
.process-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}
.process-cards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 320px;
    perspective: 1200px;
    max-width: 1000px;
    margin: 0 auto;
}
.process-card {
    width: 300px;
    height: 300px;
    background: #0d1117;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 25px;
    position: absolute;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    cursor: pointer;
}
.card-center {
    z-index: 2;
    transform: translateX(0) scale(1.05);
}
.card-left {
    z-index: 1;
    transform: translateX(-260px) rotate(-6deg) scale(0.9);
    opacity: 0.8;
}
.card-right {
    z-index: 1;
    transform: translateX(260px) rotate(6deg) scale(0.9);
    opacity: 0.8;
}

.card-center:hover {
    z-index: 3;
    transform: translateX(0) scale(1.1);
    opacity: 1;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}
.card-left:hover {
    z-index: 1; /* Keep below card-center */
    transform: translateX(-320px) rotate(0) scale(1.0); /* Push further left to detach completely */
    opacity: 1;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}
.card-right:hover {
    z-index: 1; /* Keep below card-center */
    transform: translateX(320px) rotate(0) scale(1.0); /* Push further right to detach completely */
    opacity: 1;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.card-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-purple, #007bff);
}
.card-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}
.process-card:hover .card-icon-circle {
    border-color: var(--neon-purple, #007bff);
    color: var(--neon-purple, #007bff);
}
.process-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #fff;
}
.process-card p {
    font-size: 0.9rem;
    color: #a0a0b5;
    margin-bottom: 20px;
    flex: 0 0 auto;
}
.card-inner-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: top center;
}

/* MOBILE OVERRIDES - BOTTOM */
@media (max-width: 768px) {
    /* Process section specific overrides */
    .process-header h2 { font-size: 2rem !important; }
    .process-cards-container {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 10px !important;
        height: auto !important;
        perspective: none !important;
        padding-bottom: 20px !important;
        justify-content: flex-start !important;
        cursor: grab;
    }
    .process-card {
        position: static !important;
        flex: 0 0 92% !important;
        height: auto !important;
        min-height: 320px !important;
        transform: none !important;
        opacity: 1 !important;
        scroll-snap-align: center !important;
        z-index: 1 !important;
        box-shadow: none !important;
        margin: 0 !important;
    }
    .card-left, .card-center, .card-right {
        transform: none !important;
    }
    
    /* O que fazemos cards */
    .cards-grid {
        cursor: grab;
    }
    .cards-grid .card h3 {
        font-size: 1.1rem !important;
        white-space: nowrap !important;
    }
    .cards-grid .card {
        min-height: 300px !important;
    }
    
    /* Design com proposito */
    .design-section {
        padding-bottom: 80px !important;
    }
    .floating-composition {
        height: 500px !important;
        width: 100% !important;
        transform: scale(0.8) !important;
        transform-origin: top center !important;
        margin: 100px auto 40px !important;
    }
    .info-row, .info-row.reverse { 
        gap: 60px !important; 
        flex-direction: column-reverse !important;
    }
    
    /* Estrategias que funcionam */
    .radar-graphic {
        transform: translateY(-50%) scale(0.75) !important;
        left: -280px !important;
    }
    .radar-metrics {
        transform: translateY(-80px) !important;
        gap: 12px !important;
    }
    .dash-metric-item:nth-child(1) { padding-right: 25px !important; }
    .dash-metric-item:nth-child(2) { padding-right: 0px !important; }
    .dash-metric-item:nth-child(3) { padding-right: 0px !important; }
    .dash-metric-item:nth-child(4) { padding-right: 25px !important; }

    /* CTA Section */
    .cta-box h2 {
        font-size: 1.5rem !important;
    }
    .cta-box h2 .neon-text {
        white-space: normal !important;
    }
    .footer-copyright {
        font-size: 0.8rem !important;
        white-space: nowrap !important;
    }

    /* Process Wrapper Card smaller margin on mobile */
    .process-wrapper-card {
        margin-bottom: 30px !important;
        padding: 25px !important;
    }

    /* Mobile Active Styles for O Que Fazemos */
    .card.mobile-active::before { opacity: 1; }
    .card.mobile-active .icon-click .cursor-pointer { animation: mouseClick 0.4s ease forwards; }
    .card.mobile-active .icon-click .b1 { animation: burst1 0.6s ease-out 0.2s forwards; }
    .card.mobile-active .icon-click .b2 { animation: burst2 0.6s ease-out 0.2s forwards; }
    .card.mobile-active .icon-click .b3 { animation: burst3 0.6s ease-out 0.2s forwards; }
    .card.mobile-active .icon-funnel .falling-items span:nth-child(1) { animation: fallItem 1s infinite 0.1s; left: 30%; }
    .card.mobile-active .icon-funnel .falling-items span:nth-child(2) { animation: fallItem 1s infinite 0.4s; left: 70%; background: var(--neon-pink); }
    .card.mobile-active .icon-funnel .falling-items span:nth-child(3) { animation: fallItem 1s infinite 0.7s; left: 50%; }
    .card.mobile-active .icon-monitor .m-square { animation: popSquare 1.5s infinite; }
    .card.mobile-active .icon-monitor .m-sq-1 { animation-delay: 0s; }
    .card.mobile-active .icon-monitor .m-sq-2 { animation-delay: 0.3s; background: var(--neon-pink); }
    .card.mobile-active .icon-monitor .m-sq-3 { animation-delay: 0.6s; }
    .card.mobile-active .icon-brain .brain-pulses span:nth-child(1) { top: 4px; left: 8px; animation: pulseNode 1.5s infinite 0s; }
    .card.mobile-active .icon-brain .brain-pulses span:nth-child(2) { top: 18px; left: 20px; animation: pulseNode 1.5s infinite 0.5s; background: var(--neon-purple); }
    .card.mobile-active .icon-brain .brain-pulses span:nth-child(3) { top: 12px; left: 12px; animation: pulseNode 1.5s infinite 1s; }
    
    .card.mobile-active {
        border-color: rgba(0, 168, 255, 0.5);
        box-shadow: 0 10px 30px rgba(0,0,0,0.4), inset 0 0 15px rgba(0, 168, 255, 0.2);
    }
    .card.mobile-active h3, .card.mobile-active p { color: white; }
    .card.mobile-active .card-icon {
        color: white;
        background: rgba(255, 255, 255, 0.2);
    }
    .card.mobile-active .card-icon svg { filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9)); }
    
    /* Mobile Active Styles for Processos */
    .process-card.mobile-active .card-icon-circle {
        border-color: var(--neon-purple, #007bff);
        color: var(--neon-purple, #007bff);
    }
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

/* Fix CTA Input Text Color and Prevent iOS Zoom */
.cta-form input {
    color: #ffffff !important;
    font-size: 16px !important;
}
