/* ==========================================================================
   MukFit - Apresentacao (marketing) em /apresentacao.
   Palco escuro de cinema com fotos reais ao fundo + celular com a interface
   do aplicativo (tema Ceu Azul) animada pelo apresentacao.js.
   ========================================================================== */

:root {
  --ink: #05080F;
  --ink-2: #0A1120;
  --stroke: rgba(255, 255, 255, .14);
  --glass: rgba(255, 255, 255, .07);
  --glass-2: rgba(255, 255, 255, .13);
  --tx: #F2F6FC;
  --tx-2: #BCC7D8;
  --tx-3: #8390A6;
  --g1: #19E3A0;
  --g2: #1EA7FF;
  --g3: #E23CC4;
  --gold: #FFC83D;
  --grad: linear-gradient(100deg, var(--g1), var(--g2) 50%, var(--g3));
  /* Interface do aplicativo */
  --a-tx: #0B1A2C;
  --a-mu: #2E4A66;
  --a-fa: #557391;
  --a-card: rgba(23, 62, 110, .16);
  --a-card-2: rgba(255, 255, 255, .55);
  --a-line: rgba(255, 255, 255, .32);
  --a-dark: #0B0F17;
  --a-ac: #2F8FE0;
  --a-ok: #16A34A;
  --a-purple: #7C3AED;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--ink);
  color: var(--tx);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.bi { line-height: 1; display: inline-block; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ==========================================================================
   Player
   ========================================================================== */
.player { position: fixed; inset: 0; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; background: var(--ink); padding: env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left); }

/* Foto de fundo: duas camadas que se alternam com Ken Burns */
.pl-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.pl-bg .ph { position: absolute; inset: -4%; background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease; will-change: transform, opacity; }
.pl-bg .ph.on { opacity: 1; animation: kb 16s ease-out forwards; }
@keyframes kb { from { transform: scale(1.14) translate3d(1.5%, 1%, 0); } to { transform: scale(1.02) translate3d(-1%, -1%, 0); } }
.pl-bg::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(5, 8, 15, .94) 0%, rgba(5, 8, 15, .78) 38%, rgba(5, 8, 15, .45) 70%, rgba(5, 8, 15, .7) 100%),
  linear-gradient(0deg, rgba(5, 8, 15, .95) 0%, transparent 30%, transparent 75%, rgba(5, 8, 15, .7) 100%); }
.pl-glow { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(38% 46% at 10% 85%, rgba(25, 227, 160, .14), transparent 70%), radial-gradient(40% 50% at 92% 20%, rgba(226, 60, 196, .16), transparent 70%), radial-gradient(50% 60% at 70% 70%, rgba(30, 167, 255, .14), transparent 70%); }
.grain { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.paused .pl-bg .ph.on { animation-play-state: paused; }

.pl-top { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; font-size: 17px; }
.brand img { width: 32px; height: 32px; }
.pl-count { color: var(--tx-3); font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; }
.pl-top-r { display: flex; gap: 6px; }
.pl-ic { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--stroke); background: rgba(255, 255, 255, .06); display: grid; place-items: center; font-size: 18px; color: var(--tx); transition: background .2s, transform .15s; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); text-decoration: none; }
.pl-ic:hover { background: rgba(255, 255, 255, .14); }
.pl-ic:active { transform: scale(.92); }
.pl-ic:focus-visible { outline: 2px solid var(--g2); outline-offset: 2px; }
.pl-ic.main { width: 56px; height: 56px; font-size: 24px; background: #fff; color: #05080F; border-color: transparent; }
.pl-ic.off { color: var(--tx-3); }

.pl-stage { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(16px, 4vw, 64px); padding: 0 clamp(16px, 5vw, 88px); min-height: 0; }
.pl-stage.solo { grid-template-columns: 1fr; }
.pl-stage.solo .pl-copy { display: none; }
.pl-copy { position: relative; min-height: 0; max-width: 580px; }
.pl-dev { position: relative; height: 100%; min-height: 0; }

/* Texto do slide */
.cp { display: grid; gap: 14px; }
.cp > * { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); }
.cp.in > * { opacity: 1; transform: none; }
.cp.in > :nth-child(2) { transition-delay: .1s; }
.cp.in > :nth-child(3) { transition-delay: .22s; }
.cp.in > :nth-child(4) { transition-delay: .34s; }
.cp.out > * { opacity: 0; transform: translateY(-12px); transition-duration: .3s; transition-delay: 0s; }
.cp-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--g1); }
.cp-eyebrow .n { display: inline-grid; place-items: center; min-width: 30px; height: 24px; padding: 0 7px; border-radius: 8px; background: rgba(25, 227, 160, .14); font-variant-numeric: tabular-nums; }
.cp h2 { margin: 0; font-size: clamp(30px, 3.9vw, 58px); line-height: 1.03; letter-spacing: -.04em; font-weight: 900; text-wrap: balance; }
.cp p { margin: 0; font-size: clamp(15px, 1.35vw, 18.5px); color: var(--tx-2); max-width: 52ch; }
.cp ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 9px; }
.cp li { display: flex; align-items: flex-start; gap: 10px; font-size: clamp(14px, 1.15vw, 16px); font-weight: 600; opacity: 0; transform: translateX(-10px); transition: opacity .5s, transform .5s; }
.cp.in li { opacity: 1; transform: none; }
.cp li .bi { margin-top: 3px; font-size: 17px; color: var(--g1); }
.cp-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.btn-cta { display: inline-flex; align-items: center; gap: 9px; padding: 14px 22px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 800; text-decoration: none; border: 0; box-shadow: 0 18px 40px -16px rgba(30, 167, 255, .9); }
.btn-cta.ghost { background: rgba(255, 255, 255, .08); border: 1px solid var(--stroke); box-shadow: none; }
.btn-cta:hover { filter: brightness(1.08); }

/* Barra inferior */
.pl-bottom { position: relative; z-index: 5; padding: 8px 16px max(14px, env(safe-area-inset-bottom)); }
.pl-segs { display: flex; gap: 4px; margin: 0 auto 10px; max-width: 1100px; }
.pl-seg { flex: 1; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .16); border: 0; padding: 0; position: relative; overflow: hidden; cursor: pointer; }
.pl-seg::after { content: ''; position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0)); background: var(--grad); border-radius: 3px; }
.pl-seg.done::after { transform: none; }
.pl-seg:hover { background: rgba(255, 255, 255, .3); }
.pl-seg::before { content: ''; position: absolute; inset: -8px 0; }
.pl-ctrls { display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 1100px; margin: 0 auto; }
.pl-chap { flex: 1; min-width: 0; color: var(--tx-2); font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }

/* Capitulos */
.pl-menu { position: absolute; z-index: 7; top: 64px; right: 14px; width: min(340px, calc(100% - 28px)); max-height: calc(100% - 170px); overflow: auto; padding: 14px; border-radius: 20px; background: rgba(10, 16, 30, .95); border: 1px solid var(--stroke); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.pl-menu h2 { margin: 2px 6px 10px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--tx-3); }
.pl-menu ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.pl-menu button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; border: 0; background: transparent; text-align: left; font-weight: 600; font-size: 14px; }
.pl-menu button:hover { background: rgba(255, 255, 255, .07); }
.pl-menu button.on { background: rgba(30, 167, 255, .22); }
.pl-menu .n { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); font-size: 12px; color: var(--tx-2); flex-shrink: 0; }

/* Abertura (gesto que libera o som) */
.pl-gate { position: absolute; inset: 0; z-index: 9; display: grid; place-items: center; padding: 20px; overflow: hidden; background: var(--ink); }
.gate-bg { position: absolute; inset: -4%; background: url('fotos/hero.jpg') center/cover; opacity: .55; animation: kb 22s ease-out infinite alternate; }
.gate-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgba(5, 8, 15, .55), rgba(5, 8, 15, .95)); }
.gate-card { position: relative; text-align: center; max-width: 560px; display: grid; justify-items: center; gap: 14px; animation: rise .9s cubic-bezier(.2, .8, .2, 1); }
.gate-card img { width: 96px; height: 96px; filter: drop-shadow(0 20px 40px rgba(30, 167, 255, .45)); }
.kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; background: var(--glass); border: 1px solid var(--stroke); color: var(--tx-2); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--g1); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(25, 227, 160, .7); } 70% { box-shadow: 0 0 0 10px rgba(25, 227, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(25, 227, 160, 0); } }
.gate-card h1 { margin: 0; font-size: clamp(34px, 6vw, 62px); line-height: 1.02; letter-spacing: -.045em; font-weight: 900; }
.gate-card p { margin: 0; color: var(--tx-2); font-size: clamp(15px, 1.6vw, 18px); }
.btn-play { margin-top: 10px; display: inline-flex; align-items: center; gap: 10px; padding: 17px 32px; border-radius: 999px; border: 0; background: var(--grad); color: #fff; font-weight: 800; font-size: 17px; box-shadow: 0 20px 50px -14px rgba(30, 167, 255, .95); animation: glow 2.4s ease-in-out infinite; }
.btn-play .bi { font-size: 22px; }
@keyframes glow { 50% { box-shadow: 0 20px 60px -8px rgba(226, 60, 196, .95); transform: scale(1.03); } }
.btn-link { border: 0; background: none; color: var(--tx-2); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; padding: 4px; }
.gate-meta { display: flex; gap: 16px; color: var(--tx-3); font-size: 13px; font-weight: 600; }
.gate-meta span { display: inline-flex; align-items: center; gap: 6px; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

.pl-toast { position: absolute; z-index: 10; left: 50%; bottom: 120px; transform: translate(-50%, 20px); padding: 11px 18px; border-radius: 999px; background: #fff; color: #05080F; font-weight: 700; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.pl-toast.show { opacity: 1; transform: translate(-50%, 0); }

.player.paused .pl-dev *, .player.paused .pl-dev *::before, .player.paused .pl-dev *::after { animation-play-state: paused !important; }

@media (max-width: 860px), (max-aspect-ratio: 1/1) {
  .pl-stage { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: 10px; padding: 0 16px; align-items: stretch; }
  .pl-dev { order: 0; }
  .pl-copy { order: 1; max-width: none; padding-bottom: 4px; }
  .plans.stack { grid-template-columns: 1fr; width: 380px; gap: 12px; }
  .plans.stack .plan { padding: 16px 18px; }
  .plans.stack .plan.hot { transform: none; }
  .plans.stack ul { grid-template-columns: 1fr 1fr; gap: 6px 10px; }
  .plans.stack li { font-size: 12px; }
  .plans.stack .pi { width: 40px; height: 40px; font-size: 19px; margin-bottom: 8px; }
  .plans.stack h4 { font-size: 21px; }
  .cp { gap: 8px; }
  .cp h2 { font-size: clamp(23px, 6.4vw, 34px); }
  .cp p { font-size: 14.5px; }
  .cp ul { display: none; }
  .cp-eyebrow { font-size: 11px; }
  .pl-chap { display: none; }
  .pl-ctrls { justify-content: space-between; }
  .pl-top { padding: 8px 12px; }
  .pl-ic { width: 40px; height: 40px; }
  .pl-ic.main { width: 50px; height: 50px; }
  .cp-cta { gap: 8px; margin-top: 2px; }
  .btn-cta { padding: 10px 15px; font-size: 13.5px; }
  .pl-stage:has(.cp-cta) .cp p { display: none; }
  .pl-bg::after { background: linear-gradient(0deg, rgba(5, 8, 15, .97) 0%, rgba(5, 8, 15, .8) 34%, rgba(5, 8, 15, .55) 100%); }
}
@media (max-width: 420px) { .pl-count { display: none; } .brand span { display: none; } }

/* ==========================================================================
   Aparelhos e composicoes
   ========================================================================== */
.dv { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; transform-origin: center; transition: opacity .55s ease, filter .55s ease; will-change: transform; }
.dv.enter { animation: devIn .9s cubic-bezier(.2, .8, .2, 1) both; }
.dv.leave { opacity: 0; filter: blur(6px); pointer-events: none; }
@keyframes devIn { from { opacity: 0; filter: blur(8px); margin-top: 40px; } }

.phone { position: relative; z-index: 2; width: 320px; height: 660px; border-radius: 52px; padding: 11px; background: linear-gradient(145deg, #2C3444, #0A0E16 55%, #1E2533); box-shadow: 0 60px 100px -40px rgba(0, 0, 0, .95), 0 0 0 1.5px rgba(255, 255, 255, .14) inset, 0 0 90px -20px rgba(30, 167, 255, .5); }
.phone::before { content: ''; position: absolute; right: -3px; top: 150px; width: 3px; height: 70px; border-radius: 0 3px 3px 0; background: #2C3444; }
.phone::after { content: ''; position: absolute; left: -3px; top: 120px; width: 3px; height: 44px; border-radius: 3px 0 0 3px; background: #2C3444; box-shadow: 0 64px 0 #2C3444; }
.scr { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; color: var(--a-tx); font-size: 13px; line-height: 1.35; isolation: isolate; background: #69B7EA; }
/* Tema "Ceu Azul" do aplicativo, com as ondas do fundo */
.scr.sky { background:
  radial-gradient(140% 60% at 120% 30%, rgba(255, 255, 255, .18) 0 40%, transparent 41%),
  radial-gradient(130% 55% at -30% 62%, rgba(20, 70, 140, .16) 0 45%, transparent 46%),
  radial-gradient(150% 50% at 110% 95%, rgba(20, 70, 140, .18) 0 40%, transparent 41%),
  linear-gradient(180deg, #9AD8F6 0%, #6DBBEC 40%, #4A9BDD 100%); }
.scr.black { background: #000; color: #fff; }
.scr.img { background: #000 center/cover no-repeat; }
.island { position: absolute; z-index: 30; left: 50%; top: 10px; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 20px; background: #000; }
.sbar { position: relative; z-index: 20; height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 6px 26px 0 30px; font-weight: 700; font-size: 13px; }
.sbar span { display: flex; gap: 5px; font-size: 13px; }
.sbar.light { color: #fff; }
.hbar { position: absolute; z-index: 40; left: 50%; bottom: 7px; transform: translateX(-50%); width: 112px; height: 4px; border-radius: 3px; background: rgba(11, 26, 44, .8); }
.scr.black .hbar { background: rgba(255, 255, 255, .8); }

.browser { position: relative; z-index: 2; width: 880px; height: 560px; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 60px 100px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .12), 0 0 90px -30px rgba(226, 60, 196, .5); display: flex; flex-direction: column; }
.b-bar { height: 42px; flex-shrink: 0; display: flex; align-items: center; gap: 12px; padding: 0 14px; background: #E9EDF3; border-bottom: 1px solid #D6DCE5; color: #3B4453; }
.b-dots { display: flex; gap: 7px; }
.b-dots i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; }
.b-dots i:nth-child(2) { background: #FEBC2E; }
.b-dots i:nth-child(3) { background: #28C840; }
.b-url { flex: 1; max-width: 520px; margin: 0 auto; height: 28px; border-radius: 8px; background: #fff; display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 13px; font-weight: 500; }
.b-url .bi { color: #15803D; font-size: 12px; }
.browser .scr { border-radius: 0; flex: 1; height: auto; }

/* Dedo */
.finger { position: absolute; z-index: 60; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(11, 26, 44, .2); border: 2px solid rgba(255, 255, 255, .95); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); opacity: 0; transition: left .7s cubic-bezier(.45, .05, .25, 1), top .7s cubic-bezier(.45, .05, .25, 1), opacity .3s, transform .15s; pointer-events: none; }
.finger.on { opacity: 1; }
.finger.press { transform: scale(.78); background: rgba(47, 143, 224, .4); }
.ripple { position: absolute; z-index: 59; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: rgba(255, 255, 255, .6); pointer-events: none; animation: rip .6s ease-out forwards; }
@keyframes rip { to { transform: scale(5); opacity: 0; } }

/* Composicoes com fotos ("recortes" com bordas que somem no fundo) */
.art { position: relative; width: 100%; height: 100%; }
.cut { position: absolute; z-index: 1; background: center/cover no-repeat; -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); }
.cut.soft { -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent), linear-gradient(0deg, transparent, #000 25%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent), linear-gradient(0deg, transparent, #000 25%); mask-composite: intersect; }
.frame { position: absolute; z-index: 1; border-radius: 26px; overflow: hidden; background: center/cover no-repeat; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .14); }
.frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .55)); }
.frame .cap { position: absolute; z-index: 2; left: 16px; bottom: 14px; right: 16px; color: #fff; font-weight: 800; font-size: 15px; display: flex; align-items: center; gap: 8px; }

/* Chips flutuantes sobre a composicao */
.fl { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 18px; background: rgba(255, 255, 255, .96); color: #0B1A2C; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .7); white-space: nowrap; }
.fl .fi { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 18px; background: var(--c, #1EA7FF); }
.fl b { display: block; font-size: 14px; letter-spacing: -.01em; }
.fl small { display: block; font-size: 11.5px; color: #4A5E75; font-weight: 600; }
.fl.dark { background: rgba(11, 15, 23, .9); color: #fff; border: 1px solid rgba(255, 255, 255, .12); }
.fl.dark small { color: #A9B6C9; }
.bob { animation: bob 4.5s ease-in-out infinite; }
.bob.d2 { animation-delay: -1.5s; }
.bob.d3 { animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-9px); } }

/* Abertura */
.hero-word { position: absolute; z-index: 3; left: 0; right: 0; text-align: center; font-weight: 900; letter-spacing: -.05em; line-height: .9; font-size: 120px; text-transform: uppercase; }
.hero-word span { display: block; }
.outline { color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .55); }
.big-logo { position: absolute; z-index: 5; display: grid; justify-items: center; gap: 12px; }
.big-logo img { width: 190px; height: 190px; filter: drop-shadow(0 30px 60px rgba(30, 167, 255, .55)); }
/* Circulos girando em volta do logotipo */
.orbit { position: relative; display: grid; place-items: center; }
.orbit > img { position: relative; z-index: 2; }
.orb { position: absolute; z-index: 0; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); pointer-events: none; }
.orb.o1 { width: 520px; height: 520px; margin: -260px 0 0 -260px; animation: spin 40s linear infinite; }
.orb.o2 { width: 370px; height: 370px; margin: -185px 0 0 -185px; animation: spin 28s linear infinite reverse; }
.orb.o3 { width: 300px; height: 300px; margin: -150px 0 0 -150px; border-color: rgba(25, 227, 160, .32); }
.orb i { position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--g1); box-shadow: 0 0 20px var(--g1); }
.orb.o2 i { background: var(--g3); box-shadow: 0 0 20px var(--g3); top: auto; bottom: -7px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Logotipo com a mesma assinatura da pagina inicial (default.php .logo-wrapper):
   brilhos azul/laranja, aneis em gradiente girando, anel pulsando e flutuacao. */
.mlogo { position: relative; display: block; flex-shrink: 0; }
.mlogo > img, .big-logo .mlogo > img, .gate-card .mlogo > img { position: absolute; inset: 0%; width: 100%; height: 100%; object-fit: contain; animation: mlgFloat 3.8s ease-in-out infinite, mlgBreathe 4.2s ease-in-out infinite; filter: drop-shadow(0 0 14px rgba(0, 163, 229, .55)); z-index: 5; }
.mlg-ring { position: absolute; border-radius: 50%; border: 2px solid transparent; }
.mlg-r1 { inset: 0; border-top-color: rgba(0, 190, 255, .9); border-right-color: rgba(0, 100, 255, .4); border-bottom-color: rgba(248, 94, 2, .9); border-left-color: rgba(248, 60, 2, .4); animation: spin 4s linear infinite; }
.mlg-r2 { inset: 8%; border-width: 1.5px; border-top-color: rgba(248, 120, 0, .6); border-right-color: rgba(0, 180, 255, .6); border-bottom-color: rgba(0, 80, 255, .4); border-left-color: rgba(248, 60, 2, .4); animation: spin 4s linear infinite reverse; }
.mlg-r3 { inset: 4%; border-width: 1px; border-color: rgba(0, 163, 229, .15); animation: mlgPulse 3s ease-in-out infinite; }
.mlg-glow-b, .mlg-glow-o { position: absolute; width: 55%; height: 55%; border-radius: 50%; filter: blur(22px); pointer-events: none; }
.mlg-glow-b { background: rgba(0, 140, 255, .25); top: 20%; left: 5%; animation: mlgGlow1 2.4s ease-in-out infinite; }
.mlg-glow-o { background: rgba(255, 90, 0, .18); top: 20%; right: 5%; animation: mlgGlow2 3.6s ease-in-out infinite; }
@keyframes mlgFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes mlgBreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes mlgPulse { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes mlgGlow1 { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes mlgGlow2 { 0%, 100% { opacity: .8; } 50% { opacity: .3; } }
/* Versao do menu do site (nav-logo-wrap) para a marca no topo */
.nlogo { position: relative; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand .nlogo img { position: relative; width: 37px; height: 37px; object-fit: contain; z-index: 5; animation: nlgFloat 3.8s ease-in-out infinite; filter: drop-shadow(0 0 8px rgba(0, 163, 229, .6)); }
.nlr { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid transparent; }
.nlr-1 { border-top-color: rgba(0, 190, 255, .9); border-right-color: rgba(0, 100, 255, .4); border-bottom-color: rgba(248, 94, 2, .9); border-left-color: rgba(248, 60, 2, .4); animation: spin 4s linear infinite; }
.nlr-2 { inset: 5px; border-width: 1px; border-top-color: rgba(248, 120, 0, .6); border-right-color: rgba(0, 180, 255, .6); border-bottom-color: rgba(0, 80, 255, .4); border-left-color: rgba(248, 60, 2, .4); animation: spin 4s linear infinite reverse; }
@keyframes nlgFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.big-logo b { font-size: 46px; font-weight: 900; letter-spacing: -.04em; }

/* ==========================================================================
   Interface do aplicativo
   ========================================================================== */
.ui { position: absolute; inset: 0; display: flex; flex-direction: column; padding-top: 46px; }
.ui > [data-k="v"] { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.ui-body { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.ui-scroll { padding: 0 12px 100px; transition: transform 1s cubic-bezier(.45, .05, .25, 1); }
.fx { opacity: 0; transform: translateY(14px); transition: opacity .5s cubic-bezier(.2, .8, .2, 1), transform .5s cubic-bezier(.2, .8, .2, 1), background .3s, box-shadow .3s; }
.fx.l { transform: translateX(-24px); }
.fx.r { transform: translateX(24px); }
.fx.z { transform: scale(.85); }
.fx.in { opacity: 1; transform: none; }
.hide { display: none !important; }
.press { transform: scale(.96) !important; }

.ab { display: flex; align-items: center; gap: 10px; padding: 2px 14px 10px; }
.ab h3 { margin: 0; flex: 1; font-size: 18px; letter-spacing: -.02em; font-weight: 800; }
.ab .back { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; background: rgba(255, 255, 255, .35); }
.ttl { text-align: center; padding: 0 14px 6px; }
.ttl h3 { margin: 0; font-size: 22px; letter-spacing: -.03em; font-weight: 800; }
.ttl h4 { margin: 0; font-size: 17px; font-weight: 800; }
.h-title { font-size: 15px; font-weight: 800; margin: 14px 4px 8px; letter-spacing: -.01em; }

.hello { margin: 0 6px 12px; padding: 12px; border-radius: 14px; display: flex; align-items: center; gap: 12px; background: linear-gradient(100deg, #19D38C, #1EA7FF 45%, #C33CE0 85%); color: #0B1A2C; }
.hello b { display: block; font-size: 17px; }
.hello small { font-size: 12.5px; font-weight: 600; }
.bell { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .3); display: grid; place-items: center; position: relative; font-size: 16px; }
.bell i.n { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; border-radius: 9px; background: #111; color: #fff; font-size: 10px; font-style: normal; font-weight: 800; display: grid; place-items: center; }

.card { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 14px; padding: 11px 12px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.card + .card { margin-top: 8px; }
.card.hl { box-shadow: 0 0 0 2.5px #fff, 0 10px 24px -8px rgba(11, 26, 44, .4); }
.row { display: flex; align-items: center; gap: 10px; }
.grow { flex: 1; min-width: 0; }
.t1 { font-weight: 800; font-size: 14px; letter-spacing: -.01em; }
.t2 { color: var(--a-mu); font-size: 11.5px; font-weight: 600; }
.t3 { color: var(--a-fa); font-size: 11px; }
.ell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dots { color: var(--a-tx); font-size: 16px; }

.pillbtn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 16px; border-radius: 999px; background: #0B0F17; color: #fff; font-weight: 700; font-size: 12.5px; border: 0; white-space: nowrap; transition: transform .15s; }
.pillbtn.ghost { background: rgba(255, 255, 255, .35); color: var(--a-tx); border: 1px solid var(--a-line); }
.pillbtn.wide { width: 100%; height: 46px; border-radius: 14px; font-size: 14px; letter-spacing: .02em; }
.pillbtn.green { background: #16A34A; }
.pillbtn.blue { background: #2F8FE0; }
.pillbtn.ig { background: linear-gradient(90deg, #F58529, #DD2A7B 50%, #8134AF); }
.pillbtn.sm { height: 30px; padding: 0 12px; font-size: 11.5px; }
.fab { position: absolute; z-index: 24; right: 14px; bottom: 94px; display: flex; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: #0B0F17; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .02em; }
.tag.lt { background: rgba(255, 255, 255, .5); color: var(--a-tx); }
.tag.ok { background: #16A34A; }
.tag.gold { background: #F5B301; color: #0B1A2C; }
.tag.pu { background: #7C3AED; }
.chips { display: flex; gap: 6px; flex-wrap: nowrap; overflow: hidden; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .3); border: 1px solid var(--a-line); font-size: 11.5px; font-weight: 700; white-space: nowrap; transition: background .25s, color .25s; }
.chip.on { background: #0B0F17; color: #fff; border-color: #0B0F17; }

.av { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; background: var(--c, #2F8FE0) center/cover; border: 2px solid rgba(255, 255, 255, .7); }
.av.sm { width: 30px; height: 30px; font-size: 11px; }
.av.lg { width: 70px; height: 70px; font-size: 22px; }

/* Tab bar escura do aplicativo */
.tabbar { position: absolute; z-index: 25; left: 0; right: 0; bottom: 0; height: 82px; padding: 8px 6px 20px; background: #1C2633; display: flex; justify-content: space-around; border-radius: 18px 18px 0 0; }
.tabbar span { display: grid; justify-items: center; gap: 3px; font-size: 10px; font-weight: 600; color: #D7E1EC; }
.tabbar .ti { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; background: rgba(255, 255, 255, .06); transition: background .3s; }
.tabbar .on .ti { background: #3BA3D9; }
.tabbar .on { color: #fff; font-weight: 800; }

/* Rotinas / dias */
.day { position: relative; }
.day .top { display: flex; align-items: center; gap: 8px; }
.day .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; }
.day .stats b { display: block; font-size: 12.5px; }
.day .stats small { display: block; font-size: 9.5px; color: var(--a-mu); font-weight: 600; }

/* Exercicio */
.ex { display: flex; gap: 10px; align-items: center; padding: 0; overflow: hidden; }
.ex .thumb { width: 74px; height: 74px; flex-shrink: 0; border-radius: 12px; background: #fff center/cover no-repeat; margin: 6px 0 6px 6px; }
.ex .info { flex: 1; min-width: 0; padding: 6px 4px 6px 0; }
.ex .info .t1 { font-size: 13px; line-height: 1.2; }
.ex .mus { font-size: 11px; color: var(--a-mu); }
.ex .mus b { color: var(--a-tx); }
.ex .srs { font-size: 12px; font-weight: 600; margin-top: 3px; }
.ex .ck { width: 26px; height: 26px; border-radius: 8px; margin-right: 10px; border: 2px solid rgba(11, 26, 44, .4); display: grid; place-items: center; color: #fff; font-size: 14px; transition: background .25s, border-color .25s; flex-shrink: 0; }
.ex .ck.on { background: #16A34A; border-color: #16A34A; }

/* Execucao do treino */
.exec-img { width: 168px; height: 168px; margin: 4px auto 8px; border-radius: 18px; background: #fff center/cover no-repeat; box-shadow: 0 10px 24px -10px rgba(11, 26, 44, .5); }
.exec-name { text-align: center; font-weight: 800; font-size: 15px; letter-spacing: -.02em; padding: 0 12px; }
.prog { margin: 8px 14px 0; height: 20px; border-radius: 10px; background: rgba(255, 255, 255, .45); position: relative; overflow: hidden; }
.prog i { position: absolute; left: 0; top: 0; bottom: 0; width: 14%; background: #0B0F17; border-radius: 10px; transition: width .8s; }
.prog b { position: absolute; left: 10px; top: 2px; font-size: 11px; color: #fff; z-index: 2; }
.srk { margin: 8px 10px 0; padding: 8px 10px; border-radius: 14px; background: rgba(23, 62, 110, .18); display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.srk small { font-size: 10.5px; font-weight: 700; color: var(--a-mu); }
.srk b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.timer { text-align: center; margin-top: 8px; }
.timer small { display: block; font-weight: 800; font-size: 11px; letter-spacing: .04em; }
.timer b { display: block; font-size: 38px; font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; font-family: 'Inter', monospace; }
.timer.rest b { color: #fff; text-shadow: 0 2px 12px rgba(11, 26, 44, .4); }
.settbl { margin: 6px 10px 0; font-size: 12px; }
.settbl .tr { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr; text-align: center; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .35); font-weight: 700; transition: background .3s; border-radius: 8px; }
.settbl .tr.th { font-weight: 800; color: var(--a-mu); font-size: 11px; }
.settbl .tr.cur { background: rgba(255, 255, 255, .35); }
.settbl .tr.done { color: #0E6B32; }
.exec-bar { position: absolute; z-index: 24; left: 12px; right: 12px; bottom: 24px; display: flex; gap: 8px; }
.exec-bar .pillbtn { height: 52px; border-radius: 14px; }
.ring { position: relative; width: 150px; height: 150px; margin: 6px auto 0; }
.ring svg { width: 150px; height: 150px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring .bg { stroke: rgba(255, 255, 255, .35); }
.ring .fg { stroke: #0B0F17; stroke-linecap: round; stroke-dasharray: 440; stroke-dashoffset: 0; transition: stroke-dashoffset 1s linear; }
.ring .lbl { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; text-align: center; }
.ring .lbl small { font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.ring .lbl b { font-size: 34px; font-weight: 900; font-variant-numeric: tabular-nums; }

/* Resumo do treino */
.resumo-h { margin: 0 0 8px; padding: 12px 14px; display: flex; align-items: center; gap: 8px; background: linear-gradient(90deg, #6D28D9, #8B5CF6); color: #fff; font-weight: 800; letter-spacing: .08em; font-size: 12.5px; text-transform: uppercase; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.kpi { border-radius: 12px; padding: 8px 10px; background: rgba(23, 62, 110, .2); border: 1px solid var(--a-line); }
.kpi small { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: .06em; color: var(--a-mu); text-transform: uppercase; }
.kpi b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.confetti { position: absolute; z-index: 50; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 8px; height: 14px; border-radius: 2px; animation: fall 2.4s cubic-bezier(.3, .6, .6, 1) forwards; }
@keyframes fall { to { transform: translate3d(var(--dx, 0), 720px, 0) rotate(var(--r, 540deg)); opacity: .2; } }
.done-badge { position: absolute; z-index: 45; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; background: rgba(105, 183, 234, .85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; pointer-events: none; }
.done-badge.in { opacity: 1; }
.done-badge .tro { width: 96px; height: 96px; border-radius: 50%; background: #0B0F17; color: #FFC83D; display: grid; place-items: center; font-size: 46px; transform: scale(.3); transition: transform .6s cubic-bezier(.2, .9, .25, 1.4); box-shadow: 0 0 0 12px rgba(11, 15, 23, .15), 0 0 0 26px rgba(11, 15, 23, .07); }
.done-badge.in .tro { transform: none; }
.done-badge b { font-size: 21px; letter-spacing: -.02em; }
.done-badge small { font-size: 12.5px; font-weight: 600; color: var(--a-mu); max-width: 230px; }

/* Feed */
.post { background: rgba(23, 62, 110, .16); border: 1px solid var(--a-line); border-radius: 16px; overflow: hidden; }
.post + .post { margin-top: 10px; }
.post .ph-head { display: flex; align-items: center; gap: 9px; padding: 10px 10px 8px; }
.post .media { height: 190px; background: #000 center/cover no-repeat; position: relative; }
.post .media .play { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; display: grid; place-items: center; font-size: 22px; border: 2px solid rgba(255, 255, 255, .8); }
.post .acts { display: flex; align-items: center; gap: 14px; padding: 8px 12px 10px; font-weight: 700; font-size: 12.5px; }
.post .acts span { display: inline-flex; align-items: center; gap: 5px; transition: transform .2s; }
.post .acts .liked { color: #E11D48; transform: scale(1.15); }
.post .mini-k { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 0 10px 4px; }
.post .mini-k div { border-radius: 10px; padding: 5px 7px; background: rgba(23, 62, 110, .18); }
.post .mini-k small { display: block; font-size: 8.5px; font-weight: 800; letter-spacing: .05em; color: var(--a-mu); text-transform: uppercase; }
.post .mini-k b { font-size: 12.5px; }
.cmt { margin: 0 10px 10px; padding: 7px 10px; border-radius: 12px; background: rgba(255, 255, 255, .45); font-size: 12px; display: flex; gap: 6px; align-items: center; }
.heart-pop { position: absolute; z-index: 5; left: 50%; top: 50%; font-size: 70px; color: #fff; transform: translate(-50%, -50%) scale(0); opacity: 0; filter: drop-shadow(0 6px 20px rgba(0, 0, 0, .4)); }
.heart-pop.go { animation: hpop 1s ease forwards; }
@keyframes hpop { 30% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; } 60% { transform: translate(-50%, -50%) scale(.95); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; } }

/* Story do Instagram */
.story { position: absolute; z-index: 40; inset: 0; background: #000 center/cover no-repeat; transform: translateY(100%); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.story.in { transform: none; }
.story::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .45), transparent 30%, transparent 55%, rgba(0, 0, 0, .75)); }
.story .bars { position: absolute; z-index: 2; left: 12px; right: 12px; top: 50px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.story .bars i { display: block; height: 100%; width: 0; background: #fff; transition: width 6s linear; }
.story.in .bars i { width: 100%; }
.story .st-user { position: absolute; z-index: 2; left: 14px; top: 62px; display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 12.5px; }
.story .st-card { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 60px; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; }
.story .st-card .logo-row { display: flex; align-items: center; gap: 8px; font-weight: 900; letter-spacing: -.02em; font-size: 15px; margin-bottom: 8px; }
.story .st-card .logo-row img { width: 24px; height: 24px; }
.story .st-k { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.story .st-k small { display: block; font-size: 9.5px; font-weight: 700; opacity: .8; text-transform: uppercase; letter-spacing: .05em; }
.story .st-k b { font-size: 17px; font-weight: 900; }

/* Camera / leitura da ficha */
.cam { position: absolute; inset: 0; background: #111; overflow: hidden; }
.cam .table { position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 40%, #6B5136, #3A2A1B); }
.paper { position: absolute; left: 34px; right: 34px; top: 92px; height: 380px; background: #FBFAF4; border-radius: 4px; transform: rotate(-3deg); box-shadow: 0 20px 40px rgba(0, 0, 0, .5); padding: 18px 18px; color: #1B2533; font-family: 'Caveat', 'Segoe Print', cursive; }
.paper h5 { margin: 0 0 4px; font-family: 'Inter', sans-serif; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #C2410C; }
.paper .pl { font-size: 21px; line-height: 1.32; border-bottom: 1px dashed #CBD5E1; }
.paper.flyer { font-family: 'Inter', sans-serif; background: linear-gradient(160deg, #111827, #1F2937); color: #fff; padding: 16px; }
.paper.flyer h5 { color: #19E3A0; font-size: 16px; }
.paper.flyer .pl { font-size: 13px; line-height: 1.9; border-bottom-color: rgba(255, 255, 255, .15); font-weight: 600; }
.paper.note { background: #FFF6A8; transform: rotate(2deg); }
.scanline { position: absolute; z-index: 3; left: 20px; right: 20px; top: 90px; height: 3px; background: #19E3A0; box-shadow: 0 0 24px 6px rgba(25, 227, 160, .7); opacity: 0; }
.scanline.go { opacity: 1; animation: scan 1.6s ease-in-out 2 alternate; }
@keyframes scan { to { top: 470px; } }
.cam-ui { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 120px; display: grid; place-items: center; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.shutter { width: 70px; height: 70px; border-radius: 50%; border: 4px solid #fff; display: grid; place-items: center; }
.shutter i { width: 54px; height: 54px; border-radius: 50%; background: #fff; transition: transform .15s; }
.shutter.press i { transform: scale(.85); }
.corners { position: absolute; z-index: 3; left: 24px; right: 24px; top: 80px; height: 410px; pointer-events: none; }
.corners i { position: absolute; width: 30px; height: 30px; border: 4px solid #19E3A0; }
.corners i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.corners i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.corners i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.corners i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.flash { position: absolute; z-index: 30; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.flash.go { animation: flash .5s ease-out; }
@keyframes flash { 10% { opacity: .95; } 100% { opacity: 0; } }
.reading { position: absolute; z-index: 35; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; text-align: center; padding: 30px; background: rgba(10, 16, 30, .82); color: #fff; opacity: 0; transition: opacity .4s; }
.reading.in { opacity: 1; }
.reading .ai { width: 74px; height: 74px; border-radius: 22px; display: grid; place-items: center; font-size: 34px; background: var(--grad); animation: aispin 2.4s ease-in-out infinite; }
@keyframes aispin { 50% { transform: rotate(8deg) scale(1.08); } }
.reading b { font-size: 17px; }
.reading small { color: #BCC7D8; font-size: 12.5px; }

/* Grupos, chat e ranking */
.grp { display: flex; gap: 10px; align-items: center; }
.grp .gi { width: 46px; height: 46px; border-radius: 14px; background: var(--c) center/cover; flex-shrink: 0; border: 2px solid rgba(255, 255, 255, .6); display: grid; place-items: center; color: #fff; font-size: 20px; }
.rank { display: flex; align-items: center; gap: 10px; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.rank .pos { width: 30px; text-align: center; font-weight: 900; font-size: 15px; }
.rank .medal { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 900; color: #fff; background: var(--m, #94A3B8); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .15); }
.rank .val { font-weight: 900; font-size: 16px; font-variant-numeric: tabular-nums; }
.rank-list { position: relative; }
.rank-list .card { position: absolute; left: 0; right: 0; margin: 0 !important; transition: top .8s cubic-bezier(.2, .8, .2, 1), opacity .5s, transform .5s; }
.msgs { display: flex; flex-direction: column; gap: 7px; padding: 6px 12px 100px; }
.msg { max-width: 80%; padding: 8px 11px; border-radius: 16px 16px 16px 4px; font-size: 12.5px; line-height: 1.35; background: rgba(255, 255, 255, .7); align-self: flex-start; box-shadow: 0 2px 6px rgba(11, 26, 44, .08); }
.msg.me { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: #0B0F17; color: #fff; }
.msg small { display: block; font-size: 9.5px; opacity: .65; margin-top: 2px; text-align: right; }
.msg .who { font-size: 10.5px; font-weight: 800; color: #7C3AED; display: block; }
.typing { align-self: flex-start; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .7); display: flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #6B7C93; animation: tdot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tdot { 50% { transform: translateY(-4px); opacity: .5; } }
.chatbar { position: absolute; z-index: 24; left: 10px; right: 10px; bottom: 92px; display: flex; gap: 8px; align-items: center; }
.chatbar .in-box { flex: 1; height: 40px; border-radius: 20px; background: rgba(255, 255, 255, .75); padding: 0 14px; display: flex; align-items: center; font-size: 12.5px; color: var(--a-fa); }
.chatbar .send { width: 40px; height: 40px; border-radius: 50%; background: #0B0F17; color: #fff; display: grid; place-items: center; }

/* Folha inferior / opcoes */
.sheet { position: absolute; z-index: 35; left: 0; right: 0; bottom: 0; padding: 10px 14px 28px; border-radius: 24px 24px 0 0; background: #EAF5FD; box-shadow: 0 -20px 40px -10px rgba(11, 26, 44, .35); transform: translateY(105%); transition: transform .55s cubic-bezier(.2, .8, .2, 1); }
.sheet.in { transform: none; }
.sheet::before { content: ''; display: block; width: 40px; height: 5px; border-radius: 3px; background: #B6CCE0; margin: 0 auto 12px; }
.sheet .opt { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; font-weight: 700; transition: background .25s; }
.sheet .opt + .opt { margin-top: 4px; }
.sheet .opt .oi { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--c, #2F8FE0); color: #fff; font-size: 17px; }
.sheet .opt.on { background: rgba(47, 143, 224, .16); }
.scrim { position: absolute; z-index: 34; inset: 0; background: rgba(11, 26, 44, .35); opacity: 0; transition: opacity .4s; pointer-events: none; }
.scrim.in { opacity: 1; }
.notif { position: absolute; z-index: 46; left: 10px; right: 10px; top: 46px; display: flex; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 20px; background: rgba(250, 251, 253, .97); box-shadow: 0 16px 40px -10px rgba(11, 26, 44, .5); transform: translateY(-150%); transition: transform .6s cubic-bezier(.2, .9, .25, 1.15); }
.notif.in { transform: none; }
.notif .ni { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; background: #fff url('../../logo.svg') center/80% no-repeat; box-shadow: 0 0 0 1px #E3E9F0; }
.notif b { display: block; font-size: 12.5px; }
.notif small { display: block; color: #4A5E75; font-size: 11.5px; line-height: 1.3; }
.notif .when { margin-left: auto; align-self: flex-start; color: #8A9AB0; font-size: 10px; }
.toast-in { position: absolute; z-index: 44; left: 16px; right: 16px; bottom: 100px; padding: 12px 14px; border-radius: 14px; background: #0B0F17; color: #fff; font-weight: 700; font-size: 12.5px; display: flex; gap: 8px; align-items: center; transform: translateY(20px); opacity: 0; transition: .4s; }
.toast-in.in { transform: none; opacity: 1; }
.toast-in .bi { color: #19E3A0; font-size: 16px; }

/* Video do exercicio */
.vid { position: relative; height: 330px; margin: 0 10px; border-radius: 18px; overflow: hidden; background: #000 center/cover no-repeat; }
.vid .rec { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 11px; font-weight: 800; }
.vid .rec i { width: 8px; height: 8px; border-radius: 50%; background: #EF4444; animation: blinkr 1s steps(1) infinite; }
@keyframes blinkr { 50% { opacity: 0; } }
.vid .vbar { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .35); }
.vid .vbar i { display: block; height: 100%; width: 0; border-radius: 2px; background: #fff; transition: width 5s linear; }
.vid.go .vbar i { width: 100%; }
.seg3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.seg3 span { text-align: center; padding: 9px 4px; border-radius: 12px; font-weight: 700; font-size: 11.5px; background: rgba(255, 255, 255, .3); border: 1px solid var(--a-line); transition: background .25s, color .25s; }
.seg3 span.on { background: #0B0F17; color: #fff; }

/* Selecao (compartilhar rotina) */
.sel { display: flex; align-items: center; gap: 10px; }
.sel .ck { width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(11, 26, 44, .4); display: grid; place-items: center; color: #fff; font-size: 13px; transition: background .2s, border-color .2s; }
.sel .ck.on { background: #16A34A; border-color: #16A34A; }
.slot-bar { height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .4); overflow: hidden; }
.slot-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #19E3A0, #1EA7FF); border-radius: 5px; transition: width 1s; }

/* Planos */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; width: 900px; }
.plan { position: relative; padding: 24px 22px 22px; border-radius: 26px; background: linear-gradient(180deg, rgba(20, 30, 52, .92), rgba(10, 15, 28, .96)); border: 1px solid var(--stroke); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.plan.hot { border-color: transparent; background: linear-gradient(180deg, rgba(20, 30, 52, .96), rgba(10, 15, 28, .98)) padding-box, var(--grad) border-box; border: 2px solid transparent; transform: translateY(-10px); }
.plan .pi { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; color: #fff; background: var(--c); margin-bottom: 14px; }
.plan h4 { margin: 0; font-size: 26px; letter-spacing: -.03em; font-weight: 900; }
.plan .sub { color: var(--tx-2); font-weight: 600; font-size: 14px; margin: 2px 0 14px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.plan li { display: flex; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--tx); }
.plan li .bi { color: var(--g1); margin-top: 2px; }
.plan .badge { position: absolute; top: -12px; left: 22px; padding: 4px 11px; border-radius: 999px; background: var(--grad); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

/* Pagina web do perfil */
.wp { height: 100%; display: grid; grid-template-columns: 300px 1fr; transition: background .6s, color .6s; background: var(--wb); color: var(--wt); }
.wp-side { padding: 22px; border-right: 1px solid var(--wl); display: grid; align-content: start; gap: 12px; }
.wp-cover { height: 90px; border-radius: 16px; background: var(--wg); transition: background .6s; }
.wp-av { width: 84px; height: 84px; border-radius: 50%; margin: -52px auto 0; background: center/cover; border: 4px solid var(--wb); transition: border-color .6s; }
.wp-side h5 { margin: 0; text-align: center; font-size: 20px; letter-spacing: -.02em; }
.wp-side .u { text-align: center; color: var(--wm); font-size: 13px; margin-top: -8px; }
.wp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; }
.wp-stats div { border-radius: 12px; padding: 8px 4px; background: var(--wc); transition: background .6s; }
.wp-stats b { display: block; font-size: 16px; }
.wp-stats small { font-size: 10px; color: var(--wm); }
.wp-main { padding: 22px; display: grid; align-content: start; gap: 12px; overflow: hidden; }
.wp-post { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 12px; border-radius: 16px; background: var(--wc); transition: background .6s; }
.wp-post .pimg { height: 110px; border-radius: 12px; background: center/cover; }
.wp-post b { font-size: 15px; }
.wp-post .k { display: flex; gap: 14px; margin-top: 8px; font-size: 12.5px; color: var(--wm); }
.wp-post .k strong { color: var(--wt); }
.themes { position: absolute; z-index: 4; right: 26px; bottom: 26px; display: flex; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5); }
.themes span { width: 30px; height: 30px; border-radius: 50%; background: var(--s); box-shadow: 0 0 0 2px #fff; transition: box-shadow .25s, transform .25s; }
.themes span.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4.5px #0B1A2C; transform: scale(1.08); }

/* Final */
.final { display: grid; justify-items: center; gap: 18px; text-align: center; }
.final img.lg { width: 170px; height: 170px; filter: drop-shadow(0 30px 60px rgba(30, 167, 255, .55)); }
.final h3 { margin: 0; font-size: 64px; font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 14px; border-radius: 14px; background: #000; border: 1px solid rgba(255, 255, 255, .25); text-decoration: none; color: #fff; min-width: 190px; }
.store .bi { font-size: 28px; }
.store span { display: grid; line-height: 1.15; text-align: left; }
.store small { font-size: 10px; letter-spacing: .06em; opacity: .8; }
.store b { font-size: 18px; }
.credits { font-size: 11px; color: var(--tx-3); max-width: 760px; }
.credits a { color: var(--tx-2); }
