/* ================================================
   MISSÃO ETÁRIA — Design System
   Mobile-first donation landing page
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* --- Custom Properties --- */
:root {
  --blue-900: #0A1628;
  --blue-800: #0F2341;
  --blue-700: #142F56;
  --blue-600: #1A3F73;
  --blue-500: #1A56DB;
  --blue-400: #2563EB;
  --blue-300: #3B82F6;
  --blue-200: #93C5FD;
  --blue-100: #DBEAFE;
  --blue-50: #EFF6FF;

  --amber-500: #F59E0B;
  --amber-400: #FBBF24;
  --amber-600: #D97706;

  --green-500: #10B981;
  --green-100: #D1FAE5;
  --green-700: #047857;

  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--gray-100);
  color: var(--gray-800);
  line-height: 1.6;
  min-height: 100vh;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

/* --- Container --- */
.container {
  width: 100%;
  margin: 0 auto;
}

/* --- Header --- */
.header {
  background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-600) 100%);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(10, 22, 40, 0.3);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo-img {
  width: 42px;
  height: 42px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 4px;
  object-fit: contain;
  flex-shrink: 0;
}

.header-text {
  display: flex;
  flex-direction: column;
}

.header-title {
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.header-subtitle {
  color: var(--blue-200);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* --- Navigation (hidden on mobile) --- */
.header-nav {
  display: none;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--blue-200);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-cta {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-300));
  color: var(--white) !important;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--blue-300), var(--blue-200));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* --- Hamburger (hidden on mobile by default, shown on tablet) --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  border: none;
  transition: background 0.2s;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Nav Dropdown --- */
.header-nav.mobile-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--blue-800);
  padding: 16px 20px;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.4);
  animation: slideDown 0.3s ease;
}

.header-nav.mobile-open .nav-link {
  padding: 12px 16px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

.header-nav.mobile-open .nav-cta {
  margin-top: 8px;
  text-align: center;
  padding: 14px 16px;
}

/* --- Main Content Layout --- */
.main-content {
  width: 100%;
}

.content-column,
.sidebar-column {
  width: 100%;
}

/* --- Hero --- */
.hero {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px 20px;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.92) 0%, rgba(10, 22, 40, 0.6) 60%, transparent 100%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--green-500);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

.hero-title {
  color: var(--white);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.hero-title span {
  color: var(--amber-400);
}

/* --- Campaign Info Bar --- */
.campaign-info {
  background: var(--blue-50);
  border-bottom: 1px solid var(--blue-100);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.campaign-info-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-400);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.campaign-info-text {
  font-size: 13px;
  color: var(--blue-700);
  font-weight: 500;
  line-height: 1.5;
}

.campaign-info-text strong {
  color: var(--blue-800);
  font-weight: 700;
}

/* --- Progress Section --- */
.progress-section {
  padding: 24px 20px;
  border-bottom: 8px solid var(--gray-100);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 12px;
}

.progress-raised {
  display: flex;
  flex-direction: column;
}

.progress-raised-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.progress-raised-value {
  font-size: 28px;
  font-weight: 900;
  color: var(--blue-500);
  letter-spacing: -1px;
  line-height: 1;
}

.progress-goal {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
  text-align: right;
}

.progress-goal strong {
  color: var(--gray-700);
  font-weight: 700;
}

.progress-bar-track {
  width: 100%;
  height: 12px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
  border-radius: var(--radius-full);
  width: 0%;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.3) 50%,
      transparent 100%);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.progress-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  gap: 8px;
}

.progress-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 500;
}

.progress-stat .icon {
  font-size: 14px;
}

.progress-stat strong {
  color: var(--gray-700);
  font-weight: 700;
}

/* --- Story Section --- */
.story-section {
  padding: 28px 20px;
  border-bottom: 8px solid var(--gray-100);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-label .line {
  width: 20px;
  height: 2px;
  background: var(--blue-300);
  border-radius: 1px;
}

.story-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.story-text {
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 16px;
}

.story-text:last-of-type {
  margin-bottom: 0;
}

.secondary-section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}

.story-callout {
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  border-left: 4px solid var(--blue-400);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 18px;
  margin: 20px 0;
}

.story-callout p {
  font-size: 14px;
  color: var(--blue-700);
  font-weight: 600;
  line-height: 1.6;
}

.story-callout .callout-icon {
  font-size: 20px;
  margin-bottom: 6px;
  display: block;
}

.impact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.impact-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.impact-card:active {
  transform: scale(0.97);
}

.impact-card .impact-icon {
  font-size: 28px;
  margin-bottom: 8px;
  display: block;
}

.impact-card .impact-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--blue-600);
  line-height: 1.2;
  margin-bottom: 6px;
}

.impact-card .impact-desc {
  font-size: 12.5px;
  color: var(--gray-500);
  font-weight: 500;
  line-height: 1.4;
}

/* --- Donation Section --- */
.donation-section {
  padding: 28px 20px;
  background: linear-gradient(180deg, var(--white) 0%, var(--blue-50) 100%);
  border-bottom: 8px solid var(--gray-100);
}

.donation-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.donation-subtitle {
  font-size: 13px;
  color: var(--gray-500);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 500;
}

.donation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.donation-btn {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 14px 8px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--gray-700);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.donation-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
  opacity: 0;
  transition: opacity 0.2s;
}

.donation-btn span {
  position: relative;
  z-index: 1;
}

.donation-btn .currency {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-400);
  display: block;
  margin-bottom: 2px;
  transition: color 0.2s;
}

.donation-btn.active {
  border-color: var(--blue-400);
  background: var(--blue-400);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transform: scale(1.03);
}

.donation-btn.active::before {
  opacity: 1;
}

.donation-btn.active .currency {
  color: var(--blue-200);
}

.donation-btn:active {
  transform: scale(0.96);
}

.donation-btn.popular {
  position: relative;
}

.donation-btn.popular::after {
  content: '⭐ Popular';
  position: absolute;
  top: -1px;
  right: -1px;
  background: var(--amber-500);
  color: var(--white);
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 0 var(--radius-md) 0 var(--radius-sm);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.custom-amount-wrapper {
  margin-bottom: 20px;
}

.custom-amount-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 12px;
  background: transparent;
  color: var(--blue-500);
  font-weight: 600;
  font-size: 13px;
  border-radius: var(--radius-md);
  transition: background 0.2s;
}

.custom-amount-toggle:active {
  background: var(--blue-50);
}

.custom-amount-input-wrapper {
  display: none;
  margin-top: 10px;
  position: relative;
}

.custom-amount-input-wrapper.visible {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.custom-amount-input-wrapper label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 6px;
  display: block;
}

.custom-input-container {
  display: flex;
  align-items: center;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.2s;
}

.custom-input-container:focus-within {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.custom-input-prefix {
  padding: 12px 14px;
  font-weight: 700;
  font-size: 15px;
  color: var(--gray-400);
  background: var(--gray-50);
  border-right: 1px solid var(--gray-200);
}

.custom-input-container input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 14px;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  color: var(--gray-800);
}

.custom-input-container input::placeholder {
  color: var(--gray-300);
  font-weight: 500;
}

/* CTA Button */
.cta-button {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-400) 50%, var(--blue-300) 100%);
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
  border-radius: var(--radius-lg);
  letter-spacing: -0.2px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s;
}

.cta-button:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button .cta-icon {
  margin-right: 8px;
}

.cta-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 11px;
  color: var(--gray-400);
  font-weight: 500;
}

/* --- PIX Section --- */
.pix-section {
  padding: 24px 20px;
  border-bottom: 8px solid var(--gray-100);
}

.pix-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.pix-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.pix-icon {
  width: 36px;
  height: 36px;
  background: var(--green-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.pix-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-800);
}

.pix-subtitle {
  font-size: 11px;
  color: var(--gray-400);
  font-weight: 500;
}

.pix-key-container {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.pix-key-value {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  word-break: break-all;
}

.pix-copy-btn {
  padding: 8px 14px;
  background: var(--green-500);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
}

.pix-copy-btn:active {
  transform: scale(0.95);
  background: var(--green-700);
}

/* --- Recent Contributions --- */
.contributions-section {
  padding: 24px 20px;
  border-bottom: 8px solid var(--gray-100);
}

.contributions-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.contribution-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  animation: fadeInUp 0.4s ease forwards;
  opacity: 0;
}

.contribution-item:last-child {
  border-bottom: none;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contribution-item:nth-child(1) {
  animation-delay: 0.1s;
}

.contribution-item:nth-child(2) {
  animation-delay: 0.2s;
}

.contribution-item:nth-child(3) {
  animation-delay: 0.3s;
}

.contribution-item:nth-child(4) {
  animation-delay: 0.4s;
}

.contribution-item:nth-child(5) {
  animation-delay: 0.5s;
}

.contribution-item:nth-child(6) {
  animation-delay: 0.6s;
}

.contribution-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.contribution-info {
  flex: 1;
  min-width: 0;
}

.contribution-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-800);
}

.contribution-time {
  font-size: 11px;
  color: var(--gray-400);
  font-weight: 500;
}

.contribution-amount {
  font-size: 14px;
  font-weight: 800;
  color: var(--green-500);
  white-space: nowrap;
}

/* --- FAQ Section --- */
.faq-section {
  padding: 28px 20px;
  border-bottom: 8px solid var(--gray-100);
}

.faq-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item.active {
  border-color: var(--blue-200);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.faq-question {
  width: 100%;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
  text-align: left;
  transition: background 0.2s;
  gap: 12px;
}

.faq-question:active {
  background: var(--gray-50);
}

.faq-chevron {
  font-size: 12px;
  color: var(--gray-400);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--blue-500);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-content {
  padding: 0 18px 16px;
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* --- Transparency Section --- */
.transparency-section {
  padding: 24px 20px;
  border-bottom: 8px solid var(--gray-100);
}

.transparency-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  text-align: center;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 90px;
}

.trust-badge-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.trust-badge-text {
  font-size: 10px;
  font-weight: 600;
  color: var(--gray-500);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* --- Footer --- */
.footer {
  padding: 28px 20px;
  background: var(--blue-900);
  text-align: center;
}

.footer-logo {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 12px;
  color: var(--blue-200);
  margin-bottom: 16px;
  font-weight: 500;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.footer-link {
  font-size: 12px;
  color: var(--blue-300);
  font-weight: 500;
  transition: color 0.2s;
}

.footer-link:active {
  color: var(--white);
}

.footer-divider {
  width: 60px;
  height: 1px;
  background: var(--blue-700);
  margin: 0 auto 16px;
}

.footer-legal {
  font-size: 10px;
  color: var(--blue-400);
  line-height: 1.6;
  opacity: 0.7;
}

/* --- Utility Animations --- */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* --- Floating CTA (bottom sticky) --- */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--gray-200);
  z-index: 99;
  display: none;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translate(-50%, 100%);
  }

  to {
    transform: translate(-50%, 0);
  }
}

.floating-cta.visible {
  display: block;
}

.floating-cta-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.floating-cta-btn:active {
  transform: scale(0.98);
}

.floating-cta-btn:hover {
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  transform: translateY(-1px);
}

/* Safe area for floating CTA */
.footer {
  padding-bottom: 80px;
}

/* ================================================
   RESPONSIVE — TABLET (768px+)
   ================================================ */
@media (min-width: 768px) {

  /* Hamburger visible on tablet */
  .hamburger {
    display: flex;
  }

  /* Header */
  .header {
    padding: 16px 32px;
  }

  .header-logo-img {
    width: 46px;
    height: 46px;
  }

  .header-title {
    font-size: 18px;
  }

  .header-subtitle {
    font-size: 12px;
  }

  /* Container */
  .container {
    max-width: 720px;
    margin: 0 auto;
  }

  /* Hero */
  .hero {
    height: 420px;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-overlay {
    padding: 32px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 6px 16px;
  }

  /* Campaign Info */
  .campaign-info {
    padding: 20px 32px;
    border-radius: var(--radius-lg);
    margin: 20px 0;
    border: 1px solid var(--blue-100);
  }

  .campaign-info-text {
    font-size: 14px;
  }

  /* Progress */
  .progress-section {
    padding: 28px 32px;
  }

  .progress-raised-value {
    font-size: 34px;
  }

  .progress-bar-track {
    height: 14px;
  }

  .progress-stat {
    font-size: 14px;
  }

  /* Story */
  .story-section {
    padding: 36px 32px;
  }

  .story-title {
    font-size: 26px;
  }

  .story-text {
    font-size: 15.5px;
  }

  .story-callout {
    padding: 20px 24px;
  }

  /* Impact Cards — 4 columns on tablet */
  .impact-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

  .impact-card {
    padding: 20px;
  }

  .impact-card .impact-title {
    font-size: 16px;
  }

  .impact-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }

  /* Donation */
  .donation-section {
    padding: 36px 32px;
  }

  .donation-title {
    font-size: 22px;
  }

  .donation-btn {
    padding: 18px 12px;
    font-size: 17px;
  }

  .donation-btn:hover:not(.active) {
    border-color: var(--blue-300);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
  }

  /* PIX */
  .pix-section {
    padding: 28px 32px;
  }

  .pix-card {
    padding: 24px;
  }

  .pix-copy-btn:hover {
    background: var(--green-700);
    transform: translateY(-1px);
  }

  /* Contributions — 2 columns */
  .contributions-section {
    padding: 28px 32px;
  }

  .contributions-title {
    font-size: 18px;
  }

  /* FAQ */
  .faq-section {
    padding: 36px 32px;
  }

  .faq-title {
    font-size: 20px;
  }

  .faq-question {
    padding: 18px 22px;
    font-size: 15px;
  }

  .faq-question:hover {
    background: var(--gray-50);
  }

  .faq-answer-content {
    padding: 0 22px 18px;
    font-size: 14px;
  }

  /* Transparency */
  .transparency-section {
    padding: 32px;
  }

  .transparency-title {
    font-size: 18px;
  }

  .trust-badges {
    gap: 32px;
  }

  .trust-badge {
    width: 110px;
  }

  .trust-badge-icon {
    width: 56px;
    height: 56px;
    font-size: 26px;
  }

  .trust-badge-text {
    font-size: 11px;
  }

  /* Footer */
  .footer {
    padding: 36px 32px 80px;
  }

  .footer-logo {
    font-size: 18px;
  }

  .footer-tagline {
    font-size: 13px;
  }

  .footer-link {
    font-size: 13px;
  }

  .footer-link:hover {
    color: var(--white);
  }

  .footer-legal {
    font-size: 11px;
  }

  /* Floating CTA */
  .floating-cta {
    max-width: 720px;
    padding: 14px 32px;
  }
}

/* ================================================
   RESPONSIVE — DESKTOP (1024px+)
   ================================================ */
@media (min-width: 1024px) {

  html {
    background: var(--gray-100);
  }

  body {
    background: var(--gray-100);
  }

  /* Header — full nav, no hamburger */
  .hamburger {
    display: none !important;
  }

  .header-nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    background: none;
    padding: 0;
    box-shadow: none;
    animation: none;
  }

  .header-nav.mobile-open {
    flex-direction: row;
    position: static;
    background: none;
    padding: 0;
    box-shadow: none;
  }

  .header {
    padding: 14px 40px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .header-title {
    font-size: 20px;
  }

  /* Container */
  .container {
    max-width: 1080px;
    padding: 0;
    background: var(--white);
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.08);
    border-left: 1px solid var(--gray-200);
    border-right: 1px solid var(--gray-200);
  }

  /* Hero */
  .hero {
    height: 500px;
  }

  .hero-title {
    font-size: 40px;
    max-width: 600px;
  }

  .hero-overlay {
    padding: 44px 48px;
  }

  .hero-badge {
    font-size: 13px;
    padding: 7px 18px;
  }

  /* Campaign Info */
  .campaign-info {
    padding: 22px 40px;
    margin: 24px 40px;
    border-radius: var(--radius-xl);
  }

  .campaign-info-icon {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .campaign-info-text {
    font-size: 15px;
  }

  /* Progress */
  .progress-section {
    padding: 32px 40px;
  }

  .progress-raised-value {
    font-size: 38px;
  }

  .progress-bar-track {
    height: 16px;
  }

  .progress-stat {
    font-size: 15px;
  }

  /* --- Side-by-side layout: Story + Donation --- */
  .main-content {
    display: flex;
    gap: 0;
    align-items: flex-start;
  }

  .content-column {
    flex: 1;
    min-width: 0;
  }

  .sidebar-column {
    width: 380px;
    flex-shrink: 0;
    position: sticky;
    top: 76px;
    align-self: flex-start;
    border-left: 1px solid var(--gray-100);
  }

  /* Story */
  .story-section {
    padding: 40px;
    border-bottom: none;
  }

  .story-title {
    font-size: 28px;
  }

  .story-text {
    font-size: 16px;
  }

  .story-callout {
    padding: 22px 28px;
  }

  .story-callout p {
    font-size: 15px;
  }

  /* Impact Cards */
  .impact-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .impact-card {
    padding: 22px;
  }

  .impact-card .impact-title {
    font-size: 17px;
  }

  /* Donation — sidebar */
  .donation-section {
    padding: 32px 28px;
    border-bottom: none;
    border-bottom: 1px solid var(--gray-100);
  }

  .donation-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .donation-title {
    font-size: 20px;
  }

  /* PIX — sidebar */
  .pix-section {
    padding: 24px 28px;
    border-bottom: 1px solid var(--gray-100);
  }

  /* Contributions */
  .contributions-section {
    padding: 36px 40px;
  }

  .contributions-title {
    font-size: 20px;
  }

  /* FAQ */
  .faq-section {
    padding: 40px;
    max-width: 750px;
  }

  .faq-title {
    font-size: 22px;
  }

  .faq-question {
    padding: 20px 24px;
    font-size: 15px;
  }

  .faq-answer-content {
    padding: 0 24px 20px;
    font-size: 14.5px;
  }

  /* Transparency */
  .transparency-section {
    padding: 40px;
  }

  .transparency-title {
    font-size: 20px;
  }

  .trust-badges {
    gap: 40px;
  }

  .trust-badge {
    width: 120px;
  }

  .trust-badge-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  .trust-badge-text {
    font-size: 12px;
  }

  .trust-badge:hover .trust-badge-icon {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
  }

  /* Footer */
  .footer {
    padding: 40px 40px 40px;
  }

  .footer-logo {
    font-size: 20px;
  }

  .footer-tagline {
    font-size: 14px;
  }

  .footer-links {
    gap: 32px;
  }

  .footer-link {
    font-size: 14px;
  }

  .footer-legal {
    font-size: 12px;
  }

  /* Floating CTA */
  .floating-cta {
    max-width: 500px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 14px 24px;
  }

  .floating-cta-btn {
    border-radius: var(--radius-lg);
    font-size: 16px;
    padding: 18px;
  }
}

/* ================================================
   RESPONSIVE — LARGE DESKTOP (1280px+)
   ================================================ */
@media (min-width: 1280px) {
  .container {
    max-width: 1140px;
  }

  .sidebar-column {
    width: 420px;
  }

  .hero {
    height: 540px;
  }

  .hero-title {
    font-size: 44px;
    max-width: 650px;
  }
}