:root {
  --oficial-bar-h: 0px;
  --header-h: 88px;
}

@media (min-width: 1200px) {
  :root { --header-h: 104px; }
}

/* Header: ver site-nav-dropdown.css (desktop) e site-nav-mobile.css (mobile) */

.site-main {
  padding-top: calc(var(--header-h) + var(--promo-encerrada-h, 0px));
  min-height: 0;
  flex: 0 0 auto;
  /* flex: 1 0 auto; */
  max-width: 100%;
  overflow-x: clip;
}
.site-main--flush { padding-top: 0; }

wc-footer {
  display: block;
  flex-shrink: 0;
  z-index: 2;
}

.site-footer {
  padding: var(--space-4) var(--space-3);
  text-align: center;
  font-size: 1.92rem;
  color: var(--sumup-ink-subtle);
  border-top: 1px solid rgba(30, 28, 28, 0.12);
  background: #f5f5f5;
}

.page-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(30, 28, 28, 0.14);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-card);
  padding: clamp(2rem, 4vw, 3.2rem);
  box-shadow: var(--shadow-card);
}

.page-eyebrow {
  margin: 0 0 var(--space-1);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0 var(--space-2);
  line-height: 1.05;
  color: var(--color-primary-dark);
  /* text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); */
}

.page-subtitle {
  margin: 0 0 var(--space-4);
  color: var(--color-text-muted);
  font-size: 1.45rem;
}

/**
 * Page hero — título + subtítulo + espaçamento padrão das páginas internas
 * (exceto index). Fonte de verdade: mesmo ritmo do Regulamento.
 */
.page-hero,
.regulamento-hero,
.duvidas-hero,
.catalog-hero,
.atendimento-header,
.section.meusnumeros .header-section {
  position: relative;
  width: min(100% - 4.8rem, 104rem);
  margin: 6.4rem auto 1.28rem;
  padding: 0 0 1.28rem;
  box-sizing: border-box;
  text-align: center;
}

.page-hero::before,
.regulamento-hero.catalog-hero::before,
.catalog-hero::before {
  display: none;
}

.page-hero .page-eyebrow,
.regulamento-hero .page-eyebrow,
.duvidas-hero .page-eyebrow,
.catalog-hero .page-eyebrow,
.atendimento-header .page-eyebrow {
  display: none;
}

.page-hero__title,
.page-hero .page-title,
.regulamento-hero__title,
.regulamento-hero.catalog-hero .catalog-hero__title,
.duvidas-hero .page-title,
.catalog-hero__title,
.atendimento-header .page-title,
.section.meusnumeros .header-section h2 {
  margin: 0 0 1.2rem;
  font-family: var(--font-heading, "SumUp Black", sans-serif);
  font-size: clamp(2.56rem, 3.84vw, 4.48rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
  color: #000;
  text-align: center;
  text-shadow: none;
}

.page-hero__lead,
.page-hero .page-subtitle,
.regulamento-hero__lead,
.regulamento-hero.catalog-hero .catalog-hero__lead,
.duvidas-hero__lead,
.catalog-hero__lead,
.atendimento-header__lead,
.section.meusnumeros .header-section h3 {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0;
  font-family: var(--font-body, "SumUp Narrow", sans-serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 2.5rem;
  color: #000;
  text-align: center;
}

@media (max-width: 991px) {
  .page-hero,
  .regulamento-hero,
  .duvidas-hero,
  .catalog-hero,
  .atendimento-header,
  .section.meusnumeros .header-section {
    width: min(100% - 3.2rem, 100%);
    margin-top: 8rem;
    padding-bottom: 0rem;
    /* padding-bottom: 2.4rem; */
  }

  .page-hero__title,
  .page-hero .page-title,
  .regulamento-hero__title,
  .regulamento-hero.catalog-hero .catalog-hero__title,
  .duvidas-hero .page-title,
  .catalog-hero__title,
  .atendimento-header .page-title,
  .section.meusnumeros .header-section h2 {
    font-size: clamp(2.24rem, 6.4vw, 2.88rem);
  }

  .page-hero__lead,
  .page-hero .page-subtitle,
  .regulamento-hero__lead,
  .regulamento-hero.catalog-hero .catalog-hero__lead,
  .duvidas-hero__lead,
  .catalog-hero__lead,
  .atendimento-header__lead,
  .section.meusnumeros .header-section h3 {
    font-size: 1.6rem;
    line-height: 2.2rem;
  }
}

.success-panel {
  max-width: 560px;
  margin: var(--space-6) auto;
  text-align: center;
  padding: var(--space-3);
}

.success-panel__icon {
  font-size: 4.8rem;
  color: var(--color-gold);
  margin-bottom: var(--space-3);
}

.success-panel__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

