:root {
  --gd: #0a3d20;
  --gm: #198754;
  --gl: #d1fae5;
  --ac: #f59e0b;
  --bg: #f8faf9;
}
html { scroll-behavior: smooth; }
body { font-family: "Inter", sans-serif; overflow-x: hidden; }

/* ── TOP BAR ── */
.topbar {
  background: var(--gd);
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar a { color: rgba(255,255,255,0.75); text-decoration: none; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .sep { color: rgba(255,255,255,0.25); margin: 0 6px; }
.tb-social a {
  width: 26px; height: 26px; border-radius: 6px;
  background: rgba(255,255,255,0.1);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.75); font-size: 0.8rem; transition: .2s; text-decoration: none;
}
.tb-social a:hover { background: var(--ac); color: #000; }

/* ── NAVBAR ── */
#mainNav {
  background: rgba(10,61,32,0.97);
  backdrop-filter: blur(14px);
  padding: 10px 0;
  transition: box-shadow .3s, padding .3s;
}
#mainNav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.35); padding: 6px 0; }
.navbar-brand img { height: 46px; filter: brightness(0) invert(1); }
.nav-link {
  color: rgba(255,255,255,0.82) !important; font-weight: 500; font-size: 0.875rem;
  border-radius: 6px; padding: 6px 12px !important; transition: .2s;
}
.nav-link:hover, .nav-link.active { color: #fff !important; background: rgba(255,255,255,0.1); }
.btn-nav-assoc {
  color: #fff !important; font-weight: 700; border: 2px solid rgba(255,255,255,.45);
  border-radius: 30px; padding: 7px 18px; font-size: 0.82rem;
  text-decoration: none; white-space: nowrap; transition: .3s;
}
.btn-nav-assoc:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-nav-doacao {
  background: var(--ac); color: #000 !important; font-weight: 700;
  border-radius: 30px; padding: 7px 18px; font-size: 0.82rem;
  text-decoration: none; white-space: nowrap; border: none; transition: .3s;
}
.btn-nav-doacao:hover { background: #d97706; }

/* ── OFFCANVAS ── */
.offcanvas { background: var(--gd); }
.offcanvas-title { color: #fff; font-weight: 900; font-size: 1.3rem; }
.offcanvas-title span { color: var(--ac); }
.offcanvas .btn-close { filter: invert(1) brightness(2); }
.offcanvas .nav-link {
  color: rgba(255,255,255,.8) !important; font-size: 1rem; padding: 12px 14px !important;
  border-radius: 10px; display: flex; align-items: center; gap: 10px;
}
.offcanvas .nav-link:hover { color: #fff !important; background: rgba(255,255,255,.08); }

/* ── PAGE HEADER ── */
.page-header {
  background: linear-gradient(135deg, var(--gd), var(--gm));
  padding: 120px 0 60px; text-align: center; color: #fff; position: relative;
}
.page-header::before {
  content: ""; position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="40" fill="rgba(255,255,255,0.03)"/><circle cx="20" cy="80" r="30" fill="rgba(255,255,255,0.02)"/></svg>');
  background-size: cover;
}
.page-header * { position: relative; z-index: 2; }
.page-header .section-tag { background: rgba(255,255,255,.15); color: #fff; }
.page-header h1 { font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 900; margin-top: 12px; }
.page-header p { opacity: .85; max-width: 540px; margin: 12px auto 0; }
.breadcrumb-nav { font-size: .82rem; margin-top: 18px; }
.breadcrumb-nav a { color: rgba(255,255,255,.7); text-decoration: none; }
.breadcrumb-nav a:hover { color: #fff; }
.breadcrumb-nav span { color: rgba(255,255,255,.5); margin: 0 6px; }

/* ── HERO ── */
.hero-slide {
  height: 100vh; min-height: 620px; position: relative;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; background-size: cover; background-position: center;
}
.hero-ov { position: absolute; inset: 0; background: rgba(0,0,0,.35); z-index: 1; }
.hero-cnt { position: relative; z-index: 2; max-width: 780px; padding: 0 20px; }
.slide-badge {
  display: inline-block; background: rgba(255,255,255,.17);
  border: 1px solid rgba(255,255,255,.32); border-radius: 30px;
  padding: 5px 18px; font-size: .76rem; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 16px;
}
.slide-title { font-size: clamp(2rem,5.5vw,3.8rem); font-weight: 900; line-height: 1.15; margin-bottom: 16px; }
.slide-sub { font-size: clamp(.9rem,1.8vw,1.15rem); opacity: .88; margin-bottom: 34px; font-weight: 300; }
.btn-hg {
  background: var(--ac); color: #000; font-weight: 700; border: none;
  border-radius: 50px; padding: 13px 28px; font-size: .92rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: .3s;
}
.btn-hg:hover { background: #d97706; color: #000; transform: translateY(-2px); }
.btn-ho {
  background: transparent; color: #fff; font-weight: 600;
  border: 2px solid rgba(255,255,255,.55); border-radius: 50px;
  padding: 11px 26px; font-size: .92rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: .3s;
}
.btn-ho:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; transform: translateY(-2px); }
.carousel-control-prev-icon,
.carousel-control-next-icon { background-color: rgba(255,255,255,.2); border-radius: 50%; width: 46px; height: 46px; background-size: 44%; }
.carousel-indicators [data-bs-target] { width: 9px; height: 9px; border-radius: 50%; border: 2px solid #fff; opacity: .5; background: transparent; }
.carousel-indicators .active { opacity: 1; background: var(--ac); }
.scroll-dn {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 5; color: rgba(255,255,255,.65); font-size: 1.7rem;
  animation: bnc 2s infinite; text-decoration: none;
}
@keyframes bnc { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ── STATS ── */
.stats-bar { background: var(--gd); padding: 28px 0; }
.stat-n { font-size: 2rem; font-weight: 900; color: var(--ac); line-height: 1; }
.stat-l { font-size: .8rem; color: rgba(255,255,255,.72); margin-top: 3px; }

/* ── SECTIONS ── */
.section { padding: 88px 0; }
.section-tag {
  display: inline-block; background: var(--gl); color: var(--gm);
  border-radius: 30px; padding: 4px 15px; font-size: .75rem;
  font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.section-title { font-size: clamp(1.6rem,3.8vw,2.5rem); font-weight: 900; color: #111; line-height: 1.2; }

/* ── ICON BOX ── */
.ib {
  width: 58px; height: 58px; min-width: 58px; background: var(--gl);
  border-radius: 15px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--gm); transition: .3s;
}

/* ── CARDS ── */
.curso-card {
  background: #fff; border: none; border-radius: 18px; padding: 24px 18px;
  text-align: center; box-shadow: 0 5px 22px rgba(0,0,0,.07); transition: .3s; height: 100%;
}
.curso-card:hover { transform: translateY(-7px); box-shadow: 0 16px 38px rgba(0,0,0,.11); }
.curso-card:hover .ib { background: var(--gm); color: #fff; }
.curso-card .ib { width: 54px; height: 54px; min-width: 54px; font-size: 1.3rem; border-radius: 13px; margin: 0 auto 14px; }
.cat-badge {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; background: var(--gl); color: var(--gm);
  border-radius: 20px; padding: 3px 10px; margin-bottom: 10px;
}

.proj-card { border: none; border-radius: 18px; overflow: hidden; box-shadow: 0 5px 22px rgba(0,0,0,.08); transition: .35s; height: 100%; }
.proj-card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(0,0,0,.13); }
.proj-card img { height: 205px; object-fit: cover; width: 100%; }
.proj-card .card-body { padding: 20px; }
.card-tag { display: inline-block; background: var(--gl); color: var(--gm); font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-bottom: 9px; }

.benefit-card, .transp-card, .contact-card {
  background: #fff; border-radius: 18px; padding: 28px 22px; text-align: center;
  box-shadow: 0 5px 22px rgba(0,0,0,.07); transition: .3s; height: 100%;
}
.benefit-card:hover, .transp-card:hover, .contact-card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(0,0,0,.11); }
.benefit-card:hover .ib, .transp-card:hover .ib, .contact-card:hover .ib { background: var(--gm); color: #fff; }
.benefit-card .ib, .transp-card .ib, .contact-card .ib { width: 54px; height: 54px; min-width: 54px; font-size: 1.3rem; border-radius: 13px; margin: 0 auto 14px; }

.depo-card { background: #fff; border-radius: 18px; padding: 28px 24px; box-shadow: 0 5px 22px rgba(0,0,0,.07); transition: .3s; height: 100%; }
.depo-card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(0,0,0,.11); }
.depo-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gl); }
.depo-stars { color: var(--ac); font-size: .85rem; }

/* ── CTA ── */
.cta-section { background: linear-gradient(135deg, var(--gd), var(--gm)); padding: 88px 0; position: relative; overflow: hidden; }
.cta-section::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.18); }
.cta-inner { position: relative; z-index: 2; }
.btn-cg {
  background: var(--ac); color: #000; font-weight: 800; border-radius: 50px;
  padding: 14px 34px; font-size: .95rem; border: none; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px; transition: .3s;
}
.btn-cg:hover { background: #d97706; color: #000; transform: translateY(-2px); }
.btn-cw {
  background: transparent; color: #fff; font-weight: 700;
  border: 2px solid rgba(255,255,255,.5); border-radius: 50px;
  padding: 12px 32px; font-size: .95rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px; transition: .3s;
}
.btn-cw:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

/* ── GALLERY ── */
.gallery-img { border-radius: 16px; overflow: hidden; box-shadow: 0 5px 22px rgba(0,0,0,.08); transition: .35s; }
.gallery-img:hover { transform: scale(1.03); box-shadow: 0 14px 34px rgba(0,0,0,.14); }
.gallery-img img { width: 100%; height: 220px; object-fit: cover; display: block; }

/* ── CAUSE ── */
.cause-section { position: relative; background-size: cover; background-position: center; min-height: 600px; display: flex; align-items: center; }
.cause-section::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,61,32,.92), rgba(25,135,84,.85)); }
.cause-inner { position: relative; z-index: 2; }

/* ── FORM ── */
.form-control, .form-select { border-radius: 10px !important; border: 1.5px solid #e2e8f0 !important; padding: 12px 15px !important; font-size: .88rem !important; }
.form-control:focus, .form-select:focus { border-color: var(--gm) !important; box-shadow: 0 0 0 3px rgba(25,135,84,.12) !important; }
.form-label { font-weight: 600; font-size: .82rem; color: #444; margin-bottom: 6px; }

/* ── DONATION ── */
.donation-amount {
  border: 2px solid #e2e8f0; border-radius: 14px; padding: 18px; text-align: center;
  cursor: pointer; transition: .3s; background: #fff;
}
.donation-amount:hover { border-color: var(--gm); }
.donation-amount.selected { border-color: var(--gm); background: var(--gl); }
.donation-amount .amount { font-size: 1.6rem; font-weight: 900; color: var(--gd); }

/* ── FOOTER ── */
.footer { background: #071910; color: rgba(255,255,255,.72); }
.footer-top { padding: 60px 0 36px; }
.footer-brand img { height: 44px; filter: brightness(0) invert(1); }
.footer-title { color: #fff; font-weight: 700; font-size: .88rem; margin-bottom: 14px; letter-spacing: .4px; }
.fl { display: block; color: rgba(255,255,255,.58); text-decoration: none; font-size: .86rem; margin-bottom: 9px; transition: .2s; }
.fl:hover { color: var(--ac); padding-left: 4px; }
.footer hr { border-color: rgba(255,255,255,.09); margin: 0; }
.footer-bottom { padding: 16px 0; font-size: .8rem; color: rgba(255,255,255,.42); }
.soc {
  width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,.08);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.72); text-decoration: none; font-size: .95rem; transition: .3s;
}
.soc:hover { background: var(--ac); color: #000; transform: translateY(-2px); }
.nl-inp {
  background: rgba(255,255,255,.07) !important; border: 1.5px solid rgba(255,255,255,.14) !important;
  color: #fff !important; border-radius: 10px 0 0 10px !important; padding: 12px 15px !important; font-size: .86rem !important;
}
.nl-inp::placeholder { color: rgba(255,255,255,.38); }
.nl-inp:focus { border-color: var(--ac) !important; box-shadow: none !important; }
.nl-btn { background: var(--ac); color: #000; font-weight: 700; border: none; border-radius: 0 10px 10px 0; padding: 12px 18px; font-size: .86rem; white-space: nowrap; }
.nl-btn:hover { background: #d97706; }
.dpo-item { font-size: .82rem; color: rgba(255,255,255,.55); }
.dpo-item strong { color: rgba(255,255,255,.78); display: block; }

/* ── FIXED ── */
.wa-btn {
  position: fixed; bottom: 86px; right: 20px; z-index: 1050;
  background: #25D366; color: #fff; width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; text-decoration: none; box-shadow: 0 4px 16px rgba(37,211,102,.5); transition: .3s;
}
.wa-btn:hover { transform: scale(1.1); color: #fff; }
#btt {
  position: fixed; bottom: 20px; right: 20px; z-index: 1050;
  background: var(--gm); color: #fff; width: 42px; height: 42px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; text-decoration: none; box-shadow: 0 4px 14px rgba(25,135,84,.4);
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
}
#btt.show { opacity: 1; pointer-events: all; }
#btt:hover { color: #fff; transform: translateY(-2px); }

/* ── TIMELINE ── */
.timeline-item { position: relative; padding-left: 40px; margin-bottom: 32px; }
.timeline-item::before { content: ""; position: absolute; left: 14px; top: 30px; bottom: -32px; width: 2px; background: var(--gl); }
.timeline-item:last-child::before { display: none; }
.timeline-dot { position: absolute; left: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--gm); border: 3px solid var(--gl); }

/* ── SCROLL REVEAL ── */
.sr { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.sr.visible { opacity: 1; transform: translateY(0); }
