/* UX/UI batch fixes (safe overrides) - Front Pro / Public layouts
   Covers shared typography/layout findings without changing page structure. */

.landing {
  background: var(--bg-official);
}

.landing .hero__header {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.landing .hero__navtext,
.landing .landing-footer__link {
  font-family: "Mangueira", "Inter", "Roboto", Arial, sans-serif !important;
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
}

.landing .hero__cta,
.landing #registro .btn,
.landing #registro button {
  font-family: "Mangueira", "Inter", "Roboto", Arial, sans-serif !important;
}

.landing .register__text h2 {
  font-family: "Mangueira", "Inter", "Roboto", Arial, sans-serif !important;
  font-size: 57px;
  line-height: 64px;
  font-weight: 700;
  letter-spacing: -0.25px;
}

.landing .register__text p {
  font-family: "Mangueira", "Inter", "Roboto", Arial, sans-serif !important;
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

/* UI-012 / UI-013 stepper proportions */
.landing .register__stepper {
  max-width: 340px;
  margin-bottom: 20px;
}

.landing .register__steps {
  max-width: 340px !important;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.landing .step-dot {
  width: 40px !important;
  height: 40px !important;
  margin: 0 4px;
  font-size: 12px !important;
  line-height: 1;
  font-family: "Mangueira", "Inter", "Roboto", Arial, sans-serif;
}

.landing .step-line {
  flex: 0 0 91px;
  height: 2px !important;
}

.landing .register__step-labels {
  max-width: 340px !important;
  font-family: "Mangueira", "Inter", "Roboto", Arial, sans-serif;
  font-size: 12px !important;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.9);
}

/* UI-014 form controls closer to Figma */
.landing #registro .field input,
.landing #registro .field select,
.landing #registro .field textarea {
  height: 56px;
  border-radius: 4px;
  border: 1px solid #cac4d0;
  padding: 4px 16px;
  color: #1d1b20;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.5px;
  box-shadow: none;
}

.landing #registro .field input::placeholder,
.landing #registro .field textarea::placeholder {
  color: #cac4d0;
}

.landing #registro .field span,
.landing #registro .field label {
  font-family: "Mangueira", "Inter", "Roboto", Arial, sans-serif;
}

/* UI-015 upload field style (keeps existing behavior, improves shape/icon) */
.landing #registro .upload {
  width: 100%;
  min-height: 56px;
  height: 56px;
  border-radius: 4px;
  border: 1px solid #cac4d0;
  background: #fffbfe;
  padding: 4px 16px 4px 48px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  position: relative;
  box-shadow: none;
}

.landing #registro .upload::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  background: url("/icons/upload.svg") no-repeat center / contain;
  opacity: 0.85;
  pointer-events: none;
}

.landing #registro .upload [data-file-label] {
  text-align: left;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #49454f;
}

/* Footer typography/spacing consistency with header */
.landing-footer.footer-content-equal-header {
  box-sizing: border-box;
}

.landing .landing-footer__copy {
  font-family: "Roboto", Arial, sans-serif;
}

@media (min-width: 1440px) {
  .landing .hero__header.ui-header-padding {
    padding-left: 80px;
    padding-right: 80px;
    padding-top: 30px;
  }
}

@media (max-width: 1024px) {
  .landing .register {
    gap: 28px;
  }

  .landing .register__text h2 {
    font-size: 48px;
    line-height: 54px;
  }
}

@media (max-width: 640px) {
  .landing .register__stepper,
  .landing .register__steps,
  .landing .register__step-labels {
    max-width: 100% !important;
  }

  .landing .step-line {
    flex: 1 1 auto;
    min-width: 24px;
  }

  .landing .register__text p {
    font-size: 18px;
    line-height: 24px;
  }
}
