/* ==================== Google Fonts ==================== */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700;900&family=Inter:wght@400;500;600;700&display=swap');

/* ==================== Reset & Variables ==================== */
:root {
  /* Paleta conservadora/sóbria */
  --azul-escuro: #1e3a5f;
  --azul: #2d4a6f;
  --azul-claro: #3d5a7f;
  --verde-escuro: #1a4d3a;
  --verde: #2d6a4f;
  --verde-claro: #3d7a5f;
  --dourado: #c9a227;
  --dourado-claro: #d4af37;
  --dourado-escuro: #a68b1f;
  --branco: #ffffff;
  --cinza-claro: #f5f5f5;
  --cinza: #e5e5e5;
  --cinza-medio: #9ca3af;
  --texto: #1f2937;
  --texto-claro: #4b5563;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--cinza-claro);
  color: var(--texto);
  line-height: 1.7;
  min-height: 100vh;
  font-size: 17px;
}

/* ==================== Header ==================== */
header {
  background: var(--azul-escuro);
  color: var(--branco);
  text-align: center;
  padding: 1.5rem 1.5rem 2.5rem;
  position: relative;
}

header h1 {
  margin: 0;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

header > p {
  margin: 0.75rem auto 0;
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.9;
  max-width: 600px;
  line-height: 1.6;
}

/* Organizer Badge */
.org-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.org-avatar {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.org-avatar svg {
  width: 18px;
  height: 18px;
  fill: var(--branco);
}

.org-badge strong {
  color: var(--dourado-claro);
}

/* ==================== Subheader ==================== */
.subheader {
  background: linear-gradient(90deg, var(--dourado-escuro) 0%, var(--dourado) 50%, var(--dourado-escuro) 100%);
  text-align: center;
  padding: 1.5rem 1.5rem;
  border-bottom: 3px solid var(--verde-escuro);
}

.subheader h2 {
  margin: 0 0 0.5rem;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--azul-escuro);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.subheader p {
  margin: 0 auto;
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--texto);
  font-weight: 500;
}

/* ==================== VSL Container ==================== */
.vsl {
  max-width: 420px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border: 3px solid var(--dourado);
  background: var(--azul-escuro);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  aspect-ratio: 9 / 16;
}

.vsl video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
  pointer-events: none;
}

.sound-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 260px;
  height: 140px;
  background: var(--verde-escuro);
  color: var(--branco);
  border-radius: 12px;
  border: 2px solid var(--dourado);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  cursor: pointer;
  z-index: 5;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sound-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.sound-btn .sound-top {
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sound-btn .sound-bottom {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
}

.sound-btn svg {
  width: 44px;
  height: 44px;
}

@media (max-width: 720px) {
  .sound-btn {
    width: 220px;
    height: 120px;
  }
}

/* ==================== Stats Cards ==================== */
.stats {
  max-width: 800px;
  margin: 1.5rem auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0 1rem;
}

.stat-card {
  background: var(--branco);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-left: 4px solid var(--verde);
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: var(--verde);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--branco);
}

.stat-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--texto-claro);
  font-weight: 500;
}

.stat-card .number {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--azul-escuro);
  letter-spacing: -0.5px;
}

@media (max-width: 640px) {
  .stats {
    grid-template-columns: 1fr;
  }
  
  .stat-card p {
    font-size: 0.85rem;
  }
  
  .stat-card .number {
    font-size: 1.5rem;
  }
}

/* ==================== Progress Bar ==================== */
.progress {
  max-width: 800px;
  margin: 0 auto 1.5rem;
  padding: 0 1rem;
}

.progress {
  max-width: 800px;
  margin: 0 auto 1.5rem;
  background: var(--branco);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: var(--texto);
}

.progress-header span:last-child {
  color: var(--verde);
  font-weight: 700;
}

.progress-bar {
  height: 12px;
  border-radius: 6px;
  background: var(--cinza);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--verde);
  width: 81%;
  transition: width 1s ease-out;
  border-radius: 6px;
}

/* ==================== Trust Section ==================== */
.trust-section {
  max-width: 800px;
  margin: 0 auto 1.5rem;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.trust-item {
  background: var(--branco);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-top: 3px solid var(--dourado);
}

.trust-number {
  display: block;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--verde);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.trust-label {
  font-size: 0.95rem;
  color: var(--texto-claro);
  font-weight: 500;
}

.trust-icon {
  width: 36px;
  height: 36px;
  fill: var(--verde);
  margin-bottom: 0.5rem;
}

@media (max-width: 640px) {
  .trust-section {
    grid-template-columns: 1fr;
  }
  
  .trust-label {
    font-size: 0.9rem;
  }
}

/* ==================== Recent Donations ==================== */
.recent-donations {
  max-width: 800px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}

.recent-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--texto-claro);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.donation-feed {
  background: var(--branco);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.donation-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--cinza);
}

.donation-item:last-child {
  border-bottom: none;
}

.donor-info {
  display: flex;
  flex-direction: column;
}

.donor-name {
  font-weight: 600;
  color: var(--texto);
  font-size: 1rem;
}

.donor-location {
  font-size: 0.85rem;
  color: var(--cinza-medio);
}

.donor-amount {
  font-weight: 700;
  color: var(--verde);
  font-size: 1.1rem;
}

@media (max-width: 640px) {
  .recent-title {
    font-size: 0.9rem;
  }
  
  .donor-amount {
    font-size: 1.05rem;
  }
}

/* ==================== Context Section ==================== */
.context-section {
  max-width: 800px;
  margin: 0 auto 2rem;
  padding: 2rem 1.5rem;
  background: var(--branco);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.context-section h2 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--azul-escuro);
  margin-bottom: 1rem;
  text-align: center;
}

.context-section > p {
  text-align: center;
  color: var(--texto-claro);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.context-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.context-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.75rem 1rem;
  background: var(--cinza-claro);
  border-radius: 8px;
  border-left: 3px solid var(--verde);
}

.context-item svg {
  width: 24px;
  height: 24px;
  fill: var(--verde);
  flex-shrink: 0;
}

.context-item span {
  font-size: 1rem;
  color: var(--texto);
  font-weight: 500;
}

.context-highlight {
  text-align: center;
  font-size: 1.15rem;
  color: var(--azul-escuro);
  padding: 1rem;
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.1) 0%, rgba(201, 162, 39, 0.2) 50%, rgba(201, 162, 39, 0.1) 100%);
  border-radius: 8px;
  border: 1px solid var(--dourado);
}

@media (max-width: 640px) {
  .context-section h2 {
    font-size: 1.4rem;
  }
  
  .context-highlight {
    font-size: 1.1rem;
  }
}

/* ==================== Donate Section ==================== */
section.donate {
  background: var(--azul-escuro);
  color: var(--branco);
  padding: 3rem 1.5rem;
  text-align: center;
}

section.donate h2 {
  margin-bottom: 0.75rem;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

section.donate > p {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 400;
}

@media (max-width: 640px) {
  section.donate h2 {
    font-size: 1.5rem;
  }
  
  section.donate > p {
    font-size: 1.05rem;
  }
}

/* ==================== Donation Buttons ==================== */
.btn-donate-main {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 2.5rem;
  padding: 1.25rem 2rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--azul-escuro);
  background: var(--dourado);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
}

.btn-donate-main:hover {
  background: var(--dourado-claro);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.btn-donate-main:active {
  transform: translateY(0);
}

@media (max-width: 640px) {
  .btn-donate-main {
    font-size: 1.25rem;
  }
}

/* ==================== Donation Info ==================== */
.donation-info {
  display: grid;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.donation-info h3 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dourado-claro);
  margin-bottom: 0.5rem;
}

.donation-info p,
.donation-info ul {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  font-weight: 400;
}

.donation-info li {
  margin: 0.25rem 0;
}

@media (max-width: 640px) {
  .donation-info h3 {
    font-size: 1.2rem;
  }
  
  .donation-info p,
  .donation-info ul {
    font-size: 1rem;
  }
}

/* ==================== Social Proof Section ==================== */
.social-proof {
  background: var(--branco);
  padding: 3rem 1.5rem;
  text-align: center;
}

.social-proof h2 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--azul-escuro);
  margin-bottom: 2rem;
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.proof-item {
  text-align: center;
}

.proof-number {
  display: block;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--verde);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.proof-label {
  font-size: 0.95rem;
  color: var(--texto-claro);
  font-weight: 500;
}

.social-proof > p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--texto-claro);
  line-height: 1.7;
}

.social-proof strong {
  color: var(--azul-escuro);
}

@media (max-width: 640px) {
  .proof-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .proof-number {
    font-size: 2rem;
  }
  
  .proof-label {
    font-size: 0.9rem;
  }
  
  .social-proof > p {
    font-size: 1.05rem;
  }
}

/* ==================== Final CTA Section ==================== */
.final-cta {
  background: linear-gradient(135deg, var(--verde-escuro) 0%, var(--verde) 100%);
  color: var(--branco);
  padding: 3rem 1.5rem;
  text-align: center;
}

.final-cta h2 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.final-cta > p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  opacity: 0.95;
  line-height: 1.7;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dourado);
  color: var(--azul-escuro);
  font-weight: 700;
  font-size: 1.25rem;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-button:hover {
  background: var(--dourado-claro);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.cta-note {
  margin-top: 1rem;
  font-size: 0.95rem;
  opacity: 0.9;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
}

@media (max-width: 640px) {
  .final-cta h2 {
    font-size: 1.5rem;
  }
  
  .final-cta > p {
    font-size: 1.05rem;
  }
  
  .cta-button {
    font-size: 1.15rem;
  }
  
  .cta-note {
    font-size: 0.9rem;
  }
}

/* ==================== Footer ==================== */
footer {
  background: #162d4a;
  color: var(--branco);
  padding: 2rem 1.5rem;
  border-top: 3px solid var(--dourado);
}

.footer-org {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-org-avatar {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-org-avatar svg {
  width: 28px;
  height: 28px;
  fill: var(--branco);
}

.footer-org-info {
  text-align: left;
}

.footer-org-info strong {
  display: block;
  font-size: 1.05rem;
  color: var(--dourado-claro);
}

.footer-org-info p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0.25rem 0;
}

.social-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.social-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.social-links a:hover {
  color: var(--branco);
  text-decoration: underline;
}

.social-links a.whatsapp {
  color: #25d366;
}

.social-links span {
  opacity: 0.4;
}

.footer-legal {
  text-align: center;
}

.footer-legal p {
  font-size: 0.9rem;
  opacity: 0.7;
  margin: 0.25rem 0;
}

.footer-copy {
  font-size: 0.85rem;
}

/* ==================== Modal ==================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 58, 95, 0.9);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
}

.modal-content {
  background: var(--branco);
  border-radius: 16px;
  max-width: 400px;
  width: 90%;
  padding: 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  z-index: 10000;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  border: 2px solid var(--dourado);
}

.modal-header {
  background: var(--verde-escuro);
  color: var(--branco);
  font-weight: 700;
  font-size: 1.15rem;
  padding: 1rem;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-header button.close {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  font-size: 18px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--branco);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.modal-header button.close:hover {
  background: rgba(255,255,255,0.25);
}

.modal-body {
  padding: 1.5rem;
}

/* Modal Trust Badge */
.modal-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 10px 12px;
  margin: 12px 0;
}

.modal-trust svg {
  width: 20px;
  height: 20px;
  fill: var(--verde);
  flex-shrink: 0;
}

.modal-trust span {
  font-size: 0.85rem;
  color: var(--verde-escuro);
  font-weight: 500;
}

#pixQr {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 150px;
}

#pixQr svg {
  max-width: 150px;
  height: auto;
}

#pixQr canvas {
  border: 2px solid var(--verde);
  border-radius: 8px;
  display: block;
  margin: 10px auto;
}

.pix-code-box {
  background: var(--cinza-claro);
  border: 1px solid var(--cinza);
  border-radius: 8px;
  padding: 12px;
  font-size: 11px;
  text-align: left;
  word-break: break-all;
  margin-top: 10px;
  font-family: 'Courier New', monospace;
  color: var(--texto);
}

.copy-btn {
  background: var(--verde);
  color: var(--branco);
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  margin: 12px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: var(--verde-escuro);
}

.copy-btn svg {
  margin-right: 4px;
}

/* ==================== Spinner ==================== */
.spinner {
  border: 3px solid rgba(30, 58, 95, 0.2);
  border-top: 3px solid var(--azul-escuro);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: inline-block;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

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

/* ==================== Copy Alert ==================== */
#copyAlert {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--verde);
  color: var(--branco);
  padding: 14px 20px;
  border-radius: 8px;
  display: none;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  align-items: center;
  gap: 10px;
  z-index: 99999;
  animation: fadeInOut 3s forwards;
}

#copyAlert svg {
  width: 18px;
  height: 18px;
  stroke: var(--branco);
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translateY(-15px); }
  10% { opacity: 1; transform: translateY(0); }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-15px); }
}

/* ==================== Donation Amount Modal ==================== */
.modal-donation-content {
  max-width: 480px;
  padding: 1.5rem;
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--texto-claro);
  transition: all 0.2s;
  z-index: 10;
}

.modal-close-btn:hover {
  background: rgba(0,0,0,0.15);
  color: var(--texto);
}

.donation-modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-top: 0.5rem;
}

.donation-modal-header h3 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--azul-escuro);
  margin-bottom: 0.5rem;
}

.donation-modal-header p {
  font-size: 0.95rem;
  color: var(--texto-claro);
}

.donation-amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.donation-amount-btn {
  padding: 1rem 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--texto);
  background: var(--cinza-claro);
  border: 2px solid var(--cinza);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.donation-amount-btn:hover {
  background: var(--verde);
  color: var(--branco);
  border-color: var(--verde);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.3);
}

.donation-amount-btn.selected {
  background: var(--verde);
  color: var(--branco);
  border-color: var(--verde);
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.3);
}

.donation-custom-amount {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--cinza-claro);
  border-radius: 12px;
}

.donation-custom-amount label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--texto);
  margin-bottom: 1rem;
  text-align: center;
}

.range-display {
  text-align: center;
  margin-bottom: 1rem;
}

.range-value {
  display: inline-block;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--verde);
  padding: 0.5rem 1.5rem;
  background: var(--branco);
  border-radius: 10px;
  border: 2px solid var(--verde);
}

.donation-range-slider {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--cinza);
  border-radius: 999px;
  outline: none;
  margin-bottom: 0.5rem;
}

.donation-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  background: var(--verde);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(45, 106, 79, 0.4);
  transition: all 0.2s;
}

.donation-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 10px rgba(45, 106, 79, 0.5);
}

.donation-range-slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  background: var(--verde);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(45, 106, 79, 0.4);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--texto-claro);
}

.btn-continue-pix {
  display: block;
  width: 100%;
  padding: 1.125rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--branco);
  background: var(--verde);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.3);
  transition: all 0.2s;
}

.btn-continue-pix:hover {
  background: var(--verde-escuro);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(45, 106, 79, 0.4);
}

@media (max-width: 480px) {
  .donation-amount-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .donation-modal-header h3 {
    font-size: 1.35rem;
  }
  
  .donation-amount-btn {
    font-size: 1.15rem;
  }
  
  .range-value {
    font-size: 1.75rem;
  }
}

/* ==================== Sticky Footer Mobile ==================== */
.sticky-footer-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--branco);
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  z-index: 100;
  border-top: 2px solid var(--dourado);
}

.mobile-stats {
  margin-bottom: 0.5rem;
}

.mobile-progress {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.375rem;
}

.mobile-percent {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--verde);
}

.mobile-meta {
  font-size: 0.9rem;
  color: var(--texto-claro);
}

.progress-bar-mini {
  width: 100%;
  height: 6px;
  background: var(--cinza);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill-mini {
  height: 100%;
  width: 81%;
  background: var(--verde);
  border-radius: 3px;
}

.btn-donate-mobile {
  display: block;
  width: 100%;
  padding: 0.875rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--azul-escuro);
  background: var(--dourado);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: all 0.2s;
}

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

/* ==================== Breathing Animation ==================== */
#pixStatus.breath {
  animation: breath 2s ease-in-out infinite;
}

@keyframes breath {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

/* ==================== Responsive ==================== */
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  header h1 {
    font-size: 1.75rem;
  }

  header > p {
    font-size: 1rem;
  }

  .subheader h2 {
    font-size: 1.35rem;
  }
  
  .subheader p {
    font-size: 1rem;
  }
  
  .org-badge {
    font-size: 0.85rem;
  }
  
  .footer-org {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-org-info {
    text-align: center;
  }
  
  .context-section {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  
  /* Sticky footer mobile visible */
  .sticky-footer-mobile {
    display: block;
  }
  
  body {
    padding-bottom: 100px;
  }
  
  footer {
    margin-bottom: 0;
  }
}
