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

body {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.wrapper {
  max-width: 1200px;
  width: 100%;
  text-align: center;
  animation: fadeInUp 1s ease-out;
}

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

.boasVindas {
  font-size: 3rem;
  color: white;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  font-weight: 700;
  letter-spacing: -1px;
}

.subtitle {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
  font-weight: 300;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
  padding: 0 20px;
}

.service-card {
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.5s;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.icon-container {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
}

.service-card[data-service="iphone"] .icon-container {
  background: linear-gradient(135deg, #007AFF, #5856D6);
  color: white;
}

.service-card[data-service="android"] .icon-container {
  background: linear-gradient(135deg, #3DDC84, #34A853);
  color: white;
}

.service-card[data-service="tools"] .icon-container {
  background: linear-gradient(135deg, #FF6B35, #F7931E);
  color: white;
}

.service-card[data-service="more"] .icon-container {
  background: linear-gradient(135deg, #8E2DE2, #4A00E0);
  color: white;
}

.service-card:hover .icon-container {
  transform: rotate(360deg) scale(1.1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.service-icon {
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
}

.service-card h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.service-card p {
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
}

.contact-section {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.2);
}

.contact-section h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.contact-btn:hover::before {
  left: 100%;
}

.instagram {
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  color: white;
}

.whatsapp {
  background: linear-gradient(45deg, #25d366, #128c7e);
  color: white;
}

.lojaOnline {
  background-color: #1b1f26;
  color: white;
}

.lojaOnline:hover {
  background-color: #3d4661;
}

.lojaOnline svg {
  color: rgb(34, 138, 222);
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.contact-icon {
  width: 24px;
  height: 24px;
}

/* Animações de entrada escalonadas */
.service-card:nth-child(1) { animation: slideInLeft 0.8s ease-out 0.2s both; }
.service-card:nth-child(2) { animation: slideInLeft 0.8s ease-out 0.4s both; }
.service-card:nth-child(3) { animation: slideInLeft 0.8s ease-out 0.6s both; }
.service-card:nth-child(4) { animation: slideInLeft 0.8s ease-out 0.8s both; }

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Carrossel */
.carousel {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 400px;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.carousel-track {
  display: flex;
  width: 500%; /* 5 imagens */
  height: 100%;
  animation: slide 20s infinite;
}

.carousel-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Animação do carrossel */
@keyframes slide {
  0%   { transform: translateX(0%); }
  18%  { transform: translateX(0%); }
  20%  { transform: translateX(-100%); }
  38%  { transform: translateX(-100%); }
  40%  { transform: translateX(-200%); }
  58%  { transform: translateX(-200%); }
  60%  { transform: translateX(-300%); }
  78%  { transform: translateX(-300%); }
  80%  { transform: translateX(-400%); }
  100% { transform: translateX(-400%); }
}

/* Responsividade */
@media (max-width: 768px) {
  .boasVindas {
    font-size: 2.2rem;
  }
  
  .subtitle {
    font-size: 1.1rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }
  
  .service-card {
    padding: 30px 20px;
  }
  
  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .contact-btn {
    width: 200px;
    justify-content: center;
  }

  .carousel {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .boasVindas {
    font-size: 1.8rem;
  }
  
  .contact-section {
    padding: 30px 20px;
    align-items: center;
  }

  .carousel {
    height: 200px;
  }
}
