/* ==========================================================================
   Arrecada Brasil — estilos do site público
   ========================================================================== */

:root {
  --ink: #0F1B2D;
  --ink-2: #2B3647;
  --muted: #5B6576;
  --muted-2: #8590A0;
  --line: #E3E6EB;
  --line-2: #EEF0F3;
  --bg: #F5F6F8;
  --surface: #FFFFFF;

  --navy: #0C2D62;
  --navy-700: #0A2552;
  --navy-900: #071A3B;
  --navy-50: #EDF2FA;

  --green: #12924A;
  --green-600: #0F7F40;
  --green-700: #0B6A35;
  --green-50: #E9F6EE;
  --green-100: #CFEBDA;

  --yellow: #FFC81E;
  --yellow-600: #E9B200;
  --yellow-50: #FFF8DF;

  --red: #C2362B;
  --red-50: #FCEDEB;
  --amber: #A86A00;
  --amber-50: #FFF4DD;
  --blue: #2E5BBA;
  --blue-50: #ECF1FB;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .06);
  --shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 6px 20px rgba(15, 27, 45, .06);
  --shadow-lg: 0 18px 48px rgba(15, 27, 45, .14);
  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --container: 1200px;
  --gutter: 20px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; letter-spacing: -0.018em; color: var(--ink); }
h1 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; }
h2 { font-size: clamp(1.375rem, 2.4vw, 1.875rem); font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(18, 146, 74, .45); outline-offset: 2px; border-radius: 4px; }
.icon { flex-shrink: 0; }
.muted { color: var(--muted); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
/* Itens de grade nunca podem forçar a página a ficar mais larga que a tela */
.checkout__grid > *, .campaign__grid > *, .campaign__main > *, .feature > *, .faq-layout > *, .two-col > *, .page-hero__grid > *,
.trust__grid > *, .card-grid > *, .form-grid > *, .hero__bar > *, .amount-grid > *, .info-cards > *, .steps > *, .donation-feed > * { min-width: 0; }
input, select, textarea { max-width: 100%; }
.container--narrow { max-width: 640px; }
.container--text { max-width: 760px; }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--surface); --btn-fg: var(--ink); --btn-bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px;
  font-weight: 700; font-size: .95rem; line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-bd); border-radius: 10px;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, transform .1s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-loading { opacity: .7; pointer-events: none; }
.btn--green { --btn-bg: var(--green); --btn-fg: #fff; --btn-bd: var(--green); box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 6px 16px rgba(18, 146, 74, .22); }
.btn--green:hover { --btn-bg: var(--green-600); --btn-bd: var(--green-600); }
.btn--navy { --btn-bg: var(--navy); --btn-fg: #fff; --btn-bd: var(--navy); }
.btn--navy:hover { --btn-bg: var(--navy-700); }
.btn--yellow { --btn-bg: var(--yellow); --btn-fg: var(--navy-900); --btn-bd: var(--yellow); }
.btn--yellow:hover { --btn-bg: var(--yellow-600); --btn-bd: var(--yellow-600); }
.btn--ghost { --btn-bg: var(--surface); --btn-fg: var(--ink); --btn-bd: #D3D8E0; }
.btn--ghost:hover { --btn-bg: #F3F5F8; --btn-bd: #C3C9D3; }
.btn--lg { min-height: 52px; padding: 12px 24px; font-size: 1.02rem; border-radius: 12px; }
.btn--sm { min-height: 36px; padding: 6px 12px; font-size: .875rem; border-radius: 8px; }
.btn--block { width: 100%; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 0; background: transparent; border-radius: 10px; cursor: pointer; color: var(--ink);
}
.icon-btn:hover { background: var(--line-2); }
.icon-btn--outline { border: 1px solid #D3D8E0; background: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--green-700); white-space: nowrap; }

/* ---------- Topbar e cabeçalho ---------- */
.topbar { background: var(--navy-900); color: #C9D4E6; font-size: .8125rem; }
.topbar__in { display: flex; align-items: center; gap: 24px; min-height: 36px; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.topbar__item .icon { color: var(--yellow); }
.topbar__link { margin-left: auto; color: #fff; font-weight: 600; }
.topbar__link .icon { color: #4ADE80; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none !important; flex-shrink: 0; }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand__name { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1; }
.brand__accent { color: var(--green); }
.main-nav { display: flex; gap: 4px; }
.main-nav a { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.main-nav a:hover, .main-nav a.is-active { background: var(--line-2); color: var(--ink); text-decoration: none; }
.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-search { position: relative; display: flex; align-items: center; }
.header-search .icon { position: absolute; left: 12px; color: var(--muted); pointer-events: none; }
.header-search input { width: 220px; height: 42px; padding: 0 12px 0 38px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); transition: width .2s ease, border-color .15s; }
.header-search input:focus { outline: none; border-color: var(--green); background: #fff; width: 260px; }
.nav-toggle { display: none; }
.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 20px 0 8px; background: linear-gradient(180deg, #fff 0%, #fff 60%, var(--bg) 100%); }
.hero__banner { display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--navy-50); }
.hero__banner img { width: 100%; height: auto; aspect-ratio: 2048 / 768; object-fit: cover; }
.hero__bar {
  position: relative; display: grid; grid-template-columns: 1fr minmax(320px, 520px); gap: 24px; align-items: center;
  margin: 16px 0 0; padding: 22px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.hero__intro h1 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin-bottom: 4px; }
.hero__intro p { margin: 0; color: var(--muted); }
.hero__search { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border: 1px solid #D3D8E0; border-radius: 12px; background: #fff; }
.hero__search:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(18,146,74,.12); }
.hero__search .icon { color: var(--muted); }
.hero__search input { flex: 1; min-width: 0; border: 0; outline: 0; height: 40px; background: transparent; }

/* ---------- Chips de categoria ---------- */
.cat-strip { padding: 22px 0 6px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
.chips--scroll::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
  color: var(--ink-2); font-weight: 600; font-size: .9rem; white-space: nowrap;
}
.chip .icon { color: var(--green); }
.chip:hover { border-color: #C3C9D3; text-decoration: none; color: var(--ink); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.is-active .icon { color: var(--yellow); }
.chip__count { font-size: .75rem; padding: 1px 7px; border-radius: 999px; background: var(--line-2); color: var(--muted); }
.chip.is-active .chip__count { background: rgba(255,255,255,.16); color: #fff; }

/* ---------- Seções ---------- */
.section { padding: 56px 0; }
.section--tight { padding: 32px 0 8px; }
.section--white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--list { padding-top: 24px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.section-head--stack { flex-direction: column; align-items: flex-start; gap: 6px; }
.section-head--stack p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.section-head__note { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .875rem; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(18,146,74,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(18,146,74,.45); } 70% { box-shadow: 0 0 0 8px rgba(18,146,74,0); } 100% { box-shadow: 0 0 0 0 rgba(18,146,74,0); } }

/* ---------- Capa provisória (campanha sem foto) ---------- */
.cover-fallback {
  position: relative; width: 100%; height: 100%; min-height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background-color: var(--green-50); color: var(--green-700);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.55) 0 2px, transparent 2px 18px);
}
.cover-fallback__icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,.85); box-shadow: 0 8px 24px rgba(15,27,45,.08); }
.cover-fallback__label { font-weight: 700; font-size: .85rem; letter-spacing: .02em; text-transform: uppercase; opacity: .85; }
.cover-fallback--blue { background-color: var(--blue-50); color: var(--blue); }
.cover-fallback--yellow { background-color: var(--yellow-50); color: #8A6400; }
.cover-fallback--red { background-color: var(--red-50); color: var(--red); }
.cover-fallback--navy { background-color: var(--navy-50); color: var(--navy); }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; font-size: .75rem; font-weight: 700; line-height: 1.2; background: #fff; color: var(--ink); }
.badge--urgent { background: var(--red); color: #fff; }
.badge--demo { background: var(--yellow); color: var(--navy-900); }
.badge--done { background: var(--green); color: #fff; }
.badge--paused { background: var(--amber-50); color: var(--amber); }
.badge--verified { background: var(--green-50); color: var(--green-700); }
.verified { display: inline-flex; vertical-align: -2px; color: var(--green); }

/* ---------- Barra de progresso ---------- */
.progress { height: 8px; border-radius: 999px; background: #E6EAF0; overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green) 0%, #19A957 100%); transition: width .6s ease; }
.progress--lg { height: 10px; }

/* ---------- Card de campanha ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.c-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease, border-color .2s; }
.c-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #D8DCE3; }
.c-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--line-2); }
.c-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.c-card:hover .c-card__media img { transform: scale(1.03); }
.c-card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.c-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.c-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 8px; font-size: .8125rem; color: var(--muted); }
.c-card__cat { font-weight: 700; color: var(--green-700); text-transform: uppercase; letter-spacing: .04em; font-size: .72rem; }
.c-card__loc { display: inline-flex; align-items: center; gap: 4px; }
.c-card__title { font-size: 1.08rem; line-height: 1.35; margin: 0 0 6px; }
.c-card__title a { color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.c-card__title { display: flex; align-items: flex-start; gap: 4px; }
.c-card__title a:hover { text-decoration: none; color: var(--green-700); }
.c-card__summary { color: var(--muted); font-size: .9rem; line-height: 1.5; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.c-card__progress { margin-top: auto; }
.c-card__nums { display: flex; align-items: baseline; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.c-card__nums strong { font-size: 1.08rem; font-weight: 800; }
.c-card__nums span { color: var(--muted); font-size: .875rem; }
.c-card__foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-2); color: var(--muted); font-size: .8125rem; }
.c-card__foot span { display: inline-flex; align-items: center; gap: 5px; }
.c-card__pct { font-weight: 700; color: var(--green-700); }

/* ---------- Destaque ---------- */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.feature__media { position: relative; display: block; min-height: 340px; background: var(--line-2); }
.feature__media img, .feature__media .cover-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__body { display: flex; flex-direction: column; padding: 32px; }
.feature__title { font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.25; margin-bottom: 10px; }
.feature__title a { color: var(--ink); }
.feature__summary { color: var(--muted); font-size: 1.02rem; }
.feature__progress { margin-top: auto; padding-top: 8px; }
.feature__raised { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.feature__raised strong { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; }
.feature__raised span { color: var(--muted); }
.feature__stats { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 12px; color: var(--muted); font-size: .9rem; }
.feature__stats span { display: inline-flex; align-items: center; gap: 6px; }
.feature__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ---------- Impacto ---------- */
.impact { background: var(--navy); color: #fff; padding: 36px 0; }
.impact__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.impact__item { padding-left: 18px; border-left: 3px solid var(--yellow); }
.impact__item strong { display: block; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.impact__item span { color: #BFCBE0; font-size: .92rem; }

/* ---------- Passos ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.step-item { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); }
.step-item__n { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 12px; background: var(--navy); color: var(--yellow); font-weight: 800; font-size: 1.1rem; }
.step-item h3 { margin-bottom: 6px; }
.step-item p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Bloco de confiança ---------- */
.trust { background: radial-gradient(1200px 400px at 85% 0%, #14408A 0%, transparent 60%), var(--navy); color: #fff; padding: 64px 0; overflow: hidden; }
.trust__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.trust h2 { color: #fff; }
.trust__lead { color: #C9D4E6; font-size: 1.08rem; max-width: 560px; }
.trust__list { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.trust__list li { display: flex; gap: 12px; }
.trust__list .icon { color: var(--yellow); margin-top: 2px; }
.trust__list strong { display: block; color: #fff; }
.trust__list span { color: #BFCBE0; font-size: .92rem; line-height: 1.5; }
.trust__art { display: flex; justify-content: center; }
.trust__art img { width: min(380px, 100%); height: auto; border-radius: 50%; box-shadow: 0 30px 80px rgba(0,0,0,.35); }

/* ---------- Feed de doações ---------- */
.donation-feed { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.donation-feed li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.donation-feed p { margin: 0; font-size: .95rem; }
.donation-feed a { font-size: .85rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.donation-feed time { margin-left: auto; color: var(--muted-2); font-size: .8rem; white-space: nowrap; }
.avatar { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--green-50); color: var(--green-700); font-weight: 800; font-size: .85rem; }
.avatar--sm { width: 34px; height: 34px; font-size: .75rem; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.faq-layout > div:first-child .btn { margin: 6px 8px 0 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.02rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { color: var(--muted); transition: transform .2s ease; }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item > div { padding: 0 0 18px; color: var(--muted); line-height: 1.65; }

/* ---------- CTA ---------- */
.cta-band { padding: 48px 0; background: var(--yellow-50); border-top: 1px solid #F4E3A6; }
.cta-band__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { margin: 0; color: var(--ink-2); max-width: 620px; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy-900); color: #AEBBD0; padding-top: 56px; font-size: .92rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 40px; }
.brand--light { color: #fff; }
.brand--light .brand__accent { color: var(--yellow); }
.brand--light img { width: 52px; height: 52px; }
.site-footer__brand p { margin: 16px 0; line-height: 1.6; max-width: 340px; }
.site-footer h3 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col a { color: #AEBBD0; display: inline-flex; align-items: center; gap: 8px; }
.site-footer__col a:hover { color: #fff; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; }
.socials a:hover { background: rgba(255,255,255,.16); }
.pay-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pay-badges span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 6px; background: rgba(255,255,255,.08); color: #fff; font-size: .78rem; font-weight: 600; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); }
.site-footer__bottom-in { display: flex; justify-content: space-between; gap: 16px; padding: 18px var(--gutter); font-size: .8125rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__secure { display: inline-flex; align-items: center; gap: 6px; }
.site-footer__secure .icon { color: #4ADE80; }

/* ---------- Listagem ---------- */
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; font-size: .85rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .icon { color: var(--muted-2); }
.list-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 18px; }
.list-head h1 { margin-bottom: 2px; }
.list-head p { margin: 0; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filters__search { position: relative; display: flex; align-items: center; }
.filters__search .icon { position: absolute; left: 12px; color: var(--muted); }
.filters__search input, .select select { height: 44px; border: 1px solid #D3D8E0; border-radius: 10px; background: #fff; }
.filters__search input { width: 220px; padding: 0 12px 0 38px; }
.select select { padding: 0 36px 0 12px; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B6576' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; cursor: pointer; }
.filters__search input:focus, .select select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(18,146,74,.12); }
.chips--list { margin-bottom: 24px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; }
.pagination a:hover { text-decoration: none; border-color: #C3C9D3; }
.pagination a.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination span { border: 0; background: transparent; }

.empty-state { text-align: center; padding: 56px 24px; background: #fff; border: 1px dashed #CDD3DC; border-radius: var(--radius-lg); }
.empty-state--page { border: 0; background: transparent; padding: 80px 24px; }
.empty-state__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green-50); color: var(--green); margin-bottom: 16px; }
.empty-state p { color: var(--muted); max-width: 440px; margin: 0 auto 20px; }
.empty-state__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Página da campanha ---------- */
.campaign { padding: 24px 0 0; }
.preview-bar { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; margin-top: -24px; margin-bottom: 20px; background: var(--amber-50); color: var(--amber); font-weight: 600; font-size: .9rem; }
.campaign__head { margin-bottom: 20px; max-width: 860px; }
.campaign__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.campaign__tags .badge { padding: 5px 10px; }
.campaign__head h1 { margin: 0; }
.campaign__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; padding-bottom: 56px; }

.gallery__stage { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; background: #0b1220; }
.gallery__stage img, .gallery__stage video, .gallery__stage iframe, .gallery__stage .cover-fallback { width: 100%; height: 100%; object-fit: cover; border: 0; }
.gallery__stage video { object-fit: contain; background: #000; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.gallery__thumb { position: relative; flex-shrink: 0; width: 96px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--navy); opacity: .75; transition: opacity .15s, border-color .15s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active, .gallery__thumb:hover { opacity: 1; border-color: var(--green); }
.gallery__thumb-video { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--navy), #1B3F7E); }
.gallery__play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.25); }

.organizer { display: flex; gap: 14px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.organizer__avatar { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--yellow); }
.organizer__text p { margin: 0; }
.organizer__meta { display: flex; gap: 6px 16px; flex-wrap: wrap; margin-top: 4px !important; color: var(--muted); font-size: .875rem; }
.organizer__meta span { display: inline-flex; align-items: center; gap: 5px; }

.story-section { padding: 24px 0 8px; }
.story-lead { font-size: 1.15rem; line-height: 1.6; color: var(--ink-2); font-weight: 500; }
.story { position: relative; font-size: 1.04rem; line-height: 1.75; color: var(--ink-2); }
.story h2, .story h3 { margin: 1.4em 0 .5em; color: var(--ink); }
.story h2 { font-size: 1.35rem; }
.story h3 { font-size: 1.15rem; }
.story ul, .story ol { padding-left: 1.3em; }
.story li { margin-bottom: .35em; }
.story blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--yellow); color: var(--ink); font-style: italic; }
.story.is-collapsed { max-height: 560px; overflow: hidden; }
.story.is-collapsed::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(180deg, rgba(245,246,248,0), var(--bg)); }
.story-more { margin-top: 8px; }
.story-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

.block { padding: 32px 0 8px; border-top: 1px solid var(--line); margin-top: 28px; }
.block__title { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; }
.count { display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--line-2); color: var(--muted); font-size: .8rem; font-weight: 700; }
.block--report { padding: 16px 0; }
.block--report p { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0; color: var(--muted); font-size: .9rem; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 24px 28px; border-left: 2px solid var(--line); margin-left: 6px; }
.timeline li:last-child { border-left-color: transparent; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-50); }
.timeline time { display: block; color: var(--muted); font-size: .85rem; margin-bottom: 2px; }
.timeline h3 { margin-bottom: 6px; }
.timeline__body { color: var(--ink-2); }
.timeline__body p:last-child { margin-bottom: 0; }

.messages { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.messages li { display: flex; gap: 14px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.messages__who { margin: 0 0 4px; font-size: .875rem; color: var(--muted); }
.messages__who strong { color: var(--ink); }
.messages__text { margin: 0; color: var(--ink-2); }

/* Caixa de doação */
.donate-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.donate-box--sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.donate-box--mobile { display: none; }
.donate-box__raised strong { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.donate-box__raised span { display: block; color: var(--muted); margin: 2px 0 14px; }
.donate-box__stats { display: flex; margin: 16px 0 20px; border: 1px solid var(--line-2); border-radius: var(--radius); }
.donate-box__stats > div { flex: 1; padding: 10px 12px; text-align: center; }
.donate-box__stats > div + div { border-left: 1px solid var(--line-2); }
.donate-box__stats b { display: block; font-size: 1.1rem; font-weight: 800; }
.donate-box__stats span { font-size: .78rem; color: var(--muted); }
.donate-box__label { margin: 0 0 8px; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.quick-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.quick-amount { display: grid; place-items: center; height: 42px; border: 1px solid #D3D8E0; border-radius: 10px; color: var(--ink); font-weight: 700; font-size: .92rem; background: #fff; }
.quick-amount:hover { text-decoration: none; border-color: var(--green); color: var(--green-700); background: var(--green-50); }
.donate-box .btn + .btn { margin-top: 10px; }
.donate-box__secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; font-size: .8125rem; color: var(--muted); }
.recent-list { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.recent-list h3 { display: flex; align-items: center; gap: 8px; font-size: .95rem; margin-bottom: 12px; }
.recent-list h3 .icon { color: var(--green); }
.recent-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.recent-list li { display: flex; align-items: center; gap: 10px; }
.recent-list li div { display: flex; flex-direction: column; line-height: 1.3; }
.recent-list li strong { font-size: .9rem; }
.recent-list li span { font-size: .8125rem; color: var(--muted); }
.recent-empty { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line-2); color: var(--muted); font-size: .9rem; }
.recent-empty .icon { color: var(--red); }

.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius); font-size: .92rem; margin-bottom: 14px; }
.notice .icon { margin-top: 2px; }
.notice--success { background: var(--green-50); color: var(--green-700); }
.notice--warn { background: var(--amber-50); color: var(--amber); }
.notice--error { background: var(--red-50); color: var(--red); }
.notice--info { background: var(--blue-50); color: var(--blue); }
.notice--sm { font-size: .85rem; margin-top: 14px; }

.mobile-cta { display: none; }

/* Diálogo de compartilhamento */
.share-dialog { width: min(480px, calc(100% - 32px)); padding: 24px; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.share-dialog::backdrop { background: rgba(7, 26, 59, .55); }
.share-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.share-dialog__head h2 { font-size: 1.25rem; margin: 0; }
.share-dialog__lead { color: var(--muted); margin: 6px 0 18px; }
.share-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin-bottom: 16px; }
.share-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); font-weight: 600; font-size: .875rem; cursor: pointer; }
.share-btn:hover { text-decoration: none; border-color: #C3C9D3; background: var(--bg); }
.share-btn--whatsapp .icon { color: #1FA855; }
.share-btn--facebook .icon { color: #1877F2; }
.copy-field { display: flex; gap: 8px; }
.copy-field input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--muted); font-size: .875rem; }
.copy-field .btn.is-copied, .share-btn.is-copied { background: var(--green-50); border-color: var(--green); color: var(--green-700); }

/* ---------- Checkout ---------- */
.checkout { padding: 24px 0 64px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; color: var(--muted); font-weight: 600; font-size: .92rem; }
.checkout__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
.checkout__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.checkout__form h1 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 4px; }
.checkout__lead { color: var(--muted); margin-bottom: 24px; }
.co-step { padding: 24px 0; border-top: 1px solid var(--line-2); }
.co-step h2 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 16px; }
.co-step__n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--navy); color: var(--yellow); font-size: .9rem; font-weight: 800; }
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amount-opt { position: relative; cursor: pointer; }
.amount-opt input { position: absolute; opacity: 0; pointer-events: none; }
.amount-opt span { position: relative; display: flex; align-items: center; justify-content: center; min-height: 60px; padding: 10px; border: 1.5px solid #D3D8E0; border-radius: 12px; background: #fff; font-weight: 800; font-size: 1.15rem; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.amount-opt--other span { font-size: .98rem; font-weight: 700; color: var(--ink-2); }
.amount-opt span em { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); padding: 1px 8px; border-radius: 999px; background: var(--yellow); color: var(--navy-900); font-style: normal; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.amount-opt:hover span { border-color: #AEB6C2; }
.amount-opt input:checked + span { border-color: var(--green); background: var(--green-50); color: var(--green-700); box-shadow: 0 0 0 3px rgba(18,146,74,.14); }
.amount-opt input:focus-visible + span { outline: 3px solid rgba(18,146,74,.45); outline-offset: 2px; }
.custom-amount { display: none; margin-top: 14px; }
.custom-amount.is-visible { display: block; }
.custom-amount label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.custom-amount__input { display: flex; align-items: center; height: 60px; padding: 0 16px; border: 1.5px solid var(--green); border-radius: 12px; background: #fff; box-shadow: 0 0 0 3px rgba(18,146,74,.12); }
.custom-amount__input span { font-weight: 800; font-size: 1.3rem; color: var(--muted); margin-right: 8px; }
.custom-amount__input input { flex: 1; width: 100%; min-width: 0; border: 0; outline: 0; font-size: 1.5rem; font-weight: 800; background: transparent; }
.custom-amount.has-error .custom-amount__input { border-color: var(--red); box-shadow: 0 0 0 3px rgba(194,54,43,.12); }
.field-hint { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; color: var(--muted); font-size: .85rem; }
.field-error { color: var(--red) !important; font-size: .85rem; margin: 6px 0 0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9rem; }
.field label small { color: var(--muted); font-weight: 500; }
.field input, .field textarea { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #CDD3DC; border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 90px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(18,146,74,.12); }
.field.has-error input { border-color: var(--red); }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); flex-shrink: 0; }
.check small { color: var(--muted); }
.check--inline { margin-top: 16px; font-weight: 600; font-size: .95rem; }

.method-grid { display: grid; gap: 10px; }
.method-opt { position: relative; cursor: pointer; }
.method-opt input { position: absolute; opacity: 0; pointer-events: none; }
.method-opt__box { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid #D3D8E0; border-radius: 12px; background: #fff; transition: border-color .15s, background-color .15s; }
.method-opt__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--bg); color: var(--navy); }
.method-opt__icon { flex-shrink: 0; }
.method-opt__text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.3; }
.method-opt__text strong { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.method-opt__text small { color: var(--muted); font-size: .84rem; }
.method-opt__badge { padding: 2px 8px; border-radius: 999px; background: var(--green-50); color: var(--green-700); font-style: normal; font-size: .7rem; font-weight: 800; line-height: 1.5; }
.method-opt input:checked + .method-opt__box .method-opt__badge { background: #fff; }
.method-opt__radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #B8C0CC; flex-shrink: 0; margin-left: 8px; }
.method-opt input:checked + .method-opt__box { border-color: var(--green); background: var(--green-50); }
.method-opt input:checked + .method-opt__box .method-opt__icon { background: #fff; color: var(--green-700); }
.method-opt input:checked + .method-opt__box .method-opt__radio { border-color: var(--green); background: radial-gradient(circle, var(--green) 0 5px, transparent 6px); }
.method-opt input:focus-visible + .method-opt__box { outline: 3px solid rgba(18,146,74,.45); outline-offset: 2px; }

.checkout__aside { position: sticky; top: calc(var(--header-h) + 20px); }
.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.summary__campaign { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.summary__thumb { width: 84px; height: 64px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--line-2); }
.summary__thumb img, .summary__thumb .cover-fallback { width: 100%; height: 100%; object-fit: cover; }
.summary__thumb .cover-fallback__icon { width: 36px; height: 36px; }
.summary__thumb .cover-fallback__icon .icon { width: 18px; height: 18px; }
.summary__thumb .cover-fallback__label { display: none; }
.summary__title { margin: 0; font-weight: 700; line-height: 1.35; font-size: .95rem; }
.summary__loc { display: flex; align-items: center; gap: 4px; margin: 4px 0 0; color: var(--muted); font-size: .8125rem; }
.summary__lines { margin: 16px 0 18px; }
.summary__lines > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 0; }
.summary__lines dt { display: flex; align-items: center; gap: 4px; color: var(--muted); }
.summary__lines dd { margin: 0; font-weight: 700; }
.summary__total { margin-top: 8px; padding-top: 14px !important; border-top: 1px dashed #D3D8E0; }
.summary__total dt { color: var(--ink); font-weight: 700; }
.summary__total dd { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; }
.summary__tipbox { display: block !important; padding: 10px 12px !important; margin: 2px 0 6px; border-radius: 10px; background: var(--bg); color: var(--muted); font-size: .84rem; line-height: 1.5; }
.summary__tipbox[hidden] { display: none !important; }
.tip { display: inline-grid; place-items: center; padding: 2px; border: 0; background: none; color: var(--muted-2); cursor: pointer; border-radius: 50%; }
.tip:hover { color: var(--ink); }
.summary__legal { margin: 12px 0 0; text-align: center; font-size: .78rem; color: var(--muted); }
.summary__legal a { color: var(--muted); text-decoration: underline; }
.summary__trust { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 8px; }
.summary__trust li { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: .85rem; }
.summary__trust .icon { color: var(--green); }
.spinner { display: inline-block; width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.pay-wait .spinner { border-color: var(--line); border-top-color: var(--green); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Pagamento ---------- */
.payment { padding: 32px 0 64px; }
.pay-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.pay-card__head { text-align: center; margin-bottom: 24px; }
.eyebrow-step { display: inline-block; margin: 0 0 8px; padding: 3px 10px; border-radius: 999px; background: var(--yellow-50); color: #8A6400; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.pay-card h1 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); }
.pay-card__lead { color: var(--muted); }
.pay-amount { display: inline-flex; flex-direction: column; align-items: center; padding: 12px 24px; border-radius: var(--radius); background: var(--bg); }
.pay-amount span { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.pay-amount strong { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.pay-amount small { color: var(--muted); font-size: .8rem; }
.pix-box { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; margin-bottom: 18px; }
.pix-box__qr { display: grid; place-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.qr { width: 196px; height: 196px; display: grid; place-items: center; }
.qr svg, .qr img { width: 100% !important; height: 100% !important; }
.pix-steps { margin: 0; padding-left: 1.2em; color: var(--ink-2); display: grid; gap: 10px; }
.copy-field--code input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8rem; color: var(--ink-2); }
.field-label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.pay-expiry { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 16px 0 0; color: var(--muted); font-size: .9rem; }
.pay-status { display: flex; align-items: center; gap: 10px; margin: 18px 0 12px; padding: 12px 14px; border-radius: var(--radius); background: var(--amber-50); color: var(--amber); font-size: .88rem; font-weight: 600; }
.pay-status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow-600); flex-shrink: 0; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }
.pay-wait { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); }
.pay-note { display: flex; gap: 6px; margin: 16px 0 0; font-size: .85rem; color: var(--muted); }
.pay-note .icon { margin-top: 3px; }
.sandbox-box { margin-top: 20px; padding: 16px; border: 1px dashed #9DB3DC; border-radius: var(--radius); background: var(--blue-50); color: var(--navy); font-size: .88rem; }
.sandbox-box p { margin: 0 0 12px; }
.sandbox-box p .icon { display: inline-block; vertical-align: -3px; margin-right: 2px; }
.sandbox-box__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.payment__help { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 20px; color: var(--muted); font-size: .85rem; text-align: center; }

.pay-card--success, .pay-card--problem { text-align: center; }
.success-mark, .problem-mark { display: inline-grid; place-items: center; width: 76px; height: 76px; margin-bottom: 16px; border-radius: 50%; }
.success-mark { background: var(--green); color: #fff; box-shadow: 0 0 0 10px var(--green-50); animation: pop .5s cubic-bezier(.2, 1.4, .4, 1); }
.problem-mark { background: var(--red-50); color: var(--red); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.pay-progress { max-width: 420px; margin: 20px auto 8px; text-align: left; }
.pay-progress__nums { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.pay-progress__nums strong { font-size: 1.25rem; font-weight: 800; }
.pay-progress__nums span { color: var(--muted); font-size: .9rem; }
.share-cta { margin: 28px 0; padding: 24px; border-radius: var(--radius-lg); background: var(--yellow-50); border: 1px solid #F4E3A6; }
.share-cta h2 { font-size: 1.2rem; margin-bottom: 4px; }
.share-cta p { color: var(--ink-2); font-size: .95rem; }
.share-cta .share-grid { margin: 0; grid-template-columns: repeat(4, 1fr); }
.receipt { max-width: 420px; margin: 0 auto 24px; text-align: left; font-size: .92rem; }
.receipt > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; font-weight: 600; }
.receipt__total dd { font-weight: 800; }
.pay-card__actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* ---------- Institucional ---------- */
.page-hero { padding: 40px 0 48px; background: #fff; border-bottom: 1px solid var(--line); }
.page-hero__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); max-width: 640px; }
.page-hero p { font-size: 1.1rem; color: var(--muted); max-width: 620px; margin-bottom: 24px; }
.page-hero__img { width: min(320px, 100%); height: auto; justify-self: center; border-radius: 50%; box-shadow: var(--shadow-lg); }
.two-col { display: grid; grid-template-columns: .7fr 1.3fr; gap: 48px; align-items: start; }
.lead { font-size: 1.1rem; color: var(--muted); }
.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-card { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.info-card:first-child { grid-column: 1 / -1; }
.info-card__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 12px; background: var(--green-50); color: var(--green-700); }
.info-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.fee-example { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius); background: var(--bg); font-size: .92rem; }
.fee-example > div { display: flex; justify-content: space-between; padding: 5px 0; }
.fee-example span { color: var(--muted); }
.fee-example__total { border-top: 1px dashed #CDD3DC; margin-top: 4px; padding-top: 10px !important; }
.fee-example__goes strong { color: var(--green-700); }
.legal h1 { margin-bottom: 24px; }
.legal p { color: var(--ink-2); line-height: 1.75; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1100px) {
  .main-nav a { padding: 8px 9px; }
  .header-search input { width: 170px; }
  .header-search input:focus { width: 200px; }
  .campaign__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
  .checkout__grid { grid-template-columns: minmax(0, 1fr) 360px; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .main-nav, .header-search, .topbar__item--md { display: none; }
  .nav-toggle { display: inline-grid; }
  .mobile-nav { display: none; padding: 8px var(--gutter) 20px; border-top: 1px solid var(--line); background: #fff; }
  .nav-open .mobile-nav { display: block; }
  .mobile-nav a { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line-2); color: var(--ink); font-weight: 600; }
  .mobile-nav__search { position: relative; display: flex; align-items: center; margin: 8px 0; }
  .mobile-nav__search .icon { position: absolute; left: 12px; color: var(--muted); }
  .mobile-nav__search input { width: 100%; height: 46px; padding: 0 12px 0 38px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
  .hero__bar { grid-template-columns: 1fr; margin: 14px 0 0; gap: 14px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .feature { grid-template-columns: 1fr; }
  .feature__media { min-height: 0; aspect-ratio: 16 / 9; }
  .feature__body { padding: 24px; }
  .impact__grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps--4 { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__art { order: -1; }
  .trust__art img { width: 200px; }
  .faq-layout, .two-col, .page-hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .page-hero__img { display: none; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .list-head { flex-direction: column; align-items: stretch; }
  .filters__search { flex: 1 1 100%; }
  .filters__search input { width: 100%; }
  .select { flex: 1; }
  .select select { width: 100%; }

  .campaign__grid { grid-template-columns: 1fr; }
  .campaign__aside { display: none; }
  .donate-box--mobile { display: block; margin: 20px 0 4px; box-shadow: var(--shadow-sm); }
  .mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(15,27,45,.08); }
  .mobile-cta__info { display: flex; flex-direction: column; line-height: 1.2; margin-right: auto; }
  .mobile-cta__info strong { font-weight: 800; }
  .mobile-cta__info span { font-size: .8rem; color: var(--muted); }
  .page-campaign .site-footer { padding-bottom: 76px; }

  .checkout__grid { grid-template-columns: 1fr; }
  .checkout__aside { position: static; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .topbar { font-size: .75rem; }
  .topbar__in { gap: 12px; }
  .brand__name { font-size: 1.08rem; }
  .brand img { width: 40px; height: 40px; }
  .btn--header span { display: none; }
  .btn--header { padding: 0; width: 44px; }
  .hero { padding-top: 12px; }
  .hero__banner { border-radius: 12px; }
  .hero__bar { margin: 12px 0 0; padding: 18px; }
  .hero__search .btn { padding: 8px 14px; }
  .section { padding: 40px 0; }
  .section-head { margin-bottom: 18px; }
  .card-grid { grid-template-columns: 1fr; }
  .steps, .steps--4 { grid-template-columns: 1fr; }
  .trust { padding: 48px 0; }
  .trust__list { grid-template-columns: 1fr; }
  .donation-feed { grid-template-columns: 1fr; }
  .donation-feed time { display: none; }
  .cta-band__in { flex-direction: column; align-items: flex-start; }
  .cta-band .btn { width: 100%; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__bottom-in { flex-direction: column; }
  .feature__actions .btn { flex: 1; }
  .info-cards { grid-template-columns: 1fr; }

  .copy-field input, .hero__search input, .filters__search input, .select select { font-size: 16px; }
  .checkout__form { padding: 20px 16px; border-radius: 14px; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .method-opt__box { gap: 10px; padding: 12px; }
  .method-opt__icon { width: 38px; height: 38px; }
  .form-grid { grid-template-columns: 1fr; }
  .quick-amounts { grid-template-columns: repeat(2, 1fr); }
  .pay-card { padding: 22px 16px; }
  .pix-box { grid-template-columns: 1fr; justify-items: center; }
  .copy-field--code { flex-direction: column; }
  .share-cta .share-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__stage { border-radius: 12px; margin: 0 calc(var(--gutter) * -1); border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
