/* Pampa Health — paleta da marca (cruz azul + coração/folhas verdes) */
:root {
  --blue-sky: #1e9fe0;
  --blue-mid: #0a6fc4;
  --blue-deep: #0c4a9e;
  --blue-navy: #08306b;
  --green-lime: #7bc143;
  --green-leaf: #4f9e2f;
  --green-deep: #2f7a1f;
  --bg: #f4f9fc;
  --bg-soft: #e8f3fa;
  --surface: #ffffff;
  --text: #14233a;
  --muted: #5a6f86;
  --border: #d5e4ef;
  --shadow: 0 18px 50px rgba(8, 48, 107, 0.1);
  --radius: 22px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  background:
    radial-gradient(ellipse 90% 55% at 10% -10%, rgba(30, 159, 224, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 45% at 95% 5%, rgba(123, 193, 67, 0.18), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #eef6fb 45%, #f7fbf8 100%);
}

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

a {
  color: var(--blue-mid);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue-deep);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue-deep);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.page-nav {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  padding: 1.1rem 0 0;
}

.page-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--blue-navy);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.page-nav a:hover,
.page-nav a[aria-current="page"] {
  background: rgba(10, 111, 196, 0.1);
  color: var(--blue-deep);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(244, 249, 252, 0.82);
  border-bottom: 1px solid rgba(213, 228, 239, 0.8);
}

.site-header__inner,
.site-footer__inner,
.wrap {
  width: min(920px, calc(100% - 2rem));
  margin-inline: auto;
}

.wrap--wide {
  width: min(1080px, calc(100% - 2rem));
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.brand__mark {
  width: 48px;
  height: 48px;
  border-radius: 22%;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(10, 111, 196, 0.22);
  flex-shrink: 0;
}

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

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--blue-navy);
  letter-spacing: -0.02em;
}

.brand__tag {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--blue-navy);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: rgba(10, 111, 196, 0.1);
  color: var(--blue-deep);
}

.hero {
  padding: 3.25rem 0 1.5rem;
  text-align: center;
}

.hero--home {
  width: min(1080px, calc(100% - 2rem));
  margin: 1.25rem auto 0.5rem;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  text-align: left;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero--home .hero__lead {
  margin: 0;
  max-width: none;
  color: var(--text);
}

.hero--home .cta-row {
  justify-content: flex-start;
  margin-top: 1.35rem;
}

.hero--home .hero__logo,
.hero--home h1,
.hero--home .hero__lead,
.hero--home .cta-row {
  animation: none;
}

.hero--home .hero__logo {
  width: min(200px, 100%);
  height: auto;
  margin: 0 auto;
  aspect-ratio: 1;
}

.hero--compact {
  padding: 2rem 0 0.25rem;
}

.hero--compact .hero__logo {
  width: 72px;
  height: 72px;
  margin-bottom: 0.85rem;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.25rem auto 0.25rem;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 10px 28px rgba(8, 48, 107, 0.06);
}

.card h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--blue-deep);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.hero__logo {
  width: 112px;
  height: 112px;
  margin: 0 auto 1.25rem;
  border-radius: 22%;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: rise-in 0.7s ease both;
}

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

.hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  color: var(--blue-navy);
  line-height: 1.15;
  animation: rise-in 0.7s ease 0.08s both;
}

.hero__lead {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.12rem;
  animation: rise-in 0.7s ease 0.16s both;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 3vw, 2.1rem);
  margin-block: 1.25rem 2rem;
  animation: rise-in 0.65s ease 0.22s both;
}

.panel h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--blue-deep);
  letter-spacing: -0.02em;
}

.panel h3 {
  margin: 1.6rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--blue-navy);
}

.panel p {
  margin: 0 0 0.9rem;
}

.panel ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.panel li {
  margin-bottom: 0.45rem;
}

.meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0 0 1.25rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.meta::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-sky), var(--green-lime));
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.5rem 0 0;
  animation: rise-in 0.7s ease 0.28s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.98rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.75rem 1.35rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-sky) 0%, var(--blue-deep) 100%);
  box-shadow: 0 10px 24px rgba(12, 74, 158, 0.28);
}

.btn--primary:hover {
  color: #fff;
  box-shadow: 0 14px 28px rgba(12, 74, 158, 0.34);
}

.btn--ghost {
  color: var(--blue-navy);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
}

.funding {
  margin-block: 2.5rem 1rem;
  padding: 1.75rem clamp(1rem, 3vw, 1.75rem);
  border-radius: var(--radius);
  border: 1px solid rgba(123, 193, 67, 0.35);
  background:
    linear-gradient(135deg, rgba(232, 243, 250, 0.95), rgba(247, 251, 248, 0.98));
  text-align: center;
  animation: rise-in 0.7s ease 0.34s both;
}

.funding__eyebrow {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-deep);
}

.funding h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--blue-navy);
}

.funding p {
  margin: 0 auto 1.35rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.funding__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.75rem 2.5rem;
}

.funding__logos a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  min-height: 88px;
  min-width: min(220px, 100%);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.funding__logos a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(8, 48, 107, 0.12);
}

.funding__logos img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
}

.funding__logos .logo-fapergs {
  max-height: 64px;
}

.funding__logos .logo-sebrae {
  max-height: 48px;
}

.site-footer {
  margin-top: 2rem;
  padding: 1.75rem 0 2.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.site-footer strong {
  color: var(--blue-navy);
}

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

@media (max-width: 640px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 2.25rem;
  }

  .hero--home {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.25rem 1.1rem 1.2rem;
  }

  .hero--home .hero__logo {
    width: 96px;
    order: -1;
  }

  .hero--home .cta-row,
  .hero--home .hero__lead {
    margin-inline: auto;
  }

  .hero--home .cta-row {
    justify-content: center;
  }

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

  .funding__logos a {
    width: 100%;
  }
}
