/* Background padrão das páginas internas — KV Chuva de Prata.
   O body cobre a janela; o rodapé segue o conteúdo (sem margin-top: auto). */
html:has(body.page-cadastro-bg),
.page-cadastro-bg {
  background-color: var(--chuva-creme);
  background-image: var(--chuva-asset-kv, url("../assets/chuvadeprata/bkg/bkg1.webp"));
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.page-cadastro-bg {
  min-height: 100vh;
}

@media (max-width: 991px) {
  html:has(body.page-cadastro-bg),
  .page-cadastro-bg {
    background-attachment: scroll;
    background-position: center top;
    background-image: var(--chuva-asset-kv-mobile, url("../assets/chuvadeprata/bkg/bkg1.webp"));
  }
}

.page-cadastro-bg::before {
  display: none;
}

.page-cadastro-bg .site-main,
.page-cadastro-bg .site-footer {
  position: relative;
  z-index: 1;
}

.page-cadastro-bg .site-header {
  position: fixed;
  top: var(--header-offset-top, 3rem);
  z-index: 200;
}

@media (max-width: 1199px) {
  .page-cadastro-bg .site-header {
    top: 1.5rem;
  }
}

/* Respiro do topo — o countdown sobrepõe o conteúdo, então os heróis internos folgam */
.page-cadastro-bg .catalog-hero,
.page-cadastro-bg .regulamento-hero,
.page-cadastro-bg .duvidas-hero,
.page-cadastro-bg .atendimento-header {
  margin-bottom: 0;
  padding-top: clamp(5.6rem, 6vw, 6.4rem);
  padding-bottom: 0;
}

/* Mobile — mesmo respiro do menu de Ganhadores (não vale para a home) */
@media (max-width: 991px) {
  .page-cadastro-bg .catalog-hero,
  .page-cadastro-bg .regulamento-hero,
  .page-cadastro-bg .duvidas-hero,
  .page-cadastro-bg .atendimento-header,
  .page-cadastro-bg .meus-dados-page {
    padding-top: calc(clamp(5.6rem, 6vw, 6.4rem) + 0rem);
  }

  .page-cadastro-bg .limite-page-card.page-card,
  .page-cadastro-bg .sucesso-page-card.page-card {
    margin-top: calc(clamp(5.6rem, 6vw, 6.4rem) + 2rem);
  }
}

.page-cadastro-bg .catalog-hero__lead,
.page-cadastro-bg .regulamento-hero__lead,
.page-cadastro-bg .duvidas-hero__lead,
.page-cadastro-bg .atendimento-header__lead,
.page-cadastro-bg .limite-page__lead,
.page-cadastro-bg .sucesso-page__lead,
.page-cadastro-bg .status-page__lead,
.page-cadastro-bg .success-panel .page-subtitle,
.page-cadastro-bg .meus-dados-card__lead,
.page-cadastro-bg .chuvadeprata-panel__lead {
  width: 100%;
  max-width: none;
  margin: 0 0 var(--section-head-gap);
  font-size: clamp(1.5rem, 2.2vw, 1.8rem);
  line-height: 1.4;
  color: #000;
}

/* Títulos — mesmo padrão de Como participar */
.page-cadastro-bg .vitrine-title,
.page-cadastro-bg .page-title.vitrine-title,
.page-cadastro-bg .catalog-hero__title.vitrine-title,
.page-cadastro-bg .regulamento-hero__title.vitrine-title,
.page-cadastro-bg .chuvadeprata-panel__title.vitrine-title {
  font-family: var(--font-body);
  font-size: 3.25rem;
  font-weight: 300;
  line-height: 1 !important;
  letter-spacing: 0;
  text-transform: none !important;
  font-style: normal;
  color: #000;
  text-align: center;
  margin: 0 0 var(--section-head-gap);
}

.page-cadastro-bg .vitrine-title .chuva-script,
.page-cadastro-bg .page-title.vitrine-title .chuva-script,
.page-cadastro-bg .catalog-hero__title.vitrine-title .chuva-script,
.page-cadastro-bg .regulamento-hero__title.vitrine-title .chuva-script,
.page-cadastro-bg .chuvadeprata-panel__title.vitrine-title .chuva-script {
  display: block;
  margin: 0;
  padding-bottom: 0.08em;
  color: var(--chuva-ouro);
  font-family: var(--font-body);
  font-style: italic;
  font-size: 4.65rem;
  line-height: 0.6;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}

.page-cadastro-bg .catalog-hero,
.page-cadastro-bg .regulamento-hero,
.page-cadastro-bg .duvidas-hero,
.page-cadastro-bg .atendimento-header,
.page-cadastro-bg .meus-dados-card__header {
  text-align: center;
}

/* Eyebrow oculto — o padrão atual usa o título em script */
.page-cadastro-bg .page-eyebrow,
.page-cadastro-bg .catalog-hero .page-eyebrow,
.page-cadastro-bg .regulamento-hero .page-eyebrow,
.page-cadastro-bg .duvidas-hero .page-eyebrow,
.page-cadastro-bg .atendimento-header .page-eyebrow {
  display: none;
}
