@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-latin.woff2") format("woff2");
}

:root {
  --bg: #0a0c10;
  --surface: #11141a;
  --surface-2: #161a21;
  --border: #20252d;
  --border-strong: #2c323c;
  --text: #e8eaed;
  --muted: #98a0ab;
  --accent: #3b82f6;
  --accent-strong: #2563eb;
  --accent-soft: #60a5fa;
  --violet: #818cf8;
  --mint: #5eead4;
  --radius: 16px;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.container { width: min(1120px, 100% - 48px); margin-inline: auto; }

/* ---------- Cabeçalho ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 12, 16, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.45) 30%, rgba(129, 140, 248, 0.45) 70%, transparent);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
  filter: drop-shadow(0 6px 18px rgba(79, 70, 229, 0.35));
}

.brand-name { font-size: 1.12rem; font-weight: 400; color: var(--muted); letter-spacing: -0.02em; }
.brand-name strong { font-weight: 700; color: var(--text); letter-spacing: -0.01em; }

.nav {
  display: flex;
  gap: 2px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.nav a {
  padding: 6px 16px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 150ms ease-out, background-color 150ms ease-out;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }

.header-chip {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}
.header-chip svg { width: 15px; height: 15px; fill: none; stroke: var(--mint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

a:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; border-radius: 8px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 96px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(50% 70% at 12% 0%, rgba(59, 130, 246, 0.18), transparent 70%),
    radial-gradient(40% 60% at 88% 20%, rgba(129, 140, 248, 0.12), transparent 70%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(70% 80% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(70% 80% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 5px 14px 5px 12px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.08);
  color: var(--accent-soft);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--mint);
  opacity: 0;
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.gradient-text {
  background: linear-gradient(100deg, var(--accent-soft) 0%, var(--violet) 55%, var(--mint) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead { max-width: 600px; margin: 24px 0 0; color: var(--muted); font-size: 1.12rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 150ms ease-out, border-color 150ms ease-out, transform 100ms ease-out;
}
.button:active { transform: scale(0.97); }
.button.primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25); }
.button.primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.button.ghost:hover { background: var(--surface); border-color: #3a414c; }

/* Rack decorativo */

.rack {
  padding: 14px;
  background: linear-gradient(180deg, #141821, #0f1217);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.rack-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 12px; }
.rack-dots { display: inline-flex; gap: 6px; }
.rack-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.rack-label { color: #6b7380; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.02em; }

.rack-units { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }

.rack-units li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
}

.led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px rgba(94, 234, 212, 0.7);
  animation: blink 3.2s ease-in-out infinite;
}
.rack-units li:nth-child(2) .led { animation-delay: 0.4s; }
.rack-units li:nth-child(3) .led { animation-delay: 1.3s; }
.rack-units li:nth-child(4) .led { animation-delay: 0.8s; }
.rack-units li:nth-child(5) .led { animation-delay: 2s; }
.rack-units li:nth-child(6) .led { animation-delay: 1.6s; }
.rack-units li:nth-child(7) .led { animation-delay: 2.6s; }

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.unit-name { color: #c4c9d1; font-family: var(--mono); font-size: 0.78rem; }

.unit-vent {
  width: 56px;
  height: 10px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, #262b34 0 3px, transparent 3px 6px);
}

.rack-foot { display: flex; gap: 6px; padding: 12px 4px 2px; }
.rack-foot span {
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: #6b7380;
  font-family: var(--mono);
  font-size: 0.68rem;
}

/* ---------- Seções ---------- */

.section { padding: 88px 0; border-bottom: 1px solid var(--border); }

.section-head { margin-bottom: 36px; }

.kicker {
  margin: 0 0 10px;
  color: var(--accent-soft);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 650; line-height: 1.2; letter-spacing: -0.025em; text-wrap: balance; }

.section-lead { max-width: 560px; margin: 12px 0 0; color: var(--muted); }

h3 { margin: 0 0 8px; font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em; }

.grid.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.card { padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.card p { margin: 0; color: var(--muted); }

/* Serviços (sem links de acesso, de propósito) */

.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.service-card {
  --tone: 96, 165, 250;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  background: linear-gradient(180deg, rgba(var(--tone), 0.07), transparent 55%), var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--tone), 0.55), transparent);
}

.tone-blue { --tone: 96, 165, 250; }
.tone-cyan { --tone: 34, 211, 238; }
.tone-violet { --tone: 167, 139, 250; }
.tone-rose { --tone: 251, 113, 133; }
.tone-amber { --tone: 251, 191, 36; }
.tone-emerald { --tone: 52, 211, 153; }
.tone-indigo { --tone: 129, 140, 248; }

.service-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(var(--tone), 0.12);
  border: 1px solid rgba(var(--tone), 0.25);
  color: rgb(var(--tone));
}
.service-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.service-card p { margin: 0 0 18px; color: var(--muted); font-size: 0.94rem; line-height: 1.55; }

.tag {
  margin-top: auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(var(--tone), 0.1);
  color: rgb(var(--tone));
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.access-card {
  --tone: 94, 234, 212;
  background: transparent;
  border-style: dashed;
  border-color: var(--border-strong);
}
.access-card::before { display: none; }
.access-card p { margin-bottom: 0; }

/* Segurança */

.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 30px; color: var(--muted); }
.checklist li strong { color: var(--text); font-weight: 600; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2360a5fa' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.english p { max-width: 760px; margin: 0; color: var(--muted); }

/* Rodapé */

.site-footer { padding: 32px 0; color: var(--muted); font-size: 0.9rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-mark { width: 22px; height: 22px; }

/* ---------- Responsivo ---------- */

@media (max-width: 1000px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .rack { display: none; }
}

@media (max-width: 860px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .header-chip { display: none; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .header-inner { grid-template-columns: 1fr; justify-items: center; gap: 10px; height: auto; padding: 12px 0; }
  .brand { justify-self: center; }
  .nav a { padding: 5px 14px; font-size: 0.88rem; }
  html { scroll-padding-top: 120px; }
  .hero { padding: 64px 0 64px; }
  .section { padding: 64px 0; }
  .grid.three, .services { grid-template-columns: 1fr; }
  .service-card { display: grid; grid-template-columns: 42px 1fr; column-gap: 16px; align-items: start; padding: 18px; }
  .service-icon { grid-row: span 3; margin: 0; }
  .service-card > :not(.service-icon) { grid-column: 2; }
  .service-card h3 { margin-top: 2px; }
  .service-card p { margin-bottom: 12px; }
  .tag { justify-self: start; }
}

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