/* Keeps the fixed header aligned with the page because this preview has no banner. */
.header-elshaday {
  top: 0;
}

.depoimento-avatar {
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 50%;
  background-position: center;
  background-size: cover;
  box-shadow: 0 8px 20px rgba(10, 25, 44, .18);
}

.depoimento-foto-1 {
  background-image: url("https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=160&h=160&fit=crop&crop=face");
}

.depoimento-foto-2 {
  background-image: url("https://images.unsplash.com/photo-1531123897727-8f129e1688ce?w=160&h=160&fit=crop&crop=face");
}

.depoimento-foto-3 {
  background-image: url("https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?w=160&h=160&fit=crop&crop=face");
}

.header-elshaday .container {
  height: 92px;
  overflow: hidden;
}

.header-elshaday .logo-elshaday {
  align-items: center;
  display: inline-flex;
  height: 78px;
  max-width: 150px;
  overflow: hidden;
}

.header-elshaday .logo-elshaday img {
  display: block;
  height: 78px;
  max-height: 78px;
  max-width: 150px;
  object-fit: contain;
  width: auto;
}

/* The source photo is portrait; preserve its ratio instead of stretching it. */
.hero-elshaday::before {
  background-image:
    linear-gradient(90deg, rgba(7, 17, 31, .98) 0%, rgba(7, 17, 31, .82) 42%, rgba(7, 17, 31, .28) 100%),
    url("imagens/oficina-el-shaday.jpe");
  background-position: center, right center;
  background-repeat: no-repeat;
  background-size: cover, auto 100%;
}

section[id],
.hero-elshaday {
  scroll-margin-top: 118px;
}

#diferenciais .container {
  align-items: start;
  display: grid;
  gap: 42px 70px;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
}

#diferenciais .problema-copy {
  grid-column: 1;
}

#diferenciais .problema-copy .section-title,
#diferenciais .problema-copy .section-subtitle {
  margin-left: 0;
  text-align: left;
}

#diferenciais .problema-copy .section-title {
  margin-bottom: 22px;
}

#diferenciais .problema-copy .section-subtitle:last-child {
  line-height: 1.7;
  margin-bottom: 0;
}

#diferenciais .grid {
  align-self: stretch;
  grid-column: 2;
  grid-row: 1;
  margin-top: 0;
}

#diferenciais .diferenciais-cta {
  grid-column: 1 / -1;
  margin-top: 0;
}

.service-link {
  bottom: 24px;
  color: var(--lime);
  font-size: .75rem;
  font-weight: 800;
  left: 30px;
  letter-spacing: .02em;
  position: absolute;
}

.service-link span,
.reviews-link span {
  color: var(--orange-light);
  margin-left: 6px;
}

#servicos .card {
  min-height: 290px;
  padding-bottom: 64px;
}

.reviews-link {
  border-bottom: 1px solid #9a6e32;
  color: #a45b27;
  display: block;
  font-size: .78rem;
  font-weight: 800;
  margin: -24px auto 42px;
  padding-bottom: 4px;
  text-align: center;
  width: fit-content;
}

@media (max-width: 650px) {
  .header-elshaday {
    top: 0;
  }

  .header-elshaday .container {
    height: 72px;
  }

  .header-elshaday .logo-elshaday {
    height: 58px;
    max-width: 105px;
  }

  .header-elshaday .logo-elshaday img {
    height: 58px;
    max-height: 58px;
    max-width: 105px;
  }

  .hero-elshaday::before {
    background-position: center, center top;
    background-size: cover, auto 70%;
  }

  #diferenciais .container {
    display: block;
  }

  #diferenciais .problema-copy .section-title,
  #diferenciais .problema-copy .section-subtitle {
    text-align: center;
  }

  #diferenciais .grid {
    margin-top: 34px;
  }

  #diferenciais .diferenciais-cta {
    margin-top: 28px;
  }

  #servicos .card {
    min-height: 270px;
  }
}
