/* INVICTUZ SCALE — landing page
   Paleta do guia: 70% preto, 25% branco, 5% roxo. */
:root {
  --ink: #101014;
  --ink-deep: #0a0a0d;
  --ink-2: #17171d;
  --line: rgba(243, 241, 237, .12);
  --paper: #f3f1ed;
  --mute: #a9a7b3;
  --purple: #6941c6;
  --lav: #cdb7f6;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--purple); color: #fff; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 10px 16px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.measure { max-width: 46rem; }

/* ---------- tipografia ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.028em; line-height: 1.06; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); margin-bottom: 1.4rem; }
h2.display { font-size: clamp(2.4rem, 6.4vw, 5.4rem); letter-spacing: -.04em; line-height: .98; }
h3 { font-size: 1.3rem; letter-spacing: -.015em; line-height: 1.2; }
p { color: var(--mute); max-width: 62ch; }
p + p { margin-top: 1.1em; }
p b, li b { color: var(--paper); font-weight: 600; }
.label { color: var(--lav); font-size: .95rem; font-weight: 500; margin-bottom: 1rem; }
.lead { font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--paper); line-height: 1.45; margin-bottom: 1.2rem; }
.small { font-size: .9rem; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; letter-spacing: -.005em; text-decoration: none; text-align: center; line-height: 1.2;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--purple); color: #fff; box-shadow: 0 0 0 0 rgba(105, 65, 198, 0); }
.btn--primary:hover { background: #7a52d6; box-shadow: 0 10px 40px -8px rgba(105, 65, 198, .7); }
.btn--glass {
  background: rgba(243, 241, 237, .06); border-color: rgba(243, 241, 237, .22);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.btn--glass:hover { background: rgba(243, 241, 237, .12); border-color: rgba(205, 183, 246, .6); }
.btn--sm { min-height: 44px; padding-inline: 18px; font-size: .92rem; white-space: nowrap; }
.btn--lg { min-height: 60px; padding-inline: 34px; font-size: 1.08rem; }

.glass {
  background: linear-gradient(160deg, rgba(243, 241, 237, .07), rgba(243, 241, 237, .02));
  border: 1px solid var(--line); border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 72px;
  display: flex; align-items: center; gap: 28px; padding-inline: var(--pad);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(16, 16, 20, .72); border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
}
.nav__logo img { height: 40px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: .93rem; }
.nav__links a { color: var(--mute); text-decoration: none; transition: color .2s; }
.nav__links a:hover { color: var(--paper); }
@media (max-width: 940px) { .nav__links { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- trilho de fases (abertura / meio-jogo / final) ---------- */
.rail {
  position: fixed; left: 18px; top: 50%; z-index: 40; transform: translateY(-50%);
  display: none; flex-direction: column; gap: 14px;
  font-size: .72rem; color: #8a8896; mix-blend-mode: difference;
}
.rail span { writing-mode: vertical-rl; transform: rotate(180deg); padding: 10px 0; border-right: 1px solid currentColor; padding-right: 8px; transition: color .4s; }
.rail span.on { color: var(--lav); }
@media (min-width: 1400px) { .rail { display: flex; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 0; overflow: hidden; }
.hero__stage {
  position: absolute; inset: 0 0 0 auto; width: min(62vw, 980px); pointer-events: none;
  background: radial-gradient(closest-side at 55% 50%, rgba(105, 65, 198, .22), transparent 70%);
}
.hero__stage canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s ease .2s; }
.hero__stage.ready canvas { opacity: 1; }
.hero__fallback { display: none; position: absolute; inset: 0; margin: auto; height: 62%; opacity: .9; }
.hero__stage.fallback canvas { display: none; }
.hero__stage.fallback .hero__fallback { display: block; }
.hero__inner { position: relative; z-index: 2; }
.hero__kicker { color: var(--lav); font-size: .98rem; font-weight: 500; max-width: 30ch; margin-bottom: 1.6rem; }
.hero__title { font-size: clamp(2.7rem, 7.2vw, 6.3rem); letter-spacing: -.045em; line-height: .96; font-weight: 600; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .09s; }
.hero__title .line:nth-child(3) > span { animation-delay: .18s; }
@keyframes rise { to { transform: none; } }
.hero__sub { font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.5; max-width: 34rem; margin-top: 1.8rem; color: #c9c7d1; }
.hero__actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.hero__more { font-size: .93rem; color: var(--mute); text-underline-offset: 5px; text-decoration-color: rgba(205,183,246,.5); transition: color .2s; }
.hero__more:hover { color: var(--paper); }
.hero__kicker, .hero__sub, .hero__actions { opacity: 0; animation: fade .9s ease .55s forwards; }
@keyframes fade { to { opacity: 1; } }
.trust {
  position: relative; z-index: 2; margin-top: clamp(48px, 9vh, 96px); padding-block: 22px;
  display: flex; flex-wrap: wrap; gap: 10px 44px; border-top: 1px solid var(--line);
  font-size: .9rem; color: var(--mute);
}
.trust li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--purple); margin-right: 12px; vertical-align: middle; transform: rotate(45deg); }
@media (max-width: 820px) {
  .hero { padding-top: 112px; justify-content: flex-end; }
  .hero__stage {
    inset: 56px -30% auto auto; width: 105%; height: 62svh; opacity: .6;
    -webkit-mask-image: linear-gradient(#000 55%, transparent 96%); mask-image: linear-gradient(#000 55%, transparent 96%);
  }
  .hero__inner { padding-top: 26svh; }
  .nav { height: 64px; gap: 12px; }
  .nav__logo img { height: 34px; }
}

/* ---------- seções ---------- */
.sec { padding-block: clamp(84px, 13vw, 168px); position: relative; }
.sec--deep { background: var(--ink-deep); }
.sec--light { background: var(--paper); color: var(--ink); }
.sec--light p { color: #4c4a55; }
.sec--light p b, .sec--light li b { color: var(--ink); }
.sec--light .label { color: var(--purple); }
.sec--light ::selection { background: var(--ink); }
.sec--light :focus-visible { outline-color: var(--purple); }

/* espelho: cards das dores */
.pains__head { margin-top: clamp(40px, 6vw, 72px); max-width: none; }
.pains__head span {
  display: inline-flex; align-items: center; gap: 12px; padding: 13px 22px; border-radius: 999px;
  color: #fff; font-weight: 600; font-size: 1rem; line-height: 1.25;
  background: rgba(105, 65, 198, .2); border: 1px solid var(--lav);
  box-shadow: 0 0 0 0 rgba(105, 65, 198, .7), 0 0 34px rgba(105, 65, 198, .6), inset 0 0 18px rgba(105, 65, 198, .35);
  animation: halo 2.2s ease-out 3;
}
.pains__head span::before { content: ""; flex: none; width: 9px; height: 9px; background: var(--lav); transform: rotate(45deg); box-shadow: 0 0 12px var(--lav); }
@keyframes halo {
  0% { box-shadow: 0 0 0 0 rgba(105, 65, 198, .75), 0 0 34px rgba(105, 65, 198, .6), inset 0 0 18px rgba(105, 65, 198, .35); }
  100% { box-shadow: 0 0 0 20px rgba(105, 65, 198, 0), 0 0 34px rgba(105, 65, 198, .6), inset 0 0 18px rgba(105, 65, 198, .35); }
}
.pains { display: grid; gap: 14px; margin-top: 18px; grid-template-columns: 1fr; perspective: 1400px; }
@media (min-width: 640px) { .pains { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pains { grid-template-columns: repeat(3, 1fr); } }
.pain { all: unset; box-sizing: border-box; cursor: pointer; display: block; min-height: 190px; border-radius: 20px; -webkit-tap-highlight-color: transparent; }
.pain:focus-visible { outline: 2px solid var(--lav); outline-offset: 4px; }
.pain__in { position: relative; display: block; height: 100%; min-height: inherit; transform-style: preserve-3d; transition: transform .7s var(--ease); transform: rotateX(var(--rx, 0deg)) rotateY(calc(var(--ry, 0deg) + var(--flip, 0deg))); }
.pain[aria-pressed=true] { --flip: 180deg; }
.pain__front, .pain__back {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px; border-radius: 20px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  font-family: var(--display); font-size: 1.18rem; font-weight: 500; letter-spacing: -.015em; line-height: 1.3;
}
.pain__front {
  color: #dddbe3; border: 1px solid var(--line);
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(105, 65, 198, .28), transparent 70%), linear-gradient(160deg, rgba(243, 241, 237, .07), rgba(243, 241, 237, .02));
}
.pain__front::before { content: ""; position: absolute; top: 24px; right: 24px; width: 12px; height: 12px; border: 1.5px solid #6d6b78; transform: rotate(45deg); transition: border-color .3s; }
.pain:hover .pain__front::before { border-color: var(--lav); }
.pain__back { transform: rotateY(180deg); background: var(--paper); color: var(--ink); }
.pain__back i { font: 500 .82rem/1 var(--body); letter-spacing: 0; color: var(--purple); position: absolute; top: 26px; left: 26px; }
.pains__result { margin-top: 22px; font-size: .98rem; transition: color .3s; }
.pains__result.hit { color: var(--lav); font-weight: 500; }

/* custo: frase */

/* virada */
.sem { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid rgba(16, 16, 20, .16); }
.sem li { padding: 22px 0; border-bottom: 1px solid rgba(16, 16, 20, .16); font-family: var(--display); font-size: clamp(1.25rem, 2.6vw, 1.9rem); letter-spacing: -.02em; line-height: 1.2; color: #6a6873; }
.sem__close { margin-top: 28px; color: var(--ink) !important; font-weight: 500; }

/* engrenagens */
.center { text-align: center; max-width: 46rem; margin-inline: auto; }
.center p { margin-inline: auto; }
.gears { margin-top: clamp(24px, 4vw, 48px); }
.gears__list { display: grid; gap: 12px; margin-top: clamp(20px, 3vw, 40px); }
@media (min-width: 900px) { .gears__list { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.gears__item { all: unset; box-sizing: border-box; cursor: pointer; padding: 26px; border-radius: 20px; border: 1px solid var(--line); transition: border-color .35s, background .35s, transform .35s var(--ease); }
.gears__item:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; }
.gears__title { display: block; font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.015em; line-height: 1.2; color: #dddbe3; margin-bottom: 10px; transition: color .35s; }
.gears__desc { display: block; font-size: .98rem; line-height: 1.6; color: var(--mute); transition: color .35s; }
.gears__item[aria-pressed=true] { border-color: rgba(205, 183, 246, .55); background: rgba(105, 65, 198, .12); transform: translateY(-6px); }
.gears__item[aria-pressed=true] .gears__title { color: var(--paper); }
.gears__item[aria-pressed=true] .gears__desc { color: #c9c7d1; }
.gears__hint { text-align: center; margin: 22px auto 0; font-size: .88rem; }

/* A.D.I.M.O. */
.adimo { display: grid; gap: clamp(32px, 5vw, 56px); justify-items: center; }
.adimo__loop { font-size: .88rem; border-top: 1px solid var(--line); padding-top: 16px; margin-inline: auto; }

/* xeque-mate */
.xm__head { display: grid; gap: 32px; align-items: end; }
@media (min-width: 960px) { .xm__head { grid-template-columns: 1.4fr .6fr; } }
.xm__mate { justify-self: end; text-align: right; display: none; }
@media (min-width: 960px) { .xm__mate { display: block; } }
.xm__mate span { display: block; font-family: var(--display); font-weight: 700; font-size: 15rem; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--purple); }
.xm__mate figcaption { font-size: .82rem; color: var(--mute); margin-top: 18px; }
.xm__foot { margin-top: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.xm__foot p { color: var(--paper); font-size: 1.1rem; max-width: 40ch; }
.also { margin-top: clamp(48px, 7vw, 88px); padding-top: 32px; border-top: 1px solid var(--line); display: grid; gap: 20px 64px; }
@media (min-width: 860px) { .also { grid-template-columns: 1fr 1fr; } }
.also p { margin: 0; }

/* transparência */

/* sócios */
.partners { display: grid; gap: 40px; margin-top: clamp(28px, 4vw, 48px); max-width: 920px; }
@media (min-width: 700px) { .partners { grid-template-columns: 1fr 1fr; gap: 28px; } }
.partners figure { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 22px; background: var(--ink-2); }
.partners figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 62%, rgba(16, 16, 20, .7)); box-shadow: inset 0 0 0 1px rgba(205, 183, 246, 0); transition: box-shadow .5s; border-radius: inherit; }
.partners img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform 1.2s var(--ease); }
.partners article:hover img { transform: scale(1.04); }
.partners article:hover figure::after { box-shadow: inset 0 0 0 1px rgba(205, 183, 246, .55); }
.partners h3 { font-size: 1.7rem; margin-bottom: 10px; }
.partners h3 span { font-family: var(--body); font-size: .85rem; font-weight: 500; letter-spacing: 0; color: var(--lav); margin-left: 8px; vertical-align: middle; }

/* faq */
.faq { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq { grid-template-columns: .7fr 1.3fr; } .faq h2 { position: sticky; top: 110px; align-self: start; } }
.faq__list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--display); font-weight: 600; font-size: 1.18rem; letter-spacing: -.015em; line-height: 1.3; }
summary::-webkit-details-marker { display: none; }
summary::before, summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 2px; background: var(--lav); transition: transform .3s var(--ease); }
summary::after { transform: rotate(90deg); }
details[open] summary::after { transform: rotate(0); }
details p { padding: 0 44px 24px 0; }

.foot { border-top: 1px solid var(--line); padding-block: 36px 110px; font-size: .9rem; }
@media (min-width: 761px) { .foot { padding-bottom: 36px; } }
.foot__in { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; }
.foot__in p { margin: 0; }
.foot__in p:last-child { margin-left: auto; }

/* CTA fixo no celular */
.sticky-cta { position: fixed; inset: auto 0 0 0; z-index: 45; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(10, 10, 13, .92) 40%); transform: translateY(110%); transition: transform .4s var(--ease); }
.sticky-cta .btn { width: 100%; }
.sticky-cta.on { transform: none; }
@media (min-width: 761px) { .sticky-cta { display: none; } }

/* ---------- transicoes entre secoes ---------- */
.sec--light { border-radius: clamp(28px, 4vw, 56px); margin-inline: calc((1 - var(--in, 1)) * 6vw); z-index: 1; }
.sec--deep { box-shadow: 0 1px 0 var(--line) inset, 0 -1px 0 var(--line) inset; }
html.js [data-reveal] { opacity: 0; transform: translateY(34px); filter: blur(6px); transition: opacity .9s ease, transform .9s var(--ease), filter .9s ease; transition-delay: var(--d, 0s); }
html.js [data-reveal].in { opacity: 1; transform: none; filter: none; }
.thread { display: block; width: 1px; height: clamp(70px, 10vw, 120px); margin: calc(clamp(70px, 10vw, 120px) * -.5) auto calc(clamp(70px, 10vw, 120px) * -.5); background: linear-gradient(transparent, var(--lav)); position: relative; z-index: 2; transform-origin: top; transform: scaleY(var(--t, 1)); }
.thread::after { content: ""; position: absolute; left: -3.5px; bottom: -4px; width: 8px; height: 8px; background: var(--purple); transform: rotate(45deg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .pain__in { transition: none; }
}

/* o fio fica preso ao topo de cada seção escura */
.sec > .thread { position: absolute; left: 50%; top: 0; margin: calc(clamp(70px, 10vw, 120px) * -.5) 0 0; }
.hero__actions { gap: 16px 26px; }

/* =====================================================================
   CENTRALIZAÇÃO — a página inteira no eixo central
   ===================================================================== */
.sec .wrap, .hero__inner { text-align: center; }
.sec p, .sec h2, .sec h3, .measure { margin-inline: auto; }

/* hero: texto no centro, a partida acontece atrás */
.hero { padding: 120px 0 0; justify-content: center; }
.hero__stage { inset: 0; width: 100%; height: 100%; opacity: var(--fade, 1); -webkit-mask-image: none; mask-image: none;
  background: radial-gradient(50% 42% at 50% 62%, rgba(105, 65, 198, .2), transparent 72%); }
.hero__stage::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 36% at 50% 46%, rgba(16, 16, 20, .5), rgba(16, 16, 20, .2) 60%, transparent 100%), linear-gradient(transparent 72%, var(--ink)); }
.hero__stage.ready canvas { opacity: .8; }
.hero__fallback { height: 54%; opacity: .14; }
.hero__inner { padding-top: 0; }
.hero__kicker { max-width: none; margin-inline: auto; }
.hero__title { font-size: clamp(2.5rem, 6.1vw, 5.4rem); text-shadow: 0 2px 40px rgba(16, 16, 20, .8); }
.hero__sub { margin-inline: auto; text-shadow: 0 1px 24px rgba(16, 16, 20, .9); }
.hero__actions { flex-direction: column; justify-content: center; gap: 18px; }
.trust { justify-content: center; }
@media (max-width: 820px) {
  .hero { padding-top: 96px; justify-content: center; }
  .hero__stage { inset: 0; width: 100%; height: 100%; opacity: var(--fade, 1); }
  .hero__inner { padding-top: 0; }
}

/* dores */
.pains__head { text-align: center; }
.pain { text-align: left; }
.pains__result { text-align: center; }

/* virada */
.sem { max-width: 880px; margin-inline: auto; }

/* xeque-mate */
.xm__head { grid-template-columns: 1fr !important; justify-items: center; gap: 8px; }
.xm__mate { display: block; order: -1; justify-self: center; text-align: center; margin-bottom: 10px; }
.xm__mate span { font-size: clamp(6rem, 12vw, 10rem); }
.xm__mate figcaption { margin-top: 10px; }
.xm__foot { flex-direction: column; justify-content: center; gap: 24px; }
.xm__foot p { max-width: 46ch; }
.also p { max-width: 46ch; margin-inline: auto; }

/* resultados */

/* sócios */
.partners { margin-inline: auto; }

/* dúvidas: coluna única no centro, perguntas alinhadas para leitura */
.faq { grid-template-columns: 1fr !important; justify-items: center; gap: 12px; }
.faq h2 { position: static !important; }
.faq__list { width: min(100%, 820px); text-align: left; }
.faq__list p { margin-inline: 0; }

/* próximo passo: tudo empilhado no eixo central */

/* rodapé */
.foot__in { flex-direction: column; justify-content: center; text-align: center; gap: 10px; }
.foot__in p:last-child { margin-left: 0; }

/* =====================================================================
   HARMONIA — a faixa clara vira um painel dentro da página escura
   ===================================================================== */
.sec--light {
  width: min(1240px, calc(100% - var(--pad) * 2)); margin-inline: auto;
  padding-block: clamp(56px, 8vw, 104px); border-radius: clamp(28px, 3.4vw, 44px);
  transform: scale(calc(.9 + var(--in, 1) * .1)); opacity: calc(.35 + var(--in, 1) * .65);
  box-shadow: 0 0 0 1px rgba(205, 183, 246, .25), 0 40px 140px -30px rgba(105, 65, 198, .55);
  will-change: transform;
}
.sec--light h2.display { font-size: clamp(2.1rem, 5vw, 4.2rem); }
.sec--light .sem { margin-top: clamp(28px, 4vw, 48px); }
#como-funciona { padding-top: clamp(96px, 13vw, 168px); }

/* resultados no escuro, em cartões de vidro */

/* o preço das dores: fecha a seção dos cards */
.price { margin-top: clamp(56px, 8vw, 100px); }
.price__lead { color: var(--lav); font-weight: 500; font-size: 1rem; margin-bottom: .9rem; }
.price__quote { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 3.3vw, 2.5rem); letter-spacing: -.03em; line-height: 1.12; color: var(--paper); max-width: 25ch; text-wrap: balance; margin-top: 0; }
#espelho { padding-bottom: clamp(72px, 10vw, 130px); }

/* três peças no tabuleiro (no lugar das engrenagens) */
.trio__svg { display: block; width: min(100%, 760px); margin-inline: auto; overflow: visible;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.trio__board rect { fill: rgba(243, 241, 237, .045); }
.trio__lane rect { fill: var(--purple); opacity: 0; }
.trio__mate { font: 700 64px var(--display); text-anchor: middle; fill: none; stroke: var(--lav); stroke-width: 1.6; opacity: .22; }
.piece { cursor: pointer; }
.piece__hit { fill: transparent; }
.piece__in { transform-box: fill-box; }
.piece__in > * { fill: #1b1b23; stroke: rgba(243, 241, 237, .5); stroke-width: 1.1; stroke-linejoin: round; transition: fill .4s, stroke .4s; }
.piece.on .piece__in > * { fill: var(--purple); stroke: var(--lav); }
.piece.on { filter: drop-shadow(0 0 18px rgba(105, 65, 198, .75)); }
.gears__tag { display: block; font-size: .85rem; font-weight: 500; color: var(--mute); margin-bottom: 8px; transition: color .35s; }
.gears__item[aria-pressed=true] .gears__tag { color: var(--lav); }

/* A.D.I.M.O. aberto: cinco casas de uma fileira do tabuleiro */
.adimo__track { width: 100%; max-width: 1180px; }
.adimo__row { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; counter-reset: none; }
.adimo__row li { position: relative; padding: 34px 18px 32px; text-align: center; isolation: isolate; }
.adimo__row li:nth-child(odd) { background: rgba(243, 241, 237, .045); }
.adimo__row li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 50% 0%, rgba(105, 65, 198, .75), rgba(105, 65, 198, .25)); opacity: calc(var(--lit, 0) * .8); }
.adimo__letter { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2.8rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.4px rgba(205, 183, 246, .65); margin-bottom: 18px; transition: color .35s, -webkit-text-stroke-color .35s, transform .5s var(--ease); }
.adimo__row li.lit .adimo__letter { color: var(--paper); -webkit-text-stroke-color: var(--paper); transform: translateY(-5px); }
.adimo__row h3 { font-size: 1.2rem; margin-bottom: 8px; }
.adimo__row p { font-size: .93rem; line-height: 1.5; color: #b9b7c2; max-width: 22ch; }
.adimo__return { position: relative; height: 2px; margin: 18px 6% 0; background: linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent); }
.adimo__return i { position: absolute; top: -3px; right: 0; width: 70px; height: 8px; border-radius: 8px; background: linear-gradient(270deg, transparent, var(--lav)); box-shadow: 0 0 16px var(--purple); opacity: 0; transform: translateX(calc(var(--ret, 0) * -1 * (min(1180px, 100vw - var(--pad) * 2) * .88 - 70px))); }
.adimo__loop { border-top: 0; padding-top: 0; margin-top: 16px; text-align: center; }
@media (max-width: 860px) {
  .adimo__row { grid-template-columns: 1fr; }
  .adimo__row li { display: grid; grid-template-columns: 62px 1fr; column-gap: 16px; align-items: center; text-align: left; padding: 20px 22px; }
  .adimo__letter { grid-row: span 2; margin: 0; font-size: 2.8rem; text-align: center; }
  .adimo__row h3 { margin: 0 0 4px; }
  .adimo__row p { margin: 0; max-width: none; }
  .adimo__return { display: none; }
}
.adimo__letter { color: rgba(205, 183, 246, .42); -webkit-text-stroke: 0; }
.adimo__row li.lit .adimo__letter { color: var(--paper); text-shadow: 0 0 28px rgba(205, 183, 246, .7); }
.adimo__row li { transition: none; cursor: default; }
.adimo__row li::before { transition: opacity .25s; }

/* =====================================================================
   CORREÇÕES DA CRÍTICA
   ===================================================================== */

/* --- case Toyocar --- */
.case { max-width: 900px; margin: clamp(32px, 5vw, 56px) auto 0; border-top: 1px solid var(--line); text-align: left; }
.case__row { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr .6fr; gap: 16px; align-items: baseline; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.case__row > :not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.case__row--head { padding-block: 12px; font-size: .85rem; color: var(--mute); }
.case__row > span:first-child { color: var(--paper); font-weight: 500; }
.case__row > span[role=cell] { color: var(--mute); }
.case__row b { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 2.6vw, 1.9rem); letter-spacing: -.03em; color: var(--paper); }
.case__row i { font-style: normal; font-weight: 600; color: var(--lav); }
.case__note { margin-top: 20px; max-width: 74ch; }
@media (max-width: 700px) {
  .case__row--head { display: none; }
  .case__row { grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 2px; }
  .case__row > span:first-child { grid-column: 1 / -1; margin-bottom: 4px; }
  .case__row > span[role=cell] { text-align: left; font-size: .9rem; }
  .case__row > span[role=cell]::before { content: attr(data-l) ": "; }
  .case__row > b { grid-column: 1; text-align: left; }
  .case__row > b::before { content: attr(data-l) ": "; font: 400 .9rem var(--body); letter-spacing: 0; color: var(--mute); }
  .case__row > i { grid-column: 2; grid-row: 2 / 4; align-self: center; font-size: 1.2rem; }
}

/* --- outros registros: três, lado a lado --- */

/* --- alvos de toque e foco --- */
.hero__more { padding-block: 10px; }
.foot a { display: inline-block; padding-block: 12px; }
.sticky-cta { visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s; }
.sticky-cta.on { visibility: visible; transition-delay: 0s; }
@media (max-width: 760px) { .nav .btn { display: none; } }

/* --- celular: menos altura --- */
.partners { grid-template-columns: 1fr 1fr; gap: clamp(14px, 3vw, 28px); }
@media (max-width: 640px) {
  .sec { padding-block: 68px; }
  #espelho { padding-bottom: 60px; }
  .pain { min-height: 148px; }
  .pain__front, .pain__back { padding: 20px; font-size: 1.05rem; }
  .pain__front::before { top: 18px; right: 18px; }
  .pain__back i { top: 20px; left: 20px; }
  .price { margin-top: 48px; }
  .partners figure { border-radius: 16px; margin-bottom: 14px; }
  .partners h3 { font-size: 1.15rem; }
  .partners h3 span { display: block; margin: 4px 0 0; }
  .partners p { font-size: .88rem; line-height: 1.5; }
  .also { margin-top: 40px; gap: 14px; }
  .adimo__row li { padding: 16px 18px; }
}
@media (max-width: 700px) {
  .case .case__row > b { justify-self: start; text-align: left; }
  .case .case__row > span[role=cell] { text-align: left; }
}

/* rodapé com dados da empresa */
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 26px; }
.foot__links a { color: var(--mute); text-underline-offset: 4px; text-decoration-color: rgba(205, 183, 246, .4); transition: color .2s; }
.foot__links a:hover { color: var(--paper); }

/* página de política de privacidade: texto corrido, alinhado para leitura */
.legal { max-width: calc(720px + var(--pad) * 2); padding-block: 140px 96px; text-align: left; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.035em; margin-bottom: .5rem; }
.legal h2 { font-size: 1.45rem; letter-spacing: -.02em; margin: 2.6rem 0 .8rem; }
.legal p, .legal li { color: #c9c7d1; max-width: 68ch; }
.legal p + p { margin-top: 1em; }
.legal ul { margin: 1em 0; padding-left: 1.2em; list-style: disc; }
.legal li { margin-bottom: .55em; }
.legal li::marker { color: var(--lav); }
.legal a:not(.btn) { color: var(--lav); text-underline-offset: 4px; }
.legal__date { color: var(--mute) !important; font-size: .92rem; margin-bottom: 2rem; }
.legal__back { margin-top: 3rem !important; }
.legal-page .nav__links { display: flex; }

/* =====================================================================
   SEGUNDA RODADA DA CRÍTICA
   ===================================================================== */

/* hero: a linha de prova leva ao caso */
.trust a { color: var(--paper); text-decoration: underline; text-decoration-color: rgba(205, 183, 246, .55); text-underline-offset: 5px; transition: text-decoration-color .2s; }
.trust a:hover { text-decoration-color: var(--lav); }

/* case */
.case__row i.is-neutral { color: var(--mute); }
.case__others { margin-top: 14px; max-width: 74ch; }
.case__others b { color: var(--paper); font-weight: 600; }



/* =====================================================================
   PRÓXIMO PASSO — bloco estático: caminho desenhado, três passos, botão
   ===================================================================== */
.journey { position: relative; overflow: hidden; background: var(--ink-deep); padding-block: clamp(44px, 5vw, 60px) clamp(72px, 9vw, 110px); }
.journey::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 55% at 50% 36%, rgba(105, 65, 198, .26), transparent 70%); }
.journey__grid { position: relative; display: grid; justify-items: center; text-align: center; }
.journey .label { margin-bottom: .6rem; }
.journey h2 { margin-bottom: 0; }
.journey__cta { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.journey__cta p { margin: 0; max-width: 44ch; text-align: center; font-size: .88rem; line-height: 1.4; }
@media (min-width: 960px) {
}
@media (max-width: 959px) {
  .journey .label { display: none; }
  .journey h2 { font-size: 1.6rem; }
}

/* =====================================================================
   PROPORÇÕES — computador, tablet e celular
   ===================================================================== */

/* respiro entre seções: menor e igual em toda a página */
.sec { padding-block: clamp(64px, 8.5vw, 128px); }
#como-funciona { padding-top: clamp(64px, 8.5vw, 128px); }
#espelho { padding-bottom: clamp(56px, 7vw, 104px); }

/* hierarquia de títulos: nenhum título de seção encosta no tamanho do título principal */
h2 { font-size: clamp(1.95rem, 4.2vw, 3.1rem); }
h2.display, .sec--light h2.display { font-size: clamp(2.2rem, 5vw, 4.2rem); }
.xm__mate span { font-size: clamp(4.5rem, 11vw, 9rem); }

/* hero: cabe inteiro na primeira tela também em notebook baixo */
.hero { padding-top: 104px; }
.hero__title { font-size: clamp(2.4rem, min(6.1vw, 10.5vh), 5.4rem); }
.trust { margin-top: clamp(28px, 6vh, 72px); }
@media (min-width: 900px) and (max-height: 780px) {
  .hero { padding-top: 92px; }
  .hero__title { font-size: clamp(2.4rem, min(6.1vw, 9vh), 5.4rem); }
  .hero__kicker { margin-bottom: 1rem; }
  .hero__sub { margin-top: 1.2rem; }
  .hero__actions { margin-top: 1.5rem; gap: 8px; }
  .trust { margin-top: 24px; padding-block: 16px; }
}

/* fotos dos sócios: proporcionais ao texto no computador */
.partners { max-width: 720px; }

/* A.D.I.M.O.: cinco colunas só quando há largura para o texto respirar */
@media (min-width: 861px) and (max-width: 1099px) {
  .adimo__row { grid-template-columns: 1fr; }
  .adimo__row li { display: grid; grid-template-columns: 76px 1fr; column-gap: 20px; align-items: center; text-align: left; padding: 20px 28px; }
  .adimo__letter { grid-row: span 2; margin: 0; font-size: 3rem; text-align: center; }
  .adimo__row h3 { margin: 0 0 4px; }
  .adimo__row p { margin: 0; max-width: none; }
  .adimo__return { display: none; }
}

/* tablet em pé: passo a passo com tabuleiro e textos no tamanho da tela */
@media (min-width: 600px) and (max-width: 959px) {
  .journey h2 { font-size: 2rem; }
}

/* celular: faixa do hero mais compacta */
@media (max-width: 640px) {
  .sec { padding-block: 60px; }
  #como-funciona { padding-top: 60px; }
  .trust { font-size: .86rem; gap: 6px 24px; padding-block: 16px; }
}

/* tablet em pé: o hero não precisa ocupar a tela inteira, senão sobra um vazio embaixo */
@media (min-width: 600px) and (max-width: 1023px) and (orientation: portrait) {
  .hero { min-height: min(100svh, 800px); }
}

/* menu: os itens nunca quebram em duas linhas */
.nav__links a { white-space: nowrap; }
@media (max-width: 1100px) { .nav { gap: 18px; } .nav__links { gap: 18px; } }

/* a primeira seção encosta mais no hero: sem vão entre a faixa de prova e o título seguinte */
#espelho { padding-top: clamp(40px, 4.5vw, 64px); }
/* a faixa de prova fica colada no pé do hero, sem sobra abaixo dela */
.hero { justify-content: flex-start; }
.hero__inner { margin-block: auto; padding-bottom: clamp(24px, 4vh, 48px); }
.hero .trust { margin-top: 0; }
@media (min-width: 900px) and (max-height: 780px) { .hero__inner { padding-bottom: 20px; } }
#espelho { padding-top: clamp(40px, 4vw, 56px); }


/* =====================================================================
   MENU DO TOPO — pílula de água (o desenho da água está em main.js)
   ===================================================================== */
.nav__links.liquid { position: relative; isolation: isolate; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; user-select: none; -webkit-tap-highlight-color: transparent; }
.liquid__glass { position: absolute; inset: 0; z-index: -2; border-radius: inherit; background: rgba(243, 241, 237, .05);
  -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(243, 241, 237, .12), 0 12px 32px -14px rgba(0, 0, 0, .7); }
.liquid__water { position: absolute; left: -14px; top: -14px; z-index: -1; pointer-events: none; max-width: none; }
.nav__links.liquid[data-gl="off"] .liquid__water { display: none; }
.liquid__drop { display: none; position: absolute; top: 5px; bottom: 5px; left: 0; z-index: -1; border-radius: 999px; pointer-events: none; will-change: transform, width;
  background: radial-gradient(120% 140% at 30% 0%, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 55%), rgba(205, 183, 246, .2);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .5), inset 0 0 0 1px rgba(205, 183, 246, .4); }
.nav__links.liquid[data-gl="off"] .liquid__drop { display: block; }
.nav__links.liquid a { position: relative; z-index: 1; display: inline-flex; align-items: center; height: 40px; padding: 0 15px; border-radius: 999px; line-height: 1; transition: color .25s; }
.nav__links.liquid a[aria-current] { color: var(--paper); }
.nav__links.liquid a:focus-visible { outline-offset: 2px; }
/* a pílula precisa de mais largura que os links soltos */
@media (max-width: 1040px) { .nav__links { display: none; } .nav .btn { margin-left: auto; } }
@media (max-width: 1100px) { .nav__links.liquid { gap: 0; } .nav__links.liquid a { padding: 0 12px; } }


/* =====================================================================
   DORES EM LEQUE — uma linha só, com um card em foco (a lógica está em main.js)
   ===================================================================== */
.pains.fan { display: block; position: relative; margin-top: 26px; perspective: none; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.pains.fan.is-dragging { cursor: grabbing; }
.pains.fan .pain { position: absolute; left: 50%; top: 12px; min-height: 0; perspective: 1200px; will-change: transform; cursor: pointer; }
.pains.fan .pain:not(.is-front) .pain__front::before { opacity: 0; }
.pains.fan .pain.is-front .pain__front { border-color: rgba(205, 183, 246, .5); box-shadow: 0 30px 70px -28px rgba(105, 65, 198, .75); }
.pains.fan .pain.is-front .pain__back { box-shadow: 0 30px 70px -28px rgba(105, 65, 198, .75); }
.pains__dots { display: flex; justify-content: center; align-items: center; gap: 2px; margin-top: 6px; }
.pains__dots button { all: unset; box-sizing: border-box; cursor: pointer; width: 28px; height: 32px; display: grid; place-items: center; }
.pains__dots button::before { content: ""; width: 6px; height: 6px; border-radius: 6px; background: #6d6b78; transition: width .3s var(--ease), background .3s; }
.pains__dots button.on::before { width: 20px; background: var(--lav); }
.pains__dots button:focus-visible { outline: 2px solid var(--lav); outline-offset: -4px; border-radius: 8px; }
.pains__dots + .pains__result { margin-top: 10px; }
#espelho { overflow-x: clip; } /* os cards das pontas saem da tela sem criar rolagem lateral */
/* no leque os cards se sobrepõem: a frente precisa ser opaca para o de trás não aparecer através dela */
.pains.fan .pain__front { background-color: #16161c; }

/* leque: texto no centro do card e contorno neon discreto no card em foco */
.pains.fan .pain { text-align: center; }
.pains.fan .pain__front, .pains.fan .pain__back { justify-content: center; align-items: center; text-align: center; text-wrap: balance; }
.pains.fan .pain__back i { left: 0; right: 0; text-align: center; }
.pains.fan .pain.is-front .pain__front {
  border-color: var(--lav);
  box-shadow: 0 0 0 1px rgba(205, 183, 246, .55), 0 0 18px rgba(138, 92, 240, .55), 0 0 46px rgba(105, 65, 198, .35), 0 30px 70px -28px rgba(105, 65, 198, .75);
}
.pains.fan .pain.is-front .pain__back {
  box-shadow: 0 0 0 1px var(--lav), 0 0 18px rgba(138, 92, 240, .55), 0 0 46px rgba(105, 65, 198, .35), 0 30px 70px -28px rgba(105, 65, 198, .75);
}
.pains.fan .pain__front, .pains.fan .pain__back { transition: border-color .4s, box-shadow .4s; }

/* botões de agendamento: vidro roxo com um feixe de luz que atravessa de tempos em tempos */
.btn.btn--primary {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, rgba(150, 110, 245, .50), rgba(105, 65, 198, .58) 55%, rgba(84, 48, 170, .66));
  border-color: rgba(205, 183, 246, .55);
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -10px 18px -10px rgba(30, 12, 80, .55), 0 10px 34px -12px rgba(105, 65, 198, .8);
  text-shadow: 0 1px 2px rgba(30, 12, 80, .45);
}
.btn.btn--primary:hover {
  background: linear-gradient(180deg, rgba(165, 128, 250, .62), rgba(122, 82, 214, .68) 55%, rgba(96, 58, 186, .74));
  border-color: rgba(225, 210, 255, .8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -10px 18px -10px rgba(30, 12, 80, .5), 0 14px 44px -10px rgba(122, 82, 214, .9);
}
.btn.btn--primary::before { /* reflexo fixo no topo, como vidro */
  content: ""; position: absolute; inset: 1px 1px 52% 1px; border-radius: 999px 999px 40% 40% / 999px 999px 60% 60%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0)); pointer-events: none; z-index: -1;
}
.btn.btn--primary::after { /* o feixe */
  content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 42%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .12) 30%, rgba(255, 255, 255, .6) 50%, rgba(255, 255, 255, .12) 70%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-140%) skewX(-18deg); pointer-events: none; will-change: transform;
  animation: btnSheen 3.8s cubic-bezier(.4, 0, .2, 1) infinite;
}
@keyframes btnSheen {
  0% { transform: translateX(-140%) skewX(-18deg); }
  32%, 100% { transform: translateX(340%) skewX(-18deg); }
}
@media (prefers-reduced-motion: reduce) { .btn.btn--primary::after { animation: none; opacity: 0; } }

/* o mesmo feixe no botão de agendamento do menu do topo */
.nav .btn--glass { position: relative; overflow: hidden; isolation: isolate; }
.nav .btn--glass::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 42%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .1) 30%, rgba(255, 255, 255, .45) 50%, rgba(255, 255, 255, .1) 70%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-140%) skewX(-18deg); pointer-events: none; will-change: transform;
  animation: btnSheen 3.8s cubic-bezier(.4, 0, .2, 1) infinite;
}
@media (prefers-reduced-motion: reduce) { .nav .btn--glass::after { animation: none; opacity: 0; } }

/* a ordem de camadas dos cards vale só dentro do leque: assim eles passam por baixo do menu fixo */
.pains.fan { isolation: isolate; z-index: 0; }

/* passo a passo do agendamento: três casas de vidro em escada, ligadas pelo L do cavalo */
.jpath { --jh: 116px; --jstep: 104px; --jgap: 52px; --jin: 46px; list-style: none; margin: 34px 0 0; padding: 0; width: 100%; max-width: 420px; display: grid; gap: 22px; text-align: left; }
.jpath li { position: relative; }
.jtile {
  position: relative; overflow: hidden; display: flex; align-items: center; min-height: 92px; padding: 18px 22px; border-radius: 18px;
  border: 1px solid rgba(243, 241, 237, .16);
  background: linear-gradient(160deg, rgba(243, 241, 237, .09), rgba(243, 241, 237, .025));
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 24px 50px -30px rgba(0, 0, 0, .8);
}
.jtile__n { position: absolute; right: 10px; bottom: -.24em; font: 700 5.2rem/1 var(--display); letter-spacing: -.04em; color: rgba(205, 183, 246, .11); pointer-events: none; user-select: none; }
.jtile h3 { position: relative; margin: 0; max-width: 13ch; font-size: 1.16rem; line-height: 1.25; text-wrap: balance; }
.jpath li:not(:last-child)::after { content: ""; position: absolute; left: 34px; top: 100%; height: 22px; border-left: 1.5px solid var(--lav); opacity: .7; }
.jpath__mate .jtile {
  border-color: var(--lav);
  background: linear-gradient(160deg, rgba(150, 110, 245, .22), rgba(105, 65, 198, .10));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 0 0 1px rgba(205, 183, 246, .5), 0 0 18px rgba(138, 92, 240, .5), 0 0 46px rgba(105, 65, 198, .32);
}
.jpath__mate .jtile__n { color: rgba(205, 183, 246, .2); }
.jpath__knight { position: absolute; z-index: 1; right: 86px; top: 50%; width: 26px; height: auto; transform: translateY(-50%); fill: var(--paper); filter: drop-shadow(0 0 12px rgba(205, 183, 246, .7)); }
.journey__cta { margin-top: 34px; }
@media (min-width: 860px) {
  .jpath { max-width: 940px; grid-template-columns: repeat(3, 1fr); gap: var(--jgap); align-items: start; margin-top: 56px; }
  .jpath li:nth-child(1) { margin-top: calc(var(--jstep) * 2); }
  .jpath li:nth-child(2) { margin-top: var(--jstep); }
  .jtile { height: var(--jh); min-height: 0; padding: 20px 24px; }
  .jtile h3 { font-size: 1.22rem; }
  /* o L: sobe do topo da casa e entra pela lateral da próxima, na altura do meio dela */
  .jpath li:not(:last-child)::after {
    left: calc(100% - var(--jin)); top: auto; bottom: 100%; width: calc(var(--jin) + var(--jgap)); height: calc(var(--jstep) - var(--jh) / 2);
    border-left: 1.5px solid var(--lav); border-top: 1.5px solid var(--lav); border-top-left-radius: 3px;
  }
  .jpath__knight { right: 30px; top: auto; bottom: calc(100% + 6px); width: 30px; transform: none; }
  .journey__cta { margin-top: 44px; }
}
/* ajustes: linha mais visível; no celular o cavalo pousa em cima da terceira casa, fora do número */
.jpath li:not(:last-child)::after { opacity: 1; border-left-width: 2px; }
.jpath__mate { margin-top: 26px; }
.jpath li:nth-child(2)::after { height: 48px; }
.jpath__knight { right: 28px; top: auto; bottom: calc(100% + 4px); width: 24px; transform: none; }
@media (min-width: 860px) {
  .jpath__mate { margin-top: 0; }
  .jpath li:nth-child(2)::after { height: calc(var(--jstep) - var(--jh) / 2); }
  .jpath li:not(:last-child)::after { border-top-width: 2px; }
  .jpath__knight { right: 30px; bottom: calc(100% + 6px); width: 30px; }
}

/* número menor e inteiro dentro da casa */
.jtile__n { right: 16px; bottom: 12px; font-size: 3.1rem; line-height: .78; letter-spacing: -.03em; }
/* cavalo: o invólucro leva de uma casa à outra; o desenho faz o pulo e o giro */
.jpath__knight { display: block; fill: none; filter: none; will-change: transform, opacity; }
.jpath__knight svg { display: block; width: 100%; height: auto; fill: var(--paper); filter: drop-shadow(0 0 12px rgba(205, 183, 246, .7)); transform-origin: 50% 100%; }
.jpath__knight.is-idle svg { animation: jKnightIdle 5.6s cubic-bezier(.4, 0, .3, 1) 1.2s infinite; }
@keyframes jKnightIdle {
  0%, 76%, 100% { transform: translateY(0) rotateY(0deg); }
  86% { transform: translateY(-18px) rotateY(180deg); }
  96% { transform: translateY(0) rotateY(360deg); }
}
@media (prefers-reduced-motion: reduce) { .jpath__knight.is-idle svg { animation: none; } }

/* pontinhos do leque: área de toque maior, sem mudar o desenho */
.pains__dots button { min-height: 44px; }
