/* =========================================================
   ZATRISH · A Prova do Marketing (prova.html)
   ========================================================= */
.pv-selo { font-size: .9375rem; font-weight: 700; letter-spacing: -.01em; }
.mono-pv { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

/* revelar ao rolar */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--curva), transform .9s var(--curva); transition-delay: calc(var(--d, 0) * 90ms); }
.js .rv.vis { opacity: 1; transform: none; }

/* ---------- Cabeçalho ---------- */
.pv-cab { padding-top: clamp(40px, 8vw, 96px); padding-bottom: clamp(36px, 6vw, 72px); }
.pv-cab h1 {
  margin-top: 16px; max-width: 11em;
  font-size: clamp(2.8rem, 1rem + 8vw, 7rem); line-height: .95; letter-spacing: -.05em; font-weight: 700; text-wrap: balance;
}
.pv-cab h1 .vaza { color: transparent; -webkit-text-stroke: 1.6px var(--tinta); }
.pv-lead { margin-top: clamp(18px, 2.4vw, 28px); max-width: 30em; color: var(--cinza); font-size: clamp(1.0625rem, .9rem + .6vw, 1.3125rem); }
.pv-fatos { list-style: none; padding: 0; margin-top: clamp(22px, 3vw, 34px); display: flex; flex-wrap: wrap; gap: 10px; }
.pv-fatos li {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .8125rem; letter-spacing: .03em; text-transform: uppercase;
  color: var(--cinza); border: 1px solid var(--linha); border-radius: 999px; padding: 7px 14px;
}
.pv-fatos b { color: var(--tinta); font-weight: 600; }

/* ---------- Destaque ---------- */
.pv-destaque {
  display: grid; grid-template-columns: minmax(280px, 480px) 1fr; gap: clamp(28px, 6vw, 88px); align-items: center;
  padding-top: clamp(8px, 2vw, 20px); padding-bottom: clamp(56px, 9vw, 120px);
}
.pv-car { position: relative; }
.pv-moldura {
  position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--linha-forte);
  background: var(--painel); box-shadow: 0 1px 0 var(--linha), 0 30px 60px -34px rgba(0, 0, 0, .35);
  transition: border-color .4s, transform .6s var(--curva);
}
.pv-car:hover .pv-moldura { transform: translateY(-3px); }
.pv-trilho {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; outline-offset: -3px;
}
.pv-trilho::-webkit-scrollbar { display: none; }
.pv-slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 5; position: relative; overflow: hidden; background: var(--painel); }
.pv-slide img, .pv-slide video { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }

.pv-seta {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--fundo); color: var(--tinta); border: 1px solid var(--linha-forte);
  opacity: 0; transition: opacity .3s, transform .35s var(--curva), background-color .3s, color .3s;
}
.pv-seta svg { width: 16px; height: 16px; }
.pv-seta.ant { left: 12px; } .pv-seta.prox { right: 12px; }
.pv-car:hover .pv-seta, .pv-seta:focus-visible { opacity: 1; }
.pv-seta:hover { background: var(--tinta); color: var(--fundo); }
.pv-seta[disabled] { opacity: 0 !important; pointer-events: none; }
@media (hover: none) { .pv-seta { opacity: .92; width: 38px; height: 38px; } }

.pv-cont {
  position: absolute; top: 14px; right: 14px; z-index: 3; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .75rem; letter-spacing: .04em; color: var(--fundo); background: var(--tinta); border-radius: 999px; padding: 4px 11px; opacity: .92;
}
.pv-rodape-car { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; }
.pv-pontos { display: flex; gap: 8px; }
.pv-pontos button {
  width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 1.5px solid var(--tinta); background: transparent; cursor: pointer;
  transition: width .4s var(--curva), background-color .3s, border-radius .4s;
}
.pv-pontos button[aria-current="true"] { width: 26px; border-radius: 999px; background: var(--tinta); }
.pv-dica b { color: var(--tinta); font-weight: 600; }
.pv-dica { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .75rem; color: var(--cinza); letter-spacing: .03em; text-transform: uppercase; }

.pv-info .num { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .8125rem; color: var(--cinza); letter-spacing: .04em; text-transform: uppercase; }
.pv-info h2 { margin-top: 12px; font-size: clamp(2.4rem, 1.2rem + 4.8vw, 5rem); line-height: .98; letter-spacing: -.045em; font-weight: 700; text-wrap: balance; }
.pv-chips-info { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pv-chip {
  font-size: .875rem; font-weight: 500; border: 1px solid var(--linha-forte); border-radius: 999px; padding: 6px 14px; text-decoration: none;
  transition: background-color .3s, color .3s;
}
a.pv-chip:hover { background: var(--tinta); color: var(--fundo); }
.pv-gancho { margin-top: clamp(20px, 2.6vw, 30px); max-width: 20em; font-size: clamp(1.3rem, 1rem + 1.1vw, 1.8rem); line-height: 1.2; letter-spacing: -.025em; font-weight: 600; }

.pv-nota-linha { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; margin-top: clamp(22px, 3vw, 32px); padding: 16px 0; border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.pv-estrelas { display: inline-flex; gap: .18em; font-size: 1.7rem; line-height: 1; }
.pv-estrelas i { font-style: normal; opacity: .16; transition: opacity .4s; }
.pv-estrelas i.on { opacity: 1; }
.pv-nota-linha .txt { font-weight: 700; letter-spacing: -.01em; }
.pv-nota-linha .txt small { font-weight: 500; color: var(--cinza); margin-left: 6px; }

.pv-pontos-lista { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 10px; }
.pv-pontos-lista li { display: grid; grid-template-columns: 22px 1fr; gap: 6px; font-weight: 500; }
.pv-pontos-lista li::before { content: "\2734\FE0E"; color: var(--tinta); }
.pv-acoes { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: clamp(24px, 3vw, 34px); }

/* ---------- Todas as provas ---------- */
.pv-todas { padding-bottom: clamp(56px, 9vw, 120px); }
.pv-todas-topo { display: flex; align-items: end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: clamp(22px, 3vw, 34px); }
.pv-todas-topo h2 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.5rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; }
.pv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pv-chips button {
  font: inherit; font-size: .875rem; font-weight: 500; cursor: pointer; color: var(--tinta); background: transparent;
  border: 1px solid var(--linha-forte); border-radius: 999px; padding: 6px 14px; transition: background-color .3s, color .3s;
}
.pv-chips button:hover { background: var(--painel); }
.pv-chips button[aria-pressed="true"] { background: var(--tinta); color: var(--fundo); border-color: var(--tinta); }

.pv-grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.pv-card { display: flex; flex-direction: column; transition: opacity .45s var(--curva), transform .45s var(--curva); }
.pv-card.some { display: none; }
.pv-midia {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px; border: 1px solid var(--linha);
  background: var(--painel); text-decoration: none; transition: border-color .4s, transform .6s var(--curva);
}
.pv-card:hover .pv-midia { border-color: var(--linha-forte); transform: translateY(-4px); }
.pv-midia img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--curva); }
.pv-card:hover .pv-midia img { transform: scale(1.035); }
.pv-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .75rem; letter-spacing: .03em; color: var(--fundo); background: var(--tinta); border-radius: 999px; padding: 4px 11px;
}
.pv-tag.ex { left: auto; right: 12px; color: var(--cinza); background: var(--fundo); border: 1px solid var(--linha-forte); text-transform: uppercase; font-size: .6875rem; }

/* capa desenhada (provas de exemplo) */
.pv-arte { position: absolute; inset: 0; display: grid; place-items: center; }
.pv-arte svg { width: 74%; height: auto; overflow: visible; }
.pv-arte .tr { fill: none; stroke: var(--tinta); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pv-arte .es { fill: var(--tinta); font-size: 14px; }
.js .pv-arte .tr { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s var(--curva); transition-delay: calc(var(--k, 0) * 60ms); }
.js .pv-card.vis .pv-arte .tr { stroke-dashoffset: 0; }
.pv-arte .gde {
  position: absolute; right: 14px; bottom: 6px; font-size: clamp(4.5rem, 12vw, 7.5rem); font-weight: 800; letter-spacing: -.06em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--linha-forte); pointer-events: none;
}
.pv-card:hover .pv-arte svg { animation: pv-balanca 2.4s var(--curva) 1; }
@keyframes pv-balanca { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-2.5deg); } 65% { transform: rotate(2deg); } }

.pv-corpo { display: flex; flex-direction: column; flex: 1; padding: 16px 2px 0; }
.pv-meta { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .75rem; letter-spacing: .03em; text-transform: uppercase; color: var(--cinza); }
.pv-corpo h3 { margin-top: 8px; font-size: 1.5rem; line-height: 1.08; letter-spacing: -.03em; font-weight: 700; }
.pv-corpo p { margin-top: 8px; color: var(--cinza); line-height: 1.38; }
.pv-corpo .pv-estrelas { font-size: 1.05rem; margin-top: 14px; }
.pv-corpo .linha-nota { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: .875rem; font-weight: 600; }
.pv-corpo .linha-nota .pv-estrelas { margin-top: 0; }
.pv-ig {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .9375rem; text-decoration: none; padding: 9px 9px 9px 18px; border: 1.5px solid var(--tinta); border-radius: 999px;
  transition: background-color .35s, color .35s;
}
.pv-corpo .pv-ig { margin-top: 18px; }
.pv-ig .s { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tinta); color: var(--fundo); transition: background-color .35s, color .35s, transform .4s var(--curva); }
.pv-ig .s svg { width: 11px; height: 11px; }
.pv-ig:hover { background: var(--tinta); color: var(--fundo); }
.pv-ig:hover .s { background: var(--fundo); color: var(--tinta); transform: rotate(45deg); }

/* ---------- Critérios ---------- */
.pv-criterios { padding-bottom: clamp(56px, 9vw, 120px); }
.pv-crit-intro h2 { margin-top: 12px; max-width: 14em; font-size: clamp(2rem, 1.1rem + 3.6vw, 3.6rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 700; text-wrap: balance; }
.pv-crit-lista { list-style: none; padding: 0; margin-top: clamp(26px, 4vw, 48px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--linha); }
.pv-crit-lista li { padding: 22px clamp(14px, 2vw, 26px) 6px 0; }
.pv-crit-lista li + li { padding-left: clamp(14px, 2vw, 26px); border-left: 1px solid var(--linha); }
.pv-crit-lista .n { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .8125rem; color: var(--cinza); }
.pv-crit-lista h3 { margin-top: 10px; font-size: 1.25rem; line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
.pv-crit-lista p { margin-top: 8px; color: var(--cinza); line-height: 1.4; }

/* ---------- Convite final ---------- */
.pv-final { padding-bottom: clamp(24px, 4vw, 48px); }
.pv-final-caixa {
  border: 1.5px solid var(--tinta); border-radius: clamp(20px, 3vw, 32px); padding: clamp(28px, 5vw, 64px);
  background: color-mix(in srgb, var(--fundo) 86%, transparent);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); align-items: center;
}
.pv-final-caixa h2 { margin-top: 14px; max-width: 14em; font-size: clamp(2rem, 1.1rem + 4vw, 4rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 700; text-wrap: balance; }
.pv-final-txt > p:not(.pv-selo) { margin-top: 16px; max-width: 32em; color: var(--cinza); font-size: 1.125rem; }
.pv-final-botoes { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: clamp(22px, 3vw, 32px); }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .pv-destaque { grid-template-columns: 1fr; }
  .pv-car { max-width: 520px; width: 100%; }
  .pv-grade { grid-template-columns: repeat(2, 1fr); }
  .pv-crit-lista { grid-template-columns: repeat(2, 1fr); }
  .pv-crit-lista li:nth-child(3) { border-left: 0; padding-left: 0; }
  .pv-crit-lista li:nth-child(n+3) { border-top: 1px solid var(--linha); margin-top: 22px; }
}
@media (max-width: 600px) {
  .pv-grade { grid-template-columns: 1fr; }
  .pv-crit-lista { grid-template-columns: 1fr; }
  .pv-crit-lista li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--linha); margin-top: 22px; }
  .pv-dica { display: none; }
  .pv-rodape-car { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .js .pv-arte .tr { stroke-dashoffset: 0; transition: none; }
  .pv-trilho { scroll-behavior: auto; }
  .pv-card:hover .pv-arte svg { animation: none; }
}

/* v2.3 · botão "Ver mais provas" */
.pv-mais { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: clamp(28px, 4vw, 48px); }
.pv-mais[hidden] { display: none; }
.pv-mais-n { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--cinza); }

/* ---------- Comanda + selo giratório (convite final) ---------- */
.cm-palco { position: relative; display: grid; place-items: center; min-height: 380px; padding: 34px 0 0 34px; }
.cm-wrap { position: relative; width: min(100%, 330px); }
.comanda {
  --papel: #F6F3EC; --papel-tinta: #111;
  position: relative; width: 100%; padding: 24px 22px 40px; overflow: hidden; color: var(--papel-tinta); background: var(--papel);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .8125rem; line-height: 1.35;
  transform: rotate(3deg); box-shadow: 0 18px 40px rgba(0,0,0,.28);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 100% repeat-x, linear-gradient(#000, #000) top / 100% calc(100% - 7px) no-repeat;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 100% repeat-x, linear-gradient(#000, #000) top / 100% calc(100% - 7px) no-repeat;
  animation: cm-balanca 7s ease-in-out infinite;
}
@keyframes cm-balanca { 0%,100% { transform: rotate(3deg) translateY(0); } 50% { transform: rotate(1.6deg) translateY(-6px); } }
.cm-topo { text-align: center; padding-bottom: 12px; border-bottom: 1.5px dashed rgba(0,0,0,.45); }
.cm-topo b { display: block; font-family: "Bricolage Grotesque", sans-serif; font-size: 1.25rem; letter-spacing: -.02em; }
.cm-topo span { display: block; font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; opacity: .65; margin-top: 2px; }
.cm-info { display: flex; justify-content: space-between; padding: 10px 0; font-size: .6875rem; opacity: .7; border-bottom: 1.5px dashed rgba(0,0,0,.45); }
.cm-lista { list-style: none; padding: 12px 0; display: grid; gap: 9px; border-bottom: 1.5px dashed rgba(0,0,0,.45); }
.cm-lista li { display: flex; align-items: baseline; gap: 6px; opacity: 0; transform: translateY(8px); }
.cm-lista li::before { content: ""; order: 1; flex: 1; border-bottom: 1.5px dotted rgba(0,0,0,.4); transform: translateY(-3px); }
.cm-lista .nome { order: 0; }
.cm-lista .nota { order: 2; font-weight: 700; min-width: 3ch; text-align: right; }
.cm-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; font-weight: 700; text-transform: uppercase; opacity: 0; }
.cm-total .valor { font-family: "Bricolage Grotesque", sans-serif; font-size: 1.75rem; letter-spacing: -.03em; }
.cm-carimbo { height: 62px; display: grid; place-items: center; }
.carimbo {
  padding: 6px 12px; border: 3px solid #111; border-radius: 8px; color: #111;
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.125rem; letter-spacing: .02em; line-height: 1; text-transform: uppercase; white-space: nowrap;
  transform: rotate(-12deg) scale(2.2); opacity: 0; mix-blend-mode: multiply; box-shadow: inset 0 0 0 1.5px #111;
}
.cm-prox { padding-top: 10px; border-top: 1.5px dashed rgba(0,0,0,.45); display: flex; justify-content: space-between; font-size: .75rem; opacity: 0; }
.cm-prox i { font-style: normal; font-weight: 700; animation: cm-pisca 1s steps(2, start) infinite; }
@keyframes cm-pisca { to { visibility: hidden; } }

.cm-selo-gira { position: absolute; left: -42px; top: -42px; width: 112px; height: 112px; z-index: 3; }
.cm-selo-gira .disco { position: absolute; inset: 0; border-radius: 50%; background: #0B0B0B; border: 1.5px solid #fff; box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.cm-selo-gira svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: cm-gira 16s linear infinite; }
.cm-selo-gira text { fill: #fff; font: 700 10px "Bricolage Grotesque", sans-serif; letter-spacing: 0; text-transform: uppercase; }
.cm-selo-gira .estrela { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.9rem; animation: cm-gira 16s linear infinite reverse; }
@keyframes cm-gira { to { transform: rotate(360deg); } }

/* entrada: comanda.js põe .rodando quando o card aparece na tela */
.rodando .cm-lista li { animation: cm-entra .5s var(--curva) forwards; animation-delay: calc(.35s + var(--i) * .28s); }
.rodando .cm-total { animation: cm-aparece .4s ease forwards; animation-delay: 1.65s; }
.rodando .cm-prox { animation: cm-aparece .4s ease forwards; animation-delay: 2.1s; }
.rodando .carimbo { animation: cm-carimba .45s cubic-bezier(.3,1.4,.5,1) forwards; animation-delay: 2.0s; }
@keyframes cm-entra { to { opacity: 1; transform: none; } }
@keyframes cm-aparece { to { opacity: 1; } }
@keyframes cm-carimba { 0% { opacity: 0; transform: rotate(-12deg) scale(2.2); } 60% { opacity: .95; transform: rotate(-12deg) scale(.94); } 100% { opacity: .92; transform: rotate(-12deg) scale(1); } }
html:not(.js) .cm-lista li, html:not(.js) .cm-total, html:not(.js) .cm-prox { opacity: 1; transform: none; }
html:not(.js) .carimbo { opacity: .92; transform: rotate(-12deg); }
@media (prefers-reduced-motion: reduce) {
  .comanda, .cm-selo-gira svg, .cm-selo-gira .estrela, .cm-prox i { animation: none; }
  .cm-lista li, .cm-total, .cm-prox { opacity: 1; transform: none; animation: none !important; }
  .carimbo { opacity: .92; transform: rotate(-12deg); animation: none !important; }
}
@media (max-width: 860px) {
  .pv-final-caixa { grid-template-columns: 1fr; text-align: center; }
  .pv-final-txt h2, .pv-final-txt > p { margin-left: auto; margin-right: auto; }
  .cm-palco { min-height: 0; padding: 30px 0 0 24px; }
  .cm-wrap { width: min(100%, 300px); }
  .cm-selo-gira { width: 92px; height: 92px; left: -30px; top: -34px; }
  .cm-selo-gira text { font-size: 8.2px; }
  .cm-selo-gira .estrela { font-size: 1.5rem; }
}
