/* =====================================================================
 * GRUPO WLCD — Design System
 * Tokens → base → componentes → site público → painéis → responsivo
 * ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --red: #E11D2E;
  --red-dark: #B5121F;
  --red-soft: color-mix(in srgb, var(--red) 14%, transparent);
  --red-glow: color-mix(in srgb, var(--red) 40%, transparent);
  --bg: #09090B;
  --bg-2: #0D0D10;
  --surface: #131316;
  --surface-2: #1B1B1F;
  --surface-3: #232328;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #F5F5F6;
  --text-2: #B4B4BC;
  --text-3: #7C7C86;
  --green: #22C55E; --amber: #F59E0B; --blue: #3B82F6; --violet: #8B5CF6; --gray: #71717A;
  --radius: 16px; --radius-sm: 10px; --radius-lg: 24px;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
  --shadow-red: 0 14px 40px -14px var(--red-glow);
  --font: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Sora', 'Manrope', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --sidebar: 264px;
  color-scheme: dark;
}

/* ------------------------------- BASE -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
h1, h2, h3, h4, h5 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
::selection { background: var(--red); color: #fff; }
.ic { width: 18px; height: 18px; flex: none; }
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
.small { font-size: 13px; }
.red { color: var(--red); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.hidden { display: none !important; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.center { text-align: center; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack { display: grid; gap: 16px; }
.container { width: min(1640px, 100% - clamp(32px, 6vw, 128px)); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 6px; }

/* ------------------------------ BOTÕES ------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; font-weight: 700; font-size: 14.5px; letter-spacing: -.005em; border: 1px solid transparent; transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, color .2s; white-space: nowrap; position: relative; isolation: isolate; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn .ic { width: 17px; height: 17px; }
.btn-primary { background: linear-gradient(180deg, color-mix(in srgb, var(--red) 92%, #fff), var(--red)); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, var(--shadow-red); }
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 18px 44px -12px var(--red-glow); transform: translateY(-1px); }
.btn-primary .ic-move { transition: transform .2s var(--ease); }
.btn-primary:hover .ic-move { transform: translateX(3px); }
.btn-ghost { background: var(--surface-2); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--line-2); background: var(--surface-3); }
.btn-outline { border-color: var(--line-2); color: var(--text); }
.btn-outline:hover { border-color: var(--red); color: #fff; background: var(--red-soft); }
.btn-white { background: #fff; color: #0a0a0a; }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(255,255,255,.35); }
.btn-danger { background: #DC2626; color: #fff; }
.btn-danger:hover { background: #B91C1C; }
.btn-success { background: #16A34A; color: #fff; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 10px; }
.btn-xs { height: 30px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; gap: 6px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn.is-busy { color: transparent !important; }
.btn.is-busy::after { content: ''; position: absolute; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.icon-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 10px; color: var(--text-2); transition: .2s; position: relative; }
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------ BADGES ------------------------------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; white-space: nowrap; border: 1px solid; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.b-green { color: #4ADE80; background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.22); }
.b-amber { color: #FBBF24; background: rgba(245,158,11,.1); border-color: rgba(245,158,11,.22); }
.b-red { color: #F87171; background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.25); }
.b-blue { color: #60A5FA; background: rgba(59,130,246,.1); border-color: rgba(59,130,246,.22); }
.b-violet { color: #A78BFA; background: rgba(139,92,246,.1); border-color: rgba(139,92,246,.22); }
.b-gray { color: #A1A1AA; background: rgba(161,161,170,.08); border-color: rgba(161,161,170,.2); }
.demo-tag { display: inline-flex; align-items: center; font: 800 10px/1 var(--font); letter-spacing: .08em; padding: 4px 7px; border-radius: 6px; color: #FBBF24; background: rgba(245,158,11,.12); border: 1px dashed rgba(245,158,11,.45); vertical-align: middle; white-space: nowrap; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--text-2); }
.pill b { background: var(--red); color: #fff; padding: 2px 9px; border-radius: 99px; font-size: 11.5px; }

/* ------------------------------- CARDS ------------------------------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.card-h h3 { font-size: 16px; margin: 0; display: flex; align-items: center; gap: 10px; }
.card-h p { margin: 2px 0 0; color: var(--text-3); font-size: 13px; }
.card.pad-0 { padding: 0; }
.card.pad-0 .card-h { padding: 18px 20px 0; }
.card-hover { transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.card-hover:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.glow-border { position: relative; }
.glow-border::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, var(--red), transparent 40%, transparent 60%, var(--red)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }

/* ------------------------------- FORMS ------------------------------- */
.form-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px 16px; }
.form-grid > * { grid-column: span 12; }
.form-grid .col-6 { grid-column: span 6; } .form-grid .col-4 { grid-column: span 4; } .form-grid .col-8 { grid-column: span 8; } .form-grid .col-3 { grid-column: span 3; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.req { color: var(--red); }
input:not([type=checkbox]):not([type=radio]):not([type=color]), select, textarea { width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 11px; padding: 11px 14px; outline: 0; transition: border-color .2s, box-shadow .2s; min-height: 44px; }
textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23999' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 38px; }
input:focus, select:focus, textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
input::placeholder, textarea::placeholder { color: var(--text-3); }
input[type=color] { width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; background: none; padding: 3px; cursor: pointer; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #EF4444; }
.field .err { color: #F87171; font-size: 12px; min-height: 0; }
.field .err:empty { display: none; }
.hint { color: var(--text-3); font-size: 12px; }
.input-icon { position: relative; }
.input-icon input { padding-right: 44px; }
.input-icon .pw-toggle, .input-icon .in-ic { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); color: var(--text-3); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; }
.search { position: relative; min-width: 220px; }
.search .ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-3); }
.search input { padding-left: 40px !important; height: 40px; min-height: 40px !important; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; user-select: none; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check-box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: .15s; flex: none; }
.check-box .ic { width: 13px; height: 13px; opacity: 0; color: #fff; stroke-width: 3; }
.check input:checked + .check-box { background: var(--red); border-color: var(--red); }
.check input:checked + .check-box .ic { opacity: 1; }
.check input:focus-visible + .check-box { box-shadow: 0 0 0 4px var(--red-soft); }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.switch-row small { display: block; color: var(--text-3); font-size: 12.5px; }
.switch { position: relative; flex: none; }
.switch input { position: absolute; opacity: 0; }
.switch i { display: block; width: 42px; height: 24px; border-radius: 99px; background: var(--surface-3); border: 1px solid var(--line-2); transition: .2s; position: relative; }
.switch i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.switch input:checked + i { background: var(--red); border-color: var(--red); }
.switch input:checked + i::after { transform: translateX(18px); }

/* ------------------------------- TABELAS ----------------------------- */
.table-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); font-weight: 700; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tbody tr { transition: background .15s; }
.tbl tbody tr:hover { background: rgba(255,255,255,.02); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl .t-strong { font-weight: 700; }
.cell-user { display: flex; align-items: center; gap: 11px; min-width: 0; }
.cell-user b { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cell-user small { color: var(--text-3); font-size: 12.5px; }
.avatar { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff; flex: none; }
.avatar.lg { width: 64px; height: 64px; font-size: 22px; border-radius: 18px; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.toolbar .grow { flex: 1; }

/* dropdown */
.dd { position: relative; display: inline-block; }
.dd-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 210px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 6px; box-shadow: 0 20px 50px -10px rgba(0,0,0,.7); z-index: 60; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .18s var(--ease); }
.dd-menu.up { top: auto; bottom: calc(100% + 6px); }
.dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu button, .dd-menu a { display: flex; width: 100%; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 13.5px; color: var(--text-2); text-align: left; }
.dd-menu button:hover, .dd-menu a:hover { background: var(--surface-3); color: var(--text); }
.dd-menu .danger { color: #F87171; }
.dd-menu hr { margin: 5px 0; }
.dd-menu .ic { width: 16px; height: 16px; }

/* tabs */
.tabs { display: flex; width: fit-content; gap: 4px; padding: 4px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 8px 14px; border-radius: 9px; font-weight: 600; font-size: 13.5px; color: var(--text-2); white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; transition: .15s; }
.tab:hover { color: var(--text); }
.tab.on { background: var(--surface-3); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.06) inset; }
.tab-n { font-size: 11px; background: var(--surface); padding: 1px 7px; border-radius: 99px; color: var(--text-3); }
.tab.on .tab-n { background: var(--red); color: #fff; }

/* ------------------------------ ESTADOS ------------------------------ */
.state-loading { display: grid; gap: 12px; padding: 20px; }
.skel { height: 48px; border-radius: 10px; background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.state-empty, .state-error { text-align: center; padding: 44px 20px; display: grid; justify-items: center; gap: 4px; }
.state-empty h4, .state-error h4 { font-size: 16px; margin: 8px 0 2px; }
.state-empty p, .state-error p { color: var(--text-3); max-width: 420px; font-size: 14px; }
.state-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-3); }
.state-ic .ic { width: 24px; height: 24px; }
.state-error .state-ic { color: #F87171; background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.2); }
.callout { display: flex; gap: 14px; padding: 14px 16px; border-radius: 12px; border: 1px solid; font-size: 14px; align-items: flex-start; }
.callout .ic { margin-top: 2px; }
.callout b { display: block; margin-bottom: 2px; }
.callout p { margin: 0; }
.callout.warn { background: rgba(245,158,11,.07); border-color: rgba(245,158,11,.25); color: #FCD34D; }
.callout.warn p { color: #E9D7A5; }
.callout.info { background: rgba(59,130,246,.07); border-color: rgba(59,130,246,.25); color: #93C5FD; }
.callout.info p { color: #BFD3EE; }
.callout.danger { background: rgba(239,68,68,.07); border-color: rgba(239,68,68,.25); color: #FCA5A5; }
.callout.success { background: rgba(34,197,94,.07); border-color: rgba(34,197,94,.25); color: #86EFAC; }

/* ------------------------------- TOAST ------------------------------- */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 1000; display: grid; gap: 10px; }
.toast { display: flex; align-items: center; gap: 12px; min-width: 280px; max-width: 420px; padding: 14px 14px 14px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -12px rgba(0,0,0,.7); font-size: 14px; font-weight: 600; transform: translateY(16px); opacity: 0; transition: .3s var(--ease); }
.toast.in { transform: none; opacity: 1; }
.toast span { flex: 1; }
.toast button { color: var(--text-3); }
.t-success > .ic { color: var(--green); } .t-error > .ic { color: #F87171; } .t-info > .ic { color: var(--blue); } .t-warning > .ic { color: var(--amber); }

/* ------------------------------- MODAL ------------------------------- */
.modal-wrap { position: fixed; inset: 0; z-index: 900; background: rgba(0,0,0,.66); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .2s; }
.modal-wrap.in { opacity: 1; }
.modal { width: min(560px, 100%); max-height: calc(100vh - 40px); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px; box-shadow: 0 40px 100px -20px rgba(0,0,0,.8); transform: translateY(14px) scale(.98); transition: transform .3s var(--ease); }
.modal-wrap.in .modal { transform: none; }
.modal.sm { width: min(420px, 100%); } .modal.lg { width: min(780px, 100%); } .modal.xl { width: min(1000px, 100%); }
.modal-head { display: flex; align-items: center; gap: 12px; padding: 20px 22px 0; }
.modal-head h3 { flex: 1; margin: 0; font-size: 18px; }
.modal-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); flex: none; }
.modal-ic.tone-danger { background: rgba(239,68,68,.12); color: #F87171; }
.modal-ic.tone-success { background: rgba(34,197,94,.12); color: #4ADE80; }
.modal-body { padding: 18px 22px; overflow-y: auto; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 22px 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }

/* ------------------------------ GRÁFICOS ----------------------------- */
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .gl { stroke: var(--line); stroke-dasharray: 3 4; }
.chart .ax { fill: var(--text-3); font-size: 11px; font-family: var(--font); }
.chart .pt { opacity: 0; transition: opacity .2s; }
.chart:hover .pt { opacity: 1; }
.chart .draw { stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: draw 1.4s var(--ease) forwards; }
.chart .bar { transform-origin: bottom; transform-box: fill-box; animation: grow .8s var(--ease) both; }
.chart .bar:hover { filter: brightness(1.2); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes grow { from { transform: scaleY(0); } }
.legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--text-2); margin-top: 8px; }
.legend span { display: inline-flex; gap: 6px; align-items: center; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.donut { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; }
.donut-v { fill: var(--text); font: 800 26px var(--display); }
.donut-l { fill: var(--text-3); font-size: 11px; }
.donut-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13.5px; min-width: 150px; }
.donut-legend li { display: flex; align-items: center; gap: 8px; color: var(--text-2); }
.donut-legend i { width: 10px; height: 10px; border-radius: 3px; }
.donut-legend b { margin-left: auto; color: var(--text); }
.meter { height: 8px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--red-dark), var(--red)); transition: width 1s var(--ease); }
.meter.warn i { background: linear-gradient(90deg, #D97706, #F59E0B); }

/* =====================================================================
 * SITE PÚBLICO
 * ===================================================================== */
.topbar-promo { background: linear-gradient(90deg, var(--red-dark), var(--red), var(--red-dark)); color: #fff; font-size: 13.5px; font-weight: 600; text-align: center; padding: 8px 40px; position: relative; }
.topbar-promo a { text-decoration: underline; text-underline-offset: 3px; margin-left: 8px; font-weight: 800; }
.topbar-promo button { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: #fff; opacity: .8; }
.site-header { position: sticky; top: 0; z-index: 100; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(9,9,11,.78); backdrop-filter: saturate(160%) blur(14px); border-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; min-height: 74px; height: calc(var(--logo-h, 56px) + 22px); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.03em; flex: none; }
.logo-mark { min-width: 36px; padding: 0 7px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, var(--red), var(--red-dark)); display: grid; place-items: center; color: #fff; font-size: 12px; letter-spacing: -.01em; box-shadow: 0 8px 24px -8px var(--red-glow), 0 1px 0 rgba(255,255,255,.3) inset; position: relative; overflow: hidden; }
.logo-mark::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-100%); animation: sheen 5s infinite; }
@keyframes sheen { 0%, 70% { transform: translateX(-100%); } 85%, 100% { transform: translateX(100%); } }
.logo small { display: block; font: 600 10.5px var(--font); color: var(--text-3); letter-spacing: .12em; text-transform: uppercase; margin-top: -2px; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { padding: 8px 12px; border-radius: 9px; font-size: 14.5px; font-weight: 600; color: var(--text-2); transition: .15s; }
.nav-links a:hover, .nav-links a.on { color: #fff; background: rgba(255,255,255,.05); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-burger { display: none; }
.mobile-nav { position: fixed; inset: 0; z-index: 200; background: rgba(9,9,11,.97); backdrop-filter: blur(10px); padding: 20px; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease); }
.mobile-nav.open { transform: none; }
.mobile-nav nav { display: grid; gap: 4px; margin: 24px 0; }
.mobile-nav nav a { padding: 14px 16px; border-radius: 12px; font-size: 18px; font-weight: 700; font-family: var(--display); }
.mobile-nav nav a:hover, .mobile-nav nav a.on { background: var(--surface); color: var(--red); }

/* hero */
.hero { position: relative; padding: 64px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.hero-bg::before { content: ''; position: absolute; width: 900px; height: 900px; left: 50%; top: -420px; transform: translateX(-30%); background: radial-gradient(circle, var(--red-glow), transparent 62%); opacity: .55; filter: blur(20px); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); opacity: .55; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; letter-spacing: -.04em; margin: 22px 0 18px; }
.hero h1 .accent { background: linear-gradient(100deg, #fff 10%, var(--red) 60%, #ff6b6b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 18.5px; color: var(--text-2); max-width: 540px; }
.hero-actions { display: flex; gap: 12px; margin: 30px 0 28px; flex-wrap: wrap; }
.hero-price { display: inline-flex; align-items: center; gap: 18px; padding: 14px 20px 14px 14px; border-radius: 18px; background: rgba(255,255,255,.03); border: 1px solid var(--line); flex-wrap: wrap; }
.hero-price .hp-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); }
.hero-price strong { font: 800 24px var(--display); letter-spacing: -.03em; }
.hero-price strong small { font-size: 14px; color: var(--text-3); font-weight: 600; }
.hero-price p { margin: 0; font-size: 13px; color: var(--text-3); }
.hero-checks { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; font-size: 13.5px; color: var(--text-2); }
.hero-checks span { display: inline-flex; gap: 6px; align-items: center; }
.hero-checks .ic { width: 15px; height: 15px; color: var(--red); }
.hero-visual { position: relative; height: 520px; }
.hero-visual .dev-laptop { position: absolute; right: 0; top: 30px; width: 92%; animation: float 7s ease-in-out infinite; }
.hero-visual .dev-phone { position: absolute; left: 0; bottom: 0; width: 34%; animation: float 7s ease-in-out -3s infinite; }
.float-card { position: absolute; display: flex; gap: 10px; align-items: center; padding: 11px 14px; background: rgba(27,27,31,.86); backdrop-filter: blur(12px); border: 1px solid var(--line-2); border-radius: 14px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; z-index: 3; }
.float-card small { display: block; font-weight: 500; color: var(--text-3); font-size: 11.5px; }
.float-card .fc-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.fc-1 { right: -6px; top: 0; animation-delay: -2s; } .fc-1 .fc-ic { background: rgba(34,197,94,.14); color: #4ADE80; }
.fc-2 { right: 12%; bottom: 40px; animation-delay: -4s; } .fc-2 .fc-ic { background: var(--red-soft); color: var(--red); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* devices */
.dev-laptop { filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); }
.dev-screen { aspect-ratio: 16/10; border-radius: 14px 14px 0 0; border: 10px solid #1d1d22; border-bottom-width: 14px; background: #fff; overflow: hidden; position: relative; }
.dev-base { height: 14px; margin: 0 -6%; background: linear-gradient(#2a2a30, #121215); border-radius: 0 0 14px 14px; position: relative; }
.dev-base::after { content: ''; position: absolute; left: 50%; top: 0; width: 16%; height: 5px; transform: translateX(-50%); background: #0b0b0e; border-radius: 0 0 6px 6px; }
.dev-phone { aspect-ratio: 9/19; border-radius: 30px; border: 8px solid #1d1d22; background: #fff; overflow: hidden; position: relative; filter: drop-shadow(0 30px 50px rgba(0,0,0,.65)); box-shadow: 0 0 0 1px #34343c; }
.dev-notch { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 34%; height: 16px; background: #111; border-radius: 99px; z-index: 5; }
.dev-pscreen { position: absolute; inset: 0; overflow: hidden; }

/* mockup site */
.mk { position: absolute; inset: 0; background: #fff; color: #111; font-size: 10px; display: flex; flex-direction: column; font-family: var(--font); }
.mk-nav { display: flex; align-items: center; gap: 6%; padding: 4% 6%; }
.mk-nav i { width: 14%; height: 8px; border-radius: 3px; }
.mk-nav span { height: 5px; width: 9%; background: #ddd; border-radius: 3px; }
.mk-nav span:first-of-type { margin-left: auto; }
.mk-hero { margin: 0 4%; border-radius: 8px; padding: 9% 7%; color: #fff; display: grid; gap: 6px; justify-items: start; }
.mk-hero.light { background: #f5f5f7; color: #111; }
.mk-hero.split { grid-template-columns: 1.2fr 1fr; align-items: center; }
.mk-hero.split > div { display: grid; gap: 6px; justify-items: start; }
.mk-hero b { font: 800 clamp(10px, 1.6vw, 20px)/1.1 var(--display); letter-spacing: -.02em; }
.mk-hero span { opacity: .75; font-size: clamp(6px, .8vw, 10px); }
.mk-hero em { font-style: normal; font-weight: 800; font-size: clamp(6px, .7vw, 9px); padding: 5px 10px; border-radius: 5px; color: #fff; margin-top: 4px; }
.mk-row { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4%; padding: 4%; flex: 1; }
.mk-img { border-radius: 6px; min-height: 30px; }
.mk-img.big { aspect-ratio: 1; }
.mk-card { border-radius: 6px; background: #f2f2f4; border: 1px solid #e7e7ea; min-height: 30px; }
.mk-prod { border-radius: 6px; background: linear-gradient(#ececf0 65%, #fff 65%); border: 1px solid #e7e7ea; }
.mk-stat { border-radius: 6px; background: #111; min-height: 30px; }
.mk-menu { display: flex; flex-direction: column; height: 100%; background: #fafafa; }
.mk-menu-h { padding: 22px 12px 14px; color: #fff; display: grid; gap: 2px; }
.mk-menu-h b { font: 800 13px var(--display); }
.mk-menu-h span { font-size: 9px; opacity: .85; }
.mk-cat { font-weight: 800; font-size: 9px; padding: 8px 12px 4px; color: #333; }
.mk-item { display: flex; align-items: center; gap: 8px; margin: 0 10px 6px; padding: 7px; background: #fff; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.mk-item i { width: 26px; height: 26px; border-radius: 6px; flex: none; }
.mk-item span { flex: 1; height: 6px; background: #e5e5e5; border-radius: 3px; }
.mk-item b { font-size: 8px; color: #111; }
.dev-pscreen .mk-nav { padding-top: 26px; }

/* seções */
.section { padding: 100px 0; position: relative; }
.section.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section.tight { padding: 64px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--red); border-radius: 2px; }
.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow::after { content: ''; width: 18px; height: 2px; background: var(--red); border-radius: 2px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.035em; margin: 14px 0 14px; }
.sec-head p { color: var(--text-2); font-size: 17px; margin: 0; }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].shown { opacity: 1; transform: none; }
[data-reveal-d="1"] { transition-delay: .08s; } [data-reveal-d="2"] { transition-delay: .16s; } [data-reveal-d="3"] { transition-delay: .24s; } [data-reveal-d="4"] { transition-delay: .32s; } [data-reveal-d="5"] { transition-delay: .4s; }

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } .g6 { grid-template-columns: repeat(6, 1fr); }

.feature { padding: 26px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), rgba(19,19,22,.6)); border: 1px solid var(--line); transition: .35s var(--ease); position: relative; overflow: hidden; }
.feature::after { content: ''; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; background: radial-gradient(circle, var(--red-soft), transparent 70%); opacity: 0; transition: .4s; }
.feature:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--red) 40%, transparent); }
.feature:hover::after { opacity: 1; }
.feature h3 { font-size: 18px; margin: 18px 0 8px; }
.feature p { color: var(--text-2); font-size: 14.5px; margin: 0; }
.f-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); border: 1px solid color-mix(in srgb, var(--red) 25%, transparent); }
.f-ic .ic { width: 22px; height: 22px; }

.benefits-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-top: -30px; position: relative; z-index: 2; }
.benefits-strip > div { background: var(--surface); padding: 22px 18px; display: grid; gap: 8px; }
.benefits-strip .ic { color: var(--red); width: 22px; height: 22px; }
.benefits-strip b { font-size: 14px; font-family: var(--display); }
.benefits-strip span { font-size: 12.5px; color: var(--text-3); line-height: 1.45; }

/* serviço grande */
.svc { display: grid; gap: 18px; padding: 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: .35s var(--ease); }
.svc:hover { border-color: var(--line-2); transform: translateY(-3px); }
.svc h3 { font-size: 22px; margin: 0; }
.svc .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 5px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 600; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); }
.svc-link { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 700; font-size: 14px; }
.svc-link .ic { transition: transform .2s; }
.svc-link:hover .ic { transform: translateX(4px); }

/* mundo */
.world { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: end; }
.world .dev-laptop { grid-column: span 2; }
.world-phones { display: flex; gap: 18px; justify-content: center; }
.world-phones .dev-phone { width: 46%; }
.world-phones .dev-phone:nth-child(2) { transform: translateY(-30px); }

/* preço */
.price-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.price-card { border-radius: 28px; padding: 38px; background: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--red) 22%, transparent), transparent 60%), linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid color-mix(in srgb, var(--red) 40%, transparent); box-shadow: 0 40px 100px -40px var(--red-glow); position: relative; overflow: hidden; }
.price-card .selo { position: absolute; top: 22px; right: 22px; padding: 6px 12px; border-radius: 99px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.price-card h3 { font-size: 22px; }
.price-val { display: flex; align-items: flex-start; gap: 6px; margin: 18px 0 6px; font-family: var(--display); }
.price-val .cur { font-size: 22px; font-weight: 700; margin-top: 12px; color: var(--text-2); }
.price-val .num { font-size: 76px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.price-val .cents { font-size: 30px; font-weight: 800; margin-top: 8px; }
.price-val .per { align-self: flex-end; color: var(--text-3); font-weight: 600; font-size: 16px; margin-bottom: 10px; }
.price-note { display: inline-flex; gap: 8px; align-items: center; font-size: 13.5px; font-weight: 700; color: #FCD34D; background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.25); padding: 7px 12px; border-radius: 10px; }
.price-list { list-style: none; padding: 0; margin: 26px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.price-list li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; font-weight: 600; }
.price-list li .ic { width: 20px; height: 20px; padding: 3px; border-radius: 6px; background: var(--red); color: #fff; stroke-width: 3; }
.plan-mini { padding: 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.plan-mini .pv { font: 800 34px var(--display); letter-spacing: -.03em; margin: 8px 0 12px; }
.plan-mini .pv small { font-size: 14px; color: var(--text-3); }
.plan-mini ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; font-size: 14px; color: var(--text-2); }
.plan-mini li { display: flex; gap: 8px; } .plan-mini li .ic { color: var(--red); width: 16px; margin-top: 3px; }

/* etapas */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, transparent, var(--red), transparent); opacity: .5; }
.step { text-align: center; padding: 0 10px; position: relative; }
.step-n { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font: 800 20px var(--display); background: var(--bg); border: 2px solid var(--red); color: #fff; box-shadow: 0 0 0 8px var(--bg), 0 0 30px var(--red-glow); position: relative; }
.step h3 { font-size: 18px; }
.step p { color: var(--text-2); font-size: 14.5px; }

/* números */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.stats > div { padding: 32px 26px; border-right: 1px solid var(--line); position: relative; }
.stats > div:last-child { border-right: 0; }
.stats b { display: block; font: 800 44px var(--display); letter-spacing: -.04em; background: linear-gradient(180deg, #fff, #9a9aa3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--text-2); font-size: 14px; }
.stats .demo-tag { position: absolute; top: 12px; right: 12px; }

/* portfólio */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { padding: 9px 16px; border-radius: 99px; font-weight: 700; font-size: 13.5px; border: 1px solid var(--line); color: var(--text-2); transition: .2s; }
.filters button:hover { color: #fff; border-color: var(--line-2); }
.filters button.on { background: var(--red); border-color: var(--red); color: #fff; }
.pf-card { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: .4s var(--ease); display: flex; flex-direction: column; }
.pf-card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: var(--shadow); }
.pf-shot { aspect-ratio: 16/10.5; position: relative; overflow: hidden; background: var(--surface-2); padding: 18px 18px 0; }
.pf-shot .browser { position: relative; height: 100%; border-radius: 10px 10px 0 0; overflow: hidden; box-shadow: 0 -10px 40px -10px rgba(0,0,0,.6); transition: transform .6s var(--ease); }
.pf-card:hover .browser { transform: translateY(-6px) scale(1.02); }
.browser-bar { height: 20px; background: #e9e9ec; display: flex; align-items: center; gap: 4px; padding: 0 8px; }
.browser-bar i { width: 6px; height: 6px; border-radius: 50%; background: #c8c8cd; }
.browser .mk { top: 20px; }
.pf-shot .mk-menu-wrap { width: 46%; margin: 0 auto; height: 100%; position: relative; border-radius: 16px 16px 0 0; overflow: hidden; border: 5px solid #1d1d22; border-bottom: 0; }
.pf-body { padding: 20px 22px 22px; display: grid; gap: 8px; flex: 1; align-content: start; }
.pf-body .cat { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.pf-body h3 { font-size: 19px; margin: 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pf-body p { color: var(--text-2); font-size: 14px; margin: 0 0 6px; }

/* cardápio demo */
.menu-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.menu-demo .dev-phone { width: 300px; margin: 0 auto; }
.menu-app { position: absolute; inset: 0; background: #0f0f12; color: #fff; overflow-y: auto; font-size: 12px; scrollbar-width: none; }
.menu-app::-webkit-scrollbar { display: none; }
.ma-head { padding: 34px 16px 16px; background: linear-gradient(160deg, var(--red), var(--red-dark)); }
.ma-head b { font: 800 18px var(--display); display: block; }
.ma-head span { font-size: 11px; opacity: .9; display: inline-flex; align-items: center; gap: 5px; }
.ma-head span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; }
.ma-cats { display: flex; gap: 6px; padding: 12px 14px; overflow-x: auto; scrollbar-width: none; position: sticky; top: 0; background: #0f0f12; z-index: 2; }
.ma-cats button { padding: 6px 11px; border-radius: 99px; background: #1d1d22; font-size: 11px; font-weight: 700; white-space: nowrap; color: #ccc; }
.ma-cats button.on { background: #fff; color: #111; }
.ma-item { display: flex; gap: 10px; padding: 10px; margin: 0 12px 8px; border-radius: 12px; background: #18181c; align-items: center; }
.ma-item .ph { width: 54px; height: 54px; border-radius: 10px; flex: none; display: grid; place-items: center; font-size: 22px; }
.ma-item b { display: block; font-size: 12.5px; }
.ma-item small { color: #8a8a93; font-size: 10.5px; line-height: 1.3; display: block; }
.ma-item .pr { font-weight: 800; color: #fff; font-size: 12px; margin-top: 3px; display: block; }
.ma-item .add { margin-left: auto; width: 28px; height: 28px; border-radius: 8px; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; }
.ma-item .add .ic { width: 15px; height: 15px; }
.ma-item.off { opacity: .45; } .ma-item.off .add { background: #333; }
.ma-tag { font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 4px; background: rgba(245,158,11,.18); color: #FBBF24; margin-left: 4px; }
.ma-cart { position: sticky; bottom: 10px; margin: 14px 12px 10px; padding: 11px 14px; border-radius: 12px; background: #22C55E; color: #052e16; font-weight: 800; display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.check-list { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check-list li { display: flex; gap: 10px; font-weight: 600; font-size: 14.5px; align-items: center; }
.check-list .ic { color: var(--red); }

/* depoimentos */
.testi { padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 18px; align-content: start; position: relative; }
.testi .stars { display: flex; gap: 3px; color: #FBBF24; }
.testi .stars .ic { width: 16px; height: 16px; fill: currentColor; }
.testi blockquote { margin: 0; font-size: 15.5px; color: var(--text); line-height: 1.6; }
.testi .who { display: flex; gap: 12px; align-items: center; }
.testi .who small { display: block; color: var(--text-3); font-size: 13px; }
.testi > .demo-tag { position: absolute; top: 16px; right: 16px; }

/* faq */
.faq { display: grid; gap: 12px; max-width: 840px; margin: 0 auto; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--red) 40%, transparent); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .3s var(--ease); color: var(--text-3); }
.faq details[open] summary .ic { transform: rotate(45deg); color: var(--red); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--text-2); }

/* cta */
.cta-final { border-radius: 32px; padding: 72px 40px; text-align: center; position: relative; overflow: hidden; background: radial-gradient(80% 120% at 50% 0%, color-mix(in srgb, var(--red) 55%, #000), #0a0a0b 70%); border: 1px solid color-mix(in srgb, var(--red) 35%, transparent); }
.cta-final::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(ellipse at center, #000, transparent 70%); }
.cta-final > * { position: relative; }
.cta-final h2 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.04em; max-width: 780px; margin: 0 auto 16px; }
.cta-final p { color: rgba(255,255,255,.75); font-size: 17px; max-width: 580px; margin: 0 auto 30px; }
.cta-final .row { justify-content: center; }

/* page hero */
.page-hero { padding: 70px 0 50px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(34px, 4.8vw, 56px); font-weight: 800; letter-spacing: -.04em; max-width: 860px; margin: 16px 0; }
.page-hero p { color: var(--text-2); font-size: 18px; max-width: 640px; }
.crumbs { display: flex; gap: 8px; color: var(--text-3); font-size: 13px; align-items: center; }
.crumbs a:hover { color: var(--text); }
.crumbs .ic { width: 14px; height: 14px; }
.prose { max-width: 820px; white-space: pre-wrap; color: var(--text-2); font-size: 15.5px; line-height: 1.8; }

/* contato */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; }
.contact-item { display: flex; gap: 14px; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); align-items: center; transition: .2s; }
.contact-item:hover { border-color: var(--line-2); }
.contact-item .f-ic { width: 44px; height: 44px; }
.contact-item small { display: block; color: var(--text-3); font-size: 12.5px; }
.contact-item b { font-size: 15px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 70px 0 30px; margin-top: 40px; background: linear-gradient(180deg, var(--bg), #050506); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; }
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); margin-bottom: 16px; font-family: var(--font); font-weight: 800; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid ul a { color: var(--text-2); font-size: 14.5px; transition: .15s; }
.footer-grid ul a:hover { color: #fff; }
.footer-about p { color: var(--text-2); font-size: 14.5px; margin: 16px 0 20px; max-width: 320px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); transition: .2s; }
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 50px; padding-top: 24px; color: var(--text-3); font-size: 13.5px; }
.footer-bottom nav { display: flex; gap: 18px; }
.footer-bottom a:hover { color: #fff; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #22C55E; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(34,197,94,.6); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float .ic { width: 30px; height: 30px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #22C55E; animation: ping 2.2s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* =====================================================================
 * AUTENTICAÇÃO
 * ===================================================================== */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { position: relative; overflow: hidden; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--red) 45%, #000), #0a0a0b 65%); border-right: 1px solid var(--line); }
.auth-side::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000, transparent); }
.auth-side > * { position: relative; }
.auth-side h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.04em; max-width: 460px; }
.auth-side ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.auth-side li { display: flex; gap: 12px; align-items: center; color: rgba(255,255,255,.85); font-weight: 600; }
.auth-side li .ic { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: rgba(255,255,255,.08); color: #fff; }
.auth-main { display: grid; place-items: center; padding: 40px 24px; }
.auth-box { width: min(440px, 100%); }
.auth-box.wide { width: min(640px, 100%); }
.auth-box h1 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 6px; }
.auth-box > p { color: var(--text-2); margin-bottom: 26px; }
.auth-foot { text-align: center; margin-top: 22px; color: var(--text-2); font-size: 14px; }
.auth-foot a, .link { color: var(--red); font-weight: 700; }
.link:hover { text-decoration: underline; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--text-3); font-size: 12.5px; margin: 18px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.steps-bar { display: flex; gap: 8px; margin-bottom: 22px; }
.steps-bar i { flex: 1; height: 4px; border-radius: 4px; background: var(--surface-3); transition: background .3s; }
.steps-bar i.on { background: var(--red); }
.otp { display: flex; gap: 10px; justify-content: center; margin: 22px 0; }
.otp input { width: 52px !important; height: 60px; text-align: center; font: 800 24px var(--display); padding: 0 !important; }
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 6px; }
.pw-meter i { height: 4px; border-radius: 4px; background: var(--surface-3); }
.pw-meter[data-s="1"] i:nth-child(-n+1) { background: #EF4444; }
.pw-meter[data-s="2"] i:nth-child(-n+2) { background: #F59E0B; }
.pw-meter[data-s="3"] i:nth-child(-n+3) { background: #84CC16; }
.pw-meter[data-s="4"] i { background: #22C55E; }
.demo-login { padding: 14px; border-radius: 14px; border: 1px dashed rgba(245,158,11,.45); background: rgba(245,158,11,.05); margin-bottom: 20px; font-size: 13.5px; color: #E9D7A5; }
.demo-login b { color: #FCD34D; }
.role-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 10px; }
.role-pick label { cursor: pointer; }
.role-pick input { position: absolute; opacity: 0; }
.role-pick span { display: block; text-align: center; padding: 9px; border-radius: 10px; border: 1px solid var(--line-2); font-weight: 700; font-size: 12.5px; color: var(--text-2); transition: .15s; }
.role-pick input:checked + span { border-color: var(--red); background: var(--red-soft); color: #fff; }

/* =====================================================================
 * PAINÉIS (cliente e admin)
 * ===================================================================== */
.demo-banner { background: repeating-linear-gradient(-45deg, rgba(245,158,11,.12) 0 12px, rgba(245,158,11,.06) 12px 24px); border-bottom: 1px solid rgba(245,158,11,.3); color: #FCD34D; font-size: 12.5px; font-weight: 700; padding: 7px 16px; text-align: center; position: relative; z-index: 51; }
.demo-banner button { text-decoration: underline; color: #FDE68A; margin-left: 8px; font-weight: 800; }
.app { display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; background: var(--bg-2); border-right: 1px solid var(--line); display: flex; flex-direction: column; z-index: 70; }
.sb-head { padding: 20px 20px 14px; display: flex; align-items: center; justify-content: space-between; }
.sb-area { margin: 0 14px 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 12px; color: var(--text-3); display: flex; gap: 10px; align-items: center; }
.sb-area b { color: var(--text); display: block; font-size: 13px; }
.sb-area .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34,197,94,.15); flex: none; }
.sb-nav { flex: 1; overflow-y: auto; padding: 4px 12px 12px; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
.sb-group { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; color: var(--text-3); text-transform: uppercase; padding: 16px 10px 6px; }
.sb-link { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; color: var(--text-2); font-weight: 600; font-size: 14px; transition: .15s; position: relative; margin-bottom: 1px; }
.sb-link:hover { background: var(--surface); color: var(--text); }
.sb-link.on { background: linear-gradient(90deg, var(--red-soft), transparent); color: #fff; }
.sb-link.on::before { content: ''; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--red); }
.sb-link.on .ic { color: var(--red); }
.sb-link .sb-n { margin-left: auto; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 99px; }
.sb-link.locked { opacity: .4; }
.sb-foot { padding: 12px; border-top: 1px solid var(--line); }
.sb-user { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; }
.sb-user b { font-size: 13.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-user small { color: var(--text-3); font-size: 12px; }
.sb-user > div { min-width: 0; flex: 1; }
.main { min-width: 0; display: flex; flex-direction: column; }
.topnav { position: sticky; top: 0; z-index: 50; height: 66px; display: flex; align-items: center; gap: 14px; padding: 0 clamp(20px, 2.4vw, 48px); background: rgba(9,9,11,.8); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topnav .search { flex: 1; max-width: 420px; }
.topnav .sp { flex: 1; }
.tn-burger { display: none; }
.notif-dot { position: absolute; top: 4px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--bg); }
.notif-panel { width: 360px; max-width: calc(100vw - 24px); padding: 0; }
.notif-panel .np-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.notif-panel .np-h b { font-size: 14.5px; }
.notif-panel .np-list { max-height: 380px; overflow-y: auto; }
.np-item { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; cursor: pointer; transition: background .15s; }
.np-item:hover { background: var(--surface-3); }
.np-item.unread { background: rgba(225,29,46,.04); }
.np-item.unread p::after { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-left: 6px; vertical-align: middle; }
.np-item p { margin: 0; color: var(--text); }
.np-item small { color: var(--text-3); }
.np-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-3); color: var(--text-2); flex: none; }
.np-ic .ic { width: 16px; height: 16px; }
.content { padding: 28px clamp(20px, 2.4vw, 48px); flex: 1; width: 100%; max-width: none; }
.page-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.page-h h1 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 4px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.page-h p { margin: 0; color: var(--text-2); }
.page-h .actions { display: flex; gap: 10px; flex-wrap: wrap; }

.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.kpi { padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; position: relative; overflow: hidden; transition: .25s var(--ease); }
.kpi:hover { border-color: var(--line-2); transform: translateY(-2px); }
.kpi-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.kpi-top span { color: var(--text-2); font-size: 13px; font-weight: 600; }
.kpi-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--line); }
.kpi-ic .ic { width: 17px; height: 17px; }
.kpi-ic.red { background: var(--red-soft); color: var(--red); border-color: transparent; }
.kpi-ic.green { background: rgba(34,197,94,.12); color: #4ADE80; border-color: transparent; }
.kpi-ic.amber { background: rgba(245,158,11,.12); color: #FBBF24; border-color: transparent; }
.kpi-ic.blue { background: rgba(59,130,246,.12); color: #60A5FA; border-color: transparent; }
.kpi-ic.violet { background: rgba(139,92,246,.12); color: #A78BFA; border-color: transparent; }
.kpi-v { font: 800 26px/1.1 var(--display); letter-spacing: -.03em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.kpi-v.sm { font-size: 18px; }
.kpi-sub { font-size: 12.5px; color: var(--text-3); display: flex; gap: 6px; align-items: center; }
.kpi-sub .up { color: #4ADE80; font-weight: 700; } .kpi-sub .down { color: #F87171; font-weight: 700; }
.kpi.na .kpi-v { color: var(--text-3); }

.layout-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.layout-2e { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.layout-side { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: start; }
.mt { margin-top: 20px; } .mt-sm { margin-top: 12px; } .mb { margin-bottom: 20px; }

.welcome { padding: 28px; border-radius: 22px; position: relative; overflow: hidden; background: radial-gradient(90% 140% at 100% 0%, color-mix(in srgb, var(--red) 30%, transparent), transparent 60%), var(--surface); border: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.welcome h1 { font-size: 28px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 6px; }
.welcome p { margin: 0; color: var(--text-2); }

.info-list { display: grid; gap: 0; }
.info-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; align-items: center; }
.info-list > div:last-child { border-bottom: 0; }
.info-list span { color: var(--text-3); }
.info-list b { font-weight: 700; text-align: right; word-break: break-word; }
.quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.quick a, .quick button { display: grid; gap: 10px; padding: 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 700; font-size: 13.5px; text-align: left; transition: .2s; }
.quick a:hover, .quick button:hover { border-color: color-mix(in srgb, var(--red) 50%, transparent); transform: translateY(-2px); }
.quick .ic { color: var(--red); width: 22px; height: 22px; }

.list-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.list-item:last-child { border-bottom: 0; }
.list-item .li-main { flex: 1; min-width: 0; }
.list-item .li-main b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-item .li-main small { color: var(--text-3); font-size: 12.5px; }
.li-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); flex: none; border: 1px solid var(--line); }

.usage { display: grid; gap: 8px; }
.usage .row { justify-content: space-between; font-size: 13.5px; }
.usage .row b { font-weight: 700; }

.qr-box { width: 200px; height: 200px; padding: 10px; background: #fff; border-radius: 16px; display: grid; place-items: center; margin: 0 auto; }
.qr-box img, .qr-box canvas { width: 100% !important; height: auto !important; }
.qr-fallback { color: #111; display: grid; place-items: center; gap: 6px; font-size: 12px; }
.qr-fallback .ic { width: 60px; height: 60px; }
.link-box { display: flex; gap: 8px; align-items: center; padding: 6px 6px 6px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); }
.link-box span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-family: ui-monospace, monospace; color: var(--text-2); }

/* chamados / chat */
.thread { display: grid; gap: 14px; max-height: 460px; overflow-y: auto; padding-right: 4px; }
.msg { display: flex; gap: 10px; max-width: 86%; }
.msg .bubble { padding: 12px 15px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; }
.msg .bubble small { display: block; color: var(--text-3); font-size: 11.5px; margin-bottom: 4px; font-weight: 700; }
.msg.me { margin-left: auto; flex-direction: row-reverse; }
.msg.me .bubble { background: var(--red-soft); border-color: color-mix(in srgb, var(--red) 30%, transparent); }
.ticket-row { cursor: pointer; }
.ticket-row.on { background: var(--red-soft) !important; }

/* composer de mensagens */
.var-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.var-chips button { padding: 4px 9px; border-radius: 7px; font: 600 12px ui-monospace, monospace; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); }
.var-chips button:hover { border-color: var(--red); color: #fff; }
.preview-bubble { padding: 14px 16px; border-radius: 4px 16px 16px 16px; background: #0B3D2E; color: #E7FFF3; font-size: 14px; white-space: pre-wrap; max-width: 420px; position: relative; }
.preview-bubble.email { background: #fff; color: #111; border-radius: 12px; }
.channel-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.channel-pick label { cursor: pointer; }
.channel-pick input { position: absolute; opacity: 0; }
.channel-pick .ch { display: grid; gap: 6px; padding: 14px; border-radius: 14px; border: 1px solid var(--line-2); transition: .15s; height: 100%; }
.channel-pick .ch b { font-size: 14px; display: flex; align-items: center; gap: 8px; }
.channel-pick .ch small { color: var(--text-3); font-size: 12px; }
.channel-pick input:checked + .ch { border-color: var(--red); background: var(--red-soft); }

/* automações */
.flow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.flow-node { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 700; font-size: 13.5px; }
.flow-node.trigger { border-color: color-mix(in srgb, var(--red) 40%, transparent); }
.flow-node.trigger .ic { color: var(--red); }
.flow-arrow { color: var(--text-3); }

/* permissões */
.perm-table td, .perm-table th { text-align: center; }
.perm-table td:first-child, .perm-table th:first-child { text-align: left; }
.perm-yes { color: #4ADE80; } .perm-no { color: var(--text-3); }

.profile-head { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.profile-head h2 { margin: 0 0 4px; font-size: 24px; }

.color-row { display: flex; gap: 12px; align-items: center; }
.color-row input[type=text] { font-family: ui-monospace, monospace; }

.upload-zone { border: 2px dashed var(--line-2); border-radius: 16px; padding: 30px; text-align: center; transition: .2s; cursor: pointer; display: grid; gap: 6px; justify-items: center; color: var(--text-2); }
.upload-zone:hover, .upload-zone.drag { border-color: var(--red); background: var(--red-soft); }
.upload-zone .ic { width: 30px; height: 30px; color: var(--red); }

.bottom-nav { display: none; }
.sb-overlay { display: none; }

.access-denied { max-width: 520px; margin: 60px auto; }

/* =====================================================================
 * RESPONSIVO
 * ===================================================================== */
@media (max-width: 1180px) {
  .benefits-strip { grid-template-columns: repeat(3, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .layout-2 { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-burger { display: inline-grid; }
  .hero-grid, .price-wrap, .menu-demo, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 440px; max-width: 640px; margin: 0 auto; width: 100%; }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .world { grid-template-columns: 1fr; }
  .world .dev-laptop { grid-column: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps::before { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(2) { border-right: 0; }
  .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  /* painel */
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 290px; transform: translateX(-100%); transition: transform .3s var(--ease); box-shadow: 30px 0 60px rgba(0,0,0,.5); }
  .sidebar.open { transform: none; }
  .sb-overlay { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 65; opacity: 0; pointer-events: none; transition: .3s; }
  .sb-overlay.open { opacity: 1; pointer-events: auto; }
  .tn-burger { display: inline-grid; }
  .layout-side, .layout-2e { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 14.5px; }
  .container { width: calc(100% - 32px); }
  .section { padding: 72px 0; }
  .hero { padding: 36px 0 70px; }
  .hero-visual { height: 330px; }
  .float-card { display: none; }
  .benefits-strip { grid-template-columns: 1fr 1fr; margin-top: 0; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .price-card { padding: 26px; }
  .price-val .num { font-size: 60px; }
  .price-list, .check-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats b { font-size: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-final { padding: 50px 22px; border-radius: 24px; }
  .btn-lg { height: 52px; padding: 0 22px; }
  .hero-actions .btn { flex: 1; }
  .form-grid .col-6, .form-grid .col-4, .form-grid .col-8, .form-grid .col-3 { grid-column: span 12; }
  .channel-pick { grid-template-columns: 1fr; }
  .nav-cta .btn-primary { height: 40px; padding: 0 14px; font-size: 13.5px; }
  /* painel */
  .topnav { padding: 0 14px; height: 60px; }
  .topnav .search { display: none; }
  .content { padding: 18px 14px 96px; }
  .page-h h1 { font-size: 22px; }
  .page-h .actions { width: 100%; }
  .page-h .actions .btn { flex: 1; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { padding: 14px; }
  .kpi-v { font-size: 20px; }
  .kpi-ic { width: 30px; height: 30px; }
  .card { padding: 16px; }
  .welcome { padding: 20px; }
  .welcome h1 { font-size: 22px; }
  /* tabelas viram cards */
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .tbl td { border: 0; padding: 5px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: right; }
  .tbl td::before { content: attr(data-label); color: var(--text-3); font-size: 12px; font-weight: 700; text-align: left; flex: none; }
  .tbl td[data-label=""]::before { display: none; }
  .tbl td.right { justify-content: flex-end; }
  .cell-user { text-align: left; }
  .toolbar { padding: 12px; }
  .toolbar .search { min-width: 0; flex: 1 1 100%; }
  .bottom-nav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(13,13,16,.94); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
  .bottom-nav a { flex: 1; display: grid; justify-items: center; gap: 3px; padding: 6px 2px; font-size: 10.5px; font-weight: 700; color: var(--text-3); border-radius: 10px; }
  .bottom-nav a .ic { width: 21px; height: 21px; }
  .bottom-nav a.on { color: var(--red); }
  .toasts { left: 12px; right: 12px; bottom: 84px; }
  .toast { min-width: 0; max-width: none; }
  .modal-wrap { padding: 0; align-items: end; }
  .modal { width: 100% !important; border-radius: 22px 22px 0 0; max-height: 92vh; }
  .modal-foot .btn { flex: 1; }
  .wa-float { bottom: 16px; right: 16px; }
  .msg { max-width: 100%; }
}
@media (max-width: 420px) {
  .benefits-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .otp input { width: 42px !important; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
@media (max-width: 760px) { .hide-m { display: none; } }
a.feature, button.feature { display: block; color: inherit; width: 100%; }
.grow { flex: 1; }

/* ---------------------------- PLANOS DE SITES ----------------------------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s; }
.plan-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.plan-card h3 { font-size: 20px; margin: 0; padding-right: 110px; }
.plan-card .price-val { margin: 6px 0 2px; }
.plan-card .price-val .num { font-size: 58px; }
.plan-card.featured { background: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--red) 22%, transparent), transparent 60%), linear-gradient(180deg, var(--surface-2), var(--surface)); border-color: color-mix(in srgb, var(--red) 45%, transparent); box-shadow: 0 40px 100px -40px var(--red-glow); }
.plan-card .selo { position: absolute; top: 24px; right: 22px; padding: 5px 11px; border-radius: 99px; background: var(--red); color: #fff; font-size: 11.5px; font-weight: 800; }
.plan-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; font-weight: 600; flex: 1; align-content: start; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list .ic { width: 19px; height: 19px; padding: 3px; border-radius: 6px; background: var(--red-soft); color: var(--red); stroke-width: 3; margin-top: 1px; }
.plan-card.featured .plan-list .ic { background: var(--red); color: #fff; }
.plan-foot { display: grid; gap: 10px; margin-top: 10px; }
@media (max-width: 1024px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.img-prev { width: 200px; height: 72px; border-radius: 12px; border: 1px dashed var(--line-2); background: repeating-conic-gradient(var(--surface-2) 0 25%, var(--surface) 0 50%) 0 0 / 16px 16px; display: grid; place-items: center; overflow: hidden; padding: 8px; flex: none; }
.img-prev.sq { width: 72px; }
.img-prev img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* carrinho (cadastro) */
.cart { padding: 16px 18px; border-radius: 14px; background: var(--bg-2); border: 1px solid color-mix(in srgb, var(--red) 35%, transparent); margin-bottom: 18px; display: grid; gap: 4px; }
.cart > .row b { display: inline-flex; gap: 8px; align-items: center; }
.cart-line { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.cart-line span { color: var(--text-2); }
.cart-line.total { border-bottom: 0; font-size: 16px; }
.cart-line.total b { font: 800 20px var(--display); color: #fff; }

/* domínio no cadastro */
.dom-box { margin-top: 18px; padding: 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line-2); display: grid; gap: 12px; }
.dom-q { font-size: 13.5px; font-weight: 700; color: var(--text); }
.dom-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dom-opt { cursor: pointer; }
.dom-opt input { position: absolute; opacity: 0; }
.dom-opt > span { display: grid; gap: 3px; padding: 14px; border-radius: 12px; border: 1px solid var(--line-2); height: 100%; transition: .15s; }
.dom-opt > span .ic { color: var(--red); width: 20px; height: 20px; }
.dom-opt b { font-size: 14px; }
.dom-opt small { color: var(--text-3); font-size: 12.5px; }
.dom-opt input:checked + span { border-color: var(--red); background: var(--red-soft); }
.dom-opt input:focus-visible + span { box-shadow: 0 0 0 4px var(--red-soft); }
.dom-input { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 11px; padding: 4px 4px 4px 12px; }
.dom-input input { border: 0 !important; background: none !important; box-shadow: none !important; padding: 8px 0 !important; min-height: 38px !important; flex: 1; min-width: 0; }
.dom-suf { color: var(--text-2); font-weight: 700; }
.dom-res { font-size: 13.5px; min-height: 20px; margin-top: 8px; }
.dom-res span { display: inline-flex; gap: 6px; align-items: center; }
.dom-good { color: #4ADE80; } .dom-bad { color: #F87171; }
@media (max-width: 760px) { .dom-opts { grid-template-columns: 1fr; } }

/* ---------- telas grandes: aproveitar a largura toda ---------- */
@media (min-width: 1600px) {
  .kpis { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .layout-side { grid-template-columns: 420px 1fr; }
  .grid.g3 { gap: 24px; }
  .hero-grid { gap: 72px; }
  .hero-visual { height: 600px; }
  .sec-head { max-width: 860px; }
}
/* Site público em monitores grandes: amplia tudo proporcionalmente para ocupar a tela */
@media (min-width: 1900px) {
  body[data-area="public"] #app > .topbar-promo, body[data-area="public"] #app > .site-header,
  body[data-area="public"] #app > main, body[data-area="public"] #app > .site-footer { zoom: 1.12; }
}
@media (min-width: 2300px) {
  body[data-area="public"] #app > .topbar-promo, body[data-area="public"] #app > .site-header,
  body[data-area="public"] #app > main, body[data-area="public"] #app > .site-footer { zoom: 1.3; }
  .content { font-size: 15.5px; }
}

/* ---------- logo em imagem (tamanho ajustável em Configurações → Logo e cores) ---------- */
.logo img { display: block; height: var(--logo-h, 56px); width: auto; max-width: min(340px, 42vw); object-fit: contain; image-rendering: -webkit-optimize-contrast; }
.site-footer .logo img { height: calc(var(--logo-h, 56px) * 1.2); max-width: 360px; }
.auth-side .logo img { height: calc(var(--logo-h, 56px) * 1.3); max-width: 380px; }
.auth-box .logo img { height: calc(var(--logo-h, 56px) * 1.1); }
.sidebar .logo img { height: min(var(--logo-h, 56px), 52px); max-width: 210px; }
.sb-head { min-height: 72px; }
@media (max-width: 1024px) { .logo img { height: calc(var(--logo-h, 56px) * .85); } .nav { height: calc(var(--logo-h, 56px) * .85 + 20px); } }
@media (max-width: 760px) { .logo img { height: min(calc(var(--logo-h, 56px) * .75), 48px); max-width: 190px; } .nav { height: auto; min-height: 64px; } }

.logo-prev { margin-top: 10px; padding: 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); display: flex; align-items: center; min-height: 80px; overflow: hidden; }
.logo-prev img { height: var(--logo-h, 56px); width: auto; max-width: 100%; object-fit: contain; }
/* Logo maior: menu nunca quebra linha */
.nav-links a { white-space: nowrap; }
.nav > .logo { flex-shrink: 0; }
@media (max-width: 1440px) { .nav { gap: 16px; } .nav-links { margin-left: 0; gap: 0; } .nav-links a { padding: 8px 9px; font-size: 14px; } }
@media (max-width: 1280px) { .logo img { max-width: 220px; } .nav-links a { padding: 8px 7px; font-size: 13.5px; } }
@media (max-width: 420px) { .logo img { max-width: 140px; height: min(calc(var(--logo-h, 56px) * .7), 42px); } .nav { gap: 10px; } .nav-cta .btn-primary { padding: 0 11px; font-size: 13px; } }
@media (max-width: 1180px) and (min-width: 1025px) { .logo img { max-width: 170px; } .nav { gap: 12px; } .nav-links a { padding: 8px 6px; font-size: 13px; } .nav-cta { gap: 8px; } }
html, body { overflow-x: clip; }
/* Campo de imagem (portfólio) */
.img-field { display: grid; gap: 10px; }
.img-field-pv { aspect-ratio: 16/10; max-width: 360px; border-radius: 12px; border: 1px dashed var(--line); background: var(--bg); display: grid; place-items: center; overflow: hidden; color: var(--text-3, #888); font-size: 13px; }
.img-field-pv span { display: inline-flex; gap: 6px; align-items: center; }
.img-field-pv img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* Print real no card do portfólio */
.pf-shot .pf-img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; border-radius: 10px; }
.pf-shot.has-img { padding: 0; }
.pf-shot.has-img .pf-img { border-radius: 0; }
.pf-modal-img { width: 100%; max-height: 70vh; object-fit: contain; object-position: top; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); display: block; }
.text-red { color: var(--red); font-weight: 600; }
.callout p b, .callout small b, .callout li b { display: inline; margin: 0; }

/* Dashboard compacto: 4 cartões com vários números */
.kgroups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kgroup { display: grid; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: inherit; text-decoration: none; transition: .2s var(--ease); }
.kgroup:hover { border-color: var(--line-2); }
.kg-h { display: flex; align-items: center; gap: 10px; }
.kg-h b { font-size: 14px; flex: 1; }
.kg-h > .ic { width: 15px; height: 15px; color: var(--text-3); }
.kg-h .kpi-ic { width: 30px; height: 30px; border-radius: 8px; }
.kg-h .kpi-ic .ic { width: 15px; height: 15px; }
.kg-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
.kg-row div { display: grid; gap: 2px; min-width: 0; }
.kg-row b { font: 800 19px/1.15 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.kg-row small { font-size: 11.5px; color: var(--text-3); line-height: 1.25; }
.kg-green { color: #4ADE80; } .kg-red { color: #F87171; } .kg-amber { color: #FBBF24; }
@media (max-width: 1280px) { .kgroups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .kgroups { grid-template-columns: 1fr; } }
