/* Virtus Tec — virtustec.com.br
   HTML e CSS puros: sem JavaScript, sem build, sem fonte externa, sem cookie. */

:root {
  --navy-950: #041127;
  --navy-900: #071a33;
  --navy-800: #0b2a52;
  --blue-700: #114a8a;
  --blue-600: #1760b0;
  --cyan-400: #4cc3f5;
  --cyan-300: #8fdcff;

  --bg: #f2f6fb;
  --band: #e6eff9;
  --surface: #ffffff;
  --text: #0e1d33;
  --muted: #4b5b72;
  --line: #d9e3ef;
  --accent: #1557a0;
  --focus: #f59e0b;
  --shadow: 0 1px 2px rgba(7, 26, 51, 0.06), 0 12px 32px rgba(7, 26, 51, 0.08);
  --radius: 18px;
  --max: 1120px;

  --hero-gradient:
    radial-gradient(circle at 82% 18%, rgba(76, 195, 245, 0.32), transparent 42%),
    radial-gradient(circle at 8% 92%, rgba(99, 102, 241, 0.22), transparent 40%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 48%, var(--blue-600) 100%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #08142a;
    --band: #0c1c36;
    --surface: #10223f;
    --text: #e6eef8;
    --muted: #a3b3c9;
    --line: #1d3354;
    --accent: #8fd0ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 10;
  background: var(--surface); color: var(--text); padding: 8px 12px;
}
.skip:focus { left: 16px; top: 8px; }

/* ── Abertura (cabeçalho + herói) sobre o degradê azul ─────────────────── */
.top {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--hero-gradient);
}
/* grade de pontos que some para baixo: o "ar de tecnologia" sem imagem extra */
.top::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}
.top > * { position: relative; }
.top a { color: #fff; }

.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 24px; padding-top: 16px; padding-bottom: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 750; font-size: 1.2rem; letter-spacing: -0.01em;
}
.brand svg { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 4px 12px rgba(76, 195, 245, 0.35)); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; font-size: 0.95rem; }
.top .site-nav a { color: rgba(255, 255, 255, 0.78); text-decoration: none; padding: 4px 0; }
.top .site-nav a:hover { color: #fff; text-decoration: underline; }
.top .site-nav .lang {
  color: #fff; font-weight: 650; border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px; padding: 3px 12px; background: rgba(255, 255, 255, 0.06);
}

.hero .wrap {
  display: grid; gap: 40px; align-items: center;
  padding-top: 40px; padding-bottom: 56px;
}
@media (min-width: 920px) {
  .hero .wrap { grid-template-columns: 1.05fr 0.95fr; gap: 56px; padding-top: 56px; padding-bottom: 72px; }
}
.eyebrow {
  margin: 0 0 12px; color: var(--accent); font-size: 0.8rem; font-weight: 750;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.top .eyebrow { color: var(--cyan-300); }
h1 {
  margin: 0 0 20px; font-size: clamp(2.2rem, 6.4vw, 3.6rem); line-height: 1.06;
  letter-spacing: -0.025em; max-width: 16ch;
}
h1 .glow {
  background: linear-gradient(90deg, #fff 0%, var(--cyan-300) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin: 0; max-width: 56ch; font-size: 1.15rem; color: rgba(255, 255, 255, 0.84); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 11px 22px; font-weight: 650; text-decoration: none; font-size: 0.98rem;
}
.top .btn-primary { background: #fff; color: var(--navy-900); box-shadow: 0 10px 30px rgba(4, 17, 39, 0.35); }
.top .btn-primary:hover { background: var(--cyan-300); }
.top .btn-ghost { border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.06); }
.top .btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.hero-facts li {
  border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.07);
  border-radius: 999px; padding: 5px 14px; font-size: 0.86rem; color: rgba(255, 255, 255, 0.9);
}

.hero-visual { position: relative; isolation: isolate; }
.hero-visual img {
  width: 100%; border-radius: 22px; border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 70px rgba(2, 10, 25, 0.5);
}
.hero-visual::after {
  /* moldura de luz atrás da imagem */
  content: ""; position: absolute; inset: -18px -18px auto auto; width: 62%; height: 62%; z-index: -1;
  border-radius: 28px; background: linear-gradient(135deg, rgba(76, 195, 245, 0.45), rgba(99, 102, 241, 0.15));
  filter: blur(2px);
}
.badge {
  position: absolute; left: -12px; bottom: -18px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(7, 26, 51, 0.82); border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 14px; padding: 10px 14px; font-size: 0.86rem; color: #fff;
  box-shadow: 0 14px 30px rgba(2, 10, 25, 0.4);
}
.badge svg { width: 22px; height: 22px; flex: none; color: var(--cyan-400); }
@media (min-width: 920px) { .badge { left: -28px; } }

.wave { display: block; width: 100%; height: 56px; color: var(--bg); }

/* ── Seções ─────────────────────────────────────────────────────────────── */
.section { padding: 64px 0; }
.section.band { background: var(--band); }
h2 { margin: 0 0 16px; font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.15; letter-spacing: -0.02em; }
h3 { margin: 0; font-size: 1.2rem; line-height: 1.3; }
.section p { max-width: 66ch; }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head p { color: var(--muted); margin: 0; }
.section-head .eyebrow { color: var(--accent); margin-bottom: 12px; }

.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 920px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* o que fazemos */
.tiles { display: grid; gap: 16px; margin-top: 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.tile p { margin: 6px 0 0; color: var(--muted); font-size: 0.97rem; }
.icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px;
  border-radius: 13px; color: #fff;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  box-shadow: 0 8px 18px rgba(23, 96, 176, 0.3);
}
.icon svg { width: 24px; height: 24px; }

/* produtos */
.cards { display: grid; gap: 24px; }
@media (min-width: 880px) { .cards { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.card > img { width: 100%; aspect-ratio: 960 / 470; object-fit: cover; }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card-body p { margin: 0; }
.card .tag {
  display: inline-block; margin-top: 6px; font-size: 0.82rem; font-weight: 650; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent); border-radius: 999px; padding: 2px 10px;
}
.card .note { color: var(--muted); font-size: 0.95rem; }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 6px 0 0; list-style: none; }
.links a {
  display: inline-block; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: 0.92rem; text-decoration: none; background: var(--bg);
}
.links a:hover { border-color: var(--accent); }
.links .primary a {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-600)); border-color: transparent;
  color: #fff; font-weight: 650;
}

/* equipe */
.people { display: grid; gap: 20px; }
@media (min-width: 760px) { .people { grid-template-columns: 1fr 1fr; } }
.person {
  display: flex; gap: 20px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.person img {
  width: 104px; height: 104px; border-radius: 50%; object-fit: cover; flex: none;
  border: 3px solid var(--surface); box-shadow: 0 0 0 3px var(--cyan-400), 0 10px 24px rgba(7, 26, 51, 0.2);
}
.person p { margin: 2px 0 0; }
.person .role { color: var(--accent); font-weight: 650; }
.person .more { color: var(--muted); font-size: 0.95rem; }

/* privacidade */
.notice {
  display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
@media (min-width: 760px) { .notice { grid-template-columns: auto 1fr; gap: 24px; } }
.notice .icon { margin: 0; width: 54px; height: 54px; }
.notice p { margin: 0 0 10px; }

/* ── Dados da empresa: faixa azul ──────────────────────────────────────── */
.company { position: relative; overflow: hidden; color: #fff; background: var(--hero-gradient); }
.company::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(0deg, #000 0%, transparent 90%);
  mask-image: linear-gradient(0deg, #000 0%, transparent 90%);
  pointer-events: none;
}
.company > * { position: relative; }
.company .eyebrow { color: var(--cyan-300); }
.company p { color: rgba(255, 255, 255, 0.86); }
.company a { color: var(--cyan-300); }
.facts {
  display: grid; grid-template-columns: 1fr; margin: 28px 0 0;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius); overflow: hidden;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.facts div { padding: 14px 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.facts div:first-child { border-top: 0; }
.facts dt { color: rgba(255, 255, 255, 0.66); font-size: 0.86rem; }
.facts dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
@media (min-width: 720px) {
  .facts div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: baseline; }
  .facts dd { margin: 0; }
}

/* ── Rodapé ────────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.7); padding: 28px 0 36px; font-size: 0.92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: #fff; }
