.eventinho {
  position: relative;
  background: var(--color-neutral-white);
  padding: 64px 24px 0;
  --eventinho-panel-height: min(720px, calc(100vh - 96px));
}

.eventinho__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.eventinho__intro {
  position: relative;
  max-width: 1080px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 64px;
  margin: 0 auto -1px;
  overflow: visible;
}

.eventinho__copy {
  width: 100%;
  max-width: 540px;
  padding: 0 0 40px 44px;
}

.eventinho__badge {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  line-height: 16px;
  font-weight: 600;
  color: var(--color-brand-blue);
  background: var(--color-brand-blue-lightest);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 48px;
}

.eventinho__title {
  font-family: var(--font-geist);
  font-size: 28px;
  line-height: 30px;
  font-weight: 700;
  color: var(--color-neutral-black);
  letter-spacing: 0;
  margin: 0;
}

.eventinho__character {
  position: relative;
  z-index: 2;
  align-self: end;
  justify-self: center;
  width: min(308px, 100%);
  margin-bottom: -1px;
}

.eventinho__character img {
  width: 100%;
  height: auto;
}

.eventinho__flow {
  position: relative;
  height: calc(var(--steps, 4) * 100vh);
  min-height: 2480px;
  margin-top: -1px;
}

.eventinho__sticky {
  position: sticky;
  top: calc((100vh - var(--eventinho-panel-height)) / 2);
  height: var(--eventinho-panel-height);
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.eventinho__panel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: min(560px, calc(100vh - 96px));
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(0, 1fr);
  background: var(--color-neutral-100);
  border-radius: 24px;
  padding: 12px;
  overflow: hidden;
}

.eventinho__steps {
  position: relative;
  z-index: 2;
  height: 100%;
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--color-neutral-white);
  border-radius: 16px;
  padding: 44px 40px 48px;
  margin: 0;
}

.eventinho__step {
  transition: color 180ms ease, opacity 180ms ease;
}

.eventinho__step-number {
  display: block;
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  color: rgba(37, 99, 235, 0.28);
  margin-bottom: 24px;
  transition: color 180ms ease;
}

.eventinho__step p {
  max-width: 520px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--color-neutral-300);
  margin: 0;
  transition: color 180ms ease;
}

.eventinho__step.is-active .eventinho__step-number {
  color: var(--color-brand-blue);
}

.eventinho__step.is-active p {
  color: var(--color-neutral-600);
}

.eventinho__visual {
  position: relative;
  overflow: hidden;
}

.eventinho__phone {
  position: absolute;
  top: 52px;
  right: 90px;
  width: 415px;
  max-width: none;
  height: auto;
  pointer-events: none;
}

.control-cta {
  display: flex;
  justify-content: center;
  background: var(--color-neutral-white);
  padding: 72px 24px 56px;
  text-align: center;
}

.control-cta__inner {
  width: 100%;
  max-width: 768px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.control-cta__badge {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  line-height: 16px;
  font-weight: 600;
  color: var(--color-brand-blue);
  background: var(--color-brand-blue-lightest);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.control-cta__title {
  font-family: var(--font-geist);
  font-size: 40px;
  line-height: 44px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--color-neutral-black);
  margin: 0;
}

.control-cta__title span {
  color: var(--color-brand-blue);
}

.control-cta__subtitle {
  max-width: 520px;
  font-size: 18px;
  line-height: 20px;
  font-weight: 400;
  color: var(--color-neutral-600);
  /* margin: 16px 0 20px; */
}

.control-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 1120px) {
  .eventinho__panel {
    grid-template-columns: minmax(0, 52%) minmax(0, 48%);
  }

  .eventinho__phone {
    right: 32px;
    width: 390px;
  }
}

@media (max-width: 900px) {
  .eventinho__intro {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 0;
  }

  .eventinho__copy {
    max-width: 620px;
    padding: 0;
    text-align: center;
    justify-self: center;
  }

  .eventinho__badge {
    margin-bottom: 24px;
  }

  .eventinho__character {
    width: 240px;
    margin-top: 32px;
    margin-bottom: -12px;
  }

  .eventinho__flow {
    height: auto;
    min-height: 0;
    margin-top: 0;
  }

  .eventinho__sticky {
    position: static;
    height: auto;
    padding: 0;
  }

  .eventinho__panel {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 10px;
  }

  .eventinho__steps {
    gap: 32px;
    padding: 32px 24px;
  }

  .eventinho__step-number {
    color: var(--color-brand-blue);
  }

  .eventinho__step p {
    color: var(--color-neutral-600);
  }

  .eventinho__visual {
    min-height: 430px;
  }

  .eventinho__phone {
    top: 0;
    right: 50%;
    width: 360px;
    transform: translateX(50%);
  }

  .control-cta {
    padding: 56px 20px 48px;
  }

  .control-cta__badge {
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 12px;
  }

  .control-cta__title {
    font-size: 34px;
    line-height: 38px;
  }

  .control-cta__subtitle {
    font-size: 14px;
    line-height: 20px;
  }

  .control-cta__actions {
    flex-direction: column;
    width: 100%;
    gap: 14px;
  }

  .control-cta__actions .btn-cta,
  .control-cta__actions .btn-white {
    width: 100%;
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  .eventinho {
    padding: 56px 20px 0;
  }

  .eventinho__title {
    font-size: 30px;
    font-weight: 600;
    line-height: 29px;
  }

  .eventinho__character {
    width: 210px;
  }
  
  .eventinho__character img {
    display: none;
  }

  .eventinho__panel {
    border-radius: 18px;
  }

  .eventinho__steps {
    padding: 28px 22px;
  }

  .eventinho__step p {
    font-size: 16px;
  }

  .eventinho__visual {
    min-height: 360px;
  }

  .eventinho__phone {
    width: 320px;
  }

  .control-cta__badge {
    margin-bottom: 12px;
  }

  .control-cta__title {
    font-size: 30px;
    line-height: 34px;
  }

  .control-cta__subtitle {
    font-size: 14px;
    line-height: 20px;
  }

  .control-cta__actions {
    flex-direction: row;
    width: 100%;
    gap: 12px;
  }
  .control-cta__actions .btn-cta {
    width: 100%;
  }
  
  .control-cta__actions .btn-white {
    width: 70%;
  }
}
