/* ==========================================================================
   Design System & Variáveis de Estilo
   Vaquinha Solidária de Natal do Thor
   ========================================================================== */

:root {
  /* Cores Principais */
  --primary-color: #c92a2a;
  --primary-hover: #b02525;
  --primary-light: #fff5f5;
  --primary-border: #ffc9c9;

  --accent-green: #059669;
  --accent-green-light: #ecfdf5;
  --accent-gold: #d97706;
  --accent-gold-light: #fef3c7;

  /* Neutros e Superfícies */
  --bg-page: #fbf9f6;
  --bg-card: #ffffff;
  --bg-subtle: #f4efe9;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border-color: #e5e7eb;
  --border-focus: #f87171;

  /* Tipografia */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Sombras & Efeitos */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(201, 42, 42, 0.3);

  /* Transições */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 70px; /* Espaço para o sticky footer mobile */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Barra de Urgência do Topo
   ========================================================================== */

.emergency-bar {
  background: linear-gradient(90deg, #991b1b, #c92a2a, #991b1b);
  background-size: 200% auto;
  color: #ffffff;
  padding: 10px 16px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(153, 27, 27, 0.25);
  animation: shineGradient 8s ease infinite;
}

@keyframes shineGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.emergency-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge-pulse {
  background: #ffffff;
  color: #991b1b;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
  animation: pulseBadge 1.8s infinite;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.countdown-mini {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  letter-spacing: 0.5px;
}

.countdown-mini .time-part {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
}

.countdown-mini .time-part strong {
  color: #fef08a; /* Amarelo quente de destaque */
  font-weight: 800;
}

.countdown-mini .time-sep {
  opacity: 0.5;
  margin: 0 4px;
}

/* ==========================================================================
   Cabeçalho
   ========================================================================== */

.header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  font-size: 1.8rem;
  background: var(--primary-light);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--primary-border);
}

.brand-title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-main);
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--accent-green);
  font-weight: 600;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-green-light);
  color: var(--accent-green);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(5, 150, 105, 0.2);
}

@media (max-width: 580px) {
  .trust-badge {
    display: none;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  padding: 40px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 480px 1fr;
    gap: 48px;
    align-items: start;
  }
}

/* Coluna 1: Imagem e Cartões */
.hero-media-wrapper {
  position: relative;
}

.image-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
}

.hero-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-card:hover .hero-img {
  transform: scale(1.02);
}

.image-badge-status {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.dot-live {
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 8px #ef4444;
  animation: liveBlink 1.4s infinite;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.image-overlay-caption {
  padding: 16px 20px;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.45;
}

.credibility-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.cred-item {
  background: #ffffff;
  padding: 12px 10px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cred-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.cred-item strong {
  display: block;
  font-size: 0.78rem;
  color: var(--text-main);
  line-height: 1.2;
}

.cred-item small {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.2;
}

/* Coluna 2: Conteúdo & Doação */
.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gold-light);
  color: #92400e;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.pill-divider {
  opacity: 0.6;
}

.main-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.highlight-text {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.hero-desc {
  font-size: 1.05rem;
  color: #4b5563;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Card de Arrecadação */
.fundraiser-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}

.fundraiser-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.amount-label, .goal-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.raised-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-green);
  line-height: 1.1;
}

.goal-number {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
}

.progress-bar-container {
  width: 100%;
  height: 16px;
  background-color: #f3f4f6;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
  margin-bottom: 12px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #059669);
  border-radius: 999px;
  position: relative;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-glow {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: barGlow 2.5s infinite;
}

@keyframes barGlow {
  0% { transform: translateX(-150px); }
  100% { transform: translateX(100px); }
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Box de Urgência & Contagem Regressiva no Card */
.fundraiser-urgency-box {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-color);
  background: #fff8f8;
  border-radius: 14px;
  padding: 14px;
  border: 1px solid #fee2e2;
}

.fub-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #991b1b;
  font-weight: 600;
  margin-bottom: 10px;
  text-align: center;
}

.fub-header strong {
  color: #7f1d1d;
  font-weight: 800;
}

.countdown-blocks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cblock {
  background: #ffffff;
  border: 1.5px solid #fecaca;
  border-radius: 10px;
  padding: 6px 10px;
  min-width: 58px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(185, 28, 28, 0.08);
}

.cblock-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #b91c1c;
  line-height: 1.1;
}

.cblock-lbl {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  color: #9ca3af;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.cblock-dots {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #f87171;
  opacity: 0.7;
}

/* ==========================================================================
   Caixa de Doação Rápida PIX (O Coração da Conversão)
   ========================================================================== */

.donation-box {
  background: linear-gradient(180deg, #ffffff, #fffcfb);
  border: 2px solid var(--primary-border);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(201, 42, 42, 0.05);
  position: relative;
}

.donation-box-title {
  margin-bottom: 18px;
}

.donation-box-title span {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.donation-box-title small {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Grid de Cotas */
.cotas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

@media (min-width: 480px) {
  .cotas-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cota-btn {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  padding: 14px 8px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.cota-btn:hover {
  border-color: var(--primary-color);
  background: var(--primary-light);
  transform: translateY(-2px);
}

.cota-btn.active-cota {
  border-color: var(--primary-color);
  background: #fff5f5;
  box-shadow: 0 4px 12px rgba(201, 42, 42, 0.15);
}

.cota-btn.popular-badge {
  border-color: #f87171;
}

.pop-tag {
  position: absolute;
  top: -10px;
  background: linear-gradient(90deg, #dc2626, #b91c1c);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(185, 28, 28, 0.4);
}

.cota-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.active-cota .cota-price {
  color: var(--primary-color);
}

.cota-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.2;
}

/* Mensagem de Impacto da Cota */
.cota-impact {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: #92400e;
  margin-bottom: 20px;
  line-height: 1.4;
  animation: fadeIn 0.3s ease;
}

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

/* Área de Ação PIX */
.pix-action-area {
  background: #f9fafb;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 18px;
}

.pix-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.pix-input-group {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

#pix-key-input {
  flex: 1;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  outline: none;
  font-family: monospace;
}

.btn-copy-pix {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-copy-pix:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}

.btn-copy-pix:active {
  transform: translateY(1px);
}

.pix-instructions {
  font-size: 0.82rem;
  color: #4b5563;
  line-height: 1.4;
  margin-bottom: 14px;
  padding-left: 2px;
}

.qr-toggle-wrapper {
  margin-bottom: 16px;
  text-align: center;
}

.btn-toggle-qr {
  font-size: 0.82rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: underline;
  padding: 4px;
}

.qr-code-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 16px;
  display: inline-block;
  margin-top: 10px;
  box-shadow: var(--shadow-sm);
}

.qr-frame img {
  margin: 0 auto 8px;
  border-radius: 8px;
}

.qr-helper {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.pix-beneficiary {
  border-top: 1px dashed var(--border-color);
  padding-top: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.beneficiary-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.beneficiary-row strong {
  color: var(--text-main);
}

/* ==========================================================================
   Seção: História & Linha do Tempo
   ========================================================================== */

.story-section {
  padding: 70px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-heading {
  margin-bottom: 48px;
}

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

.sub-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.section-heading h2 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 900px) {
  .story-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
  }
}

.story-step {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
  position: relative;
}

.story-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 21px;
  top: 48px;
  bottom: -20px;
  width: 2px;
  background: #e5e7eb;
}

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  z-index: 1;
}

.step-body h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.step-body p {
  font-size: 0.98rem;
  color: #4b5563;
  line-height: 1.6;
}

.highlight-step .step-icon {
  background: var(--primary-light);
  border-color: var(--primary-border);
}

.highlight-step h3 {
  color: var(--primary-color);
}

.vet-photo-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  background: #ffffff;
}

.story-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.vet-card-caption {
  padding: 20px;
}

.vet-card-caption h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.vet-card-caption p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.45;
}

/* ==========================================================================
   Seção: Casos que já salvamos juntos (Cards de Impacto e Prova)
   ========================================================================== */

.saved-cases-section {
  padding: 75px 0;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-color);
}

.saved-cases-section .container {
  max-width: 1240px;
}

.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 24px;
}

@media (min-width: 620px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .cases-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.case-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #fca5a5;
}

.case-img-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.case-card:hover .case-img {
  transform: scale(1.02);
}

.case-badge-status {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(17, 24, 39, 0.88);
  backdrop-filter: blur(6px);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.case-body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
  align-items: center;
}

.case-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.case-location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #b91c1c;
  margin-bottom: 12px;
}

.loc-icon {
  font-size: 0.9rem;
}

.case-desc {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.btn-case-action {
  background: #b91c1c;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.28);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
}

.btn-case-action:hover {
  background: #991b1b;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(185, 28, 28, 0.4);
}

.cases-trust-footer {
  margin-top: 36px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 14px 22px;
  border-radius: 14px;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.45;
}

/* ==========================================================================
   Seção: Transparência & Tabela de Orçamento
   ========================================================================== */

.transparency-section {
  padding: 70px 0;
  background: var(--bg-page);
}

.budget-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.mobile-table-hint {
  display: none;
  font-size: 0.78rem;
  color: #64748b;
  text-align: center;
  padding: 8px 12px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  font-weight: 600;
}

@media (max-width: 680px) {
  .mobile-table-hint {
    display: block;
  }
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.budget-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.budget-table th, .budget-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.budget-table th {
  background: #f9fafb;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.budget-table td strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

.budget-table td small {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.text-right {
  text-align: right;
}

.bold {
  font-weight: 700;
}

.status-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.status-pill.waiting {
  background: #fee2e2;
  color: #b91c1c;
}

.status-pill.partial {
  background: #fef3c7;
  color: #b45309;
}

.status-pill.paid {
  background: #ecfdf5;
  color: #047857;
}

.budget-table tfoot td {
  background: #f9fafb;
  padding: 20px;
  border-bottom: none;
}

.total-cost {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-color);
}

.transparency-footer {
  background: #f8fafc;
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tf-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #475569;
}

/* ==========================================================================
   Seção: Prova Social & Depoimentos
   ========================================================================== */

.social-proof-section {
  padding: 70px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 50px;
}

@media (min-width: 680px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #d1d5db;
}

.testi-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid var(--border-color);
}

.testi-header strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

.donor-city {
  font-size: 0.78rem;
  color: var(--accent-green);
  font-weight: 700;
}

.testi-text {
  font-size: 0.92rem;
  color: #4b5563;
  line-height: 1.5;
  font-style: italic;
}

.testi-time {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* CTA Banner Final */
.cta-banner {
  background: linear-gradient(135deg, #1f2937, #111827);
  border-radius: 24px;
  padding: 36px 30px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 860px) {
  .cta-banner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 40px 48px;
  }
}

.cta-content h3 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.cta-content p {
  font-size: 1rem;
  color: #d1d5db;
  max-width: 520px;
}

.btn-cta-scroll {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  padding: 16px 32px;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(239, 68, 68, 0.4);
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-cta-scroll:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(239, 68, 68, 0.5);
}

/* ==========================================================================
   Seção: FAQ
   ========================================================================== */

.faq-section {
  padding: 70px 0;
  background: var(--bg-page);
}

.faq-container {
  max-width: 780px;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.accordion-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item.active {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-sm);
}

.accordion-header {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
}

.accordion-icon {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 22px;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  transition: max-height 0.3s ease-in-out;
  padding-bottom: 20px;
}

.accordion-content p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
}

/* ==========================================================================
   Rodapé
   ========================================================================== */

.footer {
  background: #111827;
  color: #9ca3af;
  padding: 50px 0 30px;
  font-size: 0.88rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-col p {
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #1f2937;
  padding-top: 24px;
  font-size: 0.8rem;
  color: #6b7280;
}

/* ==========================================================================
   Barra Fixa Mobile (Sticky Footer Bar)
   ========================================================================== */

.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.08);
  z-index: 99;
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none;
  }
}

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

.msb-meta {
  font-size: 0.85rem;
  color: var(--text-main);
}

.msb-target {
  font-size: 0.75rem;
  color: var(--accent-green);
  font-weight: 700;
}

.msb-btn {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.3);
  white-space: nowrap;
}

/* ==========================================================================
   Notificações & Toasts Flutuantes
   ========================================================================== */

/* Toast de PIX Copiado */
.toast-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #111827;
  color: #ffffff;
  padding: 16px 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transform: translateY(-80px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 380px;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.toast-body strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.toast-body p {
  font-size: 0.82rem;
  color: #9ca3af;
  line-height: 1.35;
}

/* Popup Social Proof (Canto Inferior Esquerdo) */
.social-notification {
  position: fixed;
  bottom: 80px;
  left: 20px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 90;
  transform: translateX(-150%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 320px;
}

@media (min-width: 768px) {
  .social-notification {
    bottom: 24px;
  }
}

.social-notification.show {
  transform: translateX(0);
  opacity: 1;
}

.s-notif-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.s-notif-info {
  font-size: 0.8rem;
  line-height: 1.35;
}

.s-notif-info strong {
  color: var(--text-main);
}

.s-notif-info p strong {
  color: var(--accent-green);
}

.s-notif-info small {
  color: var(--text-light);
  display: block;
  font-size: 0.72rem;
}

/* ==========================================================================
   Otimizações de Centralização e Responsividade Perfeita Mobile (< 768px e < 480px)
   ========================================================================== */

/* Prevenção de rolagem lateral horizontal em qualquer dispositivo */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 24px 0 36px;
  }

  .main-title {
    font-size: 1.75rem;
    line-height: 1.25;
    text-align: center;
  }

  .category-pill {
    display: table;
    margin: 0 auto 14px auto;
  }

  .hero-desc {
    text-align: center;
    font-size: 0.98rem;
    margin-bottom: 20px;
  }

  .section-heading h2 {
    font-size: 1.65rem;
  }

  .section-desc {
    font-size: 0.95rem;
    padding: 0 10px;
  }

  /* Centralização das etapas da história */
  .story-step {
    gap: 14px;
  }

  /* Cards de Casos Salvos */
  .cases-grid {
    gap: 20px;
  }

  .case-body {
    padding: 18px 16px;
  }

  .btn-case-action {
    width: 100%;
    justify-content: center;
  }

  /* Ajustes do Banner de Apoio */
  .cta-banner {
    padding: 28px 20px;
  }

  .btn-cta-scroll {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  /* Barra de emergência no topo */
  .emergency-bar {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .emergency-content {
    gap: 8px;
    flex-direction: column;
    text-align: center;
  }

  .countdown-mini {
    font-size: 0.8rem;
    padding: 2px 8px;
  }

  /* Cabeçalho */
  .header-inner {
    justify-content: center;
  }

  .brand {
    gap: 10px;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  /* Título Principal */
  .main-title {
    font-size: 1.55rem;
  }

  /* Micro-cards de credibilidade */
  .credibility-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 12px;
  }

  .cred-item {
    flex-direction: column;
    text-align: center;
    padding: 8px 4px;
    gap: 3px;
  }

  .cred-icon {
    font-size: 1.15rem;
  }

  .cred-item strong {
    font-size: 0.7rem;
    line-height: 1.15;
  }

  .cred-item small {
    font-size: 0.6rem;
    line-height: 1.15;
  }

  /* Card de arrecadação */
  .fundraiser-card {
    padding: 18px 14px;
  }

  .raised-number {
    font-size: 1.85rem;
  }

  .goal-number {
    font-size: 1.05rem;
  }

  /* Blocos do Cronômetro */
  .countdown-blocks {
    gap: 5px;
  }

  .cblock {
    min-width: 48px;
    padding: 4px 6px;
  }

  .cblock-val {
    font-size: 1.15rem;
  }

  .cblock-lbl {
    font-size: 0.55rem;
  }

  .cblock-dots {
    font-size: 1.05rem;
  }

  /* Caixa de Doação PIX */
  .donation-box {
    padding: 20px 14px;
  }

  .donation-box-title {
    text-align: center;
  }

  .cotas-grid {
    gap: 8px;
  }

  .cota-btn {
    padding: 12px 6px;
  }

  .cota-price {
    font-size: 1.15rem;
  }

  .cota-name {
    font-size: 0.68rem;
  }

  .pop-tag {
    font-size: 0.58rem;
    padding: 1px 6px;
  }

  .pix-action-area {
    padding: 14px 12px;
  }

  .pix-label {
    justify-content: center;
    text-align: center;
    font-size: 0.8rem;
  }

  .pix-input-group {
    flex-direction: column;
    gap: 8px;
  }

  #pix-key-input {
    text-align: center;
    font-size: 0.85rem;
    padding: 12px 10px;
    width: 100%;
  }

  .btn-copy-pix {
    width: 100%;
    justify-content: center;
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  .beneficiary-row {
    flex-direction: column;
    text-align: center;
    gap: 2px;
  }

  /* Notificações Flutuantes no Celular */
  .toast-notification {
    top: 10px;
    left: 12px;
    right: 12px;
    max-width: calc(100% - 24px);
    padding: 12px 16px;
  }

  .social-notification {
    bottom: 74px;
    left: 12px;
    right: 12px;
    max-width: calc(100% - 24px);
  }

  /* Barra Fixa no Celular */
  .mobile-sticky-bar {
    padding: 10px 14px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .msb-btn {
    padding: 9px 16px;
    font-size: 0.88rem;
  }
}
