/* Página TRABALHOS - banner de vídeo, primeiro projeto, galeria e CTA */

html {
  scroll-padding-top: 96px;
}

.trabalhos-page {
  background: #f3f4f6;
}

.trabalhos-page .work-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 126px 0 72px;
  background: #0b2d47;
  color: #ffffff;
}

.trabalhos-page .work-hero-stage {
  position: absolute;
  inset: 0;
}

.trabalhos-page .work-hero-stage::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg, rgba(6, 22, 37, 0.64) 0%, rgba(6, 22, 37, 0.4) 33%, rgba(6, 22, 37, 0.12) 62%, rgba(6, 22, 37, 0.08) 100%),
    linear-gradient(180deg, rgba(6, 22, 37, 0.08) 0%, rgba(6, 22, 37, 0.22) 100%);
  content: "";
}

.trabalhos-page .work-hero-bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.trabalhos-page .work-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(100vh - 198px);
  grid-template-columns: minmax(0, 760px);
  align-content: center;
}

.trabalhos-page .work-hero-copy {
  max-width: 760px;
}

.trabalhos-page .work-hero-copy .page-kicker {
  margin-bottom: 22px;
}

.trabalhos-page .work-hero-copy h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(3.2rem, 5.3vw, 5.55rem);
  font-weight: 900;
  line-height: 0.97;
  text-wrap: balance;
}

.trabalhos-page .work-hero-copy p:not(.page-kicker) {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.02rem, 1.15vw, 1.2rem);
  line-height: 1.62;
}

.trabalhos-page .work-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Primeiro projeto real: reutiliza .service-intro / .section-kicker (style.css) */

.trabalhos-page .trabalhos-project h2 {
  margin: 12px 0 16px;
}

.trabalhos-page .trabalhos-project p:not(.section-kicker) {
  max-width: 760px;
}

/* Galeria de fotografias */

.trabalhos-page .work-gallery-section {
  padding: 0 0 108px;
  background: #f3f4f6;
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.work-gallery-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid #d7dde3;
  background: #ffffff;
}

.work-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.work-gallery-item figcaption {
  padding: 14px 16px 16px;
  color: #0b2d47;
  font-size: 0.92rem;
  font-weight: 850;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

/* CTA final: reutiliza .service-cta / .service-cta-inner / .cta-button (style.css) */

.trabalhos-page .service-cta .section-kicker {
  margin-bottom: 10px;
  color: #ffffff;
  opacity: 0.82;
}

@media (max-width: 1020px) {
  .trabalhos-page .work-hero {
    min-height: auto;
    padding: 116px 0 56px;
  }

  .trabalhos-page .work-hero-grid {
    min-height: 500px;
  }

  .work-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .trabalhos-page .work-hero {
    padding: 108px 0 38px;
  }

  .trabalhos-page .work-hero-grid {
    min-height: 420px;
  }

  .trabalhos-page .work-hero-copy h1 {
    font-size: clamp(2.55rem, 11vw, 4rem);
  }

  .trabalhos-page .work-hero-copy p:not(.page-kicker) {
    font-size: 0.96rem;
  }

  .trabalhos-page .work-gallery-section {
    padding-bottom: 68px;
  }

  .work-gallery {
    grid-template-columns: 1fr;
  }
}
