/* =========================================================
   PÁGINA SOLUÇÕES — VALORA
   ========================================================= */

.solutions-showcase {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 42%, rgba(31, 154, 137, 0.16), transparent 34%),
    linear-gradient(145deg, #f8fbfa 0%, #edf5f2 100%);
}

.solutions-showcase::before,
.solutions-showcase::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(18, 82, 71, 0.1);
  pointer-events: none;
}

.solutions-showcase::before {
  width: 390px;
  height: 390px;
  top: 54px;
  left: 50%;
  transform: translateX(-50%);
}

.solutions-showcase::after {
  width: 270px;
  height: 270px;
  top: 114px;
  left: 50%;
  transform: translateX(-50%);
}

.solutions-orbit {
  position: relative;
  width: 100%;
  min-height: 520px;
}

.solutions-core {
  position: absolute;
  z-index: 4;
  top: 185px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 146px;
  height: 146px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #fff;
  background: #10231e;
  box-shadow: 0 22px 50px rgba(15, 44, 36, 0.22);
  transform: translateX(-50%);
  text-align: center;
}

.solutions-core-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
  border-radius: 10px;
  color: #10231e;
  background: #bff4e6;
  font-weight: 900;
}

.solutions-core strong {
  font-size: 1.08rem;
}

.solutions-core small {
  margin-top: 3px;
  color: #b9cbc5;
  font-size: 0.67rem;
}

.solution-node {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 128px;
  padding: 11px 13px;
  border: 1px solid #dce9e5;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(19, 56, 46, 0.1);
  backdrop-filter: blur(8px);
}

.solution-node span {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 34px;
  padding: 0 7px;
  border-radius: 9px;
  color: #0c665a;
  background: #e5f6f1;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.solution-node strong {
  color: #18312a;
  font-size: 0.78rem;
}

.node-ai { top: 62px; left: 46px; }
.node-erp { top: 60px; right: 40px; }
.node-seo { top: 218px; left: 20px; }
.node-systems { top: 214px; right: 14px; }
.node-apps { top: 365px; left: 54px; }
.node-auto { top: 366px; right: 44px; }

.solutions-connection {
  position: absolute;
  z-index: 1;
  width: 125px;
  height: 1px;
  background: linear-gradient(90deg, rgba(15, 111, 96, 0.12), rgba(15, 111, 96, 0.5));
  transform-origin: left center;
}

.connection-one { top: 160px; left: 154px; transform: rotate(28deg); }
.connection-two { top: 160px; right: 155px; transform: rotate(152deg); transform-origin: right center; }
.connection-three { top: 275px; left: 144px; transform: rotate(3deg); }
.connection-four { top: 272px; right: 146px; transform: rotate(177deg); transform-origin: right center; }
.connection-five { top: 378px; left: 166px; transform: rotate(-31deg); }
.connection-six { top: 379px; right: 166px; transform: rotate(211deg); transform-origin: right center; }

.solutions-result-card {
  position: absolute;
  z-index: 5;
  right: 50%;
  bottom: 23px;
  width: min(360px, calc(100% - 48px));
  padding: 14px 18px;
  border: 1px solid rgba(20, 99, 86, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 35px rgba(18, 54, 45, 0.1);
  transform: translateX(50%);
  text-align: center;
}

.solutions-result-card span {
  display: block;
  margin-bottom: 3px;
  color: #71827d;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.solutions-result-card strong {
  color: #16312a;
  font-size: 0.86rem;
}

.solutions-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.solutions-principles article {
  padding: 28px;
  border: 1px solid #e0e9e6;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(18, 49, 41, 0.05);
}

.solutions-principles article > span {
  display: inline-flex;
  margin-bottom: 18px;
  color: #0d7c6c;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.solutions-principles h3 {
  margin: 0 0 10px;
  color: #122820;
  font-size: 1.05rem;
}

.solutions-principles p {
  margin: 0;
  color: #5e706a;
  line-height: 1.7;
}

.solutions-catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.solution-catalog-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  border: 1px solid #dfe9e5;
  border-radius: 20px;
  color: inherit;
  background: #fff;
  box-shadow: 0 14px 38px rgba(18, 53, 44, 0.055);
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.solution-catalog-card:hover,
.solution-catalog-card:focus-visible {
  border-color: #a8cec3;
  box-shadow: 0 20px 46px rgba(18, 53, 44, 0.1);
  transform: translateY(-4px);
}

.solution-catalog-card.featured {
  background: linear-gradient(145deg, #102a23, #153d33);
}

.solution-catalog-card.featured h3,
.solution-catalog-card.featured p,
.solution-catalog-card.featured li {
  color: #fff;
}

.solution-catalog-card.featured p,
.solution-catalog-card.featured li {
  color: #c9dad4;
}

.solution-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.solution-code {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  height: 42px;
  padding: 0 10px;
  border-radius: 11px;
  color: #0b6d5f;
  background: #e5f5f0;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.solution-catalog-card.featured .solution-code {
  color: #102a23;
  background: #bff4e6;
}

.solution-arrow {
  color: #5c736c;
  font-size: 1.35rem;
  transition: transform 0.2s ease;
}

.solution-catalog-card.featured .solution-arrow {
  color: #bff4e6;
}

.solution-catalog-card:hover .solution-arrow {
  transform: translate(2px, -2px);
}

.solution-catalog-card h3 {
  margin: 0 0 12px;
  color: #132a23;
  font-size: 1.18rem;
  line-height: 1.35;
}

.solution-catalog-card p {
  margin: 0 0 22px;
  color: #60716c;
  line-height: 1.7;
}

.solution-catalog-card ul {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: 18px 0 0;
  border-top: 1px solid #e5ece9;
  list-style: none;
}

.solution-catalog-card.featured ul {
  border-color: rgba(255, 255, 255, 0.15);
}

.solution-catalog-card li {
  position: relative;
  padding-left: 17px;
  color: #40564f;
  font-size: 0.83rem;
}

.solution-catalog-card li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #20a68f;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.journey-card {
  padding: 26px;
  border: 1px solid #dfe9e5;
  border-radius: 18px;
  background: #fff;
}

.journey-card > span {
  color: #0b7a69;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.journey-card h3 {
  margin: 9px 0 18px;
  color: #122820;
}

.journey-card p {
  margin: 18px 0 0;
  color: #5f716b;
  line-height: 1.7;
}

.journey-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.journey-flow strong {
  padding: 7px 9px;
  border-radius: 8px;
  color: #17443a;
  background: #edf7f4;
  font-size: 0.7rem;
}

.journey-flow i {
  color: #88a39b;
  font-style: normal;
}

.solutions-final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.solutions-final-cta p {
  margin: 0;
  color: #62746e;
}

@media (max-width: 1100px) {
  .solutions-catalog,
  .journey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .node-ai { left: 24px; }
  .node-erp { right: 20px; }
  .node-seo { left: 6px; }
  .node-systems { right: 4px; }
  .node-apps { left: 28px; }
  .node-auto { right: 24px; }
}

@media (max-width: 900px) {
  .solutions-principles {
    grid-template-columns: 1fr;
  }

  .solutions-showcase {
    min-height: 470px;
  }

  .solutions-orbit {
    min-height: 470px;
  }

  .solution-node {
    min-width: 112px;
    padding: 9px 10px;
  }

  .solution-node span {
    min-width: 35px;
    height: 31px;
  }

  .solutions-core {
    top: 162px;
    width: 132px;
    height: 132px;
  }

  .node-ai { top: 44px; left: 20px; }
  .node-erp { top: 44px; right: 18px; }
  .node-seo { top: 192px; left: 3px; }
  .node-systems { top: 190px; right: 3px; }
  .node-apps { top: 326px; left: 22px; }
  .node-auto { top: 326px; right: 18px; }

  .solutions-result-card {
    bottom: 16px;
  }
}

@media (max-width: 680px) {
  .solutions-catalog,
  .journey-grid {
    grid-template-columns: 1fr;
  }

  .solution-catalog-card,
  .solutions-principles article,
  .journey-card {
    padding: 22px;
  }

  .solutions-showcase {
    min-height: 440px;
  }

  .solutions-orbit {
    min-height: 440px;
  }

  .solutions-showcase::before {
    width: 290px;
    height: 290px;
    top: 70px;
  }

  .solutions-showcase::after {
    width: 210px;
    height: 210px;
    top: 110px;
  }

  .solutions-core {
    top: 145px;
    width: 118px;
    height: 118px;
  }

  .solutions-core small {
    display: none;
  }

  .solution-node {
    min-width: auto;
    padding: 8px;
  }

  .solution-node strong {
    display: none;
  }

  .solution-node span {
    min-width: 42px;
  }

  .node-ai { top: 50px; left: 24px; }
  .node-erp { top: 50px; right: 24px; }
  .node-seo { top: 190px; left: 12px; }
  .node-systems { top: 190px; right: 12px; }
  .node-apps { top: 308px; left: 35px; }
  .node-auto { top: 308px; right: 35px; }

  .solutions-connection {
    display: none;
  }

  .solutions-result-card {
    width: calc(100% - 34px);
    padding: 12px 14px;
  }

  .journey-flow {
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .solution-catalog-card,
  .solution-arrow {
    transition: none;
  }
}