/* Importar fontes */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap");

/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #0843ff;
  --dark-blue: #002292;
  --light-blue: #4f8fff;
  --accent-cyan: #00d4ff;
  --accent-purple: #8b5cf6;
  --text-dark: #1a1a2e;
  --text-light: #6b7280;
  --bg-light: #f8fafc;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  overflow-x: hidden;
}

/* Partículas de fundo */
.particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-blue);
  border-radius: 50%;
  opacity: 0.6;
  animation: float-particle 6s infinite ease-in-out;
}

.particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}
.particle:nth-child(2) {
  top: 60%;
  left: 20%;
  animation-delay: 1s;
}
.particle:nth-child(3) {
  top: 40%;
  left: 80%;
  animation-delay: 2s;
}
.particle:nth-child(4) {
  top: 80%;
  left: 70%;
  animation-delay: 3s;
}
.particle:nth-child(5) {
  top: 30%;
  left: 50%;
  animation-delay: 4s;
}
.particle:nth-child(6) {
  top: 70%;
  left: 30%;
  animation-delay: 5s;
}
.particle:nth-child(7) {
  top: 10%;
  left: 60%;
  animation-delay: 2.5s;
}
.particle:nth-child(8) {
  top: 90%;
  left: 40%;
  animation-delay: 1.5s;
}

@keyframes float-particle {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 1;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header melhorado */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(8, 67, 255, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(45deg, var(--primary-blue), var(--accent-cyan));
  border-radius: 50%;
  opacity: 0;
  filter: blur(20px);
  transition: opacity 0.3s ease;
}

.logo:hover .logo-glow {
  opacity: 0.3;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  letter-spacing: 0.5px;
}

.logo-sub {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-blue);
  line-height: 1;
  letter-spacing: 1px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  padding: 0.5rem 1rem;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.nav-item:hover {
  color: white;
  background: rgba(8, 67, 255, 0.1);
}

.nav-item.active {
  color: white;
  background: rgba(8, 67, 255, 0.2);
}

.nav-indicator {
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-cyan));
  border-radius: 1px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-item.active .nav-indicator {
  width: 80%;
}

/* Botões melhorados */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(8, 67, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(8, 67, 255, 0.4);
}

.btn-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.btn-primary:hover .btn-glow {
  opacity: 1;
  animation: shine 0.6s ease-in-out;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.btn-particles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.btn-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  animation: particle-burst 0.6s ease-out;
}

.btn-particles span:nth-child(1) {
  animation-delay: 0s;
}
.btn-particles span:nth-child(2) {
  animation-delay: 0.1s;
}
.btn-particles span:nth-child(3) {
  animation-delay: 0.2s;
}

@keyframes particle-burst {
  0% {
    transform: scale(0) translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: scale(1) translate(var(--random-x, 20px), var(--random-y, -20px));
    opacity: 0;
  }
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid var(--primary-blue);
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  background: rgba(8, 67, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(8, 67, 255, 0.2);
}

.btn-border-animation {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(8, 67, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.btn-secondary:hover .btn-border-animation {
  left: 100%;
}

/* Menu Mobile Melhorado */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  z-index: 1001;
}

.hamburger {
  width: 25px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: 999;
}

.mobile-menu.active {
  transform: translateX(0);
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.nav-item-mobile {
  background: none;
  border: none;
  color: white;
  font-weight: 600;
  font-size: 1.5rem;
  padding: 1rem 2rem;
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-item-mobile:hover {
  background: rgba(8, 67, 255, 0.2);
  transform: scale(1.05);
}

.nav-item-mobile::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(8, 67, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.nav-item-mobile:hover::before {
  left: 100%;
}

.mobile-cta {
  margin-top: 2rem;
  font-size: 1.2rem;
  padding: 1rem 2rem;
}

/* Animação do hamburger quando ativo */
.mobile-menu.active ~ .nav-wrapper .mobile-menu-btn .hamburger:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu.active ~ .nav-wrapper .mobile-menu-btn .hamburger:nth-child(2) {
  opacity: 0;
}

.mobile-menu.active ~ .nav-wrapper .mobile-menu-btn .hamburger:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Background decorations melhoradas */
.bg-decorations {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float-blob 8s ease-in-out infinite;
}

.bg-blob-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  top: -200px;
  right: -200px;
  animation-delay: 0s;
}

.bg-blob-2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, var(--accent-purple), var(--primary-blue));
  top: 50%;
  left: -250px;
  animation-delay: 3s;
}

.bg-blob-3 {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, var(--dark-blue), var(--accent-cyan));
  bottom: -175px;
  right: 30%;
  animation-delay: 6s;
}

@keyframes float-blob {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  33% {
    transform: translateY(-30px) rotate(120deg) scale(1.1);
  }
  66% {
    transform: translateY(20px) rotate(240deg) scale(0.9);
  }
}

.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(8, 67, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 67, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
}

/* Hero Section melhorada */
.hero {
  padding: 140px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(26, 26, 46, 0.8) 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(8, 67, 255, 0.1);
  border: 1px solid rgba(8, 67, 255, 0.3);
  border-radius: 50px;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(8, 67, 255, 0.2);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.badge-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(8, 67, 255, 0.3), transparent);
  animation: badge-glow 3s ease-in-out infinite;
}

@keyframes badge-glow {
  0%,
  100% {
    transform: translateX(-100%) rotate(45deg);
  }
  50% {
    transform: translateX(100%) rotate(45deg);
  }
}

.badge-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50px;
  padding: 1px;
  background: linear-gradient(45deg, var(--primary-blue), var(--accent-cyan));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.title-line {
  display: block;
  opacity: 0;
  animation: slide-up 0.8s ease-out 0.2s forwards;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glitch::before {
  animation: glitch-1 2s infinite;
  color: var(--accent-cyan);
  z-index: -1;
}

.glitch::after {
  animation: glitch-2 2s infinite;
  color: var(--primary-blue);
  z-index: -2;
}

@keyframes glitch-1 {
  0%,
  14%,
  15%,
  49%,
  50%,
  99%,
  100% {
    transform: translate(0);
  }
  15%,
  49% {
    transform: translate(-2px, 2px);
  }
}

@keyframes glitch-2 {
  0%,
  20%,
  21%,
  62%,
  63%,
  99%,
  100% {
    transform: translate(0);
  }
  21%,
  62% {
    transform: translate(2px, -2px);
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 500px;
  opacity: 0;
  animation: slide-up 0.8s ease-out 0.4s forwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: slide-up 0.8s ease-out 0.6s forwards;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Stats melhoradas */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(8, 67, 255, 0.3);
  opacity: 0;
  animation: slide-up 0.8s ease-out 0.8s forwards;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(8, 67, 255, 0.05);
  border: 1px solid rgba(8, 67, 255, 0.2);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(8, 67, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(8, 67, 255, 0.2);
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.stat-number,
.stat-text {
  font-size: 2.5rem;
  font-weight: 900;
  color: white;
  margin-bottom: 0.5rem;
  font-family: "JetBrains Mono", monospace;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.stat-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(8, 67, 255, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-item:hover .stat-glow {
  opacity: 1;
}

/* Logo hero melhorado */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.logo-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ring {
  position: absolute;
  border: 2px solid rgba(8, 67, 255, 0.3);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 {
  width: 200px;
  height: 200px;
  animation: rotate 20s linear infinite;
}

.ring-2 {
  width: 250px;
  height: 250px;
  animation: rotate 30s linear infinite reverse;
  border-color: rgba(0, 212, 255, 0.3);
}

.ring-3 {
  width: 300px;
  height: 300px;
  animation: rotate 40s linear infinite;
  border-color: rgba(139, 92, 246, 0.3);
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.main-logo {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 20px rgba(8, 67, 255, 0.5));
  animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.logo-glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(8, 67, 255, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: glow-pulse 2s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
  from {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

.logo-text-hero {
  text-align: center;
}

.logo-text-hero .logo-main {
  font-size: 1.8rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  letter-spacing: 1px;
  font-family: "JetBrains Mono", monospace;
}

.typing-effect {
  overflow: hidden;
  border-right: 3px solid var(--primary-blue);
  white-space: nowrap;
  animation: typing 3s steps(13, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: var(--primary-blue);
  }
}

.logo-text-hero .logo-sub {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-blue);
  line-height: 1;
  letter-spacing: 2px;
  margin-top: 0.5rem;
}

/* Services Section melhorada */
.services {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(16, 33, 62, 0.8) 100%);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-badge {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: rgba(8, 67, 255, 0.1);
  border: 1px solid rgba(8, 67, 255, 0.3);
  border-radius: 50px;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(8, 67, 255, 0.2);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.badge-shine {
  position: absolute;
  top: -50%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  animation: shine-badge 3s ease-in-out infinite;
}

@keyframes shine-badge {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.section-title {
  font-size: 3rem;
  font-weight: 900;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.highlight {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.section-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
}

.service-card {
  background: rgba(8, 67, 255, 0.05);
  border: 1px solid rgba(8, 67, 255, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(8, 67, 255, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-15px) rotateX(5deg);
  box-shadow: 0 25px 50px rgba(8, 67, 255, 0.3);
  border-color: rgba(8, 67, 255, 0.5);
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(8, 67, 255, 0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover .card-glow {
  opacity: 1;
}

.service-icon {
  width: 5rem;
  height: 5rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(8, 67, 255, 0.4);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(8, 67, 255, 0.6);
}

.icon-emoji {
  position: relative;
  z-index: 2;
}

.icon-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .icon-bg {
  opacity: 1;
}

.service-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.service-card:hover .service-title {
  color: var(--accent-cyan);
}

.service-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 1.1rem;
}

.card-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(45deg, var(--primary-blue), var(--accent-cyan));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .card-border {
  opacity: 1;
}

/* About Section melhorada */
.about {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(16, 33, 62, 0.9) 0%, rgba(10, 10, 10, 0.9) 100%);
  position: relative;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.achievements {
  margin: 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.achievement-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(8, 67, 255, 0.05);
  border: 1px solid rgba(8, 67, 255, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.achievement-item:hover {
  transform: translateX(10px);
  background: rgba(8, 67, 255, 0.1);
  border-color: rgba(8, 67, 255, 0.4);
}

.achievement-item .check {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: bold;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(8, 67, 255, 0.4);
}

.achievement-item span:not(.check) {
  color: white;
  font-weight: 500;
  font-size: 1.1rem;
}

.achievement-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(8, 67, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.achievement-item:hover .achievement-glow {
  left: 100%;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.about-stat {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(8, 67, 255, 0.05);
  border: 1px solid rgba(8, 67, 255, 0.2);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-stat:hover {
  transform: translateY(-10px);
  background: rgba(8, 67, 255, 0.1);
  border-color: rgba(8, 67, 255, 0.4);
}

.about-stat .stat-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-stat .stat-number,
.about-stat .stat-text {
  font-size: 2rem;
  font-weight: 900;
  color: white;
  margin-bottom: 0.5rem;
  font-family: "JetBrains Mono", monospace;
}

.about-stat .stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.stat-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(8, 67, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-stat 2s ease-in-out infinite;
}

@keyframes pulse-stat {
  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

/* Carousel 3D melhorado */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 400px;
  margin: 0 auto;
  perspective: 1200px;
  overflow: hidden; /* Adicionar overflow hidden para conter os slides */
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden; /* Adicionar overflow hidden */
}

.carousel-3d {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  overflow: hidden; /* Adicionar overflow hidden */
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  background: linear-gradient(135deg, rgba(8, 67, 255, 0.1), rgba(0, 34, 146, 0.1));
  border: 1px solid rgba(8, 67, 255, 0.3);
  left: 0; /* Garantir que todos os slides comecem na mesma posição */
  top: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.slide:hover img {
  transform: scale(1.05);
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.slide:hover .slide-overlay {
  transform: translateY(0);
}

.slide-overlay h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.slide-overlay p {
  font-size: 1rem;
  opacity: 0.8;
}

/* Estados dos slides - SEM translateX que empurra para os lados */
.slide.active {
  transform: scale(1) translateZ(0px);
  z-index: 3;
  opacity: 1;
  
}


.slide.next {
  transform: scale(0.8) translateZ(-150px) rotateY(-15deg);
  z-index: 2;
  opacity: 1;
  transform-origin: left center; /* Manter origem à esquerda */
}

.slide.prev {
  transform: scale(0.8) translateZ(-150px) rotateY(15deg);
  z-index: 2;
  opacity: 1;
  transform-origin: right center; /* Manter origem à direita */
}

.slide.hidden {
  transform: scale(0.5) translateZ(-300px);
  z-index: 1;
  opacity: 1;
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(8, 67, 255, 0.2);
  border: 2px solid rgba(8, 67, 255, 0.5);
  border-radius: 50%;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
  z-index: 4;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-container:hover .nav-arrow {
  opacity: 1;
}

.nav-arrow:hover {
  background: rgba(8, 67, 255, 0.4);
  border-color: rgba(8, 67, 255, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.arrow-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(45deg, var(--primary-blue), var(--accent-cyan));
  border-radius: 50%;
  opacity: 0;
  filter: blur(15px);
  transition: opacity 0.3s ease;
}

.nav-arrow:hover .arrow-glow {
  opacity: 0.5;
}

.nav-prev {
  left: 30px;
}

.nav-next {
  right: 30px;
}

.dots-container {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 4;
}

.dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(8, 67, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.dot.active {
  background: var(--primary-blue);
  border-color: var(--accent-cyan);
  transform: scale(1.3);
}

.dot-glow {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: var(--primary-blue);
  border-radius: 50%;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.3s ease;
}

.dot.active .dot-glow {
  opacity: 0.6;
}

/* Responsive do carousel */
@media (max-width: 1024px) {
  .carousel-container {
    max-width: 500px;
    height: 350px;
  }
}

@media (max-width: 768px) {
  .carousel-container {
    height: 300px;
    max-width: 400px;
    margin: 0 auto;
  }

  .nav-arrow {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .nav-prev {
    left: 10px;
  }

  .nav-next {
    right: 10px;
  }

  .slide-overlay {
    padding: 1.5rem;
  }

  .slide-overlay h4 {
    font-size: 1.2rem;
  }

  .slide-overlay p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    height: 250px;
    max-width: 320px;
  }

  .nav-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .nav-prev {
    left: 5px;
  }

  .nav-next {
    right: 5px;
  }

  .dots-container {
    bottom: 15px;
  }

  .dot {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 360px) {
  .carousel-container {
    height: 200px;
    max-width: 280px;
  }
}

/* Contact Section melhorada */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(26, 26, 46, 0.9) 100%);
  position: relative;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.contact-form-wrapper {
  background: rgba(8, 67, 255, 0.05);
  border: 1px solid rgba(8, 67, 255, 0.2);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 15px 35px rgba(8, 67, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.form-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(8, 67, 255, 0.1) 0%, transparent 70%);
  animation: form-glow 4s ease-in-out infinite;
}

@keyframes form-glow {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: relative;
}

.form-group label {
  font-weight: 600;
  color: white;
  font-size: 1rem;
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  border: 2px solid rgba(8, 67, 255, 0.3);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(8, 67, 255, 0.05);
  color: white;
  backdrop-filter: blur(10px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(8, 67, 255, 0.2);
  background: rgba(8, 67, 255, 0.1);
}

.input-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  background: linear-gradient(45deg, var(--primary-blue), var(--accent-cyan));
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.form-group input:focus + .input-glow,
.form-group textarea:focus + .input-glow {
  opacity: 0.3;
}

.btn-submit {
  position: relative;
  overflow: hidden;
}

.btn-loading,
.btn-success {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: white;
  margin-bottom: 1rem;
}

.contact-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(8, 67, 255, 0.05);
  border: 1px solid rgba(8, 67, 255, 0.2);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer; /* Adicionar esta linha */
}

.contact-item:hover {
  transform: translateY(-5px);
  background: rgba(8, 67, 255, 0.1);
  border-color: rgba(8, 67, 255, 0.4);
}

.contact-item:active {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(8, 67, 255, 0.3);
}

.contact-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(8, 67, 255, 0.4);
  position: relative;
}

.icon-pulse {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  border-radius: 20px;
  opacity: 0;
  filter: blur(10px);
  animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {
  0%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.contact-details h4 {
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.contact-details p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

/* Footer melhorado */
.footer {
  background: linear-gradient(135deg, rgba(0, 34, 146, 0.9) 0%, rgba(10, 10, 10, 1) 100%);
  color: white;
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-blue), var(--accent-cyan), transparent);
  animation: footer-glow 3s ease-in-out infinite;
}

@keyframes footer-glow {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

.footer-logo-text .logo-main {
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.5px;
}

.footer-logo-text .logo-sub {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-blue);
  line-height: 1;
  letter-spacing: 1px;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-size: 1.1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-btn {
  width: 3rem;
  height: 3rem;
  background: rgba(8, 67, 255, 0.2);
  border: 2px solid rgba(8, 67, 255, 0.5);
  border-radius: 12px;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.social-btn:hover {
  background: rgba(8, 67, 255, 0.4);
  border-color: var(--primary-blue);
  transform: translateY(-3px);
}

.social-glow {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: var(--primary-blue);
  border-radius: 15px;
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.3s ease;
}

.social-btn:hover .social-glow {
  opacity: 0.5;
}

.footer-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  padding: 0.5rem 0;
  font-size: 1rem;
  position: relative;
}

.footer-links button:hover {
  color: white;
  transform: translateX(5px);
}

.footer-links button::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: width 0.3s ease;
  transform: translateY(-50%);
}

.footer-links button:hover::before {
  width: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(8, 67, 255, 0.3);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
}

.footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-cyan), var(--primary-blue));
  animation: wave 3s ease-in-out infinite;
}

@keyframes wave {
  0%,
  100% {
    transform: scaleX(1);
  }
  50% {
    transform: scaleX(1.1);
  }
}

/* Responsive Design melhorado */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .section-title {
    font-size: 2.8rem;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }

  .carousel-container {
    max-width: 500px;
    height: 350px;
  }
}

@media (max-width: 768px) {
  .nav-desktop,
  .btn-primary:not(.mobile-cta) {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .container {
    padding: 0 20px;
  }

  /* Hero Section Mobile */
  .hero {
    padding: 120px 0 80px;
    min-height: auto;
  }

  .hero-content,
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-title {
    font-size: 2.8rem;
    text-align: center;
  }

  .hero-description {
    text-align: center;
    font-size: 1.1rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .btn-large {
    width: 100%;
    max-width: 300px;
  }

  /* Stats Mobile */
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Sections Mobile */
  .section-title {
    font-size: 2.2rem;
    text-align: center;
  }

  .section-description {
    font-size: 1.1rem;
    text-align: center;
  }

  /* Services Mobile */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  /* About Mobile */
  .about-text {
    font-size: 1.1rem;
    text-align: center;
  }

  .achievements {
    max-width: 400px;
    margin: 2rem auto;
  }

  .achievement-item {
    padding: 1rem;
    font-size: 1rem;
  }

  /* Carousel Mobile */
  .carousel-container {
    height: 300px;
    max-width: 400px;
    margin: 0 auto;
  }

  .nav-arrow {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .nav-prev {
    left: 10px;
  }

  .nav-next {
    right: 10px;
  }

  .slide-overlay {
    padding: 1.5rem;
  }

  .slide-overlay h4 {
    font-size: 1.2rem;
  }

  .slide-overlay p {
    font-size: 0.9rem;
  }

  /* Contact Mobile */
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }

  .contact-title {
    font-size: 2rem;
    text-align: center;
  }

  .contact-description {
    font-size: 1.1rem;
    text-align: center;
  }

  .contact-item {
    padding: 1.5rem;
  }

  .contact-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
  }

  /* Footer Mobile */
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .footer-section {
    gap: 1rem;
  }

  /* Logo Mobile */
  .logo-text-hero .logo-main {
    font-size: 1.4rem;
  }

  .logo-text-hero .logo-sub {
    font-size: 0.9rem;
  }

  /* Rings Mobile */
  .ring-1,
  .ring-2,
  .ring-3 {
    display: none;
  }

  /* Menu mobile responsivo */
  .nav-item-mobile {
    font-size: 1.3rem;
    padding: 1rem 2rem;
    width: 100%;
    max-width: 300px;
  }

  .mobile-cta {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    width: 100%;
    max-width: 300px;
  }

  .nav-mobile {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  /* Hero Extra Small */
  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.6rem 1.2rem;
    margin-bottom: 1.5rem;
  }

  /* Sections Extra Small */
  .section-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .section-description {
    font-size: 1rem;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  /* Services Extra Small */
  .service-card {
    padding: 1.5rem;
  }

  .service-icon {
    width: 4rem;
    height: 4rem;
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .service-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }

  .service-description {
    font-size: 1rem;
  }

  /* About Extra Small */
  .about-text {
    font-size: 1rem;
  }

  .achievement-item {
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  .achievement-item .check {
    width: 25px;
    height: 25px;
    font-size: 0.8rem;
  }

  /* Carousel Extra Small */
  .carousel-container {
    height: 250px;
    max-width: 320px;
  }

  .nav-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .nav-prev {
    left: 5px;
  }

  .nav-next {
    right: 5px;
  }

  .dots-container {
    bottom: 15px;
  }

  .dot {
    width: 12px;
    height: 12px;
  }

  /* Contact Extra Small */
  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .contact-title {
    font-size: 1.6rem;
  }

  .contact-description {
    font-size: 1rem;
  }

  .contact-item {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.2rem;
  }

  .contact-details h4 {
    font-size: 1rem;
  }

  .contact-details p {
    font-size: 0.9rem;
  }

  /* Footer Extra Small */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links {
    align-items: center;
  }

  /* Stats Extra Small */
  .stat-item,
  .about-stat {
    padding: 1.5rem 1rem;
  }

  .stat-number,
  .stat-text,
  .about-stat .stat-number {
    font-size: 2rem;
  }

  .stat-label,
  .about-stat .stat-label {
    font-size: 0.8rem;
  }

  /* Logo Extra Small */
  .logo-text .logo-main {
    font-size: 1rem;
  }

  .logo-text .logo-sub {
    font-size: 0.75rem;
  }

  .logo-text-hero .logo-main {
    font-size: 1.2rem;
  }

  .logo-text-hero .logo-sub {
    font-size: 0.8rem;
  }

  /* Menu Extra Small */
  .nav-item-mobile {
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
  }

  .mobile-cta {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }

  /* Form Extra Small */
  .form-group label {
    font-size: 0.9rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  .btn-submit {
    padding: 1rem;
    font-size: 1rem;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 10px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .carousel-container {
    height: 200px;
    max-width: 280px;
  }

  .service-card {
    padding: 1rem;
  }

  .contact-form-wrapper {
    padding: 1rem;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 0.5rem 1rem;
  }

  .nav-item-mobile {
    font-size: 1rem;
    padding: 0.7rem 1rem;
  }

  .mobile-cta {
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
  }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding: 80px 0 40px;
    min-height: auto;
  }

  .hero-content {
    gap: 2rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .stat-item {
    padding: 1rem;
  }

  .mobile-menu {
    padding: 1rem;
  }

  .nav-mobile {
    gap: 1rem;
  }

  .nav-item-mobile {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }
}

/* Efeitos de tilt para cards */
[data-tilt] {
  transform-style: preserve-3d;
}

/* Animações de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Melhorias de performance */
* {
  will-change: auto;
}

.service-card,
.stat-item,
.achievement-item,
.contact-item {
  will-change: transform;
}

/* Ajustes para telas muito largas */
@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }

  .hero-title {
    font-size: 5rem;
  }

  .section-title {
    font-size: 3.5rem;
  }
}

/* Ajustes para tablets em modo retrato */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .hero-content,
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }

  .carousel-container {
    max-width: 600px;
    height: 400px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
