/* Página dedicada — só formulário */

.page-form-only {
  background: var(--bg-page);
}

.page-form-only .page-main--form-only {
  min-height: calc(100dvh - var(--logo-h, 8rem) - 3rem);
  display: flex;
  align-items: center;
  padding: clamp(2rem, 5vw, 3rem) 0 clamp(1.5rem, 4vw, 2.5rem);
}

.page-form-only .section--form-only {
  width: 100%;
  padding: 0;
}

.page-form-only .form-only-wrap {
  width: min(100%, 40rem);
  margin-inline: auto;
}

.page-form-only .lead-card {
  width: 100%;
  box-shadow: var(--shadow-card, 0 12px 40px rgba(13, 58, 110, 0.18));
}

/* Header da página de orçamento — mesma logo do site principal */
.page-form-only .site-header--form-page {
  overflow: visible;
}

.page-form-only .site-header--form-page .header-inner {
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  height: var(--header-h, clamp(4.15rem, 11vw, 5.75rem));
  min-height: var(--header-h, clamp(4.15rem, 11vw, 5.75rem));
  max-height: var(--header-h, clamp(4.15rem, 11vw, 5.75rem));
  overflow: visible;
  padding-inline: clamp(1rem, 3vw, 2rem);
}

.page-form-only .site-header--form-page .brand {
  flex-shrink: 0;
  line-height: 0;
}

.page-form-only .site-header--form-page .brand img {
  height: var(--logo-h, clamp(7rem, 20vw, 10.5rem));
  max-height: var(--logo-h, clamp(7rem, 20vw, 10.5rem));
  width: auto;
  max-width: min(72vw, 36rem);
  object-fit: contain;
}

@media (max-width: 1023px) {
  .page-form-only .site-header--form-page {
    --header-h: clamp(4.15rem, 11vw, 4.85rem);
    --logo-h: clamp(7rem, 20vw, 8.7rem);
  }

  .page-form-only .site-header--form-page .brand img {
    max-width: min(72vw, 29rem);
  }
}

@media (min-width: 1024px) {
  .page-form-only .site-header--form-page {
    --header-h: clamp(5rem, 6vw, 5.75rem);
    --logo-h: clamp(10.5rem, 13.6vw, 13rem);
  }

  .page-form-only .site-header--form-page .brand img {
    max-width: min(36rem, 42vw);
  }
}

@media (min-width: 1280px) {
  .page-form-only .site-header--form-page {
    --header-h: 5.75rem;
    --logo-h: 13.5rem;
  }

  .page-form-only .site-header--form-page .brand img {
    max-width: min(40rem, 38vw);
  }
}

.page-form-only .header-form-back {
  flex-shrink: 0;
  font-size: 0.88rem;
  padding: 0.5rem 1rem;
}

.page-form-only .site-footer--form-page {
  margin-top: auto;
  padding: 1rem 0;
  background: transparent;
  border: none;
}

.page-form-only .site-footer--form-page .footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted, #1a5085);
}

body.page-form-only {
  padding-bottom: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body.page-form-only .page-main {
  flex: 1;
}
