/* Onda 9.0.11C — implementação controlada do Footer B2 aprovado. */
.footer.footer-b2 {
  --b2-bg: #0b121e;
  --b2-ink: #f7f9fc;
  --b2-muted: #b7c2d0;
  --b2-dim: #b7c2d0;
  --b2-line: rgba(206, 220, 235, 0.18);
  --b2-accent: #ff6a00;
  --b2-accent-soft: #ffb066;
  position: relative !important;
  overflow: hidden !important;
  margin-top: 64px !important;
  padding: 52px 0 24px !important;
  border-top: 1px solid rgba(255, 106, 0, 0.38) !important;
  color: var(--b2-muted) !important;
  background: var(--b2-bg) !important;
}

.footer.footer-b2::before,
.footer.footer-b2::after {
  display: none !important;
  content: none !important;
}

.footer.footer-b2 .footer-inner.footer-v1 {
  position: relative;
  z-index: 1;
  display: grid !important;
  width: min(1180px, calc(100% - 40px));
  max-width: none;
  grid-template-columns: minmax(260px, 1.4fr) minmax(230px, 1.08fr) minmax(270px, 1.2fr) minmax(170px, 0.72fr) !important;
  grid-template-rows: auto auto;
  gap: 0 clamp(28px, 3vw, 46px) !important;
  align-items: start;
  margin: 0 auto;
  padding: 0;
}

.footer.footer-b2 .footer-v1 > *,
.footer.footer-b2 .footer-contact-stack > * {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.footer.footer-b2 .footer-brand-block {
  grid-column: 1;
  grid-row: 1;
  padding-left: 18px;
  border-left: 2px solid var(--b2-accent);
}

.footer.footer-b2 .footer-contact-stack {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  gap: 26px;
  align-content: start;
}

.footer.footer-b2 .footer-service {
  grid-column: 3 !important;
  grid-row: 1 !important;
  padding: 0 !important;
  border: 0 !important;
}

.footer.footer-b2 .footer-links {
  grid-column: 4 !important;
  grid-row: 1 !important;
  padding: 0 !important;
  border: 0 !important;
}

.footer.footer-b2 strong {
  display: block;
  margin: 0 0 7px;
  color: var(--b2-ink) !important;
  font-family: Orbitron, Inter, Arial, sans-serif;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.055em;
  text-align: left;
}

.footer.footer-b2 .footer-brand-block strong {
  max-width: 10ch;
  margin-bottom: 11px;
  font-size: clamp(22px, 2vw, 27px) !important;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.footer.footer-b2 .footer-brand-block p {
  max-width: 31ch !important;
  margin: 0;
  color: var(--b2-muted) !important;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px !important;
  line-height: 1.62 !important;
}

.footer.footer-b2 .footer-column {
  display: grid;
  gap: 8px !important;
  align-content: start;
}

.footer.footer-b2 .footer-column a,
.footer.footer-b2 .footer-column span {
  width: fit-content;
  max-width: 100%;
  min-height: 24px;
  margin: 0;
  padding: 0;
  color: var(--b2-muted) !important;
  font-family: Inter, Arial, sans-serif;
  font-size: 13px !important;
  font-weight: 400;
  line-height: 1.55 !important;
  overflow-wrap: normal;
  word-break: normal;
}

.footer.footer-b2 .footer-column a[href^="mailto:"],
.footer.footer-b2 .footer-column a[href^="http://"],
.footer.footer-b2 .footer-column a[href^="https://"] {
  overflow-wrap: anywhere;
}

.footer.footer-b2 .footer-column a {
  position: relative;
  border-radius: 0;
  text-decoration: none;
  text-underline-offset: 4px;
}

.footer.footer-b2 .footer-column a:visited {
  color: #aab7c8 !important;
}

.footer.footer-b2 .footer-column a:hover,
.footer.footer-b2 .footer-column a:focus-visible {
  color: var(--b2-ink) !important;
  text-decoration: underline;
  text-decoration-color: var(--b2-accent);
  text-decoration-thickness: 2px;
}

.footer.footer-b2 .footer-column a:focus-visible {
  outline: 2px solid var(--b2-accent-soft);
  outline-offset: 3px;
}

.footer.footer-b2 .footer-contact a:last-child {
  color: var(--b2-ink) !important;
  font-weight: 750;
}

.footer.footer-b2 .footer-company-column {
  display: grid !important;
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  grid-template-columns: auto 0.9fr 1.15fr 1.45fr 0.8fr 0.6fr;
  gap: 18px 24px !important;
  align-items: end;
  margin-top: 32px !important;
  padding: 18px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--b2-line) !important;
}

.footer.footer-b2 .footer-company-column > strong {
  margin: 0;
  color: var(--b2-dim) !important;
  font-size: 9px !important;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer.footer-b2 .footer-company-field {
  display: block;
  min-width: 0;
  color: var(--b2-muted) !important;
  font-family: Inter, Arial, sans-serif;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

.footer.footer-b2 .footer-company-field small {
  display: block;
  margin: 0 0 3px;
  color: var(--b2-dim) !important;
  font-family: Inter, Arial, sans-serif;
  font-size: 9px !important;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

@media (max-width: 1199.5px) {
  .footer.footer-b2 {
    margin-top: 54px !important;
    padding: 44px 0 24px !important;
  }

  .footer.footer-b2 .footer-inner.footer-v1 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: auto auto auto;
    gap: 0 52px !important;
  }

  .footer.footer-b2 .footer-brand-block {
    grid-column: 1;
    grid-row: 1;
    padding: 0 0 28px;
    border-bottom: 1px solid var(--b2-line);
    border-left: 0;
  }

  .footer.footer-b2 .footer-contact-stack {
    grid-column: 2;
    grid-row: 1;
    gap: 22px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--b2-line);
  }

  .footer.footer-b2 .footer-service {
    grid-column: 1 !important;
    grid-row: 2 !important;
    padding-top: 28px !important;
  }

  .footer.footer-b2 .footer-links {
    grid-column: 2 !important;
    grid-row: 2 !important;
    padding-top: 28px !important;
  }

  .footer.footer-b2 .footer-company-column {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 16px 24px !important;
    margin-top: 28px !important;
    padding-top: 20px !important;
  }

  .footer.footer-b2 .footer-company-column > strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767.5px) {
  .footer.footer-b2 .footer-inner.footer-v1 {
    gap: 0 30px !important;
  }

  .footer.footer-b2 .footer-brand-block,
  .footer.footer-b2 .footer-contact-stack {
    padding-bottom: 24px;
  }

  .footer.footer-b2 .footer-service,
  .footer.footer-b2 .footer-links {
    padding-top: 24px !important;
  }
}

@media (max-width: 540.5px) {
  .footer.footer-b2 {
    margin-top: 42px !important;
    padding: 36px 0 22px !important;
  }

  .footer.footer-b2 .footer-inner.footer-v1 {
    width: min(calc(100% - 32px), 1180px);
    grid-template-columns: 1fr !important;
    grid-template-rows: auto;
    column-gap: 0 !important;
    row-gap: 1px !important;
  }

  .footer.footer-b2 .footer-v1 > .footer-brand-block,
  .footer.footer-b2 .footer-v1 > .footer-contact-stack,
  .footer.footer-b2 .footer-v1 > .footer-links,
  .footer.footer-b2 .footer-v1 > .footer-service,
  .footer.footer-b2 .footer-v1 > .footer-company-column {
    grid-column: 1 !important;
    grid-row: auto !important;
    margin: 0 !important;
    padding: 17px 0 !important;
    border: 0 !important;
    border-top: 1px solid var(--b2-line) !important;
  }

  .footer.footer-b2 .footer-v1 > .footer-brand-block {
    order: 1;
    padding-top: 0 !important;
    border-top: 0 !important;
  }

  .footer.footer-b2 .footer-contact-stack {
    order: 2;
    gap: 18px;
  }

  .footer.footer-b2 .footer-links {
    order: 3;
  }

  .footer.footer-b2 .footer-service {
    order: 4;
  }

  .footer.footer-b2 .footer-company-column {
    order: 5;
    grid-template-columns: 1fr;
    gap: 12px !important;
  }

  .footer.footer-b2 .footer-company-column > strong {
    grid-column: 1;
  }

  .footer.footer-b2 .footer-brand-block strong {
    max-width: none;
    font-size: 20px !important;
  }

  .footer.footer-b2 .footer-column a,
  .footer.footer-b2 .footer-column span {
    min-height: 27px;
    font-size: 13px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer.footer-b2,
  .footer.footer-b2 * {
    animation: none !important;
    transition: none !important;
  }
}
