.doacoes-page {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: #2a2a2a;
  background: #f7f4ef;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.doacoes-hero {
  background: linear-gradient(135deg, #fff 0%, #f8f0e6 50%, #efe2d4 100%);
  padding: 2.5rem 1.25rem 2rem;
  text-align: center;
  border-bottom: 1px solid #e8dfd2;
}

.doacoes-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 4.5vw, 2.25rem);
  color: #5c2f24;
  line-height: 1.2;
}

.doacoes-hero p {
  margin: 0 auto;
  max-width: 42rem;
  font-size: 1.05rem;
  color: #4a4038;
}

.doacoes-main {
  flex: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  width: 100%;
  box-sizing: border-box;
}

.doacoes-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.07);
  border: 1px solid #ebe3d8;
}

.doacoes-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #666;
}

.doacoes-progress-label strong {
  color: #5c2f24;
  font-size: 1.1rem;
}

.doacoes-progress-bar {
  height: 14px;
  background: #ebe3d8;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.doacoes-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #c45c3e, #8b3a2f);
  border-radius: 999px;
  transition: width 0.4s ease;
}

.doacoes-meta-text {
  margin: 0 0 1.75rem;
  font-size: 0.88rem;
  color: #777;
  text-align: center;
}

.doacoes-motivation {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f0e8de;
}

.doacoes-motivation h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  color: #8b3a2f;
}

.doacoes-motivation p {
  margin: 0 0 0.75rem;
  color: #444;
  font-size: 0.98rem;
}

.doacoes-motivation p:last-child { margin-bottom: 0; }

.doacoes-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: #5c2f24;
  font-size: 0.95rem;
}

.doacoes-input-wrap {
  display: flex;
  align-items: stretch;
  margin-bottom: 1rem;
  border: 2px solid #e0d4c8;
  border-radius: 10px;
  overflow: hidden;
  background: #faf8f5;
  transition: border-color 0.15s ease;
}

.doacoes-input-wrap:focus-within {
  border-color: #8b3a2f;
  background: #fff;
}

.doacoes-input-prefix {
  display: flex;
  align-items: center;
  padding: 0 0.85rem;
  background: #f3ece3;
  color: #5c2f24;
  font-weight: 700;
  font-size: 1rem;
  border-right: 1px solid #e0d4c8;
}

.doacoes-input-wrap input {
  flex: 1;
  border: 0;
  padding: 0.85rem 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2a2a2a;
  background: transparent;
  min-width: 0;
}

.doacoes-input-wrap input:focus {
  outline: none;
}

.doacoes-input-wrap input::placeholder {
  color: #bbb;
  font-weight: 400;
}

.btn-doar {
  display: block;
  width: 100%;
  padding: 0.95rem 1.5rem;
  border: 0;
  border-radius: 10px;
  background: #8b3a2f;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn-doar:hover {
  background: #6e2e25;
}

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

.btn-doar:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.doacoes-feedback {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.92rem;
  display: none;
}

.doacoes-feedback.is-visible { display: block; }

.doacoes-feedback--success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.doacoes-feedback--error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

.doacoes-foot {
  text-align: center;
  padding: 1.25rem;
  font-size: 0.85rem;
  color: #888;
  border-top: 1px solid #e8dfd2;
}

.doacoes-foot a { color: #8b3a2f; }

@media (max-width: 767px) {
  .doacoes-hero {
    padding: 1.75rem 1rem 1.5rem;
  }

  .doacoes-main {
    padding: 1.5rem 1rem 2.5rem;
  }

  .doacoes-card {
    padding: 1.25rem;
  }

  .doacoes-progress-label {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .doacoes-input-wrap input {
    font-size: 1.1rem;
  }
}

@media (max-width: 380px) {
  .btn-doar {
    font-size: 1rem;
    padding: 0.85rem 1rem;
  }
}
