:root {
  --bi-navy: #071a31;
  --bi-ink: #102744;
  --bi-muted: #647c9c;
  --bi-surface: #f3f6f9;
  --bi-orange: #ff6b00;
}

.estudos-bi-page {
  overflow-x: clip;
  background: #fff;
  color: var(--bi-ink);
}

.bi-container {
  width: min(100% - 3rem, 80rem);
  margin-inline: auto;
}

.estudos-bi-page .site-header {
  position: absolute;
  z-index: 20;
  background: rgb(7 20 38 / 62%);
  backdrop-filter: blur(1rem);
}

.estudos-bi-page .site-header.site-header--scrolled {
  position: fixed;
  background: rgb(255 255 255 / 98%);
  backdrop-filter: none;
}

.bi-hero {
  position: relative;
  display: grid;
  min-height: 46rem;
  overflow: hidden;
  background: var(--bi-navy);
  color: #fff;
  isolation: isolate;
}

.bi-hero__image,
.bi-hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.bi-hero__image {
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.bi-hero__veil {
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(4, 16, 31, 0.98) 0%,
    rgba(5, 20, 38, 0.9) 40%,
    rgba(5, 20, 38, 0.28) 73%,
    rgba(5, 20, 38, 0.1) 100%
  );
}

.bi-hero__content {
  display: grid;
  align-content: center;
  justify-items: start;
  padding-top: 7rem;
  padding-bottom: 4rem;
}

.bi-hero h1 {
  max-width: 48rem;
  margin: 0;
  font-size: clamp(3rem, 5.3vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.bi-hero p {
  max-width: 37rem;
  margin: 1.7rem 0 0;
  color: #dae4ef;
  font-size: 1.18rem;
  line-height: 1.8;
}

.bi-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.estudos-bi-page .button {
  min-height: 3.45rem;
  border-radius: 999px;
  padding: 0.75rem 1.35rem;
  font:
    800 0.86rem/1 "Cairo",
    sans-serif;
  cursor: pointer;
}

.estudos-bi-page .button--primary {
  border: 1px solid var(--bi-orange);
  background: var(--bi-orange);
  color: #071a31;
}

.estudos-bi-page .button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: transparent;
  color: #fff;
}

.bi-intro,
.bi-questions,
.bi-method,
.bi-contact {
  padding-top: clamp(5rem, 9vw, 9rem);
  padding-bottom: clamp(5rem, 9vw, 9rem);
}

.bi-intro {
  display: grid;
  grid-template-columns: minmax(14rem, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(2.5rem, 8vw, 9rem);
  align-items: start;
}

.bi-intro__aside {
  max-width: 18rem;
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
  border-left: 2px solid var(--bi-orange);
  color: var(--bi-muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.bi-kicker {
  margin: 0 0 1rem;
  color: var(--bi-orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.bi-intro h2,
.bi-questions h2,
.bi-method h2,
.bi-contact h2 {
  max-width: 48rem;
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -0.052em;
}

.bi-intro div > p:last-child,
.bi-questions__copy > p:not(.bi-kicker),
.bi-contact__intro > p:last-child {
  max-width: 42rem;
  margin: 1.4rem 0 0;
  color: var(--bi-muted);
  font-size: 1.1rem;
  line-height: 1.78;
}

.bi-questions {
  background: var(--bi-surface);
}

.bi-questions__layout,
.bi-method__layout,
.bi-contact__layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}

.bi-question-list,
.bi-steps {
  margin: 2.4rem 0 0;
  padding: 0;
  list-style: none;
}

.bi-question-list li,
.bi-steps li {
  display: grid;
  gap: 0.4rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(16, 39, 68, 0.17);
}

.bi-question-list li:last-child,
.bi-steps li:last-child {
  border-bottom: 1px solid rgba(16, 39, 68, 0.17);
}

.bi-question-list strong,
.bi-steps strong {
  font-size: 1.08rem;
  line-height: 1.38;
}

.bi-question-list span,
.bi-steps span {
  color: var(--bi-muted);
  font-size: 0.96rem;
  line-height: 1.62;
}

.bi-editorial-image {
  min-height: 29rem;
  margin: 0;
  overflow: hidden;
  border-radius: 1.4rem;
  box-shadow: 0 1.8rem 4.2rem rgba(11, 32, 57, 0.16);
}

.bi-editorial-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bi-method {
  background: var(--bi-navy);
  color: #fff;
}

.bi-method__copy .bi-kicker {
  color: #ff8f47;
}

.bi-method h2 {
  color: #fff;
}

.bi-steps li {
  border-color: rgba(255, 255, 255, 0.23);
}

.bi-steps li:last-child {
  border-bottom-color: rgba(255, 255, 255, 0.23);
}

.bi-steps span {
  color: #b8c8da;
}

.bi-editorial-image--wide {
  min-height: 31rem;
}

.bi-contact {
  background: #f8fafc;
}

.bi-contact__layout {
  display: block;
}

.bi-contact__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.68fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
  margin-bottom: 2.5rem;
}

.bi-contact__intro > p:last-child {
  max-width: 27rem;
  margin: 0;
}

.bi-contact__form {
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.6rem, 4vw, 3rem);
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.bi-contact__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.82fr);
  overflow: hidden;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 1.6rem 4rem rgba(7, 20, 38, 0.12);
}

.bi-contact__visual {
  min-height: 100%;
  margin: 0;
  background: var(--bi-navy);
}

.bi-contact__visual img {
  display: block;
  width: 100%;
  min-height: 39rem;
  height: 100%;
  object-fit: cover;
}

.bi-contact__form label {
  display: grid;
  gap: 0.45rem;
  color: var(--bi-ink);
  font-size: 0.87rem;
  font-weight: 700;
}

.bi-contact__form .prospect-form__label {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
}

.bi-contact__form .prospect-form__label .is-required {
  color: var(--bi-orange);
  font-style: normal;
  font-weight: 800;
}

.bi-contact__form input:not([type="checkbox"]),
.bi-contact__form textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #cad7e5;
  border-radius: 0.7rem;
  padding: 0.8rem 0.9rem;
  color: var(--bi-ink);
  font: inherit;
  resize: vertical;
}

.bi-contact__form input:focus-visible,
.bi-contact__form textarea:focus-visible,
.estudos-bi-page .button:focus-visible {
  outline: 3px solid rgba(255, 107, 0, 0.4);
  outline-offset: 3px;
}

.bi-contact__form .prospect-form__consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  color: var(--bi-ink);
  font-size: 0.82rem;
  line-height: 1.5;
}

.prospect-form__consent input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  accent-color: var(--bi-orange);
}

.prospect-form__submit {
  width: 100%;
  border-radius: 0.7rem !important;
}

.prospect-form__feedback {
  min-height: 1.25rem;
  margin: 0;
  color: var(--bi-muted);
  font-size: 0.86rem;
}

.bi-contact__help {
  margin: -0.7rem 0 0;
  color: var(--bi-muted);
  font-size: 0.78rem;
}

html.has-bi-motion [data-bi-reveal] {
  opacity: 0;
  transform: translateY(1.2rem);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

html.has-bi-motion [data-bi-entrance] {
  opacity: 0;
}

html.has-bi-motion [data-bi-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 62rem) {
  .bi-hero {
    min-height: 42rem;
  }

  .bi-intro,
  .bi-questions__layout,
  .bi-method__layout,
  .bi-contact__layout {
    grid-template-columns: 1fr;
  }

  .bi-intro__aside {
    max-width: 32rem;
  }

  .bi-editorial-image {
    min-height: min(58vw, 32rem);
  }

  .bi-contact__card {
    grid-template-columns: 1fr;
  }

  .bi-contact__intro {
    grid-template-columns: 1fr;
  }

  .bi-contact__visual {
    /* No celular, a pessoa especialista abre o card e mantém o mesmo contexto das demais soluções. */
    order: -1;
    min-height: 20rem;
    max-height: 26rem;
  }

  .bi-contact__visual img {
    min-height: 0;
    height: 100%;
    max-height: 26rem;
    object-fit: cover;
    object-position: center 35%;
  }

  .bi-questions__copy {
    order: 1;
  }
}

@media (max-width: 42rem) {
  .bi-container {
    width: min(100% - 2rem, 80rem);
  }
  .bi-hero {
    min-height: 43rem;
  }

  .bi-hero__veil {
    background: linear-gradient(
      180deg,
      rgb(4 16 31 / 12%) 0%,
      rgb(4 16 31 / 34%) 38%,
      rgb(4 16 31 / 88%) 72%,
      rgb(4 16 31 / 98%) 100%
    );
  }

  .bi-hero__content {
    align-content: end;
    padding: 10rem 0 3rem;
  }

  .bi-hero h1 {
    font-size: clamp(2rem, 9.2vw, 2.65rem);
  }

  .bi-hero p {
    font-size: 0.98rem;
  }

  .bi-hero__actions {
    width: 100%;
  }

  .bi-hero__actions .button {
    width: 100%;
  }

  .bi-intro h2,
  .bi-questions h2,
  .bi-method h2,
  .bi-contact h2 {
    font-size: clamp(2.1rem, 11vw, 3rem);
  }

  .bi-editorial-image,
  .bi-editorial-image--wide {
    min-height: 18rem;
    border-radius: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.has-bi-motion [data-bi-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html.has-bi-motion [data-bi-entrance] {
    opacity: 1;
  }
}
