/* Variáveis para cores - Mantendo as cores originais do K.A.D.A. */
:root {
  --primary-color: #5d3fd3;
  --secondary-color: #4b0082; 
  --accent-color: #8a2be2;
  --text-color: #e0e0e0;
  --bg-color: #0d0d2b; 
  --card-bg: #1a1a36;
  --card-border: #2c2c54;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-color);
  background: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Container principal */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Padrão de fundo ondulado com pontos - Integrado */
.background-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 1px 1px, rgba(138, 43, 226, 0.15) 1px, transparent 0);
  background-size: 20px 20px;
  background-position: 0 0;
  z-index: -2;
  animation: pattern-drift 60s ease-in-out infinite;
}

.background-pattern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse 800px 600px at 20% 40%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 1000px 800px at 80% 60%, rgba(93, 63, 211, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 600px 400px at 40% 80%, rgba(75, 0, 130, 0.06) 0%, transparent 50%);
  animation: wave-motion 25s ease-in-out infinite;
}

@keyframes pattern-drift {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(10px, -5px); }
  50% { transform: translate(-5px, 10px); }
  75% { transform: translate(-10px, -10px); }
}

@keyframes wave-motion {
  0%, 100% { 
    background: 
      radial-gradient(ellipse 800px 600px at 20% 40%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
      radial-gradient(ellipse 1000px 800px at 80% 60%, rgba(93, 63, 211, 0.08) 0%, transparent 50%),
      radial-gradient(ellipse 600px 400px at 40% 80%, rgba(75, 0, 130, 0.06) 0%, transparent 50%);
  }
  33% { 
    background: 
      radial-gradient(ellipse 900px 700px at 60% 20%, rgba(138, 43, 226, 0.12) 0%, transparent 50%),
      radial-gradient(ellipse 800px 600px at 30% 80%, rgba(93, 63, 211, 0.09) 0%, transparent 50%),
      radial-gradient(ellipse 700px 500px at 80% 40%, rgba(75, 0, 130, 0.07) 0%, transparent 50%);
  }
  66% { 
    background: 
      radial-gradient(ellipse 700px 500px at 80% 70%, rgba(138, 43, 226, 0.08) 0%, transparent 50%),
      radial-gradient(ellipse 900px 700px at 10% 30%, rgba(93, 63, 211, 0.1) 0%, transparent 50%),
      radial-gradient(ellipse 800px 600px at 60% 10%, rgba(75, 0, 130, 0.05) 0%, transparent 50%);
  }
}

/* Animação de fundo com estrelas - Original do K.A.D.A. */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(2px 2px at 20px 30px, var(--accent-color), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.1), transparent),
    radial-gradient(1px 1px at 90px 40px, var(--primary-color), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.1), transparent),
    radial-gradient(2px 2px at 160px 30px, var(--accent-color), transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: star-fall 20s linear infinite;
  z-index: -3;
}

@keyframes star-fall {
  from { transform: translateY(-100px); }
  to { transform: translateY(100vh); }
}

/* Header - Adaptado do design da Ubistart */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 20vh;
  background: rgba(13, 13, 43, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(13, 13, 43, 0.95);
  box-shadow: 0 4px 20px rgba(138, 43, 226, 0.1);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 40px;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #ffffff;
}

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

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.language-selector:hover {
  color: #ffffff;
}

.flag-brazil {
  font-size: 20px;
}

.contact-btn {
  background: #ffffff;
  color: #0a0a0a;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background: var(--accent-color);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Main Content - Hero Section */
.main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: center;
  width: 100%;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: 72px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  text-shadow: 0 0 30px rgba(138, 43, 226, 0.3);
  animation: neon-glow 3s ease-in-out infinite alternate;
}

@keyframes neon-glow {
  from { text-shadow: 0 0 30px rgba(138, 43, 226, 0.3); }
  to { text-shadow: 0 0 40px rgba(138, 43, 226, 0.5), 0 0 60px rgba(138, 43, 226, 0.2); }
}

.highlight {
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  color: #0a0a0a;
  border: none;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.cta-button:hover {
  background: var(--accent-color);
  color: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(138, 43, 226, 0.3);
}

/* Info Section - Novo Tab Menu Integrado */
.info-section {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 400px;
}

.info-box {
  max-width: 500px;
  width: 100%;
  background: rgba(26, 26, 54, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
}

.info-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(93, 63, 211, 0.08) 0%, transparent 50%);
  border-radius: 20px;
  z-index: -1;
}

.tab-menu {
  display: flex;
  gap: 30px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
}

.tab-button {
  background: none;
  border: none;
  font-size: 16px;
  color: rgba(224, 224, 224, 0.7);
  cursor: pointer;
  padding: 12px 0;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  position: relative;
}

.tab-button:hover {
  color: var(--text-color);
}

.tab-button.active {
  color: #ffffff;
  border-bottom: 2px solid var(--accent-color);
  font-weight: 600;
}

.tab-button.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
  border-radius: 1px;
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

.tab-content {
  display: none;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.tab-content.active {
  display: block;
  animation: fadeInUp 0.3s ease;
}

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

.tab-content p {
  margin: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

/* Carrossel Infinito - Mantido do original */
.carrossel-infinite {
  padding: 80px 0;
  overflow: hidden;
  background: rgba(26, 26, 54, 0.3);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.carrossel-infinite::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(138, 43, 226, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(93, 63, 211, 0.03) 0%, transparent 50%);
  z-index: -1;
}

.slider-infinite {
  display: flex;
  animation: scroll-infinite 30s linear infinite;
  width: calc(200px * 12);
}

.slide-infinite {
  min-width: 200px;
  height: 120px;
  margin: 0 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.slide-infinite:hover {
  transform: scale(1.05);
}

.slide-infinite img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes scroll-infinite {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-200px * 6 - 120px)); }
}

/* Seções principais */
section {
  padding: 100px 0;
  position: relative;
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(93, 63, 211, 0.02) 0%, transparent 50%);
  z-index: -1;
}

h2 {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  background: linear-gradient(135deg, #ffffff, var(--accent-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Serviços */
.servicos {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.card {
  background: rgba(26, 26, 54, 0.6);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(93, 63, 211, 0.08) 0%, transparent 50%);
  border-radius: 20px;
  z-index: -1;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(138, 43, 226, 0.2);
  border-color: var(--accent-color);
}

.card h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #ffffff;
}

.card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
}

/* Carrossel de Imagens */
.carrossel-imagens {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px;
  text-align: center;
}

.slider-container {
  display: flex;
  transition: transform 0.5s ease;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.slide-item {
  min-width: 100%;
  height: 400px;
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

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

.nav-dot.active {
  background: var(--accent-color);
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

/* Depoimentos */
.depoimentos {
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 40px;
  text-align: center;
}

.carrossel {
  position: relative;
  height: 200px;
  margin-bottom: 40px;
}

.item-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.5s ease;
}

.item-card.ativo {
  opacity: 1;
  transform: translateX(0);
}

.item-card.saindo {
  opacity: 0;
  transform: translateX(-100px);
}

.card-depoimento {
  background: rgba(26, 26, 54, 0.6);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
}

.card-depoimento::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 30%, rgba(138, 43, 226, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(93, 63, 211, 0.06) 0%, transparent 50%);
  border-radius: 20px;
  z-index: -1;
}

.card-depoimento p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.card-depoimento span {
  font-weight: 600;
  color: var(--accent-color);
}

.dots-container {
  display: flex;
  justify-content: center;
  gap: 12px;
}

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

.dot.active {
  background: var(--accent-color);
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

/* Contato */
.contato {
  max-width: 600px;
  margin: 0 auto;
  padding: 100px 40px;
}

form {
  display: grid;
  gap: 20px;
  background: rgba(26, 26, 54, 0.6);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

input, textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  color: #ffffff;
  font-size: 16px;
  transition: all 0.3s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
}

input::placeholder, textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

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

button[type="submit"] {
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  color: #ffffff;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(138, 43, 226, 0.4);
}

.form-status {
  margin-top: 20px;
  text-align: center;
}

/* Footer */
footer {
  background: rgba(13, 13, 43, 0.9);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 0;
  text-align: center;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

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

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

.redes a:hover {
  color: var(--accent-color);
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}

/* Responsividade */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 64px;
  }
  
  .content-grid {
    gap: 80px;
  }
  
  .container {
    padding: 0 30px;
  }
}

@media (max-width: 968px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 56px;
  }
  
  .nav {
    display: none;
  }
  
  .header .container {
    padding: 16px 30px;
  }

  /* Tab menu responsivo */
  .info-section {
    justify-content: center;
  }
  
  .tab-menu {
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    border: none;
    text-align: center;
  }
  
  .tab-button {
    font-size: 18px;
    padding: 16px 0;
  }
  
  .info-box {
    max-width: 100%;
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 48px;
  }
  
  .container {
    padding: 0 20px;
  }
  
  section {
    padding: 60px 0;
  }
  
  h2 {
    font-size: 36px;
  }
  
  .cards {
    grid-template-columns: 1fr;
  }
  
  .header-right {
    gap: 16px;
  }
  
  .language-selector {
    display: none;
  }
  
  /* Tab menu mobile */
  .tab-menu {
    gap: 12px;
  }
  
  .tab-button {
    font-size: 16px;
    padding: 12px 0;
  }
  
  .tab-content {
    font-size: 15px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 40px;
  }
  
  .main {
    padding-top: 80px;
  }
  
  .info-box {
    padding: 20px;
  }
  
  .tab-content {
    font-size: 14px;
    line-height: 1.6;
  }
}