@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

:root {
  --primary: #00357f;
  --primary-container: #004aad;
  --primary-fixed: #d9e2ff;
  --on-primary-fixed: #001945;
  --surface: #f7f9fb;
  --background: #f7f9fb;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f2f4f6;
  --surface-container-high: #e6e8ea;
  --surface-container-highest: #e0e3e5;
  --outline-variant: #c3c6d5;
  --on-surface: #191c1e;
  --on-surface-variant: #434653;
  --secondary-container: #b4d1fd;
  --on-secondary-container: #3d5980;
  --tertiary-fixed: #c2e8ff;
  --on-tertiary-fixed: #001e2c;
  --intro-delay: 0ms;
  --reveal-delay: 0ms;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  scrollbar-width: none;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

section[id],
footer[id] {
  scroll-margin-top: 96px;
}

body {
  font-family: 'Manrope', sans-serif;
  background: var(--background);
  color: var(--on-surface);
  overflow-x: hidden;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #38bdf8);
  box-shadow: 0 0 16px rgba(0, 74, 173, 0.35);
  pointer-events: none;
}

body.lightbox-open {
  overflow: hidden;
}

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

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

button,
input {
  font-family: inherit;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined', sans-serif;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* NAV */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 80px;
  padding: 0 clamp(18px, 2.2vw, 32px);
  background: var(--surface-container-low);
  box-shadow: 0 2px 10px rgba(0, 53, 127, 0.04);
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
}

.topbar-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(23px, 1.9vw, 28px);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.topbar-brand:focus-visible {
  outline: 3px solid rgba(0, 74, 173, 0.35);
  outline-offset: 5px;
  border-radius: 10px;
}

.topbar-brand img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 14px rgba(0, 53, 127, 0.24);
}

.topbar-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.45vw, 28px);
  min-width: 0;
  position: relative;
}

.topbar-nav a {
  flex: 0 0 auto;
  font-size: clamp(12px, 0.95vw, 14px);
  color: var(--on-surface-variant);
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.topbar-nav a.active {
  color: var(--primary);
  font-weight: 800;
}

.topbar-nav-indicator {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  pointer-events: none;
  transition: width 0.3s cubic-bezier(.22,.8,.2,1), transform 0.3s cubic-bezier(.22,.8,.2,1);
}

.topbar-nav a:hover {
  color: var(--primary);
}

.topbar-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-contact-btn {
  display: none;
}

.text-btn {
  border: none;
  background: transparent;
  color: var(--on-surface-variant);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.primary-btn-sm {
  border: none;
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(0, 53, 127, 0.16);
  cursor: pointer;
}

.primary-btn-sm,
.primary-btn-lg,
.secondary-btn-lg,
.text-btn,
.cta-chip,
.cta-copy-btn {
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.primary-btn-sm:hover,
.primary-btn-lg:hover,
.secondary-btn-lg:hover,
.cta-copy-btn:hover {
  transform: translateY(-2px);
}

.primary-btn-sm:active,
.primary-btn-lg:active,
.secondary-btn-lg:active,
.cta-chip:active,
.cta-copy-btn:active {
  transform: translateY(0) scale(0.97);
}

.intro-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--intro-delay, 0ms);
  will-change: opacity, transform;
}

.intro-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  animation: intro-reveal-in 0.7s ease both;
  animation-delay: var(--intro-delay, 0ms);
}

@keyframes intro-reveal-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HERO */
main {
  padding-top: 80px;
}

.hero {
  position: relative;
  min-height: calc(100svh - 80px);
  padding: 42px 0 48px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--surface-container-low);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  mix-blend-mode: multiply;
}

.hero-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  background: var(--primary-fixed);
  color: var(--on-primary-fixed);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 6px;
  margin-bottom: 24px;
}

.hero-copy h1 {
  font-size: clamp(54px, 5.1vw, 72px);
  line-height: 1.08;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0;
  margin-bottom: 24px;
}

.hero-copy p {
  font-size: 17px;
  color: var(--on-surface-variant);
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.primary-btn-lg,
.secondary-btn-lg {
  border: none;
  padding: 18px 28px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.primary-btn-lg {
  background: var(--primary);
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 16px 28px rgba(0, 53, 127, 0.18);
}

.secondary-btn-lg {
  background: white;
  color: var(--primary);
  border: 1px solid var(--outline-variant);
}

.primary-btn-lg,
.secondary-btn-lg {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.hero-visual {
  display: block;
  position: relative;
}

.hero-photo {
  width: 100%;
  height: clamp(430px, calc(100svh - 205px), 590px);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 26px 54px rgba(15, 23, 42, 0.18);
  transform: rotate(2deg) translate(18px, 0);
  transition: box-shadow 0.3s ease;
  will-change: transform;
}

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

.hero-floating-card {
  position: absolute;
  left: -8px;
  bottom: 18px;
  max-width: 255px;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.45);
  will-change: transform;
}

.hero-floating-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.hero-floating-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(0, 53, 127, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-floating-card strong {
  color: var(--primary);
  font-size: 15px;
}

.hero-floating-card p {
  font-size: 13px;
  color: var(--on-surface-variant);
  line-height: 1.5;
}

@media (min-width: 901px) {
  .hero.hero-motion-ready .eyebrow {
    animation: hero-eyebrow-float 4.8s ease-in-out infinite;
  }

  .hero #btnDoarTopo {
    animation: hero-donation-float 3.8s ease-in-out infinite;
    will-change: transform, box-shadow;
  }

  .hero.hero-motion-ready #btnDoarTopo .material-symbols-outlined {
    animation: hero-donation-icon 3.8s ease-in-out infinite;
  }

  .hero .hero-floating-card {
    animation: hero-care-card-float 4.6s ease-in-out 0.55s infinite;
    will-change: transform, box-shadow;
  }

  .hero.hero-motion-ready .hero-floating-icon {
    animation: hero-care-icon-pulse 3.2s ease-in-out infinite;
  }

  @keyframes hero-eyebrow-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
  }

  @keyframes hero-donation-float {
    0%, 100% {
      transform: translateY(0);
      box-shadow: 0 16px 28px rgba(0, 53, 127, 0.18);
    }
    50% {
      transform: translateY(-7px);
      box-shadow: 0 24px 38px rgba(0, 53, 127, 0.31);
    }
  }

  @keyframes hero-donation-icon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    45% { transform: translateY(-2px) rotate(-7deg); }
    60% { transform: translateY(0) rotate(5deg); }
  }

  @keyframes hero-care-card-float {
    0%, 100% {
      transform: translateY(0);
      box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
    }
    50% {
      transform: translateY(8px);
      box-shadow: 0 24px 42px rgba(0, 53, 127, 0.2);
    }
  }

  @keyframes hero-care-icon-pulse {
    0%, 100% { transform: scale(1); background: rgba(0, 53, 127, 0.08); }
    50% { transform: scale(1.09); background: rgba(0, 53, 127, 0.14); }
  }
}

/* GENERIC SECTION */
.section {
  padding: 96px 0;
}

.section.white {
  background: var(--surface-container-lowest);
}

.section.soft {
  background: var(--surface-container-low);
}

.section.primary {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.section-head-left .eyebrow-text,
.section-head-center .eyebrow-text {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-head-left h2,
.section-head-center h2 {
  font-size: 48px;
  font-weight: 800;
  color: var(--on-surface);
  line-height: 1.2;
}

.section-head-center {
  text-align: center;
  margin-bottom: 56px;
}

#novidades.section {
  padding: 58px 0 76px;
}

#novidades .section-head-center {
  margin-bottom: 34px;
}

.news-last-update {
  width: fit-content;
  margin: 14px auto 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--primary);
  border: 1px solid #dbe7fb;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.section-head-left {
  margin-bottom: 56px;
}

.section-head-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
}

/* HISTORY */
.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.history-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.history-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.history-col.offset {
  padding-top: 48px;
}

.history-photo {
  border-radius: 24px;
  overflow: hidden;
  width: 100%;
  height: 256px;
  object-fit: cover;
}

.history-stat-card,
.history-blue-card {
  border-radius: 24px;
  padding: 32px;
}

.history-stat-card {
  background: linear-gradient(145deg, var(--primary), var(--primary-container));
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(0, 53, 127, 0.16);
}

.history-stat-card::after {
  content: "";
  position: absolute;
  inset: -45% auto auto -20%;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  animation: stat-luz 3.2s ease-in-out infinite;
}

.history-stat-card strong {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 8px;
  color: white;
  text-shadow: 0 10px 24px rgba(0, 20, 55, 0.22);
  animation: stat-pulso 2.4s ease-in-out infinite;
}

.history-stat-card span {
  position: relative;
  z-index: 1;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.history-blue-card {
  background: var(--primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.history-blue-card .material-symbols-outlined {
  font-size: 40px;
  margin-bottom: 12px;
  animation: brilho-flutuante 2.2s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(217, 226, 255, 0.65));
  transform-origin: center;
}

.history-blue-card::before,
.history-blue-card::after {
  content: "✦";
  position: absolute;
  color: rgba(217, 226, 255, 0.9);
  pointer-events: none;
  animation: brilho-particula 2.8s ease-in-out infinite;
}

.history-blue-card::before {
  top: 18px;
  right: 28px;
  font-size: 18px;
}

.history-blue-card::after {
  right: 58px;
  bottom: 28px;
  font-size: 12px;
  animation-delay: 0.9s;
}

.history-blue-card p {
  font-weight: 800;
}

@keyframes brilho-flutuante {
  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 0.86;
  }
  45% {
    transform: translateY(-9px) rotate(10deg) scale(1.14);
    opacity: 1;
  }
  70% {
    transform: translateY(3px) rotate(-6deg) scale(0.96);
  }
}

@keyframes brilho-particula {
  0%,
  100% {
    transform: translateY(8px) scale(0.72) rotate(0deg);
    opacity: 0.25;
  }
  45% {
    transform: translateY(-10px) scale(1.18) rotate(18deg);
    opacity: 1;
  }
}

@keyframes stat-pulso {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-3px) scale(1.06);
  }
}

@keyframes stat-luz {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.45;
  }
  50% {
    transform: translate(32px, 26px) scale(1.18);
    opacity: 0.8;
  }
}

@media (min-width: 901px) {
  .history-stat-card {
    animation: history-stat-card-float 4.4s ease-in-out infinite;
    will-change: transform;
  }

  .history-blue-card {
    animation: history-blue-card-float 4.9s ease-in-out 0.45s infinite;
    will-change: transform;
  }

  @keyframes history-stat-card-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
  }

  @keyframes history-blue-card-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
  }
}

.history-copy p {
  font-size: 18px;
  color: var(--on-surface-variant);
  line-height: 1.8;
  margin-bottom: 22px;
}

.history-mobile-summary {
  display: none;
}

.history-inline-stats {
  display: flex;
  gap: 48px;
  margin-top: 32px;
}

.history-inline-stats strong {
  display: block;
  font-size: 30px;
  font-weight: 900;
  color: var(--primary);
}

.history-inline-stats span {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* GALLERY */
.gallery-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 14px;
}

.gallery-stage {
  position: relative;
}

.gallery-actions-overlay {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  justify-content: space-between;
  padding: 0 24px;
  margin-top: 0;
  pointer-events: none;
}

.gallery-actions-overlay .circle-btn {
  pointer-events: auto;
}

.circle-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--outline-variant);
  background: #ffffff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 53, 127, 0.12);
}

.circle-btn:disabled {
  background: #e5e7eb;
  border-color: #d1d5db;
  color: #9ca3af;
  box-shadow: none;
  opacity: 1;
  cursor: not-allowed;
}

.gallery-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 0 32px 32px;
  scrollbar-width: none;
}

.gallery-scroll::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  min-width: 400px;
  height: 500px;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease, opacity 0.45s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.86);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 53, 127, 0.82), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  opacity: 0.88;
  transition: opacity 0.35s ease, background 0.35s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
  background: linear-gradient(to top, rgba(0, 53, 127, 0.9), rgba(0, 53, 127, 0.08));
}

.gallery-overlay h4 {
  color: white;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 6px;
}

.gallery-overlay p {
  color: var(--primary-fixed);
  font-size: 14px;
}

.dayflow-section {
  overflow: hidden;
  padding: 58px 0;
}

.dayflow-head {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(280px, 0.62fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.dayflow-head h2 {
  margin: 8px 0 0;
  max-width: 680px;
  color: var(--primary);
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.dayflow-head p {
  margin: 0;
  color: var(--on-surface-variant);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 700;
}

.dayflow {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(340px, 0.68fr);
  gap: 18px;
  align-items: start;
  min-height: 0;
}

.dayflow-visual {
  position: relative;
  min-height: 380px;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: #dbe7fb;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
}

.dayflow-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.72) 100%);
  pointer-events: none;
}

.dayflow-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.28s ease, transform 0.75s ease, filter 0.75s ease;
}

.dayflow-visual img.is-contain {
  object-fit: contain;
  background: linear-gradient(135deg, #f8fbff 0%, #e8f2ff 100%);
}

.dayflow-visual img.is-changing {
  opacity: 0.35;
  transform: scale(1.04);
  filter: blur(3px);
}

.dayflow-badge {
  display: none;
}

.dayflow-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  color: #ffffff;
}

.dayflow-caption span {
  display: inline-flex;
  margin-bottom: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.dayflow-caption strong {
  display: block;
  font-size: 24px;
  line-height: 1.12;
  font-weight: 900;
}

.dayflow-caption p {
  max-width: 540px;
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 700;
}

.dayflow-steps {
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.dayflow-steps-head {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px 2px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.dayflow-pause-btn {
  border: 1px solid #dbe7fb;
  border-radius: 999px;
  background: #ffffff;
  min-height: 32px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--primary);
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.dayflow-pause-btn:hover {
  border-color: #93c5fd;
  background: #eff6ff;
  transform: translateY(-1px);
}

.dayflow-pause-btn .material-symbols-outlined {
  font-size: 17px;
}

.dayflow-step {
  position: relative;
  border: 1px solid #dbe7fb;
  background: #ffffff;
  border-radius: 13px;
  padding: 9px 14px 9px 16px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 3px 12px;
  align-items: center;
  min-height: 58px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.dayflow-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 999px;
  background: #cbd5e1;
}

.dayflow-step::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-container));
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
}

.dayflow-step:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 12px 24px rgba(0, 53, 127, 0.09);
}

.dayflow-step.is-active {
  background: #f0f7ff;
  border-color: #93c5fd;
  box-shadow: 0 12px 24px rgba(0, 53, 127, 0.1);
}

.dayflow-step.is-active::before {
  background: var(--primary);
}

.dayflow-step.is-active::after {
  opacity: 1;
  animation: dayflowProgress 5.6s linear forwards;
}

.dayflow-steps.is-paused .dayflow-step.is-active::after {
  animation-play-state: paused;
}

@keyframes dayflowProgress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.dayflow-step span {
  grid-row: 1 / span 2;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.dayflow-step strong {
  grid-column: 2;
  color: var(--on-surface);
  font-size: 13.5px;
  line-height: 1.22;
  font-weight: 900;
}

.dayflow-step small {
  grid-column: 2;
  color: var(--on-surface-variant);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.42;
}

/* NEWS */
.news-stage {
  position: relative;
}

.news-scroll {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  overflow: visible;
  padding: 0;
}

.news-scroll::-webkit-scrollbar {
  display: none;
}

.news-card {
  background: var(--surface-container-lowest);
  border-radius: 28px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  border: 1px solid #e8eef8;
  box-shadow: 0 4px 16px rgba(0, 53, 127, 0.06);
  transition: transform 0.28s cubic-bezier(.22,.68,0,1.2), box-shadow 0.28s ease;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 53, 127, 0.14);
}

.news-card-thumb {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  flex-shrink: 0;
}

.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}

.news-card:hover .news-card-thumb img {
  transform: scale(1.07);
}

.news-card-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 30, 80, 0.72) 0%, rgba(0, 30, 80, 0.1) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 18px;
  pointer-events: none;
}

.news-card-thumb-overlay .tag {
  display: inline-block;
  width: fit-content;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  padding: 3px 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.news-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-body h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--on-surface);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-body p {
  font-size: 13px;
  color: var(--on-surface-variant);
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* legado - mantido para não quebrar nada */
.news-image {
  width: 100%;
  height: 224px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 24px;
}

.js-news-zoom {
  cursor: zoom-in;
}

/* LIGHTBOX */
.news-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(5, 10, 25, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  backdrop-filter: blur(4px);
  animation: lightbox-in 0.22s ease;
}

@keyframes lightbox-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.news-lightbox[hidden] {
  display: none !important;
}

.news-lightbox-toolbar {
  width: min(96vw, 1280px);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.news-lightbox-toggle {
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: 999px;
  min-height: 40px;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s;
}

.news-lightbox-toggle:hover {
  background: rgba(255,255,255,0.24);
}

.news-lightbox-body {
  max-width: 96vw;
  max-height: 84vh;
  overflow: auto;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.news-lightbox-body img {
  width: auto;
  height: auto;
  max-width: 88vw;
  max-height: 74vh;
  display: block;
  border-radius: 18px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.55);
  cursor: zoom-in;
  animation: lightbox-img-in 0.3s cubic-bezier(.22,.68,0,1.15);
}

@keyframes lightbox-img-in {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.news-lightbox-body.is-natural img {
  max-width: none;
  max-height: none;
  cursor: zoom-out;
}

.news-lightbox-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  max-width: min(88vw, 700px);
}

.news-lightbox-caption strong {
  color: #f1f5f9;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}

.news-lightbox-caption span {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.news-lightbox-close {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: rgba(239,68,68,0.18);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}

.news-lightbox-close:hover {
  background: #ef4444;
  color: #fff;
}

.news-actions {
  display: none;
  justify-content: center;
  margin-top: 34px;
}

.news-actions-overlay {
  position: absolute;
  top: 42%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  justify-content: space-between;
  padding: 0 4px;
  margin-top: 0;
  pointer-events: none;
}

.news-actions-overlay .circle-btn {
  pointer-events: auto;
}

.news-mobile-progress {
  display: none;
}

.news-empty {
  grid-column: 1 / -1;
  color: #64748b;
  font-weight: 800;
  text-align: center;
  padding: 28px;
}

/* TRANSPARENCIA */
.transparencia-section .section-head-center {
  margin-bottom: 32px;
}

.transparencia-public-card {
  background: linear-gradient(180deg, var(--surface-container-lowest) 0%, #f8fbff 100%);
  border: 1px solid #dbe7fb;
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  padding: 24px;
}

.transparencia-public-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.transparencia-public-head h3 {
  color: var(--primary);
  font-size: 24px;
  margin-bottom: 6px;
}

.transparencia-public-head p {
  color: var(--on-surface-variant);
  line-height: 1.5;
}

.transparencia-search {
  position: relative;
  width: min(360px, 100%);
  flex: 0 0 min(360px, 100%);
}

.transparencia-search .material-symbols-outlined {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 20px;
}

.transparencia-search input {
  width: 100%;
  height: 44px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #f8fafc;
  padding: 0 14px 0 42px;
  outline: none;
  font-size: 14px;
}

.transparencia-search input:focus {
  border-color: rgba(0, 53, 127, 0.32);
  box-shadow: 0 0 0 3px rgba(0, 53, 127, 0.08);
}

.transparencia-folders {
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  overflow: hidden;
  background: #f8fafc;
}

.transparencia-year {
  background: var(--surface-container-lowest);
  border-bottom: 1px solid #e2e8f0;
}

.transparencia-year:last-child {
  border-bottom: 0;
}

.transparencia-year summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--on-surface);
  font-weight: 900;
  transition: background 0.22s ease, color 0.22s ease;
}

.transparencia-year summary:hover {
  background: #f8fbff;
  color: var(--primary);
}

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

.transparencia-year summary .expand {
  margin-left: auto;
  transition: transform 0.2s ease;
}

.transparencia-year summary .year-meta {
  margin-left: auto;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 5px 10px;
}

.transparencia-year[open] summary .expand {
  transform: rotate(180deg);
}

.transparencia-year[open] summary {
  background: #f8fbff;
  color: var(--primary);
}

.transparencia-files {
  display: grid;
  gap: 10px;
  padding: 0 18px 18px 52px;
}

.transparencia-events {
  display: grid;
  gap: 14px;
  padding: 0 18px 18px 52px;
}

.transparencia-months {
  display: grid;
  gap: 14px;
  padding: 0 18px 18px 52px;
}

.transparencia-month {
  border: 1px solid #dbe7fb;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
  padding: 14px;
}

.transparencia-year[open] .transparencia-month {
  animation: transparenciaExpand 0.34s cubic-bezier(.22,.8,.2,1) both;
}

.transparencia-year[open] .transparencia-month:nth-child(2) {
  animation-delay: 50ms;
}

.transparencia-year[open] .transparencia-month:nth-child(3) {
  animation-delay: 100ms;
}

@keyframes transparenciaExpand {
  from {
    opacity: 0;
    transform: translateY(-7px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.transparencia-month-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.transparencia-month-head > .material-symbols-outlined {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #eaf3ff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
}

.transparencia-month-head div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.transparencia-month-head strong {
  color: var(--primary);
  font-size: 16px;
}

.transparencia-month-head span:not(.material-symbols-outlined) {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.transparencia-month-head small {
  margin-left: auto;
  white-space: nowrap;
  color: #1e40af;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 900;
}

.transparencia-event {
  display: grid;
  gap: 8px;
}

.transparencia-month .transparencia-events {
  padding: 0;
  gap: 10px;
}

.transparencia-month .transparencia-event {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fbff;
  padding: 10px;
}

.transparencia-event h4 {
  margin: 0;
  color: var(--primary);
  font-size: 14px;
  font-weight: 900;
}

.transparencia-event .transparencia-files {
  padding: 0;
}

.transparencia-file {
  min-height: 48px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fbff;
  color: var(--primary);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.transparencia-file:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}

.transparencia-file-action {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #eaf3ff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}

.transparencia-file-info {
  flex: 1;
  min-width: 0;
}

.transparencia-file-info strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.transparencia-file-info span {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.transparencia-file-info .transparencia-file-note {
  color: #334155;
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
}

.transparencia-empty {
  margin: 0;
  padding: 24px;
  color: #64748b;
  font-weight: 800;
  text-align: center;
  background: var(--surface-container-lowest);
}

.transparencia-skeleton {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: var(--surface-container-lowest);
}

.transparencia-skeleton span {
  display: block;
  height: 64px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: linear-gradient(100deg, #f1f5f9 20%, #ffffff 45%, #f1f5f9 70%);
  background-size: 220% 100%;
  animation: transparenciaShimmer 1.25s linear infinite;
}

@keyframes transparenciaShimmer {
  to {
    background-position: -220% 0;
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
  filter: blur(6px);
  will-change: opacity, transform;
}

.section-reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(4px);
  transition: opacity 0.68s ease, transform 0.68s ease, filter 0.68s ease;
  will-change: opacity, transform;
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  animation: section-reveal-in 0.68s ease both;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  animation: reveal-fade-in 0.7s ease both;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes section-reveal-in {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes reveal-fade-in {
  from {
    opacity: 0;
    filter: blur(6px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

.history-visual-grid .reveal-on-scroll:nth-child(odd),
.gallery-card.reveal-on-scroll:nth-child(odd),
.cta-impact-card.reveal-on-scroll:nth-child(odd) {
  transform: translateX(-28px);
}

.history-visual-grid .reveal-on-scroll:nth-child(even),
.gallery-card.reveal-on-scroll:nth-child(even),
.cta-impact-card.reveal-on-scroll:nth-child(even) {
  transform: translateX(28px);
}

.history-visual-grid .reveal-on-scroll.is-visible,
.gallery-card.reveal-on-scroll.is-visible,
.cta-impact-card.reveal-on-scroll.is-visible {
  transform: translateX(0);
}

/* TESTIMONIAL */
.quote-bg {
  position: absolute;
  top: 0;
  right: 0;
  padding: 96px;
  opacity: 0.1;
  pointer-events: none;
}

.quote-bg .material-symbols-outlined {
  font-size: 20rem;
  color: white;
}

.primary .section-head-left .eyebrow-text {
  color: var(--primary-fixed);
}

.primary .section-head-left h2 {
  color: white;
  margin-bottom: 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.testimonial-card {
  padding: 40px;
  border-radius: 40px;
  color: white;
}

.stars {
  display: flex;
  gap: 4px;
  color: #facc15;
  margin-bottom: 24px;
}

.stars .material-symbols-outlined {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.stars .star-partial {
  background: linear-gradient(90deg, #facc15 0 58%, #ffffff 58% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.testimonial-card p.quote {
  font-size: 22px;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 28px;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-person img {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid var(--primary-fixed);
}

.testimonial-person strong {
  display: block;
  font-weight: 800;
}

.testimonial-person span {
  font-size: 12px;
  color: var(--primary-fixed);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.testimonial-card .stars,
.testimonial-card .quote,
.testimonial-card .testimonial-person {
  opacity: 0;
  transform: translateY(10px);
}

.testimonial-card.is-visible .stars {
  animation: testimonialDetailIn 0.38s ease 0.12s both;
}

.testimonial-card.is-visible .quote {
  animation: testimonialDetailIn 0.48s ease 0.24s both;
}

.testimonial-card.is-visible .testimonial-person {
  animation: testimonialDetailIn 0.42s ease 0.36s both;
}

@keyframes testimonialDetailIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CTA */
#doacao.section {
  padding: 30px 0;
}

.cta-box {
  background: var(--surface-container-low);
  border-radius: 34px;
  padding: 40px 44px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
}

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

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(460px, 1fr);
  gap: 14px 30px;
  align-items: start;
}

.cta-content h2 {
  grid-column: 1;
  font-size: clamp(36px, 3.5vw, 48px);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.08;
  margin-bottom: 0;
}

.cta-content > p {
  grid-column: 1;
  font-size: 16px;
  color: var(--on-surface-variant);
  line-height: 1.65;
  margin-bottom: 0;
}

.donation-kind-card {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  max-width: 420px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid #cfe0f7;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 246, 255, 0.82));
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.donation-kind-card .material-symbols-outlined {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--primary);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.donation-kind-card strong {
  display: block;
  color: var(--primary);
  font-size: 15px;
  line-height: 1.25;
  margin-bottom: 5px;
}

.donation-kind-card p {
  margin: 0 0 8px;
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
}

.donation-kind-card a {
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.donation-kind-card a:hover {
  text-decoration: underline;
}

@media (min-width: 901px) {
  .cta-content > p {
    grid-row: 3;
    align-self: start;
    max-width: 420px;
  }

  .donation-kind-card {
    grid-row: 2;
    align-self: start;
    margin-top: 34px;
  }

}

.donation-goal {
  grid-column: 2;
  grid-row: 1;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #d5e3f8;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 0;
  text-align: left;
}

.donation-goal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 12px;
}

.donation-goal-head span {
  font-size: 12px;
  color: #64748b;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.donation-goal-head strong {
  color: var(--primary);
  font-size: 15px;
}

.donation-goal-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #e6eefb;
  overflow: hidden;
  margin-bottom: 10px;
}

.donation-goal-bar > span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary) 0%, #1467cc 58%, #46a7f5 100%);
  box-shadow: 0 1px 8px rgba(13, 71, 143, 0.28);
  will-change: width;
}

.donation-goal-note {
  margin: 0;
  font-size: 13px;
  color: #334155;
}

.donation-use {
  grid-column: 2;
  grid-row: 2;
  margin-bottom: 0;
  text-align: left;
}

.donation-use-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.donation-use h3 {
  color: var(--primary);
  font-size: 16px;
  margin: 0;
}

.donation-swipe-cue {
  display: none;
}

.donation-use-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.donation-use article {
  background: #ffffff;
  border: 1px solid #d9e4f4;
  border-radius: 14px;
  min-height: 112px;
  padding: 14px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 9px;
  row-gap: 5px;
  align-items: start;
}

.donation-use .material-symbols-outlined {
  color: var(--primary);
  font-size: 21px;
  grid-column: 1;
  grid-row: 1 / span 2;
  margin-top: 1px;
}

.donation-use strong {
  display: block;
  color: var(--primary);
  font-size: 14px;
  line-height: 1.25;
  grid-column: 2;
  grid-row: 1;
}

.donation-use p {
  margin: 0;
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}

@media (min-width: 901px) {
  .donation-use {
    grid-row: 2 / span 2;
  }
}

.cta-impact-grid {
  grid-column: 2;
  grid-row: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 0;
}

.cta-impact-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #d9e4f4;
  border-radius: 14px;
  min-height: 112px;
  padding: 14px;
  text-align: left;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  column-gap: 9px;
  row-gap: 5px;
}

.cta-impact-card .material-symbols-outlined {
  font-size: 21px;
  color: var(--primary);
  grid-column: 1;
  grid-row: 1 / span 2;
  margin-top: 1px;
}

.cta-impact-card strong {
  display: block;
  color: var(--primary);
  font-size: 14px;
  line-height: 1.25;
  grid-column: 2;
  grid-row: 1;
}

.cta-impact-card p {
  display: block;
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}

.cta-actions {
  grid-column: 1;
  grid-row: 3;
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.cta-extra-panels {
  grid-column: 1 / -1;
  grid-row: 4;
  margin-top: 18px;
  display: grid;
  gap: 18px;
}

.cta-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #d9e2f1;
  border-radius: 18px;
  padding: 20px;
  text-align: left;
}

.cta-panel h4 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 14px;
}

.cta-panel-subtitle {
  font-size: 14px;
  color: #475569;
  margin-bottom: 14px;
}

.cta-quick-values {
  margin-bottom: 16px;
}

.cta-quick-values > span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.cta-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cta-chip {
  border: 1px solid #bfd2ef;
  background: #f8fbff;
  color: var(--primary);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cta-chip:hover {
  background: #e8f0ff;
  border-color: #8fb3f0;
}

.cta-chip.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 53, 127, 0.18);
  transform: translateY(-2px) scale(1.02);
}

.donation-impact-preview {
  margin: 14px 0 16px;
  border: 1px solid #cfe0f7;
  background: linear-gradient(135deg, #ffffff, #eef6ff);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--primary);
}

.donation-impact-preview > .material-symbols-outlined {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--primary);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.donation-impact-preview strong {
  display: block;
  color: var(--primary);
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 4px;
}

.donation-impact-preview p {
  margin: 0;
  color: var(--on-surface-variant);
  font-size: 13px;
  line-height: 1.55;
}

.donation-impact-preview.is-updated {
  animation: donationImpactIn 0.34s cubic-bezier(.22,.8,.2,1);
}

@keyframes donationImpactIn {
  0% {
    opacity: 0.58;
    transform: translateY(5px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.cta-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cta-field label {
  font-size: 12px;
  font-weight: 800;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cta-field input,
.cta-field textarea {
  border: 1px solid #cfd8e6;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 14px;
  outline: none;
}

.cta-field input:focus,
.cta-field textarea:focus {
  border-color: #8fb3f0;
  box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.12);
}

.cta-field-full {
  grid-column: 1 / -1;
}

.cta-pix-placeholder {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid #cfe0f7;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
  padding: 16px;
}

.cta-pix-placeholder > .material-symbols-outlined {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--primary);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-pix-placeholder strong {
  display: block;
  color: var(--primary);
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 4px;
}

.cta-pix-placeholder p {
  margin: 0;
  color: var(--on-surface-variant);
  font-size: 13px;
  line-height: 1.55;
}

.cta-qr-wrap {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.cta-qr-wrap img {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  border: 1px solid #d5deeb;
  background: #fff;
  padding: 6px;
}

.cta-qr-wrap p {
  margin: 0;
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
}

.cta-qr-content {
  display: grid;
  gap: 10px;
}

.cta-pix-copy {
  display: grid;
  gap: 6px;
}

.cta-pix-copy label {
  font-size: 12px;
  font-weight: 800;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cta-pix-inline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cta-pix-inline input {
  border: 1px solid #cfd8e6;
  border-radius: 10px;
  min-height: 42px;
  padding: 0 12px;
  width: min(360px, 100%);
  background: #fff;
  color: #334155;
  font-size: 13px;
}

.cta-copy-btn {
  border: 1px solid #b7c8e4;
  background: #fff;
  color: var(--primary);
  border-radius: 10px;
  min-height: 42px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.cta-copy-btn:hover {
  background: #f4f8ff;
}

.cta-success-msg {
  display: none;
  align-items: flex-start;
  gap: 14px;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 12px;
}

.cta-success-msg.is-visible {
  display: flex;
  animation: cta-success-in 0.38s ease both;
}

@keyframes cta-success-in {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cta-success-icon {
  color: #16a34a;
  font-size: 32px;
  flex-shrink: 0;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.cta-success-text strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #15803d;
  margin-bottom: 4px;
}

.cta-success-text p {
  font-size: 13px;
  color: #166534;
  line-height: 1.6;
  margin: 0;
}

.contato-direto {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contato-direto p {
  margin: 0;
  font-size: 14px;
  color: #334155;
}

.contato-direto a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.contato-direto a:hover {
  text-decoration: underline;
}

/* FOOTER */
.site-footer {
  padding: 72px 0 32px;
  background: #07162f;
  color: #fff;
}

.site-footer .container {
  display: grid;
  gap: 28px;
}

.site-footer p {
  font-size: 12px;
  color: #b9c7df;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.2fr;
  gap: 32px;
  align-items: stretch;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.22);
}

.footer-brand strong {
  display: block;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 6px;
}

.footer-contact {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-contact h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.footer-contact a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #dbeafe;
  font-size: 14px;
  line-height: 1.5;
}

.footer-contact a:hover {
  color: #ffffff;
}

.footer-contact .material-symbols-outlined {
  color: #93c5fd;
  font-size: 21px;
  margin-top: 1px;
}

.footer-map {
  min-height: 260px;
  border: 1px solid rgba(147, 197, 253, 0.22);
  border-radius: 24px;
  overflow: hidden;
  background: #102344;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  filter: saturate(0.92) contrast(1.02);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(219, 234, 254, 0.14);
}

.footer-bottom a {
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.footer-links a:hover {
  color: var(--primary);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #22c55e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.28);
  z-index: 90;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.whatsapp-float .material-symbols-outlined {
  font-size: 30px;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
}

/* RESPONSIVO */
@media (min-width: 1800px) {
  .container {
    max-width: 1420px;
  }

  .hero {
    min-height: 640px;
    padding: 56px 0 64px;
  }

  .hero-copy h1 {
    font-size: 68px;
  }

  .hero-photo {
    height: 520px;
  }

  .section {
    padding: 88px 0;
  }
}

@media (max-width: 1200px) {
  .hero-grid,
  .history-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .news-card {
    min-width: 0;
  }

  .news-scroll,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy h1 {
    font-size: 60px;
  }
}

@media (max-width: 900px) {
  .topbar {
    padding: 0 16px;
    max-width: 100vw;
    overflow: hidden;
  }

  .topbar-brand {
    min-width: 0;
  }

  .topbar-nav {
    display: none;
  }

  .topbar-actions {
    gap: 10px;
  }

  .mobile-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #cfe0f7;
    border-radius: 999px;
    background: #ffffff;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(0, 53, 127, 0.1);
  }

  .mobile-contact-btn .material-symbols-outlined {
    font-size: 18px;
  }

  .desktop-login {
    display: none;
  }

  .container {
    padding: 0 16px;
  }

  .hero {
    min-height: auto;
    padding: 56px 0;
  }

  .hero-grid {
    width: 100%;
    max-width: 100%;
  }

  .hero-grid,
  .hero-copy,
  .hero-visual {
    min-width: 0;
    max-width: 100%;
  }

  .hero-copy h1 {
    font-size: 42px;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero-visual {
    display: block;
    margin-top: 18px;
  }

  .hero-photo {
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: 24px;
    transform: none !important;
  }

  .hero-floating-card {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .section-head-left h2,
  .section-head-center h2,
  .cta-content h2 {
    font-size: 36px;
  }

  .history-inline-stats {
    flex-direction: column;
    gap: 20px;
  }

  .history-copy {
    order: 1;
  }

  .history-visual-grid {
    order: 2;
    margin-top: 10px;
  }

  .history-mobile-summary {
    --reveal-delay: 120ms;
  }

  #btnEnviarDoacao {
    --reveal-delay: 220ms;
  }

  .reveal-on-scroll {
    transition-duration: 0.85s;
    transition-delay: calc(var(--reveal-delay, 0ms) + 70ms);
  }

  .dayflow-caption {
    display: none;
  }

  .stats-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .news-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding: 2px;
  }

  .news-scroll::-webkit-scrollbar {
    display: none;
  }

  .news-card {
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: start;
  }

  .news-actions-overlay {
    position: static;
    display: flex;
    transform: none;
    justify-content: center;
    gap: 12px;
    padding: 0;
    margin-top: 16px;
    pointer-events: auto;
  }

  .news-mobile-progress {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
  }

  .news-mobile-progress-track {
    display: block;
    width: 100%;
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: #dbe7fb;
  }

  #newsProgressFill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), #38bdf8);
    transition: width 0.28s ease;
  }

  .transparencia-public-head {
    flex-direction: column;
  }

  .transparencia-search {
    flex-basis: auto;
  }

  .transparencia-files {
    padding-left: 18px;
  }

  .transparencia-months,
  .transparencia-events {
    padding-left: 18px;
  }

  .transparencia-year summary {
    flex-wrap: wrap;
  }

  .transparencia-year summary .year-meta {
    margin-left: 0;
  }

  .transparencia-year summary .expand {
    margin-left: auto;
  }

  .transparencia-month-head {
    align-items: flex-start;
  }

  .transparencia-month-head small {
    margin-left: 0;
  }

  .dayflow-head {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 22px;
  }

  .dayflow-head h2 {
    max-width: 100%;
  }

  .dayflow {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }

  .dayflow-visual {
    min-height: 320px;
    width: 100%;
    max-width: 100%;
  }

  .dayflow-steps,
  .dayflow-step,
  .dayflow-step strong,
  .dayflow-step small {
    min-width: 0;
    max-width: 100%;
  }

  .dayflow-steps-head {
    padding: 4px 2px;
  }

  .circle-btn {
    width: 42px;
    height: 42px;
  }

  .testimonial-card {
    padding: 28px;
    border-radius: 28px;
  }

  .testimonial-card p.quote {
    font-size: 18px;
  }

  .cta-box {
    padding: 32px 20px;
    border-radius: 32px;
  }

  .cta-content {
    grid-template-columns: 1fr;
    gap: 16px;
    min-width: 0;
  }

  .cta-content h2,
  .cta-content > p,
  .donation-kind-card,
  .donation-goal,
  .donation-use,
  .cta-impact-grid,
  .cta-actions,
  .cta-extra-panels {
    grid-column: 1;
    grid-row: auto;
  }

  .cta-content > p {
    font-size: 18px;
  }

  .donation-kind-card {
    max-width: 100%;
    min-width: 0;
  }

  .cta-impact-grid {
    grid-template-columns: 1fr;
  }

  .donation-use {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .donation-use-head {
    padding-right: 2px;
  }

  .donation-swipe-cue {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--primary);
    border: 1px solid #cfe0f7;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
    animation: donation-swipe-cue 1.7s ease-in-out infinite;
  }

  .donation-swipe-cue .material-symbols-outlined {
    font-size: 20px;
  }

  .donation-use-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    width: 100%;
    max-width: 100%;
    padding: 2px 30px 12px 2px;
  }

  .donation-use-grid::-webkit-scrollbar {
    display: none;
  }

  .donation-use-grid article {
    flex: 0 0 min(78vw, 310px);
    min-width: 0;
    min-height: 116px;
    scroll-snap-align: start;
  }

  @keyframes donation-swipe-cue {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
  }

  .donation-goal-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-form {
    grid-template-columns: 1fr;
  }

  .cta-qr-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-pix-inline {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .cta-pix-inline input {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 520px) {
  .hero .container,
  .hero-grid,
  .hero-copy,
  .hero-visual,
  .hero-copy h1,
  .hero-copy p,
  .hero-actions {
    min-width: 0;
    max-width: calc(100vw - 32px);
  }

  .topbar {
    height: 72px;
  }

  .topbar-brand {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 24px;
  }

  .topbar-brand span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  main {
    padding-top: 72px;
  }

  .hero {
    padding: 42px 0 52px;
  }

  .hero-grid,
  .hero-copy,
  .hero-visual {
    width: 100%;
    max-width: calc(100vw - 32px);
  }

  .hero-copy h1 {
    font-size: 32px;
    line-height: 1.14;
    letter-spacing: 0;
    max-width: calc(100vw - 32px);
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero-copy p {
    font-size: 16px;
    line-height: 1.7;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .primary-btn-lg,
  .hero-actions .secondary-btn-lg {
    width: 100%;
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .history-copy > p,
  .history-inline-stats {
    display: none;
  }

  .history-mobile-summary {
    display: grid;
    gap: 16px;
    margin-top: -18px;
  }

  .history-mobile-summary > p {
    display: block;
    margin: 0;
    color: var(--on-surface-variant);
    font-size: 16px;
    line-height: 1.65;
  }

  .dayflow-visual {
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .dayflow-step {
    width: 100%;
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 12px 12px 12px 16px;
  }

  .dayflow-step strong,
  .dayflow-step small {
    overflow-wrap: anywhere;
  }

  .transparencia-public-card {
    padding: 16px;
    border-radius: 20px;
    overflow: hidden;
  }

  .transparencia-public-head {
    gap: 14px;
    margin-bottom: 14px;
  }

  .transparencia-public-head h3 {
    font-size: 20px;
  }

  .transparencia-public-head p {
    font-size: 14px;
  }

  .transparencia-search input {
    font-size: 13px;
  }

  .transparencia-year summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 6px 8px;
    padding: 13px 12px;
  }

  .transparencia-year summary .year-meta {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    margin: 0;
    padding: 4px 8px;
    font-size: 10px;
  }

  .transparencia-year summary .expand {
    grid-column: 3;
    grid-row: 1 / span 2;
    margin: 0;
    align-self: center;
  }

  .transparencia-months {
    gap: 10px;
    padding: 0 10px 10px;
  }

  .transparencia-month {
    min-width: 0;
    padding: 10px;
    border-radius: 14px;
  }

  .transparencia-month-head {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 4px 9px;
    margin-bottom: 10px;
  }

  .transparencia-month-head > .material-symbols-outlined {
    grid-row: 1 / span 2;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 18px;
  }

  .transparencia-month-head strong {
    font-size: 14px;
  }

  .transparencia-month-head span:not(.material-symbols-outlined) {
    font-size: 11px;
    overflow-wrap: anywhere;
  }

  .transparencia-month-head small {
    grid-column: 2;
    width: max-content;
    margin: 0;
    padding: 4px 8px;
    font-size: 10px;
  }

  .transparencia-month .transparencia-event {
    padding: 9px;
    border-radius: 12px;
  }

  .transparencia-event h4 {
    font-size: 13px;
    overflow-wrap: anywhere;
  }

  .transparencia-file {
    min-width: 0;
    min-height: 44px;
    padding: 8px;
    gap: 8px;
  }

  .transparencia-file > .material-symbols-outlined:first-child {
    flex: 0 0 auto;
    font-size: 19px;
  }

  .transparencia-file-info strong {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.25;
  }

  .transparencia-file-info span {
    font-size: 11px;
  }

  .transparencia-file-action {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 17px;
  }

  .donation-impact-preview {
    flex-direction: column;
  }

  #doacao.section {
    padding: 24px 0 40px;
  }

  #doacao .container,
  #doacao .cta-box,
  #doacao .cta-content,
  #doacao .cta-extra-panels,
  #doacao .cta-panel {
    min-width: 0;
    max-width: 100%;
  }

  #doacao .cta-box {
    padding: 28px 16px;
    border-radius: 24px;
  }

  #doacao .cta-content > p {
    font-size: 16px;
    line-height: 1.6;
  }

  .donation-kind-card {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
  }

  .donation-kind-card .material-symbols-outlined {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 21px;
  }

  .donation-use-grid {
    gap: 10px;
    padding-right: 24px;
  }

  .donation-use-grid article {
    flex-basis: calc(100vw - 88px);
    min-height: 118px;
    padding: 13px;
  }

  .donation-use strong {
    font-size: 13px;
  }

  .donation-use p {
    font-size: 11px;
    line-height: 1.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

.cta-privacy-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #52627a;
  font-size: 0.82rem;
  line-height: 1.45;
  cursor: pointer;
}

.cta-privacy-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  flex: 0 0 auto;
  accent-color: #0d478f;
}

/* O Windows pode ativar reduced-motion mesmo quando o usuario espera os fades.
   No desktop preservamos apenas opacidade, sem deslocamento ou desfoque. */
@media (min-width: 901px) and (prefers-reduced-motion: reduce) {
  .intro-reveal,
  .section-reveal,
  .reveal-on-scroll:not(.history-stat-card):not(.history-blue-card) {
    transform: none !important;
    filter: none !important;
    transition: opacity 0.52s ease !important;
    transition-delay: var(--reveal-delay, var(--intro-delay, 0ms)) !important;
  }

  .intro-reveal.is-visible,
  .section-reveal.is-visible,
  .reveal-on-scroll.is-visible:not(.history-stat-card):not(.history-blue-card) {
    animation: desktop-soft-fade 0.52s ease both !important;
    animation-delay: var(--reveal-delay, var(--intro-delay, 0ms)) !important;
  }

  @keyframes desktop-soft-fade {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* Destaques solicitados para a capa institucional continuam perceptiveis no desktop. */
  .hero #btnDoarTopo {
    animation: hero-donation-float 3.8s ease-in-out infinite !important;
  }

  .hero .hero-floating-card {
    animation: hero-care-card-float 4.6s ease-in-out 0.55s infinite !important;
  }

  .history-stat-card {
    animation: history-stat-card-float 4.4s ease-in-out infinite !important;
  }

  .history-blue-card {
    animation: history-blue-card-float 4.9s ease-in-out 0.45s infinite !important;
  }

  .history-stat-card::after {
    animation: stat-luz 3.2s ease-in-out infinite !important;
  }

  .history-stat-card strong {
    animation: stat-pulso 2.4s ease-in-out infinite !important;
  }

  .history-blue-card .material-symbols-outlined {
    animation: brilho-flutuante 2.2s ease-in-out infinite !important;
  }

  .history-blue-card::before,
  .history-blue-card::after {
    animation: brilho-particula 2.8s ease-in-out infinite !important;
  }

  .history-blue-card::after {
    animation-delay: 0.9s !important;
  }

  .dayflow-step.is-active::after {
    animation: dayflowProgress 5.6s linear forwards !important;
  }
}

@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
  .topbar-brand {
    transition: transform 0.24s ease, filter 0.24s ease !important;
  }

  .topbar-brand img {
    transition: transform 0.28s ease, box-shadow 0.28s ease !important;
  }

  .topbar-brand:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
  }

  .topbar-brand:hover img {
    transform: rotate(-6deg) scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 53, 127, 0.3);
  }

  .hero #btnDoarTopo {
    transition: translate 0.24s ease, filter 0.24s ease !important;
  }

  .hero #btnDoarTopo:hover {
    translate: 0 -3px;
    filter: brightness(1.08) saturate(1.08);
    animation-duration: 2.9s !important;
  }

  .hero .hero-floating-card {
    transition: translate 0.26s ease, scale 0.26s ease, filter 0.26s ease, border-color 0.26s ease !important;
  }

  .hero .hero-floating-card:hover {
    translate: 0 -3px;
    scale: 1.02;
    filter: brightness(1.035);
    border-color: rgba(111, 177, 255, 0.72);
    animation-duration: 3.4s !important;
  }

  .hero .hero-floating-card:hover .hero-floating-icon {
    box-shadow: 0 7px 16px rgba(0, 53, 127, 0.16);
  }
}
