:root {
  --bg-900: #10222d;
  --bg-850: #183241;
  --surface-800: #24404f;
  --surface-700: #2d4c5e;
  --ink-100: #f8fbff;
  --ink-300: #d8e3ec;
  --ink-500: #a8bccc;
  --brand-500: #0b7285;
  --brand-400: #1f8aa0;
  --brand-300: #5bc0d4;
  --warm-500: #ffb703;
  --warm-400: #ffc94a;
  --line-soft: rgba(203, 213, 223, 0.22);
  --glow-brand: 0 14px 50px rgba(11, 114, 133, 0.35);
  --glow-soft: 0 16px 46px rgba(3, 10, 15, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", sans-serif;
  background:
    radial-gradient(1200px 700px at 82% 0%, rgba(11, 114, 133, 0.24), rgba(11, 114, 133, 0)),
    radial-gradient(900px 600px at 6% 36%, rgba(255, 183, 3, 0.13), rgba(255, 183, 3, 0)),
    linear-gradient(180deg, var(--bg-900) 0%, #122736 100%);
  color: var(--ink-100);
  min-height: 100vh;
}

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

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16, 34, 45, 0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(203, 213, 223, 0.12);
}

.topbar-content {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  text-decoration: none;
  color: var(--ink-100);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.28));
}

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.menu a {
  color: var(--ink-300);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.menu a:hover {
  color: var(--ink-100);
}

.eyebrow {
  margin: 0;
  color: var(--brand-300);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: clamp(560px, 86vh, 830px);
  display: flex;
  align-items: center;
  overflow: clip;
  background: linear-gradient(180deg, rgba(16, 34, 45, 0.96) 0%, rgba(18, 39, 54, 0.94) 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("./assets/hero-background.jpeg");
  background-size: cover;
  background-position: center;
  filter: brightness(1.15) saturate(0.56) contrast(0.9);
  opacity: 0.26;
  transform: scale(1.03);
  animation: slow-pan 22s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(12, 30, 40, 0.86) 20%, rgba(12, 30, 40, 0.66) 58%, rgba(12, 30, 40, 0.82) 100%),
    linear-gradient(180deg, rgba(11, 114, 133, 0.14) 0%, rgba(11, 114, 133, 0.02) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 84px 0;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  margin: 0;
}

h1 {
  margin-top: 12px;
  font-size: clamp(2.2rem, 5.3vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  margin: 18px 0 0;
  color: var(--ink-300);
  font-size: clamp(1rem, 1.5vw, 1.24rem);
  max-width: 640px;
}

.store-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.store-button {
  min-width: 220px;
  text-decoration: none;
  color: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--glow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: left;
}

.store-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 0.96;
}

.store-icon svg {
  width: 100%;
  height: 100%;
}

.store-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.08;
}

.store-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.store-button.play {
  background: linear-gradient(130deg, var(--brand-500) 0%, var(--brand-400) 100%);
  box-shadow: var(--glow-brand);
}

.store-button.appstore {
  background: linear-gradient(130deg, #2d3a45 0%, #1f2932 100%);
}

.store-caption {
  font-size: 0.78rem;
  opacity: 0.9;
}

.store-name {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.15;
}

.store-mock {
  margin-top: 1px;
  align-self: center;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  font-size: 0.67rem;
  padding: 1px 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.story-section {
  padding: 86px 0 56px;
}

.story-section h2 {
  margin-top: 10px;
  font-size: clamp(1.5rem, 3.2vw, 2.7rem);
  max-width: 850px;
}

.story-row {
  width: min(1160px, 92vw);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.story-row.reverse {
  direction: rtl;
}

.story-row.reverse > * {
  direction: ltr;
}

.story-image-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 460px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--glow-soft);
}

.story-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 16, 21, 0.02) 0%, rgba(9, 16, 21, 0.48) 100%);
}

.story-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-copy {
  background: linear-gradient(160deg, rgba(41, 69, 86, 0.7) 0%, rgba(28, 50, 65, 0.82) 100%);
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  padding: clamp(24px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-copy h3 {
  font-size: clamp(1.35rem, 2vw, 2.05rem);
}

.story-copy p {
  margin: 14px 0 0;
  color: var(--ink-300);
  font-size: 1.08rem;
  line-height: 1.6;
}

.impact {
  padding: 66px 0;
}

.impact h2 {
  font-size: clamp(1.5rem, 3vw, 2.45rem);
}

.impact-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.impact-grid article {
  background: linear-gradient(180deg, rgba(34, 58, 72, 0.88), rgba(24, 44, 56, 0.88));
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 20px;
}

.metric {
  margin: 0;
  color: var(--warm-400);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 800;
}

.impact-grid h3 {
  margin-top: 8px;
  font-size: 1.08rem;
}

.impact-grid p {
  margin: 8px 0 0;
  color: var(--ink-300);
  line-height: 1.5;
}

.professionals {
  padding: 6px 0 58px;
}

.professionals-inner {
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: clamp(22px, 3vw, 36px);
  background:
    linear-gradient(160deg, rgba(39, 69, 84, 0.82), rgba(24, 45, 57, 0.82)),
    radial-gradient(640px 280px at 88% 8%, rgba(91, 192, 212, 0.16), rgba(91, 192, 212, 0));
  box-shadow: var(--glow-soft);
}

.professionals-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(16px, 2.2vw, 28px);
  align-items: stretch;
}

.professionals-media {
  margin: 0;
  min-height: 420px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 223, 0.2);
  background: rgba(16, 34, 45, 0.66);
  position: relative;
}

.professionals-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.03);
}

.professionals-media figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  margin: 0;
  padding: 7px 10px;
  border-radius: 999px;
  font-family: "Sora", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-100);
  background: rgba(12, 30, 40, 0.72);
  border: 1px solid rgba(203, 213, 223, 0.26);
}

.professionals-content {
  align-self: center;
}

.professionals h2 {
  margin-top: 8px;
  font-size: clamp(1.45rem, 2.9vw, 2.2rem);
}

.professionals-lead {
  margin: 12px 0 0;
  max-width: 850px;
  color: var(--ink-300);
  font-size: 1.08rem;
  line-height: 1.6;
}

.professionals-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.professionals-grid article {
  border: 1px solid rgba(203, 213, 223, 0.2);
  border-radius: 12px;
  padding: 14px;
  background: rgba(16, 34, 45, 0.56);
}

.professionals-grid h3 {
  font-size: 1.03rem;
}

.professionals-grid p {
  margin: 6px 0 0;
  color: var(--ink-300);
  line-height: 1.5;
}

.faq {
  padding: 24px 0 64px;
}

.faq h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.faq details {
  margin-top: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(35, 60, 74, 0.72);
  padding: 12px 14px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq p {
  margin: 8px 0 0;
  color: var(--ink-300);
}

.download-cta {
  position: relative;
  padding: 82px 0;
  overflow: clip;
}

.download-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, rgba(22, 109, 134, 0.72), rgba(20, 41, 54, 0.72)),
    url("./assets/catolica-doacao-2.jpg");
  background-size: cover;
  background-position: center;
  filter: brightness(1.1) saturate(1);
}

.download-content {
  position: relative;
  z-index: 1;
}

.download-content h2 {
  margin-top: 10px;
  max-width: 850px;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
}

.download-content p {
  margin: 12px 0 0;
  color: var(--ink-300);
  font-size: 1.06rem;
}

.footer {
  padding: 24px 0 34px;
  border-top: 1px solid rgba(203, 213, 223, 0.16);
  background: rgba(17, 33, 43, 0.88);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
}

.footer p {
  margin: 0;
  color: var(--ink-500);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: contain;
}

.reveal-seq > * {
  opacity: 0;
  animation: rise-in 0.8s ease forwards;
}

.reveal-seq > *:nth-child(1) {
  animation-delay: 0.06s;
}

.reveal-seq > *:nth-child(2) {
  animation-delay: 0.16s;
}

.reveal-seq > *:nth-child(3) {
  animation-delay: 0.28s;
}

.reveal-up {
  opacity: 0;
  animation: rise-in 0.9s ease forwards;
  animation-delay: 0.1s;
}

.reveal-up.delay-1 {
  animation-delay: 0.22s;
}

.reveal-up.delay-2 {
  animation-delay: 0.34s;
}

@keyframes slow-pan {
  0% {
    transform: scale(1.02) translateX(0);
  }
  100% {
    transform: scale(1.08) translateX(-1.4%);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .story-row,
  .story-row.reverse {
    direction: ltr;
    grid-template-columns: 1fr;
  }

  .professionals-layout {
    grid-template-columns: 1fr;
  }

  .professionals-media {
    min-height: 340px;
  }

  .story-image-wrap {
    min-height: 380px;
  }

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

@media (max-width: 720px) {
  .menu {
    display: none;
  }

  .hero {
    min-height: 600px;
  }

  .hero-content {
    padding: 74px 0;
  }

  .store-button {
    width: 100%;
  }

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

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

  .story-image-wrap {
    min-height: 320px;
  }

  .download-cta {
    padding: 68px 0;
  }
}
