#como-funciona.flow-section {
  background:
    radial-gradient(86% 70% at 10% 0%, rgba(255, 255, 255, 0.72) 0%, transparent 66%),
    radial-gradient(74% 62% at 92% 18%, rgba(39, 107, 152, 0.12) 0%, transparent 68%),
    linear-gradient(180deg, #f5f9fc 0%, #e6f0f7 100%) !important;
}

#como-funciona .flow-head {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
}

#como-funciona .flow-intro {
  max-width: 760px;
  color: #405a72;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

#como-funciona .flow-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  max-width: 1133px;
  gap: 21px;
  margin-top: 38px;
  margin-right: auto;
  margin-left: auto;
  padding: 0;
  list-style: none;
}

#como-funciona .flow-grid::before {
  content: "";
  position: absolute;
  top: 28px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 1px;
  background: linear-gradient(90deg, rgba(39, 107, 152, 0), rgba(39, 107, 152, 0.34), rgba(39, 107, 152, 0));
  z-index: 0;
}

#como-funciona .camus-flow-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 268px;
  padding: 20px 20px 22px;
  border: 1px solid rgba(178, 199, 217, 0.94);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 252, 0.96));
  box-shadow: 0 12px 28px rgba(16, 40, 61, 0.12), inset 0 1px rgba(255, 255, 255, 0.88);
  text-align: center;
}

#como-funciona .camus-flow-item .flow-item-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 34px;
  margin-bottom: 16px;
}

#como-funciona .camus-flow-item .flow-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(39, 107, 152, 0.32);
  border-radius: 999px;
  color: #205a80;
  background: #f8fbff;
  box-shadow: 0 8px 16px rgba(16, 40, 61, 0.1), inset 0 1px rgba(255, 255, 255, 0.9);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
}

#como-funciona .camus-flow-item h3 {
  width: 100%;
  margin: 0;
  color: #113554;
  font-size: 1.03rem;
  line-height: 1.24;
  text-align: center;
  text-wrap: balance;
}

#como-funciona .camus-flow-item p {
  max-width: 24ch;
  margin: 12px auto 0;
  color: #344b62;
  font-size: 0.95rem;
  line-height: 1.55;
  text-align: center;
  text-wrap: pretty;
}

#como-funciona .camus-flow-item-highlight {
  border-color: rgba(39, 107, 152, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(233, 244, 252, 0.98)),
    radial-gradient(120% 78% at 100% 0%, rgba(39, 107, 152, 0.14) 0%, transparent 60%);
  box-shadow: 0 18px 42px rgba(16, 40, 61, 0.18), inset 0 1px rgba(255, 255, 255, 0.9);
}

#como-funciona .camus-flow-item-highlight::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 18px;
  left: 18px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #276b98, #62a9d2);
}

#como-funciona .camus-flow-item-highlight .flow-step-number {
  color: #ffffff;
  border-color: rgba(39, 107, 152, 0.82);
  background: linear-gradient(180deg, #3478aa, #276b98);
  box-shadow: 0 10px 20px rgba(39, 107, 152, 0.24), inset 0 1px rgba(255, 255, 255, 0.32);
}

#como-funciona .camus-flow-item-highlight h3 {
  color: #0b2f4c;
}

#como-funciona .camus-flow-note {
  max-width: 860px;
  margin: 24px auto 0;
  padding: 14px 18px;
  justify-content: center;
  border: 1px solid rgba(178, 199, 217, 0.76);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: none;
  text-align: center;
}

#como-funciona .camus-flow-note span {
  color: #405a72;
  font-size: 0.9rem;
  line-height: 1.52;
}

html[data-camus-theme="dark"] #como-funciona.flow-section {
  background:
    radial-gradient(90% 62% at 10% 0%, rgba(39, 107, 152, 0.2) 0%, transparent 62%),
    linear-gradient(180deg, #0b2133 0%, #071827 100%) !important;
}

html[data-camus-theme="dark"] #como-funciona .flow-intro,
html[data-camus-theme="dark"] #como-funciona .camus-flow-note span {
  color: #c8d9e8 !important;
}

html[data-camus-theme="dark"] #como-funciona .flow-grid::before {
  background: linear-gradient(90deg, rgba(141, 222, 217, 0), rgba(141, 222, 217, 0.34), rgba(141, 222, 217, 0));
}

html[data-camus-theme="dark"] #como-funciona .camus-flow-item {
  border-color: rgba(147, 197, 253, 0.24);
  background: linear-gradient(180deg, rgba(12, 34, 52, 0.96), rgba(8, 27, 43, 0.96));
  box-shadow: 0 18px 38px rgba(0, 7, 14, 0.28), inset 0 1px rgba(191, 219, 254, 0.12);
}

html[data-camus-theme="dark"] #como-funciona .camus-flow-item h3 {
  color: #f8fbff !important;
}

html[data-camus-theme="dark"] #como-funciona .camus-flow-item p {
  color: #c8d9e8 !important;
}

html[data-camus-theme="dark"] #como-funciona .camus-flow-item .flow-step-number {
  color: #8dded9;
  border-color: rgba(141, 222, 217, 0.34);
  background: rgba(141, 222, 217, 0.08);
  box-shadow: inset 0 1px rgba(191, 219, 254, 0.14);
}

html[data-camus-theme="dark"] #como-funciona .camus-flow-item-highlight {
  border-color: rgba(141, 222, 217, 0.46);
  background:
    radial-gradient(110% 76% at 100% 0%, rgba(141, 222, 217, 0.11) 0%, transparent 58%),
    linear-gradient(180deg, rgba(12, 34, 52, 0.98), rgba(8, 27, 43, 0.98));
}

html[data-camus-theme="dark"] #como-funciona .camus-flow-item-highlight .flow-step-number {
  color: #06131f;
  border-color: rgba(141, 222, 217, 0.58);
  background: linear-gradient(180deg, #b7f4f0, #8dded9);
}

html[data-camus-theme="dark"] #como-funciona .camus-flow-note {
  border-color: rgba(147, 197, 253, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 1140px) {
  #como-funciona .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #como-funciona .flow-grid::before {
    display: none;
  }
}

@media (max-width: 760px) {
  #como-funciona .flow-head {
    text-align: center;
  }

  #como-funciona .flow-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
  }

  #como-funciona .camus-flow-item {
    min-height: 0;
    padding: 18px;
  }

  #como-funciona .camus-flow-item p {
    max-width: 34ch;
    font-size: 0.92rem;
  }

  #como-funciona .camus-flow-note {
    margin-top: 18px;
    padding: 13px 14px;
    text-align: center;
  }
}
