/*
  suite.vomini.com: a página do Vomini Suite (pedido do dono, 30/11/2026; plano e pesquisa em
  ~/Documents/Research/vomini-suite-site/). Base de design da Vomini, a mesma do vomini.com e dos apps:
  duotom quente, Space Grotesk para ler e JetBrains Mono para rótulos, cantos de 2px, linhas finas,
  uma cor por produto (--acc) em pouca área e o grão de filme. Escuro por padrão; claro pelo sistema
  ou pela escolha guardada (data-theme).
*/

@font-face { font-family: "Space Grotesk"; src: url("/fonts/space-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --bg: #0a0908; --surface: #100f0e; --surface-2: #14120f; --card: #121110;
  --line: #211f1d; --line-strong: #35322f;
  --text: #f1ece9; --text-2: #b6b0ab; --text-3: #84807b;
  --brand: #f1ece9; --on-brand: #0a0908;
  --bad: #fda4af; --ok: #34d399;
  --header-bg: rgba(10, 9, 8, 0.84);
  --field: #0f0e0d; --field-line: #4a4642;
  --inv-bg: #f1ece9; --inv-text: #0a0908; --inv-text-2: #454039; --inv-line: #d8d2cd; --inv-field: #faf8f6; --inv-field-line: #a39b93; --inv-bad: #be123c;
  --tela-bar: #1a1815;
  --sans: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r: 2px; --max: 1240px; --top-h: 64px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --grain: 0.06;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f1ece9; --surface: #f8f5f2; --surface-2: #f3eeea; --card: #faf8f6;
    --line: #ddd5cd; --line-strong: #cbc3ba;
    --text: #14110f; --text-2: #4a4540; --text-3: #6b655f;
    --brand: #14110f; --on-brand: #f1ece9; --bad: #be123c; --ok: #059669;
    --header-bg: rgba(241, 236, 233, 0.88);
    --field: #faf8f6; --field-line: #a39b93;
    --inv-bg: #14110f; --inv-text: #f1ece9; --inv-text-2: #b6b0ab; --inv-line: #2a2622; --inv-field: #0f0e0d; --inv-field-line: #4a4642; --inv-bad: #fda4af;
    --tela-bar: #e7e1db; --grain: 0.04; color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f1ece9; --surface: #f8f5f2; --surface-2: #f3eeea; --card: #faf8f6;
  --line: #ddd5cd; --line-strong: #cbc3ba;
  --text: #14110f; --text-2: #4a4540; --text-3: #6b655f;
  --brand: #14110f; --on-brand: #f1ece9; --bad: #be123c; --ok: #059669;
  --header-bg: rgba(241, 236, 233, 0.88);
  --field: #faf8f6; --field-line: #a39b93;
  --inv-bg: #14110f; --inv-text: #f1ece9; --inv-text-2: #b6b0ab; --inv-line: #2a2622; --inv-field: #0f0e0d; --inv-field-line: #4a4642; --inv-bad: #fda4af;
  --tela-bar: #e7e1db; --grain: 0.04; color-scheme: light;
}

/* A cor de cada produto: --acc-d no escuro, --acc-l no claro, lida como --acc. */
* { --acc: var(--acc-d, var(--text-2)); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) * { --acc: var(--acc-l, var(--text-2)); } }
:root[data-theme="light"] * { --acc: var(--acc-l, var(--text-2)); }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: no-preference) {
  body::after { animation: grao 1s steps(3) infinite; }
  @keyframes grao { 0% { transform: translate(0, 0); } 33% { transform: translate(-3%, 2%); } 66% { transform: translate(2%, -3%); } }
}
::selection { background: var(--text); color: var(--bg); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.moldura { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.rotulo { font: 500 12px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.mut { color: var(--text-3); }
.pular { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--brand); color: var(--on-brand); padding: 8px 12px; border-radius: var(--r); }
.pular:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--acc-d, var(--text)); outline-offset: 2px; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r); font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease); white-space: nowrap; }
.btn-pri { background: var(--brand); color: var(--on-brand); }
.btn-pri:hover { background: var(--text-2); }
.btn-sec { border-color: var(--acc); color: var(--text); background: transparent; }
.btn-sec:hover { background: var(--acc); color: var(--bg); }

/* ---------- topo ---------- */
.topo { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 51; background: var(--bg); }
.topo-in { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); height: var(--top-h); display: flex; align-items: center; gap: 24px; }
.marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.orbe { width: 26px; height: 26px; }
.secoes { flex: 1; position: relative; }
.secoes-btn { display: none; }
.secoes ul { display: flex; gap: 4px; }
.secoes a { display: inline-block; padding: 8px 12px; border-radius: var(--r); color: var(--text-2); text-decoration: none; font-size: 15px; transition: color 200ms var(--ease); }
.secoes a:hover, .secoes a[aria-current="true"] { color: var(--text); }
.secoes a[aria-current="true"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.topo-acoes { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.btn-topo { min-height: 38px; padding: 0 14px; font-size: 14px; }
.pessoa { position: relative; }
.pessoa-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--r); border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; transition: border-color 200ms var(--ease); }
.pessoa-btn:hover { border-color: var(--text-3); }
.pessoa-btn svg { width: 20px; height: 20px; }
.pessoa-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--r); padding: 6px; display: grid; box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.6); }
.pessoa-menu[hidden] { display: none; }
.pessoa-menu a, .pessoa-menu button { display: block; text-align: left; padding: 10px 12px; border-radius: var(--r); color: var(--text); text-decoration: none; font: 500 15px/1.2 var(--sans); background: transparent; border: 0; cursor: pointer; }
.pessoa-menu a:hover, .pessoa-menu button:hover { background: var(--surface-2); }

/* ---------- primeira dobra e fluxo ---------- */
.hero { padding: 56px 0 72px; border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.hero-texto { min-width: 0; }
.hero h1 { font-size: clamp(36px, 4.8vw, 64px); line-height: 1.04; max-width: 15ch; margin-top: 14px; }
/* As cinco telas empilhadas, cada uma com a cor do produto: o Suite inteiro numa imagem parada (sem vídeo). */
.pilha { position: relative; aspect-ratio: 5 / 4; min-width: 0; }
.pilha-tela { position: absolute; width: 72%; border: 1px solid var(--line-strong); border-top: 3px solid var(--acc); border-radius: var(--r); overflow: hidden; background: var(--tela-bar); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.75); }
.pilha-tela img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pilha-tela:nth-child(1) { left: 0; top: 0; }
.pilha-tela:nth-child(2) { left: 7%; top: 10%; }
.pilha-tela:nth-child(3) { left: 14%; top: 20%; }
.pilha-tela:nth-child(4) { left: 21%; top: 30%; }
.pilha-tela:nth-child(5) { left: 28%; top: 40%; }
.hero .sub { color: var(--text-2); font-size: clamp(17px, 1.6vw, 19px); max-width: 64ch; margin-top: 20px; }
.hero-acoes { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.prova { margin-top: 18px; color: var(--text-3); font-size: 15px; max-width: 64ch; }
.h-fluxo { font-size: 15px; font-family: var(--mono); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-top: 56px; }
.fluxo { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 14px; counter-reset: passo; }
.fluxo li { min-width: 0; }
.fluxo a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--acc); border-radius: var(--r); text-decoration: none; transition: border-color 200ms var(--ease); }
.fluxo a:hover { border-color: var(--line-strong); border-top-color: var(--acc); }
.fluxo .passo { font: 500 12px/1 var(--mono); color: var(--acc); }
.fluxo b { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.fluxo span:last-child { color: var(--text-2); font-size: 14px; line-height: 1.45; }

/* ---------- produtos ---------- */
.produtos { padding: 80px 0 40px; }
.produtos h2, .integracoes h2, .perguntas h2, .contato h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
.produto { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); }
.produto:first-of-type { margin-top: 16px; }
.produto:last-of-type { border-bottom: 0; }
.produto-texto { min-width: 0; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.produto .rotulo { color: var(--acc); }
.produto h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; }
.produto .linha { font-size: 18px; color: var(--text); }
.produto ul { display: grid; gap: 8px; color: var(--text-2); }
.produto li { position: relative; padding-left: 18px; }
.produto li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 8px; height: 2px; background: var(--acc); }
.produto .btn { margin-top: 6px; }
.tela { margin: 0; min-width: 0; border: 1px solid var(--line-strong); border-radius: var(--r); overflow: hidden; background: var(--tela-bar); box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.7); }
.tela-barra { height: 26px; display: flex; align-items: center; gap: 6px; padding: 0 10px; border-bottom: 1px solid var(--line-strong); }
.tela-barra i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.tela-barra i:first-child { background: var(--acc); }
.tela img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* ---------- integrações ---------- */
.integracoes { padding: 64px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.duas { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.integracoes p { color: var(--text-2); margin-top: 14px; max-width: 58ch; font-size: 17px; }
.sistemas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sistemas li { padding: 16px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--card); font-weight: 600; }

/* ---------- perguntas ---------- */
.perguntas { padding: 72px 0; }
.faq { margin-top: 24px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:nth-child(odd) { background: var(--surface); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 16px; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font: 500 20px/1 var(--mono); color: var(--text-3); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 16px 18px; color: var(--text-2); max-width: 72ch; }

/* ---------- contato (faixa invertida) ---------- */
.contato { padding: 72px 0; background: var(--inv-bg); color: var(--inv-text); }
.contato .rotulo { color: var(--inv-text-2); }
.contato-texto p { color: var(--inv-text-2); margin-top: 14px; font-size: 17px; max-width: 46ch; }
.canais { margin-top: 28px; display: grid; gap: 14px; }
.canais li { display: grid; gap: 2px; }
.canais a { font-size: 20px; font-weight: 600; text-decoration: none; }
.canais a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contato .btn-pri { background: var(--inv-text); color: var(--inv-bg); }
.contato .btn-pri:hover { background: var(--inv-text-2); }
.form { display: grid; gap: 14px; min-width: 0; }
.campos-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.campo { display: grid; gap: 6px; min-width: 0; }
.campo span { font: 500 12px/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--inv-text-2); }
.campo em { font-style: normal; text-transform: none; letter-spacing: 0; opacity: 0.8; }
.campo input, .campo select, .campo textarea { width: 100%; min-height: 44px; padding: 10px 12px; border-radius: var(--r); border: 1px solid var(--inv-field-line); background: var(--inv-field); color: var(--inv-text); font: 400 16px/1.4 var(--sans); }
.campo textarea { resize: vertical; min-height: 88px; }
.campo select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23857e77' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 14px; padding-right: 36px; }
.campo input[aria-invalid="true"] { border-color: var(--inv-bad); }
.mel { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn { justify-self: start; min-width: 160px; }
.erro { color: var(--inv-bad); font-weight: 600; }
.enviado { font-weight: 600; }
.form[data-estado="enviado"] .campo, .form[data-estado="enviado"] .campos-2, .form[data-estado="enviado"] > .btn { display: none; }

/* ---------- rodapé ---------- */
.rodape { padding: 48px 0 calc(48px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.rodape-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.rodape-marca { font-weight: 600; font-size: 18px; }
.rodape-produtos { margin-top: 12px; display: grid; gap: 6px; color: var(--text-2); }
.rodape a { text-decoration: none; }
.rodape a:hover { text-decoration: underline; text-underline-offset: 4px; }
.rodape-dir { display: grid; gap: 8px; color: var(--text-2); align-content: start; }

/* ---------- telas menores ---------- */
@media (max-width: 1080px) {
  .fluxo { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pilha { max-width: 560px; }
  .produto { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .duas { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .secoes { flex: 0 1 auto; }
  .secoes-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: var(--r); border: 1px solid var(--line-strong); background: transparent; color: var(--text); font: 500 15px/1 var(--sans); cursor: pointer; }
  .secoes-btn svg { width: 14px; height: 14px; }
  .secoes ul { display: none; position: absolute; left: 0; top: calc(100% + 8px); min-width: 220px; flex-direction: column; background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--r); padding: 6px; box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.6); }
  .secoes.aberto ul { display: flex; }
  .secoes a { display: block; padding: 10px 12px; color: var(--text); }
}
@media (max-width: 640px) {
  .topo-in { gap: 10px; }
  .marca span { display: none; }
  .btn-topo { padding: 0 10px; font-size: 13px; }
  .hero { padding: 36px 0 48px; }
  .fluxo { grid-template-columns: minmax(0, 1fr); }
  .fluxo a { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 10px; }
  .fluxo span:last-child { flex-basis: 100%; }
  .campos-2, .sistemas { grid-template-columns: minmax(0, 1fr); }
  .form .btn { justify-self: stretch; }
}
@media (max-width: 380px) {
  .btn-topo { display: none; }
}
