/* =====================================================================
   Home "O ponto, em capítulos" — carregado só na página inicial.
   Texto grande, cores por capítulo e o ponto como esfera que conduz.
   ===================================================================== */

/* O convite fixo substitui o botão da navegação */
[data-page="home"] .nav-cta { display: none; }
[data-page="home"] .nav-toggle { margin-left: auto; }

/* Marcas de tom: dizem à navegação onde o fundo é escuro (medidas fora dos elementos fixos) */
.tone-mark { position: absolute; left: 0; width: 1px; visibility: hidden; pointer-events: none; }
.tone-mark--hero { top: 0; height: 100svh; }

/* ---------- Abertura ---------- */
.cap-stack { position: relative; }
.cap-hero {
  position: sticky; top: 0;
  height: 100svh; min-height: 560px; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr) auto; row-gap: 18px;
  padding: calc(var(--nav-h) + 14px) var(--g) var(--g);
  background: var(--navy-deep); color: #fff;
}
.cap-hero-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; font-weight: 700; font-size: .875rem; color: var(--on-dark-2); }
.cap-clock { white-space: nowrap; font-variant-numeric: tabular-nums; }
.cap-clock .clock { color: #fff; }

.cap-wm { position: relative; width: min(100%, calc((100svh - 460px) * 4.125)); min-width: min(100%, 520px); aspect-ratio: 792 / 192; color: var(--paper); }
.cap-wm svg { width: 100%; height: 100%; fill: currentColor; }
.cap-idot { position: absolute; left: 77.59%; top: 10.73%; width: 5.05%; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); transform: translate(-50%, -50%); }
/* antes da esfera chegar, o pingo do i é só um contorno à espera */
html.motion .cap-idot { background: transparent; box-shadow: inset 0 0 0 2px var(--yellow); opacity: .55; }

/* ordem visual: assinatura no alto, esfera no meio, texto embaixo */
.cap-wm { grid-row: 2; }
.cap-orb-rest { grid-row: 3; min-height: 120px; }
.cap-hero-copy { grid-row: 4; display: grid; gap: 16px; align-content: end; }
.cap-h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.6rem, min(6.6vw, 10vh), 8rem); line-height: .9; letter-spacing: -.045em;
}
.cap-h1 .ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.cap-h1 .ln-in { display: block; }
html.motion .cap-h1 .slot::before { opacity: 1; }
.cap-hero-sub { max-width: 31em; color: var(--on-dark-2); font-size: clamp(1rem, 1.15vw, 1.1875rem); line-height: 1.5; }
.cap-scroll { justify-self: start; display: inline-flex; align-items: center; gap: 12px; padding: 6px 0; font-weight: 700; font-size: .875rem; text-decoration: none; color: #fff; }
.cap-scroll-line { position: relative; width: 1.5px; height: 30px; overflow: hidden; background: rgba(255, 255, 255, .25); }
.cap-scroll-line::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: var(--yellow); }
html.motion .cap-scroll-line::after { animation: cap-cue 2.2s var(--ease) infinite; }
@keyframes cap-cue { to { top: 100%; } }

@media (min-width: 900px) {
  .cap-hero { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 22px; }
  .cap-hero-top, .cap-wm { grid-column: 1 / -1; }
  .cap-hero-copy { grid-column: 1 / 8; grid-row: 3; }
  .cap-orb-rest { grid-column: 8 / -1; grid-row: 3; }
}

/* entrada da abertura */
html.motion .cap-hero .ln-in { transform: translate3d(0, 110%, 0); }
html.motion .cap-hero.is-in .ln-in { transform: none; transition: transform 1.2s var(--ease); }
html.motion .cap-hero.is-in .ln:nth-child(2) .ln-in { transition-delay: .1s; }
html.motion .cap-hero .cap-hero-top,
html.motion .cap-hero .cap-wm,
html.motion .cap-hero .cap-hero-sub,
html.motion .cap-hero .cap-scroll { opacity: 0; transform: translate3d(0, 18px, 0); }
html.motion .cap-hero.is-in .cap-hero-top,
html.motion .cap-hero.is-in .cap-wm,
html.motion .cap-hero.is-in .cap-hero-sub,
html.motion .cap-hero.is-in .cap-scroll { opacity: 1; transform: none; transition: opacity 1s var(--ease) .35s, transform 1.2s var(--ease) .35s; }
html.motion .cap-hero.is-in .cap-wm { transition-delay: .15s; }

/* ---------- Manifesto: o papel sobe sobre a abertura ---------- */
.cap-man {
  position: relative; z-index: 2; height: 260svh;
  background: var(--paper);
  border-radius: clamp(22px, 3vw, 44px) clamp(22px, 3vw, 44px) 0 0;
  box-shadow: 0 -24px 60px rgba(5, 9, 28, .35);
}
.cap-man-pin {
  position: sticky; top: 0; height: 100svh;
  display: grid; align-content: center; gap: 28px;
  padding: calc(var(--nav-h) + 20px) var(--g) var(--g);
}
.cap-man-text {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.9rem, 4.1vw, 4.6rem); line-height: 1.04; letter-spacing: -.035em;
  max-width: 17em;
}
.cap-man-text em { font-family: var(--text); font-style: italic; font-weight: 400; letter-spacing: -.03em; }
.cap-man-text .slot { height: .17em; width: .19em; }
html.motion .cap-man-text .w { opacity: .16; transition: opacity .45s var(--ease); }
html.motion .cap-man-text .w.is-lit { opacity: 1; }
.cap-man-next { margin-top: 32px; color: var(--text-2); font-size: clamp(1.0625rem, 1.2vw, 1.25rem); }

/* o pincel: o único gesto à mão do site */
.w--brush { position: relative; display: inline-block; }
.brush { position: absolute; left: -10%; top: -26%; width: 120%; height: 152%; overflow: visible; pointer-events: none; }
.brush path { fill: none; stroke: var(--yellow); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
html.motion .w--brush .brush path { stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease) .15s; }
html.motion .w--brush.is-lit .brush path { stroke-dashoffset: 0; }

@media (min-width: 900px) {
  .cap-man-pin { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .cap-man-pin > .label { grid-column: 1 / span 3; align-self: start; padding-top: 1.2em; }
  .cap-man-body { grid-column: 4 / -1; }
}

/* ---------- Método em capítulos ---------- */
.cap-method { position: relative; background: var(--paper); }
.cap-method-head { display: grid; gap: 28px; padding: clamp(110px, 18vh, 200px) var(--g) clamp(72px, 12vh, 140px); }
.cap-method-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(3rem, 10.4vw, 12rem); line-height: .88; letter-spacing: -.05em;
  text-wrap: balance;
}
.cap-method-foot { display: grid; gap: 22px; }
.cap-method-lead { max-width: 24em; font-family: var(--display); font-size: var(--fs-lead); line-height: 1.15; letter-spacing: -.015em; }
.cap-method-count { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--text-2); }
.cap-method-count span { display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 50%; border: 1.5px solid currentColor; color: var(--navy); }
@media (min-width: 900px) {
  .cap-method-foot { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}

.chapters { position: relative; --dwell: 45svh; }
.tone-mark--c1 { top: 0; height: 100svh; }
.tone-mark--c4 { top: calc(3 * (100svh + var(--dwell))); height: 100svh; }

.chap {
  --bg: var(--navy); --fg: #fff; --muted: rgba(255, 255, 255, .72); --accent: var(--yellow);
  position: sticky; top: 0; z-index: calc(var(--i) + 1);
  height: 100svh; min-height: 560px; overflow: hidden;
  background: var(--bg); color: var(--fg);
  border-radius: clamp(22px, 3vw, 44px) clamp(22px, 3vw, 44px) 0 0;
  box-shadow: 0 -24px 60px rgba(5, 9, 28, .22);
}
/* pausa: cada capítulo fica parado por mais um trecho de rolagem antes do próximo cobri-lo */
.chap:not(:last-child) { margin-bottom: var(--dwell); }
.chap--yellow { --bg: var(--yellow); --fg: var(--navy-deep); --muted: rgba(10, 17, 49, .74); --accent: var(--navy-deep); }
.chap--paper { --bg: var(--paper-2); --fg: var(--navy); --muted: var(--text-2); --accent: var(--yellow); }
.chap--deep { --bg: var(--navy-deep); }

.chap-in {
  height: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr) auto; gap: 14px;
  padding: calc(var(--nav-h) + 18px) var(--g) clamp(88px, 15svh, 150px);
}
.chap-num { font-weight: 700; font-size: .9375rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.chap-num strong { color: var(--fg); }
.chap-word {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(3.4rem, min(19vw, 24vh), 15rem); line-height: .86; letter-spacing: -.05em;
}
.chap-word .slot::before { background: var(--accent); }
html.motion .chap-word .slot::before { opacity: 1; }
.chap-copy { display: grid; gap: 10px; max-width: 30em; }
.chap-head { font-family: var(--display); font-weight: 700; font-size: var(--fs-h3); line-height: 1; letter-spacing: -.03em; }
.chap-text { color: var(--muted); font-size: clamp(1.0625rem, 1.2vw, 1.25rem); }
.chap-art { grid-row: 3; justify-self: center; align-self: center; width: min(70vw, 34svh); aspect-ratio: 1; color: var(--fg); }
.chap-copy { grid-row: 4; }
@media (min-width: 900px) {
  .chap-in { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto minmax(0, 1fr); column-gap: 24px; row-gap: 18px; }
  .chap-num, .chap-word { grid-column: 1 / -1; }
  .chap-copy { grid-column: 1 / 6; grid-row: 3; align-self: end; }
  .chap-art { grid-column: 7 / -1; grid-row: 3; justify-self: end; align-self: end; width: min(100%, 46svh); }
}

/* ilustrações: traço em linha, um só acento por capítulo */
.chap-art svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.chap-art circle, .chap-art g { transform-box: fill-box; transform-origin: center; }
@keyframes cap-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes cap-pop { from { transform: scale(0); } }

.art--lente .grid circle { opacity: .4; }
.art--lente .found { fill: var(--accent); stroke: none; }
.art--lente .lens circle { stroke-width: 4; }
.art--lente .lens path { stroke-width: 7; }
html.motion .chap:not(.is-in) .art--lente .lens { opacity: 0; }
html.motion .chap:not(.is-in) .art--lente .found { transform: scale(0); }
html.motion .chap.is-in .art--lente .lens { animation: cap-scan 2.2s var(--ease) both; }
html.motion .chap.is-in .art--lente .found { animation: cap-pop .6s var(--ease) 1.8s both; }
@keyframes cap-scan {
  0% { transform: translate(-150px, -110px); opacity: 0; }
  15% { opacity: 1; }
  55% { transform: translate(-70px, 60px); }
  100% { transform: none; }
}

.art--rumo .ray { opacity: .5; stroke-dasharray: 1; }
.art--rumo .arrow { stroke-width: 4; stroke-dasharray: 1; }
.art--rumo .dot { fill: var(--accent); stroke: none; }
html.motion .chap:not(.is-in) .art--rumo .ray,
html.motion .chap:not(.is-in) .art--rumo .arrow { stroke-dashoffset: 1; }
html.motion .chap:not(.is-in) .art--rumo .dot { transform: scale(0); }
html.motion .chap.is-in .art--rumo .ray { animation: cap-draw 1.2s var(--ease) calc(var(--j) * 70ms) both; }
html.motion .chap.is-in .art--rumo .dot { animation: cap-pop .7s var(--ease) 1s both; }
html.motion .chap.is-in .art--rumo .arrow { animation: cap-draw .8s var(--ease) 1.3s both; }

.art--rede .edge { opacity: .55; stroke-dasharray: 1; }
.art--rede .node { fill: var(--bg); stroke-width: 3; }
.art--rede .node--core { fill: var(--accent); stroke: none; }
html.motion .chap:not(.is-in) .art--rede .edge { stroke-dashoffset: 1; }
html.motion .chap:not(.is-in) .art--rede .node { transform: scale(0); }
html.motion .chap.is-in .art--rede .node { animation: cap-pop .5s var(--ease) calc(var(--j) * 90ms) both; }
html.motion .chap.is-in .art--rede .edge { animation: cap-draw .9s var(--ease) calc(.4s + var(--j) * 80ms) both; }

.art--ondas .wave { opacity: 0; }
.art--ondas .ring-static { opacity: .3; }
.art--ondas .dot { fill: var(--accent); stroke: none; }
html:not(.motion) .art--ondas .wave:first-child { opacity: .3; }
html.motion .chap.is-in .art--ondas .wave { animation: cap-ripple 4s linear calc(var(--j) * 1s) infinite; }
@keyframes cap-ripple { 0% { transform: scale(.12); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }

/* ---------- A esfera ---------- */
/* Base grande (720px) reduzida por transform: o navegador rasteriza na resolução cheia e a esfera
   fica nítida mesmo grande e em telas retina. A luz (.orb-spec) se move com o ponteiro e em repouso. */
.orb {
  --spec: rgba(255, 249, 224, .9);
  position: fixed; left: 0; top: 0; z-index: 41;
  width: 720px; height: 720px; margin: -360px 0 0 -360px;
  border-radius: 50%; pointer-events: none; display: none;
  background:
    radial-gradient(circle at 70% 78%, rgba(255, 232, 160, .28) 0, rgba(255, 232, 160, 0) 34%),
    radial-gradient(circle at 38% 33%, #f7dc8e 0%, var(--yellow) 36%, #b98a1c 70%, #7a5409 100%);
  box-shadow: inset -54px -72px 120px rgba(70, 42, 0, .5), inset 26px 30px 90px rgba(255, 238, 180, .22);
  transform: translate3d(-900px, -900px, 0) scale(0);
  will-change: transform;
}
.orb-spec {
  position: absolute; left: 14%; top: 9%; width: 52%; height: 52%; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--spec) 0%, rgba(255, 249, 224, .38) 30%, rgba(255, 249, 224, 0) 68%);
  transform: translate3d(var(--hx, 0%), var(--hy, 0%), 0);
}
/* anel que pulsa quando a esfera descansa na abertura */
.orb::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 6px solid var(--yellow); opacity: 0; pointer-events: none;
}
.orb.is-idle::after { animation: orb-ping 3.6s var(--ease) infinite; }
@keyframes orb-ping { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.55); opacity: 0; } }
.orb.is-ink {
  --spec: rgba(150, 170, 255, .55);
  background:
    radial-gradient(circle at 70% 78%, rgba(90, 110, 220, .22) 0, rgba(90, 110, 220, 0) 34%),
    radial-gradient(circle at 38% 33%, #3b4c9a 0%, var(--navy-deep) 58%, #030614 100%);
  box-shadow: inset -54px -72px 120px rgba(0, 0, 8, .55), inset 26px 30px 90px rgba(120, 140, 255, .14);
}
html.motion .orb { display: block; }
html.menu-open .orb { opacity: 0; }
html.orb-on .ponto { opacity: 0; }
/* no capítulo amarelo o botão do WhatsApp troca de cor para não sumir */
html.on-yellow .wa { background: var(--navy-deep); color: #fff; }

/* ---------- Convite fixo ---------- */
.cta-dock {
  position: fixed; z-index: 55; left: 50%; bottom: max(20px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 0 26px 0 20px; border-radius: 999px;
  background: var(--navy-deep); color: #fff;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 30px rgba(5, 9, 28, .3), inset 0 0 0 1px rgba(255, 255, 255, .16);
  transform: translate3d(-50%, 150%, 0); opacity: 0; visibility: hidden;
  transition: transform .6s var(--ease), opacity .4s var(--ease), background-color .3s, visibility 0s .6s;
}
.cta-dock.is-on { transform: translate3d(-50%, 0, 0); opacity: 1; visibility: visible; transition-delay: 0s; }
.cta-dock:hover { background: var(--navy); }
.cta-dock:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.cta-dock-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); flex: none; }
.cta-dock-short { display: none; }
html.menu-open .cta-dock { opacity: 0; visibility: hidden; }
html:not(.js) .cta-dock { display: none; }
@media (max-width: 599px) {
  .cta-dock { left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); padding: 0 20px 0 16px; transform: translate3d(0, 150%, 0); }
  .cta-dock.is-on { transform: none; }
  .cta-dock-long { display: none; }
  .cta-dock-short { display: inline; }
}
/* no celular, o texto dos capítulos e o manifesto ficam acima do convite fixo */
@media (max-width: 599px) {
  .chap-in { padding-bottom: calc(var(--g) + 76px); }
  .chap-art { width: min(64vw, 30svh); }
}

/* =====================================================================
   Ornamentos: quebram a solidez dos fundos (grão, anéis, grades de pontos).
   Tudo decorativo, sem interação; o movimento só existe sob html.motion.
   ===================================================================== */
:root {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 .09'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  --ring-dark: rgba(255, 255, 255, .10);
  --ring-paper: rgba(16, 28, 76, .09);
}
.cap-hero, .cap-man, .cap-method, .chap, .work, .offers, .skills, .xray, .finale { background-image: var(--grain); }
.cap-hero {
  background-image:
    radial-gradient(52% 58% at 76% 52%, rgba(201, 149, 36, .17), transparent 72%),
    radial-gradient(46% 52% at 4% 100%, rgba(70, 92, 210, .26), transparent 72%),
    var(--grain);
}
.cap-man { background-image: radial-gradient(60% 50% at 100% 0%, rgba(201, 149, 36, .10), transparent 70%), var(--grain); }
.work { background-image: radial-gradient(50% 36% at 0% 0%, rgba(70, 92, 210, .22), transparent 70%), radial-gradient(44% 30% at 100% 100%, rgba(201, 149, 36, .12), transparent 70%), var(--grain); }
.xray { background-image: radial-gradient(54% 46% at 100% 0%, rgba(201, 149, 36, .16), transparent 70%), var(--grain); }
.finale { background-image: radial-gradient(60% 50% at 50% 0%, rgba(70, 92, 210, .22), transparent 70%), radial-gradient(44% 40% at 100% 100%, rgba(201, 149, 36, .14), transparent 70%), var(--grain); }

/* anéis e pontos nas seções de fundo contínuo */
.work, .xray, .finale, .offers, .skills { isolation: isolate; overflow: clip; }
.work::before, .xray::before, .finale::before, .offers::before, .skills::before,
.work::after, .xray::after, .finale::after, .offers::after, .skills::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
}
/* anéis concêntricos que irradiam de um canto */
.work::before { right: -14vw; top: -10vw; width: 62vw; aspect-ratio: 1; }
.xray::before { left: -16vw; bottom: -18vw; width: 58vw; aspect-ratio: 1; }
.finale::before { left: 50%; top: -14vw; width: 78vw; aspect-ratio: 1; transform: translateX(-50%); }
.offers::before { right: -18vw; top: 6vw; width: 54vw; aspect-ratio: 1; }
.skills::before { left: -14vw; bottom: -12vw; width: 44vw; aspect-ratio: 1; }
.work::before, .xray::before, .finale::before {
  background: repeating-radial-gradient(circle at 50% 50%, transparent 0 74px, var(--ring-dark) 74px 75.5px);
  -webkit-mask-image: radial-gradient(circle, #000 0, rgba(0, 0, 0, .8) 38%, transparent 70%);
  mask-image: radial-gradient(circle, #000 0, rgba(0, 0, 0, .8) 38%, transparent 70%);
}
.offers::before, .skills::before {
  background: repeating-radial-gradient(circle at 50% 50%, transparent 0 74px, var(--ring-paper) 74px 75.5px);
  -webkit-mask-image: radial-gradient(circle, #000 0, rgba(0, 0, 0, .8) 38%, transparent 70%);
  mask-image: radial-gradient(circle, #000 0, rgba(0, 0, 0, .8) 38%, transparent 70%);
}
/* grade de pontos que se dissolve */
.work::after { left: var(--g); bottom: 4%; width: min(46vw, 560px); height: min(24vw, 300px); }
.xray::after { right: var(--g); top: 8%; width: min(40vw, 460px); height: min(22vw, 260px); }
.finale::after { right: var(--g); bottom: 22%; width: min(34vw, 420px); height: min(20vw, 240px); }
.offers::after { left: var(--g); top: 3%; width: min(30vw, 360px); height: min(14vw, 170px); }
.skills::after { right: var(--g); top: 6%; width: min(28vw, 340px); height: min(14vw, 170px); }
.work::after, .xray::after, .finale::after, .offers::after, .skills::after {
  background-image: radial-gradient(circle, currentColor 1.4px, transparent 1.8px);
  background-size: 22px 22px; opacity: .22;
  -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 20%, transparent 100%);
}
.offers::after, .skills::after { color: var(--navy); opacity: .16; }
@media (max-width: 899px) {
  .work::after, .xray::after, .finale::after { width: 60vw; height: 32vw; }
}

/* abertura: órbitas ao redor da esfera, grade de pontos e parallax suave */
.cap-hero > .cap-hero-top, .cap-hero > .cap-hero-copy, .cap-hero > .cap-wm { position: relative; z-index: 1; }
.cap-orb-rest { position: relative; }
.orn-orbits {
  position: absolute; left: 50%; top: 50%; height: 235%; aspect-ratio: 1; max-width: none;
  transform: translate(calc(-50% + var(--px, 0) * -14px), calc(-50% + var(--py, 0) * -14px));
  fill: none; stroke: rgba(255, 255, 255, .13); stroke-width: 1.4; overflow: visible; pointer-events: none;
}
.orn-orbits .o2 { stroke-dasharray: 2 9; stroke: rgba(255, 255, 255, .22); }
.orn-orbits .o3 { stroke: rgba(201, 149, 36, .22); }
.orn-orbits .sat { fill: var(--yellow); stroke: none; }
.orn-orbits .sat--ring { fill: none; stroke: var(--yellow); stroke-width: 2.2; }
.orn-orbits .spin { transform-origin: 0 0; }
html.motion .orn-orbits .spin-a { animation: orn-turn 38s linear infinite; }
html.motion .orn-orbits .spin-b { animation: orn-turn 64s linear infinite reverse; }
html.motion .orn-orbits .spin-c { animation: orn-turn 90s linear infinite; }
@keyframes orn-turn { to { transform: rotate(360deg); } }
.orn-dots {
  position: absolute; z-index: 0; right: 0; bottom: 0; width: min(46vw, 620px); height: min(34vh, 340px); pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .55) 1.4px, transparent 1.8px);
  background-size: 24px 24px; opacity: .3;
  -webkit-mask-image: radial-gradient(closest-side at 100% 100%, #000 0, transparent 100%);
  mask-image: radial-gradient(closest-side at 100% 100%, #000 0, transparent 100%);
  transform: translate(calc(var(--px, 0) * 10px), calc(var(--py, 0) * 10px));
}

/* manifesto: anéis em linha e marcas de registro, sobre o papel */
.cap-man-pin { overflow: clip; }
.orn-man {
  position: absolute; z-index: 0; right: -9vw; bottom: -14vh; height: min(92vh, 78vw); aspect-ratio: 1; pointer-events: none;
  fill: none; stroke: var(--ring-paper); stroke-width: 1.4;
}
.orn-man .dot { fill: var(--yellow); stroke: none; }
html.motion .orn-man { animation: orn-turn 120s linear infinite; }
.cap-man-pin > .label, .cap-man-pin > .cap-man-body { position: relative; z-index: 1; }
.orn-plus { position: absolute; z-index: 0; width: 17px; height: 17px; pointer-events: none; color: rgba(16, 28, 76, .3);
  background: linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat, linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat; }
.orn-plus--a { left: var(--g); top: calc(var(--nav-h) + 8px); }
.orn-plus--b { right: var(--g); top: 22%; color: rgba(201, 149, 36, .75); }
.orn-plus--c { left: 42%; bottom: 8%; }

/* capítulos: ondas que nascem de um canto (cada capítulo, de um lado) */
.chap::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 120vmax; height: 120vmax; left: var(--ox, 100%); top: var(--oy, 100%); transform: translate(-50%, -50%);
  background: repeating-radial-gradient(circle at 50% 50%, transparent 0 66px, color-mix(in srgb, var(--fg) 14%, transparent) 66px 67.5px);
  -webkit-mask-image: radial-gradient(circle, #000 0, rgba(0, 0, 0, .8) 18%, transparent 42%);
  mask-image: radial-gradient(circle, #000 0, rgba(0, 0, 0, .8) 18%, transparent 42%);
}
.chap:nth-child(3n + 1)::before { --ox: 0%; --oy: 100%; }
.chap:nth-child(3n + 2)::before { --ox: 100%; --oy: 0%; }
.chap:nth-child(3n + 3)::before { --ox: 100%; --oy: 100%; }
.chap .chap-in { position: relative; }

@media (prefers-reduced-motion: reduce) {
  .cta-dock { transition: none; }
}
