/* Página inicial: espaço da hero, pilha do blog e bloco de diagnóstico */
.hero-prov { min-height: min(72vh, 640px); display: flex; align-items: center; }
.hero-prov .mono { font-size: .8125rem; color: var(--cinza); letter-spacing: .04em; text-transform: uppercase; }
.hero-prov h1 {
  margin-top: 16px; max-width: 11em;
  font-size: clamp(2.6rem, 1.2rem + 6.4vw, 6rem); line-height: .98; letter-spacing: -.045em; font-weight: 700; text-wrap: balance;
}
.hero-prov p.sub { margin-top: 20px; color: var(--cinza); max-width: 30em; font-size: 1.125rem; }

/* ---------- Blog na home: pilha de cards (a página fica parada e os cards sobem) ---------- */
.blog-home { padding-top: clamp(24px, 5vw, 60px); }
.blog-home-topo { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: clamp(24px, 3vw, 36px); }
.blog-home-topo h2 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.5rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; }
.blog-home-topo a { font-weight: 600; white-space: nowrap; text-underline-offset: 4px; }

.pilha { position: relative; }
.pilha .post {
  position: sticky;
  top: calc(var(--alt-topo) + 20px + var(--i, 0) * 28px);
  height: 480px;
  margin-bottom: 36px;
  transform-origin: 50% 0;
  transform: scale(calc(1 - var(--p, 0) * .05));
  will-change: transform;
}
.pilha .post::before {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: var(--fundo); opacity: calc(var(--p, 0) * .55);
}
.pilha .post:hover { translate: 0 0; }

.pilha .post:last-child { margin-bottom: 0; }
.ver-mais-caixa { position: relative; z-index: 2; margin-top: 24px; }
.ver-mais {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 50px; margin: 0; padding: 0 22px;
  font-size: 1rem; font-weight: 600; text-decoration: none; color: var(--tinta);
  border: 1.5px solid var(--tinta); border-radius: 14px;
  transition: color .45s var(--curva);
}
.ver-mais::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tinta);
  transform: translateY(101%); transition: transform .5s var(--curva);
}
.ver-mais:hover { color: var(--fundo); }
.ver-mais:hover::before { transform: none; }
.ver-mais svg { width: 16px; height: 16px; transition: transform .4s var(--curva); }
.ver-mais:hover svg { transform: translate(3px, -3px); }

/* ---------- Diagnóstico (espaço reservado) ---------- */
.diag { padding-top: clamp(40px, 7vw, 90px); }
.diag-caixa { border: 1px dashed var(--linha-forte); border-radius: 22px; padding: clamp(28px, 5vw, 56px); }
.diag-caixa h2 { font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; }
.diag-caixa p { margin-top: 12px; color: var(--cinza); max-width: 34em; }

@media (max-width: 780px) {
  .pilha .post { height: auto; }
}


/* ---------- A Prova do Marketing na home ---------- */
.prova-home { padding-top: clamp(64px, 10vw, 130px); padding-bottom: clamp(8px, 2vw, 24px); }
.prova-home-grade { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.ph-selo { font-size: .9375rem; font-weight: 700; letter-spacing: -.01em; }
.ph-texto h2 { margin-top: 14px; font-size: clamp(2.4rem, 1.2rem + 5vw, 5rem); line-height: .98; letter-spacing: -.045em; font-weight: 700; text-wrap: balance; }
.ph-texto h2 .vaza { color: transparent; -webkit-text-stroke: 1.5px var(--tinta); }
.ph-texto > p { margin-top: clamp(16px, 2vw, 24px); max-width: 28em; color: var(--cinza); font-size: clamp(1.0625rem, .95rem + .5vw, 1.25rem); }
.ph-criterios { list-style: none; padding: 0; margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.ph-criterios li { font-size: .875rem; font-weight: 500; border: 1px solid var(--linha-forte); border-radius: 999px; padding: 6px 14px; }
.ph-acoes { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: clamp(22px, 3vw, 34px); }

.ph-ultima {
  display: grid; grid-template-columns: minmax(150px, 40%) 1fr; gap: clamp(16px, 2.4vw, 28px); align-items: center;
  padding: clamp(12px, 1.6vw, 18px); text-decoration: none; color: inherit;
  background: var(--painel); border: 1px solid var(--linha); border-radius: 24px;
  transition: border-color .4s, transform .6s var(--curva);
}
.ph-ultima:hover { border-color: var(--linha-forte); transform: translateY(-4px); }
.ph-midia { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 16px; border: 1px solid var(--linha); background: var(--fundo); }
.ph-midia img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--curva); }
.ph-ultima:hover .ph-midia img { transform: scale(1.04); }
.ph-corpo { display: flex; flex-direction: column; min-width: 0; padding-right: clamp(4px, 1vw, 12px); }
.ph-rotulo { align-self: flex-start; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .6875rem; letter-spacing: .05em; text-transform: uppercase; color: var(--fundo); background: var(--tinta); border-radius: 999px; padding: 4px 11px; }
.ph-meta { margin-top: 14px; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .75rem; letter-spacing: .03em; text-transform: uppercase; color: var(--cinza); }
.ph-corpo h3 { margin-top: 6px; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; }
.ph-gancho { margin-top: 10px; color: var(--cinza); line-height: 1.38; }
.ph-nota { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: .875rem; font-weight: 600; }
.ph-estrelas { display: inline-flex; gap: .16em; font-size: 1.05rem; line-height: 1; }
.ph-estrelas i { font-style: normal; opacity: .16; }
.ph-estrelas i.on { opacity: 1; }
.ph-ver { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; font-size: .9375rem; }
.ph-ver svg { width: 13px; height: 13px; transition: transform .4s var(--curva); }
.ph-ultima:hover .ph-ver svg { transform: translate(3px, -3px); }

@media (max-width: 900px) { .prova-home-grade { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ph-ultima { grid-template-columns: 1fr; } .ph-midia { max-width: none; width: 100%; } }

/* ---------- títulos que respiram (titulos.js) ---------- */
.tw { display: inline-block; white-space: nowrap; }
.tl { display: inline-block; font-weight: 650; will-change: font-weight; }
