/* Reset e configurações básicas */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 900;
}

:root {
  --primary: #8b5cf6;
  --primary-foreground: #ffffff;
  --accent: #a855f7;
  --accent-foreground: #ffffff;
  --background: #0a0a0a;
  --foreground: #ffffff;
  --card: #1a1a1a;
  --card-foreground: #ffffff;
  --popover: #1a1a1a;
  --popover-foreground: #ffffff;
  --muted: #1a1a1a;
  --muted-foreground: #a1a1aa;
  --border: #2a2a2a;
  --input: #2a2a2a;
  --ring: #8b5cf6;
  --radius: 0.75rem;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f23 100%);
  min-height: 100vh;
}

body, html {
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
}
#main-content, .hero-section, .max-w-7xl, .custom-scrollbar {
  width: 100vw !important;
  max-width: 100vw !important;
  min-width: 100vw !important;
  overflow-x: hidden !important;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #8b5cf6, #a855f7, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-content {
  text-align: center;
  color: white;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

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

/* Utility Classes */
.min-h-screen { min-height: 100vh; }
.bg-white { background-color: transparent; }
.fixed { position: fixed; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.z-50 { z-index: 50; }
.transition-all { transition: all 0.3s ease; }
.duration-300 { transition-duration: 300ms; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
.flex { display: flex; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.h-20 { height: 5rem; }
.hidden { display: none; }
.md\:block { display: block; }
.md\:hidden { display: none; }
.flex-shrink-0 { flex-shrink: 0; }
.h-12 { height: 3rem; }
.w-auto { width: auto; }
.transition-transform { transition: transform 0.3s ease; }
.hover\:scale-105:hover { transform: scale(1.05); }
.space-x-8 > * + * { margin-left: 2rem; }
.text-foreground { color: var(--foreground); }
.text-primary { color: var(--primary); }
.text-muted-foreground { color: var(--muted-foreground); }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.text-sm { font-size: 0.875rem; }
.font-medium { font-weight: 500; }
.relative { position: relative; }
.group { position: relative; }
.absolute { position: absolute; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.w-0 { width: 0; }
.h-0\.5 { height: 0.125rem; }
.bg-gradient-to-r { background: linear-gradient(to right, var(--primary), var(--accent)); }
.transition-all { transition: all 0.3s ease; }
.group:hover .w-full { width: 100%; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.rounded-xl { border-radius: 0.75rem; }
.font-medium { font-weight: 500; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:shadow-2xl:hover { box-shadow: 0 25px 50px -12px rgba(139, 92, 246, 0.3); }
.hover\:shadow-primary\/20:hover { box-shadow: 0 25px 50px -12px rgba(139, 92, 246, 0.3); }
.overflow-hidden { overflow: hidden; }
.opacity-0 { opacity: 0; }
.group:hover .opacity-100 { opacity: 1; }
.transition-opacity { transition: opacity 0.3s ease; }
.text-foreground { color: var(--foreground); }
.hover\:text-primary:hover { color: var(--primary); }
.transition-colors { transition: color 0.3s ease; }

/* Navbar Styles */
.nav-link {
  color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0.125rem;
  background: linear-gradient(to right, var(--primary), var(--accent));
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.cta-button {
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: inline-block;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 50px -12px rgba(139, 92, 246, 0.4);
}

.cta-button span {
  position: relative;
  z-index: 2;
  color: var(--primary-foreground);
  transition: color 0.3s;
}

.cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--accent), var(--primary));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.cta-button:hover::before {
  opacity: 1;
}

.cta-button span {
  position: relative;
  z-index: 10;
}

.mobile-menu-btn {
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
  color: var(--primary);
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

.mobile-menu {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(1rem);
  border-top: 1px solid rgba(42, 42, 42, 0.5);
  margin-top: 1rem;
  border-radius: 0.75rem;
  display: none;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-content {
  padding: 1.5rem 1rem;
}

.mobile-nav-link {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
  text-decoration: none;
}

.mobile-nav-link:hover {
  color: var(--primary);
}

.mobile-cta-button {
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: var(--primary-foreground);
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 1rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.mobile-cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.4);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f23 100%);
}

.particles-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  animation: particle-float 15s linear infinite;
  opacity: 0.3;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

@keyframes particle-float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

.geometric-bg {
  position: absolute;
  inset: 0;
}

.bg-circle {
  position: absolute;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.1;
  animation: pulse 4s ease-in-out infinite;
  filter: blur(3rem);
}

.bg-circle-1 {
  top: 25%;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
}

.bg-circle-2 {
  bottom: 25%;
  right: 25%;
  width: 20rem;
  height: 20rem;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  animation-delay: 2s;
}

.bg-circle-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 37.5rem;
  height: 37.5rem;
  background: linear-gradient(135deg, #8b5cf6, #a855f7, #7c3aed);
  animation-delay: 1s;
}

@keyframes pulse {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 0.2; }
}

.relative { position: relative; }
.z-10 { z-index: 10; }
.grid { display: grid; }
.lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gap-16 { gap: 4rem; }
.items-center { align-items: center; }
.text-center { text-align: center; }
.lg\:text-left { text-align: left; }
.space-y-8 > * + * { margin-top: 2rem; }

.hero-title {
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 900;
  margin-bottom: 0rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.gradient-text {
  background: linear-gradient(135deg, #8b5cf6, #a855f7, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-glow 2s ease-in-out infinite alternate;
}

@keyframes text-glow {
  0% { filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.3)); }
  100% { filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6)); }
}

.text-foreground { color: var(--foreground); }

.hero-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 32rem;
  line-height: 1.6;
  margin-bottom: 0rem;
  margin-top: 0.0rem;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.5rem;
    margin-top: 0.3rem;
    margin-bottom: 0.3rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 0.2rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero-buttons {
    justify-content: flex-start;
  }
}

.primary-button {
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: var(--primary-foreground);
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: inline-block;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.primary-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--primary), var(--accent));
  border-radius: 0.75rem;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.primary-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.secondary-button {
  background: rgba(26, 26, 26, 0.8);
  backdrop-filter: blur(1rem);
  color: var(--foreground);
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
}

.secondary-button:hover {
  background: rgba(26, 26, 26, 0.9);
  transform: scale(1.05);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding-top: 0.5rem;
}

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

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.875rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 2.25rem;
  }
}

.stat-label {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .stat-label {
    font-size: 1rem;
  }
}

/* Cube Container */
.cube-container {
  position: relative;
}

.cube-wrapper {
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(168, 85, 247, 0.1));
  border-radius: 1.5rem;
  padding: 1rem;
  backdrop-filter: blur(1rem);
  animation: glow-pulse 3s ease-in-out infinite;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.2); }
  50% { box-shadow: 0 0 40px rgba(139, 92, 246, 0.4); }
}

.cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: cube-rotate 10s linear infinite;
}

@keyframes cube-rotate {
  0% { transform: rotateX(0deg) rotateY(0deg); }
  100% { transform: rotateX(360deg) rotateY(360deg); }
}

.cube-face {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.cube-front { transform: translateZ(50px); }
.cube-back { transform: translateZ(-50px); }
.cube-right { transform: rotateY(90deg) translateZ(50px); }
.cube-left { transform: rotateY(-90deg) translateZ(50px); }
.cube-top { transform: rotateX(90deg) translateZ(50px); }
.cube-bottom { transform: rotateX(-90deg) translateZ(50px); }

.floating-element {
  position: absolute;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.3;
  animation: float 3s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.floating-1 {
  top: -1rem;
  right: -1rem;
  width: 2rem;
  height: 2rem;
}

.floating-2 {
  bottom: -1rem;
  left: -1rem;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--accent);
  animation-delay: 1s;
}

.floating-3 {
  top: 50%;
  left: -2rem;
  width: 1rem;
  height: 1rem;
  background: var(--primary);
  opacity: 0.4;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

.scroll-bar {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgba(139, 92, 246, 0.5);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.scroll-dot {
  width: 0.25rem;
  height: 0.75rem;
  background: var(--primary);
  border-radius: 9999px;
  margin-top: 0.5rem;
  animation: pulse 2s infinite;
}

.scroll-arrow {
  width: 1.5rem;
  height: 1.5rem;
  color: rgba(139, 92, 246, 0.7);
  margin: 0 auto;
  display: block;
}

/* Section Styles */
.about-section,
.services-section,
.portfolio-section,
.contact-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.mb-16 { margin-bottom: 4rem; }
.grid { display: grid; }
.md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gap-8 { gap: 2rem; }

.about-card {
  text-align: center;
  padding: 2rem;
  background: rgba(26, 26, 26, 0.8);
  border-radius: 1rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
  transition: all 0.3s ease;
  backdrop-filter: blur(1rem);
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.4);
}

.about-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.about-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.about-card-text {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Services Section */
.md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.service-card {
  padding: 2rem;
  background: rgba(26, 26, 26, 0.8);
  border-radius: 1rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
  transition: all 0.3s ease;
  text-align: center;
  backdrop-filter: blur(1rem);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.4);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.service-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Portfolio Section */
.portfolio-card {
  background: rgba(26, 26, 26, 0.8);
  border-radius: 1rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(1rem);
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.4);
}

/* Ajuste para remover o fundo roxo e garantir que a imagem preencha o card */
.portfolio-image {
  height: 160px;
  background: none !important;
  position: relative;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.9rem 0.9rem 0 0;
  box-shadow: 0 2px 12px #0002;
  display: block;
  background: transparent;
}

.portfolio-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(168, 85, 247, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  font-size: 1.5rem;
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.portfolio-description {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: rgba(139, 92, 246, 0.2);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

/* Contact Section */
.lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gap-16 { gap: 4rem; }

.contact-info-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--foreground);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 1.5rem;
  margin-right: 1rem;
  width: 3rem;
  text-align: center;
}

.contact-label {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--foreground);
}

.contact-value {
  color: var(--muted-foreground);
  font-size: 0.93rem;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--accent);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: rgba(26, 26, 26, 0.8);
  color: var(--foreground);
  transition: border-color 0.3s ease;
  backdrop-filter: blur(1rem);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-button {
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.4);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  padding: 2rem 0 0.5rem;
  margin-top: 3rem;
  border-top: 1px solid rgb(23 17 37 / 20%);
}

.footer-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  gap: 2.5rem;
  padding: 0;
  margin-bottom: 0.2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-section {
  min-width: 140px;
  margin-bottom: 0;
  padding: 0;
}

.footer-logo {
  height: 1.7rem;
  margin-bottom: 0.7rem;
}

.footer-description {
  color: var(--muted-foreground);
  line-height: 1.4;
  font-size: 0.97rem;
  max-width: 220px;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 0.7rem;
  color: var(--foreground);
  font-size: 1.05rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.3rem;
  font-size: 0.97rem;
}

.footer-links a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  margin-top: 0.5rem;
  padding-bottom: 0.2rem;
  font-size: 0.93rem;
  border-top: 1px solid #222;
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
}

/* Footer responsivo para telas menores */
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    text-align: center;
    padding: 0.5rem 0 0.2rem 0;
  }
  .footer-section {
    min-width: 0;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  .footer-bottom {
    font-size: 0.92rem;
    margin-top: 0.5rem;
    padding-bottom: 0.2rem;
    border-top: 1px solid #222;
    max-width: 100vw;
  }
}

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

.custom-scrollbar::-webkit-scrollbar-track {
  background: var(--muted);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Glass Effect */
.glass-dark {
  background: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(1rem);
  border: none;
}

/* Neon Glow */
.neon-glow {
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

/* Animations */
.animate-text-glow {
  animation: text-glow 2s ease-in-out infinite alternate;
}

.animate-glow-pulse {
  animation: glow-pulse 3s ease-in-out infinite;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

/* Intersection Observer Animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
} 

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.preloader-cube {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #fff 40%, #a855f7 100%);
  animation: cube-spin 1.2s infinite cubic-bezier(.68,-0.55,.27,1.55);
  border-radius: 12px;
  box-shadow: 0 0 32px #a855f7aa;
}

@keyframes cube-spin {
  0% { transform: rotateY(0deg) rotateX(0deg); }
  50% { transform: rotateY(180deg) rotateX(180deg); }
  100% { transform: rotateY(360deg) rotateX(360deg); }
}

.loading-text {
  color: #fff;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 2px 16px #7c3aed88;
} 

/* ===== MENU LATERAL MOBILE ===== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 11001;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
}
.hamburger-bar {
  display: block;
  width: 28px;
  height: 4px;
  background: linear-gradient(90deg, #8b5cf6 0%, #a855f7 100%);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,20,0.7);
  z-index: 11000;
  transition: opacity 0.3s;
}

.mobile-side-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 80vw;
  max-width: 320px;
  background: linear-gradient(135deg, #181028 0%, #8b5cf6 100%);
  box-shadow: 2px 0 32px #0008;
  z-index: 11001;
  transform: translateX(-100%);
  transition: transform 0.3s;
  padding: 2.5rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.mobile-side-menu.open {
  transform: translateX(0);
}
.mobile-menu-overlay.open {
  display: block;
  opacity: 1;
}
.mobile-menu-toggle.show {
  display: flex;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  cursor: pointer;
  z-index: 11002;
}
.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}
.mobile-menu-logo img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 0 12px #a855f7aa;
}
.mobile-menu-logo span {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
}
.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.mobile-menu-link {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 0;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-link:hover,
.mobile-menu-link.active {
  background: linear-gradient(90deg, #8b5cf6 0%, #a855f7 100%);
  color: #fff;
}
.mobile-menu-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem; /* Novo: sobe o botão */
}
.mobile-menu-cta {
  display: block;
  background: linear-gradient(90deg, #8b5cf6 0%, #a855f7 100%);
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 0.9rem 0;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 0 16px #a855f744;
  transition: background 0.2s, color 0.2s;
  margin-bottom: 0.5rem; /* Novo: garante espaço extra acima do rodapé */
}
.mobile-menu-cta:hover {
  background: linear-gradient(90deg, #a855f7 0%, #8b5cf6 100%);
  color: #fff;
}

/* Mostrar menu lateral e overlay só no mobile */
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-side-menu {
    display: flex;
  }
}

@media (min-width: 901px) {
  .mobile-menu-toggle,
  .mobile-side-menu,
  .mobile-menu-overlay {
    display: none !important;
  }
}

/* Esconder navbar padrão no mobile */
@media (max-width: 900px) {
  nav#navbar {
    display: none !important;
  }
} 

@media (max-width: 900px) {
  .hero-section {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.5rem 1rem 1.5rem 1rem;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
    min-height: unset;
  }
  .hero-section .max-w-7xl {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
  }
  .hero-section .grid {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
    width: 100%;
  }
  .hero-section .text-center, .hero-section .lg\:text-left {
    text-align: left !important;
    width: 60%;
    min-width: 0;
    padding-right: 0.5rem;
    padding-top: 0.5rem;
    z-index: 2;
  }
  .hero-section .cube-container {
    width: 40%;
    min-width: 120px;
    max-width: 180px;
    margin: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    z-index: 1;
    margin-left: 0.2rem !important;
  }
  .hero-section .cube-wrapper {
    padding: 0.2rem;
    min-width: 0;
    width: 100%;
    max-width: 180px;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    align-items: flex-start;
  }
  .primary-button, .secondary-button {
    width: 100%;
    font-size: 1rem;
    padding: 1rem 0;
    margin-right: 0;
  }
  .mobile-menu-toggle {
    z-index: 11002;
  }
}

@media (max-width: 600px) {
  .hero-section .grid {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .hero-section .text-center, .hero-section .lg\:text-left {
    width: 100%;
    padding-right: 0;
    padding-top: 1.8rem;
  }
  .hero-section .cube-container {
    width: 100%;
    max-width: 100vw;
    justify-content: center;
    margin: 0;
  }
  .hero-section .cube-wrapper {
    max-width: 220px;
    margin: 0 auto;
  }
  .hero-buttons {
    align-items: stretch;
  }
} 

@media (max-width: 900px) {
  /* Estatísticas em linha */
  .stats-grid {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0.5rem !important;
    width: 100%;
    margin-top: 0.0rem;
    margin-bottom: 0.3rem;
  }
  .stat-item {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
  }
  .stat-number {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
  }
  .stat-label {
    font-size: 0.85rem;
  }

  /* Cubo não cortar embaixo */
  .hero-section .cube-container {
    align-items: flex-start;
    padding-bottom: 0;
    margin-top: 0;
    box-sizing: border-box;
    position: relative;
    top: 0;
  }
  .hero-section .cube-wrapper {
    max-width: 140px;
    min-width: 0;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0.1rem;
  }

  /* Botões lado a lado e menores */
  .hero-buttons {
    flex-direction: row;
    gap: 0.7rem;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0.8rem;
  }
  .primary-button, .secondary-button {
    width: 50%;
    min-width: 0;
    font-size: 0.98rem;
    padding: 0.7rem 0;
    margin: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
  }
} 

.mobile-menu-toggle.hide {
  display: none !important;
} 

/* --- Ajuste para manter 3 colunas fixas nos grids de serviços, about e portfolio --- */
.services-section .grid,
.about-section .grid,
.portfolio-section .grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.2rem !important;
}

/* Cards menores */
.service-card, .about-card, .portfolio-card {
  padding: 1rem !important;
  font-size: 0.92rem !important;
  min-width: 0;
}
.service-icon, .about-icon {
  font-size: 1.7rem !important;
  margin-bottom: 0.5rem !important;
}
.service-title, .about-card-title, .portfolio-title {
  font-size: 1rem !important;
  margin-bottom: 0.3rem !important;
}
.service-description, .about-card-text, .portfolio-description {
  font-size: 0.92rem !important;
}

/* Scroll horizontal no mobile para não quebrar os cards */
@media (max-width: 900px) {
  .services-section .grid,
  .about-section .grid,
  .portfolio-section .grid {
    overflow-x: auto;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 1rem !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .service-card, .about-card, .portfolio-card {
    min-width: 220px;
    max-width: 260px;
    flex: 0 0 80vw;
    margin-right: 0.5rem;
  }
}

/* Esconde scroll feio no Chrome */
.services-section .grid::-webkit-scrollbar,
.about-section .grid::-webkit-scrollbar,
.portfolio-section .grid::-webkit-scrollbar {
  display: none;
} 

@media (max-width: 600px) {
  .about-section .section-title {
    font-size: 1.3rem !important;
    margin-bottom: 0.5rem !important;
  }
  .about-section .section-description {
    font-size: 0.95rem !important;
    margin-bottom: 1.2rem !important;
    max-width: 95vw !important;
  }
  .about-section .grid {
    gap: 0.5rem !important;
  }
  .about-card {
    padding: 0.5rem !important;
    font-size: 0.82rem !important;
    min-width: 0;
    max-width: 105px !important;
    min-width: 0 !important;
  }
  .about-icon {
    font-size: 1.1rem !important;
    margin-bottom: 0.2rem !important;
  }
  .about-card-title {
    font-size: 0.85rem !important;
    margin-bottom: 0.15rem !important;
  }
  .about-card-text {
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
  }
} 

@media (max-width: 600px) {
  .about-section .grid {
    justify-content: center !important;
  }
} 

@media (max-width: 600px) {
  /* Centralizar estatísticas */
  .stats-grid {
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 1.2rem !important;
    width: 100% !important;
  }
  .stat-item {
    flex: 1 1 0;
    min-width: 0;
  }
  /* Garantir que os cards do Sobre Nós não vazem/cortem */
  .about-section .grid {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  .about-card {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  /* Remover animação de hover/click dos cards no mobile */
  .about-card,
  .service-card,
  .portfolio-card {
    transition: none !important;
    box-shadow: none !important;
    transform: none !important;
  }
  .about-card:hover,
  .service-card:hover,
  .portfolio-card:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: rgba(139, 92, 246, 0.2) !important;
  }
} 

/* Carrossel Sobre Nós (mobile) */
@media (max-width: 900px) {
  .about-grid-desktop { display: none !important; }
  .about-carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    position: relative;
    width: 100vw;
    max-width: 100vw;
  }
  .about-carousel {
    display: flex;
    overflow: hidden;
    width: 90vw;
    max-width: 340px;
    min-height: 180px;
    position: relative;
    scroll-behavior: smooth;
  }
  .about-card {
    min-width: 100%;
    max-width: 100%;
    margin: 0;
    transition: box-shadow 0.3s;
  }
  .about-carousel-arrow {
    border: none;
    font-size: 2rem;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: transparent;
  }

}
@media (min-width: 901px) {
  .about-carousel-wrapper { display: none !important; }
} 

@media (max-width: 900px) {
  .about-grid-desktop {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
  }
} 

@media (max-width: 900px) {
  .bg-circle,
  .floating-element,
  [class*="circle"],
  [class*="floating"] {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 0 !important;
    height: 0 !important;
  }
  .about-carousel-arrow {
    z-index: 10000 !important;
    opacity: 1 !important;
    pointer-events: all !important;
  }
} 

@media (max-width: 900px) {
  .about-carousel-wrapper {
    max-width: 380px;
    width: 100%;
    margin: 0 auto;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    box-sizing: border-box;
    justify-content: center;
  }
  .about-carousel {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  .about-card {
    min-width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
} 

@media (max-width: 900px) {
  .about-carousel .about-icon {
    font-size: 2.5rem !important;
    margin-bottom: 1rem !important;
  }
  .about-carousel .about-card-title {
    font-size: 1.3rem !important;
    margin-bottom: 0.8rem !important;
  }
  .about-carousel .about-card-text {
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }
} 

@media (max-width: 900px) {
  .cube-container {
    margin-bottom: 8.0rem !important;
  }
} 

@media (max-width: 900px) {
  .about-carousel-wrapper {
    padding-left: 1.0rem !important;
    padding-right: 1.0rem !important;
  }
} 

@media (max-width: 900px) {
  /* Carrossel Sobre Nós (mobile) */
  .about-grid-desktop, .services-grid-desktop, .portfolio-grid-desktop {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
  }
  .about-carousel-wrapper,
  .services-carousel-wrapper,
  .portfolio-carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    position: relative;
    width: 100%; /* Corrigido de 100vw */
    max-width: 100%; /* Corrigido de 100vw/380px */
    padding-left: 1rem; /* Reduzido para evitar corte */
    padding-right: 1rem;
    box-sizing: border-box;
  }
  .about-carousel,
  .services-carousel,
  .portfolio-carousel {
    display: flex;
    overflow: hidden;
    width: 100%; /* Corrigido de 90vw */
    max-width: 100%; /* Corrigido de 340px */
    min-height: 180px;
    position: relative;
    scroll-behavior: smooth;
    margin: 0 auto;
  }
  .about-card,
  .service-card,
  .portfolio-card {
    min-width: 100%;
    max-width: 100%;
    margin: 0 auto;
    transition: box-shadow 0.3s;
    box-sizing: border-box;
  }
  .about-carousel-arrow,
  .services-carousel-arrow,
  .portfolio-carousel-arrow {
    border: none;
    font-size: 2rem;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: transparent;
    position: relative;
  }
  /* Remover overflow lateral do body */
  body {
    overflow-x: hidden !important;
  }
}
@media (min-width: 901px) {
  .about-carousel-wrapper,
  .services-carousel-wrapper,
  .portfolio-carousel-wrapper {
    display: none !important;
  }
  .about-grid-desktop,
  .services-grid-desktop,
  .portfolio-grid-desktop {
    display: grid !important;
  }
} 

section h1, nav h1, article h1, aside h1 {
  font-size: 2.5rem;
} 

@media (min-width: 901px) {
  .footer-content {
    display: flex !important;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
  }
  .footer-section:first-child {
    margin-right: 1.5rem;
    flex: 0 0 160px;
    max-width: 160px;
    min-width: 100px;
    text-align: left;
  }
  .footer-columns-mobile {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    width: auto;
    margin-bottom: 0;
    justify-content: center;
    align-items: flex-start;
  }
  .footer-section {
    min-width: 120px;
    margin-bottom: 0;
    padding: 0;
  }
  .footer-section.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: auto;
    margin: 0;
    text-align: left;
  }
  .footer-logo {
    height: 1rem;
    margin-bottom: 0.1rem;
  }
  .footer-description {
    font-size: 0.85rem;
    margin-bottom: 0.1rem;
  }
  .footer-title {
    font-size: 0.89rem;
    margin-bottom: 0.08rem;
    text-align: left;
  }
  .footer-links li {
    margin-bottom: 0.05rem;
  }
  .footer-links a, .footer-links li {
    font-size: 0.85rem;
  }
  .footer-section.footer-contact {
    width: 100%;
    margin: 0.12rem 0 0 0;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
  }
  .footer-bottom {
    padding-top: 0.1rem;
    font-size: 0.78rem;
  }
}
@media (min-width: 901px) {
  .footer-content {
    display: flex !important;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 3.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
  }
  .footer-section:first-child {
    margin-right: 4rem;
    flex: 0 0 320px;
    max-width: 320px;
    min-width: 220px;
    text-align: left;
  }
  .footer-columns-mobile {
    display: flex;
    flex-direction: row;
    gap: 3.5rem;
    width: auto;
    margin-bottom: 0;
    justify-content: center;
    align-items: flex-start;
  }
  .footer-section {
    min-width: 180px;
    margin-bottom: 0;
    padding: 0;
  }
  .footer-section.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: auto;
    margin: 0;
    text-align: left;
  }
  .footer-logo {
    height: 2rem;
    margin-bottom: 1rem;
  }
  .footer-description {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .footer-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  .footer-links li {
    margin-bottom: 0.3rem;
  }
  .footer-links a, .footer-links li {
    font-size: 1rem;
  }
  .footer-bottom {
    padding-top: 1rem;
    font-size: 0.98rem;
  }
} 

@media (max-width: 700px) {
  /* Ajuste apenas para a seção de contato */
  .contact-info {
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }
  .contact-value {
    word-break: break-all;
    overflow-wrap: break-word;
    max-width: 100%;
    display: block;
  }
  .social-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
    max-width: 100%;
  }
  .social-link {
    min-width: 80px;
    text-align: center;
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  /* Footer organizado conforme solicitado */
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
    padding: 0.5rem 0 0.2rem 0;
    display: flex;
  }
  .footer-columns-mobile {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 1.2rem;
    width: 100%;
    margin-bottom: 0.2rem;
  }
  .footer-columns-mobile .footer-section {
    flex: 1 1 0;
    min-width: 0;
    max-width: 50%;
    padding: 0 0.2rem;
    margin-bottom: 0;
    text-align: left;
    align-items: flex-start;
  }
  .footer-section.footer-contact {
    width: 100%;
    margin: 0.2rem 0 0 0;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    font-size: 0.95rem;
  }
  .footer-logo {
    height: 1.2rem;
    margin-bottom: 0.2rem;
  }
  .footer-description {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
  }
  .footer-title {
    font-size: 1rem;
    margin-bottom: 0.1rem;
    text-align: left;
  }
  .footer-links li {
    margin-bottom: 0.08rem;
  }
  .footer-links a, .footer-links li {
    font-size: 0.95rem;
  }
  .footer-bottom {
    padding-top: 0.2rem;
    font-size: 0.85rem;
  }
} 

/* Remover sombra e glow da logo no footer */
.footer-logo {
  background: none !important;
  box-shadow: none !important;
  filter: none !important;
} 

/* Remover qualquer efeito de sombra, glow ou filtro da logo em todo o site */
.footer-logo, .neon-glow, .footer-section .footer-logo {
  background: none !important;
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
} 

/* --- Ajuste ESPECÍFICO para iOS: sobe o botão Fale Conosco do menu lateral --- */
@supports (-webkit-touch-callout: none) {
  body.ios-device .mobile-side-menu .mobile-menu-footer {
    margin-bottom: 5.5rem !important;
  }
}

/* Script para adicionar a classe no body se for iOS */
/* (instrução: adicionar no script.js, mas aqui só o CSS) */

/* --- Ajuste para Android e telas pequenas: garantir que a seção de contato não corte conteúdo --- */
@media (max-width: 600px) {
  .contact-section .grid {
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 0.5rem !important;
    box-sizing: border-box;
  }
  .contact-info, .contact-form {
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 auto 1.2rem auto !important;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .contact-info-title, .contact-label {
    font-size: 1.1rem !important;
    word-break: break-word;
  }
  .contact-value {
    font-size: 1rem !important;
    word-break: break-all;
    overflow-wrap: break-word;
    max-width: 100vw !important;
    display: block;
  }
  .social-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
    max-width: 100vw !important;
  }
  .social-link {
    min-width: 80px;
    text-align: center;
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
} 

/* --- AJUSTES HERO SECTION PARA RESPONSIVIDADE E ESPAÇAMENTO --- */
@media (max-width: 900px) {
  .hero-section {
    min-height: 80vh !important;
    padding-top: 1.5rem !important;
    padding-bottom: 2.5rem !important;
  }
}
@media (max-width: 600px) {
  .hero-section {
    min-height: 70vh !important;
    padding-top: 1.5rem !important;
    padding-bottom: 2rem !important;
  }
  .hero-section .max-w-7xl {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  .hero-section .text-center, .hero-section .lg\:text-left {
    margin-bottom: 1.5rem !important;
  }
} 

/* --- BOTÃO WHATSAPP MAIOR E NEON ROXO --- */
.whatsapp-float {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 99999;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 60% 40%, #a855f7 60%, #8b5cf6 100%);
  border-radius: 50%;
  box-shadow: 0 0 16px 4px #a855f799, 0 0 32px 8px #8b5cf655;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: whatsapp-neon-pulse 1.5s infinite alternate;
  border: none;
  overflow: hidden;
}
.whatsapp-float:hover {
  transform: scale(1.10) rotate(-6deg);
  box-shadow: 0 0 24px 8px #a855f7cc, 0 0 48px 16px #8b5cf688;
}
.whatsapp-img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  border-radius: 50%;
  pointer-events: none;
  user-select: none;
  display: block;
  background: none;
}
@media (max-width: 900px) {
  .whatsapp-float {
    width: 60px;
    height: 60px;
    right: 16px;
    bottom: 16px;
  }
}
@media (max-width: 600px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 10px;
    bottom: 10px;
  }
}
@keyframes whatsapp-neon-pulse {
  0% { box-shadow: 0 0 16px 4px #a855f799, 0 0 32px 8px #8b5cf655; }
  100% { box-shadow: 0 0 24px 8px #a855f7cc, 0 0 48px 16px #8b5cf688; }
} 

/* Limitar tamanho do cubo e grid da hero-section para não invadir o conteúdo */
.hero-section .cube-container {
  max-width: 420px;
  width: 36vw;
  min-width: 260px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-section .cube-wrapper {
  max-width: 380px;
  width: 100%;
  aspect-ratio: 1/1;
  margin: 0 auto;
  padding: 1.5vw;
}
.hero-section .grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3vw;
  max-width: 1300px;
  margin: 0 auto;
}
@media (min-width: 1400px) {
  .hero-section .cube-container {
    max-width: 380px;
    width: 28vw;
    min-width: 220px;
  }
  .hero-section .cube-wrapper {
    max-width: 340px;
    padding: 1vw;
  }
  .hero-section .grid {
    gap: 2vw;
    max-width: 1200px;
  }
}
@media (max-width: 1200px) {
  .hero-section .cube-container {
    max-width: 300px;
    width: 24vw;
    min-width: 160px;
  }
  .hero-section .cube-wrapper {
    max-width: 220px;
    padding: 0.7vw;
  }
} 

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2a174d;
  box-shadow: 0 0 8px #a855f744;
  transition: background 0.3s, box-shadow 0.3s;
  border: 2px solid #a855f7;
  cursor: pointer;
}
.carousel-dot.active {
  background: #a855f7;
  box-shadow: 0 0 16px #a855f7cc, 0 0 32px #8b5cf6aa;
  border-color: #fff;
} 

@media (min-width: 768px) {
  .carousel-dots-mobile {
    display: none !important;
  }
} 

/* Ajuste grid desktop para não ocupar 100vw */
.about-grid-desktop, .services-grid-desktop, .portfolio-grid-desktop {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

/* Centralizar bloco de contato */
.contact-section .flex {
  justify-content: center;
  align-items: center;
}
.contact-info, .contact-form {
  margin-left: auto;
  margin-right: auto;
}

/* Centralizar footer */
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer-bottom {
  text-align: center;
} 

/* --- FOOTER NOVO --- */
.footer-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 3.5rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-logo-desc {
  min-width: 180px;
  max-width: 220px;
}
.footer-links-col {
  min-width: 140px;
  max-width: 180px;
}
.footer-contact-col {
  min-width: 170px;
  max-width: 200px;
}
.footer-logo {
  height: 1.5rem;
  margin-bottom: 0.5rem;
}
.footer-description {
  color: var(--muted-foreground);
  font-size: 0.97rem;
  line-height: 1.4;
  margin-bottom: 0;
}
.footer-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
  font-size: 1.05rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}
.footer-links li {
  margin-bottom: 0.2rem;
  font-size: 0.97rem;
}
.footer-links a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--primary);
}
.footer-bottom {
  text-align: center;
  margin-top: 0.5rem;
  padding-bottom: 0.2rem;
  font-size: 0.93rem;
  border-top: 1px solid #222;
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
}
@media (max-width: 900px) {
  .footer-row {
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    text-align: center;
    max-width: 100vw;
  }
  .footer-logo-desc {
    align-items: center;
    text-align: center;
    width: 100%;
    margin-bottom: 0.7rem;
  }
  .footer-links-cols-mobile {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 2.5rem;
    width: 100%;
    margin-bottom: 0.7rem;
  }
  .footer-links-col {
    align-items: flex-start;
    text-align: left;
    min-width: 120px;
    max-width: 160px;
  }
  .footer-contact-col {
    align-items: center;
    text-align: center;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  .footer-section {
    width: auto;
    max-width: 100vw;
    margin: 0;
  }
  .footer-links {
    width: 100%;
  }
}
/* Aproximar logo e botão no header */
.gap-navbar { gap: 2.5rem; }
@media (max-width: 1200px) {
  .gap-navbar { gap: 1.2rem; }
}
@media (max-width: 900px) {
  .gap-navbar { gap: 0.5rem; }
}

@media (max-width: 900px) {
  .contact-desktop-wrapper {
    display: none !important;
  }
  .contact-mobile-wrapper {
    display: block !important;
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  .contact-mobile-title {
    font-size: 2rem;
    font-weight: 800;
    color: #a855f7;
    margin-bottom: 0.5rem;
  }
  .contact-mobile-desc {
    font-size: 1.08rem;
    color: var(--muted-foreground);
    margin-bottom: 1.2rem;
  }
  .contact-mobile-info {
    background: none;
    border-radius: 0.7rem;
    padding: 0.5rem 0 0.7rem 0;
    margin-bottom: 1.2rem;
    text-align: left;
  }
  .contact-info-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: var(--foreground);
  }
  .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 0.7rem;
  }
  .contact-icon {
    font-size: 1.3rem;
    margin-top: 0.1rem;
    min-width: 1.7rem;
    text-align: center;
  }
  .contact-label {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
    color: var(--foreground);
  }
  .contact-value {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin-bottom: 0.1rem;
  }
  .contact-mobile-social {
    display: flex;
    flex-direction: row;
    gap: 1.2rem;
    margin-top: 0.5rem;
    margin-bottom: 1.2rem;
    justify-content: flex-start;
  }
  .contact-mobile-social .social-link {
    color: #a855f7;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
    font-weight: 500;
  }
  .contact-mobile-social .social-link:hover {
    color: #8b5cf6;
    text-decoration: underline;
  }
  .contact-social-ico {
    font-size: 1.1rem;
    margin-right: 0.2rem;
  }
  .contact-mobile-form {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    padding: 0;
  }
  .contact-mobile-form .form-group {
    margin-bottom: 0.7rem;
  }
  .contact-mobile-form .form-label {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
  }
  .contact-mobile-form .form-input,
  .contact-mobile-form .form-textarea {
    width: 100%;
    font-size: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #222;
    background: #18181b;
    color: var(--foreground);
    padding: 0.5rem 0.7rem;
    margin-bottom: 0.2rem;
  }
  .contact-mobile-form .submit-button {
    width: 100%;
    background: linear-gradient(90deg, #a855f7, #8b5cf6);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 0.5rem;
    padding: 0.7rem 0;
    font-size: 1.08rem;
    margin-top: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
  }
  .contact-mobile-form .submit-button:hover {
    background: linear-gradient(90deg, #8b5cf6, #a855f7);
  }
}
@media (min-width: 901px) {
  .contact-mobile-wrapper {
    display: none !important;
  }
  .contact-desktop-wrapper {
    display: block !important;
  }
}

@media (min-width: 901px) {
  .footer-row-desktop {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 4.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 0 0.2rem 0;
  }
  .footer-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-logo-desc-desktop {
    min-width: 220px;
    max-width: 260px;
  }
  .footer-links-col-desktop {
    min-width: 170px;
    max-width: 200px;
  }
  .footer-contact-col-desktop {
    min-width: 200px;
    max-width: 240px;
  }
  .footer-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--foreground);
    font-size: 1.08rem;
    align-self: flex-start;
  }
  .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
  }
  .footer-links li {
    margin-bottom: 0.22rem;
    font-size: 1rem;
    align-self: flex-start;
  }
  .footer-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    text-align: left;
  }
  .footer-links a:hover {
    color: var(--primary);
  }
}

@media (min-width: 901px) {
  .contact-desktop-wrapper .flex {
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    margin: 0 auto;
    max-width: 1000px;
  }
  .contact-info {
    max-width: 340px;
    width: 100%;
    margin: 0;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
  }
  .contact-form {
    max-width: 420px;
    width: 100%;
    margin: 0;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
  }
  .contact-form form {
    width: 100%;
  }
  .contact-form .form-input,
  .contact-form .form-textarea {
    width: 100%;
    min-width: 260px;
    font-size: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #222;
    background: #18181b;
    color: var(--foreground);
    padding: 0.5rem 0.7rem;
    margin-bottom: 0.7rem;
  }
  .contact-form .submit-button {
    width: 100%;
    background: linear-gradient(90deg, #a855f7, #8b5cf6);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 0.5rem;
    padding: 0.7rem 0;
    font-size: 1.08rem;
    margin-top: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
  }
  .contact-form .submit-button:hover {
    background: linear-gradient(90deg, #8b5cf6, #a855f7);
  }
}

@media (min-width: 901px) {
  /* Alinhar o primeiro card de portfólio aos demais */
  .portfolio-card:first-child .portfolio-image {
    margin-top: 0.2rem;
  }
  .portfolio-card:first-child .portfolio-content {
    margin-top: 0.2rem;
  }
}

@media (min-width: 901px) {
  .portfolio-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
  }
  .portfolio-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    height: 160px;
    margin-bottom: 1.2rem;
    background: transparent;
    border-radius: 0.9rem 0.9rem 0 0;
    box-shadow: 0 2px 12px #0002;
    object-fit: contain;
    width: 100%;
  }
  .portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.9rem 0.9rem 0 0;
    background: transparent;
    margin: 0;
    display: block;
  }
  .portfolio-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    margin-top: 0.5rem;
  }
  .portfolio-tags {
    margin-top: 1.2rem;
  }
}

@media (min-width: 901px) {
  #navbar .max-w-7xl > .flex {
    gap: 2.5rem;
  }
  #navbar .cta-button {
    margin-left: 1.5rem;
  }
  #navbar .flex-shrink-0 {
    margin-right: 1.2rem;
  }
}

@media (min-width: 901px) {
  #navbar .flex-shrink-0 {
    margin-left: 1.5rem !important;
  }
  #navbar .cta-button {
    margin-right: 1.5rem !important;
  }
}

@media (min-width: 901px) {
  #navbar .flex {
    gap: 0.5rem;
  }
  #navbar .flex-shrink-0 {
    margin-right: 0.5rem;
  }
  #navbar .hidden.md\:block + .hidden.md\:block {
    margin-left: 0.5rem;
  }
}

@media (max-width: 900px) {
  .footer-mobile-layout {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    width: 100vw;
    max-width: 100vw;
    margin: 0 auto;
    padding: 1.2rem 0.5rem 0.5rem 0.5rem;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  }
  .footer-row-1 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.2rem;
    width: 100%;
  }
  .footer-logo-desc-mobile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    max-width: 55%;
  }
  .footer-logo-desc-mobile .footer-logo {
    height: 2.1rem;
    margin-bottom: 0.2rem;
    margin-left: 0;
  }
  .footer-logo-desc-mobile .footer-description {
    font-size: 0.98rem;
    color: var(--muted-foreground);
    margin-bottom: 0;
    text-align: left;
    line-height: 1.3;
    margin-left: 0;
  }
  .footer-contact-col-mobile {
    flex: 1 1 0;
    min-width: 0;
    max-width: 45%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-left: 1.2rem;
  }
  .footer-contact-col-mobile .footer-title {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
    color: var(--foreground);
    font-weight: 600;
  }
  .footer-contact-col-mobile .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.97rem;
    color: var(--muted-foreground);
  }
  .footer-contact-col-mobile .footer-links li {
    margin-bottom: 0.1rem;
    font-size: 0.97rem;
  }
  .footer-row-2 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.2rem;
    width: 100%;
  }
  .footer-links-col-mobile {
    flex: 1 1 0;
    min-width: 0;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .footer-empresa-mobile {
    align-items: flex-end;
    text-align: right;
  }
  .footer-links-col-mobile .footer-title {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
    color: var(--foreground);
    font-weight: 600;
  }
  .footer-links-col-mobile .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.97rem;
    color: var(--muted-foreground);
  }
  .footer-links-col-mobile .footer-links li {
    margin-bottom: 0.1rem;
    font-size: 0.97rem;
  }
  .footer-links-col-mobile .footer-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.3s;
  }
  .footer-links-col-mobile .footer-links a:hover {
    color: var(--primary);
  }
  .footer-bottom-mobile {
    width: 100%;
    text-align: center;
    margin-top: 0.7rem;
    margin-bottom: 0.2rem;
  }
  .footer-copyright {
    color: #888;
    font-size: 0.93rem;
    margin: 0;
    padding: 0;
    font-weight: 400;
    letter-spacing: 0.01em;
  }
  /* Esconder footer desktop no mobile */
  .footer-row-desktop {
    display: none !important;
  }
}
@media (min-width: 901px) {
  .footer-mobile-layout {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .footer-row-2 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.2rem;
    width: 100%;
  }
  .footer-links-col-mobile {
    flex: 1 1 0;
    min-width: 0;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .footer-empresa-mobile {
    align-items: flex-start;
    text-align: left;
    max-width: 45%;
    margin-left: 0;
    margin-top: 0;
  }
  /* Alinhar topo de Empresa com Contato */
  .footer-row-2 {
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .footer-contact-col-mobile .footer-links {
    word-break: break-all;
    overflow-wrap: break-word;
  }
  .footer-contact-col-mobile .footer-links li {
    font-size: 0.93rem;
    line-height: 1.2;
    word-break: break-all;
    overflow-wrap: break-word;
  }
}

@media (min-width: 901px) {
  .footer-content.footer-row-desktop {
    justify-content: flex-start;
    gap: 0;
    padding-left: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    position: relative;
  }
  .footer-section.footer-logo-desc-desktop {
    margin-right: 2.5rem;
    min-width: 180px;
    max-width: 260px;
    flex: 0 0 220px;
  }
  .footer-columns-align {
    display: flex;
    flex-direction: row;
    margin-left: 7vw; /* ajuste para alinhar com o botão acima, pode ser refinado */
  }
  .footer-links-col-desktop, .footer-contact-col-desktop {
    min-width: 140px;
    max-width: 180px;
    margin-right: 2.2rem;
  }
  .footer-links-col-desktop:last-child, .footer-contact-col-desktop {
    margin-right: 0;
  }
  .footer-section {
    align-items: flex-start;
  }
}

.footer-highlight {
  background: linear-gradient(90deg, #a855f7 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  letter-spacing: 0.5px;
  filter: drop-shadow(0 0 8px #a855f7aa);
}

.footer-section.footer-logo-desc-desktop .footer-description {
  max-width: 320px;
  text-align: left;
  font-size: 1.08rem;
  line-height: 1.35;
}
.footer-desc-line1 {
  white-space: nowrap;
}
.footer-desc-line2 {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .contact-info-title-mobile {
    text-align: center;
    width: 100%;
    display: block;
    margin-bottom: 1rem;
  }
}

@media (min-width: 901px) {
  .contact-desktop-wrapper .social-links .social-link .contact-social-ico {
    filter: drop-shadow(0 0 3px #a855f799) drop-shadow(0 0 6px #8b5cf655);
    transition: filter 0.3s;
  }
  .contact-desktop-wrapper .social-links .social-link:hover .contact-social-ico {
    filter: drop-shadow(0 0 6px #a855f7cc) drop-shadow(0 0 12px #8b5cf688);
  }
}

@media (max-width: 900px) {
  .contact-form label {
    text-align: left;
    width: 100%;
    display: block;
    margin-bottom: 0.3rem;
  }
}

@media (max-width: 900px) {
  .contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .contact-form input,
  .contact-form textarea {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  .contact-form button {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}

@media (max-width: 900px) {
  .social-links,
  .social-links-mobile {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    margin: 1.5rem 0 0.7rem 0; /* aumenta o espaçamento superior */
  }
}

@media (max-width: 900px) {
  .hero-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    margin: 0.8rem 0 0 0;
  }
  .hero-buttons .primary-button,
  .hero-buttons .secondary-button {
    width: 48%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    display: inline-block;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .hero-section .hero-buttons {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.7rem !important;
    width: 100% !important;
    margin: 0.8rem 0 0 0 !important;
  }
  .hero-section .hero-buttons .primary-button,
  .hero-section .hero-buttons .secondary-button {
    width: 48% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    display: inline-block !important;
    text-align: center !important;
  }
}

@media (max-width: 900px) {
  .hero-section .hero-buttons {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 0.5rem !important;
    width: 95% !important;
    margin: 0.8rem auto 0 1.2rem !important;
    max-width: 400px !important;
  }
  .hero-section .hero-buttons .primary-button,
  .hero-section .hero-buttons .secondary-button {
    width: 46% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    display: inline-block !important;
    text-align: center !important;
  }
}

@media (max-width: 900px) {
  .hero-section .cube-container {
    margin-left: 4.7rem !important;
  }
}
@media (min-width: 901px) {
  .hero-section .stats-grid {
    justify-content: flex-start !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
  }
}

.stats-grid {
  justify-content: flex-start;
  text-align: left;
}

.stat-item {
  text-align: left;
}

@media (max-width: 900px) {
  .hero-section .stats-grid {
    justify-content: center !important;
    text-align: center !important;
  }
  .stat-item {
    text-align: center !important;
  }
  .hero-section .cube-container {
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .hero-section {
    min-height: 100vh !important;
    height: 100vh !important;
    box-sizing: border-box;
    padding-bottom: 0 !important;
  }
  .scroll-indicator {
    position: absolute !important;
    bottom: 1.5rem !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    pointer-events: none !important;
    transform: none !important;
  }
  .scroll-bar {
    display: none !important;
  }
  .scroll-arrow {
    display: block !important;
    margin: 0 auto !important;
    animation: bounce 2s infinite;
  }
}

@media (min-width: 901px) {
  .scroll-bar {
    display: flex !important;
  }
  .scroll-arrow {
    display: block !important;
  }
}

@media (max-width: 900px) {
  .hero-section .hero-title {
    margin-top: 0.5rem !important;
  }
}

.mobile-menu-logo img {
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  border-radius: 0 !important;
}

.mobile-menu-link {
  display: block;
  padding: 0.9rem 1.2rem;
  margin: 0.3rem 0;
  border-radius: 0.7rem;
  color: #fff;
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  background: transparent;
}

.mobile-menu-link:hover, .mobile-menu-link:focus {
  background: linear-gradient(90deg, #8b5cf6 0%, #a855f7 100%);
  color: #fff;
}

@media (max-width: 400px) {
  .contact-value {
    font-size: 0.8rem;
    word-break: break-all;
    overflow-wrap: anywhere;
  }
}

.email-small {
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}

/* Centraliza a seta de rolagem e previne corte do cubo neon em mobile */
@media (max-width: 600px) {
  .scroll-indicator {
    position: absolute !important;
    bottom: 1rem !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    pointer-events: none !important;
    transform: none !important;
  }
  .cube-container {
    margin-left: auto;
    margin-right: auto;
    max-width: 90vw;
    width: 90vw;
    min-width: 0;
    overflow: visible;
  }
  .cube-wrapper {
    padding: 0.5rem;
    max-width: 80vw;
    min-width: 0;
  }
}

@media (max-width: 600px) {
  .cube-container {
    margin-left: auto;
    margin-right: auto;
    max-width: 80vw;
    width: 80vw;
    min-width: 0;
    overflow: visible;
    display: flex;
    justify-content: center;
  }
  .cube-wrapper {
    padding: 0.2rem;
    max-width: 70vw;
    width: 70vw;
    min-width: 0;
  }
}

@media (max-width: 600px) {
  #back-to-top, #back-to-top-en {
    bottom: 8px !important;
  }
}