/* =========================================================
   Landing "Doe Recorrente" - sobre styles.css
   ========================================================= */
.doar-body {
  background:
    radial-gradient(1200px 500px at 80% -5%, var(--pink-soft), transparent 60%),
    radial-gradient(900px 500px at 0% 10%, var(--lilac-soft), transparent 55%),
    var(--bg);
}

.doar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px clamp(16px, 4vw, 40px);
}

.doar-header .brand img {
  height: 42px;
}

.doar-header__store {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line-strong);
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}

.doar-header__store:hover {
  border-color: var(--rose);
  color: var(--rose);
}

/* ---------- hero + widget ---------- */
.doar-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 48px) clamp(16px, 4vw, 40px) clamp(30px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-rows: auto 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.hcz-breadcrumb--donation {
  width: min(100% - clamp(32px, 8vw, 80px), 1200px);
  margin: clamp(18px, 3vw, 30px) auto 0;
}

.doar-hero__copy {
  grid-column: 1;
  grid-row: 1;
}

.doar-hero .donate-widget {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.doar-hero__art {
  grid-column: 1;
  grid-row: 2;
}

.doar-hero__copy h1 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  margin: 0.3em 0;
}

.doar-hero__copy h1 em {
  font-style: normal;
  color: var(--rose);
}

.doar-hero__sub {
  font-size: 1.06rem;
  max-width: 48ch;
}

.doar-hero__trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 0;
  margin: 20px 0 0;
}

.doar-hero__trust li {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  padding: 7px 14px;
}

.doar-hero__art {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 520px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
}

.doar-hero__art svg {
  width: 100%;
  height: 100%;
  display: block;
}

.doar-hero__stamp {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.95;
  text-align: center;
  box-shadow: var(--shadow-md);
  animation: wobble 8s ease-in-out infinite;
}

.doar-hero__stamp strong {
  font-size: 1.15rem;
}

@keyframes wobble {
  50% {
    transform: rotate(8deg);
  }
}

@keyframes floaty {
  50% {
    transform: translateY(-10px) rotate(1.5deg);
  }
}

/* ---------- Amorômetro ---------- */
.amorometro {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(10px, 2vw, 24px) clamp(16px, 4vw, 40px);
}

.amorometro__card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  padding: clamp(24px, 3.4vw, 44px);
}

.amorometro__head {
  text-align: center;
  margin-bottom: 22px;
}

.amorometro__head h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0;
}

.amorometro__values {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.amorometro__values > div > span {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.amorometro__values > div > strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.2rem, 2.6vw, 1.9rem);
  color: var(--ink);
}

.amorometro__pct {
  text-align: center;
}

.amorometro__pct strong {
  font-size: clamp(2rem, 4.4vw, 3.2rem) !important;
  color: var(--rose) !important;
  line-height: 1;
}

.amorometro__pct span {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.84rem !important;
  color: var(--ink-soft) !important;
}

.amorometro__goal {
  text-align: right;
}

.amorometro__bar {
  position: relative;
  height: 26px;
  border-radius: var(--r-pill);
  background: var(--bg);
  border: 1.5px solid var(--line);
  overflow: visible;
}

.amorometro__fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: var(--r-pill);
  /* multifaixa da marca: as três fases da infância preenchendo a meta */
  background: var(--grad-brand, linear-gradient(90deg, var(--pink), var(--rose)));
  transition: width 1.4s var(--ease-out);
}

.amorometro__heart {
  position: absolute;
  top: 50%;
  left: -16px;
  transform: translateY(-54%);
  font-size: 1.6rem;
  filter: drop-shadow(0 3px 6px rgba(163, 71, 113, 0.35));
  transition: left 1.4s var(--ease-out);
}

.amorometro__note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.84rem;
  color: var(--muted);
}

/* ---------- Linha do tempo ---------- */
.doar-timeline {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 64px) clamp(16px, 4vw, 40px);
}

.doar-timeline__head {
  text-align: center;
  margin-bottom: 30px;
}

.doar-timeline__head h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.doar-timeline__track {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0;
  margin: 0;
  position: relative;
}

.doar-timeline__track::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 6%;
  right: 6%;
  height: 3px;
  background: var(--line);
  border-radius: var(--r-pill);
}

.doar-timeline__item {
  position: relative;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 20px 20px;
}

.doar-timeline__dot {
  position: absolute;
  top: -0;
  left: 20px;
  transform: translateY(-40%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 4px solid var(--surface);
  box-shadow: var(--shadow-sm);
  background: var(--line-strong);
}

.doar-timeline__item.tone-pink .doar-timeline__dot {
  background: var(--pink);
}
.doar-timeline__item.tone-green .doar-timeline__dot {
  background: var(--green);
}
.doar-timeline__item.tone-lilac .doar-timeline__dot {
  background: var(--lilac);
}
.doar-timeline__item.tone-blue .doar-timeline__dot {
  background: var(--blue);
}

.doar-timeline__item time {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 4px;
}

.doar-timeline__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.doar-timeline__item p {
  margin: 0;
  font-size: 0.88rem;
}

.doar-timeline__item:not(.is-done) {
  opacity: 0.78;
  border-style: dashed;
}

/* ---------- Imposto de renda ---------- */
.doar-ir {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px) clamp(20px, 3vw, 40px);
}

.doar-ir__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, var(--lilac-soft), var(--blue-soft));
  border-radius: var(--r-xl);
  padding: clamp(24px, 3.4vw, 44px);
}

.doar-ir__card h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  max-width: 22ch;
}

.doar-ir__card p {
  max-width: 52ch;
  margin: 0;
}

/* widget de doação */
.donate-widget {
  position: sticky;
  top: 18px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(20px, 2.6vw, 30px);
}

/* stepper */
.donate-steps {
  list-style: none;
  display: flex;
  gap: 6px;
  padding: 0;
  margin: 0 0 18px;
}

.donate-steps__item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 3px solid var(--line);
  padding-top: 8px;
}

.donate-steps__item span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--line);
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.donate-steps__item span svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.donate-steps__item.is-current {
  color: var(--ink);
  border-top-color: var(--rose);
}

.donate-steps__item.is-current span {
  background: var(--ink);
  color: var(--bg);
}

.donate-steps__item.is-done {
  color: var(--green-ink);
  border-top-color: var(--green);
}

.donate-steps__item.is-done span {
  background: var(--green);
  color: #fff;
}

/* resumo entre passos */
.donate-summary {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--pink-soft);
  border-radius: var(--r-md);
  padding: 12px 16px;
  margin-bottom: 16px;
}

.donate-summary span {
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.donate-summary strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
}

.donate-summary em {
  font-style: normal;
  margin-left: auto;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--rose);
}

/* navegação entre passos */
.donate-next {
  width: 100%;
  margin-top: 4px;
}

.donate-nav {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.donate-nav .primary-button {
  flex: 1;
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-soft);
  background: transparent;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-pill);
  padding: 12px 18px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}

.ghost-button:hover {
  border-color: var(--rose);
  color: var(--rose);
}

.ghost-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* método empilhado (passo pagamento) */
.method-tabs--stacked {
  grid-template-columns: 1fr;
}

.method-tabs--stacked .method-tab {
  justify-content: flex-start;
  padding: 14px 16px;
  font-size: 0.98rem;
}

.method-tab span {
  display: grid;
  text-align: left;
}

.method-tab small {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.74rem;
  opacity: 0.7;
}

.donate-widget__head h2 {
  font-size: 1.5rem;
  margin: 0;
}

.donate-widget__head p {
  margin: 4px 0 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.freq-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--bg);
  border-radius: var(--r-pill);
  padding: 5px;
  margin-bottom: 16px;
}

.freq-toggle button {
  border: 0;
  background: transparent;
  border-radius: var(--r-pill);
  padding: 11px 8px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.freq-toggle button b {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-ink);
  font-weight: 800;
}

.freq-toggle button.is-active {
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow-sm);
}

.freq-toggle button.is-active b {
  color: var(--pink);
}

.amount-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.amount-chip {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 10px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s var(--ease-spring);
}

.amount-chip small {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--muted);
}

.amount-chip:hover {
  transform: translateY(-2px);
  border-color: var(--rose);
}

.amount-chip.is-active {
  border-color: var(--rose);
  background: var(--pink-soft);
}

.amount-custom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  padding: 4px 14px;
  transition: border-color 0.2s ease;
}

.amount-custom.is-active,
.amount-custom:focus-within {
  border-color: var(--rose);
  background: var(--pink-soft);
}

.amount-custom span {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink-soft);
}

.amount-custom input {
  border: 0;
  background: none;
  font: inherit;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
  width: 100%;
  padding: 12px 0;
  outline: none;
}

.method-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 18px;
}

.method-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--ink-soft);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 11px 6px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.method-tab svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.method-tab.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

.donate-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.donate-card-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1.5px dashed var(--line);
}

.donate-form .field {
  display: grid;
  gap: 6px;
}

.donate-form .field--full {
  grid-column: 1 / -1;
}

.donate-form .field span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.donate-form .field span em {
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
}

.donate-form .field input {
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 12px 14px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.donate-form .field input:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(196, 96, 139, 0.12);
}

.donate-submit {
  width: 100%;
  margin-top: 16px;
  font-size: 1.05rem;
  padding: 16px;
}

.donate-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.donate-secure svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--green-ink);
  stroke-width: 2;
}

/* resultado */
.donate-result {
  text-align: center;
}

.donate-result__icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-soft);
  margin-bottom: 10px;
}

.donate-result__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--green-ink);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.donate-result h2 {
  font-size: 1.4rem;
  margin: 0 0 4px;
}

.donate-result__lead {
  color: var(--ink-soft);
  font-weight: 700;
  margin: 0 0 16px;
}

.result-pix,
.result-boleto {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.result-pix .qr {
  width: min(210px, 70%);
  aspect-ratio: 1;
  background: #fff;
  border-radius: var(--r-md);
  padding: 12px;
  box-shadow: var(--shadow-sm);
}

.qr--mock {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 3px;
}

.qr--mock span {
  background: var(--ink);
  border-radius: 2px;
}

.copy-box {
  width: 100%;
  display: grid;
  gap: 6px;
  text-align: left;
}

.copy-box span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.copy-box textarea {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 0.78rem;
  color: var(--ink-soft);
  background: var(--bg);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 12px 14px;
  min-height: 70px;
  resize: none;
}

.result-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.result-confirmed {
  background: var(--green-soft);
  border-radius: var(--r-md);
  padding: 16px 18px;
  color: var(--green-ink);
  font-weight: 700;
}

.donate-result__note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 14px 0 8px;
}

/* estado "obrigado" (pós-confirmação) e "aguardando" */
.donate-result--celebrate {
  animation: thank-pop 0.5s ease-out;
}
.donate-result--celebrate .donate-result__icon {
  width: 68px;
  height: 68px;
  background: var(--pink-soft, #f7dbe6);
  box-shadow: 0 0 0 8px rgba(196, 96, 139, 0.12);
}
.donate-result--celebrate .donate-result__icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--rose-ink, #c4608b);
}
.donate-result__impact {
  color: var(--ink-soft);
  background: #fff;
  border: 1px dashed var(--rose, #eab1c4);
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin: 0 auto 16px;
  max-width: 440px;
  font-weight: 600;
}
.donate-result__icon--wait {
  background: var(--blue-soft, #dcecf2);
  animation: thank-pulse 1.6s ease-in-out infinite;
}
.donate-result__icon--wait svg {
  stroke: var(--blue-ink, #2c6f86);
  fill: none;
}
@keyframes thank-pop {
  0% { transform: scale(0.94); opacity: 0; }
  60% { transform: scale(1.02); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes thank-pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.08); opacity: 1; }
}

/* ---------- seções ---------- */
.doar-why,
.doar-impact,
.doar-faq,
.doar-cta-final {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 64px) clamp(16px, 4vw, 40px);
}

.doar-why__head,
.doar-faq__head {
  text-align: center;
  margin-bottom: 26px;
}

.doar-why__head h2,
.doar-faq__head h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.doar-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.doar-why__grid article {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
}

.doar-why__grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  margin: 12px 0 4px;
}

.doar-why__grid p {
  margin: 0;
  font-size: 0.92rem;
}

.doar-why__icon {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.doar-why__icon--pink {
  background: var(--grad-baby);
}
.doar-why__icon--green {
  background: var(--grad-kid);
}
.doar-why__icon--lilac {
  background: var(--grad-teen);
}

.doar-impact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-xl);
  margin-block: clamp(20px, 3vw, 40px);
}

.doar-impact__copy h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
}

.doar-impact__copy h2 span {
  color: var(--rose);
}

.doar-impact__nums {
  display: grid;
  gap: 14px;
}

.doar-impact__nums div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-top: 2px solid var(--line);
  padding-top: 10px;
}

.doar-impact__nums strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--rose);
  min-width: 2.4ch;
}

.doar-impact__nums span {
  font-weight: 700;
  color: var(--ink-soft);
}

.doar-faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.doar-faq__item {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 4px 6px;
}

.doar-faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  position: relative;
}

.doar-faq__item summary::-webkit-details-marker {
  display: none;
}

.doar-faq__item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  color: var(--rose);
  font-size: 1.3rem;
  line-height: 1;
}

.doar-faq__item[open] summary::after {
  content: "×";
}

.doar-faq__item p {
  margin: 0;
  padding: 0 16px 16px;
  font-size: 0.92rem;
}

.doar-cta-final {
  text-align: center;
}

.doar-cta-final h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  max-width: 22ch;
  margin: 0 auto 20px;
}

/* ---------- responsivo ---------- */
@media (max-width: 960px) {
  .doar-hero {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  /* ordem no mobile: título → widget → arte (fluxo natural do DOM) */
  .doar-hero__copy,
  .doar-hero .donate-widget,
  .doar-hero__art {
    grid-column: 1;
    grid-row: auto;
  }

  .donate-widget {
    position: static;
  }

  .doar-hero__art {
    max-width: none;
  }

  .doar-why__grid {
    grid-template-columns: 1fr;
  }

  .doar-timeline__track {
    grid-template-columns: 1fr 1fr;
  }

  .doar-timeline__track::before {
    display: none;
  }

  .amorometro__values {
    flex-wrap: wrap;
  }

  .doar-impact {
    grid-template-columns: 1fr;
    padding: clamp(22px, 4vw, 36px);
  }
}

@media (max-width: 560px) {
  .donate-card-fields,
  .donate-form .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .method-tab {
    font-size: 0.78rem;
    padding: 10px 4px;
  }
}

/* Foto real da fachada no hero + rostinhos flutuantes */
.doar-hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.doar-hero__face {
  position: absolute;
  width: clamp(52px, 15%, 80px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255, 253, 246, 0.92);
  box-shadow: var(--shadow-md);
  animation: face-float 5.6s ease-in-out infinite;
}
.doar-hero__face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.doar-hero__face--baby { left: 4%; top: 8%; transform: rotate(-6deg); }
.doar-hero__face--kid { left: 5%; bottom: 10%; transform: rotate(5deg); animation-delay: -1.8s; }
.doar-hero__face--teen { right: 4%; top: 10%; transform: rotate(7deg); animation-delay: -3.4s; width: clamp(44px, 12%, 66px); }

/* =========================================================
   Donation UI elevation layer
   Mesma direcao visual da loja, sem alterar fluxo ASAAS/PIX.
   ========================================================= */
.doar-body {
  background:
    linear-gradient(rgba(255, 248, 235, 0.92), rgba(255, 248, 235, 0.92)),
    url("/assets/hcz_branding/19.png"),
    var(--bg);
  background-size: auto, 640px auto, auto;
  background-position: center top, left -180px top 160px, center;
  background-attachment: fixed, fixed, scroll;
}

.doar-header {
  position: sticky;
  top: 0;
  z-index: 30;
  margin-top: 10px;
  border: 1px solid rgba(44, 55, 127, 0.1);
  border-radius: var(--r-pill);
  background: rgba(255, 252, 245, 0.86);
  box-shadow: 0 12px 34px rgba(44, 55, 127, 0.08);
}

@supports (backdrop-filter: blur(18px)) {
  .doar-header {
    backdrop-filter: blur(18px) saturate(1.08);
  }
}

.doar-header__store {
  background: rgba(255, 252, 245, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.doar-hero {
  position: relative;
  max-width: 1260px;
}

.doar-hero::before {
  content: "";
  position: absolute;
  inset: 28px 20px 34px;
  z-index: -1;
  border: 1px solid rgba(44, 55, 127, 0.08);
  border-radius: 46px;
  background:
    linear-gradient(115deg, rgba(233, 175, 199, 0.18), rgba(169, 211, 173, 0.16), rgba(194, 170, 208, 0.18)),
    rgba(255, 252, 245, 0.72);
  box-shadow: 0 30px 90px rgba(44, 55, 127, 0.1);
}

.doar-hero__copy {
  align-self: start;
  padding: 24px;
  border-radius: 32px;
  background: rgba(255, 252, 245, 0.74);
  border: 1px solid rgba(44, 55, 127, 0.08);
  box-shadow: 0 14px 36px rgba(44, 55, 127, 0.07);
}

.doar-hero__copy h1 {
  font-size: 3.4rem;
  letter-spacing: 0;
  line-height: 0.98;
}

.doar-hero__copy h1 em {
  color: var(--ink);
  background: linear-gradient(90deg, var(--rose), var(--lilac-ink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.doar-hero__sub {
  color: var(--text);
  font-weight: 700;
}

.doar-hero__trust li {
  background: rgba(255, 252, 245, 0.86);
  border-color: rgba(44, 55, 127, 0.12);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(44, 55, 127, 0.05);
}

.doar-hero__art {
  border: 10px solid rgba(255, 252, 245, 0.56);
  border-radius: 34px;
  box-shadow: var(--shadow-lg);
  background: var(--lilac-soft);
}

.doar-hero__photo {
  filter: saturate(1.08) contrast(1.02);
}

.doar-hero__stamp {
  background: var(--ink);
  color: var(--bg);
}

.doar-hero__face {
  border-color: rgba(255, 252, 245, 0.96);
  box-shadow: 0 14px 28px rgba(44, 55, 127, 0.14);
}

.donate-widget {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(44, 55, 127, 0.12);
  border-radius: 34px;
  background: rgba(255, 252, 245, 0.94);
  box-shadow: 0 28px 78px rgba(44, 55, 127, 0.16);
}

.donate-widget::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--grad-brand);
}

.donate-steps {
  padding: 16px;
  border-radius: 24px;
  background: rgba(44, 55, 127, 0.045);
}

.donate-steps__item {
  color: var(--muted);
}

.donate-steps__item span {
  background: rgba(255, 252, 245, 0.84);
  border: 1px solid rgba(44, 55, 127, 0.1);
  color: var(--ink-soft);
}

.donate-steps__item.is-current span,
.donate-steps__item.is-done span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  box-shadow: 0 10px 24px rgba(44, 55, 127, 0.18);
}

.donate-widget__head h2 {
  letter-spacing: 0;
}

.freq-toggle,
.amount-grid,
.method-tabs {
  border-radius: 24px;
}

.freq-toggle {
  background: rgba(44, 55, 127, 0.055);
  border: 1px solid rgba(44, 55, 127, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.freq-toggle button {
  color: var(--ink);
}

.freq-toggle button.is-active,
.method-tab.is-active {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 14px 28px rgba(44, 55, 127, 0.2);
}

.freq-toggle button.is-active b {
  background: rgba(255, 248, 235, 0.16);
  color: var(--bg);
}

.amount-chip,
.amount-custom,
.method-tab,
.donate-form .field input,
.donate-form .field textarea {
  background: rgba(255, 252, 245, 0.86);
  border-color: rgba(44, 55, 127, 0.13);
  box-shadow: 0 8px 22px rgba(44, 55, 127, 0.06);
}

.amount-chip:hover,
.method-tab:hover {
  border-color: rgba(196, 96, 139, 0.32);
  transform: translateY(-2px);
}

.amount-chip.is-active,
.amount-custom.is-active {
  border-color: var(--ink);
  background:
    linear-gradient(135deg, rgba(233, 175, 199, 0.24), rgba(169, 211, 173, 0.2)),
    rgba(255, 252, 245, 0.94);
  color: var(--ink);
  box-shadow: inset 5px 0 0 var(--rose), 0 14px 30px rgba(44, 55, 127, 0.12);
}

.donate-summary {
  border: 1px solid rgba(44, 55, 127, 0.1);
  background:
    linear-gradient(90deg, rgba(166, 216, 228, 0.22), rgba(194, 170, 208, 0.18)),
    rgba(255, 252, 245, 0.8);
  box-shadow: var(--shadow-sm);
}

.method-tab svg,
.donate-summary svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.donate-form .field input:focus,
.donate-form .field textarea:focus {
  border-color: rgba(196, 96, 139, 0.52);
  box-shadow: 0 0 0 4px rgba(233, 175, 199, 0.22);
}

.donate-form__trust {
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(169, 211, 173, 0.24), rgba(166, 216, 228, 0.18)),
    rgba(255, 252, 245, 0.76);
}

.amorometro__card,
.doar-why__grid article,
.doar-impact,
.doar-faq__item {
  border-color: rgba(44, 55, 127, 0.11);
  background: rgba(255, 252, 245, 0.9);
  box-shadow: 0 18px 52px rgba(44, 55, 127, 0.1);
}

.amorometro__card {
  position: relative;
  overflow: hidden;
}

.amorometro__card::before,
.doar-impact::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--grad-brand);
}

.amorometro__bar {
  background: rgba(44, 55, 127, 0.08);
  border: 1px solid rgba(44, 55, 127, 0.08);
}

.amorometro__fill {
  background: var(--grad-brand);
  box-shadow: 0 8px 22px rgba(196, 96, 139, 0.18);
}

.doar-timeline__item {
  background: rgba(255, 252, 245, 0.88);
  border: 1px solid rgba(44, 55, 127, 0.11);
  box-shadow: 0 10px 30px rgba(44, 55, 127, 0.07);
}

.doar-cta-final {
  margin: 30px auto 56px;
  padding: 34px 22px;
  border-radius: 38px;
  background:
    linear-gradient(115deg, rgba(233, 175, 199, 0.24), rgba(255, 252, 245, 0.82), rgba(169, 211, 173, 0.22)),
    rgba(255, 252, 245, 0.86);
  border: 1px solid rgba(44, 55, 127, 0.1);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 960px) {
  .doar-header {
    position: static;
    margin: 8px 12px 0;
    border-radius: 28px;
  }

  .doar-hero::before {
    inset: 16px 10px 22px;
    border-radius: 34px;
  }

  .doar-hero__copy h1 {
    font-size: 2.65rem;
  }
}

@media (max-width: 560px) {
  .doar-body {
    background-attachment: scroll;
    background-size: auto, 520px auto, auto;
  }

  .doar-hero__copy {
    padding: 18px;
  }

  .doar-hero__copy h1 {
    font-size: 2.15rem;
  }

  .donate-widget {
    border-radius: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .doar-hero__face,
  .doar-hero__stamp {
    animation: none;
  }
}

/* =========================================================
   Reference layer v3 (2026-07-11): "Doe todo mês e acompanhe
   o impacto": hero 2 colunas, widget com recorrência/valor/meta,
   benefícios com ícones e cards de estatística.
   ========================================================= */
.doar-body {
  background: #fdf1ee;
}

.doar-hero.dn-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  grid-template-areas: "copy widget";
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding-top: clamp(18px, 3vw, 36px);
}

.doar-hero.dn-hero::before {
  display: none;
}

.dn-hero__copy {
  grid-area: copy;
  display: grid;
  gap: 20px;
  align-content: start;
}

.dn-hero__copy h1 {
  position: relative;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 3.8vw, 3.3rem);
  line-height: 1.04;
  color: var(--ink);
  margin: 0;
  max-width: 15ch;
}

.dn-hero__copy h1 em {
  font-style: normal;
  color: var(--rose);
  background: none;
}

.dn-hero__face {
  display: inline-grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin-left: 6px;
  vertical-align: middle;
  border-radius: 50%;
  background: var(--pink-soft);
  overflow: hidden;
}

.dn-hero__face img {
  width: 84%;
  height: 84%;
  object-fit: contain;
}

.dn-hero__sub {
  max-width: 52ch;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}

.dn-hero__sub strong {
  display: block;
  color: var(--ink);
  font-size: 1.06rem;
  margin-bottom: 4px;
}

.dn-benefits {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.dn-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.dn-benefits__icon {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.dn-benefits__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dn-benefits__icon--pink { background: var(--pink-soft); }
.dn-benefits__icon--pink svg { stroke: var(--rose); }
.dn-benefits__icon--lilac { background: var(--lilac-soft); }
.dn-benefits__icon--lilac svg { stroke: var(--lilac-ink); }
.dn-benefits__icon--green { background: var(--green-soft); }
.dn-benefits__icon--green svg { stroke: var(--green-ink); }

.dn-benefits strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 3px;
}

.dn-benefits p {
  margin: 0;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 40ch;
}

.dn-hero__art {
  position: relative;
  margin: 8px 0 0;
  min-height: 220px;
}

.dn-hero__heart {
  position: absolute;
  left: 4%;
  bottom: 6%;
  width: 62%;
  fill: var(--pink-soft);
  stroke: none;
  opacity: 0.9;
}

.dn-hero__hospital {
  position: relative;
  width: 92%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(44, 55, 127, 0.12));
}

/* ---------- widget ---------- */
.donate-widget.dn-widget {
  grid-area: widget;
  position: sticky;
  top: 24px;
  background: #fff;
  border: 1px solid rgba(196, 96, 139, 0.14);
  border-radius: 26px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(44, 55, 127, 0.12);
}

.dn-widget .dnw,
.dn-widget .donate-widget__head,
.dn-widget .donate-steps,
.dn-widget .donate-summary,
.dn-widget .method-tabs,
.dn-widget .donate-form,
.dn-widget .donate-nav,
.dn-widget .donate-result {
  margin-left: clamp(20px, 3vw, 30px);
  margin-right: clamp(20px, 3vw, 30px);
}

.dn-widget .donate-steps { margin-top: 22px; }
.dn-widget .donate-widget__head { margin-top: 18px; }
.dn-widget .donate-result { margin-top: 24px; margin-bottom: 24px; }
.dn-widget .donate-nav { margin-bottom: 24px; }
.dn-widget .donate-form { margin-bottom: 8px; }

.dnw {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 30px) 0 20px;
}

.dnw__label {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
}

.dnw__toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #f7f2ec;
  border: 1px solid rgba(44, 55, 127, 0.08);
  border-radius: 16px;
  padding: 6px;
}

.dnw__toggle button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 10px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background: transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.dnw__toggle button svg {
  width: 15px;
  height: 15px;
  fill: var(--rose);
  stroke: var(--rose);
}

.dnw__toggle button.is-active {
  background: #fff;
  border-color: var(--rose);
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(196, 96, 139, 0.14);
}

.dnw__amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.4fr;
  gap: 8px;
}

.dnw__amounts .amount-chip {
  padding: 13px 6px;
  border: 1px solid rgba(44, 55, 127, 0.12);
  border-radius: 12px;
  background: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}

.dnw__amounts .amount-chip.is-active {
  background: var(--pink-soft);
  border: 1.5px solid var(--rose);
  color: var(--rose);
}

.dnw__amounts .amount-custom {
  border: 1px solid rgba(44, 55, 127, 0.12);
  border-radius: 12px;
  background: #fff;
  padding: 0 10px;
  display: flex;
  align-items: center;
}

.dnw__amounts .amount-custom.is-active,
.dnw__amounts .amount-custom:focus-within {
  border: 1.5px solid var(--rose);
}

.dnw__amounts .amount-custom input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  text-align: center;
  outline: none;
}

.dnw__msg {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--lilac-soft);
  border-radius: 16px;
  padding: 16px 18px;
}

.dnw__msg > svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--rose);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dnw__msg p {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.55;
}

.dnw__msg strong {
  color: var(--ink);
}

.dnw__meta {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}

.dnw__meta-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.dnw__meta-head strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}

.dnw__meta-head em {
  font-style: normal;
  font-weight: 800;
  font-size: 0.86rem;
  color: var(--rose);
}

.dnw__meta-bar {
  height: 9px;
  border-radius: var(--r-pill);
  background: #f3e7e0;
  overflow: hidden;
}

.dnw__meta-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #f26d8d, var(--rose));
  transition: width 1.2s var(--ease-ui);
}

.dnw__meta-scale {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.dnw__cta {
  width: 100%;
  justify-content: center;
  background: linear-gradient(135deg, #f26d8d, var(--rose));
  border-radius: 16px;
  padding: 17px 20px;
  font-size: 1.06rem;
}

.dnw__cta svg {
  fill: none;
  stroke: #fff;
}

.dnw__cancel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.dnw__cancel svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.dnw-trust {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  background: var(--lilac-soft);
  padding: 16px clamp(16px, 2.5vw, 26px);
  margin: 10px 0 0 !important;
}

.dnw-trust span {
  display: grid;
  grid-template-columns: 20px 1fr;
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
}

.dnw-trust span svg {
  grid-row: 1 / 3;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dnw-trust b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.74rem;
  color: var(--ink);
  line-height: 1.2;
}

.dnw-trust small {
  color: var(--text);
  font-size: 0.66rem;
}

/* ---------- O novo hospital ---------- */
/* Duas colunas de borda a borda, no mesmo desenho da faixa da /loja: a foto
   ocupa a coluna esquerda inteira e o texto com os números fica à direita,
   ainda dentro da coluna de leitura. Antes eram três blocos empilhados —
   abertura centralizada, foto larga, números embaixo —, e a seção gastava
   três rolagens para dizer uma coisa só. */
.dn-project {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: clamp(34px, 5vw, 62px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "visual heading"
    "visual metrics";
  grid-template-rows: auto 1fr;
  align-items: center;
  column-gap: clamp(24px, 3.4vw, 56px);
  row-gap: clamp(20px, 2.6vw, 32px);
  background: rgba(255, 253, 247, 0.88);
  border-top: 1px solid rgba(44, 55, 127, 0.1);
}

/* o texto encosta na coluna de leitura, não na borda da tela */
.dn-project__heading,
.dn-project__metrics {
  padding-right: max(clamp(20px, 4vw, 48px), calc(50vw - 620px));
}

.dn-project__heading {
  grid-area: heading;
  align-self: end;
  padding-top: clamp(28px, 4vw, 52px);
}

.dn-project__heading h2 {
  max-width: 20ch;
  margin-block: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.dn-project__heading p {
  max-width: 46ch;
  margin: 16px 0 0;
  color: var(--text);
  font-size: clamp(0.94rem, 1.35vw, 1.08rem);
  font-weight: 600;
  line-height: 1.55;
}

.dn-project__visual {
  grid-area: visual;
  grid-row: 1 / -1;
  position: relative;
  min-height: clamp(320px, 38vw, 620px);
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #0f1330;
}

/* absoluta porque o container tem min-height, e min-height não é altura
   definida: com height:100% a imagem guardava a própria proporção e sobrava
   faixa de fundo em cima e embaixo. */
.dn-project__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dn-project__metrics {
  grid-area: metrics;
  align-self: start;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px clamp(18px, 3vw, 30px);
  padding-bottom: clamp(28px, 4vw, 52px);
}

.dn-project__metric {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 158px;
  padding-top: 11px;
  border-top: 3px solid var(--line);
}

.dn-project__metric > span {
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.1;
  text-transform: uppercase;
}

.dn-project__metric strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 4.4vw, 4.3rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.76;
}

.dn-project__metric p {
  max-width: 17ch;
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: clamp(0.88rem, 1.2vw, 1.02rem);
  font-weight: 800;
  line-height: 1.14;
}

.dn-project__metric--pink { border-top-color: var(--rose); }
.dn-project__metric--pink strong,
.dn-project__metric--pink p { color: var(--rose); }
.dn-project__metric--green { border-top-color: var(--green); }
.dn-project__metric--green strong { color: var(--green-ink); }
.dn-project__metric--teal { border-top-color: var(--teal); }
.dn-project__metric--teal strong { color: #2c6f86; }
.dn-project__metric--lilac { border-top-color: var(--lilac); }
.dn-project__metric--lilac strong { color: var(--lilac-ink); }

/* ---------- responsivo ---------- */
@media (max-width: 980px) {
  .doar-hero.dn-hero {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "widget";
  }

  .donate-widget.dn-widget {
    position: static;
  }

  .dn-project {
    grid-template-columns: 1fr;
    grid-template-areas:
      "visual"
      "heading"
      "metrics";
  }

  .dn-project__heading,
  .dn-project__metrics {
    padding-inline: clamp(18px, 5vw, 32px);
  }

  /* altura por padding, não por aspect-ratio: a imagem dentro é absoluta e
     o WebKit do iPhone resolve o aspect-ratio como zero nesse arranjo —
     mesmo declarando que suporta, o que torna @supports inútil aqui */
  .dn-project__visual {
    grid-row: auto;
    min-height: 0;
    height: auto;
    aspect-ratio: auto;
    padding-top: 56.25%;
  }
}

@media (max-width: 640px) {
  .dn-project {
    margin-top: 30px;
    /* sem padding lateral: quem recua é o texto, não a foto — ela segue de
       borda a borda também no celular */
  }

  .dn-project__heading h2 {
    max-width: 16ch;
    font-size: clamp(2.05rem, 10vw, 2.8rem);
  }

  .dn-project__metrics {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .dn-project__metric {
    min-height: 0;
  }

  .dn-project__metric strong {
    font-size: clamp(3rem, 15vw, 4.25rem);
  }

  .dnw__amounts {
    grid-template-columns: repeat(3, 1fr);
  }

  .dnw__amounts .amount-custom {
    grid-column: span 3;
    padding: 12px 10px;
  }

  .dnw-trust {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dn-hero__face {
    width: 52px;
    height: 52px;
  }
}

/* ===== ajuste fino do hero /doar (mockup 2026-07-12) ===== */
.doar-body {
  background-color: #fdf1ee;
  background-image: radial-gradient(rgba(196, 96, 139, 0.05) 1.6px, transparent 1.6px);
  background-size: 26px 26px;
}

.dn-hero__copy h1 {
  padding-right: 74px;
}

.dn-hero__face {
  position: absolute;
  top: -14px;
  right: 0;
  margin-left: 0;
}

.dn-hero__art {
  min-height: 280px;
  margin-top: 2px;
}

.dn-hero__heart {
  left: 0;
  bottom: 2%;
  width: 74%;
  opacity: 1;
}

svg.dn-hero__hospital {
  position: relative;
  display: block;
  width: 88%;
  height: auto;
  margin-left: auto;
  filter: drop-shadow(0 14px 26px rgba(44, 55, 127, 0.1));
}

@media (max-width: 640px) {
  .dn-hero__copy h1 {
    padding-right: 58px;
  }

  .dn-hero__face {
    top: -8px;
  }
}

/* ===== hero /doar: arte ancorada, sem invadir o texto ===== */
.dn-hero__art {
  position: relative;
  height: 400px;
  margin-top: 28px;
  min-height: 0;
  overflow: visible;
}

.dn-hero__heart {
  position: absolute;
  left: 2%;
  bottom: -3%;
  width: auto;
  height: 108%;
  max-width: none;
  fill: #f7d6e2;
  opacity: 0.75;
}

svg.dn-hero__hospital {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 92%;
  height: auto;
  margin-left: 0;
  filter: none;
}

@media (max-width: 980px) {
  .dn-hero__art {
    height: clamp(240px, 60vw, 360px);
  }
}

/* respiro menor entre benefícios e ilustração */
.dn-hero__art {
  margin-top: 6px;
  height: 380px;
}

/* ===== header padronizado (mesmo da loja) na página de doação ===== */
.doar-site-header .site-nav {
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

/* pílula roxa: em rosa o texto ficava ilegível sobre ela */
.doar-site-header .site-nav a[aria-current="page"] {
  color: #fffdf7;
  background: var(--roxo-marca, #5b4488);
}

@media (max-width: 760px) {
  .doar-site-header .header-donate {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

/* no /doar o "Doar agora" continua visível no mobile (CTA principal) */
@media (max-width: 900px) {
  .doar-site-header .header-donate {
    display: inline-flex;
    margin-left: auto;
  }
}

@media (max-width: 900px) {
  .doar-site-header {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .doar-site-header .brand img {
    height: 30px;
  }

  .doar-site-header .header-donate {
    padding: 9px 13px;
    font-size: 0.8rem;
    white-space: nowrap;
    flex: 0 0 auto;
  }
}

/* ilustração oficial transparente no hero */
.dn-hero__art img.dn-hero__hospital {
  position: absolute;
  right: 0;
  bottom: 4%;
  width: 96%;
  height: auto;
  filter: drop-shadow(0 16px 28px rgba(44, 55, 127, 0.12));
}

.doar-cta-final__sub {
  margin: 10px 0 20px;
  opacity: 0.85;
  font-size: 0.95rem;
}

/* CTA final via PIX: uma alternativa direta à doação recorrente. */
.doar-pix-final {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(182px, 230px);
  align-items: center;
  gap: clamp(28px, 6vw, 84px);
  /* faixa de borda a borda: o cartão azul de 1160px flutuava no meio da
     página e o QR ficava pequeno demais para quem lê no celular */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: clamp(46px, 7vw, 76px);
  padding: clamp(34px, 5vw, 64px) max(clamp(20px, 4vw, 46px), calc(50vw - 580px));
  overflow: hidden;
  /* roxo da marca no lugar do azul: é a cor de "apoiar" no conjunto, e a
     faixa fechava a página num tom que não aparece em nenhum outro lugar
     do fluxo de doação. Creme sobre #5b4488 dá 7,9:1. */
  background: var(--roxo-marca, #5b4488);
  color: var(--cream, #fff9ec);
}

.doar-pix-final::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -132px;
  right: -102px;
  width: 336px;
  height: 336px;
  border: 1px solid rgba(255, 249, 236, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(255, 249, 236, 0.06), 0 0 0 86px rgba(255, 249, 236, 0.04);
}

.doar-pix-final__copy {
  max-width: 34rem;
}

.doar-pix-final__eyebrow {
  margin: 0 0 12px;
  color: var(--pink-soft);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.doar-pix-final h2 {
  max-width: 16ch;
  margin: 0;
  color: inherit;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.7vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.doar-pix-final__copy > p:last-child {
  max-width: 48ch;
  margin: 18px 0 0;
  color: rgba(255, 249, 236, 0.84);
  font-size: clamp(0.94rem, 1.3vw, 1.08rem);
  font-weight: 600;
  line-height: 1.55;
}

.doar-pix-final__code {
  justify-self: end;
  display: grid;
  gap: 12px;
  width: min(100%, 226px);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 26px 26px 38px 26px;
  background: #fff;
  box-shadow: 0 16px 30px rgba(14, 26, 94, 0.2);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  transition: box-shadow 180ms ease;
}

.doar-pix-final__code:hover {
  transform: none;
  box-shadow: 0 16px 30px rgba(14, 26, 94, 0.2);
}

.doar-pix-final__code img {
  display: block;
  width: calc(100% - 4px);
  margin-inline: auto;
  padding: 11px;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid rgba(44, 55, 127, 0.1);
  border-radius: 17px 17px 25px 17px;
  background: #fff;
}

.doar-pix-final__key {
  display: grid;
  gap: 5px;
  padding: 0;
}

.doar-pix-final__key span {
  color: var(--rose);
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.doar-pix-final__key code {
  display: block;
  overflow: hidden;
  max-width: 100%;
  padding: 8px 6px;
  border: 1px solid rgba(44, 55, 127, 0.12);
  border-radius: 10px 10px 15px 10px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(0.63rem, 1vw, 0.74rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgba(247, 219, 230, 0.38);
}

.doar-pix-final__copybtn {
  display: inline-flex;
  width: 100%;
  min-height: 37px;
  align-items: center;
  justify-content: center;
  padding: 8px 11px;
  border: 0;
  border-radius: 11px 11px 17px 11px;
  color: #fff;
  background: var(--rose);
  box-shadow: 0 8px 16px rgba(196, 96, 139, 0.22);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.doar-pix-final__copybtn:hover {
  background: #b34f79;
  color: #fff;
  box-shadow: 0 9px 18px rgba(196, 96, 139, 0.26);
  transform: none;
}

.doar-pix-final__copybtn:focus-visible {
  outline: 3px solid var(--pink-soft);
  outline-offset: 3px;
}

.doar-pix-final__copybtn.is-copied {
  border-color: #4b8a5b;
  background: #4b8a5b;
  color: #fff;
}

/* mobile: coração e prédio centralizados um sobre o outro */
@media (max-width: 640px) {
  .dn-hero__art {
    height: clamp(240px, 66vw, 340px);
  }

  .dn-hero__heart {
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 100%;
    width: auto;
  }

  .dn-hero__art img.dn-hero__hospital,
  svg.dn-hero__hospital {
    right: 50%;
    transform: translateX(50%);
    width: 100%;
    bottom: 4%;
  }

  .doar-pix-final {
    grid-template-columns: 1fr;
    gap: 24px;
    /* margin-inline: 16px aqui era um bug: a largura continuava 100vw, então
       a faixa ficava do tamanho da tela MAIS 32px de margem. A página inteira
       ganhava rolagem lateral e o conteúdo aparecia deslocado — só não dava
       para ver porque o overflow-x: clip do <html> escondia.
       A faixa segue de borda a borda, como as outras; o respiro vira padding. */
    margin-inline: calc(50% - 50vw);
    padding: 30px 24px;
  }

  .doar-pix-final h2 {
    max-width: 15ch;
  }

  .doar-pix-final__code {
    justify-self: start;
    width: min(100%, 210px);
  }
}

/* menu mobile: o header precisa quebrar linha para o painel abrir por inteiro */
.doar-site-header.nav-open {
  flex-wrap: wrap;
}

/* A foto voltou a ser meia largura, então a origem de 1400px cobre a coluna
   com folga em qualquer tela — o teto de largura e a centralização que essa
   faixa precisava quando ocupava a viewport inteira saíram junto com ela. */

/* Ver o comentário em styles.css: QR reduzido com suavização não é lido.
   O seletor carrega .result-pix porque a regra de lá é (0,2,0). */
.result-pix .qr--image {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: pixelated;
  width: min(280px, 86%);
  padding: 16px;
  background: #fff;
}

/* A faixa PIX é a última coisa antes do rodapé.

   Entre as duas sobrava uma tira creme de 90px: a margem inferior da faixa
   (76px) encontrava a margem superior do rodapé (89,6px) e as duas colapsavam
   numa só. Como a faixa é roxa de borda a borda e o rodapé é navy, o creme do
   corpo aparecia no meio, parecendo uma seção vazia.

   As duas margens zeram e o roxo encosta direto no navy. */
.doar-body .doar-pix-final:last-child { margin-bottom: 0; }
.doar-body:has(.doar-pix-final:last-child) .site-footer { margin-top: 0; }

/* Cartão pela página da Asaas: o aviso no formulário e o passo final. */
.donate-card-aviso {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 4px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(63, 122, 74, 0.09);
  color: #2f5d38;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
}

.donate-card-aviso svg { flex: none; width: 18px; height: 18px; }

.result-cartao { display: grid; gap: 12px; justify-items: center; text-align: center; }

/* Doação online em breve: o aviso que ocupa o lugar do formulário enquanto a
   integração de pagamento não fica pronta. Aponta para o PIX fixo, que já
   funciona, em vez de deixar a pessoa sem caminho. */
.donate-embreve {
  display: grid;
  gap: 14px;
  justify-items: start;
  /* o widget não tem padding próprio (cada bloco do formulário traz a sua
     margem); sem isto o aviso encosta na borda e o selo cobre a faixa */
  padding: clamp(26px, 3.4vw, 34px) clamp(20px, 3vw, 30px) clamp(22px, 3vw, 28px);
  container-type: inline-size;
}

.donate-embreve__selo {
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--lilac-soft, #ecdff2);
  color: var(--roxo-marca-forte, #4a3672);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.donate-embreve h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

.donate-embreve p {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.6;
}

.donate-embreve__pix {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  width: 100%;
  margin-top: 4px;
  padding: 16px;
  border-radius: 20px;
  background: var(--cream, #fff9ec);
  border: 1px solid rgba(91, 68, 136, 0.14);
}

.donate-embreve__qr {
  display: block;
  width: 148px;
  height: 148px;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(44, 55, 127, 0.1);
  image-rendering: pixelated;
}

.donate-embreve__chave {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.donate-embreve__chave > span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.donate-embreve__chave strong {
  color: var(--roxo-marca, #5b4488);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.donate-embreve__copiar {
  justify-self: start;
  margin-top: 6px;
}

.donate-embreve__copiar.is-copied {
  background: #4b8a5b;
  color: #fff;
}

.donate-embreve .donate-embreve__passos {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.donate-embreve .donate-embreve__nota {
  padding-top: 14px;
  width: 100%;
  border-top: 1px solid rgba(44, 55, 127, 0.08);
  font-size: 0.88rem;
}

.donate-embreve__nota a { color: var(--roxo-marca, #5b4488); font-weight: 700; }

/* Coluna estreita (celular, ou o widget espremido ao lado do texto): chave e
   botão primeiro, QR embaixo. No celular o QR não serve para quem está nele,
   então copiar a chave é o caminho principal. Container query porque quem
   aperta é a coluna do widget, não a janela. */
@container (max-width: 520px) {
  .donate-embreve__pix {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .donate-embreve__qr { order: 2; width: 132px; height: 132px; }
  .donate-embreve__chave { order: 1; justify-items: center; width: 100%; }
  .donate-embreve__copiar { justify-self: stretch; justify-content: center; }
}

/* a âncora do PIX não pode parar embaixo do cabeçalho fixo */
#pix-final { scroll-margin-top: 90px; }
