/* ==========================================================================
   Sysmark Vision TI - site institucional
   Paleta derivada da identidade visual (azul-marinho + azul elétrico)
   ========================================================================== */

:root {
  --bg: #040B1F;
  --bg-2: #061430;
  --surface: #0A1A3A;
  --surface-2: #0E2249;
  --line: #16305A;
  --line-strong: #1F4A8A;
  --text: #EAF2FF;
  --muted: #9AB0CC;
  --muted-2: #6F86A6;
  --primary: #1468F0;
  --accent: #2EA8FF;
  --accent-2: #5FD8FF;
  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 16px;
  --container: 1200px;
  --header-h: 80px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-head); margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--primary); color: #fff; padding: 10px 14px; border-radius: 8px;
  text-decoration: none; font-weight: 600; transition: top .2s;
}
.skip:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

/* Fundo ------------------------------------------------------------------ */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(46, 168, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 168, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, transparent 70vh);
          mask-image: linear-gradient(to bottom, #000 0, transparent 70vh);
}
.ambient {
  position: fixed; z-index: -1; pointer-events: none;
  width: 560px; height: 560px; border-radius: 50%;
  filter: blur(130px); opacity: .16;
}
.ambient-1 { background: #0A7CFF; right: -200px; top: -160px; }
.ambient-2 { background: #1140E0; left: -260px; top: 55%; }

/* Cabeçalho ------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 20;
  height: var(--header-h);
  background: rgba(4, 11, 31, .72);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.header.scrolled { border-bottom-color: var(--line); background: rgba(4, 11, 31, .88); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 54px; width: auto; }
.brand-foot img { height: 140px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color .2s;
}
.nav a:hover { color: var(--text); }
.nav-cta {
  color: var(--text) !important;
  border: 1px solid var(--line-strong); padding: 10px 18px; border-radius: 10px;
  transition: border-color .2s, background .2s;
}
.nav-cta:hover { border-color: var(--accent); background: rgba(46, 168, 255, .08); }

.menu-btn {
  display: none; width: 44px; height: 44px; padding: 10px;
  background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px;
}
.menu-btn span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Tipografia de seção --------------------------------------------------- */
.eyebrow, .kicker {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--accent); font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
}
.eyebrow::before, .kicker::before { content: ""; width: 28px; height: 1px; background: var(--accent); }

h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.06; letter-spacing: -.03em; font-weight: 600; margin: 22px 0 20px; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -.025em; font-weight: 600; margin: 18px 0 0; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.grad, h2 em {
  font-style: normal;
  background: linear-gradient(92deg, #2E8FFF, #5FD8FF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { color: var(--muted); font-size: 18px; max-width: 600px; }

/* Botões ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 10px; font-weight: 600; font-size: 15px;
  text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(100deg, #0E62F0, #1FA7FF);
  box-shadow: 0 10px 30px rgba(20, 120, 255, .28);
}
.btn-primary:hover { box-shadow: 0 14px 36px rgba(20, 120, 255, .4); }
.btn-ghost { color: var(--text); border: 1px solid var(--line-strong); background: rgba(10, 26, 58, .4); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-block { width: 100%; }

/* Hero ------------------------------------------------------------------ */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; min-height: min(calc(100vh - var(--header-h) - 40px), 720px); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 44px; }
.trust { display: flex; flex-wrap: wrap; gap: 28px 40px; border-top: 1px solid var(--line); padding-top: 26px; }
.trust li { display: flex; flex-direction: column; gap: 4px; }
.trust strong { font-family: var(--font-head); color: var(--accent-2); font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.trust span { font-size: 13px; color: var(--muted-2); max-width: 190px; line-height: 1.4; }

.hero-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 520px; }
.hero-art img {
  width: min(520px, 92%); position: relative; z-index: 2;
  filter: drop-shadow(0 0 70px rgba(46, 168, 255, .32));
}
.orbit {
  position: absolute; border-radius: 50%; border: 1px dashed rgba(46, 168, 255, .35);
  animation: spin 60s linear infinite;
}
.orbit-1 { width: 600px; height: 600px; }
.orbit-2 { width: 700px; height: 700px; border-style: solid; border-color: rgba(46, 168, 255, .12); animation-direction: reverse; animation-duration: 90s; }
.orbit::after {
  content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px;
  margin-left: -5px; border-radius: 50%; background: var(--accent-2);
  box-shadow: 0 0 16px var(--accent-2);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Seções ---------------------------------------------------------------- */
.section { padding: 110px 0; }
.section-alt { background: linear-gradient(180deg, rgba(6, 20, 48, 0) 0, var(--bg-2) 18%, var(--bg-2) 82%, rgba(6, 20, 48, 0) 100%); }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: end; margin-bottom: 52px; }
.section-head > p { color: var(--muted); font-size: 17px; max-width: 520px; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head.center .kicker { justify-content: center; }

/* Cards de soluções ------------------------------------------------------ */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 30px 26px 32px;
  background: linear-gradient(160deg, var(--surface), rgba(10, 26, 58, .55));
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 24px 60px rgba(0, 20, 70, .45); }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  color: var(--accent-2);
  background: linear-gradient(145deg, rgba(46, 168, 255, .18), rgba(20, 104, 240, .08));
  border: 1px solid rgba(46, 168, 255, .25);
  margin-bottom: 8px;
}
.card-icon svg { width: 28px; height: 28px; }
.tag {
  align-self: flex-start; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); background: rgba(46, 168, 255, .1); border: 1px solid rgba(46, 168, 255, .2);
  padding: 5px 10px; border-radius: 999px;
}
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }

/* Como trabalhamos -------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.steps li { padding: 32px 28px; background: rgba(10, 26, 58, .45); border-right: 1px solid var(--line); }
.steps li:last-child { border-right: 0; }
.step-num { display: block; font-family: var(--font-head); color: var(--accent); font-weight: 600; font-size: 13px; letter-spacing: .2em; margin-bottom: 14px; }
.steps h3 { font-size: 18px; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 14.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chips li {
  font-size: 13px; font-weight: 500; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px;
  background: rgba(10, 26, 58, .35);
}

/* Sobre ------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.about-grid h2 { margin-bottom: 20px; }
.about-grid p + p { margin-top: 16px; }
.about-grid > div > p { color: var(--muted); font-size: 17px; }
.panel {
  padding: 36px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 30, 90, .25);
}
.panel-title { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.checklist li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font-weight: 500; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(46, 168, 255, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235FD8FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
  border: 1px solid rgba(46, 168, 255, .35);
}

/* Parceiros --------------------------------------------------------------- */
.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 20px; }
.partner {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  padding: 40px 28px; text-decoration: none; color: var(--text);
  background: linear-gradient(160deg, var(--surface), rgba(10, 26, 58, .5));
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.partner:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 24px 60px rgba(0, 20, 70, .45); }
.partner-role { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.partner strong { font-family: var(--font-head); font-size: 30px; letter-spacing: .14em; font-weight: 700; margin-top: 6px; }
.partner-desc { color: var(--muted); font-size: 14px; }
.partner-note { color: var(--muted-2); font-size: 13px; margin-top: 8px; }

/* Contato ----------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.contact-grid h2 { margin-bottom: 18px; }
.contact-grid > div > p { color: var(--muted); font-size: 17px; max-width: 520px; }
.contact-card .btn { font-size: 15px; word-break: break-all; }
.contact-info { margin: 26px 0 0; }
.contact-info div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.contact-info dt { color: var(--muted-2); font-weight: 500; }
.contact-info dd { margin: 0; color: var(--text); font-weight: 500; }
.contact-info dd a { color: var(--text); text-decoration: none; }
.contact-info dd a:hover { color: var(--accent); }

/* Rodapé ------------------------------------------------------------------ */
.footer { border-top: 1px solid var(--line); padding: 34px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.footer-tagline { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.footer small { font-size: 12px; color: var(--muted-2); }

/* Animação de entrada ----------------------------------------------------- */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease var(--d, 0s), transform .6s ease var(--d, 0s); }
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .orbit { animation: none; }
  .btn:hover, .card:hover, .partner:hover { transform: none; }
}

/* Responsivo -------------------------------------------------------------- */
@media (max-width: 1080px) {
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(2) { border-right: 0; }
  .steps li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero-art { min-height: 440px; }
  .hero-art img { width: min(420px, 92%); }
  .orbit-1 { width: 480px; height: 480px; }
  .orbit-2 { width: 560px; height: 560px; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .menu-btn { display: flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px 20px 22px; background: rgba(4, 11, 31, .97);
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; font-size: 16px; border-radius: 8px; }
  .nav-cta { text-align: center; margin-top: 8px; }
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 24px; }
  .hero-art { order: -1; min-height: 0; margin: 0 auto 8px; }
  .hero-art img { width: min(300px, 70%); }
  .orbit-1 { width: 340px; height: 340px; }
  .orbit-2 { width: 400px; height: 400px; }
  .section { padding: 80px 0; }
  .section-head, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .partners { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(var(--container), 100% - 32px); }
  .brand img { height: 44px; }
  .brand-foot img { height: 120px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps li:last-child { border-bottom: 0; }
  .actions .btn { width: 100%; }
  .trust { gap: 18px 28px; }
  .panel { padding: 28px 22px; }
  .partner strong { font-size: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .eyebrow, .kicker { font-size: 11px; letter-spacing: .16em; }
}
