/* Layout mobile — conteúdo vem do config.php */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --ink: #111111;
  --title: #2d2d2d;
  --ink-soft: #64748b;
  --muted: #6b7280;
  --line: #bbf7d0;
  --meter-bg: #14532d;
  --meter-fill: #4ade80;
  --cta: #16a34a;
  --cta-dark: #15803d;
  --cta-soft: rgba(22, 163, 74, 0.12);
  --radius: 16px;
  --radius-sm: 12px;
  --dock-h: 72px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  min-height: 100dvh;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page {
  max-width: 460px;
  margin: 0 auto;
  padding-bottom: calc(var(--dock-h) + var(--safe-bottom) + 16px);
}

/* ===== Hotbar ===== */
.hotbar {
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.hotbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: 460px;
  margin: 0 auto;
  padding: 0.7rem 1rem;
}

.hotbar__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  text-decoration: none;
  color: var(--ink);
}

.hotbar__logo {
  flex-shrink: 0;
  width: auto;
  height: 48px;
  max-width: 52px;
  object-fit: contain;
}

.hotbar__name {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-family: "Plus Jakarta Sans", var(--font);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 11.5rem;
}

.hotbar__name-prefix {
  color: #1e3a5f;
}

.hotbar__name-accent {
  color: #e87722;
}

.hotbar__menu {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.hotbar__menu span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 999px;
}

/* ===== Intro (tag + título + foto quadrada) ===== */
.intro {
  padding: 1.15rem 1.25rem 0;
  text-align: center;
}

.intro__tag {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cta-dark);
  background: #ecfdf3;
  border: 1px solid rgba(22, 163, 74, 0.18);
  border-radius: 999px;
}

.intro__title {
  margin: 0 auto 0.65rem;
  max-width: 22rem;
  font-size: clamp(1.22rem, 4.8vw, 1.42rem);
  font-weight: 800;
  line-height: 1.32;
  color: var(--title);
  letter-spacing: -0.015em;
  text-align: center;
}

.intro__subtitle {
  margin: 0 auto 1.15rem;
  max-width: 21rem;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-soft);
  text-align: center;
}

.intro__photo-card {
  margin: 0 auto;
  max-width: 100%;
  padding: 0.65rem;
  background: var(--surface);
  border: 1px solid #e8eaed;
  border-radius: var(--radius);
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
}

.intro__photo {
  margin: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  background: #eef0f2;
}

.intro__photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.intro__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* ===== Arrecadação ===== */
.progress-card {
  margin: 0.85rem 1.25rem 0;
  padding: 1rem 1.1rem 1.05rem;
  background: var(--surface);
  border: 1px solid #e8eaed;
  border-radius: var(--radius);
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
}

.progress-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.progress-card__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #9ca3af;
}

.progress-card__pct {
  font-size: 0.95rem;
  font-weight: 800;
  color: #d9610e !important;
}

.progress-card__track {
  height: 8px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.progress-card__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #19a6ed 0%, #0874c9 100%) !important;
  transition: width 0.5s ease;
}

.progress-card__amounts {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  margin: 0.75rem 0 0;
}

.progress-card__raised {
  font-size: clamp(1.35rem, 5.5vw, 1.55rem);
  font-weight: 800;
  color: #0878c9 !important;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.progress-card__goal {
  font-size: 0.92rem;
  font-weight: 500;
  color: #9ca3af;
}

/* ===== Capa (legado removido) ===== */
.cover {
  display: none;
}

/* ===== Medidor (legado) ===== */
.meter {
  display: none;
}

/* ===== Botões de valor ===== */
.pick-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: none;
  background: none;
  font-family: var(--font);
  text-decoration: none;
  cursor: pointer;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.pick-btn--chip {
  flex: 0 0 auto;
  min-width: 88px;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--cta-soft);
  border: 2px solid rgba(22, 163, 74, 0.22);
  flex-direction: column;
}

.pick-btn--chip .pick-btn__go { display: none; }

.pick-btn--chip .pick-btn__value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--cta);
}

.pick-btn--row {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  justify-content: space-between;
}

.pick-btn--row .pick-btn__value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}

.pick-btn--row .pick-btn__go {
  font-size: 1.35rem;
  line-height: 1;
  color: var(--muted);
  font-weight: 400;
}

.pick-btn--tagged {
  border-color: rgba(22, 163, 74, 0.45);
  background: #f0fdf4;
}

.pick-btn__tag {
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.15rem 0.45rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #fff;
  background: var(--cta);
  border-radius: 999px;
}

.pick-btn:active { transform: scale(0.98); }

.pick-btn--grid {
  width: 100%;
  min-height: 54px;
  padding: 0.65rem 0.4rem 0.55rem;
  border-radius: var(--radius-sm);
  background: var(--cta-soft);
  border: 2px solid rgba(22, 163, 74, 0.22);
  justify-content: center;
  flex-direction: column;
  gap: 0.1rem;
}

.pick-btn--grid .pick-btn__value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--cta-dark);
  line-height: 1.15;
}

.pick-btn--grid .pick-btn__hint {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.1;
}

.pick-btn--nudge {
  border-color: rgba(22, 163, 74, 0.38);
  background: #ecfdf3;
}

.pick-btn--nudge .pick-btn__hint {
  color: var(--cta-dark);
}

.pick-btn--grid .pick-btn__go { display: none; }

.pick-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.pick-grid__item { margin: 0; }

.pick-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pick-list__item { margin: 0; }

/* ===== História ===== */
.article {
  margin-top: 0.85rem;
  padding: 1.15rem 1rem 1.25rem;
  background: var(--surface);
}

.article__head {
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--cta);
}

.article__head h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}

.article__meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}

.article__dot { margin: 0 0.25rem; }

.article__body,
.article__body p,
.story__article,
.story__article p {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  line-height: 1.68;
  color: var(--ink);
}

.story__article h2,
.story__article h3,
.article__body h2,
.article__body h3 {
  margin: 1rem 0 0.45rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
}

.story__article strong,
.story__article b,
.article__body strong,
.article__body b {
  color: var(--ink);
  font-weight: 800;
}

.story__article ul {
  margin: 0 0 0.85rem;
  padding-left: 1.1rem;
  color: var(--ink);
}

.story__article li { margin-bottom: 0.3rem; color: var(--ink); }

.article__donate {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 2px dashed rgba(22, 163, 74, 0.35);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--cta-dark);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
}

/* ===== Apoiadores (prova social) ===== */
.social-feed {
  margin: 0.85rem 1rem 0;
  padding: 1rem 0.95rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(20, 83, 45, 0.05);
}

.social-feed__head {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 0.15rem;
}

.social-feed__avatars {
  display: flex;
  align-items: center;
  margin-bottom: 0.65rem;
}

.social-feed__avatar {
  width: 2rem;
  height: 2rem;
  margin-left: -0.45rem;
  border-radius: 999px;
  border: 2px solid #fff;
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.social-feed__avatar:first-child { margin-left: 0; }

.social-feed__avatar--a { background: #86efac; color: #14532d; z-index: 5; }
.social-feed__avatar--b { background: #93c5fd; color: #1e3a8a; z-index: 4; }
.social-feed__avatar--c { background: #fde68a; color: #92400e; z-index: 3; }
.social-feed__avatar--d { background: #fda4af; color: #881337; z-index: 2; }
.social-feed__avatar--e { background: #c4b5fd; color: #4c1d95; z-index: 1; }
.social-feed__avatar--more {
  background: #f3f4f6;
  color: #6b7280;
  font-size: 0.85rem;
  z-index: 0;
}

.social-feed__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.social-feed__title strong { font-weight: 800; }

.social-feed__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-feed__item {
  padding: 0.85rem 0;
  border-bottom: 1px solid #eef2f0;
}

.social-feed__item:last-child { border-bottom: none; }

.social-feed__row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.social-feed__bubble {
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
}

.social-feed__bubble--a { background: #dcfce7; color: #166534; }
.social-feed__bubble--b { background: #dbeafe; color: #1d4ed8; }
.social-feed__bubble--c { background: #fef9c3; color: #a16207; }
.social-feed__bubble--d { background: #ffe4e6; color: #be123c; }
.social-feed__bubble--e { background: #ede9fe; color: #6d28d9; }

.social-feed__meta {
  flex: 1;
  min-width: 0;
}

.social-feed__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.4rem;
  margin-bottom: 0.35rem;
}

.social-feed__name {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink);
}

.social-feed__sep,
.social-feed__city {
  font-size: 0.72rem;
  font-weight: 600;
  color: #9ca3af;
}

.social-feed__online {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  flex-shrink: 0;
}

.social-feed__time {
  font-size: 0.72rem;
  font-weight: 600;
  color: #9ca3af;
}

.social-feed__amount {
  margin-left: auto;
  padding: 0.2rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--cta-dark);
  background: #ecfdf3;
  border: 1px solid rgba(22, 163, 74, 0.25);
  border-radius: 999px;
  white-space: nowrap;
}

.social-feed__text {
  margin: 0 0 0.45rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #374151;
}

.social-feed__likes {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: #9ca3af;
}

.social-feed__note {
  margin: 0.65rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px solid #eef2f0;
  font-size: 0.72rem;
  font-style: italic;
  color: #9ca3af;
  text-align: center;
}

/* ===== Rodapé ===== */
.site-footer {
  padding: 1rem;
  text-align: center;
  color: var(--muted);
}

.site-footer__brand {
  margin: 0 0 0.25rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.site-footer__rights {
  margin: 0;
  font-size: 0.72rem;
}

/* ===== Dock fixo ===== */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  padding: 0.55rem 0.85rem calc(0.55rem + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(20, 83, 45, 0.1);
}

.dock__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 0.95rem 1rem;
  border: none;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #22c55e 0%, var(--cta) 100%);
  color: #fff;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.35);
}

.dock__icon { font-size: 1.1rem; }

.dock__btn:active { transform: scale(0.98); }

/* ===== Modais ===== */
body.modal-open { overflow: hidden; }

body.pix-success-open #donation-modal,
body.pix-success-open #pix-modal,
body.pix-success-open #pix-loading-modal,
body.pix-success-open #pix-limit-modal {
  display: none !important;
}

.modal-overlay[hidden],
.modal[hidden] { display: none !important; }

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
}

.modal:not([hidden]) { pointer-events: auto; }

.modal__panel {
  position: relative;
  width: min(100%, 400px);
  max-height: min(88dvh, 640px);
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.35rem 1rem 1rem;
  box-shadow: 0 20px 50px rgba(20, 83, 45, 0.22);
  pointer-events: auto;
  animation: popIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal__panel--pay {
  max-height: none;
  overflow: visible;
  padding-top: 1.15rem;
}

.modal__panel--donate {
  max-height: min(88dvh, 720px);
  overflow-y: auto;
}

.modal__panel--compact {
  text-align: center;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.94) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font-size: 1.15rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.modal__head {
  margin-bottom: 0.85rem;
  padding: 0 1.75rem;
  text-align: center;
}

.modal__title {
  margin: 0 0 0.3rem;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--ink);
  text-align: center;
}

.modal__lead {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.45;
  text-align: center;
}

.modal__foot {
  margin: 0.85rem 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  color: var(--muted);
}

/* ===== Tela PIX (layout novo) ===== */
.pay-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 1rem;
  padding: 0.85rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
}

.pay-top__block { min-width: 0; }

.pay-top__block--time { text-align: right; }

.pay-top__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.pay-top__value {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}

.pay-top__timer {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: #b45309;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.pay-lead {
  margin: 0 0 0.65rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

.pay-qr {
  display: flex;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.pay-qr__image {
  width: 220px;
  height: 220px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid #e5e7eb;
  background: #fff;
}

.pay-code {
  position: relative;
  margin-bottom: 0.75rem;
  padding: 0.75rem 0.8rem;
  background: #111;
  border-radius: var(--radius-sm);
  border: 1px solid #333;
}

.pay-code__preview {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #e5e7eb;
  word-break: break-all;
}

.pay-code__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.pay-copy {
  display: block;
  width: 100%;
  padding: 0.95rem 1rem;
  border: 2px solid var(--cta);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--cta-dark);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
}

.pay-copy:active {
  background: var(--cta-soft);
}

.pay-guide {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.pay-guide__item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.6rem 0.65rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
}

.pay-guide__item--focus {
  background: #f0fdf4;
  border-color: rgba(22, 163, 74, 0.35);
}

.pay-guide__num {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: var(--cta);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
}

.pay-guide__item--focus .pay-guide__num {
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}

.pay-guide__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.pay-guide__text strong {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
}

.pay-guide__text span {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.35;
}

.pay-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--muted);
}

.pay-error {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #b91c1c;
  text-align: center;
}

/* ===== PIX (legado / loading) ===== */
.pix-loading__title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.pix-loading__hint {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.spinner {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 4px solid rgba(148, 163, 184, 0.35);
  border-top-color: var(--cta);
  margin: 0 auto;
  animation: spin 0.9s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.pix-title {
  margin: 0.2rem 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 900;
  text-align: center;
}

.pix-subtitle {
  margin: 0 0 0.9rem;
  text-align: center;
  color: #334155;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.45;
}

.pix-subtitle__amount,
.pix-subtitle__pix {
  color: var(--cta);
  font-weight: 900;
}

.pix-validity {
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--cta-soft);
  border: 1px solid rgba(22, 163, 74, 0.2);
  margin: 0 0 0.95rem;
  text-align: center;
}

.pix-validity__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--cta);
}

.pix-validity__time {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.1rem;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
}

.pix-stepblock__title {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  font-weight: 800;
}

.pix-code-pill {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 0.65rem 0.75rem;
}

.pix-code-pill__input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pix-copy-big {
  margin: 0.75rem 0 0.55rem;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--cta);
  color: #fff;
  font-family: var(--font);
  font-weight: 900;
  letter-spacing: 0.02em;
  padding: 0.9rem 1rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.28);
}

.pix-copy-big:active { transform: scale(0.99); }

.pix-procedures {
  margin: 0.65rem 0 0;
  padding-left: 0;
  list-style: none;
}

.pix-procedure {
  display: block;
  margin: 0.65rem 0;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

.pix-footer {
  margin-top: 0.7rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
}

.pix-status-row {
  margin: 0.25rem 0 0.75rem;
  display: flex;
  gap: 0.55rem;
  align-items: center;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.pix-error {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #b91c1c;
  text-align: center;
}

.mini-spinner {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(148, 163, 184, 0.45);
  border-top-color: var(--cta);
  animation: spin 0.8s linear infinite;
  flex: 0 0 auto;
}

.mini-spinner--time {
  border-color: rgba(22, 163, 74, 0.18);
  border-top-color: var(--cta);
}

.mini-spinner--status {
  width: 12px;
  height: 12px;
  border-width: 2px;
}

.pix-actions { display: flex; gap: 0.6rem; margin-top: 0.75rem; }
.pix-actions--center { justify-content: center; }

.pix-back {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 800;
  padding: 0.65rem 1.2rem;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .modal__panel,
  .spinner,
  .mini-spinner { animation: none; }
}


/* Ajuste compacto dos textos da campanha */
.story__article h1 {
    font-size: 26px !important;
    line-height: 1.18 !important;
    margin: 18px 0 12px !important;
    letter-spacing: -0.3px;
}

.story__article h2 {
    font-size: 21px !important;
    line-height: 1.22 !important;
    margin: 20px 0 9px !important;
}

.story__article p {
    margin: 0 0 10px !important;
    line-height: 1.42 !important;
}

.story__article ul {
    margin-top: 7px !important;
    margin-bottom: 12px !important;
}

@media (max-width: 600px) {
    .story__article h1 {
        font-size: 24px !important;
        line-height: 1.16 !important;
        margin: 14px 0 9px !important;
    }

    .story__article h2 {
        font-size: 20px !important;
        line-height: 1.20 !important;
        margin: 17px 0 7px !important;
    }

    .story__article p {
        margin: 0 0 9px !important;
        line-height: 1.40 !important;
    }
}


/* AJUDE O BRYAN HEADER V1 */

/* Marca um pouco maior */
.hotbar__brand {
    gap: 9px;
}

/* Foto/logo do Bryan */
.hotbar__brand img,
.hotbar__brand .hotbar__logo {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    object-fit: cover;
}

/* Nome da campanha */
.hotbar__name-prefix,
.hotbar__name-accent {
    font-size: 16px !important;
    line-height: 1.05 !important;
}

/* Um pouco mais de destaque no conjunto */
.hotbar__brand {
    transform: scale(1.04);
    transform-origin: left center;
}

/* Segurança caso algum menu seja recriado */
.hotbar__menu {
    display: none !important;
}

/* FIM AJUDE O BRYAN HEADER V1 */


/* AJUDE O BRYAN BRAND V2 */

/* Cabeçalho mais limpo */
.hotbar {
    min-height: 72px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.hotbar__brand {
    display: grid;
    grid-template-columns: 46px auto;
    grid-template-rows: auto auto;
    column-gap: 11px;
    row-gap: 2px;
    align-items: center;
    transform: none !important;
}

/* Logo maior */
.hotbar__brand img,
.hotbar__logo {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    border-radius: 50%;
    object-fit: cover;
    grid-row: 1 / span 2;
}

/* Nome principal */
.hotbar__name-prefix,
.hotbar__name-accent {
    font-size: 17px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
}

/* Ajude o */
.hotbar__name-prefix {
    color: #0b2b52 !important;
}

/* Bryan */
.hotbar__name-accent {
    color: #109ee8 !important;
}

/* Subtitulo pequeno */
.hotbar__brand-subtitle {
    display: block;
    grid-column: 2;
    font-size: 10.5px;
    line-height: 1.2;
    color: #66809b;
    font-weight: 600;
    margin-top: 2px;
}

/* Menu removido por seguranca */
.hotbar__menu {
    display: none !important;
}

/* CTA principal */
.donation-cta,
.sticky-donation-button,
.hero__cta,
.cta-button,
button[data-open-donation],
a[data-open-donation] {
    border-radius: 16px !important;
    font-weight: 800 !important;
    letter-spacing: -0.1px;
}

/* Botao fixo mais forte no mobile */
@media (max-width: 768px) {
    .sticky-donation-button,
    .donation-cta {
        min-height: 58px;
        font-size: 17px !important;
    }

    .hotbar {
        min-height: 74px;
    }
}



/* FIM AJUDE O BRYAN BRAND V2 */


/* AJUDE BRYAN CTA AZUL V1 */

/* CTA fixo da campanha */
.sticky-donation-button,
.donation-cta,
.hero__cta,
.cta-button,
button[data-open-donation],
a[data-open-donation] {
    background: linear-gradient(
        135deg,
        #078ee8 0%,
        #0875d1 100%
    ) !important;

    color: #ffffff !important;

    border-color: #075fae !important;

    box-shadow:
        0 7px 18px rgba(8, 117, 209, .25) !important;
}

/* Hover */
.sticky-donation-button:hover,
.donation-cta:hover,
.hero__cta:hover,
.cta-button:hover,
button[data-open-donation]:hover,
a[data-open-donation]:hover {
    background: linear-gradient(
        135deg,
        #087fd3 0%,
        #0667bb 100%
    ) !important;
}

/* Mobile */
@media (max-width: 768px) {
    .sticky-donation-button,
    .donation-cta {
        font-size: 16px !important;
        font-weight: 800 !important;
    }
}

/* FIM AJUDE BRYAN CTA AZUL V1 */


/* BRYAN PROGRESS CORE V1 */

.progress-card__pct {
    color: #d9610e !important;
    background: #fff3e9 !important;
    border: 1px solid rgba(244,123,32,.28) !important;
    box-shadow: 0 3px 9px rgba(244,123,32,.08) !important;
}

.progress-card__raised {
    color: #0878c9 !important;
}

.progress-card__fill {
    background: linear-gradient(
        90deg,
        #19a6ed 0%,
        #0874c9 100%
    ) !important;
}

/* FIM BRYAN PROGRESS CORE V1 */

