/* Fontes hospedadas junto com o site (SIL Open Font License): DM Sans (assets/fonts/OFL-DMSans.txt) no texto
   e Geist Mono (assets/fonts/OFL.txt) no que é código. DM Sans dividida como no @fontsource-variable/dm-sans. */
@font-face { font-family: "DM Sans"; src: url("assets/fonts/DMSans-latin-ext-Variable.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "DM Sans"; src: url("assets/fonts/DMSans-latin-Variable.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Geist Mono"; src: url("assets/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #101010;
  --bg-2: #161616;
  --card: #1a1a1a;
  --line: #262626;
  --line-2: #333;
  --fg: #f7f7f7;
  --muted: #979797;
  --faint: #5f5f5f;
  --accent: #d77552; /* laranja do logo */
  --cream: #f7f3ee;
  --ink: #181818;
  --green: #1fbd53;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.mono { font-family: var(--mono); }
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

h1, h2, h3 { font-weight: 500; letter-spacing: -.03em; margin: 0; }
h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; margin-bottom: 18px; }
h3 { font-size: 20px; letter-spacing: -.01em; line-height: 1.3; }
.lede { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 0 32px; }
.eyebrow { font: 12px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 18px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px;
  border-radius: 8px; font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: background-color .15s, border-color .15s;
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: #e2896a; }
.btn--outline { border: 1px solid #4a4a4a; background: #1d1d1d; }
.btn--outline:hover { background: #262626; }

/* Faixa de aviso */

/* Navegação */
.nav { position: sticky; top: 0; z-index: 50; background: rgb(16 16 16 / .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 82px; padding: 0 36px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.logo img { height: 40px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.nav__links > a { white-space: nowrap; }
.nav__links > a:hover { color: var(--accent); }
.nav__right { display: flex; justify-content: flex-end; align-items: center; gap: 24px; font-size: 15px; }
.gh { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.gh svg { width: 16px; height: 16px; fill: currentColor; }
.dd__ic { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; background: #2a2a2a; font-size: 11px; color: #bbb; }

/* Fundo ASCII */
.ascii { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .5; }
.ripple-grid { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-top: 40px; }
h1 { font-size: clamp(40px, 4vw, 56px); line-height: 1.08; letter-spacing: -.035em; }
.hl { color: var(--accent); }
.hero__btns { display: flex; gap: 8px; margin: 32px 0 26px; flex-wrap: wrap; }
.center-row { justify-content: center; }
/* Ícones das marcas em branco, como na referência. */

/* Prévia do app */

/* Faixa de logos */
.logos { position: relative; display: flex; align-items: center; gap: 40px; max-width: 1240px; margin: 0 auto; padding: 56px 32px 64px; }
.logos__label { flex: none; margin: 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.marquee { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 56px; width: max-content; animation: slide 35s linear infinite; }
.brand { display: flex; align-items: center; height: 28px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; color: #8a8a8a; white-space: nowrap; }
/* Logos em branco (ou cinza) com transparência, como na referência. */
.brand img { height: 100%; width: auto; max-width: 120px; object-fit: contain; filter: grayscale(1); opacity: .55; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Seções */
.section { position: relative; padding: 120px 0; }

/* Cartões em carrossel */
.tag { align-self: flex-start; margin-top: 4px; font: 11px var(--mono); text-transform: uppercase; letter-spacing: .04em; color: #aaa; background: #2c2c2c; border-radius: 4px; padding: 2px 8px; }

/* Fluxo: cartão escuro com a órbita das etapas em volta do Argus */
/* Rastro de luz no anel: um degradê cônico recortado na espessura da borda. */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 14px rgb(215 117 82 / .25), 0 0 0 1px rgb(215 117 82 / .08); }
  50% { box-shadow: 0 0 46px rgb(215 117 82 / .45), 0 0 0 6px rgb(215 117 82 / .05); }
}

/* Casos de uso */
.num { font: 13px var(--mono); color: var(--faint); margin-bottom: 24px; }

/* Integrações */
/* Piso de teclas: plano inclinado em 3D, fileiras andando como letreiros, o Argus em destaque no meio */
.floor { position: relative; height: 600px; margin-top: 8px; overflow: hidden; perspective: 1500px; }
@keyframes floor-tick { to { transform: translateX(-50%); } }
/* Brasa embaixo da tecla do meio, que acende as frestas em volta. */

/* Vários agentes */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }

/* Infra e depoimento */
.infra { overflow: hidden; }
.infra .container { position: relative; }
.infra__logos { display: flex; justify-content: center; gap: 56px; margin: 8px 0 72px; font-size: 22px; font-weight: 600; color: #d8d8d8; letter-spacing: -.02em; }
.infra__logos span { display: flex; align-items: center; gap: 12px; }
.infra__logos img { width: 26px; height: 26px; opacity: .85; }
img.avatar { object-fit: cover; }
.love header { display: flex; align-items: center; gap: 14px; }
.love small { display: block; color: var(--muted); font-size: 14px; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #2a2a2a; font: 13px var(--mono); color: var(--accent); flex: none; }

/* Planos */

/* Controle */

/* Mural (tema claro) */
/* Mural de depoimentos: duas fileiras de cartões andando, uma para cada lado */
.love__rows { display: grid; gap: 20px; margin-top: 24px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.love__row { overflow: hidden; }
.love__track { display: flex; gap: 20px; width: max-content; animation: slide 70s linear infinite; }
.love__rows:hover .love__track { animation-play-state: paused; }
.love__track article { width: 384px; flex: none; padding: 24px; background: #262626; border: 1px solid #2f2f2f; border-radius: 12px; }
.love__track header { margin-bottom: 18px; }
.love__track strong { font-weight: 500; font-size: 15px; }
.love__track p { margin: 0 0 14px; color: #ececec; font-size: 15.5px; line-height: 1.5; }
.love__track p:last-child { margin-bottom: 0; }
.love__track strong a:hover { color: var(--accent); }
.love .avatar { width: 48px; height: 48px; background: #3a3a3a; color: #f0f0f0; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; position: relative; padding: 24px 44px 24px 0; font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-75%) rotate(45deg); transition: transform .2s; }
.faq__list details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq__list details p { margin: 0 0 24px; color: var(--muted); max-width: 62ch; }

/* Números */

/* Rodapé */
.outro { position: relative; overflow: hidden; padding: 140px 0 80px; border-top: 1px solid var(--line); }
.outro__inner { position: relative; }
.outro__title { margin: 0 0 18px; max-width: 18ch; font-size: clamp(36px, 4.4vw, 62px); line-height: 1.05; letter-spacing: -.035em; font-weight: 500; }
.outro__mark { margin-top: 64px; }
.outro__mark canvas { display: block; margin: 0 auto; width: min(100%, 760px); aspect-ratio: 520 / 560; touch-action: none; }
.legal { border-top: 1px solid var(--line); }
.legal__inner { display: flex; justify-content: space-between; align-items: center; height: 72px; color: var(--muted); font-size: 13px; }
.legal nav { display: flex; gap: 24px; }
.legal a:hover { color: var(--fg); }

/* Entrada ao rolar */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s; }
.reveal.is-in { opacity: 1; transform: none; }

/* Telas menores */
@media (max-width: 1100px) {
  .split, .faq { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__inner { grid-template-columns: 1fr auto; padding: 0 20px; height: 66px; }
  .gh { display: none; }
  .container { padding: 0 20px; }
  .logos { flex-direction: column; align-items: flex-start; gap: 20px; padding: 40px 20px 48px; }
  .marquee { width: 100%; }
  .section { padding: 88px 0; }
  .floor { height: 440px; }
  .infra__logos { gap: 24px; font-size: 17px; flex-wrap: wrap; }
  .infra__logos img { width: 20px; height: 20px; }
  .legal__inner { flex-direction: column; justify-content: center; gap: 8px; height: auto; padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track, .love__track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Páginas de produto (canvas.html, conversas.html, modo-design.html, terminais.html) */
.phero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.phero .container { position: relative; }
.phero h1 { max-width: 18ch; margin: 0 auto 20px; }
.phero .lede { max-width: 680px; }
.pbadge { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 6px 14px 6px 8px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; color: #d0d0d0; background: #161616; }
.pnote { margin: 14px 0 0; font-size: 13px; color: var(--faint); }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 8px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.pfeat { padding: 32px 28px; background: var(--bg); }
.pfeat h3 { margin-bottom: 10px; font-size: 19px; }
.pfeat p { margin: 0; color: var(--muted); font-size: 15px; }
.psplit { display: grid; grid-template-columns: 1fr 1.35fr; gap: 64px; align-items: center; }
.pchecks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pchecks li { position: relative; padding-left: 26px; color: #cfcfcf; font-size: 15px; }
.pchecks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }
.psteps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.psteps li { padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.psteps span { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 18px; border-radius: 50%; background: rgb(215 117 82 / .14); color: var(--accent); font: 500 15px var(--mono); }
.psteps h3 { margin-bottom: 8px; }
.psteps p { margin: 0; color: var(--muted); font-size: 15px; }
.section--tight { padding-top: 0; }
@media (max-width: 1100px) {
  .psplit { grid-template-columns: 1fr; gap: 40px; }
  .pgrid, .psteps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .pgrid, .psteps { grid-template-columns: 1fr; }
}

/* Página de download */
.btn--lg { height: 52px; padding: 0 28px; font-size: 16px; }
.dl-version { color: var(--muted); font-family: var(--mono); font-size: 12px; }
.dl-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 980px; margin: 64px auto 0; text-align: left; }
.dl-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.dl-card.is-mine { border-color: var(--accent); box-shadow: 0 0 0 1px rgb(215 117 82 / .35), 0 20px 50px -20px rgb(215 117 82 / .35); }
.dl-card.is-mine::after { content: "Seu sistema"; position: absolute; top: 18px; right: 18px; font: 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.dl-card__ic { width: 30px; height: 30px; margin-bottom: 12px; opacity: .9; }
.dl-card h3 { font-size: 21px; }
.dl-card p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.dl-card .btn { width: 100%; justify-content: center; }
.dl-card.is-mine .btn { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.dl-alt { margin-top: 8px; font-size: 13px; color: var(--faint); }
a.dl-alt:hover, .dl-link:hover { color: var(--accent); }
.dl-link { color: var(--text, var(--fg)); text-decoration: underline; text-underline-offset: 3px; }
.dl-term { margin: 0; }
.dl-term pre { white-space: pre-wrap; word-break: break-all; }
.dl-copy { margin-left: auto; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 6px; font: 12px var(--mono); color: #cfcfcf; }
.dl-copy:hover { border-color: var(--accent); color: var(--accent); }
.dl-tabs { display: inline-flex; gap: 4px; margin-top: 8px; padding: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.dl-tabs button { padding: 8px 16px; border-radius: 7px; font-size: 14px; color: var(--muted); }
.dl-tabs button[aria-selected="true"] { background: #2a2a2a; color: var(--fg); }
@media (max-width: 900px) { .dl-cards { grid-template-columns: 1fr; }
}
.terminal { border: 1px solid var(--line-2); border-radius: 12px; background: #0c0c0c; overflow: hidden; }
.terminal__bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--faint); }
.terminal__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3a; }
.terminal__bar span { margin-left: 8px; }
.terminal pre { margin: 0; padding: 22px 24px; font-size: 14px; line-height: 1.8; color: #e6e6e6; }
.terminal .accent { color: var(--accent); }
.terminal .muted { color: var(--faint); }

[hidden] { display: none !important; }

/* Páginas de Recursos */
.phero--small { padding-bottom: 8px; }
.doc { display: grid; grid-template-columns: 220px 1fr; gap: 64px; align-items: start; }
.doc-side { position: sticky; top: 110px; display: grid; gap: 2px; }
.doc-side a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-size: 15px; }
.doc-side a:hover { background: #1b1b1b; color: var(--fg); }
.doc-body { max-width: 760px; }
.doc-sec { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.doc-sec h2 { font-size: 34px; margin-bottom: 8px; }
.doc-sec h3 { margin: 28px 0 8px; font-size: 18px; }
.doc-sec p { margin: 0 0 10px; color: #c9c9c9; font-size: 16px; line-height: 1.7; }
.doc-sec a, .rel a.dl-link { color: var(--accent); }
.doc-sec code { font: 13.5px var(--mono); color: #f0c2b0; background: #1c1c1c; padding: 2px 6px; border-radius: 5px; }
.doc-table { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: 14px; }
.doc-table th, .doc-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); color: #c9c9c9; }
.doc-table th { color: var(--muted); font-weight: 500; }
.rel-wrap { max-width: 820px; }
.rel-list { display: grid; gap: 16px; margin-bottom: 40px; }
.rel { padding: 24px 28px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.rel__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.rel__tag { font-size: 16px; color: var(--fg); }
.rel__tag:hover { color: var(--accent); }
.rel time { font-size: 13px; color: var(--faint); }
.rel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rel li { display: flex; gap: 12px; align-items: baseline; color: #d6d6d6; font-size: 15px; line-height: 1.55; }
.rel-tag { flex: none; padding: 2px 8px; border-radius: 5px; font: 11px var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.rel-tag--new { background: rgb(215 117 82 / .16); color: var(--accent); }
.rel-tag--imp { background: rgb(96 165 250 / .14); color: #8ab8ff; }
.rel-tag--fix { background: rgb(31 189 83 / .14); color: #5fd38a; }
@media (max-width: 900px) {
  .doc { grid-template-columns: 1fr; gap: 24px; }
  .doc-side { position: static; grid-auto-flow: column; overflow-x: auto; }
}
/* Para times */
.pfeat code, .psteps code { font: 13px var(--mono); color: #f0c2b0; background: #1c1c1c; padding: 1px 5px; border-radius: 4px; }
/* Comunidade */

/* Ajuda e blog */
.article { max-width: 820px; }
.code { margin: 8px 0 12px; padding: 16px 18px; background: #0c0c0c; border: 1px solid var(--line-2); border-radius: 10px; font: 13.5px var(--mono); color: #e6e6e6; white-space: pre-wrap; word-break: break-all; }