.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: var(--black);
}

.home-page .site-header {
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.99), rgba(5, 5, 5, 0.94));
  border-bottom-color: rgba(235, 193, 47, 0.22);
}

.home-page .site-nav a {
  position: relative;
}

.home-page .site-nav a[aria-current="page"]::after,
.home-page .site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.82) 48%, rgba(5, 5, 5, 0.28) 100%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.86), rgba(5, 5, 5, 0.08) 50%);
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 82% 24%, rgba(235, 193, 47, 0.16), transparent 19%),
    linear-gradient(120deg, transparent 0 9%, rgba(235, 193, 47, 0.15) 9.08%, transparent 9.18% 100%);
  pointer-events: none;
}

.home-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  opacity: 0.72;
  filter: saturate(0.92) brightness(0.72);
}

.home-hero-content {
  position: relative;
  z-index: 2;
  max-width: 790px;
  padding: 80px 0 76px;
}

.home-hero h1 {
  max-width: 760px;
  font-size: clamp(2.65rem, 5.9vw, 5.25rem);
  text-transform: uppercase;
}

.home-hero h1 span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: clamp(0.96rem, 1.6vw, 1.26rem);
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-hero .lead {
  max-width: 650px;
  margin-top: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.home-hero .hero-actions::before {
  content: "";
  display: block;
  flex-basis: 100%;
  width: 54px;
  height: 2px;
  margin-bottom: 12px;
  background: var(--gold);
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--near-black);
}

.home-page .trust-strip {
  background: var(--near-black);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-item {
  padding: 28px 30px;
  border-right: 1px solid var(--line-soft);
  text-align: center;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  color: var(--gold);
  font-family: var(--font-title);
  font-size: 2.2rem;
  line-height: 1;
}

.trust-icon {
  display: block;
  margin-bottom: 8px;
  color: var(--aged-gold);
  font-size: 1.7rem;
  line-height: 1;
}

.trust-item span:not(.trust-icon) {
  color: var(--muted);
  font-weight: 700;
}

.specialty-section {
  padding: 70px 0 0;
  background:
    linear-gradient(180deg, var(--near-black) 0%, var(--black) 100%);
}

.specialty-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  align-items: stretch;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 14px 14px 0 0;
  background: var(--near-black);
}

.specialty-card::before,
.specialty-card::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(235, 193, 47, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.specialty-card::before {
  width: 240px;
  height: 240px;
  left: -150px;
  top: -120px;
}

.specialty-card::after {
  width: 320px;
  height: 320px;
  right: -190px;
  bottom: -190px;
}

.specialty-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px 46px;
}

.specialty-copy h2 {
  max-width: 440px;
  font-size: clamp(2.1rem, 4.2vw, 4rem);
}

.specialty-copy h2::first-line {
  color: var(--white);
}

.specialty-copy p:not(.eyebrow) {
  max-width: 440px;
  margin-top: 20px;
  color: var(--muted);
}

.specialty-copy .btn {
  align-self: flex-start;
  margin-top: 30px;
}

.specialty-media {
  position: relative;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
}

.specialty-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--near-black) 0%, rgba(7, 7, 7, 0.54) 28%, rgba(7, 7, 7, 0.1) 100%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.44), transparent 48%);
}

.specialty-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

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

.service-card {
  min-height: 270px;
}

.home-page .service-card {
  border-color: rgba(235, 193, 47, 0.22);
  text-align: center;
}

.home-page .service-card .gold-line {
  margin-right: auto;
  margin-left: auto;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.feature-band {
  background:
    linear-gradient(120deg, rgba(5, 5, 5, 0.95), rgba(17, 17, 17, 0.84)),
    url("../images/ia/coloracao-mechas.jpg") center / cover;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-page .feature-band {
  width: var(--container);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px 14px 0 0;
}

.home-page .home-services-section {
  padding-bottom: 66px;
}

.home-page .feature-band + .section {
  padding-top: 66px;
}

.feature-content {
  max-width: 700px;
  padding: 110px 0;
}

.feature-content h2 {
  font-size: clamp(2.2rem, 5vw, 4.45rem);
}

.feature-content p {
  margin-top: 18px;
  color: var(--muted);
}

.feature-content .btn {
  margin-top: 30px;
}

.gallery-preview {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 16px;
}

.home-page .gallery-preview {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.gallery-preview figure,
.gallery-grid figure {
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: var(--graphite);
}

.gallery-preview img,
.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-preview figure:hover img,
.gallery-grid figure:hover img {
  transform: scale(1.035);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 32px;
  align-items: stretch;
}

.contact-box {
  padding: 34px;
  background: var(--graphite);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.contact-box h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 28px 0;
}

.contact-list span {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-list p,
.contact-list a {
  color: var(--white);
  font-weight: 700;
}

.map-frame {
  overflow: hidden;
  min-height: 460px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--graphite);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  filter: grayscale(0.45) contrast(1.05);
}

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

.gallery-grid figure {
  aspect-ratio: 16 / 9;
}

.gallery-grid img {
  min-height: 0;
}

.service-detail {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  padding: 34px 0;
  border-top: 1px solid var(--line-soft);
}

.service-detail:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.service-detail h2 {
  color: var(--gold);
  font-size: clamp(1.7rem, 3vw, 2.65rem);
}

.service-detail p {
  color: var(--muted);
}

.services-intro-section {
  padding-bottom: 58px;
}

.services-intro {
  max-width: 820px;
}

.services-intro h2 {
  font-size: clamp(2rem, 4vw, 3.55rem);
}

.services-intro p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.services-categories-section {
  padding-top: 72px;
  background: linear-gradient(180deg, var(--near-black), var(--black));
  border-top: 1px solid var(--line);
}

.service-category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.service-category-card {
  min-height: 285px;
  padding: 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.015));
}

.service-category-card-featured {
  border-color: rgba(235, 193, 47, 0.34);
  background: linear-gradient(180deg, rgba(235, 193, 47, 0.075), rgba(255, 255, 255, 0.015));
}

.service-category-card h3 {
  margin-bottom: 16px;
  font-size: 1.45rem;
}

.service-category-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.service-category-card li {
  position: relative;
  padding-left: 16px;
}

.service-category-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--aged-gold);
}

.services-feature-section {
  background: linear-gradient(180deg, var(--black), var(--charcoal));
  border-top: 1px solid var(--line);
}

.final-cta {
  padding: 76px 0;
  background: linear-gradient(180deg, var(--black), var(--near-black));
  border-top: 1px solid var(--line);
  text-align: center;
}

.final-cta h2 {
  max-width: 760px;
  margin: 0 auto 26px;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.final-cta-text {
  max-width: 620px;
  margin: -10px auto 28px;
  color: var(--muted);
}

.home-page .final-cta .container {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(235, 193, 47, 0.08), rgba(255, 255, 255, 0.02));
}

.home-footer-grid {
  grid-template-columns: 1.3fr 0.95fr 0.95fr;
}

.home-footer-brand {
  display: flex;
  align-items: center;
  gap: 28px;
}

.home-footer-brand .footer-logo {
  flex: 0 0 auto;
  width: 230px;
  height: 98px;
  margin: 0;
}

.home-footer-brand p {
  max-width: 360px;
  color: var(--white);
  font-size: 1.02rem;
}

.home-footer-hours p {
  margin-bottom: 8px;
}

.home-footer-hours small {
  display: block;
  color: var(--gold);
  font-size: 0.86rem;
}

@media (max-width: 980px) {
  .home-hero-content {
    padding: 64px 0;
  }

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

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

  .gallery-preview,
  .contact-panel,
  .specialty-card,
  .service-detail {
    grid-template-columns: 1fr;
  }

  .specialty-card {
    min-height: auto;
  }

  .specialty-copy {
    padding: 44px 34px;
  }

  .specialty-media,
  .specialty-media img {
    min-height: 320px;
  }

  .home-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .home-hero {
    min-height: 470px;
  }

  .home-hero-content {
    padding: 56px 0;
  }

  .home-hero h1 {
    font-size: 2.35rem;
  }

  .home-hero-image {
    object-position: 64% center;
    opacity: 0.52;
    filter: blur(1px) saturate(0.9) brightness(0.7);
    transform: scale(1.01);
  }

  .hero-actions {
    width: 100%;
  }

  .trust-grid,
  .service-list,
  .service-category-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .service-category-card {
    min-height: auto;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .specialty-section {
    padding-top: 48px;
  }

  .specialty-card {
    border-radius: 10px 10px 0 0;
  }

  .specialty-copy {
    padding: 34px 22px;
  }

  .specialty-copy .btn {
    width: 100%;
  }

  .home-footer-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .home-footer-brand .footer-logo {
    width: 190px;
    height: 82px;
  }

  .contact-box {
    padding: 26px 20px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 340px;
  }
}
