/* =============================================
   Tema Vakinha — verde fresco + branco
   ============================================= */
:root {
  /* Verde vakinha */
  --green:       #00BF6F;
  --green-dark:  #009957;
  --green-light: #00D97E;
  --green-bg:    #F0FDF8;
  --green-glow:  rgba(0,191,111,0.28);

  /* Laranja secundário (urgência) */
  --orange:      #FF6B35;
  --orange-bg:   #FFF4EF;

  /* Neutros */
  --ink:         #1A1A2E;
  --ink-muted:   #6B7280;
  --ink-light:   #9CA3AF;
  --white:       #FFFFFF;
  --off-white:   #F9FAFB;
  --border:      #E5E7EB;
  --border-soft: #F3F4F6;

  /* Emerald para sucesso */
  --emerald:     #059669;
  --emerald-bg:  #ECFDF5;

  /* Sombras */
  --shadow-xs:   0 1px 3px rgba(0,0,0,0.06);
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:   0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.13);
  --shadow-xl:   0 24px 72px rgba(0,0,0,0.16);
  --shadow-green: 0 8px 28px var(--green-glow);

  /* Geometria */
  --radius-xs:   6px;
  --radius-sm:   12px;
  --radius:      18px;
  --radius-lg:   24px;
  --radius-pill: 999px;

  --transition: 0.2s cubic-bezier(0.4,0,0.2,1);
}

/* =============================================
   Reset & Base
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input  { font-family: inherit; }
em     { font-style: italic; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}
.hidden { display: none !important; }

h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; }

/* =============================================
   Urgency Bar (acima do header)
   ============================================= */
.urgency-bar {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  font-size: 0.76rem;
  font-weight: 500;
  text-align: center;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.urgency-bar strong { color: var(--green-light); font-weight: 700; }
.urgency-bar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  flex-shrink: 0;
  animation: pulse-dot 1.4s infinite;
}
.urgency-bar__sep { color: rgba(255,255,255,0.3); }

/* =============================================
   Header
   ============================================= */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light), var(--green));
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header__logo-icon {
  width: 36px;
  height: 36px;
  background: var(--green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px var(--green-glow);
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header__logo-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.header__logo-sub {
  font-size: 0.68rem;
  color: var(--ink-muted);
  font-weight: 500;
}

/* Trust items no centro */
.header__center {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: center;
}

.header__trust-item {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
}

.header__trust-sep {
  color: var(--border);
  font-size: 0.8rem;
}

/* CTA do header */
.header__actions { flex-shrink: 0; }

.header__cta {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-green);
  letter-spacing: -0.01em;
}
.header__cta:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--green-glow);
}

.logo-heart { color: var(--green); font-size: 1.2rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.73rem;
  font-weight: 600;
  white-space: nowrap;
}
.badge--green  { background: var(--green-bg); color: var(--green-dark); border: 1px solid rgba(0,191,111,0.2); }
.badge--purple { background: #F5F3FF; color: #7C3AED; border: 1px solid rgba(124,58,237,0.15); }

/* =============================================
   Campaign — layout estilo vakinha
   ============================================= */
.campaign {
  background: var(--off-white);
  padding: 40px 0 64px;
  border-bottom: 1px solid var(--border-soft);
}

.campaign__grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

/* Foto */
.campaign__photo-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.campaign__photo {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Meta info (categoria + localização) */
.campaign__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.campaign__meta-sep { color: var(--border); }

/* Título */
.campaign__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 14px;
}

/* Texto da história */
.campaign__story {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.85;
  margin-bottom: 28px;
  white-space: pre-line;
}

/* =============================================
   Sidebar
   ============================================= */
.campaign__sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* Barra de progresso fina no topo */
.sidebar-progress-track {
  height: 5px;
  background: var(--border-soft);
  width: 100%;
}

.sidebar-progress-fill {
  height: 100%;
  background: var(--green);
  width: 0%;
  transition: width 2s cubic-bezier(0.22, 1, 0.36, 1);
}

.sidebar-body { padding: 20px 22px 24px; }

.sidebar-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.sidebar-raised {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--green);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}

.sidebar-goal-text {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 14px;
}

.sidebar-stats {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 10px 0;
  margin-bottom: 16px;
}

.sidebar-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.83rem;
  color: var(--ink-muted);
}
.sidebar-stat-row strong { color: var(--ink); }

/* Botões do sidebar */
.btn-help {
  display: block;
  width: 100%;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background var(--transition), transform var(--transition);
  font-family: inherit;
  box-shadow: var(--shadow-green);
}
.btn-help:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.btn-share {
  display: block;
  width: 100%;
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 16px;
  transition: border-color var(--transition);
  font-family: inherit;
}
.btn-share:hover { border-color: var(--ink-muted); }

/* Badge "Doação Protegida" */
.trust-badge-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-bg);
  color: var(--green-dark);
  border: 1px solid rgba(0,191,111,0.2);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

/* Info do criador da campanha */
.creator-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}

.creator-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.creator-name { font-size: 0.86rem; font-weight: 700; color: var(--ink); }
.creator-since { font-size: 0.74rem; color: var(--ink-muted); }

.live-chip {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
  letter-spacing: 0.04em;
}
.live-dot {
  width: 7px;
  height: 7px;
  background: #4ADE80;
  border-radius: 50%;
  animation: pulse-dot 1.4s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

/* =============================================
   Doadores recentes
   ============================================= */
.donors-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.donors-card__title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 12px;
}

.donors-list {
  max-height: 210px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.donor-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-soft);
  animation: slide-in 0.3s ease;
}
.donor-item:last-child { border-bottom: none; }

@keyframes slide-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.donor-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.donor-info { flex: 1; min-width: 0; }
.donor-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.donor-time { font-size: 0.7rem; color: var(--ink-light); }
.donor-amount { font-size: 0.84rem; font-weight: 700; color: var(--green-dark); white-space: nowrap; }

/* =============================================
   Botões
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow-green);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px var(--green-glow);
}
.btn-primary:active  { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.65; pointer-events: none; }

.btn-large { padding: 18px 40px; font-size: 1.05rem; }
.btn-full  { width: 100%; border-radius: var(--radius-sm); }

.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  width: 100%;
}
.btn-ghost:hover { border-color: var(--ink-muted); color: var(--ink); }

.btn-copy {
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  font-size: 0.85rem;
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  flex-shrink: 0;
  font-weight: 600;
  transition: background var(--transition);
}
.btn-copy:hover  { background: #333; }
.btn-copy.copied { background: var(--emerald); }

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--ink-muted);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  margin-bottom: 18px;
  transition: color var(--transition);
}
.btn-back:hover { color: var(--ink); }

.btn-pulse {
  animation: btn-pulse 2.8s infinite;
}
@keyframes btn-pulse {
  0%, 100% { box-shadow: var(--shadow-green); }
  50%       { box-shadow: 0 8px 48px var(--green-glow), 0 0 0 12px rgba(0,191,111,0.08); }
}

/* =============================================
   Seção de Doação
   ============================================= */
.donation-section {
  padding: 80px 0 72px;
  background: var(--off-white);
  position: relative;
}

.donation-section::before { display: none; }

.section-header {
  text-align: center;
  margin-bottom: 44px;
}

.section-eyebrow {
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 10px;
}

.section-header h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
}
.section-header h2 em { color: var(--green); }

/* Card de doação */
.donation-card {
  max-width: 580px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border);
  position: relative;
}

.donation-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.step-title {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 22px;
}

/* Grid de valores */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.amount-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 10px 15px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Fraunces', serif;
  letter-spacing: -0.02em;
}
.amount-btn:hover {
  border-color: var(--green);
  color: var(--green-dark);
  background: var(--green-bg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-xs);
}
.amount-btn.selected {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow-green);
  transform: translateY(-1px);
}

.popular-tag {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}

/* Valor personalizado */
.custom-amount-wrapper { margin-bottom: 22px; }

.custom-amount-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.custom-amount-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.custom-amount-input {
  display: flex;
  flex: 1;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}
.custom-amount-input:focus-within { border-color: var(--green); }

.custom-amount-input span {
  padding: 12px 14px;
  background: var(--off-white);
  font-weight: 700;
  color: var(--ink-muted);
  border-right: 2px solid var(--border);
  font-size: 0.95rem;
  white-space: nowrap;
}

.custom-amount-input input {
  flex: 1;
  border: none;
  padding: 12px 14px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: 'Fraunces', serif;
  outline: none;
  background: transparent;
  color: var(--ink);
  min-width: 0;
}
.custom-amount-input input::placeholder {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

/* Erro */
.error-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFF7ED;
  border: 1px solid rgba(255,107,53,0.25);
  color: #C2410C;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.86rem;
  font-weight: 500;
  margin-bottom: 16px;
}
.error-banner::before { content: '⚠️'; flex-shrink: 0; }

/* Gerando... */
.generating-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--green-bg);
  border-radius: var(--radius-sm);
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 600;
  margin-top: 8px;
}

/* =============================================
   Como funciona
   ============================================= */
.how-it-works {
  padding: 80px 0;
  background: var(--white);
  border-top: 1px solid var(--border-soft);
}

.section-title-center {
  font-family: 'Fraunces', serif;
  text-align: center;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 48px;
}
.section-title-center em { color: var(--green); font-style: italic; }

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.how-step {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px 26px;
  text-align: center;
  transition: all var(--transition);
}
.how-step:hover {
  border-color: var(--green);
  background: var(--green-bg);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.how-step__number {
  font-family: 'Fraunces', serif;
  font-size: 2.6rem;
  font-weight: 900;
  color: rgba(0,191,111,0.15);
  line-height: 1;
  margin-bottom: -2px;
  letter-spacing: -0.05em;
}
.how-step__icon { font-size: 2rem; margin-bottom: 12px; }
.how-step h3 { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.how-step p  { font-size: 0.83rem; color: var(--ink-muted); line-height: 1.6; }

/* =============================================
   Trust Bar
   ============================================= */
.trust-bar {
  background: var(--ink);
  padding: 28px 0;
}

.trust-bar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.trust-icon { font-size: 1.6rem; }
.trust-item strong { display: block; font-size: 0.9rem; font-weight: 700; }
.trust-item span   { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.5); }

.trust-separator { width: 1px; height: 36px; background: rgba(255,255,255,0.12); }

/* =============================================
   Footer
   ============================================= */
.footer {
  background: #111827;
  color: rgba(255,255,255,0.45);
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
}

.footer__info {
  text-align: right;
  font-size: 0.76rem;
  line-height: 1.9;
}

/* =============================================
   Modal PIX
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: overlay-in 0.2s ease;
}
@keyframes overlay-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: modal-in 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
.modal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 26px 26px 0;
}
.modal__title {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}
.modal__amount-label { font-size: 0.86rem; color: var(--ink-muted); }
.modal__amount-label strong { color: var(--green-dark); font-size: 1rem; }

.modal__expiry-badge {
  background: #FFF8EE;
  color: #B45309;
  border: 1px solid rgba(180,83,9,0.2);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: 0.77rem;
  font-weight: 700;
  white-space: nowrap;
}

.modal__body   { padding: 22px 26px; }
.modal__footer { padding: 0 26px 26px; }

.qr-wrapper { text-align: center; margin-bottom: 18px; }
.qr-frame {
  display: inline-flex;
  padding: 12px;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: var(--off-white);
  margin-bottom: 7px;
}
.qr-frame img { display: block; border-radius: var(--radius-xs); }
.qr-label { font-size: 0.79rem; color: var(--ink-muted); }

.or-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--ink-light);
  font-size: 0.76rem;
  font-weight: 500;
}
.or-divider::before, .or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.copy-wrapper {
  display: flex;
  margin-bottom: 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}
.copy-wrapper:focus-within { border-color: var(--green); }

.copy-input {
  flex: 1;
  border: none;
  padding: 10px 12px;
  font-size: 0.75rem;
  font-family: 'Courier New', monospace;
  background: var(--off-white);
  color: var(--ink);
  outline: none;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.pix-steps {
  background: var(--green-bg);
  border-radius: var(--radius-sm);
  padding: 14px 16px 14px 34px;
  margin-bottom: 16px;
  color: var(--green-dark);
  font-size: 0.82rem;
  line-height: 1.75;
  border: 1px solid rgba(0,191,111,0.15);
}
.pix-steps li { margin-bottom: 2px; }
.pix-steps li:last-child { margin-bottom: 0; }

.waiting-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 16px;
  background: #EFF6FF;
  border-radius: var(--radius-sm);
  color: #1D4ED8;
  font-size: 0.85rem;
  font-weight: 500;
}

.waiting-spinner {
  width: 17px;
  height: 17px;
  border: 2.5px solid rgba(29,78,216,0.2);
  border-top-color: #1D4ED8;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

.success-state {
  text-align: center;
  padding: 20px 8px 8px;
  animation: success-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes success-in {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* SVG checkmark animado */
.success-icon { display: flex; justify-content: center; margin-bottom: 14px; }
.success-svg  { width: 60px; height: 60px; }

.success-circle {
  stroke: var(--emerald);
  stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: stroke-circle 0.6s cubic-bezier(0.65,0,0.45,1) forwards;
}
.success-check {
  stroke: var(--emerald);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke-check 0.4s cubic-bezier(0.65,0,0.45,1) 0.5s forwards;
}
@keyframes stroke-circle {
  to { stroke-dashoffset: 0; }
}
@keyframes stroke-check {
  to { stroke-dashoffset: 0; }
}

.success-title {
  font-family: 'Fraunces', serif;
  color: var(--emerald);
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 6px;
}
.success-msg { color: var(--ink-muted); font-size: 0.88rem; margin-bottom: 16px; }

/* Botão compartilhar WhatsApp */
.btn-success-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 20px;
  transition: background var(--transition);
}
.btn-success-share:hover { background: #1ebe5d; }

/* Order Bump */
.order-bump {
  background: #FFFBEB;
  border: 2px solid #F59E0B;
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: left;
  margin-top: 4px;
}

.order-bump__badge {
  display: inline-block;
  background: #F59E0B;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.order-bump__title {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
}

.order-bump__text {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-bottom: 14px;
  line-height: 1.6;
}

.order-bump__amounts {
  display: flex;
  gap: 8px;
}

.order-bump__btn {
  flex: 1;
  padding: 10px 6px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
  transition: all var(--transition);
}
.order-bump__btn:hover {
  border-color: var(--green);
  color: var(--green-dark);
  background: var(--green-bg);
}

.order-bump__btn--popular {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: var(--shadow-green);
}
.order-bump__btn--popular:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
}

/* =============================================
   Aviso de pagamento (modal de valores)
   ============================================= */
.payment-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #FFFBEB;
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-top: 16px;
  font-size: 0.78rem;
  color: #92400E;
  line-height: 1.5;
}
.payment-notice__icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.payment-notice strong { display: block; font-weight: 700; margin-bottom: 2px; color: #78350F; }
.payment-notice p { margin: 0; }

/* =============================================
   Online dot
   ============================================= */
.online-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  animation: pulse-dot 1.4s infinite;
  margin-right: 4px;
  vertical-align: middle;
}

/* =============================================
   Countdown no sidebar
   ============================================= */
.sidebar-countdown {
  background: var(--green-bg);
  border: 1px solid rgba(0,191,111,0.18);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 14px;
}

.countdown-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
}

.countdown-grid {
  display: flex;
  align-items: center;
  gap: 4px;
}

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  border-radius: 6px;
  padding: 4px 8px;
  min-width: 38px;
  border: 1px solid rgba(0,191,111,0.15);
}

.countdown-block span {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--green-dark);
  line-height: 1;
}

.countdown-block small {
  font-size: 0.6rem;
  color: var(--ink-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.countdown-sep {
  font-size: 1rem;
  font-weight: 900;
  color: var(--green);
  margin: 0 1px;
  padding-bottom: 10px;
}

/* =============================================
   Toast de doação (canto inferior esquerdo)
   ============================================= */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 16px 12px 12px;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--green);
  animation: toast-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 230px;
  max-width: 290px;
  pointer-events: auto;
}

.toast.hiding {
  animation: toast-out 0.35s ease forwards;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateX(-24px) scale(0.94); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateX(0); max-height: 80px; }
  to   { opacity: 0; transform: translateX(-24px); max-height: 0; padding: 0; margin: 0; }
}

.toast__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.toast__text { flex: 1; min-width: 0; }
.toast__name { font-size: 0.83rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.toast__detail { font-size: 0.75rem; color: var(--green-dark); font-weight: 600; }
.toast__time { font-size: 0.69rem; color: var(--ink-light); }
.toast__icon { font-size: 1.1rem; flex-shrink: 0; }

/* =============================================
   Depoimentos
   ============================================= */
.testimonials {
  background: var(--white);
  padding: 64px 0;
  border-top: 1px solid var(--border-soft);
}

.testimonials__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-align: center;
  margin-bottom: 36px;
}
.testimonials__title em { color: var(--green); font-style: italic; }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 22px;
  border: 1.5px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.testimonial-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.testimonial-name { font-size: 0.88rem; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.testimonial-amount { font-size: 0.73rem; color: var(--green-dark); font-weight: 600; }

.testimonial-text {
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.75;
  font-style: italic;
}

.testimonial-stars { color: #F59E0B; font-size: 0.85rem; margin-top: 12px; letter-spacing: 1px; }

/* =============================================
   WhatsApp flutuante
   ============================================= */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 250;
  transition: transform var(--transition), box-shadow var(--transition);
  color: #fff;
  text-decoration: none;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.55);
}
.whatsapp-btn svg { width: 27px; height: 27px; }

/* =============================================
   Mobile CTA flutuante
   ============================================= */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  z-index: 250;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.mobile-cta__btn {
  width: 100%;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition);
}
.mobile-cta__btn:hover { background: var(--green-dark); }

/* =============================================
   Amount Modal — fechar + tamanho maior
   ============================================= */
.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--ink-muted);
  transition: all var(--transition);
  font-family: inherit;
}
.modal-close-btn:hover { background: var(--border); color: var(--ink); }

.amount-modal { max-width: 560px; }
.amount-modal .modal__title em { color: var(--green); }

/* Spinner verde para estado "Gerando" */
.gen-spinner {
  border-color: rgba(0,191,111,0.25) !important;
  border-top-color: var(--green-dark) !important;
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 960px) {
  .campaign__grid { grid-template-columns: 1fr; gap: 32px; }
  .campaign__sidebar { position: static; }
  .campaign { padding: 28px 0 48px; }
}

@media (max-width: 760px) {
  .mobile-cta { display: block; }
  .whatsapp-btn { bottom: 76px; right: 16px; }
  .toast-container { left: 12px; bottom: 80px; }
  .testimonials__grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .campaign__title { font-size: 1.55rem; }
  .sidebar-raised { font-size: 1.75rem; }
  .trust-bar__inner { gap: 24px; }
  .trust-separator { display: none; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__info { text-align: center; }
  .header__center { display: none; }
  .urgency-bar { font-size: 0.7rem; gap: 5px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .donation-card { padding: 22px 16px; }
  .modal__header, .modal__body, .modal__footer { padding-left: 18px; padding-right: 18px; }
}
