/* 151126010406 */
/* Qubry · qubry.dev — fundo branco, tipografia grande, produto em primeiro plano. */

@font-face { font-family: "Geist"; src: url("fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
	--bg: #ffffff;
	--bg-soft: #f7f7f5;
	--bg-sunk: #efefec;
	--ink: #111111;
	--ink-2: #55554f;
	--ink-3: #8b8b85;
	--line: #e7e7e3;
	--line-strong: #d6d6d1;
	--accent: #2f6bff;
	--accent-ink: #1f4fd6;
	--ok: #1f9d55;
	--err: #d93b3b;
	--radius: 14px;
	--radius-lg: 20px;
	--wrap: 1200px;
	--sans: "Geist", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 16px/1.55 var(--sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
code, pre, kbd { font-family: var(--mono); }
code { font-size: .9em; background: var(--bg-sunk); padding: .1em .35em; border-radius: 5px; }
::selection { background: rgba(47, 107, 255, .18); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; }

/* ---------- navegação ---------- */
.nav {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .86);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.brand img { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { padding: 7px 11px; border-radius: 8px; color: var(--ink-2); font-size: 14.5px; transition: color .15s, background .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--bg-soft); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-right .link { font-size: 14.5px; color: var(--ink-2); padding: 7px 10px; }
.nav-right .link:hover { color: var(--ink); }

/* ---------- botões ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 44px; padding: 0 20px; border-radius: 999px;
	font: 500 15px/1 var(--sans); letter-spacing: -.005em;
	border: 1px solid transparent; cursor: pointer; white-space: nowrap;
	transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn-sm { height: 36px; padding: 0 15px; font-size: 14px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2b2b2b; }
.btn-line { background: var(--bg); color: var(--ink); border-color: var(--line-strong); }
.btn-line:hover { background: var(--bg-soft); }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn svg { width: 16px; height: 16px; }

/* ---------- hero ---------- */
.hero { padding: 104px 0 56px; }
.hero.center { text-align: center; }
.hero.center .lede { margin-left: auto; margin-right: auto; }
.hero.center .actions { justify-content: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 14px; margin-bottom: 22px; }
.eyebrow img { width: 28px; height: 28px; border-radius: 7px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink-2); background: var(--bg); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.028em; }
h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; max-width: 15ch; }
.hero.center h1 { margin: 0 auto; }
h1 .soft, h2 .soft { color: var(--ink-3); }
.lede { margin: 24px 0 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 600px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.meta { margin-top: 18px; font-size: 13.5px; color: var(--ink-3); }

/* ---------- vitrine (tela do produto) ---------- */
.stage {
	position: relative; border-radius: var(--radius-lg); overflow: hidden;
	padding: clamp(18px, 4.5vw, 64px) clamp(18px, 4.5vw, 64px) 0;
	background:
		radial-gradient(120% 90% at 85% 0%, #e4ebff 0%, rgba(228, 235, 255, 0) 55%),
		radial-gradient(90% 80% at 0% 100%, #f1ede4 0%, rgba(241, 237, 228, 0) 60%),
		var(--bg-soft);
	border: 1px solid var(--line);
}
.stage.pad { padding-bottom: clamp(18px, 4.5vw, 64px); }
.window {
	border-radius: 12px 12px 0 0; overflow: hidden; background: #fff;
	box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 24px 60px -18px rgba(17, 17, 17, .28), 0 0 0 1px rgba(17, 17, 17, .07);
}
.stage.pad .window { border-radius: 12px; }
.window img { width: 100%; }

/* ---------- seções ---------- */
section { padding: 112px 0; }
section.tight { padding: 72px 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-size: 14px; color: var(--ink-3); margin: 0 0 14px; }
h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.06; }
.section-head p:not(.kicker) { margin: 18px 0 0; font-size: 18px; color: var(--ink-2); }
.divider { border-top: 1px solid var(--line); }

/* ---------- produtos (home) ---------- */
.products { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.product {
	grid-column: span 3; display: flex; flex-direction: column;
	border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-soft);
	overflow: hidden; transition: border-color .2s, transform .2s;
}
.product:hover { border-color: var(--line-strong); }
.product.wide { grid-column: span 6; flex-direction: row; }
.product.third { grid-column: span 2; }
.product .body { padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.product.wide .body { flex: 0 0 38%; padding: 40px; justify-content: center; }
.product .tag { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-3); }
.product .tag img { width: 26px; height: 26px; border-radius: 6px; }
.product h3 { font-size: 24px; letter-spacing: -.02em; }
.product p { margin: 0; color: var(--ink-2); }
.product .more { margin-top: 6px; font-size: 14.5px; font-weight: 500; display: inline-flex; gap: 6px; align-items: center; }
.product .more span { transition: transform .15s; }
.product:hover .more span { transform: translateX(3px); }
.product .shot { margin-top: auto; padding: 0 28px; }
.product.wide .shot { flex: 1; padding: 40px 0 0 0; display: flex; align-items: flex-end; }
.product .shot .window { border-radius: 10px 10px 0 0; }
.product.wide .shot .window { border-radius: 10px 0 0 0; }
.product:not(.wide) .shot { padding-top: 8px; }
.product:not(.wide) .shot > .window { height: 300px; }
.product:not(.wide) .shot > .window img { height: 100%; object-fit: cover; object-position: left top; }
.product:not(.wide) .term-body { min-height: 0; grid-template-columns: 1fr; }
.product:not(.wide) .term-side { display: none; }
.product:not(.wide) pre.code { font-size: 12.5px; }

/* ---------- recursos ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.grid3 > div { padding: 30px 28px 34px 0; border-bottom: 1px solid var(--line); }
.grid3 > div:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.grid3 h3, .grid2 h3 { font-size: 18px; letter-spacing: -.012em; margin-bottom: 8px; }
.grid3 p, .grid2 p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--bg); }
.card.soft { background: var(--bg-soft); }

/* linha de destaque: texto + imagem */
.row { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.row + .row { margin-top: 112px; }
.row.flip { grid-template-columns: 7fr 5fr; }
.row.flip > :first-child { order: 2; }
.row h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; }
.row p { color: var(--ink-2); font-size: 17px; margin: 16px 0 0; }
.row ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--ink-2); }
.row li { padding-left: 22px; position: relative; }
.row li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }

/* princípios */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.principles .card h3 { font-size: 17px; margin: 18px 0 8px; }
.principles .card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.principles .icon { width: 36px; height: 36px; border-radius: 9px; background: var(--bg-soft); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }
.principles .icon svg { width: 18px; height: 18px; }

/* ---------- terminal e código ---------- */
.term { font: 13.5px/1.6 var(--mono); color: #2a2a2a; background: #fff; }
.term-top { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #f4f4f2; font: 12.5px var(--sans); color: var(--ink-3); }
.term-top i { width: 11px; height: 11px; border-radius: 50%; background: #dcdcd8; }
.term-top span { margin-left: 10px; }
.term-body { display: grid; grid-template-columns: 200px 1fr; min-height: 400px; }
.term-side { border-right: 1px solid var(--line); background: #f8f8f6; padding: 14px 10px; font-family: var(--sans); font-size: 13px; }
.term-side b { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 500; margin: 4px 8px 6px; }
.term-side div { padding: 6px 8px; border-radius: 6px; color: var(--ink-2); display: flex; justify-content: space-between; }
.term-side div.on { background: #e9e9e6; color: var(--ink); }
.term-side div small { color: var(--ok); }
.term-main { padding: 14px 16px; display: grid; gap: 10px; align-content: start; }
.block { border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; position: relative; }
.block.err { border-left: 3px solid var(--err); }
.block.ok { border-left: 3px solid var(--ok); }
.block .cmd { color: var(--ink); font-weight: 500; display: flex; justify-content: space-between; gap: 12px; }
.block .cmd small { color: var(--ink-3); font-weight: 400; }
.block .out { color: var(--ink-2); white-space: pre-wrap; margin-top: 4px; }
.term-bar { margin-top: 4px; border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; color: var(--ink-3); background: #fafaf8; }
.term-bar em { color: var(--accent); font-style: normal; }

pre.code {
	margin: 0; padding: 22px 24px; overflow-x: auto;
	font: 13.5px/1.65 var(--mono); color: #2a2a2a; background: #fff;
}
pre.code .c { color: var(--ink-3); }
pre.code .p { color: var(--accent); }

/* ---------- download / CTA ---------- */
.cta { text-align: center; padding: 120px 0; }
.cta h2 { max-width: 16ch; margin: 0 auto; }
.cta .actions { justify-content: center; }
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.platforms .card h3 { font-size: 18px; margin-bottom: 6px; }
.platforms .card p { margin: 0 0 18px; color: var(--ink-2); font-size: 15px; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 500; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-3); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--ink-2); }

/* ---------- rodapé ---------- */
footer { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 14.5px; }
.foot { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.foot p { margin: 14px 0 0; color: var(--ink-2); max-width: 30ch; }
.foot h4 { margin: 0 0 14px; font-size: 13.5px; font-weight: 500; color: var(--ink-3); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot ul a { color: var(--ink-2); }
.foot ul a:hover { color: var(--ink); }
.foot-bottom { margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: baseline; color: var(--ink-3); font-size: 13px; }
.credit { font-size: 10.5px; letter-spacing: .02em; color: var(--ink-3); opacity: .8; }
.credit a:hover { color: var(--ink-2); }

/* Itens de grade podem encolher abaixo do conteúdo (blocos de código, telas). */
.products > *, .row > *, .grid2 > *, .grid3 > *, .principles > *, .platforms > *, .foot > *, .product .body, .product .shot, .stage, .window { min-width: 0; }

/* ---------- responsivo ---------- */
@media (max-width: 980px) {
	.nav-links { display: none; }
	.products .product, .products .product.third { grid-column: span 6; }
	.product.wide { flex-direction: column; }
	.product.wide .body { padding: 28px 28px 24px; }
	.product.wide .shot { padding: 0 28px; }
	.product.wide .shot .window { border-radius: 10px 10px 0 0; }
	.row, .row.flip { grid-template-columns: 1fr; gap: 32px; }
	.row.flip > :first-child { order: 0; }
	.principles { grid-template-columns: repeat(2, 1fr); }
	.grid3 { grid-template-columns: repeat(2, 1fr); }
	.grid3 > div, .grid3 > div:not(:nth-child(3n+1)) { padding: 26px 22px 28px 0; border-left: 0; }
	.grid3 > div:nth-child(2n) { padding-left: 22px; border-left: 1px solid var(--line); }
	.platforms { grid-template-columns: 1fr; }
	.foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.wrap { padding: 0 16px; }
	.nav .wrap { gap: 12px; }
	.nav-right .link { display: none; }
	.hero { padding: 64px 0 40px; }
	section { padding: 80px 0; }
	.cta { padding: 88px 0; }
	.actions .btn { flex: 1 1 100%; }
	.principles, .grid3, .grid2 { grid-template-columns: 1fr; }
	.grid3 > div, .grid3 > div:nth-child(2n) { padding: 22px 0; border-left: 0; }
	.term-body { grid-template-columns: 1fr; }
	.term-side { display: none; }
	.foot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
