/* ===== Página aberta do perfil (S5) – só o que a landing não tem ===== */
.pp-hero { position: relative; padding: calc(var(--header-h) + clamp(32px, 6vw, 72px)) 0 clamp(40px, 6vw, 72px); overflow: hidden;
  background: radial-gradient(70% 60% at 85% 10%, var(--tint-lilac), transparent 70%), radial-gradient(60% 50% at 0% 100%, var(--tint-mint), transparent 70%); }
.pp-hero__inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.pp-avatar { position: relative; width: clamp(128px, 16vw, 176px); aspect-ratio: 1; border-radius: 50%; padding: 6px; background: var(--gradient-diagonal); box-shadow: var(--shadow-lg); }
.pp-avatar span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; border: 5px solid #fff; background: linear-gradient(135deg, var(--teal), var(--blue)); color: #fff; font: 900 clamp(2.6rem, 5vw, 3.6rem)/1 var(--font-display); }
.pp-avatar--off { background: var(--line); }
.pp-avatar--off span { background: var(--tint-lilac); color: var(--muted); }
.pp-avatar--off svg { width: 46%; height: 46%; }
.pp-name { margin: 6px 0 4px; font: 900 clamp(2.2rem, 5vw, 3.6rem)/1.05 var(--font-display); letter-spacing: -.02em; }
.pp-at { color: var(--muted); font: 800 1.125rem/1.3 var(--font-display); }
.pp-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.pp-facts li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 2px var(--line); color: var(--ink-soft); font: 700 .9375rem/1.3 var(--font-body); }
.pp-facts .icon { width: 18px; height: 18px; color: var(--indigo); }
.pp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (max-width: 720px) {
  .pp-hero__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .pp-facts, .pp-hero__actions { justify-content: center; }
}

.pp-content { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.pp-content--single { grid-template-columns: 1fr; max-width: 820px; margin-inline: auto; }
@media (max-width: 900px) { .pp-content { grid-template-columns: 1fr; } }
.pp-block h2, .pp-block h3 { margin-bottom: 16px; font-size: 1.375rem; }
.pp-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.pp-tile { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; border: 0; border-radius: var(--radius); overflow: hidden; color: rgb(255 255 255 / 60%); cursor: zoom-in;
  background: radial-gradient(120% 90% at 20% 10%, color-mix(in srgb, var(--a) 70%, #fff), var(--a) 45%, var(--b)); transition: transform .25s var(--ease-out), box-shadow .25s; }
.pp-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pp-tile svg { width: 38%; height: 38%; }
.pp-acts { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.pp-act { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--surface); text-align: left; cursor: pointer; transition: transform .25s var(--ease-out), box-shadow .25s, border-color .25s; }
.pp-act:hover { transform: translateY(-3px); border-color: transparent; box-shadow: var(--shadow); }
.pp-act__icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--c); color: #fff; box-shadow: 0 3px 0 color-mix(in srgb, var(--c) 70%, #000); }
.pp-act__icon svg { width: 28px; height: 28px; }
.pp-act__name { flex: 1; font: 800 1.0625rem/1.3 var(--font-display); color: var(--ink); }
.pp-act .pp-tile { width: 56px; border-radius: 14px; flex: none; }
.pp-act .pp-tile svg { width: 44%; height: 44%; }
.pp-note { margin-top: 14px; color: var(--muted); font-size: .9375rem; }

/* Convite com a bateria (variação 3) em faixa larga */
.pp-invite { position: relative; overflow: hidden; color: #fff; background: linear-gradient(120deg, var(--indigo), var(--purple) 55%, var(--magenta)); }
.pp-invite::before, .pp-invite::after { content: ""; position: absolute; border-radius: 50%; background: rgb(255 255 255 / 8%); }
.pp-invite::before { width: 520px; height: 520px; right: -160px; top: -220px; }
.pp-invite::after { width: 320px; height: 320px; left: -120px; bottom: -180px; }
.pp-invite__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.pp-invite h2 { margin: 18px 0 12px; color: #fff; font: 900 clamp(2rem, 4.4vw, 3rem)/1.08 var(--font-display); letter-spacing: -.02em; }
.pp-invite p { max-width: 560px; margin-bottom: 26px; color: rgb(255 255 255 / 90%); font-size: 1.125rem; line-height: 1.55; }
.pp-invite small { display: block; margin-top: 14px; color: rgb(255 255 255 / 80%); font-weight: 600; }
.pp-invite__chars { display: flex; align-items: flex-end; gap: 4px; }
.pp-invite__chars img { height: clamp(160px, 22vw, 240px); width: auto; filter: drop-shadow(0 18px 30px rgb(0 0 0 / 25%)); }
@media (max-width: 820px) { .pp-invite__inner { grid-template-columns: 1fr; text-align: center; } .pp-invite p { margin-inline: auto; } .pp-invite__chars { justify-content: center; } }
.pp-batt { display: inline-flex; align-items: center; gap: 16px; }
.pp-batt__body { position: relative; width: 132px; height: 60px; padding: 6px; border: 5px solid #fff; border-radius: 16px; }
.pp-batt__body::after { content: ""; position: absolute; right: -13px; top: 50%; width: 8px; height: 40%; transform: translateY(-50%); border-radius: 0 5px 5px 0; background: #fff; }
.pp-batt__fill { height: 100%; width: 100%; border-radius: 8px; background: var(--green); animation: pp-charge 2.4s var(--ease-spring) both, pp-glow 1.8s 2.4s ease-in-out infinite; }
.pp-batt__pct { font: 900 2.2rem/1 var(--font-display); }
@keyframes pp-charge { from { width: 6%; } to { width: 100%; } }
@keyframes pp-glow { 50% { filter: brightness(1.25); } }
@media (prefers-reduced-motion: reduce) { .pp-batt__fill { animation: none; } }

/* "O que é o Muvika" */
.pp-about__head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.pp-about__head .hero__title { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 14px; }
.pp-about__head p { max-width: 560px; color: var(--ink-soft); font-size: 1.125rem; line-height: 1.6; }
.pp-about__chars { display: flex; align-items: flex-end; }
.pp-about__chars img { height: clamp(150px, 18vw, 220px); width: auto; margin-left: -18px; }
@media (max-width: 820px) { .pp-about__head { grid-template-columns: 1fr; text-align: center; } .pp-about__head p { margin-inline: auto; } .pp-about__chars { justify-content: center; } }

/* "Entre para ver" */
.pp-gate { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgb(30 27 58 / 55%); animation: pp-fade .2s; }
.pp-gate[hidden] { display: none; }
.pp-gate__box { width: min(440px, 100%); padding: 32px 28px 24px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg); text-align: center; animation: pp-rise .35s var(--ease-spring); }
.pp-gate__box img { height: 120px; margin: -8px auto 8px; }
.pp-gate__box h3 { margin-bottom: 10px; font-size: 1.5rem; }
.pp-gate__box p { margin-bottom: 22px; color: var(--ink-soft); }
.pp-gate__box .btn { width: 100%; }
.pp-gate__box .btn + .btn { margin-top: 10px; }
@keyframes pp-fade { from { opacity: 0; } }
@keyframes pp-rise { from { transform: translateY(24px) scale(.97); opacity: 0; } }


/* Fotos reais */
.pp-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp-avatar img { width: 100%; height: 100%; border-radius: 50%; border: 5px solid #fff; object-fit: cover; display: block; }
.pp-act__icon svg { width: 28px; height: 28px; fill: currentColor; }
.pp-gate__box a.btn { width: 100%; }
.pp-gate__box a.btn + a.btn { margin-top: 10px; }
.pp-missing { padding: calc(var(--header-h) + 80px) 0 100px; text-align: center; }
.pp-missing img { height: 180px; margin: 0 auto 20px; }
.pp-missing h1 { margin-bottom: 12px; font: 900 clamp(2rem, 4vw, 2.8rem)/1.1 var(--font-display); }
.pp-missing p { margin-bottom: 28px; color: var(--ink-soft); font-size: 1.125rem; }

/* ===== Páginas compartilhadas: publicação, foto e galeria (compartilhamento, item 3) ===== */
/* The header is sticky (it already takes its space): only a small gap above the card. */
.sp { padding: clamp(14px, 3vw, 40px) 0 clamp(48px, 7vw, 88px);
  background: radial-gradient(70% 50% at 90% 0%, var(--tint-lilac), transparent 70%), radial-gradient(60% 40% at 0% 100%, var(--tint-mint), transparent 70%); }
.sp__inner { display: grid; gap: 24px; max-width: 640px; }
.sp__inner--wide { max-width: 900px; }
.sp-card { padding: clamp(16px, 3vw, 28px); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.sp-author { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--ink); text-decoration: none; }
.sp-author__avatar { width: 48px; height: 48px; flex: none; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--teal), var(--blue)); }
.sp-author__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-author__avatar span { display: grid; place-items: center; width: 100%; height: 100%; color: #fff; font: 900 1.2rem/1 var(--font-display); }
.sp-author__text b { display: block; font: 900 1.125rem/1.2 var(--font-display); }
.sp-author__text small { color: var(--muted); font-weight: 700; }
.sp-photos { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius); scrollbar-width: none; }
.sp-photos img { flex: 0 0 100%; width: 100%; height: auto; max-height: 78vh; object-fit: contain; background: var(--surface); border-radius: var(--radius); scroll-snap-align: start; }
.sp-gallery { position: relative; }
.sp-gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 92%); color: var(--ink); box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .2s var(--ease-out); }
.sp-gallery__nav:hover { transform: translateY(-50%) scale(1.06); }
.sp-gallery__nav[hidden] { display: none; }
.sp-gallery__nav--prev { left: 10px; }
.sp-gallery__nav--next { right: 10px; }
.sp-gallery__nav .icon { width: 22px; height: 22px; }
.sp-gallery__count { position: absolute; top: 10px; right: 10px; padding: 4px 10px; border-radius: 999px; background: rgb(20 18 40 / 62%); color: #fff; font: 800 .8125rem/1.3 var(--font-body); }
.sp-gallery__dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.sp-gallery__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--line); cursor: pointer; transition: width .2s, background .2s; }
.sp-gallery__dots button.is-on { width: 22px; border-radius: 4px; background: var(--indigo); }
.sp-photos:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; }
.sp-photos__hint { margin: 8px 0 0; text-align: center; color: var(--muted); font-weight: 700; font-size: .875rem; }
.sp-photo { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.sp-type { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.sp-type__icon { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 20px; background: var(--c); color: #fff; box-shadow: 0 4px 0 color-mix(in srgb, var(--c) 70%, #000); }
.sp-type__icon svg { width: 34px; height: 34px; fill: currentColor; }
.sp-type h1, .sp-title { margin: 0; font: 900 clamp(1.6rem, 4vw, 2.1rem)/1.1 var(--font-display); }
.sp-title { margin-top: 4px; }
.sp-title--top { margin: 0 0 14px; font-size: clamp(1.35rem, 3.5vw, 1.7rem); }
.sp-type p, .sp-meta { margin: 4px 0 0; color: var(--muted); font-weight: 800; }
.sp-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin: 18px 0 0; }
.sp-stats div { padding: 12px 14px; border-radius: var(--radius); box-shadow: inset 0 0 0 2px var(--line); }
.sp-stats dt { color: var(--muted); font-weight: 800; font-size: .8125rem; text-transform: uppercase; letter-spacing: .05em; }
.sp-stats dd { margin: 2px 0 0; font: 900 1.5rem/1.2 var(--font-display); }
.sp-exercises { margin: 14px 0 0; padding: 0; list-style: none; border-radius: var(--radius); box-shadow: inset 0 0 0 2px var(--line); }
.sp-exercises li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 2px solid var(--line); }
.sp-exercises li:first-child { border-top: 0; }
.sp-exercises .icon { width: 20px; height: 20px; flex: none; color: var(--green); }
.sp-exercises .is-skipped { opacity: .55; }
.sp-exercises .is-skipped .icon { color: var(--muted); }
.sp-exercises b { display: block; font-weight: 800; }
.sp-exercises small { color: var(--muted); font-weight: 700; }
.sp-text { margin: 18px 0 0; font-size: 1.125rem; line-height: 1.55; color: var(--ink); white-space: pre-line; }
.sp-counts { display: flex; flex-wrap: wrap; gap: 18px; margin: 18px 0 0; color: var(--ink-soft); font-weight: 800; }
.sp-counts span { display: inline-flex; align-items: center; gap: 6px; }
.sp-counts .icon { width: 20px; height: 20px; color: var(--muted); }
.sp-link { display: inline-block; margin-top: 14px; color: var(--indigo); font-weight: 800; text-decoration: none; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.sp-grid a { display: block; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; }
.sp-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s var(--ease-out); }
.sp-grid a:hover img { transform: scale(1.04); }
.sp-cta { display: flex; align-items: center; gap: 18px; padding: clamp(16px, 3vw, 24px); border-radius: var(--radius-lg); color: #fff; background: linear-gradient(120deg, var(--indigo), var(--purple) 55%, var(--magenta)); }
.sp-cta img { width: 88px; height: auto; flex: none; filter: drop-shadow(0 10px 18px rgb(0 0 0 / 25%)); }
.sp-cta h2 { margin: 0 0 6px; color: #fff; font: 900 1.5rem/1.15 var(--font-display); }
.sp-cta p { margin: 0 0 14px; color: rgb(255 255 255 / 90%); line-height: 1.45; }
.sp-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sp-cta__actions--center { justify-content: center; }
.sp-cta .btn--soft { background: #fff; }
.sp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 560px) { .sp-cta { flex-direction: column; text-align: center; } .sp-cta__actions { justify-content: center; } }

/* ===== "Não concordo" (moderação, item 4) ===== */
.md-appeal { max-width: 560px; margin: 0 auto; }
.md-appeal h1 { margin: 0 0 10px; font: 900 clamp(1.6rem, 3.4vw, 2.1rem)/1.15 var(--font-display); }
.md-appeal > p { margin: 0 0 18px; color: var(--ink-soft); line-height: 1.5; }
.md-appeal > img { display: block; height: 120px; width: auto; margin: 0 auto 10px; }
.md-appeal__box { display: grid; gap: 4px; margin: 0 0 18px; padding: 14px 16px; border-radius: 16px; background: var(--tint-lilac); }
.md-appeal__box span { color: var(--ink-soft); }
.md-appeal form { display: grid; gap: 10px; }
.md-appeal label { font-weight: 800; }
.md-appeal textarea { width: 100%; padding: 12px 14px; border: 2px solid var(--line, #e6e3f0); border-radius: 14px; font: inherit; resize: vertical; }
.md-appeal .btn { justify-self: start; }
