/* ============================================================================
   MAXISYS · Design System  (maxisys.css)
   Fonte única de verdade do visual: tokens, tipografia e componentes.
   Usado por index.html, produtos.html, marca.html e assinaturas.
   Trocar aqui = muda o site inteiro.
   ============================================================================ */

/* ---------- Tokens ---------- */
:root{
  --bg:        oklch(0.15 0.018 256);
  --bg-2:      oklch(0.185 0.02 256);
  --surface:   oklch(0.215 0.022 256);
  --surface-2: oklch(0.26 0.024 256);
  --line:      oklch(0.32 0.02 256);
  --line-soft: oklch(0.27 0.018 256);

  --ink:   oklch(0.97 0.006 250);
  --body:  oklch(0.80 0.016 250);
  --muted: oklch(0.66 0.02 250);

  --primary:        oklch(0.70 0.155 240);
  --primary-bright: oklch(0.80 0.14 232);
  --primary-ink:    oklch(0.16 0.02 250);
  --accent:  oklch(0.83 0.13 78);
  --ok:      oklch(0.80 0.14 158);

  --glow: oklch(0.70 0.155 240 / .35);

  --maxw: 1180px;
  --pad: clamp(1.15rem, 4vw, 2.5rem);
  --radius: 16px;
  --radius-sm: 11px;

  --ff-display: "Archivo Expanded","Archivo",system-ui,sans-serif;
  --ff-head: "Archivo",system-ui,sans-serif;
  --ff-body: "Hanken Grotesk",system-ui,sans-serif;
  --ff-mono: "JetBrains Mono",ui-monospace,monospace;

  --ease: cubic-bezier(.22,1,.36,1);

  --z-nav: 100; --z-menu: 200; --z-top: 300;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; scroll-padding-top:88px; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body{
  margin:0;
  font-family:var(--ff-body);
  background:var(--bg);
  color:var(--body);
  line-height:1.65;
  font-size:clamp(1rem,.96rem + .2vw,1.075rem);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

h1,h2,h3,h4{ color:var(--ink); font-family:var(--ff-head); line-height:1.08; letter-spacing:-0.02em; margin:0; text-wrap:balance; }
h2{ font-size:clamp(1.9rem,1.3rem + 2.6vw,3.1rem); letter-spacing:-0.03em; }
h3{ font-size:clamp(1.2rem,1.05rem + .6vw,1.5rem); letter-spacing:-0.02em; }
p{ margin:0; text-wrap:pretty; }
a{ color:inherit; text-decoration:none; }
img,svg{ display:block; max-width:100%; }
::selection{ background:var(--primary); color:var(--primary-ink); }

:focus-visible{ outline:2px solid var(--primary-bright); outline-offset:3px; border-radius:4px; }

.wrap{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--pad); }
.mono{ font-family:var(--ff-mono); font-weight:500; }

/* section kicker (used sparingly, NOT above every section) */
.kicker{
  display:inline-flex; align-items:center; gap:.55rem;
  font-family:var(--ff-mono); font-size:.74rem; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase; color:var(--primary-bright);
  margin:0 0 1.1rem;
}
.kicker::before{ content:""; width:26px; height:1px; background:var(--primary); opacity:.7; }

/* ---------- Logo lockup (reutilizável) ---------- */
.logo{ display:inline-flex; align-items:center; gap:.7rem; }
.logo .mark{ width:34px; height:34px; flex-shrink:0; }
.logo .word{ font-family:var(--ff-display); font-weight:800; font-size:1.32rem; letter-spacing:-0.02em; color:var(--ink); white-space:nowrap; }
.logo .word b{ color:var(--primary-bright); font-weight:800; }
.logo.inova .word b{ color:var(--accent); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.55rem; justify-content:center;
  font-family:var(--ff-head); font-weight:600; font-size:.98rem;
  padding:.82rem 1.35rem; border-radius:999px; cursor:pointer;
  border:1px solid transparent; transition:transform .35s var(--ease), background .25s, border-color .25s, box-shadow .35s;
  will-change:transform;
}
.btn svg{ width:18px; height:18px; }
.btn--primary{ background:var(--primary); color:var(--primary-ink); box-shadow:0 8px 30px -12px var(--glow); }
.btn--primary:hover{ background:var(--primary-bright); transform:translateY(-2px); box-shadow:0 14px 40px -12px var(--glow); }
.btn--ghost{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn--ghost:hover{ border-color:var(--primary); background:oklch(0.70 0.155 240 / .08); transform:translateY(-2px); }
.btn--wa{ background:var(--ok); color:oklch(0.16 0.02 158); box-shadow:0 8px 30px -12px oklch(0.80 0.14 158 / .4); }
.btn--wa:hover{ transform:translateY(-2px); filter:brightness(1.06); }

/* ---------- Header ---------- */
header.nav{
  position:sticky; top:0; z-index:var(--z-nav);
  transition:background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom:1px solid transparent;
}
header.nav.scrolled{
  background:oklch(0.15 0.018 256 / .82);
  backdrop-filter:blur(14px) saturate(1.2);
  border-bottom-color:var(--line-soft);
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; gap:1.5rem; height:74px; }
.brand{ display:flex; align-items:center; gap:.7rem; flex-shrink:0; }
.brand .logotype{ font-family:var(--ff-display); font-weight:800; font-size:1.32rem; letter-spacing:-0.02em; color:var(--ink); }
.brand .logotype b{ color:var(--primary-bright); font-weight:800; }
.nav-links{ display:flex; align-items:center; gap:.35rem; }
.nav-links a{ font-family:var(--ff-head); font-weight:500; font-size:.94rem; color:var(--body); padding:.5rem .8rem; border-radius:8px; transition:color .2s, background .2s; }
.nav-links a:hover{ color:var(--ink); background:oklch(1 0 0 / .04); }
.nav-links a.active{ color:var(--ink); }
.nav-cta{ display:flex; align-items:center; gap:.6rem; }
.menu-btn{ display:none; background:none; border:1px solid var(--line); border-radius:10px; padding:.5rem; cursor:pointer; color:var(--ink); }
.menu-btn svg{ width:22px; height:22px; }

@media (max-width:940px){
  .nav-links, .nav-cta .btn--ghost{ display:none; }
  .menu-btn{ display:inline-flex; }
}

/* mobile drawer */
.drawer{ position:fixed; inset:0; z-index:var(--z-menu); background:oklch(0.13 0.018 256 / .96); backdrop-filter:blur(6px);
  display:flex; flex-direction:column; padding:5rem var(--pad) 2rem; gap:.4rem;
  transform:translateY(-100%); transition:transform .5s var(--ease); visibility:hidden; }
.drawer.open{ transform:none; visibility:visible; }
.drawer a{ font-family:var(--ff-head); font-size:1.5rem; font-weight:600; color:var(--ink); padding:.7rem 0; border-bottom:1px solid var(--line-soft); }
.drawer .btn{ margin-top:1.5rem; }
.drawer-close{ position:absolute; top:1.4rem; right:var(--pad); background:none; border:1px solid var(--line); border-radius:10px; padding:.5rem; color:var(--ink); cursor:pointer; }
.drawer-close svg{ width:22px; height:22px; }

/* ---------- Hero (home, com canvas) ---------- */
.hero{ position:relative; overflow:hidden; padding:clamp(3.5rem,7vw,6.5rem) 0 clamp(3.5rem,6vw,5.5rem); }
#net{ position:absolute; inset:0; width:100%; height:100%; z-index:0; }
.hero::after{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    radial-gradient(120% 90% at 15% 20%, transparent 40%, oklch(0.15 0.018 256 / .55) 100%),
    linear-gradient(180deg, oklch(0.15 0.018 256 / .1), oklch(0.15 0.018 256 / .7));
}
.hero .wrap{ position:relative; z-index:2; }
.hero-status{ display:inline-flex; align-items:center; gap:.6rem; font-family:var(--ff-mono); font-size:.78rem; color:var(--muted);
  border:1px solid var(--line); border-radius:999px; padding:.4rem .85rem; margin-bottom:1.6rem; background:oklch(0.15 0.018 256 / .5); }
.dot{ width:8px; height:8px; border-radius:50%; background:var(--ok); box-shadow:0 0 0 0 var(--ok); animation:pulse 2.4s infinite; }
@keyframes pulse{ 0%{ box-shadow:0 0 0 0 oklch(0.80 0.14 158 / .5);} 70%{ box-shadow:0 0 0 7px oklch(0.80 0.14 158 / 0);} 100%{ box-shadow:0 0 0 0 oklch(0.80 0.14 158 / 0);} }
.hero h1{
  font-family:var(--ff-display); font-weight:800;
  font-size:clamp(2.4rem,1.4rem + 4.6vw,4.7rem);
  letter-spacing:-0.035em; line-height:1.02; max-width:16ch; margin-bottom:1.4rem;
}
.hero h1 .em{ color:var(--primary-bright); }
.hero .lead{ font-size:clamp(1.08rem,1rem + .5vw,1.3rem); color:var(--body); max-width:56ch; margin-bottom:2.1rem; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:.85rem; align-items:center; }
.hero-chips{ display:flex; flex-wrap:wrap; gap:.5rem 1.4rem; margin-top:2.8rem; padding-top:1.8rem; border-top:1px solid var(--line-soft); }
.hero-chips span{ display:inline-flex; align-items:center; gap:.5rem; font-size:.9rem; color:var(--muted); }
.hero-chips svg{ width:16px; height:16px; color:var(--primary-bright); flex-shrink:0; }

/* ---------- Page hero (páginas internas, sem canvas) ---------- */
.page-hero{ position:relative; overflow:hidden; padding:clamp(3.2rem,6vw,5rem) 0 clamp(2.5rem,4vw,3.5rem);
  background:radial-gradient(80% 120% at 85% -10%, oklch(0.70 0.155 240 / .14), transparent 55%); }
.crumb{ font-family:var(--ff-mono); font-size:.8rem; color:var(--muted); margin-bottom:1rem; display:inline-flex; gap:.5rem; align-items:center; }
.crumb a{ color:var(--muted); } .crumb a:hover{ color:var(--primary-bright); }
.page-hero h1{ font-family:var(--ff-display); font-weight:800; font-size:clamp(2.1rem,1.4rem + 3vw,3.6rem); letter-spacing:-0.03em; line-height:1.04; max-width:18ch; margin-bottom:1.2rem; }
.page-hero h1 .em{ color:var(--primary-bright); }
.page-hero .lead{ font-size:clamp(1.05rem,1rem + .4vw,1.25rem); color:var(--body); max-width:62ch; }

/* ---------- generic section ---------- */
section{ position:relative; padding:clamp(4rem,7vw,7rem) 0; }
.sec-head{ max-width:64ch; margin-bottom:clamp(2.2rem,4vw,3.4rem); }
.sec-head p.intro{ margin-top:1.1rem; font-size:1.1rem; color:var(--body); }

/* two pillars */
.pillars{ display:grid; grid-template-columns:1fr 1fr; gap:1.25rem; }
@media (max-width:820px){ .pillars{ grid-template-columns:1fr; } }
.pillar{
  position:relative; overflow:hidden; border:1px solid var(--line-soft); border-radius:var(--radius);
  background:linear-gradient(180deg, var(--surface), var(--bg-2)); padding:clamp(1.6rem,3vw,2.4rem);
  transition:border-color .3s, transform .4s var(--ease);
}
.pillar:hover{ border-color:var(--primary); transform:translateY(-4px); }
.pillar .pnum{ font-family:var(--ff-mono); font-size:.8rem; color:var(--primary-bright); }
.pillar h3{ margin:.9rem 0 .7rem; font-size:clamp(1.35rem,1.1rem + 1vw,1.8rem); }
.pillar p{ color:var(--body); }
.pillar ul{ list-style:none; margin:1.4rem 0 0; padding:0; display:flex; flex-wrap:wrap; gap:.5rem; }
.pillar li{ font-family:var(--ff-mono); font-size:.78rem; color:var(--muted); border:1px solid var(--line); border-radius:8px; padding:.32rem .6rem; }
.pillar .glowmark{ position:absolute; top:-40px; right:-40px; width:180px; height:180px; border-radius:50%;
  background:radial-gradient(circle, var(--glow), transparent 70%); opacity:.55; pointer-events:none; }

/* ---------- Infra ---------- */
.infra-grid{ display:grid; grid-template-columns:1.05fr 1fr; gap:clamp(2rem,4vw,3.5rem); align-items:center; }
@media (max-width:900px){ .infra-grid{ grid-template-columns:1fr; } }
.rack-fig{ border:1px solid var(--line-soft); border-radius:var(--radius); background:linear-gradient(160deg,var(--bg-2),var(--surface)); padding:1.4rem; }
.cap-list{ display:grid; gap:1.4rem; }
.cap{ display:grid; grid-template-columns:auto 1fr; gap:1rem 1.1rem; }
.cap .ico{ width:44px; height:44px; border-radius:11px; display:grid; place-items:center; flex-shrink:0;
  background:oklch(0.70 0.155 240 / .12); border:1px solid oklch(0.70 0.155 240 / .3); color:var(--primary-bright); }
.cap .ico svg{ width:22px; height:22px; }
.cap h4{ font-family:var(--ff-head); font-weight:600; font-size:1.08rem; color:var(--ink); margin:0 0 .25rem; }
.cap p{ font-size:.96rem; color:var(--muted); }
.cap .tags{ grid-column:2; margin-top:.5rem; display:flex; flex-wrap:wrap; gap:.4rem; }
.cap .tags b{ font-family:var(--ff-mono); font-weight:500; font-size:.72rem; color:var(--body); background:var(--surface-2); border:1px solid var(--line); border-radius:6px; padding:.2rem .5rem; }

/* ---------- Software / InovaSys ---------- */
.software{ background:
    radial-gradient(80% 60% at 90% 0%, oklch(0.70 0.155 240 / .1), transparent 60%),
    var(--bg-2); }
.inova-badge{ display:inline-flex; align-items:center; gap:.6rem; margin-bottom:1.4rem;
  font-family:var(--ff-mono); font-size:.82rem; color:var(--muted); }
.inova-badge .n{ color:var(--ink); font-family:var(--ff-display); font-weight:700; letter-spacing:-0.01em; }
.inova-badge .n b{ color:var(--accent); }

.bento{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.1rem; }
.bento > *{ border:1px solid var(--line-soft); border-radius:var(--radius); background:var(--surface); }
.feature{ grid-column:span 2; grid-row:span 2; padding:clamp(1.6rem,3vw,2.3rem);
  background:linear-gradient(165deg, oklch(0.70 0.155 240 / .16), var(--surface) 55%); display:flex; flex-direction:column; }
.feature h3{ font-size:clamp(1.5rem,1.2rem + 1.4vw,2.1rem); margin-bottom:.9rem; }
.feature p{ color:var(--body); max-width:42ch; }
.feature .fspacer{ flex:1; min-height:2rem; }
.feature .fnote{ font-family:var(--ff-mono); font-size:.78rem; color:var(--primary-bright); border-top:1px solid var(--line); padding-top:1.1rem; }
.prod{ padding:1.25rem clamp(1.1rem,1.6vw,1.4rem); display:flex; flex-direction:column; gap:.75rem; align-items:flex-start;
  transition:border-color .3s, transform .35s var(--ease), background .3s; }
.prod:hover{ border-color:var(--primary); transform:translateY(-3px); background:var(--surface-2); }
.prod .pico{ width:40px; height:40px; border-radius:10px; flex-shrink:0; display:grid; place-items:center;
  background:var(--surface-2); border:1px solid var(--line); color:var(--primary-bright); }
.prod .pico svg{ width:20px; height:20px; }
.prod--cta{ grid-column:span 2; justify-content:center; border-style:dashed; border-color:var(--line); background:transparent; }
.prod--cta h4{ color:var(--primary-bright); }
@media (max-width:900px){ .prod--cta{ grid-column:auto; } }
.prod h4{ font-family:var(--ff-head); font-weight:600; font-size:1.04rem; color:var(--ink); margin:0 0 .3rem; display:flex; align-items:center; gap:.55rem; }
.prod .tag{ font-family:var(--ff-mono); font-size:.66rem; letter-spacing:.06em; text-transform:uppercase; color:var(--accent); border:1px solid oklch(0.83 0.13 78 / .35); border-radius:5px; padding:.08rem .35rem; }
.prod p{ font-size:.9rem; color:var(--muted); }
@media (max-width:900px){
  .bento{ grid-template-columns:repeat(2,1fr); }
  .feature{ grid-column:span 2; grid-row:span 1; }
}
@media (max-width:600px){
  .bento{ grid-template-columns:1fr; }
  .feature{ grid-column:span 1; }
}

/* ---------- Personalização (statement) ---------- */
.custom{ text-align:center; }
.custom .wrap{ max-width:900px; }
.custom .big{
  font-family:var(--ff-display); font-weight:800; color:var(--ink);
  font-size:clamp(1.9rem,1.2rem + 3.4vw,3.4rem); letter-spacing:-0.035em; line-height:1.08; margin:0 auto 1.6rem; max-width:20ch;
}
.custom .big em{ font-style:normal; color:var(--primary-bright); }
.custom p.sub{ font-size:1.15rem; color:var(--body); max-width:60ch; margin:0 auto; }
.custom .rule{ width:64px; height:3px; background:var(--accent); border-radius:2px; margin:0 auto 2rem; }

/* ---------- Process (numbered sequence) ---------- */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.1rem; counter-reset:s; }
@media (max-width:900px){ .steps{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .steps{ grid-template-columns:1fr; } }
.step{ position:relative; padding:1.6rem 1.3rem; border:1px solid var(--line-soft); border-radius:var(--radius-sm); background:var(--surface); }
.step .no{ font-family:var(--ff-mono); font-size:.85rem; color:var(--primary-bright); }
.step h4{ font-family:var(--ff-head); font-weight:600; font-size:1.1rem; color:var(--ink); margin:.7rem 0 .5rem; }
.step p{ font-size:.92rem; color:var(--muted); }

/* ---------- Sobre (light) ---------- */
.about{ background:oklch(0.97 0.006 250); color:oklch(0.34 0.02 256); }
.about h2{ color:oklch(0.20 0.03 256); }
.about h3{ color:oklch(0.20 0.03 256); }
.about .kicker{ color:oklch(0.52 0.16 250); }
.about .kicker::before{ background:oklch(0.52 0.16 250); }
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(1.6rem,3vw,2.6rem); }
@media (max-width:820px){ .about-grid{ grid-template-columns:1fr; } }
.about-card{ background:#fff; border:1px solid oklch(0.90 0.01 256); border-radius:var(--radius); padding:clamp(1.6rem,3vw,2.2rem); box-shadow:0 20px 50px -30px oklch(0.20 0.05 256 / .35); }
.about-card .lbl{ font-family:var(--ff-mono); font-size:.76rem; letter-spacing:.1em; text-transform:uppercase; color:oklch(0.55 0.14 250); }
.about-card .name{ font-family:var(--ff-display); font-weight:800; font-size:1.7rem; letter-spacing:-0.02em; color:oklch(0.20 0.03 256); margin:.5rem 0 .9rem; }
.about-card .name b{ color:oklch(0.55 0.16 250); }
.about-card.soft .name b{ color:oklch(0.62 0.14 66); }
.about-card p{ color:oklch(0.38 0.02 256); }
.about-card ul{ list-style:none; margin:1.2rem 0 0; padding:0; display:grid; gap:.6rem; }
.about-card li{ display:flex; gap:.6rem; align-items:flex-start; font-size:.95rem; color:oklch(0.34 0.02 256); }
.about-card li svg{ width:18px; height:18px; color:oklch(0.55 0.16 250); flex-shrink:0; margin-top:.2rem; }
.about-card.soft li svg{ color:oklch(0.62 0.14 66); }
.values{ margin-top:clamp(2rem,4vw,3rem); display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; }
@media (max-width:820px){ .values{ grid-template-columns:1fr 1fr; } }
.value{ text-align:left; }
.value .num{ font-family:var(--ff-display); font-weight:800; font-size:2rem; color:oklch(0.24 0.03 256); letter-spacing:-0.02em; }
.value .cap{ font-size:.9rem; color:oklch(0.45 0.02 256); }

/* ---------- Contato ---------- */
.contact{ background:
    radial-gradient(70% 90% at 80% 10%, oklch(0.70 0.155 240 / .13), transparent 60%),
    var(--bg); }
.contact-grid{ display:grid; grid-template-columns:1fr 1.05fr; gap:clamp(2rem,4vw,3.5rem); align-items:start; }
@media (max-width:860px){ .contact-grid{ grid-template-columns:1fr; } }
.contact h2{ margin-bottom:1rem; }
.contact .lead{ color:var(--body); font-size:1.1rem; max-width:44ch; }
.contact-methods{ margin-top:2rem; display:grid; gap:.8rem; }
.cmethod{ display:flex; align-items:center; gap:.9rem; border:1px solid var(--line-soft); border-radius:var(--radius-sm); padding:.95rem 1.1rem; background:var(--surface); transition:border-color .3s, transform .3s var(--ease); }
.cmethod:hover{ border-color:var(--primary); transform:translateX(3px); }
.cmethod .ci{ width:42px; height:42px; border-radius:10px; display:grid; place-items:center; background:var(--surface-2); border:1px solid var(--line); color:var(--primary-bright); flex-shrink:0; }
.cmethod .ci svg{ width:20px; height:20px; }
.cmethod .ct{ font-size:.78rem; color:var(--muted); font-family:var(--ff-mono); }
.cmethod .cv{ font-family:var(--ff-head); font-weight:600; color:var(--ink); }

form.card{ border:1px solid var(--line-soft); border-radius:var(--radius); background:var(--surface); padding:clamp(1.4rem,3vw,2rem); }
.field{ margin-bottom:1rem; }
.field label{ display:block; font-size:.82rem; font-family:var(--ff-mono); color:var(--muted); margin-bottom:.4rem; }
.field input, .field textarea{
  width:100%; font-family:var(--ff-body); font-size:1rem; color:var(--ink);
  background:var(--bg-2); border:1px solid var(--line); border-radius:10px; padding:.75rem .9rem; transition:border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder{ color:oklch(0.55 0.02 250); }
.field input:focus, .field textarea:focus{ outline:none; border-color:var(--primary); box-shadow:0 0 0 3px oklch(0.70 0.155 240 / .18); }
.field textarea{ resize:vertical; min-height:110px; }
.frow{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
@media (max-width:520px){ .frow{ grid-template-columns:1fr; } }
form.card .btn{ width:100%; margin-top:.4rem; }
.form-note{ font-size:.8rem; color:var(--muted); margin-top:.8rem; text-align:center; }
.form-ok{ display:none; padding:.9rem 1rem; border-radius:10px; background:oklch(0.80 0.14 158 / .14); border:1px solid oklch(0.80 0.14 158 / .4); color:var(--ok); font-size:.92rem; margin-bottom:1rem; }
.form-ok.show{ display:block; }
.form-err{ display:none; padding:.9rem 1rem; border-radius:10px; background:oklch(0.63 0.23 25 / .12); border:1px solid oklch(0.63 0.23 25 / .45); color:oklch(0.75 0.17 25); font-size:.92rem; margin-bottom:1rem; }
.form-err.show{ display:block; }

/* ============================================================================
   COMPONENTES NOVOS — Página de Produtos
   ============================================================================ */

/* índice de sistemas (chips que rolam até a seção) */
.subnav{ position:sticky; top:74px; z-index:calc(var(--z-nav) - 1);
  background:oklch(0.15 0.018 256 / .9); backdrop-filter:blur(12px);
  border-top:1px solid var(--line-soft); border-bottom:1px solid var(--line-soft); }
.subnav-inner{ display:flex; gap:.5rem; overflow-x:auto; padding:.8rem var(--pad); scrollbar-width:thin; }
.subnav-inner::-webkit-scrollbar{ height:5px; }
.subnav-inner::-webkit-scrollbar-thumb{ background:var(--line); border-radius:3px; }
.subnav a{ flex-shrink:0; font-family:var(--ff-mono); font-size:.8rem; color:var(--muted); border:1px solid var(--line); border-radius:999px; padding:.4rem .85rem; transition:color .2s, border-color .2s, background .2s; white-space:nowrap; }
.subnav a:hover{ color:var(--ink); border-color:var(--primary); background:oklch(0.70 0.155 240 / .08); }

/* faixa de capacidades comuns a todos os sistemas */
.shared{ background:var(--bg-2); }
.shared-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:1rem; }
.shared-item{ border:1px solid var(--line-soft); border-radius:var(--radius-sm); background:var(--surface); padding:1.3rem; }
.shared-item .si-ico{ width:38px; height:38px; border-radius:9px; display:grid; place-items:center; margin-bottom:.9rem;
  background:oklch(0.70 0.155 240 / .12); border:1px solid oklch(0.70 0.155 240 / .3); color:var(--primary-bright); }
.shared-item .si-ico svg{ width:19px; height:19px; }
.shared-item h4{ font-family:var(--ff-head); font-weight:600; font-size:1rem; color:var(--ink); margin:0 0 .35rem; }
.shared-item p{ font-size:.9rem; color:var(--muted); }

/* bloco de um sistema */
.sys{ padding-block:clamp(2.6rem,4vw,3.8rem); border-top:1px solid var(--line-soft); scroll-margin-top:130px; }
.sys:first-of-type{ border-top:0; }
.sys-grid{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:clamp(1.8rem,4vw,3.4rem); align-items:start; }
@media (max-width:860px){ .sys-grid{ grid-template-columns:1fr; gap:1.6rem; } }
.sys-head .sys-ico{ width:60px; height:60px; border-radius:15px; display:grid; place-items:center; margin-bottom:1.2rem;
  background:linear-gradient(160deg, oklch(0.70 0.155 240 / .22), oklch(0.70 0.155 240 / .06)); border:1px solid oklch(0.70 0.155 240 / .35); color:var(--primary-bright); }
.sys-head .sys-ico svg{ width:30px; height:30px; }
.sys-num{ font-family:var(--ff-mono); font-size:.8rem; color:var(--primary-bright); }
.sys-head h3{ font-family:var(--ff-display); font-weight:800; font-size:clamp(1.5rem,1.2rem + 1.3vw,2.05rem); letter-spacing:-0.025em; margin:.5rem 0 .35rem; }
.sys-tagline{ font-family:var(--ff-head); font-weight:600; color:var(--accent); font-size:.95rem; margin-bottom:1rem; }
.sys-head > p{ color:var(--body); }
.sys-ideal{ margin-top:1.3rem; }
.sys-ideal .il{ font-family:var(--ff-mono); font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); display:block; margin-bottom:.5rem; }
.sys-ideal .tags{ display:flex; flex-wrap:wrap; gap:.4rem; }
.sys-ideal .tags b{ font-family:var(--ff-mono); font-weight:500; font-size:.74rem; color:var(--body); background:var(--surface); border:1px solid var(--line); border-radius:6px; padding:.28rem .55rem; }

/* checklist de features */
.checks{ display:grid; grid-template-columns:1fr 1fr; gap:.7rem 1.4rem; list-style:none; margin:0; padding:0; }
@media (max-width:560px){ .checks{ grid-template-columns:1fr; } }
.checks li{ display:flex; gap:.65rem; align-items:flex-start; font-size:.96rem; color:var(--body); }
.checks li svg{ width:19px; height:19px; color:var(--primary-bright); flex-shrink:0; margin-top:.18rem; }
.checks li b{ color:var(--ink); font-weight:600; }
.sys-panel{ border:1px solid var(--line-soft); border-radius:var(--radius); background:var(--surface); padding:clamp(1.4rem,3vw,2rem); }
.sys-panel .pl{ font-family:var(--ff-mono); font-size:.74rem; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-bottom:1.2rem; }

/* ---------- CTA band ---------- */
.band{ background:linear-gradient(150deg, oklch(0.70 0.155 240 / .16), var(--bg-2)); border-top:1px solid var(--line-soft); border-bottom:1px solid var(--line-soft); }
.band-inner{ display:flex; flex-wrap:wrap; gap:1.5rem 2rem; align-items:center; justify-content:space-between; }
.band h2{ font-family:var(--ff-display); font-weight:800; letter-spacing:-0.03em; max-width:20ch; }
.band p{ color:var(--body); margin-top:.7rem; max-width:48ch; }
.band .band-cta{ display:flex; flex-wrap:wrap; gap:.8rem; }

/* ============================================================================
   COMPONENTES NOVOS — Guia de Marca (marca.html)
   ============================================================================ */
.gsection{ padding-block:clamp(3rem,5vw,4.5rem); border-top:1px solid var(--line-soft); }
.gsection h2{ font-size:clamp(1.5rem,1.2rem + 1.4vw,2.2rem); margin-bottom:.5rem; }
.gsection .gsub{ color:var(--muted); margin-bottom:2rem; max-width:60ch; }

.logo-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:1.1rem; }
.logo-cell{ border:1px solid var(--line-soft); border-radius:var(--radius); padding:2rem 1.5rem 1.1rem; display:flex; flex-direction:column; align-items:center; gap:1.4rem; min-height:170px; justify-content:center; }
.logo-cell.on-dark{ background:var(--bg); }
.logo-cell.on-surface{ background:var(--surface); }
.logo-cell.on-light{ background:#fff; }
.logo-cell.on-primary{ background:var(--primary); }
.logo-cell .cell-label{ font-family:var(--ff-mono); font-size:.72rem; color:var(--muted); align-self:flex-start; }
.logo-cell.on-light .cell-label{ color:oklch(0.5 0.02 256); }
.logo-cell.on-primary .cell-label{ color:oklch(0.2 0.02 250); }

.swatches{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:.9rem; }
.swatch{ border:1px solid var(--line-soft); border-radius:var(--radius-sm); overflow:hidden; }
.swatch .chip{ height:88px; }
.swatch .meta{ padding:.7rem .8rem; background:var(--surface); }
.swatch .meta .sn{ font-family:var(--ff-head); font-weight:600; color:var(--ink); font-size:.9rem; }
.swatch .meta .sv{ font-family:var(--ff-mono); font-size:.72rem; color:var(--muted); margin-top:.2rem; word-break:break-all; }

.type-spec{ border:1px solid var(--line-soft); border-radius:var(--radius); background:var(--surface); padding:clamp(1.4rem,3vw,2rem); margin-bottom:1rem; }
.type-spec .tl{ font-family:var(--ff-mono); font-size:.75rem; color:var(--primary-bright); margin-bottom:.8rem; letter-spacing:.05em; }
.type-spec .big-sample{ line-height:1.05; color:var(--ink); }
.type-spec .meta{ margin-top:1rem; font-family:var(--ff-mono); font-size:.78rem; color:var(--muted); }

.dodont{ display:grid; grid-template-columns:1fr 1fr; gap:1.1rem; }
@media (max-width:700px){ .dodont{ grid-template-columns:1fr; } }
.dd{ border:1px solid var(--line-soft); border-radius:var(--radius); background:var(--surface); padding:1.5rem; }
.dd .dd-h{ display:flex; align-items:center; gap:.5rem; font-family:var(--ff-head); font-weight:700; margin-bottom:1rem; }
.dd.do .dd-h{ color:var(--ok); } .dd.dont .dd-h{ color:oklch(0.68 0.17 25); }
.dd ul{ list-style:none; margin:0; padding:0; display:grid; gap:.6rem; }
.dd li{ font-size:.92rem; color:var(--body); padding-left:1.2rem; position:relative; }
.dd li::before{ position:absolute; left:0; top:0; }
.dd.do li::before{ content:"✓"; color:var(--ok); } .dd.dont li::before{ content:"✕"; color:oklch(0.68 0.17 25); }

.asset-row{ display:flex; flex-wrap:wrap; gap:.6rem; margin-top:1.5rem; }
.asset-row a{ font-family:var(--ff-mono); font-size:.82rem; color:var(--body); border:1px solid var(--line); border-radius:8px; padding:.5rem .8rem; transition:border-color .2s, color .2s; display:inline-flex; gap:.5rem; align-items:center; }
.asset-row a:hover{ border-color:var(--primary); color:var(--ink); }
.asset-row a svg{ width:15px; height:15px; }

/* ---------- Selo "Desenvolvido por InovaSys" (rodapé das apps) ---------- */
.dev-credit{ display:inline-flex; align-items:center; gap:.55rem; font-family:var(--ff-body); font-size:.8rem; color:var(--muted); text-decoration:none; transition:color .2s; }
.dev-credit:hover{ color:var(--ink); }
.dev-credit svg{ width:20px; height:20px; flex-shrink:0; }
.dev-credit .n{ font-family:var(--ff-display); font-weight:800; letter-spacing:-0.01em; color:var(--body); }
.dev-credit .n b{ color:var(--accent); font-weight:800; }

/* ---------- Footer ---------- */
footer{ border-top:1px solid var(--line-soft); padding:clamp(3rem,5vw,4rem) 0 2rem; background:oklch(0.13 0.018 256); }
.foot-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:2rem; }
@media (max-width:760px){ .foot-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:480px){ .foot-grid{ grid-template-columns:1fr; } }
.foot-brand .logotype{ font-family:var(--ff-display); font-weight:800; font-size:1.3rem; color:var(--ink); }
.foot-brand .logotype b{ color:var(--primary-bright); }
.foot-brand p{ margin-top:.8rem; color:var(--muted); font-size:.92rem; max-width:34ch; }
.foot-col h5{ font-family:var(--ff-mono); font-size:.76rem; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin:0 0 1rem; font-weight:600; }
.foot-col a{ display:block; color:var(--body); font-size:.94rem; padding:.28rem 0; transition:color .2s; }
.foot-col a:hover{ color:var(--primary-bright); }
.foot-bottom{ margin-top:2.5rem; padding-top:1.5rem; border-top:1px solid var(--line-soft); display:flex; flex-wrap:wrap; gap:.6rem 1.5rem; justify-content:space-between; align-items:center; }
.foot-bottom p{ font-size:.84rem; color:var(--muted); }
.foot-bottom .div-tag{ font-family:var(--ff-mono); font-size:.8rem; color:var(--muted); }
.foot-bottom .div-tag b{ color:var(--accent); }

/* ---------- Reveal motion ---------- */
.rise{ opacity:0; transform:translateY(20px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.rise.shown{ opacity:1; transform:none; }
.stagger > *{ opacity:0; transform:translateY(18px); transition:opacity .6s var(--ease), transform .6s var(--ease); }
.stagger.shown > *{ opacity:1; transform:none; }
.stagger.shown > *:nth-child(2){ transition-delay:.06s; }
.stagger.shown > *:nth-child(3){ transition-delay:.12s; }
.stagger.shown > *:nth-child(4){ transition-delay:.18s; }
.stagger.shown > *:nth-child(5){ transition-delay:.24s; }
.stagger.shown > *:nth-child(6){ transition-delay:.30s; }
.stagger.shown > *:nth-child(7){ transition-delay:.36s; }
.stagger.shown > *:nth-child(8){ transition-delay:.42s; }

@media (prefers-reduced-motion: reduce){
  .rise,.stagger > *{ opacity:1 !important; transform:none !important; transition:none !important; }
  .dot{ animation:none; }
}
