/* ==========================================================================
   Loja — área de vendas
   Tema escuro alinhado ao painel: superfícies quase pretas + roxo de destaque.
   As cores ficam todas nas variáveis abaixo — mude aqui e o resto acompanha.
   Fontes servidas pela própria loja (/loja/fonts, cópia de public/fonts): nada de Google Fonts nem CDN.
   ========================================================================== */

@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a090e;
  --bg-2: #0d0c12;
  --surface: #100f16;
  --surface-2: #15141d;
  --surface-3: #1c1a26;
  --border: #1f1d2b;
  --border-2: #2b2939;
  --border-3: #3a3750;
  --field-border: #625e7a; /* borda de campos de formulário (contraste 3:1 sobre o fundo) */

  --text: #f4f4f6;
  --text-2: #cfcdd8;
  --muted: #9a98a8;
  --dim: #868497;

  --accent: #7c5cff;
  --accent-2: #6847f5;
  --accent-3: #a493ff;
  --accent-soft: rgb(124 92 255 / .12);
  --accent-line: rgb(124 92 255 / .38);

  --ok: #22c55e;
  --ok-text: #4ade80;
  --ok-soft: rgb(34 197 94 / .12);
  --ok-line: rgb(34 197 94 / .28);
  --warn: #f59e0b;
  --warn-text: #fbbf24;
  --warn-soft: rgb(245 158 11 / .12);
  --warn-line: rgb(245 158 11 / .28);
  --danger: #ef4444;
  --danger-text: #f87171;
  --danger-soft: rgb(239 68 68 / .12);
  --danger-line: rgb(239 68 68 / .3);

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --header-h: 64px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow-pop: 0 30px 80px -20px rgb(0 0 0 / .85), 0 0 0 1px rgb(255 255 255 / .02) inset;

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}
html.no-scroll { overflow: hidden; padding-right: var(--sbw, 0px); }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 14px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
strong { font-weight: 600; }

:focus-visible { outline: 2px solid var(--accent-3); outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }
::selection { background: rgb(124 92 255 / .35); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
/* frases que prometem e-mail: somem quando o servidor diz que o envio não está configurado (html.no-email) */
.no-email .if-email { display: none !important; }
/* e o contrário: o que vale só sem e-mail (ex.: "fale com o suporte para receber o programa") */
.if-no-email { display: none !important; }
.no-email .if-no-email { display: inline !important; }
/* com a conta da loja logada (html.has-acct): o que vale só para visitante some, e o que é da conta aparece */
.if-acct { display: none !important; }
.has-acct .if-acct { display: inline !important; }
.has-acct .if-guest { display: none !important; }

[data-icon] { display: inline-flex; flex: none; }
.mono { font-family: var(--mono); }
/* área de transferência de reserva (navegador sem a API de clipboard) */
.copy-buffer { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; }
.noscript { padding: 16px; text-align: center; color: var(--warn-text); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 14px; border-radius: var(--r-sm);
  background: var(--accent-2); color: #fff; font-weight: 600;
  transition: top .15s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 88px 0; }
.section--tight { padding-block: 0; }

.section__head {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  max-width: 640px; margin-bottom: 28px;
}
.section__head h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 700; line-height: 1.15; letter-spacing: -.025em;
  text-wrap: balance;
}
.section__head p { color: var(--muted); font-size: 15px; }
.section__head--center { margin-inline: auto; text-align: center; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-3); font-size: 13px; font-weight: 500;
}

.text-accent {
  background: linear-gradient(90deg, #b3a4ff, #7c5cff);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
}

/* ---------- Botões ---------- */
.btn {
  --h: 38px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 14px;
  border-radius: var(--r-sm); border: 1px solid transparent;
  font-size: 14px; font-weight: 600; letter-spacing: -.005em; line-height: 1;
  white-space: nowrap; user-select: none;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn svg { flex: none; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
/* enviando: fica legível (não apagado) e com o spinner no lugar do ícone */
.btn[aria-busy="true"]:disabled { opacity: .8; cursor: progress; }
.btn .spinner { width: 13px; height: 13px; flex: none; }

.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #7052ff 0%, #5f3ff0 100%);
  border-color: #8d72ff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), 0 6px 20px -6px rgb(124 92 255 / .6);
}
.btn--primary:hover:not(:disabled) {
  background: linear-gradient(180deg, #7a5dff 0%, #6847f5 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .26), 0 8px 28px -6px rgb(124 92 255 / .75);
}

.btn--secondary { background: var(--surface-2); border-color: var(--border-2); color: var(--text); }
.btn--secondary:hover:not(:disabled) { background: var(--surface-3); border-color: var(--border-3); }

.btn--ghost { color: var(--text-2); }
.btn--ghost:hover:not(:disabled) { background: var(--surface-2); color: var(--text); }

.btn--lg { --h: 44px; padding: 0 18px; font-size: 15px; border-radius: 10px; }
.btn--sm { --h: 30px; padding: 0 10px; font-size: 13px; gap: 6px; }
.btn--block { width: 100%; }
.btn--icon { width: var(--h); padding: 0; }

kbd {
  display: inline-flex; align-items: center;
  font: 500 11px/1 var(--mono);
  padding: 4px 6px; border-radius: 5px;
  border: 1px solid var(--border-2); background: var(--surface-2); color: var(--muted);
}

/* ---------- Status, tags, avisos ---------- */
.status {
  display: inline-flex; align-items: center; gap: 6px;
  height: 22px; padding: 0 8px; border-radius: 999px;
  font-size: 12px; font-weight: 500; white-space: nowrap;
  border: 1px solid;
}
.status .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--ok { color: var(--ok-text); background: var(--ok-soft); border-color: var(--ok-line); }
.status--ok .dot { animation: pulse 2s 4; }
.status--warn { color: var(--warn-text); background: var(--warn-soft); border-color: var(--warn-line); }
.status--off { color: var(--danger-text); background: var(--danger-soft); border-color: var(--danger-line); }

.tag {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 600; white-space: nowrap;
  padding: 2px 7px; border-radius: 5px;
  color: var(--accent-3); background: var(--accent-soft); border: 1px solid var(--accent-line);
}
.tag--ok { color: var(--ok-text); background: var(--ok-soft); border-color: var(--ok-line); }

.off {
  font-size: 11px; font-weight: 600; line-height: 1.4;
  padding: 1px 6px; border-radius: 5px;
  color: var(--ok-text); background: var(--ok-soft); border: 1px solid var(--ok-line);
}

.live { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.live__dot {
  flex: none; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 0 3px rgb(34 197 94 / .18);
  animation: pulse 2s 4;
}
.live--warn .live__dot { background: var(--warn); box-shadow: 0 0 0 3px rgb(245 158 11 / .18); }

.notice {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px; border-radius: 10px; border: 1px solid;
  font-size: 13px; line-height: 1.45;
}
.notice svg { flex: none; margin-top: 2px; }
.notice--warn { color: #fcd34d; background: var(--warn-soft); border-color: var(--warn-line); }
.notice--info { color: var(--accent-3); background: var(--accent-soft); border-color: var(--accent-line); }
.notice--ok { color: var(--ok-text); background: var(--ok-soft); border-color: var(--ok-line); }
.notice--error { color: var(--danger-text); background: var(--danger-soft); border-color: var(--danger-line); }

/* ---------- Topo ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  background: rgb(10 9 14 / .78);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar__inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 10px; flex: none; border-radius: 10px; }
/* A mesma logo do painel (capuz), no mesmo quadrado escuro com anel roxo */
.brand__logo {
  width: 34px; height: 34px; border-radius: 28%; overflow: hidden; flex: none; line-height: 0;
  background: radial-gradient(circle at 50% 35%, #1b1730 0%, #0e0d16 70%);
  box-shadow: inset 0 0 0 1px rgb(116 87 255 / .45), 0 0 14px rgb(116 87 255 / .22);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s;
}
.brand__logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) {
  .brand:hover .brand__logo { transform: rotate(-6deg) scale(1.06); box-shadow: inset 0 0 0 1px rgb(116 87 255 / .6), 0 0 20px rgb(116 87 255 / .45); }
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.brand__text small { font-size: 12px; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  padding: 8px 12px; border-radius: var(--r-sm); white-space: nowrap;
  color: var(--muted); font-weight: 500;
  transition: color .15s, background-color .15s;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a.is-active { color: var(--text); background: var(--surface-2); }

.topbar__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.search-trigger {
  display: flex; align-items: center; gap: 10px;
  width: 270px; height: 38px; padding: 0 6px 0 12px;
  border-radius: 10px; border: 1px solid var(--border-2);
  background: var(--bg-2); color: var(--muted); font-size: 13.5px;
  transition: border-color .15s, color .15s;
}
.search-trigger:hover { border-color: var(--border-3); color: var(--text-2); }
.search-trigger__text { flex: 1; text-align: left; }

.cart-btn { position: relative; }
.cart-badge {
  position: absolute; top: -6px; right: -6px;
  min-width: 19px; height: 19px; padding: 0 5px;
  display: grid; place-items: center;
  border-radius: 999px; border: 2px solid var(--bg);
  background: var(--accent-2); color: #fff;
  font: 700 10.5px/1 var(--font); font-variant-numeric: tabular-nums;
}
.cart-badge[hidden] { display: none; }
.cart-badge.is-bump { animation: bump .35s var(--ease); }

.menu-btn { display: none; }

.mobile-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  background: rgb(13 12 18 / .98);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 30px 40px -20px rgb(0 0 0 / .8);
  animation: drop .18s var(--ease);
}
.mobile-menu nav { display: flex; flex-direction: column; padding-block: 6px 14px; }
.mobile-menu a, .mobile-menu button {
  display: flex; align-items: center; gap: 12px;
  height: 48px; width: 100%; text-align: left;
  font-size: 15px; font-weight: 500; color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child, .mobile-menu button:last-child { border-bottom: 0; }
.mobile-menu [data-icon] { color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 84px 0 56px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(720px 380px at 78% -8%, rgb(124 92 255 / .22), transparent 70%),
    radial-gradient(520px 300px at 8% 0%, rgb(124 92 255 / .07), transparent 70%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 62% 18%, #000 15%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 65% at 62% 18%, #000 15%, transparent 75%);
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px; align-items: center;
}
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hero__title {
  font-size: clamp(38px, 5.4vw, 60px);
  font-weight: 700; line-height: 1.04; letter-spacing: -.035em;
  text-wrap: balance;
}
.hero__lead { max-width: 480px; font-size: 17px; color: var(--muted); text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

.hero__visual { position: relative; min-height: 340px; display: grid; place-items: center; }

.mock {
  position: relative; width: min(100%, 400px); padding: 20px;
  border-radius: 16px; border: 1px solid var(--border-2);
  background: linear-gradient(180deg, #16141f, #0f0e15);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / .85), 0 0 90px -20px rgb(124 92 255 / .35);
  transform: rotate(-2deg);
}
.mock__head { display: flex; align-items: center; gap: 12px; }
.mock__icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-3);
}
.mock__head > div { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.mock__head strong { font-size: 14px; }
.mock__head small { font-size: 12px; color: var(--muted); }
.mock__key {
  margin: 18px 0 16px; padding: 14px;
  border-radius: 10px; border: 1px dashed var(--border-3); background: var(--bg-2);
  font: 500 17px/1.2 var(--mono); letter-spacing: .06em; text-align: center;
}
.mock__rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mock__rows div {
  display: flex; flex-direction: column; gap: 2px; padding: 10px;
  border-radius: 9px; background: var(--surface-2); border: 1px solid var(--border);
}
.mock__rows small { font-size: 11px; color: var(--dim); }
.mock__rows strong { font-size: 13px; }
.mock__bar { margin-top: 14px; height: 6px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.mock__bar span { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #b3a4ff); }

.mock-toast {
  position: absolute; right: 0; bottom: 14px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 12px;
  background: rgb(22 20 30 / .94); border: 1px solid var(--border-2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px -16px rgb(0 0 0 / .85);
  animation: float 6s ease-in-out 3;
}
.mock-toast__icon {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ok-soft); color: var(--ok-text); border: 1px solid var(--ok-line);
}
.mock-toast > div { display: flex; flex-direction: column; line-height: 1.3; }
.mock-toast strong { font-size: 13px; }
.mock-toast small { font-size: 11.5px; color: var(--muted); }
.mock-toast__amount { margin-left: 6px; font-size: 13px; font-weight: 600; color: var(--ok-text); font-variant-numeric: tabular-nums; }

.mock-chip {
  position: absolute; left: 0; top: 22px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 99px;
  font-size: 12.5px; font-weight: 500; color: var(--text-2);
  background: rgb(22 20 30 / .94); border: 1px solid var(--border-2);
  box-shadow: 0 16px 30px -14px rgb(0 0 0 / .8);
  animation: float 7s ease-in-out 3 reverse;
}
.mock-chip [data-icon] { color: var(--warn-text); }

/* ---------- Vantagens (cards no estilo KPI do painel) ---------- */
.features__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi { display: flex; flex-direction: column; gap: 14px; padding: 18px; }
.kpi__icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-3);
}
.kpi h3 { font-size: 14.5px; font-weight: 600; margin-bottom: 4px; }
.kpi p { font-size: 13px; color: var(--muted); }

/* ---------- Barra de filtros ---------- */
.toolbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px 16px; margin-bottom: 20px;
}
.seg {
  display: inline-flex; gap: 2px; padding: 3px; max-width: 100%;
  border-radius: 10px; border: 1px solid var(--border); background: var(--surface);
  overflow-x: auto; scrollbar-width: none;
}
.seg::-webkit-scrollbar { display: none; }
.seg__item {
  display: inline-flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 12px; border-radius: 7px; border: 1px solid transparent;
  color: var(--muted); font-size: 13.5px; font-weight: 500; white-space: nowrap;
  transition: color .15s, background-color .15s, border-color .15s;
}
.seg__item:hover { color: var(--text); }
.seg__item[aria-pressed="true"] {
  color: var(--text); font-weight: 600;
  background: var(--surface-3); border-color: var(--border-2);
  box-shadow: 0 1px 2px rgb(0 0 0 / .3);
}
.seg__count {
  font: 500 11px/1.4 var(--mono); color: var(--muted);
  padding: 0 6px; border-radius: 5px; background: rgb(255 255 255 / .05);
}
.toolbar__meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.toolbar__meta [hidden] { display: none; }
.seg[hidden] { display: none; }
.sep { color: var(--dim); }
.store-notice { margin-bottom: 16px; }
.store-notice[hidden] { display: none; }

/* ---------- Cards de produto ---------- */
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.product {
  --h: 258;
  position: relative;
  display: flex; flex-direction: column; overflow: hidden;
  transition: border-color .2s, transform .25s var(--ease), box-shadow .25s;
}
.product:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
  box-shadow: 0 24px 48px -24px rgb(0 0 0 / .85), 0 0 0 1px hsl(var(--h) 80% 60% / .08);
}
.product.is-off { opacity: .72; }

.product__media {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 10; overflow: hidden;
  border-bottom: 1px solid var(--border); background: var(--bg-2);
}
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__media:focus-visible { outline-offset: -3px; }
.product__more {
  position: absolute; right: 10px; bottom: 10px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 9px; border-radius: 99px;
  font-size: 11.5px; font-weight: 600; color: #fff;
  background: rgb(10 9 14 / .72); border: 1px solid rgb(255 255 255 / .12);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(4px);
  transition: opacity .2s, transform .2s var(--ease);
}
.product__media:hover .product__more,
.product__media:focus-visible .product__more { opacity: 1; transform: none; }

.badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  display: inline-flex; align-items: center; gap: 5px;
  height: 24px; padding: 0 9px; border-radius: 99px;
  font-size: 11.5px; font-weight: 600; color: #fff;
  background: rgb(10 9 14 / .72); border: 1px solid rgb(255 255 255 / .12);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.badge svg { color: hsl(var(--h) 95% 78%); }
.product > .badge { pointer-events: none; }

/* Placeholder enquanto o produto não tem foto */
.ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, hsl(var(--h) 85% 60% / .3), transparent 62%),
    radial-gradient(80% 60% at 100% 100%, hsl(calc(var(--h) + 40) 85% 55% / .14), transparent 60%),
    linear-gradient(180deg, #13111b, #0d0c12);
}
.ph__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / .045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .045) 1px, transparent 1px);
  background-size: 22px 22px; background-position: center;
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 45%, #000 25%, transparent 72%);
}
.ph__tile {
  position: relative;
  width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, hsl(var(--h) 90% 67%), hsl(var(--h) 72% 44%));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .3),
    0 0 0 1px hsl(var(--h) 90% 70% / .5),
    0 14px 40px -8px hsl(var(--h) 90% 55% / .75);
  transition: transform .3s var(--ease);
}
.ph__name {
  position: relative;
  font: 600 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: rgb(255 255 255 / .42);
}
.ph--lg .ph__tile { width: 88px; height: 88px; border-radius: 24px; }
.ph--lg .ph__name { font-size: 12px; }
.product:hover .ph__tile { transform: translateY(-3px) scale(1.04); }

.product__body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 16px; }
.product__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.product__heading { display: flex; flex-direction: column; gap: 4px; }
.product__name { font-size: 18px; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
.product__name button { text-align: left; border-radius: 4px; transition: color .15s; }
.product__name button:hover { color: var(--accent-3); }
.product__desc {
  color: var(--muted); font-size: 13.5px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 3em;
}
.product__foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.product__actions { display: flex; gap: 8px; }
.product__actions .btn--primary { flex: 1; }

/* Revenda: no lugar dos planos, os destaques; no lugar do preço, "preço por volume" */
.product__perks { display: flex; flex-direction: column; gap: 8px; }
.product__perks li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.45; color: var(--text-2); }
.price--talk strong { font-size: 19px; letter-spacing: -.015em; }

/* Carregando o catálogo: cartões "esqueleto" com brilho passando */
.product.is-skeleton { pointer-events: none; }
.product.is-skeleton:hover { transform: none; box-shadow: none; border-color: var(--border); }
.sk {
  display: block; border-radius: 7px;
  background: linear-gradient(90deg, var(--surface-2) 0%, var(--surface-3) 45%, var(--surface-2) 90%);
  background-size: 220% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}
.sk--media { aspect-ratio: 16 / 10; border-radius: 0; border-bottom: 1px solid var(--border); }
.sk--pill { width: 72px; height: 22px; border-radius: 99px; }
.sk--title { width: 55%; height: 22px; }
.sk--line { width: 100%; height: 12px; }
.sk--short { width: 70%; margin-top: -6px; }
.sk--chips { height: 74px; }
.sk--btn { height: 38px; margin-top: auto; }

.stock { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.stock--low { color: var(--warn-text); }
.stock--out { color: var(--danger-text); }

/* Seletor de plano no card (chips) */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.plans .plan-chip:last-of-type:nth-of-type(odd) { grid-column: 1 / -1; }
.plan-chip { position: relative; display: block; }
.plan-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.plan-chip span {
  display: flex; align-items: center; justify-content: center;
  height: 34px; padding: 0 8px; border-radius: var(--r-sm);
  border: 1px solid var(--border-2); background: var(--bg-2);
  color: var(--muted); font-size: 13px; font-weight: 500; white-space: nowrap;
  transition: color .15s, border-color .15s, background-color .15s, box-shadow .15s;
}
.plan-chip:hover span { color: var(--text); border-color: var(--border-3); }
.plan-chip input:checked + span {
  color: var(--text); font-weight: 600;
  background: var(--accent-soft); border-color: var(--accent-line);
  box-shadow: inset 0 0 0 1px var(--accent-line);
}
.plan-chip input:focus-visible + span { outline: 2px solid var(--accent-3); outline-offset: 2px; }
.plans:disabled .plan-chip input { cursor: not-allowed; }
.plans:disabled .plan-chip span { opacity: .5; }

/* Preço */
.price { display: flex; flex-direction: column; gap: 2px; }
.price__row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.price strong { font-size: 24px; font-weight: 700; line-height: 1.15; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.price s { font-size: 13px; color: var(--dim); }
.price small { font-size: 12px; color: var(--muted); }

/* ---------- Como funciona ---------- */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.how__step { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px; }
.how__num { position: absolute; top: 20px; right: 20px; font: 600 12px/1 var(--mono); color: var(--dim); }
.how__icon {
  width: 40px; height: 40px; border-radius: 11px; margin-bottom: 8px;
  display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-3);
}
.how__step h3 { font-size: 16px; font-weight: 600; }
.how__step p { font-size: 13.5px; color: var(--muted); }
.how__step:not(:last-child)::after {
  content: ""; position: absolute; top: 41px; right: -17px;
  width: 17px; height: 1px; background: var(--border-2);
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.faq__intro {
  position: sticky; top: calc(var(--header-h) + 24px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.faq__intro h2 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }
.faq__intro p { color: var(--muted); font-size: 15px; margin-bottom: 4px; }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.qa { transition: border-color .15s; }
.qa[open] { border-color: var(--border-2); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 18px; border-radius: var(--r);
  font-size: 14.5px; font-weight: 600; cursor: pointer; list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary [data-icon] { color: var(--muted); transition: transform .2s var(--ease); }
.qa[open] summary [data-icon] { transform: rotate(180deg); }
.qa summary:hover [data-icon] { color: var(--text); }
.qa__body { padding: 0 18px 16px; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ---------- Chamada final ---------- */
.cta-wrap { padding-bottom: 24px; }
.cta {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 36px; border-radius: var(--r-lg);
  border: 1px solid var(--border-2);
  background:
    radial-gradient(600px 220px at 100% 0%, rgb(124 92 255 / .26), transparent 70%),
    var(--surface);
}
.cta h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 4px; }
.cta p { color: var(--muted); }

/* ---------- Rodapé ---------- */
.footer { margin-top: 64px; border-top: 1px solid var(--border); background: var(--bg-2); }
.footer__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; padding-block: 48px; }
.footer__brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.footer__brand p { color: var(--muted); font-size: 13.5px; }
.footer__cols { display: flex; flex-wrap: wrap; gap: 64px; }
.footer__cols > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__title { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: 2px; }
.footer__cols a { color: var(--muted); font-size: 13.5px; transition: color .15s; }
.footer__cols a:hover { color: var(--text); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px;
  padding-block: 20px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--dim);
}

/* ---------- Overlays (modais e paleta) ---------- */
.overlay { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; }
.overlay { grid-template-columns: minmax(0, 1fr); }
.overlay[hidden] { display: none; }
/* fundo sólido de propósito: desfoque (backdrop-filter) em tela cheia deixa a rolagem do modal travando */
.overlay__backdrop {
  position: absolute; inset: 0;
  background: rgb(5 4 8 / .82);
  animation: fade-in .2s var(--ease);
}
.overlay.is-closing { pointer-events: none; }
.overlay.is-closing .overlay__backdrop { animation: fade-out .17s ease forwards; }

.modal {
  position: relative;
  display: flex; flex-direction: column;
  width: min(100%, 960px);
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop);
  overflow: hidden; /* recorta os cantos aqui, e não no elemento que rola */
  animation: pop-in .24s var(--ease);
}
.overlay.is-closing .modal { animation: pop-out .17s ease forwards; }
.modal__scroll {
  flex: 1; min-height: 0;
  overflow-y: auto; overscroll-behavior: contain;
  will-change: scroll-position;
}
.modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  background: rgb(10 9 14 / .88);
}

/* barras de rolagem finas e escuras, no tom do tema (no lugar da barra cinza padrão do Windows) */
html { scrollbar-color: var(--border-3) var(--bg); }
.modal__scroll, .palette__list, .tk-scroll, .tk-thread, .tk-composer textarea, .tk-composer .file-list, .textarea {
  scrollbar-width: thin;
  scrollbar-color: var(--border-3) transparent;
}
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 16px 14px 24px; }
.modal__head h2 { font-size: 18px; font-weight: 700; letter-spacing: -.015em; }
.modal__sub { margin-top: 2px; font-size: 13px; color: var(--muted); }

/* Modal do produto */
.pm { --h: 258; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
.pm__media {
  display: flex; flex-direction: column; gap: 20px; padding: 20px;
  background: var(--bg-2); border-right: 1px solid var(--border);
  border-radius: var(--r-lg) 0 0 var(--r-lg);
}
.pm__art { position: relative; flex: 1; min-height: 260px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); }
.pm__art img { width: 100%; height: 100%; object-fit: cover; }
.pm__subhead { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.pm__features { display: flex; flex-direction: column; gap: 10px; }
.pm__features li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--text-2); }
.tick {
  flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ok-soft); border: 1px solid var(--ok-line); color: var(--ok-text);
}
.pm__info { display: flex; flex-direction: column; gap: 18px; padding: 24px 24px 22px; }
.pm__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-right: 44px; }
.pm__cat { font-size: 12px; color: var(--dim); }
.pm__heading { display: flex; flex-direction: column; gap: 6px; }
.pm__heading h2 { font-size: 28px; font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }
.pm__desc { color: var(--muted); font-size: 14.5px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; } /* os parágrafos que o dono escreveu no painel */

.plan-list { display: flex; flex-direction: column; gap: 8px; }
.plan-opt {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--border-2); background: var(--bg-2);
  cursor: pointer;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.plan-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.plan-opt:hover { border-color: var(--border-3); }
.plan-opt__radio {
  flex: none; width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--dim);
  transition: border-color .15s, background-color .15s;
}
.plan-opt__radio::after {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff;
  transform: scale(0); transition: transform .15s var(--ease);
}
.plan-opt__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.plan-opt__text strong { font-size: 14px; }
.plan-opt__text small { font-size: 12px; color: var(--muted); }
.plan-opt__price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.plan-opt__price strong { font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan-opt__price s { font-size: 12px; color: var(--dim); white-space: nowrap; }
.plan-opt:has(input:checked) {
  border-color: var(--accent-line); background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent-line);
}
.plan-opt:has(input:checked) .plan-opt__radio { border-color: var(--accent); background: var(--accent); }
.plan-opt:has(input:checked) .plan-opt__radio::after { transform: scale(1); }
.plan-opt:has(input:focus-visible) { outline: 2px solid var(--accent-3); outline-offset: 2px; }
fieldset:disabled .plan-opt { opacity: .55; cursor: not-allowed; }
fieldset:disabled .plan-opt input { cursor: not-allowed; }

.pm__buy { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.pm__total { display: flex; flex-direction: column; align-items: flex-end; }
.pm__total span { font-size: 12px; color: var(--muted); }
.pm__total strong { font-size: 26px; font-weight: 700; letter-spacing: -.025em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.pm__actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 8px; }
.pm__trust { display: flex; flex-wrap: wrap; gap: 8px 16px; padding-top: 4px; }
.pm__trust li { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.pm__trust svg { color: var(--accent-3); }

/* Quantidade */
.qty {
  display: inline-flex; align-items: center; height: 38px;
  border-radius: 10px; border: 1px solid var(--border-2); background: var(--bg-2);
}
.qty button {
  width: 36px; height: 100%; border-radius: 9px;
  display: grid; place-items: center; color: var(--muted);
  transition: color .15s, background-color .15s;
}
.qty button:hover:not(:disabled) { color: var(--text); background: var(--surface-3); }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty__val { min-width: 30px; text-align: center; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.qty--sm { height: 32px; border-radius: 8px; }
.qty--sm button { width: 30px; border-radius: 7px; }
.qty--sm .qty__val { min-width: 24px; font-size: 13px; }

/* Campos */
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); }
legend.field__label { margin-bottom: 8px; }
.field__hint { font-size: 12px; color: var(--dim); }
.field__error { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--danger-text); }
.field__error[hidden], .field__hint[hidden] { display: none; }

.input-wrap {
  display: flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 12px;
  border-radius: 10px; border: 1px solid var(--field-border); background: var(--bg-2);
  color: var(--dim);
  transition: border-color .15s, box-shadow .15s, color .15s;
}
.input-wrap:focus-within { border-color: var(--accent-3); box-shadow: 0 0 0 1px var(--accent-3), 0 0 0 4px var(--accent-soft); color: var(--accent-3); }
.input-wrap.is-invalid { border-color: var(--danger-text); }
.input-wrap.is-invalid:focus-within { border-color: var(--danger-text); box-shadow: 0 0 0 1px var(--danger-text), 0 0 0 4px var(--danger-soft); }
.input-wrap input {
  flex: 1; min-width: 0; height: 100%;
  background: none; border: 0; outline: 0;
  color: var(--text); font-size: 14px;
}
.input-wrap input::placeholder { color: var(--dim); }
.input-wrap input:disabled { color: var(--dim); }

.check { position: relative; display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); cursor: pointer; line-height: 1.5; }
.check input { position: absolute; top: 0; left: 0; width: 18px; height: 18px; margin: 0; opacity: 0; cursor: pointer; }
.check__box {
  flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 5px;
  display: grid; place-items: center;
  border: 1px solid var(--dim); background: var(--bg-2); color: transparent;
  transition: background-color .15s, border-color .15s, color .15s;
}
.check input:checked + .check__box { background: var(--accent); border-color: var(--accent); color: #fff; }
.check input:focus-visible + .check__box { outline: 2px solid var(--accent-3); outline-offset: 2px; }
.check input[aria-invalid="true"] + .check__box { border-color: var(--danger-text); }
.check a { color: var(--accent-3); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Modal do carrinho ---------- */
.modal--cart { width: min(100%, 880px); }
.cart {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start;
  border-top: 1px solid var(--border);
}
.cart.is-empty { grid-template-columns: minmax(0, 1fr); }
.cart__items { min-width: 0; padding: 4px 24px; }
.cart__summary { align-self: stretch; background: var(--bg-2); border-left: 1px solid var(--border); }
.cart__summary[hidden] { display: none; }
/* o resumo acompanha a rolagem quando a lista de itens é longa */
.cart__sticky { position: sticky; top: 0; display: flex; flex-direction: column; gap: 14px; padding: 24px; }
.cart__sticky h3 { font-size: 14px; font-weight: 600; }

.lines > li { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.lines > li:last-child { border-bottom: 0; }
.thumb {
  --h: 258;
  flex: none; width: 48px; height: 48px; border-radius: 10px;
  display: grid; place-items: center; overflow: hidden; color: #fff;
  background: linear-gradient(145deg, hsl(var(--h) 85% 63%), hsl(var(--h) 70% 42%));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .25);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb--sm { width: 36px; height: 36px; border-radius: 9px; }
.line__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.line__top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.line__top strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line__price { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.line__info small { font-size: 12.5px; color: var(--muted); }
.line__controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.line__remove { color: var(--muted); }
.line__remove:hover:not(:disabled) { color: var(--danger-text); background: var(--danger-soft); }
.lines > li.line--removed {
  align-items: center; justify-content: space-between; gap: 12px;
  margin: 10px 0; padding: 10px 10px 10px 14px;
  border: 1px dashed var(--border-2); border-radius: 10px;
  font-size: 13px; color: var(--muted);
}

.coupon { display: flex; gap: 8px; }
.coupon .input-wrap { flex: 1; min-width: 0; height: 38px; }
.coupon input { text-transform: uppercase; }
.coupon input::placeholder { text-transform: none; }
.coupon-applied {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 6px 6px 12px; border-radius: 10px;
  border: 1px dashed var(--ok-line); background: var(--ok-soft);
  color: var(--ok-text); font-size: 13px;
}
.coupon-applied strong { font-family: var(--mono); letter-spacing: .04em; }
.coupon-applied button {
  margin-left: auto; width: 28px; height: 28px; border-radius: 7px;
  display: grid; place-items: center; color: var(--muted);
}
.coupon-applied button:hover { color: var(--text); background: rgb(255 255 255 / .06); }

.totals { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 13.5px; }
.totals > div { display: flex; justify-content: space-between; gap: 12px; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.totals .is-discount dd { color: var(--ok-text); }
.totals__total { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--border); align-items: baseline; }
.totals__total dt { color: var(--text); font-weight: 600; }
.totals__total dd { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }

.secure-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--dim); text-align: center; }

.empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 48px 16px; text-align: center; }
.empty__icon {
  width: 52px; height: 52px; margin-bottom: 6px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border-2); color: var(--muted);
}
.empty h3 { font-size: 15px; font-weight: 600; }
.empty p { max-width: 440px; font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.empty--closed { padding-block: 56px; border: 1px dashed var(--border-2); border-radius: var(--r-lg); background: var(--surface); }
.empty--closed .empty__icon { color: var(--warn-text); background: var(--warn-soft); border-color: var(--warn-line); }

/* ---------- Checkout ---------- */
.modal--checkout { width: min(100%, 880px); }
.steps {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 0 24px 16px; font-size: 12.5px; color: var(--dim);
}
.steps li { display: flex; align-items: center; gap: 8px; }
.steps li + li::before { content: ""; width: 24px; height: 1px; background: var(--border-2); }
.steps__n {
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--border-2); font-size: 11px; font-weight: 600;
}
.steps li.is-current { color: var(--text); font-weight: 500; }
.steps li.is-current .steps__n { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.steps li.is-done { color: var(--muted); }
.steps li.is-done .steps__n { background: var(--ok-soft); border-color: var(--ok-line); color: var(--ok-text); }

.co { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border-top: 1px solid var(--border); }
.co__form { display: flex; flex-direction: column; gap: 22px; padding: 24px; }
.co__summary {
  display: flex; flex-direction: column; gap: 14px; padding: 24px;
  background: var(--bg-2); border-left: 1px solid var(--border);
}
.co__summary h3 { font-size: 14px; font-weight: 600; }
.sum-lines { display: flex; flex-direction: column; gap: 12px; }
.sum-lines li { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.sum-lines li > div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.sum-lines strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sum-lines small { color: var(--muted); }
.sum-lines span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Forma de pagamento: só PIX (cartão informativo, não é escolha) */
.pay-pix {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border-radius: 10px;
  border: 1px solid var(--accent-line); background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent-line);
}
.pay__ico {
  flex: none;
  width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
}
.pay__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.pay__text strong { font-size: 13.5px; }
.pay__text small { font-size: 12px; color: var(--muted); }

/* PIX */
.pix {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: start;
  padding: 24px; border-top: 1px solid var(--border);
}
.pix__qr-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pix__qr {
  width: 216px; padding: 14px; border-radius: 14px;
  background: #fff; color: #0a090e;
  box-shadow: 0 0 0 6px rgb(124 92 255 / .14);
  transition: opacity .2s, filter .2s;
}
.pix__qr svg { width: 100%; height: auto; }
.pix__qr.is-expired { opacity: .25; filter: blur(2px); }
.pix__qr-missing { display: grid; place-items: center; aspect-ratio: 1; color: #0a090e; }
.pix__qr-cap { font-size: 11.5px; color: var(--dim); }
.pix__off { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12.5px; color: var(--ok-text); }
.pix__conn { font-size: 12.5px; color: var(--warn-text); }
.pix__conn:empty { display: none; }
.pix__info > [role="alert"]:empty { display: none; }
.pix__info > .notice { width: 100%; }
.pix__info { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.pix__info > .field { width: 100%; }
.pix__label { font-size: 12px; color: var(--muted); }
.amount { font-size: 28px; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.pix__how, .doc__steps { counter-reset: how; display: flex; flex-direction: column; gap: 8px; }
.pix__how li, .doc__steps li { counter-increment: how; display: flex; gap: 10px; font-size: 13.5px; color: var(--text-2); }
.pix__how li::before, .doc__steps li::before {
  content: counter(how);
  flex: none; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 600; color: var(--muted);
  background: var(--surface-3); border: 1px solid var(--border-2);
}
.copy-field { display: flex; gap: 8px; }
.copy-field .input-wrap { flex: 1; min-width: 0; height: 38px; }
.copy-field input { font: 400 12px var(--mono); color: var(--muted); text-overflow: ellipsis; }
.timer { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.timer strong { font: 500 13px var(--mono); color: var(--text); }
.pix__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-note { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--dim); }
.demo-note svg { flex: none; }

.spinner {
  width: 11px; height: 11px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin .8s linear infinite;
}

/* Estados centrais (redirecionamento / sucesso) */
.center-state {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 36px 24px 28px; text-align: center;
  border-top: 1px solid var(--border);
}
.center-state h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
/* o e-mail comprido ("As keys também vão para o e-mail …") quebra em qualquer ponto em vez de vazar dos dois lados */
.center-state > p:not(.amount) { max-width: min(460px, 100%); font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.center-state .demo-note { display: block; text-wrap: balance; }
.center-state .demo-note svg { display: inline-block; vertical-align: -2px; margin-right: 6px; }
.center-state__icon {
  width: 56px; height: 56px; margin-bottom: 4px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-3);
}
.center-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.success-icon {
  width: 64px; height: 64px; margin-bottom: 4px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ok-soft); border: 1px solid var(--ok-line); color: var(--ok-text);
  box-shadow: 0 0 0 8px rgb(34 197 94 / .06), 0 0 60px -10px rgb(34 197 94 / .5);
  animation: pop-in .4s var(--ease);
}
.keys { width: 100%; max-width: 520px; display: flex; flex-direction: column; gap: 8px; margin-top: 8px; text-align: left; }
.keys li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 10px 10px 14px; border-radius: 10px;
  background: var(--bg-2); border: 1px solid var(--border-2);
}
.keys li > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.keys small { font-size: 11.5px; color: var(--muted); }
.keys code { font: 500 14px var(--mono); letter-spacing: .04em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* muitas keys (até 10 por item): a lista rola e o "Copiar todas" fica sempre à vista */
.keys--scroll { max-height: 336px; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; scrollbar-width: thin; scrollbar-color: var(--border-3) transparent; }
.keys--scroll:focus-visible { outline-offset: 2px; }
.center-state .notice { width: 100%; max-width: 520px; text-align: left; }
.co__form > [role="alert"]:empty { display: none; }

/* ---------- Meus pedidos ---------- */
.modal--orders { width: min(100%, 760px); }
.orders { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.orders__form { display: flex; flex-direction: column; gap: 18px; padding: 24px; }
.orders__form > [role="alert"]:empty { display: none; }
.orders__intro { display: flex; align-items: flex-start; gap: 12px; }
.orders__intro h3 { font-size: 15px; font-weight: 600; }
.orders__intro p { margin-top: 2px; font-size: 13px; color: var(--muted); }
.orders__ico {
  flex: none; width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-3);
}
.orders__actions { display: flex; justify-content: flex-end; }
.orders__saved { display: flex; flex-direction: column; gap: 12px; padding: 20px 24px 24px; background: var(--bg-2); border-top: 1px solid var(--border); }
.orders__saved h3 { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.orders__empty { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--muted); }
.orders__empty svg { flex: none; margin-top: 2px; }
.order-list { display: flex; flex-direction: column; gap: 8px; }
.order-item {
  width: 100%; text-align: left;
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--border-2); background: var(--surface);
  transition: border-color .15s, background-color .15s;
}
.order-item:hover:not(:disabled) { border-color: var(--border-3); background: var(--surface-2); }
.order-item[aria-busy="true"] { cursor: progress; }
.order-item .spinner { align-self: center; }
.order-item__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.order-item__top strong { font-size: 14px; letter-spacing: .02em; }
.order-item__meta { font-size: 12.5px; color: var(--muted); }
.order-item__hint { font-size: 12px; color: var(--accent-3); }
.input-code { text-transform: uppercase; font-family: var(--mono); letter-spacing: .03em; }
.input-code::placeholder { text-transform: none; font-family: var(--font); letter-spacing: 0; }

.order-detail { display: flex; flex-direction: column; gap: 18px; padding: 20px 24px 24px; border-top: 1px solid var(--border); }
.order-detail__head { display: flex; align-items: flex-start; gap: 10px; }
.order-detail__head > .btn { margin-left: -8px; }
.order-detail__title { flex: 1; min-width: 0; }
.order-detail__title h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.order-detail__title p { margin-top: 2px; font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.order-detail__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.order-detail__keys { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.order-detail__keys .keys { max-width: none; margin-top: 0; }
.order-detail h4 { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.order-detail__sum { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: var(--r); border: 1px solid var(--border); background: var(--bg-2); }

/* ---------- Aviso fixo do pedido em andamento ---------- */
.resume {
  position: fixed; left: 20px; bottom: 20px; z-index: 45;
  display: flex; align-items: center; gap: 12px;
  width: min(440px, calc(100vw - 40px));
  padding: 10px 10px 10px 12px; border-radius: 14px;
  background: rgb(22 20 30 / .96); border: 1px solid var(--accent-line);
  box-shadow: 0 24px 50px -18px rgb(0 0 0 / .9), 0 0 40px -14px rgb(124 92 255 / .55);
  animation: toast-in .3s var(--ease);
}
.resume[hidden], html.no-scroll .resume { display: none; }
.resume__ico {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--warn-soft); border: 1px solid var(--warn-line); color: var(--warn-text);
}
.resume__ico.is-ok { background: var(--ok-soft); border-color: var(--ok-line); color: var(--ok-text); }
.resume__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.resume__text strong { font-size: 13.5px; }
.resume__text small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#resumeTimer { font-family: var(--mono); color: var(--text-2); }
.resume__close { color: var(--muted); }
html.has-resume .toasts { bottom: 92px; }

/* ---------- Textos longos (política de reembolso) ---------- */
.modal--doc { width: min(100%, 760px); }
.doc-scroll:focus { outline: none; }
.doc-scroll:focus-visible { outline: 2px solid var(--accent-3); outline-offset: -2px; }
.doc {
  display: flex; flex-direction: column; gap: 26px;
  padding: 24px; border-top: 1px solid var(--border);
  font-size: 14.5px; line-height: 1.65; color: var(--text-2);
}
.doc h3 { margin-bottom: 8px; font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.doc strong { color: var(--text); }
.doc p + p, .doc p + ul, .doc ul + p { margin-top: 10px; }

.doc__summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.doc__pill {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px; border-radius: 10px; line-height: 1.35;
  border: 1px solid var(--border-2); background: var(--bg-2);
}
.doc__pill > div { display: flex; flex-direction: column; gap: 3px; }
.doc__pill strong { font-size: 13.5px; }
.doc__pill small { font-size: 12.5px; color: var(--muted); }
.doc__pill-ico { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid; }
.doc__pill--no .doc__pill-ico { color: var(--danger-text); background: var(--danger-soft); border-color: var(--danger-line); }
.doc__pill--yes .doc__pill-ico { color: var(--ok-text); background: var(--ok-soft); border-color: var(--ok-line); }
.doc__pill--warn .doc__pill-ico { color: var(--warn-text); background: var(--warn-soft); border-color: var(--warn-line); }

.doc__list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.doc__list li { position: relative; padding-left: 26px; }
.doc__list li::before {
  content: ""; position: absolute; left: 6px; top: .68em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--dim);
}
.doc__list--no li::before, .doc__list--yes li::before {
  left: 0; top: .28em; width: 16px; height: 16px; border-radius: 0;
  -webkit-mask: var(--mark) center / contain no-repeat;
  mask: var(--mark) center / contain no-repeat;
}
.doc__list--no li::before {
  background: var(--danger-text);
  --mark: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'><path d='M18 6 6 18M6 6l12 12'/></svg>");
}
.doc__list--yes li::before {
  background: var(--ok-text);
  --mark: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>");
}
.doc__steps li { font-size: 14.5px; }

.doc__callout { align-items: flex-start; padding: 14px 16px; line-height: 1.6; }
.doc__callout p { color: var(--text-2); font-size: 14.5px; }
.doc__callout strong { color: var(--warn-text); }

.doc__foot {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 16px;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.doc__foot p { color: var(--muted); font-size: 14px; }

.link { color: var(--accent-3); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Central de suporte ---------- */
.modal--support { width: min(100%, 1080px); height: min(780px, calc(100vh - 48px)); height: min(780px, calc(100dvh - 48px)); }
.support {
  flex: 1; min-height: 0;
  display: grid; grid-template-columns: 320px minmax(0, 1fr);
  border-top: 1px solid var(--border);
}
.support__side { display: flex; flex-direction: column; min-height: 0; background: var(--bg-2); border-right: 1px solid var(--border); }
.support__side-head { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-bottom: 1px solid var(--border); }
.seg--fill { display: flex; width: 100%; }
.seg--fill .seg__item { flex: 1 1 auto; min-width: 0; justify-content: center; height: 30px; padding: 0 6px; font-size: 12.5px; gap: 4px; }
.support__note { display: flex; align-items: flex-start; gap: 6px; padding: 10px 16px 12px; border-top: 1px solid var(--border); font-size: 11.5px; line-height: 1.45; color: var(--dim); }
.support__note [data-icon] { margin-top: 1px; }
.support__main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }

.tk-scroll { overflow-y: auto; overscroll-behavior: contain; will-change: scroll-position; }
.tk-list { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 4px; padding: 8px; }
.tk-list__empty { padding: 28px 12px; text-align: center; font-size: 13px; color: var(--muted); }
.tk-item {
  width: 100%; text-align: left;
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px; border-radius: 10px; border: 1px solid transparent;
  transition: background-color .15s, border-color .15s;
}
.tk-item:hover { background: var(--surface-2); }
.tk-item[aria-current="true"] { background: var(--surface-3); border-color: var(--border-2); }
.tk-item__top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.tk-item__top strong { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-item__top time { flex: none; font-size: 11.5px; color: var(--dim); }
.tk-item__meta { font-size: 12px; line-height: 1.4; color: var(--dim); }
.tk-item__meta .mono { font-size: 11.5px; }
.tk-item__snippet {
  font-size: 12.5px; line-height: 1.45; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tk-item__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; }
.tk-item__new { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--accent-3); }
.tk-item.is-unread .tk-item__snippet { color: var(--text-2); }
.unread-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.status--sm { height: 20px; padding: 0 7px; font-size: 11px; gap: 5px; }
.status--sm .dot { width: 5px; height: 5px; }
.status--accent { color: var(--accent-3); background: var(--accent-soft); border-color: var(--accent-line); }

.nav-dot { display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); vertical-align: 2px; }
.nav-dot[hidden] { display: none; }

/* estado inicial */
.tk-empty { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 32px; text-align: center; }
.tk-empty__icon {
  width: 56px; height: 56px; margin-bottom: 4px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-3);
}
.tk-empty h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.tk-empty > p { max-width: 380px; color: var(--muted); }
.tk-tips {
  width: 100%; max-width: 440px; margin-top: 16px;
  display: flex; flex-direction: column; text-align: left;
  border: 1px solid var(--border); border-radius: var(--r); background: var(--bg-2);
}
.tk-tips li { display: flex; gap: 10px; padding: 12px 14px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.tk-tips li + li { border-top: 1px solid var(--border); }
.tk-tips svg { flex: none; margin-top: 2px; color: var(--accent-3); }
.tk-tips strong { color: var(--text); }

/* conversa */
/* a conversa inteira rola como último recurso: nada (nem o botão de enviar) fica fora de alcance */
.tk-thread { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; }
.tk-thread__head { display: flex; align-items: flex-start; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.tk-thread__title { flex: 1; min-width: 0; }
.tk-thread__title h3 { font-size: 16px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.tk-thread__title p { margin-top: 3px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.tk-thread__title p .tag { vertical-align: 1px; }
.tk-thread__notice { margin: 12px 20px 0; }
.tk-msgs { flex: 1 0 120px; min-height: 120px; padding: 20px; }
.tk-msgs:focus-visible { outline-offset: -2px; }
.tk-msgs__list { display: flex; flex-direction: column; gap: 14px; }
.msg-day { align-self: center; font-size: 11.5px; font-weight: 600; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.msg { display: flex; gap: 10px; max-width: min(80%, 560px); }
.msg--me { align-self: flex-end; flex-direction: column; align-items: flex-end; gap: 4px; }
.msg--agent { align-self: flex-start; }
.msg__avatar {
  flex: none; width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, #8b70ff, #5b3ae8);
}
.msg__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.msg__bubble { max-width: 100%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.msg__text { white-space: pre-wrap; }
.msg--me .msg__bubble { background: var(--accent-2); color: #fff; border-bottom-right-radius: 4px; }
.msg--agent .msg__bubble { background: var(--surface-3); border: 1px solid var(--border-2); border-bottom-left-radius: 4px; }
.msg__meta { font-size: 11.5px; color: var(--dim); }
.msg__files { display: flex; flex-wrap: wrap; gap: 6px; }
.msg__text + .msg__files { margin-top: 8px; }
.msg--system {
  align-self: center; max-width: 100%;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 99px;
  font-size: 12px; color: var(--muted);
  background: var(--surface-2); border: 1px solid var(--border);
}

.file-list { display: flex; flex-wrap: wrap; gap: 6px; }
.file-list:empty { display: none; }
.file-chip {
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%;
  padding: 4px 6px 4px 8px; border-radius: 7px;
  font-size: 12px; background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .12);
}
.file-chip svg { flex: none; }
.file-chip__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-chip small { flex: none; opacity: .75; }
.msg--me .file-chip small { opacity: 1; }
.file-chip button { flex: none; width: 20px; height: 20px; border-radius: 5px; display: grid; place-items: center; color: var(--muted); }
.file-chip button:hover { color: var(--text); background: rgb(255 255 255 / .08); }
/* anexo de uma mensagem: o chip inteiro baixa o arquivo */
button.file-chip--get { color: inherit; text-align: left; cursor: pointer; transition: background-color .15s, border-color .15s; }
button.file-chip--get:hover { background: rgb(255 255 255 / .12); border-color: rgb(255 255 255 / .2); }
button.file-chip--get[aria-busy="true"] { cursor: progress; opacity: .7; }
.file-chip--get svg:last-child { opacity: .75; }

.tk-loading { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 48px 20px; font-size: 13.5px; color: var(--muted); }
.tk-empty__head { align-self: flex-start; }
.tk-empty__head:empty { display: none; }
#tkFormErr:empty { display: none; }
.resell-how { margin-top: -4px; }

.tk-composer { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px 14px; border-top: 1px solid var(--border); background: var(--bg-2); }
.tk-composer__row {
  display: flex; align-items: flex-end; gap: 6px; padding: 6px;
  border-radius: 12px; border: 1px solid var(--field-border); background: var(--surface);
  transition: border-color .15s, box-shadow .15s;
}
.tk-composer__row:focus-within { border-color: var(--accent-3); box-shadow: 0 0 0 1px var(--accent-3), 0 0 0 4px var(--accent-soft); }
.tk-composer textarea {
  flex: 1; min-width: 0; max-height: min(160px, 22vh); max-height: min(160px, 22dvh); padding: 8px 4px;
  resize: none; border: 0; outline: 0; background: none;
  color: var(--text); font-size: 14px; line-height: 1.5;
}
.tk-composer textarea::placeholder { color: var(--dim); }
.tk-composer .file-list { max-height: 66px; overflow-y: auto; }
.tk-composer.is-over .tk-composer__row { border-color: var(--accent-3); background: var(--accent-soft); }
.tk-composer__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--dim); }
.attach-input:focus-visible + label { outline: 2px solid var(--accent-3); outline-offset: 2px; }
.tk-closed {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; border-top: 1px solid var(--border); background: var(--bg-2);
  font-size: 13px; color: var(--muted);
}
.tk-closed > span { display: inline-flex; align-items: center; gap: 8px; }
.tk-closed > span:first-child > svg { color: var(--ok-text); }
.tk-closed__actions { flex-wrap: wrap; }

/* novo ticket */
.tk-new { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 22px; padding: 20px 24px 24px; }
.tk-new__head { display: flex; align-items: flex-start; gap: 10px; }
.tk-new__head h3 { font-size: 18px; font-weight: 700; letter-spacing: -.015em; }
.tk-new__head p { margin-top: 2px; font-size: 13px; color: var(--muted); }
.tk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
#tkWindow:empty { display: none; }
.tk-new__actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 4px; }
.field__row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.field__count { font: 500 11.5px var(--mono); color: var(--dim); }
.opt { font-weight: 400; color: var(--dim); }

.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 8px; }
.choice { position: relative; display: block; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice__card {
  height: 100%; display: flex; align-items: flex-start; gap: 10px;
  padding: 12px; border-radius: 10px;
  border: 1px solid var(--border-2); background: var(--bg-2);
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.choice:hover .choice__card { border-color: var(--border-3); }
.choice__ico {
  flex: none; width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center; background: var(--surface-3); color: var(--text-2);
  transition: background-color .15s, color .15s;
}
.choice__text { display: flex; flex-direction: column; line-height: 1.35; }
.choice__text strong { font-size: 13.5px; }
.choice__text small { font-size: 12px; color: var(--muted); }
.choice input:checked + .choice__card { border-color: var(--accent-line); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-line); }
.choice input:checked + .choice__card .choice__ico { background: var(--accent-2); color: #fff; }
.choice input:focus-visible + .choice__card { outline: 2px solid var(--accent-3); outline-offset: 2px; }

.input-wrap--select { position: relative; }
.input-wrap[hidden] { display: none; }
.input-wrap select {
  flex: 1; min-width: 0; height: 100%; padding-right: 24px;
  appearance: none; -webkit-appearance: none;
  background: none; border: 0; outline: 0; color: var(--text); font-size: 14px; cursor: pointer;
}
.input-wrap select option { background: var(--surface); color: var(--text); }
.input-wrap__chevron { position: absolute; right: 12px; pointer-events: none; display: inline-flex; color: var(--dim); }
.input-wrap + .input-wrap { margin-top: 8px; }

.textarea {
  width: 100%; min-height: 140px; padding: 12px;
  resize: vertical; border-radius: 10px;
  border: 1px solid var(--field-border); background: var(--bg-2);
  color: var(--text); font: inherit; font-size: 14px; line-height: 1.55;
  transition: border-color .15s, box-shadow .15s;
}
.textarea::placeholder { color: var(--dim); }
.textarea:focus { outline: 0; border-color: var(--accent-3); box-shadow: 0 0 0 1px var(--accent-3), 0 0 0 4px var(--accent-soft); }
.textarea[aria-invalid="true"] { border-color: var(--danger-text); }

.drop {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px;
  padding: 14px; border-radius: 10px;
  border: 1px dashed var(--field-border); background: var(--bg-2);
  transition: border-color .15s, background-color .15s;
}
.drop.is-over { border-color: var(--accent-3); background: var(--accent-soft); }
.drop__text { font-size: 12.5px; color: var(--muted); }

.center-state__help { font-size: 13px; color: var(--muted); }
button.link { font: inherit; color: var(--accent-3); }

.tk-back { display: none; }
.tk-composer__foot [data-action="tk-resolve"] { margin-left: auto; }
@media (pointer: coarse) { .tk-composer__hint { display: none; } }

/* modo de alto contraste do Windows: foco e seleção sem depender de sombra ou fundo */
@media (forced-colors: active) {
  .input-wrap:focus-within, .tk-composer__row:focus-within, .textarea:focus { outline: 2px solid Highlight; outline-offset: 2px; }
  .choice input:checked + .choice__card { border: 2px solid Highlight; outline: 2px solid Highlight; outline-offset: -4px; }
  .sk { background: GrayText; }
  .seg__item[aria-pressed="true"] { border-color: Highlight; text-decoration: underline; }
}

/* no celular: lista e conversa viram duas telas */
@media (max-width: 760px) {
  .modal--support { height: calc(100vh - 24px); height: calc(100dvh - 24px); }
  .modal--support .modal__sub { display: none; }
  .support { grid-template-columns: minmax(0, 1fr); }
  .support__side { border-right: 0; }
  .support:not(.is-detail) .support__main { display: none; }
  .support.is-detail .support__side { display: none; }
  .tk-back { display: inline-flex; margin-left: -8px; }
  .tk-new { padding: 16px; gap: 20px; }
  .tk-grid { grid-template-columns: minmax(0, 1fr); }
  .tk-thread__head { flex-wrap: wrap; row-gap: 8px; padding: 12px 16px; }
  .tk-thread__title { flex: 1 1 calc(100% - 56px); }
  .tk-thread__head > .status { margin-left: 42px; }
  .tk-thread__title h3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .support:not(.is-detail):has(.tk-list__empty) { grid-template-rows: auto minmax(0, 1fr); }
  .support:not(.is-detail):has(.tk-list__empty) .support__side { min-height: auto; }
  .support:not(.is-detail):has(.tk-list__empty) .tk-list { flex: none; }
  .support:not(.is-detail):has(.tk-list__empty) .support__note { display: none; }
  .support:not(.is-detail):has(.tk-list__empty) .support__main { display: flex; border-top: 1px solid var(--border); }
  .tk-thread__notice { margin: 12px 16px 0; }
  .tk-msgs { padding: 16px; }
  .msg { max-width: 90%; }
  .tk-empty { padding: 32px 20px; }
}

/* telas baixas (celular deitado, zoom de 400%): a central vira uma coluna que rola inteira.
   Vem depois do bloco do celular para ganhar dele. */
@media (max-height: 480px) {
  .modal--support { height: auto; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
  .modal--support .support { display: block; }
  .modal--support .support__side,
  .modal--support .support__main,
  .modal--support .tk-thread { min-height: auto; }
  .modal--support .tk-scroll,
  .modal--support .tk-thread { overflow: visible; }
  .modal--support .tk-msgs { flex: none; }
}

/* ---------- Paleta de busca ---------- */
.overlay--palette { align-items: start; padding-top: min(14vh, 120px); }
.palette {
  position: relative; width: min(100%, 580px); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: 14px;
  box-shadow: var(--shadow-pop);
  animation: pop-in .2s var(--ease);
}
.overlay.is-closing .palette { animation: pop-out .15s ease forwards; }
.palette__search {
  display: flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 14px;
  border-bottom: 1px solid var(--border); color: var(--muted);
}
.palette__search input {
  flex: 1; min-width: 0; height: 100%;
  background: none; border: 0; outline: 0;
  font-size: 15px; color: var(--text);
}
.palette__search input::placeholder { color: var(--dim); }
.palette__list { max-height: min(420px, 56vh); overflow-y: auto; overscroll-behavior: contain; padding: 6px; }
.palette__group { padding: 10px 10px 6px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.palette__opt {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 10px; border-radius: 9px;
  color: var(--text-2); cursor: pointer;
}
.palette__opt[aria-selected="true"] { background: var(--surface-3); color: var(--text); box-shadow: inset 2px 0 0 var(--accent-3); }
.palette__sub { display: flex; flex-direction: column; }
.palette__opt > div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.palette__opt strong { font-size: 14px; font-weight: 500; }
.palette__opt small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.palette__ico {
  flex: none; width: 32px; height: 32px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border-2); color: var(--muted);
}
.palette__enter { opacity: 0; color: var(--muted); transition: opacity .1s; }
.palette__opt[aria-selected="true"] .palette__enter { opacity: 1; }
.palette__empty { padding: 32px 16px; text-align: center; font-size: 13.5px; color: var(--muted); }
.palette__foot {
  display: flex; gap: 16px; padding: 10px 14px;
  border-top: 1px solid var(--border); background: var(--bg-2);
  font-size: 11.5px; color: var(--dim);
}
.palette__foot span { display: inline-flex; align-items: center; gap: 4px; }
.palette__foot kbd { padding: 2px 5px; }

/* ---------- Toasts ---------- */
.toasts {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  display: flex; align-items: center; gap: 10px;
  max-width: min(400px, calc(100vw - 32px));
  padding: 10px 12px; border-radius: 11px;
  background: #18161f; border: 1px solid var(--border-2);
  box-shadow: 0 18px 40px -12px rgb(0 0 0 / .85);
  font-size: 13.5px;
  animation: toast-in .26s var(--ease);
}
.toast svg { flex: none; }
.toast--ok svg { color: var(--ok-text); }
.toast--warn svg { color: var(--warn-text); }
.toast--error svg { color: var(--danger-text); }
.toast__msg { flex: 1; min-width: 0; }
.toast__action {
  flex: none; margin-left: 2px; padding: 5px 8px; border-radius: 6px;
  font-size: 13px; font-weight: 600; color: var(--accent-3);
}
.toast__action:hover { background: var(--accent-soft); }
.toast.is-leaving { animation: toast-out .2s ease forwards; pointer-events: none; }

/* ---------- Animações ---------- */
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes pop-out { to { opacity: 0; transform: translateY(6px) scale(.98); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(6px) scale(.97); } }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .45; } }
@keyframes bump { 40% { transform: scale(1.3); } }
@keyframes float { 50% { translate: 0 -6px; } }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1180px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .search-trigger { width: 200px; }
}

/* com o "Meus pedidos" no topo, a busca vira só o ícone antes de apertar (Ctrl K continua valendo) */
@media (max-width: 1040px) {
  .search-trigger { width: 38px; padding: 0; justify-content: center; }
  .search-trigger__text, .search-trigger kbd { display: none; }
}

@media (max-width: 960px) {
  .hero { padding: 56px 0 40px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { min-height: 300px; }
  .mock-chip { left: max(0px, calc(50% - 220px)); }
  .mock-toast { right: max(0px, calc(50% - 220px)); }
  .features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav, .login-btn { display: none; }
  .menu-btn { display: inline-flex; }
  .search-trigger { width: 38px; padding: 0; justify-content: center; }
  .search-trigger__text, .search-trigger kbd { display: none; }
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

@media (max-width: 860px) {
  .how { grid-template-columns: 1fr; }
  .how__step:not(:last-child)::after { display: none; }
  .faq { grid-template-columns: 1fr; gap: 24px; }
  .faq__intro { position: static; }
}

@media (max-width: 760px) {
  .overlay { padding: 12px; }
  .modal { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
  /* no celular: imagem → título/planos/comprar → "o que está incluso" */
  .pm { display: flex; flex-direction: column; }
  .pm__media { display: contents; }
  .pm__art { flex: none; min-height: 0; aspect-ratio: 16 / 9; margin: 16px 16px 0; }
  .pm__info { order: 1; padding: 20px; }
  .pm__media > div:last-child { order: 2; padding: 20px; border-top: 1px solid var(--border); }
  .co { grid-template-columns: 1fr; }
  .co__summary { border-left: 0; border-top: 1px solid var(--border); }
  .cart { grid-template-columns: minmax(0, 1fr); }
  .cart__items { padding: 4px 20px; }
  .cart__summary { border-left: 0; border-top: 1px solid var(--border); }
  .cart__sticky { position: static; padding: 20px; }
  .modal__head { padding: 18px 12px 12px 20px; }
  .steps { padding: 0 20px 14px; }
}

@media (max-width: 640px) {
  .container { padding-inline: 16px; }
  .section { padding: 64px 0; }
  .section--tight { padding-block: 0; }
  .products { grid-template-columns: 1fr; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .seg { align-self: flex-start; }
  .cta { flex-direction: column; align-items: flex-start; padding: 24px; }
  .footer__cols { gap: 40px; }
  .pix { grid-template-columns: minmax(0, 1fr); justify-items: center; padding: 20px; }
  .pix__info { width: 100%; }
  .copy-field input { width: 100%; }
  .co__form, .co__summary { padding: 20px; }
  .orders__form { padding: 20px; }
  .orders__saved, .order-detail { padding-inline: 20px; }
  .resume { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .resume__code { display: none; } /* no celular o número do pedido fica no "Ver PIX" */
  html.has-resume .toasts { bottom: 84px; }
  .doc { padding: 20px; gap: 22px; }
  .doc__summary { grid-template-columns: minmax(0, 1fr); }
  .toasts { left: 16px; right: 16px; bottom: 16px; align-items: stretch; }
  .toast { max-width: none; }
  /* com modal aberto os avisos sobem, deixando livre o botão de fechar */
  html.no-scroll .toasts { top: 12px; bottom: auto; right: 64px; }
}

@media (min-width: 641px) {
  /* com modal aberto os avisos ficam centralizados embaixo, fora dos botões do modal */
  html.no-scroll .toasts { right: auto; left: 50%; transform: translateX(-50%); align-items: center; }
}

/* no celular em pé, o resumo do carrinho fica preso embaixo enquanto os itens rolam */
@media (max-width: 760px) and (min-height: 640px) {
  .cart__summary { position: sticky; bottom: 0; box-shadow: 0 -16px 24px -16px rgb(0 0 0 / .7); }
}

@media (max-width: 520px) {
  .features__grid { grid-template-columns: 1fr; }
  .kpi { flex-direction: row; align-items: flex-start; }
  .hero__visual { min-height: 280px; }
  .mock { padding: 16px; }
  .mock__key { font-size: 14px; letter-spacing: .04em; }
  .mock-toast { bottom: 0; }
  .mock-chip { top: 4px; }
  .pm__actions { grid-template-columns: 1fr; }
  .pm__buy { flex-wrap: wrap; }
  .brand__text small { display: none; }
  .steps { flex-wrap: nowrap; }
  .steps li + li::before { width: 16px; }
  .steps li:not(.is-current) .steps__label {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .center-state__actions { flex-direction: column-reverse; width: 100%; max-width: 360px; }
  .center-state__actions .btn { width: 100%; }
}

@media (max-width: 400px) {
  .plan-list { gap: 14px; }
  .plan-opt .tag { position: absolute; top: -9px; right: 12px; background-color: #1a162e; }
  .plan-opt:has(.tag) { padding-top: 16px; }
}

/* ==========================================================================
   Conta do cliente (conta.js): "Entrar"/menu da conta no topo, modal de entrar/criar conta
   e a página Minha conta (Downloads, Pedidos, Tickets, Segurança)
   ========================================================================== */

/* ---------- Topo ---------- */
.acct-slot { display: flex; align-items: center; animation: fade-in .25s var(--ease); }
.acct-slot[hidden] { display: none; }
.acct-login svg { color: var(--accent-3); }
.acct { position: relative; }
.acct-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 10px 0 4px; border-radius: 999px;
  border: 1px solid var(--border-2); background: var(--surface-2);
  color: var(--text-2); font-size: 13.5px; font-weight: 600; white-space: nowrap;
  transition: border-color .15s, background-color .15s, color .15s;
}
.acct-btn:hover { border-color: var(--border-3); background: var(--surface-3); color: var(--text); }
.acct-btn[aria-expanded="true"] { border-color: var(--accent-line); background: var(--surface-3); color: var(--text); }
.acct-btn > svg { flex: none; color: var(--muted); transition: transform .2s var(--ease); }
.acct-btn[aria-expanded="true"] > svg { transform: rotate(180deg); }
.acct-btn__name { max-width: 96px; overflow: hidden; text-overflow: ellipsis; }
/* logado: o botão da conta ocupa mais que o "Entrar", então a busca encolhe um pouco */
.topbar__actions:has(.acct) .search-trigger { width: 220px; }
/* busca estreita: o texto não quebra em duas linhas */
.search-trigger__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.avatar {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12.5px; font-weight: 700; line-height: 1; color: #fff;
  background: linear-gradient(145deg, #8b70ff, #5b3ae8);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .25), 0 0 0 1px rgb(124 92 255 / .45);
}
.avatar--lg { width: 38px; height: 38px; font-size: 15px; }
.avatar--xl {
  width: 60px; height: 60px; font-size: 24px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .28), 0 0 0 1px rgb(124 92 255 / .5), 0 14px 36px -12px rgb(124 92 255 / .8);
}

.acct-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 50;
  width: 272px; padding: 6px;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: 14px;
  box-shadow: var(--shadow-pop);
  animation: drop .18s var(--ease);
}
.acct-menu[hidden] { display: none; }
.acct-menu__head { display: flex; align-items: center; gap: 10px; padding: 10px 10px 12px; margin-bottom: 6px; border-bottom: 1px solid var(--border); }
.acct-menu__head > div { min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.acct-menu__head strong, .acct-menu__head small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-menu__head strong { font-size: 14px; }
.acct-menu__head small { font-size: 12px; color: var(--muted); }
.acct-menu__nav { display: flex; flex-direction: column; }
.acct-menu a, .acct-menu__out {
  display: flex; align-items: center; gap: 10px;
  width: 100%; height: 38px; padding: 0 10px; border-radius: 8px;
  color: var(--text-2); font-size: 13.5px; font-weight: 500; text-align: left;
  transition: background-color .12s, color .12s;
}
.acct-menu a svg, .acct-menu__out svg { flex: none; color: var(--muted); transition: color .12s; }
.acct-menu a:hover, .acct-menu a:focus-visible { background: var(--surface-3); color: var(--text); }
.acct-menu a:hover svg, .acct-menu a:focus-visible svg { color: var(--accent-3); }
.acct-menu__out { position: relative; margin-top: 7px; }
.acct-menu__out::before { content: ""; position: absolute; left: 4px; right: 4px; top: -4px; height: 1px; background: var(--border); }
.acct-menu__out:hover, .acct-menu__out:focus-visible { background: var(--danger-soft); color: var(--danger-text); }
.acct-menu__out:hover svg, .acct-menu__out:focus-visible svg { color: currentColor; }

/* menu do celular: a conta entra no fim, como o resto */
.mobile-acct { display: flex; flex-direction: column; }
.mobile-acct[hidden] { display: none; }
.mobile-menu nav > a:has(+ .mobile-acct[hidden]) { border-bottom: 0; }
.mobile-acct__who { display: flex; align-items: center; gap: 10px; padding: 12px 0 10px; border-bottom: 1px solid var(--border); }
.mobile-acct__who > span:last-child { min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.mobile-acct__who strong { font-size: 13px; color: var(--text); }
.mobile-acct__who small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm-ico { display: inline-flex; flex: none; color: var(--muted); }

/* ---------- Modal: entrar / criar conta / código / senha nova ---------- */
.modal--auth { width: min(100%, 440px); }
.auth { display: flex; flex-direction: column; gap: 18px; padding: 30px 28px 24px; }
.auth__head { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 20px; text-align: center; }
.auth__icon {
  width: 52px; height: 52px; margin-bottom: 6px; border-radius: 15px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, #8b70ff, #5b3ae8);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .25), 0 0 0 1px rgb(124 92 255 / .5), 0 12px 32px -10px rgb(124 92 255 / .8);
  animation: pop-in .35s var(--ease);
}
.auth__head h2 { font-size: 21px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.auth__head p { max-width: 340px; font-size: 13.5px; color: var(--muted); text-wrap: pretty; overflow-wrap: anywhere; }
.auth__head p strong { color: var(--text); }
.auth__form { display: flex; flex-direction: column; gap: 16px; }
.auth__row { display: flex; justify-content: flex-end; margin-top: -8px; font-size: 13px; }
.auth__err:empty { display: none; }
.auth .notice { width: 100%; }
.auth__switch { text-align: center; font-size: 13.5px; color: var(--muted); }
.auth__note {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 10px 12px; border-radius: 10px;
  background: var(--bg-2); border: 1px solid var(--border);
  font-size: 12.5px; line-height: 1.5; color: var(--muted);
}
.auth__note svg { flex: none; margin-top: 2px; color: var(--accent-3); }
.auth__perks {
  display: flex; flex-direction: column; gap: 8px;
  padding: 12px 14px; border-radius: 12px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
}
.auth__perks li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-2); }
.auth__perks .tick { margin-top: 0; }
.auth__resend { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 4px; font-size: 13px; color: var(--muted); }
.auth__resend .btn { color: var(--accent-3); font-variant-numeric: tabular-nums; }
.auth__resend .btn:disabled { color: var(--muted); opacity: .8; }

/* código de 6 dígitos */
.input-wrap:has(.input-otp) { height: 54px; }
.input-wrap input.input-otp {
  font: 600 22px/1 var(--mono); letter-spacing: .5em; text-align: center; padding-left: .5em;
  font-variant-numeric: tabular-nums;
}
.input-wrap input.input-otp::placeholder { color: var(--border-3); }

/* mostrar/ocultar senha */
.input-wrap--pw { padding-right: 4px; }
.pw-toggle {
  flex: none; width: 34px; height: 34px; border-radius: 8px;
  display: grid; place-items: center; color: var(--muted);
  transition: color .15s, background-color .15s;
}
.pw-toggle:hover { color: var(--text); background: var(--surface-3); }
.pw-toggle[aria-pressed="true"] { color: var(--accent-3); }

.btn--danger {
  color: #fff;
  background: linear-gradient(180deg, #e5484d 0%, #c9343a 100%);
  border-color: #f0686c;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), 0 6px 20px -8px rgb(239 68 68 / .6);
}
.btn--danger:hover:not(:disabled) { background: linear-gradient(180deg, #ef5a5f 0%, #d63c42 100%); border-color: #f58a8d; }

/* avisos com e-mail comprido ("Você entrou como ...") quebram a linha em vez de vazar */
.toast__msg { overflow-wrap: anywhere; }

/* ---------- Checkout: "comprando como" e o download depois do pagamento ---------- */
.co-as { display: flex; align-items: flex-start; gap: 6px; font-size: 12.5px; line-height: 1.5; color: var(--text-2); }
/* aviso "Você está na sua conta" do Meus pedidos: e-mail longo quebra (não passa da caixa no celular) */
.orders__acct > span { min-width: 0; overflow-wrap: anywhere; }
/* dica embaixo do "E-mail ou senha incorretos" */
.auth__hint { display: block; margin-top: 4px; color: var(--text-2); }
/* link do e-mail do cadastro sendo conferido (dentro do modal: sem o espaço enorme da página) */
.auth .auth__wait { padding: 22px 0 6px; }
.co-as svg { flex: none; margin-top: 2px; color: var(--accent-3); }
.co-as strong { color: var(--text); overflow-wrap: anywhere; }
.co-as--out { color: var(--muted); }

.dl-cta {
  width: 100%; max-width: 520px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px;
  margin-top: 6px; padding: 14px; border-radius: 12px; text-align: left;
  border: 1px solid var(--accent-line);
  background: radial-gradient(360px 120px at 0% 0%, rgb(124 92 255 / .2), transparent 70%), var(--bg-2);
  animation: pop-in .35s var(--ease);
}
.dl-cta__ico {
  flex: none; width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, #8b70ff, #5b3ae8);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .25), 0 8px 22px -8px rgb(124 92 255 / .8);
}
.dl-cta__text { flex: 1 1 170px; min-width: 0; display: flex; flex-direction: column; line-height: 1.4; }
.dl-cta__text strong { font-size: 14px; }
.dl-cta__text small { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.dl-cta__mail { color: var(--text); font-weight: 600; }
.dl-cta__actions { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Página Minha conta ---------- */
.conta-page {
  position: relative; overflow-x: clip;
  min-height: calc(100vh - var(--header-h)); min-height: calc(100dvh - var(--header-h));
  padding: 40px 0 32px;
}
.conta-page[hidden] { display: none; }
.conta-page__bg {
  position: absolute; inset: 0 0 auto; height: 380px; pointer-events: none;
  background:
    radial-gradient(640px 300px at 85% -10%, rgb(124 92 255 / .18), transparent 70%),
    radial-gradient(480px 260px at 0% 0%, rgb(124 92 255 / .06), transparent 70%);
}
.conta { position: relative; display: flex; flex-direction: column; gap: 24px; animation: page-in .35s var(--ease); }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } }

.conta__head { display: flex; align-items: center; gap: 18px; }
.conta__who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.conta__who h1 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; overflow-wrap: anywhere; }
.conta__who p { font-size: 13.5px; color: var(--muted); overflow-wrap: anywhere; }
.conta__email { color: var(--text-2); }
.conta__out { flex: none; }

.conta-tabs {
  display: flex; gap: 4px; padding: 4px;
  width: fit-content; max-width: 100%;
  border: 1px solid var(--border); border-radius: 12px; background: var(--surface);
}
.conta-tab {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 16px; border-radius: 9px; border: 1px solid transparent;
  color: var(--muted); font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: color .15s, background-color .15s, border-color .15s;
}
.conta-tab svg { flex: none; transition: color .15s; }
.conta-tab:hover { color: var(--text); background: var(--surface-2); }
.conta-tab[aria-current="page"] {
  color: var(--text); font-weight: 600;
  background: var(--surface-3); border-color: var(--border-2);
  box-shadow: 0 1px 2px rgb(0 0 0 / .3);
}
.conta-tab[aria-current="page"] svg { color: var(--accent-3); }

.conta__panel { display: flex; flex-direction: column; gap: 18px; min-height: 320px; }
.conta__panel-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 16px; }
.conta__panel-head > div:first-child { min-width: 0; }
.conta__panel-head h2 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.conta__panel-head p { margin-top: 2px; font-size: 13.5px; color: var(--muted); overflow-wrap: anywhere; }
.conta__panel-head p strong { color: var(--text-2); font-weight: 600; }
.conta__panel-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.conta__sub { margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.conta-loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 120px 16px; font-size: 14px; color: var(--muted); }
.conta-empty { padding: 56px 16px; border: 1px dashed var(--border-2); border-radius: var(--r-lg); background: var(--surface); }
.conta-empty__title { font-size: 18px; font-weight: 700; letter-spacing: -.015em; }
.conta-skel { display: flex; flex-direction: column; gap: 12px; }
.conta-skel__card { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px 14px; padding: 18px; }
.conta-skel__card .sk--thumb { grid-row: span 3; width: 48px; height: 48px; border-radius: 10px; }
.conta-skel__card .sk--title { width: 40%; height: 18px; }

/* Downloads */
.dl-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
/* o passo a passo vem antes no HTML (no celular fica em cima dos cartões); no computador, na coluna do lado */
.dl-layout > .dl-main { grid-column: 1; grid-row: 1; }
.dl-layout > .dl-steps { grid-column: 2; grid-row: 1; }
/* "o programa é para computador": só em tela de toque ou estreita */
.dl-pc-only { display: none; margin-bottom: 14px; }
@media (hover: none) and (pointer: coarse), (max-width: 640px) {
  .dl-pc-only { display: flex; }
}
.dl-main { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.dl-card { --h: 258; position: relative; display: flex; flex-direction: column; gap: 14px; padding: 18px; overflow: hidden; transition: border-color .2s; }
.dl-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, hsl(var(--h) 85% 62% / .9), transparent 70%);
}
.dl-card:hover { border-color: var(--border-2); }
.dl-card__head { display: flex; align-items: center; gap: 14px; }
.dl-card__title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.dl-card__title h3 { font-size: 17px; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; overflow-wrap: anywhere; }
.dl-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 12.5px; color: var(--muted); }
.dl-card__user { display: inline-flex; align-items: center; gap: 5px; min-width: 0; overflow-wrap: anywhere; }
.dl-card__user svg { flex: none; }
.dl-card__user strong { color: var(--text-2); font: 500 12.5px var(--mono); }
.dl-card__tip, .dl-card__empty { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 10px; font-size: 13px; line-height: 1.5; }
.dl-card__tip svg, .dl-card__empty svg { flex: none; margin-top: 2px; }
.dl-card__tip { color: var(--accent-3); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.dl-card__tip strong { color: var(--text); }
.dl-card__tip--warn { color: #fcd34d; background: var(--warn-soft); border-color: var(--warn-line); }
.dl-card__empty { color: var(--muted); border: 1px dashed var(--border-2); }

.dl-files { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-2); }
.dl-file { display: flex; align-items: flex-start; gap: 14px; padding: 14px; }
.dl-file + .dl-file { border-top: 1px solid var(--border); }
.dl-file__ico {
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  color: hsl(var(--h) 95% 80%); background: hsl(var(--h) 80% 60% / .12); border: 1px solid hsl(var(--h) 80% 65% / .3);
}
.dl-file__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.dl-file__name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14.5px; }
.dl-file__name strong { overflow-wrap: anywhere; }
.dl-file__meta { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.dl-file__get { flex: none; margin-top: 1px; }
.dl-notes { margin-top: 4px; font-size: 13px; }
.dl-notes summary {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--accent-3); font-weight: 500; cursor: pointer; list-style: none; border-radius: 4px;
}
.dl-notes summary::-webkit-details-marker { display: none; }
.dl-notes summary svg { transition: transform .2s var(--ease); }
.dl-notes[open] summary svg { transform: rotate(180deg); }
.dl-notes p {
  margin-top: 6px; padding: 10px 12px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-2); line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere;
  animation: drop .18s var(--ease);
}

.dl-card--locked { background: var(--bg-2); }
.dl-card--locked::before { display: none; }
.dl-card--locked .thumb { filter: grayscale(.85); opacity: .55; }
.dl-card--locked .dl-card__title h3 { color: var(--text-2); }
.dl-card__lock {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; color: var(--muted);
  background: var(--surface-2); border: 1px solid var(--border-2);
}
.dl-card__reason { font-size: 13.5px; color: var(--muted); }
.dl-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dl-card__renew-off { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.dl-card__renew-off svg { flex: none; }

.dl-steps {
  position: sticky; top: calc(var(--header-h) + 20px);
  display: flex; flex-direction: column; gap: 14px; padding: 18px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
}
.dl-steps h3 { font-size: 14px; font-weight: 600; }
.dl-steps__list { display: flex; flex-direction: column; gap: 12px; }
.dl-steps__list li { display: flex; align-items: flex-start; gap: 12px; }
.dl-steps__list li > div { display: flex; flex-direction: column; line-height: 1.4; }
.dl-steps__list strong { font-size: 13.5px; }
.dl-steps__list small { font-size: 12.5px; color: var(--muted); }
.dl-steps__n {
  flex: none; width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center;
  font: 600 12px/1 var(--mono); color: var(--accent-3);
  background: var(--accent-soft); border: 1px solid var(--accent-line);
}
.dl-steps__note { display: flex; align-items: flex-start; gap: 8px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 12px; line-height: 1.5; color: var(--dim); }
.dl-steps__note svg { flex: none; margin-top: 2px; }

/* Pedidos */
.acct-orders { display: flex; flex-direction: column; gap: 12px; }
.acct-order { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 18px; }
.acct-order > .notice, .acct-order > .keys { width: 100%; }
.acct-order__head { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.acct-order__title { min-width: 0; }
.acct-order__title h3 { font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.acct-order__title p { margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.acct-order__items { font-size: 13.5px; color: var(--text-2); overflow-wrap: anywhere; }
.acct-order__keys { max-width: none; margin-top: 0; }
.acct-order__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.acct-order__help { font-size: 12.5px; color: var(--muted); }

/* Tickets */
.acct-tickets { display: flex; flex-direction: column; gap: 8px; }
.acct-ticket {
  width: 100%; text-align: left;
  display: flex; flex-direction: column; gap: 5px;
  padding: 14px 16px; border-radius: var(--r);
  border: 1px solid var(--border); background: var(--surface);
  transition: border-color .15s, background-color .15s;
}
.acct-ticket:hover { border-color: var(--border-2); background: var(--surface-2); }
.acct-ticket.is-unread { border-color: var(--accent-line); }
.acct-ticket__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.acct-ticket__top strong { min-width: 0; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-ticket__top time { flex: none; font-size: 12px; color: var(--dim); }
.acct-ticket__meta { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.acct-ticket__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 2px; }
.acct-ticket__go { display: inline-flex; margin-left: auto; color: var(--dim); transition: transform .2s var(--ease), color .15s; }
.acct-ticket:hover .acct-ticket__go { color: var(--accent-3); transform: translateX(2px); }

/* Segurança */
.sec-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.sec-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sec-card { display: flex; flex-direction: column; gap: 16px; padding: 20px; }
.sec-card__head { display: flex; align-items: flex-start; gap: 12px; }
.sec-card__head h3 { font-size: 15px; font-weight: 600; }
.sec-card__head p { margin-top: 3px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.sec-card__ico {
  flex: none; width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  color: var(--accent-3); background: var(--accent-soft); border: 1px solid var(--accent-line);
}
.sec-card--danger { border-color: var(--danger-line); background: linear-gradient(180deg, rgb(239 68 68 / .05), var(--surface) 60%); }
.sec-card--danger .sec-card__ico { color: var(--danger-text); background: var(--danger-soft); border-color: var(--danger-line); }
.sec-form { display: flex; flex-direction: column; gap: 16px; }
.sec-form__err:empty { display: none; }
.sec-form__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Responsivo (conta) ---------- */
/* o topo ganhou o "Entrar"/a conta: a busca e o "Meus pedidos" encolhem antes para nada passar da tela */
@media (max-width: 1240px) {
  .search-trigger, .topbar__actions:has(.acct) .search-trigger { width: 200px; }
  .search-trigger kbd { display: none; }
  .acct-btn__name { display: none; }
  .acct-btn { gap: 4px; padding: 0 8px 0 4px; }
}
@media (max-width: 1180px) {
  .search-trigger, .topbar__actions:has(.acct) .search-trigger { width: 38px; padding: 0; justify-content: center; }
  .search-trigger__text, .search-trigger kbd { display: none; }
}
@media (max-width: 1020px) {
  .login-btn { width: 38px; padding: 0; }
  .login-btn .btn__label {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
}
@media (max-width: 900px) {
  .acct-slot { display: none; }
}

@media (max-width: 960px) {
  .dl-layout { grid-template-columns: minmax(0, 1fr); }
  .dl-layout > .dl-main, .dl-layout > .dl-steps { grid-column: auto; grid-row: auto; }
  .dl-steps { position: static; } /* no celular o passo a passo vem antes dos arquivos (antes do "Baixar") */
  .sec-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .conta-page { padding-top: 24px; }
  .conta { gap: 20px; }
  .conta__head { gap: 12px; }
  .avatar--xl { width: 48px; height: 48px; font-size: 19px; }
  .conta-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .conta-tab { flex-direction: column; gap: 4px; height: auto; min-height: 54px; padding: 8px 2px; font-size: 12px; }
  .conta__panel-head h2 { font-size: 18px; }
  .dl-card { padding: 16px; }
  .dl-file { flex-wrap: wrap; padding: 12px; }
  .dl-file__get { flex: 1 0 100%; }
  .acct-order { padding: 14px; }
  .acct-order__head { flex-wrap: wrap; }
  .sec-card { padding: 16px; }
  .auth { padding: 26px 20px 20px; }
  .auth__head { padding: 0 8px; }
}

@media (max-width: 520px) {
  .dl-cta__actions { width: 100%; }
  .dl-cta__actions .btn { flex: 1 1 auto; }
  .conta__out span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .conta__out { width: 38px; padding: 0; }
}

/* ==========================================================================
   Download sem conta (baixar.js): o modal "Seus downloads" (link "Baixar agora" do e-mail, /#baixar), o "não quero
   avisos" e a seção Downloads da tela do pedido pago (checkout depois do PIX e Meus pedidos)
   ========================================================================== */
.modal--baixar { width: min(100%, 760px); }
.modal--baixar.modal--baixar-sm { width: min(100%, 520px); }
.modal--baixar .modal__sub { overflow-wrap: anywhere; }
.modal--baixar .modal__sub strong { color: var(--text-2); font-weight: 600; }
.bx { display: flex; flex-direction: column; gap: 16px; padding: 20px 24px 24px; border-top: 1px solid var(--border); }
.bx .dl-pc-only { margin-bottom: 0; }
.bx__list { display: flex; flex-direction: column; gap: 12px; }
.bx__list .conta__sub { margin-top: 6px; }
.bx-wait { padding: 64px 16px; border-top: 1px solid var(--border); }
.bx-empty { padding: 40px 16px; }
/* botões com o e-mail no texto ("Mandar um link novo para c•••@…"): quebram a linha no celular em vez de vazar */
.bx-state .center-state__actions .btn { height: auto; min-height: var(--h); padding-block: 9px; white-space: normal; line-height: 1.3; text-align: center; }
.bx-state .center-state__actions .btn span { overflow-wrap: anywhere; }

/* passo a passo curto: baixe, abra o programa, Registrar + key */
.bx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bx-steps li {
  display: flex; align-items: center; gap: 10px; min-width: 0;
  padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-2);
  font-size: 13px; line-height: 1.4; color: var(--muted);
}
.bx-steps strong { color: var(--text); font-weight: 600; }

/* convite discreto para criar a conta com o mesmo e-mail */
.bx-invite {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px;
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-2);
}
.bx-invite__ico {
  flex: none; width: 32px; height: 32px; border-radius: 9px;
  display: grid; place-items: center;
  color: var(--accent-3); background: var(--accent-soft); border: 1px solid var(--accent-line);
}
.bx-invite__text { flex: 1 1 260px; min-width: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.bx-invite__text strong { color: var(--text); }
.bx-invite__mail { color: var(--text-2); font-weight: 600; overflow-wrap: anywhere; }
.bx-invite__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bx-invite--in { gap: 8px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.bx-invite--in svg { flex: none; color: var(--accent-3); }
.bx-foot { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.5; color: var(--dim); }
.bx-foot svg { flex: none; margin-top: 2px; }

/* compra aprovada: o convite da conta fica discreto (o download já está na tela) */
.dl-cta--quiet { border-color: var(--border); background: var(--bg-2); }
.dl-cta--quiet .dl-cta__ico {
  width: 34px; height: 34px; border-radius: 10px; color: var(--accent-3);
  background: var(--accent-soft); border: 1px solid var(--accent-line); box-shadow: none;
}

/* seção Downloads da tela do pedido pago */
.odl { --h: 258; display: flex; flex-direction: column; gap: 12px; width: 100%; text-align: left; animation: fade-in .25s var(--ease); }
.odl[hidden] { display: none; }
.center-state .odl { max-width: 520px; margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--border); }
.odl h4 { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.odl__sub { font-size: 13px; line-height: 1.5; color: var(--muted); }
.odl__sub strong { color: var(--text-2); }
.odl__wait { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 12px; border: 1px dashed var(--border-2); font-size: 13px; color: var(--muted); }
.odl__list { display: flex; flex-direction: column; gap: 12px; }
.odl__prod { display: flex; flex-direction: column; gap: 8px; }
.odl__name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; }
.odl__name strong { overflow-wrap: anywhere; }
.odl__reason {
  display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg-2); font-size: 13px; line-height: 1.5; color: var(--muted);
}
.odl__reason svg { flex: none; margin-top: 3px; }
/* licença vencida na tela do pedido: "Renovar" (loja vendendo) ou "Renovação indisponível no momento" */
.odl__renew { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.odl__mail { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.odl__mail small { font-size: 12px; color: var(--dim); }
.odl .notice, .center-state .odl .notice { width: 100%; max-width: none; }
.odl .dl-pc-only { margin-bottom: 0; }
.odl__sent:focus { outline: none; }
.odl__sent:focus-visible { outline: 2px solid var(--accent-3); outline-offset: 2px; }

@media (max-width: 640px) {
  .bx { padding: 16px 20px 20px; }
  .bx-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .bx-invite__actions { width: 100%; }
  .bx-invite .btn, .odl__mail .btn { width: 100%; }
}
