
    * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-card: rgba(255,255,255,0.02);
  --text-primary: #ffffff;
  --text-secondary: #8b8b9a;
  --accent: #8b5cf6;
  --accent-light: #a78bfa;
  --accent-dark: #7c3aed;
  --gradient-1: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  --gradient-2: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
  --gradient-3: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 50%, #7c3aed 100%);
  --glow: rgba(139, 92, 246, 0.5);
  --cubic: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fc;
  --bg-card: rgba(0,0,0,0.03);
  --text-primary: #0a0a0a;
  --text-secondary: #5a5a6a;
  --glow: rgba(139, 92, 246, 0.4);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  transition: background 0.25s var(--cubic), color 0.25s var(--cubic);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

.gradient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.25;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

[data-theme="light"] .gradient-bg {
  opacity: 0.35;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  animation: floatOrb 25s infinite ease-in-out;
  will-change: transform;
  mix-blend-mode: screen;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -300px;
  left: -300px;
}

.orb-2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  bottom: -250px;
  right: -250px;
  animation-delay: 8s;
}

.orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-dark) 0%, transparent 70%);
  top: 40%;
  right: 10%;
  animation-delay: 16s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33% { transform: translate(120px, 150px) scale(1.15) rotate(120deg); }
  66% { transform: translate(-100px, 180px) scale(0.9) rotate(240deg); }
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
  pointer-events: none;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.8;
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: clamp(1rem, 3vw, 1.8rem) clamp(5%, 8vw, 8%);
  backdrop-filter: blur(25px) saturate(180%);
  background: rgba(0, 0, 0, 0.75);
  border-bottom: 1px solid rgba(139, 92, 246, 0.15);
  z-index: 1000;
  transition: all 0.25s var(--cubic);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.1);
}

[data-theme="light"] header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.08);
}

header.scrolled {
  padding: clamp(0.8rem, 2vw, 1.2rem) clamp(5%, 8vw, 8%);
  box-shadow: 0 10px 50px rgba(139, 92, 246, 0.2);
  border-bottom-color: rgba(139, 92, 246, 0.3);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
  transition: all 0.2s var(--cubic);
  cursor: pointer;
  text-shadow: 0 0 30px var(--glow);
  filter: drop-shadow(0 0 20px var(--glow));
}

.logo:hover {
  transform: scale(1.08) translateY(-2px);
  filter: drop-shadow(0 0 30px var(--glow));
}

nav {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

nav a {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: all 0.2s var(--cubic);
  text-decoration: none;
  padding: 0.5rem 0;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: var(--gradient-1);
  transition: transform 0.2s var(--cubic);
  box-shadow: 0 0 10px var(--glow);
}

nav a:hover {
  color: var(--accent);
  text-shadow: 0 0 20px var(--glow);
}

nav a:hover::before {
  transform: translateX(-50%) scaleX(1);
}

.theme-toggle {
  width: 60px;
  height: 30px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 50px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s var(--cubic);
  border: 2px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
  min-width: 60px;
  min-height: 30px;
}

.theme-toggle:hover {
  box-shadow: 0 0 30px var(--glow);
  transform: scale(1.05);
}

.theme-toggle-slider {
  width: 24px;
  height: 24px;
  background: var(--gradient-1);
  border-radius: 50%;
  position: absolute;
  top: 1px;
  left: 2px;
  transition: all 0.25s var(--cubic);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-shadow: 0 4px 15px var(--glow);
}

[data-theme="light"] .theme-toggle-slider {
  transform: translateX(30px);
  background: var(--gradient-2);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  width: 30px;
  height: 3px;
  background: var(--accent);
  border-radius: 5px;
  transition: all 0.25s var(--cubic);
  box-shadow: 0 0 10px var(--glow);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(10px, -10px);
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 10%;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 1100px;
  opacity: 0;
  animation: fadeInUp 1.2s var(--cubic) 0.3s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
  from {
    opacity: 0;
    transform: translateY(60px);
  }
}

.hero-label {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: rgba(139, 92, 246, 0.08);
  border: 2px solid var(--accent);
  border-radius: 50px;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(15px);
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 0 30px var(--glow), inset 0 0 20px rgba(139, 92, 246, 0.1);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 30px var(--glow), inset 0 0 20px rgba(139, 92, 246, 0.1); }
  50% { box-shadow: 0 0 50px var(--glow), inset 0 0 30px rgba(139, 92, 246, 0.2); }
}

.code-line {
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: clamp(2rem, 8vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2.5rem;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-height: clamp(70px, 15vw, 100px);
  background-size: 200% auto;
  animation: gradientShift 4s linear infinite;
  filter: drop-shadow(0 0 40px var(--glow));
  letter-spacing: clamp(-2px, -0.5vw, -3px);
  left: 50%;
}

@keyframes gradientShift {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.code-line::after {
  content: '|';
  color: var(--accent);
  animation: blink 0.8s infinite;
  margin-left: 8px;
  text-shadow: 0 0 30px var(--glow);
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-description {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 3.5rem;
}

.hero-cta {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: clamp(1rem, 2vw, 1.3rem) clamp(2rem, 4vw, 3.5rem);
  border-radius: 50px;
  font-weight: 800;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  cursor: pointer;
  transition: all 0.25s var(--cubic);
  border: none;
  letter-spacing: 1px;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  min-width: 44px;
  min-height: 44px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.btn:hover::before {
  width: 400px;
  height: 400px;
}

.btn-primary {
  background: var(--gradient-1);
  color: #000;
  box-shadow: 0 15px 40px var(--glow);
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 60px var(--glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 3px solid var(--accent);
  backdrop-filter: blur(15px);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

.btn-secondary:hover {
  background: var(--gradient-1);
  color: #000;
  border-color: transparent;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px var(--glow);
}

.scroll-indicator {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2.5s infinite;
  cursor: pointer;
  filter: drop-shadow(0 0 20px var(--glow));
  z-index: 10;
}

.scroll-indicator span {
  display: block;
  width: 32px;
  height: 55px;
  border: 3px solid var(--accent);
  border-radius: 50px;
  position: relative;
  box-shadow: 0 0 20px var(--glow);
}

.scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: scrollDot 2.5s infinite;
  box-shadow: 0 0 15px var(--glow);
}

/* Ajuste mobile para scroll indicator */
@media (max-width: 768px) {
  .scroll-indicator {
    bottom: 40px;
  }
  
  .scroll-indicator span {
    width: 28px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .scroll-indicator {
    bottom: 30px;
  }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(15px); }
}

@keyframes scrollDot {
  0% {
    top: 12px;
    opacity: 1;
  }
  100% {
    top: 24px;
    opacity: 0;
  }
}

:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-card: rgba(255,255,255,0.02);
  --text-primary: #ffffff;
  --text-secondary: #8b8b9a;
  --accent: #8b5cf6;
  --accent-light: #a78bfa;
  --accent-dark: #7c3aed;
  --gradient-1: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  --gradient-2: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
  --gradient-3: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 50%, #7c3aed 100%);
  --glow: rgba(139, 92, 246, 0.5);
  --cubic: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fc;
  --bg-card: rgba(0,0,0,0.03);
  --text-primary: #0a0a0a;
  --text-secondary: #5a5a6a;
  --accent: #8b5cf6;
  --accent-light: #a78bfa;
  --accent-dark: #7c3aed;
  --gradient-1: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  --gradient-2: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
  --gradient-3: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 50%, #7c3aed 100%);
  --glow: rgba(139, 92, 246, 0.4);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  transition: background 0.25s var(--cubic), color 0.25s var(--cubic);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

/* ===== ENHANCED BACKGROUND ===== */
.gradient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.25;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

[data-theme="light"] .gradient-bg {
  opacity: 0.35;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  animation: floatOrb 25s infinite ease-in-out;
  will-change: transform;
  mix-blend-mode: screen;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -300px;
  left: -300px;
}

.orb-2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  bottom: -250px;
  right: -250px;
  animation-delay: 8s;
}

.orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-dark) 0%, transparent 70%);
  top: 40%;
  right: 10%;
  animation-delay: 16s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33% { transform: translate(120px, 150px) scale(1.15) rotate(120deg); }
  66% { transform: translate(-100px, 180px) scale(0.9) rotate(240deg); }
}

/* ===== GRID TECH BACKGROUND ===== */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
  pointer-events: none;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.8;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: clamp(1rem, 3vw, 1.8rem) clamp(5%, 8vw, 8%);
  backdrop-filter: blur(25px) saturate(180%);
  background: rgba(0, 0, 0, 0.75);
  border-bottom: 1px solid rgba(139, 92, 246, 0.15);
  z-index: 1000;
  transition: all 0.25s var(--cubic);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.1);
}

[data-theme="light"] header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.08);
}

header.scrolled {
  padding: clamp(0.8rem, 2vw, 1.2rem) clamp(5%, 8vw, 8%);
  box-shadow: 0 10px 50px rgba(139, 92, 246, 0.2);
  border-bottom-color: rgba(139, 92, 246, 0.3);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
  transition: all 0.2s var(--cubic);
  cursor: pointer;
  position: relative;
  text-shadow: 0 0 30px var(--glow);
  filter: drop-shadow(0 0 20px var(--glow));
}

.logo:hover {
  transform: scale(1.08) translateY(-2px);
  filter: drop-shadow(0 0 30px var(--glow));
}

nav {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

nav a {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: all 0.2s var(--cubic);
  text-decoration: none;
  padding: 0.5rem 0;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: var(--gradient-1);
  transition: transform 0.2s var(--cubic);
  box-shadow: 0 0 10px var(--glow);
}

nav a:hover {
  color: var(--accent);
  text-shadow: 0 0 20px var(--glow);
}

nav a:hover::before {
  transform: translateX(-50%) scaleX(1);
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  width: 60px;
  height: 30px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 50px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s var(--cubic);
  border: 2px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
  min-width: 60px;
  min-height: 30px;
}

[data-theme="light"] .theme-toggle {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.theme-toggle:hover {
  box-shadow: 0 0 30px var(--glow);
  transform: scale(1.05);
}

.theme-toggle-slider {
  width: 24px;
  height: 24px;
  background: var(--gradient-1);
  border-radius: 50%;
  position: absolute;
  top: 1px;
  left: 2px;
  transition: all 0.25s var(--cubic);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-shadow: 0 4px 15px var(--glow);
}

[data-theme="light"] .theme-toggle-slider {
  transform: translateX(30px);
  background: var(--gradient-2);
  box-shadow: 0 4px 15px var(--glow);
}

/* ===== MENU MOBILE SIDEBAR - NOVA VERSÃO ===== */
@media (max-width: 768px) {
  /* Header ajustado */
  header {
    padding: 1rem 5%;
  }

  .header-content {
    position: relative;
  }

  /* Menu sidebar */
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(10, 10, 10, 0.98) 100%);
    flex-direction: column;
    padding: 100px 0 40px 0;
    gap: 0;
    justify-content: flex-start;
    align-items: stretch;
    display: flex;
    backdrop-filter: blur(30px) saturate(150%);
    z-index: 998;
    transition: right 0.4s var(--cubic);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
    border-left: 2px solid rgba(139, 92, 246, 0.3);
  }

  [data-theme="light"] nav {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 252, 0.98) 100%);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.15);
  }

  nav.active {
    right: 0;
  }

  /* Overlay escuro */
  body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 997;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    pointer-events: none;
  }

  body.menu-open::after {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

  body.menu-open {
    overflow: hidden;
  }

  /* Links do menu sidebar */
  nav a {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1.5rem 2rem;
    width: 100%;
    text-align: left;
    min-height: auto;
    border: none;
    border-radius: 0;
    margin: 0;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid rgba(139, 92, 246, 0.15);
    transition: all 0.3s var(--cubic);
    letter-spacing: 0.5px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
  }

  nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-1);
    transform: scaleY(0);
    transition: transform 0.3s var(--cubic);
    box-shadow: 0 0 15px var(--glow);
  }

  nav a:hover::before,
  nav a:active::before {
    transform: scaleY(1);
  }

  nav a:hover,
  nav a:active {
    background: rgba(139, 92, 246, 0.08);
    color: var(--accent);
    padding-left: 2.5rem;
    border-bottom-color: var(--accent);
  }

  /* Animação de entrada dos links */
  nav.active a {
    animation: slideInFromRight 0.5s var(--cubic) backwards;
  }

  nav.active a:nth-child(1) { animation-delay: 0.1s; }
  nav.active a:nth-child(2) { animation-delay: 0.2s; }
  nav.active a:nth-child(3) { animation-delay: 0.3s; }
  nav.active a:nth-child(4) { animation-delay: 0.4s; }

  @keyframes slideInFromRight {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  /* Botão do menu */
  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 1001;
    padding: 0.5rem;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s var(--cubic);
  }

  .menu-toggle:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--accent);
    transform: scale(1.05);
  }

  .menu-toggle.active {
    background: var(--gradient-1);
  }

  .menu-toggle.active span {
    background: #000;
  }

  /* Theme toggle */
  .theme-toggle {
    position: relative;
    z-index: 1001;
  }

  /* Hero ajustado */
  .hero {
    padding: 0 5%;
  }

  .hero-content {
    padding-top: 80px;
  }
}

/* Telas pequenas */
@media (max-width: 480px) {
  nav {
    width: 260px;
    padding: 90px 0 30px 0;
  }

  nav a {
    font-size: 1.1rem;
    padding: 1.3rem 1.5rem;
  }

  .menu-toggle {
    min-width: 48px;
    min-height: 48px;
  }
}
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 10%;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 1100px;
  opacity: 0;
  animation: fadeInUp 1.2s var(--cubic) 0.3s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
  from {
    opacity: 0;
    transform: translateY(60px);
  }
}

.hero-label {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: rgba(139, 92, 246, 0.08);
  border: 2px solid var(--accent);
  border-radius: 50px;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(15px);
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 0 30px var(--glow), inset 0 0 20px rgba(139, 92, 246, 0.1);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 30px var(--glow), inset 0 0 20px rgba(139, 92, 246, 0.1); }
  50% { box-shadow: 0 0 50px var(--glow), inset 0 0 30px rgba(139, 92, 246, 0.2); }
}

.code-line {
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: clamp(2rem, 8vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2.5rem;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-height: clamp(70px, 15vw, 100px);
  background-size: 200% auto;
  animation: gradientShift 4s linear infinite;
  text-shadow: 0 0 80px var(--glow);
  filter: drop-shadow(0 0 40px var(--glow));
  letter-spacing: clamp(-2px, -0.5vw, -3px);
}

@keyframes gradientShift {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.code-line::after {
  content: '|';
  color: var(--accent);
  animation: blink 0.8s infinite;
  margin-left: 8px;
  text-shadow: 0 0 30px var(--glow);
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-description {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 3.5rem;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.hero-cta {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  padding: clamp(1rem, 2vw, 1.3rem) clamp(2rem, 4vw, 3.5rem);
  border-radius: 50px;
  font-weight: 800;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  cursor: pointer;
  transition: all 0.25s var(--cubic);
  border: none;
  letter-spacing: 1px;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  min-width: 44px;
  min-height: 44px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.btn:hover::before {
  width: 400px;
  height: 400px;
}

.btn-primary {
  background: var(--gradient-1);
  color: #000;
  box-shadow: 0 15px 40px var(--glow);
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 60px var(--glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 3px solid var(--accent);
  backdrop-filter: blur(15px);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

.btn-secondary:hover {
  background: var(--gradient-1);
  color: #000;
  border-color: transparent;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px var(--glow);
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  bottom: 60px;
  left: 48%;
  transform: translateX(-50%);
  animation: bounce 2.5s infinite;
  cursor: pointer;
  filter: drop-shadow(0 0 20px var(--glow));
}

.scroll-indicator span {
  display: block;
  width: 32px;
  height: 55px;
  border: 3px solid var(--accent);
  border-radius: 50px;
  position: relative;
  box-shadow: 0 0 20px var(--glow);
}

.scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: scrollDot 2.5s infinite;
  box-shadow: 0 0 15px var(--glow);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(15px); }
}

@keyframes scrollDot {
  0% { top: 12px; opacity: 1; }
  100% { top: 35px; opacity: 0; }
}

/* ===== SECTIONS ===== */
section {
  padding: clamp(4rem, 10vw, 8rem) clamp(5%, 8vw, 10%);
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 6rem;
}

.section-label {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  background: rgba(139, 92, 246, 0.08);
  border: 2px solid var(--accent);
  border-radius: 50px;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 2rem;
  backdrop-filter: blur(15px);
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 0 30px var(--glow), inset 0 0 20px rgba(139, 92, 246, 0.1);
}

.section-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 2rem;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradientShift 4s linear infinite;
  letter-spacing: -2px;
  filter: drop-shadow(0 0 30px var(--glow));
}

.section-description {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.9;
  letter-spacing: 0.3px;
}

/* ===== SOBRE SECTION ===== */
#sobre {
  background: var(--bg-secondary);
}

.sobre-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}

.sobre-text h3 {
  font-size: 2.8rem;
  margin-bottom: 2.5rem;
  color: var(--text-primary);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1px;
}

.sobre-text p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  letter-spacing: 0.3px;
}

.sobre-text .highlight {
  color: var(--accent);
  font-weight: 800;
  text-shadow: 0 0 20px var(--glow);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}

.skill-badge {
  padding: 1.2rem;
  background: var(--bg-card);
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  text-align: center;
  font-weight: 800;
  font-size: 0.95rem;
  transition: all 0.25s var(--cubic);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.skill-badge:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--accent);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px var(--glow);
  color: var(--accent);
  text-shadow: 0 0 20px var(--glow);
}

.sobre-image {
  position: relative;
}

.sobre-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(139, 92, 246, 0.3);
  transition: all 0.3s var(--cubic);
  border: 3px solid var(--accent);
}

.sobre-image:hover img {
  transform: scale(1.03) translateY(-10px);
  box-shadow: 0 40px 100px var(--glow);
}

.image-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid var(--accent-light);
  border-radius: 30px;
  top: 30px;
  left: 30px;
  z-index: -1;
  transition: all 0.3s var(--cubic);
  box-shadow: 0 0 50px var(--glow);
}

.sobre-image:hover .image-decoration {
  top: 40px;
  left: 40px;
  box-shadow: 0 0 70px var(--glow);
}

/* ===== SERVIÇOS ===== */
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  max-width: 1300px;
  margin: 0 auto;
}

.servico-card {
  padding: 3.5rem;
  background: var(--bg-card);
  border: 2px solid rgba(139, 92, 246, 0.15);
  border-radius: 30px;
  backdrop-filter: blur(20px);
  transition: all 0.25s var(--cubic);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.servico-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.servico-card:hover::before {
  opacity: 1;
}

.servico-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 30px 70px var(--glow);
  background: rgba(139, 92, 246, 0.05);
}

.servico-icon {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  display: inline-block;
  transition: all 0.3s var(--cubic);
  filter: drop-shadow(0 0 20px var(--glow));
}

.servico-card:hover .servico-icon {
  transform: scale(1.2) rotateY(180deg);
  filter: drop-shadow(0 0 40px var(--glow));
}

.servico-card h3 {
  font-size: 1.9rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-weight: 900;
  transition: all 0.3s ease;
  letter-spacing: -0.5px;
}

.servico-card:hover h3 {
  color: var(--accent);
  text-shadow: 0 0 30px var(--glow);
}

.servico-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.1rem;
  letter-spacing: 0.3px;
}

/* ===== PROJETOS ===== */
#projetos {
  background: var(--bg-secondary);
}

.projetos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  max-width: 1300px;
  margin: 0 auto;
}

/* OCULTA AS SETAS DO CARROSSEL APENAS NO MOBILE */
@media (max-width: 768px) {
  .carousel-nav {
    display: none !important;
  }
}

/* GARANTE QUE AS SETAS APAREÇAM EM TELAS MAIORES */
@media (min-width: 769px) {
  .carousel-nav {
    display: flex !important;
  }
}


.project-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(25px) saturate(180%);
  border: 2px solid rgba(139, 92, 246, 0.15);
  border-radius: 30px;
  overflow: hidden;
  transition: all 0.35s var(--cubic);
  cursor: pointer;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .project-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(25px) saturate(180%);
  border: 2px solid rgba(139, 92, 246, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
  pointer-events: none;
}

.project-card:hover::before {
  opacity: 1;
}

.project-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 40px 90px var(--glow);
}

.project-image {
  width: 100%;
  height: 350px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid rgba(139, 92, 246, 0.2);
}

[data-theme="light"] .project-image {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.04) 100%);
  border-bottom: 2px solid rgba(139, 92, 246, 0.2);
}

.project-carousel {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-images {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.35s var(--cubic);
}

.carousel-images img,
.carousel-images video {
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s var(--cubic);
  filter: brightness(0.85) contrast(1.1);
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .carousel-images img,
[data-theme="light"] .carousel-images video {
  filter: brightness(1) contrast(1.05);
}

.project-card:hover .carousel-images img,
.project-card:hover .carousel-images video {
  transform: scale(1.1);
  filter: brightness(1) contrast(1.15);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(15px) saturate(180%);
  color: var(--accent);
  border: 2px solid var(--accent);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  transition: all 0.25s var(--cubic);
  z-index: 5;
  opacity: 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  min-width: 50px;
  min-height: 50px;
}

[data-theme="light"] .carousel-nav {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px) saturate(180%);
  border-color: var(--accent);
}

.project-card:hover .carousel-nav {
  opacity: 1;
}

.carousel-nav:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-50%) scale(1.2);
  box-shadow: 0 10px 35px var(--glow);
  border-color: var(--accent);
}

.carousel-nav.prev { left: 20px; }
.carousel-nav.next { right: 20px; }

.carousel-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 5;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(15px) saturate(180%);
  border-radius: 50px;
  border: 2px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .carousel-dots {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px) saturate(180%);
  border-color: rgba(139, 92, 246, 0.3);
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.25s var(--cubic);
  border: 2px solid rgba(255, 255, 255, 0.3);
  min-width: 10px;
  min-height: 10px;
}

[data-theme="light"] .carousel-dot {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 0, 0, 0.3);
}

.carousel-dot:hover {
  background: var(--accent);
  transform: scale(1.3);
  border-color: var(--accent);
  box-shadow: 0 0 15px var(--glow);
}

.carousel-dot.active {
  background: var(--accent);
  width: 35px;
  border-radius: 5px;
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--glow);
}

.project-info {
  padding: 3rem;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .project-info {
  background: rgba(255, 255, 255, 0.6);
}

.project-info h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-weight: 900;
  transition: all 0.3s ease;
  letter-spacing: -0.5px;
}

.project-card:hover .project-info h3 {
  color: var(--accent);
  text-shadow: 0 0 30px var(--glow);
}

.project-info p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  letter-spacing: 0.3px;
}

.project-tags {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.tag {
  padding: 0.8rem 1.5rem;
  background: rgba(139, 92, 246, 0.1);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(139, 92, 246, 0.4);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 800;
  transition: all 0.25s var(--cubic);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

[data-theme="light"] .tag {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.5);
}

.tag:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 12px 30px var(--glow);
  border-color: var(--accent);
}

/* ===== VIDEO SHOWCASE ===== */
#video-showcase {
  background: var(--bg-primary);
  overflow: hidden;
}

.video-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.video-wrapper {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 35px 90px rgba(139, 92, 246, 0.4);
  border: 3px solid var(--accent);
  transition: all 0.35s var(--cubic);
  background: rgba(0, 0, 0, 0.4);
}

.video-wrapper:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 50px 120px var(--glow);
  border-color: var(--accent);
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 27px;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.4s ease;
  pointer-events: none;
  backdrop-filter: blur(5px);
}

.video-wrapper.playing .video-overlay {
  opacity: 0;
}

.play-button {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--gradient-1);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--cubic);
  box-shadow: 0 20px 50px var(--glow);
  pointer-events: all;
  min-width: 90px;
  min-height: 90px;
}

.play-button:hover {
  transform: scale(1.15);
  box-shadow: 0 30px 80px var(--glow);
}

.play-icon {
  font-size: 3rem;
  color: #000;
  margin-left: 10px;
  font-weight: bold;
}

.video-info h3 {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
  font-weight: 900;
  line-height: 1.2;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.video-info p {
  font-size: 1.2rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  letter-spacing: 0.3px;
}

.video-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  margin-bottom: 3rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  transition: all 0.25s var(--cubic);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.feature-item:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--accent);
  transform: translateX(8px) scale(1.03);
  box-shadow: 0 10px 30px var(--glow);
}

.feature-icon {
  font-size: 2rem;
  transition: all 0.3s var(--cubic);
  filter: drop-shadow(0 0 15px var(--glow));
}

.feature-item:hover .feature-icon {
  transform: scale(1.3) rotate(360deg);
}

.feature-item span:last-child {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-primary);
}

.video-tags {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== VIDEO TEXTO ===== */
#video-texto {
  background: var(--bg-secondary);
}

.video-texto-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.video-box {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 80px var(--glow);
  border: 3px solid var(--accent);
  transition: all 0.35s var(--cubic);
}

.video-box:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 45px 110px var(--glow);
}

.video-box video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 27px;
}

.texto-box h3 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 2.5rem;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -1px;
}

.texto-box p {
  font-size: 1.2rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  letter-spacing: 0.3px;
}

.texto-box p:last-of-type {
  margin-bottom: 3rem;
}

/* ===== VIDEO EWE ===== */
#video-ewe {
  background: var(--bg-secondary);
}

.container-ewe {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.titulo-ewe {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 3.5rem;
  color: var(--text-primary);
  line-height: 1.2;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.video-ewe {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 80px var(--glow);
  border: 3px solid var(--accent);
  transition: all 0.35s var(--cubic);
  margin-bottom: 3.5rem;
}

.video-ewe:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 45px 110px var(--glow);
}

.video-ewe video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 27px;
}

.texto-ewe {
  max-width: 850px;
  margin: 0 auto;
}

.texto-ewe p {
  font-size: 1.2rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  text-align: left;
  letter-spacing: 0.3px;
}

.texto-ewe p:last-of-type {
  margin-bottom: 3rem;
}

.texto-ewe .btn {
  margin-top: 1.5rem;
}

/* ===== CONTATO ===== */
#contato {
  background: var(--bg-primary);
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
}

form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

input, textarea {
  width: 100%;
  padding: 1.8rem;
  background: var(--bg-card);
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.25s var(--cubic);
  font-weight: 600;
  backdrop-filter: blur(10px);
}

[data-theme="light"] input,
[data-theme="light"] textarea {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(139, 92, 246, 0.3);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--glow);
  background: rgba(139, 92, 246, 0.08);
  transform: translateY(-3px);
}

textarea {
  resize: vertical;
  min-height: 200px;
}

input::placeholder, textarea::placeholder {
  color: var(--text-secondary);
  font-weight: 600;
}

/* ===== FOOTER ===== */
footer {
  background: #0a0a0a;
  padding: 0;
  margin: 0;
}

[data-theme="light"] footer {
  border-top-color: rgba(139, 92, 246, 0.3);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.social-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.social-link {
  width: 70px;
  height: 70px;
  background: var(--bg-card);
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all 0.25s var(--cubic);
  text-decoration: none;
  backdrop-filter: blur(10px);
  min-width: 70px;
  min-height: 70px;
}

.social-link:hover {
  border-color: var(--accent);
  transform: translateY(-8px) scale(1.1) rotate(360deg);
  box-shadow: 0 15px 40px var(--glow);
  background: var(--gradient-1);
}

.social-link:hover span {
  filter: brightness(0);
}

footer p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s var(--cubic), 
              transform 0.6s var(--cubic);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .sobre-content {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-container,
  .video-texto-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .video-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(10, 10, 10, 0.98) 100%);
    flex-direction: column;
    padding: 0;
    gap: 0;
    justify-content: center;
    align-items: center;
    display: none;
    backdrop-filter: blur(25px);
    z-index: 999;
    
  }


  [data-theme="light"] nav {
    background: rgba(255, 255, 255, 0.98);
  }


  nav.active {
    display: flex;
  }

  nav a {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
    padding: 1.2rem;
    width: 80%;
    text-align: center;
    min-height: 60px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  }
  

  .menu-toggle {
    display: flex;
  }

  .hero-cta {
    flex-direction: column;
  }

  .projetos-grid,
  .servicos-grid {
    grid-template-columns: 1fr;
  }

  .carousel-nav {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
  }

  .carousel-nav.prev { left: 10px; }
  .carousel-nav.next { right: 10px; }
}

@media (max-width: 480px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== CRIAÇÃO DE ARTES ===== */
#artes {
  background: var(--bg-primary);
}

.artes-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.artes-video-wrapper {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 35px 90px rgba(139, 92, 246, 0.4);
  border: 3px solid var(--accent);
  transition: all 0.35s var(--cubic);
  background: rgba(0, 0, 0, 0.4);
}

.artes-video-wrapper:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 50px 120px var(--glow);
}

.artes-video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 27px;
}

.video-overlay-artes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.4s ease;
  pointer-events: none;
  backdrop-filter: blur(5px);
}

.artes-video-wrapper.playing .video-overlay-artes {
  opacity: 0;
}

.play-button-artes {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--gradient-1);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--cubic);
  box-shadow: 0 20px 50px var(--glow);
  pointer-events: all;
  min-width: 90px;
  min-height: 90px;
}

.play-button-artes:hover {
  transform: scale(1.15);
  box-shadow: 0 30px 80px var(--glow);
}

.artes-info h3 {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
  font-weight: 900;
  line-height: 1.2;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.artes-info > p {
  font-size: 1.2rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  letter-spacing: 0.3px;
}

.artes-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-radius: 25px;
  backdrop-filter: blur(10px);
}

.stat-item {
  text-align: center;
  transition: all 0.25s var(--cubic);
  cursor: pointer;
}

.stat-item:hover {
  transform: translateY(-8px);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 30px var(--glow);
}

.stat-label {
  display: block;
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.artes-specialties {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.specialty-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  transition: all 0.25s var(--cubic);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.specialty-item:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--accent);
  transform: translateX(8px) scale(1.03);
  box-shadow: 0 15px 40px var(--glow);
}

.specialty-icon {
  font-size: 2.5rem;
  transition: all 0.3s var(--cubic);
  filter: drop-shadow(0 0 15px var(--glow));
  flex-shrink: 0;
}

.specialty-item:hover .specialty-icon {
  transform: scale(1.2) rotate(360deg);
}

.specialty-text h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.3px;
}

.specialty-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== RESPONSIVE ARTES ===== */
@media (max-width: 992px) {
  .artes-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .artes-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .artes-specialties {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .artes-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stat-item {
    padding: 1rem 0;
  }

  .artes-info h3 {
    font-size: 2.2rem;
  }
}
/* ===== GALERIA DE ARTES ===== */
#galeria-artes {
  background: var(--bg-secondary);
  overflow: hidden;
}

.galeria-container {
  max-width: 1400px;
  margin: 0 auto 4rem;
  min-height: 600px; /* ADICIONADO: mantém altura mínima */
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  grid-auto-flow: dense;
  position: relative; /* ADICIONADO */
}

.galeria-item {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s var(--cubic);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(139, 92, 246, 0.15);
  background: var(--bg-card);
  min-height: 300px;
  display: flex; /* ADICIONADO */
  align-items: stretch; /* ADICIONADO */
}

.galeria-item:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 70px var(--glow);
  border-color: var(--accent);
  z-index: 10;
}

/* Tamanhos diferentes */
.galeria-item-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 600px; /* ALTERADO */
}

.galeria-item-medium {
  grid-column: span 1;
  grid-row: span 2;
  min-height: 500px; /* ALTERADO */
}

.galeria-item-small {
  grid-column: span 1;
  grid-row: span 1;
  min-height: 350px; /* ALTERADO */
}

/* ===== RESPONSIVE GALERIA ===== */
@media (max-width: 1200px) {
  .galeria-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .galeria-item-large {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 400px;
  }
  
  .galeria-item-medium {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 350px;
  }
}

@media (max-width: 768px) {
  .galeria-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .galeria-item-large,
  .galeria-item-medium,
  .galeria-item-small {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 300px;
  }
  
  .galeria-filters {
    flex-direction: column;
    gap: 1rem;
  }
  
  .filter-btn {
    width: 100%;
  }
}

.galeria-image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex; /* ADICIONADO */
  align-items: center; /* ADICIONADO */
  justify-content: center; /* ADICIONADO */
}

.galeria-image img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* MANTIDO - mostra imagem completa */
  object-position: center; /* ADICIONADO */
  display: block;
  transition: transform 0.6s var(--cubic);
  padding: 10px; /* ADICIONADO - espaço interno */
}

.galeria-item:hover .galeria-image img {
  transform: scale(1.05); /* REDUZIDO de 1.15 para 1.05 */
  filter: brightness(0.7);
}

.galeria-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  opacity: 0;
  transition: all 0.4s var(--cubic);
  backdrop-filter: blur(10px);
}

.galeria-item:hover .galeria-overlay {
  opacity: 1;
}

.galeria-info h4 {
  font-size: 1.8rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.8rem;
  transform: translateY(30px);
  transition: transform 0.4s var(--cubic) 0.1s;
  letter-spacing: -0.5px;
}

.galeria-item:hover .galeria-info h4 {
  transform: translateY(0);
}

.galeria-info p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.2rem;
  transform: translateY(30px);
  transition: transform 0.4s var(--cubic) 0.15s;
  line-height: 1.6;
}

.galeria-item:hover .galeria-info p {
  transform: translateY(0);
}

.galeria-tags {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  transform: translateY(30px);
  transition: transform 0.4s var(--cubic) 0.2s;
}

.galeria-item:hover .galeria-tags {
  transform: translateY(0);
}

.mini-tag {
  padding: 0.5rem 1rem;
  background: rgba(139, 92, 246, 0.2);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(139, 92, 246, 0.5);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--accent-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.galeria-zoom-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-1);
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0) rotate(-180deg);
  transition: all 0.4s var(--cubic) 0.2s;
  box-shadow: 0 10px 30px var(--glow);
  z-index: 10;
  min-width: 60px;
  min-height: 60px;
}

.galeria-item:hover .galeria-zoom-btn {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.galeria-zoom-btn:hover {
  transform: scale(1.15) rotate(90deg);
  box-shadow: 0 15px 40px var(--glow);
}

/* ===== FILTROS ===== */
.galeria-filters {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 4rem;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: 50px;
  max-width: 900px;
  margin: 4rem auto 0;
  border: 2px solid rgba(139, 92, 246, 0.2);
  backdrop-filter: blur(10px);
}

.filter-btn {
  padding: 1rem 2.5rem;
  background: transparent;
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 50px;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s var(--cubic);
  text-transform: uppercase;
  letter-spacing: 1px;
  min-width: 44px;
  min-height: 44px;
}

.filter-btn:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.filter-btn.active {
  background: var(--gradient-1);
  border-color: var(--accent);
  color: #000;
  box-shadow: 0 10px 30px var(--glow);
  transform: translateY(-3px);
}

/* ===== MODAL DE ZOOM (NOVA VERSÃO) ===== */
.galeria-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(30px);
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 80px 20px 40px;
}

.galeria-modal.active {
  display: block;
  opacity: 1;
}

.modal-content {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  animation: modalSlideUp 0.5s var(--cubic);
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

@keyframes modalSlideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-image-wrapper {
  width: 100%;
  max-width: 90vw; /* ADICIONADO */
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 30px;
  padding: 2rem;
  border: 3px solid var(--accent);
  box-shadow: 0 40px 100px rgba(139, 92, 246, 0.6);
  backdrop-filter: blur(10px);
}

.modal-content img {
  max-width: 100%;
  max-height: 70vh; /* ALTERADO de 75vh */
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  display: block;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-info {
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  padding: 2rem;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 30px;
  border: 2px solid rgba(139, 92, 246, 0.3);
  backdrop-filter: blur(15px);
}

.modal-info h3 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.modal-info p {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin: 0;
}

.modal-close {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: var(--gradient-1);
  border: none;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  font-size: 2.5rem;
  color: #000;
  cursor: pointer;
  transition: all 0.3s var(--cubic);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: 0 15px 40px var(--glow);
  z-index: 10001;
  border: 3px solid rgba(0, 0, 0, 0.3);
}

.modal-close:hover {
  transform: scale(1.15) rotate(90deg);
  box-shadow: 0 20px 60px var(--glow);
}

.modal-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gradient-1);
  border: none;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  font-size: 2.5rem;
  color: #000;
  cursor: pointer;
  transition: all 0.3s var(--cubic);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: 0 15px 40px var(--glow);
  z-index: 10001;
  border: 3px solid rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.modal-nav:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 20px 60px var(--glow);
}

.modal-prev {
  left: 2rem;
}

.modal-next {
  right: 2rem;
}

.modal-counter {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(139, 92, 246, 0.2);
  backdrop-filter: blur(20px);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
  z-index: 10001;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== LOADING SPINNER ===== */
.modal-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: 5px solid rgba(139, 92, 246, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===== RESPONSIVE MODAL ===== */
@media (max-width: 1024px) {
  .modal-content img {
    max-height: 65vh;
  }
  
  .modal-nav {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
  
  .modal-close {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .galeria-modal {
    padding: 100px 15px 30px;
  }

  .modal-content {
    gap: 2rem;
    min-height: calc(100vh - 130px);
  }

  .modal-image-wrapper {
    padding: 1.5rem;
    border-radius: 20px;
  }

  .modal-content img {
    max-height: 55vh;
    border-radius: 15px;
  }

  .modal-info {
    padding: 1.5rem;
  }

  .modal-close {
    top: 1.5rem;
    right: 1.5rem;
    width: 55px;
    height: 55px;
    font-size: 1.8rem;
  }

  .modal-nav {
    width: 55px;
    height: 55px;
    font-size: 2rem;
  }

  .modal-prev {
    left: 1rem;
  }

  .modal-next {
    right: 1rem;
  }

  .modal-counter {
    top: 1.5rem;
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .galeria-modal {
    padding: 90px 10px 20px;
  }

  .modal-image-wrapper {
    padding: 1rem;
  }

  .modal-content img {
    max-height: 50vh;
  }

  .modal-close,
  .modal-nav {
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }

  .modal-prev {
    left: 0.5rem;
  }

  .modal-next {
    right: 0.5rem;
  }

  .modal-counter {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
  }
}
/* ===== FAQ SECTION ===== */
#faq {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}


.faq-item {
  background: var(--bg-card);
  border: 2px solid rgba(139, 92, 246, 0.15);
  border-radius: 25px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(20px);
  position: relative;
  will-change: transform;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-1);
  transform: scaleY(0);
  transition: transform 0.3s var(--cubic);
  box-shadow: 0 0 20px var(--glow);
  transform-origin: top;
}


.faq-item:hover::before,
.faq-item.active::before {
  transform: scaleY(1);
}

.faq-item:hover {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.15);
}


.faq-item.active {
  border-color: var(--accent);
  box-shadow: 0 15px 50px var(--glow);
  background: rgba(139, 92, 246, 0.05);
  transform: translateY(-3px);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem;
  cursor: pointer;
  position: relative;
  z-index: 1;
}



.faq-icon-wrapper {
  width: 80px;
  height: 80px;
  min-width: 80px;
  background: var(--gradient-1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  transition: transform 0.3s var(--cubic), box-shadow 0.3s ease;
  box-shadow: 0 10px 30px var(--glow);
  position: relative;
  overflow: hidden;
}


.faq-icon-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}


.faq-item:hover .faq-icon-wrapper::before,
.faq-item.active .faq-icon-wrapper::before {
  width: 200px;
  height: 200px;
}

.faq-item.active .faq-icon-wrapper {
  transform: scale(1.08) rotate(10deg);
  box-shadow: 0 15px 40px var(--glow);
}
.faq-icon {
  position: relative;
  z-index: 1;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.faq-question h3 {
  flex: 1;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.4;
  letter-spacing: -0.5px;
  transition: all 0.3s var(--cubic);
}

.faq-item:hover .faq-question h3 {
  color: var(--accent);
  text-shadow: 0 0 20px var(--glow);
}

.faq-toggle {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(139, 92, 246, 0.1);
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s var(--cubic), background 0.3s ease, color 0.3s ease;
  box-shadow: 0 5px 20px rgba(139, 92, 246, 0.2);
}


.faq-item:hover .faq-toggle {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--accent);
  transform: rotate(45deg);
  box-shadow: 0 8px 30px var(--glow);
}

.faq-item.active .faq-toggle {
  transform: rotate(135deg);
  background: var(--gradient-1);
  color: #000;
  border-color: var(--accent);
  box-shadow: 0 10px 35px var(--glow);
}


.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.4s var(--cubic);
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}


.faq-answer-content {
  min-height: 0;
  padding: 0 2.5rem 0 8.5rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.faq-item.active .faq-answer-content {
  padding: 0 2.5rem 2.5rem 8.5rem;
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInAnswer {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-answer p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  letter-spacing: 0.3px;
}

.faq-answer p strong {
  color: var(--accent);
  font-weight: 800;
}

.faq-highlight {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: var(--gradient-1);
  border-radius: 15px;
  margin-top: 2rem;
  box-shadow: 0 10px 30px var(--glow);
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 10px 30px var(--glow);
  }
  50% {
    box-shadow: 0 15px 45px var(--glow);
  }
}

.faq-highlight.warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}


.faq-highlight .highlight-icon {
  font-size: 2rem;
  animation: bounce 2s ease-in-out infinite;
}


@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.faq-highlight span:last-child {
  font-size: 1.1rem;
  font-weight: 800;
  color: #000;
  line-height: 1.4;
}


.payment-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
  padding: 2rem;
  background: rgba(139, 92, 246, 0.05);
  border-radius: 20px;
  border: 2px solid rgba(139, 92, 246, 0.2);
}


.payment-step {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  flex: 1;
  transition: all 0.3s var(--cubic);
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.payment-step:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--accent);
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 40px var(--glow);
}



.step-number {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 900;
  color: #000;
  box-shadow: 0 8px 25px var(--glow);
  transition: all 0.3s var(--cubic);
}

.payment-step:hover .step-number {
  transform: scale(1.2) rotate(360deg);
  box-shadow: 0 12px 35px var(--glow);
}
.step-content h4 {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}
.step-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0;
}

.payment-arrow {
  font-size: 2.5rem;
  color: var(--accent);
  font-weight: bold;
  animation: slideArrow 1.5s ease-in-out infinite;
  text-shadow: 0 0 20px var(--glow);
}

@keyframes slideArrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(10px); }
}


.faq-cta {
  max-width: 700px;
  margin: 6rem auto 0;
  text-align: center;
  padding: 4rem;
  background: var(--gradient-1);
  border-radius: 30px;
  box-shadow: 0 30px 80px var(--glow);
  position: relative;
  overflow: hidden;
}



.faq-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotateBg 10s linear infinite;
}
@keyframes rotateBg {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.faq-cta h3 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #000;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  letter-spacing: -1px;
}

.faq-cta p {
  font-size: 1.3rem;
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
  font-weight: 600;
}
.faq-cta .btn {
  position: relative;
  z-index: 1;
  background: #000;
  color: var(--accent);
  border: 3px solid #000;
}

.faq-cta .btn:hover {
  background: #fff;
  color: #000;
  border-color: #000;
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* ===== RESPONSIVE FAQ ===== */
@media (max-width: 992px) {
  .payment-steps {
    flex-direction: column;
  }
  
  .payment-arrow {
    transform: rotate(90deg);
  }
  
  @keyframes slideArrow {
    0%, 100% { transform: rotate(90deg) translateX(0); }
    50% { transform: rotate(90deg) translateX(10px); }
  }
}

@media (max-width: 768px) {
  .faq-question {
    gap: 1rem;
    padding: 2rem;
  }
  
  .faq-icon-wrapper {
    width: 60px;
    height: 60px;
    min-width: 60px;
    font-size: 2rem;
  }
  
  .faq-question h3 {
    font-size: 1.2rem;
  }
  
  .faq-toggle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 2rem;
  }
  
  .faq-answer-content {
    padding-left: 0;
  }
  
  .faq-item.active .faq-answer-content {
    padding: 0 2rem 2rem 2rem;
  }
  
  .payment-step {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .faq-cta {
    padding: 3rem 2rem;
    margin-top: 4rem;
  }
  
  .faq-cta h3 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .faq-highlight {
    flex-direction: column;
    text-align: center;
  }
}
.new-footer-container {
  padding: 3rem 2rem 2rem 2rem;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.new-social-wrapper {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1000px;
  width: 100%;
}

.new-social-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  flex: 1;
  min-width: 240px;
  max-width: 300px;
}

.new-social-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.new-social-item:nth-child(1):hover .new-icon-box {
  background: #25D366;
}

.new-social-item:nth-child(2):hover .new-icon-box {
  background: #EA4335;
}

.new-social-item:nth-child(3):hover .new-icon-box {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.new-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.new-icon-svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
}

.new-text-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.new-label {
  font-size: 0.75rem;
  color: #8b8b9e;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.new-contact {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 500;
}

.new-copyright {
  color: #6b6b7e;
  font-size: 0.9rem;
  text-align: center;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  max-width: 1000px;
}

@media (max-width: 768px) {
  .new-social-wrapper {
    flex-direction: column;
    gap: 1rem;
  }
  
  .new-social-item {
    max-width: 100%;
  }
  
  .new-footer-container {
    padding: 2rem 1.5rem 1.5rem 1.5rem;
  }
}
/* ===== CARTÃO DE VISITA DIGITAL ===== */
#cartao-digital {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.biolink-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.biolink-text h3 {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
  font-weight: 900;
  line-height: 1.2;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.biolink-text > p {
  font-size: 1.2rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  letter-spacing: 0.3px;
}

.biolink-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.biolink-feature-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  transition: all 0.25s var(--cubic);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.biolink-feature-item:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--accent);
  transform: translateX(8px) scale(1.03);
  box-shadow: 0 15px 40px var(--glow);
}

.biolink-feature-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: var(--gradient-1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all 0.3s var(--cubic);
  box-shadow: 0 8px 25px var(--glow);
  flex-shrink: 0;
}

.biolink-feature-item:hover .biolink-feature-icon {
  transform: scale(1.15) rotate(360deg);
  box-shadow: 0 12px 35px var(--glow);
}

.biolink-feature-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

/* Phone Mockup */
.biolink-phone-wrapper {
  position: relative;
  perspective: 1000px;
}

.biolink-phone {
  width: 340px;
  height: 680px;
  background: #1a1a1a;
  border-radius: 45px;
  padding: 15px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.6);
  margin: 0 auto;
  position: relative;
  animation: phoneBioFloat 5s ease-in-out infinite;
}

@keyframes phoneBioFloat {
  0%, 100% { transform: translateY(0) rotateY(-8deg); }
  50% { transform: translateY(-25px) rotateY(8deg); }
}

[data-theme="light"] .biolink-phone {
  background: #2d2d2d;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.4);
}

.biolink-phone-notch {
  width: 160px;
  height: 28px;
  background: #1a1a1a;
  border-radius: 0 0 22px 22px;
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

[data-theme="light"] .biolink-phone-notch {
  background: #2d2d2d;
}

.biolink-phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
  border-radius: 35px;
  overflow: hidden;
  position: relative;
}

.biolink-screen-content {
  padding: 50px 30px 30px;
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.biolink-screen-content::-webkit-scrollbar {
  display: none;
}

.biolink-profile-pic {
  width: 110px;
  height: 110px;
  background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
  border-radius: 50%;
  border: 5px solid white;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 45px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  animation: profilePulse 3s ease-in-out infinite;
}

@keyframes profilePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.biolink-profile-name {
  color: white;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.biolink-profile-bio {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 600;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
}

.biolink-links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.biolink-link {
  background: rgba(255, 255, 255, 0.97);
  padding: 18px 24px;
  border-radius: 18px;
  text-align: center;
  color: #2d3748;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.biolink-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(102, 126, 234, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.biolink-link:hover::before {
  width: 300px;
  height: 300px;
}

.biolink-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.biolink-socials {
  display: flex;
  gap: 18px;
  margin-top: 25px;
}

.biolink-social {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.biolink-social:hover {
  transform: scale(1.15) rotate(360deg);
  background: white;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVE BIOLINK ===== */
@media (max-width: 992px) {
  .biolink-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .biolink-phone-wrapper {
    order: -1;
  }
}

@media (max-width: 768px) {
  .biolink-text h3 {
    font-size: 2.2rem;
  }

  .biolink-phone {
    width: 300px;
    height: 600px;
  }

  .biolink-profile-pic {
    width: 90px;
    height: 90px;
    font-size: 38px;
  }
}

@media (max-width: 480px) {
  .biolink-phone {
    width: 280px;
    height: 560px;
  }
}