/* Genesis · Apps escaláveis (Nexus Build) — landing page de venda, identidade escura da Genesis */
:root {
  --bg: #030903;
  --bg-2: #061006;
  --surface: rgba(237, 243, 237, 0.035);
  --surface-2: rgba(237, 243, 237, 0.07);
  --line: rgba(237, 243, 237, 0.10);
  --line-2: rgba(237, 243, 237, 0.20);
  --ink: #EDF3ED;
  --muted: #9AA59A;
  --dim: #84907F;
  --g1: #8FC05D;
  --g2: #529D39;
  --g3: #246B24;
  --g-soft: rgba(143, 192, 93, 0.12);
  --g-line: rgba(143, 192, 93, 0.40);
  --threat: #E0705F;
  --threat-soft: rgba(224, 112, 95, 0.12);
  --threat-line: rgba(224, 112, 95, 0.42);
  --grad: linear-gradient(90deg, #A6D178 0%, #8FC05D 35%, #529D39 100%);
  --font: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4.5vw, 72px);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --acc: var(--g1);
  --acc-soft: var(--g-soft);
  --acc-line: var(--g-line);
  color-scheme: dark;
}
.tone-threat { --acc: var(--threat); --acc-soft: var(--threat-soft); --acc-line: var(--threat-line); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
html.motion { scroll-behavior: smooth; }
html.large { font-size: 112.5%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(16px, 0.3vw + 14.5px, 18.5px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--g1); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(88px, 11vw, 150px) 0; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); margin-bottom: 18px; }
.h2 { font-size: clamp(2rem, 1.1rem + 3.4vw, 3.6rem); line-height: 1.06; font-weight: 700; letter-spacing: -.025em; max-width: 18ch; text-wrap: balance; }
.h2 .soft { color: var(--muted); }
.lead { margin-top: 22px; color: var(--muted); font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); max-width: 56ch; text-wrap: pretty; }
sup.fn { font-size: .7rem; line-height: 0; margin-left: 2px; }
sup.fn a { color: var(--muted); text-decoration: none; padding: 0 2px; }
sup.fn a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer;
  background: var(--g1); color: #061006; border: 0;
  transition: transform .2s var(--ease), background .2s;
}
.btn:hover { background: #A6D178; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; }
.btn svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: 64px; display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.top.solid { background: rgba(3, 9, 3, .84); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.top .brand img { display: block; height: 26px; width: auto; }
.top nav { display: none; gap: 26px; margin-left: auto; }
.top nav a { text-decoration: none; color: var(--muted); font-size: .9rem; font-weight: 500; }
.top nav a:hover { color: var(--ink); }
.top .btn { margin-left: auto; min-height: 40px; padding: 0 18px; font-size: .85rem; }
@media (min-width: 920px) { .top nav { display: flex; } .top .btn { margin-left: 0; } }
@media (max-width: 420px) { .top .btn span.long { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 72px; overflow: hidden; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 9, 3, .92) 0%, rgba(3, 9, 3, .55) 40%, rgba(3, 9, 3, 0) 56%); }
.hero .wrap { position: relative; }
.hero h1 { font-size: clamp(2.5rem, 1.1rem + 4.6vw, 5rem); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; max-width: 13ch; text-wrap: balance; }
.hero h1 .hit { color: var(--threat); }
.hero .lead { color: #C3CCC3; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note { position: absolute; right: var(--gutter); bottom: 22px; font-size: .75rem; color: var(--dim); }
@media (max-width: 860px) { .hero { align-items: flex-end; } .hero-note { left: var(--gutter); right: var(--gutter); } }

/* ---------- Hero: o pico de acesso contra o limite fixo do servidor ---------- */
.peak { position: absolute; right: var(--gutter); top: 50%; width: min(34%, 480px); transform: translateY(-46%); display: grid; gap: 14px; pointer-events: none; }
.pk-card { padding: 16px 18px; border-radius: 18px; background: rgba(8, 12, 8, .92); border: 1px solid var(--line-2); display: grid; gap: 12px; transition: border-color .3s; }
.pk-card[data-s="down"] { border-color: var(--threat-line); }
.pk-head { display: flex; align-items: center; gap: 10px; }
.pk-ico { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); }
.pk-ico svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pk-head b { font-size: .95rem; white-space: nowrap; }
.pk-status { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; font-size: .78rem; font-weight: 800; white-space: nowrap; border: 1px solid var(--g-line); background: var(--g-soft); color: var(--g1); transition: background .25s, color .25s, border-color .25s; }
.pk-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pk-status[data-s="slow"] { background: transparent; border-color: var(--threat-line); color: var(--ink); }
.pk-status[data-s="down"] { background: var(--threat); border-color: var(--threat); color: #1a0703; }
.pk-meter { position: relative; height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.pk-ok, .pk-over { position: absolute; top: 0; bottom: 0; }
.pk-ok { left: 0; width: 22%; background: var(--g1); }
.pk-over { left: 50%; width: 0; background: var(--threat); }
.pk-meter::after { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 2px; margin-left: -1px; background: var(--ink); opacity: .7; }
.pk-nums { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; font-size: .78rem; color: var(--muted); }
.pk-nums b { color: var(--ink); font-size: 1rem; font-weight: 800; font-variant-numeric: tabular-nums; margin-right: 4px; }
.pk-nums .pk-l b { color: var(--threat); }
.pk-plot { position: relative; height: 180px; padding: 12px; border-radius: 16px; border: 1px solid var(--line); }
.pk-lim { position: absolute; left: 10px; top: calc(54.5% - 24px); padding: 1px 7px; border-radius: 6px; background: rgba(6, 12, 6, .82); font-size: .72rem; font-weight: 700; color: var(--muted); }
@media (max-width: 1100px) { .pk-plot { height: 150px; } }
@media (min-width: 861px) {
  .hero .lead { max-width: min(34rem, 44vw); }
  .hero h1 { max-width: min(13ch, 46vw); }
  .hero-cta { max-width: 46vw; }
}
@media (max-width: 860px) {
  .hero { padding-top: 372px; }
  .peak { left: var(--gutter); right: var(--gutter); top: 80px; width: auto; max-width: 480px; margin: 0 auto; transform: none; gap: 10px; }
  .pk-card { padding: 12px 14px; gap: 10px; }
  .pk-ico { width: 28px; height: 28px; }
  .pk-ico svg { width: 15px; height: 15px; }
  .pk-head b { font-size: .85rem; }
  .pk-status { font-size: .72rem; padding: 3px 9px; }
  .pk-nums { font-size: .72rem; }
  .pk-nums b { font-size: .9rem; }
  .pk-plot { height: 120px; }
  .hero-shade { background: linear-gradient(180deg, rgba(3, 9, 3, 0) 0%, rgba(3, 9, 3, 0) 52%, rgba(3, 9, 3, .9) 64%, rgba(3, 9, 3, .97) 100%); }
}
@media (max-width: 860px) and (max-height: 720px) {
  .hero { padding-top: 330px; }
  .peak { top: 74px; }
  .pk-plot { height: 84px; }
  .pk-meter { height: 8px; }
}

/* ---------- Dores ---------- */
.pains { display: grid; gap: 16px; margin-top: 56px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .pains { grid-template-columns: 1fr 1fr; } }
.pain {
  position: relative; display: grid; grid-template-rows: auto 1fr; gap: 22px;
  padding: 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line);
}
.pain .viz { height: 150px; border-radius: 14px; background: rgba(3, 9, 3, .6); border: 1px solid var(--line); position: relative; overflow: hidden; }
.pain h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
.pain p.t { color: var(--muted); margin-top: 8px; }
.pain .stat { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); display: flex; align-items: baseline; gap: 12px; }
.pain .stat b { font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; color: var(--threat); line-height: 1; white-space: nowrap; }
.pain .stat > span { color: var(--muted); font-size: .92rem; line-height: 1.4; }

/* viz: o pico passa do limite */
.v-peak, .v-ops { padding: 12px 14px; }
.v-peak svg { position: absolute; inset: 14px 0 10px; width: 100%; height: calc(100% - 24px); overflow: visible; }
.v-peak .vp-area { fill: var(--threat-soft); }
.v-peak .vp-under, .v-peak .vp-over { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.v-peak .vp-under { stroke: var(--muted); }
.v-peak .vp-over { stroke: var(--threat); stroke-width: 2.4; }
.v-peak .vp-cap { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 4 5; opacity: .55; vector-effect: non-scaling-stroke; }
.v-peak .vp-roll { transform: translateX(-118px); }
.motion .v-peak .vp-roll { animation: vp-roll 7s linear infinite; }
@keyframes vp-roll { from { transform: translateX(0); } to { transform: translateX(-300px); } }
.v-peak .vp-lab { position: absolute; left: 14px; top: 10px; font-size: .72rem; font-weight: 700; color: var(--muted); }

/* viz: a página que não carrega */
.v-slow { display: grid; place-content: center; justify-items: center; gap: 8px; padding: 10px 14px; }
.vs-win { width: min(280px, 100%); border-radius: 12px; border: 1px solid var(--line-2); background: rgba(8, 12, 8, .9); overflow: hidden; position: relative; }
.vs-bar { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-bottom: 1px solid var(--line); font-size: .72rem; color: var(--muted); }
.vs-bar .vs-url { flex: 1; padding: 2px 8px; border-radius: 6px; background: var(--surface-2); }
.vs-bar .vs-x { position: relative; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; color: var(--ink); }
.vs-bar .vs-x::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--threat); opacity: 0; }
.vs-prog { height: 3px; background: var(--surface-2); }
.vs-prog i { display: block; height: 100%; width: 38%; background: var(--threat); }
.vs-body { display: grid; gap: 7px; padding: 12px 12px 14px; }
.vs-body i { display: block; height: 10px; border-radius: 4px; background: var(--surface-2); }
.vs-body i.s { width: 60%; }
.vs-left { position: absolute; left: 0; right: 0; bottom: 26px; text-align: center; font-size: .8rem; font-weight: 800; color: var(--threat); opacity: 0; }
.vs-time { display: flex; gap: .3em; font-size: .72rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; line-height: 1.2; }
.vs-time em { font-style: normal; display: block; height: 1.2em; overflow: hidden; }
.vs-time em span { display: block; transform: translateY(-4.8em); }
.vs-time em i { display: block; height: 1.2em; font-style: normal; }
.motion .vs-prog i { animation: vs-prog 5s var(--ease) infinite; }
.motion .vs-body i { animation: vs-shim 1.2s ease-in-out infinite alternate, vs-gone 5s infinite; }
.motion .vs-bar .vs-x::after { animation: vs-tap 5s infinite; }
.motion .vs-left { animation: vs-left 5s infinite; }
.motion .vs-time { animation: vs-gone 5s infinite; }
.motion .vs-time em span { animation: vs-time 5s step-end infinite; }
@keyframes vs-prog { 0% { width: 0; } 30% { width: 30%; } 70%, 100% { width: 38%; } }
@keyframes vs-shim { from { opacity: .45; } to { opacity: 1; } }
@keyframes vs-gone { 0%, 76% { visibility: visible; } 78%, 100% { visibility: hidden; } }
@keyframes vs-tap { 0%, 68% { opacity: 0; transform: scale(1.4); } 72% { opacity: 1; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(1); } }
@keyframes vs-left { 0%, 76% { opacity: 0; } 80%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes vs-time { 0% { transform: none; } 16% { transform: translateY(-1.2em); } 32% { transform: translateY(-2.4em); } 48% { transform: translateY(-3.6em); } 64%, 100% { transform: translateY(-4.8em); } }

/* viz: o servidor pago e parado */
.v-idle { display: grid; grid-template-rows: auto 1fr auto; gap: 8px; padding: 12px 14px 10px; }
.vi-lab { font-size: .72rem; font-weight: 700; color: var(--muted); }
.vi-bars { display: flex; gap: 3px; align-items: stretch; border-top: 1px dashed var(--line-2); }
.vi-bars i { position: relative; flex: 1; border-radius: 0 0 2px 2px; background: repeating-linear-gradient(135deg, var(--threat-line) 0 1.5px, transparent 1.5px 5px); }
.vi-bars i::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); border-radius: 2px 2px 0 0; background: #5d685d; transform-origin: bottom; }
.motion .vi-bars i::after { animation: vi-breath 3.6s ease-in-out infinite alternate; animation-delay: calc(var(--n) * -.3s); }
@keyframes vi-breath { from { transform: scaleY(.88); } to { transform: scaleY(1.06); } }
.vi-key { display: flex; gap: 16px; font-size: .72rem; color: var(--muted); }
.vi-key span { display: inline-flex; align-items: center; gap: 6px; }
.vi-key b { width: 10px; height: 10px; border-radius: 2px; background: #5d685d; }
.vi-key b.p { background: repeating-linear-gradient(135deg, var(--threat) 0 1.5px, transparent 1.5px 4px); border: 1px solid var(--threat-line); }

/* viz: a fila de manutenção que não acaba */
.v-ops { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); }
.vo-list { position: absolute; left: 16px; right: 16px; top: 0; }
.vo-list li { height: 30px; display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--muted); white-space: nowrap; overflow: hidden; }
.vo-list i { position: relative; flex: none; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--line-2); }
.vo-list i::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid var(--threat); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(.4); opacity: 0; }
.vo-list li:nth-child(-n+2) i::after { opacity: 1; transform: rotate(45deg); }
.motion .vo-list { animation: vo-roll 9s linear infinite; }
.motion .vo-list li i::after { opacity: 0; animation: vo-tick 9s infinite; animation-delay: var(--dl); }
@keyframes vo-roll { to { transform: translateY(-180px); } }
@keyframes vo-tick { 0% { opacity: 0; transform: rotate(45deg) scale(.4); } 3%, 49% { opacity: 1; transform: rotate(45deg); } 50%, 100% { opacity: 0; transform: rotate(45deg) scale(.4); } }

/* ---------- Custo ---------- */
.cost { display: grid; gap: 48px; margin-top: 56px; }
@media (min-width: 960px) { .cost { grid-template-columns: 5fr 6fr; align-items: center; gap: 72px; } }
.cost-big b { display: block; font-size: clamp(3.2rem, 1.6rem + 6vw, 7rem); font-weight: 800; letter-spacing: -.045em; line-height: .95; color: var(--threat); font-variant-numeric: tabular-nums; }
.cost-big p { margin-top: 14px; color: var(--muted); max-width: 32ch; }
.days-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.days-title b { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.days-title > span { color: var(--muted); font-size: .9rem; text-align: right; max-width: 34ch; }
.days { display: grid; grid-template-columns: repeat(20, 1fr); gap: 4px; }
@media (max-width: 400px) { .days { gap: 3px; } }
.days i { aspect-ratio: 1; border-radius: 3px; background: var(--threat); opacity: .8; }
.days i.c { background: var(--muted); opacity: .25; }
.motion .days i { opacity: 0; transform: scale(.4); transition: opacity .3s, transform .3s var(--ease); transition-delay: calc(var(--n) * 7ms); }
.motion .days.in i { opacity: .8; transform: none; }
.motion .days.in i.c { opacity: .25; }
.days-key { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; color: var(--muted); font-size: .85rem; }
.days-key span { display: inline-flex; align-items: center; gap: 8px; }
.days-key span.plain { display: inline; }
.days-key i { width: 10px; height: 10px; border-radius: 2px; background: var(--threat); }
.impacts { display: grid; gap: 12px; margin-top: 56px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .impacts { grid-template-columns: repeat(3, 1fr); } }
.impacts li { padding: 20px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.impacts b { display: block; font-size: 1.05rem; }
.impacts span { color: var(--muted); font-size: .92rem; }

/* ---------- Checagem ---------- */
.check { display: grid; gap: 40px; margin-top: 56px; }
@media (min-width: 960px) { .check { grid-template-columns: 7fr 4fr; align-items: start; gap: 64px; } }
.qs { display: grid; gap: 10px; }
.q { padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; }
@media (min-width: 640px) { .q { grid-template-columns: 1fr auto; align-items: center; } }
.q legend { padding: 0; font-weight: 600; float: left; }
.q fieldset { border: 0; padding: 0; display: contents; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; gap: 2px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; min-width: 64px; padding: 8px 14px; border-radius: 999px; text-align: center; font-size: .85rem; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; }
.seg input:checked + span { background: var(--ink); color: #061006; }
.seg input[value="nao"]:checked + span, .seg input[value="nsei"]:checked + span { background: var(--threat); color: #1a0703; }
.seg input:focus-visible + span { outline: 2px solid var(--g1); outline-offset: 2px; }
.result { position: sticky; top: 96px; padding: 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.result svg { width: 170px; height: 170px; display: block; margin: 0 auto; }
.result .ring-bg { fill: none; stroke: var(--line-2); stroke-width: 10; }
.result .ring-fg { fill: none; stroke: var(--threat); stroke-width: 10; stroke-linecap: round; stroke-dasharray: var(--v, 0) 100; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dasharray .6s var(--ease); }
.result .ring-n { font: 800 44px var(--font); fill: var(--ink); }
.result .ring-of { font: 600 13px var(--font); fill: var(--muted); }
.result h3 { margin-top: 18px; font-size: 1.2rem; }
.result p { color: var(--muted); margin-top: 8px; font-size: .95rem; }
.result .btn { margin-top: 20px; }

/* ---------- Solução ---------- */
.switch { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px; margin-top: 40px; }
.switch button { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.switch button[aria-pressed="true"] { background: var(--ink); color: #061006; }
.switch button.on-safe[aria-pressed="true"] { background: var(--g1); }
.load { position: relative; margin-top: 22px; border-radius: 24px; background: var(--bg-2); border: 1px solid var(--line); padding: 22px 22px 18px; display: grid; grid-template-rows: auto minmax(230px, 1fr) auto; gap: 14px; min-height: 420px; overflow: hidden; }
.load canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.load-key { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .82rem; color: var(--muted); }
.load-key span { display: inline-flex; align-items: center; gap: 8px; transition: opacity .3s; }
.load-key i { width: 12px; height: 12px; border-radius: 3px; }
.load-key .k-ok i { background: rgba(143, 192, 93, .45); }
.load-key .k-lost i { background: var(--threat); }
.load-key .k-idle i { background: repeating-linear-gradient(135deg, rgba(220, 232, 214, .55) 0 1.5px, transparent 1.5px 4px); border: 1px solid var(--line-2); }
.load-key .k-cap i { width: 18px; height: 0; border-radius: 0; border-top: 2px dashed var(--ink); }
.load:not(.off) .k-lost, .load:not(.off) .k-idle { opacity: .4; }
.load:not(.off) .k-cap i { border-top-style: solid; border-top-color: var(--g1); }
.load-plot { position: relative; margin-bottom: 24px; }
.load-cap { position: relative; z-index: 1; font-size: .85rem; color: var(--muted); }
@media (max-width: 700px) {
  .load { padding: 18px 14px 16px; min-height: 360px; grid-template-rows: auto minmax(190px, 1fr) auto; }
  .load-key { gap: 6px 14px; font-size: .76rem; }
}
.caps { display: grid; gap: 14px; margin-top: 48px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .caps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .caps { grid-template-columns: repeat(4, 1fr); } }
.cap { padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.cap .from { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--threat); }
.cap .from::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.cap h3 { font-size: 1.15rem; margin-top: 12px; }
.cap p { color: var(--muted); margin-top: 6px; font-size: .95rem; }
.parts { margin-top: 64px; }
.parts-h { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
.parts-h span { color: var(--muted); font-weight: 600; }
.parts-list { display: grid; gap: 10px; margin-top: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .parts-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .parts-list { grid-template-columns: repeat(4, 1fr); } }
.parts-list li { padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(6, 16, 6, .6); }
.parts-list b { display: block; font-size: .95rem; color: var(--g1); }
.parts-list span { display: block; margin-top: 4px; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; color: var(--muted); font-size: .95rem; }
.facts span { display: inline-flex; align-items: center; gap: 10px; }
.facts span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--g1); }

/* ---------- Como fazemos ---------- */
.mode { margin-top: 56px; }
.mode-track { position: relative; height: 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.mode-fill { position: absolute; top: 3px; bottom: 3px; left: 3px; right: 3px; border-radius: 999px; background: var(--grad); transform-origin: left center; }
.motion .mode-fill { transform: scaleX(.5); filter: grayscale(1) brightness(.55); transition: transform 1.4s var(--ease) .5s, filter .5s 1.5s; }
.motion .mode.in .mode-fill { transform: none; filter: none; }
.mode-labels { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; font-weight: 700; font-size: .95rem; }
.mode-labels span { color: var(--muted); }
.mode-labels .blk { color: var(--g1); }
.motion .mode-labels .blk { color: var(--muted); transition: color .4s 1.6s; }
.motion .mode.in .mode-labels .blk { color: var(--g1); }
.mode p { margin-top: 14px; color: var(--muted); max-width: 60ch; }
.steps { display: grid; gap: 14px; margin-top: 44px; counter-reset: s; grid-template-columns: 1fr; }
@media (min-width: 760px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-size: .85rem; font-weight: 800; color: var(--g1); letter-spacing: .08em; }
.steps h3 { font-size: 1.15rem; margin-top: 14px; }
.steps p { color: var(--muted); margin-top: 6px; font-size: .95rem; }
.steps .tag { display: inline-block; margin-top: 14px; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.steps .tag.on { border-color: var(--g-line); color: var(--g1); }

/* ---------- Genesis ---------- */
.who { display: grid; gap: 14px; margin-top: 48px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .who { grid-template-columns: repeat(3, 1fr); } }
.who li { padding: 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.who b { display: block; font-size: 1.15rem; }
.who span { display: block; color: var(--muted); margin-top: 6px; font-size: .95rem; }

/* ---------- Contato ---------- */
.contact { display: grid; gap: 44px; }
@media (min-width: 960px) { .contact { grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; } }
.form { padding: clamp(22px, 3vw, 36px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 18px; }
.row { display: grid; gap: 18px; }
@media (min-width: 620px) { .row { grid-template-columns: 1fr 1fr; } }
.fieldl { display: grid; gap: 8px; }
.fieldl > span { font-size: .85rem; font-weight: 600; color: var(--muted); }
.fieldl input, .fieldl textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(3, 9, 3, .7); outline: none; transition: border-color .2s; }
.fieldl textarea { min-height: 96px; resize: vertical; }
.fieldl input:focus, .fieldl textarea:focus { border-color: var(--g1); }
.fieldl input[aria-invalid="true"] { border-color: var(--threat); }
.chipset { border: 0; padding: 0; display: grid; gap: 10px; }
.chipset legend { padding: 0; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.chips-in { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-in label { position: relative; }
.chips-in input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips-in span { display: block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .88rem; font-weight: 600; color: var(--muted); transition: background .2s, color .2s, border-color .2s; }
.chips-in input:checked + span { background: var(--g-soft); border-color: var(--g-line); color: var(--g1); }
.chips-in input:focus-visible + span { outline: 2px solid var(--g1); outline-offset: 2px; }
.form .btn { justify-self: start; }
.privacy { font-size: .8rem; color: var(--dim); }
.done { display: none; text-align: center; padding: 30px 10px; }
.done svg { width: 56px; height: 56px; }
.done h3 { margin-top: 14px; font-size: 1.3rem; }
.done p { color: var(--muted); margin-top: 8px; }
.form.sent > :not(.done) { display: none; }
.form.sent .done { display: block; }
.contact-points { display: grid; gap: 14px; margin-top: 32px; }
.contact-points li { display: flex; gap: 12px; color: var(--muted); }
.contact-points li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; border: 2px solid var(--g1); }

/* ---------- Rodapé ---------- */
.foot { padding: 64px 0 40px; border-top: 1px solid var(--line); }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.foot-top img { height: 26px; width: auto; display: block; }
.foot-top span { color: var(--dim); font-size: .85rem; }
.sources { margin-top: 36px; }
.sources h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sources ol { list-style: decimal; padding-left: 1.4em; margin-top: 14px; display: grid; gap: 6px; color: var(--dim); font-size: .82rem; }
.sources a { color: var(--muted); }

/* ---------- CTA fixo no celular ---------- */
.dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; display: none; }
.dock .btn { width: 100%; }
@media (max-width: 760px) { .dock { display: block; transform: translateY(140%); transition: transform .35s var(--ease); } .dock.show { transform: none; } }

/* ---------- Revelação ---------- */
.motion [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.motion [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Tweaks ---------- */
.tweaks { position: fixed; right: 16px; bottom: 16px; z-index: 70; width: 230px; padding: 16px; border-radius: 16px; background: rgba(6, 16, 6, .96); border: 1px solid var(--line-2); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.tweaks h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.tw-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; font-size: .9rem; }
.tw-row input { width: 18px; height: 18px; accent-color: var(--g1); }
.tweaks p { margin-top: 8px; font-size: .75rem; color: var(--dim); }

/* ---------- Cloudflare Nexus by Genesis ---------- */
.nexus-grid { display: grid; gap: 40px; align-items: center; }
.nexus-info { margin-top: -28px; }
@media (min-width: 1000px) {
  .nexus-grid { grid-template-columns: 5fr 6fr; grid-template-areas: "copy fig" "info fig"; gap: 0 48px; }
  .nexus-copy { grid-area: copy; align-self: end; }
  .nexus { grid-area: fig; }
  .nexus-info { grid-area: info; align-self: start; margin-top: 32px; }
}
.nexus-now { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 6px 14px; padding: 16px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.nexus-now b { font-size: 1.1rem; }
.nexus-now span { color: var(--muted); }
.nexus-now em { font-style: normal; grid-column: 1 / -1; justify-self: end; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--g1); }
.nexus-hint { margin-top: 12px; color: var(--dim); font-size: .85rem; }
.nexus { container-type: inline-size; position: relative; width: min(100%, 580px); aspect-ratio: 1; margin: 0 auto; --nr: 39cqw; }
.nexus canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.nx-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.nx-ring.r1 { left: calc(50% - var(--nr)); top: calc(50% - var(--nr)); transform: none; width: calc(var(--nr) * 2); height: calc(var(--nr) * 2); border: 1px dashed var(--g-line); opacity: .5; }
.nx-ring.r2 { width: 56cqw; height: 56cqw; border: 1px solid var(--line); }
.motion .nx-ring.r1 { animation: nx-turn 90s linear infinite; }
.nx-core { position: absolute; left: 50%; top: 50%; z-index: 1; width: 38cqw; height: 38cqw; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 1.6cqw; text-align: center; background: radial-gradient(circle at 50% 28%, #112411 0%, #050c05 72%); isolation: isolate; }
.nx-core::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 50%; padding: 2px; background: conic-gradient(#A6D178, #529D39 22%, rgba(82, 157, 57, .08) 48%, rgba(82, 157, 57, .08) 60%, #8FC05D 82%, #A6D178); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.motion .nx-core::before { animation: nx-turn 7s linear infinite; }
@keyframes nx-turn { to { transform: rotate(360deg); } }
.nx-cf { width: 15cqw; height: auto; display: block; }
.nx-core > b { font-size: 9.4cqw; font-weight: 800; letter-spacing: -.035em; line-height: .92; color: var(--g1); }
.nx-by { display: inline-flex; align-items: center; gap: 1.2cqw; font-size: max(.72rem, 2.5cqw); font-weight: 600; color: var(--muted); }
.nx-by img { height: max(12px, 3.1cqw); width: auto; }
.nx-node {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  transform: translate(-50%, -50%) rotate(var(--a)) translate(var(--nr)) rotate(calc(-1 * var(--a)));
  display: grid; justify-items: center; gap: 2px; padding: 12px 18px; border-radius: 18px;
  background: rgba(6, 14, 6, .94); border: 1px solid var(--line-2); color: var(--ink); cursor: pointer; text-align: center;
  transition: transform 1s var(--ease) calc(var(--i) * 110ms + 250ms), opacity .7s calc(var(--i) * 110ms + 250ms), border-color .25s, background .25s;
}
.nx-node b { font-size: .98rem; font-weight: 700; white-space: nowrap; }
.nx-node small { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.nx-node:hover { border-color: var(--g-line); }
.nx-node[aria-pressed="true"] { border-color: var(--g1); background: #0c1d0c; }
.nx-node[aria-pressed="true"] small { color: var(--g1); }
.nx-node::before { content: ""; position: absolute; inset: -7px; border-radius: 24px; border: 1px solid var(--g-line); opacity: 0; pointer-events: none; }
.motion .nx-node[aria-pressed="true"]::before { animation: nx-ping 2.6s var(--ease) infinite; }
@keyframes nx-ping { 0% { transform: scale(.96); opacity: .8; } 100% { transform: scale(1.14); opacity: 0; } }
.nx-tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 2px 9px; border-radius: 999px; background: var(--g1); color: #061006; font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.motion .nexus:not(.in) .nx-node { transform: translate(-50%, -50%) scale(.35); opacity: 0; }
.motion .nexus:not(.in) .nx-core { transform: translate(-50%, -50%) scale(.85); opacity: 0; }
.motion .nx-core { transition: transform 1s var(--ease) .1s, opacity .8s .1s; }
@media (max-width: 640px) {
  .nexus { --nr: 37cqw; }
  .nx-pre, .nx-node small { display: none; }
  .nx-node { padding: 9px 13px; border-radius: 14px; }
  .nx-node b { font-size: .82rem; }
  .nx-tag { font-size: .7rem; padding: 1px 7px; top: -10px; }
  .nx-core { width: 40cqw; height: 40cqw; }
  .nx-cf { width: 17cqw; }
  .nx-core > b { font-size: 10cqw; }
}

/* Link do cartão do pilar para a landing dele */
.nexus-now .nexus-go { grid-column: 1 / -1; justify-self: end; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--g1); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.nexus-now .nexus-go:hover, .nexus-now .nexus-go:focus-visible { border-bottom-color: currentColor; }
.nexus-now .nexus-go i { font-style: normal; transition: transform .2s; }
.nexus-now .nexus-go:hover i { transform: translateX(3px); }
