:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1E3347;
  background: #EDF4F7;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --blue: #3A7CA5;
  --deep-blue: #2D4870;
  --coral: #E8775A;
  --muted: #6B7F8E;
  --line: #D8E8EF;
  --page-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  min-width: 320px;
  margin: 0;
  padding-bottom: 0;
  background: #EDF4F7;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Montserrat, sans-serif;
}

button,
input {
  font: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid #5BA5C8;
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 8;
  top: 0;
  width: 100%;
  height: 66px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  padding-inline: max(20px, calc((100% - var(--page-width)) / 2));
  border-bottom: 1px solid #D8E8EF;
  background: #ffffff;
  box-shadow: 0 2px 8px rgb(20 40 65 / 4%);
}

.menu {
  position: relative;
  justify-self: start;
}

.menu summary {
  width: 34px;
  height: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  list-style: none;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu summary span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #1E3347;
}

.menu nav {
  position: absolute;
  top: 44px;
  left: -12px;
  width: 220px;
  display: grid;
  gap: 2px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 35px rgb(20 40 65 / 14%);
}

.menu nav a {
  padding: 12px;
  border-radius: 9px;
  color: #2A4A65;
  font-size: 0.9rem;
}

.menu nav a:hover {
  background: #E5F0F8;
}

.brand {
  width: 50px;
  height: 50px;
  display: block;
  border-radius: 50%;
  overflow: hidden;
}

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

.icon-button {
  width: 38px;
  height: 38px;
  display: grid;
  justify-self: end;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #E0F0F8;
  color: var(--blue);
  cursor: pointer;
}

.icon-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.page-layout {
  width: min(100% - 32px, var(--page-width));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  margin: 22px auto 110px;
}

.campaign-column {
  min-width: 0;
}

.campaign-intro,
.story-section,
.impact-section,
.destination-section,
.faq-section,
.sidebar-card {
  border: 1px solid #D5E5EE;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 12px rgb(20 40 65 / 4%);
}

.campaign-intro {
  padding: 16px;
}

.campaign-labels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
}

.category-label,
.urgent-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.category-label {
  background: #fff4d5;
  color: #9c7200;
}

.urgent-label {
  background: #fce9e7;
  color: #a43832;
}

.urgent-label span {
  font-size: 0.55rem;
}

.campaign-intro h1 {
  margin: 0 5px 16px;
  color: #1A3A5C;
  font-size: clamp(1.42rem, 3.2vw, 2rem);
  font-weight: 790;
  letter-spacing: -0.045em;
  line-height: 1.17;
  text-align: center;
}

.video-frame {
  position: relative;
  width: min(320px, 100%);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 14px;
  background: #1A2E40;
  margin: 0 auto;
}

.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(48%, 260px);
  min-width: 170px;
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 14px 12px;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 8px;
  background: rgb(232 119 90 / 76%);
  color: #fff;
  font-weight: 750;
  text-align: center;
  text-shadow: 0 1px 3px rgb(0 0 0 / 36%);
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.video-overlay-title,
.video-overlay-caption {
  font-size: clamp(0.7rem, 1.9vw, 0.9rem);
}

.video-audio-icon {
  font-size: 1.5rem;
}

.video-caption-bar {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  padding: 5px 8px;
  background: rgb(0 0 0 / 48%);
  color: #fff;
  font-size: clamp(0.68rem, 1.8vw, 0.92rem);
  font-weight: 650;
  text-align: center;
  text-shadow: 0 1px 3px #000;
  pointer-events: none;
}

.video-frame.is-playing .video-overlay,
.video-frame.is-playing .video-caption-bar {
  display: none;
}

.video-error {
  position: absolute;
  inset: auto 10px 38px;
  margin: 0;
  padding: 8px;
  border-radius: 7px;
  background: rgb(0 0 0 / 70%);
  color: #fff;
  font-size: 0.8rem;
  text-align: center;
}

.goal-card {
  padding: 15px 17px;
  border: 1px solid #D0E5EE;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 3px 14px rgb(20 40 65 / 4%);
}

.mobile-goal {
  margin-top: 14px;
}

.goal-topline,
.sidebar-goal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.goal-label,
.sidebar-goal-heading span {
  margin: 0 0 3px;
  color: #6B7F8E;
  font-size: 0.69rem;
  font-weight: 760;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.goal-value,
.sidebar-goal-heading strong {
  margin: 0;
  color: #1A3A5C;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.goal-percent,
.sidebar-goal-heading b {
  color: var(--blue);
  font-size: 1.4rem;
  font-weight: 820;
}

.progress-track {
  height: 8px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #C8DCE8;
}

.progress-track span {
  width: 19%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #2E78A6, #5BA5C8);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: 760;
  cursor: pointer;
  transition: filter 140ms ease, transform 140ms ease;
}

.button:hover {
  filter: brightness(0.97);
}

.button:active {
  transform: translateY(1px);
}

.button-primary {
  background: var(--coral);
  color: #fff;
}

.donation-heart {
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 auto;
  fill: currentColor;
}

.dialog-heart .donation-heart {
  width: 17px;
  height: 17px;
}

.hero-donate,
.button-share {
  width: 100%;
  margin-top: 10px;
}

.hero-donate {
  min-height: 52px;
  padding: 13px 16px;
  border-radius: 16px;
  font-size: 1rem;
  font-family: Montserrat, sans-serif;
  line-height: 1.6;
}

.button-share {
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #D0E5EE;
  background: #fff;
  color: #4A6070;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}

.story-section,
.impact-section,
.destination-section,
.faq-section {
  margin-top: 18px;
  padding: 18px;
}

.story-section h2,
.faq-section h2 {
  margin: 0 0 14px;
  color: #1A3A5C;
  font-size: 1.12rem;
  font-weight: 780;
  letter-spacing: -0.025em;
}

.story-section p,
.impact-text {
  margin: 0 0 16px;
  color: #3D5060;
  font-size: 0.95rem;
  line-height: 1.7;
}

.story-section p:last-of-type {
  margin-bottom: 15px;
}

.story-image {
  width: 100%;
  display: block;
  margin-bottom: 1.2rem;
  border-radius: 8px;
  object-fit: cover;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 19px;
}

.section-label-icon {
  width: 32px;
  height: 32px;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #E5F0FA;
  color: var(--blue);
}

.section-label h2 {
  margin: 0;
  color: #1A3A5C;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.6;
}

.impact-section,
.destination-section {
  padding: 22px;
  border-color: #D0E5EE;
  border-radius: 16px;
}

.impact-section .section-label {
  margin-bottom: 19.2px;
}

.impact-section .section-label-icon {
  background: #E5F0FA;
  color: var(--blue);
}

.story-section .section-label-icon {
  background: #E0EEF8;
  color: var(--blue);
}

.destination-section .section-label-icon {
  background: #E5F0FA;
  color: var(--blue);
}

.impact-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.impact-grid .impact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px;
  border-width: 1px;
  border-style: solid;
  border-radius: 8px;
}

.impact-grid .impact-item.neg {
  border-color: #fcd0d0;
  background: #fff4f4;
}

.impact-grid .impact-item.pos {
  border-color: #A5CCDF;
  background: #EAF4FC;
}

.impact-grid .impact-icon {
  width: 26px;
  height: 26px;
  display: flex;
  flex: 0 0 26px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
}

.impact-grid .impact-icon.neg {
  background: #ef4444;
}

.impact-grid .impact-icon.pos {
  background: var(--blue);
}

.impact-grid .impact-text {
  margin: 0;
  color: #1E3347;
  font-size: 0.85rem;
  line-height: 1.4;
}

.impact-donation-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.impact-card-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #D0E5EE;
  border-radius: 16px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease,
    box-shadow 200ms ease, transform 200ms ease;
}

.impact-card-btn:hover {
  border-color: var(--coral);
  background: #FFF0ED;
  box-shadow: 0 2px 8px rgb(20 40 65 / 8%);
  transform: translateY(-2px);
}

.impact-card-btn:active {
  transform: scale(0.98);
}

.impact-badge-val {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 50px;
  background: var(--coral);
  box-shadow: 0 2px 6px rgb(232 119 90 / 25%);
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: normal;
  white-space: nowrap;
}

.impact-badge-desc {
  color: #1E3347;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.35;
}

.faq-item {
  border-bottom: 1px solid #D0E5EE;
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item summary {
  position: relative;
  padding: 15px 28px 15px 0;
  color: #1A3A5C;
  font-size: 0.86rem;
  font-weight: 690;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 1px;
  color: var(--blue);
  content: "+";
  font-size: 1.3rem;
  font-weight: 500;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: -1px 0 14px;
  color: #4A6070;
  font-size: 0.81rem;
  line-height: 1.6;
}

.campaign-sidebar {
  display: none;
  position: sticky;
  top: 82px;
  grid-template-columns: 1fr;
  gap: 14px;
}

.sidebar-card {
  padding: 16px;
}

.sidebar-goal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sidebar-goal-heading div {
  display: grid;
  gap: 4px;
}

.sidebar-goal-heading span {
  font-size: 0.65rem;
}

.sidebar-goal-heading strong {
  font-size: 1.25rem;
}

.sidebar-goal-heading b {
  font-size: 1.2rem;
}

.sidebar-goal .progress-track {
  margin-block: 12px 15px;
}

.sidebar-goal > .button {
  width: 100%;
  min-height: 45px;
  font-size: 0.88rem;
}

.sidebar-card h2 {
  margin: 0 0 13px;
  color: #1A3A5C;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.trust-grid > div {
  min-height: 72px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 3px;
  padding: 7px 4px;
  border: 1px solid #D0E5EE;
  border-radius: 9px;
  background: #F5FAFE;
  text-align: center;
}

.trust-grid span {
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 800;
}

.trust-grid b {
  color: #6B7F8E;
  font-size: 0.57rem;
  letter-spacing: 0.025em;
}

.trust-grid strong {
  color: #2A4A65;
  font-size: 0.64rem;
  line-height: 1.3;
}

.verified-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 12px 0 0;
  padding-top: 11px;
  border-top: 1px solid #D0E5EE;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 700;
}

.social-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.social-card h2 {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

.social-card > a {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 6px;
  border: 1px solid #D0E5EE;
  border-radius: 9px;
  background: #F5FAFE;
}

.social-icon {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #E8EEF5;
  color: #2A4060;
  font-weight: 800;
}

.social-icon.instagram {
  background: linear-gradient(135deg, #f8a22e, #e1306c 55%, #833ab4);
  color: #fff;
}

.social-icon.youtube {
  background: #f00;
  color: #fff;
}

.social-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.social-icon.instagram svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-icon.instagram .social-logo-dot {
  fill: currentColor;
  stroke: none;
}

.social-icon.youtube svg {
  fill: currentColor;
}

.social-icon.tiktok {
  color: #171717;
}

.social-icon.facebook {
  color: #1877f2;
}

.social-card > a > span:last-child {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.social-card b {
  color: #2A4060;
  font-size: 0.67rem;
}

.social-card small {
  color: #6B7F8E;
  font-size: 0.59rem;
}

.public-trust-section,
.official-social-section {
  display: none;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid #D5E5EE;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 12px rgb(20 40 65 / 4%);
}

.official-social-section h2 {
  margin: 0;
  color: #1A3A5C;
  font-size: 1.12rem;
  font-weight: 780;
  letter-spacing: -0.025em;
}

.public-trust-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
}

.public-trust-heading h2 {
  margin: 0;
  color: #1A3A5C;
  font-size: 1.12rem;
  font-weight: 780;
  letter-spacing: -0.025em;
}

.public-trust-heading-icon {
  width: 32px;
  height: 32px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  background: #E0EEF8;
  color: var(--blue);
}

.trust-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #A5C8E0;
  border-radius: 9px;
  background: #DCF0F8;
}

.trust-overview-item {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 61px;
  padding: 9px 12px;
}

.trust-overview-item + .trust-overview-item {
  border-left: 1px solid #A5C8E0;
}

.trust-overview-icon {
  width: 29px;
  height: 29px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

.trust-overview-item > span:last-child {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.trust-overview-item small {
  color: #5A6B78;
  font-size: 0.59rem;
}

.trust-overview-item strong {
  color: #1A3A5C;
  font-size: 0.68rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.public-trust-verified {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  margin: 0 0 16px;
  padding: 6px 8px;
  border: 1px solid #A5C8E0;
  border-top: 0;
  border-radius: 0 0 9px 9px;
  color: #237BA0;
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
}

.trust-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.trust-detail-grid article {
  min-width: 0;
  min-height: 116px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 5px;
  padding: 12px 10px;
  border: 1px solid #D0E5EE;
  border-radius: 10px;
  text-align: center;
}

.trust-detail-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 1px;
  border-radius: 9px;
  background: #E0EEF8;
  color: var(--blue);
  font-size: 1.1rem;
  font-weight: 800;
}

.trust-detail-grid strong {
  color: #1A3A5C;
  font-size: 0.71rem;
}

.trust-detail-grid p {
  margin: 0;
  color: #5A6B78;
  font-size: 0.65rem;
  line-height: 1.4;
}

.official-social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.official-social-grid a {
  min-width: 0;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 12px 10px;
  border: 1px solid #D0E5EE;
  border-radius: 10px;
  background: #EAF4FC;
}

.official-social-grid a > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.official-social-grid strong {
  color: #1A3A5C;
  font-size: 0.67rem;
}

.official-social-grid small {
  color: #5A6B78;
  font-size: 0.59rem;
  overflow-wrap: anywhere;
}

.official-social-grid .social-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  color: #fff;
}

.official-social-grid .social-icon svg {
  width: 22px;
  height: 22px;
}

.site-footer {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 0;
  margin-top: 24px;
  margin-bottom: 0;
  padding: 42px 16px 31px;
  background: #1E3347;
  color: rgb(255 255 255 / 82%);
  text-align: center;
}

.site-footer > img {
  width: 76px;
  height: 76px;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 5px;
  border: 2px solid #1E3347;
}

.site-footer > strong {
  margin-bottom: 24px;
  color: rgb(255 255 255 / 67%);
  font-size: 0.88rem;
  font-weight: 500;
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 11px;
  background: rgb(255 255 255 / 8%);
  color: rgb(255 255 255 / 72%);
}

.footer-socials svg {
  width: 19px;
  height: 19px;
}

.footer-socials a:first-child svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.footer-socials .footer-social-dot {
  fill: currentColor;
  stroke: none;
}

.footer-socials a:last-child svg {
  fill: currentColor;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 11px;
  margin: 0 0 21px;
  color: rgb(255 255 255 / 67%);
  font-size: 0.76rem;
}

.site-footer nav span:not(:nth-child(even)) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer hr {
  width: min(100%, 624px);
  height: 1px;
  margin: 0 0 19px;
  border: 0;
  background: rgb(255 255 255 / 13%);
}

.site-footer p {
  margin: 0;
  color: rgb(255 255 255 / 55%);
  font-size: 0.75rem;
}

.site-footer .footer-cnpj {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  padding: 6px 12px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 999px;
  background: rgb(255 255 255 / 7%);
  color: rgb(255 255 255 / 62%);
}

.footer-cnpj span {
  font-size: 0.62rem;
}

.sticky-donation {
  position: fixed;
  z-index: 6;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px max(10px, env(safe-area-inset-bottom));
  border-top: 1px solid #D0E5EE;
  background: rgb(255 255 255 / 97%);
  box-shadow: 0 -3px 15px rgb(20 40 65 / 8%);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.sticky-donation.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sticky-progress {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px 8px;
  color: #6B7F8E;
  font-size: 0.67rem;
}

.sticky-percent {
  color: var(--blue);
  font-size: 1rem;
  font-weight: 800;
}

.sticky-progress .progress-track {
  grid-column: 1 / -1;
  height: 6px;
  margin: 1px 0 0;
}

.sticky-button {
  min-width: 140px;
  min-height: 47px;
  border-radius: 12px;
  font-size: 0.86rem;
}

.donation-dialog {
  width: min(100% - 24px, 430px);
  max-width: none;
  max-height: min(92svh, 760px); /* svh = small viewport height, correto no iOS com teclado aberto */
  padding: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 22px;
  background: #fff;
  color: #1E3347;
  box-shadow: 0 24px 80px rgb(0 0 0 / 28%);
}

.donation-dialog::backdrop {
  background: rgb(20 35 60 / 55%);
  backdrop-filter: blur(3px);
}

.dialog-sheet {
  position: relative;
  padding: 18px 22px 22px;
}

.dialog-handle {
  width: 38px;
  height: 4px;
  margin: 0 auto 17px;
  border-radius: 999px;
  background: #C8D8E5;
}

.dialog-close {
  position: absolute;
  top: 13px;
  right: 14px;
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 50%;
  background: #E8EEF5;
  color: #3D5068;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.dialog-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
}

.dialog-heart {
  width: 36px;
  height: 36px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  background: #E0EEF8;
  color: var(--blue);
}

.dialog-heading h2 {
  margin: 0;
  color: #1A3A5C;
  font-size: 1.28rem;
  letter-spacing: -0.035em;
}

.once-label {
  margin: 0 0 10px;
  color: #5A6B78;
  font-size: 0.78rem;
  font-weight: 680;
}

.dialog-amounts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.amount-option {
  position: relative;
  min-height: 44px;
  border: 1px solid #C8DCE8;
  border-radius: 10px;
  background: #fff;
  color: #2A4A65;
  font-size: 0.89rem;
  font-weight: 680;
  cursor: pointer;
}

.amount-option.selected {
  border-color: var(--blue);
  background: #E0EEF8;
  color: var(--deep-blue);
}

.amount-option span {
  position: absolute;
  top: -8px;
  right: -3px;
  padding: 2px 5px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.53rem;
  font-weight: 650;
  white-space: nowrap;
}

.custom-amount-label {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: #3D5068;
  font-size: 0.8rem;
  font-weight: 650;
}

.currency-input {
  min-height: 45px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline: 12px;
  border: 1px solid #C8DCE8;
  border-radius: 10px;
  color: #5A6B78;
}

.currency-input input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #1E3347;
  font-size: 16px; /* evita zoom automático no iOS */
  background: transparent;
  -webkit-appearance: none;
}

.continue-button {
  width: 100%;
  margin-top: 18px;
}

.pix-result {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 8px;
  text-align: center;
}

.pix-result h3 {
  margin: 0;
  color: #1A3A5C;
  font-size: 1.05rem;
}

.pix-qr-code {
  width: min(100%, 220px);
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid #C8DCE8;
  border-radius: 12px;
  background: #fff;
}

.pix-qr-fallback {
  margin: 0;
  color: #5A6B78;
  font-size: 0.78rem;
}

.pix-code-label {
  width: 100%;
  color: #3D5068;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: left;
}

.pix-code {
  width: 100%;
  min-height: 76px;
  padding: 10px;
  resize: vertical;
  border: 1px solid #C8DCE8;
  border-radius: 10px;
  color: #2A4060;
  font: 0.72rem/1.45 ui-monospace, SFMono-Regular, Consolas, monospace;
  overflow-wrap: anywhere;
}

.pix-copy-button {
  width: 100%;
  min-height: 45px;
  font-size: 0.82rem;
}

.pix-payment-status {
  margin: 0;
  color: #5A6B78;
  font-size: 0.78rem;
  line-height: 1.45;
}

.pix-payment-status.is-paid {
  color: var(--blue);
  font-weight: 750;
}

.pix-new-button {
  padding: 6px 10px;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 0.77rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.secure-note {
  margin: 11px 0 0;
  color: #5A6B78;
  font-size: 0.74rem;
  text-align: center;
}

.secure-note span {
  color: var(--blue);
}

.dialog-status {
  min-height: 1.2em;
  margin: 9px 0 0;
  color: var(--blue);
  font-size: 0.77rem;
  line-height: 1.45;
  text-align: center;
}

.toast {
  position: fixed;
  z-index: 12;
  right: 16px;
  bottom: 92px;
  left: 16px;
  width: fit-content;
  max-width: min(440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 11px 16px;
  border-radius: 999px;
  background: #1E3347;
  color: #fff;
  font-size: 0.82rem;
  box-shadow: 0 8px 28px rgb(0 0 0 / 18%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[hidden] {
  display: none !important;
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }

  .page-layout {
    grid-template-columns: minmax(0, 700px) 310px;
    gap: 20px;
    margin-top: 22px;
  }

  .campaign-sidebar {
    display: grid;
  }

  .campaign-intro {
    padding: 17px;
  }

  .campaign-intro h1 {
    font-size: 1.8rem;
  }

  .mobile-goal,
  .hero-donate,
  .campaign-intro > .button-share {
    display: none;
  }

  .story-section,
  .impact-section,
  .destination-section,
  .faq-section {
    margin-top: 18px;
    padding: 20px;
  }

  .campaign-sidebar {
    top: 80px;
  }

  .sidebar-card {
    padding: 17px;
  }

  .site-footer {
    margin-bottom: 0;
  }

  .sticky-donation {
    display: none;
  }
}

@media (max-width: 420px) {
  .page-layout {
    width: 100%;
    gap: 0;
    margin-top: 0;
  }

  .sticky-donation {
    gap: 8px;
    padding-inline: 12px;
  }

  .sticky-button {
    min-width: 128px;
    padding-inline: 12px;
  }
}

@media (max-width: 899px) {
  .page-layout {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin: 0 auto;
  }

  .public-trust-section,
  .official-social-section {
    display: block;
    margin-right: 12px;
    margin-left: 12px;
  }

  .public-trust-grid,
  .official-social-grid {
    margin-top: 2px;
  }

  .campaign-intro {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .campaign-labels {
    gap: 7px;
    margin: 0 0 8px;
    padding: 16px 16px 0;
  }

  .campaign-intro h1 {
    margin: 0;
    padding: 0 16px 16px;
    font-size: 21.6px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 27px;
    font-family: Montserrat, sans-serif;
  }

  .video-frame {
    border-radius: 0;
  }

  .mobile-goal {
    min-height: 107px;
    margin: 28px 12px 12px;
    padding: 16px 20px;
  }

  .hero-donate,
  .campaign-intro > .button-share {
    width: calc(100% - 24px);
    margin-right: 12px;
    margin-left: 12px;
  }

  .hero-donate {
    margin-top: 0;
  }

  .campaign-intro > .button-share {
    margin-top: 10px;
  }

  .story-section {
    margin-top: 12px;
    padding: 22.4px;
  }

  .story-section,
  .impact-section,
  .destination-section,
  .faq-section {
    margin-right: 12px;
    margin-left: 12px;
  }

}

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

/* Dados mínimos solicitados pela API UrusPay */
.donor-fields { display:grid; gap:12px; margin:18px 0; }
.donor-fields label { display:grid; gap:6px; font-size:14px; font-weight:600; }
.donor-fields input { width:100%; box-sizing:border-box; border:1px solid #C8DCE8; border-radius:10px; padding:13px 14px; font:inherit; background:#fff; color:#222; }
.donor-fields input:focus { outline:2px solid #3A7CA5; outline-offset:1px; }

/* quote-box estilo Elo Solidário */
.quote-box {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 4px solid var(--coral);
  border-radius: 0 10px 10px 0;
  background: #EAF4FC;
  color: #1A3A5C;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── Exit Intent Popup ─────────────────────────── */
.exit-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.exit-popup[hidden] { display: none; }

.exit-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,25,40,.65);
  backdrop-filter: blur(3px);
}

.exit-popup-box {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px 28px;
  max-width: 400px;
  width: calc(100% - 32px);
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  animation: popIn .3s cubic-bezier(.34,1.56,.64,1);
}

@keyframes popIn {
  from { transform: scale(.85); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.exit-popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #aaa;
  cursor: pointer;
  line-height: 1;
}
.exit-popup-close:hover { color: #333; }

.exit-popup-icon { margin-bottom: 10px; }

.exit-popup-box h2 {
  font-size: 1.25rem;
  color: #1E3347;
  margin: 0 0 8px;
}

.exit-popup-box p {
  color: #6B7F8E;
  font-size: 0.9rem;
  margin: 0 0 18px;
}

.exit-popup-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.exit-amount-btn {
  border: 2px solid #D8E8EF;
  background: #F5FAFE;
  border-radius: 10px;
  padding: 10px 4px;
  font-weight: 700;
  font-size: 0.82rem;
  color: #2D4870;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.exit-amount-btn:hover,
.exit-amount-btn.featured {
  border-color: var(--coral);
  background: #FFF0ED;
  color: var(--coral);
}

.exit-popup-dismiss {
  background: none;
  border: none;
  color: #aaa;
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 4px;
}
.exit-popup-dismiss:hover { color: #666; }

@media (max-width: 420px) {
  .exit-popup-amounts { grid-template-columns: repeat(2, 1fr); }
}

/* ── Live Donation Feed ─────────────────────────── */
.live-feed {
  position: fixed;
  top: 80px;
  right: 16px;
  z-index: 8000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.live-feed-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
  border-left: 4px solid var(--coral);
  max-width: 260px;
  animation: feedIn .4s cubic-bezier(.34,1.56,.64,1);
  opacity: 1;
  transition: opacity .5s;
}

.live-feed-item.hiding { opacity: 0; }

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

.live-feed-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e4e6eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.live-feed-avatar svg {
  width: 38px;
  height: 38px;
}

.live-feed-info { min-width: 0; }

.live-feed-name {
  font-weight: 700;
  font-size: 0.82rem;
  color: #1E3347;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-feed-amount {
  font-size: 0.78rem;
  color: var(--coral);
  font-weight: 700;
}

.live-feed-time {
  font-size: 0.7rem;
  color: #aaa;
}

/* ── Viewers live indicator ─────────────────────── */
.viewers-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

.viewers-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  animation: pulse-green 1.5s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); }
  50%       { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}
