/* Greyes — site de divulgação. Tokens da marca (ver frontend/html/tokens.css): fundo escuro, verde #35D07E, Inter + IBM Plex Mono. */
:root {
  color-scheme: dark;
  --void: #12181B;
  --surface: #1A2225;
  --raised: #232C30;
  --line: #2B353B;
  --line-soft: #222B2F;
  --text: #FFFFFF;
  --body: #D5DADD;
  --mute: #9BA1A7;
  --accent: #35D07E;
  --accent-strong: #2BB86C;
  --accent-ink: #0E1A14;
  --accent-glow: rgba(53, 208, 126, .22);
  --warn: #F5C453;
  --crit: #F26D6D;
  --det: #FF7B2E;
  --radius: 14px;
  --font: 'Inter', -apple-system, 'Segoe UI', Roboto, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--void); color: var(--body); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--text); margin: 0; text-wrap: balance; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.mono { font-family: var(--mono); }
.muted { color: var(--mute); }
.i { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 12px; border: 1px solid transparent; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 16px; letter-spacing: -.01em; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; box-shadow: 0 8px 30px -8px var(--accent-glow); }
.btn:hover { background: #4ade94; transform: translateY(-2px); box-shadow: 0 14px 38px -10px rgba(53, 208, 126, .5); }
.btn .i { transition: transform .2s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { background: var(--raised); border-color: #3b4950; box-shadow: none; }
.btn-sm { padding: 9px 16px; font-size: 14.5px; border-radius: 10px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(18, 24, 27, .82); backdrop-filter: blur(14px) saturate(1.3); border-color: var(--line-soft); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-name { font-weight: 800; font-size: 22px; color: #fff; letter-spacing: -.03em; }
.brand-name b { color: var(--accent); font-weight: 800; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--body); padding: 6px 0; position: relative; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--accent); transition: right .25s var(--ease); }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { right: 0; }
.burger { display: none; margin-left: auto; width: 42px; height: 42px; background: none; border: 1px solid var(--line); border-radius: 10px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; transition: transform .25s, top .25s; }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 148px 0 96px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-aerial { width: 100%; height: 100%; object-fit: cover; opacity: .3; filter: saturate(.7); mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 0%, transparent 78%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 0%, transparent 78%); }
.rings { position: absolute; right: -14%; top: -18%; width: 78vmax; max-width: 1100px; color: var(--accent); opacity: .22; }
.rings circle { transform-origin: 400px 400px; animation: ring 6s ease-out infinite; }
.rings circle:nth-child(2) { animation-delay: 1.5s; } .rings circle:nth-child(3) { animation-delay: 3s; } .rings circle:nth-child(4) { animation-delay: 4.5s; }
.sweep { transform-origin: 400px 400px; animation: sweep 9s linear infinite; opacity: .7; }
@keyframes ring { 0% { opacity: 0; transform: scale(.8); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.08); } }
@keyframes sweep { to { transform: rotate(360deg); } }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(transparent, var(--void)); z-index: -1; }
.hero-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.dot-live { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent-glow); animation: pulse 2s infinite; display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(53, 208, 126, .55); } 100% { box-shadow: 0 0 0 12px rgba(53, 208, 126, 0); } }
.hero h1 { font-size: clamp(40px, 5.4vw, 70px); line-height: 1.02; font-weight: 800; letter-spacing: -.04em; }
.hero h1 em { font-style: normal; color: var(--accent); position: relative; white-space: nowrap; }
.lead { font-size: 19px; line-height: 1.55; color: var(--body); margin-top: 24px; max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: 14.5px; color: var(--mute); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .i { color: var(--accent); width: 1.1em; }

.hero-visual { position: relative; padding-bottom: 64px; }
.device { border-radius: 14px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .03) inset; }
.device-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #161d20; border-bottom: 1px solid var(--line); font: 500 12px/1 var(--mono); color: var(--mute); }
.device-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a444a; }
.device-bar i:first-child { background: #f26d6d; } .device-bar i:nth-child(2) { background: #f5c453; } .device-bar i:nth-child(3) { background: #35d07e; }
.device-bar span { margin-left: 10px; background: #1f292d; padding: 5px 12px; border-radius: 7px; flex: 0 1 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.device img { width: 100%; height: auto; }
.float { position: absolute; background: rgba(26, 34, 37, .94); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .75); backdrop-filter: blur(10px); animation: bob 7s ease-in-out infinite; }
.float-alarm { left: -34px; bottom: 6px; display: flex; gap: 14px; padding: 10px; width: min(400px, 78%); align-items: center; }
.float-img { position: relative; flex: 0 0 132px; border-radius: 9px; overflow: hidden; aspect-ratio: 16/10; }
.float-img img { width: 100%; height: 100%; object-fit: cover; }
.ping { position: absolute; top: 8px; right: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--det); animation: pulseD 1.6s infinite; }
@keyframes pulseD { 0% { box-shadow: 0 0 0 0 rgba(255, 123, 46, .7); } 100% { box-shadow: 0 0 0 11px rgba(255, 123, 46, 0); } }
.float figcaption { display: grid; gap: 3px; font-size: 13px; line-height: 1.35; color: var(--mute); }
.float figcaption b { color: #fff; font-size: 14.5px; font-weight: 600; }
.float .meta { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 12px; }
.chip { display: inline-block; font: 600 11.5px/1 var(--mono); padding: 4px 8px; border-radius: 999px; background: var(--raised); border: 1px solid var(--line); color: var(--body); }
.chip-warn { background: rgba(255, 123, 46, .16); border-color: rgba(255, 123, 46, .5); color: #ffb27c; }
.float-ok { right: -14px; top: 54px; padding: 10px 14px; font-size: 12.5px; color: #fff; display: flex; align-items: center; gap: 9px; animation-delay: -3s; }
.dot-ok, .dot-warn, .dot-off { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot-ok { background: var(--accent); } .dot-warn { background: var(--det); } .dot-off { background: var(--crit); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- números ---------- */
.stats { border-block: 1px solid var(--line-soft); background: linear-gradient(var(--surface), #151c1f); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 38px 24px; border-right: 1px solid var(--line-soft); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: clamp(38px, 4.6vw, 58px); font-weight: 800; letter-spacing: -.04em; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; color: var(--mute); font-size: 14.5px; max-width: 24ch; }

/* ---------- seções ---------- */
.section { padding: 112px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, #151c1f, #131a1d); border-block: 1px solid var(--line-soft); }
.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-head-left { margin: 0 0 32px; text-align: left; }
.sec-head h2, .cta h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.08; font-weight: 800; letter-spacing: -.035em; }
.sub { margin-top: 18px; color: var(--mute); font-size: 18px; max-width: 60ch; margin-inline: auto; }
.sec-head-left .sub { margin-inline: 0; }
.hint { font-size: 13px; color: var(--mute); margin-top: 12px; }

.card, .tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: transform .3s var(--ease), border-color .3s, background .3s; position: relative; }
.card:hover, .tile:hover { transform: translateY(-4px); border-color: rgba(53, 208, 126, .45); background: #1d272a; }
.card h3, .tile h3 { font-size: 20px; line-height: 1.25; font-weight: 700; margin: 18px 0 10px; }
.card p, .tile p { color: var(--mute); font-size: 15.5px; line-height: 1.6; }
.ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(53, 208, 126, .12); color: var(--accent); border: 1px solid rgba(53, 208, 126, .28); }
.ico .i { width: 22px; height: 22px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mini { margin-top: 18px; display: grid; gap: 8px; font-size: 14.5px; color: var(--body); }
.mini li { display: flex; gap: 10px; align-items: center; }
.mini li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---------- vitrine ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.tabs button { background: var(--surface); border: 1px solid var(--line); padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--body); transition: all .2s; }
.tabs button:hover { border-color: #3b4950; color: #fff; }
.tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.panel-tab { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 44px; align-items: center; animation: rise .5s var(--ease); }
.panel-tab[hidden] { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tab-copy h3 { font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -.03em; margin-bottom: 22px; }
.ticks { display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 28px; color: var(--body); font-size: 16px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: rgba(53, 208, 126, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2335D07E' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat; }
.ticks b { color: #fff; font-weight: 600; }
.device-tall { position: relative; }
.scrollshot { height: 560px; overflow: hidden; position: relative; }
.scrollshot img { width: 100%; transition: transform 7s linear; will-change: transform; }
.device-tall:hover .scrollshot img { transform: translateY(calc(-100% + 560px)); }
.device-tall .hint { position: absolute; right: 14px; bottom: 12px; margin: 0; padding: 5px 10px; background: rgba(18, 24, 27, .85); border-radius: 8px; border: 1px solid var(--line); transition: opacity .3s; }
.device-tall:hover .hint { opacity: 0; }

.mock-live { padding: 14px; background: #161d20; }
.mock-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pill { font-size: 12.5px; padding: 6px 12px; border-radius: 999px; background: var(--raised); border: 1px solid var(--line); color: var(--body); }
.pill.on { background: rgba(53, 208, 126, .15); border-color: rgba(53, 208, 126, .5); color: var(--accent); }
.pill-rev { margin-left: auto; background: var(--accent); color: var(--accent-ink); font-weight: 700; border-color: var(--accent); }
.live-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.live-grid figure { margin: 0; position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 16/9; background: #000; border: 1px solid var(--line); }
.live-grid img { width: 100%; height: 100%; object-fit: cover; }
.live-grid figcaption { position: absolute; left: 7px; bottom: 7px; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; padding: 3px 8px; border-radius: 6px; background: rgba(10, 14, 16, .78); color: #fff; backdrop-filter: blur(4px); }
.live-grid figure.alert { border-color: var(--det); box-shadow: 0 0 0 2px rgba(255, 123, 46, .35); animation: alertGlow 1.8s infinite; }
@keyframes alertGlow { 50% { box-shadow: 0 0 0 4px rgba(255, 123, 46, .15); } }

.paper-wrap { display: grid; justify-items: center; gap: 18px; padding: 12px 0; }
.paper { width: min(560px, 100%); background: #f4f6f7; color: #1b2327; border-radius: 6px; padding: 30px 32px; box-shadow: 0 40px 70px -24px rgba(0, 0, 0, .8); transform: rotate(-1.2deg); transition: transform .4s var(--ease); }
.paper:hover { transform: rotate(0); }
.paper-head { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 2px solid #35D07E; margin-bottom: 14px; }
.paper-head b { display: block; font-size: 17px; letter-spacing: -.01em; }
.paper-head span { font-size: 12px; color: #5b676d; }
.paper table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.paper th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #5b676d; padding: 6px 4px; border-bottom: 1px solid #d5dbde; }
.paper td { padding: 9px 4px; border-bottom: 1px solid #e6eaec; }
.paper td:nth-child(2), .paper td:nth-child(3), .paper th:nth-child(2), .paper th:nth-child(3) { text-align: right; padding-right: 14px; }
.bar { display: block; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #2bb86c, #35d07e); width: var(--w); }
.paper-foot { margin-top: 14px; font-size: 11px; color: #7b878d; }
.file-chips { display: flex; gap: 8px; }

/* ---------- vídeo ---------- */
.video-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: center; }
.video-frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85), 0 0 80px -30px var(--accent-glow); aspect-ratio: 16/10; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; background: #000; }

/* ---------- fluxo ---------- */
.flow { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.steps { display: grid; gap: 0; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 19px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--accent), rgba(53, 208, 126, .12)); }
.steps li { display: flex; gap: 22px; padding: 14px 0; position: relative; }
.steps .n { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--void); border: 2px solid var(--accent); color: var(--accent); font: 600 15px var(--mono); z-index: 1; }
.steps h3 { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.steps p { color: var(--mute); font-size: 15.5px; line-height: 1.55; max-width: 52ch; }
.feed { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7); }
.feed-head { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #fff; font-size: 15px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.feed-head .count { margin-left: auto; font-size: 12px; color: var(--accent); }
.feed-list { display: grid; gap: 10px; margin-top: 14px; min-height: 372px; align-content: start; }
.fi { display: flex; gap: 12px; align-items: center; padding: 8px; background: var(--raised); border-radius: 11px; border-left: 3px solid var(--c, var(--accent)); animation: slideIn .5s var(--ease); }
.fi img { width: 86px; aspect-ratio: 16/10; object-fit: cover; border-radius: 7px; flex: none; }
.fi div { display: grid; gap: 2px; min-width: 0; }
.fi b { color: #fff; font-size: 14px; font-weight: 600; }
.fi span { font-size: 12.5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fi time { margin-left: auto; font: 500 12px var(--mono); color: var(--mute); flex: none; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-16px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- câmeras ---------- */
.cam-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-top: 26px; }
.seg button { background: none; border: 0; padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--body); transition: all .2s; }
.seg button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.cam-stage { position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85); background: #000; }
.cam-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease); }
.cam-img.on { opacity: 1; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile-lg { grid-column: span 2; }
.tile-lg h3 { font-size: 22px; }
.tile-lg p { font-size: 16px; }

/* ---------- segurança ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 22px; align-items: start; background: linear-gradient(120deg, rgba(53, 208, 126, .09), var(--surface) 55%); border-color: rgba(53, 208, 126, .3); }
.card-wide h3 { margin-top: 0; grid-column: 2; }
.card-wide .ico { grid-row: 1 / span 2; }
.card-wide p { grid-column: 2; max-width: 84ch; }

/* ---------- faq ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq-wrap .sec-head { position: sticky; top: 110px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(53, 208, 126, .45); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 600; color: #fff; font-size: 16.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 400 26px/1 var(--font); color: var(--accent); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--mute); font-size: 15.5px; line-height: 1.65; max-width: 70ch; }

/* ---------- contato ---------- */
.cta { position: relative; padding: 112px 0; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line-soft); }
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: saturate(.6); }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 40%, rgba(18, 24, 27, .35), var(--void) 75%); }
.cta-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.form { background: rgba(26, 34, 37, .92); border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: grid; gap: 16px; backdrop-filter: blur(12px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.form label { display: grid; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--body); }
.form input { background: var(--void); border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; color: #fff; font: 400 16px var(--font); transition: border-color .2s, box-shadow .2s; }
.form input::placeholder { color: #67717a; }
.form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form input.bad { border-color: var(--crit); }
.form .btn { justify-content: center; margin-top: 4px; }
.form .btn:disabled { opacity: .6; cursor: progress; transform: none; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .hint.ok { color: var(--accent); }
.form .hint.err { color: var(--crit); }
.foot { border-top: 1px solid var(--line-soft); padding: 36px 0; background: #0f1417; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; font-size: 14px; color: var(--mute); }
.foot-in .muted { margin-left: auto; font-size: 13px; }

/* ---------- revelar ao rolar ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .3s, background .3s; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.in:hover { transform: translateY(-4px); }

/* ---------- responsivo ---------- */
@media (max-width: 1020px) {
  .hero-in, .panel-tab, .video-wrap, .flow, .cam-wrap, .faq-wrap, .cta-in { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 120px; }
  .float-alarm { left: 8px; }
  .float-ok { right: 8px; }
  .trio { grid-template-columns: 1fr; }
  .bento, .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .feed { position: static; }
  .scrollshot { height: 420px; } .device-tall:hover .scrollshot img { transform: translateY(calc(-100% + 420px)); }
}
@media (max-width: 820px) {
  .burger { display: block; } .nav-cta { display: none; }
  .nav-links { position: fixed; inset: 68px 0 auto; flex-direction: column; gap: 0; margin: 0; background: rgba(18, 24, 27, .97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); padding: 10px 20px 20px; transform: translateY(-120%); transition: transform .35s var(--ease); }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line-soft); }
  .nav-links a::after { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .section, .cta { padding: 76px 0; }
  .hero { padding: 104px 0 64px; }
  .bento, .sec-grid { grid-template-columns: 1fr; }
  .tile-lg { grid-column: auto; }
  .float-alarm { position: relative; left: auto; bottom: auto; margin: -28px 8px 0; width: auto; }
  .float-ok { display: none; }
  .live-grid { grid-template-columns: repeat(2, 1fr); } .live-grid figure:nth-child(n+7) { display: none; }
  .card-wide { grid-template-columns: 1fr; } .card-wide h3, .card-wide p { grid-column: 1; } .card-wide .ico { grid-row: auto; }
  .stat { padding: 26px 16px; }
  .paper { padding: 22px 18px; } .paper table { font-size: 12px; }
  .foot-in .muted { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
