/* ==========================================================================
   Eklesis — site institucional · Quanthum
   Tokens → base → layout → componentes → mocks de tela → footer padrão Quanthum
   ========================================================================== */
:root {
  --bg: #07100b; --bg-2: #0a150f; --bg-3: #0e1b14;
  --surface: rgba(255,255,255,.04); --surface-2: rgba(255,255,255,.07);
  --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.16);
  --tx: #eef4ef; --mu: #9db0a2; --dim: #6f8176;
  --g: #58a35f; --g-l: #7fc287; --g-d: #3f8a49; --g-glow: rgba(88,163,95,.35);
  --am: #f5a623; --rd: #ef6b5b;
  --r: 16px; --r-lg: 24px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-d: 'Sora', 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  --wrap: 1180px;
}
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--tx); font: 400 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--g-l); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4 { font-family: var(--font-d); line-height: 1.12; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--g-l); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 3000; background: var(--g); color: #07140a; padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; text-decoration: none; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 820px; }
.ic { flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(7,16,11,.72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; color: var(--tx); font-size: 14.5px; font-weight: 500; border-radius: 10px; opacity: .88; transition: background .2s, opacity .2s; }
.nav-link:hover, .nav-link.is-active { background: var(--surface-2); opacity: 1; text-decoration: none; }
.nav-link .rot { transform: rotate(90deg); }
.nav-cta { margin-left: 8px; }
.nav-item { position: relative; }
.mega { position: absolute; left: 50%; top: 100%; width: min(720px, 90vw); margin-top: 10px; padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: rgba(12,22,16,.97); border: 1px solid var(--line-2); border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.55); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .2s, visibility 0s linear .2s; }
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.nav-item::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.mega-link { display: flex; gap: 12px; padding: 12px; border-radius: 14px; color: var(--tx); }
.mega-link:hover { background: var(--surface-2); text-decoration: none; }
.mega-ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: rgba(88,163,95,.15); color: var(--g-l); }
.mega-link strong { display: block; font-size: 14.5px; }
.mega-link small { display: block; color: var(--mu); font-size: 12.5px; line-height: 1.45; margin-top: 2px; }
.burger { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line-2); background: transparent; border-radius: 12px; cursor: pointer; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 20px; border-radius: 12px; border: 1px solid transparent; font-weight: 600; font-size: 15px; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s, border-color .2s; text-decoration: none !important; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 14px 26px; font-size: 16px; border-radius: 14px; }
.btn--primary { background: linear-gradient(135deg, #6bbb73, #3f8a49); color: #04110a; box-shadow: 0 10px 30px -8px var(--g-glow), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--primary:hover { box-shadow: 0 16px 40px -8px rgba(88,163,95,.6), inset 0 1px 0 rgba(255,255,255,.4); }
.btn--ghost { background: var(--surface); border-color: var(--line-2); color: var(--tx); }
.btn--ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,.3); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--g-l); margin-top: 18px; }
.link-arrow .ic { transition: transform .2s var(--ease); }
.link-arrow:hover .ic, .mod-card:hover .link-arrow .ic { transform: translateX(5px); }
.link-arrow:hover { text-decoration: none; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--g-l); font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--am); border-radius: 2px; }
h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 700; }
.lead, .hero-lead { color: var(--mu); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; margin-top: 18px; max-width: 62ch; }
.fine { color: var(--dim); font-size: 13.5px; margin-top: 18px; }
.grad { background: linear-gradient(100deg, #9be3a4 0%, #58a35f 45%, #f5a623 110%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Seções ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; overflow-x: clip; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .lead { margin-top: 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev > :first-child { order: 0; }
.ticks { display: grid; gap: 14px; margin-top: 26px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--tx); }
.ticks li .ic { color: var(--g); margin-top: 3px; background: rgba(88,163,95,.16); border-radius: 50%; padding: 3px; width: 24px; height: 24px; }
.ticks--2 { grid-template-columns: 1fr 1fr; }
.mini-list { display: grid; gap: 8px; margin-top: 18px; }
.mini-list li { display: flex; gap: 10px; align-items: center; color: var(--tx); font-size: 15px; }
.mini-list .ic { color: var(--g); }

/* ---------- Hero ---------- */
.hero, .page-hero { position: relative; overflow: hidden; isolation: isolate; }
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 4vw, 40px); }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: drift 16s ease-in-out infinite alternate; }
.o1 { width: 520px; height: 520px; background: radial-gradient(circle, #2f7a3b, transparent 70%); left: -120px; top: -140px; }
.o2 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(245,166,35,.45), transparent 70%); right: -80px; top: 120px; animation-delay: -5s; opacity: .35; }
.o3 { width: 420px; height: 420px; background: radial-gradient(circle, #1f5c2c, transparent 70%); right: 15%; top: -160px; animation-delay: -9s; }
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.12); } }
.grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 75%); opacity: .55; }
.hero-in { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero h1, .page-hero h1 { font-size: clamp(34px, 4.5vw, 58px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 56px); max-width: 20ch; }
.hero-lead { max-width: 54ch; }
.pill-tag { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--tx); margin-bottom: 22px; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--g); box-shadow: 0 0 0 0 var(--g-glow); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(88,163,95,0); } 100% { box-shadow: 0 0 0 0 rgba(88,163,95,0); } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; color: var(--mu); font-size: 14px; }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof .ic { color: var(--g); }
.hero-note { color: var(--dim); font-size: 12.5px; margin-top: 14px; text-align: center; }
.hero-visual { position: relative; min-width: 0; perspective: 1400px; }
.tilt { position: relative; transform-style: preserve-3d; transition: transform .25s var(--ease); will-change: transform; }
.hero-visual .appwin { box-shadow: 0 50px 100px -20px rgba(0,0,0,.7), 0 0 0 1px var(--line-2), 0 0 120px -20px var(--g-glow); }
.float { position: absolute; display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 16px; background: rgba(14,27,20,.82); backdrop-filter: blur(14px); border: 1px solid var(--line-2); box-shadow: 0 20px 50px rgba(0,0,0,.45); z-index: 2; animation: bob 6s ease-in-out infinite; transform: translateZ(60px); }
.float b { display: block; font-size: 15px; line-height: 1.2; }
.float small { color: var(--mu); font-size: 12px; }
.fi { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(88,163,95,.2); color: var(--g-l); }
.fi.am { background: rgba(245,166,35,.2); color: var(--am); }
.f1 { left: -22px; top: 14%; }
.f2 { right: -14px; bottom: 22%; animation-delay: -2s; }
.f3 { left: 10%; bottom: -22px; animation-delay: -4s; }
@keyframes bob { 50% { translate: 0 -10px; } }

/* ---------- Page hero ---------- */
.page-hero { padding: clamp(40px, 6vw, 84px) 0 clamp(32px, 5vw, 60px); }
.page-hero--tight { padding-bottom: clamp(48px, 6vw, 90px); }
.page-hero--center { text-align: center; padding: clamp(80px, 12vw, 160px) 0; }
.page-hero--center .hero-lead { margin-inline: auto; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--dim); margin-bottom: 22px; flex-wrap: wrap; }
.crumbs a { color: var(--mu); }
.big404 { font: 800 clamp(96px, 20vw, 200px)/1 var(--font-d); background: linear-gradient(180deg, var(--g-l), transparent 90%); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.05em; }
.mod-hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.bi { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, rgba(88,163,95,.28), rgba(88,163,95,.08)); border: 1px solid rgba(88,163,95,.35); color: var(--g-l); margin-bottom: 16px; }
.bi--lg { width: 60px; height: 60px; border-radius: 18px; }

/* ---------- Ribbon ---------- */
.ribbon { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ribbon-track { display: flex; gap: 44px; width: max-content; animation: marquee 48s linear infinite; }
.ribbon-track span { display: inline-flex; align-items: center; gap: 12px; color: var(--mu); font-family: var(--font-d); font-size: 15px; font-weight: 600; white-space: nowrap; }
.ribbon-track .ic { color: var(--am); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(160deg, var(--surface-2), var(--surface)); position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; right: -30px; top: -30px; width: 100px; height: 100px; border-radius: 50%; background: radial-gradient(circle, var(--g-glow), transparent 70%); }
.stat b { display: block; font: 800 clamp(34px, 4vw, 50px)/1 var(--font-d); background: linear-gradient(120deg, #fff, var(--g-l)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 10px; color: var(--mu); font-size: 14.5px; line-height: 1.5; }

/* ---------- Tabs ---------- */
.tabs { border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface-2), var(--surface)); padding: 14px; }
.tablist { display: flex; gap: 6px; overflow-x: auto; padding: 4px; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
.tab { display: inline-flex; align-items: center; gap: 10px; flex: none; padding: 12px 18px; border-radius: 14px; border: 1px solid transparent; background: transparent; color: var(--mu); font-weight: 600; font-size: 15px; cursor: pointer; transition: all .2s; }
.tab:hover { color: var(--tx); background: var(--surface); }
.tab[aria-selected="true"] { color: #04110a; background: linear-gradient(135deg, #7fc287, #58a35f); box-shadow: 0 8px 24px -8px var(--g-glow); }
.tabpanel { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(18px, 3vw, 36px); }
.tabpanel[hidden] { display: none; }
.tabpanel:not([hidden]) { animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.tp-copy h3 { font-size: clamp(24px, 2.6vw, 32px); }
.tp-copy p { color: var(--mu); margin-top: 14px; }
.no-js .tabpanel[hidden] { display: grid; }

/* ---------- Árvore ---------- */
.tree { max-width: 900px; margin-inline: auto; padding: clamp(10px, 3vw, 30px); border: 1px solid var(--line); border-radius: var(--r-lg); background: radial-gradient(ellipse at 50% 0, rgba(88,163,95,.12), transparent 60%), var(--surface); }
.tree svg { width: 100%; height: auto; overflow: visible; }
.tl { fill: none; stroke: rgba(127,194,135,.5); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; }
.tl-m { stroke: rgba(127,194,135,.25); }
.md { fill: var(--g-l); opacity: 0; }
.tn rect { fill: #0f2216; stroke: rgba(127,194,135,.5); stroke-width: 1.4; }
.tn text { fill: var(--tx); font: 600 13px var(--font); }
.tn-org rect { fill: #1d4f29; stroke: var(--g-l); }
.tn-org text { font-size: 15px; font-weight: 700; }
.tn-cong text { font-size: 11px; fill: var(--mu); }
.tn { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.8); }
.tree.in .tn { animation: nodeIn .6s var(--ease) forwards; animation-delay: calc(var(--i) * .07s); }
.tree.in .tl { animation: draw 1.1s var(--ease) forwards; animation-delay: calc(.35s + var(--i) * .035s); }
.tree.in .md { animation: fade .5s forwards; animation-delay: calc(1s + var(--i) * .03s); }
@keyframes nodeIn { to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* ---------- Terminologia ---------- */
.term-demo { min-width: 0; }
.term-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--mu); cursor: pointer; font-weight: 600; font-size: 14px; transition: all .2s; }
.chip:hover { color: var(--tx); }
.chip.is-on { background: var(--g); border-color: var(--g); color: #04110a; }
.term-card { display: grid; grid-template-columns: 190px 1fr; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); background: #0b1510; box-shadow: 0 30px 70px -20px rgba(0,0,0,.6); }
.term-side { padding: 18px 14px; background: #08100b; border-right: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.ts-h { font: 700 14px var(--font-d); padding: 6px 10px 14px; color: var(--g-l); }
.ts-i { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 10px; font-size: 14px; color: var(--mu); }
.ts-i:nth-child(3) { background: rgba(88,163,95,.18); color: var(--tx); }
.term-main { padding: 22px; }
.term-main h4 { font-size: 17px; margin-bottom: 16px; }
.lc { text-transform: lowercase; }
.term-row { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: center; margin-top: 10px; }
.term-row small { color: var(--mu); font-size: 13px; }
.term-row i { display: block; height: 10px; border-radius: 6px; width: var(--w); background: linear-gradient(90deg, var(--g-d), var(--g-l)); }
.term-main p { margin-top: 20px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px dashed var(--line-2); color: var(--mu); font-size: 14px; }
[data-t] { display: inline-block; }
[data-t].swap { animation: swap .35s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bcard { position: relative; padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(160deg, var(--surface-2), var(--surface)); overflow: hidden; transition: transform .3s var(--ease), border-color .3s; }
.bcard:hover { transform: translateY(-4px); border-color: rgba(127,194,135,.4); }
.bcard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(127,194,135,.13), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.bcard:hover::before { opacity: 1; }
.bcard h3 { font-size: 20px; margin-top: 4px; }
.bcard p { color: var(--mu); margin-top: 10px; font-size: 15px; }
.b-wide { grid-column: span 2; }
.bviz { margin-top: 24px; }
.bviz-bars { display: flex; align-items: flex-end; gap: 10px; height: 90px; }
.bviz-bars i { flex: 1; height: var(--h); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--g-l), var(--g-d)); transform-origin: bottom; transform: scaleY(0); transition: transform .9s var(--ease); }
.bcard.in .bviz-bars i { transform: none; }
.bviz-bars i:nth-child(n) { transition-delay: calc(var(--n, 0) * .06s); }
.bviz-spark svg { width: 100%; height: 60px; }
.ln, .ln2 { stroke-dasharray: 1; stroke-dashoffset: 1; }
.in .ln, .in .ln2, .ln.in { animation: draw 1.8s var(--ease) .2s forwards; }

/* ---------- Escudo ---------- */
.shield-viz { position: relative; aspect-ratio: 1; max-width: 460px; margin-inline: auto; width: 100%; display: grid; place-items: center; }
.ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(127,194,135,.35); }
.r1 { inset: 22%; } .r2 { inset: 8%; animation: spin 40s linear infinite; } .r3 { inset: -4%; border-style: solid; border-color: var(--line); animation: spin 70s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.shield-core { display: grid; place-items: center; width: 40%; aspect-ratio: 1; border-radius: 32%; background: linear-gradient(145deg, #2f7a3b, #123a1c); color: #d9f5dc; box-shadow: 0 0 80px var(--g-glow), inset 0 1px 0 rgba(255,255,255,.3); animation: pulse 4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 120px rgba(88,163,95,.55), inset 0 1px 0 rgba(255,255,255,.3); } }
.sat { position: absolute; display: inline-flex; gap: 8px; align-items: center; padding: 9px 14px; border-radius: 999px; background: rgba(14,27,20,.9); border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.4); animation: bob 6s ease-in-out infinite; }
.sat .ic { color: var(--g-l); }
.s1 { left: 0; top: 14%; } .s2 { right: 2%; top: 8%; animation-delay: -1.5s; } .s3 { right: -2%; bottom: 16%; animation-delay: -3s; } .s4 { left: 4%; bottom: 8%; animation-delay: -4.5s; }

/* ---------- Selo / celular / FAQ / CTA ---------- */
.seal { margin-top: 28px; height: auto; width: min(360px, 90%); filter: drop-shadow(0 10px 30px rgba(120,230,60,.18)); }
.phone-stage { display: grid; place-items: center; padding: 20px 0; position: relative; }
.phone-stage::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--g-glow), transparent 65%); filter: blur(30px); }
.phone { position: relative; width: 280px; border-radius: 42px; padding: 10px; background: linear-gradient(160deg, #2a3a2f, #0b120d); box-shadow: 0 40px 80px -20px rgba(0,0,0,.7), inset 0 0 0 1.5px rgba(255,255,255,.14); animation: bob 7s ease-in-out infinite; }
.phone-notch { position: absolute; left: 50%; top: 18px; width: 86px; height: 22px; background: #000; border-radius: 14px; transform: translateX(-50%); z-index: 3; }
.phone-screen { border-radius: 34px; background: #0a120d; padding: 44px 14px 14px; min-height: 540px; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; }
.phone-status { position: absolute; top: 14px; left: 22px; right: 22px; display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; z-index: 4; }
.phone-push { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: rgba(255,255,255,.1); backdrop-filter: blur(10px); animation: pushIn .8s var(--ease) 1.2s both; }
@keyframes pushIn { from { opacity: 0; transform: translateY(-30px) scale(.95); } }
.phone-push-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--g); color: #04110a; flex: none; }
.phone-push b { display: block; font-size: 12px; } .phone-push small { display: block; font-size: 11px; color: var(--mu); line-height: 1.3; } .phone-push em { margin-left: auto; font-style: normal; font-size: 10px; color: var(--dim); }
.phone-h { font: 700 18px var(--font-d); margin-top: 4px; } .phone-h small { display: block; color: var(--mu); font: 400 12px var(--font); }
.phone-kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.phone-kpi div { padding: 14px; border-radius: 16px; } .phone-kpi b { display: block; font: 800 24px var(--font-d); } .phone-kpi span { font-size: 11px; opacity: .85; }
.p1 { background: linear-gradient(135deg, #3f8a49, #2a6636); } .p2 { background: linear-gradient(135deg, #f5a623, #c47f0c); color: #1a1000; }
.phone-card { padding: 14px; border-radius: 16px; background: var(--surface-2); display: grid; gap: 10px; }
.phone-card > small { color: var(--mu); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.phone-ev { display: grid; grid-template-columns: 8px 1fr auto; gap: 10px; align-items: center; font-size: 13px; } .phone-ev small { color: var(--mu); font-size: 11px; }
.phone-bar { margin-top: auto; display: flex; justify-content: space-around; padding: 10px; border-radius: 18px; background: rgba(255,255,255,.07); color: var(--mu); }
.phone-bar .on { color: var(--g-l); }

.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: border-color .2s, background .2s; }
.faq details[open] { border-color: rgba(127,194,135,.4); background: var(--surface-2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; font: 600 17px var(--font-d); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--g-l); transition: transform .3s var(--ease); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--mu); }

.cta-final { position: relative; padding: clamp(60px, 8vw, 110px) 0; text-align: center; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(88,163,95,.28), transparent 70%), var(--bg); }
.cta-in { max-width: 760px; }
.cta-in h2 { font-size: clamp(28px, 4vw, 46px); }
.cta-in p { color: var(--mu); margin: 18px auto 30px; max-width: 54ch; font-size: 18px; }

/* ---------- Cards de módulo / recursos ---------- */
.mod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mod-grid--sm { grid-template-columns: repeat(3, 1fr); }
.mod-card { display: block; padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(160deg, var(--surface-2), var(--surface)); color: var(--tx); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.mod-card:hover { transform: translateY(-6px); border-color: rgba(127,194,135,.45); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7), 0 0 60px -30px var(--g-glow); text-decoration: none; }
.mod-card h2, .mod-card h3 { font-size: 21px; }
.mod-card p { color: var(--mu); margin-top: 10px; font-size: 15px; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat-grid--4 { grid-template-columns: repeat(4, 1fr); }
.feat { padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, transform .3s var(--ease); }
.feat:hover { border-color: rgba(127,194,135,.4); transform: translateY(-3px); }
.feat-n { display: block; font: 800 13px var(--font-d); color: var(--am); letter-spacing: .12em; margin-bottom: 14px; }
.feat h3 { font-size: 18px; } .feat p { color: var(--mu); font-size: 14.5px; margin-top: 8px; }
.feat-grid--4 .feat .bi { margin-bottom: 14px; }

/* ---------- Formulário ---------- */
.demo-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.form { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(20,36,26,.9), rgba(10,18,13,.9)); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; } .field > span { font-size: 13.5px; font-weight: 600; color: var(--mu); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0,0,0,.35); color: var(--tx); font: inherit; transition: border-color .2s, box-shadow .2s; }
.field select option { background: #0e1b14; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--g); box-shadow: 0 0 0 4px rgba(88,163,95,.22); }
.field input.bad, .field textarea.bad { border-color: var(--rd); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--mu); cursor: pointer; }
.check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--g); }
.hp { position: absolute; left: -9999px; }
.captcha { --p: 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(0,0,0,.3); position: relative; overflow: hidden; }
.captcha::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--p) * 100%); background: linear-gradient(90deg, var(--g-d), var(--g-l)); transition: width .3s linear; }
.captcha-box { display: inline-flex; align-items: center; gap: 12px; padding: 4px; border: 0; background: none; color: var(--tx); font-weight: 600; font-size: 15px; cursor: pointer; text-align: left; }
.captcha-box:disabled { cursor: progress; }
.cb { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 8px; border: 2px solid var(--line-2); background: rgba(255,255,255,.04); color: transparent; transition: all .25s var(--ease); }
.captcha-box:hover .cb { border-color: var(--g-l); }
.captcha[data-state="working"] .cb { border-color: var(--g-l) transparent var(--g-l) var(--g-l); border-radius: 50%; animation: spin .8s linear infinite; }
.captcha[data-state="done"] .cb { background: var(--g); border-color: var(--g); color: #04110a; }
.captcha[data-state="done"] .cb-label { color: var(--g-l); }
.captcha[data-state="error"] .cb { border-color: var(--rd); }
.captcha[data-state="error"] .cb-label { color: var(--rd); }
.captcha-brand { display: inline-flex; align-items: center; gap: 6px; color: var(--dim); font-size: 12px; }
.form-msg { min-height: 1.4em; font-size: 14.5px; font-weight: 500; } .form-msg.ok { color: var(--g-l); } .form-msg.err { color: var(--rd); }
.form .btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Mocks de tela (canvas fixo de 900px, escalado por JS). Dados fictícios.
   ========================================================================== */
.fit { width: 100%; overflow: hidden; position: relative; }
.appwin { width: 900px; transform-origin: 0 0; border-radius: 14px; overflow: hidden; background: #14181c; border: 1px solid var(--line-2); font: 400 12px/1.4 var(--font); color: #dfe6e1; text-align: left; box-shadow: 0 30px 70px -20px rgba(0,0,0,.6); }
.appwin-bar { display: flex; align-items: center; gap: 14px; padding: 9px 14px; background: #0d1114; border-bottom: 1px solid rgba(255,255,255,.07); }
.dots { display: flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a4440; } .dots i:first-child { background: #ef6b5b; } .dots i:nth-child(2) { background: #f5a623; } .dots i:nth-child(3) { background: #58a35f; }
.addr { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 8px; background: rgba(255,255,255,.06); color: #9db0a2; font-size: 11px; }
.app { display: grid; grid-template-columns: 172px 1fr; min-height: 470px; }
.app-side { background: #101417; border-right: 1px solid rgba(255,255,255,.06); padding: 12px 8px; }
.app-org { display: flex; gap: 8px; align-items: center; padding: 6px 8px 14px; } .app-org strong { display: block; font-size: 11.5px; line-height: 1.2; } .app-org small { color: #7d8d83; font-size: 9.5px; }
.app-org-logo { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--g-d); color: #fff; flex: none; }
.app-h { font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #58a35f; padding: 12px 10px 4px; }
.app-it { display: flex; gap: 9px; align-items: center; padding: 6px 10px; border-radius: 7px; font-size: 11.5px; color: #aab8ae; }
.app-it.on { background: #2f7a3b; color: #fff; }
.app-main { min-width: 0; background: #181d21; }
.app-top { display: flex; align-items: center; gap: 12px; padding: 9px 16px; background: #14181c; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 12.5px; }
.app-top-r { margin-left: auto; display: flex; gap: 12px; align-items: center; color: #9db0a2; }
.avatar { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #3f8a49; color: #fff; font-size: 9px; font-weight: 700; }
.app-body { padding: 14px 16px 18px; display: grid; gap: 12px; }
.m-filters, .m-toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.m-sel, .m-chip, .m-search { padding: 5px 11px; border-radius: 6px; background: #14181c; border: 1px solid rgba(255,255,255,.09); font-size: 10.5px; color: #aab8ae; }
.m-search { flex: 1; display: inline-flex; gap: 8px; align-items: center; min-width: 200px; }
.m-chip { border-color: rgba(88,163,95,.5); color: #7fc287; }
.m-btn { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 7px; background: #3f8a49; color: #fff; font-weight: 600; font-size: 10.5px; }
.m-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.m-kpis--3 { grid-template-columns: repeat(3, 1fr); } .m-kpis--2 { grid-template-columns: 1fr 1fr; }
.m-kpi { position: relative; padding: 12px 14px; border-radius: 8px; overflow: hidden; color: #fff; }
.m-kpi b { display: block; font: 700 26px/1.1 var(--font); } .m-kpi span { display: block; font-size: 11px; } .m-kpi small { display: block; font-size: 9.5px; opacity: .8; margin-top: 2px; }
.m-kpi .ic { position: absolute; right: 10px; top: 10px; opacity: .22; }
.k1 { background: #2f7a3b; } .k2 { background: #3f8a49; } .k3 { background: #7fc287; color: #0e2414; } .k4 { background: #f5b82e; color: #2a1c00; }
.m-grid2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; } .m-grid3 { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 10px; }
.m-card { padding: 11px 13px; border-radius: 8px; background: #14181c; border: 1px solid rgba(255,255,255,.06); }
.m-card h4 { font: 600 11px var(--font); color: #cbd6ce; margin-bottom: 8px; letter-spacing: 0; }
.m-line { width: 100%; height: 110px; }
.m-bars { display: flex; align-items: flex-end; gap: 7px; height: 110px; }
.m-bars div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; align-items: stretch; }
.m-bars i { display: block; height: var(--h); background: linear-gradient(180deg, #58a35f, #2f7a3b); border-radius: 3px 3px 0 0; transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease); }
.in .m-bars i, .m-bars.in i { transform: none; } .m-bars small { font-size: 8.5px; color: #7d8d83; text-align: center; }
.m-hbar { display: grid; grid-template-columns: 74px 1fr; gap: 8px; align-items: center; margin-top: 7px; } .m-hbar small { font-size: 9.5px; color: #9db0a2; }
.m-hbar i { display: block; height: 9px; border-radius: 5px; width: var(--w); background: linear-gradient(90deg, #2f7a3b, #7fc287); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease); }
.in .m-hbar i { transform: none; }
.m-donut-card { display: grid; justify-items: center; } .m-donut { width: 84px; height: 84px; border-radius: 50%; background: conic-gradient(#58a35f 0 38%, #f5a623 38% 56%, #7fc287 56% 78%, #2f7a3b 78% 100%); display: grid; place-items: center; transform: rotate(-90deg) scale(.6); opacity: 0; transition: transform 1.2s var(--ease), opacity 1s; }
.in .m-donut { transform: rotate(0) scale(1); opacity: 1; } .m-donut span { width: 50px; height: 50px; border-radius: 50%; background: #14181c; }
.m-tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.m-badge { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: 9.5px; font-weight: 700; font-style: normal; }
.m-badge.g { background: rgba(88,163,95,.22); color: #8fd19a; } .m-badge.a { background: rgba(245,166,35,.2); color: #f5b84a; } .m-badge.x { background: rgba(239,107,91,.18); color: #f08a7c; } .m-badge.l { background: rgba(127,194,135,.15); color: #b5dcba; }
.m-table { border: 1px solid rgba(255,255,255,.06); border-radius: 8px; overflow: hidden; background: #14181c; }
.m-tr { display: grid; grid-template-columns: 2fr 1fr 1.4fr 1fr; gap: 10px; align-items: center; padding: 9px 13px; border-top: 1px solid rgba(255,255,255,.05); font-size: 11px; opacity: 0; transform: translateX(-10px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i, 0) * .08s + .2s); }
.in .m-tr, .m-tr.m-th { opacity: 1; transform: none; } .m-th { border-top: 0; background: #0f1316; color: #7d8d83; font-weight: 700; font-size: 9.5px; text-transform: uppercase; letter-spacing: .08em; }
.m-who { display: flex; gap: 9px; align-items: center; } .m-who b { font-weight: 600; color: #eef4ef; }
.m-av { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #2f7a3b; font-style: normal; font-size: 8.5px; font-weight: 700; color: #fff; }
.mono { font-family: ui-monospace, Consolas, monospace; color: #9db0a2; }
.m-foot { display: flex; justify-content: space-between; align-items: center; color: #7d8d83; font-size: 10.5px; } .m-pager { display: flex; gap: 4px; } .m-pager i { font-style: normal; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; background: #14181c; } .m-pager .on { background: #3f8a49; color: #fff; }
.m-kpi2 { padding: 12px 14px; border-radius: 8px; background: #14181c; border: 1px solid rgba(255,255,255,.06); } .m-kpi2 small { display: block; color: #7d8d83; font-size: 10px; } .m-kpi2 b { display: block; font: 700 20px var(--font); margin: 2px 0; } .m-kpi2 em { font-style: normal; font-size: 10px; font-weight: 700; } .up { color: #7fc287; } .dn { color: #f5a623; } .m-kpi2.hl { background: linear-gradient(135deg, #2f7a3b, #1f5229); }
.m-dual { display: flex; align-items: flex-end; gap: 14px; height: 100px; } .m-dual div { flex: 1; height: 100%; display: flex; align-items: flex-end; gap: 4px; position: relative; padding-bottom: 14px; } .m-dual i { flex: 1; display: block; height: var(--h); border-radius: 3px 3px 0 0; transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease); } .m-dual .inc { background: #58a35f; } .m-dual .out { background: #f5a623; } .in .m-dual i { transform: none; } .m-dual small { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-size: 8.5px; color: #7d8d83; }
.m-table--tight .m-tr { padding-block: 7px; }
.m-month { font: 700 14px var(--font-d); } .m-seg { display: inline-flex; background: #14181c; border-radius: 7px; padding: 2px; margin-left: auto; } .m-seg i { font-style: normal; padding: 4px 10px; border-radius: 5px; font-size: 10px; color: #9db0a2; } .m-seg .on { background: #3f8a49; color: #fff; } .m-seg + .m-btn { margin-left: 0; }
.m-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; } .m-cal .wd { text-align: center; font-size: 9px; color: #7d8d83; font-weight: 700; padding-bottom: 2px; }
.cell { min-height: 52px; padding: 4px; border-radius: 6px; background: #14181c; border: 1px solid rgba(255,255,255,.05); display: flex; flex-direction: column; gap: 3px; overflow: hidden; } .cell.off { background: transparent; border-color: transparent; } .cell em { font-style: normal; font-size: 9.5px; color: #9db0a2; } .cell.today { border-color: #58a35f; } .cell.today em { color: #fff; font-weight: 700; }
.pill { display: block; font-style: normal; padding: 2px 5px; border-radius: 4px; font-size: 8.5px; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pill.g { background: #2f7a3b; color: #fff; } .pill.a { background: #f5a623; color: #2a1c00; } .pill.l { background: #7fc287; color: #0e2414; }
.cell .pill { transform: scale(.6); opacity: 0; transition: transform .5s var(--ease), opacity .5s; transition-delay: .5s; } .in .cell .pill { transform: none; opacity: 1; }
.m-legend { display: flex; gap: 16px; font-size: 10px; color: #9db0a2; } .m-legend span { display: inline-flex; gap: 6px; align-items: center; } .m-legend .pill { width: 12px; height: 12px; padding: 0; }
.m-cards { display: grid; gap: 10px; } .m-camp { padding: 14px; border-radius: 10px; background: #14181c; border: 1px solid rgba(255,255,255,.06); display: grid; gap: 7px; } .m-camp small { color: #8a9a90; font-size: 10.5px; } .m-camp-h { display: flex; justify-content: space-between; align-items: center; } .m-camp-h b { font: 600 13px var(--font-d); }
.m-prog { height: 7px; border-radius: 5px; background: rgba(255,255,255,.08); overflow: hidden; } .m-prog i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, #3f8a49, #7fc287); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * .15s + .3s); } .in .m-prog i { transform: none; }
.m-table--perm .m-tr { grid-template-columns: 2fr repeat(4, 1fr); } .m-table--perm .m-tr > span:not(:first-child) { display: grid; place-items: center; }
.m-sw { display: block; width: 28px; height: 16px; border-radius: 9px; background: rgba(255,255,255,.18); position: relative; transition: background .3s; } .m-sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); } .m-sw.on { background: #58a35f; } .m-sw.on::after { transform: translateX(12px); }
.m-log { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid rgba(255,255,255,.05); font-size: 11px; } .m-log:first-of-type { border-top: 0; } .m-log span { width: 8px; height: 8px; border-radius: 50%; background: #58a35f; } .m-log span.a { background: #f5a623; } .m-log small { color: #7d8d83; font-size: 10px; }
.m-qai-wrap { display: grid; grid-template-columns: 1fr 250px; gap: 12px; align-items: start; } .m-qai-wrap .m-kpis { grid-template-columns: 1fr; }
.m-qai { padding: 12px; border-radius: 10px; background: #0f1316; border: 1px solid rgba(88,163,95,.35); box-shadow: 0 0 40px -10px var(--g-glow); display: grid; gap: 8px; min-height: 330px; align-content: start; }
.m-qai-h { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.07); } .m-qai-h small { margin-left: auto; color: #7fc287; font-size: 10px; } .m-qai-dot { width: 8px; height: 8px; border-radius: 50%; background: #58a35f; animation: ping 2s infinite; }
.bub { max-width: 92%; padding: 8px 11px; border-radius: 12px; font-size: 11px; line-height: 1.45; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); } .bub.me { justify-self: end; background: #2f7a3b; color: #fff; border-bottom-right-radius: 3px; } .bub.ai { background: #1c2328; border-bottom-left-radius: 3px; }
.in .bub { opacity: 1; transform: none; } .in .bub:nth-of-type(2) { transition-delay: .5s; } .in .bub:nth-of-type(3) { transition-delay: 1.1s; } .in .bub:nth-of-type(4) { transition-delay: 1.7s; }
.typing { display: inline-flex; gap: 4px; padding: 11px 14px; } .typing i { width: 6px; height: 6px; border-radius: 50%; background: #7fc287; animation: dot 1.2s infinite; } .typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; } @keyframes dot { 40% { transform: translateY(-4px); opacity: .5; } }

/* ==========================================================================
   Footer — padrão do ecossistema Quanthum v1.0 (padrao-footer-ecossistema-quanthum.md)
   ========================================================================== */
.q-footer { --qf-bg:#05080b; --qf-bg-2:#0a0f13; --qf-line:#1a2329; --qf-text:#e7ecef; --qf-muted:#8b979f; --qf-dim:#5d6970; --qf-ok:#3ddc84; --qf-accent:#58a35f;
  background: var(--qf-bg); color: var(--qf-text); font-family: var(--font); border-top: 1px solid var(--qf-line); }
.q-footer a { color: inherit; }
.q-footer :focus-visible { outline: 2px solid var(--qf-accent); outline-offset: 3px; }
.qf-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr 1.15fr; gap: 40px; padding: 56px; width: min(1440px, 100%); margin-inline: auto; }
.qf-logo img { height: 40px; width: auto; }
.qf-tagline { margin-top: 16px; color: var(--qf-muted); font-size: 14.5px; line-height: 1.6; max-width: 34ch; }
.qf-seal-brand { display: inline-block; margin-top: 22px; } .qf-seal-brand img { width: 240px; height: auto; filter: drop-shadow(0 6px 20px rgba(120,230,60,.15)); transition: transform .2s; } .qf-seal-brand:hover img { transform: translateY(-2px); }
.q-footer h3 { font: 600 12px var(--font); text-transform: uppercase; letter-spacing: .12em; color: var(--qf-muted); margin: 0 0 18px; }
.q-footer nav ul { display: grid; gap: 10px; }
.q-footer nav a { font-size: 14.5px; color: rgba(231,236,239,.88); text-decoration: none; transition: color .2s; }
.q-footer nav a:hover, .q-footer nav a[aria-current="page"] { color: var(--qf-accent); text-decoration: none; }
.qf-soon { font-size: 14.5px; color: rgba(231,236,239,.6); } .qf-soon small { color: var(--qf-dim); font-size: 12.5px; }
.qf-contact dl { display: grid; grid-template-columns: 1fr; gap: 2px; margin: 0; font-size: 13px; align-items: baseline; }
.qf-contact dt { color: var(--qf-dim); margin-top: 10px; font-size: 12.5px; } .qf-contact dd { margin: 0; } .qf-contact dd a { font-size: 14px; text-decoration: none; word-break: break-word; } .qf-contact dd a:hover { color: var(--qf-accent); }
.qf-social { display: flex; gap: 10px; margin-top: 20px; }
.qf-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--qf-line); color: var(--qf-text); transition: border-color .2s, color .2s; } .qf-social a:hover { border-color: var(--qf-accent); color: var(--qf-accent); }
.qf-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 24px 56px; border-top: 1px solid var(--qf-line); width: min(1440px, 100%); margin-inline: auto; }
.qf-seal { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.qf-seal:hover strong { color: var(--qf-accent); text-decoration: none; } .qf-seal svg { color: var(--qf-text); width: 28px; height: 28px; flex: none; }
.qf-seal strong { display: block; font-size: 14.5px; } .qf-seal small { display: block; color: var(--qf-muted); font-size: 12.5px; }
.qf-notes { color: var(--qf-muted); font-size: 13.5px; } .qf-notes a { color: var(--qf-text); font-weight: 600; text-decoration: none; } .qf-notes a:hover { color: var(--qf-accent); }
.qf-status { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border: 1px solid var(--qf-line); border-radius: 999px; font-size: 13.5px; color: var(--qf-muted); text-decoration: none; } .qf-status:hover { border-color: var(--qf-muted); text-decoration: none; }
.qf-status-dot { width: 9px; height: 9px; border-radius: 50%; background: #6b767d; }
.qf-legal { display: flex; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; align-items: center; padding: 22px 56px; background: var(--qf-bg-2); border-top: 1px solid var(--qf-line); font-size: 12.5px; color: var(--qf-dim); }
.qf-legal p { margin: 0; max-width: 100%; } .qf-legal a { text-decoration: underline; text-underline-offset: 3px; color: #9aa6ad; } .qf-legal a:hover { color: var(--qf-accent); } .qf-legal strong { color: #cfd7dc; }
.qf-legal { padding-right: 104px; }
/* O botão de reabrir consentimento fica no canto direito; o footer não reserva esse canto. */


/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .qf-top { grid-template-columns: 1fr 1fr; padding: 44px 28px; }
  .qf-brand { grid-column: 1 / -1; }
  .qf-strip, .qf-legal { padding-inline: 28px; }
  .feat-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .hero-in, .split, .mod-hero, .demo-grid, .tabpanel { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 720px; margin-inline: auto; width: 100%; }
  .float { display: none; }
  .tilt { transform: none !important; }
  .bento, .mod-grid, .feat-grid { grid-template-columns: 1fr 1fr; }
  .b-wide { grid-column: 1 / -1; }
  .split--rev > :first-child { order: 2; }
  .nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 20px 24px; background: rgba(7,16,11,.98); border-bottom: 1px solid var(--line-2); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s var(--ease); max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav-link { padding: 14px; font-size: 16px; }
  .nav-cta { margin: 8px 0 0; }
  .mega { position: static; width: 100%; margin: 0; padding: 0 0 8px 8px; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; grid-template-columns: 1fr; }
  .mega-link small { display: none; }
  .nav-link .rot, .nav-item::after { display: none; }
  .burger { display: grid; }
}
@media (max-width: 720px) {
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .bento, .mod-grid, .mod-grid--sm, .feat-grid, .feat-grid--4, .stats, .ticks--2, .row2 { grid-template-columns: 1fr; }
  .term-card { grid-template-columns: 1fr; } .term-side { border-right: 0; border-bottom: 1px solid var(--line); grid-template-columns: 1fr 1fr; }
  .ts-h { grid-column: 1 / -1; padding-bottom: 6px; }
  .qf-top { grid-template-columns: 1fr; padding: 32px 20px; gap: 32px; }
  .qf-strip, .qf-legal { padding: 22px 20px; flex-direction: column; align-items: flex-start; }
  .qf-legal { padding-bottom: 88px; }
  .tab span { font-size: 14px; }
  .shield-viz { max-width: 340px; } .sat { font-size: 11.5px; padding: 7px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ln, .ln2, .tl { stroke-dashoffset: 0; } .tn, .md { opacity: 1; transform: none; }
  .ribbon-track { animation: none; }
  .m-bars i, .m-dual i, .m-hbar i, .m-prog i, .m-tr, .bub, .cell .pill, .bviz-bars i { transform: none !important; opacity: 1 !important; }
  .m-donut { transform: none; opacity: 1; }
}
