:root {
  --bg: #050816;
  --bg-2: #090d20;
  --panel: rgba(13, 18, 42, .76);
  --panel-solid: #0d122a;
  --panel-soft: #111833;
  --line: rgba(158, 190, 255, .14);
  --line-strong: rgba(130, 183, 255, .25);
  --text: #f7f9ff;
  --muted: #9da8c8;
  --muted-2: #76809e;
  --blue: #2f7dff;
  --cyan: #21d7ff;
  --purple: #7948ff;
  --green: #33d17a;
  --red: #ff6680;
  --amber: #f8c65a;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 80px rgba(0, 0, 0, .35);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: hidden; }
body { margin: 0; min-width: 320px; overflow-x: hidden; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
button { color: inherit; }
::selection { background: rgba(47, 125, 255, .42); color: white; }

.shell { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.sr-only { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.muted { color: var(--muted); }

.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand__mark { width: 40px; height: 40px; border-radius: 13px; overflow: hidden; border: 1px solid rgba(113, 170, 255, .2); box-shadow: 0 8px 26px rgba(20, 86, 255, .22); flex: 0 0 auto; }
.brand__mark img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.55); }
.brand__text { display: grid; line-height: 1; letter-spacing: -.02em; }
.brand__text strong { font-size: 1rem; }
.brand__text small { margin-top: 3px; color: var(--muted); font-size: .67rem; letter-spacing: .18em; text-transform: uppercase; }
.brand--compact .brand__mark { width: 38px; height: 38px; }

.btn { appearance: none; border: 1px solid transparent; min-height: 46px; padding: 0 18px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 750; font-size: .92rem; cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease, opacity .2s ease; white-space: normal; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.btn--primary { background: linear-gradient(135deg, var(--blue), #5468ff 58%, var(--purple)); color: #fff; box-shadow: 0 12px 34px rgba(47, 125, 255, .25), inset 0 1px 0 rgba(255,255,255,.2); }
.btn--primary:hover { box-shadow: 0 16px 42px rgba(47, 125, 255, .34), inset 0 1px 0 rgba(255,255,255,.2); }
.btn--ghost { background: rgba(255,255,255,.035); border-color: var(--line); color: #e9eeff; }
.btn--ghost:hover { background: rgba(255,255,255,.065); border-color: var(--line-strong); }
.btn--whatsapp { background: #25d366; color: #03170c; }
.btn--small { min-height: 40px; padding-inline: 15px; font-size: .86rem; }
.btn--large { min-height: 52px; padding-inline: 20px; }
.btn--full { width: 100%; }
.btn[disabled] { opacity: .65; cursor: wait; transform: none; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #a9c7ff; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(33, 215, 255, .08), 0 0 18px rgba(33, 215, 255, .7); }
.gradient-text { background: linear-gradient(120deg, #fff 5%, #8ddfff 42%, #7d7dff 72%, #c381ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.055); background: rgba(5,8,22,.76); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.site-header__inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.desktop-nav { display: none; }
.menu-button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.035); padding: 0; display: grid; place-content: center; gap: 4px; cursor: pointer; }
.menu-button span { width: 18px; height: 2px; border-radius: 3px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
.menu-open .menu-button span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-button span:nth-child(2) { opacity: 0; }
.menu-open .menu-button span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--line); background: rgba(5,8,22,.96); }
.mobile-menu__inner { display: grid; gap: 4px; padding-block: 12px 18px; }
.mobile-menu a:not(.btn) { min-height: 48px; display: flex; align-items: center; padding: 0 8px; color: #dfe6fb; font-weight: 650; }
.mobile-menu .btn { margin-top: 6px; }

.hero { min-height: 100svh; padding: 112px 0 62px; position: relative; overflow: hidden; display: flex; align-items: center; background: radial-gradient(circle at 30% 0%, rgba(30,92,255,.16), transparent 36%), linear-gradient(180deg, #050816 0%, #060916 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 72%); }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(30px); opacity: .4; pointer-events: none; }
.hero__glow--one { width: 360px; height: 360px; background: rgba(15, 111, 255, .28); top: 8%; right: -210px; }
.hero__glow--two { width: 250px; height: 250px; background: rgba(124, 41, 255, .18); left: -160px; bottom: 5%; }
.hero__grid { position: relative; z-index: 1; display: grid; gap: 44px; }
.hero__copy { min-width: 0; }
.hero h1 { margin: 18px 0 18px; max-width: 780px; font-size: clamp(2.55rem, 12vw, 4.6rem); line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.hero__lead { max-width: 650px; margin: 0; color: #aeb8d6; font-size: clamp(1rem, 4.2vw, 1.2rem); line-height: 1.7; }
.hero__actions { margin-top: 28px; display: grid; gap: 10px; }
.hero__actions .btn { width: 100%; }
.hero__trust { display: grid; gap: 12px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero__trust > div { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; }
.hero__trust strong { color: #739eff; font-size: .72rem; }
.hero__trust span { color: var(--muted); font-size: .84rem; }
.hero__visual { min-width: 0; }
.orbit-card { position: relative; width: min(100%, 520px); aspect-ratio: 1 / 1; margin-inline: auto; border: 1px solid var(--line-strong); border-radius: 30px; overflow: hidden; background: #030817; box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.02) inset, 0 0 90px rgba(39,106,255,.08); transform: perspective(1000px) rotateX(1.5deg) rotateY(-2deg); }
.orbit-card::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 90px rgba(0,0,0,.28); pointer-events: none; }
.orbit-card img { width: 100%; height: 100%; object-fit: cover; }
.orbit-card__scan { position: absolute; z-index: 2; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(134,221,255,.14) 47%, transparent 58%); transform: translateX(-100%); animation: scan 7s ease-in-out infinite; pointer-events: none; }
.orbit-card__status { position: absolute; z-index: 3; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(4,8,22,.68); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #dce9ff; font-size: .78rem; font-weight: 700; }
.orbit-card__status span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px rgba(51,209,122,.8); }
@keyframes scan { 0%, 55% { transform: translateX(-115%); } 75%, 100% { transform: translateX(115%); } }

.section { padding: 84px 0; position: relative; }
.section--tight { padding: 0 0 42px; }
.section--alt { background: linear-gradient(180deg, rgba(14,20,46,.78), rgba(7,10,25,.88)); border-block: 1px solid var(--line); }
.section--contact { padding-bottom: 96px; background: radial-gradient(circle at 80% 20%, rgba(89,61,255,.16), transparent 36%), linear-gradient(180deg, #060916, #080b1c); }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading h2, .about-copy h2, .contact-copy h2 { margin: 12px 0 14px; font-size: clamp(2rem, 8vw, 3.5rem); line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.section-heading p, .about-copy > p, .contact-copy > p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }

.metric-strip { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(13,18,42,.6); overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,.2); }
.metric-strip > div { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 18px; border-bottom: 1px solid var(--line); }
.metric-strip > div:last-child { border-bottom: 0; }
.metric-strip__icon { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 11px; display: grid; place-items: center; background: rgba(47,125,255,.1); color: #74b9ff; }
.metric-strip p { display: grid; margin: 0; min-width: 0; }
.metric-strip strong { font-size: .92rem; }
.metric-strip small { color: var(--muted-2); margin-top: 2px; }

.solutions-grid { display: grid; gap: 14px; }
.solution-card { min-width: 0; position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, rgba(18,25,55,.8), rgba(10,14,34,.72)); overflow: hidden; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.solution-card:hover { transform: translateY(-4px); border-color: rgba(85,156,255,.3); background: linear-gradient(160deg, rgba(21,31,68,.9), rgba(10,14,34,.8)); }
.solution-card::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; right: -90px; top: -90px; background: rgba(53,118,255,.12); filter: blur(15px); }
.solution-card__number { position: absolute; top: 18px; right: 20px; font-size: .7rem; color: #617096; font-weight: 800; letter-spacing: .12em; }
.solution-card__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, rgba(47,125,255,.2), rgba(121,72,255,.2)); border: 1px solid rgba(117,164,255,.15); color: #9bdfff; font-size: 1.35rem; box-shadow: inset 0 1px rgba(255,255,255,.08); }
.solution-card h3 { margin: 20px 0 10px; font-size: 1.3rem; letter-spacing: -.025em; }
.solution-card p { margin: 0; color: var(--muted); line-height: 1.7; }
.solution-card ul { margin: 20px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.solution-card li { color: #c9d5f3; font-size: .82rem; }
.solution-card li::before { content: "✓"; color: var(--cyan); margin-right: 7px; }
.solution-card--featured { background: linear-gradient(145deg, rgba(32,73,152,.25), rgba(15,21,46,.88)); }

.process-layout { display: grid; gap: 36px; }
.text-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 20px; color: #b7d9ff; font-weight: 750; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.process-list { display: grid; gap: 12px; }
.process-item { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 22px 0; border-top: 1px solid var(--line); }
.process-item:last-child { border-bottom: 1px solid var(--line); }
.process-item > span { color: #6787ca; font-size: .76rem; font-weight: 800; padding-top: 4px; }
.process-item h3 { margin: 0 0 7px; font-size: 1.25rem; }
.process-item p { margin: 0; color: var(--muted); line-height: 1.7; }

.about-grid { display: grid; gap: 40px; align-items: center; }
.about-visual { min-width: 0; }
.constellation { width: min(86vw, 450px); aspect-ratio: 1; margin-inline: auto; position: relative; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(37,95,255,.16), rgba(7,10,25,.1) 52%, transparent 70%); }
.constellation::before, .constellation::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(91,149,255,.17); }
.constellation::before { inset: 8%; }
.constellation::after { inset: 21%; border-style: dashed; animation: rotate 22s linear infinite reverse; }
.constellation__core { width: 114px; height: 114px; display: grid; place-items: center; border-radius: 38% 62% 60% 40% / 44% 39% 61% 56%; background: linear-gradient(145deg, var(--cyan), var(--blue) 45%, var(--purple)); font-size: 3.7rem; font-weight: 900; box-shadow: 0 0 60px rgba(47,125,255,.42); animation: morph 9s ease-in-out infinite; }
.constellation__ring { position: absolute; width: 66%; height: 22%; border: 3px solid rgba(112,227,255,.8); border-radius: 50%; transform: rotate(-20deg); box-shadow: 0 0 25px rgba(33,215,255,.35); }
.constellation__orb { position: absolute; width: 13px; height: 13px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px rgba(33,215,255,.7); }
.constellation__orb--1 { top: 11%; left: 48%; }
.constellation__orb--2 { right: 15%; bottom: 25%; background: #8e64ff; }
.constellation__orb--3 { left: 16%; top: 38%; width: 8px; height: 8px; }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes morph { 0%,100% { border-radius: 38% 62% 60% 40% / 44% 39% 61% 56%; } 50% { border-radius: 57% 43% 38% 62% / 61% 58% 42% 39%; } }
.principles { margin-top: 26px; display: grid; gap: 12px; }
.principles > div { padding: 15px 16px; border-left: 2px solid rgba(60,144,255,.55); background: linear-gradient(90deg, rgba(47,125,255,.07), transparent); display: flex; flex-wrap: wrap; gap: 6px 9px; }
.principles strong { font-size: .93rem; }
.principles span { color: var(--muted); font-size: .93rem; }

.contact-grid { display: grid; gap: 36px; align-items: start; }
.contact-note { display: flex; gap: 12px; margin-top: 22px; }
.contact-note > span { width: 26px; height: 26px; flex: 0 0 auto; border-radius: 9px; display: grid; place-items: center; background: rgba(48,209,122,.1); color: var(--green); border: 1px solid rgba(48,209,122,.18); font-weight: 900; font-size: .75rem; }
.contact-note p { display: grid; margin: 0; }
.contact-note strong { font-size: .9rem; }
.contact-note small { margin-top: 3px; color: var(--muted); line-height: 1.45; }
.form-card { min-width: 0; padding: 20px; border: 1px solid var(--line-strong); border-radius: 26px; background: linear-gradient(150deg, rgba(20,28,62,.9), rgba(9,13,32,.94)); box-shadow: var(--shadow); }
.field-grid { display: grid; gap: 15px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field > span { color: #c8d3ef; font-size: .78rem; font-weight: 720; }
.field input, .field select, .field textarea, .search-box input, .filters select { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: rgba(3,7,19,.62); color: #f7f9ff; padding: 0 13px; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.field input, .field select, .search-box input, .filters select { height: 48px; }
.field textarea { padding-top: 12px; padding-bottom: 12px; resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder, .search-box input::placeholder { color: #68718e; }
.field input:focus, .field select:focus, .field textarea:focus, .search-box input:focus, .filters select:focus { border-color: rgba(76,150,255,.6); box-shadow: 0 0 0 4px rgba(47,125,255,.08); background: rgba(4,9,24,.9); outline: none; }
.field select, .filters select { color-scheme: dark; }
.consent { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 10px; align-items: start; margin: 17px 0; color: var(--muted); font-size: .76rem; line-height: 1.5; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); }
.form-status { min-height: 18px; margin: 12px 0 0; color: #9cb5dc; text-align: center; font-size: .8rem; }
.form-status.is-error { color: #ff8798; }
.success-banner { margin-bottom: 18px; padding: 14px; border: 1px solid rgba(51,209,122,.22); border-radius: 14px; background: rgba(51,209,122,.08); display: grid; gap: 3px; }
.success-banner strong { color: #89efb5; }
.success-banner span { color: #b8c9c1; font-size: .85rem; }

.site-footer { border-top: 1px solid var(--line); background: #040612; }
.site-footer__inner { padding: 36px 0; display: grid; gap: 26px; }
.site-footer__inner > div:first-child p { color: var(--muted); margin: 12px 0 0; font-size: .83rem; }
.site-footer__links { display: grid; gap: 12px; }
.site-footer__links a { color: #aeb8d6; font-size: .84rem; }
.site-footer__links a:hover { color: white; }
.site-footer__inner > small { color: #606a86; font-size: .74rem; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--delay { transition-delay: .08s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto!important; animation-duration: .01ms!important; animation-iteration-count: 1!important; transition-duration: .01ms!important; } .reveal { opacity: 1; transform: none; } }

/* LOGIN */
.login-page { min-height: 100svh; background: #060916; }
.login-shell { min-height: 100svh; display: grid; }
.login-brand-panel { display: none; }
.login-form-panel { min-height: 100svh; padding: 28px 16px; display: grid; place-items: center; background: radial-gradient(circle at 50% 0%, rgba(53,108,255,.12), transparent 35%); }
.login-card { width: min(100%, 430px); padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: rgba(13,18,42,.82); box-shadow: var(--shadow); }
.login-card__heading { margin: 34px 0 22px; }
.login-card h2 { margin: 10px 0 8px; font-size: 2rem; letter-spacing: -.04em; }
.login-card__heading p { margin: 0; color: var(--muted); }
.login-form { display: grid; gap: 15px; }
.password-field { display: grid; grid-template-columns: minmax(0,1fr) 48px; border: 1px solid var(--line); border-radius: 12px; background: rgba(3,7,19,.62); overflow: hidden; }
.password-field:focus-within { border-color: rgba(76,150,255,.6); box-shadow: 0 0 0 4px rgba(47,125,255,.08); }
.password-field input { height: 48px; border: 0!important; box-shadow: none!important; background: transparent!important; }
.password-field button { border: 0; border-left: 1px solid var(--line); background: transparent; cursor: pointer; color: #9ca9ca; }
.error-banner { margin-bottom: 16px; padding: 12px 13px; border: 1px solid rgba(255,102,128,.22); background: rgba(255,102,128,.08); color: #ff9bad; border-radius: 12px; font-size: .84rem; }
.login-security { margin: 18px 0 0; text-align: center; color: #6f7995; font-size: .72rem; }
.login-back { position: absolute; top: 28px; left: 34px; color: #9eb1da; font-weight: 650; font-size: .86rem; }
.login-art { width: min(72%, 460px); border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }

/* ADMIN */
.admin-page { background: #070a17; }
.admin-layout { min-height: 100svh; }
.admin-sidebar { display: none; }
.admin-mobile-header { position: sticky; top: 0; z-index: 40; height: 66px; padding: 0 16px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); background: rgba(7,10,23,.92); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.admin-mobile-header .brand__text { display: none; }
.admin-mobile-header > strong { font-size: .88rem; }
.admin-menu-button { justify-self: end; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.035); cursor: pointer; font-size: 1.1rem; }
.admin-mobile-menu { position: fixed; z-index: 39; inset: 66px 0 0; padding: 18px 16px; background: rgba(7,10,23,.985); overflow-y: auto; }
.admin-nav { display: grid; gap: 5px; }
.admin-nav a { min-height: 48px; padding: 0 13px; border-radius: 12px; display: flex; align-items: center; gap: 11px; color: #9eabc8; font-weight: 650; font-size: .88rem; }
.admin-nav a span { width: 24px; color: #7380a4; }
.admin-nav a:hover, .admin-nav a.is-active { background: rgba(64,125,255,.1); color: #edf4ff; }
.admin-nav a.is-active span { color: #78b8ff; }
.admin-mobile-menu form { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.admin-main { min-width: 0; padding: 26px 16px 52px; }
.admin-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.admin-heading h1 { margin: 7px 0 5px; font-size: clamp(2rem, 9vw, 2.8rem); line-height: 1; letter-spacing: -.045em; }
.admin-heading p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.admin-heading__cta { display: none; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat-card { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(150deg, rgba(18,25,53,.88), rgba(11,15,34,.84)); }
.stat-card__icon { width: 35px; height: 35px; border-radius: 11px; display: grid; place-items: center; background: rgba(47,125,255,.1); color: #84baff; margin-bottom: 16px; }
.stat-card p { margin: 0; display: grid; min-width: 0; }
.stat-card small { color: #8f9bb7; font-size: .7rem; }
.stat-card strong { margin-top: 4px; font-size: 1.8rem; line-height: 1.15; letter-spacing: -.04em; }
.stat-card p span { margin-top: 6px; color: #65708d; font-size: .66rem; line-height: 1.35; }
.leads-panel { margin-top: 18px; border: 1px solid var(--line); border-radius: 19px; background: rgba(13,18,42,.58); overflow: hidden; }
.leads-panel__header { padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); }
.leads-panel__header h2 { margin: 0; font-size: 1.05rem; }
.leads-panel__header p { margin: 3px 0 0; color: var(--muted-2); font-size: .72rem; }
.filter-mobile-button { min-height: 40px; padding-inline: 14px; }
.filters--desktop, .desktop-table-wrap { display: none; }
.mobile-leads { padding: 12px; display: grid; gap: 10px; }
.lead-mobile-card { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.02); }
.lead-mobile-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.lead-name { min-width: 0; display: flex; align-items: center; gap: 10px; }
.lead-name > span { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(135deg, rgba(47,125,255,.22), rgba(121,72,255,.22)); color: #b8ddff; font-weight: 800; font-size: .8rem; }
.lead-name > div { min-width: 0; display: grid; }
.lead-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .86rem; }
.lead-name small { color: var(--muted-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .69rem; }
.status { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 999px; border: 1px solid transparent; font-size: .62rem; font-weight: 800; white-space: nowrap; }
.status--novo { background: rgba(69,138,255,.1); border-color: rgba(69,138,255,.18); color: #8fc0ff; }
.status--contato { background: rgba(33,215,255,.09); border-color: rgba(33,215,255,.16); color: #79e9ff; }
.status--proposta { background: rgba(248,198,90,.08); border-color: rgba(248,198,90,.17); color: #f9d982; }
.status--fechado { background: rgba(51,209,122,.09); border-color: rgba(51,209,122,.18); color: #83eaaa; }
.status--perdido { background: rgba(255,102,128,.08); border-color: rgba(255,102,128,.16); color: #ff9aaa; }
.lead-mobile-card__meta { margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lead-mobile-card__meta div { min-width: 0; display: grid; }
.lead-mobile-card__meta small { color: #68728f; font-size: .65rem; }
.lead-mobile-card__meta strong { margin-top: 3px; color: #dbe3f6; font-size: .73rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lead-mobile-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 13px; }
.lead-mobile-card__actions .btn { min-height: 42px; padding-inline: 10px; font-size: .74rem; }
.empty-state { padding: 38px 18px; text-align: center; }
.empty-state > span { width: 46px; height: 46px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 14px; background: rgba(47,125,255,.08); color: #6ea9ff; }
.empty-state h3 { margin: 0; font-size: .95rem; }
.empty-state p { margin: 5px 0 0; color: var(--muted-2); font-size: .75rem; }
.filter-drawer { position: fixed; z-index: 100; inset: 0; }
.filter-drawer__backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(0,0,0,.58); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.filter-drawer__panel { position: absolute; inset: auto 0 0; max-height: 85svh; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); border: 1px solid var(--line); border-radius: 24px 24px 0 0; background: #0c1128; box-shadow: 0 -20px 60px rgba(0,0,0,.4); overflow-y: auto; }
.filter-drawer__heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.filter-drawer__heading h2 { margin: 5px 0 0; }
.filter-drawer__heading > button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.03); font-size: 1.3rem; }
.filters--mobile { margin-top: 22px; display: grid; gap: 14px; }
.drawer-open { overflow: hidden; }

.detail-topbar { min-height: 44px; margin-bottom: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.back-link { color: #9fb0d3; font-size: .8rem; font-weight: 700; }
.saved-badge { padding: 7px 10px; border-radius: 999px; background: rgba(51,209,122,.09); color: #86e7ad; border: 1px solid rgba(51,209,122,.16); font-size: .67rem; font-weight: 750; }
.lead-detail-grid { display: grid; gap: 14px; }
.lead-detail-main, .lead-detail-side { min-width: 0; display: grid; align-content: start; gap: 14px; }
.lead-detail-head { padding: 20px 0 4px; display: flex; gap: 14px; align-items: center; }
.lead-avatar { width: 54px; height: 54px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 17px; background: linear-gradient(135deg, rgba(47,125,255,.3), rgba(121,72,255,.3)); color: #d5edff; font-size: 1.15rem; font-weight: 850; }
.lead-detail-head h1 { margin: 6px 0 0; font-size: clamp(1.7rem, 8vw, 2.6rem); line-height: 1; letter-spacing: -.045em; overflow-wrap: anywhere; }
.lead-detail-head p { margin: 5px 0 0; color: var(--muted); font-size: .82rem; }
.detail-card { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(13,18,42,.65); }
.detail-card__heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.detail-card__heading span { font-weight: 780; font-size: .92rem; }
.detail-card__heading small { color: #69738f; font-size: .64rem; text-align: right; }
.detail-info-grid { display: grid; gap: 14px; }
.detail-info-grid > div { min-width: 0; display: grid; gap: 4px; }
.detail-info-grid small { color: #6f7b98; font-size: .68rem; }
.detail-info-grid strong { color: #e7edfb; font-size: .83rem; overflow-wrap: anywhere; }
.lead-message { margin: 0; color: #bbc5dc; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-card hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }
.status-form { display: grid; gap: 12px; }

.simple-error { min-height: 100svh; padding: 32px; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at center, rgba(47,125,255,.1), transparent 45%), #050816; }
.simple-error span { color: #7186b5; font-weight: 900; letter-spacing: .2em; }
.simple-error h1 { margin: 10px 0; font-size: clamp(2rem, 8vw, 4rem); letter-spacing: -.05em; }
.simple-error p { color: var(--muted); }
.simple-error .btn { margin-top: 15px; }

@media (min-width: 480px) {
  .shell { width: min(100% - 40px, var(--max)); }
  .hero__actions { grid-template-columns: max-content max-content; }
  .hero__actions .btn { width: auto; }
  .hero__trust { grid-template-columns: repeat(3, 1fr); }
  .hero__trust > div { grid-template-columns: 1fr; gap: 5px; }
  .metric-strip { grid-template-columns: 1fr 1fr; }
  .metric-strip > div:nth-child(2) { border-right: 0; }
  .metric-strip > div:nth-child(3) { border-bottom: 0; }
  .metric-strip > div { border-right: 1px solid var(--line); }
  .form-card { padding: 24px; }
  .detail-info-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 700px) {
  .shell { width: min(100% - 56px, var(--max)); }
  .section { padding: 104px 0; }
  .section--tight { padding: 0 0 48px; }
  .hero { padding-top: 120px; }
  .hero__grid { gap: 54px; }
  .solutions-grid { grid-template-columns: 1fr 1fr; }
  .solution-card--featured { grid-column: 1 / -1; }
  .process-item { grid-template-columns: 54px minmax(0,1fr); padding: 26px 0; }
  .field-grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
  .site-footer__inner { grid-template-columns: 1fr auto; align-items: start; }
  .site-footer__links { grid-template-columns: repeat(2, max-content); column-gap: 28px; }
  .site-footer__inner > small { grid-column: 1 / -1; }
  .login-form-panel { padding: 48px; }
  .login-card { padding: 32px; }
  .admin-main { padding-inline: 28px; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-card { padding: 18px; }
  .filter-drawer__panel { left: auto; top: 0; width: min(390px, 90vw); max-height: none; border-radius: 22px 0 0 22px; padding: 28px 22px; }
}

@media (min-width: 900px) {
  .site-header__inner { height: 76px; }
  .desktop-nav { display: flex; align-items: center; gap: 6px; }
  .desktop-nav > a:not(.btn) { padding: 9px 12px; color: #a8b3cf; font-size: .83rem; font-weight: 670; }
  .desktop-nav > a:not(.btn):hover { color: #fff; }
  .menu-button, .mobile-menu { display: none!important; }
  .hero { min-height: 760px; padding: 134px 0 76px; }
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); align-items: center; gap: 56px; }
  .hero h1 { font-size: clamp(3.6rem, 6vw, 5.3rem); }
  .hero__lead { max-width: 610px; }
  .hero__trust { max-width: 650px; }
  .orbit-card { margin-right: 0; }
  .metric-strip { grid-template-columns: repeat(4, 1fr); }
  .metric-strip > div { border-bottom: 0; }
  .solutions-grid { grid-template-columns: 1.2fr .8fr .8fr; grid-auto-rows: minmax(240px, auto); }
  .solution-card--featured { grid-column: auto; grid-row: span 2; padding: 32px; }
  .solution-card--featured h3 { font-size: 1.65rem; }
  .solution-card:last-child { grid-column: 2 / 4; }
  .process-layout { grid-template-columns: .86fr 1.14fr; gap: 80px; align-items: start; }
  .section-heading--sticky { position: sticky; top: 118px; margin-bottom: 0; }
  .about-grid { grid-template-columns: .92fr 1.08fr; gap: 80px; }
  .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; }
  .form-card { padding: 30px; }
  .site-footer__inner { grid-template-columns: 1fr auto auto; align-items: center; }
  .site-footer__links { grid-template-columns: repeat(4, max-content); }
  .site-footer__inner > small { grid-column: auto; text-align: right; }
}

@media (min-width: 1024px) {
  .login-shell { grid-template-columns: minmax(0, 1.15fr) minmax(440px, .85fr); }
  .login-brand-panel { display: flex; position: relative; overflow: hidden; padding: 80px 7vw 60px; flex-direction: column; justify-content: space-between; background: radial-gradient(circle at 30% 20%, rgba(41,105,255,.18), transparent 33%), #050816; border-right: 1px solid var(--line); }
  .login-brand-panel::after { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(61,128,255,.14); border-radius: 50%; left: -260px; bottom: -270px; box-shadow: 0 0 0 70px rgba(61,128,255,.018), 0 0 0 140px rgba(61,128,255,.015); }
  .login-brand-panel > div:nth-child(2) { max-width: 560px; }
  .login-brand-panel h1 { margin: 15px 0 14px; font-size: clamp(3rem, 5vw, 5.2rem); line-height: .98; letter-spacing: -.055em; }
  .login-brand-panel p { max-width: 500px; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
  .login-form-panel { min-height: 100svh; }

  .admin-layout { display: grid; grid-template-columns: 232px minmax(0,1fr); }
  .admin-sidebar { position: sticky; top: 0; height: 100svh; padding: 22px 14px 16px; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: #090d1f; }
  .admin-sidebar > .brand { padding: 0 8px 22px; border-bottom: 1px solid var(--line); }
  .admin-sidebar .admin-nav { margin-top: 20px; }
  .admin-sidebar__bottom { margin-top: auto; padding: 14px 8px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 9px minmax(0,1fr) 32px; gap: 9px; align-items: center; }
  .admin-user-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(51,209,122,.6); }
  .admin-sidebar__bottom > div { display: grid; min-width: 0; }
  .admin-sidebar__bottom strong { font-size: .72rem; }
  .admin-sidebar__bottom small { color: #69738f; font-size: .61rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .admin-sidebar__bottom button { width: 32px; height: 32px; border: 0; border-radius: 9px; background: transparent; color: #77819f; cursor: pointer; }
  .admin-mobile-header, .admin-mobile-menu { display: none!important; }
  .admin-main { padding: 42px 34px 60px; }
  .admin-heading { margin-bottom: 28px; }
  .admin-heading__cta { display: inline-flex; }
  .stat-card { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 12px; align-items: start; }
  .stat-card__icon { margin: 0; }
  .stat-card strong { font-size: 2rem; }
  .leads-panel { margin-top: 22px; }
  .leads-panel__header { padding: 18px 20px 12px; border-bottom: 0; }
  .filter-mobile-button, .mobile-leads { display: none; }
  .filters--desktop { display: grid; grid-template-columns: minmax(240px,1fr) 190px auto auto; gap: 9px; padding: 0 20px 18px; border-bottom: 1px solid var(--line); }
  .search-box { min-width: 0; display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: center; border: 1px solid var(--line); border-radius: 12px; background: rgba(3,7,19,.62); overflow: hidden; }
  .search-box > span { text-align: center; color: #65718f; }
  .search-box input { height: 44px; border: 0; border-radius: 0; background: transparent; padding-left: 0; }
  .filters select { height: 44px; }
  .filters .btn { min-height: 44px; }
  .desktop-table-wrap { display: block; overflow: hidden; }
  .leads-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
  .leads-table th, .leads-table td { padding: 13px 14px; text-align: left; border-bottom: 1px solid rgba(153,181,240,.08); vertical-align: middle; }
  .leads-table th { color: #67728e; font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
  .leads-table td { color: #cbd3e7; font-size: .74rem; overflow: hidden; }
  .leads-table th:nth-child(1) { width: 26%; }
  .leads-table th:nth-child(2) { width: 16%; }
  .leads-table th:nth-child(3) { width: 15%; }
  .leads-table th:nth-child(4) { width: 20%; }
  .leads-table th:nth-child(5) { width: 18%; }
  .leads-table th:nth-child(6) { width: 5%; }
  .leads-table tbody tr:hover { background: rgba(255,255,255,.018); }
  .leads-table .lead-name strong { font-size: .78rem; }
  .leads-table .lead-name small { font-size: .64rem; }
  .leads-table .lead-name > span { width: 31px; height: 31px; border-radius: 10px; }
  .table-sub { display: block; margin-top: 2px; color: #68728d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .table-actions a { width: 30px; height: 30px; margin-left: auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: #83baff; }
  .empty-state--table { padding-block: 54px; }
  .lead-detail-grid { grid-template-columns: minmax(0,1fr) 300px; gap: 20px; }
  .lead-detail-head { padding-top: 8px; }
  .detail-card { padding: 20px; }
  .detail-card--sticky { position: sticky; top: 30px; }
}

@media (min-width: 1280px) {
  :root { --max: 1240px; }
  .shell { width: min(100% - 80px, var(--max)); }
  .hero__grid { gap: 78px; }
  .hero h1 { font-size: 5.4rem; }
  .orbit-card { width: min(100%, 560px); }
  .admin-layout { grid-template-columns: 252px minmax(0,1fr); }
  .admin-main { padding: 46px 46px 64px; max-width: 1500px; width: 100%; margin: 0 auto; }
  .stats-grid { gap: 14px; }
  .stat-card { padding: 20px; }
  .lead-detail-grid { grid-template-columns: minmax(0,1fr) 330px; gap: 24px; }
}

@media (min-width: 1600px) {
  :root { --max: 1320px; }
  .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 100px; }
  .hero h1 { font-size: 5.7rem; }
  .section { padding-block: 120px; }
  .admin-main { max-width: 1540px; padding-inline: 58px; }
}

@media (max-width: 370px) {
  .shell { width: min(100% - 24px, var(--max)); }
  .hero h1 { font-size: 2.32rem; }
  .hero__actions .btn { padding-inline: 15px; }
  .stat-card { padding: 13px; }
  .lead-mobile-card__top { align-items: stretch; flex-direction: column; }
  .lead-mobile-card__top .status { align-self: flex-start; }
  .lead-mobile-card__actions { grid-template-columns: 1fr; }
  .admin-main { padding-inline: 12px; }
  .admin-mobile-header { padding-inline: 12px; }
}
