.hero .hero-grid { align-items: center; }
.hero .hero-copy { min-width: 0; container-type: inline-size; }
.hero .hero-copy > .eyebrow { margin-bottom: 14px; }
.hero #hero-title {
  max-width: 100%;
  margin: 0 0 22px;
  font-size: clamp(2rem, 10.25cqi, 4.65rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.hero-title-line {
  display: grid;
  min-width: 0;
  margin-top: 7px;
  font-size: .9em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

/* Reserve room for the longest phrase throughout the typing animation. */
.hero-title-line::before {
  content: "além da maquininha.\00a0";
  visibility: hidden;
  grid-area: 1 / 1;
}

.hero #hero-title .dynamic-title {
  grid-area: 1 / 1;
  min-width: 0;
  white-space: normal;
}

.hero .hero-copy > p { max-width: 53ch; margin-bottom: 26px; line-height: 1.6; }
.hero .hero-badges { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hero .hero-badges > span { align-content: start; }

.hero .lead-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.lead-form > label { min-width: 0; align-content: start; }
.lead-form-wide { grid-column: 1 / -1; }
.lead-revenue { padding: 10px 12px; border: 1px solid #cde8da; border-radius: 10px; background: #f5fcf8; }
.lead-revenue-heading, .lead-revenue-limits { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.lead-revenue-heading label { font-size: .78rem; font-weight: 700; color: var(--gray-800); }
.lead-revenue-heading output { color: #087451; font-size: .8rem; font-weight: 750; text-align: right; }
.lead-form #lead-revenue {
  display: block;
  padding: 0;
  min-height: 36px;
  margin: 0;
  border: 0;
  background: transparent;
  accent-color: #087451;
  cursor: pointer;
}

.lead-form #lead-revenue:focus-visible { outline: 2px solid #087451; outline-offset: 2px; }
.lead-revenue-limits { color: var(--gray-600); font-size: .7rem; }

@media (min-width: 1081px) {
  .hero .hero-copy {
    align-self: start;
    padding-top: 8px;
  }

  .hero .hero-copy > .eyebrow { margin-bottom: 17px; }
  .hero #hero-title {
    font-size: clamp(2.75rem, 12cqi, 4.875rem);
    letter-spacing: -.025em;
    margin-bottom: 25px;
  }

  .hero-title-line {
    max-width: 7.6em;
    font-size: 1em;
    line-height: 1.02;
    margin-top: 5px;
  }

  .hero .hero-copy > p { margin-bottom: 28px; }
  .hero .hero-badges { margin-bottom: 29px; }
}

@media (max-width: 600px) {
  .hero .hero-copy > .eyebrow { font-size: .65rem; }
  .hero #hero-title { font-size: clamp(2rem, 10.8cqi, 2.65rem); margin-bottom: 18px; }
  .hero .hero-copy > p { font-size: 1rem; margin-bottom: 22px; }
  .hero .hero-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
  .hero .lead-form { column-gap: 9px; }
  .hero .lead-form :is(input, select) { padding-inline: 9px; }
  .hero .lead-form #lead-revenue { padding: 0; }
}
