/* Genesis · Nexus by Genesis — home que leva às cinco landings, 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) 52%, rgba(3, 9, 3, 0) 80%); }
@media (max-width: 860px) { .hero-shade { background: linear-gradient(180deg, rgba(3, 9, 3, .35) 0%, rgba(3, 9, 3, .88) 55%, rgba(3, 9, 3, .96) 100%); } }
.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: auto; } }

/* ---------- Ameaças ---------- */
.threats { display: grid; gap: 16px; margin-top: 56px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .threats { grid-template-columns: 1fr 1fr; } }
.threat {
  position: relative; display: grid; grid-template-rows: auto 1fr; gap: 22px;
  padding: 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line);
}
.threat .viz { height: 150px; border-radius: 14px; background: rgba(3, 9, 3, .6); border: 1px solid var(--line); position: relative; overflow: hidden; }
.threat h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
.threat p.t { color: var(--muted); margin-top: 8px; }
.threat .stat { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); display: flex; align-items: baseline; gap: 12px; }
.threat .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; }
.threat .stat > span { color: var(--muted); font-size: .92rem; line-height: 1.4; }

/* viz: volume */
.v-volume { display: flex; align-items: flex-end; gap: 4px; padding: 16px; }
.v-volume i { flex: 1; height: var(--h); background: var(--line-2); border-radius: 3px 3px 0 0; transform-origin: bottom; }
.v-volume i.spike { background: var(--threat); }
.motion .v-volume i.spike { animation: spike 3.2s var(--ease) infinite; animation-delay: var(--dl, 0s); }
@keyframes spike { 0%, 30% { transform: scaleY(.12); } 45%, 75% { transform: scaleY(1); } 100% { transform: scaleY(.12); } }

/* viz: login */
.v-login { display: grid; place-content: center; gap: 10px; padding: 18px; }
.v-login .fld { width: min(260px, 70vw); height: 38px; border-radius: 10px; border: 1px solid var(--line-2); display: flex; align-items: center; padding: 0 12px; gap: 6px; color: var(--muted); font-size: .85rem; }
.v-login .fld.pw i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); opacity: .85; }
.v-login .tries { display: flex; gap: 6px; justify-content: center; }
.v-login .tries i { width: 22px; height: 4px; border-radius: 4px; background: var(--threat); opacity: .9; }
.motion .v-login .fld.pw { animation: shake 1.4s infinite; }
.motion .v-login .fld.pw i { animation: dot 1.4s infinite; animation-delay: calc(var(--n) * .08s); }
.motion .v-login .tries i { animation: try 4.2s infinite; animation-delay: calc(var(--n) * .7s); }
@keyframes shake { 0%, 62%, 100% { transform: none; border-color: var(--line-2); } 66% { transform: translateX(-5px); border-color: var(--threat); } 72% { transform: translateX(5px); border-color: var(--threat); } 78% { transform: translateX(-3px); } 84% { transform: none; } }
@keyframes dot { 0% { opacity: 0; } 10%, 60% { opacity: .85; } 70%, 100% { opacity: 0; } }
@keyframes try { 0% { opacity: .15; } 8%, 100% { opacity: .9; } }

/* viz: APIs */
.v-api { padding: 14px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; align-content: center; }
.v-api span { height: 26px; border-radius: 7px; border: 1px solid var(--line-2); font-size: .7rem; color: var(--muted); display: grid; place-items: center; white-space: nowrap; overflow: hidden; }
.v-api span.known { border-color: var(--line-2); background: var(--surface-2); color: var(--ink); grid-column: span 2; }
.v-api span.ghost { border-style: dashed; border-color: var(--threat-line); color: var(--threat); }
.motion .v-api span.ghost { animation: ghost 3.6s infinite; animation-delay: calc(var(--n) * .45s); }
@keyframes ghost { 0%, 100% { opacity: .25; } 40%, 60% { opacity: 1; } }

/* viz: falha */
.v-exploit { padding: 18px; display: grid; align-content: center; gap: 10px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .8rem; }
.v-exploit .req { color: var(--muted); white-space: nowrap; overflow: hidden; }
.v-exploit .req b { color: var(--threat); font-weight: 600; }
.v-exploit .res { color: var(--threat); display: flex; align-items: center; gap: 8px; }
.v-exploit .res i { width: 8px; height: 8px; border-radius: 50%; background: var(--threat); }
.motion .v-exploit .req.typed { width: 0; animation: type 4.4s steps(34) infinite; }
.motion .v-exploit .res { animation: res 4.4s infinite; }
@keyframes type { 0% { width: 0; } 45%, 100% { width: 34ch; } }
@keyframes res { 0%, 50% { opacity: 0; } 58%, 100% { opacity: 1; } }

/* ---------- 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; }
.days-title > span { color: var(--muted); font-size: .9rem; text-align: right; }
.days { display: grid; grid-template-columns: repeat(30, 1fr); gap: 3px; }
@media (max-width: 400px) { .days { gap: 2px; } }
.days i { aspect-ratio: 1; border-radius: 2px; background: var(--threat); opacity: .8; }
.days i.c { background: var(--muted); opacity: .5; }
.motion .days i { opacity: 0; transform: scale(.4); transition: opacity .3s, transform .3s var(--ease); transition-delay: calc(var(--n) * 6ms); }
.motion .days.in i { opacity: .8; transform: none; }
.motion .days.in i.c { opacity: .5; }
.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); }
.days-key i.c { background: var(--muted); opacity: .6; }
.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 ---------- */
.solution-head { display: grid; gap: 22px; }
.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); }
.flow { position: relative; margin-top: 22px; border-radius: 24px; background: var(--bg-2); border: 1px solid var(--line); padding: 28px 20px; display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 16px; align-items: center; min-height: 380px; overflow: hidden; }
.flow canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.flow-col { position: relative; display: grid; gap: 12px; z-index: 1; }
.node { padding: 14px 16px; border-radius: 14px; background: rgba(3, 9, 3, .85); border: 1px solid var(--line-2); }
.node b { display: block; font-size: 1rem; }
.node span { color: var(--muted); font-size: .82rem; }
.edge { position: relative; z-index: 1; justify-self: center; width: min(100%, 230px); padding: 18px 16px; border-radius: 18px; border: 1px solid var(--g-line); background: rgba(6, 16, 6, .9); text-align: center; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.edge p { font-weight: 800; letter-spacing: -.01em; }
.edge .chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 10px; }
.edge .chips span { font-size: .75rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--g-soft); color: var(--g1); }
.flow.off .edge { opacity: 0; transform: scale(.94); }
.flow-apps .app { padding: 12px 16px; border-radius: 12px; background: rgba(3, 9, 3, .85); border: 1px solid var(--line-2); font-weight: 600; font-size: .92rem; transition: border-color .3s, color .3s; }
.flow.off .flow-apps .app.hit { border-color: var(--threat); color: var(--threat); }
.flow-cap { grid-column: 1 / -1; position: relative; z-index: 1; font-size: .85rem; color: var(--muted); }
@media (max-width: 700px) {
  .flow { grid-template-columns: 1fr; padding: 22px 16px; min-height: 0; gap: 22px; }
  .flow-src { grid-template-columns: 1fr; }
  .edge { width: 100%; }
  .flow-apps { grid-template-columns: 1fr 1fr; }
}
.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; }
.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); }

/* ---------- Hero: o alvo (sua empresa, com site, API e login) ---------- */
.target { position: absolute; left: 74%; top: 50%; width: 0; height: 0; --r: 150px; pointer-events: none; }
.t-sat.s0 { --a: -106deg; } .t-sat.s1 { --a: -50deg; } .t-sat.s2 { --a: 0deg; } .t-sat.s3 { --a: 50deg; } .t-sat.s4 { --a: 100deg; }
@media (max-width: 1100px) { .target { left: 78%; --r: 124px; } }
@media (max-width: 960px) { .target { left: 78%; --r: 118px; } }
@media (min-width: 861px) { .hero .lead { max-width: 34rem; } }
@media (max-width: 860px) {
  .hero { padding-top: 300px; }
  .target { left: 50%; top: 180px; --r: 84px; }
  /* Cinco pílulas largas: raio próprio por satélite para não encostarem no núcleo nem entre si */
  .t-sat.s0 { --a: -90deg; --r: 84px; } .t-sat.s1 { --a: -15deg; --r: 110px; } .t-sat.s2 { --a: 55deg; --r: 100px; } .t-sat.s3 { --a: 125deg; --r: 100px; } .t-sat.s4 { --a: 195deg; --r: 100px; }
  .hero-shade { background: linear-gradient(180deg, rgba(3, 9, 3, 0) 0%, rgba(3, 9, 3, .15) 30%, rgba(3, 9, 3, .9) 52%, rgba(3, 9, 3, .97) 100%); }
}
.t-orbit { position: absolute; left: calc(-1 * var(--r)); top: calc(-1 * var(--r)); width: calc(var(--r) * 2); height: calc(var(--r) * 2); border-radius: 50%; border: 1px dashed var(--threat-line); }
.motion .t-orbit { animation: nx-turn 70s linear infinite; }
.t-core { position: absolute; left: 0; top: 0; width: 116px; height: 116px; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; background: radial-gradient(circle at 50% 30%, #1d1a18 0%, #080b08 72%); border: 1px solid var(--threat-line); }
.t-core svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.t-core b { font-size: .8rem; font-weight: 700; }
.t-core::before, .t-core::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--threat); opacity: 0; }
.motion .t-core::before { animation: t-ping 3s var(--ease) infinite; }
.motion .t-core::after { animation: t-ping 3s var(--ease) 1.5s infinite; }
@keyframes t-ping { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.85); opacity: 0; } }
.t-sat { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) rotate(var(--a)) translate(var(--r)) rotate(calc(-1 * var(--a))); display: flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; background: rgba(8, 12, 8, .92); border: 1px solid var(--line-2); font-size: .85rem; font-weight: 700; white-space: nowrap; transition: border-color .25s, color .25s; }
.t-sat i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); transition: background .25s; }
.t-sat svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s; }
.t-sat.hit { border-color: var(--threat); color: var(--threat); }
.t-sat.hit i { background: var(--threat-soft); }
.t-sat.hit svg { stroke: var(--threat); }
@media (max-width: 1100px) {
  .t-core { width: 92px; height: 92px; gap: 4px; }
  .t-core svg { width: 22px; height: 22px; }
  .t-core b { font-size: .72rem; }
  .t-sat { font-size: .75rem; padding: 4px 11px 4px 4px; gap: 6px; }
  .t-sat i { width: 24px; height: 24px; }
  .t-sat svg { width: 13px; height: 13px; }
}
@media (max-width: 860px) and (max-height: 720px) {
  .hero { padding-top: 262px; }
  .target { top: 166px; --r: 78px; }
  .t-sat.s0 { --r: 78px; } .t-sat.s1 { --r: 100px; } .t-sat.s2, .t-sat.s3 { --r: 88px; } .t-sat.s4 { --r: 92px; }
  .t-core { width: 84px; height: 84px; }
  .t-core svg { width: 20px; height: 20px; }
}

/* ---------- 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; }
/* Home: os cinco pilares acesos; o escolhido ganha um anel a mais */
.nexus.all-on .nx-node { border-color: var(--g1); background: #0c1d0c; }
.nexus.all-on .nx-node small { color: var(--g1); }
.nexus.all-on .nx-node[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--g-line); }
@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); }

/* ---------- Home: as cinco portas ---------- */
.fronts { display: grid; gap: 16px; margin-top: 56px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .fronts { grid-template-columns: 1fr 1fr; } .front:last-child { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .fronts { grid-template-columns: repeat(6, 1fr); } .front { grid-column: span 2; } .front:nth-child(n+4) { grid-column: span 3; } .front:last-child { grid-column: span 3; } }
.front { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, background .25s, transform .35s var(--ease); }
.front:hover, .front:focus-within { border-color: var(--threat-line); background: rgba(224, 112, 95, .045); }
.motion .front:hover { transform: translateY(-3px); }
.front-head { display: flex; align-items: center; gap: 14px; }
.front-ico { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--threat-soft); border: 1px solid var(--threat-line); }
.front-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--threat); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.front h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
.front p.t { color: var(--muted); margin-top: 14px; }
.front .stat { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); display: flex; align-items: baseline; gap: 12px; }
.front .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; }
.front .stat > span { color: var(--muted); font-size: .92rem; line-height: 1.4; }
.front .stat sup { position: relative; z-index: 1; }
.front-go { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; }
.front-go::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.front-go i { font-style: normal; color: var(--threat); transition: transform .25s var(--ease); }
.front:hover .front-go i { transform: translateX(4px); }
.front-go:focus-visible { outline: none; }
.front:has(.front-go:focus-visible) { outline: 2px solid var(--g1); outline-offset: 3px; }
.cost-line { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; padding-top: 32px; border-top: 1px solid var(--line); }
.cost-line b { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--threat); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cost-line p { color: var(--muted); max-width: 40ch; }

/* ---------- Home: teste que indica por onde começar ---------- */
.route { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; text-align: left; }
.route:empty { display: none; }
.route a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; transition: border-color .2s; }
.route a:hover, .route a:focus-visible { border-color: var(--g-line); }
.route a span { display: block; font-size: .8rem; font-weight: 500; color: var(--muted); }
.route a i { font-style: normal; color: var(--g1); }
