:root {
  --primary: #00B3FF;
  --dark: #0b3d5c;
  --accent: #FFCC00;
  --light: #f9f9f9;
  --navbar-height: 76px;
  --radius-lg: 20px;
}

html, body {
  max-width: 100%;
  overflow-x: hidden; /* 🔹 elimina scroll lateral */
}

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


 #projetos {
      position: relative;
    }

    .section-header {
      text-align: center;
      margin-bottom: 3.5rem;
    }

    .section-title {
      font-size: 2.5rem;
      font-weight: 700;
      color: #2d3748;
      margin-bottom: 1rem;
      position: relative;
      display: inline-block;
    }

    .section-title::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 60px;
      height: 4px;
      background: #00B1FD;
      border-radius: 2px;
    }

    .section-subtitle {
      font-size: 1.1rem;
      color: #718096;
      max-width: 650px;
      margin: 1.5rem auto 0;
    }

    .project-card {
      background: white;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 2px 12px rgba(0,0,0,0.06);
      border: 1px solid #e2e8f0;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      height: 100%;
      position: relative;
    }

    .project-card:hover {
      transform: translateY(-12px);
      box-shadow: 0 20px 40px rgba(0,177,253,0.12);
      border-color: #00B1FD;
    }

    .project-image-wrapper {
      position: relative;
      overflow: hidden;
      height: 260px;
      background: #f7fafc;
    }

    .project-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .project-card:hover .project-image {
      transform: scale(1.1);
    }

    .project-category {
      position: absolute;
      top: 15px;
      left: 15px;
      background: rgba(0,177,253,0.95);
      backdrop-filter: blur(10px);
      color: white;
      padding: 0.4rem 1rem;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 600;
      z-index: 2;
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }

    .project-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 100%);
      opacity: 0;
      transition: opacity 0.3s ease;
      display: flex;
      align-items: flex-end;
      padding: 1.5rem;
    }

    .project-card:hover .project-overlay {
      opacity: 1;
    }

    .project-quick-info {
      color: white;
      font-size: 0.85rem;
      display: flex;
      gap: 1rem;
      opacity: 0;
      transform: translateY(10px);
      transition: all 0.3s ease 0.1s;
    }

    .project-card:hover .project-quick-info {
      opacity: 1;
      transform: translateY(0);
    }

    .quick-info-item {
      display: flex;
      align-items: center;
      gap: 0.3rem;
    }

    .project-content {
      padding: 1.8rem 1.5rem;
    }

    .project-title {
      font-size: 1.35rem;
      font-weight: 700;
      color: #2d3748;
      margin-bottom: 0.8rem;
      line-height: 1.3;
      min-height: 2.6rem;
    }

    .project-description {
      color: #718096;
      font-size: 0.95rem;
      line-height: 1.6;
      margin-bottom: 1.5rem;
      min-height: 3rem;
    }

    .project-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 1rem;
      border-top: 1px solid #e2e8f0;
    }

    .project-impact {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: #4a5568;
      font-size: 0.85rem;
    }

    .impact-number {
      font-weight: 700;
      color: #00B1FD;
      font-size: 1.1rem;
    }

    .project-link {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      color: #00B1FD;
      font-size: 0.9rem;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.3s ease;
    }

    .project-link:hover {
      gap: 0.7rem;
      color: #0099db;
    }

    .project-link i {
      transition: transform 0.3s ease;
    }

    .project-link:hover i {
      transform: translateX(3px);
    }

    /* Categorias específicas */
    .category-education { background: rgba(52, 211, 153, 0.95); }
    .category-sport { background: rgba(251, 146, 60, 0.95); }
    .category-social { background: rgba(139, 92, 246, 0.95); }

    .all-projects-cta {
      text-align: center;
      margin-top: 3.5rem;
    }

    .btn-all-projects {
      background: transparent;
      color: #00B1FD;
      border: 2px solid #00B1FD;
      padding: 0.9rem 2.5rem;
      border-radius: 8px;
      font-weight: 600;
      font-size: 1.05rem;
      transition: all 0.3s ease;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.7rem;
    }

    .btn-all-projects:hover {
      background: #00B1FD;
      color: white;
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(0,177,253,0.25);
    }

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

      .project-title {
        font-size: 1.2rem;
        min-height: auto;
      }

      .project-description {
        min-height: auto;
      }

      .project-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
      }
    }

    /* Animações */
    .fade-in-up {
      animation: fadeInUp 0.6s ease-out forwards;
      opacity: 0;
    }

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

    .fade-in-up:nth-child(1) { animation-delay: 0.1s; }
    .fade-in-up:nth-child(2) { animation-delay: 0.2s; }
    .fade-in-up:nth-child(3) { animation-delay: 0.3s; }

#comunidades {
      background: #ffffff;
      position: relative;
    }

    .section-header {
      text-align: center;
      margin-bottom: 3rem;
    }

    .section-title {
      font-size: 2.5rem;
      font-weight: 700;
      color: #2d3748;
      margin-bottom: 1rem;
      position: relative;
      display: inline-block;
    }

    .section-title::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 60px;
      height: 4px;
      background: #00B1FD;
      border-radius: 2px;
    }

    .section-subtitle {
      font-size: 1.1rem;
      color: #718096;
      max-width: 600px;
      margin: 1.5rem auto 0;
    }

    .community-card {
      background: white;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 2px 12px rgba(0,0,0,0.08);
      border: 1px solid #e2e8f0;
      transition: all 0.3s ease;
      height: 100%;
      position: relative;
    }

    .community-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 30px rgba(0,177,253,0.15);
      border-color: #00B1FD;
    }

    .community-image-wrapper {
      position: relative;
      overflow: hidden;
      height: 280px;
    }

    .community-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }

    .community-card:hover .community-image {
      transform: scale(1.08);
    }

    .community-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 100%);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .community-card:hover .community-overlay {
      opacity: 1;
    }

    .community-badge {
      position: absolute;
      top: 15px;
      right: 15px;
      background: #00B1FD;
      color: white;
      padding: 0.4rem 0.9rem;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 600;
      box-shadow: 0 2px 8px rgba(0,177,253,0.4);
      z-index: 2;
    }

    .community-content {
      padding: 1.8rem 1.5rem;
    }

    .community-title {
      font-size: 1.3rem;
      font-weight: 700;
      color: #2d3748;
      margin-bottom: 0.8rem;
      line-height: 1.3;
    }

    .community-description {
      color: #718096;
      font-size: 0.95rem;
      line-height: 1.6;
      margin-bottom: 1.5rem;
    }

    .community-stats {
      display: flex;
      gap: 1.5rem;
      padding-top: 1rem;
      border-top: 1px solid #e2e8f0;
    }

    .stat-item {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: #4a5568;
      font-size: 0.9rem;
    }

    .stat-icon {
      color: #00B1FD;
      font-size: 1.1rem;
    }

    .stat-number {
      font-weight: 700;
      color: #2d3748;
    }

    .view-more {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      color: #00B1FD;
      font-size: 0.9rem;
      font-weight: 600;
      text-decoration: none;
      transition: gap 0.3s ease;
      margin-top: 1rem;
    }

    .view-more:hover {
      gap: 0.7rem;
      color: #0099db;
    }

    .cta-banner {
      background: linear-gradient(135deg, #00B1FD 0%, #0099db 100%);
      border-radius: 12px;
      padding: 2.5rem 2rem;
      margin-top: 4rem;
      text-align: center;
      color: white;
      position: relative;
      overflow: hidden;
    }

    .cta-banner::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -10%;
      width: 300px;
      height: 300px;
      background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
      border-radius: 50%;
    }

    .cta-banner h3 {
      font-size: 1.8rem;
      font-weight: 700;
      margin-bottom: 1rem;
      position: relative;
      z-index: 1;
    }

    .cta-banner p {
      font-size: 1.05rem;
      margin-bottom: 1.5rem;
      opacity: 0.95;
      position: relative;
      z-index: 1;
    }

    .cta-button {
      background: white;
      color: #00B1FD;
      border: none;
      padding: 0.8rem 2rem;
      border-radius: 8px;
      font-weight: 600;
      font-size: 1rem;
      cursor: pointer;
      transition: all 0.3s ease;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      position: relative;
      z-index: 1;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .cta-button:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(0,0,0,0.15);
      color: #0099db;
    }

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

      .community-stats {
        flex-direction: column;
        gap: 0.8rem;
      }

      .cta-banner h3 {
        font-size: 1.5rem;
      }

      .cta-banner {
        padding: 2rem 1.5rem;
      }
    }

    /* Animação de entrada */
    .fade-in-up {
      animation: fadeInUp 0.6s ease-out forwards;
      opacity: 0;
    }

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

    .fade-in-up:nth-child(1) { animation-delay: 0.1s; }
    .fade-in-up:nth-child(2) { animation-delay: 0.2s; }
    .fade-in-up:nth-child(3) { animation-delay: 0.3s; }


/* ==================== BASE ==================== */
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  padding-top: var(--navbar-height);
  transition: padding-top 0.18s ease;
  background: #fff;
  color: #333;
}
.text-primary {
  color: var(--primary) !important;
}

/* Loader */
/* Loader Overlay */
#loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #0d0d0d; /* um pouco mais claro que #000, mais clean */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  font-family: "Poppins", sans-serif;
}

/* Spinner clean + glow leve */
#loader .spinner {
  width: 75px;
  height: 75px;
  border: 5px solid rgba(255,255,255,0.06); /* borda suave */
  border-top: 5px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  filter: drop-shadow(0 0 4px rgba(0,179,255,0.65)); /* glow leve sem borrão */
  margin-bottom: 14px;
}

/* Texto nítido, sem blur */
#loader .loader-text {
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 500;
  opacity: 0.85;
  animation: textPulse 1.8s ease-in-out infinite;
  letter-spacing: 0.5px; /* mais legível */
}

/* Animações */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes textPulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}


/* Texto do loader */
#loader .loader-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  opacity: 0.8;
  letter-spacing: 1px;
}

/* Quando esconder */
#loader.hidden {
  opacity: 0;
  visibility: hidden;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* ==================== NAVBAR ==================== */
.navbar {
  background: #222;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease, backdrop-filter 0.35s ease;
}
/* Logo suavemente reduzida */
.navbar-brand img {
  height: 105px;
  transition: height 0.35s ease;
}

.navbar.scrolled .navbar-brand img {
  height: 60px;
}

/* Link ativo no menu */
.navbar .nav-link.active {
  color: var(--primary);
  font-weight: 600;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
  color: var(--primary);
}
/* Header ao rolar */
.navbar.scrolled {
  background: rgba(29, 29, 29, 0.85); /* leve transparência */
  backdrop-filter: blur(8px);             /* efeito vidro */
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  padding: 0.4rem 1rem;                   /* menor */
}
.navbar.scrolled .navbar-brand img { height: 55px; }
.navbar .nav-link {
  font-size: 1.1rem;
  margin-right: 12px;
  font-weight: 500;
  padding: 0.6rem 0.9rem;
  color: var(--light);
  transition: color 0.3s ease, transform 0.2s ease;
}
.navbar .nav-link:hover {
  color: var(--light);
  transform: translateY(-2px);
}

/* Botão Doe Agora */
.navbar .btn-doar {
  border-radius: 20px;
  padding: 0.45rem 1.2rem;
  background: var(--primary);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  transition: all 0.25s ease;
}
.navbar .btn-doar:hover {
  background: #fff;
  color: var(--primary) !important;
  border: 2px solid var(--primary);
  transform: translateY(-1px);
}

/* Dropdown */
.dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s ease;
  border-radius: 10px;
  border: none;
  min-width: 200px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item {
  padding: 10px 18px;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: background 0.3s ease, color 0.3s ease;
}
.dropdown-item:hover {
  background-color: var(--primary);
  color: #fff;
}

/* Indicadores */
.carousel-indicators [data-bs-target] {
  width: 12px; height: 12px;
  background-color: var(--primary);
  border-radius: 50%;
  margin: 0 4px;
  opacity: 0.8;
  transition: all 0.3s ease;
}
.carousel-indicators .active {
  transform: scale(1.3);
  background-color: var(--dark);
}

/* Setas */
.carousel-control-prev,
.carousel-control-next {
  width: 55px; height: 55px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(153, 153, 153, 0.4);
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  opacity: 0.5;
  margin: 0 45px;
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(66, 66, 66, 0.7);
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 70% 70%;
  filter: invert(1);
  width: 25px; height: 25px;
}

/* Ajuste das setas no mobile */
@media (max-width: 768px) {
  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
    margin: 0 15px;        /* aproxima das laterais */
    opacity: 0.7;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 18px;
    height: 18px;
  }
    .carousel-item img {
    height: 55vh;              /* reduz altura */
    object-position: top center; /* mostra mais da parte superior */
  }
  .carousel-caption {
    bottom: 15%;   /* sobe o texto */
    padding: 0 10px;
  }
  .carousel-caption h1 {
    font-size: 1.6rem;
  }
  .carousel-caption p {
    font-size: 0.95rem;
  }
}

/* ==================== SEÇÕES ==================== */
/* Impacto */
#impacto {
  background: linear-gradient(135deg, #0b3d5c, #0f5c7f);
}
#impacto h2 { color: #fff; }
#doar {
      background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
      position: relative;
      overflow: hidden;
    }

    #doar::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(0,177,253,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
      opacity: 1;
    }

    .donation-container {
      position: relative;
      z-index: 1;
    }

    .donation-header {
      margin-bottom: 3rem;
    }

    .donation-title {
      font-size: 2.5rem;
      font-weight: 700;
      color: #2d3748;
      margin-bottom: 1rem;
    }

    .donation-subtitle {
      font-size: 1.2rem;
      color: #4a5568;
      max-width: 700px;
      margin: 0 auto;
      line-height: 1.6;
      font-weight: 400;
    }

    .donation-cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 2rem;
      margin-bottom: 3rem;
    }

    .donation-card {
      background: white;
      border-radius: 12px;
      padding: 2rem 1.5rem;
      box-shadow: 0 2px 12px rgba(0,0,0,0.06);
      transition: all 0.3s ease;
      border: 1px solid #e2e8f0;
    }

    .donation-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 25px rgba(0,177,253,0.15);
      border-color: #00B1FD;
    }

    .donation-icon {
      width: 70px;
      height: 70px;
      margin: 0 auto 1.5rem;
      background: #00B1FD;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
      color: white;
      box-shadow: 0 4px 15px rgba(0,177,253,0.25);
    }

    .donation-card h3 {
      font-size: 1.4rem;
      font-weight: 700;
      color: #2d3748;
      margin-bottom: 1rem;
      text-align: center;
    }

    .donation-card p {
      color: #4a5568;
      font-size: 1rem;
      line-height: 1.6;
      margin-bottom: 0;
    }

    .pix-section {
      background: white;
      border-radius: 12px;
      padding: 0;
      margin-bottom: 3rem;
      box-shadow: 0 2px 12px rgba(0,0,0,0.06);
      border: 1px solid #e2e8f0;
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      overflow: hidden;
    }

    .pix-image {
      background: linear-gradient(135deg, rgba(0,177,253,0.9) 0%, rgba(0,153,219,0.9) 100%),
                  url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?w=800&h=600&fit=crop') center/cover;
      min-height: 400px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 2rem;
      position: relative;
    }

    .pix-image::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
    }

    .pix-image-content {
      position: relative;
      z-index: 1;
      text-align: center;
      color: white;
    }

    .pix-image-content h4 {
      font-size: 1.8rem;
      font-weight: 700;
      margin-bottom: 1rem;
      text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }

    .pix-image-content p {
      font-size: 1rem;
      line-height: 1.6;
      opacity: 0.95;
      text-shadow: 0 1px 4px rgba(0,0,0,0.2);
    }

    .pix-content {
      padding: 2rem 1.5rem;
      text-align: center;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .pix-title {
      font-size: 1.4rem;
      font-weight: 600;
      color: #2d3748;
      margin-bottom: 1.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.6rem;
    }

    .pix-icon {
      font-size: 1.5rem;
      color: #00B1FD;
    }

    .pix-code {
      background: #f7fafc;
      border: 2px dashed #cbd5e0;
      border-radius: 8px;
      padding: 1rem 1.5rem;
      margin-bottom: 1rem;
      display: inline-block;
    }

    .pix-number {
      font-size: 1.1rem;
      font-weight: 600;
      color: #4a5568;
      letter-spacing: 0.5px;
      margin: 0;
      font-family: 'Courier New', monospace;
    }

    .copy-btn {
      background: #00B1FD;
      color: white;
      border: none;
      padding: 0.6rem 1.5rem;
      border-radius: 6px;
      font-weight: 500;
      font-size: 0.95rem;
      cursor: pointer;
      transition: all 0.2s ease;
      box-shadow: 0 2px 8px rgba(0,177,253,0.25);
    }

    .copy-btn:hover {
      background: #0099db;
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(0,177,253,0.35);
    }

    .copy-btn i {
      margin-right: 0.4rem;
      font-size: 0.9rem;
    }

    .cta-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 1.5rem;
      justify-content: center;
      align-items: center;
    }

    .btn-primary-custom {
      background: #00B1FD;
      color: white;
      border: none;
      padding: 0.9rem 2.5rem;
      border-radius: 8px;
      font-weight: 600;
      font-size: 1.05rem;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(0,177,253,0.25);
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.7rem;
    }

    .btn-primary-custom:hover {
      background: #0099db;
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(0,177,253,0.35);
      color: white;
    }

    .btn-outline-custom {
      background: transparent;
      color: #4a5568;
      border: 2px solid #cbd5e0;
      padding: 0.9rem 2.5rem;
      border-radius: 8px;
      font-weight: 600;
      font-size: 1.05rem;
      transition: all 0.3s ease;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.7rem;
    }

    .btn-outline-custom:hover {
      background: #f7fafc;
      color: #00B1FD;
      border-color: #00B1FD;
      transform: translateY(-2px);
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .impact-text {
      background: transparent;
      border-radius: 0;
      padding: 1.5rem 0 0 0;
      margin-top: 1.5rem;
      border: none;
      border-top: 1px solid #e2e8f0;
    }

    .impact-text p {
      color: #718096;
      font-size: 0.9rem;
      margin: 0;
      line-height: 1.6;
    }

    .impact-text strong {
      color: #00B1FD;
      font-weight: 600;
    }

    @media (max-width: 768px) {
      .donation-title {
        font-size: 2rem;
      }
      
      .donation-subtitle {
        font-size: 1.1rem;
      }
      
      .pix-number {
        font-size: 1.3rem;
      }
      
      .donation-cards {
        grid-template-columns: 1fr;
      }
      
      .cta-buttons {
        flex-direction: column;
      }
      
      .btn-primary-custom,
      .btn-outline-custom {
        width: 100%;
        justify-content: center;
      }

      .pix-section {
        grid-template-columns: 1fr;
        max-width: 500px;
      }

      .pix-image {
        min-height: 250px;
        order: -1;
      }

      .pix-content {
        padding: 1.5rem;
      }
    }

    .floating {
      animation: floating 3s ease-in-out infinite;
    }

    @keyframes floating {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-10px); }
    }

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

/* HERO PROFISSIONAL */
.sobre-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

/* overlay com 2 camadas (gradiente + vignette) */
.sobre-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* camada 1 - gradiente institucional azul */
    linear-gradient(
      to right,
      rgba(0, 179, 255, 0.55),
      rgba(0, 179, 255, 0.15)
    ),
    /* camada 2 - vignette suave para profundidade */
    radial-gradient(
      circle at center,
      rgba(0,0,0,0) 40%,
      rgba(0,0,0,0.55) 100%
    );
  mix-blend-mode: multiply; /* união profissional das camadas */
  z-index: 1;
}

/* camada de cor suave para maior equilíbrio tonal */
.sobre-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1;
}

/* Ajuste do container e textos */
.sobre-hero .container {
  position: relative;
  z-index: 3;
  animation: heroFade 1.2s ease forwards;
}

.sobre-hero h1 {
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.sobre-hero p {
  opacity: 0.9;
  font-size: 1.2rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.45);
}

/* animação cinematográfica do conteúdo */
@keyframes heroFade {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Sobre */
.sobre-img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.sobre-img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* Parceiros */
.parceiro-logo {
  max-height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.parceiro-item {
  position: relative;
  overflow: hidden;
}

.parceiro-logo {
  transition: transform 0.4s ease;
}

.parceiro-overlay {
  position: absolute;
  inset: 0; /* ocupa toda a área */
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.parceiro-overlay span {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

/* Animação no hover */
.parceiro-item:hover .parceiro-overlay {
  opacity: 1;
}

.parceiro-item:hover .parceiro-overlay span {
  opacity: 1;
  transform: translateY(0);
}

.parceiro-item:hover .parceiro-logo {
  transform: scale(1.05);
}
/* ==================== CARDS & ELEMENTOS ==================== */
.impact-card,
.program-card,
.donate-card,
.card.h-100 {
  background: #fff;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border 0.35s ease;
}
.impact-card:hover,
.program-card:hover,
.card.h-100:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0,0,0,0.18);
  border: 1px solid rgba(0,177,253,0.25);
}

/* Ícones nos cards */
.impact-card i {
  transition: transform 0.3s ease, color 0.3s ease;
}
.impact-card:hover i {
  transform: scale(1.2) rotate(-5deg);
  color: #0056b3;
}

/* Impact numbers */
.impact-number {
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--primary);
}
.impact-label {
  color: #2c3e50;
  font-weight: 600;
}
.icon-wrap {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: #eaf2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .75rem;
  font-size: 1.5rem;
  color: var(--primary);
}

/* ==================== BOTÕES ==================== */
/* Primário */
.btn-primary {
  color: #fff;
  background-color: var(--primary);
  border-color: var(--primary);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #0091d1;
  border-color: #0091d1;
  color: #fff;
}
/* Glow effect */
.btn-primary::after,
.btn-doar::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;

}
.btn-primary:hover::after,
.btn-doar:hover::after {
  left: 100%;
}

/* ==================== SIDE BUTTONS ==================== */
.side-donate {
  position: fixed;
  top: 50%; left: 0;
  transform: translateY(-50%);
  z-index: 2100;
}
.side-donate .btn-donate {
  display: flex;
  align-items: center;
  background: var(--primary);
  color: #fff;
  padding: 12px;
  border-radius: 0 30px 30px 0;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  width: 52px;
  overflow: hidden;
  position: relative;
}
.side-donate .btn-donate i {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}
.side-donate .btn-donate span {
  white-space: nowrap;
  opacity: 0;
  max-width: 0;
  margin-left: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}
.side-donate .btn-donate:hover {
  width: 160px;
  background: var(--dark);
}
.side-donate .btn-donate:hover span {
  opacity: 1;
  max-width: 120px;
  margin-left: 8px;
}
.side-donate .btn-donate:hover i {
  transform: scale(1.2) rotate(-10deg);
}

/* Redes sociais laterais */
.side-social {
  position: fixed;
  top: 40%; right: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2100;
}
.side-social a {
  color: #fff;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  font-size: 1.4rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25,1,0.5,1);
}
.side-social a i {
  transition: transform 0.35s ease;
}
.side-social a:hover i {
  transform: scale(1.18) rotate(-6deg);
}
.side-social a.facebook { background: #1877f2; }
.side-social a.instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.side-social a.whatsapp { background: #25d366; }

/* ===== Footer responsivo e organizado ===== */
.footer {
  background: #222;
  color: var(--light);
  padding: 48px 18px;
  font-size: 0.95rem;
  overflow: hidden;
}

/* Container interno */
.footer .container {
  max-width: 1200px;
}

/* ===== Coluna - marca ===== */
.footer-brand {
  display: flex;
  flex-direction: column;
}

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

.footer-logo-img {
  max-width: 80px;
  width: auto;
  height: auto;
  display: block;
}

.footer-title {
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-desc {
  margin-top: 12px;
  max-width: 380px;
  font-size: 0.92rem;
  opacity: 0.9;
}

/* ===== Coluna - info ===== */
.footer-info h6 {
  margin-bottom: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}
.footer-info ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.footer-info ul li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: left;
  gap: 6px;
  font-size: 0.92rem;
}
.footer-info ul li i {
  opacity: 0.9;
  font-size: 1rem;
}

/* ===== Coluna - redes sociais ===== */
.footer-social h6 {
  margin-bottom: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* botões sociais */
.footer .social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.footer .social.facebook { background: #1877f2; }
.footer .social.instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.footer .social.whatsapp { background: #25d366; }
.footer .social.youtube { background: #ff0000; }

.footer .social:hover,
.footer .social:focus {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
  text-decoration: none;
  outline: none;
}

/* ===== Divisor e créditos ===== */
.footer hr {
  border-color: rgba(255,255,255,0.12);
}
.footer-bottom {
  margin-top: 18px;
  padding-top: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
}

/* links dentro do footer */
.footer a {
  color: var(--light);
}
.footer a.text-primary { color: var(--primary); }

/* ===== Responsividade ===== */
@media (max-width: 991px) {
  .footer .row { text-align: center; }
  .footer-brand { align-items: center; }
  .footer-logo { justify-content: center; }
  .footer-desc { max-width: 100%; margin: 12px 0 0 0; }
  .footer-social .d-flex { justify-content: center !important; }
  .footer-info { margin-top: 16px; }
  .footer .col-lg-4 { margin-bottom: 1rem; }
}

@media (max-width: 575px) {
  .footer {
    padding: 32px 14px;
  }
  .footer-logo-img { max-width: 70px; }
  .footer .social { width: 40px; height: 40px; font-size: 1rem; }
  .footer-title { font-size: 0.95rem; letter-spacing: 1px; }
  .footer-desc { font-size: 0.88rem; }
  .footer-bottom { font-size: 0.78rem; }
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
  .carousel-indicators {
    display: none;
  }
}

/* ==================== RESPONSIVIDADE ==================== */
@media (max-width: 991px) {
  .navbar .nav-link { margin-left: 0; display: block; }
  .hero .carousel-inner, .hero .hero-img { height: 55vh; }
}
@media (max-width: 575px) {
  .hero .carousel-inner, .hero .hero-img { height: 45vh; }
  .impact-number { font-size: 1.6rem; }
  .navbar .btn { padding: .4rem .8rem; }
  .navbar-brand img { margin-top: 10px; height: 95px; }
  .navbar-toggler { margin-right: 10px; }
    .carousel-item img {
    height: 45vh;
    object-position: top center; /* evita cortar tanto o banner */
  }
  .carousel-caption {
    bottom: 12%;
  }
  .carousel-caption h1 {
    font-size: 1.3rem;
  }
  .side-social {
    display: none;
  }
}
@media (min-width: 992px) {
  .dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
}
