/* Ilustração da seção Automação e inteligência artificial. */
.ai-section .ai-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .86fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.newera-ai-visual {
  position: relative;
  margin: 0;
}

.newera-ai-frame {
  position: relative;
  overflow: hidden;
  background: #07162c;
}

.newera-ai-frame::before {
  position: absolute;
  z-index: 2;
  top: -16px;
  right: -15px;
  bottom: 44px;
  left: 30px;
  border: 14px solid var(--green);
  border-bottom: 0;
  content: "";
  pointer-events: none;
}

.newera-ai-frame::after {
  position: absolute;
  z-index: 2;
  right: -15px;
  bottom: 16px;
  width: 96px;
  height: 14px;
  background: var(--green);
  content: "";
}

.newera-ai-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 66% center;
  filter: saturate(.94) contrast(1.02);
}

.newera-ai-visual figcaption {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: #c8d6e4;
  font-family: "Network", "Oxanium", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.newera-ai-visual figcaption span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.newera-form-feedback {
  display: none;
  margin: -4px 0 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.newera-form-feedback.success,
.newera-form-feedback.error { display: block; }
.newera-form-feedback.success { color: #74d55f; }
.newera-form-feedback.error { color: #ffaaa0; }
.newera-contact-submit:disabled { cursor: wait; opacity: .72; }

@media (max-width: 960px) {
  .ai-section .ai-layout { grid-template-columns: 1fr; }
  .newera-ai-visual { width: min(100%, 620px); margin-left: auto; }
}

@media (max-width: 680px) {
  .newera-ai-visual { width: min(88%, 500px); margin-right: auto; margin-left: auto; }
  .newera-ai-frame::before { top: -12px; right: -11px; bottom: 34px; left: 22px; border-width: 11px; }
  .newera-ai-frame::after { right: -11px; bottom: 12px; width: 75px; height: 11px; }
  .newera-ai-visual figcaption { margin-top: 16px; font-size: 8px; }
}
