/* Eixo Tech, landing v1.3.0: a revisão da home para quem é de negócio.
   Vem depois do v8.css. Só tokens da página (--p-*) e do kit (--s-*, --r-*, --muted, --line). */

/* ---------- Demonstração como vídeo: só o player, com um play grande ---------- */
.film--player { display: block; width: 100%; max-width: 1080px; margin: 0 auto; }
.film--player .film__stage { padding-bottom: clamp(60px, 6vw, 76px); }
.film--player.is-playing .film__stage { cursor: pointer; }

/* legenda: uma frase por cena, como num vídeo */
.film__sub { position: absolute; z-index: 2; left: 50%; bottom: clamp(16px, 1.8vw, 22px); transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px);
  margin: 0; padding: 8px 16px; border-radius: 99px; background: rgb(20 20 20 / .78); color: #fff; text-align: center;
  font: 500 15px/1.35 var(--font-text); opacity: 0; transition: opacity .3s; }
.film--player.is-playing .film__sub:not(:empty), .film--player.is-ended .film__sub:not(:empty) { opacity: 1; }
.film__sub.is-swap { animation: subIn .4s var(--ease, ease) both; }
@keyframes subIn { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* progresso em 4 partes, na borda de baixo */
.film__bar { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 4px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; opacity: 0; transition: opacity .3s; }
.film__bar i { background: rgb(0 0 0 / .14); }
.film__bar i.is-on { background: rgb(0 0 0 / .45); }
.film__bar i.is-done { background: var(--p-action); }
.film--player.is-playing .film__bar, .film--player.is-ended .film__bar { opacity: 1; }

/* o play: cobre o vídeo parado e volta no fim, para assistir de novo */
.film__play { all: unset; box-sizing: border-box; position: absolute; inset: 0; z-index: 4; cursor: pointer; display: grid; place-content: center; justify-items: center; gap: var(--s-4);
  background: rgb(255 255 255 / .38); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); transition: opacity .35s, visibility .35s; }
.film__play-ico { width: clamp(76px, 8vw, 104px); height: clamp(76px, 8vw, 104px); border-radius: 50%; display: grid; place-items: center; background: var(--p-action); color: var(--p-action-ink);
  box-shadow: 0 18px 40px -14px rgb(0 0 0 / .55); transition: transform .25s var(--ease, ease); }
.film__play-ico svg { width: 42%; height: 42%; margin-left: 6%; fill: currentColor; }
.film__play:hover .film__play-ico { transform: scale(1.06); }
.film__play:focus-visible .film__play-ico { outline: 3px solid var(--p-inv-accent); outline-offset: 4px; }
.film__play-t { display: grid; gap: 2px; justify-items: center; text-align: center; padding: 10px 18px; border-radius: 14px; background: rgb(255 255 255 / .92); box-shadow: 0 8px 24px -12px rgb(0 0 0 / .3); }
.film__play-t b { font: 500 clamp(17px, 1.5vw, 20px)/1.25 var(--font-text); color: var(--p-ink); }
.film__play-t small { font-size: 14px; color: var(--p-muted); }
.film--player.is-playing .film__play { opacity: 0; visibility: hidden; }
/* no fim, o resultado fica à vista e o "assistir de novo" vira um botão pequeno no canto */
.film--player.is-ended .film__play { inset: auto 16px auto auto; top: 16px; display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 99px;
  background: rgb(20 20 20 / .82); -webkit-backdrop-filter: none; backdrop-filter: none; color: #fff; }
.film--player.is-ended .film__play-ico { width: 30px; height: 30px; box-shadow: none; background: #fff; color: var(--p-ink); }
.film--player.is-ended .film__play-t { padding: 0; background: none; box-shadow: none; }
.film--player.is-ended .film__play-t b { font-size: 14px; color: #fff; }
.film--player.is-ended .film__play-t small { display: none; }

/* pausado: um aviso discreto no topo */
.film--player.is-paused .film__stage::after { content: "Pausado. Toque para continuar."; position: absolute; z-index: 5; top: 16px; left: 50%; transform: translateX(-50%);
  padding: 6px 14px; border-radius: 99px; background: rgb(20 20 20 / .78); color: #fff; font: 500 13px/1.3 var(--font-text); white-space: nowrap; }

.film--player + .film__note, .film--player .film__note { margin: var(--s-3) 0 0; text-align: center; }

/* ---------- Ganho em tokens (no lugar do contador) ---------- */
.tokens--gain .tokens__main { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-3) var(--s-6); align-items: end; }
.tokens--gain .tokens__n { font-size: clamp(48px, 6vw, 88px); }
.tokens--gain .tokens__l { margin: 0 0 .4em; max-width: 34ch; }

/* ---------- Quem participa ---------- */
.who { margin-top: var(--s-5); padding: var(--s-6); border-radius: var(--r-lg); background: var(--p-surface); display: grid; gap: var(--s-5); }
.who .ti-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.who__ti { margin: 0; padding-top: var(--s-4); border-top: 1px solid var(--line); color: var(--muted); display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-2) var(--s-4); }
.who__ti b { color: var(--ink); font-weight: 500; }

/* ---------- O que costuma dar medo: uma frase por quadro ---------- */
.fears--short .card { gap: var(--s-2); }

/* ---------- Bloco de compra: fundo escuro, de "entender" para "escolher" ---------- */
.section--buy .cycle { background: var(--surface); }
.section--buy .cycle button[aria-pressed="true"] { background: var(--bg); color: var(--ink); box-shadow: 0 0 0 1px var(--line-strong); }
.section--buy .card { background: var(--surface); }
.section--buy .mini-plan.is-rec { box-shadow: 0 0 0 2px var(--accent); }
.section--buy .mini-plan__badge { color: var(--accent); }
.section--buy .cycle-terms, .section--buy .mini-plan__save, .section--buy .mini-plans__foot p { color: var(--muted); }

/* outras formas de começar, logo abaixo dos planos */
.more-ways { margin-top: var(--s-8); padding-top: var(--s-7); border-top: 1px solid var(--line-strong); }
.more-ways .section-head h2 { font-size: clamp(26px, 2.6vw, 38px); }
.ways { margin-top: var(--s-5); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s-4); align-items: stretch; }
.way { display: grid; gap: var(--s-3); align-content: start; padding: var(--s-6); border-radius: var(--r-lg); background: var(--surface); }
.way--feat { background: var(--accent); color: var(--accent-ink); }
.way--feat .way__k, .way--feat .way__by, .way--feat .way__price small { color: color-mix(in oklab, var(--accent-ink) 70%, transparent); }
.way h3, .way p { margin: 0; }
.way__k { font: 500 12px/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.way h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
.way > p:not(.way__k):not(.way__price):not(.way__by) { color: inherit; opacity: .85; max-width: 52ch; }
.way__price { font: var(--display-weight) 36px/1.1 var(--font-display); letter-spacing: var(--display-tracking); }
.way__price small { display: block; margin-top: 4px; font: 400 14px/1.4 var(--font-text); letter-spacing: 0; color: var(--muted); }
.way__by { font-size: 14px; color: var(--muted); }
.way__cta { margin-top: auto; padding-top: var(--s-2); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }
.way--feat .btn--primary { background: var(--p-ink); color: #fff; }
.way--feat .btn--primary:hover { background: color-mix(in oklab, var(--p-ink) 85%, #fff); }
.way--feat .link { color: var(--accent-ink); }

/* ---------- Telas menores ---------- */
@media (max-width: 1023px) {
  .ways { grid-template-columns: minmax(0, 1fr); }
  .who .ti-steps { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
  .tokens--gain .tokens__main { grid-template-columns: minmax(0, 1fr); align-items: start; }
}
@media (max-width: 639px) {
  .film--player .film__stage { padding-bottom: 64px; }
  .film__sub { font-size: 13px; padding: 7px 12px; width: auto; left: 12px; right: 12px; transform: none; }
  .film__sub.is-swap { animation: none; }
  .who, .way { padding: var(--s-5); }
}
@media (prefers-reduced-motion: reduce) {
  .film__sub.is-swap { animation: none; }
  .film__play, .film__play-ico { transition: none; }
}
