:root {
  --ink: #f4f8ff;
  --muted: #a7bad3;
  --deep: #020817;
  --panel: rgba(7, 22, 51, 0.78);
  --panel-solid: #071633;
  --line: rgba(113, 190, 255, 0.19);
  --cyan: #18d8ff;
  --blue: #2675ff;
  --azure: #79cfff;
  --mint: #3ebeff;
  --violet: #655cff;
  --max: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 9%, rgba(24, 216, 255, .16), transparent 30rem),
    radial-gradient(circle at 12% 48%, rgba(38, 117, 255, .14), transparent 34rem),
    var(--deep);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.wrap { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 99; padding: .75rem 1rem; background: var(--ink); color: var(--deep); border-radius: .7rem; }
.skip:focus { top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(2, 8, 23, .78);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 45px rgba(0, 5, 20, .18);
}
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; text-decoration: none; font-size: 1.06rem; font-weight: 790; letter-spacing: -.02em; }
.brand-logo { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 0 16px rgba(24,216,255,.34)); }
.brand-logo-footer { width: 42px; height: 42px; }
.brand small { display: block; margin-top: -.15rem; color: var(--muted); font-size: .68rem; letter-spacing: .17em; text-transform: uppercase; font-weight: 650; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { color: #c8d6e5; text-decoration: none; font-size: .94rem; font-weight: 620; }
.nav-links a:hover, .nav-links a:focus-visible { color: white; }
.nav-links .nav-cta { padding: .62rem 1rem; border: 1px solid rgba(49,137,255,.55); border-radius: 999px; color: #d9ecff; background: linear-gradient(135deg, rgba(38,117,255,.19), rgba(24,216,255,.08)); box-shadow: inset 0 0 18px rgba(38,117,255,.06); }
.menu { display: none; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: white; border-radius: .75rem; width: 44px; height: 44px; font-size: 1.2rem; }

.hero { position: relative; min-height: 730px; display: grid; align-items: center; isolation: isolate; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 420px; height: 420px; right: -150px; top: 7%; z-index: -1; border-radius: 50%; border: 1px solid rgba(98,185,255,.13); box-shadow: 0 0 0 70px rgba(38,117,255,.025), 0 0 120px rgba(24,216,255,.11); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 32%; z-index: -1; background: linear-gradient(transparent, var(--deep)); }
.hero-art { position: absolute; inset: 0 0 0 34%; z-index: -2; width: 78%; height: 100%; object-fit: cover; object-position: 62% center; opacity: .78; mask-image: linear-gradient(90deg, transparent 0, #000 24%, #000 90%, transparent 100%); }
.hero-grid { position: absolute; inset: 0; z-index: -1; opacity: .16; background-image: linear-gradient(rgba(67,154,201,.28) 1px, transparent 1px), linear-gradient(90deg, rgba(67,154,201,.28) 1px, transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(to bottom, #000, transparent 78%); }
.hero-copy { max-width: 680px; padding: 8rem 0 7rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; margin: 0 0 1.4rem; color: #bfeaff; font-weight: 720; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
h1, h2, h3 { margin-top: 0; letter-spacing: -.04em; line-height: 1.04; }
h1 { max-width: 800px; margin-bottom: 1.5rem; font-size: clamp(3.3rem, 8vw, 7.25rem); font-weight: 800; }
h1 span { display: block; width: max-content; max-width: 100%; color: transparent; background: linear-gradient(95deg, #5a8cff 2%, #1ecfff 58%, #c8f5ff); -webkit-background-clip: text; background-clip: text; text-shadow: 0 0 44px rgba(31,145,255,.18); }
.lead { max-width: 610px; margin: 0 0 2.1rem; color: #b7c9da; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: .8rem 1.25rem; border-radius: .85rem; text-decoration: none; font-weight: 750; border: 1px solid transparent; }
.btn-primary { color: white; background: linear-gradient(135deg, #175ee8, #1298f4 58%, #19d8ff); box-shadow: 0 16px 46px rgba(31,112,255,.26), inset 0 1px rgba(255,255,255,.24); }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, .nav-links a:focus-visible, .brand:focus-visible, .footer-links a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.btn-secondary { color: white; background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); backdrop-filter: blur(10px); }
.trust-row { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 3rem; color: #aabccd; font-size: .9rem; }
.trust-row span { display: flex; align-items: center; gap: .55rem; }
.trust-row i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

section { padding: 7rem 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.section-head h2 { margin-bottom: 0; font-size: clamp(2.3rem, 5vw, 4.6rem); }
.section-head p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.overline { display: block; margin-bottom: 1rem; color: var(--cyan); font-size: .75rem; font-weight: 760; letter-spacing: .18em; text-transform: uppercase; }

.services-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.service { min-height: 275px; grid-column: span 4; padding: 1.65rem; border: 1px solid var(--line); border-radius: 1.35rem; background: linear-gradient(145deg, rgba(9,32,72,.9), rgba(5,15,37,.68)); position: relative; overflow: hidden; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.service:hover { transform: translateY(-5px); border-color: rgba(0,212,255,.38); }
.service:hover { box-shadow: 0 22px 55px rgba(0,68,170,.16); }
.service::after { content: attr(data-index); position: absolute; right: 1.4rem; bottom: .8rem; color: rgba(204,240,255,.06); font-size: 5rem; font-weight: 850; letter-spacing: -.08em; }
.service-icon { width: 46px; height: 46px; border: 1px solid rgba(0,212,255,.24); border-radius: .85rem; display: grid; place-items: center; color: var(--cyan); background: rgba(0,212,255,.07); font-weight: 800; }
.service h3 { margin: 2.4rem 0 .75rem; font-size: 1.45rem; }
.service p { max-width: 31ch; margin: 0; color: var(--muted); }
.service.wide { grid-column: span 8; background: linear-gradient(135deg, rgba(7,38,88,.95), rgba(20,24,71,.72)); }

.approach { border-block: 1px solid rgba(255,255,255,.06); background: rgba(7,17,30,.62); }
.flow { display: grid; grid-template-columns: repeat(4,1fr); gap: .8rem; counter-reset: flow; }
.flow article { padding: 1.5rem; border-left: 1px solid var(--line); }
.flow article::before { counter-increment: flow; content: "0" counter(flow); display: block; margin-bottom: 3.5rem; color: var(--azure); font-size: .8rem; font-weight: 760; letter-spacing: .12em; }
.flow h3 { margin-bottom: .65rem; font-size: 1.2rem; }
.flow p { color: var(--muted); margin: 0; }

.product-shell { position: relative; padding: clamp(2rem, 5vw, 4.2rem); border-radius: 2rem; overflow: hidden; border: 1px solid rgba(77,156,255,.28); background: linear-gradient(145deg, #08285a, #091530 70%); box-shadow: 0 34px 90px rgba(0,43,123,.15); }
.product-shell::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(24,216,255,.25), rgba(38,117,255,.08) 42%, transparent 68%); }
.product-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: center; }
.product-grid h2 { font-size: clamp(2.4rem, 5vw, 4.7rem); margin-bottom: 1.25rem; }
.product-grid p { max-width: 55ch; color: #bad0d4; }
.feature-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .8rem; }
.feature-list li { display: flex; gap: .75rem; align-items: flex-start; color: #deefec; }
.feature-list li::before { content: "✓"; color: var(--cyan); font-weight: 900; }
.capture-card { position: relative; padding: 1.2rem; border: 1px solid rgba(255,255,255,.13); background: rgba(4,14,25,.72); border-radius: 1.5rem; box-shadow: 0 30px 70px rgba(0,0,0,.28); }
.capture-top { display: flex; justify-content: space-between; color: #a8c3c6; font-size: .82rem; }
.scan { margin: 1rem 0; aspect-ratio: 1.5; border-radius: 1rem; border: 1px solid rgba(0,212,255,.2); background: radial-gradient(circle at 50% 38%, rgba(0,212,255,.17), transparent 32%), linear-gradient(125deg, #0c2332, #111c34); display: grid; place-items: center; }
.scan svg { width: 90px; color: var(--cyan); filter: drop-shadow(0 0 18px rgba(0,212,255,.35)); }
.result { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; padding: .95rem; border-radius: .9rem; background: rgba(255,255,255,.05); }
.result strong { font-size: 1.1rem; }
.result span { color: var(--muted); font-size: .85rem; }
.result b { grid-row: span 2; align-self: center; color: var(--azure); }

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.project-card { min-height: 390px; position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 1.6rem; border: 1px solid var(--line); border-radius: 1.45rem; background: #081625; }
.project-card::before { content: ""; position: absolute; inset: 0; opacity: .36; pointer-events: none; background: radial-gradient(circle at 72% 24%, var(--project-glow, rgba(0,212,255,.32)), transparent 35%); }
.project-top { position: relative; display: flex; justify-content: space-between; color: #b4c6d7; font-size: .74rem; font-weight: 760; letter-spacing: .13em; text-transform: uppercase; }
.project-code { color: rgba(255,255,255,.35); }
.project-symbol { position: relative; width: 86px; height: 86px; margin: 3.3rem 0 2.3rem; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 1.5rem; color: white; background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.02)); box-shadow: 0 0 45px var(--project-glow, rgba(0,212,255,.18)); font-size: 2.4rem; font-weight: 820; transform: rotate(-6deg); }
.project-card h3 { position: relative; margin-bottom: .7rem; font-size: 1.55rem; }
.project-card p { position: relative; margin: 0; color: var(--muted); }
.project-stage { position: relative; margin-top: auto; padding-top: 1.5rem; color: #d7e9f3; font-size: .82rem; font-weight: 700; }
.project-stage::before { content: ""; display: inline-block; width: 20px; height: 1px; margin: 0 .6rem .25rem 0; background: currentColor; }
.project-einstein { --project-glow: rgba(117,108,255,.42); }
.project-games { --project-glow: rgba(0,212,255,.38); }
.project-lab { --project-glow: rgba(38,117,255,.42); }

.portfolio-intro { max-width: 760px; margin: 7rem 0 2.2rem; }
.portfolio-intro h2 { margin-bottom: 1rem; font-size: clamp(2.2rem, 4.6vw, 4.1rem); }
.portfolio-intro p { max-width: 62ch; margin: 0; color: var(--muted); font-size: 1.05rem; }
.venture-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.venture-card { --venture-accent: var(--cyan); min-height: 285px; position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; gap: 0 1.25rem; padding: 1.6rem; overflow: hidden; border: 1px solid var(--line); border-radius: 1.4rem; color: inherit; text-decoration: none; background: linear-gradient(145deg, rgba(8,31,70,.92), rgba(4,13,33,.82)); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.venture-card::after { content: ""; position: absolute; width: 230px; height: 230px; right: -90px; bottom: -110px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--venture-accent) 28%, transparent), transparent 67%); pointer-events: none; }
.venture-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--venture-accent) 52%, transparent); box-shadow: 0 24px 65px rgba(0,49,133,.18); }
.venture-mark { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--venture-accent) 40%, transparent); border-radius: 1rem; color: var(--venture-accent); background: color-mix(in srgb, var(--venture-accent) 10%, transparent); box-shadow: 0 0 30px color-mix(in srgb, var(--venture-accent) 14%, transparent); font-weight: 850; letter-spacing: -.03em; }
.venture-copy { position: relative; }
.venture-copy > span { color: var(--venture-accent); font-size: .75rem; font-weight: 760; letter-spacing: .13em; text-transform: uppercase; }
.venture-copy h3 { margin: .55rem 0 .8rem; font-size: 1.55rem; }
.venture-copy p { margin: 0; color: var(--muted); }
.venture-card > strong { position: relative; grid-column: 2; align-self: end; margin-top: 1.5rem; color: #e5f3ff; font-size: .86rem; }
.venture-atendente { --venture-accent: #32e3c1; }
.venture-sagaz { --venture-accent: #e5bd68; }
.venture-criterio { --venture-accent: #45a9ff; }
.venture-stl { --venture-accent: #ff835e; }

.metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.metric { padding: 1.6rem; border-top: 1px solid rgba(0,212,255,.55); background: linear-gradient(180deg, rgba(0,212,255,.06), transparent); }
.metric b { display: block; font-size: 2.2rem; }
.metric span { color: var(--muted); }

.contact-box { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; padding: clamp(2rem, 5vw, 4.2rem); border: 1px solid rgba(80,160,255,.24); border-radius: 1.7rem; background: radial-gradient(circle at 84% 12%, rgba(24,216,255,.12), transparent 36%), linear-gradient(120deg, rgba(8,38,86,.96), rgba(5,16,39,.82)); box-shadow: 0 32px 85px rgba(0,39,112,.15); }
.contact-box h2 { font-size: clamp(2.2rem, 5vw, 4.5rem); margin-bottom: 1rem; }
.contact-box p { color: var(--muted); max-width: 50ch; }
.contact-card { padding: 1.5rem; border-radius: 1.1rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.contact-card span { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.contact-card a { display: inline-block; margin-top: .35rem; color: #dffaff; overflow-wrap: anywhere; }

.site-footer { padding: 2.5rem 0; border-top: 1px solid rgba(255,255,255,.07); color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; }
.footer-links a { color: #b8c8d7; text-decoration: none; }
.legal-id { margin: 1rem 0 0; font-size: .85rem; }

.legal-main { padding: 5rem 0 7rem; }
.legal-hero { max-width: 830px; margin-bottom: 3rem; }
.legal-hero h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); }
.legal-hero p { color: var(--muted); font-size: 1.1rem; }
.legal-content { max-width: 840px; display: grid; gap: 1.2rem; }
.legal-content section { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.legal-content h2 { font-size: 1.45rem; letter-spacing: -.02em; }
.legal-content p, .legal-content li { color: #b6c7d7; }
.legal-content li + li { margin-top: .45rem; }
.step-list { counter-reset: steps; list-style: none; padding: 0; }
.step-list li { counter-increment: steps; position: relative; padding: .9rem 0 .9rem 3.2rem; }
.step-list li::before { content: counter(steps); position: absolute; left: 0; top: .7rem; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: .65rem; color: white; background: linear-gradient(135deg, var(--blue), var(--cyan)); font-weight: 800; }
.notice { padding: 1.2rem; border-left: 3px solid var(--cyan); background: rgba(0,212,255,.06); border-radius: 0 1rem 1rem 0; color: #cfebf5; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .menu { display: grid; place-items: center; }
  .nav-links { display: none; position: absolute; top: 82px; left: 1rem; right: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 1rem; background: #061431; box-shadow: 0 20px 50px rgba(0,0,0,.35); flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .65rem; }
  .hero { min-height: 680px; }
  .hero-art { left: 15%; width: 120%; opacity: .48; }
  .section-head, .product-grid, .contact-box { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .venture-grid { grid-template-columns: 1fr; }
  .project-card:last-child { grid-column: 1 / -1; min-height: 330px; }
  .service, .service.wide { grid-column: span 6; }
  .flow { grid-template-columns: 1fr 1fr; }
  .capture-card { max-width: 480px; }
}

@media (max-width: 620px) {
  .wrap { width: min(calc(100% - 1.25rem), var(--max)); }
  .brand small { display: none; }
  .brand-logo { width: 44px; height: 44px; }
  .hero { min-height: 720px; }
  .hero-copy { padding: 6rem 0 5rem; }
  h1 { font-size: clamp(3.1rem, 18vw, 5rem); }
  section { padding: 5rem 0; }
  .service, .service.wide { grid-column: 1 / -1; min-height: 240px; }
  .flow, .metrics { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .portfolio-intro { margin-top: 5rem; }
  .venture-card { min-height: 0; grid-template-columns: 52px 1fr; padding: 1.25rem; }
  .venture-mark { width: 52px; height: 52px; }
  .project-card:last-child { grid-column: auto; }
  .flow article::before { margin-bottom: 1.5rem; }
  .actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
