/* Serviços internos - Digital System */

.service-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-color: var(--navy-darker);
  background-image:
    linear-gradient(95deg, rgba(7,7,7,.92), rgba(7,7,7,.70) 52%, rgba(7,7,7,.42)),
    url("../images/banner para pagina de produtos nova.png");
  background-size: cover;
  background-position: center;
}

.internal-hero__inner {
  padding-top: 94px;
  padding-bottom: 92px;
}

.internal-hero h1 {
  max-width: 900px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: 0;
}

.internal-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255,255,255,.80);
  font-size: 16px;
  line-height: 1.7;
}

.service-index,
.service-detail,
.service-process {
  background: var(--bg-soft);
}

.service-index {
  padding: 86px 0 96px;
}

.service-index__head,
.service-section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.service-index__head h2,
.service-section-head h2 {
  margin: 10px 0 12px;
  color: var(--navy);
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: 0;
}

.service-index__head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.service-index__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  color: var(--ink);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(226,27,27,.32);
  box-shadow: 0 24px 55px -34px rgba(17,17,17,.42);
}

.service-card__image {
  margin: 0;
  aspect-ratio: 16/10;
  background: var(--bg-soft);
  overflow: hidden;
}

.service-card__image img,
.service-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.service-card__num {
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
}

.service-card h3 {
  margin: 8px 0 10px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.18;
  font-weight: 820;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.service-card__link {
  margin-top: auto;
  padding-top: 18px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.service-detail {
  padding: 82px 0;
}

.service-detail__grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.service-nav {
  position: sticky;
  top: 108px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
}

.service-nav__label {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.service-nav__all,
.service-nav__item {
  display: flex;
  gap: 10px;
  padding: 13px 0;
  border-top: 1px solid var(--rule);
  color: var(--navy);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.service-nav__item span {
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
}

.service-nav__all:hover,
.service-nav__item:hover {
  color: var(--red);
}

.service-detail__content {
  min-width: 0;
}

.service-intro {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .78fr);
  gap: 36px;
  align-items: center;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
}

.service-intro__text h2 {
  margin: 10px 0 16px;
  color: var(--navy);
  font-size: clamp(28px, 3.3vw, 44px);
  line-height: 1.1;
  font-weight: 850;
}

.service-intro__text p {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.78;
}

.service-intro__image {
  margin: 0;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-soft);
}

.service-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.service-benefit {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 18px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 8px;
}

.service-benefit span {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}
.service-benefit:first-child span,
.service-benefit:last-child span {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(226,27,27,.12);
}

.service-benefit p {
  margin: 0;
  color: var(--navy);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.service-blocks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.service-block {
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
}

.service-block span,
.service-process article span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
}

.service-block h3,
.service-process article h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 820;
}

.service-block p,
.service-process article p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.service-block--link {
  display: block;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.service-block--link:hover {
  border-color: rgba(229,57,53,.5);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -22px rgba(15,17,22,.25);
}

.service-block--link .service-block__link {
  display: inline-flex;
  margin: 14px 0 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform .2s ease;
}

.service-block--link:hover .service-block__link { transform: translateX(3px); }

.service-video {
  margin-top: 32px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
}

.service-video__head {
  margin-bottom: 20px;
}

.service-video__head h2 {
  margin: 10px 0 0;
  color: var(--navy);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  font-weight: 850;
}

.service-video__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--navy);
  border-radius: 8px;
}

.service-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.service-video__button {
  margin-top: 18px;
}

.service-process {
  padding: 0 0 88px;
}

.service-process__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-process article {
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
}

.service-band {
  padding: 62px 0;
  color: #fff;
  background: linear-gradient(95deg, #0a0a0a 0%, #1a1a1a 100%);
}

.service-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.service-band h2 {
  margin: 8px 0 10px;
  color: #fff;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  font-weight: 850;
}

.service-band p {
  max-width: 680px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.65;
}

.service-band__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  border-color: #25D366;
  color: #fff;
  white-space: nowrap;
}
.service-band__cta:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  color: #fff;
}
.service-band__cta svg { display: block; }

@media (max-width: 1100px) {
  .service-index__grid,
  .service-blocks,
  .service-process__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail__grid {
    grid-template-columns: 1fr;
  }

  .service-nav {
    position: static;
  }
}

@media (max-width: 760px) {
  .service-index,
  .service-detail {
    padding: 56px 0;
  }

  .service-index__grid,
  .service-intro,
  .service-benefits,
  .service-blocks,
  .service-process__grid {
    grid-template-columns: 1fr;
  }

  .service-intro {
    padding: 20px;
  }

  .service-video {
    padding: 20px;
  }

  .service-card__body,
  .service-block,
  .service-process article {
    padding: 22px 20px;
  }

  .service-band__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-band__inner .btn {
    width: 100%;
    justify-content: center;
  }
}
