/* O INÍCIO NOVO (22/11/2026): a folha do desenho aprovado pelo João (protótipo em entregas/20261122-inicio-diagnostico), carregada só com o /me dizendo
 * `inicioNovo: true` (chave LANGRIS_INICIO_NOVO_MODO, que nasce desligada). Cor 3: cobalto e céu azul, limão só no próximo passo, preto no que é da pessoa,
 * creme para ler. O degradê do topo é o da casca (casca-cor.css), não daqui. Só classes e custom properties (CSP `style-src 'self'`): nada de style= no HTML. */
/* A Fraunces reta (o título da notícia em destaque); a itálica, do grifo do nome, é da casca. O arquivo é o mesmo do acervo de fontes já servido. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/assets/acervo/fontsource/fonts/fraunces-latin-wght-normal.woff2") format("woff2"); }
.pi, .pi-pop, .pi-avisos-toast {
  --cobalto: #2f5bff; --cobalto-2: #1f45e0; --papel: #faf8f3; --lima: #cdf54a; --tinta: #131316; --texto-2: #403e47; --linha: rgba(47, 91, 255, .14); --cartao: #fff;
  --sombra: 0 1px 0 rgba(19, 19, 22, .04), 0 18px 40px -28px rgba(31, 52, 160, .45); --raio: 22px; --raio-p: 14px;
  --ig: linear-gradient(135deg, #feda75, #fa7e1e 30%, #d62976 60%, #962fbf 80%, #4f5bd5);
  --t-preco: #e8681c; --t-preco-f: #fff0e5; --t-data: #7a4dff; --t-data-f: #f0ebff; --t-alta: #2f5bff; --t-alta-f: #e8edff; --t-conc: #0f9b78; --t-conc-f: #e2f7f0;
  --sobe: #0f8a5f; --fonte: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif; --serifa: "Fraunces", Georgia, serif;
  --mola: cubic-bezier(.2, .9, .25, 1.15); --suave: cubic-bezier(.2, .8, .2, 1);
  --pi-fundo-claro: #f3f5fd; --pi-divisoria: #f0f1f6; --pi-cartao-hover: #f6f7fd; --pi-azul-suave: #e8edff; --pi-trilha: #e3e7f6;
}
.pi { position: relative; isolation: isolate; min-width: 0; color: var(--tinta); font: 15px/1.45 var(--fonte); -webkit-font-smoothing: antialiased; padding-bottom: 24px; }
.pi *, .pi *::before, .pi *::after { box-sizing: border-box; }
:where(.pi, .pi-pop) img { display: block; max-width: 100%; }
:where(.pi, .pi-pop) button { font: inherit; color: inherit; cursor: pointer; }
:where(.pi, .pi-pop) :is(h1, h2, h3, p) { margin: 0; }
/* O recipiente do Início deixa passar o degradê do topo (o da casca, casca-cor.css). */
#app#app .pulso.pi-raiz { background: transparent; }
.pi-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.pi-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pi [hidden], .pi-pop [hidden] { display: none !important; }
.pi-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.pi-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pi-ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pi-ic--p { width: 18px; height: 18px; }
.pi-formas { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.pi-formas i { position: absolute; border-radius: 50%; filter: blur(2px); }
.pi-formas .f1 { width: 420px; height: 420px; right: -120px; top: -140px; background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0) 65%); animation: pi-flutua 14s ease-in-out infinite; }
.pi-formas .f2 { width: 260px; height: 260px; left: 38%; top: 120px; background: radial-gradient(circle, rgba(47, 91, 255, .16), rgba(47, 91, 255, 0) 70%); animation: pi-flutua 18s ease-in-out infinite reverse; }
.pi-formas .f3 { width: 520px; height: 520px; left: -200px; top: 1100px; background: radial-gradient(circle, rgba(154, 172, 248, .32), rgba(154, 172, 248, 0) 70%); }
@keyframes pi-flutua { 50% { translate: 0 24px; } }
.pi-topo { position: relative; display: flex; align-items: center; gap: 12px; max-width: 1180px; margin: 0 auto 18px; }
.pi-topo__data { font-size: 13px; color: #2c2f52; font-weight: 500; letter-spacing: .01em; }
.pi-topo__acoes { margin-left: auto; display: flex; gap: 10px; }
.pi-redondo { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .62); backdrop-filter: blur(10px); transition: transform .2s var(--mola), background .2s; }
.pi-redondo:hover { transform: translateY(-1px); background: #fff; }
.pi-redondo--eu { background: var(--tinta); color: #fff; font-weight: 700; border-color: var(--tinta); }
.pi-redondo--claro { width: 36px; height: 36px; background: #f3f5fd; border-color: transparent; }
.pi-bolinha { position: absolute; top: 8px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: #ff5b3a; box-shadow: 0 0 0 2px #fff; }
.pi-bolinha.is-sem { display: none; }
/* painel de avisos (popover) */
.pi-avisos { position: absolute; right: 52px; top: 52px; width: 330px; padding: 14px; border-radius: 20px; background: #fff; box-shadow: 0 30px 60px -30px rgba(19, 30, 90, .5), 0 0 0 1px var(--linha); z-index: 30; transform-origin: 90% 0; animation: pi-abre .28s var(--mola) both; }
.pi-avisos[hidden] { display: none; }
.pi-avisos__t { font-weight: 700; padding: 2px 6px 10px; }
.pi-aviso { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 14px; }
.pi-aviso + .pi-aviso { border-top: 1px solid #f0f1f6; }
.pi-aviso div { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.pi-aviso small { color: var(--texto-2); font-size: 12.5px; }
.pi-aviso__ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; }
.pi-aviso__ic--novo { background: #e8edff; color: var(--cobalto); }
.pi-aviso__ic--x { background: #f1f1f3; color: var(--tinta); }
@keyframes pi-abre { from { opacity: 0; transform: translateY(-6px) scale(.96); } }
.pi-link { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 4px 2px; color: var(--cobalto-2); font-weight: 600; font-size: 14px; }
.pi-link--seta .pi-ic { width: 16px; height: 16px; transition: translate .2s; }
.pi-link--seta:hover .pi-ic { translate: 3px 0; }
/* ---------- herói ---------- */
.pi-heroi { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: end; max-width: 1180px; margin: 0 auto 34px; }
.pi-ola { font-size: clamp(40px, 5vw, 64px); line-height: 1; font-weight: 500; letter-spacing: -.035em; }
.pi-ola em { font-family: var(--serifa); font-style: italic; font-weight: 500; letter-spacing: -.02em; background: linear-gradient(transparent 62%, var(--lima) 62%, var(--lima) 90%, transparent 90%); padding: 0 4px; }
.pi-heroi__sub { margin: 12px 0 22px; font-size: 18px; color: #22264a; }
.pi-num { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; margin-right: 2px; border-radius: 99px; background: var(--tinta); color: #fff; font-weight: 700; font-size: 15px; vertical-align: 1px; }
.pi-pedido { position: relative; padding: 14px 14px 10px 18px; border-radius: 26px; background: rgba(255, 255, 255, .9); box-shadow: 0 24px 50px -30px rgba(31, 52, 160, .55), 0 0 0 1px rgba(255, 255, 255, .9); transition: box-shadow .25s; }
.pi-pedido:focus-within { box-shadow: 0 24px 50px -30px rgba(31, 52, 160, .55), 0 0 0 3px rgba(47, 91, 255, .35); }
.pi-pedido textarea { width: 100%; border: 0; resize: none; background: transparent; font: 18px/1.4 var(--fonte); color: var(--tinta); outline: 0; padding: 4px 0; }
.pi-pedido textarea::placeholder { color: #7b7a85; }
.pi-pedido__pe { display: flex; align-items: center; gap: 10px; }
.pi-pedido__dica { flex: 1; font-size: 13px; color: #6a6975; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pi-enviar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--tinta); color: #fff; transition: transform .2s var(--mola), background .2s; }
.pi-enviar:hover { transform: scale(1.06); }
.pi-enviar.is-limao, .pi-btn.is-limao, .pi-btn.pi-btn--limao { background: var(--lima); color: #131316; box-shadow: 0 10px 24px -12px rgba(120, 160, 0, .9); }
.pi-enviar.is-limao { animation: pi-respira-btn 2.6s ease-in-out infinite; }
@keyframes pi-respira-btn { 50% { box-shadow: 0 0 0 8px rgba(205, 245, 74, .35); } }
.pi-formatos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.pi-formato { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 10px 10px 12px; border: 1px solid rgba(255, 255, 255, .9); border-radius: 20px; background: rgba(255, 255, 255, .66); backdrop-filter: blur(10px); text-align: left; transition: transform .25s var(--mola), box-shadow .25s, background .2s; }
.pi-formato:hover, .pi-formato:focus-visible { transform: translateY(-4px) rotate(-.6deg); background: #fff; box-shadow: 0 22px 34px -22px rgba(31, 52, 160, .55); }
.pi-formato b { font-size: 15px; font-weight: 600; padding-left: 4px; }
.pi-formato__arte { position: relative; width: 100%; height: 86px; border-radius: 14px; overflow: hidden; background: #e8edff; }
.pi-formato__arte img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--suave); }
.pi-formato:hover .pi-formato__arte img { transform: scale(1.07); }
.pi-formato__arte--leque { display: flex; justify-content: center; align-items: flex-end; gap: 0; background: linear-gradient(160deg, #ffe7d6, #ffd0b8); }
.pi-formato__arte--leque img { width: 54px; height: 68px; border-radius: 8px; box-shadow: 0 8px 14px -8px rgba(0, 0, 0, .5); margin-bottom: 6px; }
.pi-formato__arte--leque img:first-child { rotate: -9deg; translate: 10px 4px; }
.pi-formato__arte--leque img:last-child { rotate: 8deg; translate: -10px 0; }
.pi-formato:hover .pi-formato__arte--leque img:first-child { rotate: -14deg; transform: none; }
.pi-formato:hover .pi-formato__arte--leque img:last-child { rotate: 13deg; transform: none; }
.pi-formato__arte--fio { display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 12px 14px; background: #131316; }
.pi-formato__arte--fio i { display: block; height: 9px; border-radius: 6px; background: rgba(255, 255, 255, .85); }
.pi-formato__arte--fio i:nth-child(2) { width: 78%; background: rgba(255, 255, 255, .5); }
.pi-formato__arte--fio i:nth-child(3) { width: 56%; background: var(--lima); }
.pi-formato:hover .pi-formato__arte--fio i { animation: pi-digita 1.1s var(--suave) both; }
.pi-formato:hover .pi-formato__arte--fio i:nth-child(2) { animation-delay: .12s; }
.pi-formato:hover .pi-formato__arte--fio i:nth-child(3) { animation-delay: .24s; }
@keyframes pi-digita { from { clip-path: inset(0 100% 0 0); } }
.pi-formato__arte--short { display: grid; place-items: center; }
.pi-formato__arte--short img { position: absolute; inset: 0; }
.pi-play { position: relative; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.pi-play::after { content: ""; position: absolute; left: 13px; top: 10px; border-left: 11px solid #e5202a; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.pi-formato__rede { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: #fff; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .5); }
.pi-formato__rede .pi-ic { width: 16px; height: 16px; stroke-width: 2.2; }
.pi-formato--ig .pi-formato__rede, .pi-formato--car .pi-formato__rede { background: var(--ig); }
.pi-formato--x .pi-formato__rede { background: #000; border: 1px solid rgba(255, 255, 255, .3); }
.pi-formato--yt .pi-formato__rede { background: #ff0000; }
.pi-heroi__palco { position: relative; height: 330px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.pi-palco__disco { position: absolute; bottom: 6px; width: 220px; height: 46px; border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 70%); }
.pi-mascote { --lg-w: 200; margin-bottom: 18px; }
.pi-balao { position: absolute; top: 0; left: -10px; right: 6px; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: 20px 20px 20px 6px; background: #fff; box-shadow: 0 20px 40px -24px rgba(31, 52, 160, .6); font-size: 14.5px; line-height: 1.35; opacity: 0; transform: translateY(8px) scale(.96); transform-origin: 20% 100%; transition: opacity .35s, transform .45s var(--mola); }
.pi-balao::after { content: ""; position: absolute; left: 34px; bottom: -9px; width: 18px; height: 18px; background: #fff; rotate: 45deg; border-radius: 3px; }
.pi-balao.is-ver { opacity: 1; transform: none; }
.pi-balao[hidden] { display: none; }
.pi-balao [data-pi-balao-txt] { overflow-wrap: anywhere; }
#app#app .pi-balao__sim { min-height: 44px; border: 0; padding: 7px 14px; border-radius: 99px; background: var(--lima); color: #131316; font-weight: 700; font-size: 13.5px; }
.pi-balao__sim:hover { box-shadow: 0 0 0 2px currentColor; }
/* ---------- blocos ---------- */
.pi-bloco { max-width: 1180px; margin: 0 auto 38px; }
.pi-bloco[hidden] { display: none; }
.pi-bloco__cab { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.pi-bloco__cab h2 { display: flex; align-items: center; gap: 8px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.pi-bloco__cab .pi-link { margin-left: auto; }
.pi-ic--h { width: 22px; height: 22px; color: var(--cobalto); }
.pi-contador { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 99px; background: #e8edff; color: var(--cobalto-2); font-weight: 700; font-size: 13px; }
.pi-trilho { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pi-card { position: relative; display: flex; flex-direction: column; border-radius: var(--raio); background: var(--cartao); box-shadow: var(--sombra); overflow: hidden; transition: transform .3s var(--mola), box-shadow .3s, opacity .3s; }
.pi-card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(19, 19, 22, .04), 0 26px 46px -26px rgba(31, 52, 160, .55); }
.pi-card__arte { position: relative; height: 170px; overflow: hidden; background: #eef1fb; }
.pi-card__arte img { width: 100%; height: 100%; object-fit: cover; }
.pi-card__arte--leque { display: flex; align-items: center; justify-content: center; background: linear-gradient(150deg, #fde3cf, #f6c7a8); }
.pi-card__arte--leque img { position: absolute; width: 104px; height: 130px; border-radius: 10px; box-shadow: 0 14px 22px -12px rgba(0, 0, 0, .55); }
.pi-card__arte--leque img:first-of-type { z-index: 2; rotate: -6deg; translate: -26px 4px; }
.pi-card__arte--leque img:nth-of-type(2) { rotate: 7deg; translate: 34px 0; }
.pi-card__arte--gerando img { filter: saturate(.4) blur(1.5px); opacity: .75; }
.pi-brilho { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .75) 50%, transparent 70%); background-size: 250% 100%; animation: pi-varre 1.8s linear infinite; }
@keyframes pi-varre { from { background-position: 130% 0; } to { background-position: -130% 0; } }
.pi-card__corpo { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.pi-card__tipo { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cobalto-2); }
.pi-card--agenda .pi-card__tipo { color: #7a4dff; }
.pi-card--fazendo .pi-card__tipo { color: #0f8a5f; }
.pi-card h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.pi-card__meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--texto-2); }
.pi-card__acoes { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; }
.pi-rede { width: 10px; height: 10px; border-radius: 3px; }
.pi-rede--ig { background: var(--ig); }
.pi-barra { height: 8px; margin-top: 12px; border-radius: 99px; background: #e9f6ef; overflow: hidden; }
.pi-barra i { display: block; height: 100%; width: 64%; border-radius: 99px; background: linear-gradient(90deg, #30c48d, #0f8a5f); transition: width 1.2s var(--suave); }
.pi-barra i.is-90 { width: 90%; }
.pi-selo { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px 5px 8px; border-radius: 99px; font-size: 12.5px; font-weight: 600; background: rgba(255, 255, 255, .95); color: var(--tinta); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); z-index: 3; }
.pi-selo .pi-ic { width: 15px; height: 15px; }
.pi-selo--ig .pi-ic { color: #d62976; }
.pi-selo--hora { background: #7a4dff; color: #fff; }
.pi-selo--claro .pi-ic { color: #0f8a5f; }
.pi-selo--escuro { background: rgba(19, 19, 22, .78); color: #fff; backdrop-filter: blur(6px); }
.pi-selo--novo { position: static; background: #e8edff; color: var(--cobalto-2); box-shadow: none; }
.pi-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 8px 16px; border: 0; border-radius: 99px; background: var(--tinta); color: #fff; font-weight: 600; font-size: 14px; transition: transform .2s var(--mola), background .2s; }
.pi-btn .pi-ic { width: 17px; height: 17px; stroke-width: 2.2; }
.pi-btn:hover { transform: translateY(-1px); }
.pi-btn:active { transform: scale(.97); }
.pi-btn--leve { background: #eef1fb; color: var(--tinta); }
.pi-btn--leve:hover { background: #e2e7fb; }
.pi-card.is-saindo { animation: pi-sai .55s var(--suave) forwards; }
@keyframes pi-sai { 30% { transform: scale(1.03); } to { opacity: 0; transform: translateY(-14px) scale(.9); } }
.pi-carimbo { position: absolute; left: 50%; top: 40%; z-index: 4; padding: 8px 16px; border: 3px solid #0f8a5f; border-radius: 12px; color: #0f8a5f; background: rgba(255, 255, 255, .92); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; translate: -50% -50%; rotate: -10deg; animation: pi-carimba .4s var(--mola) both; }
@keyframes pi-carimba { from { opacity: 0; scale: 1.8; } }
.pi-tudo-pronto { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 16px 18px; border-radius: var(--raio); background: #eaf8f1; animation: pi-abre .4s var(--mola) both; }
.pi-tudo-pronto[hidden] { display: none; }
.pi-tudo-pronto div { display: flex; flex-direction: column; }
.pi-tudo-pronto small { color: var(--texto-2); }
.pi-tudo-pronto__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #0f8a5f; color: #fff; }
/* primeiros passos */
.pi-passo { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px; border-radius: var(--raio); background: #fff; box-shadow: var(--sombra); }
.pi-passo h3 { font-size: 17px; font-weight: 600; }
.pi-passo .pi-btn { margin-top: 8px; }
.pi-passo.is-feito { background: #f4fbf7; }
.pi-passo.is-feito h3 { text-decoration: line-through; text-decoration-color: rgba(15, 138, 95, .5); }
.pi-passo__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #fff; margin-bottom: 6px; }
.pi-passo__ic .pi-ic { width: 26px; height: 26px; }
.pi-passo__ic--ig { background: var(--ig); }
.pi-passo__ic--agenda { background: #7a4dff; }
.pi-passo__arte { display: flex; height: 52px; margin-bottom: 6px; }
.pi-passo__arte img { width: 42px; height: 52px; border-radius: 9px; object-fit: cover; box-shadow: 0 8px 14px -8px rgba(0, 0, 0, .5); }
.pi-passo__arte img + img { margin-left: -12px; rotate: 8deg; }
.pi-passo__ok { position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #0f8a5f; color: #fff; }
.pi-anel-mini { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.pi-anel-mini svg { width: 30px; height: 30px; rotate: -90deg; }
.pi-anel__fundo { fill: none; stroke: #e3e7f6; stroke-width: 5; }
.pi-anel__valor { fill: none; stroke: var(--cobalto); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 94.25; stroke-dashoffset: 94.25; transition: stroke-dashoffset 1s var(--suave); }
.pi-anel__valor--terco.is-ver { stroke-dashoffset: 62.8; }
/* sua semana */
.pi-numeros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pi-numero { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto 1fr; column-gap: 12px; padding: 18px 18px 16px; border-radius: var(--raio); background: #fff; box-shadow: var(--sombra); overflow: hidden; min-height: 150px; }
.pi-numero__r { font-size: 13px; color: var(--texto-2); font-weight: 600; }
.pi-numero__v { grid-row: 2; font-size: 40px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pi-numero__v small { font-size: 16px; font-weight: 500; color: var(--texto-2); letter-spacing: 0; }
.pi-numero__d { grid-column: 2; grid-row: 1; justify-self: end; display: inline-flex; align-items: center; gap: 3px; height: 24px; padding: 0 9px; border-radius: 99px; background: #f2f3f8; font-size: 12.5px; font-weight: 600; color: var(--texto-2); }
.pi-numero__d--sobe { background: #e3f6ec; color: var(--sobe); }
.pi-ic--fogo { width: 15px; height: 15px; color: #ff6a2b; fill: #ffb08a; }
.pi-barras, .pi-linha { grid-column: 1 / -1; grid-row: 3; align-self: end; width: 100%; height: 52px; margin-top: 10px; overflow: visible; }
.pi-barras { display: flex; align-items: flex-end; gap: 8px; }
.pi-barras i { flex: 1; border-radius: 7px 7px 4px 4px; background: #c9d3fd; transform-origin: 50% 100%; animation: pi-cresce .8s var(--mola) both; }
.pi-barras i.h1 { height: 22%; }
.pi-barras i.h3 { height: 55%; }
.pi-barras i.h4 { height: 72%; }
.pi-barras i.h5 { height: 100%; }
.pi-barras i.z { background: #e5e9f8; }
.pi-barras i.hoje { background: var(--cobalto); }
.pi-barras i:nth-child(2) { animation-delay: .05s; }
.pi-barras i:nth-child(3) { animation-delay: .1s; }
.pi-barras i:nth-child(4) { animation-delay: .15s; }
.pi-barras i:nth-child(5) { animation-delay: .2s; }
.pi-barras i:nth-child(6) { animation-delay: .25s; }
.pi-barras i:nth-child(7) { animation-delay: .3s; }
@keyframes pi-cresce { from { transform: scaleY(0); } }
.pi-linha__traco { fill: none; stroke: var(--cobalto); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; animation: pi-traca 1.4s var(--suave) both .2s; }
.pi-linha__area { fill: rgba(47, 91, 255, .16); animation: pi-aparece 1s ease both .8s; }
.pi-linha__ponto { fill: #fff; stroke: var(--cobalto); stroke-width: 2.6; animation: pi-aparece .3s ease both 1.5s; }
@keyframes pi-traca { from { stroke-dashoffset: 100; } }
@keyframes pi-aparece { from { opacity: 0; } }
.pi-semanas { grid-column: 1 / -1; grid-row: 3; align-self: end; display: flex; gap: 8px; margin-top: 12px; }
.pi-semanas i { flex: 1; height: 34px; border-radius: 10px; background: #eef1fb; position: relative; }
.pi-semanas i.ok { background: linear-gradient(180deg, #ffb07c, #ff6a2b); animation: pi-acende .5s var(--mola) both; }
.pi-semanas i.ok:nth-child(2) { animation-delay: .1s; }
.pi-semanas i.ok:nth-child(3) { animation-delay: .2s; }
.pi-semanas i.ok:nth-child(4) { animation-delay: .3s; }
.pi-semanas i.agora { background: repeating-linear-gradient(135deg, #ffe3d1 0 6px, #fff3ea 6px 12px); outline: 2px dashed #ffb07c; outline-offset: -2px; }
.pi-semanas i.agora.is-ok { background: linear-gradient(180deg, #ffb07c, #ff6a2b); outline: 0; animation: pi-acende .5s var(--mola) both; }
@keyframes pi-acende { from { transform: scale(.4); opacity: 0; } }
/* radar */
.pi-chip-filtro { padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .7); border: 1px solid var(--linha); font-size: 13px; font-weight: 600; color: var(--texto-2); }
.pi-chip-filtro.is-on { background: var(--tinta); color: #fff; border-color: var(--tinta); }
.pi-radar { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; }
.pi-noticia--destaque { display: grid; grid-template-columns: 44% 1fr; border-radius: var(--raio); background: #fff; box-shadow: var(--sombra); overflow: hidden; }
.pi-noticia__foto { position: relative; min-height: 250px; }
.pi-noticia__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pi-noticia__foto .pi-tag { position: absolute; left: 12px; top: 12px; }
.pi-noticia__corpo { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px; }
.pi-noticia__corpo h3 { font-family: var(--serifa); font-weight: 500; font-size: 24px; line-height: 1.15; letter-spacing: -.01em; }
.pi-noticia__fonte { font-size: 12.5px; color: var(--texto-2); }
.pi-noticia__porque { display: flex; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #f3f5fe; font-size: 14px; color: #262a4d; }
.pi-noticia__porque .pi-ic { width: 18px; height: 18px; color: var(--cobalto); flex: none; margin-top: 1px; }
.pi-noticia__corpo .pi-btn { margin-top: auto; }
.pi-noticias { list-style: none; margin: 0; padding: 6px; display: flex; flex-direction: column; border-radius: var(--raio); background: #fff; box-shadow: var(--sombra); }
.pi-noticias .pi-noticia { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; transition: background .2s; }
.pi-noticias .pi-noticia:hover { background: #f6f7fd; }
.pi-noticias .pi-noticia + .pi-noticia { border-top: 1px solid #f0f1f6; }
.pi-noticias .pi-noticia > div { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.pi-noticias h3 { font-size: 15px; font-weight: 600; line-height: 1.3; }
.pi-noticia__mini { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; overflow: hidden; background: #eef1fb; }
.pi-noticia__mini img { width: 100%; height: 100%; object-fit: cover; }
.pi-noticia__mini--roxo { background: var(--t-data-f); color: var(--t-data); line-height: 1; text-align: center; }
.pi-noticia__mini--roxo b { font-size: 24px; display: block; }
.pi-noticia__mini--roxo small { font-size: 11px; text-transform: uppercase; font-weight: 700; letter-spacing: .08em; }
.pi-noticia__mini--verde { background: var(--t-conc-f); color: var(--t-conc); }
.pi-noticia__mini--verde .pi-ic { width: 28px; height: 28px; }
.pi-tag { display: inline-block; padding: 3px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; }
.pi-tag--preco { background: var(--t-preco-f); color: var(--t-preco); }
.pi-noticia__foto .pi-tag { background: #fff; color: var(--cobalto-2); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); }
.pi-tag--data { background: var(--t-data-f); color: var(--t-data); }
.pi-tag--alta { background: var(--t-alta-f); color: var(--t-alta); }
.pi-tag--conc { background: var(--t-conc-f); color: var(--t-conc); }
/* entrada escalonada dos blocos */
.pi-entra { animation: pi-sobe .7s var(--suave) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes pi-sobe { from { opacity: 0; transform: translateY(18px); } }
@keyframes pi-pulo { 40% { transform: scale(1.35); } }
/* ---------- pop-ups ---------- */
.pi-pop { width: min(520px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 28px; background: #fff; color: var(--tinta); box-shadow: 0 50px 100px -40px rgba(10, 20, 80, .6); overflow: hidden; }
.pi-pop::backdrop { background: rgba(19, 22, 48, .38); backdrop-filter: blur(4px); }
.pi-pop[open] { animation: pi-pop-entra .5s var(--mola) both; }
.pi-pop[open]::backdrop { animation: pi-aparece .3s ease both; }
.pi-pop.is-fechando { animation: pi-pop-sai .22s ease-in forwards; }
@keyframes pi-pop-entra { from { opacity: 0; transform: translateY(24px) scale(.94); } }
@keyframes pi-pop-sai { to { opacity: 0; transform: translateY(12px) scale(.97); } }
.pi-pop__x { position: absolute; right: 14px; top: 14px; z-index: 5; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .8); }
.pi-pop__cena { position: relative; height: 230px; background: linear-gradient(160deg, #8ea2f8, #c4cefc 55%, #eef1fd); overflow: hidden; }
.pi-nov__leque { position: absolute; right: 36px; top: 34px; width: 230px; height: 170px; }
.pi-nov__leque img { position: absolute; top: 0; width: 118px; height: 148px; border-radius: 14px; object-fit: cover; box-shadow: 0 18px 30px -14px rgba(10, 20, 80, .55); animation: pi-leque .8s var(--mola) both .2s; }
.pi-nov__leque img:nth-child(1) { left: 0; rotate: -12deg; translate: 18px 14px; --r: -12deg; }
.pi-nov__leque img:nth-child(2) { left: 56px; z-index: 2; animation-delay: .3s; }
.pi-nov__leque img:nth-child(3) { left: 112px; rotate: 12deg; translate: -18px 14px; animation-delay: .4s; }
@keyframes pi-leque { from { opacity: 0; transform: translateY(30px) scale(.8); } }
.pi-pop__mascote { --lg-w: 150; position: absolute; left: 34px; bottom: -8px; }
.pi-pop__estrela { position: absolute; width: 16px; height: 16px; background: var(--lima); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: pi-gira 3s ease-in-out infinite; }
.pi-pop__estrela.e1 { left: 190px; top: 40px; }
.pi-pop__estrela.e2 { right: 40px; bottom: 26px; width: 22px; height: 22px; background: #fff; animation-delay: .8s; }
.pi-pop__estrela.e3 { left: 30px; top: 30px; width: 11px; height: 11px; animation-delay: 1.5s; }
@keyframes pi-gira { 50% { transform: rotate(90deg) scale(1.3); } }
.pi-pop__texto { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 26px 24px; }
.pi-pop__texto h2 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.pi-pop__texto p { color: var(--texto-2); font-size: 15.5px; }
.pi-pop__acoes { display: flex; gap: 10px; margin-top: 8px; }
.pi-pop__texto--centro { align-items: center; text-align: center; }
.pi-pop__acoes--centro { justify-content: center; }
.pi-pontinhos { display: flex; gap: 6px; margin-top: 6px; }
.pi-pontinhos i { width: 6px; height: 6px; border-radius: 99px; background: #dfe3f2; }
.pi-pontinhos i.on { width: 18px; background: var(--cobalto); }
.pi-festa__palco { position: relative; height: 270px; background: radial-gradient(circle at 50% 110%, #cdf54a 0, rgba(205, 245, 74, 0) 45%), linear-gradient(160deg, #2f5bff, #6f86ff 60%, #a9b8fc); overflow: hidden; }
.pi-festa__post { position: absolute; left: 50%; top: 26px; width: 170px; padding: 8px; border-radius: 16px; background: #fff; box-shadow: 0 26px 40px -18px rgba(0, 0, 40, .6); translate: -10% 0; rotate: 4deg; animation: pi-post .9s var(--mola) both .15s; }
@keyframes pi-post { from { opacity: 0; transform: translateY(60px) rotate(-10deg) scale(.7); } }
.pi-festa__post-topo { display: flex; align-items: center; gap: 6px; font-size: 11px; padding: 2px 2px 6px; }
.pi-festa__post-topo img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.pi-festa__post-arte { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.pi-festa__post-pe { display: flex; gap: 6px; padding: 7px 2px 1px; }
.pi-festa__post-pe i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #131316; }
.pi-festa__post-pe i:first-child { background: #ff3b5c; border-color: #ff3b5c; animation: pi-curte .6s var(--mola) both 1.2s; }
@keyframes pi-curte { from { transform: scale(0); } 60% { transform: scale(1.5); } }
.pi-pop__mascote--festa { left: 24px; bottom: -6px; --lg-w: 140; }
.pi-medalha { position: absolute; left: 26px; top: 22px; width: 76px; height: 76px; animation: pi-medalha 1s var(--mola) both .5s; }
.pi-medalha svg { width: 100%; height: 100%; }
.pi-medalha circle { fill: #fff; stroke: var(--lima); stroke-width: 5; }
.pi-medalha path { fill: #ff8a3d; }
.pi-medalha b { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: #fff; font-weight: 800; font-size: 16px; }
@keyframes pi-medalha { from { opacity: 0; transform: scale(0) rotate(-60deg); } }
.pi-festa__confete { position: absolute; inset: 0 0 auto; height: 270px; z-index: 4; pointer-events: none; }
.pi-festa__confete i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; background: var(--lima); opacity: 0; animation: pi-cai 1.9s cubic-bezier(.3, .6, .4, 1) forwards; animation-delay: calc(var(--d, 0) * 1ms); left: calc(var(--x, 50) * 1%); }
.pi-festa__confete i:nth-child(3n) { background: #fff; width: 7px; height: 7px; border-radius: 50%; }
.pi-festa__confete i:nth-child(4n) { background: #ff8a3d; }
.pi-festa__confete i:nth-child(5n) { background: #131316; }
@keyframes pi-cai { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(300px) rotate(calc(var(--r, 1) * 540deg)); } }
/* aviso curto (toast) */
.pi-avisos-toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; display: flex; flex-direction: column; gap: 10px; translate: -50% 0; pointer-events: none; }
.pi-toast { display: flex; align-items: center; gap: 12px; min-width: 300px; max-width: calc(100vw - 32px); padding: 10px 16px 10px 10px; border-radius: 18px; background: var(--tinta); color: #fff; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6); pointer-events: auto; animation: pi-toast 4.2s var(--mola) both; }
.pi-toast img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.pi-toast__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--lima); color: #131316; }
.pi-toast div { display: flex; flex-direction: column; line-height: 1.25; }
.pi-toast small { color: #b9b8c4; }
@keyframes pi-toast { 0% { opacity: 0; transform: translateY(20px) scale(.95); } 8%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(10px); } }
/* ---------- celular ---------- */
@media (max-width: 1100px) {
  .pi-trilho { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pi-radar { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .pi-topo__data { display: none; }
  .pi-avisos { right: 0; top: 52px; width: min(330px, calc(100vw - 32px)); }
  .pi-heroi { grid-template-columns: minmax(0, 1fr); gap: 0; margin-bottom: 28px; }
  .pi-heroi__texto { order: 2; }
  .pi-heroi__palco { order: 1; height: 150px; flex-direction: row; justify-content: flex-start; align-items: flex-end; margin-bottom: 6px; }
  .pi-mascote { --lg-w: 104; margin: 0 0 4px 4px; }
  .pi-palco__disco { left: -20px; width: 150px; bottom: 0; }
  .pi-balao { top: auto; bottom: 30px; left: 118px; right: 0; padding: 11px 13px; font-size: 13.5px; border-radius: 18px 18px 18px 6px; }
  .pi-balao::after { left: -6px; bottom: 16px; }
  .pi-ola { font-size: 44px; }
  .pi-heroi__sub { margin: 8px 0 16px; font-size: 16.5px; }
  .pi-pedido textarea { font-size: 17px; }
  .pi-pedido__dica { display: none; }
  .pi-pedido__pe { justify-content: space-between; }
  .pi-formatos { gap: 8px; margin-top: 12px; }
  .pi-formato { padding: 6px 6px 8px; gap: 6px; border-radius: 16px; }
  .pi-formato b { font-size: 13px; padding-left: 2px; }
  .pi-formato__arte { height: 62px; border-radius: 11px; }
  .pi-formato__rede { top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 7px; }
  .pi-formato__rede .pi-ic { width: 13px; height: 13px; }
  .pi-formato__arte--leque img { width: 36px; height: 46px; border-radius: 6px; }
  .pi-formato__arte--fio { gap: 5px; padding: 10px; }
  .pi-formato__arte--fio i { height: 7px; }
  .pi-play { width: 26px; height: 26px; }
  .pi-play::after { left: 10px; top: 7px; border-left-width: 9px; border-top-width: 6px; border-bottom-width: 6px; }
  .pi-bloco { margin-bottom: 30px; }
  .pi-bloco__cab h2 { font-size: 21px; }
  .pi-trilho { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 18px; scrollbar-width: none; }
  .pi-trilho::-webkit-scrollbar { display: none; }
  .pi-card, .pi-passo { scroll-snap-align: start; }
  .pi-card__arte { height: 150px; }
  .pi-numeros { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 18px; scrollbar-width: none; }
  .pi-numeros::-webkit-scrollbar { display: none; }
  .pi-numero { scroll-snap-align: start; min-height: 140px; }
  .pi-noticia--destaque { grid-template-columns: minmax(0, 1fr); }
  .pi-noticia__foto { min-height: 180px; }
  .pi-noticia__corpo h3 { font-size: 21px; }
  .pi-bloco__cab .pi-chip-filtro:not(.is-on) { display: none; }
  .pi-avisos-toast { bottom: 100px; }
  .pi-pop__cena { height: 200px; }
  .pi-nov__leque { right: 6px; transform: scale(.82); transform-origin: 100% 0; }
  .pi-pop__mascote { left: 16px; --lg-w: 120; }
  .pi-pop__texto { padding: 18px 20px 22px; }
  .pi-pop__texto h2 { font-size: 23px; }
  .pi-festa__post { width: 150px; }
  .pi-medalha { left: 14px; width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .pi-festa__confete { display: none; }
}


/* ---------- o que o app pede além do protótipo (dados reais, sem arte de exemplo) ---------- */
.pi-topo { justify-content: space-between; }
.pi-topo__data::first-letter { text-transform: uppercase; }
.pi-sino { position: relative; }
.pi-avisos { right: 0; top: 50px; }
.pi-avisos__vazio { padding: 8px 8px 12px; color: var(--texto-2); }
.pi-aviso__ic--alerta { background: #fff0e5; color: var(--t-preco); }
.pi-mascote { display: block; width: 200px; height: 200px; margin-bottom: 18px; }
.pi-mascote__img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(31, 52, 160, .28)); }
.pi-pop__mascote { display: block; width: 150px; height: 150px; }
.pi-pop__mascote--festa { width: 140px; height: 140px; }
.pi-arte-vazia, .pi-arte-post, .pi-arte-short, .pi-arte-tipo { position: absolute; inset: 0; display: grid; place-items: center; }
.pi-arte-post { align-content: center; gap: 7px; padding: 14px; background: linear-gradient(160deg, #ffe7d6, #ffd0b8); }
.pi-arte-post i { display: block; width: 100%; height: 9px; border-radius: 6px; background: rgba(19, 19, 22, .7); }
.pi-arte-post i + i { width: 62%; background: rgba(19, 19, 22, .35); }
.pi-arte-folha { display: block; width: 54px; height: 68px; border-radius: 8px; background: linear-gradient(160deg, #fff, #dfe6ff); box-shadow: 0 8px 14px -8px rgba(0, 0, 0, .5); }
.pi-formato__arte--leque .pi-arte-folha:first-child { rotate: -9deg; translate: 10px 4px; margin-bottom: 6px; }
.pi-formato__arte--leque .pi-arte-folha:last-child { rotate: 8deg; translate: -10px 0; margin-bottom: 6px; }
.pi-arte-short { background: linear-gradient(160deg, #3a1d1d, #9a2323); }
.pi-arte-tipo { background: linear-gradient(150deg, #eef1fb, #dfe6ff); color: var(--cobalto-2); font-weight: 800; font-size: 34px; letter-spacing: -.02em; }
.pi-arte-tipo--x { background: #131316; color: #fff; }
.pi-arte-tipo--x .pi-ic { width: 40px; height: 40px; }
.pi-arte-tipo--fazendo { background: linear-gradient(150deg, #e9f6ef, #cfeedd); }
.pi-passo__arte .pi-arte-folha { width: 42px; height: 52px; }
.pi-passo__arte .pi-arte-folha + .pi-arte-folha { margin-left: -12px; rotate: 8deg; }
.pi-nov__leque .pi-arte-folha { position: absolute; top: 0; width: 118px; height: 148px; border-radius: 14px; }
.pi-nov__leque .pi-arte-folha:nth-child(1) { left: 0; rotate: -12deg; translate: 18px 14px; }
.pi-nov__leque .pi-arte-folha:nth-child(2) { left: 56px; z-index: 2; }
.pi-nov__leque .pi-arte-folha:nth-child(3) { left: 112px; rotate: 12deg; translate: -18px 14px; }
.pi-card__arte .pi-ic { width: 20px; height: 20px; }
.pi-rede--x { background: #000; }
.pi-trilho--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pi-numeros--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pi-barra--corre i { width: 40%; animation: pi-corre 1.6s ease-in-out infinite; }
@keyframes pi-corre { 0% { translate: -100% 0; } 100% { translate: 260% 0; } }
.pi-barra i[data-pi-pc] { width: calc(var(--pc, 0) * 100%); }
.pi-anel__valor--0 { stroke-dashoffset: 94.25; }
.pi-anel__valor--1 { stroke-dashoffset: 62.8; }
.pi-anel__valor--2 { stroke-dashoffset: 31.4; }
.pi-anel__valor--3 { stroke-dashoffset: 0; }
.pi-passo__ic--ig .pi-ic, .pi-passo__ic--agenda .pi-ic { stroke: #fff; }
.pi-chip-filtro { cursor: pointer; }
.pi-noticia--sem-foto { grid-template-columns: 30% 1fr; }
.pi-noticia__data { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; background: var(--t-data-f); color: var(--t-data); line-height: 1; text-align: center; }
.pi-noticia__data b { font-size: 56px; font-weight: 700; letter-spacing: -.03em; }
.pi-noticia__data small { font-size: 13px; text-transform: uppercase; font-weight: 700; letter-spacing: .1em; }
.pi-noticia__data .pi-ic { width: 40px; height: 40px; }
.pi-noticia__mini--preco { background: var(--t-preco-f); color: var(--t-preco); line-height: 1; text-align: center; }
.pi-noticia__mini--data { background: var(--t-data-f); color: var(--t-data); line-height: 1; text-align: center; }
.pi-noticia__mini--alta { background: var(--t-alta-f); color: var(--t-alta); line-height: 1; text-align: center; }
.pi-noticia__mini--conc { background: var(--t-conc-f); color: var(--t-conc); line-height: 1; text-align: center; }
.pi-noticia__mini--foto { background: #eef1fb; }
.pi-noticia__tipo { display: grid; place-items: center; width: 100%; height: 100%; }
.pi-noticia__mini b { font-size: 24px; display: block; }
.pi-noticia__mini small { font-size: 11px; text-transform: uppercase; font-weight: 700; letter-spacing: .08em; }
.pi-noticia__mini .pi-ic { width: 28px; height: 28px; }
.pi-radar__mais { margin-top: 10px; }
.pi-vazio { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--raio); background: #fff; box-shadow: var(--sombra); }
.pi-vazio > div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.pi-vazio small { color: var(--texto-2); }
.pi-vazio__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--pi-azul-suave); color: var(--cobalto); }
.pi-tudo-pronto { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--raio); background: #eaf8f1; }
.pi-cartao-x { display: flex; align-items: stretch; gap: 16px; width: 100%; padding: 10px; border: 0; border-radius: var(--raio); background: #fff; box-shadow: var(--sombra); text-align: left; transition: transform .3s var(--mola), box-shadow .3s; }
.pi-cartao-x:hover, .pi-cartao-x:focus-visible { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(19, 19, 22, .04), 0 26px 46px -26px rgba(31, 52, 160, .55); }
.pi-cartao-x__print { flex: none; width: 160px; height: 120px; border-radius: 14px; overflow: hidden; background: #131316; }
.pi-cartao-x__print img { width: 100%; height: 100%; object-fit: cover; }
.pi-cartao-x__print--vazio { display: grid; place-items: center; color: #fff; }
.pi-cartao-x__texto { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding-right: 8px; }
.pi-cartao-x__texto small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cobalto-2); }
.pi-cartao-x__linha { font-size: 16px; line-height: 1.4; }
.pi-cartao-x__linha b { font-weight: 700; }
.pi-cartao-x__apoio { font-size: 14px; color: var(--texto-2); }
.pi-cartao-x__apoio b { font-weight: 600; }
.pi-festa__avatar { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--pi-azul-suave); color: var(--cobalto-2); font-weight: 700; font-size: 11px; }
.pi-festa__post-texto { padding: 10px; border-radius: 8px; background: #f3f5fd; font-size: 12px; line-height: 1.35; min-height: 120px; }
.pi-medalha--um circle { stroke: var(--lima); }
.pi-medalha__ok { fill: none !important; stroke: #ff8a3d; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.pi-pop { margin: auto; }
.pi-pop .pi-btn--limao { background: var(--lima); color: #131316; box-shadow: 0 10px 24px -12px rgba(120, 160, 0, .9); }
.pi-pop .pi-btn--leve { background: #eef1fb; color: #131316; }

/* a cor do texto dos botões vence a regra de botão da casca (#app): branco no preto, preto no claro e no limão */
#app#app .pi :is(.pi-btn, .pi-enviar) { color: #fff; }
#app#app .pi :is(.pi-btn--leve, .pi-redondo, .pi-formato, .pi-chip-filtro:not(.is-on)) { color: var(--tinta); }
#app#app .pi .pi-link { color: var(--cobalto-2); }
#app#app .pi .pi-chip-filtro.is-on { color: #fff; }
#app#app .pi :is(.pi-btn.is-limao, .pi-enviar.is-limao, .pi-btn--limao, .pi-balao__sim) { color: #131316; }
body[data-op-tema="escuro"] #app#app .pi :is(.pi-btn, .pi-enviar) { color: #131316; }
body[data-op-tema="escuro"] #app#app .pi :is(.pi-btn--leve, .pi-redondo, .pi-formato, .pi-chip-filtro:not(.is-on)) { color: #f1f1f5; }
body[data-op-tema="escuro"] #app#app .pi .pi-chip-filtro.is-on { color: #131316; }
body[data-op-tema="escuro"] #app#app .pi .pi-link { color: #8ea2f8; }

/* o limão de uma por tela e o texto sempre preto sobre ele (a regra da cor 3) */
.pi .pi-enviar.is-limao, .pi .pi-btn.is-limao { background: var(--lima); color: #131316; box-shadow: 0 10px 24px -12px rgba(120, 160, 0, .9); }
.pi .pi-enviar.is-limao .pi-ic, .pi .pi-btn.is-limao .pi-ic { color: #131316; }
.pi :focus-visible, .pi-pop :focus-visible { outline: 3px solid var(--cobalto); outline-offset: 2px; }

@media (max-width: 860px) {
  #app#app .pulso.pi-raiz { padding: 4px 16px 110px; overflow-x: clip; }
  .pi-topo { margin-bottom: 8px; }
  .pi-avisos { right: 0; width: min(330px, calc(100vw - 32px)); }
  .pi-mascote { width: 104px; height: 104px; margin: 0 0 4px 4px; }
  .pi-pedido__pe { justify-content: flex-end; }
  .pi-vazio { flex-wrap: wrap; }
  .pi-vazio > .pi-btn { width: 100%; }
  .pi-trilho--3 { grid-template-columns: none; }
  .pi-numeros--2 { grid-template-columns: none; }
  .pi-cartao-x { flex-direction: column; }
  .pi-cartao-x__print { width: 100%; height: 150px; }
  .pi-pop__mascote { width: 120px; height: 120px; }
}

/* ---------- escuro: o topo vira azul-noite e os cartões ficam em grafite com borda azul-noite ---------- */
body[data-op-tema="escuro"] .pi, body[data-op-tema="escuro"] .pi-pop, body[data-op-tema="escuro"] .pi-avisos-toast {
  --papel: #131316; --tinta: #f1f1f5; --texto-2: #b3b1b9; --cartao: #1d1f2e; --linha: rgba(120, 140, 255, .22); --sombra: 0 18px 40px -28px rgba(0, 0, 0, .8);
  --pi-fundo-claro: #232640; --pi-divisoria: #2b2f4a; --pi-cartao-hover: #232640; --pi-azul-suave: #1e2a5c; --pi-trilha: #2b3566; --t-preco-f: #3a2415; --t-data-f: #2a2150; --t-alta-f: #1e2a5c; --t-conc-f: #12342b;
}
body[data-op-tema="escuro"] .pi-card, body[data-op-tema="escuro"] .pi-passo, body[data-op-tema="escuro"] .pi-numero, body[data-op-tema="escuro"] .pi-noticia--destaque,
body[data-op-tema="escuro"] .pi-noticias, body[data-op-tema="escuro"] .pi-vazio, body[data-op-tema="escuro"] .pi-cartao-x, body[data-op-tema="escuro"] .pi-avisos,
body[data-op-tema="escuro"] .pi-pop, body[data-op-tema="escuro"] .pi-pedido { background: #1d1f2e; color: #f1f1f5; }
body[data-op-tema="escuro"] .pi-pedido textarea { color: #f1f1f5; }
body[data-op-tema="escuro"] .pi-formato, body[data-op-tema="escuro"] .pi-redondo, body[data-op-tema="escuro"] .pi-chip-filtro { background: rgba(29, 31, 46, .78); border-color: rgba(120, 140, 255, .25); color: #f1f1f5; }
body[data-op-tema="escuro"] .pi-chip-filtro.is-on { background: #f1f1f5; color: #131316; }
body[data-op-tema="escuro"] .pi-btn { background: #f1f1f5; color: #131316; }
body[data-op-tema="escuro"] .pi-btn--leve, body[data-op-tema="escuro"] .pi-redondo--claro { background: #2b2f4a; color: #f1f1f5; }
body[data-op-tema="escuro"] .pi-btn.is-limao, body[data-op-tema="escuro"] .pi-btn--limao, body[data-op-tema="escuro"] .pi-enviar.is-limao { background: var(--lima); color: #131316; }
body[data-op-tema="escuro"] .pi-enviar { background: #f1f1f5; color: #131316; }
body[data-op-tema="escuro"] .pi-link, body[data-op-tema="escuro"] .pi-card__tipo { color: #8ea2f8; }
body[data-op-tema="escuro"] .pi-ola, body[data-op-tema="escuro"] .pi-heroi__sub, body[data-op-tema="escuro"] .pi-topo__data { color: #f1f1f5; }
body[data-op-tema="escuro"] .pi-balao, body[data-op-tema="escuro"] .pi-balao::after { background: #1d1f2e; color: #f1f1f5; }
body[data-op-tema="escuro"] .pi-noticia__porque { background: #232640; color: #dfe5ff; }
body[data-op-tema="escuro"] .pi-num { background: #f1f1f5; color: #131316; }
body[data-op-tema="escuro"] .pi-tudo-pronto { background: #12342b; }
body[data-op-tema="escuro"] .pi-passo.is-feito { background: #12342b; }

/* escuro: selos sobre a arte seguem claros com texto preto; os chips e as divisórias acompanham o grafite */
body[data-op-tema="escuro"] .pi-selo:not(.pi-selo--hora):not(.pi-selo--escuro):not(.pi-selo--novo) { color: #131316; }
body[data-op-tema="escuro"] .pi-numero__d { background: #2b2f4a; color: #dfe1ee; }
body[data-op-tema="escuro"] .pi-numero__d--sobe { background: #12342b; color: #7fe0b8; }
body[data-op-tema="escuro"] .pi-noticias .pi-noticia + .pi-noticia, body[data-op-tema="escuro"] .pi-aviso + .pi-aviso { border-color: var(--pi-divisoria); }
body[data-op-tema="escuro"] .pi-noticias .pi-noticia:hover { background: var(--pi-cartao-hover); }
body[data-op-tema="escuro"] .pi-selo--novo { background: #1e2a5c; color: #dfe5ff; }
body[data-op-tema="escuro"] .pi-semanas i { background: #2b2f4a; }

/* «Pra se inspirar»: a fileira de artes do banco de modelos (o protótipo) */
.pi-vitrine { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: none; }
.pi-vitrine::-webkit-scrollbar { display: none; }
.pi-modelo { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 0; border: 0; background: none; text-align: left; scroll-snap-align: start; }
.pi-modelo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; box-shadow: 0 18px 30px -22px rgba(0, 0, 0, .6); transition: transform .35s var(--mola); }
.pi-modelo:hover img, .pi-modelo:focus-visible img { transform: translateY(-4px) rotate(-1deg); }
.pi-modelo b { font-size: 14px; font-weight: 600; padding-left: 2px; line-height: 1.3; }
#app#app .pi .pi-modelo { color: var(--tinta); }
body[data-op-tema="escuro"] #app#app .pi .pi-modelo { color: #f1f1f5; }
/* o ponto laranja de aviso em «Contas e redes» (o menu é da casca; o ponto só existe com o Início novo ligado) */
.pi-nav-alerta { margin-left: auto; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #ff7a45; box-shadow: 0 0 0 4px rgba(255, 122, 69, .18); }
@media (max-width: 860px) {
  .pi-vitrine { grid-auto-columns: 42%; margin: 0 -16px; padding: 4px 16px 14px; }
}
/* Revisão do pacote 78: o post da festa imita o card do Instagram (sempre claro), então o @ fica em tinta também no escuro; o × do pop-up
   tem tinta própria (no escuro o ícone herdava o branco sobre o fundo claro dele); no celular estreito o post desce e não fica sob o ×. */
.pi-festa__post { color: #131316; }
.pi-pop__x { color: #131316; }
@media (max-width: 360px) { .pi-festa__post { width: 140px; top: 56px; } }

/* Lote «Início que acerta» (23/11/2026): as ideias da semana automática dentro de «Pra hoje» e o interruptor da semana. */
.pi-ideias-bloco { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.pi-ideias { list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 8px; }
.pi-ideia { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: var(--raio); background: #fff; }
.pi-ideia div { display: flex; flex-direction: column; min-width: 0; }
.pi-ideia small { color: var(--tinta-3, #6b7280); }
.pi-semana-auto[aria-pressed="false"] { color: var(--tinta-3, #6b7280); }
