/* ========================================
   SERVICOS.CSS - Páginas de Serviços
   ======================================== */

/* Background do breadcrumb */
.page-header-breadcrumb--servicos .page-header-bg {
  background: url("/tema04/imagens/breadcrumb.webp") center/cover no-repeat;
}

/* ========================================
   PÁGINA SERVIÇOS - GRID DE CARDS
   ======================================== */
.section-servicos-page {
  padding: 104px 0;
}

.service-card {
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: var(--radius-4);
  overflow: hidden;
  height: 100%;
  box-shadow: 0px 1px 4px 0px rgba(27, 27, 27, 0.08);
  display: flex;
  flex-direction: column;
}

.service-card__media {
  height: 330px;
  overflow: hidden;
  border-radius: 2px;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card__body {
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.service-card__title {
  font-family: Urbanist, system-ui, sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
  color: #4a4848;
  text-align: center;
}

.service-card__text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--neutral-soft);
  margin: 0;
  text-align: center;
}

@media (max-width: 991.98px) {
  .service-card__media {
    height: 280px;
  }
}

/* ========================================
   PÁGINA CONTEÚDO SERVIÇO
   ======================================== */
.section-servico-content {
  padding: 104px 0;
}

.servico-hero-image {
  width: 100%;
  height: 510px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.servico-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.servico-content-title {
  font-family: Urbanist, system-ui, sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.2;
  color: #4a4848;
  margin: 0 0 32px;
}

.servico-content-text {
  color: var(--neutral-soft);
  font-size: 18px;
  line-height: 1.4;
}

.servico-content-text p {
  margin-bottom: 24px;
}

.servico-content-text p:last-child {
  margin-bottom: 0;
}

/* CTA Serviço */
.section-cta-servico {
  background: linear-gradient(to right, var(--brand-primary-full), #030711);
  padding: 120px 0;
  position: relative;
}

.section-cta-servico .cta-title {
  color: var(--neutral-white);
  font-size: 48px;
  margin-bottom: 16px;
}

.section-cta-servico .cta-subtitle {
  color: var(--neutral-light);
  font-size: 18px;
  line-height: 1.4;
  margin: 0;
}

.section-cta-servico .cta-image {
  width: 100%;
  height: 378px;
  border-radius: 2px;
  overflow: hidden;
}

.section-cta-servico .cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Serviços Relacionados */
.section-servicos-relacionados {
  padding: 120px 0;
}

.servicos-relacionados-carousel {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px;
}

.servicos-relacionados-carousel .row {
  flex-wrap: nowrap;
  min-width: max-content;
}

.servicos-relacionados-carousel .col-xl-3 {
  min-width: 342px;
  flex: 0 0 342px;
}

@media (max-width: 991.98px) {
  .servico-hero-image {
    height: 400px;
  }

  .servico-content-title {
    font-size: 28px;
  }

  .servico-content-text {
    font-size: 16px;
  }

  .section-cta-servico {
    padding: 80px 0;
  }

  .section-cta-servico .cta-title {
    font-size: 34px;
  }

  .section-cta-servico .cta-image {
    height: 300px;
    margin-top: 32px;
  }

  .section-servicos-relacionados {
    padding: 80px 0;
  }
}
