/* ================================================
   CARDS DE SERVIÇOS — seção escura
   ================================================ */

.services-preview {
  position: relative;
  padding: 5rem 0;
  background:
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(24, 95, 165, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 15% 90%, rgba(24, 95, 165, 0.15) 0%, transparent 60%),
    linear-gradient(180deg, #0d1f3c 0%, #0a1628 100%);
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.services-preview__container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.services-preview__header {
  margin-bottom: 40px;
  text-align: center;
}

.services-preview__header .services-preview__subtitle {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.services-preview__label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #85B7EB;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.services-preview__title {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.2;
}

.services-preview__subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  line-height: 1.65;
}

.services-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-preview-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid transparent;
  border-radius: 12px;
  padding: 22px 20px 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    border-left-color 0.22s ease,
    background 0.22s ease,
    transform 0.18s ease,
    box-shadow 0.22s ease;
}

.service-preview-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle at top right, rgba(133, 183, 235, 0.12), transparent 70%);
  border-radius: 0 12px 0 0;
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.service-preview-card:hover {
  border-left-color: #85B7EB;
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

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

.service-preview-card__icon {
  width: 42px;
  height: 42px;
  background: rgba(24, 95, 165, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #85B7EB;
  margin-bottom: 16px;
  transition: background 0.22s ease;
  flex-shrink: 0;
}

.service-preview-card:hover .service-preview-card__icon {
  background: rgba(24, 95, 165, 0.5);
}

.service-preview-card__num {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.04em;
}

.service-preview-card__name {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 8px;
  line-height: 1.35;
}

.service-preview-card__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  margin: 0;
}

.services-preview__footer {
  margin-top: 32px;
  text-align: center;
}

.btn-preview--outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 11px 24px;
  background: transparent;
  color: #85B7EB;
  border: 0.5px solid rgba(133, 183, 235, 0.5);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.btn-preview--outline:hover {
  background: rgba(24, 95, 165, 0.25);
  color: #ffffff;
  border-color: #85B7EB;
}

@media (max-width: 900px) {
  .services-preview__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .services-preview__grid { grid-template-columns: 1fr; }
  .services-preview__title { font-size: 26px; }
}
