/* ============================================================
   LYNUS TECH — Section styles
   ============================================================ */

/* ---------- LOGO MARK ---------- */
.logo-mark {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.logo-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  padding-bottom: 3px;
  height: 62px; /* fixed = max bar height (8×6 + 7×2), nome não se move */
}

.logo-col {
  display: flex;
  flex-direction: column-reverse; /* ri=0 na base, cresce para cima */
  gap: 2px;
}

.logo-px {
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--accent);
  box-shadow: 0 0 5px var(--accent-soft);
  animation: pxIn 0.3s cubic-bezier(.16,1,.3,1) both;
  transition: background 0.12s ease, box-shadow 0.12s ease;
}

.logo-px-top {
  background: var(--accent-2);
  box-shadow: 0 0 8px var(--accent-2);
}

@keyframes pxIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.logo-text {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  background: linear-gradient(120deg, var(--text) 30%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: logoTxtIn 0.6s ease 1.65s both;
}

@keyframes logoTxtIn {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav-scrolled {
  background: rgba(10, 10, 12, 0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; height: 66px; gap: 28px; }
.nav-links { display: flex; gap: 4px; margin: 0 auto 0 24px; }
.nav-links a {
  font-size: 14px; color: var(--text-2); text-decoration: none; font-weight: 500;
  padding: 8px 13px; border-radius: 8px; transition: color 0.18s ease, background 0.18s ease;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-signin { font-size: 14px; color: var(--text-2); text-decoration: none; font-weight: 500; transition: color 0.18s; }
.nav-signin:hover { color: var(--text); }

/* ---------- HERO ---------- */
.hero { padding: 132px 0 60px; position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.hero-copy { max-width: 760px; margin: 0 auto; text-align: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; max-width: 100%;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 100px; padding: 6px 6px 6px 14px; font-size: 13px; color: var(--text-2);
  margin-bottom: 26px;
}
.hero-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); flex-shrink: 0; }
.hero-badge-pill {
  font-family: var(--mono); font-size: 11px; color: var(--accent); white-space: nowrap; flex-shrink: 0;
  background: var(--accent-soft); border-radius: 100px; padding: 4px 10px; letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(44px, 7vw, 80px); font-weight: 600; letter-spacing: -0.035em;
  line-height: 0.98; text-wrap: balance; margin-bottom: 24px;
}
.hero-title .accent-line {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: clamp(17px, 2vw, 20px); color: var(--text-2); line-height: 1.55; max-width: 600px; margin: 0 auto 32px; text-wrap: pretty; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }

.hero-bullets { list-style: none; display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
.hero-bullets li { display: flex; align-items: center; gap: 10px; text-align: left; }
.hero-bullet-check {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--accent-line);
}
.hero-bullets strong { display: block; font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; }
.hero-bullets em { font-style: normal; font-size: 12.5px; color: var(--text-3); font-family: var(--mono); white-space: nowrap; }

.hero-visual { width: 100%; max-width: 1060px; margin: 0 auto; }

/* split layout variant */
.hero-split .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; text-align: left; }
.hero-split .hero-copy { text-align: left; margin: 0; max-width: 560px; }
.hero-split .hero-cta, .hero-split .hero-bullets { justify-content: flex-start; }
.hero-split .hero-sub { margin-left: 0; }
.hero-split .hero-bullets { flex-direction: column; gap: 14px; }
.hero-split .hero-visual { min-width: 0; }
.hero-split .hero-title { font-size: clamp(40px, 4.6vw, 62px); }

/* trust bar */
.trust { margin-top: 72px; text-align: center; }
.trust-label { font-size: 12px; color: var(--text-3); font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.trust-logos { display: flex; gap: 44px; justify-content: center; flex-wrap: wrap; margin-top: 22px; opacity: 0.62; }
.trust-logo { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: var(--text-2); transition: color 0.2s, opacity 0.2s; }
.trust-logo:hover { color: var(--text); }

/* ---------- DASHBOARDS ---------- */
.dash-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 900px) { .dash-grid { grid-template-columns: 1fr; } }

.dash-card {
  border-radius: 20px; overflow: hidden; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.dash-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--card-accent, var(--accent)); opacity: 0;
  transition: opacity 0.25s ease; z-index: 1;
}
.dash-card:hover { transform: translateY(-6px); border-color: var(--card-accent, var(--accent-line)); }
.dash-card:hover::before { opacity: 1; }

.dash-preview { padding: 16px 16px 0; }

.dash-info {
  padding: 16px 20px 8px; display: flex; align-items: flex-start; gap: 12px;
}
.dash-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.dash-title { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.dash-desc { font-size: 13.5px; color: var(--text-2); line-height: 1.55; }

.dash-tags {
  padding: 0 20px 10px; display: flex; gap: 6px; flex-wrap: wrap;
}
.dash-tag {
  font-size: 11px; font-family: var(--mono); color: var(--text-3);
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 20px; padding: 3px 9px;
  transition: color 0.2s, border-color 0.2s;
}
.dash-card:hover .dash-tag { color: var(--card-accent, var(--accent)); border-color: var(--card-accent, var(--accent-line)); }

.dash-footer { padding: 10px 20px 18px; margin-top: auto; }
.dash-link {
  font-size: 13px; font-weight: 600; color: var(--card-accent, var(--accent));
  display: flex; align-items: center; gap: 6px;
}
.dash-link span { display: inline-block; transition: transform 0.2s ease; }
.dash-card:hover .dash-link span { transform: translateX(5px); }

/* ---------- SOBRE ---------- */
.sobre-section { padding-bottom: 100px; }

.sobre-mission {
  font-size: clamp(17px, 2vw, 20px); color: var(--text-2);
  line-height: 1.6; max-width: 660px; margin: 0 auto;
}

.sobre-founders {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 32px; max-width: 860px; margin-left: auto; margin-right: auto;
}
@media (max-width: 600px) {
  .sobre-founders { grid-template-columns: 1fr; }
}
.sobre-founder {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 18px 22px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
}
.sobre-founder-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--accent-line);
  overflow: hidden;
  box-shadow: 0 0 16px var(--accent-glow);
}
.sobre-founder-avatar img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  display: block;
}
.sobre-founder strong { display: block; font-size: 15px; font-weight: 700; color: var(--text); }
.sobre-founder span { font-size: 12px; color: var(--accent); font-family: var(--mono); }
.sobre-founder-bio { font-size: 13.5px; color: var(--text-3); line-height: 1.55; flex: 1; min-width: 200px; margin: 0; }

.sobre-values {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-bottom: 80px;
}
@media (max-width: 768px) { .sobre-values { grid-template-columns: 1fr; } }

.sobre-value {
  padding: 32px 28px; border-radius: 18px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.sobre-value:hover { transform: translateY(-4px); border-color: var(--accent-line); }
.sobre-value-icon { font-size: 28px; }
.sobre-value h4 { font-size: 18px; font-weight: 700; color: var(--text); }
.sobre-value p { font-size: 14.5px; color: var(--text-2); line-height: 1.65; }

.sobre-story-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  margin-bottom: 80px;
}
@media (max-width: 768px) { .sobre-story-wrap { grid-template-columns: 1fr; gap: 40px; } }

.sobre-story-left h3 { font-size: 26px; font-weight: 700; margin-bottom: 16px; }
.sobre-story-left p { font-size: 15px; color: var(--text-2); line-height: 1.65; margin-bottom: 14px; }

.sobre-timeline { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); }
.sobre-tl-item { display: flex; align-items: flex-start; gap: 16px; }
.sobre-tl-year {
  font-family: var(--mono); font-size: 11px; color: var(--accent); font-weight: 600;
  white-space: nowrap; padding-top: 3px; min-width: 34px; letter-spacing: 0.04em;
}
.sobre-tl-text { font-size: 14px; color: var(--text-2); line-height: 1.55; }

.sobre-visual {
  position: relative; width: 100%; aspect-ratio: 1; max-width: 360px;
  margin: 0 auto; display: flex; align-items: center; justify-content: center;
}
.sobre-vis-grid {
  position: absolute; inset: 0; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 20px;
}
.sobre-vis-cell {
  border-radius: 8px; background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}
.sobre-vis-accent {
  background: var(--accent-soft); border-color: var(--accent-line);
  animation: cellGlow 3s ease-in-out infinite;
}
@keyframes cellGlow {
  0%, 100% { background: var(--accent-soft); border-color: var(--accent-line); box-shadow: none; }
  50%       { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 14px var(--accent-glow); opacity: 0.85; }
}

.sobre-vis-radar {
  position: absolute; inset: 30px; border-radius: 50%; z-index: 1;
  background: conic-gradient(from 0deg, transparent 0%, var(--accent-soft) 12%, transparent 18%);
  animation: sobreRing 3s linear infinite;
  opacity: 0.7;
}

/* ---- RADAR ---- */
.radar-wrap { width: 100%; max-width: 340px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.radar-scope {
  position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(107,138,255,0.07) 0%, #070a12 55%, #030508 100%);
  border: 1px solid var(--accent-line);
  box-shadow: 0 0 48px var(--accent-glow), inset 0 0 60px rgba(0,0,0,0.7);
}

.radar-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(107,138,255,0.13);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.r1 { width: 33%; height: 33%; }
.r2 { width: 66%; height: 66%; }
.r3 { width: 98%; height: 98%; }

.radar-cross-h {
  position: absolute; top: 50%; left: 0; right: 0; height: 1px;
  background: rgba(107,138,255,0.13); transform: translateY(-50%);
}
.radar-cross-v {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: rgba(107,138,255,0.13); transform: translateX(-50%);
}

.radar-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg,
    transparent 0deg,
    transparent 240deg,
    rgba(107,138,255,0.03) 275deg,
    rgba(107,138,255,0.10) 305deg,
    rgba(107,138,255,0.30) 335deg,
    rgba(107,138,255,0.80) 358deg,
    rgba(107,138,255,0.85) 360deg
  );
  animation: radarSpin 3s linear infinite;
  z-index: 1;
}
@keyframes radarSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.radar-app {
  position: absolute; z-index: 2;
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(0,0,0,0.82);
  border: 1px solid var(--ac, var(--accent-line));
  display: flex; align-items: center; justify-content: center;
  transform: translate(-50%,-50%);
  animation: blipPulse 3s ease-out infinite;
  box-shadow: 0 0 0 transparent;
}
.radar-app::after {
  content: ''; position: absolute; inset: -6px; border-radius: 11px;
  border: 1px solid var(--ac, var(--accent-line)); opacity: 0;
  animation: blipRing 3s ease-out infinite;
}
@keyframes blipPulse {
  0%      { opacity: 0; transform: translate(-50%,-50%) scale(0.4); box-shadow: none; }
  6%      { opacity: 1; transform: translate(-50%,-50%) scale(1.15); box-shadow: 0 0 12px var(--ac, var(--accent)), 0 0 24px color-mix(in srgb, var(--ac, var(--accent)) 30%, transparent); }
  20%     { opacity: 1; transform: translate(-50%,-50%) scale(1); box-shadow: 0 0 6px var(--ac, var(--accent)); }
  65%     { opacity: 0.55; box-shadow: 0 0 3px var(--ac, var(--accent)); }
  100%    { opacity: 0; box-shadow: none; transform: translate(-50%,-50%) scale(1); }
}
@keyframes blipRing {
  0%   { opacity: 0; transform: scale(1); }
  6%   { opacity: 0.6; }
  50%  { opacity: 0; transform: scale(2.2); }
  100% { opacity: 0; }
}

.radar-center {
  position: absolute; z-index: 3; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent-soft); border: 1.5px solid var(--accent-line);
  display: flex; align-items: center; justify-content: center;
  animation: centerPulse 2.5s ease-in-out infinite;
}
@keyframes centerPulse {
  0%,100% { box-shadow: 0 0 16px var(--accent-glow); }
  50%     { box-shadow: 0 0 40px var(--accent-glow), 0 0 70px var(--accent-soft); }
}
.radar-center span { font-size: 18px; font-weight: 800; color: var(--accent); font-family: var(--font); }

.radar-status {
  display: flex; align-items: center; gap: 10px; padding: 9px 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
}
.radar-status-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0;
  animation: blinkDot 1s ease-in-out infinite;
}
@keyframes blinkDot { 0%,100% { opacity: 1; box-shadow: 0 0 5px var(--accent); } 50% { opacity: 0.2; box-shadow: none; } }
.radar-status-text {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  color: var(--accent); letter-spacing: 0.12em;
}
.radar-status-coords { font-family: var(--mono); font-size: 11px; color: var(--text-3); margin-left: auto; }

.sobre-mission-box {
  margin-top: 24px; padding: 22px 24px; border-radius: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.sobre-mission-label {
  font-family: var(--mono); font-size: 11px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
}
.sobre-mission-box p { font-size: 14.5px; color: var(--text-2); line-height: 1.65; margin: 0; }

.sobre-numbers {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
}
@media (max-width: 768px) { .sobre-numbers { grid-template-columns: repeat(2, 1fr); } }

.sobre-num {
  padding: 28px 20px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; display: flex; flex-direction: column; gap: 6px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.sobre-num:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.sobre-num-val {
  font-size: 38px; font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--text) 40%, var(--accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.sobre-num-label { font-size: 13px; color: var(--text-3); font-family: var(--mono); }

/* ---------- STATS ---------- */
.stats-section { padding: 60px 0; }
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.stat-big { background: var(--bg); padding: 34px 28px; display: flex; flex-direction: column; gap: 6px; }
.stat-big-v { font-size: clamp(38px, 5vw, 54px); font-weight: 600; letter-spacing: -0.04em; line-height: 1;
  background: linear-gradient(180deg, var(--text), var(--text-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-big-v i { font-style: normal; -webkit-text-fill-color: var(--accent); color: var(--accent); }
.stat-big-k { font-size: 15px; font-weight: 600; margin-top: 8px; }
.stat-big-d { font-size: 13px; color: var(--text-3); }

/* ---------- FEATURES / BENTO ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(200px, auto)); gap: 14px; margin-top: 44px; }
.bento-card {
  padding: 24px; display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.bento-card:hover { border-color: var(--accent-line); background: var(--surface-2); }
.bento-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0;
  background: radial-gradient(420px circle at 50% -10%, var(--accent-soft), transparent 70%);
  transition: opacity 0.3s ease; pointer-events: none;
}
.bento-card:hover::after { opacity: 1; }
/* explicit tiling — fills a clean 4×2 grid with one tall accent card */
.bento-b1 { grid-column: 1; grid-row: 1 / span 2; }      /* Detecção — tall */
.bento-b2 { grid-column: 2 / span 2; grid-row: 1; }      /* Automação — wide */
.bento-b3 { grid-column: 4; grid-row: 1; }               /* On-call */
.bento-b4 { grid-column: 2; grid-row: 2; }               /* Post-mortem */
.bento-b5 { grid-column: 3 / span 2; grid-row: 2; }      /* Integrações — wide */

.bento-icon {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--accent-line); margin-bottom: 16px;
}
.bento-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.bento-title { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin: 8px 0 8px; }
.span-tall .bento-title, .bento-b1 .bento-title { font-size: 22px; }
.bento-desc { font-size: 14.5px; color: var(--text-2); line-height: 1.55; text-wrap: pretty; }
.bento-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }
.chip {
  font-family: var(--mono); font-size: 12px; color: var(--text-2);
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 7px; padding: 6px 11px;
}

/* ---------- CTA ---------- */
.cta-section { padding: 60px 0 90px; }
.cta-box {
  position: relative; overflow: hidden; text-align: center;
  padding: 64px 40px; border-radius: var(--radius-lg);
  border-color: var(--border-strong);
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
}
.cta-glow {
  position: absolute; left: 50%; bottom: -60%; width: 700px; height: 480px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--accent-glow), transparent 65%); filter: blur(30px); opacity: 0.6; pointer-events: none;
}
.cta-box h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 600; letter-spacing: -0.03em; margin: 16px 0 0; text-wrap: balance; position: relative; }
.cta-box p { font-size: 18px; color: var(--text-2); margin: 16px auto 0; max-width: 480px; position: relative; }
.cta-actions { display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; position: relative; }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--border); padding: 60px 0 30px; position: relative; z-index: 1; background: var(--bg-2); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 3fr; gap: 48px; }
.footer-brand p { font-size: 14px; color: var(--text-3); line-height: 1.6; margin-top: 16px; max-width: 280px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col h4 { font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13.5px; color: var(--text-3); text-decoration: none; padding: 5px 0; transition: color 0.18s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-3); }
.footer-status { display: flex; align-items: center; gap: 8px; color: var(--ok); }
.footer-status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 940px) {
  .nav-links { display: none; }
  .hero-split .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-split .hero-copy { text-align: center; }
  .hero-split .hero-cta, .hero-split .hero-bullets { justify-content: center; }
  .hero-split .hero-bullets { flex-direction: row; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: minmax(180px, auto); }
  .bento-b1, .bento-b2, .bento-b3, .bento-b4, .bento-b5 { grid-column: auto; grid-row: auto; }
  .bento-b1, .bento-b2, .bento-b5 { grid-column: span 2; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .hero { padding: 110px 0 40px; }
  .hero-badge { white-space: normal; }
  .hero-badge-pill { display: none; }
  .hero-bullets { flex-direction: column; }
  .stats-row { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-b1, .bento-b2, .bento-b3, .bento-b4, .bento-b5 { grid-column: auto; grid-row: auto; }
  .span-wide, .span-tall { grid-column: span 1; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ================================================================
   SISTEMAS SHOWCASE
   ================================================================ */
.sistemas-section { background: transparent; }

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

.sistema-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  transition:
    transform 0.32s cubic-bezier(.2,.8,.2,1),
    border-color 0.28s ease,
    box-shadow 0.32s ease;
}
.sistema-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--card-accent, var(--accent));
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.28s ease;
  z-index: 2;
}
.sistema-card:hover {
  transform: translateY(-9px);
  border-color: color-mix(in srgb, var(--card-accent, var(--accent)) 32%, transparent);
  box-shadow:
    0 30px 60px -16px color-mix(in srgb, var(--card-accent, var(--accent)) 28%, transparent),
    0 2px 16px rgba(0,0,0,0.35);
}
.sistema-card:hover::before { opacity: 1; }

.sistema-num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 10.5px;
  font-weight: 700;
  font-family: var(--mono);
  letter-spacing: 0.06em;
  color: var(--card-accent, var(--accent));
  opacity: 0.4;
  z-index: 3;
  transition: opacity 0.25s ease;
}
.sistema-card:hover .sistema-num { opacity: 0.7; }

.sistema-preview {
  padding: 18px 18px 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, var(--surface-2) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.sistema-preview::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 28px;
  background: linear-gradient(to top, var(--surface-2), transparent);
  pointer-events: none;
}

.sistema-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.sistema-icon { font-size: 20px; line-height: 1; flex-shrink: 0; }

.sistema-title {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.2;
}

.sistema-desc {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.6;
}

.sistema-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sistema-tag {
  font-size: 10.5px;
  font-weight: 600;
  font-family: var(--mono);
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--surface-strong);
  color: var(--text-3);
  border: 1px solid var(--border);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.sistema-card:hover .sistema-tag {
  background: color-mix(in srgb, var(--card-accent, var(--accent)) 10%, transparent);
  border-color: color-mix(in srgb, var(--card-accent, var(--accent)) 26%, transparent);
  color: var(--card-accent, var(--accent));
}

.sistema-cta {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--card-accent, var(--accent));
  padding: 8px 16px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--card-accent, var(--accent)) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--accent)) 22%, transparent);
  transition: background 0.2s ease, gap 0.2s ease;
}
.sistema-card:hover .sistema-cta {
  background: color-mix(in srgb, var(--card-accent, var(--accent)) 18%, transparent);
  gap: 11px;
}

@media (max-width: 960px) {
  .sistemas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sistemas-grid { grid-template-columns: 1fr; }
}
