/* ============================================
   AACC/MS — Landing Page "Quero Doar"
   ============================================ */

:root {
  --blue: #0F8BC4;
  --blue-dark: #0A6F9E;
  --magenta: #D91A79;
  --magenta-dark: #B4145F;
  --green: #6FA300;
  --green-bg: #92C922;
  --purple: #6E639E;
  --cream: #FFF6E2;
  --ink: #23252B;
  --ink-soft: #55565E;
  --border-soft: #ECE3CE;

  --font-display: 'Lato', sans-serif;
  --font-body: 'Lato', sans-serif;
}

html {
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display-font {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.text-ink-soft { color: var(--ink-soft); }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--magenta-dark);
  background: rgba(217, 26, 121, .08);
  border-radius: 50px;
  padding: .4rem .9rem;
}
.section-eyebrow.is-blue {
  color: var(--blue-dark);
  background: rgba(15, 139, 196, .08);
}
.section-eyebrow.is-green {
  color: var(--green);
  background: rgba(146, 201, 34, .14);
}

.bg-cream { background-color: var(--cream); }
.bg-blue { background-color: var(--blue); }
.text-blue { color: var(--blue-dark); }
.text-magenta { color: var(--magenta); }
.text-purple { color: var(--purple); }

/* ---------- Buttons ---------- */
.btn {
  font-weight: 800;
  border-radius: 50px;
  padding: .85rem 1.6rem;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.btn-donate {
  background: var(--magenta);
  color: #fff;
  border: none;
  box-shadow: 0 10px 24px -8px rgba(217, 26, 121, .55);
}
.btn-donate:hover, .btn-donate:focus {
  background: var(--magenta-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(217, 26, 121, .65);
}
.btn-outline-brand {
  background: #fff;
  color: var(--blue-dark);
  border: 2px solid var(--blue);
}
.btn-outline-brand:hover, .btn-outline-brand:focus {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}
.btn-sm-pill {
  padding: .55rem 1.1rem;
  font-size: .92rem;
}
.btn-copy {
  background: var(--blue);
  color: #fff;
  border: none;
}
.btn-copy:hover, .btn-copy:focus { background: var(--blue-dark); color: #fff; }
.btn-copy.is-copied { background: var(--green); color: #1c3300; }

@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header .navbar-brand img {
  height: 40px;
  width: auto;
}
.site-header .nav-link {
  font-weight: 700;
  color: var(--ink);
  padding: .5rem .9rem !important;
}
.site-header .nav-link:hover { color: var(--magenta); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFDF7 0%, var(--cream) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(15,139,196,.16), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -160px;
  left: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, rgba(146,201,34,.16), transparent 70%);
  pointer-events: none;
}
.hero-photo-wrap {
  position: relative;
  z-index: 1;
}
.hero-photo-blob {
  position: absolute;
  inset: -18px -18px auto auto;
  width: 88%;
  height: 92%;
  background: var(--green-bg);
  border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
  z-index: 0;
  opacity: .35;
}
.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 30px 60px -20px rgba(35, 37, 43, .35);
}
.hero-stat-card {
  position: absolute;
  z-index: 2;
  left: -10px;
  bottom: -18px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 36px -14px rgba(35, 37, 43, .3);
  padding: .9rem 1.2rem;
  min-width: 168px;
}
@media (max-width: 991.98px) {
  .hero-stat-card { left: 12px; bottom: -16px; }
}
@media (max-width: 575.98px) {
  .hero.section-pad { padding-block: 1.75rem clamp(2.5rem, 6vw, 4rem); }
  .hero-photo-wrap { max-width: 220px !important; }
  .hero-photo { aspect-ratio: 1 / 1; }
  .hero-stat-card { padding: .6rem .8rem; min-width: 0; left: 8px; bottom: -14px; }
  .hero-stat-card .num { font-size: 1.3rem; }
  .hero-stat-card .small { font-size: .7rem; }
}
.hero-stat-card .num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--magenta);
  line-height: 1;
}

/* ---------- Amar a Vida banner ---------- */
.love-banner {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px -18px rgba(35,37,43,.25);
}
.love-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Impact strip ---------- */
.impact-strip {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.impact-item .num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--blue-dark);
  line-height: 1;
}
.impact-item:nth-child(2) .num { color: var(--magenta); }
.impact-item:nth-child(3) .num { color: var(--green); }
.impact-item:nth-child(4) .num { color: var(--purple); }
.impact-item .label {
  font-weight: 700;
  color: var(--ink-soft);
  font-size: .92rem;
}

/* ---------- Destination cards (Casa de Apoio / CETOHI) ---------- */
.dest-card {
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--border-soft);
  overflow: hidden;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.dest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -20px rgba(35,37,43,.25);
}
.dest-card .dest-body { padding: 1.75rem; }
.dest-card .dest-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* ---------- Donation plan cards ---------- */
.plan-card {
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--border-soft);
  overflow: hidden;
  height: 100%;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 44px -20px rgba(35,37,43,.28);
}
.plan-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.plan-card .plan-body {
  padding: 1.4rem 1.4rem 1.6rem;
}
.plan-tag {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .09em;
  color: var(--blue-dark);
  text-transform: uppercase;
}
.plan-card h3 {
  font-size: 1.15rem;
  margin-bottom: .35rem;
}
.plan-desc {
  font-size: .92rem;
  color: var(--ink-soft);
  min-height: 3.4em;
}
.plan-price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.9rem;
  color: var(--ink);
}
.plan-price small {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.plan-badge-featured {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--green-bg);
  color: #223300;
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .35rem .75rem;
  border-radius: 50px;
  box-shadow: 0 6px 14px -4px rgba(0,0,0,.25);
  z-index: 2;
}
.plan-card.is-selected {
  outline: 3px solid var(--magenta);
  outline-offset: 2px;
}

.plan-custom-card {
  border-radius: 22px;
  border: 2px dashed var(--blue);
  background: rgba(15,139,196,.04);
  height: 100%;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.plan-custom-card .form-control {
  border-radius: 50px;
  padding: .8rem 1.1rem;
  border: 1px solid #ccd6dd;
}
.plan-custom-card .form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 .2rem rgba(15,139,196,.15);
}

/* ---------- Pix section ---------- */
.pix-card {
  background: #fff;
  border-radius: 26px;
  border: 1px solid var(--border-soft);
  padding: 2rem;
  box-shadow: 0 24px 50px -24px rgba(35,37,43,.3);
}
.pix-key-box {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--cream);
  border: 1.5px dashed var(--blue);
  border-radius: 16px;
  padding: .9rem 1.1rem;
  flex-wrap: wrap;
}
.pix-key-box code {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  word-break: break-all;
}
.pix-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
.pix-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.6rem;
  margin-bottom: .9rem;
  color: var(--ink-soft);
  font-size: .95rem;
}
.pix-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -2px;
  width: 1.9rem; height: 1.9rem;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: .85rem;
}
.pix-selection-note {
  border-radius: 14px;
  background: rgba(217,26,121,.08);
  border: 1px solid rgba(217,26,121,.25);
  padding: .8rem 1rem;
  font-weight: 700;
  color: var(--magenta-dark);
  font-size: .92rem;
}

/* ---------- Other ways to help ---------- */
.help-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.help-item:last-child { border-bottom: none; }
.help-icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(15,139,196,.1);
  color: var(--blue-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.help-icon img { width: 26px; height: 26px; object-fit: contain; }
.bank-details {
  border-radius: 18px;
  background: var(--cream);
  padding: 1.25rem 1.5rem;
}

/* ---------- Transparency / contact ---------- */
.trust-badge {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-weight: 700;
  color: var(--ink-soft);
  font-size: .92rem;
}
.trust-badge i { color: var(--blue-dark); font-size: 1.2rem; }
.social-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: all .2s ease;
}
.social-btn:hover { background: var(--magenta); border-color: var(--magenta); color: #fff; transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer {
  background: #F3F3F3;
  color: var(--ink-soft);
  border-top: 1px solid var(--border-soft);
}
.site-footer h3 { color: var(--ink); }
.site-footer a { color: var(--blue-dark); text-decoration: none; }
.site-footer a:hover { color: var(--magenta); }
.site-footer .footer-logo { height: 40px; width: auto; }
.site-footer .footer-divider { border-top: 1px solid #ddd; opacity: 1; }
.site-footer .social-btn { background: #fff; }

/* ---------- Sticky mobile donate bar ---------- */
.mobile-donate-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1040;
  background: #fff;
  border-top: 1px solid var(--border-soft);
  box-shadow: 0 -10px 24px -16px rgba(0,0,0,.25);
  padding: .6rem .9rem;
  padding-bottom: calc(.6rem + env(safe-area-inset-bottom));
  transform: translate3d(0, 110%, 0);
  transition: transform .3s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.mobile-donate-bar.is-visible { transform: translate3d(0, 0, 0); }
.mobile-donate-bar .btn { width: 100%; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.section-pad { padding-block: clamp(3rem, 6vw, 6rem); }
.max-w-620 { max-width: 620px; }
.rounded-24 { border-radius: 24px; }

@media (max-width: 575.98px) {
  .display-1-mobile { font-size: 2.1rem; }
}
