/* Seção Nossas soluções — layout conforme Figma */

.mpi-palette-services {
  background-color: var(--color-static-white, #fff);
}

.mpi-palette-services .services-section-title {
  margin: 0;
}

/* Navegação: quadrado, fundo branco, borda e setas = cor primary (não CTA) */
.mpi-palette-services .services-swiper-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--color-brand-primary-base, var(--color-primary-500, #4a5fc1));
  border-radius: 8px;
  background-color: var(--color-static-white, #fff);
  color: var(--color-brand-primary-base, var(--color-primary-500, #4a5fc1));
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.mpi-palette-services .services-swiper-nav-btn .material-symbols-rounded {
  font-size: 24px;
  line-height: 1;
  color: inherit;
}

.mpi-palette-services .services-swiper-nav-btn:hover:not(.swiper-button-disabled),
.mpi-palette-services .services-swiper-nav-btn:focus-visible:not(.swiper-button-disabled) {
  background-color: var(--color-brand-primary-base, var(--color-primary-500, #4a5fc1));
  border-color: var(--color-brand-primary-base, var(--color-primary-500, #4a5fc1));
  color: var(--color-static-white, #fff);
  outline: none;
}

.mpi-palette-services .services-swiper-nav-btn.swiper-button-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: var(--color-brand-primary-base, var(--color-primary-500, #4a5fc1));
  color: var(--color-brand-primary-base, var(--color-primary-500, #4a5fc1));
  background-color: var(--color-static-white, #fff);
}

.mpi-palette-services .services-swiper-shell {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.mpi-palette-services .services_swiper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.mpi-palette-services .services_swiper .swiper-wrapper {
  box-sizing: border-box;
}

/* Card */
.mpi-palette-services .services-slide {
  height: auto;
  box-sizing: border-box;
}

.mpi-palette-services .services-slide-link {
  height: 420px;
  text-decoration: none;
  color: inherit;
}

@media (min-width: 1024px) {
  .mpi-palette-services .services-slide-link {
    height: 480px;
  }
}

@media (min-width: 1280px) {
  .mpi-palette-services .services-slide-link {
    height: 520px;
  }
}

.mpi-palette-services .services-slide-footer {
  position: absolute;
  inset: auto 12px 12px;
  z-index: 2;
}

@media (min-width: 1024px) {
  .mpi-palette-services .services-slide-footer {
    inset: auto 16px 16px;
  }
}

.mpi-palette-services .services-card-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background-color: var(--color-static-white, #fff);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.mpi-palette-services .services-card-title {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--mpi-color-font, #2a2a2a);
}

@media (min-width: 1024px) {
  .mpi-palette-services .services-card-title {
    font-size: 1.125rem;
  }
}

.mpi-palette-services .services-card-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: var(--color-brand-primary-base, var(--color-primary-500, #4a5fc1));
  color: var(--color-static-white, #fff);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.mpi-palette-services .services-slide-link:hover .services-card-btn {
  background-color: var(--color-brand-primary-dark, var(--color-primary-600, #3d4fa8));
  color: var(--color-static-white, #fff);
  transform: translateX(2px);
}

.mpi-palette-services .services-card-btn .material-symbols-rounded {
  font-size: 22px;
  line-height: 1;
  color: inherit;
}

/* Conteúdos relacionados (single post / serviços) — mesmo card da home */
.section-single-relateds .related-swiper-shell,
.section-single-relateds .articles_swiper {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.section-single-relateds .articles_swiper {
  overflow: hidden;
}

.section-single-relateds .articles_swiper .swiper-wrapper {
  box-sizing: border-box;
}

.section-single-relateds .services-slide {
  height: auto;
  box-sizing: border-box;
}

.section-single-relateds .services-slide-link {
  height: 420px;
  text-decoration: none;
  color: inherit;
}

@media (min-width: 1024px) {
  .section-single-relateds .services-slide-link {
    height: 480px;
  }
}

@media (min-width: 1280px) {
  .section-single-relateds .services-slide-link {
    height: 520px;
  }
}

.section-single-relateds .services-slide-footer {
  position: absolute;
  inset: auto 12px 12px;
  z-index: 2;
}

@media (min-width: 1024px) {
  .section-single-relateds .services-slide-footer {
    inset: auto 16px 16px;
  }
}

.section-single-relateds .services-card-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background-color: var(--color-static-white, #fff);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.services-card-price {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-brand-primary-base, var(--color-primary-500, #4a5fc1));
}

.section-single-relateds .services-card-title {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--mpi-color-font, #2a2a2a);
}

@media (min-width: 1024px) {
  .section-single-relateds .services-card-title {
    font-size: 1.125rem;
  }
}

.section-single-relateds .services-card-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: var(--color-brand-primary-base, var(--color-primary-500, #4a5fc1));
  color: var(--color-static-white, #fff);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.section-single-relateds .services-slide-link:hover .services-card-btn {
  background-color: var(--color-brand-primary-dark, var(--color-primary-600, #3d4fa8));
  color: var(--color-static-white, #fff);
  transform: translateX(2px);
}

.section-single-relateds .services-card-btn .material-symbols-rounded {
  font-size: 22px;
  line-height: 1;
  color: inherit;
}
