/* Omni-s | Med — landing page
   Design: minimalismo sóbrio (grafite/chumbo/branco) + acentos azul→ciano da marca. */

:root {
  --ink:        #0e1013;
  --ink-2:      #1a1d22;
  --ink-3:      #2a2e35;
  --line:       #2f343c;
  --muted:      #8a9099;
  --muted-2:    #b3b8bf;
  --paper:      #f5f5f3;
  --paper-2:    #ebebe7;

  /* brand accents — extraídos do logo */
  --brand-blue:  #1538d4;
  --brand-cyan:  #00d4ff;
  --brand-grad:  linear-gradient(90deg, var(--brand-blue) 0%, #2c7df0 45%, var(--brand-cyan) 100%);

  --max: 1180px;
  --ease-out: cubic-bezier(.16,1,.3,1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
p { margin: 0 0 18px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }

/* ---------- AMBIENT BACKGROUND ---------- */

.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(14,16,19,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,16,19,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.7), transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.7), transparent 75%);
}

/* ---------- SCROLL PROGRESS ---------- */

.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 100%;
  background: var(--brand-grad);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 100;
  transition: transform .08s linear;
  box-shadow: 0 0 12px rgba(0,212,255,.6);
}

/* ---------- HEADER ---------- */

.site-header {
  border-bottom: 1px solid rgba(0,0,0,.08);
  background: rgba(245,245,243,.85);
  position: sticky; top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .3s var(--ease-out);
}
.brand:hover { transform: translateY(-1px); }
.brand-logo {
  height: 20px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 0 transparent);
  transition: filter .35s ease, transform .35s ease;
}
.brand:hover .brand-logo {
  filter: drop-shadow(0 0 14px rgba(0,212,255,.55));
}
.brand-sep { color: var(--muted); font-weight: 300; font-size: 18px; }
.brand-sub { color: var(--ink-2); font-weight: 400; font-size: 16px; letter-spacing: .04em; }

.meta-nav {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
  display: flex;
  gap: 10px;
}
.meta-nav .dot { opacity: .5; }

.cta-ghost {
  font-size: 13px;
  letter-spacing: .04em;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  transition: color .3s ease;
}
.cta-ghost::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out);
  z-index: -1;
}
.cta-ghost:hover { color: var(--paper); }
.cta-ghost:hover::before { transform: scaleX(1); }

/* ---------- BUTTONS ---------- */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 16px 26px;
  border: 1px solid var(--ink);
  position: relative;
  overflow: hidden;
  transition: color .35s ease, transform .25s var(--ease-out);
}
.btn-primary::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--brand-grad);
  transform: translateX(-101%);
  transition: transform .45s var(--ease-out);
}
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }
.btn-primary svg { transition: transform .35s var(--ease-out); }
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); }
.btn-primary:hover svg { transform: translateX(4px); }

/* ---------- REVEAL ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }

/* ---------- HERO ---------- */

.hero {
  padding: 110px 0 130px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 80px;
  align-items: center;
}

.eyebrow, .section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.dot-live {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 0 0 rgba(0,212,255,.7);
  animation: livePulse 2.2s ease-out infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,212,255,.65); }
  70%  { box-shadow: 0 0 0 12px rgba(0,212,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,212,255,0); }
}

.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -.02em;
  font-weight: 600;
  margin: 0 0 36px;
  color: var(--ink);
}

.accent {
  font-style: italic;
  font-weight: 500;
  background: var(--brand-grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 8s ease-in-out infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 620px;
  margin: 0 0 24px;
}

.kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink);
  margin: 0 0 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,.12);
  max-width: 560px;
  min-height: 56px;
}
.kicker:not(.done)::after {
  content: "▍";
  color: var(--brand-cyan);
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- LOGO STAGE (hero) ---------- */

.hero-figure { display: flex; justify-content: center; }

.logo-stage {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-halo {
  position: absolute;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,.32), rgba(21,56,212,.18) 40%, transparent 70%);
  filter: blur(40px);
  animation: haloPulse 5s ease-in-out infinite;
}
@keyframes haloPulse {
  0%, 100% { transform: scale(1);   opacity: .9; }
  50%      { transform: scale(1.12); opacity: 1; }
}

.hero-logo {
  position: relative;
  width: 62%;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 8px 30px rgba(0,212,255,.25));
  transition: transform .6s var(--ease-out), filter .35s ease;
  --float-y: 0px;
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { --float-y: -6px; transform: translateY(-6px); }
  50%      { --float-y: 6px;  transform: translateY(6px); }
}

/* Orbiting tags around the logo */
.logo-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orbit-tag {
  position: absolute;
  top: 50%; left: 50%;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ink);
  background: rgba(245,245,243,.85);
  border: 1px solid rgba(14,16,19,.18);
  padding: 5px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  white-space: nowrap;
  transform: translate(-50%, -50%);
  animation: orbit 22s linear infinite;
  animation-delay: calc(var(--i) * -5.5s);
}
@keyframes orbit {
  from { transform: translate(-50%, -50%) rotate(0deg)   translateX(140px) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg) translateX(140px) rotate(-360deg); }
}

/* Data stream — barras descendo */
.data-stream {
  position: absolute;
  right: -8px; top: 0; bottom: 0;
  width: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  opacity: .5;
}
.data-stream span {
  display: block;
  width: 4px;
  height: 12px;
  background: var(--brand-grad);
  border-radius: 2px;
  animation: streamFall 2.4s linear infinite;
}
.data-stream span:nth-child(2) { animation-delay: .4s; }
.data-stream span:nth-child(3) { animation-delay: .8s; }
.data-stream span:nth-child(4) { animation-delay: 1.2s; }
.data-stream span:nth-child(5) { animation-delay: 1.6s; }
@keyframes streamFall {
  0%   { transform: translateY(-40px); opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: translateY(400px); opacity: 0; }
}

/* ---------- LOGO DIVIDER ---------- */

.logo-divider {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo-divider .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,16,19,.18), transparent);
}
.divider-logo {
  height: 16px;
  width: auto;
  opacity: .55;
  filter: grayscale(.2);
  transition: opacity .4s, filter .4s, transform .4s;
}
.divider-logo:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.08);
}

/* ---------- SECTIONS ---------- */

.section {
  padding: 110px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  position: relative;
}

.section h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0 0 28px;
  color: var(--ink);
}
.section h2 em {
  font-style: italic;
  font-weight: 500;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head { max-width: 760px; margin: 0 0 64px; }
.section-head .lede { margin-bottom: 0; }

.emphasis {
  font-weight: 500;
  color: var(--ink);
  border-left: 2px solid;
  border-image: var(--brand-grad) 1;
  padding-left: 18px;
  margin-top: 28px;
}

/* SEÇÃO 1 — PARADIGMA */

.section-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
}
.section-aside { padding-top: 6px; }
.section-aside .section-label { margin: 0 0 24px; display: flex; }
.aside-mark {
  height: 13px;
  width: auto;
  opacity: .55;
  filter: grayscale(.3);
}

.section-body p { color: var(--ink-2); }
.section-body .lede { max-width: 720px; }

/* SEÇÃO 2 — ARQUITETURA */

.arch-steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(0,0,0,.12);
}
.arch-steps li {
  padding: 36px 28px 8px 0;
  border-right: 1px solid rgba(0,0,0,.08);
  position: relative;
  transition: background .35s ease;
}
.arch-steps li:last-child { border-right: none; padding-right: 0; }
.arch-steps li:not(:first-child) { padding-left: 28px; }
.arch-steps li::before {
  content: "";
  position: absolute; left: 0; top: -1px;
  height: 2px; width: 0;
  background: var(--brand-grad);
  transition: width .6s var(--ease-out);
}
.arch-steps li:hover::before { width: 100%; }

.step-id {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--muted);
  margin-bottom: 18px;
  transition: color .3s ease;
}
.arch-steps li:hover .step-id {
  color: var(--brand-blue);
}

.arch-steps h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.005em;
  margin: 0 0 14px;
}
.arch-steps p { color: var(--ink-2); font-size: 15px; }

/* SEÇÃO 3 — SEGURANÇA (dark) */

.section.dark {
  background: var(--ink);
  color: var(--paper);
  border-bottom: none;
  overflow: hidden;
}
.section.dark h2 { color: var(--paper); }
.section.dark .lede { color: var(--muted-2); }
.section.dark .section-label { color: var(--muted-2); }

.watermark {
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 480px;
  max-width: 80vw;
  opacity: .045;
  filter: brightness(1.6);
  pointer-events: none;
  animation: watermarkDrift 30s ease-in-out infinite;
}
@keyframes watermarkDrift {
  0%, 100% { transform: translate(0, 0)     rotate(-3deg); }
  50%      { transform: translate(-30px, -20px) rotate(2deg); }
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.sec-card {
  background: var(--ink);
  padding: 36px 32px;
  transition: background .35s ease, transform .35s ease;
  position: relative;
  overflow: hidden;
}
.sec-card::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--brand-grad);
  transition: width .5s var(--ease-out);
}
.sec-card:hover { background: #14171c; }
.sec-card:hover::after { width: 100%; }

.sec-key {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .2em;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 16px;
  text-transform: uppercase;
}
.sec-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--paper);
}
.sec-card p { color: var(--muted-2); font-size: 15px; margin: 0; }

/* SEÇÃO 4 — DEPOIMENTOS */

.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.quote {
  margin: 0;
  padding: 40px 0 0;
  border-top: 1px solid rgba(0,0,0,.18);
  position: relative;
}
.quote-mark {
  position: absolute;
  top: -10px; left: 0;
  height: 18px;
  width: auto;
  background: var(--paper);
  padding: 0 12px 0 0;
  opacity: .85;
}
.quote blockquote {
  margin: 0 0 24px;
  font-size: 19px;
  line-height: 1.6;
  letter-spacing: -.005em;
  color: var(--ink);
  font-weight: 400;
  font-style: italic;
}
.quote figcaption {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted);
  text-transform: uppercase;
}

/* SEÇÃO 5 — PLANOS */

.plan {
  border: 1px solid var(--ink);
  padding: 56px 56px 48px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--paper);
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s ease;
}
.plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -20px rgba(21,56,212,.18);
}
.plan-glow {
  position: absolute;
  inset: -2px;
  background: var(--brand-grad);
  z-index: -1;
  filter: blur(20px);
  opacity: 0;
  transition: opacity .5s ease;
}
.plan:hover .plan-glow { opacity: .35; }

.plan-logo {
  display: block;
  height: 18px;
  margin: 0 0 18px;
  width: auto;
}

.plan-head { margin-bottom: 36px; }
.plan-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 0 8px;
}
.plan h3 {
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 24px;
  letter-spacing: -.01em;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
}
.plan-price .cur { font-size: 18px; color: var(--muted); font-weight: 500; }
.plan-price .val {
  font-size: 56px; font-weight: 600;
  letter-spacing: -.02em;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.plan-price .per { font-size: 16px; color: var(--muted); }

.plan-features {
  list-style: none;
  margin: 32px 0 40px;
  padding: 0;
  border-top: 1px solid rgba(0,0,0,.12);
}
.plan-features li {
  padding: 16px 0 16px 28px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  position: relative;
  font-size: 15px;
  color: var(--ink-2);
  transition: padding-left .3s ease, color .3s ease;
}
.plan-features li::before {
  content: "→";
  position: absolute;
  left: 0; top: 16px;
  color: var(--brand-blue);
  font-family: 'JetBrains Mono', monospace;
  transition: transform .3s ease, color .3s ease;
}
.plan-features li:hover { padding-left: 36px; color: var(--ink); }
.plan-features li:hover::before { transform: translateX(6px); color: var(--brand-cyan); }

.plan-cta { display: inline-flex; }

/* ---------- FOOTER ---------- */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 96px 0 56px;
  position: relative;
  overflow: hidden;
}
.footer-watermark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 720px;
  max-width: 110vw;
  transform: translate(-50%, -45%);
  opacity: .035;
  filter: brightness(2);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-logo {
  display: block;
  height: 32px;
  width: auto;
  margin: 0 auto 28px;
  filter: drop-shadow(0 0 24px rgba(0,212,255,.25));
}

.float { animation: floatY 6s ease-in-out infinite; }

.motto {
  font-size: 20px;
  margin: 0 0 6px;
  letter-spacing: -.005em;
}
.motto em {
  font-style: italic;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.motto-sub {
  margin: 0;
  font-size: 13px;
  color: var(--muted-2);
  letter-spacing: .04em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  font-size: 13px;
  color: var(--muted-2);
}
.footer-nav a {
  color: var(--paper);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .25s ease, color .25s ease;
}
.footer-nav a:hover {
  border-color: var(--brand-cyan);
  color: var(--brand-cyan);
}
.footer-nav .sep { opacity: .4; }

.copy {
  margin: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 980px) {
  .arch-steps { grid-template-columns: 1fr; }
  .arch-steps li {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,.08);
    padding: 32px 0 32px 0 !important;
  }
  .arch-steps li:last-child { border-bottom: none; }

  .security-grid { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; gap: 32px; }
  .section-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 880px) {
  .site-header .wrap {
    height: auto;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
  }
  .meta-nav { order: 3; width: 100%; justify-content: flex-start; }

  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-figure { order: -1; }
  .logo-stage { max-width: 260px; }
  .orbit-tag { font-size: 10px; }
  @keyframes orbit {
    from { transform: translate(-50%, -50%) rotate(0deg)   translateX(110px) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg) translateX(110px) rotate(-360deg); }
  }

  .section { padding: 72px 0; }
  .section-head { margin-bottom: 48px; }

  .plan { padding: 36px 28px; }
  .plan-price .val { font-size: 44px; }

  .data-stream { display: none; }
}

@media (max-width: 540px) {
  .wrap { padding: 0 20px; }
  .hero h1 br { display: none; }
  .meta-nav { font-size: 11px; letter-spacing: .12em; gap: 6px; }
  .logo-stage { max-width: 220px; }
  .orbit-tag { padding: 4px 8px; }
}

/* ---------- A11Y: reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
