/* ======  DIFERENCIAIS — TECNOLOGIA COM MÉTODO E CONHECIMENTO ======== */
#humano1 {
  position: relative;
  overflow: hidden;
  padding: 100px 0 0;
}

/* ============ CABEÇALHO ============================ */
#humano1 .humano-header {
  max-width: 900px;
  margin: 0 auto 5px;
  text-align: center;
}

#humano1 .humano-header .section-sub {
  max-width: 780px;
  margin: 0 auto;
}

/* ============= ECOSSISTEMA ====================== */
#humano1 .humano-ecosystem {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(280px, 1fr)
    330px
    minmax(280px, 1fr);
  grid-template-rows:
    minmax(210px, auto)
    minmax(210px, auto);
  column-gap: 70px;
  row-gap: 35px;
  align-items: center;
  max-width: 1250px;
  min-height: 610px;
  margin: 0 auto;
  padding: 20px 0 0;
}

/* ============= CARDS ========================== */
/* POSICIONAMENTO */
#humano1 .humano-item-1 {
/* #humano1 .app-feature { */
  grid-column: 1;
  grid-row: 1;
}

#humano1 .humano-item-2 {
/* #humano1 .app-feature { */
  grid-column: 1;
  grid-row: 2;
}

#humano1 .humano-item-3 {
  grid-column: 3;
  grid-row: 1;
}

#humano1 .humano-item-4 {
  grid-column: 3;
  grid-row: 2;
} 

/* =================  TEXTOS DOS CARDS ================ */
.app-feature {gap:8px}
.app-feature h4 { line-height: 1.3;}
.iconTitle {display: flex; align-items: center; line-height: 1;}
.primeTitle {display: grid;}
.primeTitle .titleMessage {margin-bottom: 5px; font-weight: 600; line-height: 1.3;}
.primeTitle .textMessage {font-size: 14px;}

/* =============== ELEMENTO CENTRAL ================= */
#humano1 .humano-center {
  position: relative;
  z-index: 10;
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

#humano1 .humano-center-ring {
  position: relative;
  width: 265px;
  height: 265px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(30, 110, 190, 0.16);
  box-shadow:
    0 0 0 14px rgba(39, 122, 204, 0.025),
    0 0 0 28px rgba(39, 122, 204, 0.018);
}

#humano1 .humano-center-ring::before,
#humano1 .humano-center-ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(39, 122, 204, 0.10);
}

#humano1 .humano-center-ring::before {
  inset: 10px;
}

#humano1 .humano-center-ring::after {
  inset: -18px;
}

/* CÍRCULO CENTRAL */
#humano1 .humano-center-circle {
  width: 205px;
  height: 205px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(87,194,255,0.15),
      transparent 65%
    );
  color: #ffffff;
  box-shadow:
    0 20px 45px rgba(15, 75, 135, 0.28);
}

/* MARCA */
#humano1 .humano-center-logo {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 7px;
}

#humano1 .humano-center-logo span {
  color: #ffffff;
  font-size: 38px;
  line-height: 1;
  font-weight: 800;
}

#humano1 .humano-center-circle strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.2;
}

#humano1 .humano-center-circle small {
  display: block;
  color: rgba(255,255,255,0.82);
  font-size: 12px;
  line-height: 1.45;
}

/* =============== LINHAS DE CONEXÃO ================= */
#humano1 .humano-line {
  position: absolute;
  z-index: 2;
  width: 120px;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      rgba(48,116,190,0.12),
      rgba(48,116,190,0.65)
    );
}

#humano1 .humano-line::before,
#humano1 .humano-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #347cc4;
  box-shadow:
    0 0 0 4px rgba(52,124,196,0.10);
}

#humano1 .humano-line::before {
  left: 0;
}

#humano1 .humano-line::after {
  right: 0;
}

/* esquerda superior */
#humano1 .humano-line-1 {
  /* left: calc(50% - 315px); */
  left: calc(51% - 258px);
  top: 34%;
  transform: rotate(8deg);
}

/* esquerda inferior */
#humano1 .humano-line-2 {
  /* left: calc(50% - 315px); */
  left: calc(50% - 260px);
  top: 66%;
  transform: rotate(-8deg);
}

/* direita superior */
#humano1 .humano-line-3 {
  /* right: calc(50% - 315px); */
  right: calc(51% - 258px);
  top: 31%;
  transform: rotate(-8deg);
}

/* direita inferior */
#humano1 .humano-line-4 {
    /* right: calc(50% - 315px); */
    right: calc(50% - 251px);
    top: 68%;
    transform: rotate(8deg);
}

.humano-center-ring:hover,
#humano1 .humano-line:hover{ transform: translateY(-4px);}

/* =========== FRASE FINAL ===================== */
#humano1 .humano-impact {
  position: relative;
  z-index: 20;
  margin-top: 25px;
  margin-bottom: 2rem;
  padding: 42px 30px 48px;
  text-align: center;
  color: #ffffff;
  border-radius: 25px 25px 0 0;
  overflow: hidden;
}

#humano1 .humano-impact:hover {
  border-color: rgba(79, 81, 255, .35);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(50, 177, 245, 0.08);

}

#humano1 .humano-impact::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(
      circle,
      rgba(87,194,255,0.15),
      transparent 65%
    );

  pointer-events: none;
}

#humano1 .humano-impact p {
  position: relative;
  margin: 0 0 5px;
  font-size: 23px;
  line-height: 1.3;
}

#humano1 .humano-impact strong {
  position: relative;
  display: block;
  color: #62caff;
  font-size: 27px;
  line-height: 1.3;
  font-weight: 750;
}

#humano1 .humano-impact span {
  position: relative;
  display: block;
  width: 42px;
  height: 3px;
  margin: 22px auto 0;
  border-radius: 10px;
  background: #58c7ff;
}

/* ########## SECTION CTA FINAL ######### */
/* ── LINHA DO TEMPO — 3 linhas horizontais ── */
.steps-row-end {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  align-items: start;
}

/* remove a linha ::before original */
.steps-row-end::before { display: none; }

/* cada bloco ocupa as 3 linhas em coluna */
.step-end {
  display: grid;
  grid-template-rows: auto auto auto; /* h4 | círculo | p */
  text-align: center;
  padding: 0 12px;
  position: relative;
}

/* ── LINHA 1 — título h4 ── */
.step-end h4 {
  font-weight: 700;
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.3;
  padding-bottom: 16px;
  min-height: 68px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* ── LINHA 2 — círculo com número ── */
.step-circle-end {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: .85rem;
  color: var(--bg-light);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
    border: 1px solid rgba(79, 81, 255, .3);
    background: #0E2233;
    box-shadow: inset 0 1px 0 rgba(50, 177, 245, 0.3), inset 0 -1px 0 rgba(50, 177, 245, 0.06), 0 0 0 1px rgba(50, 177, 245, 0.2), 0 4px 24px rgba(0, 0, 0, 0.35);
}

/* linha contínua entre os círculos */
.step-end::before {
  content: '';
  position: absolute;
  top: calc(52px + 16px + 24px); 
  left: 0;
  right: 0;
  height: 2px;
  background: #0E2233;
  z-index: 1;
}

/* remove a linha no primeiro e último step nas extremidades */
.step-end:first-child::before {
  left: 50%;
}
.step-end:last-child::before {
  right: 50%;
}

/* ── LINHA 3 — texto p ── */
.step-end p {
  font-size: .7rem;
  color: var(--grey-mid);
  line-height: 1.6;
  padding-top: 16px;
  text-align: center;
}

.step-end span {font-weight: 600; margin-bottom: 10px; font-size: .85rem;}

/* ===========  TABLET =================== */
@media (max-width: 1100px) {
  #humano1 .humano-ecosystem {
    grid-template-columns:
      minmax(240px, 1fr)
      260px
      minmax(240px, 1fr);
    column-gap: 35px;
  }

  /* #humano1 .humano-item { */
  #humano1 .app-feature {
    padding: 22px;
  }

  /* #humano1 .humano-item h4 {*/
  #humano1 .app-feature h4 {
    font-size: 17px;
  }

  /* #humano1 .humano-item p { */
  #humano1 .app-feature p {
    font-size: 13px;
  }

  #humano1 .humano-center-ring {
    width: 220px;
    height: 220px;
  }

  #humano1 .humano-center-circle {
    width: 170px;
    height: 170px;
  }

     /* LINHAS */
  #humano1 .humano-line {
    display: none;
  }
}

/* ============ MOBILE ========================== */
@media (max-width: 800px) {

  #humano1 {
    padding-top: 70px;
  }

  #humano1 .humano-header {
    margin-bottom: 35px;
  }

  #humano1 .humano-header .section-title {
    font-size: 30px;
  }

  #humano1 .humano-header .section-sub {
    font-size: 15px;
  }

  #humano1 .humano-ecosystem {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: auto;
    padding: 0;
  }

  /* CENTRO */
  #humano1 .humano-center {
    order: 1;
    width: 100%;
    height: auto;
    padding: 15px 0 20px;
  }

  #humano1 .humano-center-ring {
    width: 220px;
    height: 220px;
  }

  #humano1 .humano-center-circle {
    width: 170px;
    height: 170px;
  }

  /* CARDS */
  /* #humano1 .humano-item {*/
  #humano1 .app-feature {
    width: 100%;
    padding: 22px;
  }

  /* #humano1 .humano-item-1 { */
  #humano1 .app-feature {
    order: 2;
  }

  /* #humano1 .humano-item-2 { */
  #humano1 .app-feature {
    order: 3;
  }

  #humano1 .humano-item-3 {
    order: 4;
  }

  #humano1 .humano-item-4 {
    order: 5;
  }

  /* IMPACTO */
  #humano1 .humano-impact {
    margin-top: 20px;
    padding: 35px 20px 40px;
    border-radius: 20px 20px 0 0;
  }

  #humano1 .humano-impact p {
    font-size: 20px;
  }

  #humano1 .humano-impact strong {
    font-size: 22px;
  }
}

/* ── MOBILE — empilha verticalmente - SECTION CTA FINAL── */
@media (max-width: 768px) {
  .steps-row-end {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .step-end {
    grid-template-rows: auto;
    grid-template-columns: auto 1fr; /* círculo | conteúdo */
    gap: 0 16px;
    text-align: left;
    align-items: start;
  }

  .step-end h4 {
    grid-column: 2;
    grid-row: 1;
    min-height: auto;
    align-items: flex-start;
    padding-bottom: 6px;
    justify-content: left;
  }

  .step-circle-end {
    grid-column: 1;
    grid-row: 1 / 3;
    margin: 0;
    align-self: start;
    margin-top: 2px;
  }

  .step-end p {
    grid-column: 2;
    grid-row: 2;
    padding-top: 4px;
    text-align: left;
  }

  /* remove linha horizontal no mobile */
  .step-end::before { display: none; }
}

/* =========== MOBILE PEQUENO ================= */
@media (max-width: 480px) {
  #humano1 {
    padding-top: 60px;
  }

  #humano1 .humano-header .section-title {
    font-size: 27px;
  }

  #humano1 .humano-header .tag {
    font-size: 10px;
    padding: 7px 12px;
  }

  /* #humano1 .humano-item {*/
  #humano1 .app-feature {
    gap: 13px;
    padding: 18px;
  }

  #humano1 .humano-center-ring {
    width: 195px;
    height: 195px;
  }

  #humano1 .humano-center-circle {
    width: 150px;
    height: 150px;
  }

  #humano1 .humano-center-circle strong {
    font-size: 14px;
  }

  #humano1 .humano-center-circle small {
    font-size: 10px;
  }

  #humano1 .humano-impact p {
    font-size: 18px;
  }

  #humano1 .humano-impact strong {
    font-size: 20px;
  }
}