@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0a0a0a;
  --paper: #f4f1ec;
  --mist: #c8c4bc;
  --ash: #6b6862;
  --algae: #5c6b5a;
  --algae-hi: #7a8a77;
  --algae-lo: #3f4a3e;
  --terra: #c44e2c;
  --bg: var(--paper);
  --fg: var(--ink);
  --muted: var(--ash);
  --accent: var(--algae);
  --eyebrow: var(--algae-lo);
  --card: rgba(255, 255, 255, 0.7);
  --shadow-soft: 0 20px 60px -30px rgba(10, 10, 10, 0.25);
  --rule: rgba(10, 10, 10, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-text: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --step-0: clamp(1rem, .95rem + .3vw, 1.13rem);
  --step-1: clamp(1.2rem, 1.1rem + .5vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --step-3: clamp(2.4rem, 2rem + 2vw, 3.6rem);
  --step-4: clamp(3rem, 2.4rem + 3vw, 5rem);
  --step-6: clamp(4.5rem, 3rem + 8vw, 9rem);
  --space-edge: clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
  --space-section: clamp(4rem, 3rem + 6vw, 9rem);
  --ease-edit: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 220ms;
  --dur-mid: 520ms;
  --radius-card: 1.5rem;
  --radius-control: 1rem;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--fg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 4px;
}
.container {
  width: min(100% - (var(--space-edge) * 2), 74rem);
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 10;
  padding: .5rem .7rem;
  color: var(--bg);
  background: var(--fg);
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 3;
}
.site-header--home {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  /* O cabeçalho tem a largura do container; sem isso, faixas de borda a borda apareciam nas laterais dele. */
  box-shadow: 0 0 0 100vmax var(--bg);
  clip-path: inset(0 -100vmax);
  transition: opacity 400ms var(--ease-edit), transform 400ms var(--ease-edit);
}
.js .site-header--home {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.js .site-header--home.is-visible,
.js .site-header--home:focus-within {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.reading-progress {
  display: flex;
  gap: 3px;
  margin-left: .65rem;
  margin-right: auto;
}
.reading-progress i {
  width: 5px;
  height: 5px;
  border-radius: 22%;
  background: var(--rule);
  transition: background var(--dur-fast) var(--ease-edit);
}
.reading-progress i.is-read {
  background: var(--accent);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .82rem;
}
.site-nav a {
  text-decoration: none;
}
.site-nav a:not(.nav-enter):not(.button-secondary) {
  display: none;
}
.nav-enter {
  border-bottom: 1px solid var(--fg);
}
.hero-controls {
  gap: .5rem;
}
.hero-icon {
  display: grid;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: .6rem;
  place-items: center;
  background: var(--bg);
  color: var(--muted);
  cursor: pointer;
}
.hero-icon:hover,
.hero-icon[aria-pressed="true"],
.hero-icon.is-on {
  border-color: var(--fg);
  color: var(--fg);
}
.hero-icon svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  stroke: currentColor;
}
.hero-icon .wave,
.hero-icon .slash {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.hero-icon .slash,
.hero-icon .stop {
  display: none;
}
.hero-icon[aria-pressed="true"] .slash,
.hero-icon.is-on .stop {
  display: block;
}
.hero-icon.is-on .play {
  display: none;
}
.recomp-wordmark {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  margin: 0;
  font-family: var(--font-display);
  font-optical-sizing: none;
  font-variant-ligatures: none;
  letter-spacing: -.075em;
  line-height: 0.78;
}
.recomp-re {
  display: inline-block;
  font-variation-settings: "wght" 300, "opsz" 72, "SOFT" 50, "WONK" 0;
}
.recomp-compor {
  display: inline-flex;
}
.recomp-compor span {
  width: var(--recomp-slot, auto);
  display: inline-block;
  font-variation-settings: "wght" 700, "opsz" 72, "SOFT" 50, "WONK" 0;
}
.recomp-wordmark {
  touch-action: pan-y;
}
.recomp-compor span:nth-child(2) {
  font-variation-settings: "wght" 580, "opsz" 72, "SOFT" 50, "WONK" 0;
}
.recomp-compor span:nth-child(3) {
  font-variation-settings: "wght" 460, "opsz" 72, "SOFT" 50, "WONK" 0;
}
.recomp-compor span:nth-child(4) {
  font-variation-settings: "wght" 340, "opsz" 72, "SOFT" 50, "WONK" 0;
}
.recomp-compor span:nth-child(5) {
  font-variation-settings: "wght" 220, "opsz" 72, "SOFT" 50, "WONK" 0;
}
.recomp-compor span:nth-child(6) {
  font-variation-settings: "wght" 100, "opsz" 72, "SOFT" 50, "WONK" 0;
}
.recomp-block {
  display: inline-block;
  width: 1ex;
  height: 1ex;
  margin-left: .35em;
  border-radius: 22%;
  background: var(--accent);
  transform: translateY(-.03em);
}
.recomp-wordmark--small {
  font-size: 1.55rem;
  text-decoration: none;
}
.brand-link:not(.recomp-wordmark) {
  display: inline-flex;
  align-items: baseline;
  color: var(--fg);
  font: 500 1.55rem / 0.8 var(--font-display);
  letter-spacing: -.075em;
  text-decoration: none;
}
.brand-link:not(.recomp-wordmark) > span:first-of-type {
  font-variation-settings: "wght" 700, "opsz" 48, "SOFT" 50, "WONK" 0;
}
.brand-block {
  display: inline-block;
  width: .7em;
  height: .7em;
  margin-left: .35em;
  border-radius: 22%;
  background: var(--accent);
}
.hero {
  position: relative;
  isolation: isolate;
}
.hero-3d {
  --hero-slot: #e6e1d7;
  --hero-shadow: #2a2823;
  --hero-freq-zero: 0.08;
  --t-treino: var(--ink);
  --t-comida: var(--algae);
  --t-sono: var(--algae-lo);
  --t-cardio: var(--algae-hi);
  --t-corpo: #97a493;
  --t-suplementos: #4d5b4b;
  --hero-bar-height: 7rem;
  height: 330svh;
  background: var(--bg);
  color: var(--fg);
}
.hero-wrap {
  height: 330svh;
}
.hero-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
}
.hero-canvas.is-point {
  cursor: pointer;
}
.hero-scrim {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 44%;
  pointer-events: none;
  background: linear-gradient(
    to top,
    var(--bg) 30%,
    color-mix(in srgb, var(--bg) 70%, transparent) 62%,
    transparent
  );
}
.hero-opening .recomp-wordmark--hero {
  font-size: clamp(3.2rem, 11vw, 7.5rem);
}
.hero-opening {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  pointer-events: none;
}
.hero-cue {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font: 500 .72rem / 1.4 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-cue i {
  width: .7rem;
  height: .7rem;
  border-radius: 22%;
  background: var(--accent);
}
.hero-phrases {
  position: absolute;
  z-index: 2;
  inset: auto 0 calc(2.2rem + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}
.hero-phrases p {
  position: absolute;
  bottom: 0;
  left: var(--space-edge);
  right: var(--space-edge);
  max-width: 22ch;
  margin: 0;
  visibility: hidden;
  font: 400 clamp(2.2rem, 1.4rem + 3.6vw, 4.8rem) / 1.02 var(--font-display);
  letter-spacing: -.04em;
}
.hero-phrases p span,
.hero-phrases p small {
  display: block;
  opacity: 0;
  transform: translateY(.28em);
}
.hero-phrases p small {
  margin-top: .65rem;
  color: var(--muted);
  font: 400 clamp(.95rem, .9rem + .3vw, 1.1rem) / 1.4 var(--font-text);
  letter-spacing: 0;
  transform: translateY(.4rem);
}
.hero-phrases p:first-child {
  visibility: visible;
}
.hero-phrases p:first-child span,
.hero-phrases p:first-child small {
  opacity: 1;
  transform: none;
}
.hero-3d.is-ready .hero-phrases p:not(.is-on) {
  visibility: hidden;
}
.hero-3d.is-ready .hero-phrases p:not(.is-on) span,
.hero-3d.is-ready .hero-phrases p:not(.is-on) small {
  opacity: 0;
  transform: translateY(.28em);
}
.hero-phrases p.is-on {
  visibility: visible;
}
.hero-phrases p.is-on span,
.hero-phrases p.is-on small {
  opacity: 1;
  transform: none;
  transition: opacity .5s var(--ease-edit), transform .7s var(--ease-edit);
}
.hero-phrases p.is-on small {
  transition-delay: .2s;
}
.hero-dots {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: clamp(.6rem, 2vw, 1.6rem);
  display: flex;
  flex-direction: column;
  gap: .45rem;
  transform: translateY(-50%);
}
.hero-dots button {
  display: grid;
  width: 1.9rem;
  height: 1.9rem;
  padding: 0;
  border: 0;
  place-items: center;
  background: transparent;
  cursor: pointer;
}
.hero-dots i {
  display: block;
  width: .7rem;
  height: .7rem;
  border-radius: 22%;
  background: var(--hero-slot);
  box-shadow: inset 0 0 0 1px var(--rule);
}
.hero-dots button[aria-current] i {
  background: var(--accent);
  transform: scale(1.15);
}
.hero-record {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: max-content;
  max-width: min(17rem, 72vw);
  padding: .75rem .9rem .8rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-control);
  /* O --card é translúcido: sobre o bloco claro, o texto do cartão sumia. Com o fundo da página por baixo, fica opaco e da mesma cor. */
  background: linear-gradient(var(--card), var(--card)) var(--bg);
  box-shadow: var(--shadow-soft);
  pointer-events: none;
  opacity: 0;
}
.hero-record.is-on {
  opacity: 1;
  transition: opacity var(--dur-fast) var(--ease-edit);
}
.hero-record p {
  margin: 0;
}
.hero-record p:first-child {
  margin-bottom: .3rem;
  color: var(--eyebrow);
  font: 500 .64rem / 1 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-record p:last-child {
  font: 500 .92rem / 1.35 var(--font-text);
}
.hero-frequency-labels {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  opacity: var(--label-opacity, 0);
  color: var(--muted);
  font: 600 clamp(.56rem, .5rem + .2vw, .7rem) / 1 var(--font-mono);
}
.hero-frequency-labels > span {
  position: absolute;
}
.frequency-title {
  left: 8%;
  top: 17%;
  color: var(--eyebrow);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.frequency-day {
  left: 6%;
}
.frequency-day--mon {
  top: 35%;
}
.frequency-day--wed {
  top: 50%;
}
.frequency-day--fri {
  top: 65%;
}
.frequency-month {
  top: 23%;
}
.frequency-month--one {
  left: 13%;
}
.frequency-month--two {
  left: 33%;
}
.frequency-month--three {
  left: 53%;
}
.frequency-month--four {
  left: 73%;
}
.frequency-legend {
  right: 7%;
  bottom: calc(var(--hero-bar-height) + 1.7rem);
  display: flex;
  align-items: center;
  gap: 3px;
}
.frequency-legend b {
  width: var(--frequency-cell, 8px);
  height: var(--frequency-cell, 8px);
  border-radius: 22%;
  background: var(--accent);
}
.frequency-legend b:nth-child(1) {
  opacity: 0.12;
}
.frequency-legend b:nth-child(2) {
  opacity: 0.3;
}
.frequency-legend b:nth-child(3) {
  opacity: 0.55;
}
.frequency-legend b:nth-child(4) {
  opacity: 0.8;
}
.hero-3d.is-ready .hero-frequency-labels > span {
  top: 0;
  right: auto;
  bottom: auto;
  left: 0;
}
/* Convite: entra com a frase final da história, dentro do palco; nada flutua sobre a página. */
.hero-cta {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: calc(1.6rem + env(safe-area-inset-bottom, 0px));
  left: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(.6rem);
}
.hero-3d.is-final .hero-cta,
.hero-3d.is-fallback .hero-cta {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.hero-3d.is-final .hero-phrases {
  bottom: calc(var(--hero-bar-height) + 2.4rem);
}
.hero-cta .button {
  min-height: 3rem;
}
.store-badges {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.hero-skip {
  margin-left: .9rem;
  color: var(--muted);
  pointer-events: auto;
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: .3em;
}
.hero-skip:hover {
  color: var(--fg);
  text-decoration-color: currentColor;
}

/* Convite de lançamento: o link usa recompor:// porque universal link para o próprio domínio abre no Safari, não no app. */
.hero-convite {
  margin: .9rem 0 0;
  color: var(--muted);
  font: 400 .9rem / 1.45 var(--font-text);
}

.hero-convite a {
  pointer-events: auto;
}

.hero-convite a,
.convite-aberto a {
  color: var(--fg);
  text-decoration-color: var(--accent);
}

.convite-aberto {
  margin: 1.1rem 0 0;
  color: var(--muted);
}

.codigo-convite {
  font: 500 .92em / 1.4 var(--font-mono);
  overflow-wrap: anywhere;
  -webkit-user-select: all;
  user-select: all;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-cta {
    transition: opacity .25s var(--ease-edit), transform .3s var(--ease-edit), visibility 0s linear
      .3s;
  }
  .hero-3d.is-final .hero-cta {
    transition: opacity .5s var(--ease-edit) .3s, transform .6s var(--ease-edit) .3s, visibility 0s;
  }
  .hero-phrases {
    transition: bottom .5s var(--ease-edit);
  }
}
@media (max-width: 699px) {
  .hero-cta .button {
    flex: 1 1 100%;
    justify-content: center;
  }
  .hero-cta .store-badges {
    width: 100%;
    justify-content: center;
  }
}
/* Celular deitado e janela baixa: a barra fica numa linha e a frase final na metade esquerda;
   a grade final ocupa a metade direita (finalBox em hero-3d.js usa a mesma condição). */
@media (min-aspect-ratio: 5 / 4) and (max-height: 559px) {
  .hero-phrases p {
    font-size: clamp(1.8rem, 1rem + 6svh, 3.2rem);
  }
  .hero-3d.is-final .hero-phrases p {
    right: auto;
    width: calc(50% - var(--space-edge) - 1rem);
  }
  .hero-3d.is-final .hero-scrim {
    right: 50%;
  }
  .hero-cta .button {
    flex: 0 0 auto;
  }
  .hero-cta .store-badges {
    width: auto;
    justify-content: flex-start;
  }
}
.store-link {
  display: block;
  flex: none;
  width: fit-content;
  border-radius: 7px;
}
.store-badge {
  display: block;
  width: auto;
  height: 40px;
}
.store-badge--dark {
  display: none;
}
.hero-fallback {
  display: none;
  position: absolute;
  z-index: 1;
  right: var(--space-edge);
  bottom: calc(var(--hero-bar-height) + 2.6rem);
  width: min(17rem, 48vw);
  color: var(--muted);
  font: 600 .62rem / 1 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-fallback p {
  margin: 0 0 .7rem;
  color: var(--eyebrow);
}
.hero-fallback [data-hero-fallback-grid] {
  display: grid;
  grid-template-columns: repeat(var(--colunas, 18), minmax(0, 1fr));
  grid-template-rows: repeat(7, 1fr);
  grid-auto-flow: column;
  gap: 3px;
}
.hero-fallback i {
  aspect-ratio: 1;
  border-radius: 22%;
  /* Dia sem registro é tinta fraca, como no 3D e no app; com o fundo puro, a grade parecia ter buracos. */
  background: color-mix(
    in srgb,
    var(--accent) calc(var(--nivel) * 22%),
    color-mix(
      in srgb,
      var(--fg) max(0%, var(--hero-freq-zero) * 100% - var(--nivel) * 100%),
      var(--bg)
    )
  );
}
.hero-fallback .is-today {
  outline: 1px solid var(--accent);
  outline-offset: 1px;
}
.hero-fallback > span {
  display: block;
  margin-top: .7rem;
  text-align: right;
}
.hero-3d.is-fallback .hero-canvas,
.hero-3d.is-fallback .hero-scrim,
.hero-3d.is-fallback .hero-frequency-labels,
.hero-3d.is-fallback .hero-record,
.hero-3d.is-fallback .hero-dots {
  display: none;
}
/* Sem WebGL ou com movimento reduzido não há o que rolar: o hero vira fluxo normal.
   As camadas absolutas em % se sobrepunham em tela baixa e o trilho de 330svh virava rolagem morta. */
.hero-3d.is-fallback,
.hero-3d.is-fallback .hero-wrap {
  height: auto;
}
.hero-3d.is-fallback .hero-stage {
  position: relative;
  display: grid;
  grid-template-areas: "abre" "frases" "grade" "barra";
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: clamp(1.5rem, 4svh, 2.5rem);
  height: auto;
  min-height: 100svh;
  padding: calc(4.5rem + 1.5rem) max(var(--space-edge), (100% - 74rem) / 2) 2.5rem;
  overflow: visible;
}
.hero-3d.is-fallback .hero-opening,
.hero-3d.is-fallback .hero-phrases,
.hero-3d.is-fallback .hero-fallback,
.hero-3d.is-fallback .hero-cta {
  position: static;
  width: auto;
  margin: 0;
  transform: none;
}
.hero-3d.is-fallback .hero-opening {
  grid-area: abre;
}
.hero-3d.is-fallback .hero-phrases {
  grid-area: frases;
}
.hero-3d.is-fallback .hero-fallback {
  display: block;
  grid-area: grade;
  max-width: 24rem;
}
.hero-3d.is-fallback .hero-cta {
  grid-area: barra;
}
@media (min-width: 700px) {
  .hero-3d.is-fallback .hero-stage {
    grid-template-areas: "abre grade" "frases grade" "barra barra";
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 19rem);
    column-gap: clamp(2rem, 6vw, 5rem);
  }
  .hero-3d.is-fallback .hero-fallback {
    align-self: center;
  }
}
.hero-3d.is-fallback .hero-phrases p {
  position: static;
  visibility: visible;
  margin: 0 0 1.1rem;
  font-size: clamp(1.35rem, 4.8vw, 2rem);
}
.hero-3d.is-fallback .hero-phrases p:last-child {
  margin-bottom: 0;
}
.hero-3d.is-fallback .hero-phrases p span,
.hero-3d.is-fallback .hero-phrases p small {
  opacity: 1;
  transform: none;
}
.hero-3d.is-fallback .hero-phrases p small {
  margin-top: .25rem;
  font-size: .82rem;
}
.eyebrow,
.feature-number {
  font: 500 .67rem / 1.35 var(--font-mono);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow {
  margin: 0 0 1rem;
  color: var(--eyebrow);
}
.recomp-wordmark--hero {
  display: flex;
  line-height: 1.05;
  font-size: clamp(4.35rem, 19vw, 14rem);
  letter-spacing: -.095em;
}
.recomp-wordmark--hero .recomp-compor span:nth-child(1) {
  font-variation-settings: "wght" 700, "opsz" 144, "SOFT" 50, "WONK" 0;
}
.recomp-wordmark--hero .recomp-compor span:nth-child(2) {
  font-variation-settings: "wght" 580, "opsz" 144, "SOFT" 50, "WONK" 0;
}
.recomp-wordmark--hero .recomp-compor span:nth-child(3) {
  font-variation-settings: "wght" 460, "opsz" 144, "SOFT" 50, "WONK" 0;
}
.recomp-wordmark--hero .recomp-compor span:nth-child(4) {
  font-variation-settings: "wght" 340, "opsz" 144, "SOFT" 50, "WONK" 0;
}
.recomp-wordmark--hero .recomp-compor span:nth-child(5) {
  font-variation-settings: "wght" 220, "opsz" 144, "SOFT" 50, "WONK" 0;
}
.recomp-wordmark--hero .recomp-compor span:nth-child(6) {
  font-variation-settings: "wght" 100, "opsz" 144, "SOFT" 50, "WONK" 0;
}
.recomp-wordmark--hero .recomp-block {
  margin-left: .35em;
}
.hero-lead {
  max-width: 33rem;
  margin: 1.6rem 0 0;
  font: var(--step-1) / 1.4 var(--font-display);
  letter-spacing: -.025em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem 1.4rem;
  margin-top: 2rem;
}
.pilot-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font: 500 .68rem var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 2.9rem;
  padding: .65rem 1rem;
  border-radius: var(--radius-control);
  text-decoration: none;
  font-size: .9rem;
  transition: transform var(--dur-fast) var(--ease-edit), background var(--dur-fast)
    var(--ease-edit);
}
.button {
  background: var(--fg);
  color: var(--bg);
}
.button-secondary,
.button.button-secondary {
  border: 1px solid var(--fg);
  background: transparent;
  color: var(--fg);
}
.button:hover,
.button-secondary:hover {
  transform: scale(0.97);
}
.intro,
.final-cta {
  padding-block: var(--space-section);
}
.intro {
  position: relative;
  z-index: 2;
  background: var(--bg);
}
.intro.container {
  width: 100%;
  padding-inline: max(var(--space-edge), calc((100% - 74rem) / 2));
}
.section-rule {
  border-bottom: 1px solid var(--rule);
}
.intro h2,
.feature-heading h2,
.marca h2,
.professionals h2,
.privacy-band h2,
.final-cta h2 {
  max-width: 18ch;
  margin: .2rem 0 1.2rem;
  font: var(--step-3) / 0.98 var(--font-display);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.lead {
  max-width: 43rem;
  margin: 0;
  font-size: var(--step-1);
}
.feature-flow {
  padding-block: var(--space-section);
}
.feature-heading {
  margin-bottom: 3rem;
}
.feature-row {
  display: grid;
  gap: 1.75rem;
  padding-block: 2rem;
  border-top: 1px solid var(--rule);
}
.feature-copy {
  align-self: center;
}
.feature-copy h3 {
  margin: .2rem 0 .6rem;
  font: var(--step-2) / 1 var(--font-display);
  letter-spacing: -.04em;
}
.feature-copy p:last-child {
  max-width: 29rem;
  margin: 0;
}
.media-slot {
  min-height: 17rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--mist);
  color: var(--muted);
  font: 500 .66rem var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.media-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-slot--watch {
  background: var(--mist);
}
.media-slot--widgets {
  background: var(--mist);
}
.assistant-note {
  margin-top: 3rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--rule);
}
.assistant-note h3 {
  max-width: 14ch;
  margin: .1rem 0 .8rem;
  font: var(--step-2) / 1 var(--font-display);
  letter-spacing: -.04em;
}
.assistant-note p:not(.eyebrow) {
  max-width: 38rem;
  margin: 0;
}
.assistant-note ul {
  display: grid;
  gap: .4rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: .85rem;
}
.assistant-note li {
  border-bottom: 1px solid var(--rule);
  padding-bottom: .4rem;
}
.week-heatmap {
  width: 100%;
  margin: 0;
  padding: 0 0 var(--space-section);
}
.week-heatmap-grid {
  display: grid;
  grid-template-columns: repeat(26, 1fr);
  grid-template-rows: repeat(7, 1fr);
  grid-auto-flow: column;
  gap: clamp(3px, .45vw, 7px);
}
.week-heatmap-grid i {
  --heat-color: var(--algae);
  aspect-ratio: 1;
  border-radius: 22%;
  background: var(--mist);
  opacity: 0.35;
}
.week-heatmap-grid i:nth-child(4n + 2) {
  --heat-color: var(--algae-hi);
}
.week-heatmap-grid i:nth-child(4n + 3) {
  --heat-color: var(--algae-lo);
}
.week-heatmap-grid i:nth-child(4n) {
  --heat-color: var(--fg);
}
.week-heatmap-grid i.is-lit {
  background: var(--heat-color);
  opacity: 0.72;
}
.week-heatmap figcaption {
  margin: .8rem var(--space-edge) 0;
  color: var(--muted);
  font: 500 .67rem / 1.35 var(--font-mono);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.marca {
  padding-block: var(--space-section);
}
.marca-final {
  display: grid;
  justify-items: start;
  gap: 1.25rem;
}
.recomp-wordmark--final {
  max-width: 100%;
  padding-bottom: .08em;
  font-size: clamp(5rem, 21.4vw, 16.7rem);
  line-height: 1;
  letter-spacing: -.095em;
}
.marca-final > p:last-child {
  margin: 0;
  color: var(--muted);
  font: 500 .67rem / 1.35 var(--font-mono);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.professionals {
  display: grid;
  gap: 2rem;
  padding-block: var(--space-section);
}
.professionals p:not(.eyebrow) {
  max-width: 31rem;
  margin-top: 0;
}
.professionals .button-secondary {
  margin-top: 1rem;
}
.planos-lista p + p {
  margin-top: 1rem;
}
.planos-lista .planos-nota {
  color: var(--muted);
  font-size: .9rem;
}
.privacy-band {
  padding-block: var(--space-section);
  background: var(--algae-lo);
  color: var(--paper);
}
.privacy-band .eyebrow {
  color: var(--mist);
}
.privacy-band p:not(.eyebrow) {
  max-width: 34rem;
}
.privacy-band a:focus-visible {
  outline-color: var(--paper);
}
.text-link {
  display: inline-block;
  margin-top: 1rem;
}
.site-footer {
  padding-block: 3rem;
  border-top: 1px solid var(--rule);
}
.footer-grid {
  display: grid;
  gap: 2rem;
}
.footer-company,
.footer-company p {
  margin: 1.2rem 0 0;
  font-size: .82rem;
  line-height: 1.65;
  color: var(--muted);
}
.footer-grid .footer-company {
  margin: 0;
}
.footer-links {
  display: grid;
  align-content: start;
  gap: .7rem;
  font-size: .85rem;
}
.footer-signatures {
  display: grid;
  gap: .35rem;
  font: 500 .62rem / 1.5 var(--font-mono) !important;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.document {
  max-width: 52rem;
  padding-block: clamp(3rem, 7vw, 7rem);
}
.document h1 {
  max-width: 16ch;
  margin: .2rem 0 1rem;
  font: var(--step-3) / 0.98 var(--font-display);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.document .lead {
  max-width: 38rem;
}
.updated {
  margin: 1.2rem 0 2.5rem;
  color: var(--muted);
  font-size: .8rem;
}
.document-index {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin: 0 0 3rem;
  padding-block: 1rem;
  border-block: 1px solid var(--rule);
  font-size: .82rem;
}
.document section {
  margin-top: 3rem;
}
.document h2 {
  margin: 0 0 .8rem;
  font: var(--step-2) / 1.05 var(--font-display);
  letter-spacing: -.035em;
}
.document p,
.document li {
  max-width: 44rem;
}
/* Endereço sem espaço (apps.apple.com/account/subscriptions) passava 3 px da tela em 320. */
.document a {
  overflow-wrap: anywhere;
}
.document li + li {
  margin-top: .45rem;
}
@media (min-width: 700px) {
  .site-nav a:not(.nav-enter):not(.button-secondary) {
    display: inline;
  }
  .feature-row {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 1fr);
    align-items: center;
    gap: 7vw;
    padding-block: 4rem;
  }
  .feature-row--reverse .feature-copy {
    order: 2;
  }
  .feature-row--reverse .media-slot {
    order: 1;
  }
  .media-slot {
    min-height: 25rem;
  }
  .professionals {
    grid-template-columns: 1fr 1fr;
    gap: 10vw;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-links {
    justify-self: end;
    text-align: right;
  }
}
@media (max-width: 699px) {
  .reading-progress {
    gap: 2px;
    margin-left: .45rem;
  }
  .reading-progress i {
    width: 4px;
    height: 4px;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--ink);
    --fg: var(--paper);
    --muted: var(--mist);
    --accent: var(--algae-hi);
    --eyebrow: var(--algae-hi);
    --card: rgba(244, 241, 236, 0.05);
    --rule: rgba(244, 241, 236, 0.16);
  }
  .button-secondary {
    border-color: var(--fg);
  }
  .hero-3d {
    --hero-slot: #1c1c1a;
    --hero-shadow: #000000;
    --hero-freq-zero: 0.12;
    --t-treino: var(--paper);
    --t-comida: var(--algae-hi);
    --t-sono: var(--algae);
    --t-cardio: #9aa896;
    --t-corpo: #b6c1b1;
    --t-suplementos: #6b7b68;
  }
  .store-badge--light {
    display: none;
  }
  .store-badge--dark {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .button:hover,
  .button-secondary:hover {
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .week-heatmap {
    view-timeline-name: --week-heatmap;
    view-timeline-axis: block;
  }
  @supports (animation-timeline: view()) {
    .week-heatmap-grid i {
      animation: heatmap-on 1ms linear both;
      animation-timeline: --week-heatmap;
      animation-range: entry calc(var(--order) * 1%) cover calc(16% + var(--order) * 1%);
    }
    .effects-paused .week-heatmap-grid i {
      animation-play-state: paused;
    }
    @keyframes heatmap-on {
      to {
        background: var(--heat-color);
        opacity: 0.72;
      }
    }
  }
  .js-motion .hero-scene {
    transform: translateY(var(--scene-y, 0)) scale(var(--scene-scale, 1));
  }
  @supports (animation-timeline: view()) {
    .js-motion .hero {
      view-timeline-name: --hero;
      view-timeline-axis: block;
    }
    .js-motion .hero-scene {
      animation: hero-depth linear both;
      animation-timeline: --hero;
      animation-range: contain 0% contain 100%;
    }
    .js-motion .hero.is-paused .hero-scene {
      animation-play-state: paused;
    }
    @keyframes hero-depth {
      0%,
      92% {
        transform: translateY(0) scale(1);
      }
      100% {
        transform: translateY(-24px) scale(0.98);
      }
    }
  }
}

.effects-paused .recomp-compor span,
.effects-paused .title-settle,
.effects-paused .week-heatmap-grid i,
.effects-paused .reading-progress i,
.effects-paused h2,
.effects-paused .recomp-wordmark--hero,
.effects-paused .hero-cue {
  transition: none !important;
  animation: none !important;
  filter: none !important;
}

@media (prefers-reduced-motion: no-preference) {
  .title-settle {
    opacity: 0;
    filter: blur(6px);
  }
  .title-settle.is-settled {
    opacity: 1;
    filter: none;
    transition: opacity 500ms var(--ease-edit), filter 500ms var(--ease-edit);
  }
}

/* Forma canônica de cabeçalho: amplitude 180 para preservar as letras finas. */
.recomp-wordmark--small .recomp-compor span:nth-child(1) {
  font-variation-settings: "wght" 580, "opsz" 24, "SOFT" 50, "WONK" 0;
}
.recomp-wordmark--small .recomp-compor span:nth-child(2) {
  font-variation-settings: "wght" 508, "opsz" 24, "SOFT" 50, "WONK" 0;
}
.recomp-wordmark--small .recomp-compor span:nth-child(3) {
  font-variation-settings: "wght" 436, "opsz" 24, "SOFT" 50, "WONK" 0;
}
.recomp-wordmark--small .recomp-compor span:nth-child(4) {
  font-variation-settings: "wght" 364, "opsz" 24, "SOFT" 50, "WONK" 0;
}
.recomp-wordmark--small .recomp-compor span:nth-child(5) {
  font-variation-settings: "wght" 292, "opsz" 24, "SOFT" 50, "WONK" 0;
}
.recomp-wordmark--small .recomp-compor span:nth-child(6) {
  font-variation-settings: "wght" 220, "opsz" 24, "SOFT" 50, "WONK" 0;
}
.recomp-wordmark--small .recomp-re {
  font-variation-settings: "wght" 300, "opsz" 24, "SOFT" 50, "WONK" 0;
}

.hero .eyebrow {
  color: var(--fg);
}
.recomp-wordmark > span,
.recomp-block {
  flex-shrink: 0;
}
.motion-toggle {
  color: var(--fg);
  background: transparent;
  border: 0;
  padding: .7rem 0;
  margin-top: .5rem;
  min-height: 44px;
  font: 400 .75rem var(--font-text);
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
button:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 4px;
}

.media-slot--photo {
  aspect-ratio: 3 / 2;
  min-height: 0;
}
.assistant-note {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 700px) {
  .assistant-note {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 1fr);
    align-items: center;
    gap: 7vw;
  }
  .media-slot--photo {
    min-height: 0;
  }
}

/* Foto logo depois do hero: a pessoa usando antes do texto */
.intro {
  padding-top: var(--space-section);
}
.intro-photo {
  position: relative;
  width: min(calc(100% - (var(--space-edge) * 2)), 74rem, calc(72svh * 16 / 9));
  aspect-ratio: 16 / 9;
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
  border-radius: var(--radius-card);
}
.intro-photo > img:not(.app-card) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
  display: block;
}
.intro-copy .lead {
  max-width: 38rem;
  margin: 0;
}

/* Cards reais do app sobre as fotos de uso */
.intro-photo,
.media-slot--photo {
  position: relative;
}
.app-card {
  position: absolute;
  z-index: 2;
  width: min(58%, 18rem);
  height: auto;
  border-radius: var(--radius-card);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--ink) 12%, transparent), 0 18px 40px -12px
    color-mix(in srgb, var(--ink) 38%, transparent);
}
.media-slot .app-card {
  width: min(58%, 18rem);
  height: auto;
  object-fit: initial;
}
.app-card--comida {
  right: 4%;
  bottom: 6%;
}
.app-card--treino {
  right: 5%;
  bottom: 6%;
}
.final-cta {
  display: grid;
  gap: 2rem;
}
.final-photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  aspect-ratio: 3 / 2;
}
.final-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (min-width: 700px) {
  .final-cta {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 1fr);
    align-items: center;
    gap: 7vw;
  }
}
@media (min-width: 700px) {
  .app-card,
  .media-slot .app-card {
    width: clamp(16.25rem, 22vw, 18.75rem);
  }
}
@media (max-width: 699px) {
  .intro-photo {
    width: min(calc(100% - (var(--space-edge) * 2)), calc(72svh * 4 / 5));
    aspect-ratio: 4 / 5;
  }
}
@media (max-width: 699px) {
  .recomp-wordmark--final {
    font-size: 20.5vw;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .intro-photo > img:not(.app-card),
  .media-slot--photo > img:not(.app-card),
  .final-photo > img {
    transform: translate3d(0, var(--photo-parallax-y, 0), 0) scale(1.12);
    will-change: transform;
  }
  @supports (animation-timeline: view()) {
    .intro-photo > img:not(.app-card),
    .media-slot--photo > img:not(.app-card),
    .final-photo > img {
      animation: photo-parallax 1ms linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    .effects-paused .intro-photo > img:not(.app-card),
    .effects-paused .media-slot--photo > img:not(.app-card),
    .effects-paused .final-photo > img {
      animation-play-state: paused;
    }
    @keyframes photo-parallax {
      from {
        transform: translate3d(0, -3.5%, 0) scale(1.12);
      }
      to {
        transform: translate3d(0, 3.5%, 0) scale(1.12);
      }
    }
  }
  .app-card.title-settle {
    opacity: 0;
    transform: translateY(1.2rem) scale(0.96);
  }
  .app-card.title-settle.is-settled {
    opacity: 1;
    transform: none;
    transition: opacity 500ms var(--ease-edit), transform 500ms var(--ease-edit);
  }
  .hero-cue {
    animation: hero-cue-breath 1.8s var(--ease-edit) infinite alternate;
  }
}
@keyframes hero-cue-breath {
  to {
    transform: translateY(.35rem);
  }
}

@media (max-width: 699px) {
  .week-heatmap-grid {
    grid-template-columns: repeat(10, 1fr);
  }
  .week-heatmap-grid i:nth-child(n + 71) {
    display: none;
  }
}

/* Alvo de toque mínimo de 24 px nos créditos do rodapé (WCAG 2.5.8). */
.footer-signatures {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.footer-signatures a {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
}
.passos {
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: passo;
}
.passos > li {
  counter-increment: passo;
  position: relative;
  padding: 1.6rem 0 1.6rem 3.2rem;
  border-top: 1px solid var(--rule);
}
.passos > li + li {
  margin-top: 0;
}
.passos > li::before {
  content: counter(passo);
  position: absolute;
  top: 1.35rem;
  left: 0;
  font: var(--step-2) / 1 var(--font-display);
  color: var(--eyebrow);
}
.passos h2 {
  margin-bottom: .4rem;
}
.passos p {
  margin: .4rem 0 0;
}
.passos .button {
  margin-top: .6rem;
}
