/* ——— Página interna: hero (serviços etc.) ——— */
.page-hero {
  --page-hero-pad: max(1.5rem, calc((100% - var(--max)) / 2));
  position: relative;
  color: #f4f5f7;
  overflow: hidden;
  min-height: 42vh;
  min-height: 42dvh;
  display: flex;
  align-items: center;
  padding: 3.5rem var(--page-hero-pad) 4rem;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      120deg,
      rgba(5, 10, 20, 0.97) 0%,
      rgba(1, 49, 107, 0.88) 42%,
      rgba(1, 40, 89, 0.92) 100%
    ),
    url("https://hehtransportes.com/wp-content/uploads/2025/01/img_frota.webp") center/cover no-repeat;
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 85% 20%, rgba(254, 172, 0, 0.18), transparent 55%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: min(var(--max), 100%);
  width: 100%;
}

.page-hero__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.page-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #ffffff;
  max-width: 18ch;
}

.page-hero__lead {
  margin: 0 0 1.85rem;
  max-width: 48ch;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(248, 250, 252, 0.9);
}

.page-hero .btn-row {
  margin-top: 0.25rem;
}

.btn--on-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.42);
}

.btn--on-dark:hover {
  border-color: rgba(254, 172, 0, 0.75);
  color: #ffffff;
  background: rgba(254, 172, 0, 0.18);
}

/* ——— Grade de serviços ——— */
.services-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

@media (min-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
}

.service-card {
  padding: 1.65rem 1.45rem;
  background: var(--page-bg);
  border: 1px solid var(--page-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-on-light);
  transition: transform 0.3s var(--ease-out), border-color 0.25s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(1, 49, 107, 0.22);
  box-shadow: var(--shadow-md-light), var(--shadow-accent);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  color: var(--accent);
  margin-bottom: 1rem;
  padding: 11px;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--page-text);
}

.service-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--page-text-muted);
  line-height: 1.55;
}
