/* Pagina Servicos - suporte de rede para empresas */

.srv-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 500px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 85% 18%, rgba(40, 214, 163, 0.22), transparent 30%),
    linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
}

.srv-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  padding: 12px 22px;
  border-radius: 999px;
  color: var(--white);
  max-width: 100%;
  font-size: clamp(0.92rem, 1.4vw, 1.3rem);
  white-space: nowrap;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 12px 30px rgba(11, 111, 240, 0.28);
}

.srv-badge::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(40, 214, 163, 0.3);
}

.srv-tecnico {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
}

.srv-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.srv-hero-copy > p:last-of-type,
.srv-cta p,
.srv-brands-band .section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.srv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.srv-button-outline {
  padding: 0 22px;
  border: 2px solid var(--blue);
  color: var(--blue);
  background: var(--white);
}

.srv-button-outline:hover {
  color: var(--white);
  background: var(--blue);
}

.srv-section {
  padding: clamp(50px, 7vw, 88px) clamp(20px, 5vw, 72px);
}

.section-heading.compact {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-heading.compact h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.15rem);
}

/* Espaco de foto: mostra a imagem se existir; senao, um quadro tracejado com o nome esperado */
.foto {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
  aspect-ratio: 4 / 3;
}

.foto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.foto.sem-foto {
  display: grid;
  place-items: center;
  border: 2px dashed #b7c9e2;
  background:
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(11, 111, 240, 0.04) 12px 24px),
    var(--soft);
}

.foto.sem-foto img {
  display: none;
}

.foto.sem-foto::before {
  content: "Espaço para foto\A" attr(data-foto);
  white-space: pre-wrap;
  padding: 16px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  word-break: break-all;
}

.foto-hero {
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow);
}

/* Cards de servicos */
.srv-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.srv-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(9, 35, 63, 0.06);
}

.srv-card .foto {
  border-radius: 0;
  aspect-ratio: 16 / 10;
}

.srv-card .foto.sem-foto {
  border-width: 0 0 2px;
}

.srv-card-body {
  padding: 20px 22px 24px;
}

.srv-card h3,
.srv-brands h3,
.srv-steps h3 {
  margin: 0 0 10px;
  color: var(--navy);
}

.srv-card p,
.srv-brands p,
.srv-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

/* Quem faz o atendimento */
.srv-quem {
  padding: clamp(50px, 7vw, 88px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--navy);
}

.srv-quem .eyebrow {
  color: var(--mint);
}

.srv-quem h2 {
  color: var(--white);
}

.srv-quem .section-heading p:not(.eyebrow) {
  color: #c8d8ee;
  font-size: 1.08rem;
  line-height: 1.72;
}

.srv-quem-lista {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.srv-quem-lista li {
  padding: 24px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.srv-quem-lista svg {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  padding: 10px;
  border-radius: 8px;
  fill: var(--navy);
  background: var(--mint);
}

.srv-quem-lista strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.srv-quem-lista span {
  color: #d9e8fb;
  line-height: 1.6;
}

/* Fabricantes */
.srv-brands-band {
  background: var(--soft);
}

.srv-brands {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* Foto do equipamento ocupa a largura toda do card, como nos cards de servicos */
.srv-card .foto-marca {
  aspect-ratio: 4 / 3;
  background: var(--white);
}

/* Etapas */
.srv-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.srv-steps article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(9, 35, 63, 0.06);
}

.srv-steps span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--white);
  font-weight: 800;
  background: var(--blue);
}

/* Chamada final */
.srv-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(50px, 7vw, 88px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.srv-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
}

.srv-cta .eyebrow,
.srv-cta h2 {
  color: var(--white);
}

.srv-cta p {
  margin: 0;
  color: #e7f1ff;
}

.srv-cta .button {
  flex: none;
  padding: 0 28px;
  white-space: nowrap;
}

@media (max-width: 1040px) {
  .srv-grid,
  .srv-brands,
  .srv-steps,
  .srv-quem-lista {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .srv-hero {
    grid-template-columns: 1fr;
  }

  .srv-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .srv-actions,
  .srv-actions .button,
  .srv-cta .button {
    width: 100%;
  }

  .srv-grid,
  .srv-brands,
  .srv-steps,
  .srv-quem-lista {
    grid-template-columns: 1fr;
  }
}
