/* ========================================
   DESIGN SYSTEM - Landing Page Refúgio
   Mobile-First | Performance-Optimized
   ======================================== */

/* === RESET & BASE === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

 .btn-primary {
      background-color: #AB3165;
      color: #fff;
      font-weight: 600;
      padding: .75rem;
      border-radius: .5rem;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 100%;
    }

    .btn-primary:hover {
      opacity: .9;
    }

    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, .5);
      z-index: 2000;
      align-items: center;
      justify-content: center;
    }

    .modal-content {
      background: #fff;
      max-width: 420px;
      width: 90%;
      padding: 1.5rem;
      border-radius: .5rem;
      box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
      position: relative;
      overflow-y: auto;
    }

    .close-modal {
      position: absolute;
      top: 0.5rem;
      right: 0.5rem;
      font-size: 1.2rem;
      color: #6b7280;
      cursor: pointer;
      background: none;
      border: none;
      line-height: 1;
    }

    .close-modal:hover {
      color: #1f2937;
    }

    .donation-options {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: .75rem;
      margin-top: 1rem;
    }

    .donation-option {
      position: relative;
    }

    .donation-link {
      display: inline-block;
      text-align: center;
      padding: .75rem;
      border: 2px solid #24CA68;
      border-radius: .5rem;
      color: #24CA68;
      font-weight: 600;
      background: none;
      cursor: pointer;
      min-height: 56px;
      width: 100%;
      font-size: 1rem;
      box-sizing: border-box;
      text-decoration: none;
    }

    .donation-link:hover {
      background-color: #24CA68;
      ;
      color: #fff;
    }

    .highlight {
      border-color: #24CA68;
      background-color: #24CA68;
      color: #fff;
    }

    .popular-badge {
      position: absolute;
      top: -1.2rem;
      left: 50%;
      transform: translateX(-50%);
      background: #24CA68;
      color: #fff;
      font-size: .7rem;
      font-weight: 700;
      padding: .15rem .35rem;
      border-radius: .25rem;
      display: flex;
      align-items: center;
      gap: 4px;
      white-space: nowrap;
      box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
    }

    .popular-badge svg {
      width: 12px;
      height: 12px;
      fill: #fff;
    }

    .col-span-2 {
      grid-column: span 2 / span 2;
    }

    .donation-card {
      background: #fff;
      box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
      border-radius: .5rem;
      padding: .75rem;
      margin-bottom: .75rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
.video-section {
  background: var(--brand-2);
  padding: 10px 0;
  position: relative;
  z-index: 1;
}
/* === DESIGN TOKENS === */

/* PALETA VERDE URGENTE & ESPERANÇA (Padrão) */
.theme-verde {
  --brand-1: #2faf7a;
  --brand-2: #e7f6ee;
  --bg: #f8f0e5;
  --branco: white;
  --ink: #5c3d2e;
  --accent: #ffd27a;
  --caramelo: #d4af37;
  --chart-color-1: #2faf7a;
  --chart-color-2: #ffd27a;
  --chart-color-3: #5bc9a6;
  --chart-color-4: #a8e6cf;
}

/* PALETA CORAL SOLIDÁRIO & ACOLHEDOR */
.theme-verde {
  --brand-1: #1c8d18; /* oliva/forest escuro (primário/CTA) */
  --brand-2: #e9d8c6; /* areia/argila clara (cards/bg elevado) */
  --bg: #f6f1ea; /* marfim quente (fundo) */
  --ink: #2a2a2a; /* grafite para texto */
  --accent: #c4733a; /* terracota (realces/badges) */

  --chart-color-1: #5b7d5a; /* oliva */
  --chart-color-2: #c4733a; /* terracota */
  --chart-color-3: #458b12; /* sálvia */
  --chart-color-4: #d9bca3; /* areia rosada */
}

/* CACAU & AREIA — marrom profundo + areia quente */
.theme-coral {
  --brand-1: #6b4f3a; /* cacau (primário) */
  --brand-2: #f0e6d8; /* areia clara (superfícies) */
  --bg: #fbf7f1; /* marfim quente */
  --ink: #1f1a17; /* café bem escuro (texto) */
  --accent: #a86e3d; /* caramelo/âmbar queimado */

  --chart-color-1: #6b4f3a; /* cacau */
  --chart-color-2: #a86e3d; /* caramelo */
  --chart-color-3: #c9a37e; /* noz-moscada */
  --chart-color-4: #8c6d5a; /* moka */
}

/* CARVÃO & MOGNO — dark elegante com toques musgo */
.theme-azul {
  --brand-1: #3a2f2a; /* carvão/mogno (primário escuro) */
  --brand-2: #e7ddd0; /* bege tostado (contraste suave) */
  --bg: #f4eee7; /* pergaminho claro (fundo) */
  --ink: #151210; /* quase preto (texto) */
  --accent: #5e7a5a; /* musgo (links/destaques) */

  --chart-color-1: #3a2f2a; /* mogno */
  --chart-color-2: #5e7a5a; /* musgo */
  --chart-color-3: #a77b5b; /* cedro */
  --chart-color-4: #cdb9a5; /* creme torrado */
}

/* ELEVATIONS & SHADOWS */
:root {
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* === LAYOUT === */
.container {
  background-color: var(--brand-2);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.video-wrapper {
  max-width: 600px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 32px var(--shadow);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--spacing-xl);
  }
}

@media (min-width: 768px) {
  .section {
    padding: 80px 0;
  }
}

/* === HEADER === */
.site-header {
  background: var(--brand-2);
  border-bottom: 2px solid color-mix(in srgb, var(--caramelo) 70%, #fff 30%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  /* padding: var(--spacing-md) 0; */
}

.site-header .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-link img {
  display: block;
  max-width: 180px;
  height: auto;
  transition: transform 0.25s ease;
}

.logo-link:hover img {
  transform: scale(1.05);
}

/* === TYPOGRAPHY === */
.section-header {
  text-align: center;
  /* margin-bottom: var(--spacing-2xl); */
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
  padding-top: 10px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--ink);
  opacity: 0.7;
  max-width: 600px;
  margin: 0 auto;
  margin-bottom: 15px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-smooth);
  text-decoration: none;
  min-height: 44px;
  min-width: 44px;
  line-height: 1.4;
}

.btn:focus-visible {
  outline: 3px solid var(--brand-1);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-1), var(--accent));
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-2px);
}
.btn-copy {
  background: var(--brand-1);
  color: #fff;
}
.btn-copy:hover {
  background: var(--accent);
  color: var(--ink);
}
.hero-section {
  background: linear-gradient(180deg, var(--brand-2) 0%, var(--branco) 100%);
}
.pix-box {
  border-color: var(--brand-1);
}
.rescue-badge {
  background: var(--brand-2);
  color: var(--brand-1);
}
.carousel-btn {
  border-color: var(--brand-1);
}
.carousel-btn:hover {
  background: var(--brand-1);
}
.toast.success {
  background: var(--brand-1);
  color: #fff;
}
.toast.error {
  background: #8b2e2e;
  color: #fff;
}

/* === HERO SECTION === */
.hero-section {
  position: relative;
  /* min-height: 600px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--brand-2) 0%, var(--bg) 100%);
  /* padding: var(--spacing-3xl) var(--spacing-md); */
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-section {
    flex-direction: row;
    gap: var(--spacing-3xl);
    padding: 80px var(--spacing-xl);
  }
}

.hero-content {
  flex: 1;
  max-width: 600px;
  text-align: center;
  z-index: 2;
}

@media (min-width: 768px) {
  .hero-content {
    text-align: left;
  }
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: var(--spacing-lg);
}
/* Capa “sangrando” full-bleed dentro do #hero */
.hero-section .hero-cover {
  width: 100vw; /* ocupa toda a largura da viewport */
  margin-left: calc(
    50% - 50vw
  ); /* compensa o padding/centralização do container */
  margin-right: calc(50% - 50vw);
  line-height: 0; /* elimina espaço extra de img inline */
}

.hero-section .hero-cover img {
  display: block; /* remove “gap” de imagem inline */
  width: 100%;
  height: auto;
  object-fit: cover; /* garante preenchimento elegante */
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--ink);
  opacity: 0.75;
  margin-bottom: var(--spacing-xl);
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  /* margin-bottom: var(--spacing-lg); */
}

@media (min-width: 480px) {
  .hero-cta-group {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .hero-cta-group {
    justify-content: flex-start;
  }
}

.btn-hero {
  font-size: 1.125rem;
  padding: 16px 32px;
  margin: 15px 0px;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  justify-content: center;
}

@media (min-width: 768px) {
  .hero-trust-badges {
    justify-content: flex-start;
  }
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 0.875rem;
  color: var(--ink);
  opacity: 0.8;
}

.trust-badge svg {
  fill: var(--brand-1);
  flex-shrink: 0;
}

.hero-image {
  flex: 1;
  max-width: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: var(--spacing-xl);
}

@media (min-width: 768px) {
  .hero-image {
    margin-top: 0;
  }
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === FLOATING DONATE BUTTON (Mobile) === */
.floating-donate-btn {
  position: fixed;
  bottom: var(--spacing-lg);
  right: var(--spacing-lg);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 16px 24px;
  background: #1f6b4a;
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-smooth);
  opacity: 0;
  transform: translateY(100px);
  pointer-events: none;
  text-decoration: none;
}

.floating-donate-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.floating-donate-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .floating-donate-btn {
    display: none;
  }
}

/* === IMPACT SECTION (nova versão viva e responsiva) === */
.impact-section {
  background: #f4ece3;
  padding: var(--spacing-xxl) 0;
}

.impact-grid {
  display: grid;
  gap: var(--spacing-lg);
  grid-template-columns: repeat(2, 1fr); /* ✅ sempre 2 colunas */
}

.impact-card {
  background: #d9b282; /* tom mais escuro e quente */
  color: #2a1a09;
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 2px solid #c7832d;
}

.impact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.impact-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--spacing-md);
  border-radius: 50%;
  background: #c7832d; /* cor viva */
  display: flex;
  align-items: center;
  justify-content: center;
}

.impact-icon svg {
  stroke: #fff;
}

.impact-card-title {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: var(--spacing-sm);
}

.impact-card-text {
  font-size: 1rem;
  color: #fff;
  line-height: 1.6;
  opacity: 0.95;
  font-weight: 500;
}

/* Responsivo — mantém 2 colunas mesmo no mobile */
@media (max-width: 768px) {
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .impact-card {
    padding: var(--spacing-lg);
  }

  .impact-card-title {
    font-size: 1.5rem;
  }

  .impact-card-text {
    font-size: 0.9rem;
  }
}

/* === STEPS SECTION (ajustada para 2 colunas em todas as telas) === */
.steps-grid {
  display: grid;
  gap: var(--spacing-lg);
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  align-items: stretch; /* força os itens a terem a mesma altura */
}

.step-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* distribui o conteúdo dentro */
  height: 100%;
  padding: var(--spacing-xl);
  background: #fff;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  border: 2px solid #c7832d;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.step-number {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: #c7832d;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.step-icon svg {
  stroke: #c7832d;
}

/* Responsivo — mantém 2 colunas no mobile */
@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }

  .step-card {
    padding: var(--spacing-lg);
  }

  .step-title {
    font-size: 1rem;
  }

  .step-text {
    font-size: 0.9rem;
  }
}

/* === PIX SECTION (ESPECIAL) === */
.pix-section {
  margin-top: 15px;
  background: linear-gradient(180deg, var(--brand-2) 0%, white 100%);
}

.pix-box {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--spacing-xl);
  border: 3px solid var(--brand-1);
}

.pix-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-lg);
  border-bottom: 2px solid var(--brand-2);
}

.pix-header svg {
  flex-shrink: 0;
  fill: var(--brand-1);
}

.pix-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: var(--spacing-xs);
}

.pix-subtitle {
  font-size: 0.95rem;
  color: var(--ink);
  opacity: 0.7;
}

.pix-steps {
  display: grid;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.pix-step {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--brand-2);
  border-radius: var(--radius-sm);
}

.pix-step-number {
  width: 28px;
  height: 28px;
  background: var(--brand-1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.pix-step-text {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
}

.pix-key-container {
  margin-bottom: var(--spacing-lg);
}

.pix-label {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--spacing-sm);
  font-size: 0.95rem;
}

.pix-input-group {
  display: flex;
  gap: var(--spacing-sm);
  flex-direction: column;
}

@media (min-width: 480px) {
  .pix-input-group {
    flex-direction: row;
  }
}

.pix-input {
  flex: 1;
  padding: 14px 16px;
  border: 2px solid var(--brand-1);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: ui-monospace, monospace;
  color: var(--ink);
  background: var(--brand-2);
}

.pix-input:focus {
  outline: none;
  border-color: var(--accent);
}

.pix-info-grid {
  display: grid;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-lg);
  background: var(--brand-2);
  border-radius: var(--radius-md);
}

.pix-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md);
  font-size: 0.95rem;
}

.pix-info-label {
  font-weight: 600;
  color: var(--ink);
  opacity: 0.7;
}

.pix-info-value {
  font-weight: 700;
  color: var(--brand-1);
  text-align: right;
}

.pix-qr-section {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.btn-qr {
  width: 100%;
}

@media (min-width: 480px) {
  .btn-qr {
    width: auto;
  }
}

.pix-footer-text {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: center;
  font-size: 1.05rem;
  color: black;
  background: #fff3e6;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  line-height: 1.6;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pix-footer-text svg {
  stroke: #c7832d;
}

.pix-footer-text strong {
  color: #c7832d;
  margin-right: 0.4rem;
}
/* === RESCUE SECTION === */
.rescue-section {
  background: white;
}

.carousel-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  background: white;
  border: 2px solid var(--brand-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
  background: var(--brand-1);
}

.carousel-btn:hover svg {
  stroke: white;
}

.carousel-btn-prev {
  left: -20px;
}

.carousel-btn-next {
  right: -20px;
}

@media (max-width: 767px) {
  .carousel-btn {
    display: none;
  }
}

.carousel-track-container {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.carousel-track {
  display: flex;
  transition: transform var(--transition-smooth);
  touch-action: pan-y;
}

.rescue-card {
  min-width: 100%;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .rescue-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.rescue-image {
  position: relative;
  overflow: hidden;
  background: var(--brand-2);
}

.rescue-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
}

.rescue-content {
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rescue-name {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-1);
  margin-bottom: var(--spacing-sm);
}

.rescue-badge {
  display: inline-block;
  padding: 6px 12px;
  background: var(--brand-2);
  color: var(--brand-1);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
  width: fit-content;
}

.rescue-story {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: var(--spacing-lg);
}

.rescue-story strong {
  color: var(--brand-1);
  font-weight: 700;
}
.story-text {
  text-align: center;
  max-width: 700px;
  margin: 0 auto; /* centraliza horizontalmente */
  padding: 0 1.5rem; /* dá respiro lateral no mobile */
}

.story-paragraph {
  margin-bottom: 1.8rem;
  line-height: 1.8;
  font-size: 1.1rem;
  color: var(--ink);
}

.rescue-cost {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md);
  background: var(--brand-2);
  border-radius: var(--radius-sm);
}

.rescue-cost-label {
  font-size: 0.9rem;
  color: var(--ink);
  opacity: 0.7;
  font-weight: bold;
}

.rescue-cost-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-1);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-2);
  border: 2px solid var(--brand-1);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-dot.active {
  background: var(--brand-1);
  transform: scale(1.2);
}

/* === TRANSPARENCY SECTION === */
.transparency-section {
  background: var(--brand-2);
}

.transparency-grid {
  display: grid;
  gap: var(--spacing-2xl);
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .transparency-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.chart-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-lg);
}

#expenseChart {
  max-width: 300px;
  max-height: 300px;
}

.expense-breakdown {
  display: grid;
  gap: var(--spacing-md);
}

.expense-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: white;
  border-radius: var(--radius-md);
}

.expense-color {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  flex-shrink: 0;
}

.expense-info {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.expense-label {
  font-weight: 600;
  color: var(--ink);
}

.expense-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-1);
}

.transparency-footer {
  max-width: 700px;
  margin: var(--spacing-xl) auto 0;
}

.transparency-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-lg);
  background: white;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--ink);
  text-align: center;
}

.transparency-note svg {
  flex-shrink: 0;
  fill: var(--brand-1);
}

/* === OTHER WAYS SECTION === */
.other-ways-section {
  background: white;
}

.ways-grid {
  display: grid;
  gap: var(--spacing-lg);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.way-card {
  padding: var(--spacing-xl);
  background: var(--brand-2);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform var(--transition-smooth);
}

.way-card:hover {
  transform: translateY(-4px);
}

.way-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: var(--radius-md);
}

.way-icon svg {
  stroke: var(--brand-1);
}

.way-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--spacing-sm);
}

.way-text {
  font-size: 0.95rem;
  color: var(--ink);
  opacity: 0.7;
  margin-bottom: var(--spacing-lg);
  line-height: 1.5;
}

.way-link {
  display: inline-flex;
  align-items: center;
  color: var(--brand-1);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.way-link:hover {
  color: var(--accent);
}

/* === FAQ SECTION === */
.faq-section {
  background: var(--brand-2);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: var(--spacing-md);
}

.faq-item {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-lg);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--brand-2);
}

.faq-question svg {
  flex-shrink: 0;
  stroke: var(--brand-1);
  transition: transform var(--transition-fast);
}

.faq-item[open] .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 var(--spacing-lg) var(--spacing-lg);
  color: var(--ink);
  opacity: 0.8;
  line-height: 1.6;
}

/* === CONTACT SECTION === */
.contact-section {
  background: white;
}

.contact-grid {
  display: grid;
  gap: var(--spacing-lg);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--spacing-xl);
  background: var(--brand-2);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition-smooth);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  margin-bottom: var(--spacing-lg);
}

.contact-icon svg {
  fill: var(--brand-1);
}

.contact-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--spacing-sm);
}

.contact-text {
  font-size: 0.95rem;
  color: var(--ink);
  opacity: 0.7;
  text-align: center;
}

/* === FOOTER === */
.footer {
  background: var(--ink);
  color: black;
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-grid {
  display: grid;
  gap: var(--spacing-xl);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: var(--spacing-xl);
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: black;
  margin-bottom: var(--spacing-md);
}

.footer-text {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.footer-cnpj {
  font-size: 0.875rem;
  opacity: 0.7;
}

.footer-list {
  list-style: none;
  display: grid;
  gap: var(--spacing-sm);
}

.footer-list a {
  color: black;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.footer-list a:hover {
  opacity: 1;
}

.footer-social {
  display: flex;
  gap: var(--spacing-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all var(--transition-smooth);
}

.footer-social a:hover {
  background: var(--brand-1);
  transform: scale(1.1);
}

.footer-bottom {
  padding-top: var(--spacing-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.7;
}

.footer-love {
  margin-top: var(--spacing-sm);
}

/* === MODAL === */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  z-index: 2;
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalSlideIn var(--transition-smooth);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-2);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--brand-1);
}

.modal-close:hover svg {
  stroke: white;
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: var(--spacing-lg);
  padding-right: 40px;
}

.modal-tabs {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xl);
  border-bottom: 2px solid var(--brand-2);
}

.modal-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.5;
  transition: all var(--transition-fast);
}

.modal-tab:hover {
  opacity: 0.8;
}

.modal-tab.active {
  opacity: 1;
  border-bottom-color: var(--brand-1);
  color: var(--brand-1);
}

.modal-tab-content {
  display: none;
}

.modal-tab-content.active {
  display: block;
}

.modal-text {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: var(--spacing-lg);
  text-align: center;
}

.modal-input-group {
  display: flex;
  gap: var(--spacing-sm);
  flex-direction: column;
  margin-bottom: var(--spacing-lg);
}

@media (min-width: 480px) {
  .modal-input-group {
    flex-direction: row;
  }
}

.modal-input {
  flex: 1;
  padding: 14px 16px;
  border: 2px solid var(--brand-1);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: ui-monospace, monospace;
  background: var(--brand-2);
}

.modal-info {
  padding: var(--spacing-lg);
  background: var(--brand-2);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
}

.modal-info p {
  margin-bottom: var(--spacing-sm);
}

.modal-info p:last-child {
  margin-bottom: 0;
}

.modal-qr-placeholder {
  text-align: center;
  padding: var(--spacing-xl);
  background: var(--brand-2);
  border-radius: var(--radius-md);
}

#qrCanvas {
  max-width: 100%;
  height: auto;
  margin: 0 auto var(--spacing-md);
}

.modal-qr-note {
  font-size: 0.875rem;
  color: var(--ink);
  opacity: 0.6;
}

.modal-gateway-list {
  list-style: none;
  padding: var(--spacing-lg);
  background: var(--brand-2);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-lg);
}

.modal-gateway-list li {
  padding: var(--spacing-sm) 0;
  font-size: 1rem;
  color: var(--brand-1);
  font-weight: 600;
}

.modal-note {
  font-size: 0.875rem;
  color: var(--ink);
  opacity: 0.7;
  text-align: center;
  font-style: italic;
}

/* === TOAST === */
.toast-container {
  position: fixed;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  max-width: 400px;
}

@media (max-width: 480px) {
  .toast-container {
    left: var(--spacing-md);
    right: var(--spacing-md);
    max-width: none;
  }
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  animation: toastSlideIn var(--transition-smooth);
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.toast.success {
  border-left: 4px solid var(--brand-1);
}

.toast.error {
  border-left: 4px solid #ef4444;
}

.toast-icon {
  flex-shrink: 0;
}

.toast-message {
  flex: 1;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* === PRINT STYLES === */
@media print {
  .floating-donate-btn,
  .modal,
  .toast-container {
    display: none !important;
  }
}
/* eeeeeeeeeeeeeeeee */
.transparency-grid {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  background: var(--brand-2);
  padding: 1.5rem;
  border-radius: 16px;
}

.chart-wrapper {
  position: relative;
  width: 280px;
  height: 280px;
  display: grid;
  place-items: center;
}

.chart-label {
  position: absolute;
  text-align: center;
  pointer-events: none;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.chart-label small {
  display: block;
  font-weight: 500;
  opacity: 0.7;
  font-size: 0.85rem;
}

.expense-list {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.expense-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.expense-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.expense-item span {
  flex: 1;
  font-weight: 500;
  color: var(--ink);
  margin-left: 8px;
}

.expense-item b {
  color: var(--brand-1);
}

.dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}
.borda-verde {
  border: 2px solid #2e7d32; /* verde escuro, você pode ajustar a cor */
  border-radius: 6px; /* opcional, para cantos arredondados */
  padding: 8px 16px; /* para espaçamento interno */
}
.borda-verde:hover {
  background-color: #e8f5e9;
  border-color: #1b5e20;
}
#hero {
  background-color: var(--brand-2);
}
/* ===== Limitar altura do carrossel da seção "Nossa Missão" ===== */
/* altura menor pro bloco */
.story-visual .hero-image {
  height: clamp(220px, 45vh, 380px); /* ajusta aqui a altura máxima */
  max-width: 600px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* o slide vira uma “caixa” centralizada */
.story-visual .hero-image .splide__track,
.story-visual .hero-image .splide__list,
.story-visual .hero-image .splide__slide {
  height: 100%;
}

.story-visual .hero-image .splide__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f3f3; /* cor de “faixa preta” (letterbox). opcional */
}

/* imagem SEM corte: encolhe para caber */
.story-visual .hero-image img {
  max-height: 100%;
  max-width: 100%;
  height: auto;
  width: auto;
  object-fit: contain; /* <- sem crop */
  display: block;
}
