/*
 * Laudivo — site público: estrutura e seções.
 * Os mockups de produto (aparelho, página do relatório, planta) ficam em
 * landing-mock.css. Nenhuma seção tem altura presa à tela: cada uma ocupa o
 * que o conteúdo pede.
 */

.lp {
  /* Aliases semânticos do site, sobre a paleta de tokens.css. */
  --c-bg: var(--canvas);
  --c-surface: var(--white);
  --c-ink: #0e2029;
  --c-heading: var(--navy-900);
  --c-text: var(--slate-700);
  --c-muted: var(--slate-600);
  --c-line: var(--slate-200);
  --c-accent: var(--teal-600);
  --c-on-dark: rgb(255 255 255 / 0.94);
  --c-on-dark-muted: rgb(255 255 255 / 0.68);
  --c-on-dark-line: rgb(255 255 255 / 0.14);
  --c-shadow: 20 44 55;
  --c-tint-teal: #b9e3dc;

  --fs-hero: clamp(2.25rem, 1rem + 4.2vw, 4.75rem);
  --fs-h2: clamp(1.875rem, 1.25rem + 2.2vw, 3rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --wrap: 76rem;
  --pad-section: clamp(4rem, 2.5rem + 5vw, 7rem);
  --pad-section-tight: clamp(3.5rem, 2.25rem + 3.5vw, 5.5rem);
  --band-radius: clamp(1.25rem, 0.75rem + 1.6vw, 2rem);
  --band-inset: clamp(0.5rem, 1.2vw, 1rem);
  --card-radius: clamp(1rem, 0.75rem + 0.8vw, 1.5rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  background: var(--c-bg);
  color: var(--c-text);
  overflow-x: clip;
}

.lp-wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.lp-skip {
  position: absolute;
  z-index: 100;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.625rem;
  background: var(--navy-900);
  color: var(--white);
  font-weight: 600;
  transform: translateY(-200%);
}

.lp-skip:focus {
  color: var(--white);
  transform: none;
}

.lp-symbol {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lp-symbol .s-a {
  stroke: var(--navy-900);
}

.lp-symbol .s-b {
  stroke: var(--teal-600);
}

/* ---------- Tipos de texto ---------- */

.lp-display {
  max-width: 18ch;
  color: var(--c-heading);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.lp-display--narrow {
  max-width: 14ch;
}

.lp-lead {
  max-width: 34rem;
  font-size: var(--fs-lead);
  line-height: 1.5;
}

.lp-intro {
  display: grid;
  gap: 1.25rem;
  margin-bottom: clamp(2.25rem, 1.25rem + 3vw, 4rem);
}

/* ---------- Ações ---------- */

.lp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 0.625rem;
  background: var(--teal-600);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms var(--ease), transform 160ms var(--ease);
}

.lp-button:hover {
  background: var(--teal-700);
  color: var(--white);
}

.lp-button:active {
  transform: translateY(1px);
}

.lp-button--small {
  min-height: 2.5rem;
  padding: 0 1rem;
}

.lp-button--large {
  min-height: 3.25rem;
  padding: 0 1.5rem;
  font-size: 1rem;
}

.lp-button--light {
  background: var(--white);
  color: var(--navy-900);
}

.lp-button--light:hover {
  background: var(--mint-100);
  color: var(--navy-900);
}

.lp-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--c-heading);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--slate-300);
  text-underline-offset: 0.3em;
  transition: text-decoration-color 160ms var(--ease);
}

.lp-link:hover {
  color: var(--c-heading);
  text-decoration-color: currentColor;
}

.lp-link--light,
.lp-link--light:hover {
  color: var(--white);
}

.lp-link--light {
  text-decoration-color: rgb(255 255 255 / 0.4);
}

.lp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}

.lp-band--navy :focus-visible,
.lp-footer :focus-visible {
  outline-color: var(--white);
}

/* ---------- Navegação ---------- */

.lp-nav {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  padding: 0.75rem var(--gutter) 0;
  pointer-events: none;
  transition: transform 450ms var(--ease-out);
}

.lp-nav[data-hidden] {
  transform: translateY(-130%);
}

.lp-nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--wrap);
  height: 3.5rem;
  margin-inline: auto;
  padding: 0 0.5rem 0 1rem;
  border: 1px solid rgb(var(--c-shadow) / 0.08);
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.84);
  box-shadow: 0 1px 2px rgb(var(--c-shadow) / 0.04), 0 10px 30px rgb(var(--c-shadow) / 0.07);
  backdrop-filter: saturate(1.6) blur(16px);
  pointer-events: auto;
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  color: var(--navy-900);
  font-size: 1.3125rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.lp-brand:hover {
  color: var(--navy-900);
}

.lp-brand .lp-symbol {
  width: 1.625rem;
  height: 1.625rem;
}

.lp-brand--light,
.lp-brand--light:hover {
  color: var(--white);
}

.lp-brand--light .s-a {
  stroke: var(--white);
}

.lp-brand--light .s-b {
  stroke: var(--mint-100);
}

.lp-nav__bar {
  position: relative;
}

/* Quanto da página já passou: um fio sob a barra, sem número nem rótulo. */
.lp-nav__progress {
  position: absolute;
  right: 1rem;
  bottom: -1px;
  left: 1rem;
  height: 2px;
  border-radius: 2px;
  background: var(--teal-600);
  transform: scaleX(var(--scroll, 0));
  transform-origin: left;
  pointer-events: none;
}

.lp-nav__links {
  display: none;
}

.lp-nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 0.875rem;
  border-radius: 0.5rem;
  color: var(--c-text);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}

.lp-nav__links a:hover,
.lp-nav__links a[aria-current="true"] {
  background: var(--slate-100);
  color: var(--navy-900);
}

.lp-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.lp-nav__login {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 0.875rem;
  color: var(--navy-900);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.lp-nav__login:hover {
  color: var(--teal-700);
}

/* ---------- Hero ---------- */

/* Largura toda e 70% da altura da tela, com teto de 52rem em monitores muito
   altos. A altura mora no bloco de dentro, como mínimo: só passa dos 70% se o
   texto não couber (celular deitado), para o botão nunca ficar cortado. */
.lp-hero {
  --fs-hero: clamp(2.125rem, min(1rem + 3.2vw, 6.6vh), 4.25rem);
  --hero-h: 70vh;
  position: relative;
  background: var(--navy-900);
  color: var(--c-on-dark-muted);
  overflow: hidden;
  isolation: isolate;
}

@supports (height: 1svh) {
  .lp-hero {
    --hero-h: 70svh;
  }
}

.lp-hero__photo {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
}

.lp-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 30%;
  /* Ao rolar, a foto desce mais devagar que a página. */
  transform: translateY(calc(var(--p, 0) * 18%)) scale(1.04);
  transform-origin: 50% 0;
}

/* Escurece onde há texto: de baixo para cima e da esquerda para a direita. */
.lp-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgb(14 32 41 / 0.9) 0%, rgb(20 44 55 / 0.55) 38%, rgb(20 44 55 / 0) 68%),
    linear-gradient(to right, rgb(20 44 55 / 0.55) 0%, rgb(20 44 55 / 0.2) 50%, rgb(20 44 55 / 0) 70%),
    linear-gradient(to bottom, rgb(20 44 55 / 0.35), rgb(20 44 55 / 0) 9rem);
}

.lp-hero__inner {
  position: relative;
  display: grid;
  align-content: end;
  min-height: min(var(--hero-h), 52rem);
  padding-top: 5.5rem;
  padding-bottom: clamp(1.75rem, 0.5rem + 4.5vh, 4rem);
}

.lp-hero__title {
  color: var(--white);
  font-size: var(--fs-hero);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

/* A promessa em branco; a consequência um tom abaixo, como nos títulos das
   seções. */
.lp-hero__title .lp-line + .lp-line {
  color: rgb(255 255 255 / 0.66);
}

.lp-line {
  display: block;
  /* A máscara corta a linha que sobe, sem cortar as descendentes. */
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
  overflow: hidden;
}

.lp-line > span {
  display: block;
}

.lp-hero__foot {
  display: grid;
  gap: 1.5rem;
  margin-top: clamp(1.25rem, 0.5rem + 2vh, 2rem);
}

.lp-hero__lead {
  max-width: 31rem;
  color: var(--c-on-dark);
  font-size: var(--fs-lead);
  line-height: 1.5;
}

.lp-hero__cta {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

.lp-hero__note {
  color: var(--c-on-dark-muted);
  font-size: 0.875rem;
}

.lp-hero :focus-visible {
  outline-color: var(--white);
}

/* O aparelho entra pela borda de baixo, na frente de quem o segura. Preso
   pela base: aparece sempre a mesma parte dele (cabeçalho, ambientes e o
   item aberto com a foto), qualquer que seja a altura do hero. */
.lp-stage__phone {
  --u: clamp(5.2px, min(0.5vw, 0.78vh), 7.4px);
  position: absolute;
  bottom: -26em;
  right: var(--gutter);
  display: none;
  font-size: var(--u);
  filter: drop-shadow(0 1.5rem 2.5rem rgb(0 0 0 / 0.35));
}

.lp-pin {
  position: absolute;
  display: none;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem 0.375rem 0.5rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.94);
  box-shadow: 0 0.5rem 1.5rem rgb(0 0 0 / 0.22);
  color: var(--slate-700);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}

.lp-pin b {
  color: var(--navy-900);
  font-weight: 600;
}

.lp-pin__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

.lp-pin__dot--good {
  background: var(--green-700);
  box-shadow: 0 0 0 3px var(--green-50);
}

/* No celular a foto ocupa só a parte de cima e se dissolve no azul, para o
   rosto não ficar sob o texto. */
@media (max-width: 39.99rem) {
  .lp-hero__photo {
    bottom: 42%;
    -webkit-mask-image: linear-gradient(to top, transparent, #000 45%);
    mask-image: linear-gradient(to top, transparent, #000 45%);
  }

  .lp-hero__lead {
    font-size: 1rem;
  }

  .lp-hero__foot {
    gap: 1.25rem;
  }

  /* No celular a próxima seção já está logo abaixo: o atalho "Ver como
     funciona" sai e o botão ocupa a largura toda. */
  .lp-hero__cta {
    justify-items: stretch;
  }

  .lp-hero .lp-actions {
    display: grid;
  }

  .lp-hero .lp-actions .lp-link {
    display: none;
  }

  .lp-hero__photo::after {
    background:
      linear-gradient(to top, rgb(20 44 55 / 0.7) 0%, rgb(20 44 55 / 0) 62%),
      linear-gradient(to bottom, rgb(20 44 55 / 0.45), rgb(20 44 55 / 0) 7rem);
  }
}

/* Celular baixo: o título sobe até a foto, então ela escurece mais. */
@media (max-width: 39.99rem) and (max-height: 46rem) {
  .lp-hero__photo::after {
    background:
      linear-gradient(to top, rgb(20 44 55 / 0.92) 0%, rgb(20 44 55 / 0.6) 55%, rgb(20 44 55 / 0.2) 100%);
  }
}

/* Tela larga e baixa: a marcação na parede ficaria colada ao título. */
@media (min-width: 56rem) and (max-height: 40rem) {
  .lp-pin--wall {
    visibility: hidden;
  }
}

@media (min-width: 56rem) {
  .lp-hero__photo img {
    object-position: 70% 30%;
  }

  /* Largo o bastante para "Relatórios sem complicação." caber numa linha. */
  .lp-hero__copy {
    max-width: 72%;
  }

  .lp-stage__phone {
    display: block;
  }

  /* Na parede clara entre a porta e a janela. */
  .lp-pin--wall {
    top: 22%;
    left: 50%;
    display: inline-flex;
  }
}

/* ---------- Seções e faixas ---------- */

.lp-section {
  padding-block: var(--pad-section);
}

.lp-section--tight {
  padding-block: var(--pad-section-tight);
}

.lp-band {
  margin-inline: var(--band-inset);
  border-radius: var(--band-radius);
}

.lp-band--navy {
  background: var(--navy-900);
  color: var(--c-on-dark-muted);
}

.lp-band--navy .lp-display {
  color: var(--white);
}

.lp-band--mint {
  background: var(--mint-100);
}

/* Duas faixas seguidas ficam separadas pela mesma margem das laterais. */
.lp-band + .lp-band {
  margin-top: var(--band-inset);
}

/* ---------- Fluxo: demonstração ---------- */

.lp-demo {
  position: relative;
  display: grid;
  border: 1px solid var(--c-line);
  border-radius: var(--card-radius);
  background: var(--c-surface);
  box-shadow: 0 1px 2px rgb(var(--c-shadow) / 0.04);
  overflow: hidden;
}

.lp-demo__side {
  min-width: 0;
  padding: clamp(1.25rem, 0.75rem + 2.5vw, 2.5rem);
}

.lp-demo__side--input {
  background: var(--navy-900);
}

.lp-demo__side--output {
  background: var(--mint-50);
}

.lp-demo__label {
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.lp-demo__side--input .lp-demo__label {
  color: var(--mint-100);
}

.lp-demo__side--output .lp-demo__label {
  color: var(--teal-800);
}

.lp-demo__cards {
  display: grid;
}

.lp-demo__cards > * {
  grid-area: 1 / 1;
}

/* Sem JavaScript: só o primeiro cartão, já no estado final. */
.lp-touch:not([data-card="1"]) {
  display: none;
}

.js .lp-touch {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.75rem);
  transition: opacity 300ms var(--ease), transform 500ms var(--ease-out), visibility 0s 300ms;
}

.js .lp-demo[data-step="1"] [data-card="1"],
.js .lp-demo[data-step="2"] [data-card="2"],
.js .lp-demo[data-step="3"] [data-card="3"] {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 120ms, 120ms, 0s;
}

/* O conector entre o toque e o documento. */
.lp-demo__link {
  position: relative;
  z-index: 1;
  height: 0;
}

.lp-demo__link i {
  position: absolute;
  top: 0;
  left: 50%;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0.375rem 1rem rgb(var(--c-shadow) / 0.14);
  transform: translate(-50%, -50%) rotate(90deg);
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease);
}

.lp-demo__link i::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  margin-left: -0.2rem;
  border-top: 2px solid var(--navy-900);
  border-right: 2px solid var(--navy-900);
  transform: rotate(45deg);
  transition: border-color 300ms var(--ease);
}

.js .lp-demo[data-phase="2"] .lp-demo__link i {
  border-color: var(--teal-600);
  background: var(--teal-600);
}

.js .lp-demo[data-phase="2"] .lp-demo__link i::before {
  border-color: var(--white);
}

/* A folha do relatório, com as linhas que se escrevem. */
.lp-sheet {
  font-size: clamp(9.5px, 8px + 0.4vw, 12px);
  padding: 2.4em 2.4em 2.8em;
  border-radius: 0.5rem;
  background: var(--white);
  box-shadow: 0 1px 2px rgb(var(--c-shadow) / 0.06), 0 1rem 2.5rem rgb(var(--c-shadow) / 0.1);
  color: var(--navy-900);
}

.lp-sheet__row {
  display: grid;
  grid-template-columns: 6.2em 7.4em minmax(0, 1fr);
  gap: 1em;
  align-items: baseline;
  margin-inline: -0.6em;
  padding: 1em 0.6em;
  border-bottom: 1px solid var(--c-line);
  border-radius: 0.3em;
  font-size: 1.15em;
  line-height: 1.4;
}

.lp-sheet__row > span:first-child,
.lp-sheet__row > span:nth-child(2) {
  font-weight: 600;
}

.lp-sheet__row > span:nth-child(3) {
  color: var(--slate-700);
}

.lp-sheet__row em {
  color: var(--teal-700);
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
}

.lp-sheet__row--head {
  padding-block: 0.7em;
  border-bottom-color: var(--slate-300);
  font-size: 1em;
}

.lp-sheet__row--head > span:nth-child(n) {
  color: var(--slate-600);
}

/* Linha ainda não escrita: barras no lugar do texto. */
.js .lp-sheet__row[data-row] > span {
  transition: color 400ms var(--ease);
}

.js .lp-sheet__row[data-row]:not(.is-written) > span:nth-child(n),
.js .lp-sheet__row[data-row]:not(.is-written) em {
  color: transparent;
}

.js .lp-sheet__row[data-row]:not(.is-written) > span {
  background: linear-gradient(var(--slate-100), var(--slate-100)) left 0.45em / 78% 0.7em no-repeat;
}

.js .lp-sheet__row[data-row].is-written {
  animation: lp-written 1400ms var(--ease) both;
}

@keyframes lp-written {
  0%,
  35% {
    background-color: var(--mint-100);
  }

  100% {
    background-color: transparent;
  }
}

.lp-demo__controls {
  display: none;
}

.js .lp-demo__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.75rem clamp(1rem, 0.5rem + 2vw, 1.5rem);
  border-top: 1px solid var(--c-line);
  background: var(--white);
}

.lp-demo__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  padding: 0 0.75rem 0 0.5rem;
  border: 0;
  border-radius: 0.5rem;
  background: none;
  color: var(--slate-700);
  font-size: 0.875rem;
  font-weight: 600;
}

.lp-demo__toggle:hover {
  background: var(--slate-100);
  color: var(--navy-900);
}

/* Ícone de pausa (duas barras) que vira "tocar" (triângulo) quando pausado. */
.lp-demo__pause {
  position: relative;
  width: 1.75rem;
  height: 1.75rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.lp-demo__pause::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.5rem;
  height: 0.5625rem;
  border-right: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translate(-50%, -50%);
}

.lp-demo__toggle[aria-pressed="true"] .lp-demo__pause::before {
  width: 0;
  height: 0;
  border-top: 0.3125rem solid transparent;
  border-right: 0;
  border-bottom: 0.3125rem solid transparent;
  border-left: 0.5rem solid currentColor;
  transform: translate(-35%, -50%);
}

.lp-demo__steps {
  display: flex;
  gap: 0.25rem;
}

.lp-demo__steps button {
  position: relative;
  min-height: 2.75rem;
  padding: 0 0.875rem;
  border: 0;
  border-radius: 0.5rem;
  background: none;
  color: var(--slate-600);
  font-size: 0.875rem;
  font-weight: 600;
}

.lp-demo__steps button:hover {
  background: var(--slate-100);
  color: var(--navy-900);
}

.lp-demo__steps button::after {
  content: "";
  position: absolute;
  right: 0.875rem;
  bottom: 0.5rem;
  left: 0.875rem;
  height: 2px;
  border-radius: 2px;
  background: var(--teal-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease-out);
}

.lp-demo__steps button[aria-current="step"] {
  color: var(--navy-900);
}

.lp-demo__steps button[aria-current="step"]::after {
  transform: scaleX(1);
}

/* ---------- No celular ---------- */

.lp-mobile {
  display: grid;
  gap: 2.5rem;
}

.lp-mobile__text {
  min-width: 0;
}

.lp-mobile__text > .lp-lead {
  margin-top: 1.25rem;
}

.lp-mobile__cta {
  display: none;
}

.lp-features {
  margin-top: clamp(1.75rem, 1rem + 2vw, 2.75rem);
  border-bottom: 1px solid var(--c-on-dark-line);
}

.lp-features li {
  border-top: 1px solid var(--c-on-dark-line);
}

.lp-features button {
  position: relative;
  display: block;
  width: 100%;
  padding: 1.125rem 0 1.125rem 1.25rem;
  border: 0;
  background: none;
  color: var(--c-on-dark-muted);
  text-align: left;
  transition: color 200ms var(--ease);
}

.lp-features button:hover {
  color: var(--white);
}

.lp-features__title {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lp-features__text {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.lp-features__text > span {
  display: block;
  padding-top: 0.375rem;
}

.lp-features__now {
  display: none;
}

/* Com JavaScript a lista vira um seletor: o item ativo abre o texto e o
   aparelho ao lado troca de tela. */
.js .lp-features__text {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 450ms var(--ease-out);
}

.js .lp-features__text > span {
  min-height: 0;
  padding-top: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 300ms var(--ease);
}

.js .lp-features__text > span::before {
  content: "";
  display: block;
  height: 0.375rem;
}

.js .lp-features button[aria-current="true"] {
  color: var(--white);
}

.js .lp-features button[aria-current="true"] .lp-features__text {
  grid-template-rows: 1fr;
  color: var(--c-on-dark-muted);
}

.js .lp-features button[aria-current="true"] .lp-features__text > span {
  opacity: 1;
}

/* Trilho à esquerda: mostra qual item está ativo e, na troca automática,
   quanto falta para o próximo. */
.js .lp-features button::before,
.js .lp-features button::after {
  content: "";
  position: absolute;
  top: 1.125rem;
  bottom: 1.125rem;
  left: 0;
  width: 2px;
  border-radius: 2px;
}

.js .lp-features button::before {
  background: var(--c-on-dark-line);
}

.js .lp-features button::after {
  background: var(--mint-100);
  transform: scaleY(0);
  transform-origin: top;
}

.js .lp-features button[aria-current="true"]::after {
  transform: scaleY(1);
}

.js [data-features][data-auto].is-inview .lp-features button[aria-current="true"]::after {
  animation: lp-rail 6s linear both;
}

.js [data-features][data-auto] .lp-features:hover button::after,
.js [data-features][data-auto] .lp-features:focus-within button::after {
  animation-play-state: paused;
}

@keyframes lp-rail {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

.lp-mobile__stage {
  --u: clamp(6.4px, 1.9vw, 8.4px);
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  padding-block: 1.5rem;
}

.lp-mobile__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side, rgb(217 243 237 / 0.16), transparent);
  pointer-events: none;
}

/* O enquadramento da marca em volta do aparelho. */
.lp-mobile__frame {
  position: relative;
  grid-area: 1 / 1;
  width: calc(36 * var(--u) + 4.5rem);
  max-width: 100%;
  height: calc(75 * var(--u) + 3.5rem);
  pointer-events: none;
}

.lp-mobile__stage .lp-phone {
  grid-area: 1 / 1;
}

.lp-mobile__frame i,
.lp-roomcard__frame i {
  position: absolute;
  width: 2.25rem;
  height: 2.25rem;
  border: 0 solid var(--mint-100);
}

.lp-mobile__frame i:nth-child(1),
.lp-roomcard__frame i:nth-child(1) {
  top: 0;
  left: 0;
  border-top-width: 2px;
  border-left-width: 2px;
  border-top-left-radius: 0.75rem;
}

.lp-mobile__frame i:nth-child(2),
.lp-roomcard__frame i:nth-child(2) {
  top: 0;
  right: 0;
  border-top-width: 2px;
  border-right-width: 2px;
  border-top-right-radius: 0.75rem;
}

.lp-mobile__frame i:nth-child(3),
.lp-roomcard__frame i:nth-child(3) {
  right: 0;
  bottom: 0;
  border-right-width: 2px;
  border-bottom-width: 2px;
  border-bottom-right-radius: 0.75rem;
}

.lp-mobile__frame i:nth-child(4),
.lp-roomcard__frame i:nth-child(4) {
  bottom: 0;
  left: 0;
  border-bottom-width: 2px;
  border-left-width: 2px;
  border-bottom-left-radius: 0.75rem;
}

/* ---------- Relatório ---------- */

.lp-report {
  display: grid;
  gap: 2.5rem;
}

.lp-desk {
  --u: clamp(4.4px, 1.25vw, 7px);
  position: relative;
  min-width: 0;
  aspect-ratio: 10 / 9;
  border-radius: var(--card-radius);
  background: var(--slate-100);
  overflow: hidden;
}

.lp-desk__pages {
  position: absolute;
  inset: 0;
}

.lp-desk .lp-page {
  position: absolute;
  transition: transform 900ms var(--ease-out);
}

.lp-desk .lp-page--cover {
  top: 9%;
  left: 4%;
  transform: rotate(-3deg);
}

/* Em telas estreitas cabem duas páginas; a de fotos entra nas maiores. */
.lp-desk .lp-page--photos {
  top: 6%;
  right: 3%;
  display: none;
  transform: rotate(2.5deg);
}

.lp-desk .lp-page--inner {
  top: 19%;
  left: 40%;
}

/* Antes de entrar na tela, as páginas estão empilhadas; depois se abrem. */
.js .lp-desk:not(.is-in) .lp-page--cover {
  transform: translate(22%, 12%) rotate(0deg);
}

.js .lp-desk:not(.is-in) .lp-page--photos {
  transform: translate(-22%, 16%) rotate(0deg);
}

@media (hover: hover) {
  .lp-desk.is-in:hover .lp-page--cover {
    transform: translate(-3%, -1%) rotate(-4.5deg);
  }

  .lp-desk.is-in:hover .lp-page--photos {
    transform: translate(3%, -1%) rotate(4deg);
  }
}

.lp-specs {
  border-bottom: 1px solid var(--c-line);
}

.lp-specs li {
  display: grid;
  gap: 0.25rem;
  padding-block: 1.125rem;
  border-top: 1px solid var(--c-line);
}

.lp-specs h3 {
  color: var(--c-heading);
  font-size: 1.0625rem;
}

.lp-specs p {
  font-size: 0.9375rem;
}

/* ---------- Ambientes ---------- */

.lp-rooms {
  display: grid;
  gap: 1rem;
}

.lp-rooms__map {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
  padding: clamp(1rem, 0.5rem + 2vw, 1.75rem);
  border-radius: var(--card-radius);
  background: var(--white);
}

.lp-rooms__tabs {
  display: none;
}

.js .lp-rooms__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lp-rooms__tabs button {
  min-height: 2.5rem;
  padding: 0 0.875rem;
  border: 1px solid var(--slate-300);
  border-radius: 999px;
  background: var(--white);
  color: var(--slate-700);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}

.lp-rooms__tabs button:hover {
  border-color: var(--navy-900);
  color: var(--navy-900);
}

.lp-rooms__tabs button[aria-selected="true"] {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: var(--white);
}

.lp-rooms__hint {
  color: var(--c-muted);
  font-size: 0.8125rem;
}

.lp-rooms__panels {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.lp-roomcard {
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: var(--card-radius);
  background: var(--white);
  overflow: hidden;
}

.js .lp-roomcard {
  display: none;
}

.js .lp-rooms[data-room="sala"] [data-room-panel="sala"],
.js .lp-rooms[data-room="cozinha"] [data-room-panel="cozinha"],
.js .lp-rooms[data-room="quartos"] [data-room-panel="quartos"],
.js .lp-rooms[data-room="banheiro"] [data-room-panel="banheiro"],
.js .lp-rooms[data-room="servico"] [data-room-panel="servico"],
.js .lp-rooms[data-room="chaves"] [data-room-panel="chaves"] {
  display: grid;
  animation: lp-swap 500ms var(--ease-out);
}

@keyframes lp-swap {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
}

.lp-roomcard__photo {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--slate-100);
  overflow: hidden;
}

.lp-roomcard__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-roomcard__frame {
  position: absolute;
  inset: 1rem;
  pointer-events: none;
}

.lp-roomcard__frame i {
  border-color: var(--white);
}

.lp-roomcard__body {
  padding: clamp(1.25rem, 0.75rem + 1.5vw, 1.75rem);
}

.lp-roomcard h3 {
  color: var(--c-heading);
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}

.lp-roomcard__count {
  margin-top: 0.125rem;
  color: var(--teal-700);
  font-size: 0.875rem;
  font-weight: 600;
}

.lp-roomcard__text {
  margin-top: 0.875rem;
  font-size: 0.9375rem;
}

.lp-roomcard__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.25rem;
  margin-top: 1rem;
  font-size: 0.875rem;
}

.lp-roomcard__items li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.4375rem;
  border-top: 1px solid var(--c-line);
  color: var(--navy-900);
}

.lp-roomcard__items--full {
  grid-template-columns: 1fr;
}

.lp-roomcard__items span {
  color: var(--c-muted);
  font-size: 0.8125rem;
}

.lp-roomcard--text {
  grid-template-rows: 1fr;
  align-content: center;
}

/* ---------- Depois da entrega: pontos e histórico ---------- */

.lp-after {
  display: grid;
  gap: 2.5rem;
}

.lp-after__points {
  display: grid;
  gap: 0.25rem;
  align-content: start;
}

.lp-after__points li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1.125rem 1rem;
  margin-inline: -1rem;
  border-radius: 0.875rem;
  transition: background-color 250ms var(--ease);
}

.lp-after__points li > .icon {
  width: 1.375rem;
  height: 1.375rem;
  margin-top: 0.125rem;
  color: var(--teal-600);
}

.lp-after__points h3 {
  color: var(--c-heading);
  font-size: 1.0625rem;
}

.lp-after__points p {
  margin-top: 0.25rem;
  font-size: 0.9375rem;
}

@media (hover: hover) {
  .lp-after__points li:hover {
    background: var(--c-surface);
  }
}

.lp-log {
  border: 1px solid var(--c-line);
  border-radius: var(--card-radius);
  background: var(--c-surface);
  box-shadow: 0 1px 2px rgb(var(--c-shadow) / 0.04), 0 1.5rem 3rem rgb(var(--c-shadow) / 0.08);
  overflow: hidden;
}

.lp-log__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.5rem;
  border-bottom: 1px solid var(--c-line);
  background: var(--canvas);
}

.lp-log__head p {
  color: var(--c-heading);
  font-weight: 600;
}

.lp-log__head span {
  color: var(--c-muted);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}

.lp-log__list {
  position: relative;
  padding: 1rem 1.5rem 1.25rem 4.25rem;
}

/* O trilho do histórico e o trecho já percorrido, que cresce com a rolagem. */
.lp-log__list::before,
.lp-log__fill {
  position: absolute;
  top: 2.25rem;
  left: 2.5rem;
  width: 2px;
  border-radius: 2px;
}

.lp-log__list::before {
  content: "";
  bottom: 2.25rem;
  background: var(--slate-200);
}

.lp-log__fill {
  height: var(--fill, calc(100% - 4.5rem));
  background: var(--teal-600);
  transition: height 500ms var(--ease-out);
}

.lp-event {
  position: relative;
  padding: 0.875rem 0;
  transition: opacity 400ms var(--ease);
}

.lp-event + .lp-event {
  border-top: 1px solid var(--c-line);
}

.lp-event__icon {
  position: absolute;
  top: 0.75rem;
  left: -2.75rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1.5px solid var(--teal-600);
  border-radius: 50%;
  background: var(--mint-50);
  color: var(--teal-700);
  transition: background-color 400ms var(--ease), border-color 400ms var(--ease), color 400ms var(--ease), transform 500ms var(--ease-out);
}

.lp-event__icon .icon {
  width: 1rem;
  height: 1rem;
}

.lp-event__title {
  color: var(--c-heading);
  font-weight: 600;
  line-height: 1.35;
}

.lp-event__meta {
  margin-top: 0.125rem;
  color: var(--c-muted);
  font-size: 0.875rem;
}

.lp-event__tag {
  display: inline-block;
  margin-left: 0.375rem;
  padding: 0.0625rem 0.5rem;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 0.75rem;
  font-weight: 600;
  vertical-align: 0.125rem;
}

.lp-event__signature {
  width: 9rem;
  height: 2.7rem;
  margin: 0.375rem 0 0.125rem;
  border-bottom: 1px solid var(--slate-300);
}

.lp-event__signature polyline {
  fill: none;
  stroke: var(--navy-900);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
}

@media (max-width: 39.99rem) {
  .lp-log__head {
    padding-inline: 1.25rem;
  }

  .lp-log__list {
    padding: 0.75rem 1.25rem 1rem 3.75rem;
  }

  .lp-log__list::before,
  .lp-log__fill {
    left: 1.95rem;
  }
}

/* Com JavaScript, cada acontecimento acende quando a rolagem chega nele. */
.js .lp-event:not([data-on]) {
  opacity: 0.35;
}

.js .lp-event:not([data-on]) .lp-event__icon {
  border-color: var(--slate-300);
  background: var(--white);
  color: var(--slate-500);
  transform: scale(0.85);
}

.js .lp-event__signature polyline {
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1400ms cubic-bezier(0.65, 0, 0.35, 1) 200ms;
}

.js .lp-event[data-on] .lp-event__signature polyline {
  stroke-dashoffset: 0;
}

/* Passar o mouse num ponto da esquerda destaca o que ele gera no histórico. */
.lp-log[data-focus] .lp-event[data-on]:not([data-match]) {
  opacity: 0.4;
}

/* ---------- Para quem ---------- */

/* ---------- Preço ---------- */

.lp-pricing {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}

.lp-pricing__intro .lp-lead {
  margin-top: 1.25rem;
}

/* Para quem: três linhas curtas, sob o argumento do preço. */
.lp-audience {
  display: grid;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-top: 1px solid var(--c-on-dark-line);
}

.lp-audience li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--c-on-dark-line);
}

.lp-audience .icon {
  width: 1.375rem;
  height: 1.375rem;
  margin-top: 0.125rem;
  color: var(--mint-100);
}

.lp-audience h3 {
  color: var(--white);
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

.lp-audience p {
  max-width: 30rem;
  margin-top: 0.25rem;
  font-size: 0.9375rem;
}

/* O cartão de preço é um canhoto: a parte grátis destaca-se da mensal por
   um picote, com os recortes na cor da faixa. */
.lp-price {
  position: relative;
  align-self: start;
  border-radius: var(--card-radius);
  background: var(--c-surface);
  box-shadow: 0 2rem 4rem rgb(0 0 0 / 0.28);
  color: var(--c-text);
}

.lp-price__free {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.25rem 1rem;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem) clamp(1.25rem, 1rem + 1.5vw, 2.25rem) clamp(1.5rem, 1.25rem + 1vw, 2rem);
  border-radius: var(--card-radius) var(--card-radius) 0 0;
  background: var(--mint-100);
}

.lp-price__free .lp-price__label {
  grid-column: 1 / -1;
}

.lp-price__free-value {
  color: var(--teal-800);
  font-size: 1.75rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.lp-price__free-text {
  grid-row: 2;
  grid-column: 1;
  color: var(--navy-700);
  font-size: 0.9375rem;
}

.lp-price__main {
  position: relative;
  padding: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem) clamp(1.25rem, 1rem + 1.5vw, 2.25rem) clamp(1.5rem, 1.25rem + 1.5vw, 2.25rem);
  border-top: 2px dashed var(--slate-200);
}

.lp-price__main::before,
.lp-price__main::after {
  content: "";
  position: absolute;
  top: -0.875rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--navy-900);
}

.lp-price__main::before {
  left: -0.875rem;
}

.lp-price__main::after {
  right: -0.875rem;
}

.lp-price__label {
  color: var(--c-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.lp-price__value {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-top: 0.5rem;
  color: var(--navy-900);
  font-size: clamp(3.5rem, 2.5rem + 3vw, 4.75rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.lp-price__currency {
  align-self: flex-start;
  margin-top: 0.4em;
  font-size: 0.32em;
  font-weight: 600;
  letter-spacing: 0;
}

.lp-price__period {
  margin-left: 0.5rem;
  color: var(--c-muted);
  font-size: 0.24em;
  font-weight: 500;
  letter-spacing: 0;
}

.lp-price__headline {
  margin-top: 0.75rem;
  color: var(--navy-900);
  font-size: 1.125rem;
  font-weight: 600;
}

.lp-price__list {
  display: grid;
  gap: 0.625rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-line);
  font-size: 0.9375rem;
}

.lp-price__list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.625rem;
}

.lp-price__list .icon {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.125rem;
  color: var(--teal-600);
}

.lp-price__cta {
  width: 100%;
  margin-top: 1.75rem;
}

.lp-price__note {
  margin-top: 0.875rem;
  color: var(--c-muted);
  font-size: 0.8125rem;
  text-align: center;
}

.lp-price :focus-visible {
  outline-color: var(--teal-600);
}

/* ---------- Passos ---------- */

/* Título em dois tons: a primeira frase firme, a segunda recuada. */
.lp-display--split {
  max-width: none;
}

.lp-display__rest {
  display: block;
  color: var(--slate-500);
}

.lp-steps {
  display: grid;
  gap: 1rem;
}

.lp-step {
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
  border: 1px solid var(--c-line);
  border-radius: var(--card-radius);
  background: var(--c-surface);
}

.lp-step__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 15rem;
  padding: 1.5rem 1rem;
  border-radius: calc(var(--card-radius) - 0.5rem);
  overflow: hidden;
}

.lp-step__stage--1 {
  background: linear-gradient(160deg, var(--mint-100), var(--mint-50) 55%, var(--white));
}

.lp-step__stage--2 {
  background: linear-gradient(160deg, var(--slate-200), var(--slate-100) 60%, var(--mint-50));
}

.lp-step__stage--3 {
  background: linear-gradient(160deg, var(--c-tint-teal), var(--mint-100) 70%);
}

.lp-step__stage--4 {
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
}

.lp-step__text {
  padding: 1.125rem 0.75rem 1rem;
}

.lp-step h3 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--c-heading);
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
}

.lp-step__number {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 1.5px solid var(--navy-900);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.lp-step p {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
}

/* ---------- Dúvidas ---------- */

.lp-faq {
  display: grid;
  gap: 2rem;
}

/* Dúvidas dentro da faixa do preço: separadas por um fio, em tons claros. */
.lp-band--navy .lp-faq {
  margin-top: clamp(4rem, 3rem + 4vw, 6.5rem);
  padding-top: clamp(3rem, 2rem + 3vw, 5rem);
  scroll-margin-top: 5rem;
  position: relative;
}

/* O fio acompanha a largura do conteúdo, sem invadir as margens. */
.lp-band--navy .lp-faq::before {
  content: "";
  position: absolute;
  top: 0;
  right: var(--gutter);
  left: var(--gutter);
  height: 1px;
  background: var(--c-on-dark-line);
}

.lp-band--navy .lp-accordion,
.lp-band--navy .lp-accordion details {
  border-color: var(--c-on-dark-line);
}

.lp-band--navy .lp-accordion summary {
  color: var(--white);
}

.lp-band--navy .lp-accordion summary:hover {
  color: var(--mint-100);
}

.lp-band--navy .lp-accordion details p {
  color: var(--c-on-dark-muted);
}

.lp-accordion {
  border-bottom: 1px solid var(--c-line);
}

.lp-accordion details {
  border-top: 1px solid var(--c-line);
}

.lp-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  padding-block: 1rem;
  color: var(--c-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.lp-accordion summary::-webkit-details-marker {
  display: none;
}

.lp-accordion summary:hover {
  color: var(--teal-700);
}

/* Sinal de mais que vira menos. */
.lp-accordion summary::after {
  content: "";
  flex: none;
  width: 0.875rem;
  height: 0.875rem;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: transform 300ms var(--ease-out);
}

.lp-accordion details[open] summary::after {
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
  transform: rotate(180deg);
}

.lp-accordion details > div {
  overflow: hidden;
}

.lp-accordion details p {
  max-width: 38rem;
  padding-bottom: 1.25rem;
}

/* ---------- Rodapé ---------- */

.lp-footer {
  margin-top: var(--band-inset);
  margin-inline: var(--band-inset);
  padding-block: clamp(2.5rem, 2rem + 2vw, 4rem) 2rem;
  border-radius: var(--band-radius) var(--band-radius) 0 0;
  background: var(--c-ink);
  color: var(--c-on-dark-muted);
}

.lp-footer__top {
  display: grid;
  gap: 2rem;
}

/* No rodapé a marca fecha a página: maior que na barra de navegação. */
.lp-footer .lp-brand {
  gap: 0.75rem;
  font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem);
}

.lp-footer .lp-brand .lp-symbol {
  width: 1.15em;
  height: 1.15em;
}

.lp-footer__tagline {
  margin-top: 0.75rem;
  font-size: 1.0625rem;
}

.lp-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 4rem;
}

.lp-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  color: var(--c-on-dark);
  font-size: 0.9375rem;
  text-decoration: none;
}

.lp-footer nav a:hover {
  color: var(--mint-100);
  text-decoration: underline;
}

.lp-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-on-dark-line);
  font-size: 0.8125rem;
}

.lp-footer__legal {
  flex: 1 1 20rem;
  max-width: 44rem;
}

.lp-footer__credit {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  margin-left: auto;
  color: var(--c-on-dark);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.3);
  text-underline-offset: 0.3em;
}

.lp-footer__credit:hover {
  color: var(--mint-100);
  text-decoration-color: currentColor;
}

/* ---------- Telas largas ---------- */

@media (min-width: 40rem) {
  .lp-desk .lp-page--photos {
    display: flex;
  }

  .lp-desk .lp-page--inner {
    left: 34%;
  }

  .lp-footer__top {
    grid-template-columns: 1fr auto;
  }

  .lp-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 56rem) {
  .lp-nav__links {
    display: flex;
    gap: 0.125rem;
  }

  .lp-intro {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: end;
  }

  .lp-demo {
    grid-template-columns: minmax(0, 1fr) 0 minmax(0, 1.2fr);
  }

  .lp-demo__side--input {
    grid-area: 1 / 1;
  }

  .lp-demo__side--output {
    grid-area: 1 / 3;
  }

  .lp-demo__controls {
    grid-column: 1 / -1;
  }

  .lp-demo__link {
    grid-area: 1 / 2;
    height: auto;
  }

  .lp-demo__link i {
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
  }

  .lp-touch {
    font-size: 11px;
  }

  .lp-mobile {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: 4rem;
    align-items: center;
  }

  .lp-mobile__cta {
    display: block;
    margin-top: 2rem;
  }

  .lp-mobile__stage {
    --u: clamp(6.8px, 0.62vw, 8.6px);
    padding-block: 2.5rem;
  }

  .lp-report {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
  }

  .lp-desk {
    --u: clamp(4.4px, 0.4vw, 5.8px);
    aspect-ratio: 10 / 8.2;
  }

  .lp-rooms {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .lp-rooms__map {
    justify-content: space-between;
  }


  .lp-faq {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 4rem;
  }

  .lp-pricing {
    grid-template-columns: minmax(0, 1fr) minmax(0, 27rem);
    align-items: start;
    gap: clamp(3rem, 6vw, 6rem);
  }

  .lp-after {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: start;
  }
}

/* Quatro cartões lado a lado só quando cada um tem largura para a sua tela. */
@media (min-width: 72rem) {
  .lp-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Telas estreitas: os recursos viram fichas roláveis ---------- */

@media (max-width: 55.99rem) {
  .js .lp-features {
    display: flex;
    gap: 0.5rem;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    border: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .js .lp-features::-webkit-scrollbar {
    display: none;
  }

  .js .lp-features li {
    flex: none;
    border: 0;
  }

  .js .lp-features button {
    min-height: 2.75rem;
    padding: 0 1rem;
    border: 1px solid rgb(255 255 255 / 0.24);
    border-radius: 999px;
    color: var(--c-on-dark);
  }

  .js .lp-features button[aria-current="true"] {
    border-color: var(--white);
    background: var(--white);
    color: var(--navy-900);
  }

  .js .lp-features__title {
    font-size: 0.9375rem;
  }

  .js .lp-features__text,
  .js .lp-features button::before,
  .js .lp-features button::after {
    display: none;
  }

  .js .lp-features__now {
    display: block;
    min-height: 4.5em;
    margin-top: 1rem;
    color: var(--c-on-dark-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
  }
}

/* ---------- Movimento ---------- */

/* Entrada do hero, uma vez. */
.js .lp-hero .lp-line > span {
  transform: translateY(110%);
  transition: transform 1000ms var(--ease-out) 150ms;
}

.js .lp-hero .lp-line:nth-child(2) > span {
  transition-delay: 240ms;
}

.js .lp-hero .lp-hero__foot {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 800ms var(--ease-out) 450ms, transform 800ms var(--ease-out) 450ms;
}

/* A foto clareia e se aproxima; depois chegam o aparelho e a marcação. */
.js .lp-hero .lp-hero__photo {
  opacity: 0;
  scale: 1.06;
  transition: opacity 1200ms var(--ease-out), scale 1800ms var(--ease-out);
}

.js .lp-hero .lp-stage__phone {
  opacity: 0;
  translate: 0 4rem;
  transition: opacity 700ms var(--ease-out) 600ms, translate 1200ms var(--ease-out) 600ms;
}

.js .lp-hero .lp-pin {
  opacity: 0;
  scale: 0.9;
  transition: opacity 500ms var(--ease-out) 1200ms, scale 500ms var(--ease-out) 1200ms;
}

.js .lp-hero.is-ready .lp-line > span,
.js .lp-hero.is-ready .lp-hero__foot {
  opacity: 1;
  transform: none;
}

.js .lp-hero.is-ready .lp-hero__photo {
  opacity: 1;
  scale: 1;
}

.js .lp-hero.is-ready .lp-stage__phone {
  opacity: 1;
  translate: 0 0;
}

.js .lp-hero.is-ready .lp-pin {
  opacity: 1;
  scale: 1;
}

/* Profundidade: ao rolar, o aparelho sobe um pouco mais que a página. */
.lp-stage__phone {
  transform: translateY(calc(var(--p, 0) * -4rem));
}

/* Títulos de seção: cada palavra sobe de trás de uma máscara. */
.lp-w {
  display: inline-block;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
  overflow: hidden;
  vertical-align: top;
}

.lp-w > span {
  display: inline-block;
  transform: translateY(108%);
  transition: transform 1000ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 38ms);
}

.js .lp-display.lp-words[data-reveal] {
  opacity: 1;
  transform: none;
}

.lp-words.is-in .lp-w > span {
  transform: none;
}

/* Revelação na rolagem, uma vez por elemento. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
  transition-delay: calc(var(--d, 0) * 70ms);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .lp-hero .lp-line > span,
  .js .lp-hero .lp-hero__foot,
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .js .lp-hero .lp-hero__photo,
  .js .lp-hero .lp-pin {
    opacity: 1;
    scale: 1;
  }

  .js .lp-hero .lp-stage__phone {
    opacity: 1;
    translate: 0 0;
  }

  .lp-stage__phone,
  .lp-hero__photo img {
    transform: none;
  }

  .js .lp-event:not([data-on]) {
    opacity: 1;
  }

  .js .lp-desk:not(.is-in) .lp-page--cover {
    transform: rotate(-3deg);
  }

  .js .lp-desk:not(.is-in) .lp-page--photos {
    transform: rotate(2.5deg);
  }
}
