:root {
  --font-ui: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --surface: #0f151d;
  --surface-2: #151d27;
  --surface-3: #1d2834;
  --surface-warm: #f4efe6;
  --ink: #f8f3ea;
  --ink-soft: #cbd5dc;
  --muted-2: #91a0aa;
  --border: rgba(255, 255, 255, 0.13);
  --border-strong: rgba(255, 255, 255, 0.22);
  --accent-amber: #ffb13b;
  --accent-teal: #21d0ae;
  --accent-blue: #86b7ff;
  --accent-coral: #ff7a66;
  --accent-red: #ff6b6b;
  --accent-green: #85de86;
  --shadow-soft: 0 20px 70px rgba(0, 0, 0, 0.33);
  --shadow-card: 0 16px 42px rgba(0, 0, 0, 0.22);
}

/* Premium access card */
.login-panel { padding: 30px; }
.login-access-card { position:relative; width:100%; max-width:390px; padding:30px; margin:auto; border:1px solid rgba(255,255,255,.09); border-radius:24px; background:linear-gradient(155deg,rgba(255,255,255,.055),rgba(255,255,255,.018)); box-shadow:0 28px 70px rgba(0,0,0,.28); }
.login-access-card::before { content:""; position:absolute; inset:-1px; z-index:-1; border-radius:24px; background:linear-gradient(145deg,rgba(255,112,55,.4),transparent 28%,transparent 72%,rgba(42,199,154,.15)); }
.login-access-brand { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.login-panel .login-access-brand .brand-link { width:180px; height:50px; margin:0; border-radius:11px; box-shadow:0 12px 30px rgba(0,0,0,.2); }
.login-access-brand .login-mode { flex:none; margin:0; padding:7px 9px; color:#a9f1df; border:1px solid rgba(46,205,164,.2); background:rgba(32,181,143,.1); font-size:9px; }
.login-access-heading { margin:28px 0 22px; }
.login-access-heading > span { color:#ff8f5d; font-size:10px; font-weight:900; letter-spacing:1.2px; text-transform:uppercase; }
.login-panel .login-access-heading h2 { margin:7px 0 8px; color:#fff; font:800 27px/1.15 Sora,sans-serif; letter-spacing:-1px; }
.login-panel .login-access-heading p { margin:0; color:#8f9cad; font-size:12px; line-height:1.6; }
.login-access-error { margin-bottom:17px; border-color:rgba(255,103,103,.26); color:#ffb3b3; background:rgba(171,42,42,.16); }
.login-access-form { display:grid; gap:15px; }
.login-field { display:block; }
.login-field > span { display:block; margin-bottom:7px; color:#d8e0e9; font-size:11px; font-weight:800; }
.login-field__control { height:54px; display:flex; align-items:center; gap:10px; padding:0 13px; border:1px solid #344252; border-radius:13px; background:#0d141d; transition:border-color .2s,box-shadow .2s,transform .2s; }
.login-field__control:focus-within { border-color:#ff6b32; box-shadow:0 0 0 4px rgba(255,107,50,.11),0 10px 24px rgba(0,0,0,.15); transform:translateY(-1px); }
.login-field__control > svg { width:19px; height:19px; flex:none; fill:#667589; }
.login-field__control:focus-within > svg { fill:#ff7540; }
.login-field__control input { min-width:0; height:100%; flex:1; border:0; outline:0; color:#fff; background:transparent; font:600 13px Inter,sans-serif; }
.login-field__control input::placeholder { color:#596779; font-weight:500; }
.login-password-toggle { width:34px; height:34px; display:grid; place-items:center; flex:none; padding:0; border:0; border-radius:9px; color:#758398; background:transparent; cursor:pointer; }
.login-password-toggle:hover,.login-password-toggle.is-visible { color:#ff7741; background:rgba(255,110,54,.1); }
.login-password-toggle svg { width:18px; height:18px; fill:currentColor; }
.login-submit { height:56px; display:flex; align-items:center; justify-content:space-between; padding:0 16px 0 20px; margin-top:3px; border:0; border-radius:14px; color:#fff; background:linear-gradient(135deg,#ff7a40 0%,#ed4f22 75%); box-shadow:0 16px 32px rgba(234,76,31,.25); font:800 13px Sora,sans-serif; cursor:pointer; transition:transform .18s,box-shadow .18s,filter .18s; }
.login-submit i { width:30px; height:30px; display:grid; place-items:center; border-radius:9px; background:rgba(255,255,255,.17); font-size:15px; font-style:normal; }
.login-submit i svg { width:17px; height:17px; fill:currentColor; }
.login-submit:hover { filter:brightness(1.07); transform:translateY(-2px); box-shadow:0 20px 38px rgba(234,76,31,.34); }
.login-submit:active { transform:translateY(0); }
.login-remember { display:flex; align-items:flex-start; gap:10px; padding:2px 2px 1px; cursor:pointer; }
.login-remember input { width:18px; height:18px; flex:0 0 18px; margin:1px 0 0; accent-color:#ff6b32; cursor:pointer; }
.login-remember span { display:grid; gap:3px; }
.login-remember strong { color:#dce5ef; font-size:12px; line-height:1.3; }
.login-remember small { color:#78879a; font-size:10px; line-height:1.45; }
.login-access-divider { position:relative; height:15px; display:grid; place-items:center; }
.login-access-divider::before { content:""; position:absolute; left:0; right:0; top:50%; height:1px; background:#2a3645; }
.login-access-divider span { position:relative; padding:0 9px; color:#69778a; background:#151e29; font-size:9px; font-weight:700; text-transform:uppercase; }
.login-create { min-height:58px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 13px 10px 16px; border:1px solid #354354; border-radius:14px; color:#dce5ef; background:rgba(255,255,255,.025); text-decoration:none !important; transition:.18s ease; }
.login-create:hover { color:#fff; border-color:rgba(255,119,65,.55); background:rgba(255,106,47,.08); transform:translateY(-1px); }
.login-create span,.login-create b,.login-create small { display:block; }
.login-create b { font-size:11px; }
.login-create small { margin-top:4px; color:#78879a; font-size:9px; }
.login-create i { width:33px; height:33px; display:grid; place-items:center; flex:none; border-radius:10px; color:#ff8250; background:rgba(255,111,53,.12); font-size:18px; font-style:normal; }
.login-create i svg { width:18px; height:18px; fill:currentColor; }
.login-access-security { display:flex; align-items:center; gap:10px; padding-top:19px; margin-top:21px; border-top:1px solid rgba(255,255,255,.07); }
.login-access-security > span { width:30px; height:30px; display:grid; place-items:center; flex:none; border-radius:10px; color:#53ddb0; background:rgba(45,196,151,.11); font-size:12px; font-weight:900; }
.login-access-security p,.login-access-security strong,.login-access-security small { display:block; margin:0; }
.login-access-security strong { color:#b9c5d3; font-size:10px; }
.login-access-security small { margin-top:3px; color:#657487; font-size:8px; line-height:1.4; }

@media(max-width:880px){.login-access-card{max-width:460px}.login-panel{min-height:auto;padding:48px 24px}}
@media(max-width:480px){.login-panel{padding:28px 14px}.login-access-card{padding:23px 18px;border-radius:20px}.login-access-brand{align-items:flex-start;flex-direction:column}.login-panel .login-access-brand .brand-link{width:175px;height:49px}.login-panel .login-access-heading h2{font-size:24px}.login-access-heading{margin:24px 0 20px}.login-field__control{height:52px}.login-submit{height:54px}}

html {
  scroll-behavior: smooth;
}

body {
  letter-spacing: 0;
  font-family: var(--font-ui);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.brand-link,
.app-brand__mark,
.metric-card strong,
.plan-price strong {
  font-family: var(--font-display);
}

body[data-theme="dark"] {
  --bg: #0c1117;
  --fg: var(--ink);
  --muted: var(--ink-soft);
  --line: var(--border);
  --card-bg: var(--surface-2);
  --hover-bg: rgba(255, 255, 255, 0.06);
  --accent: var(--accent-teal);
}

.card,
.metric-card,
.table-container,
.modal__content {
  border-radius: 8px;
}

.btn {
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
  border-width: 1px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

.btn--large {
  min-height: 50px;
  padding-inline: 28px;
}

.btn svg,
.icon-button svg,
.nav-icon svg,
.app-sidebar__site svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
  flex: 0 0 auto;
}

.btn--primary,
body[data-theme="dark"] .btn--primary {
  background: #ffb13b;
  border-color: #ffb13b;
  color: #111318;
}

.btn--primary:hover,
body[data-theme="dark"] .btn--primary:hover {
  background: #ffc25b;
  border-color: #ffc25b;
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.075);
  color: var(--ink);
  border-color: var(--border);
  box-shadow: none;
}

body[data-theme="dark"] .btn--secondary:hover,
.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  cursor: pointer;
}

.public-body {
  background: #0b1016;
  color: var(--ink);
}

.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(11, 16, 22, 0.78);
  backdrop-filter: blur(22px);
}

.landing-nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 72px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-link,
.app-brand__mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  font-size: 18px;
}

.brand-link img,
.app-brand__logo {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.brand-link.techpdv-wordmark {
  position: relative;
  display: block;
  width: 210px;
  height: 58px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
}

.brand-link.techpdv-wordmark img {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  transform: translateY(-50%);
}

.landing-nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-nav__links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 12px;
  border-radius: 8px;
}

.landing-nav__links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.landing-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(8, 12, 18, 0.96) 0%, rgba(8, 12, 18, 0.82) 43%, rgba(8, 12, 18, 0.24) 74%),
    linear-gradient(180deg, rgba(8, 12, 18, 0.14) 0%, rgba(8, 12, 18, 0.74) 100%),
    url("hero-bar-pos.png");
  background-size: cover;
  background-position: center right;
  padding: 118px 22px 62px;
}

.landing-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background: linear-gradient(0deg, #0d1117 0%, rgba(13, 17, 23, 0) 100%);
  pointer-events: none;
}

.landing-hero__content {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) 340px;
  gap: 40px;
  align-items: end;
}

.landing-copy {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #09110f;
  background: #21d0ae;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
}

.landing-copy h1 {
  margin: 24px 0 18px;
  color: #fff;
  font-size: 88px;
  line-height: 0.92;
  letter-spacing: 0;
}

.landing-copy p,
.hero-lead {
  max-width: 620px;
  color: #e4ecf0;
  font-size: 20px;
  line-height: 1.58;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 34px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 10px;
  max-width: 620px;
}

.hero-proof div {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 14px 15px;
  background: rgba(18, 24, 32, 0.68);
  backdrop-filter: blur(12px);
}

.hero-proof strong {
  display: block;
  color: #fff;
  font-size: 17px;
}

.hero-proof span {
  color: #94a5ae;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 900;
}

.hero-console {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 18px;
  background: rgba(14, 20, 29, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.hero-console__top {
  padding: 16px;
  border-radius: 8px;
  background: #f4efe6;
  color: #111820;
}

.hero-console__top span,
.hero-console__rows span {
  display: block;
  font-size: 12px;
  color: #6f7b82;
  font-weight: 800;
}

.hero-console__top strong {
  display: block;
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: 28px;
}

.hero-console__rows {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.hero-console__rows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-console__rows strong {
  color: #fff;
}

.hero-console__status {
  border-radius: 8px;
  padding: 12px;
  background: rgba(33, 208, 174, 0.14);
  color: #bff7ec;
  font-weight: 900;
  text-align: center;
}

.landing-section {
  padding: 92px 22px;
}

.landing-section--muted {
  background: #111923;
}

.landing-section--panel {
  background: #0f151d;
}

.landing-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2 {
  color: #fff;
  font-size: 46px;
  margin: 8px 0 0;
  letter-spacing: 0;
  line-height: 1.05;
}

.section-heading p {
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-item,
.plan-card,
.addon-item,
.admin-panel,
.data-panel {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.055);
  border-radius: 8px;
}

.feature-item {
  min-height: 212px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.feature-kicker {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 177, 59, 0.15);
  color: var(--accent-amber);
  font-weight: 900;
  font-size: 12px;
}

.feature-item strong {
  display: block;
  color: #fff;
  font-size: 20px;
  margin-bottom: 8px;
  line-height: 1.18;
}

.feature-item p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.operation-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: center;
}

.section-heading--stacked {
  display: block;
  margin-bottom: 0;
}

.operation-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.operation-step {
  min-height: 240px;
  padding: 20px;
  border-radius: 8px;
  background: #f4efe6;
  color: #101820;
}

.operation-step:nth-child(2) {
  background: #dff8f0;
}

.operation-step:nth-child(3) {
  background: #e9efff;
}

.operation-step span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #111820;
  color: #fff;
  font-weight: 900;
}

.operation-step strong {
  display: block;
  margin: 48px 0 10px;
  font-family: var(--font-display);
  font-size: 20px;
}

.operation-step p {
  margin: 0;
  color: #43515a;
  line-height: 1.5;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.plan-card {
  position: relative;
  padding: 30px;
  box-shadow: var(--shadow-card);
}

.plan-card--featured {
  border-color: rgba(255, 177, 59, 0.78);
  background: rgba(255, 177, 59, 0.095);
}

.plan-ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #111820;
  color: #ffcf83;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-card__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.plan-card h3 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 8px;
}

.plan-price {
  margin: 20px 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.plan-price strong {
  color: #fff;
  font-size: 54px;
  line-height: 1;
}

.plan-price span {
  color: var(--ink-soft);
}

.plan-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  color: #dbe2e8;
}

.plan-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.plan-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 8px;
  background: var(--accent-teal);
  margin-top: 3px;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 5px rgba(0, 0, 0, 0.18);
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.addon-item {
  min-height: 168px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.addon-item strong {
  color: #fff;
  display: block;
  margin: 10px 0 7px;
  font-family: var(--font-display);
  font-size: 20px;
}

.addon-item span {
  color: var(--accent-amber);
  font-weight: 800;
  font-size: 13px;
}

.addon-item p {
  margin: 0;
  color: var(--ink-soft);
}

.landing-cta {
  background: #f4efe6;
  color: #101820;
  padding: 70px 22px;
}

.landing-cta .landing-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.landing-cta h2 {
  color: #101820;
  font-size: 46px;
  line-height: 1.05;
}

.landing-cta p {
  color: #43515a;
  max-width: 700px;
}

.contact-strip {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.contact-strip a {
  width: min(100%, 320px);
}

.public-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 26px 22px;
  color: var(--muted-2);
  background: #0b1016;
}

.public-footer .landing-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 430px;
  background: #0d1117;
  color: var(--ink);
}

.login-visual {
  background-image:
    linear-gradient(90deg, rgba(13, 17, 23, 0.3), rgba(13, 17, 23, 0.72)),
    url("hero-bar-pos.png");
  background-size: cover;
  background-position: center;
  padding: 42px;
  display: flex;
  align-items: end;
}

.login-visual h1 {
  max-width: 640px;
  color: #fff;
  font-size: 72px;
  line-height: 1;
  margin: 0;
}

.login-panel {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border);
  background: #121820;
}

.login-panel .brand-link {
  margin-bottom: 44px;
}

.login-panel h2 {
  color: #fff;
  font-size: 30px;
}

.login-panel p {
  color: var(--ink-soft);
}

.login-mode {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(33, 208, 174, 0.13);
  color: #bff7ec;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.login-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  margin: 20px 0 24px;
}

.login-switch a {
  text-align: center;
  text-decoration: none;
  color: var(--ink-soft);
  border-radius: 8px;
  padding: 10px;
  font-weight: 900;
  font-size: 13px;
}

.login-switch a.active {
  background: #ffb13b;
  color: #101820;
}

/* Login com linguagem visual do PDV */
.login-page { grid-template-columns: minmax(0,1fr) 450px; background: #090e15; }
.login-visual { position: relative; align-items: center; overflow: hidden; padding: 44px clamp(36px,5vw,76px); background: radial-gradient(circle at 8% 8%,rgba(255,102,42,.2),transparent 32%),radial-gradient(circle at 95% 85%,rgba(255,68,37,.12),transparent 34%),#0a1018; }
.login-visual::before { content:""; position:absolute; inset:0; opacity:.28; background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px); background-size:40px 40px; }
.login-pdv-showcase { position:relative; z-index:1; width:min(850px,100%); margin:auto; }
.login-pdv-kicker { display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border:1px solid rgba(255,112,55,.35); border-radius:999px; color:#ff9a6e; background:rgba(255,98,39,.09); font-size:11px; font-weight:900; letter-spacing:.8px; text-transform:uppercase; }
.login-pdv-kicker i { width:7px; height:7px; border-radius:50%; background:#ff6330; box-shadow:0 0 0 5px rgba(255,99,48,.13); }
.login-pdv-showcase > h1 { max-width:760px; margin:20px 0 12px; color:#fff; font:800 clamp(38px,4.3vw,66px)/1.04 Sora,sans-serif; letter-spacing:-2.8px; }
.login-pdv-showcase > p { max-width:670px; margin:0 0 25px; color:#aeb9c8; font-size:15px; line-height:1.65; }
.login-pdv-frame { overflow:hidden; border:6px solid #283444; border-radius:20px; background:#f3f5f7; box-shadow:0 32px 80px rgba(0,0,0,.46); }
.login-pdv-frame__top { height:54px; display:flex; align-items:center; justify-content:space-between; padding:0 17px; color:#1b2634; background:#fff; border-bottom:1px solid #e4e8ed; }
.login-pdv-frame__top > div { display:flex; align-items:center; gap:9px; }
.login-pdv-frame__top > div span { width:27px; height:27px; display:grid; place-items:center; border-radius:8px; color:#fff; background:linear-gradient(145deg,#ff773f,#e9461e); font-size:11px; font-weight:900; }
.login-pdv-frame__top strong { font-size:12px; }
.login-pdv-frame__top em { display:flex; align-items:center; gap:7px; color:#477060; font-size:9px; font-style:normal; font-weight:800; }
.login-pdv-frame__top em i { width:7px; height:7px; border-radius:50%; background:#20b47c; box-shadow:0 0 0 4px rgba(32,180,124,.12); }
.login-pdv-frame__body { min-height:300px; display:grid; grid-template-columns:minmax(0,1fr) 270px; }
.login-pdv-catalog { padding:16px; }
.login-pdv-search { height:37px; display:flex; align-items:center; padding:0 13px; border:1px solid #e0e5ea; border-radius:9px; color:#9aa4b0; background:#fff; font-size:9px; }
.login-pdv-products { display:grid; grid-template-columns:repeat(2,1fr); gap:9px; margin-top:11px; }
.login-pdv-products article { min-width:0; padding:12px; border:1px solid #e2e7ec; border-radius:11px; color:#182433; background:#fff; box-shadow:0 5px 14px rgba(20,31,44,.04); }
.login-pdv-products article > span { width:31px; height:31px; display:grid; place-items:center; margin-bottom:9px; border-radius:9px; color:#f3652b; background:#fff0e9; }
.login-pdv-products svg { width:17px; height:17px; fill:currentColor; }
.login-pdv-products small,.login-pdv-products strong,.login-pdv-products b { display:block; }
.login-pdv-products small { color:#9aa4af; font-size:7px; }
.login-pdv-products strong { margin:4px 0 7px; overflow:hidden; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.login-pdv-products b { color:#ed5d27; font-size:11px; }
.login-pdv-cart { display:flex; flex-direction:column; padding:16px; border-left:1px solid #e1e6eb; color:#1a2634; background:#fff; }
.login-pdv-cart > div:first-child { display:flex; justify-content:space-between; font-size:11px; }
.login-pdv-cart > div:first-child span { color:#8d98a5; font-size:8px; }
.login-pdv-cart ul { padding:8px 0; margin:10px 0; border-block:1px solid #edf0f3; list-style:none; }
.login-pdv-cart li,.login-pdv-cart > small { display:flex; justify-content:space-between; padding:7px 0; color:#667382; font-size:8px; }
.login-pdv-cart li b,.login-pdv-cart > small b { color:#283442; }
.login-pdv-total { display:flex; align-items:end; justify-content:space-between; margin-top:auto; }
.login-pdv-total span { color:#697685; font-size:9px; }
.login-pdv-total strong { color:#172331; font-size:21px; }
.login-pdv-payments { display:grid; grid-template-columns:repeat(3,1fr); gap:5px; margin:11px 0; }
.login-pdv-payments i { padding:7px 4px; border:1px solid #e3e7ec; border-radius:7px; color:#697583; background:#f8f9fa; font-size:7px; font-style:normal; font-weight:800; text-align:center; }
.login-pdv-cart button { height:38px; border:0; border-radius:9px; color:#fff; background:linear-gradient(135deg,#ff753d,#e94c20); font-size:9px; font-weight:900; }
.login-pdv-proof { display:flex; flex-wrap:wrap; gap:18px; margin-top:20px; color:#bdc7d3; font-size:10px; font-weight:700; }
.login-pdv-proof span { display:flex; align-items:center; gap:6px; }
.login-pdv-proof i { width:18px; height:18px; display:grid; place-items:center; border-radius:50%; color:#54d9a9; background:rgba(42,190,139,.12); font-size:9px; font-style:normal; }
.login-panel { position:relative; z-index:2; padding:48px; border-left-color:#263241; background:#111923; box-shadow:-25px 0 70px rgba(0,0,0,.2); }
.login-panel .brand-link { margin-bottom:32px; }
.login-panel h2 { margin:12px 0 8px; }

@media(max-width:1050px){.login-page{grid-template-columns:1fr 420px}.login-pdv-frame__body{grid-template-columns:1fr 230px}.login-visual .login-pdv-showcase>h1{font-size:42px}.login-pdv-showcase>p{font-size:13px}}
@media(max-width:880px){.login-page{grid-template-columns:1fr}.login-visual{min-height:auto;padding:38px 24px}.login-visual .login-pdv-showcase>h1{max-width:680px}.login-pdv-frame{max-width:700px}.login-panel{min-height:720px;border-left:0;border-top:1px solid #263241}.login-panel .brand-link{margin-bottom:28px}}
@media(max-width:600px){.login-visual{padding:32px 16px}.login-visual .login-pdv-showcase>h1{font-size:34px;letter-spacing:-1.7px}.login-pdv-showcase>p{font-size:12px}.login-pdv-frame__body{grid-template-columns:1fr}.login-pdv-cart{display:none}.login-pdv-products{grid-template-columns:repeat(2,1fr)}.login-pdv-proof{gap:9px}.login-pdv-proof span{font-size:8px}.login-panel{min-height:auto;padding:38px 22px}.brand-link.techpdv-wordmark{width:190px;height:53px}}

.app-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(33, 208, 174, 0.055) 0%, rgba(14, 19, 25, 0) 260px),
    #0e1319;
}

.app-sidebar {
  position: sticky;
  top: 0;
  left: 0;
  height: 100vh;
  background: #111821;
  border-right: 1px solid var(--border);
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.app-brand {
  padding: 10px 8px 22px;
  border-bottom: 1px solid var(--border);
}

.app-brand small {
  display: block;
  margin: 8px 0 0 48px;
  color: var(--muted-2);
  font-size: 12px;
}

.app-nav {
  margin-top: 18px;
}

.app-nav__link {
  border-radius: 8px;
  color: #cbd5dc;
  font-weight: 700;
}

.app-nav__link.active {
  background: rgba(31, 199, 170, 0.13);
  color: #fff;
  border: 1px solid rgba(31, 199, 170, 0.34);
}

.app-nav__link:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.nav-icon {
  display: inline-flex;
  color: var(--accent-amber);
}

.app-sidebar__footer {
  margin-top: auto;
  display: grid;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.app-sidebar__site {
  color: var(--ink-soft);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  font-weight: 700;
}

.app-sidebar__site:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.app-main {
  min-width: 0;
}

.app-header {
  background: rgba(14, 19, 25, 0.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.app-header__content {
  min-height: 70px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.app-header .sidebar-toggle {
  display: none;
}

.app-header__title {
  display: grid;
  gap: 2px;
}

.app-header__title span {
  color: #fff;
  font-weight: 800;
}

.app-header__title small,
.app-user small {
  color: var(--muted-2);
}

.app-user {
  margin-left: auto;
  text-align: right;
}

.app-user strong {
  color: #fff;
  display: block;
}

.avatar {
  color: #10141b;
  background: #f6a832;
}

.top-logout {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 900;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.055);
}

.top-logout:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.top-logout svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.app-content {
  padding: 34px 28px 56px;
  max-width: 1480px;
  width: 100%;
  margin: 0 auto;
}

.billing-banner {
  margin: 18px 28px 0;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #151c25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.billing-banner strong {
  color: #fff;
  display: block;
  margin-bottom: 3px;
}

.billing-banner span {
  color: var(--ink-soft);
  font-size: 14px;
}

.billing-banner--warn {
  border-color: rgba(246, 168, 50, 0.55);
}

.billing-banner--bad {
  border-color: rgba(255, 107, 107, 0.55);
}

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 26px;
}

.page-heading h1 {
  color: #fff;
  font-size: 44px;
  margin: 12px 0 8px;
  letter-spacing: 0;
}

.page-heading p {
  max-width: 720px;
  color: var(--ink-soft);
  margin: 0;
}

.page-heading__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.metrics-grid--compact .metric-card {
  padding: 16px;
}

.metrics-grid--compact .metric-card strong {
  font-size: 30px;
}

.metric-card {
  padding: 20px;
  background: #131b25;
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 28px rgba(0, 0, 0, 0.16);
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-amber));
  opacity: 0.72;
}

.metric-card:hover {
  box-shadow: none;
}

.metric-card span {
  display: block;
  color: var(--muted-2);
  font-size: 13px;
  margin-bottom: 12px;
}

.metric-card strong {
  display: block;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  word-break: break-word;
}

.metric-card small {
  display: block;
  color: var(--ink-soft);
  margin-top: 10px;
}

.metric-card--good {
  border-color: rgba(131, 212, 131, 0.34);
}

.metric-card--warn {
  border-color: rgba(246, 168, 50, 0.42);
}

.metric-card--bad {
  border-color: rgba(255, 107, 107, 0.42);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
  align-items: start;
}

.data-panel,
.admin-panel {
  padding: 22px;
  background: #131b25;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 18px 44px rgba(0, 0, 0, 0.17);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.panel-header h2 {
  color: #fff;
  margin: 0;
  font-size: 22px;
}

.panel-header p {
  margin: 4px 0 0;
  color: var(--muted-2);
  font-size: 13px;
}

.toolbar-panel,
.date-filter {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toolbar-panel {
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #131b25;
}

.toolbar-panel .search-input {
  flex: 1 1 320px;
}

.toolbar-panel .form-select {
  flex: 0 0 190px;
}

.date-filter {
  padding: 0;
}

.date-filter .form-input {
  width: 142px;
  min-height: 42px;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.table-container {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(4, 8, 12, 0.16);
}

.table th {
  background: rgba(255, 255, 255, 0.055);
  color: #eef4f1;
  border-bottom-color: var(--border);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.table td {
  color: #dce5ea;
  border-bottom-color: var(--border);
  font-size: 14px;
}

.table td strong {
  color: #fff;
}

.table-muted {
  display: block;
  color: var(--muted-2);
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.35;
}

.table tr:hover {
  background: rgba(255, 255, 255, 0.045);
}

.action-btn,
.action-btn-delete,
.action-btn-add {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.075);
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
}

.action-btn:hover,
.action-btn-delete:hover,
.action-btn-add:hover {
  background: rgba(255, 255, 255, 0.13);
}

.action-btn svg,
.action-btn-delete svg,
.action-btn-add svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  stroke: none;
}

.action-btn-delete {
  color: var(--accent-red);
}

.action-btn-add {
  color: var(--accent-teal);
}

.search-input,
body[data-theme="dark"] .search-input {
  background-color: #0f151d;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.form-input,
.form-select,
.form-textarea,
body[data-theme="dark"] .form-input,
body[data-theme="dark"] .form-select,
body[data-theme="dark"] .form-textarea {
  background-color: #0f151d;
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus,
body[data-theme="dark"] .form-input:focus,
body[data-theme="dark"] .form-select:focus,
body[data-theme="dark"] .form-textarea:focus {
  border-color: rgba(33, 208, 174, 0.9);
  box-shadow: 0 0 0 3px rgba(33, 208, 174, 0.16);
}

.form-label {
  color: #eef4f1;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink-soft);
}

.status-pill--green {
  color: #132016;
  background: var(--accent-green);
}

.status-pill--amber {
  color: #16110a;
  background: var(--accent-amber);
}

.status-pill--bad {
  color: #fff;
  background: var(--accent-red);
}

.store-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.store-card-mini {
  display: grid;
  gap: 16px;
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.store-card-mini strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
}

.store-card-mini span,
.store-card-mini small {
  color: var(--ink-soft);
}

.store-card-mini small {
  display: block;
  margin-top: 8px;
}

.bars-list {
  display: grid;
  gap: 12px;
}

.bar-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.bar-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.bar-track span {
  display: block;
  height: 100%;
  background: var(--accent-teal);
  border-radius: inherit;
}

.compact-empty {
  padding: 32px 12px;
}

.compact-empty p {
  margin: 0;
}

.billing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 18px;
  align-items: start;
}

.pix-box {
  display: grid;
  gap: 16px;
}

.pix-qr {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  width: min(100%, 300px);
  margin: 0 auto;
}

.pix-qr img {
  display: block;
  width: 100%;
  height: auto;
}

.copy-box {
  display: grid;
  gap: 8px;
}

.copy-box textarea {
  min-height: 124px;
  font-family: Consolas, Monaco, monospace;
  font-size: 12px;
}

.webhook-url {
  display: block;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  word-break: break-all;
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
}

.venda-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 18px;
  align-items: start;
}

.pdv-quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 14px;
}

.pdv-quick-filters button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-soft);
  font-weight: 900;
  cursor: pointer;
}

.pdv-quick-filters button.active,
.pdv-quick-filters button:hover {
  background: rgba(33, 208, 174, 0.14);
  border-color: rgba(33, 208, 174, 0.4);
  color: #fff;
}

.pdv-quick-filters span {
  min-width: 22px;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
}

.cart-panel {
  position: sticky;
  top: 92px;
}

.cart-items {
  min-height: 160px;
  max-height: 44vh;
  overflow-y: auto;
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.cart-item strong {
  display: block;
  color: #fff;
}

.cart-item small {
  color: var(--muted-2);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qty-control button {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.payment-options label {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  color: var(--ink-soft);
}

.cart-total strong {
  color: #fff;
  font-size: 30px;
}

.modal {
  background: rgba(0, 0, 0, 0.68);
}

.modal__content {
  background: #151c25;
  border: 1px solid var(--border);
  color: var(--ink);
}

.modal__close {
  color: var(--ink-soft);
}

@media (max-width: 1100px) {
  .landing-copy h1,
  .login-visual h1 {
    font-size: 58px;
  }

  .section-heading h2,
  .landing-cta h2,
  .page-heading h1 {
    font-size: 36px;
  }

  .metric-card strong {
    font-size: 30px;
  }

  .feature-grid,
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-grid,
  .landing-cta .landing-inner,
  .landing-hero__content,
  .operation-layout,
  .venda-layout,
  .billing-grid {
    grid-template-columns: 1fr;
  }

  .hero-console {
    display: none;
  }

  .operation-board {
    grid-template-columns: 1fr;
  }

  .operation-step {
    min-height: auto;
  }

  .operation-step strong {
    margin-top: 32px;
  }

  .cart-panel {
    position: static;
  }
}

@media (max-width: 920px) {
  .app-shell {
    display: block;
  }

  .app-sidebar {
    position: fixed;
    left: -300px;
    width: 280px;
    z-index: 300;
    transition: left 160ms ease;
  }

  .app-sidebar.active {
    left: 0;
  }

  .app-header .sidebar-toggle {
    display: inline-flex;
  }

  .sidebar-overlay.active {
    display: block;
  }

  .login-page {
    grid-template-columns: 1fr;
  }

  .login-visual {
    min-height: 360px;
  }

  .login-panel {
    border-left: 0;
  }

  .plans-grid,
  .addons-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .landing-copy h1,
  .login-visual h1 {
    font-size: 42px;
  }

  .section-heading h2,
  .landing-cta h2,
  .page-heading h1 {
    font-size: 30px;
  }

  .metric-card strong {
    font-size: 27px;
  }

  .landing-nav__links a:not(.btn) {
    display: none;
  }

  .landing-hero {
    min-height: 84vh;
    background-position: 64% center;
  }

  .feature-grid,
  .metrics-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-proof div {
    padding: 10px;
  }

  .hero-proof strong {
    font-size: 14px;
  }

  .hero-proof span {
    font-size: 11px;
  }

  .section-heading,
  .page-heading {
    display: grid;
    align-items: start;
  }

  .contact-strip {
    justify-items: stretch;
  }

  .app-content {
    padding: 24px 16px 44px;
  }

  .billing-banner {
    margin: 14px 16px 0;
    display: grid;
  }

  .toolbar-panel,
  .date-filter {
    display: grid;
    width: 100%;
  }

  .toolbar-panel .form-select,
  .toolbar-panel .search-input,
  .date-filter .form-input {
    width: 100%;
    flex-basis: auto;
  }

  .app-header__content {
    padding: 0 16px;
  }

  .app-user div:first-child,
  .app-header__title small {
    display: none;
  }

  .top-logout span {
    display: none;
  }

  .store-strip {
    grid-template-columns: 1fr;
  }

  .payment-options {
    grid-template-columns: 1fr;
  }
}
