/* Shared public footer. Keep selectors scoped to avoid changing other navigation. */
.site-footer.eh-footer {
  border-top: 1px solid #2c3428;
  padding: 0;
  background: #090d0b;
  color: #aeb7ae;
  font-family: var(--body, sans-serif);
}

.eh-footer-inner {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.eh-footer-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.7fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  padding-block: 64px 52px;
}

.eh-footer-company,
.eh-footer-column {
  min-width: 0;
}

.eh-footer a {
  text-decoration: none;
}

.eh-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #f4f6f0;
}

.eh-footer-symbol {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  object-fit: contain;
}

.eh-footer-wordmark {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.eh-footer-wordmark strong {
  color: #f4f6f0;
  font: 700 27px/1 var(--heading, sans-serif);
  letter-spacing: -1px;
}

.eh-footer-wordmark > span {
  color: #d6fa46;
  font: 700 12px/1.2 var(--heading, sans-serif);
  letter-spacing: .46em;
}

.eh-footer-description {
  margin: 21px 0 24px;
  font-size: 15px;
  line-height: 1.8;
  color: #b4bdb3;
}

.eh-footer a.eh-footer-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  max-width: 100%;
  padding: 11px 16px;
  border: 1px solid #d6fa46;
  border-radius: 9px;
  background: #d6fa46;
  color: #10170a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  transition: background-color .16s ease, border-color .16s ease;
}

.eh-footer-contact svg {
  flex: 0 0 auto;
}

.eh-footer-arrow {
  margin-left: 6px;
  font-size: 18px;
  line-height: 1;
}

.eh-footer a.eh-footer-contact:hover,
.eh-footer a.eh-footer-contact:focus-visible {
  border-color: #e4ff81;
  background: #e4ff81;
  color: #10170a;
}

.eh-footer-registration {
  margin-top: 22px;
  color: #98a396;
  font-size: 12px;
  line-height: 1.8;
}

.eh-footer-company-name {
  margin: 0 0 3px;
  color: #b4bdb3;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.8;
}

.eh-footer-cnpj {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

.eh-footer-cnpj span {
  white-space: nowrap;
}

.eh-footer-address {
  margin-top: 6px;
  font-size: inherit;
  font-style: normal;
  line-height: inherit;
}

.eh-footer-column {
  padding-top: 10px;
}

.eh-footer-column h2 {
  margin: 0 0 20px;
  color: #f4f6f0;
  font-family: var(--heading, sans-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}

.eh-footer-column ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.eh-footer-column a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding-block: 9px;
  color: #aeb7ae;
  font-size: 14px;
  line-height: 1.7;
  transition: color .16s ease;
}

.eh-footer-column a:hover,
.eh-footer-column a:focus-visible {
  color: #d6fa46;
}

.eh-footer a:focus-visible {
  outline: 2px solid #d6fa46;
  outline-offset: 5px;
  border-radius: 4px;
}

.eh-footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 28px;
  border-top: 1px solid #263023;
  padding-block: 23px 27px;
}

.eh-footer-legal p {
  margin: 0;
  color: #98a396;
  font-size: 12px;
  line-height: 1.8;
}

@media (max-width: 1080px) {
  .eh-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
    padding-block: 48px 40px;
  }

  .eh-footer-company {
    grid-column: 1 / -1;
  }

  .eh-footer-column {
    padding-top: 0;
  }
}

@media (max-width: 600px) {
  .eh-footer-inner {
    width: calc(100% - 40px);
  }

  .eh-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
    padding-block: 38px 34px;
  }

  .eh-footer-column h2 {
    margin-bottom: 12px;
  }

  .eh-footer-column a {
    font-size: 13px;
  }

  .eh-footer-legal {
    display: grid;
    gap: 7px;
    padding-block: 20px 24px;
  }
}

@media (max-width: 359px) {
  .eh-footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .eh-footer-column h2 {
    margin-bottom: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eh-footer a {
    transition: none;
  }
}
