:root {
  /* Colors */
  --color-background: #0B0F19; /* Deep dark blue/black */
  --color-surface: #131B2C;
  --color-surface-hover: #1E293B;
  --color-primary: #EC4899; /* Neon Pink */
  --color-secondary: #F472B6;
  --color-accent: #0891B2; /* Cyan */
  --color-text-main: #FFFFFF;
  --color-text-muted: #94A3B8;
  --color-border: rgba(255, 255, 255, 0.1);
  --color-glow-pink: rgba(236, 72, 153, 0.3);
  --color-glow-cyan: rgba(8, 145, 178, 0.3);

  /* Typography */
  --font-heading: 'Archivo', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Shadows */
  --shadow-glow: 0 0 20px var(--color-glow-pink);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-background);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: var(--color-text-main);
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: var(--space-2xl);
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--space-md) 0;
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-logo {
  height: 24px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
  position: relative;
  align-items: center;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  z-index: 1;
  padding: 8px 16px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-indicator {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 36px;
  background: rgba(236, 72, 153, 0.15); /* Pink glass */
  border: 1px solid rgba(236, 72, 153, 0.3);
  border-radius: 20px;
  z-index: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  pointer-events: none;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Animations for slide contents */
.slide .hero-content > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide.active .hero-content > * {
  opacity: 1;
  transform: translateY(0);
}

.slide.active .greeting { transition-delay: 0.3s; }
.slide.active .hero-title { transition-delay: 0.5s; }
.slide.active .hero-subtitle { transition-delay: 0.7s; }
.slide.active .hero-cta { transition-delay: 0.9s; }

/* Slider Navigation Dots */
.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.dot.active {
  background: var(--color-primary);
  transform: scale(1.2);
  box-shadow: 0 0 10px var(--color-primary);
}

/* Background Video */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  z-index: -3;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 15, 25, 0.85); /* Escurece bastante para não matar os contrastes neon */
  z-index: -2;
}

/* Background Gradients */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--color-glow-pink) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  mix-blend-mode: screen;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--color-glow-cyan) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  mix-blend-mode: screen;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.greeting {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-title {
  font-size: 5rem;
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.highlight-white {
  background: linear-gradient(135deg, #fff, var(--color-text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight-neon {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  font-family: var(--font-body);
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border: 1px solid var(--color-primary);
  box-shadow: 0 0 15px var(--color-glow-pink);
}

.btn-primary:hover {
  background: transparent;
  box-shadow: 0 0 25px var(--color-glow-pink);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: 0 0 20px var(--color-glow-cyan);
  transform: translateY(-2px);
}

/* Portfolio / Projects Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
}

.project-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: var(--space-xl);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary);
  box-shadow: 0 10px 30px var(--color-glow-pink);
}

.project-icon {
  font-size: 3rem;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
}

.project-title {
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
  color: #fff;
}

.project-desc {
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-link i {
  transition: transform 0.3s ease;
}

.project-link:hover i {
  transform: translateX(4px);
}

/* Agencies Section Layout */
.agencies-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 40px;
}

.agency-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

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

.agency-visual {
    flex: 1;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
}

.agency-visual-inner {
    height: 400px;
    background: var(--color-surface);
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.agency-row:hover .agency-visual-inner {
    transform: scale(1.02);
}

.bg-vocenogoogle::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 15, 25, 0.9), rgba(6, 182, 212, 0.2)), url('vocenogoogle_bg.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.bg-ranking::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 15, 25, 0.9), rgba(236, 72, 153, 0.2)), url('ranking_bg.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.agency-visual-inner i {
    font-size: 5rem;
    margin-bottom: 20px;
    color: var(--color-text-main);
    position: relative;
    z-index: 1;
}

.bg-vocenogoogle i { color: var(--color-primary); }
.bg-ranking i { color: var(--color-accent); }

.agency-visual-inner h3 {
    font-size: 2.5rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.agency-info {
    flex: 1;
}

.agency-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(236, 72, 153, 0.15);
    color: var(--color-accent);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.bg-vocenogoogle-tag { background: rgba(6, 182, 212, 0.15); color: var(--color-primary); }

.agency-title {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.agency-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
}

.agency-features {
    list-style: none;
    margin-bottom: 40px;
}

.agency-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    color: var(--color-text-main);
}

.agency-features li i {
    color: var(--color-primary);
    font-weight: bold;
}

.agency-btn {
    border-radius: 30px;
}

@media (max-width: 992px) {
    .agency-row {
        flex-direction: column;
        gap: 40px;
    }
    .agency-row.reverse {
        flex-direction: column;
    }
    .agency-visual-inner {
        height: 300px;
    }
}

/* About / Timeline Section */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  width: 2px;
  height: 100%;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  padding-left: 80px;
  margin-bottom: var(--space-2xl);
}

.timeline-dot {
  position: absolute;
  top: 0;
  left: 21px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-background);
  border: 2px solid var(--color-primary);
  box-shadow: 0 0 10px var(--color-glow-pink);
}

.timeline-content {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: var(--space-lg);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline-content:hover {
  border-color: var(--color-accent);
  transform: translateX(10px);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xs);
}

.timeline-date {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.company-name {
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

/* Niches Grid Layout */
.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 80px auto;
}

.dashboard-container {
    display: flex;
    gap: var(--space-2xl);
    align-items: stretch;
}

.dashboard-sidebar {
    width: 330px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-right: 1px solid var(--color-border);
    padding-right: var(--space-xl);
}

.dashboard-tab {
    padding: 16px 20px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--color-text-muted);
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    background: transparent;
}

.dashboard-tab i {
    font-size: 1.4rem;
}

.dashboard-tab:hover {
    background: rgba(255,255,255,0.02);
    color: var(--color-text-main);
}

.dashboard-tab.active {
    background: rgba(6, 182, 212, 0.08);
    border-color: rgba(6, 182, 212, 0.2);
    color: var(--color-primary);
}

.dashboard-display {
    flex: 1;
    position: relative;
    background: rgba(11, 15, 25, 0.6);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 60px 50px;
    overflow: hidden;
}

.dashboard-panel {
    display: none;
    animation: fadeInPanel 0.4s ease forwards;
}

.dashboard-panel.active {
    display: block;
}

@keyframes fadeInPanel {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236,72,153,0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.dashboard-panel .panel-icon {
    font-size: 4rem;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
}

.dashboard-panel h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: #fff;
    position: relative;
    z-index: 1;
}

.dashboard-panel p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.panel-metrics {
    display: flex;
    gap: var(--space-2xl);
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
}

.metric span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric strong {
    font-size: 1.2rem;
    color: var(--color-accent);
    font-weight: 700;
}

@media (max-width: 992px) {
    .dashboard-container {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        width: 100%;
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding-right: 0;
        padding-bottom: var(--space-md);
        overflow-x: auto;
        white-space: nowrap;
        /* Hide scrollbar */
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .dashboard-sidebar::-webkit-scrollbar {
        display: none;
    }
    
    .dashboard-tab {
        flex-shrink: 0;
        padding: 12px 16px;
    }
    
    .dashboard-display {
        padding: 40px 30px;
    }
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.skill-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: var(--space-lg);
  text-align: center;
  transition: all 0.3s ease;
}

.skill-card:hover {
  border-color: var(--color-primary);
  background: var(--color-surface-hover);
}

.skill-card i {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(11, 15, 25, 0.4);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(236, 72, 153, 0.3);
}

.faq-item.active {
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.15);
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.faq-question i {
    font-size: 1.2rem;
    color: var(--color-primary);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-item.active .faq-question {
    color: var(--color-primary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    padding: 0 24px;
    color: var(--color-text-muted);
    transition: max-height 0.4s ease, padding 0.4s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Suficiente para o texto */
    padding: 0 24px 24px 24px;
    opacity: 1;
    transition: max-height 0.5s ease, padding 0.5s ease, opacity 0.5s ease;
}

/* Contact Footer */
.contact-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  text-align: center;
  padding: 80px 0;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px var(--color-glow-pink);
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Stats Section */
.stats-section {
  padding: 40px 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  text-align: center;
}

.stat-item {
  padding: var(--space-md);
}

.stat-number {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--space-xs);
  line-height: 1.2;
}

.stat-item p {
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

/* About Section */
.about-container {
  display: flex;
  align-items: center;
  gap: var(--space-3xl);
}

.about-content {
  flex: 1;
}

.about-content p {
  margin-bottom: var(--space-lg);
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

.about-content strong {
  color: #fff;
}

.about-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glass-skill-card {
  width: 100%;
  max-width: 400px;
  background: rgba(11, 15, 25, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(236, 72, 153, 0.1);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.glass-skill-card:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-5px);
  border-color: var(--color-accent);
}

.glass-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 15px;
}

.glass-header i {
  font-size: 2rem;
  color: var(--color-primary);
}

.glass-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.skill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.skill-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.skill-list li i {
  color: var(--color-accent);
  font-size: 1.2rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.service-card {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: var(--space-xl);
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 5px 25px var(--color-glow-cyan);
  transform: translateY(-5px);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Tech Slash Divider */
.tech-slash {
  position: relative;
  background: var(--color-surface);
  margin-top: -6vw; /* Pull up to overlap */
  padding-top: calc(var(--space-3xl) + 6vw) !important;
  clip-path: polygon(0 6vw, 100% 0, 100% 100%, 0 100%);
  z-index: 10;
}

.tech-slash.bg-dark {
  background: var(--color-background);
}

/* Glowing Neon Line for Tech Slash */
.tech-slash::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6vw;
  background: linear-gradient(to right, var(--color-primary), var(--color-accent));
  clip-path: polygon(0 6vw, 100% 0, 100% 3px, 0 calc(6vw + 3px));
  z-index: 20;
}

.tech-slash::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6vw;
  background: var(--color-primary);
  clip-path: polygon(0 6vw, 100% 0, 100% 12px, 0 calc(6vw + 12px));
  filter: blur(12px);
  opacity: 0.8;
  z-index: 19;
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    width: 100%;
}

.bento-card {
    background: rgba(11, 15, 25, 0.4);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: var(--space-2xl);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(var(--color-primary-rgb), 0.2);
}

.bento-card i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--color-text-main);
}

.bento-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Specific Bento Placements */
.bento-1 {
    grid-column: span 2;
    grid-row: span 2;
    justify-content: center;
    background-image: linear-gradient(to top, rgba(11, 15, 25, 0.9) 20%, rgba(11, 15, 25, 0.4) 100%), url('bento-seo.png');
    background-size: cover;
    background-position: center;
}
.bento-1 i { font-size: 3.5rem; }
.bento-1 h3 { font-size: 2rem; }

.bento-2 {
    grid-column: span 2;
    grid-row: span 1;
    background-image: linear-gradient(135deg, rgba(11, 15, 25, 0.95) 0%, rgba(11, 15, 25, 0.6) 100%), url('bg-step1.png');
    background-size: cover;
    background-position: center;
}

.bento-3 {
    grid-column: span 1;
    grid-row: span 1;
    background: radial-gradient(circle at top right, rgba(236, 72, 153, 0.15) 0%, rgba(11, 15, 25, 0.4) 80%);
}

.bento-4 {
    grid-column: span 1;
    grid-row: span 1;
    background: radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.15) 0%, rgba(11, 15, 25, 0.4) 80%);
}

.bento-5 {
    grid-column: span 4;
    grid-row: span 1;
    flex-direction: row;
    align-items: center;
    gap: var(--space-xl);
    background-image: linear-gradient(to right, rgba(11, 15, 25, 0.95) 30%, rgba(11, 15, 25, 0.3) 100%), url('bg-step4.png');
    background-size: cover;
    background-position: center;
}
.bento-5 i { margin-bottom: 0; font-size: 3rem; }

/* Responsive Bento */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-1 { grid-column: span 2; grid-row: span 1; }
    .bento-2 { grid-column: span 2; }
    .bento-3 { grid-column: span 1; }
    .bento-4 { grid-column: span 1; }
    .bento-5 { grid-column: span 2; flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-1, .bento-2, .bento-3, .bento-4, .bento-5 {
        grid-column: 1 / -1;
    }
}

/* Methodology Process Accordion */
.process-accordion {
  display: flex;
  gap: 15px;
  height: 450px;
  width: 100%;
}

.process-panel {
  flex: 1;
  border-radius: 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  transition: flex 0.5s cubic-bezier(0.25, 1, 0.5, 1), background 0.5s, border-color 0.5s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

.process-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0.15;
  transition: opacity 0.5s ease;
  mix-blend-mode: lighten;
}

.process-panel:hover::before {
  opacity: 0.5;
}

.panel-1::before { background-image: url('bg-step1.png'); }
.panel-2::before { background-image: url('bg-step2.png'); }
.panel-3::before { background-image: url('bg-step3.png'); }
.panel-4::before { background-image: url('bg-step4.png'); }

.process-panel::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 70%;
  background: linear-gradient(to top, rgba(11, 15, 25, 0.95) 0%, rgba(11, 15, 25, 0.7) 40%, transparent 100%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
  transition: opacity 0.5s ease, height 0.5s ease;
}

.process-panel:hover::after {
  opacity: 1;
  height: 85%;
}

.process-panel:hover {
  flex: 3;
  background: linear-gradient(to top, rgba(236, 72, 153, 0.05), transparent);
  border-color: var(--color-accent);
}

.panel-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 2.5rem;
  color: var(--color-primary);
  transition: transform 0.5s, color 0.5s;
  z-index: 1;
}

.process-panel:hover .panel-icon {
  transform: scale(1.2);
  color: var(--color-accent);
}

.panel-number {
  font-size: 5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: 10px;
  left: 10px;
  line-height: 1;
  transition: color 0.5s;
  z-index: 1;
}

.process-panel:hover .panel-number {
  color: rgba(236, 72, 153, 0.1);
}

.panel-content {
  position: relative;
  z-index: 1;
}

.panel-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0;
  transition: margin-bottom 0.4s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.panel-content p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  opacity: 0;
  max-height: 0;
  transition: opacity 0.4s ease-out, max-height 0.4s ease-out, margin-top 0.4s;
  overflow: hidden;
  margin-top: 0;
}

.process-panel:hover .panel-content h3 {
  margin-bottom: 10px;
  white-space: normal;
  overflow: visible;
}

.process-panel:hover .panel-content p {
  opacity: 1;
  max-height: 150px;
  margin-top: 10px;
}

/* Testimonials Section - Infinite Marquee */
.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: var(--space-md) 0;
  margin-top: var(--space-xl);
  /* Efeito de fade nas bordas (opcional, requer prefixos) */
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: var(--space-xl);
  width: max-content;
  /* Duração da animação: quanto maior, mais devagar. Ajuste conforme necessário. */
  animation: scroll-marquee 40s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes scroll-marquee {
  0% { transform: translateX(0); }
  /* O transform final vai até metade do conteúdo total (pois está duplicado) */
  100% { transform: translateX(calc(-50% - (var(--space-xl) / 2))); }
}

.testimonial-card {
  width: 350px;
  flex-shrink: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
  box-shadow: 0 10px 30px rgba(8, 145, 178, 0.2);
}

.stars {
  color: #FBBF24; /* Google yellow star color */
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
  display: flex;
  gap: 4px;
}

.testimonial-text {
  font-style: italic;
  color: var(--color-text-main);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  font-size: 0.95rem;
}

.testimonial-author h4 {
  font-size: 1.1rem;
  margin-bottom: 2px;
  color: #fff;
}

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

/* Custom Neon Cursor */
body.custom-cursor-active {
  cursor: none;
}

body.custom-cursor-active a, 
body.custom-cursor-active button, 
body.custom-cursor-active .service-card {
  cursor: none;
}

.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out, background-color 0.3s ease;
}

.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.5) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease-out, width 0.3s ease, height 0.3s ease, background 0.3s ease;
  mix-blend-mode: screen;
}

/* Hover States for the Cursor */
.cursor-hover .cursor-dot {
  transform: translate(-50%, -50%) scale(1.5);
  background-color: var(--color-primary);
}

.cursor-hover .cursor-glow {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.6) 0%, transparent 70%);
}

/* Comet Trail */
.cursor-trail {
  position: fixed;
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0.6;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.cursor-trail.fade-out {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.1);
}

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

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

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* WhatsApp Modal */
.wa-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100000; /* Acima do cursor */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.wa-modal.show {
    opacity: 1;
    pointer-events: all;
}

.wa-modal-content {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(50px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(37, 211, 102, 0.1);
}

.wa-modal.show .wa-modal-content {
    transform: translateY(0);
}

.wa-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.wa-close-btn:hover {
    color: var(--color-primary);
}

.wa-modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.wa-modal-header i {
    font-size: 3rem;
    color: #25D366;
    margin-bottom: 15px;
    display: inline-block;
}

.wa-modal-header h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.wa-modal-header p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.wa-form .input-group {
    margin-bottom: 20px;
}

.wa-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.wa-form input,
.wa-form textarea {
    width: 100%;
    background: rgba(11, 15, 25, 0.5);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wa-form input:focus,
.wa-form textarea:focus {
    outline: none;
    border-color: #25D366;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 3rem; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .timeline::before { left: 20px; }
  .timeline-dot { left: 11px; }
  .timeline-item { padding-left: 50px; }
  .hero-cta { flex-direction: column; }
  .about-container { flex-direction: column; }
  .process-accordion { flex-direction: column; height: auto; }
  .process-panel { height: 120px; }
  .process-panel:hover { height: 280px; flex: none; }
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
  }
}
