/* FitCreator AI — design system no DNA do movix:
   fundo navy profundo, dourado #F0B90B, cards glass com borda gradiente,
   carrossel com card central em destaque, pílulas, Space Grotesk. */

* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #070b1a;
  --panel: #0d1224;
  --card: rgba(13, 18, 36, 0.85);
  --line: rgba(96, 132, 255, 0.22);
  --gold: #F0B90B;
  --txt: #eef1ff;
  --mut: rgba(238, 241, 255, 0.62);
  --ebook1: #6d28d9; --ebook2: #a78bfa;
  --treino1: #15803d; --treino2: #22c55e;
}
html, body { height: 100%; }
body {
  background: radial-gradient(1200px 600px at 80% -10%, rgba(109, 40, 217, 0.25), transparent 60%),
              radial-gradient(900px 500px at -10% 30%, rgba(34, 197, 94, 0.12), transparent 55%),
              var(--bg);
  color: var(--txt);
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
  min-height: 100vh;
}
.hidden { display: none !important; }
.screen { min-height: 100vh; display: flex; flex-direction: column; }

/* ───────── nav / hero ───────── */
.fc-nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 26px; }
.fc-logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em; }
.fc-logo b { color: var(--gold); }
.fc-logo-badge {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 1.15rem;
  background: linear-gradient(135deg, #f59e0b, #F0B90B); color: #131722;
  box-shadow: 0 6px 22px rgba(240, 185, 11, 0.35);
}
.fc-logo-badge.small { width: 30px; height: 30px; border-radius: 9px; font-size: 0.95rem; }
.fc-pill-ghost, .fc-pill-solid {
  border-radius: 999px; padding: 9px 18px; font-weight: 700; font-size: 0.86rem; cursor: pointer;
  text-decoration: none; border: 1.5px solid rgba(240, 185, 11, 0.45); color: var(--gold); background: transparent;
  font-family: inherit; transition: transform 0.12s;
}
.fc-pill-solid { background: linear-gradient(135deg, #f59e0b, #F0B90B); color: #131722; border: none; box-shadow: 0 6px 20px rgba(240, 185, 11, 0.3); }
.fc-pill-ghost:active, .fc-pill-solid:active { transform: scale(0.95); }

.fc-hero { padding: 26px 22px 8px; display: flex; justify-content: center; }
.fc-hero-panel { max-width: 860px; width: 100%; text-align: center; }
.fc-eyebrow { color: var(--gold); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.72rem; margin-bottom: 12px; }
.fc-h1 { font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.05; font-weight: 700; }
.fc-h1 span { background: linear-gradient(90deg, #F0B90B, #f97316); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fc-hero-p { color: var(--mut); margin: 16px auto 26px; max-width: 560px; font-size: 1.02rem; line-height: 1.55; }
.fc-hero-p b { color: #fff; }

.fc-hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.fc-cta {
  position: relative; width: min(340px, 92vw); border-radius: 22px; padding: 20px 18px 18px 118px; text-align: left;
  cursor: pointer; color: #fff; border: 1.5px solid var(--line); background: var(--card); overflow: hidden;
  font-family: inherit; transition: transform 0.15s, box-shadow 0.15s; min-height: 108px;
}
.fc-cta::before { content: ""; position: absolute; inset: 0; opacity: 0.28; }
.fc-cta.ebook::before { background: linear-gradient(135deg, var(--ebook1), var(--ebook2)); }
.fc-cta.treino::before { background: linear-gradient(135deg, var(--treino1), var(--treino2)); }
.fc-cta img { position: absolute; left: 4px; bottom: 0; height: 118px; filter: drop-shadow(0 8px 14px rgba(0,0,0,0.5)); }
.fc-cta .t { position: relative; display: block; font-weight: 700; font-size: 1.06rem; }
.fc-cta .s { position: relative; display: block; color: rgba(255,255,255,0.75); font-size: 0.8rem; margin-top: 5px; }
.fc-cta:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,0.45); }

/* ───────── carrossel (padrão movix) ───────── */
.fc-cats { padding: 40px 0 8px; }
.fc-cats-head { text-align: center; margin-bottom: 20px; padding: 0 20px; }
.fc-h2 { font-size: clamp(1.2rem, 3.4vw, 1.7rem); font-weight: 700; }
.fc-car-wrap { position: relative; max-width: 720px; margin: 0 auto; }
.fc-car-viewport { overflow: hidden; }
.fc-car-track { display: flex; gap: 12px; transition: transform 0.35s cubic-bezier(.22,.9,.34,1); padding: 12px 0 6px; }
.fc-ccard {
  position: relative; flex: 0 0 auto; border-radius: 24px; border: none; cursor: pointer; overflow: hidden;
  aspect-ratio: 0.86; display: flex; align-items: flex-end; justify-content: center;
  transform: scale(0.84); opacity: 0.55; transition: transform 0.3s, opacity 0.3s;
  background: linear-gradient(160deg, var(--g1), var(--g2));
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.14);
}
.fc-ccard.is-center { transform: scale(1); opacity: 1; box-shadow: inset 0 0 0 2px var(--bd), 0 18px 50px var(--glow); }
.fc-ccard img { position: absolute; bottom: 8%; height: 74%; filter: drop-shadow(0 12px 18px rgba(0,0,0,0.45)); }
.fc-ccard .name {
  position: relative; z-index: 2; margin-bottom: 14px; color: #fff; font-weight: 700; letter-spacing: 0.06em;
  font-size: clamp(0.9rem, 2.6vw, 1.15rem); text-shadow: 0 2px 10px rgba(0,0,0,0.55); text-transform: uppercase;
  padding: 0 12px; text-align: center;
}
.fc-ccard .tagtipo {
  position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em;
  background: rgba(0,0,0,0.45); padding: 5px 10px; border-radius: 999px; color: #fff;
}
.fc-car-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(10, 14, 30, 0.72); color: #fff; font-size: 1.5rem; cursor: pointer; backdrop-filter: blur(6px);
}
.fc-car-arrow.left { left: 6px; } .fc-car-arrow.right { right: 6px; }
.fc-car-arrow.off { opacity: 0.25; pointer-events: none; }
.fc-dots { display: flex; gap: 7px; justify-content: center; margin: 14px 0 6px; }
.fc-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.22); transition: all 0.25s; }
.fc-dots i.on { width: 22px; border-radius: 999px; background: var(--dot, var(--gold)); }

/* ───────── meus projetos ───────── */
.fc-projects { padding: 42px 22px 30px; max-width: 980px; margin: 0 auto; width: 100%; }
.fc-proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 18px; }
.proj-card {
  background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; padding: 16px; cursor: pointer;
  transition: transform 0.12s, border-color 0.12s; position: relative;
}
.proj-card:hover { transform: translateY(-2px); border-color: rgba(240,185,11,0.5); }
.proj-card .k { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; padding: 4px 9px; border-radius: 999px; display: inline-block; margin-bottom: 9px; }
.proj-card .k.ebook { background: rgba(167, 139, 250, 0.16); color: #c4b5fd; }
.proj-card .k.treino { background: rgba(34, 197, 94, 0.14); color: #6ee7a0; }
.proj-card .k.pub { background: rgba(240, 185, 11, 0.16); color: var(--gold); margin-left: 6px; }
.proj-card h3 { font-size: 1rem; margin-bottom: 4px; }
.proj-card .d { color: var(--mut); font-size: 0.78rem; }
.proj-card .ops { display: flex; gap: 8px; margin-top: 12px; }
.proj-card .ops button {
  background: rgba(255,255,255,0.06); color: var(--mut); border: 1px solid rgba(255,255,255,0.12);
  padding: 6px 10px; border-radius: 9px; font-size: 0.74rem; cursor: pointer; font-family: inherit;
}
.proj-card .ops button:hover { color: #fff; }
.fc-footer { text-align: center; color: rgba(238,241,255,0.35); font-size: 0.78rem; padding: 26px 12px 34px; margin-top: auto; }

/* ───────── chat ───────── */
#screenChat { max-width: 760px; margin: 0 auto; width: 100%; height: 100vh; height: 100dvh; }
.chat-top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.back-btn {
  width: 40px; height: 40px; border-radius: 12px; font-size: 1.5rem; line-height: 1; cursor: pointer;
  background: rgba(255,255,255,0.06); color: #fff; border: 1px solid rgba(255,255,255,0.13); flex: 0 0 auto;
}
.chat-title { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.chat-title .t { font-weight: 700; font-size: 0.95rem; }
.chat-title .s { color: var(--mut); font-size: 0.74rem; }
.chat-progress { display: flex; align-items: center; gap: 8px; }
.chat-progress .bar { width: 90px; height: 7px; border-radius: 99px; background: rgba(255,255,255,0.1); overflow: hidden; }
.chat-progress .bar i { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, #F0B90B, #f97316); transition: width 0.4s; }
.chat-progress span { font-size: 0.72rem; color: var(--mut); min-width: 42px; text-align: right; }
.chat-scroll { flex: 1; overflow-y: auto; }
.chat-inner { padding: 22px 16px 12px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 82%; padding: 12px 16px; border-radius: 18px; font-size: 0.95rem; line-height: 1.5; animation: pop-in 0.25s ease; }
.msg.bot { background: var(--panel); border: 1px solid var(--line); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg.bot b { color: var(--gold); }
.msg.user { background: linear-gradient(135deg, #f59e0b, #F0B90B); color: #131722; font-weight: 600; border-bottom-right-radius: 6px; align-self: flex-end; }
.msg.typing { display: flex; gap: 5px; align-items: center; padding: 15px 18px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.5); animation: blink 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: 0.18s; } .msg.typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes blink { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }
@keyframes pop-in { from { transform: translateY(8px) scale(0.97); opacity: 0; } to { transform: none; opacity: 1; } }

.chat-inputbar { padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(7, 11, 26, 0.85); backdrop-filter: blur(8px); }
.chips { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.chip {
  border-radius: 999px; padding: 10px 16px; cursor: pointer; font-size: 0.88rem; font-weight: 600; font-family: inherit;
  background: rgba(255,255,255,0.06); color: #fff; border: 1.5px solid rgba(240, 185, 11, 0.35);
  transition: transform 0.1s, background 0.15s; animation: pop-in 0.3s ease;
}
.chip:hover { background: rgba(240, 185, 11, 0.14); }
.chip:active { transform: scale(0.94); }
.chip.sel { background: var(--gold); color: #131722; border-color: var(--gold); }
.chip.go { background: linear-gradient(135deg, #f59e0b, #F0B90B); color: #131722; border: none; font-weight: 800; }
.typerow { display: flex; gap: 10px; margin-top: 10px; }
.typerow input {
  flex: 1; background: var(--panel); border: 1.5px solid var(--line); color: #fff; border-radius: 999px;
  padding: 12px 18px; font-size: 0.95rem; font-family: inherit; outline: none;
}
.typerow input:focus { border-color: rgba(240, 185, 11, 0.6); }
.typerow button {
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer; font-size: 1.05rem;
  background: linear-gradient(135deg, #f59e0b, #F0B90B); color: #131722;
}

/* ───────── gerando ───────── */
#screenGen { align-items: center; justify-content: center; }
.gen-box { text-align: center; padding: 30px; }
.gen-spin { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 18px; border: 4px solid rgba(240,185,11,0.2); border-top-color: var(--gold); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.gen-steps { list-style: none; margin-top: 18px; color: var(--mut); font-size: 0.9rem; display: flex; flex-direction: column; gap: 8px; }
.gen-steps li.done { color: #6ee7a0; }
.gen-steps li.doing { color: #fff; }

/* ───────── editor ───────── */
#screenEditor { height: 100vh; height: 100dvh; }
.ed-top { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: rgba(7,11,26,0.9); }
.ed-title { flex: 1; background: transparent; border: none; color: #fff; font-family: inherit; font-weight: 700; font-size: 1rem; outline: none; min-width: 0; }
.ed-title-fixed { flex: 1; font-weight: 700; }
.ed-actions { display: flex; align-items: center; gap: 10px; }
.saved { color: #6ee7a0; font-size: 0.75rem; opacity: 0; transition: opacity 0.3s; }
.saved.show { opacity: 1; }
.ed-body { flex: 1; display: grid; grid-template-columns: 168px 1fr 218px; min-height: 0; }
.ed-pages { overflow-y: auto; border-right: 1px solid var(--line); padding: 12px 10px; display: flex; flex-direction: column; gap: 10px; }
.pg-thumb {
  border: 2px solid transparent; border-radius: 10px; background: #fff; color: #111; cursor: pointer; overflow: hidden;
  aspect-ratio: 0.707; position: relative; flex: 0 0 auto; box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
.pg-thumb.sel { border-color: var(--gold); }
.pg-thumb .mini { transform: scale(0.212); transform-origin: top left; width: 720px; height: 1018px; pointer-events: none; }
.pg-thumb .n { position: absolute; right: 5px; bottom: 4px; background: rgba(0,0,0,0.65); color: #fff; font-size: 0.62rem; padding: 2px 7px; border-radius: 99px; }
.ed-canvas { overflow-y: auto; padding: 26px 18px 60px; display: flex; justify-content: center; align-items: flex-start; background: radial-gradient(800px 400px at 50% 0%, rgba(96,132,255,0.06), transparent 70%); }
.ed-side { overflow-y: auto; border-left: 1px solid var(--line); padding: 14px 12px; }
.side-sec { margin-bottom: 20px; }
.side-h { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mut); margin-bottom: 9px; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.swatch { aspect-ratio: 1; border-radius: 10px; cursor: pointer; border: 2px solid transparent; }
.swatch.sel { border-color: #fff; }
.fonts { display: flex; flex-direction: column; gap: 7px; }
.fontopt { background: rgba(255,255,255,0.05); border: 1.5px solid rgba(255,255,255,0.12); color: #fff; border-radius: 10px; padding: 9px 11px; cursor: pointer; text-align: left; font-size: 0.9rem; }
.fontopt.sel { border-color: var(--gold); color: var(--gold); }
.addblocks { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.addblocks button, .side-btn {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); color: var(--txt);
  border-radius: 9px; padding: 8px 6px; font-size: 0.72rem; cursor: pointer; font-family: inherit;
}
.addblocks button:hover, .side-btn:hover { border-color: rgba(240,185,11,0.5); }
.side-btn { width: 100%; margin-bottom: 7px; padding: 9px; font-size: 0.78rem; }
.side-btn.danger { color: #ff8a8a; }

/* ───────── página (o documento) ───────── */
.page {
  width: min(720px, 94%); aspect-ratio: 0.707; background: var(--pg-bg, #ffffff); color: var(--pg-txt, #16181f);
  border-radius: 6px; box-shadow: 0 24px 70px rgba(0,0,0,0.55); padding: 54px 58px; overflow: hidden;
  font-family: var(--pg-font, 'Inter', sans-serif); position: relative; display: flex; flex-direction: column; gap: 14px;
}
.page[data-cover="1"] { justify-content: flex-end; background: linear-gradient(165deg, var(--pg-acc) 0%, var(--pg-acc2) 58%, #10131f 130%); color: #fff; }
.blk { position: relative; border-radius: 6px; }
.blk:hover { outline: 1.5px dashed rgba(0,0,0,0.18); }
.page[data-cover="1"] .blk:hover { outline-color: rgba(255,255,255,0.35); }
.blk .bops { position: absolute; top: -13px; right: -8px; display: none; gap: 4px; z-index: 4; }
.blk:hover .bops { display: flex; }
.blk .bops button {
  width: 24px; height: 24px; border-radius: 7px; border: none; cursor: pointer; font-size: 0.7rem;
  background: #171c2e; color: #fff; box-shadow: 0 3px 9px rgba(0,0,0,0.4);
}
[contenteditable]:focus { outline: 2px solid var(--pg-acc, #F0B90B); border-radius: 4px; }

.b-h1 { font-size: 1.9rem; font-weight: 800; line-height: 1.12; color: var(--pg-acc-dark, var(--pg-acc)); font-family: var(--pg-font-title, inherit); }
.b-h2 { font-size: 1.25rem; font-weight: 800; margin-top: 4px; font-family: var(--pg-font-title, inherit); }
.b-p { font-size: 0.86rem; line-height: 1.62; color: inherit; opacity: 0.92; }
.b-quote { border-left: 4px solid var(--pg-acc); padding: 8px 14px; font-style: italic; background: var(--pg-soft); border-radius: 0 8px 8px 0; font-size: 0.88rem; }
.b-list { padding-left: 20px; font-size: 0.86rem; line-height: 1.7; }
.b-check { list-style: none; font-size: 0.86rem; line-height: 1.95; }
.b-check li::before { content: "☐ "; color: var(--pg-acc-dark, var(--pg-acc)); font-weight: 800; }
.b-call { display: flex; gap: 11px; background: var(--pg-soft); border: 1.5px solid var(--pg-acc); border-radius: 12px; padding: 12px 14px; font-size: 0.82rem; line-height: 1.5; }
.b-call .ic { font-size: 1.15rem; }
.b-table { width: 100%; border-collapse: collapse; font-size: 0.76rem; }
.b-table th { background: var(--pg-acc); color: #fff; padding: 7px 8px; text-align: left; }
.b-table td { border-bottom: 1px solid rgba(0,0,0,0.1); padding: 6px 8px; }
.b-table tr:nth-child(even) td { background: var(--pg-soft); }
.b-video { border: 2px dashed var(--pg-acc); border-radius: 12px; aspect-ratio: 16/6.5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; background: var(--pg-soft); }
.b-video .play { width: 44px; height: 44px; border-radius: 50%; background: var(--pg-acc); color: #fff; display: grid; place-items: center; font-size: 1rem; }
.b-video .u { font-size: 0.7rem; opacity: 0.65; max-width: 90%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-qr { display: flex; gap: 13px; align-items: center; background: var(--pg-soft); border-radius: 12px; padding: 11px 13px; }
.b-qr canvas { width: 74px; height: 74px; border-radius: 8px; background: #fff; box-shadow: 0 3px 10px rgba(0,0,0,0.15); flex: 0 0 auto; }
.b-qr .qt { font-size: 0.78rem; line-height: 1.45; }
.b-qr .qt small { opacity: 0.6; display: block; word-break: break-all; }
.b-img { border-radius: 12px; overflow: hidden; background: var(--pg-soft); border: 2px dashed var(--pg-acc); min-height: 130px; display: grid; place-items: center; cursor: pointer; font-size: 0.8rem; color: inherit; }
.b-img img { width: 100%; display: block; }
.b-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; font-size: 0.6rem; }
.b-cal .hd { text-align: center; font-weight: 800; color: var(--pg-acc-dark, var(--pg-acc)); }
.b-cal .cell { border: 1px solid rgba(0,0,0,0.12); border-radius: 7px; min-height: 44px; padding: 4px 5px; }
.b-cal .cell b { display: block; font-size: 0.56rem; opacity: 0.5; }
.b-cal .cell.t { background: var(--pg-soft); border-color: var(--pg-acc); }
.cover-kicker { font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; opacity: 0.85; font-weight: 700; }
.cover-title { font-size: 2.4rem; font-weight: 800; line-height: 1.06; font-family: var(--pg-font-title, inherit); max-width: 74%; }
.cover-sub { font-size: 0.95rem; opacity: 0.88; max-width: 68%; line-height: 1.5; }
.cover-author { margin-top: 18px; font-weight: 700; font-size: 0.85rem; border-top: 2px solid rgba(255,255,255,0.4); padding-top: 12px; display: inline-block; }
.cover-art { position: absolute; right: 6px; top: 26px; height: 36%; opacity: 0.92; filter: drop-shadow(0 14px 22px rgba(0,0,0,0.45)); }
.pagenum { position: absolute; bottom: 18px; right: 26px; font-size: 0.62rem; opacity: 0.45; font-weight: 700; }
.toc-item { display: flex; justify-content: space-between; gap: 12px; font-size: 0.88rem; padding: 7px 2px; border-bottom: 1px dashed rgba(0,0,0,0.18); }
.toc-item b { color: var(--pg-acc-dark, var(--pg-acc)); }

/* ───────── vendas ───────── */
.sales-scroll { flex: 1; overflow-y: auto; padding: 26px 16px 70px; }
.sales-hero { max-width: 860px; margin: 0 auto; display: grid; grid-template-columns: 300px 1fr; gap: 26px; align-items: start; }
.sales-cover { border-radius: 14px; overflow: hidden; box-shadow: 0 26px 70px rgba(0,0,0,0.55); position: sticky; top: 8px; }
.sales-cover .page { width: 100%; border-radius: 0; box-shadow: none; }
.sales-info h1 { font-size: 1.7rem; margin-bottom: 8px; }
.sales-info .desc { color: var(--mut); line-height: 1.6; font-size: 0.94rem; }
.sales-price { font-size: 2.2rem; font-weight: 800; color: var(--gold); margin: 16px 0 4px; }
.sales-price small { font-size: 0.85rem; color: var(--mut); font-weight: 400; }
.sales-buy { width: 100%; padding: 15px; border-radius: 14px; border: none; cursor: pointer; font-family: inherit; font-weight: 800; font-size: 1rem; background: linear-gradient(135deg, #f59e0b, #F0B90B); color: #131722; box-shadow: 0 10px 30px rgba(240,185,11,0.35); margin: 10px 0 4px; }
.sales-sec { max-width: 860px; margin: 26px auto 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.sales-sec h3 { font-size: 0.95rem; margin-bottom: 10px; color: var(--gold); }
.sales-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sales-tags span { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); padding: 6px 12px; border-radius: 999px; font-size: 0.76rem; }
.sales-bullets { list-style: none; display: grid; gap: 8px; }
.sales-bullets li { font-size: 0.9rem; color: var(--mut); }
.sales-bullets li::before { content: "✅ "; }
.sales-preview { display: flex; gap: 14px; overflow-x: auto; padding: 6px 2px; }
.sales-preview .page { width: 250px; flex: 0 0 auto; padding: 20px; gap: 6px; font-size: 9px; }
.sales-preview .page .b-h1 { font-size: 0.8rem; } .sales-preview .page .b-h2 { font-size: 0.62rem; }
.sales-preview .page .b-p, .sales-preview .page .b-list { font-size: 0.42rem; line-height: 1.5; }
.sales-edit input, .sales-edit textarea {
  width: 100%; background: var(--panel); border: 1.5px solid var(--line); color: #fff; border-radius: 10px;
  padding: 10px 13px; font-family: inherit; font-size: 0.9rem; margin-bottom: 9px; outline: none;
}
.sales-edit textarea { min-height: 90px; resize: vertical; }
.sales-edit label { font-size: 0.72rem; color: var(--mut); display: block; margin-bottom: 4px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ───────── mobile ───────── */
@media (max-width: 900px) {
  .ed-body { grid-template-columns: 84px 1fr; }
  .ed-side { position: fixed; right: 0; top: 56px; bottom: 0; width: 218px; background: #0a0f22; transform: translateX(100%); transition: transform 0.25s; z-index: 30; }
  .ed-side.open { transform: none; }
  .pg-thumb .mini { transform: scale(0.1); }
  .pg-thumb { aspect-ratio: 0.707; }
  .sales-hero { grid-template-columns: 1fr; }
  .sales-cover { position: static; max-width: 300px; margin: 0 auto; }
}

/* ───────── impressão (Baixar PDF) ───────── */
@media print {
  body { background: #fff !important; }
  body.printing > *:not(#printRoot) { display: none !important; }
  #printRoot { display: block !important; }
  #printRoot .page {
    width: 100%; aspect-ratio: auto; min-height: 100vh; border-radius: 0; box-shadow: none;
    page-break-after: always; -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
  #printRoot .blk .bops { display: none !important; }
  #printRoot .blk:hover { outline: none; }
}
#printRoot { display: none; }
