/* ================================ */
/* SERVICOS - Página de Serviços */
/* ================================ */

/* ================== */
/* HERO SECTION */
/* ================== */
.services-hero {
  position: relative;
  padding: 10rem 0 6rem;
  color: white;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 215, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  opacity: 0.9;
  margin-bottom: 3rem;
  font-weight: 300;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffd700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* ================== */
/* SERVICES SECTION */
/* ================== */
.services-section {
  padding: 6rem 0;
}

.services-bg-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.services-bg-decoration::before,
.services-bg-decoration::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.1;
}

.services-bg-decoration::before {
  top: -100px;
  left: -100px;
  background: #1a3a6b;
}

.services-bg-decoration::after {
  bottom: -100px;
  right: -100px;
  background: #ffd700;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 10;
}

.section-title {
  font-size: 3rem;
  font-weight: 900;
  color: #1f2937;
  margin: 0;
}

.text-gradient-premium {
  background: linear-gradient(135deg, #1a3a6b 0%, #4a90e2 50%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* Service Cards */
.service-card-premium {
  position: relative;
  background: white;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
}

.service-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1a3a6b, #4a90e2, #ffd700);
  opacity: 0;
  transition: all 0.3s ease;
}

.service-card-premium:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-card-premium:hover::before {
  opacity: 1;
}

.service-card-centered {
  grid-column: 2 / 3;
}

.service-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(26, 58, 107, 0.05);
  line-height: 1;
  transition: all 0.3s ease;
}

.service-card-premium:hover .service-number {
  color: rgba(26, 58, 107, 0.1);
  transform: scale(1.1);
}

.service-icon-premium {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #1a3a6b, #4a90e2);
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.service-card-premium:hover .service-icon-premium {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 25px rgba(26, 58, 107, 0.3);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #1f2937;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.service-card-premium:hover .service-title {
  color: #1a3a6b;
}

.service-description {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.service-cta-premium {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #1a3a6b, #4a90e2);
  color: white;
  text-decoration: none;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.service-cta-premium:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 25px rgba(26, 58, 107, 0.3);
}

.service-cta-premium svg {
  transition: all 0.3s ease;
}

.service-cta-premium:hover svg {
  transform: translateX(5px);
}

/* ================== */
/* ANIMATIONS */
/* ================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================== */
/* RESPONSIVE */
/* ================== */

/* Tablet */
@media (max-width: 1024px) {
  .services-hero {
    padding: 8rem 0 4rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card-centered {
    grid-column: span 2;
  }

  .service-card-premium {
    padding: 2rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .services-hero {
    padding: 6rem 0 3rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card-centered {
    grid-column: span 1;
  }

  .service-card-premium {
    padding: 1.5rem;
  }

  .service-number {
    font-size: 2rem;
    top: 1rem;
    right: 1rem;
  }

  .service-icon-premium {
    width: 60px;
    height: 60px;
  }

  .service-title {
    font-size: 1.25rem;
  }
}

/* Extra Small */
@media (max-width: 480px) {
  .services-hero h1 {
    font-size: 2rem;
  }

  .stat-card {
    padding: 1rem;
  }

  .service-cta-premium {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* ================== */
/* ACCESSIBILITY */
/* ================== */

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .service-card-premium {
    border: 2px solid #000000;
  }

  .service-cta-premium {
    border: 2px solid #ffffff;
  }
}

/* Print Styles */
@media print {
  .services-hero {
    background: white !important;
    color: black !important;
  }

  .service-card-premium {
    box-shadow: none;
    border: 1px solid #000000;
    break-inside: avoid;
  }
}
