/* Forja · landing
   Tokens iguais aos do app (docs/SPEC.md §2). Rubik em tudo, escolhida pelo app.
   Cada peça entra do seu jeito ao rolar (main.js); sem JS, nada some. */

@font-face {
  font-family: "Rubik Fallback";
  src: local("Arial"), local("Liberation Sans"), local("Helvetica");
  size-adjust: 106%;
  ascent-override: 88%;
  descent-override: 23.6%;
  line-gap-override: 0%;
}

@property --sec { syntax: "<integer>"; inherits: false; initial-value: 19; }
@property --xpn { syntax: "<integer>"; inherits: false; initial-value: 530; }

:root {
  --bg: #0C0F13;
  --surface: #151A20;
  --surface-2: #1C232B;
  --surface-3: #262E36;
  --line: #2A333D;
  --ink: #F2F4F6;
  --ink-2: #9AA6AE;
  --ink-3: #6B7680;
  --dieta: #B8F04A;   --dieta-track: #26341C;
  --treino: #FF7A3D;  --treino-track: #3A2618;
  --cardio: #3FC6F2;  --cardio-track: #163A47;
  --vida: #C9A2FF;    --vida-track: #2C2340;
  --descanso: #9B8CFF; --descanso-track: #25223F;
  --recup: #4FE0B5;   --recup-track: #173A33;
  --xp: #FFD34D;
  --flame: #FF8A3D;   --flame-2: #FFB067;
  --brand: #EB4D0E;
  --danger: #FF4D6D;

  --font: "Rubik", "Rubik Fallback", system-ui, sans-serif;
  --ease-pop: cubic-bezier(.3, 1.6, .5, 1);
  --ease-ring: cubic-bezier(.3, 1.25, .5, 1);
  --ease-sheet: cubic-bezier(.2, 1, .3, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-paint: cubic-bezier(.7, 0, .2, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); scroll-padding-top: calc(var(--nav-h) + 8px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0; min-height: 100vh;
  background: var(--bg); color: var(--ink);
  font-family: var(--font); font-weight: 500; font-size: 1.0625rem; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: tabular-nums;
}
main, .foot { overflow-x: clip; }
img, svg { display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
::selection { background: var(--brand); color: var(--bg); }
:focus-visible { outline: 3px solid var(--xp); outline-offset: 4px; border-radius: 10px; }

.wrap { width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; }
.ic { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: var(--bg); font-weight: 800; padding: 12px 16px; border-radius: 12px; text-decoration: none; }
.skip:focus { top: 12px; }

/* L da Lancelot: o PNG preto vira máscara, a cor vem do fundo */
.l-mark {
  display: inline-block; flex: none; height: 34px; aspect-ratio: 821 / 975; background: var(--brand);
  -webkit-mask: url("brand/lancelot-l-black.png") center / contain no-repeat;
          mask: url("brand/lancelot-l-black.png") center / contain no-repeat;
}

/* ------------------------------------------------------------ botão (tátil: sobe no hover, afunda no clique) */
.btn {
  --b: var(--brand); --lip: #9A3009;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.2em; border-radius: 16px;
  background: var(--b); color: var(--bg);
  font: 800 1.0625rem/1 var(--font); letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  box-shadow: 0 5px 0 var(--lip);
  transition: translate .18s var(--ease-out), box-shadow .18s var(--ease-out), background-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { translate: 0 -2px; box-shadow: 0 7px 0 var(--lip); background: #F65A1A; }
.btn:active { translate: 0 4px; box-shadow: 0 1px 0 var(--lip); }
.btn .ic { stroke-width: 2.8; transition: translate .25s var(--ease-out); }
.btn:hover .ic { translate: 3px 0; }
.btn--lg { min-height: 62px; padding: .8em 1.5em; font-size: 1.1875rem; border-radius: 18px; box-shadow: 0 6px 0 var(--lip); }
.btn--lg:hover { box-shadow: 0 8px 0 var(--lip); }
.btn--lg:active { box-shadow: 0 1px 0 var(--lip); }
.btn--sm { min-height: 44px; padding: .55em 1em; font-size: .9375rem; border-radius: 13px; box-shadow: 0 4px 0 var(--lip); }
.btn--sm:hover { box-shadow: 0 6px 0 var(--lip); }
.btn--sm:active { box-shadow: 0 1px 0 var(--lip); }

/* ------------------------------------------------------------ nav */
.nav { position: sticky; top: 0; z-index: 50; transition: background-color .3s, box-shadow .3s; }
.nav.is-stuck { background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; }
.brand .l-mark { height: 36px; }

/* ------------------------------------------------------------ hero */
.hero { position: relative; padding: clamp(8px, 2vw, 24px) 0 clamp(72px, 9vw, 140px); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(24px, 3vw, 48px); }
.hero__copy { position: relative; z-index: 3; padding-bottom: 4vh; }
.hero__title { font-size: clamp(5.25rem, 10.6vw, 10rem); font-weight: 900; line-height: .86; letter-spacing: -.05em; }
.hero__title .line { display: block; overflow: hidden; padding: .02em .08em .14em 0; margin-bottom: -.12em; }
.hero__title .line > span { display: block; animation: rise 1s var(--ease-out) both; }
.hero__title .line:nth-child(2) > span { animation-delay: .09s; }
.spark-dot {
  display: inline-block; width: .19em; height: .19em; margin-left: .05em; border-radius: .045em;
  background: var(--brand); rotate: 14deg; vertical-align: baseline;
  animation: dot-in .6s var(--ease-pop) .75s both;
}
.hero__sub { margin-top: clamp(24px, 2.6vw, 36px); max-width: 30ch; font-size: clamp(1.1875rem, 1.65vw, 1.5rem); line-height: 1.4; color: var(--ink-2); animation: up .9s var(--ease-out) .3s both; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: clamp(28px, 3vw, 44px); animation: up .9s var(--ease-out) .42s both; }
.link-down { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; color: var(--ink); }
.link-down:hover { text-decoration-thickness: 3px; }
.link-down .ic { transition: translate .25s var(--ease-out); }
.link-down:hover .ic { translate: 0 3px; }

.hero__stage { position: relative; display: grid; place-items: center; min-height: 780px; }
.bg-rings { position: absolute; z-index: 0; width: 132%; max-width: 860px; left: 50%; top: 50%; translate: -50% -50%; pointer-events: none; }
.bg-arc { stroke-dasharray: 70 100; }
.js .bg-arc { stroke-dasharray: 0 100; opacity: 0; transition: stroke-dasharray 1.8s var(--ease-out), opacity .3s; }
.js .bg-arc.is-on { opacity: 1; }

.phone-wrap { --s: .92; position: relative; z-index: 2; width: calc(395px * var(--s)); height: calc(820px * var(--s)); }
.phone-lift { width: 100%; height: 100%; rotate: -3deg; animation: lift 1.2s var(--ease-out) .15s both; }
.phone {
  position: relative; width: 395px; height: 820px; padding: 10px; border-radius: 60px;
  transform: scale(var(--s)); transform-origin: 0 0;
  background: #07090C;
  box-shadow: 0 0 0 1.5px #2E3740, 0 0 0 4px #07090C, 0 60px 90px -30px rgba(3, 4, 6, .9), 0 0 120px -20px rgba(235, 77, 14, .28);
}
.phone__island { position: absolute; z-index: 6; top: 22px; left: 50%; translate: -50% 0; width: 112px; height: 33px; border-radius: 20px; background: #07090C; }

.sticker {
  --c: var(--xp);
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: .4em;
  padding: .5em .9em; border-radius: 999px;
  background: var(--c); color: var(--bg);
  font-weight: 800; font-size: clamp(.9375rem, 1.2vw, 1.125rem); letter-spacing: -.01em; white-space: nowrap;
  box-shadow: 0 0 0 4px var(--ink), 0 14px 22px -10px rgba(0, 0, 0, .7);
  animation: colar .8s var(--ease-paint) both;
}
.sticker .ic { width: 1.05em; height: 1.05em; }
.sticker--xp { top: 10%; left: 1%; rotate: -9deg; font-size: clamp(1.25rem, 1.8vw, 1.625rem); font-weight: 900; animation-delay: 1.1s; }
.sticker--ia { --c: var(--dieta); top: 47%; right: -3%; rotate: 5deg; animation-delay: 1.3s; }
.sticker--ia .ic { fill: var(--bg); stroke: none; width: .95em; height: .95em; }
.sticker--ia { gap: 10px; padding: 7px 16px 7px 7px; border-radius: 20px; }
.sticker__ph { width: 48px; height: 48px; flex: none; border-radius: 13px; object-fit: cover; }
.sticker__t { display: flex; flex-direction: column; gap: 1px; line-height: 1.15; }
.sticker__t small { font-size: .78em; font-weight: 700; color: rgba(12, 15, 19, .7); }
.sticker__t > span { display: inline-flex; align-items: center; gap: .35em; }
.sticker--fire { --c: var(--flame); bottom: 9%; left: -2%; rotate: -4deg; animation-delay: 1.5s; }
.sticker--fire .ic { fill: var(--bg); stroke: none; }

/* ------------------------------------------------------------ mock da tela Hoje (375 × 800, escala por --s) */
.m { position: relative; width: 375px; height: 800px; overflow: hidden; border-radius: 50px; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.2; font-variant-numeric: tabular-nums; }
.m::after { content: ""; position: absolute; z-index: 7; bottom: 8px; left: 50%; translate: -50% 0; width: 134px; height: 5px; border-radius: 3px; background: var(--ink); }
.m svg { overflow: visible; }
.m-sb { position: relative; z-index: 5; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 8px 30px 0 44px; font-size: 15px; font-weight: 700; background: var(--bg); }
.m-sb__r { display: flex; align-items: flex-end; gap: 2px; }
.m-sb__r i { width: 3.5px; border-radius: 1px; background: var(--ink); }
.m-sb__r i:nth-child(1) { height: 5px; } .m-sb__r i:nth-child(2) { height: 8px; } .m-sb__r i:nth-child(3) { height: 11px; }
.m-sb__r b { width: 24px; height: 12px; margin-left: 6px; border-radius: 4px; border: 1.5px solid rgba(242, 244, 246, .45); background: linear-gradient(90deg, var(--ink) 70%, transparent 0) 1px 1px / calc(100% - 2px) calc(100% - 2px) no-repeat; align-self: center; }
.m-scroll { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 4px 16px 120px; transition: translate .9s var(--ease-sheet); }

.m-hd { display: flex; align-items: center; gap: 10px; }
.m-av { width: 44px; height: 44px; flex: none; border-radius: 13px; display: grid; place-items: center; background: var(--dieta); transition: background-color .4s; }
.m-av .l-mark { height: 27px; background: var(--bg); }
.m-bal { flex: 1; min-width: 0; padding: 7px 10px; border-radius: 14px 14px 14px 4px; background: var(--surface-2); font-size: 12px; font-weight: 600; line-height: 1.3; color: #DCE3E8; }
.m-st { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.m-streak { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 800; color: var(--flame-2); }
.m-streak span { display: inline-block; }
.m-streak span.bump { animation: pop .6s var(--ease-pop); }
.m-xp { font-size: 13px; font-weight: 800; color: var(--xp); }
.flame { width: 16px; height: 16px; fill: var(--flame); stroke: var(--flame-2); stroke-width: 1.6; stroke-linejoin: round; transform-origin: 50% 90%; animation: flick 1.4s ease-in-out infinite; }

.m-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.m-day { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 0 8px; border-radius: 14px; background: var(--surface-2); color: var(--ink-2); }
.m-day b { font-size: 11px; font-weight: 700; }
.m-day span { font-size: 16px; font-weight: 800; color: var(--ink); }
.m-day i {
  --a: #2E3740; --b: #2E3740; --c: #2E3740; --d: #2E3740;
  width: 34px; height: 6px;
  background:
    radial-gradient(circle 3px at 4px 3px, var(--a) 95%, transparent 100%),
    radial-gradient(circle 3px at 13px 3px, var(--b) 95%, transparent 100%),
    radial-gradient(circle 3px at 22px 3px, var(--c) 95%, transparent 100%),
    radial-gradient(circle 3px at 31px 3px, var(--d) 95%, transparent 100%);
}
.m-day.is-sel { background: var(--ink); color: var(--bg); }
.m-day.is-sel span { color: var(--bg); }
.m-day.is-sel i { --a: #C9D2D8; --b: #FF7A3D; --c: #C9D2D8; --d: #C9D2D8; }

.m-rings { position: relative; display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 22px; background: var(--surface); }
.m-rings svg { flex: none; }
.m-arc { stroke-dasharray: 25 100; transition: stroke-dasharray .8s var(--ease-ring); }
.m-arc[data-ring="treino"] { stroke-dasharray: 100 100; }
.m-arc[data-ring="cardio"], .m-arc[data-ring="vida"] { stroke-dasharray: 0 100; }
.m-stats { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.m-stats b { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.m-stats span { font-size: 19px; font-weight: 800; }
.m-stats em { font-style: normal; }
.m-stats small { font-size: 12px; font-weight: 500; color: var(--ink-2); }

.m-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.m-tile { display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; border-radius: 16px; background: var(--surface-2); }
.m-tile b { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.m-tile strong { font-size: 18px; font-weight: 800; }
.m-tile small { font-size: 11px; color: var(--ink-2); }

.m-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 8px; margin-top: 2px; }
.m-it { --c: var(--dieta); position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.m-it[data-area="treino"] { --c: var(--treino); }
.m-it[data-area="cardio"] { --c: var(--cardio); }
.m-it[data-area="vida"] { --c: var(--vida); }
.m-time { font-size: 11px; font-weight: 700; color: var(--ink-2); background: var(--surface-2); border-radius: 999px; padding: 2px 8px; }
.m-c { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; border: 3px solid var(--c); background: var(--surface-2); transition: background-color .2s; }
.m-c svg { grid-area: 1 / 1; width: 32px; height: 32px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: opacity .2s, scale .3s var(--ease-pop); }
.m-c__ic { stroke: var(--c); }
.m-c__ok { stroke: var(--bg); stroke-width: 3 !important; opacity: 0; scale: .4; }
.m-it.is-done .m-c { background: var(--c); }
.m-it.is-done .m-c__ic { opacity: 0; }
.m-it.is-done .m-c__ok { opacity: 1; scale: 1; }
.m-it.pop .m-c { animation: pop .55s var(--ease-pop); }
.m-lb { font-size: 12px; font-weight: 600; text-align: center; line-height: 1.25; }

.m-toast {
  position: absolute; z-index: 6; top: 112px; left: 50%;
  padding: 10px 18px; border-radius: 999px; background: var(--xp); color: var(--bg);
  font-size: 16px; font-weight: 900; white-space: nowrap; box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
  opacity: 0; translate: -50% -30px; scale: .8;
  transition: opacity .25s, translate .25s, scale .25s;
}
.m-toast.on { opacity: 1; translate: -50% 0; scale: 1; transition: opacity .2s, translate .45s var(--ease-pop), scale .45s var(--ease-pop); }
.m-finger { position: absolute; z-index: 4; top: 41px; left: 50%; width: 46px; height: 46px; margin-left: -23px; border-radius: 50%; background: rgba(242, 244, 246, .24); border: 2px solid rgba(242, 244, 246, .75); opacity: 0; pointer-events: none; }
.m-finger.go { animation: finger .62s ease-out both; }
.m-dot { position: absolute; z-index: 3; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 3px; animation: fly .95s cubic-bezier(.2, .8, .3, 1) forwards; pointer-events: none; }
.m.sem-transicao, .m.sem-transicao * { transition: none !important; }
.m-nav { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 80px; padding: 10px 12px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: rgba(12, 15, 19, .97); border-top: 1px solid var(--surface-2); }
.m-nav span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--ink-2); }
.m-nav svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.m-nav .is-on { color: var(--ink); }

/* ------------------------------------------------------------ títulos de seção (letreiro: sombra dura na cor do anel) */
.title { font-size: clamp(3.1rem, 7.6vw, 7.25rem); font-weight: 900; line-height: .9; letter-spacing: -.045em; text-shadow: .04em .05em 0 var(--sh, var(--brand)); }
.lede { margin-top: clamp(20px, 2.4vw, 32px); max-width: 34ch; font-size: clamp(1.1875rem, 1.65vw, 1.4375rem); line-height: 1.42; color: var(--ink-2); }
.lede--wide { max-width: 44ch; }
.lede strong { font-weight: 800; }
.c-desc { color: var(--descanso); }
.c-rec { color: var(--recup); }

/* ------------------------------------------------------------ anéis */
.rings { padding: clamp(80px, 10vw, 160px) 0 clamp(64px, 8vw, 120px); }
.rings__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 112px); margin-top: clamp(40px, 6vw, 96px); }
.rings__stage { position: sticky; top: calc(50vh - min(19vw, 250px) + 36px); align-self: start; width: min(100%, 500px); aspect-ratio: 1; justify-self: center; }
.big-rings { width: 100%; height: 100%; }
.big-arc { stroke-dasharray: 100 100; transition: opacity .2s; }
.rings__pct { position: absolute; inset: 0; display: grid; place-items: center; place-content: center; grid-auto-flow: column; align-items: baseline; font-weight: 900; font-size: clamp(1.5rem, 2.6vw, 2.25rem); letter-spacing: -.03em; color: var(--ink); }
.rings__pct small { font-size: .55em; color: var(--ink-2); margin-left: 2px; }
.rings__list { list-style: none; margin: 0; padding: 0; }
.ring-item { --c: var(--dieta); display: flex; flex-direction: column; justify-content: center; gap: 18px; min-height: 66vh; padding: 32px 0; }
.ring-item h3 { opacity: .62; scale: .94; transform-origin: 0 80%; transition: opacity .5s var(--ease-out), scale .6s var(--ease-out); }
.ring-item.is-on h3, .no-scrub .ring-item h3, html:not(.js) .ring-item h3 { opacity: 1; scale: 1; }
.ring-item__k { font-size: .8125rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--c); }
.ring-item h3 { font-size: clamp(4.25rem, 10vw, 9.5rem); font-weight: 900; line-height: .84; letter-spacing: -.055em; color: var(--c); }
.ring-item p { max-width: 30ch; font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.42; color: var(--ink-2); }
.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 999px; background: var(--surface-2); font-size: .9375rem; font-weight: 700; color: var(--ink); }
.chip i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }

/* ------------------------------------------------------------ funcionalidades */
.feats { padding: clamp(64px, 8vw, 128px) 0 clamp(80px, 10vw, 160px); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px); margin-top: clamp(48px, 6vw, 96px); }
.card {
  --c: var(--dieta); --lip: #5E8A1A; --rot: 0deg;
  grid-column: span 6;
  display: flex; flex-direction: column; gap: clamp(22px, 2.4vw, 32px);
  padding: clamp(22px, 2.8vw, 40px);
  border-radius: 30px; background: var(--c); color: var(--bg);
  rotate: var(--rot);
  box-shadow: 0 10px 0 var(--lip);
  transition: rotate .5s var(--ease-out), translate .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.card:hover { rotate: 0deg; translate: 0 -6px; box-shadow: 0 16px 0 var(--lip); }
.card--dieta { grid-column: span 7; }
.card--treino { grid-column: span 5; --c: var(--treino); --lip: #A2451A; }
.card--cardio { --c: var(--cardio); --lip: #1C7E9E; }
.card--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; }
.card--wide .card__txt { flex: 0 0 34%; }
.card--wide .demo { flex: 1; }
.card--vida { grid-column: span 5; --c: var(--vida); --lip: #7550B0; }
.card--xp { grid-column: span 7; --c: var(--xp); --lip: #A88413; }
.card__tag { display: inline-block; padding: 6px 11px; border-radius: 999px; background: rgba(12, 15, 19, .13); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.card h3 { margin: 14px 0 12px; font-size: clamp(2rem, 3.3vw, 3.25rem); font-weight: 900; line-height: .95; letter-spacing: -.04em; }
.card p { max-width: 40ch; font-size: 1.0625rem; line-height: 1.45; color: rgba(12, 15, 19, .8); }
.card__txt { min-width: 0; }

.demo { position: relative; overflow: hidden; border-radius: 22px; background: var(--bg); color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.2; }
.demo svg { overflow: visible; }
.js .demo:not(.is-live) *, .js .demo:not(.is-live) { animation-play-state: paused !important; }

/* toque (dedo) usado nas demos: mora dentro do alvo, então acompanha o layout */
.d-photo__shutter::after, .d-photo__opt.is-pick::after, .d-hevy__save::after, .d-hevy__rpe .on::after {
  content: ""; position: absolute; z-index: 8; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border-radius: 50%; background: rgba(242, 244, 246, .26); border: 2px solid rgba(242, 244, 246, .8); opacity: 0; pointer-events: none;
}

/* 1. foto → opção (ciclo 7 s) */
.d-photo { height: 450px; --col: max(14px, calc(50% - 200px)); }
.d-photo__count { position: absolute; z-index: 9; top: 14px; left: 14px; display: flex; gap: 6px; }
.d-photo__count span { padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--dieta); color: var(--bg); }
.d-photo__count .t1 { animation: ph-t1 7s linear infinite; }
.d-photo__count .t2 { animation: ph-t2 7s linear infinite; }
.d-photo__cam { position: absolute; inset: 0 var(--col); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding-top: 18px; animation: ph-cam 7s linear infinite; }
.d-photo__hint { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.d-photo__vf { position: relative; width: 240px; height: 240px; border-radius: 18px; overflow: hidden; background: var(--surface-2); }
.d-photo__img { width: 100%; height: 100%; object-fit: cover; }
.d-photo__vf::after {
  content: ""; position: absolute; inset: 12px;
  background:
    linear-gradient(var(--ink), var(--ink)) 0 0 / 26px 3px, linear-gradient(var(--ink), var(--ink)) 0 0 / 3px 26px,
    linear-gradient(var(--ink), var(--ink)) 100% 0 / 26px 3px, linear-gradient(var(--ink), var(--ink)) 100% 0 / 3px 26px,
    linear-gradient(var(--ink), var(--ink)) 0 100% / 26px 3px, linear-gradient(var(--ink), var(--ink)) 0 100% / 3px 26px,
    linear-gradient(var(--ink), var(--ink)) 100% 100% / 26px 3px, linear-gradient(var(--ink), var(--ink)) 100% 100% / 3px 26px;
  background-repeat: no-repeat;
}
.d-photo__shutter { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--dieta); box-shadow: 0 0 0 5px var(--bg), 0 0 0 9px var(--ink); animation: ph-shutter 7s linear infinite; }
.d-photo__shutter::after { animation: ph-tap1 7s ease-out infinite; }
.d-photo__flash { position: absolute; inset: 0; background: var(--ink); opacity: 0; animation: ph-flash 7s linear infinite; }
.d-photo__sheet { position: absolute; left: var(--col); right: var(--col); bottom: 0; display: flex; flex-direction: column; gap: 8px; padding: 16px 14px 18px; border-radius: 24px 24px 0 0; background: var(--surface); box-shadow: 0 -12px 30px rgba(0, 0, 0, .45); animation: ph-sheet 7s var(--ease-sheet) infinite; }
.d-photo__head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.d-photo__thumb { width: 44px; height: 44px; flex: none; border-radius: 12px; object-fit: cover; }
.d-photo__head b { display: block; font-size: 17px; font-weight: 800; }
.d-photo__head small { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.d-photo__opt { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 12px; border-radius: 13px; border: 1px solid #3A444C; background: var(--surface-2); font-size: 13px; font-weight: 600; }
.d-photo__opt span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-photo__opt em { display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px; border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 800; background: rgba(12, 15, 19, .16); }
.d-photo__opt em .ic { width: 12px; height: 12px; fill: currentColor; stroke: none; }
.d-photo__opt .ok { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.d-photo__opt.is-pick { position: relative; background: var(--dieta); border-color: var(--dieta); color: var(--bg); animation: ph-pick 7s linear infinite; }
.d-photo__opt.is-pick::after { left: 30%; animation: ph-tap2 7s ease-out infinite; }
.d-photo__opt.is-pick em { animation: ph-ai 7s var(--ease-pop) infinite; }
.d-photo__opt.is-pick .ok { animation: ph-ok 7s var(--ease-pop) infinite; }
.d-photo__opt--other { border-style: dashed; border-color: #5A666E; background: transparent; color: var(--ink-2); }
.d-toast { position: absolute; z-index: 9; top: 14px; left: 50%; translate: -50% 0; padding: 8px 15px; border-radius: 999px; background: var(--xp); color: var(--bg); font-size: 14px; font-weight: 900; white-space: nowrap; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); animation: ph-toast 7s linear infinite; }

@keyframes ph-t1 { 0%, 13% { opacity: .28; } 15%, 90% { opacity: 1; } 95%, 100% { opacity: .28; } }
@keyframes ph-t2 { 0%, 46% { opacity: .28; } 48%, 90% { opacity: 1; } 95%, 100% { opacity: .28; } }
@keyframes ph-cam { 0%, 22% { opacity: 1; } 28%, 88% { opacity: .3; } 94%, 100% { opacity: 1; } }
@keyframes ph-shutter { 0%, 12.5% { scale: 1; } 14.5% { scale: .86; } 18%, 100% { scale: 1; } }
@keyframes ph-flash { 0%, 16% { opacity: 0; } 17.5% { opacity: .85; } 23%, 100% { opacity: 0; } }
@keyframes ph-sheet { 0%, 22% { translate: 0 105%; } 30%, 85% { translate: 0 0; } 92%, 100% { translate: 0 105%; } }
@keyframes ph-tap1 { 0%, 7% { opacity: 0; scale: 1.6; } 11% { opacity: 1; scale: 1; } 14.5% { scale: .78; } 19%, 100% { opacity: 0; scale: 1; } }
@keyframes ph-tap2 { 0%, 39% { opacity: 0; scale: 1.6; } 43% { opacity: 1; scale: 1; } 46.5% { scale: .78; } 51%, 100% { opacity: 0; scale: 1; } }
@keyframes ph-pick { 0%, 46% { background: var(--surface-2); border-color: #3A444C; color: var(--ink); } 47.5%, 100% { background: var(--dieta); border-color: var(--dieta); color: var(--bg); } }
@keyframes ph-ai { 0%, 32% { opacity: 0; scale: .4; } 37%, 100% { opacity: 1; scale: 1; } }
@keyframes ph-ok { 0%, 47% { opacity: 0; scale: .3; } 52%, 100% { opacity: 1; scale: 1; } }
@keyframes ph-toast { 0%, 50% { opacity: 0; translate: -50% -14px; scale: .85; } 54%, 78% { opacity: 1; translate: -50% 0; scale: 1; } 83%, 100% { opacity: 0; translate: -50% -6px; scale: 1; } }

/* 2. Hevy (ciclo 7,5 s): salvou lá, o círculo fecha aqui, esforço, último registro com a foto */
.d-hevy { display: grid; grid-template-columns: minmax(0, 1.1fr) 40px minmax(0, .9fr); align-items: center; align-content: center; row-gap: 18px; padding: 22px 18px; min-height: 360px; }
.d-hevy__app { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 18px; background: var(--surface-2); }
.d-hevy__app > small { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.d-hevy__app > b { font-size: 15px; font-weight: 800; }
.d-hevy__app ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.d-hevy__app li { display: flex; justify-content: space-between; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.d-hevy__app li span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-hevy__app li em { font-style: normal; color: var(--ink); font-weight: 700; }
.d-hevy__save { position: relative; margin-top: 4px; padding: 10px 6px; border-radius: 12px; background: var(--surface-3); text-align: center; font-size: 13px; font-weight: 800; animation: hv-save 7.5s linear infinite; }
.d-hevy__save::after { animation: hv-tap1 7.5s ease-out infinite; }
.d-hevy__wire { position: relative; height: 2px; margin: 0 4px; background: repeating-linear-gradient(90deg, var(--line) 0 5px, transparent 5px 9px); }
.d-hevy__wire i { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 3px; background: var(--treino); opacity: 0; animation: hv-wire 7.5s var(--ease-out) infinite; }
.d-hevy__forja { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.d-hevy__c { position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; border: 3px solid var(--treino); background: var(--treino); animation: hv-c 7.5s linear infinite; }
.d-hevy__c svg { grid-area: 1 / 1; width: 30px; height: 30px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.d-hevy__c .ic-cam { stroke: var(--treino); opacity: 0; animation: hv-cam 7.5s linear infinite; }
.d-hevy__c .ic-ok { stroke: var(--bg); stroke-width: 3; animation: hv-ok 7.5s var(--ease-pop) infinite; }
.d-hevy__badge { padding: 4px 9px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 11px; font-weight: 800; rotate: -5deg; margin-top: -18px; animation: hv-badge 7.5s var(--ease-paint) infinite; }
.d-hevy__bottom { grid-column: 1 / -1; position: relative; height: 74px; }
.d-hevy__rpe { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 7px; opacity: 0; animation: hv-rpe 7.5s var(--ease-out) infinite; }
.d-hevy__rpe small { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.d-hevy__rpe > div { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
.d-hevy__rpe span { position: relative; display: grid; place-items: center; height: 32px; border-radius: 9px; background: var(--surface-2); font-size: 12px; font-weight: 800; }
.d-hevy__rpe .on { background: var(--treino); color: var(--bg); animation: hv-on 7.5s linear infinite; }
.d-hevy__rpe .on::after { animation: hv-tap2 7.5s ease-out infinite; }
.d-hevy__last { position: absolute; inset: 0; display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 16px; background: var(--surface-2); animation: hv-last 7.5s var(--ease-out) infinite; }
.d-hevy__last img { width: 58px; height: 58px; flex: none; border-radius: 12px; object-fit: cover; }
.d-hevy__last div { min-width: 0; }
.d-hevy__last b { display: block; font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-hevy__last small { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.d-hevy__last strong { color: var(--ink); font-weight: 800; }

@keyframes hv-save { 0%, 14% { background: var(--surface-3); scale: 1; } 16% { background: var(--ink-3); scale: .95; } 20%, 100% { background: var(--surface-3); scale: 1; } }
@keyframes hv-tap1 { 0%, 8% { opacity: 0; scale: 1.6; } 12% { opacity: 1; scale: 1; } 16% { scale: .78; } 21%, 100% { opacity: 0; scale: 1; } }
@keyframes hv-wire { 0%, 19% { left: 0; opacity: 0; } 21% { opacity: 1; } 34% { left: calc(100% - 10px); opacity: 1; } 36%, 100% { left: calc(100% - 10px); opacity: 0; } }
@keyframes hv-c { 0%, 35% { background: var(--surface-2); scale: 1; } 36% { background: var(--treino); scale: .6; } 41% { scale: 1.15; } 46%, 92% { background: var(--treino); scale: 1; } 96%, 100% { background: var(--surface-2); } }
@keyframes hv-cam { 0%, 35% { opacity: 1; } 36%, 94% { opacity: 0; } 97%, 100% { opacity: 1; } }
@keyframes hv-ok { 0%, 36% { opacity: 0; scale: .3; } 42%, 92% { opacity: 1; scale: 1; } 96%, 100% { opacity: 0; } }
@keyframes hv-badge { 0%, 42% { clip-path: circle(0% at 8% 30%); } 50%, 92% { clip-path: circle(140% at 8% 30%); opacity: 1; } 96%, 100% { clip-path: circle(140% at 8% 30%); opacity: 0; } }
@keyframes hv-rpe { 0%, 46% { opacity: 0; translate: 0 10px; } 50%, 64% { opacity: 1; translate: 0 0; } 67%, 100% { opacity: 0; translate: 0 -8px; } }
@keyframes hv-on { 0%, 56% { background: var(--surface-2); color: var(--ink); scale: 1; } 57% { background: var(--treino); color: var(--bg); scale: .8; } 60%, 100% { background: var(--treino); color: var(--bg); scale: 1; } }
@keyframes hv-tap2 { 0%, 50% { opacity: 0; scale: 1.6; } 53% { opacity: 1; scale: 1; } 56.5% { scale: .78; } 60%, 100% { opacity: 0; scale: 1; } }
@keyframes hv-last { 0%, 66% { opacity: 0; translate: 0 12px; } 70%, 94% { opacity: 1; translate: 0 0; } 98%, 100% { opacity: 0; translate: 0 0; } }

/* 3. calendário (ciclo 8 s) */
.d-cal { --ch: 30px; --g: 5px; display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 30px; }
.d-cal__week { padding-bottom: calc(var(--ch) + var(--g) + 18px); }
.d-cal__weeks, .d-cal__phases { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; }
.d-cal__weeks span { position: relative; display: flex; align-items: center; justify-content: center; gap: 3px; height: 32px; border-radius: 9px; background: var(--surface-2); font-size: 11px; font-weight: 800; color: var(--ink-2); }
.d-cal__weeks .is-now { background: var(--cardio); color: var(--bg); }
.d-cal__weeks .ck::after { content: ""; position: absolute; top: 4px; right: 4px; width: 5px; height: 5px; border-radius: 2px; background: var(--vida); }
.d-cal__weeks .race { background: var(--xp); color: var(--bg); }
.d-cal__weeks .race .ic { width: 12px; height: 12px; stroke-width: 2.6; }
.d-cal__phases span { grid-column: span var(--n); padding-top: 6px; border-top: 2px solid var(--line); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-cal__week { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.d-cal__week .col { display: flex; flex-direction: column; gap: var(--g); }
.d-cal__week .col > b { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 38px; border-radius: 10px; font-size: 11px; font-weight: 700; color: var(--ink-2); }
.d-cal__week .col > b small { font-size: 15px; font-weight: 800; color: var(--ink); }
.d-cal__week .col--from > b { background: var(--ink); color: var(--bg); }
.d-cal__week .col--from > b small { color: var(--bg); }
.d-cal__week i { display: grid; place-items: center; height: var(--ch); border-radius: 8px; font-style: normal; font-size: 11px; font-weight: 800; color: var(--bg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 2px; }
.d-cal__week .tr { background: var(--treino); }
.d-cal__week .ca { background: var(--cardio); }
.d-cal__week .vi { background: var(--vida); }
.d-cal__week .de { background: var(--descanso); }
.d-cal__week .re { background: var(--recup); }
.d-cal__week .slot { background: transparent; border: 2px dashed var(--line); }
.d-cal__drag {
  position: absolute; z-index: 2; overflow: visible !important;
  width: calc((100% - 36px) / 7); left: calc((100% - 36px) / 7 * 3 + 18px); top: calc(38px + var(--g) * 2 + var(--ch));
  translate: calc(100% + 6px) calc((var(--ch) + var(--g)) * 2);
  animation: cal-drag 8s var(--ease-out) infinite;
}
.d-cal__drag::after { content: ""; position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: rgba(242, 244, 246, .26); border: 2px solid rgba(242, 244, 246, .85); opacity: 0; animation: cal-finger 8s linear infinite; }
.d-cal__moved { position: absolute; left: calc((100% - 36px) / 7 * 4 + 24px); width: calc((100% - 36px) / 7); top: calc(38px + var(--g) * 5 + var(--ch) * 4); text-align: center; font-size: 10px; font-weight: 700; color: var(--ink-2); line-height: 1.2; animation: cal-moved 8s linear infinite; }

@keyframes cal-drag {
  0%, 12% { translate: 0 0; scale: 1; rotate: 0deg; box-shadow: none; opacity: 1; }
  17% { translate: 0 -4px; scale: 1.12; rotate: 5deg; box-shadow: 0 14px 20px rgba(0, 0, 0, .55); }
  42% { translate: calc(100% + 6px) calc((var(--ch) + var(--g)) * 2 - 4px); scale: 1.12; rotate: 5deg; box-shadow: 0 14px 20px rgba(0, 0, 0, .55); }
  47% { translate: calc(100% + 6px) calc((var(--ch) + var(--g)) * 2); scale: .96; rotate: 0deg; box-shadow: none; }
  50%, 86% { translate: calc(100% + 6px) calc((var(--ch) + var(--g)) * 2); scale: 1; rotate: 0deg; opacity: 1; }
  90% { translate: calc(100% + 6px) calc((var(--ch) + var(--g)) * 2); opacity: 0; }
  93% { translate: 0 0; opacity: 0; scale: .7; }
  98%, 100% { translate: 0 0; opacity: 1; scale: 1; }
}
@keyframes cal-finger { 0%, 8% { opacity: 0; scale: 1.6; } 12%, 44% { opacity: 1; scale: .9; } 50%, 100% { opacity: 0; scale: 1.2; } }
@keyframes cal-moved { 0%, 50% { opacity: 0; } 54%, 86% { opacity: 1; } 90%, 100% { opacity: 0; } }

/* 4. peso + check-in (ciclo 7 s) */
.d-ci { display: flex; flex-direction: column; gap: 14px; padding: 22px 20px; min-height: 360px; }
.d-ci__clock { position: absolute; top: 14px; right: 14px; padding: 6px 10px; border-radius: 999px; background: var(--surface-2); font-size: 13px; font-weight: 800; color: var(--vida); }
.d-ci__t { counter-reset: s var(--sec); animation: ci-clock 7s linear infinite; }
.d-ci__t::before { content: "0:" counter(s, decimal-leading-zero); }
.d-ci__peso { display: flex; align-items: center; justify-content: center; gap: 14px; padding-top: 18px; }
.d-ci__btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-3); font-size: 22px; font-weight: 800; }
.d-ci__minus { animation: ci-minus 7s linear infinite; }
.d-ci__kg { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 6px; }
.d-ci__kg .v { grid-area: 1 / 1; font-size: 40px; font-weight: 900; letter-spacing: -.02em; color: var(--xp); }
.d-ci__kg .v1, .d-ci__kg .v2 { opacity: 0; }
.d-ci__kg .v1 { animation: ci-v1 7s linear infinite; }
.d-ci__kg .v2 { animation: ci-v2 7s linear infinite; }
.d-ci__kg .v3 { animation: ci-v3 7s linear infinite; }
.d-ci__kg small { grid-column: 2; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.d-ci__rows { display: flex; flex-direction: column; gap: 7px; }
.d-ci__rows .row { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 8px; }
.d-ci__rows b { font-size: 12px; font-weight: 700; }
.d-ci__rows .row > span { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; counter-reset: n; }
.d-ci__rows i { display: grid; place-items: center; height: 26px; border-radius: 8px; background: var(--surface-3); font-style: normal; font-size: 12px; font-weight: 800; color: #C9D2D8; counter-increment: n; }
.d-ci__rows i::before { content: counter(n); }
.d-ci__rows i.on { background: var(--vida); color: var(--bg); }
.d-ci__rows .row:nth-child(1) i.on { animation: ci-r0 7s var(--ease-pop) infinite; }
.d-ci__rows .row:nth-child(2) i.on { animation: ci-r1 7s var(--ease-pop) infinite; }
.d-ci__rows .row:nth-child(3) i.on { animation: ci-r2 7s var(--ease-pop) infinite; }
.d-ci__rows .row:nth-child(4) i.on { animation: ci-r3 7s var(--ease-pop) infinite; }
.d-ci__rows .row:nth-child(5) i.on { animation: ci-r4 7s var(--ease-pop) infinite; }
.d-ci__total { display: flex; align-items: baseline; justify-content: flex-end; gap: 8px; animation: ci-total 7s var(--ease-pop) infinite; }
.d-ci__total b { font-size: 26px; font-weight: 900; color: var(--vida); }
.d-ci__total small { font-size: 13px; font-weight: 700; color: var(--ink-2); }

@keyframes ci-clock { 0%, 4% { --sec: 0; } 78%, 100% { --sec: 19; } }
@keyframes ci-minus { 0%, 7% { scale: 1; background: var(--surface-3); } 8% { scale: .86; background: var(--ink-3); } 10%, 14% { scale: 1; background: var(--surface-3); } 15% { scale: .86; background: var(--ink-3); } 17%, 100% { scale: 1; background: var(--surface-3); } }
@keyframes ci-v1 { 0%, 8% { opacity: 1; } 8.5%, 94% { opacity: 0; } 96%, 100% { opacity: 1; } }
@keyframes ci-v2 { 0%, 8% { opacity: 0; } 8.5%, 15% { opacity: 1; } 15.5%, 100% { opacity: 0; } }
@keyframes ci-v3 { 0%, 15% { opacity: 0; } 15.5%, 94% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes ci-r0 { 0%, 25% { background: var(--surface-3); color: #C9D2D8; scale: 1; } 26% { background: var(--vida); color: var(--bg); scale: .7; } 30%, 92% { background: var(--vida); color: var(--bg); scale: 1; } 96%, 100% { background: var(--surface-3); color: #C9D2D8; } }
@keyframes ci-r1 { 0%, 34% { background: var(--surface-3); color: #C9D2D8; scale: 1; } 35% { background: var(--vida); color: var(--bg); scale: .7; } 39%, 92% { background: var(--vida); color: var(--bg); scale: 1; } 96%, 100% { background: var(--surface-3); color: #C9D2D8; } }
@keyframes ci-r2 { 0%, 44% { background: var(--surface-3); color: #C9D2D8; scale: 1; } 45% { background: var(--vida); color: var(--bg); scale: .7; } 49%, 92% { background: var(--vida); color: var(--bg); scale: 1; } 96%, 100% { background: var(--surface-3); color: #C9D2D8; } }
@keyframes ci-r3 { 0%, 54% { background: var(--surface-3); color: #C9D2D8; scale: 1; } 55% { background: var(--vida); color: var(--bg); scale: .7; } 59%, 92% { background: var(--vida); color: var(--bg); scale: 1; } 96%, 100% { background: var(--surface-3); color: #C9D2D8; } }
@keyframes ci-r4 { 0%, 64% { background: var(--surface-3); color: #C9D2D8; scale: 1; } 65% { background: var(--vida); color: var(--bg); scale: .7; } 69%, 92% { background: var(--vida); color: var(--bg); scale: 1; } 96%, 100% { background: var(--surface-3); color: #C9D2D8; } }
@keyframes ci-total { 0%, 74% { opacity: 0; scale: .7; } 79%, 92% { opacity: 1; scale: 1; } 96%, 100% { opacity: 0; } }

/* 5. XP, sequência e confete (ciclo 6 s) */
.d-xp { display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: center; gap: 28px; padding: 28px 26px; min-height: 300px; }
.d-xp__rings { position: relative; width: 190px; height: 190px; }
.d-xp__rings svg { width: 100%; height: 100%; }
.d-xp .a { stroke-dasharray: 100 100; }
.d-xp .a1 { animation: xp-a1 6s var(--ease-ring) infinite; }
.d-xp .a2 { animation: xp-a2 6s var(--ease-ring) infinite; }
.d-xp .a3 { animation: xp-a3 6s var(--ease-ring) infinite; }
.d-xp .a4 { animation: xp-a4 6s var(--ease-ring) infinite; }
.confetti { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.confetti i { position: absolute; width: 11px; height: 11px; margin: -5px 0 0 -5px; border-radius: 3px; background: var(--c); opacity: 0; animation: xp-conf 6s cubic-bezier(.2, .8, .3, 1) infinite; }
.d-xp__side { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.d-xp__toast { padding: 8px 15px; border-radius: 999px; background: var(--xp); color: var(--bg); font-size: 15px; font-weight: 900; white-space: nowrap; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); animation: xp-toast 6s var(--ease-pop) infinite; }
.d-xp__streak { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 30px; color: var(--flame-2); }
.d-xp__streak .flame { width: 30px; height: 30px; }
.d-xp__streak .n { position: relative; display: inline-grid; overflow: hidden; height: 1.15em; line-height: 1.15; }
.d-xp__streak .n span { grid-area: 1 / 1; }
.d-xp__streak .n .a { translate: 0 -110%; animation: xp-sa 6s var(--ease-pop) infinite; }
.d-xp__streak .n .b { animation: xp-sb 6s var(--ease-pop) infinite; }
.d-xp__streak small { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.d-xp__total { font-size: 15px; font-weight: 800; color: var(--xp); }
.d-xp__num { counter-reset: xp var(--xpn); animation: xp-num 6s linear infinite; font-size: 36px; font-weight: 900; letter-spacing: -.02em; }
.d-xp__num::before { content: counter(xp); }
.d-xp__lvl { display: flex; justify-content: space-between; gap: 10px; width: 100%; max-width: 280px; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.d-xp__bar { width: 100%; max-width: 280px; height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.d-xp__bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--xp); transform-origin: 0 50%; scale: .77 1; animation: xp-bar 6s var(--ease-out) infinite; }

@keyframes xp-a1 { 0%, 4% { stroke-dasharray: 75 100; } 12%, 94% { stroke-dasharray: 100 100; } 100% { stroke-dasharray: 75 100; } }
@keyframes xp-a2 { 0%, 4% { stroke-dasharray: 100 100; } 100% { stroke-dasharray: 100 100; } }
@keyframes xp-a3 { 0%, 9% { stroke-dasharray: 0 100; } 18%, 94% { stroke-dasharray: 100 100; } 100% { stroke-dasharray: 0 100; } }
@keyframes xp-a4 { 0%, 14% { stroke-dasharray: 0 100; } 23%, 94% { stroke-dasharray: 100 100; } 100% { stroke-dasharray: 0 100; } }
@keyframes xp-conf { 0%, 25% { translate: 0 0; rotate: 0deg; opacity: 0; } 26% { opacity: 1; } 46% { translate: var(--x) var(--y); rotate: 340deg; opacity: 0; } 100% { translate: var(--x) var(--y); opacity: 0; } }
@keyframes xp-toast { 0%, 26% { opacity: 0; scale: .6; translate: 0 8px; } 31%, 86% { opacity: 1; scale: 1; translate: 0 0; } 92%, 100% { opacity: 0; scale: 1; } }
@keyframes xp-sa { 0%, 40% { translate: 0 0; } 45%, 94% { translate: 0 -110%; } 98%, 100% { translate: 0 0; } }
@keyframes xp-sb { 0%, 40% { translate: 0 110%; } 45%, 94% { translate: 0 0; } 98%, 100% { translate: 0 110%; } }
@keyframes xp-num { 0%, 28% { --xpn: 500; } 46%, 94% { --xpn: 530; } 100% { --xpn: 500; } }
@keyframes xp-bar { 0%, 28% { scale: .67 1; } 48%, 94% { scale: .77 1; } 100% { scale: .67 1; } }

/* ------------------------------------------------------------ domingo (ciclo 7 s) */
.sunday { padding: clamp(80px, 10vw, 160px) 0; background: #110F1D; }
.sunday__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 96px); }
.d-sun { display: flex; flex-direction: column; gap: 26px; padding: 30px 32px 32px; border-radius: 30px; background: var(--bg); rotate: 1.2deg; box-shadow: 0 10px 0 #2B2550; }
.d-sun__day { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-self: flex-start; padding: 4px; border-radius: 999px; background: var(--surface-2); font-size: 13px; font-weight: 800; }
.d-sun__day::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--descanso); translate: 100% 0; animation: sun-day 7s var(--ease-out) infinite; }
.d-sun__day span { position: relative; padding: 7px 16px; text-align: center; }
.d-sun__day .sat { color: var(--ink-2); animation: sun-sat 7s linear infinite; }
.d-sun__day .sun { color: var(--bg); animation: sun-sun 7s linear infinite; }
.d-sun__rings { display: flex; align-items: center; gap: 28px; }
.d-sun__rings svg { width: 196px; height: 196px; flex: none; }
.d-sun .a { stroke-dasharray: 100 100; }
.d-sun .t2w, .d-sun .t3w, .d-sun .a2w, .d-sun .a3w { opacity: 0; animation: sun-out 7s linear infinite; }
.d-sun .t2s, .d-sun .t3s { animation: sun-in 7s linear infinite; }
.d-sun .a2s { animation: sun-a2 7s var(--ease-ring) infinite; }
.d-sun .a3s { animation: sun-a3 7s var(--ease-ring) infinite; }
.d-sun .a4 { animation: sun-a4 7s var(--ease-ring) infinite; }
.d-sun__labels { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.d-sun__labels > div { display: flex; flex-direction: column; }
.d-sun__labels b { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.d-sun__labels .sw { display: grid; }
.d-sun__labels .sw b { grid-area: 1 / 1; }
.d-sun__labels .sw span { grid-row: 2; }
.d-sun__labels .w { opacity: 0; animation: sun-out 7s linear infinite; }
.d-sun__labels .s { animation: sun-in 7s linear infinite; }
.d-sun__labels span { font-size: 18px; font-weight: 800; color: var(--ink); }
.d-sun__items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.d-sun__items .it { --c: var(--recup); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.d-sun__items .it--pra { --c: var(--vida); }
.d-sun__items .it--sono { --c: var(--descanso); }
.d-sun__items .c { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; border: 3px solid var(--c); background: var(--c); }
.d-sun__items svg { grid-area: 1 / 1; width: 28px; height: 28px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.d-sun__items .ic-a { stroke: var(--c); opacity: 0; }
.d-sun__items .ic-ok { stroke: var(--bg); stroke-width: 3; }
.d-sun__items small { font-size: 13px; font-weight: 600; text-align: center; }
.d-sun__items .it--mob .c { animation: sun-c1 7s var(--ease-pop) infinite; } .d-sun__items .it--mob .ic-a { animation: sun-i1 7s linear infinite; } .d-sun__items .it--mob .ic-ok { animation: sun-k1 7s var(--ease-pop) infinite; }
.d-sun__items .it--pra .c { animation: sun-c2 7s var(--ease-pop) infinite; } .d-sun__items .it--pra .ic-a { animation: sun-i2 7s linear infinite; } .d-sun__items .it--pra .ic-ok { animation: sun-k2 7s var(--ease-pop) infinite; }
.d-sun__items .it--sono .c { animation: sun-c3 7s var(--ease-pop) infinite; } .d-sun__items .it--sono .ic-a { animation: sun-i3 7s linear infinite; } .d-sun__items .it--sono .ic-ok { animation: sun-k3 7s var(--ease-pop) infinite; }

@keyframes sun-day { 0%, 10% { translate: 0 0; background: var(--surface-3); } 16%, 92% { translate: 100% 0; background: var(--descanso); } 98%, 100% { translate: 0 0; background: var(--surface-3); } }
@keyframes sun-sat { 0%, 10% { color: var(--ink); } 16%, 92% { color: var(--ink-2); } 98%, 100% { color: var(--ink); } }
@keyframes sun-sun { 0%, 10% { color: var(--ink-2); } 16%, 92% { color: var(--bg); } 98%, 100% { color: var(--ink-2); } }
@keyframes sun-out { 0%, 12% { opacity: 1; } 18%, 92% { opacity: 0; } 98%, 100% { opacity: 1; } }
@keyframes sun-in { 0%, 12% { opacity: 0; } 18%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes sun-a3 { 0%, 29% { stroke-dasharray: 0 100; opacity: 0; } 30% { stroke-dasharray: 0 100; opacity: 1; } 38%, 92% { stroke-dasharray: 100 100; opacity: 1; } 97%, 100% { stroke-dasharray: 100 100; opacity: 0; } }
@keyframes sun-a4 { 0%, 47% { stroke-dasharray: 0 100; opacity: 0; } 48% { stroke-dasharray: 0 100; opacity: 1; } 56%, 92% { stroke-dasharray: 100 100; opacity: 1; } 97%, 100% { stroke-dasharray: 100 100; opacity: 0; } }
@keyframes sun-a2 { 0%, 65% { stroke-dasharray: 0 100; opacity: 0; } 66% { stroke-dasharray: 0 100; opacity: 1; } 74%, 92% { stroke-dasharray: 100 100; opacity: 1; } 97%, 100% { stroke-dasharray: 100 100; opacity: 0; } }
@keyframes sun-c1 { 0%, 28% { background: var(--surface-2); scale: 1; } 29% { background: var(--c); scale: .7; } 34%, 92% { background: var(--c); scale: 1; } 97%, 100% { background: var(--surface-2); } }
@keyframes sun-c2 { 0%, 46% { background: var(--surface-2); scale: 1; } 47% { background: var(--c); scale: .7; } 52%, 92% { background: var(--c); scale: 1; } 97%, 100% { background: var(--surface-2); } }
@keyframes sun-c3 { 0%, 64% { background: var(--surface-2); scale: 1; } 65% { background: var(--c); scale: .7; } 70%, 92% { background: var(--c); scale: 1; } 97%, 100% { background: var(--surface-2); } }
@keyframes sun-i1 { 0%, 28% { opacity: 1; } 29%, 94% { opacity: 0; } 97%, 100% { opacity: 1; } }
@keyframes sun-i2 { 0%, 46% { opacity: 1; } 47%, 94% { opacity: 0; } 97%, 100% { opacity: 1; } }
@keyframes sun-i3 { 0%, 64% { opacity: 1; } 65%, 94% { opacity: 0; } 97%, 100% { opacity: 1; } }
@keyframes sun-k1 { 0%, 29% { opacity: 0; scale: .3; } 34%, 92% { opacity: 1; scale: 1; } 96%, 100% { opacity: 0; } }
@keyframes sun-k2 { 0%, 47% { opacity: 0; scale: .3; } 52%, 92% { opacity: 1; scale: 1; } 96%, 100% { opacity: 0; } }
@keyframes sun-k3 { 0%, 65% { opacity: 0; scale: .3; } 70%, 92% { opacity: 1; scale: 1; } 96%, 100% { opacity: 0; } }

/* ------------------------------------------------------------ polaroid (foto colada no card) */
.polaroid { display: inline-block; margin: 26px 0 0; padding: 8px 8px 0; border-radius: 6px; background: var(--ink); rotate: -4deg; box-shadow: 0 16px 26px -12px rgba(0, 0, 0, .55); transition: rotate .5s var(--ease-out); }
.polaroid img { display: block; width: 150px; height: 188px; object-fit: cover; border-radius: 3px; }
.polaroid figcaption { padding: 8px 2px 10px; font-size: 12px; font-weight: 700; color: var(--bg); }
.card:hover .polaroid { rotate: -1deg; }

/* ------------------------------------------------------------ integrações */
.integra { padding: clamp(80px, 10vw, 160px) 0 clamp(40px, 5vw, 80px); }
.integra__in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(40px, 6vw, 96px); }
.integra__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.int {
  --rot: 0deg;
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  padding: 22px; border-radius: 24px; background: var(--surface); border: 2px dashed var(--line);
  rotate: var(--rot); transition: rotate .5s var(--ease-out), translate .5s var(--ease-out);
}
.int:hover { rotate: 0deg; translate: 0 -4px; }
.int--on { border: 2px solid var(--dieta); background: #151D10; box-shadow: 0 8px 0 #34500F; }
.int__logo { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 6px; border-radius: 16px; background: var(--surface-3); }
.int__logo img { width: 28px; height: 28px; }
.int__logo--strava { background: #FC4C02; }
.int__logo--wide { width: auto; padding: 0 14px; }
.int__logo--wide img { width: 70px; height: 20px; }
.int:not(.int--on) .int__logo { opacity: .8; }
.int h3 { font-size: 1.375rem; font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.int p { font-size: .9375rem; line-height: 1.4; color: var(--ink-2); }
.int__st { position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: var(--surface-2); font-size: .8125rem; font-weight: 800; color: var(--ink-2); }
.int--on .int__st { background: var(--dieta); color: var(--bg); }
.int__st i { width: 8px; height: 8px; border-radius: 50%; background: var(--bg); animation: ao-vivo 1.6s ease-in-out infinite; }
@keyframes ao-vivo { 0%, 100% { opacity: 1; scale: 1; } 50% { opacity: .35; scale: .7; } }

/* ------------------------------------------------------------ prova (só depoimento real) */
.prova { padding: clamp(64px, 8vw, 128px) 0 clamp(80px, 10vw, 160px); }
.quote { position: relative; margin: 0; }
.quote blockquote { margin: 0; }
.quote__mark { display: block; height: .42em; font-size: clamp(7rem, 13vw, 12rem); font-weight: 900; line-height: .8; color: var(--vida); }
.quote__big { max-width: 16ch; font-size: clamp(2.75rem, 6.6vw, 6.25rem); font-weight: 900; line-height: .95; letter-spacing: -.045em; text-shadow: .04em .05em 0 var(--vida); text-wrap: balance; }
.quote__sub { margin-top: clamp(20px, 2.4vw, 32px); max-width: 32ch; font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.35; font-weight: 600; color: var(--ink-2); }
.quote__who {
  --rot: -2deg;
  display: inline-flex; align-items: center; gap: 16px; margin-top: clamp(28px, 3.4vw, 44px);
  padding: 10px 24px 10px 10px; border-radius: 999px; background: var(--ink); color: var(--bg);
  rotate: var(--rot); box-shadow: 0 16px 26px -12px rgba(0, 0, 0, .7);
}
.quote__who img { width: 72px; height: 72px; flex: none; border-radius: 50%; object-fit: cover; }
.quote__who b { display: block; font-size: 1.125rem; font-weight: 900; letter-spacing: -.01em; }
.quote__who small { display: block; font-size: .9375rem; font-weight: 600; color: rgba(12, 15, 19, .72); }

.ba { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(16px, 3vw, 44px); max-width: 1040px; margin-top: clamp(64px, 8vw, 120px); }
.ba__card { --rot: 0deg; padding: clamp(20px, 2.4vw, 30px); border-radius: 28px; rotate: var(--rot); }
.ba__card--antes { background: var(--surface); }
.ba__card--agora { background: var(--vida); color: var(--bg); box-shadow: 0 10px 0 #7550B0; }
.ba__k { font-size: .8125rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.ba__card--agora .ba__k { color: rgba(12, 15, 19, .72); }
.ba__card ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ba__card li { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 14px; background: var(--surface-2); font-size: 1.0625rem; font-weight: 700; }
.ba__card li:nth-child(2) { rotate: 1.4deg; translate: 8px 0; }
.ba__card li:nth-child(3) { rotate: -1deg; translate: -4px 0; }
.ba__card li i { width: 12px; height: 12px; flex: none; border-radius: 4px; background: var(--c); }
.ba__arrow { width: 44px; height: 44px; color: var(--ink-2); stroke-width: 2.6; }
.ba__one { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.ba__one svg { width: 104px; height: 104px; flex: none; }
.ba__one p { font-size: clamp(1.625rem, 2.6vw, 2.25rem); font-weight: 900; line-height: .98; letter-spacing: -.035em; }

/* parede: só aparece quando main.js tem depoimento real cadastrado */
.wall { columns: 3 300px; column-gap: 20px; margin-top: clamp(56px, 7vw, 104px); }
.wall > * { break-inside: avoid; margin: 0 0 20px; }
.wall blockquote { margin: 0; }
.w-msg { padding: 14px 16px 10px; border-radius: 20px 20px 20px 6px; background: var(--surface-2); }
.w-msg p { font-size: 1rem; line-height: 1.42; }
.w-msg time { display: block; margin-top: 6px; text-align: right; font-size: .75rem; color: var(--ink-2); }
.w-who { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: .875rem; font-weight: 700; }
.w-who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.w-who small { display: block; font-weight: 600; color: var(--ink-2); }
.w-card { padding: 18px; border-radius: 22px; background: var(--surface); }
.w-card p { font-size: 1.0625rem; line-height: 1.45; }

/* frase curta perto do CTA final */
.mini-quote { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; column-gap: 14px; max-width: 560px; margin: 4px 0 0; }
.mini-quote img { grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.mini-quote blockquote { margin: 0; font-size: 1.0625rem; font-weight: 700; line-height: 1.35; }
.mini-quote figcaption { font-size: .875rem; font-weight: 600; color: var(--ink-2); }

/* ------------------------------------------------------------ dados */
.data { padding: clamp(96px, 12vw, 180px) 0 clamp(64px, 8vw, 120px); }
.data__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(40px, 6vw, 96px); }
.checks { list-style: none; margin: clamp(32px, 4vw, 52px) 0 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.checks li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: start; font-size: clamp(1.125rem, 1.45vw, 1.3125rem); line-height: 1.42; color: var(--ink-2); }
.checks b { color: var(--ink); font-weight: 800; }
.checks .ck { width: 30px; height: 30px; margin-top: 1px; fill: none; stroke: var(--cardio); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.zip { padding: 24px; border-radius: 28px; background: var(--surface); rotate: 1.4deg; box-shadow: 0 10px 0 #0A2733, 0 0 0 1px var(--line); }
.zip__head { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.zip__head .ic { width: 26px; height: 26px; color: var(--cardio); stroke-width: 2; }
.zip__head b { font-size: 1.0625rem; font-weight: 800; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zip__head small { margin-left: auto; flex: none; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); font-size: .8125rem; font-weight: 700; color: var(--ink-2); }
.zip__tree { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.zip__tree li { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 10px; border-radius: 10px; font-size: .9375rem; font-weight: 600; }
.zip__tree li:nth-child(odd) { background: rgba(28, 35, 43, .55); }
.zip__tree .ic { width: 18px; height: 18px; color: var(--ink-2); stroke-width: 2; }
.zip__tree .dir { font-weight: 800; }
.zip__tree .dir .ic { color: var(--cardio); }
.zip__tree .sub { padding-left: 38px; }
.zip__tree em { margin-left: auto; font-style: normal; font-size: .8125rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.zip__foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.zip__foot span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 12px; background: var(--surface-2); font-size: .875rem; font-weight: 800; }
.zip__foot .tok { letter-spacing: .04em; color: var(--xp); }
.zip__foot .imp { color: var(--cardio); }

/* ------------------------------------------------------------ final + rodapé */
.final { padding: clamp(64px, 8vw, 120px) 0 clamp(80px, 9vw, 140px); }
.final__in { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(24px, 3vw, 40px); }
.final__k { font-size: .875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.final__title { max-width: 13ch; font-size: clamp(3.25rem, 8.6vw, 8.5rem); font-weight: 900; line-height: .9; letter-spacing: -.05em; }
.final__title .n { color: var(--xp); }

.foot { position: relative; padding-top: 36px; border-top: 1px solid var(--line); }
.foot__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.foot__row p { font-weight: 600; color: var(--ink-2); }
.foot__row a { color: var(--ink); font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; display: inline-block; padding-block: 10px; }
.foot__row a:hover { text-decoration-thickness: 3px; color: var(--brand); }
.foot__y { margin-left: auto; }
.l-mark--foot { height: 40px; }
.foot__word { margin-top: clamp(16px, 3vw, 40px); height: clamp(110px, 19.5vw, 290px); overflow: hidden; pointer-events: none; user-select: none; }
.foot__word span::before { content: "Forja"; }
.foot__word span { display: block; font-size: clamp(9rem, 29vw, 27rem); font-weight: 900; line-height: .8; letter-spacing: -.07em; color: var(--surface-2); padding-left: var(--gutter); margin-left: -.04em; }

/* ------------------------------------------------------------ entrada ao rolar (cada peça do seu jeito) */
[data-in].pre { opacity: 0; }
[data-in="title"] > .paint { display: block; }
[data-in="title"].pre { opacity: 1; }
[data-in="title"].pre > .paint { clip-path: inset(-10% 100% -30% 0); }
[data-in="title"].in > .paint { clip-path: inset(-10% -10% -30% -2%); transition: clip-path .9s var(--ease-paint); }
[data-in="fade"].pre { translate: 0 22px; }
[data-in="fade"].in { opacity: 1; translate: 0 0; transition: opacity .8s var(--ease-out) .12s, translate .9s var(--ease-out) .12s; }
[data-in="card"].pre { translate: calc(var(--lado, 1) * 48px) 40px; rotate: calc(var(--rot) + var(--lado, 1) * 7deg); }
[data-in="card"].in { opacity: 1; translate: 0 0; rotate: var(--rot); transition: opacity .5s var(--ease-out) calc(var(--i, 0) * 90ms), translate 1s var(--ease-out) calc(var(--i, 0) * 90ms), rotate 1.1s var(--ease-out) calc(var(--i, 0) * 90ms); }
[data-in="lift"].pre { transform: perspective(1000px) rotateX(30deg) translateY(48px) scale(.94); transform-origin: 50% 100%; }
[data-in="lift"].in { opacity: 1; transform: none; transform-origin: 50% 100%; transition: opacity .6s var(--ease-out), transform 1.1s var(--ease-out); }
[data-in="list"].pre { opacity: 1; }
[data-in="list"].pre .ck path { stroke-dasharray: 26; stroke-dashoffset: 26; }
[data-in="list"].pre li > span { opacity: 0; translate: -10px 0; }
[data-in="list"].in .ck path { stroke-dasharray: 26; stroke-dashoffset: 0; transition: stroke-dashoffset .55s var(--ease-out); }
[data-in="list"].in li > span { opacity: 1; translate: 0 0; transition: opacity .6s var(--ease-out), translate .7s var(--ease-out); }
[data-in="list"].in li:nth-child(2) .ck path, [data-in="list"].in li:nth-child(2) > span { transition-delay: .12s; }
[data-in="list"].in li:nth-child(3) .ck path, [data-in="list"].in li:nth-child(3) > span { transition-delay: .24s; }
[data-in="list"].in li:nth-child(4) .ck path, [data-in="list"].in li:nth-child(4) > span { transition-delay: .36s; }
.zip.pre .zip__tree li { opacity: 0; translate: -14px 0; }
[data-in="sticker"].pre { scale: 1.2; rotate: calc(var(--rot, 0deg) - 12deg); }
[data-in="sticker"].in { opacity: 1; scale: 1; rotate: var(--rot, 0deg); transition: opacity .25s ease-out, scale .7s var(--ease-out), rotate .8s var(--ease-out); }
.zip.in .zip__tree li { opacity: 1; translate: 0 0; transition: opacity .5s var(--ease-out) calc(.35s + var(--i) * 70ms), translate .6s var(--ease-out) calc(.35s + var(--i) * 70ms); }

/* ------------------------------------------------------------ keyframes comuns */
@keyframes rise { from { translate: 0 108%; } }
@keyframes up { from { opacity: 0; translate: 0 22px; } }
@keyframes dot-in { from { scale: 0; rotate: -120deg; } }
@keyframes lift { from { opacity: 0; transform: perspective(1400px) rotateX(28deg) translateY(70px) scale(.94); transform-origin: 50% 100%; } }
@keyframes colar { from { clip-path: circle(0% at 8% 20%); scale: 1.06; } to { clip-path: circle(150% at 8% 20%); scale: 1; } }
@keyframes pop { 0% { scale: .55; } 60% { scale: 1.18; } 100% { scale: 1; } }
@keyframes flick { 0%, 100% { transform: rotate(-7deg) scale(1); } 50% { transform: rotate(7deg) scale(1.12); } }
@keyframes finger { 0% { opacity: 0; scale: 1.7; } 35% { opacity: 1; scale: 1; } 55% { scale: .8; } 100% { opacity: 0; scale: 1; } }
@keyframes fly { from { translate: 0 0; rotate: 0deg; opacity: 1; } to { translate: var(--x) var(--y); rotate: 340deg; opacity: 0; } }

/* ------------------------------------------------------------ responsivo */
@media (max-width: 1180px) {
  .phone-wrap { --s: .82; }
  .hero__stage { min-height: 720px; }
  .card--wide { flex-direction: column; align-items: stretch; }
  .card--wide .card__txt { flex: none; }
}
@media (max-width: 960px) {
  :root { --nav-h: 64px; }
  .brand { font-size: 1.3125rem; }
  .brand .l-mark { height: 32px; }
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .hero__copy { padding: 20px 0 0; }
  .hero__stage { min-height: 0; padding: 56px 0 40px; }
  .bg-rings { width: 124%; max-width: 640px; }
  .rings__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .rings__stage { top: var(--nav-h); z-index: 2; width: 100%; aspect-ratio: auto; height: 252px; padding: 16px 0 24px; background: linear-gradient(var(--bg) 84%, rgba(12, 15, 19, 0)); }
  .big-rings { width: 212px; height: 212px; margin-inline: auto; }
  .rings__pct { height: 212px; inset: 16px 0 auto; }
  .ring-item { min-height: 54vh; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .card, .card--dieta, .card--treino, .card--vida, .card--xp { grid-column: 1 / -1; }
  .sunday__in, .data__in, .integra__in { grid-template-columns: minmax(0, 1fr); }
  .ba { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .ba__arrow { rotate: 90deg; margin-left: 28px; }
  .ba__card { width: 100%; max-width: 520px; }
  .d-sun { max-width: 560px; }
}
@media (max-width: 560px) {
  .phone-wrap { --s: .8; }
  .hero__stage { padding: 52px 0 36px; }
  .sticker { font-size: .875rem; box-shadow: 0 0 0 3px var(--ink), 0 12px 18px -10px rgba(0, 0, 0, .7); }
  .sticker--xp { top: 4%; left: 0; font-size: 1.125rem; }
  .sticker--ia { top: 50%; right: -2px; }
  .sticker--fire { bottom: 6%; left: -2px; }
  .card { border-radius: 26px; }
  .demo { border-radius: 18px; }
  .d-photo { height: 410px; }
  .d-hevy { grid-template-columns: minmax(0, 1fr) 22px minmax(0, .82fr); padding: 18px 12px; }
  .d-hevy__app { padding: 12px 10px; }
  .d-hevy__app li { font-size: 11px; }
  .d-cal { padding: 16px 12px; --ch: 28px; }
  .d-cal__weeks { gap: 3px; }
  .d-cal__weeks span { font-size: 9px; height: 28px; border-radius: 7px; }
  .d-cal__weeks .race .ic { display: none; }
  .d-cal__phases { display: none; }
  .d-cal__week { gap: 4px; }
  .d-cal__week i { font-size: 10px; border-radius: 7px; }
  .d-cal__drag { width: calc((100% - 24px) / 7); left: calc((100% - 24px) / 7 * 3 + 12px); translate: calc(100% + 4px) calc((var(--ch) + var(--g)) * 2); }
  .d-cal__moved { left: calc((100% - 24px) / 7 * 4 + 16px); width: calc((100% - 24px) / 7); }
  .d-ci { padding: 20px 14px; }
  .d-ci__rows .row { grid-template-columns: 78px minmax(0, 1fr); }
  .d-xp { grid-template-columns: minmax(0, 1fr); justify-items: center; padding: 26px 18px; }
  .d-xp__side { align-items: center; }
  .d-sun { padding: 20px 16px; rotate: 0deg; }
  .d-sun__rings { gap: 14px; }
  .d-sun__rings svg { width: 128px; height: 128px; }
  .d-sun__labels span { font-size: 15px; }
  .d-sun__items .c { width: 64px; height: 64px; }
  .zip { padding: 18px 14px; rotate: 0deg; }
  .integra__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .int { display: grid; grid-template-columns: 50px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-items: start; padding: 16px 16px 18px; }
  .int__logo { grid-row: span 2; width: 50px; height: 50px; margin: 0; border-radius: 14px; }
  .int__logo--wide { width: 50px; padding: 0; }
  .int__logo--wide img { width: 42px; height: 12px; }
  .int h3 { font-size: 1.1875rem; padding-right: 86px; }
  .int__st { top: 14px; right: 14px; padding: 5px 10px; font-size: .75rem; }
  .polaroid img { width: 132px; height: 165px; }
  .quote__who { gap: 12px; padding: 8px 18px 8px 8px; }
  .quote__who img { width: 56px; height: 56px; }
  .quote__who small { font-size: .8125rem; }
  .ba__card li { font-size: 1rem; }
  .ba__one svg { width: 84px; height: 84px; }
  .sticker--ia { padding: 5px 12px 5px 5px; border-radius: 16px; }
  .sticker__ph { width: 38px; height: 38px; border-radius: 11px; }
  .d-photo { height: 440px; }
  .d-toast { top: 50px; }
  .d-photo__vf { width: 224px; height: 224px; }
  .d-hevy__rpe span { height: 28px; font-size: 11px; border-radius: 7px; }
  .d-hevy__rpe > div { gap: 3px; }
  .zip__tree .sub { padding-left: 30px; }
  .foot__y { margin-left: 0; }
}
@media (max-width: 960px) and (min-width: 561px) {
  .d-cal__phases span { font-size: 9px; }
}
@media (max-width: 960px) {
  @keyframes cal-drag {
    0%, 12% { translate: 0 0; scale: 1; rotate: 0deg; box-shadow: none; opacity: 1; }
    17% { translate: 0 -4px; scale: 1.12; rotate: 5deg; box-shadow: 0 14px 20px rgba(0, 0, 0, .55); }
    42% { translate: calc(100% + 4px) calc((var(--ch) + var(--g)) * 2 - 4px); scale: 1.12; rotate: 5deg; box-shadow: 0 14px 20px rgba(0, 0, 0, .55); }
    47% { translate: calc(100% + 4px) calc((var(--ch) + var(--g)) * 2); scale: .96; rotate: 0deg; box-shadow: none; }
    50%, 86% { translate: calc(100% + 4px) calc((var(--ch) + var(--g)) * 2); scale: 1; rotate: 0deg; opacity: 1; }
    90% { translate: calc(100% + 4px) calc((var(--ch) + var(--g)) * 2); opacity: 0; }
    93% { translate: 0 0; opacity: 0; scale: .7; }
    98%, 100% { translate: 0 0; opacity: 1; scale: 1; }
  }
}

/* ------------------------------------------------------------ movimento reduzido: sem loop, sem scroll suave; entradas viram fade curto */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  html { scroll-behavior: auto; }
  .bg-arc, .m-arc, .m-scroll, .m-toast, .card, .btn, .btn .ic, .link-down .ic { transition: none !important; }
  .card:hover { translate: none; }
  .btn:hover, .btn:active { translate: none; }
  [data-in].pre { opacity: 0; translate: none !important; transform: none !important; clip-path: none !important; rotate: var(--rot, 0deg) !important; }
  [data-in].pre * { opacity: 1 !important; translate: none !important; stroke-dashoffset: 0 !important; clip-path: none !important; }
  [data-in].in { opacity: 1; transition: opacity .35s ease-out !important; clip-path: none; }
  .zip.pre .zip__tree li { opacity: 1; translate: none; }
  .ring-item h3 { opacity: 1; scale: 1; }
}
