/* ==========================================================================
   DIGITAL SPACE TECH — Identidade "Orbital Grid"
   B2B de tecnologia · azul-escuro/azul/branco/neutros · sóbrio e moderno
   Fontes carregadas via <link> no <head>.
   ========================================================================== */

:root {
  --ink:        #0B1B2B;  /* azul quase preto — texto forte / superfícies escuras */
  --deep:       #12314F;  /* azul profundo */
  --blue:       #2563A8;  /* azul de sinal (acento) */
  --blue-soft:  #4C86C9;  /* azul claro para hover/detalhe */
  --white:      #FFFFFF;
  --mist:       #EEF1F5;  /* névoa neutra — fundos de seção */
  --mist-2:     #F6F8FB;
  --hairline:   #DCE2EA;
  --muted:      #56657A;  /* texto secundário */
  --faint:      #8593A5;  /* captions */

  --display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1120px;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(11,27,43,.05), 0 4px 16px rgba(11,27,43,.05);
  --shadow-md: 0 10px 40px rgba(11,27,43,.10);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* Base -------------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }

/* Shared type ------------------------------------------------------------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 18px;
}
.eyebrow-line { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow-line::before {
  content: ""; width: 28px; height: 1px; background: var(--blue); opacity: .6;
}
.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.14;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0;
  max-width: 20ch;
}

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.01em;
  padding: 13px 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s var(--ease), background .2s, border-color .2s, color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-block { width: 100%; }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand-mark { color: var(--blue); display: inline-flex; }
.brand-text {
  font-family: var(--display); font-weight: 700; font-size: 18px;
  letter-spacing: -.02em; color: var(--ink);
}
.brand-accent { color: var(--blue); }

.site-nav { display: flex; gap: 28px; margin-left: auto; }
.site-nav a {
  font-size: 15px; font-weight: 500; color: var(--muted);
  position: relative; padding: 4px 0;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--blue); transition: width .22s var(--ease);
}
.site-nav a:hover::after { width: 100%; }

.header-cta { padding: 9px 18px; font-size: 14px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 6px; margin-left: auto;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--mist-2) 100%);
  border-bottom: 1px solid var(--hairline);
}
.hero-field { position: absolute; inset: 0; z-index: 0; }
.hero-grid { width: 100%; height: 100%; }
.orbit-group { transform-origin: 600px 300px; animation: spin 46s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.node { fill: var(--blue); }
.node-a { animation: pulse-node 3.4s ease-in-out infinite; }
.node-b { fill: var(--blue-soft); animation: pulse-node 3.4s ease-in-out infinite .8s; }
@keyframes pulse-node {
  0%,100% { opacity: .55; r: 3; } 50% { opacity: 1; }
}

.hero-inner {
  position: relative; z-index: 1;
  padding: clamp(88px, 15vh, 150px) 0 clamp(80px, 12vh, 120px);
  max-width: 760px;
}
.hero-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.05;
  letter-spacing: -.035em;
  color: var(--ink);
  margin: 0 0 22px;
}
.hero-sub {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--muted);
  max-width: 54ch;
  margin: 0 0 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Sections base ----------------------------------------------------------- */
.section { padding: clamp(64px, 10vw, 104px) 0; }
.section-head { margin-bottom: 52px; }

/* Empresa ----------------------------------------------------------------- */
.section-company { background: var(--white); }
.company-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.company-lead { position: sticky; top: 96px; }
.company-body p { color: var(--muted); margin: 0 0 20px; font-size: 17px; }
.company-marks {
  list-style: none; padding: 0; margin: 30px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.company-marks li span {
  display: inline-block;
  font-family: var(--mono); font-size: 13px; letter-spacing: .02em;
  color: var(--deep);
  padding: 7px 14px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--mist-2);
}

/* Soluções ---------------------------------------------------------------- */
.section-solutions { background: var(--mist); }
.cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37,99,168,.35);
}
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--ink); color: #fff; margin-bottom: 22px;
}
.card:hover .card-icon { background: var(--blue); }
.card-title {
  font-family: var(--display); font-weight: 600; font-size: 20px;
  letter-spacing: -.01em; color: var(--ink); margin: 0 0 10px;
}
.card-text { color: var(--muted); margin: 0; font-size: 15.5px; }

/* Princípios -------------------------------------------------------------- */
.section-principles { background: var(--ink); color: #fff; }
.section-principles .eyebrow { color: var(--blue-soft); }
.section-principles .eyebrow-line::before { background: var(--blue-soft); }
.section-principles .section-title { color: #fff; }
.principles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  overflow: hidden;
}
.principle {
  background: var(--ink);
  padding: 30px 28px;
}
.principle-key {
  display: block;
  font-family: var(--display); font-weight: 600; font-size: 18px;
  color: #fff; margin-bottom: 10px;
}
.principle-key::before {
  content: ""; display: inline-block; width: 7px; height: 7px;
  background: var(--blue-soft); border-radius: 2px; transform: rotate(45deg);
  margin-right: 10px; vertical-align: middle;
}
.principle p { color: rgba(255,255,255,.66); margin: 0; font-size: 15px; }

/* Contato ----------------------------------------------------------------- */
.section-contact { background: var(--mist-2); }
.contact-copy { color: var(--muted); font-size: 17px; margin: 0 0 28px; max-width: 62ch; }

.contact-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 26px;
}
.contact-channel {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}
.channel-label {
  display: block;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
}
.channel-mail {
  display: block;
  font-family: var(--mono);
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  word-break: break-word;
}
.contact-hint {
  color: var(--faint);
  font-size: 14.5px;
  margin: 0;
  border-top: 1px solid var(--hairline);
  padding-top: 18px;
}

/* Política de Privacidade -------------------------------------------------- */
.section-privacy { background: var(--white); }
.privacy-intro { color: var(--muted); font-size: 17px; max-width: 72ch; margin: 0 0 34px; }
.policy-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}
.policy-item {
  background: var(--mist-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.policy-title {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 10px;
}
.policy-item p { color: var(--muted); font-size: 15.5px; margin: 0 0 10px; }
.policy-item p:last-child { margin-bottom: 0; }
.policy-item ul { list-style: none; padding: 0; margin: 0; }
.policy-item li {
  color: var(--muted); font-size: 15.5px;
  padding-left: 20px; position: relative; margin-bottom: 8px;
}
.policy-item li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; background: var(--blue);
  border-radius: 2px; transform: rotate(45deg);
}
.policy-item li:last-child { margin-bottom: 0; }
.policy-updated {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--faint);
  margin: 30px 0 0;
}

/* Rodapé ------------------------------------------------------------------ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); }
.footer-inner {
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding: 56px 0 30px;
}
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-accent { color: var(--blue-soft); }
.footer-tag { color: rgba(255,255,255,.55); font-size: 14px; margin: 10px 0 0; }
.footer-meta { max-width: 420px; text-align: right; }
.footer-legal { font-size: 13.5px; color: rgba(255,255,255,.5); margin: 0 0 12px; line-height: 1.6; }
.footer-links a { color: rgba(255,255,255,.72); font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-links span { color: rgba(255,255,255,.3); margin: 0 8px; }
.footer-base {
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 20px 0 30px;
}
.footer-base p { margin: 0; font-family: var(--mono); font-size: 12.5px; color: rgba(255,255,255,.42); }

/* Responsivo -------------------------------------------------------------- */
@media (max-width: 880px) {
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .site-nav {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--hairline); padding: 8px 0;
  }
  .site-header.nav-open .site-nav a { padding: 13px clamp(20px,5vw,48px); }
  .company-grid { grid-template-columns: 1fr; }
  .company-lead { position: static; }
  .cards { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; }
}
@media (max-width: 520px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
}
