/* Quem somos — Nossa origem */
.history-origin {
  overflow: clip;
  background: #f8faf9;
}

.history-origin-grid {
  display: grid;
  min-width: 0;
  align-items: center;
  gap: clamp(3.5rem, 6vw, 6.5rem);
}

.history-origin-copy,
.history-origin-stats {
  min-width: 0;
}

.history-origin-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 clamp(2.2rem, 3.5vw, 3.25rem);
  color: var(--green-dark);
  font-size: .78rem;
  font-weight: 760;
  letter-spacing: .18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.history-origin-eyebrow > span {
  position: relative;
  display: block;
  width: 3.8rem;
  height: 1px;
  flex: 0 0 auto;
  background: var(--green);
}

.history-origin-eyebrow > span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: .46rem;
  height: .46rem;
  border-radius: 50%;
  background: var(--green);
  content: "";
  transform: translate(-50%, -50%);
}

.history-origin-copy h2 {
  max-width: 13em;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.7rem, 4.1vw, 4.15rem);
  font-weight: 720;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.history-origin-text {
  max-width: 45rem;
  margin-top: clamp(2.1rem, 3.5vw, 3rem);
}

.history-origin-text p {
  margin: 0;
  color: #52657c;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.72;
}

.history-origin-text p + p {
  margin-top: 1.75rem;
}

.history-origin-text strong {
  color: #27364c;
  font-weight: 760;
}

.history-origin-highlight {
  display: flex;
  max-width: 43rem;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.2rem;
}

.history-origin-highlight-icon {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #eaf5ef;
}

.history-origin-highlight-icon svg {
  width: 2.25rem;
  height: 2.25rem;
  fill: none;
  stroke: var(--green-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.history-origin-highlight-icon img {
  display: block;
  width: 3.15rem;
  height: 3.15rem;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.history-origin-highlight strong {
  color: #24344a;
  font-size: clamp(1.08rem, 1.6vw, 1.38rem);
  font-weight: 740;
  line-height: 1.34;
}

.history-origin-stats {
  display: grid;
  gap: 1rem;
}

.history-origin-stat {
  display: grid;
  min-height: 8.6rem;
  grid-template-columns: auto 1px minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 2vw, 2rem);
  padding: 1.45rem clamp(1.5rem, 2.7vw, 2.5rem);
  border: 1px solid rgb(9 112 61 / 10%);
  border-radius: 1.4rem;
  background: #fff;
  box-shadow: 0 12px 35px rgb(19 45 35 / 6%);
  transition:
    border-color 350ms cubic-bezier(.22, 1, .36, 1),
    box-shadow 350ms cubic-bezier(.22, 1, .36, 1),
    transform 350ms cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.history-origin-stat-icon {
  display: grid;
  width: 4.6rem;
  height: 4.6rem;
  place-items: center;
  border-radius: 50%;
  background: #edf7f1;
}

.history-origin-stat-icon svg {
  width: 2.2rem;
  height: 2.2rem;
  fill: none;
  stroke: var(--green-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.history-origin-stat-divider {
  width: 1px;
  height: 4.2rem;
  background: rgb(82 101 124 / 25%);
}

.history-origin-stat-copy {
  display: block;
  min-width: 0;
}

.history-origin-stat-copy strong,
.history-origin-stat-copy small {
  display: block;
}

.history-origin-stat-copy strong {
  color: var(--green-dark);
  font-size: clamp(2.2rem, 3.3vw, 3.15rem);
  font-weight: 740;
  letter-spacing: -.035em;
  line-height: 1;
}

.history-origin-stat-cnes strong {
  font-size: clamp(1.7rem, 2.7vw, 2.55rem);
  white-space: nowrap;
}

.history-origin-stat-copy small {
  margin-top: .65rem;
  color: #64748b;
  font-size: clamp(.9rem, 1.2vw, 1.04rem);
  line-height: 1.35;
}

@media (hover: hover) and (pointer: fine) {
  .history-origin-stat:hover {
    border-color: rgb(9 112 61 / 22%);
    box-shadow: 0 18px 40px rgb(19 45 35 / 9%);
    transform: translateY(-3px);
  }
}

.history-origin-closing {
  margin-top: 1rem;
  text-align: center;
}

.history-origin-leaf-divider {
  display: grid;
  grid-template-columns: minmax(2rem, 1fr) auto minmax(2rem, 1fr);
  align-items: center;
  gap: 1.45rem;
}

.history-origin-leaf-divider span {
  height: 1px;
  background: rgb(8 124 61 / 22%);
}

.history-origin-leaf-divider svg {
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.history-origin-closing p {
  margin: .75rem 0 0;
  color: #52657c;
  font-size: clamp(.92rem, 1.2vw, 1.06rem);
  font-style: italic;
  line-height: 1.5;
}

@media (min-width: 980px) {
  .history-origin-grid {
    grid-template-columns: minmax(0, 1.38fr) minmax(24rem, 1fr);
  }
}

@media (max-width: 1120px) and (min-width: 980px) {
  .history-origin-grid {
    gap: 3rem;
  }

  .history-origin-copy h2 {
    font-size: clamp(2.55rem, 4.1vw, 3.35rem);
  }

  .history-origin-stat {
    gap: 1rem;
    padding-inline: 1.35rem;
  }

  .history-origin-stat-icon {
    width: 4rem;
    height: 4rem;
  }
}

@media (max-width: 979px) {
  .history-origin-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .history-origin-copy,
  .history-origin-stats {
    max-width: 48rem;
    margin-inline: auto;
  }

  .history-origin-copy h2 {
    max-width: 12em;
  }
}

@media (max-width: 639px) {
  .history-origin-eyebrow {
    gap: .8rem;
    margin-bottom: 1.8rem;
    font-size: .72rem;
  }

  .history-origin-eyebrow > span {
    width: 2.5rem;
  }

  .history-origin-copy h2 {
    font-size: clamp(2.15rem, 10vw, 2.45rem);
    line-height: 1.08;
  }

  .history-origin-copy h2 br,
  .history-origin-highlight strong br {
    display: none;
  }

  .history-origin-text {
    margin-top: 1.8rem;
  }

  .history-origin-text p {
    font-size: 1rem;
    line-height: 1.68;
  }

  .history-origin-text p + p {
    margin-top: 1.35rem;
  }

  .history-origin-highlight {
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1.75rem;
  }

  .history-origin-highlight-icon {
    width: 3.7rem;
    height: 3.7rem;
  }

  .history-origin-highlight-icon svg {
    width: 1.9rem;
    height: 1.9rem;
  }

  .history-origin-highlight-icon img {
    width: 2.65rem;
    height: 2.65rem;
  }

  .history-origin-highlight strong {
    padding-top: .22rem;
    font-size: 1.05rem;
  }

  .history-origin-stat {
    min-height: 7.4rem;
    gap: 1rem;
    padding: 1.15rem;
    border-radius: 1.15rem;
  }

  .history-origin-stat-icon {
    width: 3.65rem;
    height: 3.65rem;
  }

  .history-origin-stat-icon svg {
    width: 1.8rem;
    height: 1.8rem;
  }

  .history-origin-stat-divider {
    height: 3.5rem;
  }

  .history-origin-stat-copy strong {
    font-size: clamp(1.8rem, 9vw, 2.35rem);
  }

  .history-origin-stat-cnes strong {
    font-size: clamp(1.45rem, 7.1vw, 1.85rem);
  }

  .history-origin-stat-copy small {
    margin-top: .45rem;
    font-size: .86rem;
  }

  .history-origin-leaf-divider {
    gap: 1rem;
  }
}

@media (max-width: 390px) {
  .history-origin-stat {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .history-origin-stat-divider {
    display: none;
  }

  .history-origin-stat-cnes strong {
    font-size: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .history-origin-stat {
    transition-duration: .01ms !important;
  }
}
