/* Identidade comemorativa e novas rotas de integração do Grupo Eco & Eco. */
.site-header .brand img {
  width: 164px;
  height: auto;
  filter: none;
}

.footer-brand img {
  width: 148px;
  height: auto;
  filter: none;
}

.related-solutions {
  background: var(--cream);
}

.related-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(250px, .7fr);
  align-items: end;
  gap: clamp(36px, 8vw, 110px);
  margin-bottom: 48px;
}

.related-heading h2,
.group-showcase-copy h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 600;
}

.related-heading > p,
.group-showcase-copy > p {
  margin: 0 0 4px;
  color: var(--muted);
  font: 400 16px/1.75 "DM Sans", sans-serif;
}

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

.related-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(17, 32, 25, .09);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(17, 32, 25, .045);
  transition: transform .25s ease, box-shadow .25s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(17, 32, 25, .12);
}

.related-card:focus-visible,
.group-links a:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.related-card > img {
  width: 100%;
  aspect-ratio: 1.72;
  object-fit: cover;
  background: #dfe5dc;
}

.related-card-copy {
  position: relative;
  display: grid;
  min-height: 108px;
  align-content: center;
  gap: 5px;
  padding: 18px 52px 18px 20px;
}

.related-card-copy strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.025em;
}

.related-card-copy > span {
  color: var(--muted);
  font: 400 13px/1.5 "DM Sans", sans-serif;
}

.related-card-copy b {
  position: absolute;
  top: 50%;
  right: 18px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--forest);
  font-size: 15px;
  font-weight: 500;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.related-card:hover .related-card-copy b {
  border-color: var(--forest);
  background: var(--forest);
  color: #fff;
}

.group-showcase {
  overflow: hidden;
  background: var(--forest);
  color: #fff;
}

.group-showcase-grid {
  display: grid;
  grid-template-columns: minmax(290px, .76fr) minmax(0, 1.24fr);
  align-items: center;
  gap: clamp(40px, 7vw, 92px);
}

.group-showcase-copy h2 {
  max-width: 490px;
  font-size: clamp(40px, 4.3vw, 58px);
}

.group-showcase-copy > p {
  max-width: 430px;
  margin: 20px 0 25px;
  color: rgba(255, 255, 255, .66);
}

.group-showcase-copy .btn {
  width: max-content;
}

.group-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-top: 26px;
}

.group-links a {
  color: rgba(255, 255, 255, .72);
  font: 600 12px/1.5 "DM Sans", sans-serif;
  transition: color .2s ease;
}

.group-links a:hover {
  color: var(--lime2);
}

.group-links span {
  margin-left: 4px;
  color: var(--lime);
}

.group-collage {
  display: grid;
  min-height: 340px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(150px, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px;
  background: rgba(255, 255, 255, .07);
}

.group-collage img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: transform .45s ease;
}

.group-collage img:hover {
  transform: scale(1.04);
}

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

.contact-row .contact-email {
  min-width: 0;
}

.contact-email strong {
  overflow-wrap: anywhere;
  font-size: 12px;
}

.contact-email svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lead-form-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 10px;
}

.lead-form-actions .btn {
  min-width: 0;
  min-height: 54px;
  padding-inline: 14px;
  font-size: 11px;
}

.lead-form-actions .btn-email {
  border: 1px solid rgba(255, 255, 255, .24);
  background: transparent;
  color: #fff;
}

.lead-form-actions .btn-email:hover {
  border-color: var(--lime);
  background: rgba(255, 255, 255, .06);
}

.lead-form > small {
  line-height: 1.6;
}

.footer-grid {
  grid-template-columns: minmax(200px, 1.3fr) minmax(120px, .65fr) minmax(180px, .9fr) minmax(180px, 1fr);
  gap: 35px;
}

@media (max-width: 1080px) {
  .site-header .nav {
    gap: 16px;
    font-size: 12px;
  }

  .related-heading {
    grid-template-columns: 1fr .7fr;
    gap: 42px;
  }

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

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

@media (max-width: 1000px) {
  .site-header .nav {
    display: none;
  }

  .group-showcase-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .group-showcase-copy h2 {
    max-width: 680px;
  }

  .group-collage {
    min-height: 300px;
  }
}

@media (max-width: 650px) {
  .site-header .brand img,
  .footer-brand img {
    width: 138px;
  }

  .related-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 30px;
  }

  .related-heading h2,
  .group-showcase-copy h2 {
    font-size: clamp(34px, 9vw, 42px);
  }

  .related-heading > p,
  .group-showcase-copy > p {
    font-size: 15px;
  }

  .related-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .related-card > img {
    aspect-ratio: 1.8;
  }

  .related-card-copy {
    min-height: 96px;
    padding: 15px 52px 15px 17px;
  }

  .group-collage {
    min-height: 0;
    grid-template-rows: repeat(2, 100px);
  }

  .group-links {
    display: grid;
    gap: 12px;
  }

  .contact-row {
    grid-template-columns: 1fr;
  }

  .lead-form-actions {
    grid-template-columns: 1fr;
  }

  .lead-form-actions .btn {
    width: 100%;
  }

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

@media (prefers-reduced-motion: reduce) {
  .related-card,
  .related-card-copy b,
  .group-links a,
  .group-collage img {
    transition: none;
  }
}
