/* AVANTHY IA VISUAL V2 — INÍCIO */

.ai-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.ai-section .home-container {
  position: relative;
  z-index: 2;
}

/* Círculos preenchidos e transparentes, sem neon. */

.ai-section::before,
.ai-section::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}

.ai-section::before {
  top: -245px;
  right: -190px;
  width: 570px;
  height: 570px;
  background: rgba(0, 101, 163, 0.045);
}

.ai-section::after {
  right: 110px;
  bottom: -245px;
  width: 390px;
  height: 390px;
  background: rgba(255, 102, 0, 0.035);
}

.avt-ai-capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 25px 0 27px;
}

.avt-ai-capability {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  padding: 12px 10px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(0, 101, 163, 0.13);
  border-radius: 13px;
  transition:
    border-color 190ms ease,
    box-shadow 190ms ease,
    transform 190ms ease;
}

.avt-ai-capability:hover {
  border-color: rgba(0, 101, 163, 0.28);
  box-shadow: 0 12px 28px rgba(0, 35, 77, 0.08);
  transform: translateY(-3px);
}

.avt-ai-capability-icon {
  display: grid;
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  place-items: center;
  color: #0065a3;
  background: #eaf5fb;
  border-radius: 10px;
}

.avt-ai-capability:nth-child(2) .avt-ai-capability-icon {
  color: #fff;
  background: linear-gradient(135deg, #002f64, #008fc8);
}

.avt-ai-capability:nth-child(3) .avt-ai-capability-icon {
  color: #ff6600;
  background: #fff0e6;
}

.avt-ai-capability-icon svg,
.avt-ai-flow-symbol svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.avt-ai-capability > span:last-child {
  min-width: 0;
}

.avt-ai-capability strong,
.avt-ai-capability small {
  display: block;
}

.avt-ai-capability strong {
  color: #00234d;
  font-size: 9px;
  line-height: 1.35;
}

.avt-ai-capability small {
  margin-top: 3px;
  color: #71869a;
  font-size: 7px;
  line-height: 1.45;
}

.automation-flow {
  position: relative;
  overflow: hidden;
}

.automation-flow::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -130px;
  width: 330px;
  height: 330px;
  background: rgba(0, 101, 163, 0.045);
  border-radius: 50%;
  pointer-events: none;
}

.avt-ai-flow-heading {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #dfebf2;
}

.avt-ai-flow-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.avt-ai-flow-symbol {
  display: grid;
  flex: 0 0 43px;
  width: 43px;
  height: 43px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #002f64, #008fc8);
  border-radius: 12px;
  box-shadow: 0 11px 24px rgba(0, 79, 136, 0.18);
}

.avt-ai-flow-title span,
.avt-ai-flow-title strong {
  display: block;
}

.avt-ai-flow-title span {
  margin-bottom: 3px;
  color: #ff6600;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.avt-ai-flow-title strong {
  color: #00234d;
  font-size: 12px;
  line-height: 1.35;
}

.avt-ai-status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  color: #286647;
  background: #edf9f2;
  border: 1px solid #d4eedf;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
}

.avt-ai-status i {
  width: 7px;
  height: 7px;
  background: #22a862;
  border-radius: 50%;
  animation: avtAiStatus 2.2s ease-in-out infinite;
}

.automation-flow .flow-step,
.automation-flow .flow-line {
  position: relative;
  z-index: 2;
}

@keyframes avtAiStatus {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .55;
    transform: scale(.82);
  }
}

@media (max-width: 1080px) {
  .avt-ai-capabilities {
    grid-template-columns: 1fr;
  }

  .avt-ai-capability {
    padding: 11px 12px;
  }

  .avt-ai-capability strong {
    font-size: 10px;
  }

  .avt-ai-capability small {
    font-size: 8px;
  }
}

@media (max-width: 620px) {
  .avt-ai-capabilities {
    gap: 8px;
    margin: 22px 0 25px;
  }

  .avt-ai-flow-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .avt-ai-status {
    margin-left: 55px;
  }

  .ai-section::before {
    top: -145px;
    right: -185px;
    width: 360px;
    height: 360px;
  }

  .ai-section::after {
    right: auto;
    bottom: -170px;
    left: -165px;
    width: 300px;
    height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .avt-ai-status i {
    animation: none;
  }

  .avt-ai-capability {
    transition: none;
  }
}

/* AVANTHY IA VISUAL V2 — FIM */
