/* Usometria — landing (dark). Sem framework; CSP: somente 'self', sem estilos inline. */
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --ink: #0b1220;
  --ink-2: #0e1729;
  --surface: #111a2b;
  --line: #1c2839;
  --line-2: #283750;
  --text: #f8fafc;
  --text-2: #b4c0d2;
  --muted: #94a3b8;
  --blue: #2563eb;
  --blue-2: #3b82f6;
  --cyan: #06b6d4;
  --wrap: 1160px;
  color-scheme: dark;
  font: 16px/1.6 "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-feature-settings: "cv11" 1, "ss01" 1;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--ink); color: var(--text); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2 { margin: 0; letter-spacing: -.025em; font-weight: 700; }
p { margin: 0; }
b { font-weight: 600; color: var(--text); }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ------------------------------------------------------------ navegação */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 18, 32, .78); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid rgba(40, 55, 80, .5); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; letter-spacing: .17em; font-size: 15px; }
.menu { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.menu a { text-decoration: none; color: var(--text-2); transition: color .2s; }
.menu a:hover { color: var(--text); }
.menu .btn { color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 8px; padding: 7px 12px; font: inherit; font-size: 14px; cursor: pointer; }

/* ------------------------------------------------------------ botões */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 10px; font-weight: 550; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: background .2s, border-color .2s, transform .2s; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px -10px rgba(37, 99, 235, .7); }
.btn-primary:hover { background: var(--blue-2); }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: #3a4d6d; background: rgba(255, 255, 255, .03); }
.btn span { transition: transform .2s; }
.btn:hover span { transform: translateX(3px); }

/* ------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding: 112px 0 56px; border-bottom: 1px solid var(--line); isolation: isolate;
  background: radial-gradient(900px 520px at 78% 38%, rgba(37, 99, 235, .16), transparent 65%), radial-gradient(600px 400px at 95% 70%, rgba(6, 182, 212, .08), transparent 70%); }
.waves { position: absolute; z-index: -1; right: -8%; top: 0; width: 72%; height: 100%; }
.w { transform-origin: center; }
.hero-in { max-width: 640px; margin-left: max(20px, calc((100% - var(--wrap)) / 2)); margin-right: auto; width: auto; }
.eyebrow { font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); margin-bottom: 26px; }
h1 { font-size: clamp(44px, 7.4vw, 88px); line-height: 1.02; letter-spacing: -.04em; }
.lead { margin-top: 26px; font-size: clamp(17px, 1.8vw, 20px); line-height: 1.55; color: var(--text-2); max-width: 560px; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin-top: 104px; padding-top: 28px; border-top: 1px solid var(--line); }
.strip li { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); line-height: 1.4; }
.strip b { display: block; color: var(--text); font-weight: 550; }
.strip svg { flex: none; width: 30px; height: 30px; fill: none; stroke: var(--blue-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------ seções */
.sec { padding: clamp(80px, 11vw, 140px) 0; border-bottom: 1px solid var(--line); }
.sec h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; max-width: 860px; }
.kicker { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; }
.sub { margin-top: 22px; font-size: 18px; color: var(--text-2); max-width: 720px; }
.note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.note a { color: var(--text-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.split-top { margin-top: 48px; align-items: center; grid-template-columns: .9fr 1.1fr; }
.prose { display: grid; gap: 18px; font-size: 18px; color: var(--text-2); }
.prose .em { color: var(--text); font-weight: 500; }
.quote { margin-top: 44px; font-size: clamp(24px, 3vw, 34px); font-weight: 600; letter-spacing: -.02em;
  background: linear-gradient(90deg, #fff 20%, #7fc3ff 60%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ------------------------------------------------------------ produto (screenshots reais) */
.produto { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }
.shot { margin: 0; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: #0d1526;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02), 0 30px 120px -60px rgba(37, 99, 235, .45); }
.shot-main { margin-top: 56px; }
.frame { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: #0f1a2d; }
.frame i { width: 10px; height: 10px; border-radius: 50%; background: #25324a; }
.frame span { margin-left: 12px; font-size: 12px; color: var(--muted); }
.shot img { width: 100%; height: auto; }

/* ------------------------------------------------------------ ligada ≠ utilizada */
.metrics { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px clamp(36px, 7vw, 96px); margin-top: 52px; }
.m-l { display: flex; align-items: center; gap: 9px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.m-v { display: block; font-size: clamp(40px, 5.6vw, 68px); font-weight: 650; letter-spacing: -.035em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.m-s { display: block; font-size: 14px; color: var(--muted); }
.sw { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.sw-use { background: var(--blue); }
.sw-idle { background: #3a4a64; }
.day { margin-top: 40px; width: 100%; height: auto; }
.d-off { fill: #141f33; }
.d-idle { fill: #2a3950; }
.d-use { fill: var(--blue); }
.d-ax text { fill: var(--muted); font-size: 13px; font-family: inherit; }

/* ------------------------------------------------------------ pessoas × máquinas */
.rds { margin: 0; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, #0f192c, #0c1424); }
.rds-k { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 26px; }
.rds-k .m-v { font-size: clamp(34px, 4vw, 48px); }
.r-srv { fill: var(--blue); }
.r-lanes rect { fill: var(--cyan); fill-opacity: .8; }
.r-lanes rect:nth-child(even) { fill-opacity: .55; }
.rds svg .d-ax text { font-size: 12px; }
.rds figcaption { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ------------------------------------------------------------ contexto */
.cats { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 44px 0 0; }
.cats li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 15px; background: rgba(255, 255, 255, .015); }
.cats i { width: 10px; height: 10px; border-radius: 50%; }
.c1 { background: #3987e5; } .c2 { background: #199e70; } .c3 { background: #9085e9; }
.c4 { background: #d95926; } .c5 { background: #7c8594; } .c6 { background: #4b5360; }

/* ------------------------------------------------------------ simultaneidade */
.sim { margin-top: 52px; width: 100%; height: auto; overflow: visible; }
.s-l { fill: var(--text); font-size: 17px; font-weight: 600; font-family: inherit; }
.s-s { fill: var(--muted); font-size: 13px; font-family: inherit; }
.s-v { fill: var(--text-2); font-size: 14px; font-weight: 600; font-family: inherit; }
.s-big { fill: var(--text); font-size: 22px; font-weight: 700; font-family: inherit; }
.s-work { fill: #3987e5; }
.s-fg { fill: #d95926; }
.s-media { fill: #2a1a14; }
.h-fg { fill: #d95926; fill-opacity: .75; }
.s-rule { stroke: var(--line-2); stroke-width: 1.5; }

/* ------------------------------------------------------------ saúde */
.states { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 6px 0 0; font-size: 15px; color: var(--text); }
.states li { display: inline-flex; align-items: center; gap: 9px; }
.states i { width: 9px; height: 9px; border-radius: 50%; }
.st-ok { background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .14); }
.st-warn { background: #eab308; box-shadow: 0 0 0 4px rgba(234, 179, 8, .12); }
.st-bad { background: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, .12); }
.st-off { background: #71809a; }

/* ------------------------------------------------------------ privacidade */
.nots { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.nots li { padding: 20px 0; border-bottom: 1px solid var(--line); font-size: clamp(20px, 2.2vw, 26px); font-weight: 500; letter-spacing: -.01em; color: var(--text-2); }
.nots b { color: var(--cyan); font-weight: 600; margin-right: 6px; }

/* ------------------------------------------------------------ como funciona */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; padding: 0; margin: 56px 0 0; counter-reset: s; }
.steps li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 26px 30px 0; border-top: 1px solid var(--line-2); }
.steps li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(37, 99, 235, .18); }
.steps li:last-child::before { background: var(--cyan); box-shadow: 0 0 0 5px rgba(6, 182, 212, .18); }
.steps .n { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.steps b { font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }
.steps span:not(.n) { color: var(--text-2); font-size: 15px; }
.steps em { margin-top: auto; padding-top: 10px; font-style: normal; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }

/* ------------------------------------------------------------ CTA / rodapé */
.cta { text-align: center; background: radial-gradient(700px 360px at 50% 0%, rgba(37, 99, 235, .18), transparent 70%); }
.cta h2, .cta .sub { margin-inline: auto; }
.cta .ctas { justify-content: center; }
.foot { padding: 56px 0 36px; font-size: 14px; color: var(--muted); }
.foot-in { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.foot-in p { margin-top: 12px; }
.foot ul { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; margin: 0; padding: 0; }
.foot ul a { text-decoration: none; color: var(--text-2); }
.foot ul a:hover { color: var(--text); }
.copy { margin-top: 40px; font-size: 13px; }

/* ------------------------------------------------------------ movimento (só com JS e sem preferência por menos movimento) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.in { opacity: 1; transform: none; }
  .w1 { animation: drift 14s ease-in-out infinite alternate; }
  .w2 { animation: drift 18s ease-in-out infinite alternate-reverse; }
  @keyframes drift { from { transform: translate3d(0, -10px, 0); } to { transform: translate3d(-24px, 12px, 0); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ------------------------------------------------------------ responsivo */
@media (max-width: 960px) {
  .split, .split-top { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr 1fr; margin-top: 72px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 12px; }
  .waves { width: 100%; right: -30%; opacity: .55; }
}
@media (max-width: 720px) {
  .waves { opacity: .32; }
}
@media (max-width: 720px) {
  .menu-btn { display: inline-block; }
  .menu { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; background: var(--ink); border-bottom: 1px solid var(--line); }
  .menu.open { display: flex; }
  .menu li a { display: block; padding: 12px 0; }
  .menu .btn { justify-content: center; margin-top: 8px; }
  .hero { padding-top: 72px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metrics > div:first-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr; gap: 16px; }
  .rds { padding: 20px; }
}

/* ------------------------------------------------------------ problema: microindicadores */
.micro { display: flex; flex-wrap: wrap; gap: 20px 40px; list-style: none; padding: 0; margin: 44px 0 0; }
.micro li { display: grid; gap: 8px; min-width: 128px; }
.mi-l { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--text); }
.mi-bar { width: 120px; height: 14px; }
.mi-s { font-size: 13px; color: var(--muted); }
.mb-t { fill: #283750; }
.mb-u { fill: var(--blue); }
.mb-i { fill: #52627c; }

/* ------------------------------------------------------------ software: aplicações */
.split-mid { align-items: center; }
.prose-gap { margin-top: 22px; }
.apps { margin: 0; padding: 22px 24px 18px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, #0f192c, #0c1424); }
.apps table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.apps caption { text-align: left; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-bottom: 14px; }
.apps th, .apps td { padding: 10px 0; border-top: 1px solid var(--line); text-align: left; font-weight: 450; color: var(--text-2); }
.apps thead th { border-top: 0; padding-top: 0; font-size: 12px; color: var(--muted); }
.apps tbody th { color: var(--text); font-weight: 550; white-space: nowrap; padding-right: 16px; }
.apps tbody th i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 10px; vertical-align: 1px; }
.apps .r { text-align: right; padding-left: 16px; }
.apps .bar-c { width: 38%; }
.apps .bar-c svg { width: 100%; height: 6px; }
.apps .bt { fill: #1a2640; }
.apps .bf { fill: #3987e5; }
.apps figcaption { margin-top: 12px; font-size: 12.5px; color: var(--muted); }

/* ------------------------------------------------------------ CTA: ondas da identidade */
.cta { position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(700px 360px at 50% 0%, rgba(37, 99, 235, .18), transparent 70%),
              radial-gradient(900px 300px at 50% 105%, rgba(6, 182, 212, .10), transparent 70%); }
.cta-waves { position: absolute; z-index: -1; left: 0; bottom: 0; width: 100%; height: 100%; opacity: .55; }

@media (prefers-reduced-motion: no-preference) {
  .cta-waves g { animation: drift 20s ease-in-out infinite alternate; }
}
@media (max-width: 720px) {
  .micro { gap: 18px 28px; }
  .apps { padding: 18px 16px 14px; }
  .apps .bar-c { display: none; }
  .cta-waves { opacity: .3; }
}
