/* ──────────────────────────────────────────────────────────────
   KOYTECH — Design System v3  ·  Awwwards Edition
   #0D0D0F · #8B5CF6 · Sora + Mulish + JetBrains Mono
────────────────────────────────────────────────────────────── */

/* ─── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── TOKENS ───────────────────────────────────────────────── */
:root {
  --bg:           #0D0D0F;
  --bg-2:         #111114;
  --bg-3:         #161619;
  --bg-4:         #1C1C20;
  --bg-5:         #222226;
  --gold:         #8B5CF6;
  --gold-l:       #A78BFA;
  --gold-xl:      #C4B5FD;
  --gold-dim:     rgba(139,92,246,0.08);
  --gold-border:  rgba(139,92,246,0.2);
  --gold-border2: rgba(139,92,246,0.4);
  --text:         #FFFFFF;
  --text-2:       #C0C1C8;
  --text-muted:   #76777F;
  --text-dim:     #3E3E46;
  --border:       rgba(255,255,255,0.06);
  --border-2:     rgba(255,255,255,0.1);
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-full: 999px;
  --ease:        cubic-bezier(0.4,0,0.2,1);
  --ease-out:    cubic-bezier(0,0,0.2,1);
  --ease-bounce: cubic-bezier(0.34,1.56,0.64,1);
  --t: 0.3s var(--ease);
  --shadow: 0 24px 60px rgba(0,0,0,0.7);
  --shadow-gold: 0 0 80px rgba(139,92,246,0.07);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Mulish', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-border2); border-radius: 4px; }

/* ─── TYPOGRAPHY ───────────────────────────────────────────── */
h1,h2,h3,h4,h5 {
  font-family: 'Sora', sans-serif;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.gold {
  background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 50%, #C4B5FD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── LAYOUT ───────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
section { padding: 120px 0; }

/* ─── SCROLL PROGRESS ──────────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-xl));
  z-index: 1000;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px var(--gold);
}

/* ─── CURSOR ───────────────────────────────────────────────── */
.cursor {
  position: fixed; width: 8px; height: 8px;
  background: var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .2s, height .2s, background .2s, opacity .2s;
  mix-blend-mode: difference;
}
.cursor.hover {
  width: 40px; height: 40px;
  background: transparent;
  border: 1.5px solid var(--gold);
  mix-blend-mode: normal;
}
.cursor-trail {
  position: fixed; width: 28px; height: 28px;
  border: 1px solid rgba(139,92,246,0.25); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: left 0.1s, top 0.1s;
}
@media (hover: none) { .cursor, .cursor-trail { display: none; } }

/* ─── SKIP LINK ────────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 16px; z-index: 10000;
  background: var(--gold); color: #0D0D0F;
  padding: 10px 22px; border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 700;
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }

/* ─── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 700;
  padding: 14px 28px; border-radius: var(--r-sm);
  border: none; cursor: pointer; text-decoration: none;
  transition: transform .25s var(--ease-bounce), box-shadow .25s var(--ease), background .2s, border-color .2s;
  white-space: nowrap; letter-spacing: 0.01em;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0; transition: opacity .2s;
}
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: var(--gold); color: #FFFFFF; font-weight: 800;
  box-shadow: 0 0 24px rgba(139,92,246,0.15);
}
.btn--gold:hover {
  background: var(--gold-l);
  box-shadow: 0 0 40px rgba(139,92,246,0.4), 0 8px 24px rgba(139,92,246,0.2);
}
.btn--outline {
  background: transparent; color: var(--text-2);
  border: 1px solid var(--border-2);
}
.btn--outline:hover { border-color: rgba(255,255,255,0.2); color: var(--text); background: rgba(255,255,255,0.04); }
.btn--lg { padding: 16px 36px; font-size: 15px; }
.btn--full { width: 100%; justify-content: center; }
.btn--sm { padding: 9px 18px; font-size: 13px; }

.spinner {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.25); border-top-color: #FFFFFF;
  border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── ANIMATIONS ───────────────────────────────────────────── */
[data-animate] {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-animate="fade-left"] { transform: translateX(24px); }
[data-animate].is-visible { opacity: 1; transform: none; }
[data-delay="100"] { transition-delay: .1s; }
[data-delay="200"] { transition-delay: .2s; }
[data-delay="300"] { transition-delay: .3s; }
[data-delay="400"] { transition-delay: .4s; }

/* ─── SECTION LABELS ───────────────────────────────────────── */
.section-label {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.label-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 500;
  color: var(--gold); letter-spacing: 0.1em;
}
.label-text {
  font-family: 'Sora', sans-serif;
  font-size: 11px; font-weight: 700;
  color: var(--text-muted); letter-spacing: 0.12em;
  text-transform: uppercase;
}
.section-label::before {
  content: ''; width: 32px; height: 1px;
  background: var(--gold-border2);
}

.section-title {
  font-size: clamp(32px, 4vw, 54px);
  margin-bottom: 20px;
  line-height: 1.1;
}

/* ──────────────────────────────────────────────────────────────
   NAVBAR
────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200; padding: 20px 0;
  transition: padding .3s var(--ease), background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  padding: 14px 0;
  background: rgba(13,13,15,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
}
.navbar__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; gap: 32px;
}
.navbar__logo {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Sora', sans-serif; font-size: 20px; font-weight: 800;
  text-decoration: none; letter-spacing: -0.04em; flex-shrink: 0;
}
.logo-koy { color: var(--text); }
.logo-tech { color: var(--gold); }

.navbar__links {
  display: flex; align-items: center; gap: 2px;
  margin-left: auto;
}
.nav-link {
  color: var(--text-muted); text-decoration: none;
  font-size: 14px; font-weight: 600; font-family: 'Sora', sans-serif;
  padding: 7px 14px; border-radius: var(--r-sm);
  transition: color .2s, background .2s; letter-spacing: 0.01em;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--bg-3); }

.navbar__right { display: flex; align-items: center; gap: 12px; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: var(--t);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ──────────────────────────────────────────────────────────────
   HERO
────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 140px 0 100px;
}
.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; width: 100%;
  position: relative; z-index: 1;
}

/* Badge */
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  padding: 6px 14px; border-radius: var(--r-full);
  margin-bottom: 32px;
  font-family: 'Sora', sans-serif; font-size: 12px;
  font-weight: 600; color: var(--gold);
}
.badge-pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
  box-shadow: 0 0 8px var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 4px var(--gold); }
  50%      { box-shadow: 0 0 14px var(--gold), 0 0 24px rgba(139,92,246,0.4); }
}

/* Headline */
.hero__title {
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 800; letter-spacing: -0.04em;
  line-height: 1.05; margin-bottom: 24px;
}
.hero__title-em {
  font-style: normal;
  background: linear-gradient(135deg, #8B5CF6 0%, #C4B5FD 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
#typewriter { display: inline-block; min-width: 180px; }

.hero__subtitle {
  color: var(--text-muted); font-size: 16px; line-height: 1.8;
  margin-bottom: 40px; max-width: 420px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.hero__stack { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.stack-label {
  font-size: 11px; font-family: 'Sora', sans-serif;
  font-weight: 700; color: var(--text-dim);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.stack-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pill {
  font-size: 11px; font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted); background: var(--bg-3);
  border: 1px solid var(--border); padding: 4px 10px;
  border-radius: var(--r-full); transition: var(--t);
}
.pill:hover { color: var(--gold); border-color: var(--gold-border); }

/* Hero visual */
.hero__visual { position: relative; }

.code-window {
  background: var(--bg-2); border: 1px solid var(--border-2);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow), var(--shadow-gold);
  position: relative; z-index: 2;
}
.code-window__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 18px; background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}
.code-dots { display: flex; gap: 6px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot--red    { background: #FF5F56; }
.dot--yellow { background: #FFBD2E; }
.dot--green  { background: #27C93F; }
.code-filename {
  margin-left: 10px; font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--text-dim);
}
.code-body {
  padding: 24px 28px; font-family: 'JetBrains Mono', monospace;
  font-size: 13px; line-height: 1.9;
}
.code-line { display: flex; align-items: baseline; gap: 5px; }
.code-in { padding-left: 22px; }
.ck { color: #C084FC; }
.cv { color: #60A5FA; }
.cp { color: #34D399; }
.cs { color: #FBBF24; }
.cn { color: #F87171; }
.co { color: var(--text-dim); }
.cf { color: #60A5FA; }
.cb { color: var(--text-muted); }
.code-cursor {
  display: inline-block; color: var(--gold); font-weight: 700;
  animation: blink 1.1s steps(1) infinite; padding-left: 2px;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

/* Floating cards — posicionados nos cantos do code window */
.fcard {
  position: absolute;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(17,17,20,0.92);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-md); padding: 10px 14px;
  font-size: 12px; font-weight: 600; font-family: 'Sora', sans-serif;
  white-space: nowrap; backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  z-index: 3;
}
/* Canto superior esquerdo */
.fcard--tl {
  top: -18px; left: -20px;
  animation: flt1 4.5s ease-in-out infinite 1s;
}
/* Canto superior direito */
.fcard--tr {
  top: -18px; right: -20px;
  animation: flt2 5s ease-in-out infinite .5s;
}
/* Canto inferior direito */
.fcard--br {
  bottom: -18px; right: -20px;
  animation: flt1 4s ease-in-out infinite;
}
@keyframes flt1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes flt2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* Scroll indicator */
.hero__scroll {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-dim); font-size: 10px; font-family: 'Sora', sans-serif;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.scroll-mouse {
  width: 20px; height: 32px; border: 1.5px solid var(--border-2);
  border-radius: 10px; display: flex; justify-content: center; padding-top: 5px;
}
.scroll-wheel {
  width: 3px; height: 5px; background: var(--gold);
  border-radius: 2px; animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { transform:translateY(0); opacity:1; }
  100% { transform:translateY(10px); opacity:0; }
}

/* ──────────────────────────────────────────────────────────────
   MARQUEE
────────────────────────────────────────────────────────────── */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2); padding: 18px 0;
  overflow: hidden;
}
.marquee__track {
  display: flex; width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.marquee__track:hover { animation-play-state: paused; }
.marquee__inner {
  display: flex; align-items: center; gap: 28px;
  padding-right: 28px; flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  white-space: nowrap;
}
.marquee__dot { color: var(--gold); font-size: 16px; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ──────────────────────────────────────────────────────────────
   BENTO SERVICES
────────────────────────────────────────────────────────────── */
.services { background: var(--bg); }

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 14px;
}

/* Sistemas: 2 cols × 2 rows */
.bcard--sistemas { grid-column: span 2; grid-row: span 2; }
/* Landing: col 3, row 1 */
.bcard--landing  { grid-column: 3; }
/* Suporte: col 3, row 2 */
.bcard--suporte  { grid-column: 3; }
/* IA: row 3, full width */
.bcard--ia       { grid-column: span 3; }

.bcard {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 32px;
  position: relative; overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .2s var(--ease);
  display: flex; flex-direction: column; cursor: default;
}
.bcard:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow), 0 0 40px rgba(139,92,246,0.06);
  transform: translateY(-2px);
}
.bcard::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity .3s;
}
.bcard:hover::before { opacity: 1; }

.bcard__glow {
  position: absolute; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(139,92,246,0.08), transparent 70%);
  border-radius: 50%; top: -60px; right: -60px;
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.bcard:hover .bcard__glow { opacity: 1; }

.bcard__tag {
  display: inline-flex; align-items: center;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  color: var(--gold); font-family: 'Sora', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 4px 10px;
  border-radius: var(--r-full); margin-bottom: 20px;
  width: fit-content;
}

.bcard__icon {
  width: 48px; height: 48px;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  border-radius: var(--r-sm); display: flex; align-items: center;
  justify-content: center; margin-bottom: 20px; transition: var(--t);
  flex-shrink: 0;
}
.bcard:hover .bcard__icon {
  background: rgba(139,92,246,0.15);
  box-shadow: 0 0 20px rgba(139,92,246,0.15);
}

.bcard h3 {
  font-size: 20px; margin-bottom: 12px; line-height: 1.25;
}
.bcard--sistemas h3 { font-size: 26px; }
.bcard p {
  font-size: 14px; color: var(--text-muted); line-height: 1.75;
  flex: 1; margin-bottom: 20px;
}
.bcard--ia { flex-direction: row; align-items: center; gap: 48px; }
.bcard--ia > * { flex: 1; }
.bcard--ia .bcard__icon { flex-shrink: 0; }

.bcard__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.bcard__tags span {
  font-size: 10px; font-family: 'JetBrains Mono', monospace;
  background: var(--bg-4); border: 1px solid var(--border);
  color: var(--text-dim); padding: 3px 8px; border-radius: var(--r-full);
}

.bcard__link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-family: 'Sora', sans-serif; font-weight: 700;
  color: var(--gold); text-decoration: none;
  transition: gap .2s; margin-top: auto;
}
.bcard__link:hover { gap: 9px; }

/* ──────────────────────────────────────────────────────────────
   STATS
────────────────────────────────────────────────────────────── */
.stats {
  padding: 0; background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats__grid {
  display: flex; align-items: stretch;
}
.stat {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px; padding: 48px 24px;
  transition: background .2s;
}
.stat:hover { background: var(--bg-3); }
.stat__num {
  font-family: 'Sora', sans-serif; font-size: 48px; font-weight: 800;
  color: var(--gold); letter-spacing: -0.06em; line-height: 1; display: inline;
}
.stat__suf {
  font-family: 'Sora', sans-serif; font-size: 28px; font-weight: 800;
  color: var(--gold); display: inline;
}
.stat__label {
  display: block; font-size: 13px; color: var(--text-muted);
  font-weight: 500; text-align: center; margin-top: 6px;
}
.stat-sep {
  width: 1px; background: var(--border); flex-shrink: 0; margin: 24px 0;
}

/* ──────────────────────────────────────────────────────────────
   SISTEMAS
────────────────────────────────────────────────────────────── */
.sistemas {
  background: var(--bg-3); position: relative; overflow: hidden;
}
.sistemas::before {
  content: ''; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(139,92,246,0.04) 0%, transparent 65%);
  pointer-events: none;
}
.sistemas__inner {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 80px; align-items: start;
}
.sistemas__desc {
  color: var(--text-muted); font-size: 16px; line-height: 1.8;
  margin-bottom: 40px; max-width: 420px;
}

.sys-features { display: flex; flex-direction: column; gap: 4px; margin-bottom: 40px; }
.sys-feat {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px; border-radius: var(--r-md);
  border: 1px solid transparent; transition: var(--t);
}
.sys-feat:hover { background: var(--bg-4); border-color: var(--gold-border); }
.sys-feat__icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center;
  transition: var(--t);
}
.sys-feat:hover .sys-feat__icon { background: rgba(139,92,246,0.15); }
.sys-feat h4 { font-size: 14px; margin-bottom: 4px; font-weight: 600; }
.sys-feat p  { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* Showcase window */
.showcase-window {
  background: var(--bg-2); border: 1px solid var(--border-2);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow);
}
.showcase-window__bar {
  display: flex; align-items: center; padding: 12px 16px;
  background: var(--bg-3); border-bottom: 1px solid var(--border); gap: 8px;
}
.sw-dots { display: flex; gap: 5px; }
.sw-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--border-2); }
.sw-url {
  margin-left: 8px; display: flex; align-items: center; gap: 5px;
  font-size: 11px; color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg-4); padding: 3px 10px; border-radius: var(--r-full);
}
.showcase-content { display: flex; }
.sc-sidebar {
  width: 110px; flex-shrink: 0;
  background: var(--bg-3); border-right: 1px solid var(--border);
  padding: 12px 0;
}
.sc-item {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 14px; font-size: 11px; color: var(--text-dim);
  font-family: 'Sora', sans-serif; border-left: 2px solid transparent;
  transition: var(--t); cursor: default;
}
.sc-item:hover { color: var(--text-muted); background: var(--bg-4); }
.sc-item--active { color: var(--gold); border-left-color: var(--gold); background: var(--gold-dim); }
.sc-main { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.sc-kpis { display: flex; gap: 8px; }
.sc-kpi {
  flex: 1; background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 10px;
}
.sc-kpi__label { display: block; font-size: 9px; color: var(--text-dim); font-family:'Sora',sans-serif; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
.sc-kpi__val   { display: block; font-size: 16px; font-family:'Sora',sans-serif; font-weight:800; color: var(--text); }
.sc-kpi__up    { display: block; font-size: 10px; color: #34D399; font-weight:700; }
.sc-chart { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 14px; }
.sc-bars { display: flex; align-items: flex-end; gap: 5px; height: 64px; }
.sc-bar { flex: 1; background: var(--bg-4); border-radius: 3px 3px 0 0; height: var(--h); transition: height 1s var(--ease); }
.sc-bar--active { background: linear-gradient(to top, var(--gold), var(--gold-l)); }

/* ──────────────────────────────────────────────────────────────
   PROCESS
────────────────────────────────────────────────────────────── */
.process { background: var(--bg); }

.process__steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; margin-top: 60px;
}
.pstep {
  display: flex; flex-direction: column;
  border: 1px solid var(--border); border-radius: var(--r-xl);
  overflow: hidden; transition: border-color .3s;
}
.pstep:hover { border-color: var(--gold-border); }
.pstep__num {
  font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 800;
  color: var(--gold); letter-spacing: 0.08em;
  padding: 20px 24px 0; opacity: 0.6;
}
.pstep__body { padding: 16px 24px 28px; flex: 1; }
.pstep__icon {
  width: 40px; height: 40px;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; transition: var(--t);
}
.pstep:hover .pstep__icon { background: rgba(139,92,246,0.18); box-shadow: 0 0 20px rgba(139,92,246,0.15); }
.pstep h3 { font-size: 16px; margin-bottom: 10px; }
.pstep p  { font-size: 13px; color: var(--text-muted); line-height: 1.75; }

/* ──────────────────────────────────────────────────────────────
   CTA
────────────────────────────────────────────────────────────── */
.cta { padding: 80px 0; background: var(--bg-2); }
.cta__inner {
  background: var(--bg-3); border: 1px solid var(--gold-border);
  border-radius: var(--r-xl); padding: 80px;
  text-align: center; position: relative; overflow: hidden;
}
.cta__orb {
  position: absolute; border-radius: 50%;
  filter: blur(60px); pointer-events: none;
}
.cta__orb--1 { width:280px;height:280px; background:rgba(139,92,246,0.07); top:-80px; left:-60px; }
.cta__orb--2 { width:280px;height:280px; background:rgba(139,92,246,0.05); bottom:-80px; right:-60px; }
.cta__eyebrow {
  display: inline-block; font-family: 'Sora', sans-serif;
  font-size: 11px; font-weight: 700; color: var(--gold);
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 20px;
}
.cta__title {
  font-size: clamp(28px, 4vw, 48px); margin-bottom: 40px; line-height: 1.15;
}
.cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ──────────────────────────────────────────────────────────────
   CONTACT
────────────────────────────────────────────────────────────── */
.contact { background: var(--bg); }
.contact__inner {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: start;
}
.contact__desc {
  color: var(--text-muted); font-size: 15px;
  line-height: 1.8; margin-bottom: 40px; max-width: 340px;
}
.contact__channels { display: flex; flex-direction: column; gap: 10px; }
.channel {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; background: var(--bg-2);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  text-decoration: none; transition: var(--t);
}
.channel:hover { border-color: var(--gold-border); transform: translateX(4px); }
.channel__icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center;
}
.channel__label {
  display: block; font-size: 10px; color: var(--text-dim);
  font-family: 'Sora', sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.channel__val { display: block; font-size: 14px; color: var(--text-2); font-weight: 600; }
.channel__arrow { margin-left: auto; color: var(--text-dim); transition: var(--t); flex-shrink: 0; }
.channel:hover .channel__arrow { color: var(--gold); transform: translate(2px,-2px); }

/* Form */
.contact__right {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 48px;
}
.form { display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__group { display: flex; flex-direction: column; gap: 8px; }
.form__group label {
  font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 700;
  color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase;
}
.form__group input,
.form__group select,
.form__group textarea {
  background: var(--bg-3); border: 1.5px solid var(--border);
  border-radius: var(--r-sm); color: var(--text);
  font-family: 'Mulish', sans-serif; font-size: 14px;
  padding: 13px 16px; outline: none;
  transition: border-color .2s, box-shadow .2s;
  resize: none; -webkit-appearance: none;
}
.form__group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233E3E46' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px;
}
.form__group select option { background: var(--bg-3); color: var(--text); }
.form__group input::placeholder,
.form__group textarea::placeholder { color: var(--text-dim); }
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.1);
}
.form__lgpd {
  font-size: 12px; color: var(--text-dim); line-height: 1.65; text-align: center;
}
.form__lgpd abbr { text-decoration: underline dotted; cursor: help; }
.form__success {
  display: flex; align-items: center; gap: 10px;
  justify-content: center; color: var(--gold);
  font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 600;
  padding: 14px; background: var(--gold-dim);
  border: 1px solid var(--gold-border); border-radius: var(--r-sm);
  animation: fadeIn .3s;
}
.form__success[hidden] { display: none; }
.form__error {
  display: flex; align-items: center; gap: 10px;
  justify-content: center; color: #F87171;
  font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 600;
  padding: 14px; background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.3); border-radius: var(--r-sm);
  animation: fadeIn .3s;
}
.form__error[hidden] { display: none; }
@keyframes fadeIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }

/* ──────────────────────────────────────────────────────────────
   FOOTER
────────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-2); border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer__inner {
  display: flex; justify-content: space-between; gap: 48px;
  padding-bottom: 48px; flex-wrap: wrap;
}
.footer__brand { max-width: 220px; }
.footer__brand p {
  color: var(--text-muted); font-size: 13px;
  margin-top: 14px; margin-bottom: 22px; line-height: 1.75;
}
.footer__social { display: flex; gap: 8px; }
.footer__social a {
  width: 34px; height: 34px; display: flex;
  align-items: center; justify-content: center;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--r-sm); color: var(--text-muted);
  text-decoration: none; transition: var(--t);
}
.footer__social a:hover { border-color: var(--gold-border); color: var(--gold); transform: translateY(-2px); }
.footer__nav { display: flex; gap: 72px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h5 {
  font-size: 11px; font-family:'Sora',sans-serif; font-weight:700;
  color: var(--text-dim); letter-spacing:0.1em; text-transform:uppercase; margin-bottom:4px;
}
.footer__col a {
  font-size: 14px; color: var(--text-muted); text-decoration:none; transition: color .2s;
}
.footer__col a:hover { color: var(--text); }
.footer__bottom { border-top: 1px solid var(--border); padding: 20px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; }
.footer__bottom p { font-size: 12px; color: var(--text-dim); }

/* ──────────────────────────────────────────────────────────────
   COOKIE BANNER
────────────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 9000; width: calc(100% - 40px); max-width: 720px;
  background: var(--bg-3); border: 1px solid var(--gold-border);
  border-radius: var(--r-lg); padding: 18px 24px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.7);
  animation: slideUp .4s var(--ease);
}
.cookie-banner[hidden] { display: none; }
@keyframes slideUp {
  from { opacity:0; transform: translateX(-50%) translateY(20px); }
  to   { opacity:1; transform: translateX(-50%) translateY(0); }
}
.cookie-banner__inner {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cookie-banner__text { flex: 1; min-width: 240px; }
.cookie-banner__text strong { display: block; font-family:'Sora',sans-serif; font-size:14px; color:var(--text); margin-bottom:3px; }
.cookie-banner__text p { font-size:13px; color:var(--text-muted); line-height:1.5; }
.cookie-banner__actions { display:flex; gap:8px; flex-shrink:0; }

/* ──────────────────────────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bcard--sistemas { grid-column: span 2; grid-row: auto; }
  .bcard--landing  { grid-column: auto; }
  .bcard--suporte  { grid-column: auto; }
  .bcard--ia       { grid-column: span 2; flex-direction: column; gap: 24px; }
  .sistemas__inner { grid-template-columns: 1fr; gap: 48px; }
  .sistemas__right { order: -1; }
  .process__steps  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 80px 0; }
  .container { padding: 0 20px; }

  /* Navbar */
  .navbar__inner { padding: 0 20px; }
  .navbar__links {
    position: fixed; inset: 0;
    background: rgba(13,13,15,0.97); backdrop-filter: blur(24px);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 8px; display: none; z-index: 150;
  }
  .navbar__links.is-open { display: flex; }
  .nav-link { font-size: 22px; padding: 14px 28px; }
  .navbar__cta { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { display: none; }
  .hero__title { font-size: 40px; }

  /* Stats */
  .stats__grid { flex-wrap: wrap; }
  .stat-sep { display: none; }
  .stat { flex: 1 1 45%; border: 1px solid var(--border); border-radius: var(--r-md); margin: 4px; }

  /* Bento */
  .bento { grid-template-columns: 1fr; }
  .bcard--sistemas,
  .bcard--landing,
  .bcard--suporte,
  .bcard--ia { grid-column: auto; grid-row: auto; flex-direction: column; }

  /* Process */
  .process__steps { grid-template-columns: 1fr; }

  /* CTA */
  .cta__inner { padding: 48px 28px; }

  /* Contact */
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .form__row { grid-template-columns: 1fr; }
  .contact__right { padding: 28px 22px; }

  /* Footer */
  .footer__inner { flex-direction: column; }
  .footer__nav { gap: 40px; }
  .footer__bottom-inner { flex-direction: column; gap: 6px; text-align: center; }

  /* Cookie */
  .cookie-banner { bottom: 12px; padding: 14px 16px; width: calc(100% - 24px); }
  .cookie-banner__inner { flex-direction: column; align-items: stretch; }
  .cookie-banner__actions { justify-content: stretch; }
  .cookie-banner__actions .btn { flex: 1; justify-content: center; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 34px; }
  .section-title { font-size: 28px; }
  .hero__actions { flex-direction: column; }
  .btn--lg { padding: 14px 24px; font-size: 14px; }
  .cta__actions { flex-direction: column; align-items: center; }
}
