/* =========================================================
   Site institucional HCzinho - home, blog e Destine seu IR.
   Camada sobre styles.css (tokens, header, footer, botões).
   Assinatura da marca: creme pontilhado, corações, rostinhos.
   ========================================================= */
.inst-body {
  background-color: var(--bg);
  background-image: radial-gradient(rgba(196, 96, 139, 0.05) 1.6px, transparent 1.6px);
  background-size: 28px 28px;
}

.inst-body main {
  display: grid;
  gap: clamp(40px, 6vw, 76px);
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px) clamp(18px, 4vw, 48px) 64px;
}

/* Mesma posição da home: o nav encosta à direita, colado ao botão. Antes só
   o botão era empurrado e os links ficavam grudados no logo. */
.inst-header .site-nav {
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

/* A página atual ganha pílula roxa; o texto tem que ser creme sobre ela.
   Em rosa dava 2,4:1 sobre o roxo — ilegível, e era o único item do menu
   que não dava para ler. Esta folha carrega depois da styles.css, então é
   aqui que a cor precisa ser definida. */
.inst-header .site-nav a[aria-current="page"] {
  color: #fffdf7;
  background: var(--roxo-marca, #5b4488);
}

.inst-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
}

.inst-eyebrow svg {
  width: 14px;
  height: 14px;
  fill: var(--rose);
  stroke: var(--rose);
}

/* ---------- hero ---------- */
.inst-hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.inst-hero__copy {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.inst-hero__copy h1 {
  position: relative;
  margin: 0;
  padding-right: 66px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.04;
  color: var(--ink);
  max-width: 16ch;
}

.inst-hero__copy h1 em {
  font-style: normal;
  color: var(--rose);
}

.inst-hero__face {
  position: absolute;
  top: -12px;
  right: 0;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--pink-soft);
  overflow: hidden;
}

.inst-hero__face img {
  width: 84%;
  height: 84%;
  object-fit: contain;
}

.inst-hero__copy > p {
  margin: 0;
  max-width: 50ch;
  color: var(--text);
  font-size: 1.04rem;
  line-height: 1.65;
}

.inst-hero__copy > p strong {
  color: var(--ink);
}

.inst-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.inst-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border: 1.5px solid rgba(196, 96, 139, 0.45);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--rose);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.inst-ghost svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.inst-ghost:hover {
  background: var(--rose);
  color: #fff;
}

.inst-meter {
  width: 100%;
  max-width: 460px;
  display: grid;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(44, 55, 127, 0.1);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 6px 20px rgba(44, 55, 127, 0.06);
}

.inst-meter__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.inst-meter__head strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
}

.inst-meter__head em {
  font-style: normal;
  font-weight: 800;
  color: var(--rose);
  font-size: 0.9rem;
}

.inst-meter__bar {
  height: 9px;
  border-radius: var(--r-pill);
  background: #f3e7e0;
  overflow: hidden;
}

.inst-meter__bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #f26d8d, var(--rose));
  transition: width 1.1s var(--ease-ui, ease);
}

.inst-meter small {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.74rem;
}

.inst-hero__art {
  position: relative;
  min-height: clamp(260px, 34vw, 420px);
}

.inst-hero__heart {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  height: 104%;
  width: auto;
  fill: #f7d6e2;
  opacity: 0.85;
}

.inst-hero__art img {
  position: absolute;
  right: 50%;
  bottom: 3%;
  transform: translateX(50%);
  width: 100%;
  max-width: 620px;
  filter: drop-shadow(0 16px 28px rgba(44, 55, 127, 0.12));
}

/* ---------- números antes/depois ---------- */
.inst-section-head {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  margin-bottom: 26px;
}

.inst-section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  color: var(--ink);
  max-width: 26ch;
}

.inst-section-head h2 em {
  font-style: normal;
  color: var(--rose);
}

.inst-section-head p {
  margin: 0;
  color: var(--text);
  max-width: 56ch;
}

.inst-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.inst-stat {
  background: #fff;
  border-radius: 22px;
  padding: 22px;
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
  box-shadow: 0 6px 20px rgba(44, 55, 127, 0.06);
}

.inst-stat__delta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--ink);
}

.inst-stat__delta small {
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: line-through;
}

.inst-stat__delta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--green-ink);
  stroke-width: 2.4;
  stroke-linecap: round;
}

.inst-stat--pink .inst-stat__delta b { color: var(--rose); }
.inst-stat--green .inst-stat__delta b { color: var(--green-ink); }
.inst-stat--lilac .inst-stat__delta b { color: var(--lilac-ink); }
.inst-stat--blue .inst-stat__delta b { color: #4e7fa0; }

.inst-stat p {
  margin: 0;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---------- projeto / legado (splits) ---------- */
.inst-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
  background: #fffdf8;
  border: 1px solid rgba(196, 96, 139, 0.12);
  border-radius: 30px;
  padding: clamp(20px, 3.5vw, 44px);
}

.inst-split__media img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.inst-split__copy {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.inst-split__copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  color: var(--ink);
}

.inst-split__copy h2 em {
  font-style: normal;
  color: var(--rose);
}

.inst-split__copy p {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
}

.inst-marks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.inst-marks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.94rem;
}

.inst-marks svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  fill: none;
  stroke: var(--green-ink);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- como ajudar ---------- */
.inst-help__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.inst-help-card {
  display: grid;
  gap: 8px;
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(44, 55, 127, 0.06);
  transition: transform 0.22s var(--ease-ui, ease), box-shadow 0.22s;
}

.inst-help-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.inst-help-card span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.inst-help-card span svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.inst-help-card--pink span { background: var(--pink-soft); }
.inst-help-card--pink span svg { stroke: var(--rose); }
.inst-help-card--lilac span { background: var(--lilac-soft); }
.inst-help-card--lilac span svg { stroke: var(--lilac-ink); }
.inst-help-card--green span { background: var(--green-soft); }
.inst-help-card--green span svg { stroke: var(--green-ink); }
.inst-help-card--blue span { background: var(--blue-soft); }
.inst-help-card--blue span svg { stroke: #4e7fa0; }

.inst-help-card strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}

.inst-help-card p {
  margin: 0;
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.5;
}

.inst-help-card b {
  color: var(--rose);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
}

/* ---------- parceiros ---------- */
.inst-partners {
  text-align: center;
  display: grid;
  gap: 16px;
  justify-items: center;
}

.inst-partners__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 900px;
}

.inst-partners__pills span {
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid rgba(44, 55, 127, 0.1);
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.84rem;
}

.inst-partners small {
  color: var(--muted);
  font-weight: 600;
}

/* ---------- blog ---------- */
.inst-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.blog-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fff;
  border-radius: 22px;
  padding: 12px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(44, 55, 127, 0.06);
  transition: transform 0.22s var(--ease-ui, ease), box-shadow 0.22s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-card__media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card__cat {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.94);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--rose);
}

.blog-card__body {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 14px 8px 10px;
}

.blog-card__body time {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  line-height: 1.3;
  color: var(--ink);
}

.blog-card__body p {
  margin: 0;
  color: var(--text);
  font-size: 0.87rem;
  line-height: 1.55;
}

.blog-card__body b {
  color: var(--rose);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* ---------- IR ---------- */
.ir-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ir-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid rgba(44, 55, 127, 0.12);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
}

.ir-badges svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--rose);
  stroke-width: 2;
  stroke-linecap: round;
}

.ir-how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ir-how article {
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  display: grid;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(44, 55, 127, 0.06);
}

.ir-how strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--ink);
}

.ir-how p {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.6;
}

.ir-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.ir-path {
  background: #fff;
  border-radius: 26px;
  padding: clamp(20px, 3vw, 30px);
  display: grid;
  gap: 14px;
  box-shadow: 0 8px 26px rgba(44, 55, 127, 0.07);
  border-top: 6px solid var(--rose);
}

.ir-path--b {
  border-top-color: var(--lilac-ink);
}

.ir-path__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ir-path__head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
}

.ir-path__head em {
  font-style: normal;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--pink-soft);
  color: var(--rose);
  font-weight: 800;
  font-size: 0.74rem;
  white-space: nowrap;
}

.ir-path--b .ir-path__head em {
  background: var(--lilac-soft);
  color: var(--lilac-ink);
}

.ir-path ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  counter-reset: passo;
}

.ir-path ol li {
  position: relative;
  counter-increment: passo;
  padding-left: 40px;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.55;
}

.ir-path ol li::before {
  content: counter(passo);
  position: absolute;
  left: 0;
  top: 0;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  display: grid;
  place-items: center;
}

.ir-final {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--lilac-soft);
  border-radius: 26px;
  padding: clamp(20px, 3vw, 30px);
}

.ir-final__face {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.ir-final__face img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.ir-final__copy {
  display: grid;
  gap: 8px;
}

.ir-final__copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
}

.ir-final__copy p,
.ir-final__copy li {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.6;
}

.ir-final__copy ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
}

.ir-final__copy .primary-button {
  justify-self: start;
  margin-top: 4px;
}

.inst-faq {
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  gap: 10px;
}

.inst-faq details {
  background: #fff;
  border: 1px solid rgba(44, 55, 127, 0.1);
  border-radius: 16px;
  padding: 16px 20px;
}

.inst-faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  list-style: none;
}

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

.inst-faq summary::after {
  content: "+";
  float: right;
  color: var(--rose);
  font-weight: 800;
}

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

.inst-faq details p {
  margin: 10px 0 0;
  color: var(--text);
  line-height: 1.6;
  font-size: 0.94rem;
}

/* ---------- CTA final ---------- */
/* Mesma faixa lilás do blog (a definição gêmea vive em site-blog.css, que o
   blog carrega e estas páginas não). Antes eram dois desenhos diferentes para
   a mesma chamada final: aqui um cartão creme centrado, lá uma faixa. */
.inst-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.48fr);
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding:
    clamp(34px, 5vw, 68px)
    max(clamp(24px, 4vw, 48px), calc(50vw - 640px));
  color: var(--home-ink, #2c377f);
  background: var(--home-lilac, #c2aad0);
}

.inst-cta h2,
.inst-cta__content p { color: var(--home-ink, #2c377f); }

.inst-cta__content { min-width: 0; }
.inst-cta h2 {
  max-width: 16ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.96;
}
.inst-cta__content p { max-width: 48ch; margin: 14px 0 0; line-height: 1.6; }
.inst-cta__row { display: grid; width: 100%; gap: 10px; justify-items: stretch; }

@media (max-width: 860px) {
  .inst-cta { grid-template-columns: 1fr; }
}


.inst-cta > * {
  position: relative;
}

.inst-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  color: var(--ink);
  max-width: 26ch;
}

.inst-cta p {
  margin: 0;
  color: var(--text);
  max-width: 52ch;
}

.inst-cta__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ---------- reveal ---------- */
.inst-body [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-ui, ease);
}

.inst-body [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- responsivo ---------- */
@media (max-width: 1020px) {
  .inst-stats__grid,
  .inst-help__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .inst-blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ir-how {
    grid-template-columns: 1fr;
  }

  .ir-paths {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .inst-header.nav-open {
    flex-wrap: wrap;
  }

  .inst-header .header-donate {
    display: inline-flex;
    padding: 9px 14px;
    font-size: 0.8rem;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .inst-header {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .inst-header .brand img {
    height: 30px;
  }

  .inst-hero {
    grid-template-columns: 1fr;
  }

  .inst-split {
    grid-template-columns: 1fr;
  }

  .inst-split--flip .inst-split__media {
    order: -1;
  }
}

@media (max-width: 620px) {
  .inst-stats__grid,
  .inst-help__grid,
  .inst-blog__grid {
    grid-template-columns: 1fr;
  }

  .inst-hero__copy h1 {
    padding-right: 56px;
  }

  .inst-hero__face {
    width: 52px;
    height: 52px;
    top: -8px;
  }

  .ir-final {
    flex-direction: column;
  }
}

/* =========================================================
   Branding+ (marquee, rostinhos, squiggles, banner e post)
   ========================================================= */
/* rostinhos nos números */
.inst-stat__face {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 2px;
}

.inst-stat__face img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.inst-stat__face--pink { background: var(--pink-soft); }
.inst-stat__face--green { background: var(--green-soft); }
.inst-stat__face--lilac { background: var(--lilac-soft); }
.inst-stat__face--blue { background: var(--blue-soft); }

.inst-stat__face svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #4e7fa0;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* squiggles decorativos do hero */
.inst-squiggles {
  position: absolute;
  inset: -4% -2%;
  width: 104%;
  height: 104%;
  pointer-events: none;
}

/* frase-manifesto passando (mesma assinatura da marca) */
.inst-marquee {
  margin: -18px 0;
}

/* bolha do mascote na seção de parceiros */
.inst-partners__mascot {
  justify-content: center;
  margin-bottom: 4px;
}

/* espaço de publicidade / parceiro apoiador */
.inst-ad {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.inst-ad small {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.inst-ad a {
  display: block;
  width: 100%;
  max-width: 980px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(44, 55, 127, 0.1);
  box-shadow: 0 6px 20px rgba(44, 55, 127, 0.06);
  transition: transform 0.22s var(--ease-ui, ease), box-shadow 0.22s;
}

.inst-ad a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.inst-ad img {
  width: 100%;
  display: block;
}

/* ---------- página de post ---------- */
.post-main .post {
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  gap: 26px;
}

.post-related {
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

.post__head {
  display: grid;
  gap: 14px;
}

.post__head h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.12;
  color: var(--ink);
}

.post__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post__face {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--pink-soft);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.post__face img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.post__meta strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--ink);
}

.post__meta time {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.post__share {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.post__share-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(44, 55, 127, 0.14);
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.post__share-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* O WhatsApp é um glifo preenchido, não um desenho em traço. Com o
   fill:none e o stroke da regra acima ele saía como um rabisco de linhas
   soltas — era o "ícone quebrado". */
.post__share-btn .post__share-glifo {
  fill: var(--ink-soft);
  stroke: none;
}

.post__share-btn:hover {
  border-color: rgba(196, 96, 139, 0.5);
  background: var(--pink-soft);
}

.post__cover {
  margin: 0;
}

.post__cover img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.post__body {
  display: grid;
  gap: 18px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
}

.post__body p {
  margin: 0;
}

.post__body strong {
  color: var(--ink);
}

.post__body h2 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--ink);
}

.post__body blockquote {
  margin: 6px 0;
  padding: 22px 26px;
  background: var(--lilac-soft);
  border-left: 5px solid var(--lilac-ink);
  border-radius: 16px;
}

.post__body blockquote p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.5;
}

.post__body cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--lilac-ink);
}

.post-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--green-soft);
  border-radius: 22px;
  padding: 20px 24px;
}

.post-cta strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

.post-cta p {
  margin: 2px 0 0;
  color: var(--text);
  font-size: 0.88rem;
}

.post-cta > div {
  flex: 1;
}

.inst-blog__grid--duo {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 720px) {
  .post-cta {
    flex-direction: column;
    text-align: center;
  }

  .post__share {
    margin-left: 0;
  }

  .post__meta {
    flex-wrap: wrap;
  }

  .inst-blog__grid--duo {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Feedback round: ritmo de cor, foto valorizada, personagens,
   parceiros com hierarquia, CTA navy potente
   ========================================================= */

/* ---- Projeto: foto grande, imersiva, com carinhas ---- */
.inst-split--project {
  grid-template-columns: 1.25fr 0.75fr;
  background: var(--cream, #fff8eb);
  border: none;
  overflow: hidden;
}
.inst-split__media--photo {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.inst-split__media--photo img:first-child {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  display: block;
}
.inst-photo-face {
  position: absolute;
  width: clamp(56px, 14%, 88px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255, 253, 246, 0.92);
  box-shadow: var(--shadow-md);
  animation: face-float 5.6s ease-in-out infinite;
}
.inst-photo-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.inst-photo-face--baby { left: 4%; top: 8%; transform: rotate(-6deg); }
.inst-photo-face--teen { right: 4%; top: 10%; transform: rotate(7deg); animation-delay: -2.6s; width: clamp(46px, 11%, 70px); }
.inst-photo-stamp {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  justify-items: center;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 253, 246, 0.94);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  box-shadow: var(--shadow-sm);
  font-size: 0.7rem;
}
.inst-photo-stamp strong { font-size: 1.15rem; color: var(--rose); }

/* ---- Abrace e apoie: faixa com padrão vivo + cards territoriais ---- */
.inst-help {
  position: relative;
  border-radius: 30px;
  padding: clamp(26px, 4vw, 46px);
  background:
    radial-gradient(circle at 18px 18px, rgba(196, 96, 139, 0.05) 0 4px, transparent 5px),
    radial-gradient(circle at 60px 54px, rgba(122, 99, 168, 0.05) 0 3px, transparent 4px),
    var(--cream, #fff8eb);
  background-size: 92px 92px, 92px 92px, auto;
}
.inst-help-card {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  padding-bottom: 88px;
  border: 1px solid rgba(44, 55, 127, 0.08);
}
.inst-help-card--pink { background: linear-gradient(165deg, #fff 42%, var(--pink-soft)); }
.inst-help-card--lilac { background: linear-gradient(165deg, #fff 42%, var(--lilac-soft)); }
.inst-help-card--green { background: linear-gradient(165deg, #fff 42%, var(--green-soft)); }
.inst-help-card--blue { background: linear-gradient(165deg, #fff 42%, var(--blue-soft)); }
.inst-help-card__char {
  position: absolute;
  right: -8px;
  bottom: -14px;
  width: 108px;
  height: auto;
  transition: transform 0.28s var(--ease-ui, ease);
  pointer-events: none;
}
.inst-help-card:hover .inst-help-card__char {
  transform: translateY(-6px) rotate(-3deg) scale(1.04);
}
.inst-help-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ---- Parceiros: hierarquia por forma de participação ---- */
.inst-partners { gap: 22px; }
.inst-partners__tier {
  display: grid;
  gap: 10px;
  justify-items: center;
}
.inst-partners__label {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}
.inst-partners__dot { width: 9px; height: 9px; border-radius: 50%; }
.inst-partners__dot--rose { background: var(--rose); }
.inst-partners__dot--pink { background: var(--pink); }
.inst-partners__dot--green { background: var(--green); }
.inst-partners__dot--blue { background: var(--blue); }
.inst-partners__dot--lilac { background: var(--lilac); }
.inst-partners__tier--featured .inst-partners__pills--lg span {
  font-size: 0.98rem;
  padding: 14px 24px;
  border: 1.5px solid rgba(196, 96, 139, 0.35);
  color: var(--ink);
  font-family: var(--font-display);
  box-shadow: var(--shadow-sm);
}
.inst-partners > small { max-width: 60ch; }

/* ---- CTA final: banda navy com ribbon multifaixa e carinhas ---- */
.inst-cta--navy {
  background: var(--ink);
  border: none;
  color: var(--cream, #fff8eb);
}
.inst-cta--navy::before {
  /* substitui o coração aguado por círculos decorativos da marca */
  background:
    radial-gradient(circle at 8% 20%, transparent 56px, rgba(234, 177, 196, 0.16) 57px 92px, transparent 93px),
    radial-gradient(circle at 94% 82%, transparent 48px, rgba(166, 210, 175, 0.14) 49px 80px, transparent 81px);
  opacity: 1;
  inset: 0;
}
.inst-cta--navy::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--grad-brand);
}
.inst-cta--navy h2 { color: #fffdf6; }
.inst-cta--navy p { color: rgba(255, 248, 235, 0.82); }
.inst-cta__faces {
  display: flex;
  gap: 10px;
}
.inst-cta__faces img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 3px solid rgba(255, 253, 246, 0.9);
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.inst-cta__faces img:nth-child(1) { transform: rotate(-7deg); }
.inst-cta__faces img:nth-child(2) { transform: translateY(6px); }
.inst-cta__faces img:nth-child(3) { transform: rotate(7deg); }
.inst-cta__donate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5d7a, #c4608b);
  color: #fffdf6;
  font-family: var(--font-display);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.inst-cta__donate:hover { transform: translateY(-2px); }
.inst-cta__donate svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.inst-ghost--light { color: #fffdf6; border-color: rgba(255, 253, 246, 0.4); }
.inst-ghost--light svg { stroke: currentColor; }
.inst-ghost--light:hover { border-color: #fffdf6; }

/* ---- Ritmo de cor: stats com fundos dos territórios ---- */
.inst-stat--pink { background: linear-gradient(160deg, #fff 30%, var(--pink-soft)); }
.inst-stat--green { background: linear-gradient(160deg, #fff 30%, var(--green-soft)); }
.inst-stat--lilac { background: linear-gradient(160deg, #fff 30%, var(--lilac-soft)); }
.inst-stat--blue { background: linear-gradient(160deg, #fff 30%, var(--blue-soft)); }

@media (max-width: 900px) {
  .inst-split--project { grid-template-columns: 1fr; }
  .inst-help-card { min-height: 0; }
}

/* =========================================================
   Brandbook boost: cores CHAPADAS (pág. SUS do manual),
   letras creme grandes, degradês das fases, tom-sobre-tom
   ========================================================= */

/* ---- Abrace e apoie: cards chapados como os cards S·U·S ---- */
.inst-help { background: var(--cream, #fff8eb); }
.inst-help-card {
  border: none;
  min-height: 280px;
  padding: 26px 24px 96px;
  border-radius: 26px;
}
.inst-help-card--pink { background: var(--pink); }
.inst-help-card--lilac { background: var(--lilac); }
.inst-help-card--green { background: var(--green); }
.inst-help-card--blue { background: var(--blue); }

.inst-help-card span {
  background: rgba(255, 248, 235, 0.55);
  width: 56px;
  height: 56px;
}
.inst-help-card--pink span svg { stroke: var(--rose-deep); }
.inst-help-card--lilac span svg { stroke: #5e4788; }
.inst-help-card--green span svg { stroke: #35673f; }
.inst-help-card--blue span svg { stroke: #22596d; }

.inst-help-card strong {
  font-size: 1.5rem;
  line-height: 1.05;
  color: #fffdf6;
  text-shadow: 0 1px 0 rgba(44, 55, 117, 0.08);
}
.inst-help-card p { color: rgba(28, 35, 74, 0.82); font-weight: 700; }
.inst-help-card--pink p { color: #7c3457; }
.inst-help-card--lilac p { color: #4d3a72; }
.inst-help-card--green p { color: #2e5a37; }
.inst-help-card--blue p { color: #1d4d60; }

.inst-help-card b {
  color: #fffdf6;
  font-size: 0.95rem;
  background: rgba(44, 55, 117, 0.28);
  padding: 8px 14px;
  border-radius: 999px;
  justify-self: start;
}
.inst-help-card--pink b { background: var(--rose-deep); }
.inst-help-card--lilac b { background: #6b539b; }
.inst-help-card--green b { background: #3e7a4a; }
.inst-help-card--blue b { background: #2c6f86; }

.inst-help-card__char {
  width: 150px;
  right: -14px;
  bottom: -20px;
  filter: drop-shadow(0 8px 18px rgba(44, 55, 117, 0.18));
}

/* ---- Stats: chapados, número creme gigante ---- */
.inst-stat--pink { background: var(--pink); }
.inst-stat--green { background: var(--green); }
.inst-stat--lilac { background: var(--lilac); }
.inst-stat--blue { background: var(--blue); }
.inst-stat--pink .inst-stat__delta b,
.inst-stat--green .inst-stat__delta b,
.inst-stat--lilac .inst-stat__delta b,
.inst-stat--blue .inst-stat__delta b {
  color: #fffdf6;
}
.inst-stat--pink p { color: #7c3457; }
.inst-stat--green p { color: #2e5a37; }
.inst-stat--lilac p { color: #4d3a72; }
.inst-stat--blue p { color: #1d4d60; }

/* ---- Parceiros: labels em cápsulas com degradês das fases ---- */
.inst-partners__label {
  padding: 9px 20px;
  border-radius: 999px;
  color: #fffdf6;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
}
.inst-partners__label--navy { background: var(--ink); }
.inst-partners__label--baby { background: var(--grad-baby, linear-gradient(100deg, #eab1c4, #f4b6a9)); color: #7c3457; }
.inst-partners__label--kid { background: var(--grad-kid, linear-gradient(100deg, #92cfd4, #a6d2af)); color: #2e5a37; }
.inst-partners__label--teen { background: var(--grad-teen, linear-gradient(100deg, #a8d4e1, #bdadd1)); color: #4d3a72; }
.inst-partners__label--causa { background: var(--lilac); color: #4d3a72; }

/* ---- CTA navy: rostinho gigante tom-sobre-tom ---- */
.inst-cta--navy { overflow: hidden; }
.inst-cta__watermark {
  position: absolute;
  right: -70px;
  top: 50%;
  transform: translateY(-50%) rotate(8deg);
  width: clamp(260px, 34vw, 420px);
  height: auto;
  opacity: 0.16;
  pointer-events: none;
}
.inst-cta--navy::before { display: none; }

@media (max-width: 700px) {
  .inst-cta__watermark { right: -110px; opacity: 0.12; }
  .inst-help-card { min-height: 0; padding-bottom: 96px; }
}

/* Destinação de IR: faixa final compacta, com o coração como fundo da ação. */
.inst-cta--full {
  width: 100%;
  min-height: clamp(300px, 31vw, 390px);
  margin: 0;
  padding: clamp(40px, 5.5vw, 66px) clamp(24px, 5vw, 64px);
  align-content: center;
  background: var(--pink-soft);
  border: 1px solid rgba(196, 96, 139, 0.2);
  border-radius: clamp(28px, 4vw, 42px);
  box-shadow: 0 18px 38px rgba(44, 55, 127, 0.08);
}

.inst-cta--full::before {
  inset: 50% auto auto 50%;
  width: min(48vw, 560px);
  height: min(48vw, 560px);
  transform: translate(-50%, -50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23eab1c4' d='M19.7 5.3a5 5 0 0 0-7.1 0l-.6.6-.6-.6a5 5 0 0 0-7.1 7.1L12 20l7.7-7.6a5 5 0 0 0 0-7.1Z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.82;
}

.inst-cta--full::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--lilac), var(--rose));
}

.inst-cta--full h2 {
  max-width: 19ch;
  font-size: clamp(1.9rem, 3.3vw, 3.25rem);
  line-height: 0.98;
}

.inst-cta--full p {
  max-width: 54ch;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 700;
  line-height: 1.55;
}

.inst-cta--full .inst-cta__row {
  margin-top: 14px;
}

.inst-cta--full .inst-ghost {
  border-color: rgba(196, 96, 139, 0.55);
  background: rgba(255, 253, 247, 0.88);
}

@media (max-width: 700px) {
  .inst-cta--full {
    min-height: 0;
    padding-block: 48px;
  }

  .inst-cta--full::before {
    width: 112vw;
    height: 112vw;
  }

  .inst-cta--full .inst-cta__row {
    width: min(100%, 330px);
    flex-direction: column;
  }

  .inst-cta--full .inst-cta__row > * {
    justify-content: center;
  }
}

/* A chamada final encosta no rodapé. O respiro vinha do margin-top do
   próprio rodapé (96px), não do <main> — zerar o padding do main não
   bastava, e sobrava uma faixa creme entre a faixa lilás e o rodapé. */
.inst-body main > .inst-cta:last-child { margin-bottom: 0; }
.inst-body main:has(> .inst-cta:last-child) { padding-bottom: 0; }
.inst-body main:has(> .inst-cta:last-child) + .site-footer { margin-top: 0; }

/* confirmação visual de que o link foi copiado */
.post__share-btn.is-copiado {
  border-color: rgba(68, 129, 80, 0.5);
  background: var(--green-soft);
}

.post__share-btn.is-copiado svg { stroke: var(--green-ink); }
